:root {
  --bg: #030917;
  --bg-soft: #081224;
  --panel: rgba(6, 16, 34, 0.76);
  --panel-strong: rgba(5, 13, 28, 0.92);
  --line: rgba(255, 106, 0, 0.18);
  --line-strong: rgba(255, 106, 0, 0.38);
  --text: #f4f8ff;
  --muted: #9ab0cf;
  --muted-strong: #c5d4ea;
  --accent: #ff6a00;
  --accent-soft: rgba(255, 106, 0, 0.14);
  --cyan: #ff8b3d;
  --cyan-soft: rgba(255, 139, 61, 0.15);
  --shadow: 0 28px 70px rgba(0, 0, 0, 0.45);
  --radius: 0;
  --container: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: Inter, Arial, sans-serif;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; }

.site-bg {
  position: fixed;
  inset: 0;
  z-index: -3;
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 106, 0, 0.10), transparent 28%),
    radial-gradient(circle at 83% 15%, rgba(255, 106, 0, 0.08), transparent 23%),
    linear-gradient(180deg, #050b16 0%, #020611 100%);
}
.bg-gif {
  position: absolute;
  inset: 0;
  background: url('duxnet_dataflow_bg_poster.png') center/cover no-repeat;
  opacity: 0.18;
  mix-blend-mode: screen;
}
.bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 106, 0, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 106, 0, 0.05) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.8), rgba(0,0,0,0.15));
}
.bg-glow {
  position: absolute;
  filter: blur(80px);
  opacity: 0.18;
}
.bg-glow-a {
  width: 480px;
  height: 480px;
  background: var(--cyan);
  left: -120px;
  top: 180px;
}
.bg-glow-b {
  width: 380px;
  height: 380px;
  background: var(--accent);
  right: -80px;
  top: 40px;
}

.container {
  width: min(calc(100% - 48px), var(--container));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: linear-gradient(180deg, rgba(3, 8, 18, 0.92), rgba(3, 8, 18, 0.66));
  border-bottom: 1px solid rgba(85, 124, 196, 0.16);
}
.header-inner {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}
.brand img {
  width: 168px;
  height: auto;
}
.brand-copy {
  display: grid;
  gap: 2px;
}
.brand-copy strong {
  font-size: 1rem;
  letter-spacing: 0.08em;
}
.brand-copy span {
  color: var(--muted);
  font-size: 0.82rem;
  white-space: nowrap;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}
.main-nav a {
  color: var(--muted-strong);
  font-size: 0.95rem;
  transition: color .2s ease, opacity .2s ease;
}
.main-nav a:hover { color: #fff; }
.nav-cta {
  padding: 12px 16px;
  border: 1px solid rgba(255,106,0,0.45);
  color: #fff !important;
  background: linear-gradient(180deg, rgba(255,106,0,0.18), rgba(255,106,0,0.08));
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.04);
}
.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 106, 0, 0.16);
  background: rgba(4, 13, 28, 0.92);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  padding: 0;
  color: #fff;
}
.nav-toggle span {
  width: 18px;
  height: 2px;
  background: #fff;
  display: block;
}

.hero {
  padding: 68px 0 54px;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 1.08fr);
  gap: 34px;
  align-items: start;
}
.hero-copy,
.office-shell,
.service-card,
.detail-copy,
.detail-panel,
.process-copy,
.process-list article,
.footer-card {
  position: relative;
  background: linear-gradient(180deg, rgba(7,17,36,0.84), rgba(4,11,24,0.84));
  border: 1px solid rgba(255, 106, 0, 0.16);
  box-shadow: var(--shadow);
}
.hero-copy,
.detail-copy,
.process-copy,
.footer-card {
  padding: 34px;
}
.hero-copy::before,
.office-shell::before,
.service-card::before,
.detail-copy::before,
.detail-panel::before,
.process-copy::before,
.process-list article::before,
.footer-card::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.35;
  pointer-events: none;
}
.hero-copy::after,
.office-shell::after,
.service-card::after,
.detail-copy::after,
.detail-panel::after,
.process-copy::after,
.process-list article::after,
.footer-card::after {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(255, 139, 61, 0.08);
  pointer-events: none;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--muted);
}
.kicker span {
  width: 30px;
  height: 1px;
  background: linear-gradient(90deg, var(--accent), var(--cyan));
}
.kicker-small { font-size: 0.72rem; }

.hero-copy h1 {
  margin: 18px 0 18px;
  font-size: clamp(3rem, 5vw, 5.25rem);
  line-height: 0.96;
  letter-spacing: -0.055em;
  max-width: 10.5ch;
}
.hero-lead {
  margin: 0;
  color: var(--muted-strong);
  font-size: 1.06rem;
  line-height: 1.8;
  max-width: 60ch;
}
.hero-actions {
  margin-top: 30px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.btn {
  min-height: 54px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, rgba(255,106,0,0.92), rgba(255,136,0,0.78));
  box-shadow: 0 14px 38px rgba(255, 106, 0, 0.28);
}
.btn-secondary {
  color: #fff;
  border: 1px solid rgba(83, 141, 255, 0.28);
  background: rgba(7, 17, 36, 0.78);
}
.hero-metrics {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.metric {
  padding: 18px;
  background: rgba(4, 12, 26, 0.76);
  border: 1px solid rgba(89, 132, 219, 0.16);
}
.metric span {
  display: block;
  color: var(--muted);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 12px;
}
.metric strong {
  display: block;
  font-size: 1.18rem;
  margin-bottom: 8px;
}
.metric p {
  margin: 0;
  color: var(--muted-strong);
  line-height: 1.55;
  font-size: 0.92rem;
}

.office-shell {
  padding: 18px 18px 16px;
  overflow: hidden;
}
.office-head {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 16px;
  padding: 6px 8px 18px;
}
.office-head h2 {
  margin: 10px 0 0;
  font-size: clamp(1.5rem, 2.6vw, 2.2rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}
.office-badge {
  min-width: 94px;
  padding: 10px 12px;
  text-align: center;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: #fff;
  border: 1px solid rgba(255,106,0,0.38);
  background: linear-gradient(180deg, rgba(255,106,0,0.22), rgba(255,106,0,0.08));
}
.office-stage {
  position: relative;
  min-height: 620px;
  border: 1px solid rgba(88, 133, 224, 0.17);
  background:
    linear-gradient(180deg, rgba(6,13,26,0.8), rgba(4,10,20,0.92)),
    radial-gradient(circle at 50% 110%, rgba(255,139,61,0.16), transparent 40%);
  overflow: hidden;
}
.office-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 106, 0, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 106, 0, 0.05) 1px, transparent 1px);
  background-size: 42px 42px;
  opacity: 0.34;
  pointer-events: none;
}
.office-viewer {
  width: 100%;
  height: 620px;
  --progress-bar-color: var(--accent);
  background: transparent;
}
.viewer-vignette,
.viewer-scan {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.viewer-vignette {
  background:
    radial-gradient(circle at 50% 18%, transparent 0%, transparent 40%, rgba(0,0,0,0.34) 100%),
    linear-gradient(180deg, rgba(3,8,18,0.0) 0%, rgba(3,8,18,0.45) 100%);
}
.viewer-scan {
  background: linear-gradient(180deg, transparent 0%, rgba(255,139,61,0.08) 48%, transparent 52%, transparent 100%);
  background-size: 100% 220px;
  animation: scan 7s linear infinite;
  opacity: 0.5;
}
@keyframes scan {
  from { transform: translateY(-18%); }
  to { transform: translateY(18%); }
}

.hotspot {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  z-index: 2;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
}
.hotspot.hotspot-fixed {
  position: relative;
  overflow: visible;
}
.hotspot-dot {
  position: relative;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(255,106,0,0.16), 0 0 22px rgba(255,106,0,0.52);
  pointer-events: auto;
}
.hotspot-dot::before,
.hotspot-dot::after {
  content: "";
  position: absolute;
  inset: -8px;
  border: 1px solid rgba(255,106,0,0.46);
  border-radius: 50%;
  animation: pulse 2.6s infinite ease-out;
}
.hotspot-dot::after { animation-delay: .9s; }
@keyframes pulse {
  from { transform: scale(.6); opacity: 0.9; }
  to { transform: scale(1.7); opacity: 0; }
}
.hotspot-tooltip {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 12px);
  transform: translate(-50%, 8px);
  min-width: 110px;
  max-width: 210px;
  padding: 9px 12px;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  text-align: center;
  white-space: nowrap;
  background: rgba(5, 13, 28, 0.94);
  border: 1px solid rgba(255, 139, 61, 0.22);
  box-shadow: 0 18px 36px rgba(0,0,0,0.38);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
}
.hotspot-tooltip::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 100%;
  width: 10px;
  height: 10px;
  background: rgba(5, 13, 28, 0.94);
  border-right: 1px solid rgba(255, 139, 61, 0.22);
  border-bottom: 1px solid rgba(255, 139, 61, 0.22);
  transform: translate(-50%, -55%) rotate(45deg);
}
.hotspot:hover .hotspot-tooltip,
.hotspot:focus-visible .hotspot-tooltip,
.hotspot.is-scroll-active .hotspot-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}
.hotspot.is-outside-view .hotspot-tooltip {
  opacity: 0;
  visibility: hidden;
}

.office-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 22px;
  padding: 16px 8px 4px;
  color: var(--muted);
  font-size: 0.84rem;
}
.office-foot span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.office-foot i {
  width: 12px;
  height: 12px;
  background: linear-gradient(135deg, var(--accent), var(--cyan));
  box-shadow: 0 0 14px rgba(255,139,61,0.3);
}

.services,
.detail-block,
.process,
.site-footer {
  padding: 34px 0 0;
}
.section-head {
  padding: 0 0 24px;
}
.section-head h2,
.detail-copy h2,
.process-copy h2,
.site-footer h2 {
  margin: 16px 0 14px;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.02;
  letter-spacing: -0.05em;
}
.section-head p,
.detail-copy p,
.process-copy p,
.site-footer p {
  margin: 0;
  color: var(--muted-strong);
  font-size: 1rem;
  line-height: 1.8;
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.service-card {
  padding: 22px;
  min-height: 255px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255,106,0,0.32);
  box-shadow: 0 26px 50px rgba(0,0,0,0.42);
}
.service-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,106,0,0.26);
  color: var(--accent);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}
.service-card strong {
  margin-top: 28px;
  font-size: 1.28rem;
  line-height: 1.15;
}
.service-card p {
  margin: 14px 0 0;
  color: var(--muted-strong);
  line-height: 1.7;
  font-size: 0.96rem;
}
.service-card em {
  margin-top: 22px;
  color: #fff;
  font-style: normal;
  font-weight: 700;
}

.detail-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 20px;
}
.detail-copy ul {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
}
.detail-copy li {
  position: relative;
  padding-left: 18px;
  color: var(--muted-strong);
  line-height: 1.7;
}
.detail-copy li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 8px;
  height: 1px;
  background: linear-gradient(90deg, var(--accent), var(--cyan));
}
.detail-panel {
  padding: 22px;
}
.tech-box {
  height: 100%;
  min-height: 360px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 14px;
  background: linear-gradient(180deg, rgba(2,9,19,0.8), rgba(6,14,30,0.95));
  border: 1px solid rgba(92, 138, 222, 0.16);
  overflow: hidden;
  position: relative;
}
.tech-box::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 75% 14%, rgba(255,139,61,0.18), transparent 18%),
    radial-gradient(circle at 18% 80%, rgba(255,106,0,0.16), transparent 22%);
  opacity: 0.75;
}
.tech-top,
.tech-box strong,
.tech-box p {
  position: relative;
  z-index: 2;
}
.tech-top {
  color: var(--muted);
  font-size: 0.82rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.tech-box strong {
  font-size: 1.35rem;
  line-height: 1.18;
}
.tech-box p {
  margin: 0;
  color: var(--muted-strong);
  line-height: 1.7;
}
.tech-lines,
.tech-bars,
.tech-rings,
.tech-diagonal,
.tech-chip {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.tech-lines span {
  position: absolute;
  left: 26px;
  right: 26px;
  height: 2px;
  background: linear-gradient(90deg, rgba(255,106,0,0.0), rgba(255,139,61,0.55), rgba(255,106,0,0.0));
  box-shadow: 0 0 18px rgba(255,139,61,0.28);
}
.tech-lines span:nth-child(1) { top: 70px; }
.tech-lines span:nth-child(2) { top: 112px; }
.tech-lines span:nth-child(3) { top: 154px; }
.tech-lines span:nth-child(4) { top: 196px; }
.tech-diagonal::before,
.tech-diagonal::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 1px;
  background: linear-gradient(90deg, rgba(255,106,0,0), rgba(255,106,0,0.7), rgba(255,139,61,0));
  transform: rotate(-32deg);
  box-shadow: 0 0 22px rgba(255,106,0,0.24);
}
.tech-diagonal::before { top: 90px; right: 40px; }
.tech-diagonal::after { top: 130px; right: 90px; }
.tech-bars {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 70px 24px 0;
}
.tech-bars span {
  flex: 1;
  height: 110px;
  border: 1px solid rgba(255,106,0,0.18);
  background: linear-gradient(180deg, rgba(255,106,0,0.22), rgba(255,139,61,0.04));
  box-shadow: inset 0 0 18px rgba(255,106,0,0.08);
}
.tech-bars span:nth-child(2) { height: 155px; }
.tech-bars span:nth-child(3) { height: 88px; }
.tech-rings span {
  position: absolute;
  border: 1px solid rgba(255,139,61,0.34);
  border-radius: 50%;
  box-shadow: 0 0 22px rgba(255,139,61,0.12);
}
.tech-rings span:nth-child(1) { width: 220px; height: 220px; right: 52px; top: 46px; }
.tech-rings span:nth-child(2) { width: 150px; height: 150px; right: 87px; top: 81px; }
.tech-rings span:nth-child(3) { width: 82px; height: 82px; right: 121px; top: 115px; background: rgba(255,139,61,0.1); }
.tech-chip::before,
.tech-chip::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(255,106,0,0.22);
}
.tech-chip::before {
  width: 160px;
  height: 160px;
  top: 64px;
  right: 70px;
  background: linear-gradient(180deg, rgba(255,106,0,0.1), rgba(255,139,61,0.05));
  box-shadow: 0 0 26px rgba(255,106,0,0.12);
}
.tech-chip::after {
  inset: 94px 100px auto auto;
  width: 100px;
  height: 100px;
  box-shadow: 0 0 18px rgba(255,139,61,0.18);
}

.process-grid,
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.process-list {
  display: grid;
  gap: 16px;
}
.process-list article {
  padding: 22px 24px;
}
.process-list strong,
.footer-item strong {
  display: block;
  font-size: 1.14rem;
  margin-bottom: 8px;
}
.process-list p,
.footer-item span {
  margin: 0;
  color: var(--muted-strong);
  line-height: 1.7;
}
.footer-card {
  padding: 34px;
  display: grid;
  gap: 18px;
  grid-auto-flow: column;
  justify-items: anchor-center;
}
.footer-item span {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  margin-bottom: 8px;
}
.footer-btn { margin-top: 8px; width: fit-content; }

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .65s ease, transform .65s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1180px) {
  .hero-grid,
  .detail-grid,
  .process-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-copy h1 {
    max-width: none;
  }
}

@media (max-width: 980px) {
  .brand img { width: 138px; }
  .brand-copy { display: none; }
  .nav-toggle { display: inline-flex; }
  .main-nav {
    position: absolute;
    left: 24px;
    right: 24px;
    top: calc(100% + 8px);
    padding: 18px;
    background: rgba(5, 13, 28, 0.96);
    border: 1px solid rgba(255, 106, 0, 0.16);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }
  .main-nav.is-open { display: flex; }
  .hero-metrics,
  .service-grid {
    grid-template-columns: 1fr;
  }
  .office-stage,
  .office-viewer { min-height: 520px; height: 520px; }
  .hotspot-tooltip {
    min-width: 96px;
    font-size: 0.8rem;
  }
}

@media (max-width: 720px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .header-inner { min-height: 76px; }
  .hero { padding-top: 34px; }
  .hero-copy,
  .detail-copy,
  .detail-panel,
  .process-copy,
  .process-list article,
  .footer-card,
  .service-card { padding: 22px; }
  .hero-copy h1,
  .section-head h2,
  .detail-copy h2,
  .process-copy h2,
  .site-footer h2 {
    font-size: clamp(2.1rem, 10vw, 3.2rem);
    line-height: 0.98;
  }
  .office-head {
    flex-direction: column;
    align-items: start;
  }
  .office-badge { min-width: unset; }
  .office-stage,
  .office-viewer { min-height: 440px; height: 440px; }
  .hotspot-dot {
    width: 12px;
    height: 12px;
  }
  .hotspot-tooltip {
    min-width: 88px;
    padding: 8px 10px;
    font-size: 0.76rem;
  }
}


/* Three.js office hero - v51 */
.office-three {
  position: relative;
  display: block;
  overflow: hidden;
  min-height: 620px;
  height: 620px;
}
.office-three canvas {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  display: block;
  z-index: 1;
}
.office-three .hotspot.hotspot-fixed {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 8;
  overflow: visible;
  will-change: transform, opacity;
}
.office-loader {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 9;
  transform: translate(-50%, -50%);
  padding: 14px 18px;
  color: rgba(255,255,255,.88);
  font-size: .86rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  background: rgba(5, 13, 28, .82);
  border: 1px solid rgba(255, 139, 61, .28);
  box-shadow: 0 18px 46px rgba(0,0,0,.34);
  backdrop-filter: blur(10px);
  transition: opacity .25s ease, visibility .25s ease;
}
.office-loader span { color: var(--accent); }
.office-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.office-loader.is-error {
  width: min(360px, calc(100% - 36px));
  color: #fff;
  text-align: center;
  letter-spacing: 0;
  text-transform: none;
}
@media (max-width: 980px) {
  .office-three { min-height: 520px; height: 520px; }
}
@media (max-width: 720px) {
  .office-three { min-height: 440px; height: 440px; }
}


/* Scroll rotation hero - v41 */
.hero.hero-scroll-office {
  position: relative;
  min-height: 240svh;
}
.hero.hero-scroll-office > .container {
  position: relative;
  min-height: 240svh;
}
.hero-scroll-office .office-shell {
  position: sticky;
  top: 86px;
}
@media (max-width: 980px) {
  .hero.hero-scroll-office,
  .hero.hero-scroll-office > .container {
    min-height: 220svh;
  }
  .hero-scroll-office .office-shell {
    top: 74px;
  }
}


/* Fullscreen opening hero + tuned hotspots - v43 */
.hero.hero-scroll-office {
  position: relative;
  min-height: 240svh;
  padding-top: 12px;
}
.hero.hero-scroll-office > .container {
  position: relative;
  min-height: 240svh;
  max-width: 100%;
  width: 100%;
  padding-left: 0;
  padding-right: 0;
}
.hero-scroll-office .hero-grid {
  grid-template-columns: 1fr;
  gap: 0;
}
.hero-scroll-office .hero-copy {
  display: none;
}
.hero-scroll-office .office-shell {
  position: sticky;
  top: 78px;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}
.hero-scroll-office .office-shell::before,
.hero-scroll-office .office-shell::after {
  display: none;
}
.hero-scroll-office .office-head,
.hero-scroll-office .office-foot {
  display: none;
}
.hero-scroll-office .office-stage {
  min-height: calc(100svh - 88px);
  height: calc(100svh - 88px);
  border: 0;
  border-radius: 0;
}
.hero-scroll-office .office-viewer {
  min-height: calc(100svh - 88px);
  height: calc(100svh - 88px);
}
@media (max-width: 980px) {
  .hero.hero-scroll-office,
  .hero.hero-scroll-office > .container {
    min-height: 220svh;
  }
  .hero-scroll-office .office-shell {
    top: 66px;
  }
  .hero-scroll-office .office-stage,
  .hero-scroll-office .office-viewer {
    min-height: calc(100svh - 72px);
    height: calc(100svh - 72px);
  }
}


/* v46 exact page background behind 3D model */
.hero-scroll-office .office-stage {
  background: transparent !important;
}
.hero-scroll-office .office-stage::before,
.hero-scroll-office .viewer-vignette,
.hero-scroll-office .viewer-scan {
  display: none !important;
}


/* v52: aktivní bod a jeho textové pole se zobrazují podle aktuální části scrollu */
.office-three .hotspot {
  transition: opacity .22s ease;
}
.office-three .hotspot.is-scroll-active .hotspot-dot {
  transform: scale(1.16);
  box-shadow: 0 0 0 8px rgba(255,106,0,0.18), 0 0 28px rgba(255,106,0,0.62);
}
.office-three .hotspot:not(.is-scroll-active) .hotspot-dot {
  transform: scale(.84);
  opacity: .6;
}


/* v54: doladěné pozice bodů; je možné je jemně korigovat přes data-offset-x a data-offset-y */

/* v56: plná výška 3D hero bez spodního useknutí a nové rozdělení služeb */
.hero-scroll-office .office-shell {
  top: 0;
}
.hero-scroll-office .office-stage,
.hero-scroll-office .office-viewer {
  min-height: 100svh;
  height: 100svh;
}
@supports (height: 100dvh) {
  .hero-scroll-office .office-stage,
  .hero-scroll-office .office-viewer {
    min-height: 100dvh;
    height: 100dvh;
  }
}
.office-three .hotspot.is-scroll-active .hotspot-tooltip,
.office-three .hotspot:hover .hotspot-tooltip,
.office-three .hotspot:focus-visible .hotspot-tooltip {
  pointer-events: none;
}
.office-three .hotspot:not(.is-scroll-active):not(:hover):not(:focus-visible) .hotspot-tooltip {
  opacity: 0;
  visibility: hidden;
}
.office-three .hotspot[data-label-position="right"] .hotspot-tooltip {
  left: calc(100% + 12px);
  top: 50%;
  bottom: auto;
  transform: translate(0, -50%);
  text-align: left;
}
.office-three .hotspot[data-label-position="right"] .hotspot-tooltip::after {
  left: -5px;
  top: 50%;
  transform: translateY(-50%) rotate(135deg);
}
.office-three .hotspot[data-label-position="right"]:hover .hotspot-tooltip,
.office-three .hotspot[data-label-position="right"]:focus-visible .hotspot-tooltip,
.office-three .hotspot[data-label-position="right"].is-scroll-active .hotspot-tooltip {
  transform: translate(0, -50%);
}
.office-three .hotspot[data-label-position="top"] .hotspot-tooltip {
  left: 50%;
  bottom: calc(100% + 12px);
  transform: translate(-50%, 0);
}
.office-three .hotspot[data-label-position="top"]:hover .hotspot-tooltip,
.office-three .hotspot[data-label-position="top"]:focus-visible .hotspot-tooltip,
.office-three .hotspot[data-label-position="top"].is-scroll-active .hotspot-tooltip {
  transform: translate(-50%, 0);
}
.service-grid-expanded {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}
.service-grid-expanded .service-card {
  min-height: 245px;
}
@media (max-width: 1320px) {
  .service-grid-expanded {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .main-nav {
    gap: 14px;
  }
  .main-nav a {
    font-size: .88rem;
  }
}
@media (max-width: 980px) {
  .hero-scroll-office .office-shell {
    top: 0;
  }
  .hero-scroll-office .office-stage,
  .hero-scroll-office .office-viewer {
    min-height: 100svh;
    height: 100svh;
  }
  .service-grid-expanded {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 720px) {
  .service-grid-expanded {
    grid-template-columns: 1fr;
  }
  .office-three .hotspot-tooltip {
    max-width: 170px;
    font-size: .78rem;
  }
}

/* v61: neaktivní body jsou úplně schované, aby neplavaly mimo model */
.office-three .hotspot.is-outside-view {
  opacity: 0 !important;
  pointer-events: none !important;
}

/* v66: ladicí režim pro ruční posun 3D hotspotů přes ?editpoints=1 */
html.is-editpoints-mode,
html.is-editpoints-mode body {
  scroll-behavior: auto !important;
}
.office-three.is-editpoints-mode .hotspot {
  z-index: 20;
  touch-action: none;
}
.office-three.is-editpoints-mode .hotspot-dot {
  cursor: grab;
  outline: 2px solid rgba(255,255,255,0.78);
  outline-offset: 4px;
}
.office-three.is-editpoints-mode .hotspot.is-editpoints-active .hotspot-dot,
.office-three.is-editpoints-mode .hotspot.is-editpoints-selected .hotspot-dot {
  cursor: grabbing;
  transform: scale(1.35) !important;
  box-shadow: 0 0 0 10px rgba(255,106,0,0.24), 0 0 34px rgba(255,106,0,0.82);
}
.editpoints-panel {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 9999;
  width: min(430px, calc(100vw - 32px));
  padding: 14px;
  color: #f7fbff;
  background: rgba(3, 8, 18, 0.94);
  border: 1px solid rgba(255, 139, 61, 0.42);
  border-radius: 18px;
  box-shadow: 0 22px 60px rgba(0,0,0,0.45);
  backdrop-filter: blur(14px);
  font-size: 13px;
}
.editpoints-title {
  margin-bottom: 10px;
  color: var(--accent);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .02em;
}
.editpoints-row label {
  display: grid;
  gap: 6px;
  font-weight: 700;
}
.editpoints-row select,
.editpoints-panel textarea {
  width: 100%;
  color: #f7fbff;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 10px;
}
.editpoints-row select {
  padding: 8px 10px;
}
.editpoints-slots,
.editpoints-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 10px;
}
.editpoints-panel button {
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 999px;
  padding: 8px 11px;
  color: #fff;
  background: rgba(255,255,255,0.08);
  font-weight: 800;
  cursor: pointer;
}
.editpoints-panel button:hover,
.editpoints-panel button.is-active {
  border-color: rgba(255,106,0,0.85);
  background: rgba(255,106,0,0.22);
}
.editpoints-status {
  margin: 10px 0 8px;
  color: #ffd7bf;
  font-weight: 700;
}
.editpoints-panel textarea {
  min-height: 148px;
  padding: 10px;
  resize: vertical;
  font-family: Consolas, Monaco, monospace;
  font-size: 12px;
  line-height: 1.45;
}
.editpoints-panel p {
  margin: 10px 0 0;
  color: rgba(247,251,255,0.72);
  line-height: 1.45;
}
@media (max-width: 720px) {
  .editpoints-panel {
    left: 10px;
    right: 10px;
    bottom: 10px;
    width: auto;
    max-height: 46vh;
    overflow: auto;
  }
}


/* v67: finální sjednocení vzhledu, oranžový motiv a mobilní doladění */
.site-header {
  border-bottom-color: rgba(255,106,0,0.22);
}
.main-nav a:hover,
.main-nav a.is-active {
  color: #fff;
}
.nav-toggle,
.main-nav {
  border-color: rgba(255,106,0,0.20);
}
@media (max-width: 980px) {
  .main-nav {
    border-color: rgba(255,106,0,0.24);
    box-shadow: 0 20px 44px rgba(0,0,0,.34), inset 0 0 0 1px rgba(255,106,0,.06);
  }
}
@media (max-width: 768px), (pointer: coarse) {
  .hero.hero-scroll-office,
  .hero.hero-scroll-office > .container {
    min-height: 210svh;
  }
  .office-three .hotspot-dot {
    width: 11px;
    height: 11px;
  }
  .office-three .hotspot-tooltip {
    max-width: 154px;
    white-space: normal;
    line-height: 1.25;
  }
}


/* v68: jednotné oranžové záhlaví na všech stránkách + menší 3D kancelář na telefonu */
.site-header,
body.subpage .site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background:
    linear-gradient(180deg, rgba(5, 10, 20, 0.96), rgba(5, 10, 20, 0.78)),
    linear-gradient(90deg, rgba(255,106,0,0.13), transparent 52%, rgba(255,139,61,0.10));
  border-bottom: 1px solid rgba(255, 106, 0, 0.30);
  box-shadow: 0 18px 42px rgba(0,0,0,.30), inset 0 -1px 0 rgba(255,139,61,.07);
}
.header-inner {
  min-height: 78px;
}
.main-nav {
  gap: clamp(10px, 1.15vw, 18px);
  border: 0;
}
.main-nav a {
  position: relative;
  padding: 10px 0;
  color: rgba(245, 249, 255, 0.78);
  font-weight: 700;
  letter-spacing: -.015em;
}
.main-nav a::after,
body.subpage .main-nav a.is-active:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 3px;
  height: 2px;
  background: linear-gradient(90deg, #ff6a00, #ffb067);
  opacity: 0;
  transform: scaleX(.28);
  transform-origin: left center;
  transition: opacity .2s ease, transform .2s ease;
}
.main-nav a:hover,
.main-nav a.is-active,
body.subpage .main-nav a.is-active {
  color: #fff;
}
.main-nav a:hover::after,
.main-nav a.is-active::after,
body.subpage .main-nav a.is-active:not(.nav-cta)::after {
  opacity: 1;
  transform: scaleX(1);
}
.site-footer.subpage-footer,
.site-footer {
  border-top: 1px solid rgba(255,106,0,.18);
}
@media (max-width: 980px) {
  .header-inner {
    min-height: 72px;
  }
  .main-nav {
    left: 14px;
    right: 14px;
    top: calc(100% + 8px);
    padding: 12px;
    gap: 8px;
    border: 1px solid rgba(255,106,0,.28);
    background: linear-gradient(180deg, rgba(7,13,27,.98), rgba(4,9,20,.98));
    box-shadow: 0 22px 55px rgba(0,0,0,.45), inset 0 0 0 1px rgba(255,139,61,.06);
  }
  .main-nav a {
    padding: 12px 14px;
    border: 1px solid rgba(255,255,255,.06);
    background: rgba(255,255,255,.025);
  }
  .main-nav a::after,
  body.subpage .main-nav a.is-active:not(.nav-cta)::after {
    display: none;
  }
  .main-nav a:hover,
  .main-nav a.is-active,
  body.subpage .main-nav a.is-active {
    border-color: rgba(255,106,0,.34);
    background: rgba(255,106,0,.12);
  }
}
@media (max-width: 768px), (pointer: coarse) {
  .hero-scroll-office .office-stage,
  .hero-scroll-office .office-viewer,
  .office-three {
    min-height: 74svh;
    height: 74svh;
  }
  .office-shell {
    max-width: 100%;
  }
  .office-head {
    padding: 14px 14px 10px;
  }
  .office-foot {
    padding: 10px 14px 12px;
  }
  .office-three .hotspot-dot {
    width: 10px;
    height: 10px;
  }
  .office-three .hotspot-tooltip {
    max-width: 145px;
    font-size: .74rem;
  }
}
@media (max-width: 480px) {
  .hero-scroll-office .office-stage,
  .hero-scroll-office .office-viewer,
  .office-three {
    min-height: 68svh;
    height: 68svh;
  }
}


/* v69: návrat původního modro-oranžového pozadí + jednotné záhlaví */
:root {
  --line: rgba(84, 132, 214, 0.17);
  --line-strong: rgba(84, 132, 214, 0.36);
  --cyan: #47d7ff;
  --cyan-soft: rgba(71, 215, 255, 0.15);
}
body {
  background:
    radial-gradient(circle at 12% 16%, rgba(0, 128, 255, 0.10), transparent 30%),
    radial-gradient(circle at 86% 13%, rgba(255, 106, 0, 0.08), transparent 25%),
    #030917;
}
.site-bg {
  background:
    radial-gradient(circle at 12% 18%, rgba(0, 128, 255, 0.10), transparent 28%),
    radial-gradient(circle at 83% 15%, rgba(255, 106, 0, 0.08), transparent 23%),
    linear-gradient(180deg, #050b16 0%, #020611 100%) !important;
}
.bg-grid {
  background-image:
    linear-gradient(rgba(90, 140, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(90, 140, 255, 0.05) 1px, transparent 1px) !important;
}
.bg-glow-a { background: #47d7ff !important; }
.bg-glow-b { background: #ff6a00 !important; }

.site-header,
body.subpage .site-header {
  position: sticky !important;
  top: 0 !important;
  z-index: 80 !important;
  backdrop-filter: blur(18px);
  background:
    linear-gradient(180deg, rgba(3, 8, 18, 0.94), rgba(3, 8, 18, 0.70)),
    linear-gradient(90deg, rgba(71,215,255,0.08), transparent 45%, rgba(255,106,0,0.10)) !important;
  border-bottom: 1px solid rgba(85, 124, 196, 0.22) !important;
  box-shadow: 0 18px 42px rgba(0,0,0,.30), inset 0 -1px 0 rgba(255,106,0,.07) !important;
}
.header-inner,
body.subpage .header-inner {
  min-height: 78px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 20px !important;
}
.brand img,
body.subpage .brand img { width: 168px !important; height: auto !important; }
.main-nav,
body.subpage .main-nav {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.15vw, 18px);
  border: 0;
}
.main-nav a,
body.subpage .main-nav a {
  position: relative;
  padding: 10px 0;
  color: rgba(245, 249, 255, 0.78);
  font-weight: 700;
  letter-spacing: -.015em;
}
.main-nav a::after,
body.subpage .main-nav a.is-active:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 3px;
  height: 2px;
  background: linear-gradient(90deg, #47d7ff, #ff6a00) !important;
  opacity: 0;
  transform: scaleX(.28);
  transform-origin: left center;
  transition: opacity .2s ease, transform .2s ease;
}
.main-nav a:hover,
.main-nav a.is-active,
body.subpage .main-nav a:hover,
body.subpage .main-nav a.is-active { color: #fff; }
.main-nav a:hover::after,
.main-nav a.is-active::after,
body.subpage .main-nav a.is-active:not(.nav-cta)::after {
  opacity: 1;
  transform: scaleX(1);
}
.hero-copy,
.office-shell,
.service-card,
.detail-copy,
.detail-panel,
.process-copy,
.process-list article,
.footer-card {
  border-color: rgba(84, 132, 214, 0.18) !important;
}

.hero-copy::after,
.office-shell::after,
.service-card::after,
.detail-copy::after,
.detail-panel::after,
.process-copy::after,
.process-list article::after,
.footer-card::after {
  border-color: rgba(71,215,255,0.08) !important;
}
.metric,
.office-stage {
  border-color: rgba(88, 133, 224, 0.17) !important;
}
.office-stage {
  background:
    linear-gradient(180deg, rgba(6,13,26,0.8), rgba(4,10,20,0.92)),
    radial-gradient(circle at 50% 110%, rgba(255,139,61,0.16), transparent 40%) !important;
}
.hero-scroll-office .office-stage {
  background: transparent !important;
}

@media (max-width: 980px) {
  .brand img,
  body.subpage .brand img { width: 138px !important; }
  .nav-toggle { display: inline-flex; }
  .main-nav,
  body.subpage .main-nav {
    position: absolute;
    left: 14px;
    right: 14px;
    top: calc(100% + 8px);
    padding: 12px;
    gap: 8px;
    border: 1px solid rgba(85, 124, 196, 0.26) !important;
    background: linear-gradient(180deg, rgba(7,13,27,.98), rgba(4,9,20,.98)) !important;
    box-shadow: 0 22px 55px rgba(0,0,0,.45), inset 0 0 0 1px rgba(255,106,0,.06);
    display: none;
    flex-direction: column;
    align-items: stretch;
  }
  .main-nav.is-open,
  body.subpage .main-nav.is-open { display: flex; }
  .main-nav a,
  body.subpage .main-nav a {
    padding: 12px 14px;
    border: 1px solid rgba(255,255,255,.06);
    background: rgba(255,255,255,.025);
  }
  .main-nav a::after,
  body.subpage .main-nav a.is-active:not(.nav-cta)::after { display: none; }
  .main-nav a:hover,
  .main-nav a.is-active,
  body.subpage .main-nav a:hover,
  body.subpage .main-nav a.is-active {
    border-color: rgba(255,106,0,.32) !important;
    background: linear-gradient(90deg, rgba(71,215,255,.08), rgba(255,106,0,.10)) !important;
  }
}
@media (max-width: 768px), (pointer: coarse) {
  .hero-scroll-office .office-stage,
  .hero-scroll-office .office-viewer,
  .office-three {
    min-height: 72svh !important;
    height: 72svh !important;
  }
}
@media (max-width: 480px) {
  .hero-scroll-office .office-stage,
  .hero-scroll-office .office-viewer,
  .office-three {
    min-height: 66svh !important;
    height: 66svh !important;
  }
}


/* v70: mobilní 3D kancelář vrácená na kalibrovanou velikost pro body laděné přes ?editpoints=1 */
@media (max-width: 768px), (pointer: coarse) {
  .hero-scroll-office .office-stage,
  .hero-scroll-office .office-viewer,
  .office-three,
  html.is-editpoints-mode .hero-scroll-office .office-stage,
  html.is-editpoints-mode .hero-scroll-office .office-viewer,
  html.is-editpoints-mode .office-three {
    min-height: 74svh !important;
    height: 74svh !important;
  }
}
@media (max-width: 480px) {
  .hero-scroll-office .office-stage,
  .hero-scroll-office .office-viewer,
  .office-three,
  html.is-editpoints-mode .hero-scroll-office .office-stage,
  html.is-editpoints-mode .hero-scroll-office .office-viewer,
  html.is-editpoints-mode .office-three {
    min-height: 68svh !important;
    height: 68svh !important;
  }
}

/* v72: mobilní kancelář a zápatí */
.footer-contact-bar {
  display: grid;
  grid-template-columns: 0.9fr 1.35fr 1fr 1fr;
  gap: 10px;
  align-items: stretch;
  margin-bottom: 16px;
  padding: 14px;
  background:
    linear-gradient(180deg, rgba(3, 8, 18, 0.94), rgba(3, 8, 18, 0.72)),
    linear-gradient(90deg, rgba(71,215,255,0.08), transparent 45%, rgba(255,106,0,0.10));
  border: 1px solid rgba(85, 124, 196, 0.22);
  box-shadow: 0 18px 42px rgba(0,0,0,.30), inset 0 -1px 0 rgba(255,106,0,.07);
}
.footer-contact-item {
  min-width: 0;
  padding: 12px 14px;
  border: 1px solid rgba(255,255,255,.06);
  background: rgba(255,255,255,.025);
}
.footer-contact-item span {
  display: block;
  margin-bottom: 6px;
  color: #ff8b3d;
  font-size: .68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .16em;
}
.footer-contact-item strong,
.footer-contact-item a {
  display: block;
  min-width: 0;
  color: rgba(245,249,255,.92);
  font-size: .9rem;
  font-weight: 700;
  line-height: 1.35;
  overflow-wrap: anywhere;
}
.footer-contact-item a:hover { color: #fff; }
.footer-main-grid {
  grid-template-columns: minmax(0, 1fr) minmax(320px, .82fr) !important;
  align-items: stretch !important;
}
.footer-copy .footer-bottom { display: none !important; }

@media (max-width: 1180px) {
  .footer-contact-bar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-main-grid { grid-template-columns: 1fr !important; }
}
@media (max-width: 768px), (pointer: coarse) {
  .hero-scroll-office .office-stage,
  .hero-scroll-office .office-viewer,
  .office-three,
  html.is-editpoints-mode .hero-scroll-office .office-stage,
  html.is-editpoints-mode .hero-scroll-office .office-viewer,
  html.is-editpoints-mode .office-three {
    min-height: 68svh !important;
    height: 68svh !important;
  }
}
@media (max-width: 720px) {
  .footer-contact-bar {
    grid-template-columns: 1fr !important;
    width: min(calc(100% - 28px), var(--container)) !important;
    padding: 12px !important;
  }
  .footer-main-grid { grid-template-columns: 1fr !important; }
  .sub-footer-links {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }
}
@media (max-width: 480px) {
  .footer-contact-bar { width: min(calc(100% - 22px), var(--container)) !important; }
}


/* v75: klasické velké zápatí */
.footer-merged {
  display: grid;
  gap: 0;
  padding: 16px;
  background:
    linear-gradient(180deg, rgba(3, 8, 18, 0.94), rgba(3, 8, 18, 0.72)),
    linear-gradient(90deg, rgba(71,215,255,0.08), transparent 45%, rgba(255,106,0,0.10));
  border: 1px solid rgba(85, 124, 196, 0.22);
  box-shadow: 0 18px 42px rgba(0,0,0,.30), inset 0 -1px 0 rgba(255,106,0,.07);
}
.footer-contact-bar--merged {
  margin-bottom: 0;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}
.footer-merged-links {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,.08);
}
.footer-merged .sub-footer-note {
  margin: 8px 0 14px;
}
.footer-merged .sub-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
@media (max-width: 720px) {
  .footer-merged {
    width: min(calc(100% - 28px), var(--container)) !important;
    padding: 12px !important;
  }
  .footer-merged-links {
    margin-top: 12px;
    padding-top: 12px;
  }
  .footer-merged .sub-footer-links {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }
}
@media (max-width: 480px) {
  .footer-merged { width: min(calc(100% - 22px), var(--container)) !important; }
}

/* v76: celostránkový loader 3D modelu a blokace klikání při startu */
html.office-preloader-active,
html.office-preloader-active body {
  overflow: hidden !important;
}
.page-model-preloader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: grid;
  place-items: center;
  padding: 24px;
  color: #fff;
  pointer-events: auto;
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 106, 0, 0.22), transparent 34%),
    radial-gradient(circle at 50% 52%, rgba(71, 215, 255, 0.12), transparent 44%),
    linear-gradient(180deg, rgba(3, 8, 18, 0.98), rgba(3, 8, 18, 0.94));
  transition: opacity .45s ease, visibility .45s ease;
}
.page-model-preloader::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 106, 0, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(71, 215, 255, 0.06) 1px, transparent 1px);
  background-size: 46px 46px;
  opacity: .38;
  pointer-events: none;
}
.page-model-preloader::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -22%;
  height: 44%;
  background: linear-gradient(180deg, transparent, rgba(255, 106, 0, 0.10), transparent);
  animation: modelLoaderScan 2.8s linear infinite;
  pointer-events: none;
}
.model-preloader-card {
  position: relative;
  z-index: 1;
  width: min(420px, 100%);
  padding: 28px 24px 24px;
  text-align: center;
  background: rgba(5, 13, 28, .74);
  border: 1px solid rgba(255, 139, 61, .28);
  box-shadow: 0 26px 80px rgba(0,0,0,.42), inset 0 1px 0 rgba(255,255,255,.07);
  backdrop-filter: blur(14px);
}
.model-preloader-logo {
  margin-bottom: 16px;
}
.model-preloader-logo-svg {
  display: block;
  width: min(100%, 320px);
  margin: 0 auto;
  overflow: visible;
  filter: drop-shadow(0 0 24px rgba(255, 106, 0, .18));
}
.model-preloader-logo-svg .logo-segment {
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  animation: modelLogoSegment .75s cubic-bezier(.2,.88,.22,1.05) forwards;
}
.model-preloader-logo-svg .logo-segment-accent {
  fill: #eb5c0b;
}
.model-preloader-logo-svg .logo-segment-light {
  fill: #ffffff;
  filter: drop-shadow(0 0 14px rgba(255,255,255,.12));
}
.model-preloader-logo-svg .logo-segment-1 { animation-delay: .05s; }
.model-preloader-logo-svg .logo-segment-2 { animation-delay: .22s; }
.model-preloader-logo-svg .logo-segment-3 { animation-delay: .36s; }
.model-preloader-logo-svg .logo-segment-4 { animation-delay: .49s; }
.model-preloader-logo-svg .logo-segment-5 { animation-delay: .62s; }
.model-preloader-logo-svg .logo-segment-6 { animation-delay: .75s; }
.model-preloader-logo-svg .logo-segment-7 { animation-delay: .88s; }
.model-preloader-subtitle {
  margin-bottom: 16px;
  color: rgba(255,255,255,.76);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.model-preloader-bar {
  position: relative;
  overflow: hidden;
  height: 6px;
  width: 100%;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.08);
}
.model-preloader-bar span {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), #ffd1aa);
  box-shadow: 0 0 22px rgba(255, 106, 0, .42);
  transition: width .18s ease;
}
.model-preloader-percent {
  margin-top: 10px;
  color: var(--accent);
  font-size: .84rem;
  font-weight: 900;
  letter-spacing: .12em;
}
.page-model-preloader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.page-model-preloader.is-error .model-preloader-card {
  border-color: rgba(255, 75, 75, .42);
}
.page-model-preloader.is-error .model-preloader-percent {
  color: #ff8a8a;
}
/* v80: bez clip-path na SVG path, aby se logo ve Firefoxu neořezávalo. */
@keyframes modelLogoSegment {
  0% {
    opacity: 0;
    transform: translateY(18px) scale(.98);
    filter: brightness(.8) blur(7px);
  }
  55% {
    opacity: 1;
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: brightness(1) blur(0);
  }
}
@keyframes modelLoaderScan {
  0% { transform: translateY(0); }
  100% { transform: translateY(330%); }
}
@media (max-width: 720px) {
  .model-preloader-card {
    padding: 24px 18px 20px;
  }
  .model-preloader-subtitle {
    font-size: .7rem;
    letter-spacing: .12em;
  }
}


/* v82: oprava mobilního scrollování 3D kanceláře po v81 */
@media (max-width: 768px), (pointer: coarse) {
  .hero.hero-scroll-office,
  .hero.hero-scroll-office > .container {
    min-height: 210svh !important;
  }

  .hero-scroll-office .office-shell {
    position: sticky !important;
    top: 0 !important;
  }

  .hero-scroll-office .office-stage,
  .hero-scroll-office .office-viewer,
  .office-three,
  html.is-editpoints-mode .hero-scroll-office .office-stage,
  html.is-editpoints-mode .hero-scroll-office .office-viewer,
  html.is-editpoints-mode .office-three {
    min-height: 68svh !important;
    height: 68svh !important;
    max-height: none !important;
  }

  .hero-mobile-service-hint {
    display: block;
  }
}

@media (max-width: 480px) {
  .hero-scroll-office .office-stage,
  .hero-scroll-office .office-viewer,
  .office-three,
  html.is-editpoints-mode .hero-scroll-office .office-stage,
  html.is-editpoints-mode .hero-scroll-office .office-viewer,
  html.is-editpoints-mode .office-three {
    min-height: 68svh !important;
    height: 68svh !important;
    max-height: none !important;
  }
}

.hero-mobile-service-hint {
  display: none;
  width: min(calc(100% - 28px), var(--container));
  margin: 14px auto 0;
  padding: 16px 18px;
  background:
    linear-gradient(180deg, rgba(5, 13, 28, .86), rgba(5, 13, 28, .72)),
    linear-gradient(90deg, rgba(71,215,255,.07), rgba(255,106,0,.10));
  border: 1px solid rgba(255,106,0,.20);
  box-shadow: 0 16px 40px rgba(0,0,0,.28);
}

.hero-mobile-service-hint strong {
  display: block;
  margin-bottom: 6px;
  color: #fff;
  font-size: 1.05rem;
  line-height: 1.2;
}

.hero-mobile-service-hint span {
  display: block;
  color: rgba(233, 240, 255, .78);
  font-size: .92rem;
  line-height: 1.45;
}


/* v83: mobilní nápověda ke scrollování přímo v 3D části */
.office-scroll-cue {
  display: none;
}

@media (max-width: 768px), (pointer: coarse) {
  .office-scroll-cue {
    position: absolute;
    left: 50%;
    bottom: max(18px, env(safe-area-inset-bottom));
    z-index: 9;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transform: translateX(-50%);
    padding: 10px 14px;
    color: rgba(255, 255, 255, .92);
    font-size: .78rem;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
    white-space: nowrap;
    pointer-events: none;
    background:
      linear-gradient(180deg, rgba(5, 13, 28, .88), rgba(5, 13, 28, .70)),
      linear-gradient(90deg, rgba(71,215,255,.10), rgba(255,106,0,.16));
    border: 1px solid rgba(255,106,0,.28);
    box-shadow: 0 16px 42px rgba(0,0,0,.34), 0 0 0 1px rgba(255,255,255,.04) inset;
    animation: officeScrollCueFloat 1.55s ease-in-out infinite;
  }

  .office-scroll-cue i {
    width: 9px;
    height: 9px;
    border-right: 2px solid #ff6a00;
    border-bottom: 2px solid #ff6a00;
    transform: rotate(45deg);
    box-shadow: 3px 3px 10px rgba(255,106,0,.42);
  }
}

@keyframes officeScrollCueFloat {
  0%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(7px);
  }
}


/* v92: 3D body jako tlačítka, hover modře a scroll prstem přes model */
.office-three,
.office-stage {
  touch-action: pan-y !important;
}

.office-three canvas {
  pointer-events: none !important;
  touch-action: pan-y !important;
}

.office-three .hotspot {
  z-index: 4;
  touch-action: pan-y;
  min-width: 34px;
  min-height: 34px;
}

.office-three .hotspot:hover,
.office-three .hotspot:focus-visible {
  z-index: 40;
}

.office-three .hotspot .hotspot-tooltip {
  pointer-events: auto !important;
  cursor: pointer;
}

.office-three .hotspot:hover .hotspot-dot,
.office-three .hotspot:focus-visible .hotspot-dot {
  background: #47d7ff;
  box-shadow:
    0 0 0 9px rgba(71, 215, 255, .18),
    0 0 28px rgba(71, 215, 255, .65),
    0 0 46px rgba(255, 106, 0, .25);
}

.office-three .hotspot:hover .hotspot-dot::before,
.office-three .hotspot:hover .hotspot-dot::after,
.office-three .hotspot:focus-visible .hotspot-dot::before,
.office-three .hotspot:focus-visible .hotspot-dot::after {
  border-color: rgba(71, 215, 255, .58);
}

.office-three .hotspot.is-scroll-inactive:hover,
.office-three .hotspot.is-scroll-inactive:focus-visible {
  opacity: 1 !important;
}

.office-three .hotspot.is-scroll-inactive:hover .hotspot-tooltip,
.office-three .hotspot.is-scroll-inactive:focus-visible .hotspot-tooltip {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translate(-50%, 0) !important;
  border-color: rgba(71, 215, 255, .45);
  background:
    linear-gradient(180deg, rgba(5, 13, 28, .98), rgba(5, 13, 28, .92)),
    linear-gradient(90deg, rgba(71, 215, 255, .14), rgba(255, 106, 0, .10));
  box-shadow: 0 20px 48px rgba(0,0,0,.48), 0 0 22px rgba(71,215,255,.14);
}

.office-three .hotspot[data-label-position="right"].is-scroll-inactive:hover .hotspot-tooltip,
.office-three .hotspot[data-label-position="right"].is-scroll-inactive:focus-visible .hotspot-tooltip {
  transform: translate(0, -50%) !important;
}

.office-three .hotspot[data-label-position="top"].is-scroll-inactive:hover .hotspot-tooltip,
.office-three .hotspot[data-label-position="top"].is-scroll-inactive:focus-visible .hotspot-tooltip {
  transform: translate(-50%, 0) !important;
}

@media (max-width: 768px), (pointer: coarse) {
  .office-three .hotspot {
    min-width: 42px;
    min-height: 42px;
  }
}


/* v93: odstranění mrtvé mezery před začátkem otáčení modelu */
.hero.hero-scroll-office {
  padding-top: 0 !important;
}


/* v95: kancelář je sticky hned pod horním menu, bez mrtvé mezery před otáčením */
:root {
  --office-sticky-offset: 90px;
}

.hero-scroll-office .office-shell {
  top: var(--office-sticky-offset) !important;
}

.hero-scroll-office .office-stage,
.hero-scroll-office .office-viewer,
.office-three {
  min-height: calc(100svh - var(--office-sticky-offset)) !important;
  height: calc(100svh - var(--office-sticky-offset)) !important;
}

@supports (height: 100dvh) {
  .hero-scroll-office .office-stage,
  .hero-scroll-office .office-viewer,
  .office-three {
    min-height: calc(100dvh - var(--office-sticky-offset)) !important;
    height: calc(100dvh - var(--office-sticky-offset)) !important;
  }
}

@media (max-width: 980px) {
  :root {
    --office-sticky-offset: 76px;
  }
}

@media (max-width: 480px) {
  :root {
    --office-sticky-offset: 76px;
  }
}


/* v97: 3D kancelář ještě jemně výš, aby byl dole vidět prostor modelu */
.office-three {
  --office-model-lift-y: -95px;
}

.office-three canvas {
  transform: translateY(var(--office-model-lift-y)) !important;
}

@media (max-width: 980px) {
  .office-three {
    --office-model-lift-y: -62px;
  }
}

@media (max-width: 480px) {
  .office-three {
    --office-model-lift-y: -44px;
  }
}


/* v99: model zůstává jako ve v97, prodloužený je jen box/viewport 3D kanceláře */
.office-three {
  --office-model-box-extra-bottom: 115px;
}

.hero-scroll-office .office-stage,
.hero-scroll-office .office-viewer,
.office-three {
  min-height: calc(100svh - var(--office-sticky-offset) + var(--office-model-box-extra-bottom)) !important;
  height: calc(100svh - var(--office-sticky-offset) + var(--office-model-box-extra-bottom)) !important;
}

@supports (height: 100dvh) {
  .hero-scroll-office .office-stage,
  .hero-scroll-office .office-viewer,
  .office-three {
    min-height: calc(100dvh - var(--office-sticky-offset) + var(--office-model-box-extra-bottom)) !important;
    height: calc(100dvh - var(--office-sticky-offset) + var(--office-model-box-extra-bottom)) !important;
  }
}

@media (max-width: 980px) {
  .office-three {
    --office-model-box-extra-bottom: 62px;
  }
}

@media (max-width: 480px) {
  .office-three {
    --office-model-box-extra-bottom: 44px;
  }
}


/* v100: nové široké zápatí a vzhled bez boxů */
.site-footer--showcase {
  padding: 44px 0 0 !important;
  background:
    radial-gradient(circle at 12% 20%, rgba(0, 128, 255, 0.14), transparent 30%),
    radial-gradient(circle at 86% 18%, rgba(255, 106, 0, 0.12), transparent 26%),
    linear-gradient(180deg, #03101f 0%, #020b18 100%);
  border-top: 1px solid rgba(255, 106, 0, 0.16);
}

.footer-showcase {
  width: min(calc(100% - 42px), 1680px);
  margin: 0 auto;
}

.footer-showcase__grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 0.9fr 0.95fr 1.35fr;
  gap: 34px;
  align-items: start;
  padding: 8px 0 28px;
}

.footer-showcase__col {
  min-width: 0;
}

.footer-showcase__logo {
  width: 182px;
  max-width: 100%;
  height: auto;
  display: block;
}

.footer-showcase__title,
.footer-showcase__tagline {
  margin: 0 0 18px;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

.footer-showcase__tagline {
  margin-top: 14px;
  color: rgba(229, 239, 255, 0.82);
  letter-spacing: 0.08em;
}

.footer-showcase__text {
  margin: 0;
  color: rgba(232, 240, 255, 0.88);
  line-height: 1.86;
}

.footer-showcase__text--compact {
  max-width: 34ch;
}

.footer-showcase__links,
.footer-showcase__features,
.footer-showcase__about {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

.footer-showcase__features {
  margin-top: 18px;
  gap: 14px;
}

.footer-showcase__features li,
.footer-showcase__about li {
  position: relative;
  padding-left: 16px;
  color: rgba(232, 240, 255, 0.88);
}

.footer-showcase__features li::before,
.footer-showcase__about li::before,
.footer-showcase__links li::before,
.footer-showcase__projects a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(255, 106, 0, 0.08);
}

.footer-showcase__links li {
  position: relative;
  padding-left: 16px;
}

.footer-showcase__links a,
.footer-showcase__projects a {
  color: rgba(239, 245, 255, 0.92);
  text-decoration: none;
  transition: color .2s ease, transform .2s ease;
}

.footer-showcase__links a:hover,
.footer-showcase__projects a:hover {
  color: #fff;
  transform: translateX(2px);
}

.footer-showcase-form {
  display: grid;
  gap: 12px;
}

.footer-showcase-form__row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.footer-showcase-form input,
.footer-showcase-form textarea {
  width: 100%;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(4, 13, 27, 0.74);
  color: #eef4ff;
  padding: 14px 16px;
  font: inherit;
  outline: none;
  box-sizing: border-box;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.footer-showcase-form textarea {
  resize: vertical;
  min-height: 136px;
}

.footer-showcase-form input::placeholder,
.footer-showcase-form textarea::placeholder {
  color: rgba(206, 221, 244, 0.64);
}

.footer-showcase-form input:focus,
.footer-showcase-form textarea:focus {
  border-color: rgba(255, 106, 0, 0.42);
  box-shadow: 0 0 0 1px rgba(255, 106, 0, 0.22);
  background: rgba(5, 15, 31, 0.88);
}

.footer-showcase-form__button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 54px;
  border: 0;
  cursor: pointer;
  background: linear-gradient(90deg, #f27b1a, #ff6a00);
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  box-shadow: 0 18px 40px rgba(255, 106, 0, 0.18);
}

.footer-showcase__bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px 26px;
  padding: 24px 0 26px;
}

.footer-showcase__bottom p {
  margin: 0;
  color: rgba(214, 224, 241, 0.86);
}

.footer-showcase__projects {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
}

.footer-showcase__projects span {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.84rem;
  color: var(--accent);
  font-weight: 700;
  margin-right: 6px;
}

.footer-showcase__projects a {
  position: relative;
  padding-left: 14px;
}

@media (max-width: 1380px) {
  .footer-showcase__grid {
    grid-template-columns: 1.15fr 0.9fr 0.9fr 1fr;
  }

  .footer-showcase__form-col {
    grid-column: 1 / -1;
  }
}

@media (max-width: 980px) {
  .footer-showcase {
    width: min(calc(100% - 28px), 1680px);
  }

  .footer-showcase__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px;
  }

  .footer-showcase__form-col {
    grid-column: 1 / -1;
  }

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

@media (max-width: 640px) {
  .footer-showcase__grid,
  .footer-showcase-form__row {
    grid-template-columns: 1fr;
  }

  .footer-showcase__logo {
    width: 150px;
  }
}


/* v103: formulář je přímo ve sloupci O nás */
.footer-showcase__about-form {
  min-width: min(100%, 420px);
}

.footer-showcase__about-form .footer-showcase-form {
  margin-top: 18px;
}

.footer-showcase__about-form .footer-showcase__text {
  margin-bottom: 0;
}

@media (min-width: 1381px) {
  .footer-showcase__grid {
    grid-template-columns: 1.18fr 0.85fr 0.85fr 1.45fr !important;
  }
}

@media (max-width: 1380px) {
  .footer-showcase__about-form {
    grid-column: span 2;
  }
}

@media (max-width: 980px) {
  .footer-showcase__about-form {
    grid-column: 1 / -1;
  }
}


/* v104: menší 3D kancelář na telefonu */
@media (max-width: 768px), (pointer: coarse) {
  .office-three {
    --office-model-lift-y: -170px;
    --office-model-box-extra-bottom: 0px;
  }
}

@media (max-width: 480px) {
  .office-three {
    --office-model-lift-y: -156px;
    --office-model-box-extra-bottom: 0px;
  }
}


/* v105: footer podle skutečného obsahu webu + model níž */
.footer-showcase__grid--content {
  grid-template-columns: 1.25fr 0.85fr 0.75fr 1.45fr !important;
  gap: clamp(28px, 4vw, 58px);
}

.footer-showcase__grid--content .footer-showcase__title {
  font-size: clamp(1.7rem, 3.2vw, 3.9rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
  color: var(--accent);
  margin-bottom: 18px;
}

.footer-showcase__grid--content .footer-showcase__brand .footer-showcase__title,
.footer-showcase__brand .footer-showcase__tagline {
  font-size: 0.86rem;
  letter-spacing: 0.08em;
  line-height: 1.25;
}

.footer-showcase__text {
  max-width: 36ch;
}

.footer-showcase__about-form .footer-showcase__text {
  max-width: 44ch;
}

.footer-showcase__about-form {
  min-width: 0;
}

.footer-showcase__about-form .footer-showcase-form {
  margin-top: 22px;
}

.footer-showcase-form__row {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.footer-showcase__site-map a {
  white-space: nowrap;
}

@media (max-width: 1280px) {
  .footer-showcase__grid--content {
    grid-template-columns: 1fr 1fr !important;
  }

  .footer-showcase__about-form {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  .footer-showcase__grid--content {
    grid-template-columns: 1fr !important;
  }

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

  .footer-showcase__grid--content .footer-showcase__title {
    font-size: clamp(1.6rem, 10vw, 2.6rem);
  }
}


/* v106: širší obsah, samostatná stránka O nás a čistší styl bez gradientových boxů */
:root {
  --container: 1680px;
}

.container,
body.subpage .container {
  width: min(calc(100% - 64px), var(--container)) !important;
}

.site-header,
body.subpage .site-header {
  background: rgba(3, 8, 18, 0.94) !important;
  box-shadow: none !important;
}

.site-bg {
  background: #030917 !important;
}

.bg-glow,
.bg-glow-a,
.bg-glow-b {
  display: none !important;
}

.bg-grid {
  opacity: .35;
}

.hero-copy,
.office-shell,
.service-card,
.detail-copy,
.detail-panel,
.process-copy,
.process-list article,
.footer-card,
.sub-hero__main,
.sub-hero__side,
.sub-section,
.sub-card,
.sub-cta,
.sub-table,
.sub-flow,
.sub-related,
.sub-footer-card,
.sub-process,
.contact-form-card,
.contact-info-card,
.about-section,
.about-hero {
  border: 0 !important;
  box-shadow: none !important;
}

.hero-copy::before,
.hero-copy::after,
.office-shell::before,
.office-shell::after,
.service-card::before,
.service-card::after,
.detail-copy::before,
.detail-copy::after,
.detail-panel::before,
.detail-panel::after,
.process-copy::before,
.process-copy::after,
.process-list article::before,
.process-list article::after,
.footer-card::before,
.footer-card::after,
.sub-hero__main::before,
.sub-hero__main::after,
.sub-hero__side::before,
.sub-hero__side::after,
.sub-section::before,
.sub-section::after,
.sub-card::before,
.sub-card::after,
.sub-flow::before,
.sub-flow::after,
.sub-related::before,
.sub-related::after,
.contact-form-card::before,
.contact-form-card::after,
.contact-info-card::before,
.contact-info-card::after,
.about-section::before,
.about-section::after,
.about-hero::before,
.about-hero::after {
  display: none !important;
}

.site-footer--showcase {
  background: #020b18 !important;
}

.footer-showcase__grid--real {
  grid-template-columns: 1.2fr .85fr .75fr .9fr !important;
  gap: clamp(26px, 4vw, 58px);
}

.footer-showcase__grid--real .footer-showcase__title {
  font-size: clamp(1.15rem, 2.2vw, 2.35rem) !important;
  line-height: 1.02;
}

.footer-showcase__projects a {
  white-space: nowrap;
}

.btn-primary,
.footer-showcase-form__button {
  background: #ff6a00 !important;
  box-shadow: none !important;
}

@media (max-width: 980px) {
  .container,
  body.subpage .container {
    width: min(calc(100% - 28px), var(--container)) !important;
  }

  .footer-showcase__grid--real {
    grid-template-columns: 1fr 1fr !important;
  }
}

@media (max-width: 640px) {
  .footer-showcase__grid--real {
    grid-template-columns: 1fr !important;
  }
}

.about-page {
  padding-top: 42px;
}

.about-hero {
  padding: 0 0 34px;
  max-width: 1180px;
}

.about-hero .sub-title {
  max-width: 14ch;
}

.about-layout {
  display: grid;
  gap: 56px;
  padding-bottom: 36px;
}

.about-section {
  max-width: 1320px;
}

.about-section h2 {
  margin: 12px 0 0;
  font-size: clamp(2rem, 3.4vw, 4rem);
  line-height: 1.02;
  letter-spacing: -.05em;
}

.about-section p {
  max-width: 86ch;
  color: var(--muted-strong);
  line-height: 1.82;
}

.about-service-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 18px 26px;
  margin-top: 26px;
}

.about-service-list a {
  display: grid;
  gap: 8px;
  padding: 0 0 18px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.about-service-list strong {
  color: #fff;
  font-size: 1.05rem;
}

.about-service-list span,
.about-points {
  color: var(--muted-strong);
  line-height: 1.7;
}

.about-points {
  padding-left: 20px;
  max-width: 86ch;
}

.about-contact {
  max-width: 1100px;
}

.about-contact-form {
  margin-top: 24px;
}

.about-contact-form input,
.about-contact-form select,
.about-contact-form textarea {
  background: rgba(4, 13, 27, .88);
}

@media (max-width: 980px) {
  .about-service-list {
    grid-template-columns: 1fr;
  }
}


/* v107: 3D kancelář zpět přes celou šířku obrazovky */
.hero.hero-scroll-office,
.hero.hero-scroll-office > .container,
.hero-scroll-office .hero-grid,
.hero-scroll-office .office-shell,
.hero-scroll-office .office-stage,
.hero-scroll-office .office-viewer,
.hero-scroll-office .office-three {
  width: 100vw !important;
  max-width: none !important;
}

.hero.hero-scroll-office {
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.hero.hero-scroll-office > .container {
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.hero-scroll-office .office-shell,
.hero-scroll-office .office-stage,
.hero-scroll-office .office-viewer,
.hero-scroll-office .office-three {
  min-width: 100vw !important;
}

/* v107: podstránky opravdu roztáhnout, ne jen změnit globální container */
body.subpage {
  --container: 1680px;
}

body.subpage .subpage-shell > .container,
body.subpage .container {
  width: min(calc(100% - 64px), 1680px) !important;
  max-width: none !important;
}

body.subpage .sub-hero--photo,
body.subpage .sub-hero--photo-left,
body.subpage .sub-hero,
body.subpage .sub-summary-under-hero,
body.subpage .sub-grid,
body.subpage .contact-grid,
body.subpage .sub-flow,
body.subpage .sub-related,
body.subpage .sub-process {
  width: 100% !important;
  max-width: none !important;
}

body.subpage .sub-hero--photo-left .sub-hero__main {
  width: min(1280px, 100%) !important;
}

body.subpage .sub-hero--photo-left .sub-title {
  max-width: 1120px !important;
}

body.subpage .sub-hero--photo-left .sub-lead {
  max-width: 1040px !important;
}

body.subpage .sub-grid {
  grid-template-columns: minmax(0, 1.18fr) minmax(360px, .82fr);
}

body.subpage .sub-grid--clean .sub-section h2,
body.subpage .sub-grid--clean .sub-flow h2,
body.subpage .sub-related--clean h2 {
  max-width: 1160px !important;
}

body.subpage .sub-grid--clean .sub-text {
  max-width: 1180px !important;
}

@media (max-width: 980px) {
  body.subpage .subpage-shell > .container,
  body.subpage .container {
    width: min(calc(100% - 28px), 1680px) !important;
  }

  body.subpage .sub-grid {
    grid-template-columns: 1fr !important;
  }
}


/* v110: na telefonu musí být jasně vidět, že se má scrollovat */
@media (max-width: 768px), (pointer: coarse) {
  .hero-scroll-office .office-three::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: max(22px, env(safe-area-inset-bottom));
    z-index: 20;
    transform: translateX(-50%);
    padding: 10px 15px;
    color: #fff;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
    background: rgba(255, 106, 0, .92);
    border: 1px solid rgba(255, 255, 255, .14);
    box-shadow: 0 18px 34px rgba(0,0,0,.28);
    pointer-events: none;
  }

  .hero-scroll-office .office-three::before {
    content: "↓";
    position: absolute;
    left: 50%;
    bottom: calc(max(22px, env(safe-area-inset-bottom)) + 42px);
    z-index: 20;
    transform: translateX(-50%);
    color: #ff6a00;
    font-size: 1.55rem;
    font-weight: 900;
    line-height: 1;
    text-shadow: 0 0 16px rgba(255,106,0,.38);
    pointer-events: none;
    animation: duxMobileScrollPulse 1.15s ease-in-out infinite;
  }

  @keyframes duxMobileScrollPulse {
    0%, 100% { transform: translate(-50%, 0); opacity: .62; }
    50% { transform: translate(-50%, 8px); opacity: 1; }
  }
}


/* v111: menší mobilní hero, aby byl pod kanclíkem hned vidět začátek textu */
@media (max-width: 768px), (pointer: coarse) {
  .hero.hero-scroll-office,
  .hero.hero-scroll-office > .container {
    min-height: 132svh !important;
  }

  .hero-scroll-office .office-shell {
    top: 66px !important;
  }

  .hero-scroll-office .office-stage,
  .hero-scroll-office .office-viewer,
  .office-three {
    min-height: calc(58svh - 72px) !important;
    height: calc(58svh - 72px) !important;
  }
}

@supports (height: 100dvh) {
  @media (max-width: 768px), (pointer: coarse) {
    .hero-scroll-office .office-stage,
    .hero-scroll-office .office-viewer,
    .office-three {
      min-height: calc(58dvh - 72px) !important;
      height: calc(58dvh - 72px) !important;
    }
  }
}

@media (max-width: 480px) {
  .hero.hero-scroll-office,
  .hero.hero-scroll-office > .container {
    min-height: 124svh !important;
  }

  .hero-scroll-office .office-stage,
  .hero-scroll-office .office-viewer,
  .office-three {
    min-height: calc(54svh - 72px) !important;
    height: calc(54svh - 72px) !important;
  }
}

@supports (height: 100dvh) {
  @media (max-width: 480px) {
    .hero-scroll-office .office-stage,
    .hero-scroll-office .office-viewer,
    .office-three {
      min-height: calc(54dvh - 72px) !important;
      height: calc(54dvh - 72px) !important;
    }
  }
}


/* v112: odstranit mobilní výzvu , místo ní má být vidět obsah pod 3D sekcí */
@media (max-width: 768px), (pointer: coarse) {
  .hero-scroll-office .office-three::before,
  .hero-scroll-office .office-three::after {
    content: none !important;
    display: none !important;
  }
}


/* v113: kompletně odstranit mobilní výzvu k posunu */
@media (max-width: 768px), (pointer: coarse) {
  .mobile-scroll-cue,
  .scroll-cue,
  .hero-scroll-office .office-three::before,
  .hero-scroll-office .office-three::after {
    content: none !important;
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }
}


/* v113: mobilní úvod je kratší, aby byl hned vidět další obsah */
@media (max-width: 768px), (pointer: coarse) {
  .hero.hero-scroll-office,
  .hero.hero-scroll-office > .container {
    min-height: 78svh !important;
    height: 78svh !important;
  }

  .hero-scroll-office .office-shell {
    top: 66px !important;
  }

  .hero-scroll-office .office-stage,
  .hero-scroll-office .office-viewer,
  .office-three {
    min-height: calc(64svh - 72px) !important;
    height: calc(64svh - 72px) !important;
  }

  .office-three {
    --office-model-lift-y: -132px;
    --office-model-box-extra-bottom: 0px;
  }

  .services {
    padding-top: 18px !important;
  }
}

@supports (height: 100dvh) {
  @media (max-width: 768px), (pointer: coarse) {
    .hero.hero-scroll-office,
    .hero.hero-scroll-office > .container {
      min-height: 78dvh !important;
      height: 78dvh !important;
    }

    .hero-scroll-office .office-stage,
    .hero-scroll-office .office-viewer,
    .office-three {
      min-height: calc(64dvh - 72px) !important;
      height: calc(64dvh - 72px) !important;
    }
  }
}

@media (max-width: 480px) {
  .hero.hero-scroll-office,
  .hero.hero-scroll-office > .container {
    min-height: 72svh !important;
    height: 72svh !important;
  }

  .hero-scroll-office .office-stage,
  .hero-scroll-office .office-viewer,
  .office-three {
    min-height: calc(58svh - 72px) !important;
    height: calc(58svh - 72px) !important;
  }

  .office-three {
    --office-model-lift-y: -116px;
    --office-model-box-extra-bottom: 0px;
  }
}

@supports (height: 100dvh) {
  @media (max-width: 480px) {
    .hero.hero-scroll-office,
    .hero.hero-scroll-office > .container {
      min-height: 72dvh !important;
      height: 72dvh !important;
    }

    .hero-scroll-office .office-stage,
    .hero-scroll-office .office-viewer,
    .office-three {
      min-height: calc(58dvh - 72px) !important;
      height: calc(58dvh - 72px) !important;
    }
  }
}


/* v116: mobilní zápatí zjednodušené + reálné další projekty */
.footer-showcase__projects-real a {
  white-space: nowrap;
}

@media (max-width: 720px) {
  .site-footer--showcase {
    padding-top: 30px !important;
  }

  .footer-showcase__grid--real,
  .footer-showcase__grid--content {
    grid-template-columns: 1fr !important;
    gap: 22px !important;
  }

  .footer-showcase__grid--real > nav[aria-labelledby="footer-services-heading"],
  .footer-showcase__grid--real > nav[aria-labelledby="footer-links-heading"],
  .footer-showcase__grid--content > nav[aria-labelledby="footer-services-heading"],
  .footer-showcase__grid--content > nav[aria-labelledby="footer-links-heading"],
  .footer-showcase__bottom .footer-showcase__projects-real,
  .footer-showcase__bottom .footer-showcase__site-map {
    display: none !important;
  }

  .footer-showcase__bottom {
    border-top: 1px solid rgba(255,255,255,.08);
    padding-top: 18px !important;
  }
}


/* v116: obsahové stránky méně jako leták, více jako běžná webová stránka */
body.subpage .subpage-shell {
  padding-top: clamp(28px, 4vw, 52px) !important;
}

body.subpage .sub-hero--photo,
body.subpage .sub-hero--photo-left {
  min-height: clamp(380px, 44vw, 560px) !important;
  display: grid !important;
  align-items: end !important;
  border: 1px solid rgba(93, 144, 227, 0.18) !important;
  background-position: center !important;
}

body.subpage .sub-hero--photo-left .sub-hero__main,
body.subpage .sub-hero--photo .sub-hero__main {
  width: min(980px, 100%) !important;
  min-height: auto !important;
  padding: clamp(28px, 4.5vw, 52px) !important;
  justify-content: end !important;
}

body.subpage .sub-title {
  font-size: clamp(2.2rem, 4.1vw, 4.2rem) !important;
  line-height: 1.02 !important;
  letter-spacing: -0.045em !important;
  max-width: 980px !important;
}

body.subpage .sub-lead {
  max-width: 820px !important;
  font-size: clamp(1rem, 1.15vw, 1.16rem) !important;
  line-height: 1.72 !important;
}

body.subpage .sub-summary-under-hero {
  margin-top: 20px !important;
}

body.subpage .sub-summary-under-hero .sub-hero__side {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 18px !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

body.subpage .sub-side-card,
body.subpage .sub-card,
body.subpage .sub-metric {
  border: 1px solid rgba(255,255,255,.08) !important;
  background: rgba(4, 13, 27, 0.42) !important;
  padding: 18px !important;
}

body.subpage .sub-grid {
  gap: clamp(28px, 4vw, 60px) !important;
  margin-top: clamp(34px, 5vw, 70px) !important;
  align-items: start !important;
}

body.subpage .sub-stack {
  gap: clamp(34px, 4vw, 56px) !important;
}

body.subpage .sub-section,
body.subpage .sub-flow,
body.subpage .sub-related,
body.subpage .sub-process {
  padding: 0 !important;
}

body.subpage .sub-section h2,
body.subpage .sub-flow h2,
body.subpage .sub-related h2,
body.subpage .sub-process h2 {
  font-size: clamp(1.75rem, 2.7vw, 3.1rem) !important;
  line-height: 1.08 !important;
  max-width: 920px !important;
}

body.subpage .sub-text {
  max-width: 920px !important;
  font-size: 1rem !important;
  line-height: 1.78 !important;
}

body.subpage .sub-cards--clean {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 18px !important;
}

body.subpage .sub-list--clean {
  gap: 12px 24px !important;
}

body.subpage .sub-related__grid--clean,
body.subpage .sub-flow__grid--four {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 18px !important;
}

body.subpage .about-hero {
  max-width: 1120px !important;
}

body.subpage .about-hero .sub-title {
  max-width: 980px !important;
}

body.subpage .about-layout {
  gap: clamp(38px, 5vw, 72px) !important;
}

body.subpage .about-section h2 {
  font-size: clamp(1.85rem, 3vw, 3.4rem) !important;
  max-width: 900px !important;
}

@media (max-width: 980px) {
  body.subpage .sub-summary-under-hero .sub-hero__side,
  body.subpage .sub-cards--clean,
  body.subpage .sub-related__grid--clean,
  body.subpage .sub-flow__grid--four {
    grid-template-columns: 1fr !important;
  }

  body.subpage .sub-grid {
    grid-template-columns: 1fr !important;
  }
}


/* v117: oprava přetahování bodů v ?editpoints=1 */
html.editpoints-mode,
body.editpoints-mode {
  user-select: none;
}

html.editpoints-mode .office-three .hotspot,
html.editpoints-mode .office-three .hotspot *,
html.editpoints-mode .hotspot-three,
html.editpoints-mode .hotspot-three * {
  pointer-events: auto !important;
}

html.editpoints-mode .office-three .hotspot-three {
  cursor: grab !important;
  touch-action: none !important;
  z-index: 999 !important;
}

html.editpoints-mode .office-three .hotspot-three.is-editpoints-active {
  cursor: grabbing !important;
  opacity: 1 !important;
  filter: drop-shadow(0 0 12px rgba(255, 106, 0, .9));
}

html.editpoints-mode .office-three .hotspot-tooltip {
  pointer-events: none !important;
}

html.editpoints-mode .editpoints-panel,
html.editpoints-mode .office-edit-panel {
  z-index: 1000 !important;
}


/* v118: oprava boxPath v editoru bodů */
html.editpoints-mode .office-three .hotspot-three {
  position: absolute !important;
  display: inline-flex !important;
  pointer-events: auto !important;
  cursor: grab !important;
  z-index: 9999 !important;
  opacity: 1 !important;
}

html.editpoints-mode .office-three canvas {
  pointer-events: none !important;
}

html.editpoints-mode .office-three .hotspot-dot {
  pointer-events: auto !important;
}

html.editpoints-mode .office-three .hotspot-tooltip {
  pointer-events: none !important;
}


/* v119: v editoru lze body táhnout až k anténě a ke krajům 3D plochy */
html.editpoints-mode .office-three {
  overflow: visible !important;
}

html.editpoints-mode .office-three .hotspot-three {
  touch-action: none !important;
  user-select: none !important;
}


/* v121: čistější webový obsah bez gradientu přes fotky */
body.subpage .sub-hero--photo,
body.subpage .sub-hero--photo-left {
  background: #030917 !important;
  border: 0 !important;
  box-shadow: none !important;
}

body.subpage .sub-hero--photo::before,
body.subpage .sub-hero--photo::after,
body.subpage .sub-hero--photo-left::before,
body.subpage .sub-hero--photo-left::after {
  display: none !important;
  content: none !important;
}

body.subpage .sub-hero--photo-left .sub-hero-photo-bg,
body.subpage .sub-hero--photo .sub-hero-photo-bg {
  opacity: 1 !important;
  filter: none !important;
  object-fit: cover !important;
}

body.subpage .sub-hero--photo-left .sub-hero__main,
body.subpage .sub-hero--photo .sub-hero__main {
  border: 1px solid rgba(255,255,255,.08) !important;
  box-shadow: none !important;
  backdrop-filter: blur(4px);
}

body.subpage .sub-title {
  font-size: clamp(2rem, 3.2vw, 3.45rem) !important;
  line-height: 1.06 !important;
  letter-spacing: -.035em !important;
}

body.subpage .sub-lead,
body.subpage .sub-text,
body.subpage p {
  line-height: 1.72 !important;
}

body.subpage .sub-side-card,
body.subpage .sub-card,
body.subpage .sub-flow__step,
body.subpage .sub-related__item {
  border: 1px solid rgba(255,255,255,.08) !important;
  background: rgba(5, 13, 28, .48) !important;
  box-shadow: none !important;
}

body.subpage .sub-side-card p,
body.subpage .sub-card p,
body.subpage .sub-flow__step p,
body.subpage .sub-related__item p {
  color: rgba(226, 235, 251, .78) !important;
}

/* O nás: úvodní text doprostřed jako u běžné podstránky */
body.subpage-about .about-page > .container {
  display: block;
}

body.subpage-about .about-hero {
  margin: 0 auto 42px !important;
  text-align: center !important;
  max-width: 1120px !important;
}

body.subpage-about .about-hero .sub-section__label,
body.subpage-about .about-hero .sub-title,
body.subpage-about .about-hero .sub-lead {
  margin-left: auto !important;
  margin-right: auto !important;
}

body.subpage-about .about-hero .sub-title {
  max-width: 980px !important;
}

body.subpage-about .about-hero .sub-lead {
  max-width: 820px !important;
}

body.subpage-about .about-section {
  margin-left: auto !important;
  margin-right: auto !important;
  max-width: 1180px !important;
}

body.subpage-about .about-contact {
  max-width: 1040px !important;
}

/* méně prezentační mezery */
body.subpage .sub-grid {
  margin-top: clamp(28px, 4vw, 54px) !important;
}

body.subpage .sub-stack,
body.subpage .about-layout {
  gap: clamp(30px, 4vw, 52px) !important;
}


/* v123: odstranění blur efektu přes hero obrázek */
body.subpage .sub-hero-photo-bg,
body.subpage .sub-hero--photo-left .sub-hero-photo-bg,
body.subpage .sub-hero--photo .sub-hero-photo-bg {
  filter: none !important;
  opacity: 1 !important;
}

body.subpage .sub-hero--photo-left .sub-hero__main,
body.subpage .sub-hero--photo .sub-hero__main {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

body.subpage .sub-hero--photo-left::before,
body.subpage .sub-hero--photo-left::after,
body.subpage .sub-hero--photo::before,
body.subpage .sub-hero--photo::after {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  filter: none !important;
}


/* v125: hero fotky úplně bez gradientu, blur efektu a tmavého přechodu */
body.subpage .sub-hero--photo,
body.subpage .sub-hero--photo-left {
  position: relative !important;
  overflow: hidden !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

body.subpage .sub-hero--photo::before,
body.subpage .sub-hero--photo::after,
body.subpage .sub-hero--photo-left::before,
body.subpage .sub-hero--photo-left::after,
body.subpage .sub-hero__main::before,
body.subpage .sub-hero__main::after {
  display: none !important;
  content: none !important;
  background-image: none !important;
  filter: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  opacity: 0 !important;
}

body.subpage .sub-hero-photo-bg,
body.subpage .sub-hero--photo .sub-hero-photo-bg,
body.subpage .sub-hero--photo-left .sub-hero-photo-bg {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  opacity: 1 !important;
  filter: none !important;
  transform: none !important;
}

body.subpage .sub-hero--photo .sub-hero__main,
body.subpage .sub-hero--photo-left .sub-hero__main {
  position: relative !important;
  z-index: 2 !important;
  width: min(920px, calc(100% - 56px)) !important;
  max-width: 920px !important;
  margin: clamp(26px, 4vw, 54px) !important;
  padding: clamp(24px, 3.6vw, 44px) !important;
  background-image: none !important;
  border: 1px solid rgba(255,255,255,.12) !important;
  box-shadow: 0 18px 48px rgba(0,0,0,.22) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

body.subpage .sub-hero--photo-left,
body.subpage .sub-hero--photo {
  align-items: end !important;
}

@media (max-width: 720px) {
  body.subpage .sub-hero--photo .sub-hero__main,
  body.subpage .sub-hero--photo-left .sub-hero__main {
    width: calc(100% - 28px) !important;
    margin: 14px !important;
    padding: 22px !important;
  }
}


/* v129: hero obrázek bez gradientu / mobilní 3D bez uříznutí a bez mezery */
html body.subpage section.hero-no-gradient {
  display: block !important;
  position: relative !important;
  min-height: 0 !important;
  height: auto !important;
  padding: 0 !important;
  overflow: hidden !important;
  background: none !important;
  background-image: none !important;
  border: 0 !important;
  box-shadow: none !important;
}

html body.subpage section.hero-no-gradient::before,
html body.subpage section.hero-no-gradient::after,
html body.subpage section.hero-no-gradient .sub-hero__main::before,
html body.subpage section.hero-no-gradient .sub-hero__main::after {
  display: none !important;
  content: none !important;
  background-image: none !important;
  opacity: 0 !important;
  filter: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

html body.subpage section.hero-no-gradient > img.sub-hero-photo-bg {
  position: relative !important;
  inset: auto !important;
  display: block !important;
  width: 100% !important;
  height: clamp(483px, 44vw, 620px) !important;
  object-fit: cover !important;
  object-position: center !important;
  opacity: 1 !important;
  filter: none !important;
  transform: none !important;
  z-index: 0 !important;
}

html body.subpage section.hero-no-gradient > .sub-hero__main {
  position: absolute !important;
  left: clamp(24px, 5vw, 82px) !important;
  right: auto !important;
  bottom: clamp(26px, 5vw, 70px) !important;
  top: auto !important;
  z-index: 2 !important;
  width: min(900px, calc(100% - 48px)) !important;
  max-width: 900px !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  background-image: none !important;
  border: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

html body.subpage section.hero-no-gradient .sub-title,
html body.subpage section.hero-no-gradient .sub-lead {
  background: transparent !important;
  background-image: none !important;
  text-shadow: 0 3px 18px rgba(0,0,0,.9), 0 1px 2px rgba(0,0,0,.95) !important;
}

html body.subpage section.hero-no-gradient .hero-actions {
  margin-top: 24px !important;
}

/* mobilní 3D úvod: stage a hero mají stejnou výšku, takže nevzniká velká prázdná díra */
@media (max-width: 768px), (pointer: coarse) {
  html body .hero.hero-scroll-office,
  html body .hero.hero-scroll-office > .container {
    min-height: 60svh !important;
    height: 60svh !important;
  }

  html body .hero-scroll-office .office-shell {
    position: relative !important;
    top: 0 !important;
  }

  html body .hero-scroll-office .office-stage,
  html body .hero-scroll-office .office-viewer,
  html body .office-three {
    min-height: 60svh !important;
    height: 60svh !important;
  }

  html body .office-three {
    --office-model-lift-y: -72px !important;
    --office-model-box-extra-bottom: 0px !important;
  }

  html body .services {
    padding-top: 28px !important;
  }
}

@supports (height: 100dvh) {
  @media (max-width: 768px), (pointer: coarse) {
    html body .hero.hero-scroll-office,
    html body .hero.hero-scroll-office > .container {
      min-height: 60dvh !important;
      height: 60dvh !important;
    }

    html body .hero-scroll-office .office-stage,
    html body .hero-scroll-office .office-viewer,
    html body .office-three {
      min-height: 60dvh !important;
      height: 60dvh !important;
    }
  }
}

@media (max-width: 480px) {
  html body .hero.hero-scroll-office,
  html body .hero.hero-scroll-office > .container {
    min-height: 56svh !important;
    height: 56svh !important;
  }

  html body .hero-scroll-office .office-stage,
  html body .hero-scroll-office .office-viewer,
  html body .office-three {
    min-height: 56svh !important;
    height: 56svh !important;
  }

  html body .office-three {
    --office-model-lift-y: -58px !important;
  }
}

@supports (height: 100dvh) {
  @media (max-width: 480px) {
    html body .hero.hero-scroll-office,
    html body .hero.hero-scroll-office > .container {
      min-height: 56dvh !important;
      height: 56dvh !important;
    }

    html body .hero-scroll-office .office-stage,
    html body .hero-scroll-office .office-viewer,
    html body .office-three {
      min-height: 56dvh !important;
      height: 56dvh !important;
    }
  }
}


/* v131: oprava mobilního úvodu po Galaxy S20 Ultra kalibraci */
@media (max-width: 768px), (pointer: coarse) {
  html body .hero.hero-scroll-office,
  html body .hero.hero-scroll-office > .container {
    min-height: 68svh !important;
    height: 68svh !important;
  }

  html body .hero-scroll-office .office-shell {
    position: relative !important;
    top: 0 !important;
  }

  html body .hero-scroll-office .office-stage,
  html body .hero-scroll-office .office-viewer,
  html body .office-three {
    min-height: 68svh !important;
    height: 68svh !important;
    overflow: visible !important;
  }

  html body .office-three {
    --office-model-lift-y: -40px !important;
    --office-model-box-extra-bottom: 0px !important;
  }

  html body .services {
    padding-top: 24px !important;
  }
}

@supports (height: 100dvh) {
  @media (max-width: 768px), (pointer: coarse) {
    html body .hero.hero-scroll-office,
    html body .hero.hero-scroll-office > .container {
      min-height: 68dvh !important;
      height: 68dvh !important;
    }

    html body .hero-scroll-office .office-stage,
    html body .hero-scroll-office .office-viewer,
    html body .office-three {
      min-height: 68dvh !important;
      height: 68dvh !important;
    }
  }
}

@media (max-width: 480px) {
  html body .hero.hero-scroll-office,
  html body .hero.hero-scroll-office > .container {
    min-height: 64svh !important;
    height: 64svh !important;
  }

  html body .hero-scroll-office .office-stage,
  html body .hero-scroll-office .office-viewer,
  html body .office-three {
    min-height: 64svh !important;
    height: 64svh !important;
    overflow: visible !important;
  }

  html body .office-three {
    --office-model-lift-y: -32px !important;
  }
}

@supports (height: 100dvh) {
  @media (max-width: 480px) {
    html body .hero.hero-scroll-office,
    html body .hero.hero-scroll-office > .container {
      min-height: 64dvh !important;
      height: 64dvh !important;
    }

    html body .hero-scroll-office .office-stage,
    html body .hero-scroll-office .office-viewer,
    html body .office-three {
      min-height: 64dvh !important;
      height: 64dvh !important;
    }
  }
}


/* v138: O nás má stejnou pracovní šířku jako horní menu */
body.subpage-about .about-page > .container {
  width: min(calc(100% - 48px), var(--container)) !important;
  max-width: var(--container) !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

body.subpage-about .about-hero,
body.subpage-about .about-layout,
body.subpage-about .about-section,
body.subpage-about .about-contact,
body.subpage-about .about-contact-form,
body.subpage-about .contact-form {
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

body.subpage-about .about-hero {
  margin-bottom: 42px !important;
}

body.subpage-about .about-hero .sub-section__label,
body.subpage-about .about-hero .sub-title,
body.subpage-about .about-hero .sub-lead {
  max-width: 100% !important;
}

body.subpage-about .about-section p,
body.subpage-about .about-points {
  max-width: 100% !important;
}

@media (max-width: 720px) {
  body.subpage-about .about-page > .container {
    width: min(calc(100% - 28px), var(--container)) !important;
  }
}

/* v139: index - sekce služeb ve stylu referenčního videa + vyjíždění boxů při scrollu */
.services#sluzby {
  padding: clamp(72px, 8vw, 118px) 0 clamp(70px, 7vw, 104px) !important;
}

.services#sluzby .services-showcase-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 28px;
  padding: 0 !important;
  margin: 0 0 clamp(38px, 5vw, 62px) !important;
}

.services#sluzby .services-showcase-copy {
  max-width: 720px;
}

.services#sluzby .kicker {
  color: var(--accent);
  font-weight: 800;
  letter-spacing: .18em;
}

.services#sluzby .section-head h2 {
  margin: 12px 0 18px !important;
  font-size: clamp(2.45rem, 4.4vw, 4.8rem) !important;
  line-height: .98 !important;
  letter-spacing: -.055em !important;
}

.services#sluzby .section-head p {
  max-width: 62ch;
  color: rgba(223, 234, 251, .86) !important;
  line-height: 1.75 !important;
}

.services-showcase-button {
  min-height: 58px;
  min-width: 220px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 26px;
  background: linear-gradient(90deg, rgba(255, 106, 0, .92), rgba(255, 139, 61, .92));
  border: 1px solid rgba(255, 139, 61, .42);
  color: #fff;
  font-weight: 800;
  letter-spacing: .02em;
  box-shadow: 0 18px 42px rgba(255, 106, 0, .16);
  transition: transform .22s ease, box-shadow .22s ease, filter .22s ease;
}

.services-showcase-button:hover,
.services-showcase-button:focus-visible {
  transform: translateY(-3px);
  filter: brightness(1.08);
  box-shadow: 0 24px 54px rgba(255, 106, 0, .22);
}

.services#sluzby .service-grid-expanded {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: clamp(18px, 2vw, 28px) !important;
}

.services#sluzby .service-card {
  position: relative;
  overflow: hidden;
  min-height: 274px !important;
  padding: clamp(34px, 3.4vw, 48px) clamp(24px, 3vw, 46px) 34px !important;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: rgba(3, 9, 26, .46) !important;
  border: 1px solid rgba(255, 106, 0, .18) !important;
  box-shadow: none !important;
  isolation: isolate;
}

.services#sluzby .service-card::before {
  content: "";
  display: block !important;
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  opacity: .96;
  pointer-events: none;
  z-index: 0;
  transition: width .42s cubic-bezier(.22, .61, .36, 1);
}

.services#sluzby .service-card::after {
  display: none !important;
}

.services#sluzby .service-card > * {
  position: relative;
  z-index: 1;
}

.services#sluzby .service-card:hover,
.services#sluzby .service-card:focus-visible {
  border-color: rgba(255, 139, 61, .55) !important;
  box-shadow: 0 26px 64px rgba(0, 0, 0, .26) !important;
}

.services#sluzby .service-card:hover::before,
.services#sluzby .service-card:focus-visible::before {
  width: 100%;
}

.services#sluzby .service-index {
  margin: 0 auto 22px;
  width: 54px;
  height: 54px;
  border: 1px solid rgba(255, 106, 0, .34);
  background: rgba(255, 106, 0, .07);
  color: var(--accent);
  font-size: .86rem;
  font-weight: 900;
  letter-spacing: .10em;
  box-shadow: 0 0 24px rgba(255, 106, 0, .10);
  transition: border-color .26s ease, background .26s ease, color .26s ease, box-shadow .26s ease;
}

.services#sluzby .service-card strong {
  margin: 0;
  display: block;
  color: #fff;
  font-size: clamp(1.18rem, 1.7vw, 1.55rem);
  line-height: 1.16;
  letter-spacing: -.035em;
  transition: color .26s ease;
}

.services#sluzby .service-card p {
  margin: 16px auto 0;
  max-width: 34ch;
  color: rgba(224, 235, 250, .86);
  font-size: .98rem;
  line-height: 1.68;
  transition: color .26s ease;
}

.services#sluzby .service-card em {
  margin: 24px auto 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  color: var(--accent);
  font-size: .94rem;
  font-weight: 900;
  font-style: normal;
  transition: color .26s ease, transform .26s ease;
}

.services#sluzby .service-card em::after {
  content: "→";
  font-size: 1.1em;
  line-height: 1;
}

.services#sluzby .service-card:hover .service-index,
.services#sluzby .service-card:focus-visible .service-index {
  border-color: rgba(255, 255, 255, .42);
  background: rgba(255, 255, 255, .13);
  color: #fff;
  box-shadow: 0 0 32px rgba(255, 255, 255, .12);
}

.services#sluzby .service-card:hover p,
.services#sluzby .service-card:hover em,
.services#sluzby .service-card:focus-visible p,
.services#sluzby .service-card:focus-visible em {
  color: #fff;
}

.services#sluzby .service-card:hover em,
.services#sluzby .service-card:focus-visible em {
  transform: translateX(4px);
}

.services#sluzby .service-card.reveal {
  opacity: 0;
  transform: translateY(76px);
  transition:
    opacity .72s ease var(--service-delay, 0s),
    transform .72s cubic-bezier(.16, 1, .3, 1) var(--service-delay, 0s),
    border-color .22s ease,
    box-shadow .22s ease;
}

.services#sluzby .service-card.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.services#sluzby .service-card.reveal.is-visible:hover,
.services#sluzby .service-card.reveal.is-visible:focus-visible {
  transform: translateY(-8px);
}

.services#sluzby .service-grid-expanded .service-card:nth-child(1) { --service-delay: .00s; }
.services#sluzby .service-grid-expanded .service-card:nth-child(2) { --service-delay: .08s; }
.services#sluzby .service-grid-expanded .service-card:nth-child(3) { --service-delay: .16s; }
.services#sluzby .service-grid-expanded .service-card:nth-child(4) { --service-delay: .24s; }
.services#sluzby .service-grid-expanded .service-card:nth-child(5) { --service-delay: .32s; }
.services#sluzby .service-grid-expanded .service-card:nth-child(6) { --service-delay: .40s; }

@media (max-width: 980px) {
  .services#sluzby {
    padding: 58px 0 74px !important;
  }

  .services#sluzby .services-showcase-head {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 20px;
  }

  .services-showcase-button {
    width: fit-content;
    min-width: 0;
  }

  .services#sluzby .service-grid-expanded {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 680px) {
  .services#sluzby .service-grid-expanded {
    grid-template-columns: 1fr !important;
  }

  .services#sluzby .service-card {
    min-height: 238px !important;
  }

  .services-showcase-button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .services#sluzby .service-card.reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}


/* v140: footer rok 2026 a lepší mobilní spodní řádek */
@media (max-width: 720px) {
  .footer-showcase__bottom {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    align-items: start;
    width: 100%;
  }

  .footer-showcase__projects {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    width: 100%;
  }

  .footer-showcase__projects span {
    margin-right: 0;
  }

  .footer-showcase__projects a,
  .footer-showcase__bottom p {
    overflow-wrap: anywhere;
  }
}


/* v141: O nás hero fotka + viditelné další projekty v mobilním zápatí */
body.subpage-about .about-photo-hero {
  position: relative;
  overflow: hidden;
  background: #030917 !important;
}

html body.subpage-about .about-photo-hero::before {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: 1 !important;
  background:
    linear-gradient(90deg, rgba(3, 8, 18, .84) 0%, rgba(3, 8, 18, .66) 46%, rgba(3, 8, 18, .28) 100%),
    linear-gradient(180deg, rgba(3, 8, 18, .18), rgba(3, 8, 18, .72)) !important;
  pointer-events: none !important;
}

body.subpage-about .about-photo-hero .sub-hero-photo-bg {
  object-position: center center;
}

body.subpage-about .about-photo-hero .sub-hero__main {
  position: relative;
  z-index: 2;
  background: transparent !important;
  background-image: none !important;
  border: 0 !important;
  box-shadow: none !important;
  max-width: 100% !important;
}

body.subpage-about .about-photo-hero .sub-title,
body.subpage-about .about-photo-hero .sub-lead {
  text-shadow: 0 12px 32px rgba(0,0,0,.86);
}

body.subpage-about .about-photo-hero .sub-lead--second {
  margin-top: 14px;
}

body.subpage-about .about-why .sub-text + .sub-text {
  margin-top: 14px;
}

@media (max-width: 720px) {
  body.subpage .sub-hero--photo-left {
    overflow: hidden !important;
  }

  body.subpage .sub-hero--photo-left .sub-hero__main {
    width: 100% !important;
    max-width: 100% !important;
    min-height: auto !important;
    box-sizing: border-box !important;
  }

  body.subpage .sub-hero--photo-left .sub-title {
    font-size: clamp(2rem, 10vw, 2.85rem) !important;
    overflow-wrap: anywhere;
  }

  body.subpage .sub-hero--photo-left .sub-lead {
    font-size: .97rem !important;
    line-height: 1.58 !important;
  }

  html body.subpage-about .about-photo-hero::before {
    background:
      linear-gradient(90deg, rgba(3, 8, 18, .90) 0%, rgba(3, 8, 18, .76) 58%, rgba(3, 8, 18, .44) 100%),
      linear-gradient(180deg, rgba(3, 8, 18, .28), rgba(3, 8, 18, .82)) !important;
  }

  body.subpage-about .about-photo-hero .sub-hero-photo-bg {
    object-position: 42% center;
  }

  html body .footer-showcase__bottom .footer-showcase__projects-real,
  html body .footer-showcase__bottom .footer-showcase__site-map {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 9px !important;
    width: 100% !important;
  }

  html body .footer-showcase__bottom .footer-showcase__projects-real span,
  html body .footer-showcase__bottom .footer-showcase__site-map span {
    display: block !important;
    margin: 0 0 2px !important;
  }

  html body .footer-showcase__bottom .footer-showcase__projects-real a,
  html body .footer-showcase__bottom .footer-showcase__site-map a {
    display: block !important;
    width: fit-content !important;
  }
}


/* v142: větší font na PC a jisté zobrazení projektů v mobilním zápatí */
@media (min-width: 981px) {
  .services#sluzby .services-showcase-copy p,
  .services#sluzby .service-card p {
    font-size: 1.08rem !important;
    line-height: 1.76 !important;
  }

  .footer-showcase__text,
  .footer-showcase__links li,
  .footer-showcase__links a,
  .footer-showcase__bottom p,
  .footer-showcase__projects a {
    font-size: 1rem !important;
    line-height: 1.72 !important;
  }

  .footer-showcase__title,
  .footer-showcase__tagline,
  .footer-showcase__projects span {
    font-size: .92rem !important;
  }
}

@media (max-width: 720px) {
  html,
  body {
    overflow-x: hidden !important;
  }

  html body .footer-showcase__bottom .footer-showcase__projects-real,
  html body .footer-showcase__bottom .footer-showcase__site-map {
    display: grid !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    grid-template-columns: 1fr !important;
    gap: 9px !important;
    width: 100% !important;
  }

  html body .footer-showcase__bottom .footer-showcase__projects-real a,
  html body .footer-showcase__bottom .footer-showcase__site-map a {
    display: block !important;
  }
}








/* Obrázek jako pozadí celé sekce Co služba zahrnuje */
body.subpage .sub-section--accordion-wrap {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

/* obsah sekce musí být nad obrázkem */
body.subpage .sub-section--accordion-wrap > .sub-section__label,
body.subpage .sub-section--accordion-wrap > h2,
body.subpage .sub-section--accordion-wrap > .sub-accordion {
  position: relative;
  z-index: 2;
}

/* obrázek přes celou sekci jako pozadí */
body.subpage .sub-section--accordion-wrap .sub-accordion-media {
  position: absolute !important;
  inset: 0 !important;
  z-index: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: inherit !important;
  overflow: hidden !important;
  pointer-events: none !important;
  opacity: 0.28;
}

/* samotný obrázek */
body.subpage .sub-section--accordion-wrap .sub-accordion-media img {
  width: 100% !important;
  height: 100% !important;
  aspect-ratio: auto !important;
  object-fit: cover !important;
  object-position: center center !important;
}

/* tmavý překryv kvůli čitelnosti textu */
body.subpage .sub-section--accordion-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(4, 10, 20, 0.92) 0%, rgba(4, 10, 20, 0.78) 42%, rgba(4, 10, 20, 0.45) 100%),
    linear-gradient(180deg, rgba(4, 10, 20, 0.35), rgba(4, 10, 20, 0.75));
}

/* na mobilu bude obrázek ještě jemnější, aby text dobře šel číst */
@media (max-width: 720px) {
  body.subpage .sub-section--accordion-wrap .sub-accordion-media {
    opacity: 0.18;
  }

  body.subpage .sub-section--accordion-wrap::after {
    background: rgba(4, 10, 20, 0.86);
  }
}

/* GIF přes celé pozadí webu */
.site-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
}

.site-bg .bg-gif {
  position: absolute !important;
  inset: 0 !important;
  z-index: 0 !important;

  background-image: url("dataflow.gif") !important;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;

  opacity: 1 !important;
  filter: none !important;
}

/* tmavý překryv, aby šel číst text */
.site-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(3, 9, 18, 0.72), rgba(3, 9, 18, 0.9)),
    rgba(3, 9, 18, 0.35);
  z-index: 1;
}

/* grid / linky zůstanou nad gifem */
.site-bg .bg-grid,
.site-bg .bg-glow {
  position: absolute;
  z-index: 2;
}

/* v154: mobil bez 3D modelu, čistý rozcestník služeb */
@media (max-width: 768px) {
  html.office-preloader-active,
  html.office-preloader-active body {
    overflow: auto !important;
  }

  .page-model-preloader,
  .hero-scroll-office,
  .hero-mobile-service-hint,
  .office-shell,
  .office-three,
  .office-scroll-cue {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    min-height: 0 !important;
    overflow: hidden !important;
  }

  main#top {
    padding-top: 0 !important;
  }

  .services#sluzby {
    padding: 48px 0 72px !important;
    min-height: auto !important;
  }

  .services#sluzby .container {
    width: min(calc(100% - 40px), var(--container)) !important;
    margin: 0 auto !important;
  }

  .services#sluzby .services-showcase-head {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 24px !important;
    margin: 0 0 34px !important;
    padding: 0 !important;
  }

  .services#sluzby .services-showcase-copy {
    max-width: none !important;
  }

  .services#sluzby .kicker {
    margin-bottom: 12px !important;
    font-size: .76rem !important;
    letter-spacing: .22em !important;
  }

  .services#sluzby .section-head h2 {
    margin: 0 0 22px !important;
    font-size: clamp(2.1rem, 9.2vw, 3rem) !important;
    line-height: .98 !important;
    letter-spacing: -.055em !important;
  }

  .services#sluzby .section-head p {
    max-width: none !important;
    font-size: 1rem !important;
    line-height: 1.75 !important;
  }

  .services-showcase-button {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 58px !important;
    padding: 0 24px !important;
    justify-content: space-between !important;
  }

  .services#sluzby .service-grid-expanded {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }

  .services#sluzby .service-card {
    min-height: 286px !important;
    padding: 32px 22px 30px !important;
    text-align: center !important;
    align-items: center !important;
    justify-content: center !important;
    border-color: rgba(255, 106, 0, .22) !important;
    background: rgba(4, 12, 24, .62) !important;
  }

  .services#sluzby .service-index {
    width: 54px !important;
    height: 54px !important;
    margin: 0 auto 24px !important;
  }

  .services#sluzby .service-card strong {
    font-size: 1.12rem !important;
  }

  .services#sluzby .service-card p {
    max-width: 30ch !important;
    margin: 16px auto 0 !important;
    font-size: .96rem !important;
    line-height: 1.65 !important;
  }
}

/* v154: menší datové pozadí, pokud je k dispozici optimalizovaný soubor */
.site-bg .bg-gif {
  background-image: url("dataflow.gif") !important;
}

/* PC nápověda pod 3D modelem */
@media (min-width: 981px) {
  .office-three {
    position: relative !important;
  }

  .office-three::after {
    content: "Scrollujte dolů ↓";
    position: absolute;
    left: 50%;
    bottom: 150px;
    transform: translateX(-50%);
    z-index: 30;

    color: rgba(244, 247, 255, 0.82);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;

    padding: 10px 18px;
    border: 1px solid rgba(255, 106, 0, 0.35);
    background: rgba(3, 9, 18, 0.55);
    backdrop-filter: blur(8px);
    border-radius: 1px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);

    pointer-events: none;
    animation: scrollHintMove 1.8s ease-in-out infinite;
  }

  @keyframes scrollHintMove {
    0%, 100% {
      transform: translateX(-50%) translateY(0);
      opacity: 0.75;
    }

    50% {
      transform: translateX(-50%) translateY(8px);
      opacity: 1;
    }
  }
}

/* Na telefonu schovat */
@media (max-width: 980px) {
  .office-three::after {
    display: none !important;
    content: none !important;
  }
}

/* FIX MOBILNÍ HLAVIČKY A MENU */
@media (max-width: 980px) {
  html {
    scroll-padding-top: 78px !important;
  }

  body {
    padding-top: 76px !important;
  }

  .site-header,
  body.subpage .site-header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 99999 !important;

    background: rgba(3, 8, 18, 0.98) !important;
    border-bottom: 1px solid rgba(85, 124, 196, 0.22) !important;
    backdrop-filter: blur(14px) !important;
  }

  .header-inner,
  body.subpage .header-inner {
    min-height: 76px !important;
  }

  .main-nav,
  body.subpage .main-nav {
    position: fixed !important;
    top: 76px !important;
    left: 14px !important;
    right: 14px !important;
    z-index: 99998 !important;

    display: none !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 8px !important;

    max-height: calc(100vh - 92px) !important;
    overflow-y: auto !important;

    padding: 12px !important;
    background: rgba(4, 9, 20, 0.98) !important;
    border: 1px solid rgba(255, 106, 0, 0.28) !important;
    box-shadow: 0 22px 55px rgba(0, 0, 0, 0.55) !important;
  }

  .main-nav.is-open,
  body.subpage .main-nav.is-open {
    display: flex !important;
  }

  .nav-toggle {
    position: relative !important;
    z-index: 100000 !important;
  }
}

@media (max-width: 980px) {
  html,
  body {
    overflow-y: auto !important;
    height: auto !important;
    min-height: 100% !important;
    position: static !important;
  }

  html.office-preloader-active,
  html.office-preloader-active body {
    overflow-y: auto !important;
    height: auto !important;
    position: static !important;
  }

  .page-model-preloader {
    display: none !important;
  }
}

/* v162 FINAL: mobilní hlavička a menu bez zasekávání */
@media (max-width: 980px) {
  html,
  body {
    overflow-x: hidden !important;
    overflow-y: auto !important;
    height: auto !important;
    min-height: 100% !important;
    position: static !important;
    touch-action: pan-y !important;
  }

  body:not(.subpage) {
    padding-top: 0 !important;
  }

  body:not(.subpage) .site-header {
    position: sticky !important;
    top: 0 !important;
    left: auto !important;
    right: auto !important;
    width: 100% !important;
    z-index: 1000000 !important;
    overflow: visible !important;
    background: rgba(3, 8, 18, 0.98) !important;
    border-bottom: 1px solid rgba(85, 124, 196, 0.22) !important;
    backdrop-filter: blur(14px) !important;
    -webkit-backdrop-filter: blur(14px) !important;
  }

  body:not(.subpage) .header-inner {
    position: relative !important;
    height: 76px !important;
    min-height: 76px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    overflow: visible !important;
  }

  body:not(.subpage) .brand {
    display: inline-flex !important;
    align-items: center !important;
    flex: 0 0 150px !important;
    width: 150px !important;
    min-width: 150px !important;
    height: 48px !important;
    opacity: 1 !important;
    visibility: visible !important;
    position: relative !important;
    z-index: 1000002 !important;
    background: url("duxnet-logo.svg") left center / contain no-repeat !important;
  }

  body:not(.subpage) .brand img {
    display: block !important;
    width: 150px !important;
    max-width: 150px !important;
    height: auto !important;
    max-height: 48px !important;
    opacity: 1 !important;
    visibility: visible !important;
    object-fit: contain !important;
  }

  body:not(.subpage) .nav-toggle {
    display: inline-flex !important;
    flex: 0 0 48px !important;
    width: 48px !important;
    height: 48px !important;
    min-width: 48px !important;
    position: relative !important;
    z-index: 1000003 !important;
  }

  body:not(.subpage) .main-nav {
    position: absolute !important;
    top: calc(100% + 8px) !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 1000001 !important;
    display: none !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 8px !important;
    max-height: calc(100dvh - 96px) !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    -webkit-overflow-scrolling: touch !important;
    overscroll-behavior: contain !important;
    touch-action: pan-y !important;
    padding: 12px !important;
    background: rgba(4, 9, 20, 0.98) !important;
    border: 1px solid rgba(255, 106, 0, 0.28) !important;
    box-shadow: 0 22px 55px rgba(0, 0, 0, 0.55) !important;
  }

  body:not(.subpage) .main-nav.is-open,
  body:not(.subpage).menu-open .main-nav {
    display: flex !important;
  }

  body:not(.subpage) .main-nav a {
    display: block !important;
    width: 100% !important;
    padding: 13px 14px !important;
    border-radius: 10px !important;
    color: #f4f7ff !important;
    background: rgba(255, 255, 255, 0.03) !important;
  }
}
