/* ============================================================
   ONVI — Global Styles (Premium Dark UI)
   ============================================================ */

/* ── Reset & Base ────────────────────────────────────────── */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Colors */
  --color-bg-primary: #050507;
  --color-bg-secondary: #050507;
  --color-bg-surface: rgba(255, 255, 255, 0.02);
  --color-text-primary: #FFFFFF;
  --color-text-secondary: #A0A0B0;
  --color-text-muted: #5A5A6E;

  --color-accent-orange: #E8651A;
  --color-accent-pink: #D42A8B;
  --color-accent-blue: #3B5BDB;
  --color-accent-lavender: #C8B4FF;

  --color-border: rgba(255, 255, 255, 0.06);
  --color-border-strong: rgba(255, 255, 255, 0.15);

  /* Gradients based on logo: Orange (#9D291E) -> Purple (#792186) -> Blue (#0B32B6) */
  --gradient-cosmic: linear-gradient(135deg, #B52C26 0%, #792186 50%, #1538B5 100%);

  --gradient-glow: radial-gradient(ellipse at center, rgba(121, 33, 134, 0.15) 0%, transparent 70%);

  --gradient-surface: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0) 100%);

  --gradient-card-border: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.02) 50%, rgba(212, 42, 139, 0.1) 100%);

  /* Typography */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-size-hero: clamp(3rem, 6vw, 5.5rem);
  --font-size-h2: clamp(2rem, 3.5vw, 3.2rem);
  --font-size-h3: clamp(1.15rem, 2vw, 1.35rem);
  --font-size-body: 1rem;
  --font-size-small: 0.875rem;
  --font-size-badge: 0.75rem;

  /* Spacing */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 48px;
  --space-2xl: 80px;
  --space-3xl: 120px;

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 50px;

  /* Motion */
  --transition-fast: 200ms ease;
  --transition-base: 350ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 600ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-spring: 500ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-family);
  background-color: var(--color-bg-primary);
  color: var(--color-text-primary);
  font-size: var(--font-size-body);
  line-height: 1.6;
  overflow-x: hidden;
}

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

ul {
  list-style: none;
}

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

/* ── Utilities ────────────────────────────────────────── */
.text-accent {
  background: var(--gradient-cosmic);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.section-label {
  font-size: var(--font-size-badge);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-accent-pink);
  margin-bottom: var(--space-md);
}

.section-title {
  font-size: var(--font-size-h2);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin-bottom: var(--space-xl);
}

.center-content {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.center-content .intro__desc {
  max-width: 800px;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: var(--radius-full);
  font-family: var(--font-family);
  font-size: var(--font-size-body);
  font-weight: 600;
  letter-spacing: 0.01em;
  border: none;
  cursor: pointer;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.btn--primary {
  background: #FFFFFF;
  color: #000000;
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 40px rgba(255, 255, 255, 0.15);
}

.btn--primary:active {
  transform: translateY(0);
}

.btn--ghost {
  background: transparent;
  color: var(--color-text-primary);
  border: 1px solid var(--color-border-strong);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.btn--lg {
  padding: 18px 40px;
  font-size: 1.05rem;
}

.btn__arrow {
  transition: transform var(--transition-fast);
}

.btn:hover .btn__arrow {
  transform: translateX(4px);
}

/* ============================================================
   NAVBAR (Redesigned & Beautified)
   ============================================================ */
.navbar {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 40px);
  max-width: 1200px;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  background: rgba(10, 10, 15, 0.4);
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all var(--transition-base);
}

.navbar.scrolled {
  top: 10px;
  background: rgba(5, 5, 7, 0.85);
  backdrop-filter: blur(24px) saturate(180%);
  padding: 10px 24px;
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.navbar__brand {
  position: absolute;
  left: 24px;
  display: flex;
  align-items: center;
  transition: transform var(--transition-fast);
}

.navbar__logo {
  height: 42px;
  width: auto;
  /* filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.1)); */
}

.mobile-menu {
  display: none !important;
}

.navbar__links {
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(255, 255, 255, 0.05);
  padding: 5px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.08);
  list-style: none;
  margin: 0;
  backdrop-filter: blur(5px);
}

.navbar__links li {
  position: relative;
}

.navbar__link {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-text-secondary);
  padding: 10px 22px;
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
  letter-spacing: 0.01em;
  display: block;
}

.navbar__link:hover,
.navbar__link--active {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.08);
}

/* Dropdown */
.navbar__dropdown:hover .navbar__dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.navbar__dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: rgba(10, 10, 15, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 10px;
  margin-top: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  list-style: none;
  z-index: 1001;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.navbar__dropdown-menu li {
  width: 100%;
}

.navbar__dropdown-item {
  display: block;
  padding: 12px 20px;
  color: var(--color-text-secondary);
  font-size: 0.82rem;
  font-weight: 500;
  border-radius: var(--radius-md);
  transition: all 0.2s ease;
}

.navbar__dropdown-item:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  padding-left: 25px;
}

.navbar__cta {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: var(--radius-full);
  background: var(--gradient-cosmic);
  color: #fff;
  border: none;
  transition: all var(--transition-base);
  box-shadow: 0 4px 15px rgba(181, 44, 38, 0.2);
}

.navbar__cta:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 25px rgba(181, 44, 38, 0.4);
}

/* Hamburger */
.navbar__hamburger {
  display: none;
  position: absolute;
  right: 24px;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.navbar__hamburger span {
  width: 24px;
  height: 2px;
  background: var(--color-text-primary);
  border-radius: 1px;
  transition: all var(--transition-fast);
}

.navbar__hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.navbar__hamburger.active span:nth-child(2) {
  opacity: 0;
}

.navbar__hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================================
   HERO — 3-layer composition
   Layer 1: Text behind (z-index: 1)
   Layer 2: 3D robot in front (z-index: 2, mix-blend-mode)
   Layer 3: CTA button on top (z-index: 3)
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0;
  overflow: hidden;
  background:
    radial-gradient(ellipse at center 40%, rgba(5, 5, 7, 0.25) 0%, rgba(5, 5, 7, 0.6) 50%, rgba(5, 5, 7, 0.95) 100%),
    radial-gradient(80% 60% at 50% 35%, rgba(99, 102, 241, 0.12) 0%, rgba(147, 51, 234, 0.08) 30%, rgba(5, 5, 7, 0) 65%),
    linear-gradient(180deg, #050507 0%, #08081a 50%, #050507 100%);
}

.hero--short {
  min-height: 45vh;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 0 0 0;
}

/* ── Floating orbit tags around robot ── */
.hero__orbit {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.orbit-tag {
  position: absolute;
  font-family: var(--font-family);
  font-size: clamp(2.2rem, 4.5vw, 5rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.035em;
  white-space: nowrap;
  user-select: none;
  opacity: 0;
  animation:
    orbitLoop var(--loop-dur, 8s) var(--loop-delay, 0s) ease-in-out infinite,
    orbitFloat var(--float-dur, 4.5s) var(--loop-delay, 0s) ease-in-out infinite;
}

/* White-glow variant */
.orbit-tag--1,
.orbit-tag--4,
.orbit-tag--5 {
  color: #ffffff;
  text-shadow:
    0 0 15px rgba(255, 255, 255, 0.4),
    0 0 30px rgba(232, 101, 26, 0.15);
}

/* Gradient variant */
.orbit-tag--2,
.orbit-tag--3 {
  background: var(--gradient-cosmic);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: brightness(1.1) drop-shadow(0 0 10px rgba(212, 42, 139, 0.25));
}

/* Individual positions + independent cycle durations so they never sync */
.orbit-tag--1 {
  top: 15%;
  left: 4%;
  --float-dur: 4.8s;
  --loop-dur: 9s;
  --loop-delay: 0s;
}

.orbit-tag--2 {
  top: 10%;
  right: 5%;
  --float-dur: 5.4s;
  --loop-dur: 11s;
  --loop-delay: 1.8s;
}

.orbit-tag--3 {
  top: 46%;
  left: 2%;
  --float-dur: 4.2s;
  --loop-dur: 8.5s;
  --loop-delay: 3.5s;
}

.orbit-tag--4 {
  top: 52%;
  right: 3%;
  --float-dur: 5s;
  --loop-dur: 10s;
  --loop-delay: 5.2s;
}

.orbit-tag--5 {
  bottom: 20%;
  left: 5%;
  --float-dur: 4.6s;
  --loop-dur: 12s;
  --loop-delay: 2.4s;
}

.orbit-tag--6 {
  bottom: 15%;
  right: 4%;
  --float-dur: 5.2s;
  --loop-dur: 9.5s;
  --loop-delay: 6.8s;
}

/* Loop: 0-15% fade in, 15-60% visible, 60-75% fade out, 75-100% invisible */
@keyframes orbitLoop {
  0% {
    opacity: 0;
  }

  15% {
    opacity: 1;
  }

  60% {
    opacity: 1;
  }

  75% {
    opacity: 0;
  }

  100% {
    opacity: 0;
  }
}

@keyframes orbitFloat {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-6px);
  }
}

/* Mobile — scale orbit tags to fit around robot */
@media (max-width: 768px) {
  .hero__3d-container {
    top: 20px;
  }

  .hero__orbit {
    display: block;
  }

  .orbit-tag {
    font-size: clamp(0.85rem, 3vw, 1.15rem);
    filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.8));
    text-shadow: none;
  }

  .orbit-tag--1 {
    top: 15%;
    left: 4%;
  }

  .orbit-tag--2 {
    top: 10%;
    right: 4%;
  }

  .orbit-tag--3 {
    top: 26%;
    left: 4%;
  }

  .orbit-tag--4 {
    top: 30%;
    right: 4%;
  }

  .orbit-tag--5 {
    bottom: 20%;
    left: 0;
    right: 0;
    text-align: center;
    width: 100%;
  }
}


/* ── Layer 2: 3D robot IN FRONT of text ── */
.hero__3d-container {
  position: absolute;
  top: -20px;
  bottom: -80px;
  left: -80px;
  right: -80px;
  z-index: 2;
  /* Transparent so hero gradient shows through; Spline canvas covers when loaded */
  background: transparent;
}

/* Fallback removed — Spline-only, black bg when unavailable */

.hero-loader {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
  z-index: 1;
  transition: opacity 420ms ease;
}

.hero-loader__orb {
  width: clamp(130px, 16vw, 220px);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.28) 0%, rgba(255, 255, 255, 0.08) 28%, rgba(232, 101, 26, 0.28) 54%, rgba(59, 91, 219, 0.2) 76%, rgba(8, 8, 12, 0.85) 100%);
  filter: blur(0.2px);
  animation: heroLoaderPulse 1.8s ease-in-out infinite;
}

.hero-loader__ring {
  position: absolute;
  width: clamp(200px, 26vw, 340px);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-top-color: rgba(255, 255, 255, 0.55);
  animation: heroLoaderSpin 2.2s linear infinite;
}

.hero__3d-container.is-loaded .hero-loader {
  opacity: 0;
}

@keyframes heroLoaderSpin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes heroLoaderPulse {

  0%,
  100% {
    transform: scale(0.96);
    opacity: 0.75;
  }

  50% {
    transform: scale(1.03);
    opacity: 1;
  }
}

.hero__3d-container canvas {
  display: block;
  width: 100%;
  height: 100%;
  outline: none;
}

/* ── Layer 3: Front content on top of everything ── */
.hero__front {
  position: absolute;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  animation: ctaFadeIn 0.8s 0.8s ease-out both;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  width: 100%;
}

.hero__front a {
  text-decoration: none;
  cursor: pointer;
  display: block;
}

.hero__title-link {
  transition: transform var(--transition-base);
  display: block;
  user-select: none;
}

.hero__title-link:hover {
  transform: scale(1.02);
}

.hero__subtitle {
  font-size: var(--font-size-small);
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.02em;
  line-height: 1.5;
  backdrop-filter: blur(8px);
  background: rgba(5, 5, 7, 0.5);
  padding: 8px 20px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

@keyframes ctaFadeIn {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

.hero--short {
  min-height: 55vh;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 0 0 0;
}

/* 3D background for subpage hero */
.hero--short .hero__3d-bg {
  position: absolute;
  top: -80px;
  bottom: -80px;
  left: -80px;
  right: -80px;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
  mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
}

.hero--short .hero__3d-bg canvas {
  display: block;
  width: 100%;
  height: 100%;
  outline: none;
}

/* Dark gradient overlay so text stays readable */
.hero--short::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(ellipse at center 40%, rgba(5, 5, 7, 0.25) 0%, rgba(5, 5, 7, 0.6) 70%, rgba(5, 5, 7, 0.9) 100%);
  -webkit-mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
  mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
  pointer-events: none;
}

/* ── Subpage hero ── */
.hero--short .hero__content {
  position: relative;
  z-index: 3;
}

.hero--short .hero__content .btn {
  pointer-events: auto;
}

.hero__title {
  font-family: var(--font-family);
  font-size: var(--font-size-hero);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: #FFFFFF;
  margin-bottom: var(--space-sm);
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.hero__title-line {
  display: block;
  animation: textReveal 1s 0.2s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero__title-line--accent {
  background: var(--gradient-cosmic);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__short-desc {
  font-size: var(--font-size-body);
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.01em;
  animation: textReveal 1s 0.4s cubic-bezier(0.16, 1, 0.3, 1) both;
}



@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================================
   INTRO SECTION
   ============================================================ */
.intro {
  padding: var(--space-3xl) var(--space-lg);
  position: relative;
}


.intro__center {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.intro__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.intro__desc {
  font-size: 1.15rem;
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-lg);
}

.intro__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.stat-card {
  padding: 24px 0;
  border-left: 1px solid var(--color-border);
  padding-left: 24px;
  background: transparent;
  transition: all var(--transition-base);
}

.stat-card:hover {
  border-left-color: var(--color-text-secondary);
}

.stat-card__number {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--color-text-primary);
  margin-bottom: 4px;
}

.stat-card__label {
  font-size: var(--font-size-small);
  color: var(--color-text-muted);
}

/* ============================================================
   SERVICE PREVIEW CARDS (Homepage)
   ============================================================ */
.services-preview {
  position: relative;
  height: 400vh;
  /* Scroll-jacking track length */
  background: var(--color-bg-primary);
  margin-top: 100px;
}

.services-preview>.section-container {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  overflow: hidden;
  padding: 0 var(--space-xl);
  max-width: 100%;
}

.services-preview__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.sp-card {
  position: relative;
  perspective: 1200px;
  cursor: pointer;
  background: transparent;
  border: none;
  min-height: 260px;
  /* Reduced from 300px */
  display: block;
}

.card-3d__inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), filter 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity, filter;
}

.sp-card.flipped .card-3d__inner,
.sp-card.hover-flip:hover .card-3d__inner {
  transform: rotateY(180deg) scale(1.05);
  /* Zväčšenie aktívnej karty pre pop-up efekt */
  z-index: 10;
}

.sp-card.dimmed .card-3d__inner {
  opacity: 0.4;
  filter: blur(2px) grayscale(30%);
  transform: scale(0.95);
}

.card-3d__front,
.card-3d__back {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 24px;
  background: transparent;
  border: none;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: hidden;
  box-sizing: border-box;
  transform: translateZ(1px);
  box-shadow: none;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* No card styling on front face — just clean letters */
.sp-card:hover .card-3d__front,
.sp-card.flipped .card-3d__front {
  background: transparent;
  border: none;
  box-shadow: none;
}

.card-3d__back {
  background: rgba(10, 10, 15, 0.98);
  border-color: var(--theme-color);
  /* Back always has the logo color because it is revealed only on flip */
}

.card-3d__front {
  transform: rotateY(0deg) translateZ(1px);
  background: transparent;
}

/* On flip, make sure front really hides (especially helpful in Safari) */
.sp-card.flipped .card-3d__front,
.sp-card.hover-flip:hover .card-3d__front {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, visibility 0.2s;
}



.card-3d__front>*,
.card-3d__back>* {
  z-index: 1;
  position: relative;
}

/* ── Typography for O N V I ── */
.card-letter {
  font-size: clamp(60px, 8vw, 110px);
  font-weight: 900;
  font-family: var(--font-family);
  line-height: 1;
  text-align: center;
  margin: auto 0;
  color: var(--theme-color, #FFF);
  text-shadow: 0 4px 30px var(--theme-color, rgba(0, 0, 0, 0.5));
}

#sp-1 {
  --theme-color: var(--color-accent-orange);
}

#sp-2 {
  --theme-color: var(--color-accent-pink);
}

#sp-3 {
  --theme-color: #8B3DFF;
}

/* Purple/Violet */
#sp-4 {
  --theme-color: var(--color-accent-blue);
}

.theme-orange {
  --theme-color: var(--color-accent-orange);
}

.theme-pink {
  --theme-color: var(--color-accent-pink);
}

.theme-purple {
  --theme-color: #8B3DFF;
}

.theme-blue {
  --theme-color: var(--color-accent-blue);
}

.theme-lavender {
  --theme-color: var(--color-accent-lavender);
}

.card-3d__back {
  transform: rotateY(180deg) translateZ(1px);
  background: rgba(10, 10, 15, 0.98);
  border: 1px solid var(--theme-color);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.7), 0 0 20px var(--theme-color, transparent);
  padding: 24px;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.sp-card.flipped .card-3d__back,
.sp-card.hover-flip:hover .card-3d__back {
  opacity: 1;
  visibility: visible;
}

/* ── Highlight All effect ── */
.sp-card.highlight-all .card-letter-img {
  filter: drop-shadow(0 0 25px var(--theme-color, rgba(255, 255, 255, 0.8)));
  transform: scale(1.05);
  transition: all 0.5s ease;
}

/* Image letters */
.card-letter-img {
  width: auto;
  height: clamp(80px, 10vw, 130px);
  object-fit: contain;
  margin: auto;
  display: block;
}

.sp-card__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  color: var(--color-accent-pink);
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.sp-card:hover .sp-card__icon {
  transform: scale(1.1);
}

.sp-card__title {
  font-size: clamp(1.1rem, 4vw, var(--font-size-h3));
  font-weight: 700;
  letter-spacing: -0.01em;
  word-wrap: break-word;
}

.sp-card__hint {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--color-text-muted);
  opacity: 0.5;
  margin-top: auto;
}

.sp-card__desc {
  font-size: var(--font-size-small);
  color: var(--color-text-secondary);
  line-height: 1.6;
}

.sp-card__link {
  font-size: var(--font-size-small);
  font-weight: 600;
  color: var(--color-text-primary);
  margin-top: auto;
  text-decoration: none;
}

/* ============================================================
   SHOWCASE / PROJECT CARDS
   ============================================================ */
.showcase {
  padding: var(--space-3xl) var(--space-lg);
  position: relative;
}

.showcase__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.showcase-card {
  position: relative;
  padding: 32px 0;
  background: transparent;
  border: none;
  border-top: 1px solid var(--color-border);
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.showcase-card:hover {
  border-top-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-4px);
}

.showcase-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.showcase-card__tag {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-secondary);
}

.showcase-card__metric {
  font-size: 12px;
  font-weight: 700;
  color: var(--color-accent-lavender);
  letter-spacing: 0.02em;
}

.showcase-card__title {
  font-size: var(--font-size-h3);
  font-weight: 700;
  line-height: 1.25;
}

.showcase-card__desc {
  font-size: var(--font-size-small);
  color: var(--color-text-secondary);
  line-height: 1.6;
  flex-grow: 1;
}

.showcase-card__link {
  font-size: var(--font-size-small);
  font-weight: 600;
  color: var(--color-text-muted);
  transition: all var(--transition-fast);
}

.showcase-card:hover .showcase-card__link {
  color: var(--color-text-primary);
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
  position: relative;
  padding: var(--space-2xl) var(--space-lg) var(--space-3xl);
  overflow: hidden;
}

.cta-section::before {
  content: "";
  position: absolute;
  inset: 8% 12%;
  border-radius: 999px;
  background: radial-gradient(circle at center, rgba(212, 42, 139, 0.22) 0%, rgba(59, 91, 219, 0.12) 35%, rgba(5, 5, 7, 0) 72%);
  filter: blur(44px);
  pointer-events: none;
}

.cta-box {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 1000px;
  margin: 0 auto;
  padding: clamp(56px, 8vw, 92px) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.cta-box__eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  margin-bottom: 18px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cta-box__title {
  font-size: clamp(2rem, 4vw, 3.3rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.028em;
  margin-bottom: 14px;
}

.cta-box__desc {
  font-size: clamp(1rem, 1.6vw, 1.12rem);
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin-bottom: 34px;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}

.cta-box__actions {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

@media (max-width: 768px) {
  .cta-box {
    padding: 44px 0;
  }

  .cta-box__actions {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    max-width: 320px;
    margin: 0 auto;
  }

  .cta-box__actions .btn {
    justify-content: center;
  }
}

/* ============================================================
   SERVICES PAGE (sluzby.html)
   ============================================================ */
.services {
  padding: var(--space-3xl) var(--space-lg);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

/* Reuse sp-card style for service page cards */
.service-card {
  position: relative;
  padding: 32px 0;
  background: transparent;
  border-top: 1px solid var(--color-border);
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.service-card:hover {
  transform: translateY(-4px);
  border-top-color: rgba(255, 255, 255, 0.2);
}

.service-card__icon {
  font-size: 2rem;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  color: var(--color-accent-pink);
  transition: all var(--transition-base);
}

.service-card:hover .service-card__icon {
  transform: scale(1.05) translateX(4px);
}

.service-card__title {
  font-size: var(--font-size-h3);
  font-weight: 700;
}

.service-card__desc {
  font-size: var(--font-size-small);
  color: var(--color-text-secondary);
  line-height: 1.6;
}

/* ============================================================
   CASE STUDIES / WHY SECTION
   ============================================================ */
.case-studies {
  padding: var(--space-3xl) var(--space-lg);
}

.case-studies__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.case-card {
  padding: 32px 0;
  background: transparent;
  border-top: 1px solid var(--color-border);
  transition: all var(--transition-base);
}

.case-card:hover {
  transform: translateY(-4px);
  border-top-color: rgba(255, 255, 255, 0.2);
}

.case-card__stat {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--color-text-primary);
  margin-bottom: 8px;
}

.case-card__title {
  font-size: var(--font-size-h3);
  font-weight: 700;
  margin-bottom: 12px;
}

.case-card__desc {
  font-size: var(--font-size-small);
  color: var(--color-text-secondary);
  line-height: 1.6;
}

/* ============================================================
   PROCESS
   ============================================================ */
.process {
  padding: var(--space-3xl) var(--space-lg);
  position: relative;
}

.process__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
}

/* Connecting line */
.process__steps::before {
  content: '';
  position: absolute;
  top: 36px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--color-border-strong), transparent);
}

.process-step {
  text-align: center;
  padding: 32px 20px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid var(--color-border);
  transition: all var(--transition-base);
  position: relative;
}

.process-step:hover {
  background: rgba(255, 255, 255, 0.04);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

.process-step__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(212, 42, 139, 0.1);
  border: 1px solid rgba(212, 42, 139, 0.25);
  font-size: var(--font-size-small);
  font-weight: 700;
  color: var(--color-accent-pink);
  margin-bottom: 16px;
}

.process-step__title {
  font-size: var(--font-size-h3);
  font-weight: 700;
  margin-bottom: 10px;
}

.process-step__desc {
  font-size: var(--font-size-small);
  color: var(--color-text-secondary);
  line-height: 1.6;
}

/* ── Redesigned Process Timeline ── */
.process__timeline {
  display: flex;
  gap: 0;
  position: relative;
}

.process-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  padding: 0 12px;
}

.process-item__line {
  position: absolute;
  top: 20px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(to right, var(--color-border), var(--color-border-strong));
  z-index: 0;
}

.process-item:first-child .process-item__line {
  left: 50%;
}

.process-item:last-child .process-item__line {
  right: 50%;
}

.process-item__dot {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-bg-primary);
  border: 2px solid var(--color-accent-pink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-small);
  font-weight: 700;
  color: var(--color-accent-pink);
  position: relative;
  z-index: 1;
  transition: all var(--transition-base);
  flex-shrink: 0;
}

.process-item:hover .process-item__dot {
  background: rgba(212, 42, 139, 0.15);
  transform: scale(1.1);
  box-shadow: 0 0 20px rgba(212, 42, 139, 0.3);
}

.process-item__content {
  margin-top: 24px;
}

.process-item__title {
  font-size: var(--font-size-h3);
  font-weight: 700;
  margin-bottom: 8px;
}

.process-item__desc {
  font-size: var(--font-size-small);
  color: var(--color-text-secondary);
  line-height: 1.6;
}

/* ============================================================
   CONTACT SECTION
   ============================================================ */
.contact {
  padding: var(--space-2xl) var(--space-lg) var(--space-3xl);
}

.contact__layout {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.contact__left {
  position: sticky;
  top: 120px;
}

.contact__left .section-label {
  margin-bottom: 12px;
}

.contact__heading {
  font-size: var(--font-size-h2);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-md);
  line-height: 1.1;
}

.contact__subtext {
  font-size: 1.05rem;
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-xl);
}

.contact__info-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact__info-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--color-border);
  transition: all var(--transition-base);
}

.contact__info-card:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--color-border-strong);
  transform: translateX(4px);
}

.show.contact-info-card:hover {
  border-color: var(--color-border-strong);
  background: rgba(255, 255, 255, 0.03);
  transform: translateY(-2px);
}

.contact__info-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(212, 42, 139, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--color-accent-pink);
}

.contact__info-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.contact__info-label {
  font-size: var(--font-size-badge);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text-muted);
}

.contact__info-value {
  font-size: var(--font-size-body);
  color: var(--color-text-primary);
  transition: color var(--transition-fast);
}

a.contact__info-value:hover {
  color: var(--color-accent-pink);
}

.contact__right {
  padding: 48px;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--color-border);
  position: relative;
  overflow: hidden;
}

.contact__right::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-xl);
  padding: 1px;
  background: var(--gradient-cosmic);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.25;
}

.contact__form-title {
  font-size: var(--font-size-h3);
  font-weight: 700;
  margin-bottom: 8px;
}

.contact__form-desc {
  font-size: var(--font-size-small);
  color: var(--color-text-muted);
  margin-bottom: var(--space-lg);
}

.contact__form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: var(--font-size-badge);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text-muted);
}

.form-group input,
.form-group textarea {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--color-text-primary);
  font-family: var(--font-family);
  font-size: var(--font-size-body);
  transition: border-color var(--transition-fast);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--color-accent-pink);
}

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

.contact__cta-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
  margin-top: var(--space-lg);
}

.contact__cta-row .btn {
  width: 100%;
  justify-content: center;
}

/* ============================================================
/* ============================================================
   FOOTER (Premium & Modern)
   ============================================================ */
.footer {
  padding: 30px var(--space-lg) 20px;
  /* Drastically reduced */
  background: var(--color-bg-primary);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
}

/* Subtle glow in footer */
.footer::before {
  display: none;
  /* Remove flashy glow */
}

.footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.footer__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  /* Centered vertically for a thinner profile */
  gap: 40px;
  margin-bottom: 24px;
}

.footer__brand {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
}

.footer__logo {
  height: 32px;
  width: auto;
  margin-bottom: 8px;
  opacity: 0.8;
}

.footer__brand-text {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  max-width: 250px;
  line-height: 1.4;
}

.footer__info {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  gap: 48px;
}

.footer__info-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer__info-label {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.45);
}

.footer__info-value {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.82);
  transition: all var(--transition-base);
}

a.footer__info-value:hover {
  color: #fff;
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer__copy {
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

.footer__nav {
  display: flex;
  gap: 8px;
}

.footer__nav a {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--color-text-muted);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
}

.footer__nav a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

/* ============================================================
   REVEAL ANIMATIONS (Apple Style)
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(50px) scale(0.96);
  filter: blur(8px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform, filter;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

/* Staggered reveals */
.reveal:nth-child(1) {
  transition-delay: 0ms;
}

.reveal:nth-child(2) {
  transition-delay: 80ms;
}

.reveal:nth-child(3) {
  transition-delay: 160ms;
}

.reveal:nth-child(4) {
  transition-delay: 240ms;
}

.reveal:nth-child(5) {
  transition-delay: 320ms;
}

.reveal:nth-child(6) {
  transition-delay: 400ms;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {

  /* Disable sticky scroll-jack entirely on tablets and phones back to standard scroll */
  .services-preview {
    height: auto !important;
    margin-top: 60px;
    padding-bottom: 60px;
    overflow: hidden;
  }

  .services-preview>.section-container {
    position: relative;
    height: auto;
    overflow: visible;
    padding: 0 var(--space-md);
  }

  .services-preview__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    width: 100%;
  }

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

  .showcase-card:last-child {
    grid-column: span 2;
  }

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

  .process__steps::before {
    display: none;
  }

  .process__timeline {
    flex-direction: column;
    gap: 32px;
  }

  .process-item {
    flex-direction: row;
    text-align: left;
    align-items: flex-start;
    gap: 20px;
    padding: 0;
  }

  .process-item__line {
    display: none;
  }

  .process-item__content {
    margin-top: 0;
  }
}

@media (max-width: 768px) {

  .navbar__links:not(.mobile-menu) {
    display: none !important;
  }

  .navbar__cta:not(.mobile-menu .navbar__cta) {
    display: none !important;
  }

  .navbar__hamburger {
    display: flex !important;
  }

  .mobile-menu {
    display: none !important;
    flex-direction: column;
    position: absolute;
    top: calc(100% + 10px);
    left: -2px;
    right: -2px;
    background: rgba(8, 8, 12, 0.98);
    backdrop-filter: blur(12px);
    padding: 16px;
    gap: 10px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    list-style: none;
    align-items: stretch;
    text-align: left;
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.55);
    z-index: 1001;
  }

  .mobile-menu .navbar__link,
  .mobile-menu .navbar__cta {
    width: 100%;
    justify-content: space-between;
    padding: 14px 16px;
    border-radius: 8px;
    font-size: 0.95rem;
  }

  .mobile-menu .navbar__link {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.88);
  }

  .mobile-menu .navbar__link--active {
    background: rgba(255, 255, 255, 0.09);
    border-color: rgba(255, 255, 255, 0.18);
    color: #fff;
  }

  .mobile-menu .navbar__cta {
    margin-top: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
  }

  .mobile-menu.open {
    display: flex !important;
    animation: menuSlideDown 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .mobile-menu a {
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .mobile-menu.open a {
    opacity: 1;
    transform: translateY(0);
  }

  .mobile-menu.open a:nth-child(1) {
    transition-delay: 0.1s;
  }

  .mobile-menu.open a:nth-child(2) {
    transition-delay: 0.15s;
  }

  .mobile-menu.open a:nth-child(3) {
    transition-delay: 0.2s;
  }

  .mobile-menu.open a:nth-child(4) {
    transition-delay: 0.25s;
  }

  @keyframes menuSlideDown {
    from {
      opacity: 0;
      transform: translateY(-10px);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }


  .hero__wrap {
    font-size: clamp(1.8rem, 8vw, 2.8rem);
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.15);
  }

  .hero__wrap--left {
    top: 12%;
    left: 3%;
  }

  .hero__wrap--right {
    bottom: 8%;
    right: 3%;
  }

  .footer__top {
    flex-direction: column;
    gap: 28px;
    margin-bottom: 28px;
  }

  .footer__brand {
    flex: none;
    text-align: center;
    width: 100%;
  }

  .footer__brand-text {
    margin: 0 auto;
    max-width: 320px;
    text-align: center;
  }

  .footer__logo {
    margin: 0 auto 16px;
  }

  .footer__info {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    width: 100%;
    text-align: center;
  }

  .footer__info-item {
    align-items: center;
    gap: 6px;
    padding: 10px 12px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.02);
    text-align: center;
  }

  .footer__info-item:last-child {
    grid-column: 1 / -1;
  }

  .footer__bottom {
    flex-direction: column;
    gap: 14px;
    text-align: center;
  }

  .footer__nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
  }

  .hero__title {
    font-size: clamp(2.2rem, 8vw, 3.5rem);
  }

  .intro__grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .services-preview__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .showcase__grid {
    grid-template-columns: 1fr;
  }

  .showcase-card:last-child {
    grid-column: auto;
  }

  .services__grid {
    grid-template-columns: 1fr;
  }

  .case-studies__grid {
    grid-template-columns: 1fr;
  }

  .process__steps {
    grid-template-columns: 1fr;
  }

  .process__timeline {
    flex-direction: column;
    gap: 28px;
  }

  .cta-box {
    padding: 48px 24px;
  }

  .contact__layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact__left {
    position: static;
  }

  .contact__right {
    padding: 32px 20px;
  }
}

/* ============================================================
   NAVBAR LOGO IMAGE
   ============================================================ */
.navbar__logo {
  height: 32px;
  width: auto;
  display: block;
  object-fit: contain;
}

.footer__logo {
  height: 28px;
  width: auto;
  display: block;
  object-fit: contain;
  opacity: 0.8;
}

/* ============================================================
   HERO — No 3D variant (subpages)
   ============================================================ */
.hero--no3d {
  background:
    radial-gradient(ellipse at 30% 60%, rgba(232, 101, 26, 0.07) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 40%, rgba(59, 91, 219, 0.07) 0%, transparent 50%),
    var(--color-bg-primary);
  min-height: 38vh;
}

.hero--no3d .hero__content {
  position: relative;
  z-index: 1;
}

/* ============================================================
   CONTACT PAGE (NEW LAYOUT)
   ============================================================ */
.contact-page {
  padding: var(--space-2xl) var(--space-lg) var(--space-3xl);
}

.contact-page__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: start;
}

.contact-page__heading {
  font-size: var(--font-size-h2);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin-bottom: var(--space-md);
}

.contact-page__subtext {
  font-size: 1.05rem;
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-xl);
}

.contact-page__cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ── Info cards ── */
.contact-info-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--color-border);
  transition: all var(--transition-base);
  text-decoration: none;
  color: inherit;
}

a.contact-info-card:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(212, 42, 139, 0.3);
  transform: translateX(6px);
}

.contact-info-card__icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(212, 42, 139, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--color-accent-pink);
  transition: all var(--transition-base);
}

a.contact-info-card:hover .contact-info-card__icon {
  background: rgba(212, 42, 139, 0.18);
  transform: scale(1.05);
}

.contact-info-card__body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}

.contact-info-card__label {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
}

.contact-info-card__value {
  font-size: var(--font-size-body);
  color: var(--color-text-primary);
  font-weight: 500;
}

.contact-info-card__arrow {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  transition: all var(--transition-fast);
  flex-shrink: 0;
}

a.contact-info-card:hover .contact-info-card__arrow {
  color: var(--color-accent-pink);
  transform: translateX(4px);
}

/* ── Form card ── */
.contact-form-card {
  position: relative;
  padding: 48px;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--color-border);
  overflow: hidden;
}

.contact-form-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-xl);
  padding: 1px;
  background: var(--gradient-cosmic);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.25;
  pointer-events: none;
}

.contact-form-card__glow {
  position: absolute;
  top: -40%;
  right: -20%;
  width: 70%;
  height: 70%;
  background: radial-gradient(ellipse at center, rgba(212, 42, 139, 0.08) 0%, transparent 65%);
  pointer-events: none;
}

.contact-form-card__title {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
  position: relative;
}

.contact-form-card__subtitle {
  font-size: var(--font-size-small);
  color: var(--color-text-muted);
  margin-bottom: var(--space-lg);
  position: relative;
}

/* ── Form elements ── */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
}

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

.contact-form__field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-form__label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--color-text-muted);
}

.contact-form__input,
.contact-form__select,
.contact-form__textarea {
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--color-text-primary);
  font-family: var(--font-family);
  font-size: 0.95rem;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
  outline: none;
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
}

.contact-form__input::placeholder,
.contact-form__textarea::placeholder {
  color: var(--color-text-muted);
}

.contact-form__input:focus,
.contact-form__select:focus,
.contact-form__textarea:focus {
  border-color: rgba(212, 42, 139, 0.6);
  background: rgba(212, 42, 139, 0.04);
  box-shadow: 0 0 0 3px rgba(212, 42, 139, 0.1);
}

.contact-form__select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235A5A6E' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

.contact-form__select option {
  background: #0A0A0F;
  color: #fff;
}

.contact-form__textarea {
  resize: vertical;
  min-height: 130px;
  line-height: 1.6;
}

/* Submit button */
.contact-form__submit {
  position: relative;
  width: 100%;
  justify-content: center;
}

.contact-form__submit .btn-spinner {
  display: none;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(0, 0, 0, 0.2);
  border-top-color: #000;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

.contact-form__submit.loading .btn-text,
.contact-form__submit.loading .btn__arrow {
  opacity: 0;
}

.contact-form__submit.loading .btn-spinner {
  display: block;
  position: absolute;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Success / Error states */
.contact-form__success {
  text-align: center;
  padding: 32px;
}

.contact-form__success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(34, 197, 94, 0.12);
  border: 2px solid rgba(34, 197, 94, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: #22c55e;
  margin: 0 auto var(--space-md);
}

.contact-form__success h4 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.contact-form__success p {
  color: var(--color-text-secondary);
}

.contact-form__error-msg {
  margin-top: 12px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.25);
  color: #f87171;
  font-size: var(--font-size-small);
  text-align: center;
}

/* ── Responsive contact page ── */
@media (max-width: 900px) {
  .contact-page__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 600px) {
  .contact-form-card {
    padding: 28px 20px;
  }

  .contact-form__row {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   PAGE TRANSITION OVERLAY
   ============================================================ */
#page-transition {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--color-bg-primary);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

#page-transition.is-entering {
  opacity: 1;
  pointer-events: all;
}

/* Fade in on page load */
body.page-loading #page-transition {
  opacity: 1;
}

/* ============================================================
   STICKY SCROLL SERVICES STACK (SLUZBY.HTML)
   ============================================================ */
.services-stack {
  position: relative;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  padding-bottom: 200px;
  /* space after the last card */
}

.service-stack-card {
  position: sticky;
  height: 440px;
  /* Reduced further */
  display: flex;
  background: rgba(8, 8, 12, 0.96);
  /* Solid backdrop so stacked text does not overlap visually */
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  border-left: none;
  border-right: none;
  border-radius: 0;
  overflow: hidden;
  box-shadow: none;
  margin-bottom: 28px;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-stack-card:hover {
  background: rgba(8, 8, 12, 0.98);
  border-top-color: rgba(255, 255, 255, 0.14);
  border-bottom-color: rgba(255, 255, 255, 0.08);
  transform: translateY(-4px);
}

.ssc-content {
  width: 55%;
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left !important;
  /* Force left alignment */
  z-index: 2;
}

.ssc-number {
  font-weight: 900;
  color: rgba(255, 255, 255, 0.14);
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.35);
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  margin-bottom: 24px;
  line-height: 0.8;
}

.ssc-title {
  font-size: clamp(24px, 2.5vw, 36px);
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.2;
}

.ssc-desc {
  font-size: 1rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
  margin-bottom: 24px;
  max-width: 500px;
}

.ssc-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ssc-features li {
  position: relative;
  padding-left: 24px;
  font-size: 1.1rem;
  color: #fff;
}

.ssc-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--color-accent-orange);
  font-weight: bold;
}

.ssc-image {
  position: absolute;
  right: 48px;
  top: 50%;
  transform: translateY(-50%);
  width: 350px;
  height: 260px;
  overflow: hidden;
  border-radius: 20px;
  background: var(--color-bg-secondary);
  z-index: 1;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.ssc-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
  mask-image: none;
  -webkit-mask-image: none;
}

/* Keep service/project visuals visible even when reveal observer is delayed */
.services-stack .ssc-image img.reveal,
.services-stack .ssc-image img.reveal.visible {
  opacity: 0.9;
  transform: none;
  filter: none;
}

.ssc-image__brand {
  position: absolute;
  left: 14px;
  bottom: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 16px;
  background: rgba(5, 5, 7, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.ssc-image__brand img {
  width: 82px;
  height: auto;
  display: block;
  opacity: 1;
}

.summary-card {
  background: transparent;
  box-shadow: none;
  border-top: none;
  border: none;
}

@media (max-width: 1024px) {
  .service-stack-card {
    position: relative;
    margin-bottom: 18px;
    height: auto;
    min-height: calc(100vh - 80px);
    display: block;
    padding: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    border-left: none;
    border-right: none;
    border-radius: 0;
    background: rgba(12, 12, 18, 0.94);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }

  .ssc-number {
    color: rgba(255, 255, 255, 0.22);
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.5);
    text-shadow: 0 10px 24px rgba(0, 0, 0, 0.45);
    font-size: clamp(54px, 11vw, 84px);
    margin-bottom: 16px;
  }

  .ssc-content {
    width: 100%;
    position: relative;
    padding: var(--space-xl);
    padding-top: calc(var(--space-lg) + 4px);
    padding-left: 8px;
    padding-right: 8px;
    z-index: 2;
  }

  .ssc-image {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    height: 26vh;
    min-height: 190px;
    transform: none;
    border-radius: 12px;
    margin-top: 18px;
    margin-bottom: 12px;
    right: auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  }

  .ssc-image img {
    mask-image: none;
    -webkit-mask-image: none;
    opacity: 0.95;
  }

  .summary-card {
    border-style: dashed;
    border-color: rgba(255, 255, 255, 0.16);
    background: rgba(10, 10, 16, 0.45);
  }

  .ssc-image__brand {
    left: 12px;
    bottom: 12px;
    padding: 7px 10px;
  }

  .ssc-image__brand img {
    width: 72px;
  }
}

/* ============================================================
   PRICING SECTION
   ============================================================ */
.pricing {
  padding: var(--space-3xl) var(--space-lg);
  position: relative;
}

.pricing__grid {
  display: none;
  /* Hidden by default, controlled by JS */
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-lg);
  margin-top: var(--space-2xl);
}

.pricing__grid[data-active="true"] {
  display: grid;
  animation: fadeIn 0.5s ease;
}

/* Tab Switcher */
.pricing-tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: var(--space-xl) auto 0;
  background: rgba(255, 255, 255, 0.03);
  padding: 6px;
  border-radius: var(--radius-full);
  width: fit-content;
  border: 1px solid var(--color-border);
}

.pricing-tab {
  padding: 12px 24px;
  border-radius: var(--radius-full);
  border: none;
  background: transparent;
  color: var(--color-text-secondary);
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pricing-tab:hover {
  color: var(--color-text-primary);
}

.pricing-tab.active {
  background: var(--gradient-cosmic);
  color: #fff;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.pricing-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl) var(--space-xl);
  display: flex;
  flex-direction: column;
  align-items: center;
  /* Centered like Appkaren */
  text-align: center;
  gap: var(--space-lg);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.pricing-card:hover {
  border-color: rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.04);
  transform: translateY(-8px);
}

.pricing-card--popular {
  border-color: var(--color-accent-pink);
  background: rgba(212, 42, 139, 0.03);
  box-shadow: 0 20px 40px rgba(212, 42, 139, 0.1);
  transform: scale(1.03);
  z-index: 2;
}

.pricing-card--popular:hover {
  transform: scale(1.05) translateY(-8px);
}

.pricing-card__badge {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background: var(--gradient-cosmic);
  padding: 6px;
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.pricing-card__tag {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-accent-pink);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pricing-card__title {
  font-size: 1.5rem;
  font-weight: 800;
  margin-top: var(--space-xs);
}

.pricing-card__price {
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--color-text-primary);
  line-height: 1;
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.pricing-card__price span {
  font-size: 1rem;
  font-weight: 800;
  color: var(--color-accent-pink);
  text-transform: uppercase;
  margin-top: 0;
}

.pricing-card__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: var(--space-md) 0;
  width: 100%;
}

.pricing-card__item {
  font-size: 0.95rem;
  color: var(--color-text-secondary);
}

.pricing-card__item strong {
  color: var(--color-text-primary);
}

.pricing-card .btn {
  width: 100%;
  padding: 16px;
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 0.05em;
}

/* ============================================================
   FAQ SECTION (ACCORDION)
   ============================================================ */
.faq {
  padding: var(--space-3xl) var(--space-lg);
}

.faq__container {
  max-width: 800px;
  margin: var(--space-2xl) auto 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.faq-item {
  border-bottom: 1px solid var(--color-border);
}

.faq-item__question {
  width: 100%;
  padding: var(--space-lg) 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  border: none;
  color: var(--color-text-primary);
  font-size: 1.1rem;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  text-transform: uppercase;
}

.faq-item__icon {
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-item__icon {
  transform: rotate(45deg);
}

.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), padding 0.4s ease;
  color: var(--color-text-secondary);
  line-height: 1.6;
}

.faq-item.active .faq-item__answer {
  max-height: 500px;
  padding-bottom: var(--space-lg);
}

/* ============================================================
   CASES / WHEN TO HELP SECTION
   ============================================================ */
.cases {
  padding: var(--space-xl) var(--space-lg);
  background: transparent;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.cases__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-xl);
  max-width: 1200px;
  margin: 0 auto;
}

.case-item {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  padding: var(--space-md);
  transition: transform var(--transition-base);
}

.case-item:hover {
  transform: translateY(-5px);
}

.case-item__icon {
  font-size: 2rem;
  margin-bottom: var(--space-xs);
}

.case-item__title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-text-primary);
}

.case-item__desc {
  font-size: 0.95rem;
  color: var(--color-text-secondary);
  line-height: 1.5;
}

@media (max-width: 768px) {
  .cases__grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
}

/* Hero Rotator - Fade approach */
.hero__rotator {
  position: relative;
  height: 120px;
  margin: 0 0 20px;
  width: 100%;
  overflow: visible;
}

.hero__rotator-inner {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero__rotator-item {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(24px, 6vw, 75px);
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  color: #fff;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.hero__rotator-item.is-active {
  opacity: 1;
}

.hero__rotator-item--accent {
  background: var(--gradient-cosmic);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Navbar Fix */
.navbar__dropdown {
  position: relative !important;
}

.navbar__dropdown .navbar__dropdown-menu {
  display: block !important;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  pointer-events: none;
}

.navbar__dropdown:hover .navbar__dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.navbar__dropdown:hover .navbar__dropdown-menu {
  pointer-events: auto;
}

/* ============================================================
   SERVICE SECTIONS (sluzby.html) — NEW FULL-WIDTH LAYOUT
   ============================================================ */
.srv-intro {
  padding: 80px 0 40px;
  text-align: center;
}

.srv-intro__sub {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 640px;
  margin: 16px auto 0;
  line-height: 1.7;
}

.srv-section {
  padding: 100px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.srv-section--alt {
  background: rgba(255, 255, 255, 0.015);
}

.srv-section__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.srv-section__num {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted, rgba(255, 255, 255, 0.3));
  display: block;
  margin-bottom: 16px;
}

.srv-section__title {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 24px;
  line-height: 1.15;
}

.srv-section__desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 16px;
}

.srv-section__list {
  list-style: none;
  padding: 0;
  margin: 24px 0 32px;
}

.srv-section__list li {
  padding: 8px 0 8px 24px;
  position: relative;
  color: var(--text-secondary);
  font-size: 0.95rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.srv-section__list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent-orange, #F97316);
  font-weight: 700;
}

.srv-section__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* == Visual Box == */
.srv-visual-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 24px;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s ease, border-color 0.3s;
}

.srv-visual-box:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.14);
}

.srv-visual-header {
  display: flex;
  gap: 7px;
  margin-bottom: 20px;
}

.srv-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
}

.srv-visual-content {
  flex: 1;
}

.srv-visual-row {
  height: 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.07);
  margin-bottom: 10px;
}

.srv-visual-row--wide {
  width: 80%;
}

.srv-visual-row--mid {
  width: 60%;
}

.srv-visual-row--short {
  width: 40%;
}

.srv-visual-hero-stripe {
  width: 100%;
  height: 80px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.2) 0%, rgba(167, 139, 250, 0.2) 100%);
  border: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 12px;
}

.srv-visual-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 12px 0;
}

.srv-chip {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 4px 12px;
  border-radius: 20px;
  display: inline-block;
}

.srv-chip--orange {
  background: rgba(249, 115, 22, 0.15);
  color: #F97316;
  border: 1px solid rgba(249, 115, 22, 0.3);
}

.srv-chip--purple {
  background: rgba(167, 139, 250, 0.15);
  color: #A78BFA;
  border: 1px solid rgba(167, 139, 250, 0.3);
}

.srv-chip--blue {
  background: rgba(96, 165, 250, 0.15);
  color: #60A5FA;
  border: 1px solid rgba(96, 165, 250, 0.3);
}

.srv-chip--green {
  background: rgba(52, 211, 153, 0.15);
  color: #34D399;
  border: 1px solid rgba(52, 211, 153, 0.3);
}

.srv-visual-brand {
  margin-top: 20px;
  display: flex;
  justify-content: flex-end;
}

.srv-visual-brand img {
  height: 22px;
  opacity: 0.4;
}

/* == Automation Visual == */
.srv-visual-auto-nodes {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 20px 0;
}

.srv-auto-node {
  padding: 10px 20px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.7);
  min-width: 80px;
  text-align: center;
}

.srv-auto-node--crm {
  border-color: rgba(249, 115, 22, 0.4);
  color: #F97316;
  background: rgba(249, 115, 22, 0.08);
}

.srv-auto-node--email {
  border-color: rgba(96, 165, 250, 0.4);
  color: #60A5FA;
  background: rgba(96, 165, 250, 0.08);
}

.srv-auto-node--invoice {
  border-color: rgba(52, 211, 153, 0.4);
  color: #34D399;
  background: rgba(52, 211, 153, 0.08);
}

.srv-auto-node--center {
  border-color: rgba(167, 139, 250, 0.5);
  color: #A78BFA;
  background: rgba(167, 139, 250, 0.12);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  min-width: unset;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.srv-auto-connector {
  width: 2px;
  height: 20px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
}

.srv-auto-connector--v {
  width: 2px;
  height: 20px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
}

/* ============================================================
   MOBILE SUBMENU (Služby dropdown in mobile menu)
   ============================================================ */
.mobile-submenu {
  width: 100%;
}

.mobile-submenu__toggle {
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0;
  font-size: inherit;
  font-family: inherit;
}

.mobile-submenu__arrow {
  font-size: 1.2rem;
  transition: transform 0.25s ease;
  display: inline-block;
  color: rgba(255, 255, 255, 0.5);
}

.mobile-submenu__toggle.open .mobile-submenu__arrow {
  transform: rotate(90deg);
}

.mobile-submenu__items {
  display: none;
  flex-direction: column;
  gap: 0;
  padding: 8px 0 8px 16px;
  border-left: 2px solid rgba(249, 115, 22, 0.4);
  margin: 8px 0 8px 8px;
}

.mobile-submenu__items.open {
  display: flex;
}

.mobile-submenu__item {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6) !important;
  padding: 8px 0 !important;
  border-bottom: none !important;
  text-decoration: none;
  transition: color 0.2s;
}

.mobile-submenu__item:hover {
  color: rgba(255, 255, 255, 0.95) !important;
}

/* ============================================================
   RESPONSIVE — srv-section
   ============================================================ */
@media (max-width: 900px) {
  .srv-section__inner {
    grid-template-columns: 1fr;
    gap: 48px;
    padding: 0 24px;
  }

  .srv-section {
    padding: 64px 0;
  }

  /* On mobile: visual always goes AFTER text */
  .srv-section--alt .srv-section__inner>.srv-section__visual {
    order: 2;
  }

  .srv-section--alt .srv-section__inner>.srv-section__text {
    order: 1;
  }

  .srv-section__title {
    font-size: clamp(24px, 7vw, 32px);
  }

  .srv-visual-box {
    min-height: 220px;
  }
}

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

.audio-toggle {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.audio-toggle:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

/* ============================================================
   WEAK DEVICE PERFORMANCE OPTIMIZATIONS
   ============================================================ */

/* Weak device fallback removed */

/* Disable card animations on weak devices */
.sp-card.no-animation .card-3d__inner {
  transform: none !important;
  transition: none !important;
  animation: none !important;
}

.sp-card.no-animation .card-3d__front {
  opacity: 0 !important;
  visibility: hidden !important;
}

.sp-card.no-animation .card-3d__back {
  opacity: 1 !important;
  visibility: visible !important;
  transform: rotateY(0deg) translateZ(1px) !important;
}

/* Disable hover effects on weak devices */
.sp-card.no-animation {
  cursor: default;
}

.sp-card.no-animation:hover {
  transform: none;
}

.audio-toggle.muted {
  color: rgba(255, 255, 255, 0.4);
}

/* ============================================================
   PERFORMANCE TIER OVERRIDES
   Applied via JS: html.perf-low or html.perf-mid
   ============================================================ */

/* ── LOW TIER ──────────────────────────────────────────────── */

/* Disable backdrop-filter entirely — most GPU-expensive CSS property */
.perf-low .navbar {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  background: rgba(5, 5, 7, 0.92) !important;
}

.perf-low .navbar.scrolled {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  background: rgba(5, 5, 7, 0.96) !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.perf-low .navbar__links {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.perf-low .navbar__dropdown-menu {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.perf-low .hero__subtitle {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  background: rgba(5, 5, 7, 0.7);
}

/* Disable orbit tag animations — continuous GPU compositor cost */
.perf-low .orbit-tag {
  animation: none !important;
  opacity: 0 !important;
  display: none;
}

/* Simplify card transitions */
.perf-low .card-3d__inner {
  will-change: auto;
  transition-duration: 0.3s !important;
}

.perf-low .sp-card.dimmed .card-3d__inner {
  filter: none !important;
  opacity: 0.5;
}

/* Remove heavy box-shadows on interactive cards */
.perf-low .sp-card .card-3d__back,
.perf-low .showcase-card,
.perf-low .service-card,
.perf-low .service-stack-card {
  box-shadow: none !important;
}

/* Disable page-transition overlay */
.perf-low #page-transition {
  display: none !important;
}

/* Simplify reveal transitions */
.perf-low .reveal {
  transition-duration: 0.2s !important;
  transition-delay: 0ms !important;
}

/* Reduce hero loader animation */
.perf-low .hero-loader__orb {
  animation: none !important;
}

.perf-low .hero-loader__ring {
  animation: none !important;
  border-top-color: rgba(255, 255, 255, 0.55);
}

/* Disable glow pseudo-elements if any */
.perf-low .sp-card::before,
.perf-low .sp-card::after,
.perf-low .showcase-card::before,
.perf-low .showcase-card::after {
  display: none !important;
}


/* ── MID TIER ──────────────────────────────────────────────── */

/* Reduce backdrop-filter blur — half intensity */
.perf-mid .navbar {
  backdrop-filter: blur(6px) saturate(140%) !important;
  -webkit-backdrop-filter: blur(6px) saturate(140%) !important;
}

.perf-mid .navbar.scrolled {
  backdrop-filter: blur(12px) saturate(140%) !important;
  -webkit-backdrop-filter: blur(12px) saturate(140%) !important;
}

.perf-mid .navbar__links {
  backdrop-filter: blur(3px) !important;
  -webkit-backdrop-filter: blur(3px) !important;
}

.perf-mid .navbar__dropdown-menu {
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
}

/* Let browser decide will-change (don't force compositor layers) */
.perf-mid .card-3d__inner {
  will-change: auto;
}

/* No blur filter on dimmed cards — cheaper opacity-only dimming */
.perf-mid .sp-card.dimmed .card-3d__inner {
  filter: grayscale(20%) !important;
  opacity: 0.5;
}

/* Slightly reduce box-shadow spread */
.perf-mid .navbar.scrolled {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}