:root {
  --bg: #ffffff;
  --bg-alt: #f5f5f5;
  --bg-dark: #1a1a1a;
  --surface: #ffffff;
  --border: #e0e0e0;
  --border-light: #ebebeb;

  --text: #1a1a1a;
  --text-muted: #717171;
  --text-inv: #ffffff;

  --accent: #e05a3a;
  --accent-soft: rgba(224,90,58,0.08);

  --font-body: 'Inter', 'Segoe UI', sans-serif;
  --font-mono: 'Space Mono', 'Consolas', monospace;

  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

.intro {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--bg-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease 0.1s;
}
.intro.is-out {
  opacity: 0;
  pointer-events: none;
}
.intro-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}
.intro-name {
  font-family: var(--font-body);
  font-size: 300px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.04em;
  line-height: 0.9;
  min-height: 1em;
}
.intro-name .intro-letter {
  display: inline-block;
  opacity: 0;
  transform: translateY(8px);
  animation: introFadeUp 0.35s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}
.intro-line {
  width: 0;
  height: 1.5px;
  background: var(--accent);
  margin: 14px 0;
  animation: introLine 0.7s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}
.intro-sub {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(8px);
  animation: introFadeUp 0.6s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}
@keyframes introFadeUp {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes introLine {
  to { width: 60px; }
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { line-height: 1.15; font-weight: 600; }
p { line-height: 1.7; color: var(--text-muted); }
ul { list-style: none; }

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ===================== BUTTONS ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 34px;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.25s var(--ease);
}
.btn-primary {
  background: var(--bg-dark);
  color: var(--text-inv);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(26,26,26,0.2);
}
.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border);
}
.btn-outline:hover {
  border-color: var(--text);
  transform: translateY(-2px);
}
.btn-accent {
  background: var(--accent);
  color: #fff;
}
.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(224,90,58,0.35);
}
.btn-lg { padding: 18px 44px; font-size: 0.95rem; }
.btn-submit { width: 100%; padding: 16px; font-size: 0.95rem; margin-top: 6px; justify-content: center; }
.btn-arrow { font-size: 1.1rem; transition: transform 0.2s; }
.btn-submit:hover .btn-arrow { transform: translateX(4px); }

/* ===================== HEADER ===================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-light);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.logo {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}
.logo-dot { color: var(--accent); }

.main-nav {
  display: flex;
  align-items: center;
  gap: 36px;
  font-size: 0.88rem;
  font-weight: 400;
}
.main-nav a {
  position: relative;
  transition: color 0.2s;
}
.main-nav a:not(.nav-cta):hover { color: var(--accent); }
.main-nav a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--accent);
  transition: width 0.25s var(--ease);
}
.main-nav a:not(.nav-cta):hover::after { width: 100%; }

.nav-cta {
  padding: 9px 22px;
  background: var(--bg-dark);
  color: var(--text-inv);
  border-radius: 5px;
  font-weight: 500;
  font-size: 0.88rem;
  transition: transform 0.15s var(--ease);
  flex-shrink: 0;
}
.nav-cta:hover { transform: translateY(-1px); }
.nav-cta-mobile { display: none; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px 4px;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: transform 0.25s var(--ease), opacity 0.2s;
  transform-origin: center;
}
.nav-toggle.active span:first-child { transform: translateY(4px) rotate(45deg); }
.nav-toggle.active span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ===================== HERO ===================== */
.hero {
  padding: 100px 0 80px;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.hero-right {
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-img {
  width: 100%;
  max-width: 520px;
  height: auto;
  border-radius: 12px;
  display: block;
}
.hero-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero-label::before {
  content: '';
  width: 32px;
  height: 1.5px;
  background: var(--accent);
}
.hero h1 {
  font-size: clamp(2.4rem, 5.5vw, 3.8rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.06;
  margin-bottom: 28px;
}
.hero h1 em {
  font-style: normal;
  color: var(--accent);
}
.hero-desc {
  max-width: 440px;
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 36px;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Hero visual — browser mockup */
.hero-visual {
  position: relative;
  width: 100%;
  max-width: 420px;
  margin-left: auto;
}
.browser-mock {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(26,26,26,0.14), 0 2px 6px rgba(26,26,26,0.06);
  border: 1.5px solid var(--border);
  background: var(--surface);
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}
.hero-visual:hover .browser-mock {
  transform: translateY(-6px);
  box-shadow: 0 32px 70px rgba(26,26,26,0.18), 0 2px 6px rgba(26,26,26,0.06);
}
.browser-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
}
.browser-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
}
.browser-dot:first-child { background: #ff5f57; }
.browser-dot:nth-child(2) { background: #ffbd2e; }
.browser-dot:nth-child(3) { background: #28c840; }
.browser-url {
  flex: 1;
  height: 20px;
  margin-left: 10px;
  background: var(--surface);
  border-radius: 4px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  padding: 0 8px;
}
.browser-url span {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--text-muted);
  letter-spacing: 0.01em;
}
.browser-body {
  padding: 0;
  height: 300px;
  overflow: hidden;
}
.mock-iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* Code badge */
.hero-code-badge {
  position: absolute;
  bottom: -14px;
  left: -14px;
  width: 52px;
  height: 52px;
  background: var(--bg-dark);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(26,26,26,0.18);
  z-index: 2;
  transition: transform 0.3s var(--ease-out);
}
.hero-visual:hover .hero-code-badge { transform: rotate(-8deg) scale(1.08); }
.hero-code-badge span {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent);
}

/* Cursor */
.hero-cursor {
  position: absolute;
  top: 40%;
  right: -8px;
  width: 18px;
  height: 18px;
  border-left: 2.5px solid var(--accent);
  border-top: 2.5px solid var(--accent);
  transform: rotate(-45deg);
  z-index: 3;
  opacity: 0.7;
  animation: cursorFloat 3s ease-in-out infinite;
}
@keyframes cursorFloat {
  0%, 100% { transform: rotate(-45deg) translate(0, 0); }
  50% { transform: rotate(-45deg) translate(-4px, -4px); }
}

/* ===================== TICKER ===================== */
.ticker {
  padding: 28px 0;
  background: var(--bg-dark);
  color: var(--text-inv);
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ticker::before,
.ticker::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 160px;
  z-index: 2;
  pointer-events: none;
}
.ticker::before {
  left: 0;
  background: linear-gradient(to right, var(--bg-dark), transparent);
}
.ticker::after {
  right: 0;
  background: linear-gradient(to left, var(--bg-dark), transparent);
}
.ticker:hover .ticker-track {
  animation-play-state: paused;
}
.ticker-track {
  display: inline-flex;
  align-items: center;
  gap: 0;
  animation: ticker 22s linear infinite;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.ticker-track span:not(.ticker-sep) {
  opacity: 0.85;
}
.ticker-track--outline {
  animation: tickerReverse 28s linear infinite;
  font-size: clamp(1.2rem, 2.2vw, 1.6rem);
  font-weight: 700;
  -webkit-text-stroke: 1px rgba(255,255,255,0.35);
  color: transparent;
}
.ticker-track--outline span:not(.ticker-sep) {
  opacity: 1;
}
.ticker-track--outline .ticker-sep {
  background: rgba(255,255,255,0.15);
}
.ticker-sep {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  margin: 0 32px;
  flex-shrink: 0;
}
@keyframes ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@keyframes tickerReverse {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

/* ===================== SECTION HEADER ===================== */
.section-header {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 56px;
}
.section-num {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--accent);
  letter-spacing: 0.04em;
  padding-top: 6px;
}
.section-header h2 {
  font-size: 1.9rem;
  letter-spacing: -0.025em;
  margin-bottom: 4px;
}
.section-sub {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin: 0;
}

/* ===================== SERVICES ===================== */
.sluzby {
  padding: 100px 0;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.service-card {
  position: relative;
  background: var(--bg-dark);
  border: 1.5px solid transparent;
  border-radius: 14px;
  overflow: hidden;
  cursor: default;
}
.service-card--accent {
  color: var(--text-inv);
}

.service-front {
  position: relative;
  padding: 36px 30px 32px;
  transition: opacity 0.45s cubic-bezier(0.4, 0, 0.2, 1), transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}
.service-card:hover .service-front {
  opacity: 0;
  transform: translateY(-20px);
  pointer-events: none;
}

.service-back {
  position: absolute;
  inset: 0;
  padding: 36px 30px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--bg-dark);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.45s cubic-bezier(0.4, 0, 0.2, 1), transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}
.service-card:hover .service-back {
  opacity: 1;
  transform: translateY(0);
}
.service-back h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 14px;
  color: var(--accent);
  letter-spacing: -0.01em;
}
.service-back p {
  font-size: 0.88rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.7);
  margin: 0;
}

.card-corner {
  position: absolute;
  top: 0;
  right: 0;
  width: 60px;
  height: 60px;
  background: rgba(224,90,58,0.2);
  border-radius: 0 14px 0 60px;
  transition: width 0.3s var(--ease-out), height 0.3s var(--ease-out);
}
.service-card:hover .card-corner { width: 72px; height: 72px; }

.service-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 22px;
  color: var(--accent);
}
.service-icon svg { width: 100%; height: 100%; }

.service-card h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.service-card .service-front p {
  font-size: 0.9rem;
  margin-bottom: 20px;
  line-height: 1.65;
  color: rgba(255,255,255,0.65);
}
.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.service-tags li {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  padding: 5px 13px;
  background: rgba(255,255,255,0.1);
  border-radius: 100px;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.02em;
}

/* ===================== SHOWCASE ===================== */
.showcase {
  padding: 100px 0;
  background: var(--bg-alt);
}
.showcase-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}
.showcase-card {
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border-light);
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}
.showcase-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(26,26,26,0.12);
}
.showcase-card--clickable { cursor: pointer; }

.showcase-card-img {
  position: relative;
  height: 320px;
  overflow: hidden;
}
.showcase-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}
.showcase-card:hover .showcase-card-img img {
  transform: scale(1.04);
}
.showcase-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.4) 0%, transparent 50%);
  pointer-events: none;
}
.showcase-card-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text);
  letter-spacing: 0.01em;
}
.showcase-card-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #28c840;
}

.showcase-card-img--empty {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  border-bottom: 1px solid var(--border-light);
}
.showcase-card-plus {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 2px dashed var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--border);
  transition: border-color 0.3s, color 0.3s;
}
.showcase-card--placeholder:hover .showcase-card-plus {
  border-color: var(--accent);
  color: var(--accent);
}

.showcase-card-body {
  padding: 24px;
}
.showcase-card-body h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.showcase-card-body p {
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.showcase-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.showcase-card-tags li {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  padding: 5px 12px;
  background: var(--bg-alt);
  color: var(--text-muted);
  border-radius: 100px;
  letter-spacing: 0.02em;
}
.showcase-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--accent);
  transition: gap 0.2s;
}
.showcase-card-cta:hover { gap: 10px; }

/* ===================== ABOUT / O MNĚ ===================== */
.o-mne {
  padding: 100px 0;
  background: var(--bg-alt);
}
.about-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: start;
}
.about-left {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.about-img {
  width: 100%;
  border-radius: 14px;
  object-fit: cover;
}
.about-photo {
  position: relative;
}
.about-photo::before {
  content: '';
  position: absolute;
  top: -10px;
  left: -10px;
  width: 80px;
  height: 80px;
  border-top: 3px solid var(--accent);
  border-left: 3px solid var(--accent);
  border-radius: 14px 0 0 0;
  z-index: 1;
}
.about-photo::after {
  content: '';
  position: absolute;
  bottom: -10px;
  right: -10px;
  width: 80px;
  height: 80px;
  border-bottom: 3px solid var(--bg-dark);
  border-right: 3px solid var(--bg-dark);
  border-radius: 0 0 14px 0;
}
.about-quote {
  padding: 20px 24px;
  background: var(--bg-dark);
  border-radius: 10px;
  position: relative;
}
.about-quote::before {
  content: '\201E';
  position: absolute;
  top: 8px;
  left: 16px;
  font-size: 2.4rem;
  line-height: 1;
  color: var(--accent);
  font-family: Georgia, serif;
}
.about-quote p {
  color: rgba(255,255,255,0.85);
  font-size: 0.95rem;
  font-style: italic;
  font-weight: 400;
  line-height: 1.6;
  padding-left: 24px;
}
.about-values {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.about-value {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: 10px;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.about-value:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(26,26,26,0.06);
}
.about-value-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-soft);
  border-radius: 8px;
  color: var(--accent);
}
.about-value-icon svg {
  width: 18px;
  height: 18px;
}
.about-value strong {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 1px;
}
.about-value span {
  font-size: 0.75rem;
  color: var(--text-muted);
}
.about-lead {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.55;
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}
.about-text p {
  font-size: 0.95rem;
  margin-bottom: 16px;
}
.about-text p:last-of-type {
  margin-bottom: 28px;
}
.about-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--accent);
  transition: gap 0.2s;
}
.about-cta:hover { gap: 12px; }

/* ===================== STATS ===================== */
.stats {
  padding: 60px 0;
  background: var(--bg-alt);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}
.stat {
  padding: 20px;
}
.stat-num {
  display: block;
  font-family: var(--font-mono);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}
.stat-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  letter-spacing: 0.01em;
}

/* ===================== PROCESS EXPLORER ===================== */
.proces {
  padding: 100px 0;
}
.px-explorer {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Tabs */
.px-nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-bottom: 2px solid var(--border-light);
  margin-bottom: 0;
}
.px-tab {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 16px 20px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  position: relative;
  font-family: var(--font-body);
  transition: background 0.2s;
}
.px-tab:hover { background: rgba(0,0,0,0.015); }
.px-tab-num {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--border);
  line-height: 1;
  transition: color 0.3s;
  flex-shrink: 0;
}
.px-tab.is-active .px-tab-num { color: var(--accent); }
.px-tab-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.px-tab-text strong {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text);
}
.px-tab-text span {
  font-size: 0.76rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.px-tab-bar {
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: transparent;
  transition: background 0.3s;
}
.px-tab.is-active .px-tab-bar { background: var(--accent); }

/* Panels */
.px-panels {
  position: relative;
  min-height: 360px;
}
.px-panel {
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  padding: 50px 0 20px;
  animation: pxFadeIn 0.4s var(--ease-out);
}
.px-panel.is-active { display: grid; }

@keyframes pxFadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.px-panel-text h3 {
  font-size: 1.5rem;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}
.px-panel-text p {
  font-size: 0.95rem;
  line-height: 1.75;
  margin-bottom: 20px;
}
.px-detail {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.px-detail::before {
  content: '';
  width: 20px;
  height: 1.5px;
  background: var(--accent);
}

/* ---- Mock: Chat ---- */
.px-mock {
  border-radius: 14px;
  overflow: hidden;
}
.px-mock--chat {
  background: var(--bg-alt);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border: 1px solid var(--border-light);
}
.px-chat-bubble {
  max-width: 85%;
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 0.82rem;
  line-height: 1.55;
  color: var(--text);
  position: relative;
}
.px-chat-name {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.px-chat-bubble--in {
  background: var(--surface);
  border: 1px solid var(--border-light);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}
.px-chat-bubble--out {
  background: var(--bg-dark);
  color: var(--text-inv);
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}
.px-chat-bubble--out .px-chat-name { color: rgba(255,255,255,0.5); }
.px-chat-typing {
  display: flex;
  gap: 4px;
  padding: 8px 0 0 4px;
}
.px-chat-typing span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--text-muted);
  opacity: 0.4;
  animation: pxTyping 1.2s ease-in-out infinite;
}
.px-chat-typing span:nth-child(2) { animation-delay: 0.15s; }
.px-chat-typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes pxTyping {
  0%, 60%, 100% { opacity: 0.25; transform: translateY(0); }
  30% { opacity: 0.7; transform: translateY(-3px); }
}

/* ---- Mock: Design ---- */
.px-mock--design {
  background: var(--surface);
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
}
.px-design-canvas {
  display: flex;
  height: 230px;
  overflow: hidden;
}
.px-dc-sidebar {
  width: 100px;
  padding: 12px 10px;
  background: var(--bg-alt);
  border-right: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.px-dc-layers-title {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.px-dc-layer {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 8px;
  border-radius: 4px;
  font-size: 0.65rem;
  color: var(--text-muted);
}
.px-dc-layer.is-active {
  background: var(--surface);
  color: var(--text);
  font-weight: 500;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}
.px-dc-layer-icon {
  width: 10px;
  height: 10px;
  border-radius: 2px;
  border: 1.5px solid var(--border);
  flex-shrink: 0;
}
.px-dc-layer.is-active .px-dc-layer-icon {
  border-color: var(--accent);
  background: rgba(224,90,58,0.12);
}
.px-dc-artboard {
  flex: 1;
  position: relative;
  background:
    radial-gradient(circle at 1px 1px, var(--border-light) 0.5px, transparent 0.5px);
  background-size: 20px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.px-dc-shape--rect {
  width: 120px;
  height: 80px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--bg-dark) 0%, #2a2a2a 100%);
  position: absolute;
  top: 40px;
  left: 30px;
  box-shadow: 0 8px 24px rgba(26,26,26,0.15);
}
.px-dc-shape--text {
  font-family: var(--font-body);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--text);
  opacity: 0.12;
  position: absolute;
  right: 30px;
  top: 24px;
  letter-spacing: -0.04em;
}
.px-dc-shape--circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.7;
  position: absolute;
  bottom: 36px;
  right: 50px;
}
.px-dc-guide--h {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: rgba(224,90,58,0.25);
  border-top: 1px dashed rgba(224,90,58,0.4);
}
.px-dc-guide--v {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: rgba(224,90,58,0.25);
  border-left: 1px dashed rgba(224,90,58,0.4);
}
.px-design-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  border-top: 1px solid var(--border-light);
}
.px-db-colors {
  display: flex;
  gap: 6px;
}
.px-db-colors span {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1.5px solid var(--border-light);
}
.px-db-font {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

/* ---- Mock: Image ---- */
.px-mock--image {
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.px-mock--image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ---- Mock: Launch ---- */
.px-mock--launch {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.px-launch-browser {
  border: 1px solid var(--border-light);
  border-radius: 14px;
  overflow: hidden;
  background: var(--surface);
}
.px-launch-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border-light);
}
.px-launch-url {
  margin-left: 12px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: 4px;
  padding: 3px 12px;
  flex: 1;
  max-width: 180px;
}
.px-launch-body {
  padding: 36px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.px-launch-check {
  width: 48px;
  height: 48px;
  color: #28c840;
  animation: pxPop 0.5s var(--ease-out) both;
}
.px-launch-check svg { width: 100%; height: 100%; }
@keyframes pxPop {
  from { transform: scale(0.5); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.px-launch-label {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.04em;
}
.px-launch-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.px-lstat {
  background: var(--bg-alt);
  border-radius: 10px;
  padding: 14px 12px;
  text-align: center;
  border: 1px solid var(--border-light);
}
.px-lstat strong {
  display: block;
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 2px;
}
.px-lstat span {
  font-size: 0.68rem;
  color: var(--text-muted);
}

/* ---- Bottom CTA ---- */
.px-bottom-cta {
  text-align: center;
  margin-top: 50px;
}
.px-bottom-cta a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-inv);
  padding: 16px 36px;
  background: var(--bg-dark);
  border: none;
  border-radius: 8px;
  transition: background 0.2s, transform 0.2s var(--ease), box-shadow 0.2s;
}
.px-bottom-cta a:hover {
  background: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(224, 90, 58, 0.3);
}
.px-bottom-cta a span { transition: transform 0.2s; }
.px-bottom-cta a:hover span { transform: translateX(4px); }

/* ===================== CTA SECTION ===================== */
.cta-section {
  padding: 100px 0;
  background: var(--bg-dark);
  color: var(--text-inv);
  position: relative;
  overflow: hidden;
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  position: relative;
  z-index: 1;
}
.cta-content { text-align: center; max-width: 520px; }
.cta-content h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  letter-spacing: -0.025em;
  margin-bottom: 14px;
}
.cta-content p {
  color: rgba(255,255,255,0.55);
  font-size: 1rem;
  margin-bottom: 32px;
}

.cta-deco {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cta-deco span {
  display: block;
  border-radius: 8px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
}
.cta-deco span:nth-child(1) { width: 60px; height: 60px; }
.cta-deco span:nth-child(2) { width: 44px; height: 44px; margin-left: 16px; }
.cta-deco span:nth-child(3) { width: 28px; height: 28px; }
.cta-deco--right span:nth-child(1) { width: 28px; height: 28px; margin-left: auto; }
.cta-deco--right span:nth-child(2) { width: 44px; height: 44px; margin-right: 0; margin-left: auto; }
.cta-deco--right span:nth-child(3) { width: 60px; height: 60px; margin-left: auto; }

/* ===================== FAQ ===================== */
.faq {
  padding: 100px 0;
}
.faq-list {
  max-width: 700px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.faq-item {
  border-bottom: 1px solid var(--border-light);
}
.faq-item:first-child {
  border-top: 1px solid var(--border-light);
}
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  list-style: none;
  transition: color 0.2s;
}
.faq-question::-webkit-details-marker { display: none; }
.faq-question::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--text-muted);
  transition: transform 0.3s var(--ease-out), color 0.2s;
  flex-shrink: 0;
  margin-left: 20px;
}
.faq-item[open] .faq-question::after {
  content: '−';
  color: var(--accent);
}
.faq-question:hover { color: var(--accent); }
.faq-answer {
  padding: 0 0 22px;
}
.faq-answer p {
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--text-muted);
}

/* ===================== INQUIRY FORM ===================== */
.poptavka {
  padding: 100px 0;
  background: var(--bg-alt);
}
.form-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 50px;
  align-items: start;
}
.form-side-card {
  background: var(--surface);
  border: 1.5px solid var(--border-light);
  border-radius: 14px;
  padding: 36px 30px;
}
.form-side-card p {
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 32px;
}
.form-contact-alt {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.contact-line {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.contact-icon {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-soft);
  border-radius: 10px;
  color: var(--accent);
}
.contact-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 2px;
}
.contact-line a {
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.2s;
}
.contact-line a:hover { color: var(--accent); }

.inquiry-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  background: var(--surface);
  border: 1.5px solid var(--border-light);
  border-radius: 14px;
  padding: 36px 32px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.form-group label {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text);
}
.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--font-body);
  font-size: 0.9rem;
  padding: 13px 16px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  background: var(--bg-alt);
  color: var(--text);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
  -webkit-appearance: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #b5b5b5;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
  background: var(--surface);
}
.form-group textarea { resize: vertical; min-height: 110px; }
.form-group select { cursor: pointer; }
.form-note {
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ===================== LP SLIDE-OVER ===================== */
.showcase-item--clickable { cursor: pointer; }
.lp-slide {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: #fff;
  display: flex;
  flex-direction: column;
  visibility: hidden;
  will-change: transform, opacity;
}
.lp-slide.is-open {
  visibility: visible;
}

/* Slide from left — Esko */
.lp-slide--up {
  transform: translateX(-100%);
  transition: transform 0.9s cubic-bezier(0.4, 0, 0.2, 1), visibility 0s linear 0.9s;
}
.lp-slide--up.is-open {
  transform: translateX(0);
  transition: transform 0.9s cubic-bezier(0.4, 0, 0.2, 1), visibility 0s linear 0s;
}

/* Slide from right — Kosmetik */
.lp-slide--zoom {
  transform: translateX(100%);
  transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s linear 0.9s;
}
.lp-slide--zoom.is-open {
  transform: translateX(0);
  transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s linear 0s;
}
.lp-slide-back {
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 210;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px 10px 14px;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 500;
  color: #1a1a1a;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
  transition: background 0.2s, box-shadow 0.2s, transform 0.2s, opacity 0.3s;
  opacity: 0;
  pointer-events: none;
}
.lp-slide.is-open .lp-slide-back {
  opacity: 1;
  pointer-events: auto;
  transition-delay: 0.3s;
}
.lp-slide-back:hover {
  background: #fff;
  box-shadow: 0 6px 28px rgba(0,0,0,0.18);
  transform: translateX(-2px);
}
.lp-slide-back svg {
  flex-shrink: 0;
}
.lp-slide-iframe {
  flex: 1;
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

@media (max-width: 680px) {
  .lp-slide-back {
    top: 12px;
    left: 12px;
    padding: 8px 16px 8px 10px;
    font-size: 0.78rem;
  }
}

/* ===================== FOOTER ===================== */
.site-footer {
  padding: 80px 0 0;
  background: var(--bg-dark);
  color: rgba(255,255,255,0.7);
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 60px;
}
.footer-name {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.35);
  display: block;
  margin-bottom: 20px;
}
.footer-heading {
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.35;
  color: #fff;
  margin-bottom: 28px;
}
.footer-cta .btn-primary {
  font-size: 0.85rem;
}
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col-title {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.35);
  margin-bottom: 6px;
}
.footer-col a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
  transition: color 0.2s;
}
.footer-col a:hover {
  color: #fff;
}
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 0.78rem;
  color: rgba(255,255,255,0.3);
}
.footer-bottom a {
  color: rgba(255,255,255,0.3);
  transition: color 0.2s;
}
.footer-bottom a:hover {
  color: rgba(255,255,255,0.6);
}

@media (max-width: 680px) {
  .site-footer { padding: 50px 0 0; }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 36px;
    padding-bottom: 40px;
  }
  .footer-heading { font-size: 1.3rem; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}


/* ===================== ANIMATIONS ===================== */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.service-card.fade-up:nth-child(2) { transition-delay: 0.1s; }
.service-card.fade-up:nth-child(3) { transition-delay: 0.2s; }
.showcase-card.fade-up:nth-child(2) { transition-delay: 0.15s; }
.stat.fade-up:nth-child(2) { transition-delay: 0.08s; }
.stat.fade-up:nth-child(3) { transition-delay: 0.16s; }
.stat.fade-up:nth-child(4) { transition-delay: 0.24s; }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-right { margin-top: 20px; }
  .services-grid { grid-template-columns: 1fr; gap: 16px; }
  .showcase-grid { grid-template-columns: 1fr; max-width: 500px; }
  .px-nav { grid-template-columns: repeat(2, 1fr); }
  .px-tab-text span { display: none; }
  .px-panel { grid-template-columns: 1fr; gap: 30px; }
  .px-panel-visual { order: -1; }
  .about-layout { grid-template-columns: 1fr; gap: 36px; }
  .about-left { max-width: 400px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .form-layout { grid-template-columns: 1fr; gap: 28px; }
  .cta-deco { display: none; }
}

@media (max-width: 680px) {
  .nav-toggle { display: flex; }
  .nav-cta:not(.nav-cta-mobile) { display: none; }
  .nav-cta-mobile {
    display: block;
    margin: 14px 28px;
    text-align: center;
    border-radius: 6px;
  }
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s var(--ease);
    border-bottom: 1px solid var(--border-light);
  }
  .main-nav.open { max-height: 360px; }
  .main-nav a {
    padding: 18px 28px;
    border-top: 1px solid var(--border-light);
    font-size: 0.95rem;
  }
  .main-nav a::after { display: none; }

  .hero { padding: 50px 0 40px; }
  .hero h1 { font-size: 2rem; margin-bottom: 16px; }
  .hero-desc { font-size: 0.92rem; line-height: 1.65; }
  .hero-visual { max-width: 240px; }
  .hero-buttons { flex-direction: column; gap: 10px; }
  .hero-buttons .btn { width: 100%; justify-content: center; }

  .section-header { margin-bottom: 36px; }
  .section-header h2 { font-size: 1.6rem; }
  .sluzby, .proces, .poptavka { padding: 50px 0; }
  .cta-section { padding: 50px 0; }

  .px-nav { grid-template-columns: 1fr 1fr; gap: 0; }
  .px-tab { padding: 14px 12px 16px; gap: 10px; }
  .px-tab-num { font-size: 1.2rem; }
  .px-tab-text strong { font-size: 0.84rem; }
  .px-panel { padding: 30px 0 10px; }
  .px-panel-text h3 { font-size: 1.25rem; }
  .px-launch-stats { grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .stat { padding: 16px; }
  .stat-num { font-size: 1.4rem; }

  .about-text p { font-size: 0.92rem; }

  .form-row { grid-template-columns: 1fr; }
  .inquiry-form { padding: 24px 18px; }
  .form-side-card { padding: 24px 18px; }

  .px-bottom-cta a { font-size: 0.92rem; padding: 14px 28px; width: 100%; justify-content: center; }

  .footer-links { display: none; }

  .container { padding: 0 18px; }

  .intro-name { font-size: 60px; }
  .intro-sub { font-size: 0.6rem; }
  .intro-line { margin: 10px 0; }

  .showcase-card-img { height: 200px; }

  .fade-up {
    opacity: 1 !important;
    transform: none !important;
  }
}
