/* =====================================================
   CVERNA THEME — Main Stylesheet
   Dark Luxury · Airy · Professional
   ===================================================== */

/* ——— Google Fonts ———
   Načítavajú sa cez <head> v header.php (preconnect + preload + stylesheet)
   kvôli rýchlosti. @import je render-blocking, preto sa tu už nepoužíva. */

/* ——— Custom Properties ——— */
:root {
  --bg:            #FAFAF8;
  --surface:       #F2EFE9;
  --surface-2:     #E8E3DC;
  --surface-3:     #DDD7CE;
  --border:        rgba(0,0,0,0.09);
  --border-2:      rgba(0,0,0,0.16);
  --accent:        #B8893A;
  --accent-light:  #C9A96E;
  /* Accent farby pre TEXT — spĺňajú WCAG AA 4.5:1 na svetlom pozadí */
  --accent-text:   #7A5820;   /* 5.3:1 na #FAFAF8 */
  --accent-text-2: #6B4D1A;   /* 6.4:1 na #FAFAF8 — pre veľmi malý text */
  --text:          #141210;
  --text-muted:    #5C5652;
  --text-faint:    #6A6460;

  --font-display:  'Space Grotesk', system-ui, sans-serif;
  --font-body:     'Inter', system-ui, sans-serif;

  --radius:        4px;
  --radius-lg:     10px;
  --ease:          cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --tr:            0.4s var(--ease);
  --tr-fast:       0.2s ease;

  --nav-h:         80px;
  --max-w:         1320px;
  --max-w-narrow:  860px;
}

/* ——— Reset ——— */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; scroll-padding-top: calc(var(--nav-h) + 24px); }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--tr-fast); }
button { font-family: inherit; cursor: pointer; }
ul, ol { list-style: none; }

/* ——— Typography ——— */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 300;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--text);
}
h1 { font-size: clamp(3.2rem, 6.5vw, 6.5rem); font-weight: 300; }
h2 { font-size: clamp(2rem, 4vw, 3.5rem);      font-weight: 300; }
h3 { font-size: clamp(1.4rem, 2.5vw, 2rem);    font-weight: 400; }
h4 { font-size: 1.25rem;                        font-weight: 500; }
p  { color: var(--text-muted); line-height: 1.8; }
/* em used as accent — oblique + gold, matches logo's geometric character */
em {
  font-style: oblique 8deg;
  color: var(--accent);
  font-weight: 300;
}
strong { color: var(--text); font-weight: 600; }

/* ——— Utilities ——— */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 48px;
}
.container--narrow {
  max-width: var(--max-w-narrow);
  margin: 0 auto;
  padding: 0 48px;
}
section { padding: 120px 0; }

/* Screen-reader only (WCAG) */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* Skip-to-content link — visible on focus (WCAG 2.4.1) */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 9999;
  background: var(--accent);
  color: #fff;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 0 0 var(--radius) var(--radius);
  text-decoration: none;
  transition: top 0.15s ease;
}
.skip-link:focus { top: 0; }

/* ——— Focus styles (WCAG 2.4.7) ——— */
/* Remove default outline only when replacing it */
:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: var(--radius);
}
/* Higher-contrast focus for form inputs */
.form-control:focus-visible {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(201,169,110,0.25);
}

/* Eyebrow label */
.label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);   /* 6.4:1 — malý text potrebuje vyšší kontrast */
  margin-bottom: 20px;
}

/* Section header */
.section-header { margin-bottom: 64px; }
.section-header__sub {
  max-width: 600px;
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-top: 32px;
}
.section-header h2 { max-width: 640px; }
.section-header--center { text-align: center; }
.section-header--center h2 { margin: 0 auto; }

/* Divider */
.divider {
  width: 40px;
  height: 1px;
  background: var(--accent);
  margin: 24px 0;
}
.divider--center { margin: 24px auto; }

/* ——— Buttons ——— */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 30px;
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.04em;
  border-radius: 100px;   /* pill – konzistentné s hodnotiacim badge, pôsobí priateľskejšie */
  border: none;
  transition: var(--tr);
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
}
.btn--primary {
  position: relative;
  overflow: hidden;
  background: var(--text);
  color: var(--bg);
}
/* Jemný svetelný záblesk, ktorý prebehne tlačidlom pri hoveri */
.btn--primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -80%;
  width: 50%;
  height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255,255,255,0.22), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s var(--ease);
  pointer-events: none;
}
.btn--primary:hover::before { left: 130%; }
.btn--primary:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(184,137,58,0.22);
}
@media (prefers-reduced-motion: reduce) {
  .btn--primary::before { display: none; }
}
.btn--ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-2);
}
.btn--ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.btn--outline {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
}
.btn--outline:hover {
  background: var(--accent);
  color: #0a0a0a;
}
.btn--large {
  padding: 18px 40px;
  font-size: 15px;
}

/* Arrow icon inside buttons */
.btn .arrow { transition: transform var(--tr-fast); }
.btn:hover .arrow { transform: translateX(4px); }

/* =====================================================
   SCROLL PROGRESS BAR
   ===================================================== */
#scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0%;
  background: var(--accent);
  z-index: 9999;
  transition: width 0.1s linear;
}


/* Custom cursor removed */
.c-cursor, .c-cursor-ring { display: none !important; }

/* =====================================================
   NAVIGATION
   ===================================================== */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 1000;
  transition: background var(--tr), box-shadow var(--tr);
}
.site-nav.is-scrolled {
  background: rgba(250,250,248,0.95);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 1px 0 var(--border);
}
.site-nav__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 48px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;   /* menu pri logu, akcie vpravo cez margin-left:auto */
}
.site-nav__logo img {
  height: 34px;
  width: auto;
  display: block;
  filter: brightness(0);
}
.footer-brand__logo img {
  filter: brightness(0);
}
/* ——— Desktop nav list ——— */
.site-nav__menu { display: flex; align-items: center; margin-left: 64px; }
.site-nav__menu .nav-list {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

/* Top-level nav item */
.site-nav__menu .nav-list > .nav-item {
  position: relative;
}

/* Top-level link */
.site-nav__menu .nav-list > .nav-item > a {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 15.5px;
  font-weight: 400;
  color: var(--text-muted);
  letter-spacing: 0.005em;
  position: relative;
  padding: 4px 0;
}
.site-nav__menu .nav-list > .nav-item > a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 1px;
  background: var(--accent);
  transition: width var(--tr-fast);
}
.site-nav__menu .nav-list > .nav-item > a:hover,
.site-nav__menu .nav-list > .nav-item > a.current { color: var(--text); }
.site-nav__menu .nav-list > .nav-item > a:hover::after,
.site-nav__menu .nav-list > .nav-item > a.current::after { width: 100%; }

/* Chevron icon */
.nav-chevron {
  flex-shrink: 0;
  opacity: 0.5;
  transition: transform var(--tr-fast), opacity var(--tr-fast);
}
.nav-item--has-children:hover .nav-chevron,
.nav-item--has-children:focus-within .nav-chevron {
  transform: rotate(180deg);
  opacity: 1;
}

/* ——— Dropdown panel ——— */
.nav-sub {
  position: absolute;
  top: calc(100% + 20px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  min-width: 210px;
  background: var(--bg);
  border: 1px solid var(--border-2);
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 48px rgba(0,0,0,0.10), 0 2px 8px rgba(0,0,0,0.06);
  padding: 6px;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
  z-index: 200;
}
/* Arrow notch */
.nav-sub::before {
  content: '';
  position: absolute;
  top: -5px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 9px; height: 9px;
  background: var(--bg);
  border-top: 1px solid var(--border-2);
  border-left: 1px solid var(--border-2);
}
.nav-item--has-children:hover .nav-sub,
.nav-item--has-children:focus-within .nav-sub {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

/* Submenu links */
.nav-sub .nav-item > a {
  display: block;
  padding: 10px 14px;
  border-radius: var(--radius);
  font-size: 14.5px;
  font-weight: 400;
  color: var(--text-muted);
  white-space: nowrap;
  transition: background var(--tr-fast), color var(--tr-fast);
}
.nav-sub .nav-item > a:hover {
  background: var(--surface);
  color: var(--text);
}
.nav-sub .nav-item > a.current {
  color: var(--accent);
  background: rgba(184,137,58,0.07);
}

/* Bridge: keeps dropdown open when cursor moves from link to panel */
.nav-item--has-children::after {
  content: '';
  position: absolute;
  top: 100%;
  left: -20px; right: -20px;
  height: 24px;
}

.site-nav__actions { display: flex; align-items: center; gap: 16px; margin-left: auto; }

/* Hamburger */
.site-nav__burger {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
  z-index: 1002;
}
.site-nav__burger span {
  display: block;
  width: 26px; height: 1.5px;
  background: var(--text);
  transition: var(--tr);
  transform-origin: center;
}
.site-nav__burger.is-open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.site-nav__burger.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.site-nav__burger.is-open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* Mobile overlay */
.site-nav__mobile {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 1001;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--tr), visibility var(--tr);
}
.site-nav__mobile.is-open {
  opacity: 1;
  visibility: visible;
}

/* Close button */
.site-nav__mobile-close {
  position: absolute;
  top: 28px;
  right: 28px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: 1px solid var(--border-2);
  border-radius: 50%;
  color: var(--text);
  cursor: pointer;
  transition: border-color var(--tr-fast), color var(--tr-fast);
}
.site-nav__mobile-close:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.site-nav__mobile .mobile-cta {
  margin-top: 48px;
}

/* ——— Mobile nav list ——— */
.mobile-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Top-level item */
.mobile-nav-item > a,
.mobile-nav-item .mobile-nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 5.5vw, 3rem);
  font-weight: 300;
  color: var(--text);
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  transition: color var(--tr-fast);
}
.mobile-nav-item > a { justify-content: flex-start; }
.mobile-nav-item > a:hover { color: var(--accent); padding-left: 12px; }
.mobile-nav-item > a.current { color: var(--accent); padding-left: 12px; }

/* Parent row: link + toggle button */
.mobile-nav-row a {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 5.5vw, 3rem);
  font-weight: 300;
  color: var(--text);
  transition: color var(--tr-fast);
  flex: 1;
}
.mobile-nav-row a:hover,
.mobile-nav-row a.current { color: var(--accent); }

/* Toggle button */
.mobile-nav-toggle {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  background: none;
  border: none;
  border-radius: 0;
  color: var(--text-muted);
  cursor: pointer;
  transition: color var(--tr-fast);
  margin-left: 4px;
  padding: 0;
}
.mobile-nav-toggle svg {
  transition: transform var(--tr-fast);
}
.mobile-nav-toggle[aria-expanded="true"] svg {
  transform: rotate(180deg);
}
.mobile-nav-toggle:hover {
  color: var(--accent);
}

/* Submenu (accordion) */
.mobile-nav-sub {
  list-style: none;
  padding: 8px 0 8px 20px;
  border-bottom: 1px solid var(--border);
}
.mobile-nav-sub-item a {
  display: block;
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--text-muted);
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  transition: color var(--tr-fast), padding-left var(--tr-fast);
}
.mobile-nav-sub-item:last-child a { border-bottom: none; }
.mobile-nav-sub-item a:hover { color: var(--accent); padding-left: 8px; }
.mobile-nav-sub-item a.current { color: var(--accent); padding-left: 8px; }

/* =====================================================
   HERO — two-column (Roco.bank inspired)
   ===================================================== */
.hero {
  height: 100svh;
  min-height: 580px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  grid-template-rows: 1fr auto;
  overflow: hidden;
  position: relative;
}
.hero__glow { display: none; }
.hero__grid { display: none; }

/* ── Ľavý stĺpec ───────────────────────────────────── */
.hero__left {
  grid-column: 1;
  grid-row: 1;
  padding: var(--nav-h) 24px 48px max(80px, calc((100vw - var(--max-w)) / 2 + 48px));
  min-width: 0;
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.hero__eyebrow .label { margin-bottom: 0; }
.hero__eyebrow-line { display: none; }

/* ── Riadkový clip-reveal ──────────────────────────── */
.hero__line {
  display: block;
  overflow: hidden;
  line-height: 1.06;
}
.hero__line-inner {
  display: block;
  transform: translateY(110%);
  transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}
.hero-loaded .hero__line:nth-child(1) .hero__line-inner {
  transform: translateY(0);
}
.hero-loaded .hero__line:nth-child(2) .hero__line-inner,
.hero-loaded .hero__line em.hero__line-inner {
  transform: translateY(0);
  transition-delay: 0.14s;
}
.hero-loaded .hero__line:nth-child(3) .hero__line-inner {
  transform: translateY(0);
  transition-delay: 0.26s;
}

.hero__heading {
  font-size: clamp(2.2rem, 3.7vw, 4.2rem);
  font-weight: 300;
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin-bottom: 24px;
}
/* Desktop: riadky nadpisu sa nesmú vnútorne zalomiť (max 3 riadky) */
@media (min-width: 901px) {
  .hero__line { white-space: nowrap; }
}
.hero__sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 440px;
  line-height: 1.8;
  margin-bottom: 28px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease 0.2s, transform 0.7s ease 0.2s;
}
/* Čísla/dôkazy v podnadpise nech vizuálne vystúpia */
.hero__sub strong {
  color: var(--text);
  font-weight: 600;
  white-space: nowrap;
}
.hero__ctas {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 28px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease 0.3s, transform 0.7s ease 0.3s;
}
/* Mikrotext k hlavnému CTA: na desktope vlastný riadok pod tlačidlami,
   na mobile hneď pod hlavným tlačidlom (poradie rieši media query nižšie) */
.hero__cta-note {
  flex-basis: 100%;
  font-size: 13px;
  line-height: 1.4;
  color: var(--text-faint);
  margin: 0;
}
@media (max-width: 640px) {
  .hero__ctas .btn--primary { order: 1; }
  .hero__ctas .hero__cta-note { order: 2; margin: -4px 0 4px; }
  .hero__ctas .btn--ghost { order: 3; }

  /* Mobil: primárne CTA jemne zoštíhliť, sekundárne o úroveň menšie
     (hierarchia: jedno hlavné tlačidlo, decentná alternatíva) */
  .hero__ctas .btn--primary.btn--large {
    padding: 16px 32px;
    font-size: 14.5px;
  }
  .hero__ctas .btn--ghost.btn--large {
    padding: 13px 24px;
    font-size: 13.5px;
  }
}
/* Bez pill pozadia – aby badge nevyzeral ako ďalšie tlačidlo */
.hero__rating {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s ease 0.4s, transform 0.7s ease 0.4s;
}
.hero__rating:hover .hero__rating-count { color: var(--accent); }
.hero__rating-meta { display: flex; flex-direction: column; gap: 2px; }
.hero__rating-top { display: flex; align-items: center; gap: 8px; }
.hero__rating-count {
  font-size: 13px;
  line-height: 1.2;
  color: var(--text-faint);
}
.hero__rating-avatars { display: flex; align-items: center; }
.hero__rating-av {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  color: #fff;
  border: 2px solid var(--bg);
  margin-left: -12px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.18);
}
.hero__rating-av:first-child { margin-left: 0; }
.hero__stars { display: flex; gap: 3px; }
.hero__stars svg { fill: #F5A623; flex-shrink: 0; }
.hero__rating-text {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  line-height: 1;
  color: var(--text);
}

.hero-loaded .hero__eyebrow,
.hero-loaded .hero__sub,
.hero-loaded .hero__ctas,
.hero-loaded .hero__cta-note,
.hero-loaded .hero__rating { opacity: 1; transform: translateY(0); }

/* ── Pravý stĺpec ──────────────────────────────────── */
.hero__right {
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}

/* ── Client logo carousel (standalone, below services) ── */
/* ——— Logo Tabs ——— */
.logo-tabs {
  background: #ffffff;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 56px 0 56px;
}
.logo-tabs__header {
  margin-bottom: 40px;
}
.logo-tabs__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 40px;
}
.logo-tabs__tab {
  background: none;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 7px 18px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  transition: background 0.18s, color 0.18s, border-color 0.18s;
  letter-spacing: 0.01em;
}
.logo-tabs__tab:hover {
  border-color: var(--accent);
  color: var(--text);
}
.logo-tabs__tab.is-active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.logo-tabs__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px 16px;
  align-items: center;
}
.logo-tabs__item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.logo-tabs__item.is-hidden {
  display: none;
}
.logo-tabs__item img {
  height: 44px;
  width: auto;
  max-width: 100%;
  display: block;
  filter: grayscale(100%) opacity(0.55);
  transition: filter 0.3s ease;
}
.logo-tabs__item:hover img {
  filter: grayscale(0%) opacity(1);
}
/* Klikateľné logo (má detail spolupráce) */
button.logo-tabs__item--info {
  position: relative;
  cursor: pointer;
  font: inherit;
  width: 100%;
}
.logo-tabs__item--info:hover,
.logo-tabs__item--info:focus-visible {
  border-color: var(--accent);
  box-shadow: 0 6px 22px rgba(0,0,0,0.06);
}
.logo-tabs__plus {
  position: absolute;
  top: 8px;
  right: 10px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 13px;
  line-height: 18px;
  text-align: center;
  opacity: 0;
  transform: scale(0.7);
  transition: opacity var(--tr-fast), transform var(--tr-fast);
}
.logo-tabs__item--info:hover .logo-tabs__plus,
.logo-tabs__item--info:focus-visible .logo-tabs__plus {
  opacity: 1;
  transform: scale(1);
}
@media (max-width: 600px) {
  .logo-tabs__grid {
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 16px;
  }
  /* Na dotykových zariadeniach je „+“ vždy viditeľný (hover neexistuje) */
  .logo-tabs__item--info .logo-tabs__plus { opacity: 1; transform: scale(1); }
}

/* ——— Modálne okno klienta ——— */
.logo-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.logo-modal[hidden] { display: none; }
.logo-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 9, 8, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  animation: logoModalFade 0.2s ease;
}
.logo-modal__dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 460px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 44px 40px 40px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.25);
  animation: logoModalIn 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.logo-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  transition: color var(--tr-fast), border-color var(--tr-fast);
}
.logo-modal__close:hover { color: var(--text); border-color: var(--accent); }
.logo-modal__eyebrow {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin: 0 0 10px;
}
.logo-modal__eyebrow:empty { display: none; }
.logo-modal__name {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 400;
  color: var(--text);
  margin: 0 0 16px;
}
.logo-modal__desc {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-muted);
  margin: 0 0 24px;
}
.logo-modal__desc:empty { display: none; }
.logo-modal__result {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 18px 20px;
  border: 1px solid rgba(184,137,58,0.3);
  border-radius: var(--radius);
  background: rgba(184,137,58,0.05);
  margin-bottom: 28px;
}
.logo-modal__result-label {
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-faint);
  font-weight: 600;
}
.logo-modal__result-val {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 300;
  color: var(--accent);
}
.logo-modal__cta { width: 100%; justify-content: center; }
/* Prázdne / nevyplnené prvky sa v okne nezobrazia
   (atribút [hidden] inak prebíja display z .btn / .logo-modal__result) */
.logo-modal__result[hidden],
.logo-modal__cta[hidden] { display: none !important; }
@keyframes logoModalFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes logoModalIn {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .logo-modal__overlay, .logo-modal__dialog { animation: none; }
}
@media (max-width: 600px) {
  .logo-modal { padding: 16px; align-items: flex-end; }
  .logo-modal__dialog { padding: 40px 24px 28px; border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
}

/* Pozaďový text CVERNA — vypnutý */
.hero__bg-text { display: none; }

/* ── Testimonial vertical carousel ────────────────── */
.hero__testimonials {
  width: 100%;
  height: 100%;
  padding: var(--nav-h) max(48px, calc((100vw - var(--max-w)) / 2 + 48px)) 0 48px;
  overflow: hidden;
  position: relative;
  /* Fade top + bottom */
  mask-image: linear-gradient(to bottom, transparent 0%, black 8%, black 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 8%, black 92%, transparent 100%);
  opacity: 0;
  transition: opacity 0.6s ease 0.4s;
}
.hero-loaded .hero__testimonials { opacity: 1; }

.hero__testi-track {
  display: flex;
  flex-direction: column;
  gap: 14px;
  animation: testiScroll 28s linear infinite;
  will-change: transform;
}
.hero__testimonials:hover .hero__testi-track { animation-play-state: paused; }

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

.hero__testi {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 24px 26px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
  flex-shrink: 0;
  transition: box-shadow 0.25s ease;
}
.hero__testi:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}
.hero__testi-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.hero__testi { position: relative; }
.hero__testi-logo {
  display: block;
  width: 110px;
  height: 36px;
  object-fit: contain;
  object-position: left center;
  color: var(--text);
}
.hero__testi-logo-fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 24px;
  background: var(--surface-2);
  border-radius: 4px;
  font-size: 10px;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}
.hero__testi-source {
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-faint);
  font-weight: 500;
}
.hero__testi-stars {
  color: #F5A623;
  font-size: 13px;
  letter-spacing: 2px;
  margin-bottom: 10px;
}
.hero__testi-text {
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--text-muted);
  margin: 0 0 16px;
  font-style: italic;
}
.hero__testi-author {
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero__testi-av {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
  letter-spacing: 0.04em;
}
.hero__testi-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 2px;
  line-height: 1.2;
}
.hero__testi-company {
  font-size: 10.5px;
  color: var(--text-faint);
  margin: 0;
  letter-spacing: 0.02em;
}

/* hero__logos moved to hero__logo-bar (full-width grid row) */

/* ── Stacked cards ─────────────────────────────────── */
.hero__cards-wrap {
  position: relative;
  width: 480px;
  height: 540px;
  z-index: 2;
  margin-left: -60px;
}

.hero__card {
  position: absolute;
  width: 360px;
  height: 224px;
  border-radius: 24px;
  overflow: hidden;
  left: 50%;
  top: 50%;
  margin-left: -180px;
  margin-top: -112px;
  opacity: 0;
  transition:
    transform 0.85s cubic-bezier(0.34, 1.4, 0.64, 1),
    opacity   0.6s ease,
    box-shadow 0.4s ease;
  will-change: transform;
  cursor: default;
}

/* Vstupné stavy — padajú z hora */
.hero__card--1 { transform: translateY(-140px) rotate(-8deg) scale(0.88); transition-delay: 0.05s; }
.hero__card--2 { transform: translateY(-160px) rotate(-3deg) scale(0.92); transition-delay: 0.16s; }
.hero__card--3 { transform: translateY(-180px) rotate( 4deg) scale(0.96); transition-delay: 0.27s; }
.hero__card--4 { transform: translateY(-200px) rotate(10deg) scale(1.00); transition-delay: 0.38s; }

/* Cieľové pozície po načítaní */
.hero-loaded .hero__card { opacity: 1; }
.hero-loaded .hero__card--1 {
  transform: rotate(-10deg) translate(-100px, 50px);
  box-shadow: 0 24px 70px rgba(0,0,0,0.16);
}
.hero-loaded .hero__card--2 {
  transform: rotate(-4deg)  translate(-44px, -12px);
  box-shadow: 0 28px 80px rgba(0,0,0,0.19);
}
.hero-loaded .hero__card--3 {
  transform: rotate( 4deg)  translate( 36px, -34px);
  box-shadow: 0 32px 88px rgba(0,0,0,0.21);
}
.hero-loaded .hero__card--4 {
  transform: rotate(11deg)  translate(104px,  22px);
  box-shadow: 0 36px 96px rgba(0,0,0,0.23);
}

/* Hover — fan out */
.hero__cards-wrap:hover .hero__card--1 { transform: rotate(-14deg) translate(-140px,  65px); }
.hero__cards-wrap:hover .hero__card--2 { transform: rotate(-6deg)  translate( -64px, -24px); }
.hero__cards-wrap:hover .hero__card--3 { transform: rotate( 6deg)  translate(  52px, -52px); }
.hero__cards-wrap:hover .hero__card--4 { transform: rotate(15deg)  translate( 128px,  34px); }

/* Farby kariet */
.hero__card--1 { background: #1A1410; }
.hero__card--2 { background: #3B2E1A; }
.hero__card--3 { background: #B8893A; }
.hero__card--4 { background: #F2EFE9; border: 1px solid rgba(0,0,0,0.08); }

/* Obsah kariet */
.hero__card-inner {
  position: relative;
  z-index: 2;
  padding: 28px 34px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.hero__card-tag {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.hero__card--1 .hero__card-tag,
.hero__card--2 .hero__card-tag { color: rgba(255,255,255,0.5); }
.hero__card--3 .hero__card-tag { color: rgba(255,255,255,0.7); }
.hero__card--4 .hero__card-tag { color: var(--text-muted); }

.hero__card-client {
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1;
  margin: 0;
}
.hero__card--1 .hero__card-client,
.hero__card--2 .hero__card-client { color: #F2EFE9; }
.hero__card--3 .hero__card-client { color: #fff; }
.hero__card--4 .hero__card-client { color: var(--text); }

.hero__card-result {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  margin: 0;
}
.hero__card--1 .hero__card-result,
.hero__card--2 .hero__card-result { color: rgba(255,255,255,0.45); }
.hero__card--3 .hero__card-result { color: rgba(255,255,255,0.65); }
.hero__card--4 .hero__card-result { color: var(--text-faint); }

/* Dekoratívny kruh v karte */
.hero__card-deco {
  position: absolute;
  bottom: -40px;
  right: -40px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  opacity: 0.07;
}
.hero__card--1 .hero__card-deco { background: #fff; }
.hero__card--2 .hero__card-deco { background: var(--accent-light); }
.hero__card--3 .hero__card-deco { background: #fff; }
.hero__card--4 .hero__card-deco { background: var(--text); }

/* ── Rotujúci badge v pravom stĺpci ─────────────────── */
.hero__badge {
  position: absolute;
  bottom: 72px;
  right: 64px;
  width: 110px;
  height: 110px;
  color: var(--text-faint);
  animation: badgeSpin 18s linear infinite;
  opacity: 0;
  transition: opacity 0.6s ease 1.2s;
  will-change: transform;
  z-index: 3;
}
.hero-loaded .hero__badge { opacity: 1; }
@keyframes badgeSpin { to { transform: rotate(360deg); } }

/* ── Client logo carousel ──────────────────────────── */
.hero__clients {
  margin-top: 48px;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s ease 0.55s, transform 0.7s ease 0.55s;
}
.hero-loaded .hero__clients { opacity: 1; transform: translateY(0); }
.hero__clients-lbl {
  display: block;
  font-size: 10.5px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 14px;
}
.hero__clients-track {
  display: flex;
  align-items: center;
  gap: 0;
  width: max-content;
  animation: clientsScroll 22s linear infinite;
}
.hero__clients-item {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  padding: 0 16px;
  white-space: nowrap;
}
.hero__clients-dot {
  color: var(--accent);
  font-size: 11px;
  flex-shrink: 0;
}
@keyframes clientsScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.hero__clients:hover .hero__clients-track { animation-play-state: paused; }

/* ── Floating social proof cards ───────────────────── */
.hero__proof {
  position: absolute;
  bottom: 56px;
  right: 48px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 4;
}
.hero__proof-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 10px 18px 10px 10px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.10);
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.6s ease var(--pd, 0.6s), transform 0.7s cubic-bezier(0.16,1,0.3,1) var(--pd, 0.6s), box-shadow 0.3s ease;
}
.hero__proof-card:hover { box-shadow: 0 12px 40px rgba(0,0,0,0.16); }
.hero-loaded .hero__proof-card { opacity: 1; transform: translateX(0); }
.hero__proof-av {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
  letter-spacing: 0.04em;
}
.hero__proof-name {
  font-size: 12px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
  margin: 0;
}
.hero__proof-stat {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.2;
  margin: 0;
}

/* Scroll hint — odstránený */
.hero__scroll-hint { display: none !important; }
.hero__scroll-hint--hidden {
  position: absolute;
  bottom: 44px;
  left: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  opacity: 0;
  transition: opacity 0.6s ease 1.4s;
}
.hero-loaded .hero__scroll-hint { opacity: 0.38; }
.hero__scroll-hint:hover { opacity: 0.7 !important; }
.hero__scroll-hint span {
  font-size: 9.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  writing-mode: vertical-lr;
}
.hero__scroll-line {
  width: 1px; height: 52px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scrollAnim 2.4s ease-in-out infinite;
}
@keyframes scrollAnim {
  0%   { transform: scaleY(0); transform-origin: top; opacity: 0; }
  20%  { opacity: 1; }
  50%  { transform: scaleY(1); transform-origin: top; }
  51%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}

/* ── Reduced motion ────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .hero__line-inner { transform: none; transition: none; }
  .hero__card { transition: none; }
  .hero__bg-text, .hero__badge { animation: none; }
  .hero-loaded .hero__card { opacity: 1; }
  .hero__testi-track { animation: none; }
  .hero__logos-track { animation: none; }
}

/* ── Responsive ────────────────────────────────────── */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr auto auto;
    height: auto;
    min-height: 100svh;
  }
  .hero__left {
    grid-column: 1;
    grid-row: 1;
    padding: calc(var(--nav-h) + 20px) 24px 32px;
    justify-content: flex-start;
  }
  /* Testimonials — mobile continuous marquee */
  .hero__right {
    display: block;
    grid-column: 1;
    grid-row: 2;
    padding-bottom: 32px;
  }
  .hero__testimonials {
    height: auto;
    padding: 8px 0 4px;
    mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
    overflow: hidden;
  }
  .hero__testi-track {
    flex-direction: row;
    animation: testiScrollX 32s linear infinite;
    overflow-x: visible;
    scroll-snap-type: unset;
    padding: 8px 0 12px;
    width: max-content;
  }
  .hero__testi-dupes { display: flex; }
  .hero__testi {
    min-width: 280px;
    max-width: 82vw;
    scroll-snap-align: unset;
    flex-shrink: 0;
  }
  .hero__logo-bar {
    padding: 16px 24px;
    gap: 16px;
  }
  .hero__logo-bar-sep { display: none; }
  .hero__logo-bar-lbl { display: none; }
  .hero__badge { display: none; }
  .hero__scroll-hint { display: none; }
}

/* ── 4. Marquee strip ──────────────────────────────── */
.marquee-strip {
  background: var(--text);
  overflow: hidden;
  padding: 18px 0;
  position: relative;
  z-index: 2;
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 28px;
  width: max-content;
  animation: marqueeRun 28s linear infinite;
  will-change: transform;
}
.marquee-strip:hover .marquee-track { animation-play-state: paused; }
.marquee-item {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  color: rgba(250,250,248,0.75);
  white-space: nowrap;
  text-transform: uppercase;
}
.marquee-sep {
  font-size: 11px;
  color: var(--accent-light);
  flex-shrink: 0;
}
@keyframes marqueeRun {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
  .hero__bg-text, .hero__badge { animation: none; }
  .hero__line-inner { transform: none; transition: none; }
}

/* =====================================================
   MANIFESTO STRIP
   ===================================================== */
.manifesto {
  padding: 80px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.manifesto__text {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  font-weight: 300;
  line-height: 1.6;
  color: var(--text);
  text-align: center;
  max-width: 840px;
  margin: 0 auto;
}
.manifesto__text strong { color: var(--accent); }

/* =====================================================
   SERVICES GRID
   ===================================================== */
.services__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 52px 28px;
  position: relative;
  z-index: 0;
  overflow: hidden;
  cursor: pointer;
  transition: box-shadow 0.5s var(--ease), transform 0.5s var(--ease), border-color 0.5s var(--ease);
}
/* Jemný zlatý glow z ľavého horného rohu (na hover) */
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(130% 90% at 0% 0%, rgba(184,137,58,0.06), transparent 55%);
  opacity: 0;
  transition: opacity 0.5s var(--ease);
  pointer-events: none;
}
.service-card:hover::before { opacity: 1; }
/* Spodná zlatá linka, ktorá sa „nakreslí" */
.service-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--accent);
  transition: width 0.5s var(--ease);
}
.service-card:hover {
  box-shadow: 0 10px 30px rgba(184,137,58,0.07), 0 4px 14px rgba(0,0,0,0.04);
  transform: translateY(-3px);
  border-color: rgba(184,137,58,0.22);
}
.service-card:hover::after { width: 100%; }

.service-card__num {
  font-family: var(--font-display);
  font-size: 3.6rem;
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--accent);
  display: block;
  margin-bottom: 28px;
}

.service-card__title {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 1.6vw, 1.5rem);
  font-weight: 400;
  color: var(--text);
  margin-bottom: 16px;
  line-height: 1.25;
}
.service-card__desc {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 28px;
}
.service-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 32px;
}
.tag {
  display: inline-block;
  font-size: 10.5px;
  letter-spacing: 0.07em;
  padding: 4px 10px;
  border: 1px solid var(--border-2);
  border-radius: 2px;
  color: var(--text-muted);
  transition: border-color 0.4s var(--ease), color 0.4s var(--ease), background 0.4s var(--ease);
}
.service-card:hover .tag {
  border-color: rgba(184,137,58,0.45);
  background: rgba(184,137,58,0.05);
  color: var(--text);
}
.service-card__cta {
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: gap var(--tr-fast);
}
.service-card:hover .service-card__cta { gap: 14px; }
/* Celá karta klikateľná (stretched link) — odkaz pokryje celý povrch karty */
.service-card__cta::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
}

.services__footer {
  text-align: center;
  margin-top: 60px;
}

/* =====================================================
   STATS STRIP
   ===================================================== */
.stats-strip {
  background: var(--text);
  padding: 0;
}
.stats-strip__inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}
.stat-item {
  padding: 72px 48px;
  border-right: 1px solid rgba(255,255,255,0.1);
  text-align: center;
}
.stat-item:last-child { border-right: none; }
.stat-item__num {
  font-family: var(--font-display);
  font-size: clamp(3rem, 5vw, 4.5rem);
  font-weight: 300;
  color: #FAFAF8;
  line-height: 1;
  display: block;
}
.stat-item__suffix {
  color: var(--accent-light);
}
.stat-item__label {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(250,250,248,0.55);
  margin-top: 12px;
  line-height: 1.6;
}

/* =====================================================
   REFERENCES GRID
   ===================================================== */
.references__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
.ref-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  gap: 0;
  /* zdvih aj tieň nabiehajú plynulo (rovnaké tempo ako zoom obrázka) */
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
  overflow: hidden;
  text-decoration: none;
}
.ref-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(184, 137, 58, 0.14), 0 8px 20px rgba(0, 0, 0, 0.08);
}
.ref-card__img {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--surface-2);
  flex-shrink: 0;
  position: relative;
}
.ref-card__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  /* pomalý, plynulý zoom bez skákania (rovnaké tempo pri nájazde aj odchode) */
  transition: transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
  display: block;
  will-change: transform;
}
.ref-card:hover .ref-card__img img { transform: scale(1.06); }

/* Svetelný záblesk, ktorý prebehne obrázkom pri hoveri (ako na tlačidlách) */
.ref-card__img::after {
  content: '';
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.28), transparent);
  transform: skewX(-20deg);
  transition: left 0.75s var(--ease);
  pointer-events: none;
  z-index: 2;
}
.ref-card:hover .ref-card__img::after { left: 130%; }

/* Nadpis a kategória sa jemne rozžiaria dozlatista */
.ref-card__title { transition: color var(--tr-fast); }
.ref-card:hover .ref-card__title { color: var(--accent); }
.ref-card__cat { transition: color var(--tr-fast); }
.ref-card:hover .ref-card__cat { color: var(--accent); }

/* Výsledkový badge sa pri hoveri jemne nadvihne */
.ref-card__badge { transition: transform var(--tr), box-shadow var(--tr); z-index: 3; }
.ref-card:hover .ref-card__badge {
  transform: translateY(-3px);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.28);
}

@media (prefers-reduced-motion: reduce) {
  .ref-card__img::after { display: none; }
  .ref-card:hover { transform: none; }
}
.ref-card__img-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, var(--surface-2) 0%, var(--surface-3) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.ref-card__img-placeholder::after {
  content: attr(data-client);
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 300;
  color: var(--text-faint);
  letter-spacing: -0.02em;
}
.ref-card__body {
  padding: 20px 40px 40px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
}

.ref-card__cat {
  display: block;
  padding: 20px 40px 0;
  text-align: left;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.ref-card__title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 400;
  color: var(--text);
  line-height: 1.15;
}
.ref-card__perex {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 4px;
}
.ref-card__services {
  font-size: 13px;
  color: var(--text-faint);
  line-height: 1.6;
}
/* ——— Výsledkový badge na obrázku ——— */
.ref-card__badge {
  position: absolute;
  bottom: 16px;
  left: 40px;
  background: rgba(10, 9, 8, 0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: var(--radius);
  padding: 10px 14px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  max-width: 180px;
  pointer-events: none;
}
.ref-card__badge-num {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 300;
  color: var(--accent-light);
  line-height: 1;
  letter-spacing: -0.02em;
}
.ref-card__badge-lbl {
  font-size: 11.5px;
  color: #ffffff;
  line-height: 1.35;
  font-weight: 500;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ref-card__link {
  margin-top: auto;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color var(--tr-fast), gap var(--tr-fast);
}
.ref-card:hover .ref-card__link {
  color: var(--accent);
  gap: 14px;
}

/* =====================================================
   BLOG PREVIEW
   ===================================================== */
.blog-preview { background: var(--bg); }
.blog-preview__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 64px;
}
.blog-card {
  background: var(--bg);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform var(--tr);
  text-decoration: none;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
}
.blog-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.08); }
.blog-card__img {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--surface-2);
  flex-shrink: 0;
}
.blog-card__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.55s var(--ease);
  display: block;
}
.blog-card:hover .blog-card__img img { transform: scale(1.05); }
.blog-card__body {
  padding: 28px 32px 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}
.blog-card__cat {
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}
.blog-card__title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--text);
  line-height: 1.3;
  flex: 1;
  transition: color var(--tr-fast);
}
.blog-card:hover .blog-card__title { color: var(--accent); }
.blog-card__excerpt {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-card__meta {
  font-size: 12px;
  color: var(--text-faint);
  display: flex;
  gap: 16px;
  margin-top: auto;
  padding-top: 4px;
}
.blog-card__arrow {
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: gap var(--tr-fast);
}
.blog-card:hover .blog-card__arrow { gap: 14px; }
.blog-preview__footer {
  text-align: center;
  margin-top: 56px;
}

/* =====================================================
   CTA BANNER
   ===================================================== */
.cta-banner {
  position: relative;
  text-align: center;
  overflow: hidden;
  background: var(--text);
}
.cta-banner h2, .cta-banner .label { color: #FAFAF8; }
.cta-banner p { color: rgba(250,250,248,0.6); }
.cta-banner__glow { display: none; }
.cta-banner .container { position: relative; z-index: 1; }
.cta-banner h2 { margin-bottom: 20px; }
.cta-banner p { max-width: 480px; margin: 0 auto 48px; font-size: 1.1rem; }
.cta-banner__btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.cta-banner .btn--primary { background: #FAFAF8; color: var(--text); }
.cta-banner .btn--primary:hover { background: var(--accent-light); color: #fff; }
.cta-banner .btn--ghost { color: rgba(250,250,248,0.75); border-color: rgba(250,250,248,0.25); }
.cta-banner .btn--ghost:hover { color: #FAFAF8; border-color: rgba(250,250,248,0.6); }

/* =====================================================
   FOOTER
   ===================================================== */
.site-footer {
  background: var(--text);
  border-top: none;
}
.site-footer .footer-brand__logo img { filter: brightness(0) invert(1); }
.site-footer .footer-col__title { color: rgba(250,250,248,0.55); }   /* 6.1:1 — spĺňa AA */
.site-footer .footer-col__links a { color: rgba(250,250,248,0.65); }
.site-footer .footer-col__links a:hover { color: #FAFAF8; }
.site-footer .footer-brand p { color: rgba(250,250,248,0.55); }
.site-footer .footer-brand__social a {
  border-color: rgba(255,255,255,0.15);
  color: rgba(250,250,248,0.55);
}
.site-footer .footer-brand__social a:hover {
  border-color: rgba(250,250,248,0.6);
  color: #FAFAF8;
}
.site-footer__bottom { border-top: 1px solid rgba(255,255,255,0.1); }
.site-footer__bottom p { color: rgba(250,250,248,0.55); }   /* 6.1:1 — spĺňa AA (bolo 0.4 = 3.8:1) */
.site-footer__bottom a { color: rgba(250,250,248,0.55); }   /* explicitná farba pre linky */
.site-footer__bottom a:hover { color: #FAFAF8; }
.site-footer__top {
  padding: 88px 0 72px;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 64px;
}
.footer-brand__logo {
  height: 30px;
  margin-bottom: 24px;
}
.footer-brand p {
  font-size: 14px;
  line-height: 1.75;
  max-width: 260px;
}
.footer-brand__social {
  display: flex;
  gap: 12px;
  margin-top: 28px;
}
.footer-brand__social a {
  width: 38px; height: 38px;
  border: 1px solid var(--border-2);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 15px;
  transition: border-color var(--tr-fast), color var(--tr-fast);
}
.footer-brand__social a:hover {
  border-color: var(--accent);
  color: var(--accent);
}
/* footer-col__title je teraz h3 — reset na vizuálny štýl */
h3.footer-col__title,
.footer-col__title {
  font-family: var(--font-body);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text);
  margin: 0 0 24px;
  line-height: 1.4;
}
.footer-col__links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-col__links a {
  font-size: 14px;
  color: var(--text-muted);
}
.footer-col__links a:hover { color: var(--accent); }
.site-footer__bottom {
  border-top: 1px solid var(--border);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.site-footer__bottom p {
  font-size: 12.5px;
  color: var(--text-faint);
  margin: 0;
}
.site-footer__bottom a:hover { color: var(--accent); }

/* =====================================================
   INNER PAGE HERO
   ===================================================== */
.page-hero {
  padding-top: calc(var(--nav-h) + 100px);
  padding-bottom: 80px;
  position: relative;
  overflow: hidden;
}
.page-hero__glow { display: none; }
.page-hero .container { position: relative; z-index: 1; }
.page-hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 32px;
}
.page-hero__eyebrow .label { margin-bottom: 0; }
.page-hero__eyebrow hr {
  width: 40px;
  height: 1px;
  background: var(--accent);
  border: none;
  opacity: 0.5;
}
.page-hero h1 {
  font-size: clamp(2.4rem, 4.4vw, 4.4rem);
  line-height: 1.12;
  max-width: 22ch;
  margin-bottom: 28px;
}

/* AI školenia hero — em na vlastnom riadku, bez zalamovania */
.ai-hero-title {
  max-width: none;
}
.ai-hero-title em {
  display: block;
  white-space: nowrap;
}
@media (max-width: 900px) {
  /* na užších obrazovkách necháme em zalamovať prirodzene */
  .ai-hero-title em { white-space: normal; }
}
.page-hero__lead {
  font-size: 1.15rem;
  max-width: 600px;
  color: var(--text-muted);
  line-height: 1.8;
}
.page-hero__lead strong { color: var(--text); }

/* =====================================================
   SERVICES PAGE (detail)
   ===================================================== */
.service-detail__intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  padding: 80px 0;
  border-bottom: 1px solid var(--border);
}
.service-detail__lead {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 1.8vw, 1.7rem);
  font-weight: 300;
  line-height: 1.65;
  color: var(--text);
}
.service-detail__body p { margin-bottom: 20px; }
.process-steps {
  padding: 80px 0;
  border-bottom: 1px solid var(--border);
}
.process-steps__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  margin-top: 64px;
}
.process-step {
  background: var(--bg);
  padding: 40px 32px;
}
.process-step__num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--text-faint);
  display: block;
  margin-bottom: 20px;
}
.process-step__title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--text);
  margin-bottom: 12px;
}
.process-step p { font-size: 13.5px; }

/* =====================================================
   AI ŠKOLENIE PAGE
   ===================================================== */
.ai-features__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  background: var(--border);
  margin-top: 64px;
}
.ai-feature {
  background: var(--surface);
  padding: 52px 44px;
  border-bottom: 2px solid transparent;
  transition: border-color var(--tr), background var(--tr);
}
.ai-feature:hover {
  background: var(--surface-2);
  border-bottom-color: var(--accent);
}
.ai-feature__icon {
  width: 44px; height: 44px;
  color: var(--accent);
  margin-bottom: 28px;
}
.ai-feature__title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--text);
  margin-bottom: 14px;
}
.ai-feature p { font-size: 14px; }

/* Pricing */
.pricing__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 64px;
}
.pricing-card {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 44px 36px;
  position: relative;
  transition: border-color var(--tr), transform var(--tr);
  display: flex;
  flex-direction: column;
}
.pricing-card--featured {
  border-color: var(--accent);
}
.pricing-card--featured .pricing-badge {
  display: block;
}
.pricing-badge {
  display: none;
  position: absolute;
  top: -1px; right: 28px;
  background: var(--accent);
  color: #fff;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 14px;
}
.pricing-card:hover { transform: translateY(-4px); }
.pricing-name {
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.pricing-price {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 300;
  color: var(--text);
  line-height: 1;
  margin-bottom: 4px;
}
.pricing-price sub {
  font-size: 1.2rem;
  vertical-align: bottom;
  margin-right: 4px;
  color: var(--text-muted);
}
.pricing-period {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 32px;
}
.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 36px;
  flex: 1;
}
.pricing-features li {
  font-size: 14px;
  color: var(--text-muted);
  display: flex;
  gap: 12px;
  align-items: flex-start;
  line-height: 1.5;
}
.pricing-features li::before {
  content: '—';
  color: var(--accent);
  flex-shrink: 0;
  font-size: 12px;
  margin-top: 2px;
}
.pricing-card .btn { width: 100%; justify-content: center; }

/* =====================================================
   AI ŠKOLENIE — BOOKING FORM
   ===================================================== */
.ai-booking {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 80px 0 100px;
}
.ai-booking__wrap {
  max-width: 760px;
  margin: 60px auto 0;
  display: flex;
  flex-direction: column;
  gap: 48px;
}
/* AI Školenia — hero rating */
/* Bez pill pozadia – aby badge nevyzeral ako ďalšie tlačidlo */
.ai-hero-rating {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 32px;
  flex-wrap: wrap;
}
.ai-hero-rating__avatars {
  display: flex;
  align-items: center;
}
.ai-hero-rating__av {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  color: #fff;
  border: 2px solid var(--bg);
  margin-left: -12px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.18);
}
.ai-hero-rating__av:first-child {
  margin-left: 0;
}
.ai-hero-rating__meta {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.ai-hero-rating__top {
  display: flex;
  align-items: center;
  gap: 8px;
}
.ai-hero-rating__stars {
  display: flex;
  gap: 2px;
  color: #F5A623;
}
.ai-hero-rating__score {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  line-height: 1;
  color: var(--text);
}

/* Mobil: zmenši hodnotiace badge, aby sa zmestili aj na 360 px */
@media (max-width: 520px) {
  .hero__rating,
  .ai-hero-rating {
    gap: 10px;
    max-width: 100%;
  }
  .hero__rating-av,
  .ai-hero-rating__av {
    width: 34px;
    height: 34px;
    font-size: 11.5px;
    margin-left: -11px;
    border-width: 1.5px;
  }
  .hero__rating-av:first-child,
  .ai-hero-rating__av:first-child { margin-left: 0; }
  .hero__stars svg,
  .ai-hero-rating__stars svg {
    width: 13px;
    height: 13px;
  }
  .hero__stars { gap: 2px; }
  .hero__rating-text,
  .ai-hero-rating__score { font-size: 15px; }
  .hero__rating-count { font-size: 12px; }
}

.ai-hero-rating__count {
  font-size: 13px;
  color: var(--text-faint);
}

/* ——— AI Why section ——— */
.ai-why__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-top: 56px;
}
.ai-why__list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  color: var(--text-muted);
  font-size: 14px;
  list-style: none;
}
.ai-why__list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.ai-why__list li span {
  color: var(--accent);
  flex-shrink: 0;
}
.ai-why__quote {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 40px;
  border-left: 2px solid var(--accent);
}
.ai-why__quote p {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 300;
  color: var(--text);
  line-height: 1.5;
  margin-bottom: 20px;
}
.ai-why__quote-author {
  font-size: 13px;
  color: var(--accent);
  margin: 0 !important;
}

/* ——— AI Features section ——— */
.ai-features {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* ——— AI FAQ ——— */
.ai-faq__list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--border);
  margin-top: 48px;
}
.ai-faq__item {
  padding: 28px 32px;
  border-bottom: 1px solid var(--border);
}
.ai-faq__item:last-child { border-bottom: none; }
.ai-faq__q {
  font-size: 1rem;
  font-family: var(--font-body);
  font-weight: 500;
  color: var(--text);
  margin-bottom: 10px;
}
.ai-faq__a {
  font-size: 14px;
  margin: 0;
}

/* ——— responsive-2col helper ——— */
.responsive-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.booking-step { }
.booking-step__label {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 20px;
}
.booking-step__label span {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.booking-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.booking-option {
  cursor: pointer;
}
.booking-option input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.booking-option__inner {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px 24px;
  border: 1.5px solid var(--border-2);
  border-radius: var(--radius-lg);
  background: var(--bg);
  transition: border-color var(--tr-fast), background var(--tr-fast);
}
.booking-option:hover .booking-option__inner,
.booking-option.is-active .booking-option__inner {
  border-color: var(--accent);
  background: rgba(201,169,110,0.06);
}
.booking-option__title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
}
.booking-option__sub {
  font-size: 13px;
  color: var(--text-faint);
}
.booking-travel-info {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-top: 16px;
  padding: 16px 20px;
  background: rgba(201,169,110,0.08);
  border: 1px solid rgba(201,169,110,0.3);
  border-radius: var(--radius-lg);
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.65;
}
.booking-travel-info strong { color: var(--text); }
.booking-travel-info svg { color: var(--accent); margin-top: 1px; }
.booking-summary {
  padding: 16px 20px;
  background: rgba(201,169,110,0.06);
  border: 1px solid rgba(201,169,110,0.25);
  border-radius: var(--radius);
  margin-bottom: 8px;
}
.booking-summary__lbl {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--accent);
  margin-bottom: 4px;
}
.booking-summary__val {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
}
@media (max-width: 600px) {
  .booking-options { grid-template-columns: 1fr; }
}

/* =====================================================
   REFERENCES PAGE
   ===================================================== */
.ref-detail {
  padding: 80px 0;
  border-bottom: 1px solid var(--border);
}
.ref-detail__header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  margin-bottom: 64px;
}
.ref-detail__results {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-top: 56px;
}
.ref-result-item {
  background: var(--bg);
  padding: 40px 32px;
  text-align: center;
}
.ref-result-item__num {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 300;
  color: var(--accent);
  display: block;
  line-height: 1;
  margin-bottom: 8px;
}
.ref-result-item p { font-size: 13px; }

/* =====================================================
   SINGLE REFERENCIA — detail projektu
   ===================================================== */

/* Header */
.ref-detail-header {
  padding: calc(var(--nav-h) + 64px) 0 56px;
  border-bottom: 1px solid var(--border);
}
.ref-detail-header__eyebrow {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 28px;
}
.ref-detail-header__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
  transition: color var(--tr-fast), gap var(--tr-fast);
}
.ref-detail-header__back:hover { color: var(--text); gap: 12px; }
.ref-detail-header__cat {
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  padding: 4px 12px;
  border: 1px solid var(--accent);
  border-radius: 2px;
}
.ref-detail-header__title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4vw, 4.2rem);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  max-width: 800px;
}
.ref-detail-header__lead {
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 640px;
  margin-bottom: 32px;
}
.ref-detail-header__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.ref-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  color: var(--text-muted);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 7px 14px;
}
.ref-chip--link {
  color: var(--accent);
  border-color: rgba(184,137,58,0.3);
  text-decoration: none;
  transition: background var(--tr-fast), border-color var(--tr-fast);
}
.ref-chip--link:hover { background: rgba(184,137,58,0.06); border-color: var(--accent); }

/* Featured image */
.ref-detail-img { padding: 48px 0; background: var(--surface); }
.ref-detail-img img,
.ref-detail-img video { width: 100%; border-radius: var(--radius-lg); display: block; }
.ref-detail-img__wrap { position: relative; display: block; line-height: 0; }
.ref-detail-img__wrap .ref-card__badge { bottom: 24px; left: 32px; }

/* B2B project brief strip */
.ref-brief {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 0;
}
.ref-brief__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
}
.ref-brief__item {
  flex: 1 1 160px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 28px 32px;
  border-right: 1px solid var(--border);
  min-width: 0;
}
.ref-brief__item:first-child { padding-left: 0; }
.ref-brief__item:last-child { border-right: none; padding-right: 0; }
.ref-brief__label {
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
  font-weight: 600;
  white-space: nowrap;
}
.ref-brief__value {
  font-size: 14.5px;
  color: var(--text);
  font-weight: 500;
  line-height: 1.45;
}
.ref-brief__sep {
  display: inline-block;
  margin: 0 5px;
  color: var(--text-faint);
}
.ref-brief__sub {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 20px;
}
.ref-brief__sub-label {
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
  font-weight: 600;
  white-space: nowrap;
}
.ref-brief__sub-val {
  font-size: 14.5px;
  color: var(--text);
  font-weight: 500;
  line-height: 1.45;
}
.ref-brief__link {
  color: var(--accent);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: opacity 0.15s;
}
.ref-brief__link:hover { opacity: 0.75; }
@media (max-width: 767px) {
  .ref-brief__grid { flex-direction: column; }
  .ref-brief__item {
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding: 20px 0;
    flex: none;
  }
  .ref-brief__item:last-child { border-bottom: none; }
}

/* Content + sidebar layout */
.ref-detail-body { padding: 72px 0; border-bottom: 1px solid var(--border); }
.ref-detail-body__layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 80px;
  align-items: start;
}
.ref-detail-body__layout--full {
  display: block;
}
.ref-detail-body__content { min-width: 0; }

/* Content v ref-detail sa nezarovnáva na stred — ide od ľavého okraja gridu */
.ref-detail-body__content.post-content {
  max-width: none;
  margin: 0;
}

/* Sidebar */
.ref-detail-body__sidebar {
  position: sticky;
  top: calc(var(--nav-h) + 32px);
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.ref-sidebar-result {
  background: var(--text);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  text-align: center;
}
.ref-sidebar-result__num {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 4vw, 4rem);
  font-weight: 300;
  color: var(--accent-light);
  line-height: 1;
  display: block;
  margin-bottom: 10px;
}
.ref-sidebar-result__lbl {
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  line-height: 1.5;
}
.ref-sidebar-meta {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px 16px;
  align-items: baseline;
}
.ref-sidebar-meta dt {
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
  white-space: nowrap;
}
.ref-sidebar-meta dd {
  font-size: 14px;
  color: var(--text);
  font-weight: 500;
}
.ref-sidebar-meta dd a { color: var(--accent); }
.ref-sidebar-meta dd a:hover { text-decoration: underline; }

/* Testimonial section */
.ref-testimonial-section {
  padding: 96px 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
/* Inline varianta cez shortcode [hodnotenie] */
.ref-testimonial--inline {
  margin: 56px 0;
}
.ref-testimonial {
  position: relative;
  max-width: 100%;
  margin: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 48px 0 0;
  box-shadow: none;
  overflow: visible;
  text-align: left;
}
/* Veľká zlatá úvodzovka ako blokový prvok nad citátom */
.ref-testimonial::before {
  content: '\201C';
  display: block;
  position: static;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 7rem;
  line-height: 0.65;
  color: var(--accent);
  opacity: 1;
  margin-bottom: -28px;
  pointer-events: none;
  user-select: none;
}
.ref-testimonial__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.ref-testimonial__logo {
  height: 32px;
  max-width: 140px;
  width: auto;
  display: block;
  object-fit: contain;
  object-position: left center;
}
.ref-testimonial__meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 5px;
}
.ref-testimonial__stars {
  font-size: 16px;
  color: #F5A623;
  letter-spacing: 3px;
}
.ref-testimonial__source {
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.ref-testimonial__quote,
.post-content .ref-testimonial__quote {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  font-weight: 300;
  line-height: 1.8;
  color: var(--text);
  font-style: italic;
  letter-spacing: 0.01em;
  background: none !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  margin: 0 0 44px !important;
  box-shadow: none !important;
  text-align: left;
}
.post-content .ref-testimonial__quote::before { display: none !important; }
.ref-testimonial__author {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
  padding-top: 28px;
  border-top: 1px solid rgba(184,137,58,0.35);
}
.ref-testimonial__av {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
  letter-spacing: 0.04em;
}
.ref-testimonial__name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin: 0;
}
.ref-testimonial__company {
  font-size: 12px;
  color: var(--text-faint);
  margin: 2px 0 0;
}

/* Other projects */
.ref-other { padding: 80px 0; }
.ref-other__refs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 0;
}
.ref-other__divider {
  height: 1px;
  background: var(--border);
  margin-bottom: 72px;
}

/* =====================================================
   ABOUT PAGE
   ===================================================== */
.about-intro {
  padding-top: 0;
  border-bottom: 1px solid var(--border);
}
.about-intro__text {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 1.9vw, 1.8rem);
  font-weight: 300;
  line-height: 1.7;
  color: var(--text);
  max-width: 840px;
}
.values__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-top: 64px;
}
.value-item {
  background: var(--bg);
  padding: 48px 40px;
  transition: background var(--tr);
}
.value-item:hover { background: var(--surface); }
.value-item__num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--text-faint);
  display: block;
  margin-bottom: 20px;
  transition: color var(--tr);
}
.value-item:hover .value-item__num { color: var(--accent); }
.value-item__title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--text);
  margin-bottom: 12px;
}
.value-item p { font-size: 14px; }

/* Team */
.team__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 64px;
}
/* ——— Členovia tímu — jednoduché karty v štýle služieb na úvode ——— */
.team-member {
  position: relative;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 28px;
  overflow: hidden;
  transition: box-shadow 0.5s var(--ease), transform 0.5s var(--ease), border-color 0.5s var(--ease);
}
/* Spodná zlatá linka — ako pri servisných kartách */
.team-member::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--accent);
  transition: width 0.5s var(--ease);
}
.team-member:hover {
  box-shadow: 0 10px 30px rgba(184,137,58,0.07), 0 4px 14px rgba(0,0,0,0.04);
  transform: translateY(-3px);
  border-color: rgba(184,137,58,0.22);
}
.team-member:hover::after { width: 100%; }

.team-member__av {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 400;
  letter-spacing: 0.02em;
}
.team-member__av img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.team-member__name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 6px;
}
.team-member__role {
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
}
.team-member__bio {
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--text-muted);
  margin-top: 14px;
}

/* =====================================================
   CONTACT PAGE
   ===================================================== */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: start;
}
.contact-details { display: flex; flex-direction: column; gap: 40px; margin-top: 48px; }
.contact-legal { margin-top: 40px; padding-top: 40px; border-top: 1px solid var(--border); }
.contact-legal .contact-item__lbl { margin-bottom: 16px; }
.contact-legal__dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0;
}
.contact-legal__dl dt,
.contact-legal__dl dd {
  font-size: 13px;
  line-height: 1.5;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  margin: 0;
}
.contact-legal__dl dt {
  color: var(--text-faint);
  padding-right: 32px;
  white-space: nowrap;
}
.contact-legal__dl dd {
  color: var(--text-muted);
}
.contact-item__lbl {
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}
.contact-item__val {
  font-size: 1.05rem;
  color: var(--text);
  line-height: 1.6;
}
.contact-item__val a:hover { color: var(--accent); }

/* Contact Form */
.contact-form-wrap {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 56px 52px;
}
.contact-form-wrap h3 {
  font-size: 1.6rem;
  margin-bottom: 8px;
}
.contact-form-wrap .form-subtitle {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 40px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-group { margin-bottom: 20px; }
.form-label {
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.form-control {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 13px 16px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text);
  outline: none;
  transition: border-color var(--tr-fast), box-shadow var(--tr-fast);
  -webkit-appearance: none;
}
.form-control:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(184,137,58,0.18);
}
.form-control::placeholder { color: var(--text-faint); }

/* ——— GDPR súhlas (checkbox vo formulároch) ——— */
.form-consent {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: start;
}
.form-consent input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--accent);
  cursor: pointer;
}
.form-consent input[type="checkbox"]:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.form-consent label {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  cursor: pointer;
}
.form-consent label a { text-decoration: underline; }
.form-consent label a:hover { color: var(--accent); }
/* Chybová hláška pod checkboxom na celú šírku */
.form-consent .cf-err,
.form-consent .bk-err { grid-column: 1 / -1; }
textarea.form-control { height: 130px; resize: vertical; }
select.form-control { cursor: pointer; }
.form-submit { margin-top: 8px; }
.form-submit .btn { width: 100%; justify-content: center; }

/* =====================================================
   SERVICE SINGLE (single-sluzba.php)
   ===================================================== */
.sluzba-header {
  padding-top: calc(var(--nav-h) + 80px);
  padding-bottom: 64px;
  border-bottom: 1px solid var(--border);
}
.sluzba-header__eyebrow {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.sluzba-header__title {
  /* rovnaká veľkosť ako nadpisy ostatných podstránok (.page-hero h1) */
  font-size: clamp(2.4rem, 4.4vw, 4.4rem);
  line-height: 1.12;
  max-width: 900px;
  margin-bottom: 28px;
}
.sluzba-header__lead {
  max-width: 640px;
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.75;
}
/* Service body — two-column layout */
.sluzba-body {
  padding: 72px 0 80px;
}
.sluzba-body__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 64px;
  align-items: start;
}
.sluzba-body__layout--two-col {
  grid-template-columns: 1fr 0.82fr;
  align-items: start;
  gap: 80px;
}

/* Content column — left-aligned, no centering */
.sluzba-body__content {
  min-width: 0;
}
.sluzba-content {
  max-width: none;
}
/* Bez obrázka — obmedzi šírku textu pre čitateľnosť (~70 znakov) */
.sluzba-body__layout:not(.sluzba-body__layout--two-col) .sluzba-body__content {
  max-width: 680px;
}
/* Larger, more readable body text */
.sluzba-content p {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.85;
  margin-bottom: 20px;
}
.sluzba-content h2 {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 400;
  color: var(--text);
  margin-top: 48px;
  margin-bottom: 16px;
}
.sluzba-content h3 {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--text);
  margin-top: 36px;
  margin-bottom: 12px;
}
.sluzba-content ul,
.sluzba-content ol {
  padding-left: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}
.sluzba-content ul li,
.sluzba-content ol li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
}
.sluzba-content ul li::before {
  content: '✓';
  color: var(--accent);
  font-weight: 600;
  flex-shrink: 0;
  margin-top: 1px;
}
.sluzba-content ol {
  counter-reset: ol-counter;
}
.sluzba-content ol li {
  counter-increment: ol-counter;
}
.sluzba-content ol li::before {
  content: counter(ol-counter, decimal-leading-zero);
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
  flex-shrink: 0;
  margin-top: 4px;
}
.sluzba-content strong {
  color: var(--text);
  font-weight: 600;
}

/* CTA pod obsahom */
.sluzba-body__cta {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}
.sluzba-body__cta-note {
  font-size: 13px;
  color: var(--text-faint);
  margin: 0;
}

/* Visual column */
.sluzba-body__visual {
  position: static;
}
.sluzba-body__layout--two-col .sluzba-body__visual {
  position: sticky;
  top: calc(var(--nav-h) + 40px);
}
/* ── Tech Stack ── */
.sluzba-techstack {
  padding: 40px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}
.sluzba-techstack__label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--text-faint);
  margin-bottom: 24px;
  text-align: center;
}
.sluzba-techstack__logos {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 32px;
  align-items: center;
  justify-content: center;
}
.sluzba-techstack__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.sluzba-techstack__item img {
  height: 56px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  filter: grayscale(1) opacity(.55);
  transition: filter var(--tr-fast);
}
.sluzba-techstack__item:hover img {
  filter: grayscale(0) opacity(1);
}
.sluzba-techstack__item span {
  font-size: 11px;
  color: var(--text-faint);
  letter-spacing: .04em;
}

/* ── Process ── */
.sluzba-process {
  padding: 120px 0;
  border-bottom: 1px solid var(--border);
}
.sluzba-process .section-header {
  margin-bottom: 0;
  padding-bottom: 64px;
}
.sluzba-process .section-header h2 {
  margin-bottom: 24px;
}
.sluzba-process__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}
.sluzba-process__step {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 36px 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  position: relative;
  transition: background var(--tr-fast);
}
.sluzba-process__step:hover {
  background: var(--surface-2);
}
.sluzba-process__num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 300;
  color: var(--accent);
  line-height: 1;
  opacity: 0.7;  /* znížená priehľadnosť — stále spĺňa 3:1 pre veľký text */
}
.sluzba-process__title {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text);
  margin: 0;
}
.sluzba-process__desc {
  font-size: 14px;
  color: var(--text-faint);
  line-height: 1.7;
  margin: 0;
}

/* ── FAQ ── */
/* ——— Hodnotenia na detaile služby ——— */
.sluzba-reviews {
  padding: 100px 0;
  border-top: 1px solid var(--border);
}
/* Hodnotenia — auto-loop carousel (JS) + šípky (dizajn HP kariet .hero__testi) */
.reviews-marquee {
  position: relative;
  margin-top: 56px;
  padding: 0 64px;            /* miesto pre šípky mimo kariet */
}
.reviews-marquee__viewport {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 4%, #000 96%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 4%, #000 96%, transparent);
}
.reviews-marquee__track {
  display: flex;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding: 4px 0 8px;
}
.reviews-marquee__track::-webkit-scrollbar { display: none; }
.reviews-marquee__set { display: contents; }
.reviews-marquee__card {
  flex: 0 0 360px;
  width: 360px;
  margin-right: 24px;
  white-space: normal;
}
.reviews-marquee__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--text);     /* tmavé pozadie = vysoký kontrast */
  border: none;
  color: #fff;                 /* biela ikona */
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(0,0,0,0.22);
  transition: background var(--tr-fast), transform var(--tr-fast);
}
.reviews-marquee__nav:hover { background: var(--accent); }
.reviews-marquee__nav:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.reviews-marquee__nav:active { transform: translateY(-50%) scale(0.94); }
.reviews-marquee__nav--prev { left: 6px; }
.reviews-marquee__nav--next { right: 6px; }
@media (max-width: 900px) {
  .reviews-marquee { padding: 0; }
  .reviews-marquee__nav { display: none; }   /* mobil = swipe */
}
@media (max-width: 640px) {
  .sluzba-reviews { padding: 72px 0; }
  .reviews-marquee__card { flex-basis: 290px; width: 290px; margin-right: 16px; }
}

.sluzba-faq {
  padding: 120px 0;
  border-bottom: 1px solid var(--border);
}
.sluzba-faq__list {
  max-width: 780px;
  margin-top: 48px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item:last-child { border-bottom: none; }
.faq-item__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 32px;
  background: none;
  border: none;
  text-align: left;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
  transition: background var(--tr-fast), color var(--tr-fast);
}
.faq-item__q:hover {
  background: var(--surface);
  color: var(--accent);
}
.faq-item__q[aria-expanded="true"] {
  color: var(--accent);
  background: var(--surface);
}
.faq-item__icon {
  flex-shrink: 0;
  transition: transform var(--tr-fast);
}
.faq-item__q[aria-expanded="true"] .faq-item__icon {
  transform: rotate(180deg);
}
.faq-item__a {
  padding: 0 32px 24px;
  background: var(--surface);
}
.faq-item__a p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.8;
  margin: 0;
}

.sluzba-refs {
  padding: 120px 0;
  border-top: 1px solid var(--border);
}

@media (max-width: 960px) {
  .sluzba-body__layout--two-col {
    grid-template-columns: 1fr;
  }
  .sluzba-body__visual {
    position: static;
    order: -1;
  }
  /* Proces — 2 stĺpce na tablete */
  .sluzba-process__steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .sluzba-process,
  .sluzba-faq,
  .sluzba-refs {
    padding: 80px 0;
  }
}

@media (max-width: 600px) {
  /* Proces — 1 stĺpec na mobile, čitateľné karty */
  .sluzba-process__steps {
    grid-template-columns: 1fr;
  }
  .sluzba-process__step {
    padding: 28px 24px;
  }
  .sluzba-process,
  .sluzba-faq,
  .sluzba-refs {
    padding: 60px 0;
  }
  .faq-item__q {
    padding: 20px 20px;
    font-size: 0.95rem;
  }
  .faq-item__a {
    padding: 0 20px 20px;
  }
}

/* =====================================================
   BLOG SINGLE POST
   ===================================================== */
.post-header {
  padding-top: calc(var(--nav-h) + 80px);
  padding-bottom: 64px;
  border-bottom: 1px solid var(--border);
}
.post-header__meta {
  display: flex;
  gap: 20px;
  align-items: center;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.post-header__cat {
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}
.post-header__date { font-size: 13px; color: var(--text-faint); }
.post-header__sep { width: 1px; height: 14px; background: var(--border-2); }
.post-header__read { font-size: 13px; color: var(--text-faint); }
.post-header h1 {
  font-size: clamp(1.9rem, 3.5vw, 3rem);
  font-weight: 400;
  line-height: 1.18;
  letter-spacing: -0.02em;
  max-width: 760px;
  margin-bottom: 24px;
}
.post-header__excerpt {
  font-size: 1.1rem;
  max-width: 640px;
  color: var(--text-muted);
  line-height: 1.8;
}
.post-featured-img {
  aspect-ratio: 21/9;
  overflow: hidden;
  background: var(--surface);
  margin-bottom: 80px;
}
.post-featured-img img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.post-body { padding: 80px 0; }
/* ——— Post content typografia ——— */
.post-content {
  font-size: 1.0625rem; /* 17px */
  line-height: 1.85;
}

/* Vertikálne medzery medzi blokmi */
.post-content > * + * { margin-top: 28px; }

/* Nadpisy — override globálnych veľkostí aj Gutenberg .wp-block-heading */
.post-content h2,
.post-content h2.wp-block-heading {
  font-size: clamp(1.35rem, 2vw, 1.75rem) !important;
  font-weight: 500;
  color: var(--text);
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin-top: 56px;
  margin-bottom: 16px;
}
.post-content h3,
.post-content h3.wp-block-heading {
  font-size: clamp(1.15rem, 1.5vw, 1.35rem) !important;
  font-weight: 500;
  color: var(--text);
  line-height: 1.3;
  margin-top: 44px;
  margin-bottom: 12px;
}
.post-content h4,
.post-content h4.wp-block-heading {
  font-size: 1.05rem !important;
  font-weight: 600;
  color: var(--text);
  margin-top: 36px;
  margin-bottom: 10px;
}

/* Odseky */
.post-content p {
  font-size: inherit;
  color: var(--text-muted);
  line-height: 1.85;
}

/* Linky */
.post-content a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Zoznamy */
.post-content ul,
.post-content ol {
  padding-left: 24px;
  color: var(--text-muted);
  font-size: inherit;
}
.post-content ul { list-style: disc; }
.post-content ol { list-style: decimal; }
.post-content li { margin-bottom: 10px; line-height: 1.75; }

/* ——— Referencie: zoznamy ako elegantné „feature" karty ——— */
.ref-detail-body .post-content ul {
  list-style: none;
  padding-left: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 32px 0;
}
.ref-detail-body .post-content ul li {
  position: relative;
  margin: 0;
  padding: 22px 28px 22px 68px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  line-height: 1.7;
  color: var(--text-muted);
}
/* Zlatá fajka namiesto čiernej guľôčky */
.ref-detail-body .post-content ul li::before {
  content: "";
  position: absolute;
  left: 24px;
  top: 22px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--accent) url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23ffffff'%20stroke-width='3'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M20%206L9%2017l-5-5'/%3E%3C/svg%3E") center / 15px no-repeat;
}
/* Tučný nadpis odrážky vystúpi tmavou farbou */
.ref-detail-body .post-content ul li strong {
  color: var(--text);
  font-weight: 600;
}
@media (max-width: 600px) {
  .ref-detail-body .post-content ul li {
    padding: 18px 20px 18px 56px;
  }
  .ref-detail-body .post-content ul li::before {
    left: 18px; top: 19px; width: 24px; height: 24px;
  }
}

/* Citát */
/* Citácia cez Gutenberg — rovnaký dizajn ako shortcode [hodnotenie] */
.post-content blockquote,
.post-content .wp-block-quote {
  position: relative;
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 48px 0 0;
  margin: 56px 0;
  text-align: left;
}
/* Veľká zlatá úvodzovka ako blokový prvok nad citátom */
.post-content blockquote::before,
.post-content .wp-block-quote::before {
  content: '\201C';
  display: block;
  position: static;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 7rem;
  line-height: 0.65;
  color: var(--accent);
  opacity: 1;
  margin-bottom: -28px;
  pointer-events: none;
  user-select: none;
}
.post-content blockquote p,
.post-content .wp-block-quote p {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  font-weight: 300;
  font-style: italic;
  color: var(--text);
  line-height: 1.8;
  letter-spacing: 0.01em;
  margin: 0;
}
.post-content blockquote cite,
.post-content .wp-block-quote cite,
.post-content .wp-block-quote .wp-block-quote__citation {
  display: block;
  font-family: var(--font-body);
  font-size: 14px;
  font-style: normal;
  font-weight: 600;
  color: var(--text);
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid rgba(184,137,58,0.35);
}

/* Obrázky */
.post-content img {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin: 40px 0;
}

/* Referencie — obrázky širšie ako text (breakout z úzkeho stĺpca).
   Len priame potomky obsahu (>) — nesmie sa aplikovať na obrázky
   VNORENÉ v galérii, tým sa rozbíjalo ich zarovnanie. */
.ref-detail-body .post-content > figure,
.ref-detail-body .post-content > .wp-block-image,
.ref-detail-body .post-content > img {
  width: min(1100px, calc(100vw - 48px));
  max-width: none;
  margin-left: 50%;
  transform: translateX(-50%);
}
.ref-detail-body .post-content > figure {
  margin-top: 48px;
  margin-bottom: 48px;
}
.ref-detail-body .post-content figure img,
.ref-detail-body .post-content .wp-block-image img {
  width: 100%;
  margin: 0;
}
/* Galéria: polia centrovať — neúplný rad nesmie utekať doľava */
.ref-detail-body .post-content .wp-block-gallery.has-nested-images {
  justify-content: center;
}
.ref-detail-body .post-content .wp-block-gallery figure.wp-block-image {
  margin-top: 0;
  margin-bottom: 0;
}
.ref-detail-body .post-content figcaption {
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 12px;
}

/* Kód */
.post-content code {
  background: var(--surface-2);
  border: 1px solid var(--border);
  padding: 2px 7px;
  border-radius: 3px;
  font-size: 0.88em;
  color: var(--accent);   /* --accent-light zlyhalo na kontraste na svetlom bg */
}
.post-content pre {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  overflow-x: auto;
  margin: 32px 0;
}
.post-content pre code { background: none; border: none; padding: 0; }

/* Horizontálna čiara */
.post-content hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 56px 0;
}

/* Gutenberg: odstráni vlastný font-size nastavený blokom */
.post-content .wp-block-heading[style*="font-size"] {
  font-size: inherit !important;
}

/* Post tags / share */
.post-footer {
  padding: 48px 0;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  max-width: 720px;
  margin: 0 auto;
}
.post-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.post-tag {
  font-size: 11px;
  padding: 5px 12px;
  border: 1px solid var(--border-2);
  border-radius: 2px;
  color: var(--text-muted);
  transition: border-color var(--tr-fast), color var(--tr-fast);
}
.post-tag:hover { border-color: var(--accent); color: var(--accent); }
.post-share { display: flex; gap: 12px; align-items: center; }
.post-share span { font-size: 12px; color: var(--text-muted); letter-spacing: 0.05em; }

/* Related posts */
.related-posts { background: var(--surface); border-top: 1px solid var(--border); }
.related-posts__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--border);
  margin-top: 56px;
}

/* Blog archive */
.blog-archive-header { padding-bottom: 64px; }
.archive-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--border);
}
.archive-pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 64px 0;
  flex-wrap: wrap;
}
.archive-pagination a,
.archive-pagination span {
  width: 44px; height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  font-size: 14px;
  color: var(--text-muted);
  border-radius: var(--radius);
  transition: var(--tr-fast);
}
.archive-pagination a:hover { border-color: var(--accent); color: var(--accent); }
.archive-pagination span.current { border-color: var(--accent); color: var(--accent); background: rgba(201,169,110,0.08); }

/* =====================================================
   SCROLL REVEAL ANIMATIONS
   ===================================================== */
/* ——— Parallax pozadie sekcií (dekoračný drift) ——— */
.has-parallax-bg { position: relative; overflow: hidden; }
.has-parallax-bg > .container { position: relative; z-index: 1; }
.parallax-bg {
  position: absolute;
  top: -10%;
  width: min(70vw, 820px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--accent) 13%, transparent), transparent 68%);
  filter: blur(70px);
  pointer-events: none;
  z-index: 0;
  will-change: transform;
}
.parallax-bg--left  { left: -18%; }
.parallax-bg--right { right: -18%; }
@media (prefers-reduced-motion: reduce) {
  .parallax-bg { display: none; }
}

[data-reveal] {
  opacity: 0;
  transform: translateY(42px);
  transition:
    opacity 1s cubic-bezier(0.16, 1, 0.3, 1),
    transform 1s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
[data-reveal="left"]  { transform: translateX(-42px); }
[data-reveal="right"] { transform: translateX(42px); }
[data-reveal="scale"] { transform: scale(0.93); }
[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}
[data-delay="1"] { transition-delay: 0.09s; }
[data-delay="2"] { transition-delay: 0.18s; }
[data-delay="3"] { transition-delay: 0.27s; }
[data-delay="4"] { transition-delay: 0.36s; }
[data-delay="5"] { transition-delay: 0.45s; }
[data-delay="6"] { transition-delay: 0.54s; }

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 1200px) {
  .container, .container--narrow { padding: 0 36px; }
  .site-nav__inner { padding: 0 36px; }
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .site-footer__top { grid-template-columns: 1fr 1fr; gap: 48px; }
  .process-steps__grid { grid-template-columns: repeat(2, 1fr); }
  .ai-features__grid { grid-template-columns: repeat(2, 1fr); }
  .pricing__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  section { padding: 80px 0; }
  .container, .container--narrow { padding: 0 24px; }
  .site-nav__inner { padding: 0 24px; }
  .site-nav__menu, .site-nav__actions .btn { display: none; }
  .site-nav__burger { display: flex; }
  .references__grid { grid-template-columns: 1fr; gap: 20px; }
  /* Vnútorný horizontálny padding referenčnej karty zladený so službami (28px) */
  .ref-card__body { padding: 20px 28px 32px; }
  .ref-card__cat  { padding: 20px 28px 0; }
  /* Badge pod fotkou na mobile */
  .ref-card__img {
    aspect-ratio: unset;
    overflow: visible;
  }
  .ref-card__img img,
  .ref-card__img-placeholder {
    aspect-ratio: 16/9;
    height: auto;
    width: 100%;
  }
  .ref-card__badge {
    position: relative;
    inset: auto;
    width: 100%;
    max-width: 100%;
    border-radius: 0;
    padding: 14px 28px;
    flex-direction: column;
    gap: 4px;
  }
  .ref-card__badge .ref-card__badge-lbl {
    -webkit-line-clamp: unset;
    display: block;
    overflow: visible;
  }
  /* Detail referencie — badge pod fotku (nie cez ňu), full-width pás */
  .ref-detail-img__wrap img,
  .ref-detail-img__wrap video {
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  }
  .ref-detail-img__wrap .ref-card__badge {
    position: relative;
    inset: auto;
    bottom: auto;
    left: auto;
    width: 100%;
    max-width: 100%;
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    padding: 16px 24px;
  }
  .blog-preview__grid { grid-template-columns: 1fr; gap: 20px; }
  .contact-layout { grid-template-columns: 1fr; }
  .ref-detail__header { grid-template-columns: 1fr; gap: 40px; }
  /* Eyebrow — späť odkaz a kategória pod seba na 2 riadky */
  .ref-detail-header__eyebrow {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .ref-detail__results { grid-template-columns: 1fr; }
  .ref-detail-body__layout { grid-template-columns: 1fr; gap: 48px; }
  .ref-detail-body__sidebar { position: static; }
  .ref-testimonial { padding: 0; }
  .ref-other__refs { grid-template-columns: 1fr; }
  .service-detail__intro { grid-template-columns: 1fr; gap: 40px; }
  .values__grid { grid-template-columns: 1fr; }
  .team__grid { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 40px 32px; }
}

@media (max-width: 640px) {
  :root { --nav-h: 68px; }
  .services__grid { grid-template-columns: 1fr; }
  .stats-strip__inner { grid-template-columns: repeat(2, 1fr); }
  .stat-item {
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }
  /* Zvislá čiara medzi stĺpcami (1., 3., … položka) */
  .stat-item:nth-child(odd) { border-right: 1px solid rgba(255,255,255,0.1); }
  /* Posledný riadok bez spodnej čiary */
  .stat-item:nth-last-child(1) { border-bottom: none; }
  .stat-item:nth-last-child(2):nth-child(odd) { border-bottom: none; }
  /* Pri nepárnom počte (úvodná stránka — 3 čísla) ide posledné na celú šírku */
  .stat-item:last-child:nth-child(odd) { grid-column: 1 / -1; border-right: none; }
  .blog-preview__grid { grid-template-columns: 1fr; }
  .archive-grid { grid-template-columns: 1fr; }
  .related-posts__grid { grid-template-columns: 1fr; }
  .pricing__grid { grid-template-columns: 1fr; }
  .ai-features__grid { grid-template-columns: 1fr; }
  .ai-why__grid { grid-template-columns: 1fr; gap: 40px; }
  .ai-why__quote p { font-size: 1.2rem; }
  .responsive-2col { grid-template-columns: 1fr; gap: 40px; }
  .process-steps__grid { grid-template-columns: 1fr; }
  .site-footer__top { grid-template-columns: 1fr; gap: 40px; }
  .team__grid { grid-template-columns: 1fr; }
  .post-featured-img { aspect-ratio: 4/3; }
}

/* =====================================================
   WPCF7 / CONTACT FORM 7 RESET
   ===================================================== */
.wpcf7 form .wpcf7-response-output { display: none !important; }
.wpcf7-not-valid-tip { font-size: 12px; color: #e07070; margin-top: 4px; display: block; }

/* =====================================================
   ACCESSIBILITY — COLOUR CONTRAST FIXES
   Metadata text (dates, read time) must pass WCAG AA
   ===================================================== */
/* Post/blog metadata — accessible on light --bg */
.post-header__date,
.post-header__read,
.blog-card__meta,
.post-tags,
.footer-brand p,
.footer-col__links a {
  color: #6B6560; /* ~5.5:1 on #FAFAF8 */
}

/* Required field marker */
.form-label[data-required]::after,
.form-label.required::after {
  content: ' *';
  color: var(--accent);
  aria-hidden: true;
}

/* Error state */
.form-control[aria-invalid="true"],
.form-control.is-invalid {
  border-color: #c0392b;
  box-shadow: 0 0 0 3px rgba(192,57,43,0.15);
}
.form-error {
  margin: 6px 0 0;
  font-size: 12px;
  color: #c0392b;   /* 4.9:1 na #FAFAF8 — spĺňa WCAG AA */
  display: flex;
  align-items: center;
  gap: 5px;
}
.form-error::before {
  content: '!';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1px solid #c0392b;
  font-size: 9px;
  font-weight: 700;
  flex-shrink: 0;
}

/* Form result banner */
.form-result {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 20px;
  padding: 16px 20px;
  border-radius: 6px;
  font-size: 14px;
  line-height: 1.6;
}
.form-result--success {
  background: rgba(42,106,42,0.06);
  border: 1px solid rgba(42,106,42,0.22);
  color: #2a6a2a;   /* 5.4:1 na svetlom pozadí — spĺňa WCAG AA */
}
.form-result--error {
  background: rgba(139,34,34,0.06);
  border: 1px solid rgba(139,34,34,0.22);
  color: #8b2222;   /* 7.2:1 na svetlom pozadí — spĺňa WCAG AA */
}

/* Loading spinner inside button */
.btn-spinner {
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: btnSpin 0.7s linear infinite;
  vertical-align: middle;
}
@keyframes btnSpin {
  to { transform: rotate(360deg); }
}

/* =====================================================
   REDUCED MOTION (WCAG 2.3.3 / 2.1 AAA)
   Respects user's OS preference
   ===================================================== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  /* Keep opacity reveal but skip the movement & blur */
  [data-reveal] {
    transform: none !important;
    filter: none !important;
    opacity: 0;
    transition: opacity 0.3s ease !important;
  }
  [data-reveal].is-visible { opacity: 1; }

  .hero__line-inner { transform: none !important; transition: none !important; }
  .hero__scroll-line { animation: none; opacity: 0.4; }
  #scroll-progress  { transition: none; }
}

/* =====================================================
   HIGH CONTRAST MODE (Windows forced colours)
   ===================================================== */
@media (forced-colors: active) {
  .btn--primary { forced-color-adjust: none; }
  .skip-link    { forced-color-adjust: none; }
  :focus-visible { outline: 3px solid ButtonText; }
}

/* =====================================================
   SERVICE ILLUSTRATIONS — animated SVGs
   ===================================================== */
.sluzba-svg-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 56px 44px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  position: relative;
  overflow: hidden;
}
/* Accent glow za SVG */
.sluzba-svg-wrap::before {
  content: '';
  position: absolute;
  bottom: -50px;
  left: 50%;
  transform: translateX(-50%);
  width: 65%;
  height: 200px;
  background: radial-gradient(ellipse at center, color-mix(in srgb, var(--accent) 22%, transparent), transparent 70%);
  filter: blur(28px);
  pointer-events: none;
}
/* Dekoratívna bodková mriežka v rohu */
.sluzba-svg-wrap::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 140px;
  height: 140px;
  background-image: radial-gradient(circle, var(--border) 1.2px, transparent 1.2px);
  background-size: 18px 18px;
  opacity: 0.6;
  pointer-events: none;
}
.sluzba-svg {
  width: 100%;
  max-width: 380px;
  color: var(--accent);
  overflow: visible;
  position: relative;
  z-index: 1;
}

/* Draw animation — stroke-dashoffset trick */
.sluzba-svg [class*="svg-draw"] {
  stroke-dasharray: 3000;
  stroke-dashoffset: 3000;
  animation: svgLineDraw 1.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
.sluzba-svg .svg-draw-1 { animation-delay: 0.05s; }
.sluzba-svg .svg-draw-2 { animation-delay: 0.25s; }
.sluzba-svg .svg-draw-3 { animation-delay: 0.45s; }
.sluzba-svg .svg-draw-4 { animation-delay: 0.65s; }
.sluzba-svg .svg-draw-5 { animation-delay: 0.85s; }
.sluzba-svg .svg-draw-6 { animation-delay: 1.05s; }
.sluzba-svg .svg-draw-7 { animation-delay: 1.25s; }

@keyframes svgLineDraw {
  to { stroke-dashoffset: 0; }
}

/* Float animation */
.sluzba-svg [class*="svg-float"] {
  animation: svgFloat 5s ease-in-out infinite;
  transform-box: fill-box;
  transform-origin: center;
}
.sluzba-svg .svg-float-2 { animation-delay: -1.5s; animation-duration: 4.5s; }
.sluzba-svg .svg-float-3 { animation-delay: -3s;   animation-duration: 6s;   }

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

/* Pulse animation */
.sluzba-svg [class*="svg-pulse"] {
  animation: svgPulse 3s ease-in-out infinite;
}
.sluzba-svg .svg-pulse-2 { animation-delay: -1s; }
.sluzba-svg .svg-pulse-3 { animation-delay: -2s; }

@keyframes svgPulse {
  0%, 100% { opacity: 0.18; }
  50%       { opacity: 0.8;  }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .sluzba-svg [class*="svg-draw"] {
    animation: none;
    stroke-dasharray: unset;
    stroke-dashoffset: 0;
  }
  .sluzba-svg [class*="svg-float"],
  .sluzba-svg [class*="svg-pulse"] {
    animation: none;
  }
}

/* Mobile — hide SVG, show full-width text */
@media (max-width: 900px) {
  .sluzba-svg-wrap {
    display: none;
  }
  /* Skry celý prázdny vizuálny stĺpec — inak prázdna grid bunka + gap
     vytvára veľkú medzeru medzi perexom a obsahom */
  .sluzba-body__visual {
    display: none;
  }
  .sluzba-body__layout--two-col {
    grid-template-columns: 1fr;
  }
  .sluzba-body {
    padding-top: 48px;
  }
}

/* =====================================================
   COOKIEYES BANNER — prefarbenie do štýlu témy
   (!important je nutný — plugin vkladá farby ako inline štýly)
   ===================================================== */
.cky-consent-bar,
.cky-preference-center {
  background: var(--bg) !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--radius-lg) !important;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.16) !important;
  font-family: var(--font-body) !important;
}
.cky-title,
.cky-preference-title {
  font-family: var(--font-display) !important;
  font-weight: 400 !important;
  color: var(--text) !important;
}
.cky-notice-des,
.cky-notice-des p,
.cky-preference-content-wrapper,
.cky-accordion-header-des {
  color: var(--text-muted) !important;
}
.cky-notice-des a,
.cky-preference-content-wrapper a {
  color: var(--accent) !important;
  text-decoration: underline !important;
}

/* Tlačidlá */
.cky-btn {
  border-radius: var(--radius) !important;
  font-family: var(--font-body) !important;
  font-size: 13.5px !important;
  font-weight: 500 !important;
  letter-spacing: 0.04em !important;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease !important;
}
/* Hlavné — Prijať všetko (ako btn--primary) */
.cky-btn-accept {
  background: var(--text) !important;
  color: #fff !important;
  border: 1px solid var(--text) !important;
}
.cky-btn-accept:hover {
  background: var(--accent) !important;
  border-color: var(--accent) !important;
  color: #fff !important;
}
/* Odmietnuť — rovnako výrazné ako Prijať (GDPR: bez dark patterns) */
.cky-btn-reject {
  background: var(--text) !important;
  color: #fff !important;
  border: 1px solid var(--text) !important;
}
.cky-btn-reject:hover {
  background: var(--accent) !important;
  border-color: var(--accent) !important;
  color: #fff !important;
}
/* Vedľajšie — Prispôsobiť / Uložiť predvoľby (ako btn--ghost) */
.cky-btn-customize,
.cky-btn-preferences {
  background: transparent !important;
  color: var(--text) !important;
  border: 1px solid var(--border-2) !important;
}
.cky-btn-customize:hover,
.cky-btn-preferences:hover {
  background: transparent !important;
  color: var(--accent) !important;
  border-color: var(--accent) !important;
}
.cky-btn:focus-visible {
  outline: 2px solid var(--accent) !important;
  outline-offset: 2px !important;
}

/* Zatúlané farby pluginu — modrý odkaz „Ukázať viac" a zelené „Vždy aktívny" */
.cky-show-desc-btn,
button[class*="cky-show"] {
  color: var(--accent) !important;
  text-decoration: underline !important;
}
.cky-always-active {
  color: var(--accent) !important;
  font-weight: 600 !important;
}

/* Prepínače kategórií v nastaveniach */
.cky-switch input[type="checkbox"]:checked + span,
.cky-preference-center input[type="checkbox"]:checked + span {
  background-color: var(--accent) !important;
}

/* Plávajúca ikona „zmeniť súhlas" v rohu */
.cky-btn-revisit-wrapper {
  background: var(--text) !important;
}
.cky-btn-revisit-wrapper:hover {
  background: var(--accent) !important;
}

/* =====================================================
   CALLBACK MODAL — „Dohodnime si hovor"
   ===================================================== */
.callback-modal {
  position: fixed;
  inset: 0;
  z-index: 2100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.callback-modal[hidden] { display: none; }
.callback-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 9, 8, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  animation: logoModalFade 0.2s ease;
}
.callback-modal__dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 440px;
  max-height: 92vh;
  overflow-y: auto;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 36px 36px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.25);
  animation: logoModalIn 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.callback-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  transition: color var(--tr-fast), border-color var(--tr-fast);
}
.callback-modal__close:hover { color: var(--text); border-color: var(--accent); }
.callback-modal__eyebrow {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin: 0 0 8px;
}
.callback-modal__title {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 400;
  color: var(--text);
  margin: 0 0 8px;
}
.callback-modal__sub {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0 0 26px;
}
.callback-modal .form-group { margin-bottom: 16px; }
@media (max-width: 600px) {
  .callback-modal { padding: 0; align-items: flex-end; }
  .callback-modal__dialog {
    max-width: 100%;
    max-height: 94vh;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    padding: 36px 22px 28px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .callback-modal__overlay, .callback-modal__dialog { animation: none; }
}

/* =====================================================
   STICKY CTA NA MOBILE
   Po odscrollovaní hero sa dole prilepí tlačidlo,
   aby bola výzva k akcii stále na dosah palca.
   ===================================================== */
.mobile-sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1000;   /* pod mobilnym menu (1001) — pri otvorenom menu sa CTA schová */
  display: none;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
  background: rgba(250, 250, 248, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
  transform: translateY(110%);
  transition: transform 0.4s var(--ease, ease);
}
.mobile-sticky-cta.is-visible { transform: translateY(0); }
.mobile-sticky-cta .btn {
  width: 100%;
  justify-content: center;
}
@media (max-width: 767px) {
  .mobile-sticky-cta { display: block; }
}

/* =====================================================
   COOKIEYES — plávajúcu ikonku skryjeme, odvolanie
   súhlasu je dostupné cez „Nastavenia cookies" v pätičke
   (class .cky-banner-element znovu otvorí panel preferencií)
   ===================================================== */
.cky-btn-revisit-wrapper { display: none !important; }

.footer-cookie-settings {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  font: inherit;
  color: rgba(250, 250, 248, 0.55);
  cursor: pointer;
  transition: color 0.25s ease;
}
.footer-cookie-settings:hover { color: var(--accent); }

/* =====================================================
   HERO TESTIMONIALS — ovládanie (šípky + ťahanie)
   Desktop: track beží zvislo → ikony otočené hore/dole.
   Mobil: track beží vodorovne → ikony ‹ ›.
   ===================================================== */
.hero__testi-nav {
  position: absolute;
  right: max(48px, calc((100vw - var(--max-w)) / 2 + 48px));
  bottom: 22px;
  display: flex;
  gap: 8px;
  z-index: 3;
}
/* Jemný ghost štýl — čierna ostáva vyhradená pre hlavné CTA */
.hero__testi-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--border-2);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  transition: border-color var(--tr-fast), color var(--tr-fast), transform var(--tr-fast);
}
.hero__testi-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}
.hero__testi-btn:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

@media (min-width: 901px) {
  /* zvislý smer → šípky hore/dole */
  .hero__testi-btn svg { transform: rotate(90deg); }
}
@media (max-width: 900px) {
  .hero__testi-nav {
    position: static;
    justify-content: flex-end;
    padding: 0 24px;
    margin-top: 4px;
  }
  .hero__testi-btn { width: 40px; height: 40px; }
}

/* Ťahanie prstom/myšou */
.hero__testi-track { cursor: grab; }
.hero__testi-track.is-dragging { cursor: grabbing; }
.hero__testi-track.is-dragging .hero__testi { pointer-events: none; }
@media (max-width: 900px) {
  /* vodorovné ťahanie nesmie blokovať zvislý scroll stránky */
  .hero__testi-track { touch-action: pan-y; }
}

/* =====================================================
   TELEFÓN V HLAVIČKE
   Desktop: ikona + číslo · Mobil: len ikona (click-to-call)
   ===================================================== */
.site-nav__phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  white-space: nowrap;
  transition: color var(--tr-fast);
}
.site-nav__phone:hover { color: var(--accent); }
.site-nav__phone svg { flex-shrink: 0; }

@media (max-width: 1080px) {
  /* medzi 900–1080 px je málo miesta — nechaj len ikonu */
  .site-nav__phone-num { display: none; }
}
@media (max-width: 900px) {
  /* mobil: ikona ostáva viditeľná vedľa burgeru */
  .site-nav__phone {
    width: 40px;
    height: 40px;
    justify-content: center;
    border: 1px solid var(--border-2);
    border-radius: 50%;
  }
}

/* Telefón v mobilnom menu */
.mobile-cta__phone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
  font-size: 15px;
  font-weight: 500;
  color: rgba(250, 250, 248, 0.75);
  text-decoration: none;
}
.mobile-cta__phone:hover { color: var(--accent-light); }

/* =====================================================
   OSOBNÝ BOX PRI KONTAKTNOM FORMULÁRI
   ===================================================== */
.form-person {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 6px 0 18px;
}
.form-person__av {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(140deg, #e3c489 0%, #B8893A 52%, #946d2c 100%);
  color: #fff;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
}
.form-person__av img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.form-person__text {
  font-size: 15px;
  color: var(--text);
  line-height: 1.5;
  margin: 0 0 2px;
}
.form-person__text strong { font-weight: 600; }
.form-person__name {
  font-size: 12.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin: 0;
}

/* Osobný box — varianty pre modal a centrovanú sekciu */
.callback-modal__person { margin: 0 0 24px; }
.callback-modal__person .form-person__text { font-size: 14px; }
.form-person--center {
  justify-content: center;
  text-align: left;
  margin: -20px auto 40px;
  max-width: 480px;
}

/* Video v karte referencie — správa sa ako obrázok */
.ref-card__img video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}
.ref-card:hover .ref-card__img video { transform: scale(1.06); }


/* Ozdobná linka pri nadpisoch = stehy nite */
.page-hero__eyebrow hr {
  width: 44px;
  height: 2px;
  border: none;
  background: repeating-linear-gradient(90deg,
    var(--accent) 0 7px,
    transparent 7px 12px);
  opacity: 0.65;
}

/* =====================================================
   NITE „CVERNA" — stehy pri štítkoch sekcií
   Prešijú sa (narastú zľava) vo chvíli, keď sekcia
   nabehne do viewportu (reveal .is-visible).
   ===================================================== */
.section-header .label::after,
.cta-banner .label::after,
.hero__eyebrow .label::after {
  content: '';
  display: inline-block;
  vertical-align: middle;
  margin-left: 18px;
  height: 2px;
  width: 0;
  background: repeating-linear-gradient(90deg,
    var(--accent) 0 7px,
    transparent 7px 12px);
  opacity: 0.65;
}
/* spustenie šitia po odhalení sekcie / načítaní hero */
.section-header.is-visible .label::after,
.cta-banner .label.is-visible::after,
.hero-loaded .hero__eyebrow .label::after {
  animation: threadStitch 1s cubic-bezier(0.22, 1, 0.36, 1) 0.25s forwards;
}
@keyframes threadStitch {
  to { width: 44px; }
}

/* Podstránky: existujúca linka pri nadpise sa tiež šije (beží hneď po načítaní) */
.page-hero__eyebrow hr {
  width: 0;
  animation: threadStitch 1s cubic-bezier(0.22, 1, 0.36, 1) 0.35s forwards;
}

@media (prefers-reduced-motion: reduce) {
  .section-header .label::after,
  .cta-banner .label::after,
  .hero__eyebrow .label::after,
  .page-hero__eyebrow hr {
    width: 44px;
    animation: none;
  }
}
