/* ═══════════════════════════════════════════════════════════════
   MKubuDesign – style.css
   Design System: tokens → reset → layout → components → utilities
   ═══════════════════════════════════════════════════════════════ */

/* ───────────────────────────────────────────────
   1. DESIGN TOKENS
─────────────────────────────────────────────── */
:root {
  /* Barvy */
  --bg: #08090d;
  --panel: #11131a;
  --panel-2: #171a23;
  --text: #f6f7fb;
  --muted: #a7acba;
  --line: rgba(255, 255, 255, 0.1);
  --yellow: #ffd21f;
  --yellow-2: #ffb800;
  --yellow-glow: rgba(255, 210, 31, 0.18);
  --white-soft: rgba(255, 255, 255, 0.88);
  --error: #ff5f5f;
  --success: #3ddc84;

  /* Stíny */
  --shadow-sm: 0 0.5rem 1.75rem rgba(0, 0, 0, 0.32);
  --shadow: 0 1.5rem 5rem rgba(0, 0, 0, 0.45);
  --shadow-yellow: 0 1.125rem 3.125rem var(--yellow-glow);

  /* Zaoblení */
  --radius-sm: 0.875rem;
  --radius: 1.625rem;
  --radius-lg: 2.125rem;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.625rem;
  --space-xl: 4.625rem;
  --space-2xl: 5.625rem;

  /* Typografie */
  --font-body: 'Inter', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Přechody */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --trans-fast: 0.18s var(--ease);
  --trans-mid: 0.28s var(--ease);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6.25rem;
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}

::-webkit-scrollbar {
  width: 0.5rem;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: #2a2d3a;
  border-radius: 0.625rem;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--yellow);
}

body {
  font-family: var(--font-body);
  background:
    radial-gradient(circle at 20% 0%, rgba(255, 210, 31, .18), transparent 28%),
    radial-gradient(circle at 85% 15%, rgba(255, 255, 255, .08), transparent 24%),
    linear-gradient(180deg, #08090d 0%, #0b0d13 48%, #07080b 100%);
  color: var(--text);
  min-height: 100vh;
  overflow-x: clip;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: transparent;
}

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

/* Focus visible – žlutý brand accent */
:focus-visible {
  outline: 0.156rem solid var(--yellow);
  outline-offset: 0.188rem;
  border-radius: 0.25rem;
}

/* ───────────────────────────────────────────────
   3. LAYOUT UTILS
─────────────────────────────────────────────── */
.wrap {
  width: min(73.75rem, calc(100% - 2.5rem));
  margin-inline: auto;
}

section {
  padding: var(--space-xl) 0;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-md);
  margin-bottom: 1.75rem;
}

/* ───────────────────────────────────────────────
   4. TYPOGRAFIE
─────────────────────────────────────────────── */
h1 {
  font-size: clamp(2.625rem, 7vw, 5.375rem);
  line-height: .92;
  letter-spacing: -.075em;
  max-width: 48.75rem;
  margin: 0;
}

h2 {
  font-size: clamp(1.875rem, 4.2vw, 3.125rem);
  line-height: 0.96;
  letter-spacing: -0.06em;
  max-width: 47.5rem;
}

h3 {
  font-size: 1.688rem;
  line-height: 1;
  letter-spacing: -0.055em;
}

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

.section-copy {
  color: var(--muted);
  max-width: 28.75rem;
  line-height: 1.55;
  font-weight: 650;
}

/* ───────────────────────────────────────────────
   5. NAVIGACE
─────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(1.125rem);
  -webkit-backdrop-filter: blur(1.125rem);
  background: rgba(8, 9, 13, 0.76);
  border-bottom: 1px solid var(--line);
  transition: background var(--trans-fast);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  gap: 1.25rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  transition: opacity var(--trans-fast);
}

.brand:hover {
  opacity: 0.82;
}

.mark {
  width: 2.625rem;
  height: 2.625rem;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, #fff 0%, var(--yellow) 56%, #f69d00 100%);
  color: #090a0e;
  display: grid;
  place-items: center;
  font-weight: 950;
  font-size: 0.938rem;
  box-shadow: 0 0.625rem 1.875rem rgba(255, 210, 31, 0.22);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.125rem;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.875rem;
}

.nav-links a:not(.btn) {
  transition: color var(--trans-fast);
  padding: 0.25rem 2px;
  position: relative;
}

.nav-links a:not(.btn):hover,
.nav-links a:not(.btn).active {
  color: var(--text);
}

.nav-links a:not(.btn).active {
  font-weight: 800;
}

.lang-btn {
  background: transparent;
  color: var(--muted);
  font-weight: 800;
  font-size: 0.875rem;
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  transition: color var(--trans-fast), background var(--trans-fast);
}

.lang-btn:hover {
  color: var(--text);
  background: rgba(255, 210, 31, 0.1);
}

/* ───────────────────────────────────────────────
   6. TLAČÍTKA
─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 1px solid var(--line);
  min-height: 3rem;
  padding: 0 1.5rem;
  border-radius: 62.438rem;
  font-weight: 900;
  font-size: 0.938rem;
  letter-spacing: -0.02em;
  line-height: 1;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.28);
}

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

.btn-primary {
  background: var(--yellow);
  color: #090a0e;
  border-color: transparent;
  box-shadow: var(--shadow-yellow);
}

.btn-primary:hover {
  background: #ffe14d;
  box-shadow: 0 1.375rem 3.75rem rgba(255, 210, 31, 0.28);
}

.btn-sm {
  min-height: 2.375rem;
  padding: 0 1rem;
  font-size: 0.813rem;
}

/* ───────────────────────────────────────────────
   7. HERO SEKCE
─────────────────────────────────────────────── */
.hero {
  padding: 1.563rem 0 1.875rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  align-items: center;
  gap: var(--space-lg);
  perspective: 75rem;
}

.hero-content {
  /* wrapper bez extra stylů */
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  color: var(--yellow);
  background: rgba(255, 210, 31, 0.1);
  border: 1px solid rgba(255, 210, 31, 0.22);
  padding: 0.563rem 0.875rem;
  border-radius: 62.438rem;
  font-weight: 900;
  font-size: 0.813rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.5rem;
}

.lead {
  max-width: 38.75rem;
  color: var(--white-soft);
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  line-height: 1.55;
  margin-top: 1.75rem;
}

.mini-offer {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  margin-top: 1.375rem;
  padding: 0.625rem 1rem;
  border-radius: 62.438rem;
  background: rgba(255, 210, 31, 0.09);
  border: 1px solid rgba(255, 210, 31, 0.22);
  font-weight: 900;
  font-size: 0.875rem;
  color: var(--yellow);
}

.mini-offer-pct {
  font-size: 1.125rem;
  letter-spacing: -0.04em;
}

.mini-offer-label em {
  color: var(--white-soft);
  font-style: normal;
  font-weight: 650;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  margin-top: 2.125rem;
}

/* Statistiky */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-top: 2.125rem;
}

.stat {
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  padding: 1rem;
  transition: border-color var(--trans-fast);
}

.stat:hover {
  border-color: rgba(255, 210, 31, 0.3);
}

.stat strong {
  display: block;
  font-size: 1.375rem;
  letter-spacing: -0.04em;
  color: var(--yellow);
}

.stat>span {
  display: block;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.813rem;
  margin-top: 0.188rem;
  line-height: 1.35;
}

.stat .counter {
  display: inline;
  color: inherit;
  font-weight: inherit;
  font-size: inherit;
  font-family: inherit;
  margin: 0;
  line-height: inherit;
}

/* Hero Portrét */
.hero-portrait {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  aspect-ratio: 4 / 5;
  display: flex;
  align-items: flex-end;

}

@media (min-width: 768px) {
  .hero-portrait {
    aspect-ratio: 3 / 4;
    transform: translateY(-10%);
  }
}

@media (min-width: 992px) {
  .hero-portrait {
    transform: translateY(-15%);
  }
}

.hero-portrait::before {
  content: '';
  position: absolute;
  top: 10%;
  left: 10%;
  width: 80%;
  height: 80%;
  background: radial-gradient(circle at 50% 50%, rgba(255, 210, 31, 0.15) 0%, transparent 60%);
  z-index: 0;
  pointer-events: none;
}

.hero-portrait img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  object-fit: contain;
  transform: scale(1.15);
  transform-origin: bottom center;
  mask-image: linear-gradient(to bottom, black 0%, black 85%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, black 0%, black 85%, transparent 100%);
  display: block;
}

.portrait-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 10;
  padding: 0 1.875rem 1.25rem 1.875rem;
  text-align: left;
}

.portrait-name {
  display: block;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 900;
  color: var(--yellow);
  text-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.8);
  margin-bottom: 0.25rem;
}

.portrait-title {
  display: block;
  font-size: clamp(0.938rem, 1.5vw, 1.125rem);
  font-weight: 600;
  color: var(--white-soft);
  text-shadow: 0 2px 0.5rem rgba(0, 0, 0, 0.8);
}

/* ───────────────────────────────────────────────
   8A. INTERAKTIVNÍ SHOWCASE
─────────────────────────────────────────────── */
.showcase-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 992px) {
  .showcase-wrapper {
    grid-template-columns: 1fr 21.875rem;
  }
}

.showcase-main {
  position: relative;
  border-radius: 1.5rem;
  overflow: hidden;
  background: #151515;
  box-shadow: 0 0 5rem rgba(255, 210, 31, 0.15);
  aspect-ratio: 16 / 9;
}

.showcase-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.3s ease;
}

.progress-bar-container {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0.25rem;
  background: rgba(255, 255, 255, 0.2);
}

.progress-bar {
  height: 100%;
  width: 0%;
  background: var(--yellow);
  transition: width 5s linear;
}

.progress-bar.no-anim {
  transition: none !important;
}

.showcase-playlist {
  display: flex;
  flex-direction: row;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 1rem;
  padding-bottom: 0.75rem;
  scrollbar-width: none;
}

.showcase-playlist::-webkit-scrollbar {
  display: none;
}

@media (max-width: 768px) {
  .showcase-playlist {
    display: none;
  }
}

@media (min-width: 992px) {
  .showcase-playlist {
    flex-direction: column;
    overflow-x: visible;
    scroll-snap-type: none;
    padding-bottom: 0;
  }
}

.playlist-item {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-width: 12.5rem;
  scroll-snap-align: start;
  cursor: pointer;
  padding: 0.75rem;
  border-radius: 1rem;
  background: var(--panel);
  border: 1px solid var(--line);
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

@media (min-width: 992px) {
  .playlist-item {
    flex-direction: row;
    align-items: center;
    min-width: auto;
  }
}

.playlist-item:hover {
  background: var(--panel-2);
}

.playlist-item.active {
  border-color: var(--yellow);
  background: rgba(255, 210, 31, 0.05);
  transform: scale(1.02);
  box-shadow: 0 0 0 1px var(--yellow);
}

.playlist-item img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 0.5rem;
}

@media (min-width: 992px) {
  .playlist-item img {
    width: 7.5rem;
    height: auto;
  }
}

.playlist-item span {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--white-soft);
  line-height: 1.3;
}

/* ───────────────────────────────────────────────
   8B. GALERIE UKÁZEK (Portfolio)
─────────────────────────────────────────────── */
.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 26.25rem), 1fr));
  gap: 1.125rem;
  align-items: start;
}

/* Skeleton loader */
.work-skeleton {
  border-radius: 1.5rem;
  aspect-ratio: 16 / 9;
  background: linear-gradient(90deg,
      var(--panel) 25%,
      var(--panel-2) 50%,
      var(--panel) 75%);
  background-size: 200% 100%;
  animation: skeleton-shine 1.6s ease-in-out infinite;
}

@keyframes skeleton-shine {
  0% {
    background-position: 200% 0;
  }

  100% {
    background-position: -200% 0;
  }
}

/* Skutečné karty */
.work-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--trans-mid), border-color var(--trans-mid), box-shadow var(--trans-mid);
  cursor: zoom-in;
}

.work-card:hover {
  transform: translateY(-0.375rem);
  border-color: rgba(255, 210, 31, 0.42);
  box-shadow: 0 1.25rem 3.75rem rgba(0, 0, 0, 0.6), 0 0 1.25rem rgba(255, 210, 31, 0.1);
}

.work-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
  display: block;
  background: #151515;
  flex-shrink: 0;
  min-height: 0;
  transition: transform 0.4s ease;
}

.work-card:hover img {
  transform: scale(1.03);
}

.work-meta {
  padding: 0.875rem 1.125rem 1.125rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

.work-meta strong {
  font-size: 1rem;
  letter-spacing: -0.03em;
}

.pill {
  white-space: nowrap;
  color: #08090d;
  background: var(--yellow);
  border-radius: 62.438rem;
  padding: 0.375rem 0.75rem;
  font-size: 0.688rem;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ───────────────────────────────────────────────
   9. SLUŽBY
─────────────────────────────────────────────── */
.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
  gap: 1rem;
}

.service {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.625rem;
  min-height: 17.5rem;
  transition: border-color var(--trans-mid), transform var(--trans-mid);
}

.service:hover {
  border-color: rgba(255, 210, 31, 0.3);
  transform: translateY(-0.188rem);
}

.service .num {
  color: var(--yellow);
  font-size: 0.813rem;
  font-weight: 950;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 1.125rem;
}

.service h3 {
  margin-bottom: 0.75rem;
}

.service p {
  color: var(--muted);
  line-height: 1.55;
  font-weight: 650;
  font-size: 0.938rem;
}

/* ───────────────────────────────────────────────
   10. PROČ SPOLUPRACOVAT
─────────────────────────────────────────────── */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 12.5rem), 1fr));
  gap: 0.875rem;
}

.why-card {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.052);
  border-radius: 1.375rem;
  padding: 1.375rem;
  min-height: 11.25rem;
  transition: border-color var(--trans-mid), transform var(--trans-mid);
}

.why-card:hover {
  border-color: rgba(255, 210, 31, 0.28);
  transform: translateY(-2px);
}

.why-card strong {
  display: block;
  color: var(--yellow);
  font-size: 0.938rem;
  letter-spacing: 0.02em;
  margin-bottom: 0.75rem;
}

.why-card p {
  color: var(--muted);
  line-height: 1.5;
  font-weight: 650;
  font-size: 0.875rem;
}

/* ───────────────────────────────────────────────
   11. O MNĚ
─────────────────────────────────────────────── */
.about {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 1.125rem;
  align-items: stretch;
}

.about-box,
.quote-box {
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem;
}

.about-box p,
.quote-box p {
  color: var(--white-soft);
  line-height: 1.65;
  font-size: 1.063rem;
  font-weight: 600;
}

.about-box p+p {
  margin-top: 0.875rem;
}

.quote-box {
  background: linear-gradient(135deg, rgba(255, 210, 31, 0.16), rgba(255, 255, 255, 0.055)), var(--panel-2);
}

.quote {
  display: block;
  font-size: clamp(1.5rem, 4vw, 2.625rem);
  line-height: 1.06;
  letter-spacing: -0.06em;
  font-weight: 950;
  margin-bottom: 1.125rem;
  color: var(--text);
}

/* ───────────────────────────────────────────────
   12. PROCES
─────────────────────────────────────────────── */
.process {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 13.75rem), 1fr));
  gap: 0.875rem;
}

.step {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.05);
  border-radius: 1.375rem;
  padding: 1.5rem;
  transition: border-color var(--trans-mid), transform var(--trans-mid);
}

.step:hover {
  border-color: rgba(255, 210, 31, 0.28);
  transform: translateY(-2px);
}

.step>strong {
  display: block;
  color: var(--yellow);
  font-size: 2.125rem;
  line-height: 1;
  letter-spacing: -0.04em;
}

.step h3 {
  margin: 0.875rem 0 0.5rem;
  font-size: 1.188rem;
  letter-spacing: -0.04em;
}

.step p {
  color: var(--muted);
  line-height: 1.45;
  font-weight: 650;
  font-size: 0.875rem;
}

/* Sleva box */
.discount-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.375rem;
  margin-top: 1.375rem;
  padding: 1.5rem;
  border-radius: 1.5rem;
  background: linear-gradient(135deg, rgba(255, 210, 31, 0.22), rgba(255, 255, 255, 0.055));
  border: 1px solid rgba(255, 210, 31, 0.28);
}

.discount-box>div>strong {
  display: block;
  color: var(--yellow);
  font-size: clamp(1.375rem, 4vw, 2.125rem);
  line-height: 1;
  letter-spacing: -0.055em;
  margin-bottom: 0.5rem;
}

.discount-box>div>span {
  color: var(--white-soft);
  font-weight: 700;
  line-height: 1.45;
}

/* ───────────────────────────────────────────────
   13. CTA SEKCE & KONTAKTNÍ FORMULÁŘ
─────────────────────────────────────────────── */
.cta {
  padding-bottom: var(--space-2xl);
}

.cta-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 210, 31, 0.24);
  background:
    radial-gradient(circle at 80% 10%, rgba(255, 210, 31, 0.22), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.045));
  padding: clamp(2rem, 6vw, 4rem);
  box-shadow: var(--shadow);
}

.cta-card h2 {
  max-width: 53.75rem;
}

.cta-card>p {
  max-width: 41.25rem;
  color: var(--white-soft);
  font-size: clamp(1.063rem, 2vw, 1.25rem);
  line-height: 1.55;
  font-weight: 650;
  margin-top: 1.125rem;
}

/* Formulář */
.contact-form {
  margin-top: 2.25rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  margin-bottom: 1rem;
}

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

.form-group .req {
  color: var(--yellow);
}

.form-group input,
.form-group textarea {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  border-radius: 0.875rem;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.938rem;
  font-weight: 600;
  padding: 0.75rem 1rem;
  transition: border-color var(--trans-fast), background var(--trans-fast), box-shadow var(--trans-fast);
  outline: none;
  width: 100%;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(167, 172, 186, 0.55);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--yellow);
  background: rgba(255, 210, 31, 0.06);
  box-shadow: 0 0 0 0.188rem rgba(255, 210, 31, 0.14);
}

.form-group input.is-invalid,
.form-group textarea.is-invalid {
  border-color: var(--error);
  box-shadow: 0 0 0 0.188rem rgba(255, 95, 95, 0.14);
}

.form-group textarea {
  resize: vertical;
  min-height: 8.125rem;
}

.field-error {
  font-size: 0.75rem;
  color: var(--error);
  font-weight: 700;
  min-height: 1rem;
}

.form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.125rem;
  margin-top: 0.5rem;
  flex-wrap: wrap;
}

.form-note {
  font-size: 0.75rem;
  color: var(--muted);
  line-height: 1.5;
}

.form-link {
  color: var(--yellow);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Submit button + spinner */
.btn-submit {
  min-width: 10.75rem;
  position: relative;
}

.btn-submit[disabled] {
  opacity: 0.7;
  cursor: not-allowed;
  pointer-events: none;
}

.btn-spinner {
  width: 1.125rem;
  height: 1.125rem;
  border: 0.156rem solid rgba(9, 10, 14, 0.3);
  border-top-color: #090a0e;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

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

/* Feedback zpráva */
.form-feedback {
  margin-top: 1rem;
  padding: 0.875rem 1.125rem;
  border-radius: 0.75rem;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.45;
}

.form-feedback.is-success {
  background: rgba(61, 220, 132, 0.12);
  border: 1px solid rgba(61, 220, 132, 0.3);
  color: var(--success);
}

.form-feedback.is-error {
  background: rgba(255, 95, 95, 0.1);
  border: 1px solid rgba(255, 95, 95, 0.28);
  color: var(--error);
}

/* Alternativní kontakt */
.cta-also {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.75rem;
  flex-wrap: wrap;
  font-size: 0.875rem;
  color: var(--muted);
  font-weight: 700;
}

.cta-email {
  color: var(--yellow);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: opacity var(--trans-fast);
}

.cta-email:hover {
  opacity: 0.8;
}

/* ───────────────────────────────────────────────
   14. PATIČKA
─────────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--line);
  padding: 1.75rem 0 2.625rem;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.813rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-dev a {
  color: var(--yellow);
  transition: opacity var(--trans-fast);
}

.footer-dev a:hover {
  opacity: 0.8;
}

/* ───────────────────────────────────────────────
   15. LIGHTBOX
─────────────────────────────────────────────── */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.75rem;
  z-index: 200;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--trans-mid), visibility var(--trans-mid);
}

.lightbox.open {
  opacity: 1;
  visibility: visible;
}

.lightbox-inner {
  position: relative;
  max-width: min(75rem, 100%);
  max-height: 88vh;
  animation: lb-in 0.28s var(--ease) both;
}

.lightbox.open .lightbox-inner {
  animation: lb-in 0.28s var(--ease) both;
}

@keyframes lb-in {
  from {
    transform: scale(0.94);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

.lightbox img {
  max-width: 100%;
  max-height: 88vh;
  object-fit: contain;
  border-radius: 1.125rem;
  box-shadow: var(--shadow);
  display: block;
}

.lightbox-close {
  position: fixed;
  top: 1.125rem;
  right: 1.125rem;
  width: 2.875rem;
  height: 2.875rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 62.438rem;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  display: grid;
  place-items: center;
  transition: background var(--trans-fast), transform var(--trans-fast);
  z-index: 201;
  backdrop-filter: blur(0.5rem);
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.08);
}

/* ───────────────────────────────────────────────
   16. COOKIE LIŠTA
─────────────────────────────────────────────── */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 300;
  background: var(--panel-2);
  border-top: 1px solid var(--line);
  backdrop-filter: blur(0.75rem);
  padding: 1.125rem 0;
  transform: translateY(100%);
  transition: transform 0.4s var(--ease);
}

.cookie-banner:not([hidden]) {
  transform: translateY(0);
}

.cookie-inner {
  width: min(73.75rem, calc(100% - 2.5rem));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.cookie-text strong {
  display: block;
  font-size: 0.938rem;
  margin-bottom: 0.25rem;
  color: var(--text);
}

.cookie-text p {
  font-size: 0.813rem;
  color: var(--muted);
  line-height: 1.45;
  margin: 0;
}

.cookie-link {
  color: var(--yellow);
  text-decoration: underline;
}

.cookie-actions {
  display: flex;
  gap: 0.625rem;
  flex-shrink: 0;
  flex-wrap: wrap;
}

/* ───────────────────────────────────────────────
   17. SCROLL REVEAL ANIMACE
─────────────────────────────────────────────── */
.reveal-item {
  opacity: 0;
  transform: translateY(1.75rem);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
}

.reveal-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Zpoždění pro skupiny karet */
.why-card:nth-child(1) {
  transition-delay: 0.05s;
}

.why-card:nth-child(2) {
  transition-delay: 0.10s;
}

.why-card:nth-child(3) {
  transition-delay: 0.15s;
}

.why-card:nth-child(4) {
  transition-delay: 0.20s;
}

.why-card:nth-child(5) {
  transition-delay: 0.25s;
}

.service:nth-child(1) {
  transition-delay: 0.05s;
}

.service:nth-child(2) {
  transition-delay: 0.10s;
}

.service:nth-child(3) {
  transition-delay: 0.15s;
}

.service:nth-child(4) {
  transition-delay: 0.20s;
}

.step:nth-child(1) {
  transition-delay: 0.05s;
}

.step:nth-child(2) {
  transition-delay: 0.10s;
}

.step:nth-child(3) {
  transition-delay: 0.15s;
}

.step:nth-child(4) {
  transition-delay: 0.20s;
}

/* ───────────────────────────────────────────────
   18. RESPONSIVE BREAKPOINTS
─────────────────────────────────────────────── */
@media (max-width: 900px) {

  .hero-grid,
  .about {
    grid-template-columns: 1fr;
  }

  .hero-card {
    transform: none;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .section-copy {
    max-width: 100%;
    margin-top: 0.75rem;
  }
}

.micro-cta {
  display: none;
}

@media (max-width: 768px) {
  .micro-cta {
    display: block;
  }

  .services,
  .why-grid {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    gap: 1rem;
    padding-bottom: 1.5rem;
    margin: 0 -1.25rem;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .services::-webkit-scrollbar,
  .why-grid::-webkit-scrollbar {
    display: none;
  }

  .service,
  .why-card {
    flex-shrink: 0;
    width: 85vw;
    scroll-snap-align: start;
  }
}

@media (max-width: 700px) {
  .wrap {
    width: min(100% - 1.75rem, 73.75rem);
  }

  .nav-links a:not(.btn) {
    display: none;
  }

  .hero {
    padding-top: 3.25rem;
  }

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

  .form-row {
    grid-template-columns: 1fr;
  }

  .form-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .btn-submit {
    width: 100%;
  }

  .work-meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.5rem;
  }

  .pill {
    white-space: normal;
  }

  .discount-box {
    flex-direction: column;
    align-items: flex-start;
  }

  .cta-also {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-inner {
    flex-direction: column;
    gap: 0.625rem;
  }

  .cookie-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.875rem;
  }
}

@media (max-width: 420px) {
  .stats {
    grid-template-columns: 1fr;
  }
}