/* ================================================================
   VERSIONS.CSS — styly pro 3 varianty hlavní stránky
   Importuje proměnné z style.css
   ================================================================ */

/* ── Hlavní strana — nav ── */
@media (min-width: 1024px) {
  .nav__inner {
    height: 6rem;
  }

  .nav__logo {
    gap: 1rem;
  }

  .nav__logo-box {
    width: 2.5rem;
    height: 2.5rem;
  }

  .nav__logo-mark {
    width: 0.9rem;
    height: 0.9rem;
  }

  .nav__brand-name {
    font-size: 0.9rem;
    letter-spacing: 0.35em;
  }

  .nav__brand-sub {
    font-size: 0.625rem;
    letter-spacing: 0.2em;
    margin-top: 0.45rem;
  }

  .nav__links {
    gap: 3rem;
  }

  .nav__link {
    font-size: 0.875rem;
  }

  .nav__cta {
    padding: 0.75rem 1.5rem;
  }
}

/* ── Hlavní strana — hero bg ── */
.hero__bg-img {
  opacity: 0.55;
}

/* ── Hlavní strana — hero centered ── */
@media (min-width: 1024px) {
  .hero__grid {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .hero__left {
    max-width: 52rem;
    text-align: center;
  }

  .hero__desc {
    margin-left: auto;
    margin-right: auto;
  }

  .hero__actions {
    justify-content: center;
  }
}

/* ── Hlavní strana — hero desc ── */
.hero__desc {
  font-size: 1.125rem;
  line-height: 1.75;
}

@media (min-width: 1024px) {
  .hero__desc {
    font-size: 1.25rem;
  }
}

/* ── Hlavní strana — claim separator ── */
.hero__claim-sep {
  display: inline-block;
  width: 0.3rem;
  height: 0.3rem;
  border-radius: 50%;
  background-color: var(--color-laser);
  vertical-align: middle;
  margin: 0 0.25rem;
  opacity: 0.6;
}

/* ── Hlavní strana — stats redesign ── */
.stats--hl {
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  background-color: var(--color-bg-card);
  padding: 3rem 0;
}

.stats--hl__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0;
  flex-wrap: wrap;
}

.stats--hl__item {
  flex: 1;
  text-align: center;
  padding: 1.5rem 2rem;
  min-width: 140px;
}

.stats--hl__divider {
  width: 1px;
  height: 3.5rem;
  background-color: var(--color-border);
  flex-shrink: 0;
}

@media (max-width: 767px) {
  .stats--hl__divider { display: none; }
  .stats--hl__item {
    flex: 0 0 50%;
    border-bottom: 1px solid var(--color-border);
    padding: 2rem 1rem;
  }
  .stats--hl__item:nth-child(5),
  .stats--hl__item:last-child { border-bottom: none; }
}

.stats--hl__number {
  font-family: var(--font-mono);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700;
  color: var(--color-fg);
  line-height: 1;
  margin-bottom: 0.6rem;
}

.stats--hl__number--text {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  color: var(--color-fg);
}

.stats--hl__label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: var(--color-steel);
  text-transform: uppercase;
}

/* ── Hlavní strana — section borders ── */
.about-values,
.process {
  border-top: 1px solid var(--color-border);
}

/* ── Hlavní strana — values list ── */
.values-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
}

.values-list::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--color-border);
}

.values-list__item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding: 2rem 2.5rem 2rem 0;
  border-bottom: 1px solid var(--color-border);
}

.values-list__item:nth-child(even) {
  padding: 2rem 0 2rem 2.5rem;
}

.values-list__item:nth-last-child(-n+2) {
  border-bottom: none;
}

.values-list__icon {
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-laser);
  margin-top: 0.2rem;
}

.values-list__icon svg {
  width: 22px;
  height: 22px;
}

.values-list__title {
  font-family: var(--font-sans);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--color-fg);
  margin-bottom: 0.5rem;
}

.values-list__desc {
  font-size: 1rem;
  color: var(--color-steel);
  line-height: 1.6;
}

@media (max-width: 767px) {
  .values-list {
    grid-template-columns: 1fr;
  }
  .values-list::before { display: none; }
  .values-list__item,
  .values-list__item:nth-child(even) {
    padding: 1.75rem 0;
    border-bottom: 1px solid var(--color-border);
  }
  .values-list__item:last-child { border-bottom: none; }
}

/* ── Hlavní strana — CTA strip ── */
.cta-strip {
  padding: 5rem 0;
  text-align: center;
  border-top: 1px solid var(--color-border);
}

.cta-strip__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

.cta-strip__accent {
  width: 3rem;
  height: 2px;
  background-color: var(--color-laser);
}

.cta-strip__title {
  font-family: var(--font-sans);
  font-size: clamp(1.375rem, 2.5vw, 1.875rem);
  font-weight: 600;
  color: var(--color-fg);
  line-height: 1.2;
}

.cta-strip__desc {
  font-size: 1.0625rem;
  color: var(--color-steel);
  max-width: 36rem;
  line-height: 1.7;
}


/* ── Footer slim ── */
.footer--slim {
  padding: 3.5rem 0 2rem;
  border-top: 1px solid var(--color-border);
}

.footer-slim__top {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 4rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.footer-slim__brand {
  max-width: 20rem;
}

.footer-slim__desc {
  font-size: 0.875rem;
  color: var(--color-steel);
  line-height: 1.7;
  margin-top: 1rem;
}

.footer-slim__contact {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  padding-top: 0.25rem;
}

.footer-slim__contact-title {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.15em;
  color: var(--color-laser);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.footer-slim__contact-item {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--color-steel);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-slim__contact-item:hover {
  color: var(--color-laser);
}

.footer-slim__bottom {
  border-top: 1px solid var(--color-border);
  padding-top: 1.5rem;
  text-align: center;
}

@media (max-width: 767px) {
  .footer-slim__top {
    flex-direction: column;
    gap: 2rem;
  }
}

/* ── Hlavní strana — process steps ── */
.process__step-num {
  font-size: 1rem;
}

.process__step-title {
  font-size: 1rem;
}

.process__step-desc {
  font-size: 1rem;
}

.process__step-time {
  font-size: 0.7rem;
}

.testimonial__author-name {
  font-size: 1rem;
}

.testimonial__author-role {
  font-size: 0.7rem;
}

.cta-strip__desc {
  font-size: 1rem;
}

/* ── Hlavní strana — process heading ── */
.process__heading {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  color: var(--color-steel);
  text-transform: uppercase;
  margin-bottom: 3rem;
}

/* ══════════════════════════════════════════════════════════
   NAV DROPDOWN
   ══════════════════════════════════════════════════════════ */

.nav__link-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.nav__link--has-dropdown {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.nav__link-caret {
  transition: transform 0.22s ease;
  flex-shrink: 0;
  opacity: 0.6;
}

.nav__link-wrap:hover .nav__link-caret,
.nav__link-wrap:focus-within .nav__link-caret {
  transform: rotate(180deg);
  opacity: 1;
}

.nav__dropdown {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  min-width: 240px;
  background: hsl(0, 0%, 6%);
  border: 1px solid hsl(0, 0%, 14%);
  padding: 6px 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 300;
}

.nav__dropdown::before {
  content: '';
  position: absolute;
  top: -5px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-bottom: 5px solid hsl(0, 0%, 14%);
}

.nav__link-wrap:hover .nav__dropdown,
.nav__link-wrap:focus-within .nav__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav__dropdown-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: hsl(220, 2%, 57%);
  text-decoration: none;
  transition: color 0.15s, background 0.15s;
  white-space: nowrap;
}

.nav__dropdown-link::before {
  content: '';
  width: 4px;
  height: 4px;
  background: currentColor;
  border-radius: 50%;
  flex-shrink: 0;
  opacity: 0.4;
  transition: opacity 0.15s, background 0.15s;
}

.nav__dropdown-link:hover {
  color: hsl(186, 100%, 50%);
  background: hsl(0, 0%, 100%, 0.03);
}

.nav__dropdown-link:hover::before {
  opacity: 1;
}

.nav__dropdown-sep {
  height: 1px;
  background: hsl(0, 0%, 14%);
  margin: 5px 0;
}

.nav__mobile-link--sub {
  padding-left: 2.5rem;
  font-size: 10px;
  opacity: 0.75;
}


/* ══════════════════════════════════════════════════════════
   VERZE ÚVOD 1 — PORTFOLIOVÉ ŘADY
   ══════════════════════════════════════════════════════════ */

/* Blinking dot */
@keyframes v1-blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.2; }
}

/* Hero */
.v1-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: hsl(0, 0%, 4%);
  position: relative;
  overflow: hidden;
  padding-top: 64px;
}

.v1-hero__scan-line {
  position: absolute;
  top: 0;
  left: 40%;
  width: 1px;
  height: 100%;
  background: linear-gradient(
    to bottom,
    transparent,
    hsl(0, 0%, 14%) 20%,
    hsl(0, 0%, 14%) 80%,
    transparent
  );
  pointer-events: none;
}

.v1-hero__inner {
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  padding: 80px 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.v1-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.14em;
  color: hsl(186, 100%, 50%);
  text-transform: uppercase;
  margin-bottom: 28px;
}

.v1-hero__badge-dot {
  width: 6px;
  height: 6px;
  background: hsl(186, 100%, 50%);
  border-radius: 50%;
  animation: v1-blink 1.8s ease-in-out infinite;
}

.v1-hero__title {
  font-size: clamp(40px, 4.5vw, 68px);
  font-weight: 800;
  line-height: 1.05;
  color: hsl(0, 0%, 95%);
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.v1-hero__title-accent {
  color: hsl(186, 100%, 50%);
  display: block;
}

.v1-hero__desc {
  font-size: 16px;
  line-height: 1.7;
  color: hsl(220, 2%, 57%);
  max-width: 440px;
  margin-bottom: 40px;
}

.v1-hero__actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Image mosaic — tall left + 2 right */
.v1-hero__mosaic {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  grid-template-rows: 258px 258px;
  gap: 6px;
  height: 522px;
}

.v1-hero__mosaic-item {
  overflow: hidden;
  position: relative;
}

.v1-hero__mosaic-item:first-child {
  grid-row: 1 / 3;
}

.v1-mosaic-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.82);
  transition: filter 0.4s, transform 0.6s ease;
}

.v1-hero__mosaic-item:hover .v1-mosaic-img {
  filter: brightness(1);
  transform: scale(1.04);
}

.v1-hero__mosaic-label {
  position: absolute;
  bottom: 10px;
  left: 10px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.1em;
  color: hsl(0, 0%, 95%);
  background: hsl(0, 0%, 4%, 0.75);
  padding: 4px 8px;
  text-transform: uppercase;
  pointer-events: none;
}

/* Services alternating rows */
.v1-services {
  padding: 80px 0;
}

.v1-services__header {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  margin-bottom: 60px;
}

.v1-service-row {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid hsl(0, 0%, 14%);
}

.v1-service-row__media {
  position: relative;
  overflow: hidden;
  height: 420px;
}

.v1-service-row__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s ease;
}

.v1-service-row:hover .v1-service-row__img {
  transform: scale(1.05);
}

.v1-service-row__media-overlay {
  position: absolute;
  inset: 0;
  background: hsl(0, 0%, 4%, 0.30);
  transition: background 0.4s;
}

.v1-service-row:hover .v1-service-row__media-overlay {
  background: hsl(186, 100%, 3%, 0.15);
}

.v1-service-row__content {
  padding: 56px 72px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.v1-service-row--reverse .v1-service-row__content {
  order: -1;
  padding-left: 0;
  padding-right: 72px;
}

.v1-service-row--reverse .v1-service-row__media {
  order: 1;
}

.v1-service-row__num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.14em;
  color: hsl(186, 100%, 50%);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.v1-service-row__title {
  font-size: clamp(26px, 2.6vw, 38px);
  font-weight: 700;
  color: hsl(0, 0%, 95%);
  margin-bottom: 16px;
  line-height: 1.15;
}

.v1-service-row__desc {
  font-size: 15px;
  line-height: 1.7;
  color: hsl(220, 2%, 57%);
  margin-bottom: 16px;
}

.v1-service-row__time {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: hsl(186, 100%, 50%);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.v1-service-row__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  color: hsl(0, 0%, 95%);
  text-decoration: none;
  text-transform: uppercase;
  border-bottom: 1px solid hsl(0, 0%, 14%);
  padding-bottom: 4px;
  align-self: flex-start;
  transition: color 0.2s, border-color 0.2s;
}

.v1-service-row__link:hover {
  color: hsl(186, 100%, 50%);
  border-color: hsl(186, 100%, 50%);
}


/* ══════════════════════════════════════════════════════════
   VERZE ÚVOD 2 — IMMERZNÍ DASHBOARD
   ══════════════════════════════════════════════════════════ */

.v2-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.v2-hero__bg {
  position: absolute;
  inset: 0;
}

.v2-hero__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.v2-hero__bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    110deg,
    hsl(0, 0%, 4%, 0.94) 0%,
    hsl(0, 0%, 4%, 0.80) 55%,
    hsl(186, 100%, 8%, 0.50) 100%
  );
}

.v2-hero__grid-lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.05;
  background-image:
    linear-gradient(hsl(186, 100%, 50%) 1px, transparent 1px),
    linear-gradient(90deg, hsl(186, 100%, 50%) 1px, transparent 1px);
  background-size: 80px 80px;
}

.v2-hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  padding-top: 64px;
}

.v2-hero__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: center;
  padding: 80px 0;
}

.v2-hero__eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.16em;
  color: hsl(186, 100%, 50%);
  text-transform: uppercase;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.v2-hero__eyebrow::before {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: hsl(186, 100%, 50%);
}

.v2-hero__title {
  font-size: clamp(48px, 6vw, 92px);
  font-weight: 900;
  line-height: 0.93;
  color: hsl(0, 0%, 95%);
  text-transform: uppercase;
  letter-spacing: -0.025em;
  margin-bottom: 28px;
}

.v2-hero__title strong {
  display: block;
  color: hsl(186, 100%, 50%);
}

.v2-hero__desc {
  font-size: 16px;
  line-height: 1.65;
  color: hsl(220, 2%, 57%);
  max-width: 460px;
  margin-bottom: 40px;
}

.v2-hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Right stats panel */
.v2-hero__panel {
  border: 1px solid hsl(0, 0%, 14%);
  background: hsl(0, 0%, 100%, 0.03);
  padding: 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}

.v2-hero__stat {
  background: hsl(0, 0%, 4%, 0.6);
  padding: 28px 24px;
  position: relative;
  overflow: hidden;
}

.v2-hero__stat::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: hsl(186, 100%, 50%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s ease;
}

.v2-hero__panel:hover .v2-hero__stat::before {
  transform: scaleX(1);
}

.v2-hero__stat-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: clamp(28px, 2.8vw, 38px);
  font-weight: 700;
  color: hsl(0, 0%, 95%);
  display: block;
  margin-bottom: 6px;
}

.v2-hero__stat-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.12em;
  color: hsl(220, 2%, 57%);
  text-transform: uppercase;
}

/* Image service cards */
.v2-services {
  padding: 0 0 80px;
}

.v2-services__header {
  max-width: 1280px;
  margin: 0 auto;
  padding: 80px 2rem 48px;
}

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

.v2-img-service {
  position: relative;
  height: 540px;
  overflow: hidden;
  cursor: pointer;
}

.v2-img-service__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.v2-img-service:hover .v2-img-service__bg {
  transform: scale(1.07);
}

.v2-img-service__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    hsl(0, 0%, 4%, 0.97) 0%,
    hsl(0, 0%, 4%, 0.55) 45%,
    hsl(0, 0%, 4%, 0.15) 100%
  );
  transition: background 0.4s;
}

.v2-img-service:hover .v2-img-service__overlay {
  background: linear-gradient(
    to top,
    hsl(186, 80%, 5%, 0.97) 0%,
    hsl(186, 60%, 5%, 0.70) 50%,
    hsl(0, 0%, 4%, 0.25) 100%
  );
}

.v2-img-service__top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  padding: 28px 32px;
}

.v2-img-service__badge {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.12em;
  color: hsl(186, 100%, 50%);
  background: hsl(186, 100%, 50%, 0.08);
  border: 1px solid hsl(186, 100%, 50%, 0.2);
  padding: 5px 10px;
  text-transform: uppercase;
  display: inline-block;
}

.v2-img-service__content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 32px;
}

.v2-img-service__num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  color: hsl(186, 100%, 50%);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.v2-img-service__title {
  font-size: 22px;
  font-weight: 700;
  color: hsl(0, 0%, 95%);
  margin-bottom: 10px;
  line-height: 1.2;
}

.v2-img-service__desc {
  font-size: 13px;
  color: hsl(0, 0%, 72%);
  line-height: 1.6;
  margin-bottom: 12px;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.45s ease, opacity 0.3s ease;
}

.v2-img-service:hover .v2-img-service__desc {
  max-height: 120px;
  opacity: 1;
}

.v2-img-service__time {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: hsl(186, 100%, 50%);
  letter-spacing: 0.08em;
}

/* Horizontal project strip */
.v2-projects {
  padding: 80px 0;
  border-top: 1px solid hsl(0, 0%, 14%);
}

.v2-projects__header {
  max-width: 1280px;
  margin: 0 auto 40px;
  padding: 0 2rem;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.v2-projects__hint {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: hsl(220, 2%, 57%);
  letter-spacing: 0.1em;
  display: flex;
  align-items: center;
  gap: 8px;
}

.v2-project-strip {
  display: flex;
  gap: 3px;
  overflow-x: auto;
  padding: 0 2rem 24px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: hsl(0, 0%, 14%) transparent;
}

.v2-project-strip::-webkit-scrollbar {
  height: 2px;
}

.v2-project-strip::-webkit-scrollbar-track {
  background: hsl(0, 0%, 14%);
}

.v2-project-strip::-webkit-scrollbar-thumb {
  background: hsl(186, 100%, 50%);
}

.v2-project-strip .project-card {
  flex: 0 0 400px;
  scroll-snap-align: start;
}


/* ══════════════════════════════════════════════════════════
   VERZE ÚVOD 3 — TYPOGRAFICKÁ ELEGANCE
   ══════════════════════════════════════════════════════════ */

.v3-hero {
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  position: relative;
  overflow: hidden;
  background: hsl(0, 0%, 4%);
  padding-bottom: 72px;
}

.v3-hero__bg {
  position: absolute;
  inset: 0;
}

.v3-hero__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.16;
  filter: grayscale(100%) contrast(1.1);
}

.v3-hero__bg-fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    hsl(0, 0%, 4%) 0%,
    transparent 35%,
    transparent 60%,
    hsl(0, 0%, 4%) 100%
  );
}

.v3-hero__ghost-num {
  position: absolute;
  top: 50%;
  right: 6%;
  transform: translateY(-50%);
  font-family: 'JetBrains Mono', monospace;
  font-size: clamp(180px, 20vw, 300px);
  font-weight: 900;
  color: hsl(0, 0%, 100%, 0.03);
  line-height: 1;
  pointer-events: none;
  user-select: none;
  letter-spacing: -0.05em;
}

.v3-hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  padding-top: 64px;
  display: grid;
  grid-template-columns: 1fr 260px;
  align-items: flex-end;
  gap: 48px;
}

.v3-hero__label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.15em;
  color: hsl(186, 100%, 50%);
  text-transform: uppercase;
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.v3-hero__label::before {
  content: '';
  width: 36px;
  height: 1px;
  background: hsl(186, 100%, 50%);
  flex-shrink: 0;
}

.v3-hero__title {
  font-size: clamp(64px, 9.5vw, 144px);
  font-weight: 900;
  line-height: 0.88;
  color: hsl(0, 0%, 95%);
  text-transform: uppercase;
  letter-spacing: -0.03em;
  margin-bottom: 36px;
}

.v3-hero__title em {
  font-style: normal;
  color: hsl(186, 100%, 50%);
  display: block;
}

.v3-hero__sub {
  font-size: 16px;
  line-height: 1.65;
  color: hsl(220, 2%, 57%);
  max-width: 420px;
  margin-bottom: 40px;
}

.v3-hero__actions {
  display: flex;
  gap: 16px;
  align-items: center;
}

/* Sidebar stats */
.v3-hero__sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-bottom: 4px;
}

.v3-hero__sidebar-item {
  padding-left: 14px;
  border-left: 1px solid hsl(0, 0%, 14%);
}

.v3-hero__sidebar-val {
  font-family: 'JetBrains Mono', monospace;
  font-size: 22px;
  font-weight: 700;
  color: hsl(0, 0%, 95%);
  display: block;
  margin-bottom: 2px;
}

.v3-hero__sidebar-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 8px;
  letter-spacing: 0.12em;
  color: hsl(220, 2%, 57%);
  text-transform: uppercase;
}

/* Statement section */
.v3-statement {
  padding: 96px 0;
  border-top: 1px solid hsl(0, 0%, 14%);
}

.v3-statement__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 60px;
  align-items: start;
}

.v3-statement__tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.12em;
  color: hsl(220, 2%, 57%);
  text-transform: uppercase;
  padding-top: 8px;
  line-height: 1.8;
}

.v3-statement__text {
  font-size: clamp(22px, 2.8vw, 34px);
  font-weight: 700;
  line-height: 1.35;
  color: hsl(0, 0%, 95%);
}

.v3-statement__text em {
  font-style: normal;
  color: hsl(186, 100%, 50%);
}

/* Service list rows */
.v3-service-list {
  border-top: 1px solid hsl(0, 0%, 14%);
}

.v3-service-list__header {
  max-width: 1280px;
  margin: 0 auto;
  padding: 64px 2rem 40px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.v3-service-list__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem 80px;
}

.v3-service-item {
  display: grid;
  grid-template-columns: 72px 1fr 200px 180px 40px;
  align-items: center;
  gap: 24px;
  padding: 26px 0;
  border-top: 1px solid hsl(0, 0%, 14%);
  transition: background 0.2s, padding-inline 0.2s;
  cursor: default;
}

.v3-service-item:last-child {
  border-bottom: 1px solid hsl(0, 0%, 14%);
}

.v3-service-item:hover {
  background: hsl(0, 0%, 100%, 0.025);
  margin-inline: -16px;
  padding-inline: 16px;
}

.v3-service-item__num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: hsl(220, 2%, 57%);
  transition: color 0.2s;
}

.v3-service-item:hover .v3-service-item__num {
  color: hsl(186, 100%, 50%);
}

.v3-service-item__title {
  font-size: 19px;
  font-weight: 600;
  color: hsl(0, 0%, 95%);
}

.v3-service-item__desc {
  font-size: 13px;
  color: hsl(220, 2%, 57%);
  line-height: 1.5;
}

.v3-service-item__time {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  color: hsl(186, 100%, 50%);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: right;
}

.v3-service-item__arrow {
  color: hsl(220, 2%, 57%);
  transition: color 0.2s, transform 0.2s;
  justify-self: flex-end;
}

.v3-service-item:hover .v3-service-item__arrow {
  color: hsl(186, 100%, 50%);
  transform: translateX(4px);
}

/* Full-bleed featured project */
.v3-feature-project {
  position: relative;
  height: 78vh;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

.v3-feature-project__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 8s ease;
}

.v3-feature-project:hover .v3-feature-project__img {
  transform: scale(1.04);
}

.v3-feature-project__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    hsl(0, 0%, 4%, 0.95) 0%,
    hsl(0, 0%, 4%, 0.35) 45%,
    transparent 100%
  );
}

.v3-feature-project__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem 56px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: flex-end;
  gap: 48px;
}

.v3-feature-project__tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.14em;
  color: hsl(186, 100%, 50%);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.v3-feature-project__title {
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 800;
  color: hsl(0, 0%, 95%);
  line-height: 1.1;
  margin-bottom: 8px;
}

.v3-feature-project__location {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: hsl(220, 2%, 57%);
  letter-spacing: 0.08em;
}

.v3-feature-project__metrics {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-end;
}

.v3-feature-metric {
  text-align: right;
}

.v3-feature-metric__val {
  font-family: 'JetBrains Mono', monospace;
  font-size: 22px;
  font-weight: 700;
  color: hsl(0, 0%, 95%);
  display: block;
}

.v3-feature-metric__label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.1em;
  color: hsl(220, 2%, 57%);
  text-transform: uppercase;
}

/* Stats strip */
.v3-stats-strip {
  border-top: 1px solid hsl(0, 0%, 14%);
  border-bottom: 1px solid hsl(0, 0%, 14%);
}

.v3-stats-strip__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 56px 2rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.v3-stat-item {
  padding: 0 40px;
  border-right: 1px solid hsl(0, 0%, 14%);
}

.v3-stat-item:first-child {
  padding-left: 0;
}

.v3-stat-item:last-child {
  border-right: none;
}

.v3-stat-item__val {
  font-family: 'JetBrains Mono', monospace;
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 700;
  color: hsl(0, 0%, 95%);
  display: block;
  margin-bottom: 4px;
}

.v3-stat-item__label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.12em;
  color: hsl(220, 2%, 57%);
  text-transform: uppercase;
}


/* ══════════════════════════════════════════════════════════
   RESPONSIVE — VERSIONS
   ══════════════════════════════════════════════════════════ */

@media (max-width: 1023px) {
  .v1-hero__inner        { grid-template-columns: 1fr; }
  .v1-hero__mosaic       { display: none; }
  .v1-service-row        { grid-template-columns: 1fr; }
  .v1-service-row--reverse .v1-service-row__content { order: 0; padding-right: 0; }
  .v1-service-row__media  { height: 280px; }
  .v1-service-row__content { padding: 40px 2rem; }

  .v2-hero__grid         { grid-template-columns: 1fr; }
  .v2-hero__panel        { display: none; }
  .v2-services__grid     { grid-template-columns: 1fr; }
  .v2-img-service        { height: 380px; }

  .v3-hero__inner        { grid-template-columns: 1fr; }
  .v3-hero__sidebar      { display: none; }
  .v3-service-item       { grid-template-columns: 56px 1fr 1fr; }
  .v3-service-item__desc { display: none; }
  .v3-service-item__arrow { display: none; }
  .v3-stats-strip__inner { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .v3-stat-item          { border-right: none; padding: 0; }
  .v3-statement__inner   { grid-template-columns: 1fr; gap: 16px; }
  .v3-feature-project__content { grid-template-columns: 1fr; }
  .v3-feature-project__metrics { display: none; }
}

@media (max-width: 767px) {
  .v1-hero__title  { font-size: 40px; }
  .v2-hero__title  { font-size: 48px; }
  .v3-hero__title  { font-size: 64px; }
  .v3-service-item { grid-template-columns: 44px 1fr; }
  .v3-service-item__time { display: none; }
  .v3-stats-strip__inner { grid-template-columns: 1fr 1fr; }
  .v3-feature-project { height: 60vh; }
  .v2-project-strip .project-card { flex: 0 0 320px; }
  .v3-hero__ghost-num { display: none; }
}


/* ══════════════════════════════════════════════════════════
   VERZE ÚVOD 4 — MINIMÁL (centrovaný hero)
   ══════════════════════════════════════════════════════════ */

[data-variant="v4"] .hero {
  align-items: center;
  justify-content: center;
}

/* Jeden sloupec, vycentrovaný */
[data-variant="v4"] .hero__grid {
  grid-template-columns: 1fr;
  justify-items: center;
}

/* Textový blok — střed, omezená šířka pro čitelnost */
[data-variant="v4"] .hero__left {
  max-width: 860px;
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Větší, vzdušnější nadpis */
[data-variant="v4"] .hero__title {
  font-size: clamp(3rem, 6.5vw, 6rem);
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: 2rem;
}

[data-variant="v4"] .hero__title-line,
[data-variant="v4"] .hero__title-line--accent {
  display: block;
  text-align: center;
}

[data-variant="v4"] .hero__title-line {
  margin-bottom: 0.4em;
}

/* Širší, vzdušnější popis */
[data-variant="v4"] .hero__desc {
  font-size: 1.10rem;
  line-height: 1.75;
  max-width: 560px;
  margin-bottom: 2.5rem;
  text-align: center;
}

/* Claim lišta centrovaná */
[data-variant="v4"] .hero__claim {
  margin-bottom: 2.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.4rem;
}

/* Tlačítka na střed */
[data-variant="v4"] .hero__actions {
  justify-content: center;
  gap: 1rem;
}

/* Hero content — vyšší padding pro více vzduchu */
[data-variant="v4"] .hero__content {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 0;
  padding-bottom: 0;
}

@media (max-width: 767px) {
  [data-variant="v4"] .hero__title {
    font-size: clamp(1.5rem, 6.5vw, 2.8rem);
  }
  [data-variant="v4"] .hero__desc {
    font-size: 1rem;
  }
  /* Claim badge přetéká na úzkých obrazovkách — skrýt */
  [data-variant="v4"] .hero__claim {
    display: none;
  }
}


/* ══════════════════════════════════════════════════════════
   VERZE ÚVOD 6 — MINIMÁL LEVO
   Stejná filozofie jako v4 (jen hero + stats, žádné další sekce),
   ale text je zarovnaný VLEVO, nadpis výrazně větší a tužší,
   claim badge odstraněn — ještě čistší kompozice.
   ══════════════════════════════════════════════════════════ */

/* Hero vertikálně vycentrován — stejně jako v4 */
[data-variant="v6"] .hero {
  align-items: center;
  justify-content: center;
}

/* Jeden sloupec, zarovnaný vlevo (ne na střed) */
[data-variant="v6"] .hero__grid {
  grid-template-columns: 1fr;
  justify-items: start;
}

/* Textový blok — vlevo, užší než v4 (typ je větší, proto stačí méně šířky) */
[data-variant="v6"] .hero__left {
  max-width: 700px;
  width: 100%;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* Tenká linka nad nadpisem — blueprint detail */
.hero__v6-rule {
  width: 48px;
  height: 2px;
  background: var(--clr-accent, hsl(38 95% 53%));
  margin-bottom: 2.5rem;
  flex-shrink: 0;
}

/* Výrazně větší, tužší nadpis než v4 */
[data-variant="v6"] .hero__title {
  font-size: clamp(3.5rem, 8vw, 8.5rem);
  line-height: 1.0;
  letter-spacing: -0.03em;
  margin-bottom: 2rem;
}

/* Oba řádky vlevo */
[data-variant="v6"] .hero__title-line,
[data-variant="v6"] .hero__title-line--accent {
  display: block;
  text-align: left;
}

/* Mezera mezi řádky nadpisu */
[data-variant="v6"] .hero__title-line {
  margin-bottom: 0.15em;
}

/* Popis — vlevo, užší, trochu menší než v4 (dává prostor titulku) */
[data-variant="v6"] .hero__desc {
  font-size: 1.05rem;
  line-height: 1.75;
  max-width: 480px;
  margin-bottom: 2.75rem;
  text-align: left;
  opacity: 0.85;
}

/* Claim skryt — v6 ho nemá */
[data-variant="v6"] .hero__claim {
  display: none;
}

/* Tlačítka vlevo */
[data-variant="v6"] .hero__actions {
  justify-content: flex-start;
  gap: 1rem;
}

/* Hero content — vertikálně vycentrováno, bez paddingu */
[data-variant="v6"] .hero__content {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-top: 0;
  padding-bottom: 0;
}

/* Silnější overlay na levé straně — chrání text na tmavém pozadí */
[data-variant="v6"] .hero__bg-overlay-v {
  background: linear-gradient(
    90deg,
    hsl(220 20% 6% / 0.85) 0%,
    hsl(220 20% 6% / 0.55) 50%,
    hsl(220 20% 6% / 0.15) 100%
  );
}

@media (max-width: 900px) {
  [data-variant="v6"] .hero__title {
    font-size: clamp(2.8rem, 7vw, 5rem);
  }
}

@media (max-width: 767px) {
  [data-variant="v6"] .hero__title {
    font-size: 2.8rem;
    line-height: 1.05;
  }
  [data-variant="v6"] .hero__desc {
    font-size: 0.95rem;
  }
}


/* ═══════════════════════════════════════════════════════════════════
   VERZE 5 — BLUEPRINT
   Světlá, inženýrská estetika. Blueprint mřížka, anotované fotografie,
   tabulkový listing projektů, accordion služby.
   ═══════════════════════════════════════════════════════════════════ */

/* ── Barvy a proměnné pro v5 ── */
:root {
  --v5-bg:         #f4f3ee;
  --v5-bg-alt:     #ffffff;
  --v5-dark:       #0e1117;
  --v5-blue:       #1a3a6b;
  --v5-blue-mid:   #2a5298;
  --v5-border:     #dddbd3;
  --v5-text:       #2e2e2e;
  --v5-muted:      #6b6b6b;
  --v5-mono:       'SF Mono', 'Fira Code', 'Courier New', monospace;
}

/* Override body background for v5 */
[data-variant="v5"] {
  background: var(--v5-bg);
}

[data-variant="v5"] main {
  background: transparent;
}

/* ── Blueprint helper: jemná mřížka ── */
.v5-hero__grid-bg,
.v5-cta__grid-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.v5-hero__grid-bg {
  background-image:
    repeating-linear-gradient(
      0deg,
      rgba(26, 58, 107, 0.055) 0,
      rgba(26, 58, 107, 0.055) 1px,
      transparent 1px,
      transparent 44px
    ),
    repeating-linear-gradient(
      90deg,
      rgba(26, 58, 107, 0.055) 0,
      rgba(26, 58, 107, 0.055) 1px,
      transparent 1px,
      transparent 44px
    );
}

.v5-cta__grid-bg {
  background-image:
    repeating-linear-gradient(
      0deg,
      rgba(255, 255, 255, 0.035) 0,
      rgba(255, 255, 255, 0.035) 1px,
      transparent 1px,
      transparent 56px
    ),
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.035) 0,
      rgba(255, 255, 255, 0.035) 1px,
      transparent 1px,
      transparent 56px
    );
}


/* ══════════════════════════════════════
   HERO
   ══════════════════════════════════════ */
.v5-hero {
  position: relative;
  background: var(--v5-bg);
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 9rem 0 6rem;
}

.v5-hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

/* Badge */
.v5-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--v5-mono);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--v5-blue);
  border: 1px solid rgba(26, 58, 107, 0.28);
  padding: 0.4rem 0.9rem;
  margin-bottom: 2.5rem;
}

.v5-hero__badge-dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  background: var(--v5-blue);
  border-radius: 50%;
  flex-shrink: 0;
}

/* Nadpis */
.v5-hero__title {
  font-size: clamp(2.8rem, 5vw, 5rem);
  line-height: 1.12;
  font-weight: 700;
  color: var(--v5-dark);
  margin-bottom: 1.75rem;
  letter-spacing: -0.025em;
}

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

/* Popis */
.v5-hero__desc {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--v5-muted);
  max-width: 440px;
  margin-bottom: 2.25rem;
}

/* Spec bar — technická tabulka */
.v5-hero__specs {
  display: flex;
  margin-bottom: 2.75rem;
  border: 1px solid var(--v5-border);
  background: #fff;
}

.v5-hero__spec {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 0.7rem 1rem;
  border-right: 1px solid var(--v5-border);
}

.v5-hero__spec:last-child {
  border-right: none;
}

.v5-hero__spec-code {
  font-family: var(--v5-mono);
  font-size: 0.58rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--v5-muted);
  margin-bottom: 0.25rem;
}

.v5-hero__spec-val {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--v5-dark);
  letter-spacing: 0.01em;
}

/* Akce */
.v5-hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ── Pravá část: obrázek s anotacemi ── */
.v5-hero__right {
  position: relative;
}

.v5-hero__img-wrap {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: visible;
}

.v5-hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: relative;
  z-index: 1;
}

/* Blueprint rohové značky */
.v5-corner {
  position: absolute;
  width: 16px;
  height: 16px;
  border-color: var(--v5-blue);
  border-style: solid;
  z-index: 3;
}

.v5-corner--tl { top: -5px;    left: -5px;    border-width: 2px 0 0 2px; }
.v5-corner--tr { top: -5px;    right: -5px;   border-width: 2px 2px 0 0; }
.v5-corner--bl { bottom: -5px; left: -5px;    border-width: 0 0 2px 2px; }
.v5-corner--br { bottom: -5px; right: -5px;   border-width: 0 2px 2px 0; }

/* Technické anotace na obrázku */
.v5-annot {
  position: absolute;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--v5-mono);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(14, 17, 23, 0.78);
  padding: 0.3rem 0.55rem;
  white-space: nowrap;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.v5-annot__dot {
  width: 4px;
  height: 4px;
  background: var(--v5-blue-mid);
  border-radius: 50%;
  flex-shrink: 0;
}

.v5-annot--tl { top:    10px; left:  10px; }
.v5-annot--tr { top:    10px; right: 10px; }
.v5-annot--bl { bottom: 10px; left:  10px; }
.v5-annot--br { bottom: 10px; right: 10px; }

/* Caption pod obrázkem */
.v5-hero__img-caption {
  display: flex;
  gap: 1.5rem;
  margin-top: 0.85rem;
  padding-top: 0.6rem;
  border-top: 1px solid var(--v5-border);
  align-items: baseline;
}

.v5-hero__img-caption-id {
  font-family: var(--v5-mono);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  color: var(--v5-blue);
  text-transform: uppercase;
  flex-shrink: 0;
}

.v5-hero__img-caption-name {
  font-size: 0.78rem;
  color: var(--v5-muted);
  letter-spacing: 0.02em;
}


/* ══════════════════════════════════════
   STATISTIKY — tabulkový styl
   ══════════════════════════════════════ */
.v5-stats {
  background: var(--v5-bg-alt);
  border-top: 1px solid var(--v5-border);
  border-bottom: 1px solid var(--v5-border);
}

.v5-stats__table {
  display: flex;
}

.v5-stats__cell {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 2.75rem 2.25rem;
  border-right: 1px solid var(--v5-border);
  position: relative;
}

.v5-stats__cell:last-child {
  border-right: none;
}

.v5-stats__id {
  font-family: var(--v5-mono);
  font-size: 0.58rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--v5-blue);
  margin-bottom: 0.6rem;
}

.v5-stats__val {
  font-size: clamp(2.2rem, 3.5vw, 3.2rem);
  font-weight: 700;
  color: var(--v5-dark);
  line-height: 1;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.v5-stats__label {
  font-family: var(--v5-mono);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--v5-muted);
}


/* ══════════════════════════════════════
   KLIENTI
   ══════════════════════════════════════ */
.v5-clients {
  background: var(--v5-bg);
  padding: 3rem 0;
  border-bottom: 1px solid var(--v5-border);
}

.v5-clients__label {
  font-family: var(--v5-mono);
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--v5-muted);
  margin-bottom: 1.5rem;
}

.v5-clients__grid {
  display: flex;
  gap: 0;
  flex-wrap: wrap;
  border: 1px solid var(--v5-border);
}

.v5-client {
  flex: 1;
  min-width: 120px;
  padding: 1rem 1.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--v5-muted);
  border-right: 1px solid var(--v5-border);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: color 0.2s, background 0.2s;
}

.v5-client:last-child {
  border-right: none;
}

.v5-client:hover {
  color: var(--v5-blue);
  background: rgba(26, 58, 107, 0.04);
}


/* ══════════════════════════════════════
   SDÍLENÁ HLAVIČKA SEKCÍ
   ══════════════════════════════════════ */
.v5-section-head {
  display: flex;
  align-items: baseline;
  gap: 1.5rem;
  margin-bottom: 2.75rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--v5-border);
}

.v5-section-head__code {
  font-family: var(--v5-mono);
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  color: var(--v5-blue);
  text-transform: uppercase;
  white-space: nowrap;
}

.v5-section-head__title {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  font-weight: 700;
  color: var(--v5-dark);
  text-transform: uppercase;
  white-space: nowrap;
}

.v5-section-head__line {
  flex: 1;
  height: 1px;
  background: var(--v5-border);
  align-self: center;
}


/* ══════════════════════════════════════
   SLUŽBY — accordion (details/summary)
   ══════════════════════════════════════ */
.v5-services {
  background: var(--v5-bg);
  padding: 6rem 0;
}

.v5-service-list {
  margin-bottom: 2.5rem;
}

.v5-service {
  border-bottom: 1px solid var(--v5-border);
}

.v5-service:first-of-type {
  border-top: 1px solid var(--v5-border);
}

/* Zakázat výchozí marker v prohlížečích */
.v5-service__head {
  display: grid;
  grid-template-columns: 3rem 1fr auto auto;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem 0;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.v5-service__head::-webkit-details-marker { display: none; }
.v5-service__head::marker { display: none; }

.v5-service__num {
  font-family: var(--v5-mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  color: var(--v5-blue);
  text-transform: uppercase;
}

.v5-service__name {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--v5-dark);
  transition: color 0.2s;
}

.v5-service__head:hover .v5-service__name {
  color: var(--v5-blue);
}

.v5-service__meta {
  font-family: var(--v5-mono);
  font-size: 0.65rem;
  letter-spacing: 0.06em;
  color: var(--v5-muted);
  white-space: nowrap;
}

.v5-service__icon {
  width: 24px;
  height: 24px;
  border: 1px solid var(--v5-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 300;
  color: var(--v5-blue);
  line-height: 1;
  transition: transform 0.25s, background 0.2s;
  flex-shrink: 0;
  background: transparent;
}

details[open] > .v5-service__head .v5-service__icon {
  transform: rotate(45deg);
  background: var(--v5-blue);
  color: #fff;
  border-color: var(--v5-blue);
}

.v5-service__body {
  padding: 0 2rem 2rem 4.5rem;
  color: var(--v5-muted);
  line-height: 1.75;
  font-size: 0.95rem;
  animation: v5-expand 0.25s ease;
}

@keyframes v5-expand {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.v5-service__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.2rem;
}

.v5-service__tag {
  font-family: var(--v5-mono);
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.25rem 0.65rem;
  border: 1px solid rgba(26, 58, 107, 0.28);
  color: var(--v5-blue);
}

/* Odkaz "více" */
.v5-text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--v5-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--v5-blue);
  text-decoration: none;
  border-bottom: 1px solid rgba(26, 58, 107, 0.3);
  padding-bottom: 0.15rem;
  transition: color 0.2s, border-color 0.2s;
}

.v5-text-link:hover {
  color: var(--v5-dark);
  border-color: var(--v5-dark);
}

.v5-services__more {
  padding-top: 1rem;
}


/* ══════════════════════════════════════
   PROJEKTY — tabulkový listing
   ══════════════════════════════════════ */
.v5-projects {
  background: var(--v5-bg-alt);
  padding: 6rem 0;
  border-top: 1px solid var(--v5-border);
}

.v5-projects__table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 2rem;
}

.v5-projects__table {
  width: 100%;
  border-collapse: collapse;
}

.v5-projects__table thead th {
  font-family: var(--v5-mono);
  font-size: 0.58rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--v5-muted);
  text-align: left;
  padding: 0.6rem 1.5rem 0.6rem 0;
  border-bottom: 1px solid var(--v5-border);
  white-space: nowrap;
}

.v5-projects__table thead th:first-child { padding-left: 0; }

.v5-projects__table tbody tr {
  border-bottom: 1px solid #eeece4;
  cursor: pointer;
  transition: background 0.15s;
}

.v5-projects__table tbody tr:hover {
  background: rgba(26, 58, 107, 0.04);
}

.v5-projects__table tbody td {
  font-size: 0.92rem;
  color: var(--v5-text);
  padding: 1.2rem 1.5rem 1.2rem 0;
  vertical-align: middle;
}

.v5-projects__table tbody td:first-child { padding-left: 0; }

.v5-td-name {
  font-weight: 600;
  color: var(--v5-dark) !important;
}

.v5-td-code {
  font-family: var(--v5-mono) !important;
  font-size: 0.7rem !important;
  color: var(--v5-blue) !important;
  letter-spacing: 0.06em;
}

.v5-td-arrow {
  color: var(--v5-blue) !important;
  font-size: 1.1rem !important;
  text-align: right !important;
  padding-right: 0 !important;
  opacity: 0.5;
  transition: opacity 0.2s;
}

.v5-projects__table tbody tr:hover .v5-td-arrow {
  opacity: 1;
}

.v5-projects__more {
  display: flex;
  justify-content: flex-end;
}


/* ══════════════════════════════════════
   CTA — tmavý závěrečný pás
   ══════════════════════════════════════ */
.v5-cta {
  background: #0e1117;
  padding: 7rem 0;
  position: relative;
  overflow: hidden;
}

.v5-cta__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 5rem;
}

.v5-cta__code {
  font-family: var(--v5-mono);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 1.5rem;
}

.v5-cta__title {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.12;
  letter-spacing: -0.025em;
  margin-bottom: 1.25rem;
}

.v5-cta__desc {
  font-size: 0.98rem;
  color: rgba(255, 255, 255, 0.5);
  max-width: 420px;
  line-height: 1.7;
}

.v5-cta__actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
  white-space: nowrap;
}


/* ══════════════════════════════════════
   RESPONZIVITA
   ══════════════════════════════════════ */
@media (max-width: 1100px) {
  .v5-hero__inner {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

@media (max-width: 900px) {
  .v5-hero__inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .v5-hero__right {
    order: -1;
  }

  .v5-hero__desc {
    max-width: 100%;
  }

  .v5-cta__inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .v5-cta__actions {
    flex-direction: row;
  }
}

@media (max-width: 767px) {
  .v5-hero {
    padding: 7rem 0 4rem;
  }

  .v5-hero__specs {
    flex-direction: column;
  }

  .v5-hero__spec {
    border-right: none;
    border-bottom: 1px solid var(--v5-border);
  }

  .v5-hero__spec:last-child {
    border-bottom: none;
  }

  .v5-stats__table {
    flex-wrap: wrap;
  }

  .v5-stats__cell {
    flex-basis: 50%;
    border-right: none;
    border-bottom: 1px solid var(--v5-border);
  }

  .v5-stats__cell:nth-child(odd) {
    border-right: 1px solid var(--v5-border);
  }

  .v5-stats__cell:nth-last-child(-n+2) {
    border-bottom: none;
  }

  .v5-service__head {
    grid-template-columns: 2.5rem 1fr auto;
    gap: 1rem;
  }

  .v5-service__meta {
    display: none;
  }

  .v5-service__body {
    padding-left: 3.5rem;
  }

  .v5-clients__grid {
    flex-wrap: wrap;
  }

  .v5-client {
    flex-basis: 50%;
    border-bottom: 1px solid var(--v5-border);
  }

  .v5-client:nth-child(even) {
    border-right: none;
  }

  .v5-cta__actions {
    flex-direction: column;
  }
}
