/* ===== Power Tech – barvy odvozené z loga, použité v celém webu ===== */
:root {
  --color-logo: #273CF5;
  --color-logo-rgb: 39, 60, 245;
  --color-blue: var(--color-logo);
  --color-blue-light: #5a6af8;
  --color-blue-light: color-mix(in srgb, var(--color-logo) 75%, white);
  --color-blue-dark: #1520a8;
  --color-blue-dark: color-mix(in srgb, var(--color-logo) 72%, black);
  --color-black: #1a1a1a;
  --color-white: #ffffff;
  --color-bg-light: #f4f5fe;
  --color-bg-light: color-mix(in srgb, var(--color-logo) 8%, white);
  --color-bg-light-alt: #f6f7fe;
  --color-bg-light-alt: color-mix(in srgb, var(--color-logo) 6%, white);
  --color-bg-dark: #1a2280;
  --color-bg-dark: color-mix(in srgb, var(--color-logo) 55%, black);
  --color-bg-darker: #121a66;
  --color-bg-darker: color-mix(in srgb, var(--color-logo) 65%, black);
  --color-bg-dark-gradient: linear-gradient(165deg, var(--color-bg-dark) 0%, var(--color-bg-darker) 50%, color-mix(in srgb, var(--color-logo) 72%, black) 100%);
  --color-text-light: #2d2d2d;
  --color-text-muted: #5c5c5c;
  --font: 'Plus Jakarta Sans', sans-serif;
  --transition: 0.25s ease;
  --transition-slow: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --radius: 12px;
  --radius-lg: 16px;
  --container: min(1280px, 100% - 2.5rem);
  --anim-duration: 0.6s;
  --anim-ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --shadow-sm: 0 2px 12px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.12);
}
/* Kotvy – při kliku na odkaz zůstane cíl výš, pod fixním headerem (logo 150px) */
html { scroll-padding-top: 9.5rem; }

@media (prefers-reduced-motion: reduce) {
  :root { --anim-duration: 0.01s; }
  .service-card--stacked.service-card--horizontal .service-card-image,
  .service-card--stacked.service-card--horizontal.kenburns-played .service-card-image {
    animation: none;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  font-size: 112.5%; /* trochu větší text na celém webu (1rem ≈ 18px) */
  overflow-x: clip;
}
body {
  margin: 0;
  overflow-x: clip;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text-light);
  background: var(--color-white);
}
h1, h2, h3, h4, h5, h6,
.hero-title,
.section-title {
  user-select: none;
  cursor: default;
}
/* Zakázat kurzor na psaní (caret) mimo textový obsah – odkazy, navigace, karty, ikony… */
a, button, nav, .header, .logo, .service-card, .service-card-link, .service-link-icon,  .nav, .nav-glass, .footer, .page-hero, .page-breadcrumb, .stats-list, .section-title,
.reference-card, .reference-item, .reference-gallery-trigger, .map-section, .map-container,
.process-steps, .process-step, .process-step-header, .process-step-num, .process-step-circle, .process-step-title {
  user-select: none;
  -webkit-user-select: none;
}
/* Pouze odstavce, seznamy a formulářové inputy smí zobrazovat caret */
p, li, input, textarea, .form-input, .form-textarea, .form-label {
  user-select: text;
}

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 1.25rem;
}
@media (max-width: 768px) {
  .container {
    padding-inline: max(1rem, env(safe-area-inset-left, 1rem)) max(1rem, env(safe-area-inset-right, 1rem));
  }
}

/* ----- Animace (scroll + načtení) ----- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes kenburns {
  0% { transform: scale(1) translate(0, 0); }
  100% { transform: scale(1.12) translate(-4%, -2%); }
}
.anim-on-load {
  opacity: 0;
  animation: fadeInUp var(--anim-duration) var(--anim-ease) forwards;
}
.anim-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--anim-duration) var(--anim-ease), transform var(--anim-duration) var(--anim-ease);
}
.anim-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.anim-on-scroll.stagger-1 { transition-delay: 0.05s; }
.anim-on-scroll.stagger-2 { transition-delay: 0.1s; }
.anim-on-scroll.stagger-3 { transition-delay: 0.15s; }
.anim-on-scroll.stagger-4 { transition-delay: 0.2s; }
.anim-on-scroll.stagger-5 { transition-delay: 0.25s; }
.anim-on-scroll.stagger-6 { transition-delay: 0.3s; }

/* ----- Header (Altron styl: průhledný, větší logo, Kontakty vlevo od menu, sklo) ----- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 500;
  margin-top: -12px;
  padding: 0.15rem clamp(2rem, 6vw, 4rem) 0 clamp(1.25rem, 4vw, 3rem);
  transition: background var(--transition), box-shadow var(--transition);
}
/* Podstránky (O nás, Datová centra, …): header pevně nahoře, bublina ve stejné výšce jako na hero */
body:has(.page-main) .header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  padding-top: calc(1.5rem + 12px);
}
body:has(.page-main) .header-inner {
  align-items: flex-start;
}
.header--glass {
  background: transparent;
  border-bottom: none;
}
.header--scrolled.header--glass {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
/* Při scrollu – jen logo výš (záporný margin) */
.header--scrolled .logo {
  margin-top: -1rem;
}
.header--scrolled .logo img {
  height: 145px;
}
.header--scrolled .nav-glass {
  background: var(--color-blue);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-color: rgba(255, 255, 255, 0.2);
}
.header--scrolled .nav a,
.header--scrolled .nav-trigger {
  color: var(--color-white);
}
.header--scrolled .nav a:hover,
.header--scrolled .nav-trigger:hover {
  background: rgba(255, 255, 255, 0.15);
}

/* Záhlaví pod mapou (úvodní stránka) – stejná modrá jako bublina */
.header--below-map {
  position: static;
  background: var(--color-blue);
}
.header--below-map .nav-glass {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: 1px solid rgba(255, 255, 255, 0.25);
}
.header--below-map .nav a,
.header--below-map .nav-trigger {
  color: var(--color-white);
  background: transparent;
}
.header--below-map .nav a:hover,
.header--below-map .nav-trigger:hover {
  color: var(--color-white);
  background: rgba(255, 255, 255, 0.15);
}
.header--below-map .menu-toggle span {
  background: var(--color-white);
}
.header--below-map .logo img {
  /* Logo PNG se zobrazí v původních barvách */
}
.header--below-map .nav-dropdown a {
  color: var(--color-white);
  background: transparent;
}
.header--below-map .nav-dropdown a:hover {
  color: var(--color-white);
  background: rgba(255, 255, 255, 0.15);
}
.header-inner {
  width: 100%;
  max-width: none;
  margin-inline: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 1rem;
  position: relative;
}
.header-left {
  flex: 0 1 auto;
  min-width: 0;
  display: flex;
  align-items: center;
  background: transparent;
  margin-left: 2rem;
}
.logo {
  display: block;
  flex-shrink: 0;
  background: transparent;
  isolation: isolate;
}
.logo img {
  display: block;
  height: 230px;
  width: auto;
  object-fit: contain;
  vertical-align: bottom;
  transition: height var(--transition);
}
.header-right {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.header-contact {
  color: var(--color-black);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 0.5rem 0;
  transition: color var(--transition);
}
.header-contact:hover { color: var(--color-blue); }
/* Navigace – vycentrovaná na střed stránky (absolutní střed) */
.nav {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: max-content;
  max-width: calc(100% - 4rem);
  min-width: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}
/* Navigace – liquid glass: průhledné pozadí, bez blur nad videem */
.nav-glass {
  background: rgba(255, 255, 255, 0.12);
  isolation: isolate;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  padding: 0.4rem 0.85rem;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
}
.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.nav a,
.nav-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.875rem;
  line-height: 1.3;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  background: transparent;
  border: none;
  box-shadow: none;
  transition: color var(--transition), background var(--transition);
  cursor: pointer;
  font-family: var(--font);
  min-height: 2rem;
  min-width: auto;
  box-sizing: border-box;
}
.nav a:hover,
.nav-trigger:hover {
  color: var(--color-white);
  background: rgba(255, 255, 255, 0.15);
}
.nav-trigger {
  gap: 0.25rem;
}
.nav-chevron {
  font-size: 0.7em;
  opacity: 0.8;
  transition: transform var(--transition);
}
.nav-item-dropdown.is-open .nav-chevron { transform: rotate(180deg); }
/* Rozbalovací podmenu */
.nav-item-dropdown {
  position: relative;
}
.nav-dropdown {
  list-style: none;
  margin: 0;
  padding: 0.35rem;
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 0.9rem;
  min-width: 140px;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity var(--transition), visibility var(--transition), transform var(--transition);
  z-index: 50;
}
.nav-item-dropdown.is-open .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-dropdown a {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  height: 1.75rem;
  min-width: auto;
  padding: 0.35rem 0.65rem;
  border-radius: 8px;
  font-size: 0.7rem;
  font-weight: 500;
  font-family: var(--font);
  color: var(--color-white);
  background: transparent;
  border: none;
  box-shadow: none;
  margin: 0.12rem 0;
  text-align: left;
  box-sizing: border-box;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: background var(--transition), color var(--transition);
}
.nav-dropdown a:first-child { margin-top: 0; }
.nav-dropdown a:last-child { margin-bottom: 0; }
.nav-dropdown a:hover {
  color: var(--color-white);
  background: rgba(255, 255, 255, 0.15);
}
.nav-contact-mobile { display: none; }
.menu-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 44px;
  min-height: 44px;
  padding: 10px;
  background: none;
  border: none;
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-black);
  transition: var(--transition);
}

/* ----- Hero – světlá s jemným gradientem ----- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem 0 5rem;
  overflow: hidden;
  background: #0f1219;
}
.hero-scroll-link {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.9);
  transition: color var(--transition), transform var(--transition);
  text-decoration: none;
  letter-spacing: 0.15em;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
}
.hero-scroll-link:hover {
  color: var(--color-white);
  transform: translateX(-50%) translateY(4px);
}
.hero-scroll-text {
  opacity: 0.9;
}
.hero-scroll-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  background: rgba(0, 0, 0, 0.25);
  border-radius: 50%;
  transition: background var(--transition);
}
.hero-scroll-link:hover .hero-scroll-icon {
  background: var(--color-blue);
}
.hero-scroll-icon svg {
  animation: hero-scroll-bounce 2s ease-in-out infinite;
}
@keyframes hero-scroll-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(4px); }
}
/* Video na pozadí hero – přes celou sekci, cover (vynucené !important kvůli YouTube API inline stylům) */
.hero--video-bg {
  position: relative;
  /* Fallback, když video nehraje (mobil, blokované autoplay) */
  background: linear-gradient(165deg, var(--color-bg-dark) 0%, var(--color-bg-darker) 50%, color-mix(in srgb, var(--color-logo) 72%, black) 100%);
}
.hero-video-bg {
  position: absolute;
  top: 0;
  left: 50%;
  width: 100vw;
  height: 100%;
  min-height: 100%;
  transform: translateX(-50%);
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.hero-video-bg.is-visible {
  opacity: 1;
}
.hero-video-bg #hero-video-player {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 56.25vw;
  min-height: 100%;
  min-width: 177.78vh;
  max-width: none;
  max-height: none;
  transform: translate(-50%, -50%);
  object-fit: cover;
  pointer-events: none;
}
/* Overlay „Přehrát video“ – jen na mobilu, když autoplay neběží */
#hero-video-play-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  border: 0;
  font: 600 1rem/1.2 var(--font-sans);
  cursor: pointer;
  gap: 0.5rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
#hero-video-play-overlay.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
#hero-video-play-overlay:hover {
  background: rgba(0, 0, 0, 0.65);
}
.hero-bg {
  display: none;
}
.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(var(--color-logo-rgb), 0.06) 1px, transparent 0);
  background-size: 32px 32px;
  z-index: 0;
  pointer-events: none;
}
/* Hero: obsah zarovnaný podle loga (stejné levé odsazení jako logo v hlavičce) */
.hero .container.hero-inner {
  max-width: none;
  width: 100%;
  margin-inline: 0;
  padding-inline: calc(clamp(2rem, 6vw, 4rem) + 2rem) clamp(1.25rem, 4vw, 3rem);
}
.hero-inner { position: relative; z-index: 2; }
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
  justify-items: start;
}
.hero-content {
  min-width: 0;
  max-width: 32em;
  text-align: left;
}
.hero-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(0, 0, 0, 0.04);
}
.hero-image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.hero-image-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, #e2e8f4 0%, #cbd5e1 100%);
  color: var(--color-text-muted);
  font-size: 0.9375rem;
  text-align: center;
  padding: 1rem;
}
.hero-title {
  margin: 0 0 1.25rem;
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--color-black);
}
.hero-title-line { display: block; }
.hero-title-accent { color: var(--color-blue); }
.hero-title-words {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: clamp(2.75rem, 6.5vw, 4.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.hero-word {
  display: block;
}
.hero-word:nth-child(1) {
  margin-top: 0.4rem;
  color: var(--color-white);
}
.hero-word:nth-child(3) {
  color: var(--color-white);
}
.hero-word:nth-child(2) { color: var(--color-blue); }
/* Na úvodní stránce – bublina navigace ve stejné výšce jako proklik EN/CS (header má margin-top: -12px) */
body:has(.hero.hero--video-bg) .header {
  padding-top: calc(1.5rem + 12px);
}
body:has(.hero.hero--video-bg) .header-inner {
  align-items: flex-start;
}

/* Odkaz na anglickou verzi – stejný liquid glass styl jako nav-glass, nad headerem kvůli kliknutí */
.hero-lang-link {
  position: fixed;
  top: 1.5rem;
  right: clamp(1.25rem, 4vw, 3rem);
  z-index: 501;
  display: inline-flex;
  align-items: center;
  min-height: calc(2rem + 0.8rem);
  padding: 0.4rem 0.85rem;
  background: rgba(255, 255, 255, 0.12);
  isolation: isolate;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
  color: var(--color-white);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.hero-lang-link:hover {
  background: rgba(255, 255, 255, 0.95);
  color: var(--color-blue);
  border-color: rgba(255, 255, 255, 0.9);
}
/* Při scrollu na úvodní stránce – EN tlačítko stejná modrá jako navigační bublina */
body:has(.header.header--scrolled) .hero-lang-link {
  background: var(--color-blue);
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--color-white);
}
body:has(.header.header--scrolled) .hero-lang-link:hover {
  background: rgba(255, 255, 255, 0.15);
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.25);
}
/* Mobil: skrýt fixní EN v pravém rohu a zobrazit EN uvnitř hamburger menu */
.nav-lang-mobile { display: none; }
@media (max-width: 768px) {
  .hero-lang-link {
    display: none;
  }
  .nav-lang-mobile {
    display: list-item;
  }
}
/* Jazykový přepínač na podstránkách (hero) */
.page-lang-link {
  position: absolute;
  top: 1.25rem;
  right: clamp(1.25rem, 4vw, 3rem);
  z-index: 2;
  display: inline-flex;
  align-items: center;
  min-height: calc(2rem + 0.8rem);
  padding: 0.4rem 0.85rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
  color: var(--color-white);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.page-lang-link:hover {
  background: rgba(255, 255, 255, 0.95);
  color: var(--color-blue);
  border-color: rgba(255, 255, 255, 0.9);
}
@media (max-width: 768px) {
  .page-lang-link {
    display: none;
  }
}
/* Společný wrapper pro CTA + timeline – stejná šířka a střed, CTA nad středem (Kovovýroba) */
.hero-timeline-wrap {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 48rem;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
}
/* Hero CTA – nad timeline, vycentrovaný nad středem (Kovovýroba), zmenšený */
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.9rem;
  margin-bottom: 0.75rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  color: var(--color-white);
  font-weight: 600;
  font-size: 0.8125rem;
  text-decoration: none;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.hero-cta-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.6rem;
  height: 1.6rem;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  flex-shrink: 0;
  transition: background 0.3s ease, color 0.3s ease;
}
.hero-cta-icon svg {
  color: var(--color-white);
  transition: color 0.3s ease;
}
.hero-cta:hover {
  background: rgba(255, 255, 255, 0.95);
  color: var(--color-blue);
  border-color: rgba(255, 255, 255, 0.9);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}
.hero-cta:hover .hero-cta-icon {
  background: var(--color-white);
}
.hero-cta:hover .hero-cta-icon svg {
  color: var(--color-blue);
}
.hero-lead {
  margin: 0 0 2rem;
  max-width: 36em;
  font-size: 1.125rem;
  color: var(--color-text-muted);
}
/* Hero timeline – Omnipol styl, v rámci .hero-timeline-wrap, synchronizace s videem */
.hero-timeline {
  width: 100%;
  padding: 0 1rem 1.5rem;
}
.hero-timeline-track {
  position: relative;
  height: 2px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 1px;
  overflow: visible;
}
.hero-timeline-progress {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0%;
  background: var(--color-white);
  border-radius: 1px;
  transition: width 0.15s linear;
}
.hero-timeline-segments {
  display: flex;
  justify-content: space-between;
  margin-top: 0.5rem;
  gap: 0.5rem;
}
.hero-timeline-segment {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.65);
  font-family: inherit;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  padding: 0.3rem;
  transition: color 0.2s ease;
}
.hero-timeline-segment:hover,
.hero-timeline-segment[aria-pressed="true"] {
  color: var(--color-white);
}
.hero-timeline-num {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}
.hero-timeline-label {
  font-size: 0.5625rem;
  letter-spacing: 0.04em;
  line-height: 1.2;
}

/* Spodní hrana hero mírně úhlovaná – čistý řez bez gradientu */
/* Tlačítko */
.btn {
  display: inline-block;
  padding: 0.875rem 1.75rem;
  font-family: var(--font), system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.25;
  text-decoration: none;
  border-radius: var(--radius);
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  -webkit-appearance: none;
  appearance: none;
  overflow: visible;
  cursor: pointer;
}
.btn-primary {
  background-color: #273CF5;
  background-image: linear-gradient(135deg, #273CF5 0%, #1520a8 100%);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 20px rgba(var(--color-logo-rgb), 0.35);
}
.btn-primary:hover {
  background-color: #1520a8;
  background-image: linear-gradient(135deg, #1520a8 0%, #0f165c 100%);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(var(--color-logo-rgb), 0.45), 0 0 0 1px rgba(255, 255, 255, 0.1) inset;
}
.btn-primary:disabled {
  opacity: 0.85;
  cursor: wait;
  transform: none;
}

/* ----- Stats – modrá páska s jemným vzorem (bez světlého horního pruhu) ----- */
.stats {
  position: relative;
  background: var(--color-blue);
  color: var(--color-white);
  padding: 4rem 0;
  scroll-margin-top: 12vh;
}
.stats::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(var(--color-logo-rgb), 0.08) 1px, transparent 0);
  background-size: 28px 28px;
  pointer-events: none;
}
.stats-inner { position: relative; z-index: 1; max-width: 64rem; margin-inline: auto; }
.stats-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  text-align: center;
}
@media (max-width: 900px) {
  .stats-list { grid-template-columns: repeat(2, 1fr); }
}
.stats-list li {
  padding: 1.5rem 1rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-left: 4px solid transparent;
  border-radius: var(--radius);
  transition: background var(--transition), border-color var(--transition), border-left-color var(--transition);
}
.stats-list li:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.12);
  border-left-color: var(--color-blue);
}
.stats-number {
  display: block;
  font-size: 2.75rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-white);
  margin-bottom: 0.4rem;
  line-height: 1;
}
.stats-number-inner {
  display: inline-flex;
  align-items: center;
}
.stats-number .stats-num,
.stats-number .stats-plus {
  display: inline-block;
}
.stats-plus {
  margin-left: 0.05em;
  transform: translateY(0.08em);
}
.stats-label {
  font-size: 0.9375rem;
  opacity: 0.9;
  line-height: 1.35;
}

/* ----- Manifesto – jedna silná věta (inspirace EcoFuture, Pocketchange) ----- */
.manifesto {
  background: var(--color-bg-light);
  padding: 3rem 0;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.manifesto-text {
  margin: 0;
  font-size: clamp(1.25rem, 3vw, 1.625rem);
  font-weight: 600;
  text-align: center;
  color: var(--color-text-light);
  letter-spacing: -0.02em;
  line-height: 1.4;
  max-width: 36em;
  margin-inline: auto;
}

/* ----- Naše služby – styl Altron (tagline, nadpis, mřížka karet) ----- */
.services-altron {
  background: var(--color-white);
  padding: 4rem 0 5rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.services-altron-tagline {
  margin: 0 0 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-blue);
  text-align: center;
}
.services-altron-title {
  margin: 0 auto 3rem;
  font-size: clamp(1.25rem, 2.5vw, 1.625rem);
  font-weight: 700;
  line-height: 1.45;
  color: var(--color-black);
  text-align: center;
  max-width: 42em;
}
.services-altron-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.services-altron-grid--4 {
  grid-template-columns: repeat(2, 1fr);
}
.services-altron-card {
  position: relative;
  background: var(--color-bg-light);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: border-color var(--transition), box-shadow var(--transition);
}
/* Tlačítko „Více“ a bublina s rozšířeným textem */
.services-altron-more-wrap {
  margin-top: auto;
  position: relative;
}
.services-altron-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-blue);
  background: none;
  border: none;
  cursor: pointer;
  min-height: 44px;
  padding: 0.5rem 0.25rem 0.5rem 0;
  font-family: inherit;
  transition: color var(--transition);
}
.services-altron-more-btn:hover {
  color: var(--color-blue-dark);
}
.services-altron-more-btn span {
  font-size: 0.65em;
  transition: transform 0.2s ease;
}
.services-altron-card.is-popover-open {
  z-index: 30;
}
.services-altron-card.is-popover-open .services-altron-more-btn span {
  transform: rotate(180deg);
}
.services-altron-popover {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 0.5rem;
  min-width: min(100%, 22rem);
  width: max-content;
  max-width: 28rem;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 1.25rem 2.25rem 1.25rem 1.25rem;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(0, 0, 0, 0.08);
  z-index: 20;
  max-height: 14rem;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
}
.services-altron-popover.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.services-altron-popover-close {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: none;
  background: none;
  color: var(--color-text-muted);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color var(--transition), background var(--transition);
}
.services-altron-popover-close:hover {
  color: var(--color-black);
  background: rgba(0, 0, 0, 0.06);
}
.services-altron-popover p {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--color-text-light);
  word-wrap: break-word;
  overflow-wrap: break-word;
  word-break: break-word;
}
.services-altron-popover p + p { margin-top: 0.75rem; }
.services-altron-popover ul {
  margin: 0.5rem 0 0.75rem;
  padding-left: 1.25rem;
  list-style-type: disc;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--color-text-light);
  overflow-wrap: break-word;
  word-break: break-word;
}
.services-altron-popover li {
  margin-bottom: 0.25rem;
}
.services-altron-popover li:last-child { margin-bottom: 0; }
/* Na tabletu/mobilu rozbalení inline pod tlačítko – nepřekrývá další karty */
@media (max-width: 768px) {
  .services-altron-more-wrap {
    position: static;
  }
  .services-altron-popover {
    position: static;
    left: auto;
    right: auto;
    width: 100%;
    min-width: 0;
    max-width: none;
    max-height: none;
    transform: none;
    margin-top: 0.75rem;
    box-shadow: none;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: var(--radius);
    display: none;
  }
  .services-altron-popover.is-open {
    display: block;
    transform: none;
  }
  .services-altron-popover p,
  .services-altron-popover ul {
    overflow-wrap: break-word;
    word-break: break-word;
    min-width: 0;
  }
}
.services-altron-card:hover {
  border-color: rgba(26, 95, 180, 0.2);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}
.services-altron-icon {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 48px;
  height: 48px;
  color: var(--color-blue);
  margin-bottom: 1.25rem;
  flex-shrink: 0;
}
.services-altron-icon .bi {
  font-size: 2.25rem;
  color: inherit;
}
.services-altron-icon svg {
  display: block;
  width: 100%;
  height: 100%;
}
/* Ikona z obrázku (JPG/PNG) – přebarvení černé na modrou */
.services-altron-icon--img img {
  display: block;
  width: 48px;
  height: 48px;
  object-fit: contain;
  filter: brightness(0) saturate(100%) invert(16%) sepia(99%) saturate(2500%) hue-rotate(210deg);
}
.services-altron-icon--img img:hover {
  filter: brightness(0) saturate(100%) invert(16%) sepia(99%) saturate(2500%) hue-rotate(210deg);
}
.services-altron-card-title {
  margin: 0 0 0.5rem;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-black);
  line-height: 1.3;
}
.services-altron-card-desc {
  margin: 0 0 1.25rem;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--color-text-light);
  flex: 1;
}
.services-altron-link {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-blue);
  text-decoration: none;
  transition: color var(--transition);
  margin-top: auto;
}
.services-altron-link:hover {
  color: var(--color-blue-dark);
}
@media (max-width: 900px) {
  .services-altron-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .services-altron-grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .services-altron {
    padding: 3rem 0 4rem;
  }
  .services-altron-title {
    margin-bottom: 2rem;
  }
  .services-altron-grid,
  .services-altron-grid--4 {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .services-altron-card {
    padding: 1.5rem 1.25rem;
  }
}

/* ----- Mapa – tmavá mapa s blikajícím modrým bodem ----- */
.map-section {
  position: relative;
  background: var(--color-bg-light);
}
.map-container {
  width: 100%;
  height: 340px;
  min-height: 280px;
}
.map-container.leaflet-container {
  font-family: var(--font);
}
.map-marker-div {
  background: none !important;
  border: none !important;
}
/* Blikající modrý puntík – čistá tečka */
.map-marker-pulse {
  display: block;
  width: 12px;
  height: 12px;
  min-width: 12px;
  min-height: 12px;
  background: var(--color-blue);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--color-blue);
  animation: map-pulse 1.2s ease-in-out infinite;
}
@keyframes map-pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 8px var(--color-blue); }
  50% { opacity: 0.6; box-shadow: 0 0 4px var(--color-blue); }
}
@media (prefers-reduced-motion: reduce) {
  .map-marker-pulse { animation: none; }
}

/* ----- Služby – tmavá sekce s gradientem a jednotným akcentem ----- */
.services {
  position: relative;
  background: var(--color-blue);
  color: var(--color-white);
  padding: 5rem 0 6rem;
}
.services::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(var(--color-logo-rgb), 0.06) 1px, transparent 0);
  background-size: 32px 32px;
  pointer-events: none;
}
.services .container { position: relative; z-index: 1; }
.section-title {
  margin: 0 0 1rem;
  font-size: clamp(1.875rem, 3.75vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  text-align: center;
  position: relative;
  padding-bottom: 0.75rem;
}
.section-title::after {
  content: '';
  display: block;
  width: 5rem;
  height: 6px;
  background: var(--color-blue);
  margin: 0.75rem auto 0;
  border-radius: 3px;
  box-shadow: 0 0 0 4px rgba(var(--color-logo-rgb), 0.15);
}
.section-title--dark::after { background: var(--color-blue); box-shadow: 0 0 0 4px rgba(var(--color-logo-rgb), 0.12); }
.section-lead {
  margin: 0 auto 3rem;
  max-width: 42em;
  text-align: center;
  opacity: 0.92;
  font-size: 1.0625rem;
  line-height: 1.6;
}
/* Karty služeb pod sebou – na celou šířku, větší mezery */
.services-cards-wrap {
  width: 100%;
  max-width: 100%;
  padding: 0 1.25rem;
  margin-top: 2rem;
}
.services-cards-stacked {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 72rem;
  margin-inline: auto;
  padding-inline: 0.5rem;
}
.service-card--stacked {
  position: relative;
  width: 94%;
  max-width: 100%;
  background: linear-gradient(160deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.03) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-left: 4px solid transparent;
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--transition-slow), border-color var(--transition), border-left-color var(--transition), box-shadow var(--transition-slow);
}
/* Střídavě vpravo / vlevo – jen u vertikálních karet */
.services-cards-stacked .service-card--stacked:not(.service-card--horizontal):nth-child(odd) {
  margin-left: auto;
  margin-right: 0;
}
.services-cards-stacked .service-card--stacked:not(.service-card--horizontal):nth-child(even) {
  margin-left: 0;
  margin-right: auto;
}
.services-cards-stacked .service-card--stacked.service-card--horizontal:nth-child(even) .service-card-link {
  flex-direction: row-reverse !important;
}
.services-cards-stacked .service-card--stacked.service-card--horizontal:nth-child(even) .service-card-image-wrap {
  overflow: hidden;
}
.services-cards-stacked .service-card--stacked.service-card--horizontal:nth-child(even) .service-card-inner .service-link-icon {
  right: auto;
  left: 1.5rem;
}
.service-card--stacked:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.15);
  border-left-color: var(--color-blue);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(var(--color-logo-rgb), 0.08);
}
.service-card--stacked .service-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
/* Karty divizí – foto vlevo/vpravo, text vedle */
.service-card--stacked.service-card--horizontal .service-card-link {
  flex-direction: row !important;
  min-height: 320px;
}
/* Horizontální karty – na celou šířku, bílé jako u datových center, zaoblené rohy */
.services-cards-stacked .service-card--stacked.service-card--horizontal {
  position: relative;
  width: 100%;
  margin-left: 0;
  margin-right: 0;
  background: var(--color-white);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius-lg);
}
/* Modrý pruh vlevo jako vnitřní prvek, aby 1px okraj šel kolem celého boxu */
.services-cards-stacked .service-card--stacked.service-card--horizontal::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--color-blue);
  border-radius: var(--radius-lg) 0 0 var(--radius-lg);
  z-index: 0;
}
.services-cards-stacked .service-card--stacked.service-card--horizontal .service-card-link {
  position: relative;
  z-index: 1;
}
.services-cards-stacked .service-card--stacked.service-card--horizontal:hover {
  border-color: rgba(0, 0, 0, 0.12);
  box-shadow: var(--shadow-md);
}
.service-card--stacked.service-card--horizontal .service-card-image-wrap {
  flex: 0 0 52%;
  min-width: 0;
  aspect-ratio: auto !important;
  min-height: 320px;
  overflow: hidden;
  display: block;
}
/* Zaoblení obrázku – vlevo o 4px méně (kvůli 4px modrému okraji), aby levý roh nevytvářel bílý špunt */
.service-card--stacked.service-card--horizontal:nth-child(odd) .service-card-image-wrap {
  border-radius: calc(var(--radius-lg) - 4px) 0 0 calc(var(--radius-lg) - 4px);
}
.service-card--stacked.service-card--horizontal:nth-child(even) .service-card-image-wrap {
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
}
.service-card--stacked.service-card--horizontal .service-card-image {
  min-height: 320px;
  object-fit: cover;
  width: 100%;
  height: 100%;
}
.service-card--stacked.service-card--horizontal.kenburns-played .service-card-image,
.services-cards-stacked .service-card--stacked.service-card--horizontal.kenburns-played .service-card-image {
  animation: kenburns 18s ease-in-out 0.3s 1 forwards;
  transform-origin: center center;
}
.service-card--stacked.service-card--horizontal:hover .service-card-image {
  animation-play-state: paused;
  transform: scale(1.03);
}
.service-card--stacked.service-card--horizontal .service-card-inner {
  flex: 1 1 40%;
  min-width: 280px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.75rem 1.75rem 2rem;
  background: var(--color-white);
  color: var(--color-black);
}
.service-card--stacked.service-card--horizontal .service-title {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--color-black);
}
.service-card--stacked.service-card--horizontal .service-desc {
  font-size: 1rem;
  line-height: 1.85;
  margin-bottom: 1.5rem;
  text-rendering: geometricPrecision;
  color: var(--color-black);
  opacity: 1;
}
.service-card--stacked.service-card--horizontal .service-link {
  font-size: 1.0625rem;
  color: var(--color-blue);
}
.service-card--stacked.service-card--horizontal .service-card-link:hover .service-link {
  color: var(--color-blue-dark);
}
.service-card--stacked.service-card--horizontal .service-link-icon {
  background: rgba(0, 0, 0, 0.12);
}
.service-card--stacked.service-card--horizontal .service-card-link:hover .service-link-icon {
  background: var(--color-blue);
}
.service-card--stacked.service-card--horizontal .service-card-link:hover .service-link-icon svg {
  color: var(--color-white);
}
.service-card--stacked .service-card-image-wrap {
  display: block;
  position: relative;
  aspect-ratio: 18 / 9;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.06);
  text-decoration: none;
}
.service-card--stacked .service-card-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
}
.service-card--stacked:hover .service-card-image {
  transform: scale(1.03);
}
.service-card--stacked .service-card-image-placeholder {
  display: none;
  position: absolute;
  inset: 0;
  align-items: center;
  justify-content: center;
  background: rgba(var(--color-logo-rgb), 0.12);
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.875rem;
}
.service-card--stacked .service-card-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 2rem 2rem 2.5rem;
}
.service-card--stacked .service-card-inner .service-link {
  margin-top: auto;
}
.service-card--stacked .service-title {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-white);
}
.service-card--stacked .service-desc {
  margin: 0 0 1rem;
  font-size: 0.9375rem;
  opacity: 0.9;
  line-height: 1.55;
}
.service-card--stacked .service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--color-blue-light);
  font-weight: 600;
  font-size: 1rem;
  transition: color var(--transition);
}
.service-card--stacked .service-link-icon {
  position: absolute;
  bottom: 1.5rem;
  right: 1.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  overflow: hidden;
  transition: width var(--transition), height var(--transition), background var(--transition);
}
.service-card--stacked .service-link-icon svg {
  opacity: 0;
  color: var(--color-blue);
  transition: opacity var(--transition);
}
.service-card--stacked .service-card-link:hover .service-link {
  color: var(--color-blue-light);
}
.service-card--stacked .service-card-link:hover .service-link-icon {
  width: 36px;
  height: 36px;
  background: var(--color-white);
}
.service-card--stacked .service-card-link:hover .service-link-icon svg {
  opacity: 1;
}
.mobile-expand-toggle {
  display: none;
}
@media (max-width: 900px) {
  .services-cards-wrap {
    padding-inline: 1rem;
    margin-top: 1.5rem;
    box-sizing: border-box;
  }
  .services-cards-stacked {
    gap: 1.75rem;
    padding-inline: 0;
    width: 100%;
  }
  .service-card--stacked,
  .services-cards-stacked .service-card--stacked.service-card--horizontal:nth-child(odd),
  .services-cards-stacked .service-card--stacked.service-card--horizontal:nth-child(even) {
    width: 100%;
    max-width: 100%;
    margin-left: 0 !important;
    margin-right: 0 !important;
    margin-inline: 0;
  }
  .service-card--stacked .service-card-image-wrap {
    aspect-ratio: 16 / 9;
  }
  .service-card--stacked.service-card--horizontal .service-card-inner {
    padding: 1.5rem 1.25rem 2rem;
  }
  .service-card--stacked.service-card--horizontal.mobile-expandable .service-card-inner {
    padding-bottom: 3.75rem;
  }
  .service-card--stacked .service-title {
    font-size: 1.125rem;
  }
  .service-card--stacked .service-link-icon {
    bottom: 1.25rem;
    right: 1.25rem;
  }
  .services-cards-stacked .service-card--stacked.service-card--horizontal:nth-child(even) .service-card-inner .service-link-icon {
    right: 1.25rem;
    left: auto;
  }
  .service-card--stacked .service-card-link:hover .service-link-icon {
    width: 32px;
    height: 32px;
  }
  .mobile-expandable-body.is-collapsed {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: var(--expand-lines, 5);
    overflow: hidden;
  }
  .mobile-expandable.is-mobile-expanded .mobile-expandable-body {
    display: block;
    -webkit-line-clamp: unset;
    overflow: visible;
  }
  .page-content-side-col.mobile-expandable {
    position: relative;
    padding-bottom: 3.75rem;
  }
  .about-intro-prose.mobile-expandable {
    position: relative;
    padding-bottom: 3.75rem;
  }
  .mobile-expand-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    right: 1.25rem;
    bottom: 1.25rem;
    z-index: 3;
    width: 36px;
    height: 36px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background-color: #273CF5;
    background: var(--color-blue);
    color: #ffffff;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(var(--color-logo-rgb), 0.3);
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    transition: background var(--transition), transform var(--transition);
  }
  .mobile-expand-toggle:active {
    transform: scale(0.96);
  }
  .mobile-expandable.is-mobile-expanded .mobile-expand-toggle {
    background: var(--color-black);
  }
  .mobile-expandable.is-mobile-expanded .mobile-expand-toggle-bar-h {
    opacity: 0;
  }
  .mobile-expand-toggle-bar-h {
    transition: opacity var(--transition);
  }
}
@media (max-width: 1200px) and (min-width: 901px) {
  .services-cards-stacked .service-card--stacked.service-card--horizontal:nth-child(odd),
  .services-cards-stacked .service-card--stacked.service-card--horizontal:nth-child(even) {
    width: 94%;
    margin-inline: auto;
  }
}
@media (max-width: 1200px) {
  /* Na noteboocích a užších: foto nahoře, text dole – jako na aero.cz */
  .service-card--stacked.service-card--horizontal .service-card-link {
    flex-direction: column !important;
    min-height: 0;
  }
  .services-cards-stacked .service-card--stacked.service-card--horizontal:nth-child(even) .service-card-link {
    flex-direction: column !important;
  }
  .service-card--stacked.service-card--horizontal .service-card-image-wrap {
    flex: none;
    aspect-ratio: 16 / 9;
    min-height: 0;
  }
  .service-card--stacked.service-card--horizontal .service-card-image {
    min-height: 0;
  }
}

/* ----- O nás – světlá sekce ----- */
.about {
  position: relative;
  background: var(--color-white);
  padding: 5rem 0 6rem;
  border-top: 4px solid var(--color-blue);
}
.about::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(var(--color-logo-rgb), 0.04) 1px, transparent 0);
  background-size: 24px 24px;
  pointer-events: none;
}
.about .container { position: relative; z-index: 1; }
.about-lead {
  margin: 0 auto 2rem;
  max-width: 42em;
  color: var(--color-text-light);
  line-height: 1.7;
}
.about-lead:last-child {
  margin-bottom: 0;
}
/* Úvodní blok O nás – bubliny ve stylu karet / DC (příběh + Mise & Vize) */
.about--intro {
  padding-top: 3.5rem;
  padding-bottom: 4.5rem;
  background: #f8f9fa;
  border-top: none;
}
.about--intro::before {
  opacity: 0.65;
}
.about-intro-prose {
  max-width: 56rem;
  margin-inline: auto;
  margin-bottom: 3rem;
  padding: 2.5rem 3rem;
  background: var(--color-white);
  border-radius: 1.25rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.05);
}
.about-intro-prose .about-lead {
  max-width: none;
  margin-left: 0;
  margin-right: 0;
  line-height: 1.95;
  font-size: 1.0625rem;
}
.about-intro-prose .about-lead:first-child {
  font-size: 1.125rem;
  color: var(--color-black);
  font-weight: 500;
}
.about-intro-prose .about-lead:last-child {
  margin-bottom: 0;
}
.about-intro-section-title {
  margin-bottom: 2.5rem;
}
.about-intro-cols {
  max-width: 56rem;
  margin-inline: auto;
  display: grid;
  gap: 1.5rem;
}
.about-intro-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 2rem 2.25rem;
  background: var(--color-white);
  border-radius: 1.25rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.05);
  height: 100%;
}
.about-intro-icon {
  color: var(--color-blue);
  margin-bottom: 1.25rem;
  line-height: 0;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(var(--color-logo-rgb), 0.1);
}
.about-intro-icon svg {
  display: block;
  width: 36px;
  height: 36px;
}
.about-intro-col-title {
  margin: 0 0 0.75rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-black);
  letter-spacing: -0.01em;
}
.about-intro-col-text {
  margin: 0;
  font-size: 1rem;
  color: var(--color-text-light);
  line-height: 1.75;
}
@media (min-width: 52em) {
  .about-intro-cols {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: stretch;
  }
}
@media (max-width: 768px) {
  .about-intro-prose {
    padding: 1.5rem 1.25rem;
    margin-bottom: 2.25rem;
  }
  .about-intro-col {
    padding: 1.5rem 1.35rem;
  }
}
.about-intro {
  margin: 0 auto 1.5rem;
  max-width: 42em;
  color: var(--color-text-light);
  line-height: 1.7;
}
.about-cta-link {
  display: inline-block;
  font-weight: 600;
  color: var(--color-blue);
  text-decoration: none;
  transition: color var(--transition);
}
.about-cta-link:hover {
  color: var(--color-blue-dark);
}
.section-title--dark { color: var(--color-black); }
.section-title--dark::after { background: var(--color-blue); }
/* Podpora z fondů EU – blok v sekci Finance */
.eu-funding {
  margin-top: 3rem;
  padding-top: 2.5rem;
  max-width: 52rem;
}
.eu-funding-heading {
  margin: 0 0 1.25rem;
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  font-weight: 700;
  color: var(--color-blue);
}
.eu-funding-project {
  margin-bottom: 2rem;
}
.eu-funding-project-title {
  margin: 0 0 1rem;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-blue);
  padding-left: 1.25rem;
  position: relative;
}
.eu-funding-project-title::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 0.5rem;
  height: 0.5rem;
  background: var(--color-black);
  border-radius: 1px;
}
.eu-funding-details {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--color-text-light);
  line-height: 1.6;
}
.eu-funding-details dt {
  font-weight: 700;
  color: var(--color-black);
  margin-top: 0.5rem;
}
.eu-funding-details dt:first-child { margin-top: 0; }
.eu-funding-details dd {
  margin: 0 0 0 0.25rem;
}
.eu-funding-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem 2rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
}
.eu-funding-logos img {
  height: 64px;
  width: auto;
  display: block;
  object-fit: contain;
}
.eu-funding-logos .eu-funding-logo--npo {
  height: 120px;
}
/* Na mobilu loga EU pod sebou, srovnané */
@media (max-width: 600px) {
  .eu-funding-logos {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
    margin-top: 1.5rem;
    padding-top: 1.25rem;
  }
  .eu-funding-logos img {
    height: 56px;
  }
  .eu-funding-logos .eu-funding-logo--npo {
    height: 80px;
  }
}
#vedeni .section-title--dark { margin-bottom: 1.5rem; }
/* Wrapper – jednatel, dva vedoucí, horizontální časová osa */
.about-leaders-wrap {
  max-width: 56rem;
  margin-inline: auto;
  width: 100%;
  display: grid;
  grid-template-columns: 380px 1fr;
}
.about-leaders-wrap .about-leader--main {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 380px 1fr;
  align-items: center;
  margin-bottom: 1.75rem;
  max-width: none;
  margin-inline: 0;
  gap: 2.5rem;
}
@supports (grid-template-columns: subgrid) {
  .about-leaders-wrap .about-leader--main {
    grid-template-columns: subgrid;
  }
}
.about-leaders-wrap .about-leader--main .about-leader-photo { grid-column: 1; }
.about-leaders-wrap .about-leader--main .about-leader-info { grid-column: 2; }
.about-leaders-wrap .about-leaders-divider {
  grid-column: 1 / -1;
  border: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(0, 0, 0, 0.14), transparent);
  margin: 1.75rem 0;
}
.about-leaders-wrap .about-leaders-row {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 280px));
  justify-content: center;
  gap: 2.5rem;
  max-width: 40rem;
  margin-inline: auto;
  margin-bottom: 1.75rem;
}
.about-leaders-wrap .timeline-horizontal {
  grid-column: 1 / -1;
  padding: 1.75rem 0 0;
}
.about-leader {
  display: grid;
  grid-template-columns: minmax(280px, 380px) 1fr;
  gap: 2.5rem;
  align-items: center;
  margin-bottom: 2.5rem;
  max-width: 56em;
  margin-inline: auto;
}
.about-leader-photo {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
  aspect-ratio: 3 / 4;
}
.about-leader-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 25% top;
  display: block;
}
.about-leader-info { padding: 0; }
.about-leader-quote {
  margin: 0 0 1.5rem;
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--color-text-light);
  font-style: italic;
  border-left: 4px solid var(--color-blue);
  padding-left: 1.25rem;
}
.about-leader-name {
  margin: 0 0 0.35rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-black);
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.about-leader-role {
  margin: 0;
  font-size: 1rem;
  color: var(--color-blue);
  font-weight: 600;
  letter-spacing: 0.01em;
}
/* Jednatel – výraznější blok */
.about-leader--main .about-leader-name {
  font-size: 1.875rem;
  font-weight: 800;
}
.about-leader--main .about-leader-role {
  font-size: 1.0625rem;
  color: var(--color-blue);
}
.about-leader--main {
  margin-bottom: 1.75rem;
}
.about-leaders-divider {
  border: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(0, 0, 0, 0.14), transparent);
  margin: 1.75rem 0;
  max-width: 56em;
}
.about-leaders-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 280px));
  justify-content: center;
  gap: 2.5rem;
  max-width: 40rem;
  margin-inline: auto;
  margin-bottom: 2.5rem;
}
/* Karty vedoucích oddělení – vertikální karta: foto nahoře, jméno a role pod ním */
.about-leader--secondary {
  max-width: none;
  margin-bottom: 0;
  grid-template-columns: 1fr;
  gap: 0;
  align-items: stretch;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
}
.about-leader--secondary .about-leader-photo {
  width: 100%;
  min-width: 0;
  aspect-ratio: 3 / 4;
  border-radius: 0;
  overflow: hidden;
  box-shadow: none;
}
.about-leader--secondary .about-leader-photo img {
  object-position: center top;
  object-fit: cover;
  width: 100%;
  height: 100%;
  display: block;
}
/* Portrét Krámek: zoom + mírný posun nahoru (agresivní hodnoty ho mohly „vystřelit“ mimo ořez) */
.about-leader--secondary .about-leader-photo--portrait-zoom img {
  object-fit: cover;
  object-position: center top;
  width: 100%;
  height: 100%;
  display: block;
  transform: translateY(-9%) scale(1.38);
  transform-origin: center 32%;
}
.about-leader--secondary .about-leader-info {
  text-align: center;
  padding: 1.25rem 1rem 1.5rem;
}
.about-leader--secondary .about-leader-name {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  line-height: 1.3;
}
.about-leader--secondary .about-leader-role {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-blue);
  line-height: 1.35;
}
.timeline {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 32rem;
  position: relative;
  padding-left: 0.25rem;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 0.4375rem;
  top: 0.5rem;
  bottom: 0.5rem;
  width: 3px;
  background: var(--color-blue);
  border-radius: 2px;
}
/* Vertikální osa má čáru vykreslenou vlastními pravidly */
.timeline-vertical::before {
  left: 5.5rem;
  transform: translateX(-50%);
}
.timeline-horizontal {
  max-width: 72rem;
  padding: 1.75rem 0 0;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0;
}
/* Linka ve stejné výšce jako tečky – osa širší a výraznější */
.timeline-horizontal::before {
  left: 0;
  top: calc(1.25rem + 0.5rem + 9px);
  bottom: auto;
  height: 4px;
  width: 100%;
  background: var(--color-blue);
}
.timeline-horizontal .timeline-item {
  flex: 1;
  padding: 0;
  padding-top: 1.25rem;
  position: relative;
}
.timeline-horizontal .timeline-item:first-child {
  text-align: left;
}
/* Rok a text první položky zarovnané na střed tečky (tečka je vlevo) */
.timeline-horizontal .timeline-item:first-child .timeline-year,
.timeline-horizontal .timeline-item:first-child .timeline-text {
  display: inline-block;
  width: fit-content;
  margin-left: 0;
  transform: translateX(-50%);
}
.timeline-horizontal .timeline-item:nth-child(2) {
  text-align: center;
}
.timeline-horizontal .timeline-item:last-child {
  text-align: right;
}
/* Rok a text poslední položky zarovnané na střed tečky (tečka je vpravo) */
.timeline-horizontal .timeline-item:last-child .timeline-year,
.timeline-horizontal .timeline-item:last-child .timeline-text {
  display: inline-block;
  width: fit-content;
  margin-left: auto;
  margin-right: 0;
  transform: translateX(50%);
}
/* Tečky přímo na lince – první na levém okraji, prostřední uprostřed, poslední na pravém okraji */
.timeline-horizontal .timeline-item::before {
  top: calc(0.5rem + 2px);
  width: 18px;
  height: 18px;
  background: var(--color-blue);
  border: 3px solid var(--color-bg-light);
  border-radius: 50%;
  box-shadow: 0 0 0 2px var(--color-blue);
}
.timeline-horizontal .timeline-item:first-child::before {
  left: 0;
  transform: translateY(-50%);
}
.timeline-horizontal .timeline-item:nth-child(2)::before {
  left: 50%;
  transform: translate(-50%, -50%);
}
.timeline-horizontal .timeline-item:last-child::before {
  left: auto;
  right: 0;
  transform: translateY(-50%);
}
.timeline-horizontal .timeline-year {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-blue);
  margin-bottom: 0.25rem;
}
.timeline-horizontal .timeline-text {
  font-size: 0.9375rem;
  color: var(--color-text-light);
  line-height: 1.4;
  white-space: nowrap;
  margin: 0;
}

/* Vertikální časová osa s lidmi u každého roku (podle divize) */
.about-leaders-wrap .timeline-vertical {
  max-width: 56rem;
  margin: 0 auto;
  padding: 0;
  padding-left: 0;
  list-style: none;
  position: relative;
}
/* Osa mezi levým sloupcem (roky) a pravým (texty) – 5rem + polovina mezery */
.about-leaders-wrap .timeline-vertical::before {
  content: '';
  position: absolute;
  left: 5.5rem;
  top: 0.5rem;
  bottom: 0.5rem;
  width: 3px;
  transform: translateX(-50%);
  background: var(--color-blue);
  border-radius: 2px;
}
.about-leaders-wrap .timeline-vertical .timeline-item {
  display: grid;
  grid-template-columns: 5rem 1fr;
  gap: 1rem;
  align-items: start;
  padding-bottom: 2.5rem;
  position: relative;
}
.about-leaders-wrap .timeline-vertical .timeline-item:last-child {
  padding-bottom: 0.5rem;
}
.about-leaders-wrap .timeline-vertical .timeline-item::before {
  left: 5.5rem;
  top: 0.15rem;
  width: 14px;
  height: 14px;
  transform: translateX(-50%);
  background: var(--color-blue);
  border: 3px solid var(--color-bg-light-alt);
  border-radius: 50%;
  box-shadow: 0 0 0 2px var(--color-blue);
}
/* Rok vlevo od osy */
.about-leaders-wrap .timeline-vertical .timeline-year {
  grid-column: 1;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-blue);
  margin: 0;
  text-align: right;
  padding-right: 1rem;
}
/* Text vpravo od osy */
.about-leaders-wrap .timeline-vertical .timeline-text {
  grid-column: 2;
  font-size: 1rem;
  color: var(--color-text-light);
  margin: 0 0 1rem;
  line-height: 1.4;
  text-align: left;
}
/* Karta osoby přes celou šířku pod rokem a textem */
.about-leaders-wrap .timeline-vertical .timeline-person {
  grid-column: 1 / -1;
  margin-top: 0.5rem;
}
.timeline-person {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 1.5rem;
  align-items: start;
  background: #fff;
  border-radius: 12px;
  padding: 1.25rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.06);
}
.timeline-person-photo {
  width: 160px;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}
.timeline-person-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.timeline-person-name {
  margin: 0 0 0.25rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-black);
  line-height: 1.3;
}
.timeline-person-role {
  margin: 0 0 0.75rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-blue);
  line-height: 1.35;
}
.timeline-person-quote {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--color-text-light);
  font-style: italic;
  border-left: 3px solid var(--color-blue);
  padding-left: 1rem;
}
.timeline-item {
  position: relative;
  padding-left: 2.25rem;
  padding-bottom: 2rem;
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.2rem;
  width: 14px;
  height: 14px;
  background: var(--color-blue);
  border: 3px solid var(--color-bg-light);
  border-radius: 50%;
  box-shadow: 0 0 0 2px var(--color-blue);
}
.timeline-year {
  display: block;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-blue);
  margin-bottom: 0.2rem;
}
.timeline-text {
  font-size: 1rem;
  color: var(--color-text-light);
}

/* ----- Reference – světlá sekce ----- */
.references {
  background: var(--color-white);
  padding: 4rem 0;
  border-top: 4px solid var(--color-blue);
}
.section-lead--dark {
  color: var(--color-text-muted);
  margin-bottom: 2rem;
}

/* ----- Postup realizace (6 kroků) – NON-IT infrastruktura ----- */
.process-steps {
  padding: 3.5rem 0;
  background: var(--color-white);
}
.process-steps .section-title--dark { margin-bottom: 0.5rem; }
.process-steps .section-lead--dark { margin-bottom: 2.5rem; }
.process-steps-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
}
.process-step {
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
  border-top: 3px solid var(--color-blue);
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.process-step-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--color-blue);
}
.process-step-num {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
  color: var(--color-blue);
}
.process-step-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--color-blue);
  flex-shrink: 0;
  background: conic-gradient(var(--color-blue) 0% var(--p, 0%), transparent var(--p, 0%) 100%);
}
/* 1/6 až 6/6 – postupně vyplněný kruh (conic-gradient od 12h po směru hodin) */
.process-step-circle--1 { background: conic-gradient(var(--color-blue) 0% 16.67%, transparent 16.67% 100%); }
.process-step-circle--2 { background: conic-gradient(var(--color-blue) 0% 33.33%, transparent 33.33% 100%); }
.process-step-circle--3 { background: conic-gradient(var(--color-blue) 0% 50%, transparent 50% 100%); }
.process-step-circle--4 { background: conic-gradient(var(--color-blue) 0% 66.67%, transparent 66.67% 100%); }
.process-step-circle--5 { background: conic-gradient(var(--color-blue) 0% 83.33%, transparent 83.33% 100%); }
.process-step-circle--6 { background: var(--color-blue); border-color: var(--color-blue); }
.process-step-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-black);
  line-height: 1.25;
}
@media (max-width: 1024px) {
  .process-steps-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .process-steps-grid { grid-template-columns: 1fr; }
}
.reference-section-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 2rem;
  align-items: start;
  max-width: 72rem;
  margin-inline: auto;
}
.reference-side-images {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: sticky;
  top: 6rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease 0.5s;
}
/* Když fotky reference nejsou zobrazené, celý blok včetně obrázků je neklikatelný (nelze rozkliknout) */
.reference-section-inner:not(.ref1-images-visible) .reference-side-images--for-ref1,
.reference-section-inner:not(.ref1-images-visible) .reference-side-images--for-ref1 *,
.reference-section-inner:not(.ref2-images-visible) .reference-side-images--for-ref2,
.reference-section-inner:not(.ref2-images-visible) .reference-side-images--for-ref2 *,
.reference-section-inner:not(.ref3-images-visible) .reference-side-images--for-ref3,
.reference-section-inner:not(.ref3-images-visible) .reference-side-images--for-ref3 *,
.reference-section-inner:not(.ref4-images-visible) .reference-side-images--for-ref4,
.reference-section-inner:not(.ref4-images-visible) .reference-side-images--for-ref4 * {
  pointer-events: none !important;
}
/* Zobrazit fotky – všechny reference jen přes JS (najetí na kartu); při přechodu na fotky zůstanou vidět */
.reference-section-inner.ref1-images-visible .reference-side-images--for-ref1,
.reference-section-inner.ref2-images-visible .reference-side-images--for-ref2,
.reference-section-inner.ref3-images-visible .reference-side-images--for-ref3,
.reference-section-inner.ref4-images-visible .reference-side-images--for-ref4 {
  opacity: 1;
  pointer-events: auto;
  transition-delay: 0s;
}
.reference-section-inner.ref2-images-visible .reference-side-images--for-ref2,
.reference-section-inner.ref3-images-visible .reference-side-images--for-ref3 {
  z-index: 21;
}
/* Obal sloupců: v jednom místě ref1 i ref2 fotky, zobrazí se jen aktivní (podle hoveru) */
.reference-side-col {
  position: relative;
  min-width: 200px;
  max-width: 320px;
  width: 100%;
}
.reference-side-col .reference-side-images--for-ref2,
.reference-side-col .reference-side-images--for-ref3 {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
}
.reference-side-col--left {
  justify-self: end;
}
.reference-side-col--right {
  justify-self: start;
}
.reference-side-images--left {
  justify-self: end;
  max-width: 320px;
  z-index: 20;
}
.reference-side-images--right {
  justify-self: start;
  max-width: 320px;
  z-index: 20;
}
.reference-side-images img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  cursor: pointer;
  pointer-events: auto;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.reference-side-images img:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-lg);
}
.reference-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: 1fr 1fr;
  gap: 2rem;
  align-items: stretch;
  justify-items: center;
  max-width: 56rem;
  margin-inline: auto;
  min-height: 420px;
}
/* Všechny reference – bílý box stejná pevná výška a šířka */
.reference-item {
  box-sizing: border-box;
  width: 100%;
  max-width: 280px;
  height: 140px;
  min-height: 140px;
  max-height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.75rem 1.5rem;
  background: var(--color-white);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  transition: border-color var(--transition), box-shadow var(--transition);
  overflow: hidden;
}
.reference-item:hover {
  border-color: rgba(var(--color-logo-rgb), 0.25);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}
.reference-logo {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
}
/* BIOCEV (ref2): stejná velikost loga jako ÚOCHB a H&M (max-height 5rem) */
.reference-item.ref-item--ref2 .reference-logo {
  max-height: 5rem;
  width: auto;
  height: auto;
}
.reference-name {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  text-align: center;
  line-height: 1.3;
}

/* Reference s logem, popisem a galerií fotek při najetí */
.reference-card--with-gallery {
  position: relative;
  width: 100%;
  max-width: 280px;
  height: 100%;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-self: center;
  align-self: stretch;
  pointer-events: none;
}
.reference-card--with-gallery .reference-card-inner,
.reference-card--with-gallery .reference-card-desc,
.reference-card--with-gallery .reference-gallery-trigger {
  pointer-events: auto;
}
/* Bílý obdélník ÚOCHB – stejné rozměry jako ostatní reference (140×šířka, padding 1.75rem 1.5rem) */
.reference-card--with-gallery .reference-card-inner {
  box-sizing: border-box;
  position: relative;
  width: 100%;
  height: 140px;
  min-height: 140px;
  max-height: 140px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.75rem 1.5rem;
  background: var(--color-white);
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.reference-card--with-gallery:hover .reference-card-inner {
  border-color: rgba(var(--color-logo-rgb), 0.25);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}
.reference-card--with-gallery .reference-card-logo {
  max-width: 100%;
  max-height: 5rem;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center;
  margin: 0;
  flex-shrink: 0;
}
/* H&M: logo má v souboru černé pozadí – obal s bílým pozadím, aby v kartě působilo na bílé */
.reference-card-logo-wrap--white {
  background: #fff;
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.reference-card-logo-wrap--white .reference-card-logo {
  max-height: 4rem;
  display: block;
}
/* Text pod obdélníkem (mimo bílou kartu) */
.reference-card--with-gallery .reference-card-desc,
.reference-card--ref2 .reference-card-desc {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  text-align: center;
  line-height: 1.4;
  margin: 0.75rem 0 0;
  max-width: 22em;
}
/* BIOCEV: karta s popiskem pod bílým obdélníkem (stejná struktura jako ÚOCHB) */
.reference-card--ref2 {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 280px;
  height: 100%;
  min-height: 0;
  justify-self: center;
  align-self: stretch;
}
.reference-card--ref2 .reference-item {
  flex: 0 0 auto;
}
/* Tlačítko „Zobrazit fotky“ – na mobilu pod kartou reference, všude stejná velikost */
.reference-gallery-trigger {
  display: none;
  box-sizing: border-box;
  width: 100%;
  min-width: 200px;
  min-height: 2.75rem;
  margin-top: 0.75rem;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  color: var(--color-blue);
  background: transparent;
  border: 1px solid var(--color-blue);
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
  text-align: center;
}
.reference-card--with-gallery .reference-gallery-trigger,
.reference-card--ref2 .reference-gallery-trigger {
  align-self: stretch;
}
.reference-gallery-trigger:hover {
  background: var(--color-blue);
  color: var(--color-white);
}
/* Modal s galerií fotek (mobil) */
.reference-gallery-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}
.reference-gallery-modal.is-open {
  opacity: 1;
  visibility: visible;
}
.reference-gallery-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}
.reference-gallery-modal-inner {
  position: relative;
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.25);
  max-width:  min(480px, 100%);
  max-height: 90vh;
  overflow: auto;
  padding: 1rem;
}
.reference-gallery-modal-close {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  z-index: 2;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: none;
  background: rgba(0, 0, 0, 0.06);
  color: var(--color-text);
  font-size: 1.5rem;
  line-height: 1;
  border-radius: 50%;
  cursor: pointer;
}
.reference-gallery-modal-close:hover {
  background: rgba(0, 0, 0, 0.1);
}
.reference-gallery-modal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.reference-gallery-modal-grid .reference-gallery-modal-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  cursor: pointer;
  display: block;
}
.reference-gallery-modal-grid .reference-gallery-modal-img:hover {
  opacity: 0.9;
}
.reference-card--with-gallery .reference-card-gallery {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-top: 0.5rem;
  padding: 1rem;
  background: var(--color-white);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  width: 280px;
  max-width: 90vw;
  overflow: visible;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}
.reference-card--with-gallery:hover .reference-card-gallery {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
/* Reference 1 a 3: galerie vlevo od karty; reference 2 a 4: galerie vpravo */
.reference-grid > .reference-card--with-gallery:nth-child(1) .reference-card-gallery,
.reference-grid > .reference-card--with-gallery:nth-child(3) .reference-card-gallery {
  left: 0;
  transform: translateX(calc(-100% - 0.5rem));
}
.reference-grid > .reference-card--with-gallery:nth-child(2) .reference-card-gallery,
.reference-grid > .reference-card--with-gallery:nth-child(4) .reference-card-gallery {
  left: 100%;
  margin-left: 0.5rem;
  transform: none;
}
.reference-card--with-gallery .reference-card-gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 4px;
  display: block;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.reference-card--with-gallery .reference-card-gallery img:hover {
  transform: scale(1.12);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  z-index: 1;
  position: relative;
}

/* Lightbox – obrázek přes celou stránku po kliknutí */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}
.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}
.lightbox-inner {
  max-width: 100%;
  max-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox-inner img {
  max-width: 100%;
  max-height: calc(100vh - 4rem);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
}
.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: none;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 1.75rem;
  line-height: 1;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.25);
}
.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 3rem;
  height: 3rem;
  padding: 0;
  border: none;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(255, 255, 255, 0.25);
}
.lightbox-prev { left: 1.5rem; }
.lightbox-next { right: 1.5rem; }
@media (max-width: 1024px) {
  .reference-section-inner {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .reference-grid { order: 1; }
  /* Na mobilu skrýt boční fotky (ÚOCHB/BIOCEV) – zobrazí se jen 4 karty referencí */
  .reference-side-col {
    display: none;
  }
  .reference-side-col .reference-side-images { max-width: 400px; }
  /* Tlačítko „Zobrazit fotky“ viditelné jen na mobilu */
  .reference-gallery-trigger {
    display: inline-block;
  }
  /* Jednotná šířka karet a tlačítka „Zobrazit fotky“ podle ÚOCHB (280px) */
  .reference-grid .reference-card--with-gallery,
  .reference-grid .reference-card--ref2 {
    max-width: 280px;
    width: 100%;
    justify-self: center;
  }
  .reference-grid .reference-gallery-trigger {
    width: 100%;
    min-width: 0;
  }
}
@media (max-width: 640px) {
  .reference-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .reference-item,
  .reference-card--with-gallery {
    max-width: 100%;
  }
  .reference-side-images--left,
  .reference-side-images--right { max-width: 100%; }
}
@media (max-width: 800px) {
  .reference-card--with-gallery .reference-card-gallery {
    min-width: 0;
    width: min(280px, calc(100vw - 2rem));
    grid-template-columns: 1fr;
  }
}
@media (max-width: 640px) {
  .reference-card--with-gallery .reference-card-gallery {
    left: 0;
    right: 0;
    transform: none;
    min-width: 0;
    width: calc(100vw - 2rem);
    margin-left: 50%;
    transform: translateX(-50%);
  }
}

/* ----- Certifikace – modrá sekce (bez světlého horního pruhu) ----- */
.certifications {
  position: relative;
  background: var(--color-blue);
  color: var(--color-white);
  padding: 4.5rem 0;
}
.certifications::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(var(--color-logo-rgb), 0.06) 1px, transparent 0);
  background-size: 32px 32px;
  pointer-events: none;
}
.certifications .container { position: relative; z-index: 1; }
.certifications .section-title::after { background: var(--color-blue-light); }
.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
  max-width: 56rem;
  margin-inline: auto;
}
.cert-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 5.5rem;
  padding: 1.35rem 1.5rem;
  background: var(--color-white);
  border: 1px solid rgba(var(--color-logo-rgb), 0.12);
  border-radius: var(--radius);
  transition: box-shadow var(--transition), transform var(--transition);
}
.cert-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateX(2px);
}
.cert-card .cert-code {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-blue);
  letter-spacing: 0.02em;
  margin-bottom: 0.35rem;
  line-height: 1.3;
}
.cert-card .cert-desc {
  font-size: 0.875rem;
  color: var(--color-text-light);
  line-height: 1.4;
}

/* ----- Partneři – loga nad kontakty, bílé pozadí (PNG i JPG) ----- */
.partners {
  background: var(--color-white);
  padding: 4rem 0;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}
.partners .container { position: relative; z-index: 1; }
.partners .section-title--dark { color: var(--color-text-light); }
.partners .section-title--dark::after { background: var(--color-blue); }
.partners-lead {
  margin: -0.5rem 0 2rem;
  color: var(--color-text-muted);
  font-size: 1rem;
  text-align: center;
  max-width: 36em;
  margin-inline: auto;
}
.partners-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, 160px);
  gap: 2rem 2.5rem;
  align-items: center;
  justify-content: center;
}
.partners-grid li {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 160px;
  height: 80px;
  min-width: 160px;
  min-height: 80px;
  overflow: visible;
}
/* Placeholder, aby v posledním řádku nikdy nebylo jen jedno logo (19+1 = 20 položek) */
.partners-grid-placeholder {
  visibility: hidden;
  pointer-events: none;
}
.partners-logo--large {
  width: 130%;
  height: 130%;
  max-width: none;
  object-fit: contain;
}
.partners-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  opacity: 0.85;
  transition: opacity var(--transition);
}
.partners-logo:hover {
  opacity: 1;
}
/* Barevná loga – zobrazení v původních barvách */
.partners-logo--color {
  opacity: 0.9;
}
@media (max-width: 768px) {
  .partners { padding: 3rem 0; }
  .partners-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
    justify-content: center;
    max-width: 20rem;
    margin-inline: auto;
  }
  .partners-grid li {
    width: 100%;
    height: 60px;
    min-width: 0;
    min-height: 60px;
    overflow: hidden;
  }
  .partners-logo--large {
    width: 100%;
    max-width: 100%;
  }
}

/* ----- Kontakty – modrá sekce (bez horního „pruhu“, aby přechod z bílé byl čistý) ----- */
.contact {
  position: relative;
  background: var(--color-blue);
  color: var(--color-white);
  padding: 5rem 0 4rem;
}
.contact .container { position: relative; z-index: 1; }
.contact .section-title { color: var(--color-white); }
.contact .section-title::after { background: var(--color-blue-light); }
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}
.contact-card {
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius-lg);
  padding: 2rem;
  color: var(--color-text-light);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: background var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.contact-card:hover {
  background: var(--color-white);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12);
}
.contact-card-title {
  margin: 0 0 1rem;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-black);
}
.contact-address {
  margin: 0 0 0.5rem;
  line-height: 1.5;
  color: var(--color-text-light);
}
.contact-note {
  margin: 0 0 1rem;
  font-size: 0.875rem;
  color: var(--color-text-muted);
}
.contact-card .contact-tel {
  margin-top: auto;
}
.contact-tel, .contact-email {
  margin: 0.25rem 0;
  font-size: 0.9375rem;
  color: var(--color-text-light);
}
.contact-tel .phone-link {
  display: inline-flex;
  align-items: baseline;
  flex-wrap: nowrap;
  gap: 0.35em;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.contact-tel .phone-part {
  flex: 0 0 auto;
}
.contact a {
  color: var(--color-blue);
  text-decoration: none;
  transition: color var(--transition);
}
.contact a:hover { color: var(--color-blue-dark); }
.contact-email { text-align: center; color: var(--color-text-light); }

/* ----- Zápatí (bez loga – jen odkaz a copyright) ----- */
.footer {
  background: var(--color-blue);
  color: rgba(255,255,255,0.88);
  padding: 2.5rem 0;
  margin-top: 0;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.footer-nav a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-size: 0.9375rem;
  transition: color var(--transition);
}
.footer-nav a:hover { color: var(--color-white); }
.footer-social {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.85);
  transition: color var(--transition), transform var(--transition);
}
.footer-social-link:hover {
  color: var(--color-white);
  transform: scale(1.1);
}
.footer-social-icon {
  width: 24px;
  height: 24px;
  display: block;
}
.footer-copy {
  margin: 0;
  font-size: 0.875rem;
  opacity: 0.85;
}

/* ----- Podstránky divizí + kontaktní formulář ----- */
.page-main { padding-top: 5rem; min-height: 100vh; }
.page-main:has(.page-hero--dark) { background: var(--color-blue); }
/* U stránky s hero fotkou – pozadí mainu = stejný obrázek, aby nebyl modrý pruh nahoře */
.page-main:has(.page-hero--with-bg) {
  background: var(--color-blue) url('assets/dc-hero-bg.jpg') center top / cover no-repeat;
}
.page-main:has(.page-hero--bg-dc) {
  background: var(--color-blue) url('assets/dc-hero-bg.jpg') center top / cover no-repeat;
}
.page-main:has(.page-hero--bg-3d) {
  background: var(--color-blue) url('assets/3d-hero-bg.png') center top / cover no-repeat;
}
.page-main:has(.page-hero--bg-kovovyroba) {
  background: var(--color-blue) url('assets/kovovyroba-hero-bg.jpg') center top / cover no-repeat;
}
.page-main:has(.page-hero--thematic-novinky) {
  background: var(--color-white);
}
/* Jen čistá bílá – vzor jen v .page-hero (jinak by pod FAQ „utíkala“ dlaždice kvůli min-height mainu) */
.page-main:has(.page-hero--thematic-qa) {
  background: var(--color-white);
}
.page-main:has(.page-hero--thematic-o-nas) {
  background: var(--color-white);
}
.page-hero {
  position: relative;
  padding: 3rem 0;
  background: var(--color-blue);
  color: var(--color-white);
  overflow: hidden;
}
.page-hero--dark { background: var(--color-blue); }

/* Hero – Novinky: fotka přes celou šířku */
.page-hero.page-hero--thematic-novinky {
  min-height: 36vh;
  background-color: #050816;
  background-image: url('assets/novinky-hero-bg.png');
  background-repeat: no-repeat;
  background-size: 100% auto;
  background-position: center center;
}
.page-hero.page-hero--thematic-novinky::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.38) 0%, rgba(0, 0, 0, 0.58) 100%);
  pointer-events: none;
}
.page-main > .page-hero.page-hero--thematic-novinky {
  margin-top: -5rem;
  padding-top: calc(5rem + 3rem);
}
/* Q&A hero – fotka přes celou šířku */
.page-hero.page-hero--thematic-qa {
  min-height: 36vh;
  color: var(--color-white);
  background-color: #0a0a0a;
  background-image: url('assets/qa-hero-bg.png');
  background-repeat: no-repeat;
  background-size: 100% auto;
  background-position: center center;
}
.page-hero.page-hero--thematic-qa::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 85% 70% at 50% 45%, rgba(0, 0, 0, 0.08) 0%, transparent 55%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.42) 0%, rgba(0, 0, 0, 0.52) 100%);
  pointer-events: none;
}
.page-main > .page-hero.page-hero--thematic-qa {
  margin-top: -5rem;
  padding-top: calc(5rem + 3rem);
}
/* O nás hero – stejná výška jako Q&A / Novinky */
.page-hero.page-hero--thematic-o-nas {
  min-height: 36vh;
  color: var(--color-white);
  background-color: #0a1428;
  background-image: url('assets/o-nas-hero-bg.png');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
}
.page-hero.page-hero--thematic-o-nas::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 20, 40, 0.2) 0%, rgba(10, 20, 40, 0.45) 100%);
  pointer-events: none;
}
.page-main > .page-hero.page-hero--thematic-o-nas {
  margin-top: -5rem;
  padding-top: calc(5rem + 3rem);
}

/* Hero s fotkou na pozadí (např. Datová centra) – fotka až pod navigaci */
.page-hero.page-hero--with-bg {
  min-height: 36vh;
  background-color: var(--color-blue);
  background-image: url('assets/dc-hero-bg.jpg');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}
.page-hero.page-hero--with-bg.page-hero--bg-dc {
  background-image: url('assets/dc-hero-bg.jpg');
}
.page-hero.page-hero--with-bg.page-hero--bg-3d {
  background-image: url('assets/3d-hero-bg.png');
}
.page-hero.page-hero--with-bg.page-hero--bg-kovovyroba {
  background-image: url('assets/kovovyroba-hero-bg.jpg');
}
/* Prodluž hero nahoru pod header, aby pozadí bylo v celé ploše včetně pod menu */
.page-main > .page-hero.page-hero--with-bg {
  margin-top: -5rem;
  padding-top: calc(5rem + 3rem);
}
.page-hero--with-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  pointer-events: none;
}
.page-hero .container {
  position: relative;
  z-index: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 28vh;
}
.page-hero .page-title {
  margin: 0 0 0.5rem;
  font-size: clamp(2.25rem, 6vw, 3.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}
.page-hero .page-lead {
  margin: 0;
  font-size: 1.0625rem;
  opacity: 0.9;
  max-width: 42em;
  text-align: center;
}

.page-breadcrumb {
  margin: 0 0 1rem;
  font-size: 0.875rem;
  opacity: 0.85;
}
.page-breadcrumb a { color: inherit; text-decoration: none; }
.page-breadcrumb a:hover { text-decoration: underline; }
.page-title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
}
.page-lead {
  margin: 0;
  font-size: 1.0625rem;
  opacity: 0.9;
  max-width: 42em;
}
.page-content {
  padding: 3rem 0;
  background: var(--color-white);
}
.page-content-prose {
  max-width: 42em;
}
.page-content-prose p {
  margin: 0 0 1rem;
  color: var(--color-text-light);
  line-height: 1.7;
}
.page-content-prose p:last-child { margin-bottom: 0; }

/* ----- Novinky + Q&A ----- */
.news-list {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 48rem;
}
.news-item {
  margin: 0;
  padding: 1.5rem 1.75rem;
  background: var(--color-off-white, #f6f8fb);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 12px;
}
.news-item-date {
  display: block;
  margin: 0 0 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-text-muted, #64748b);
}
.news-item-title {
  margin: 0 0 0.75rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-blue);
  line-height: 1.3;
}
.news-item-excerpt {
  margin: 0;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--color-text-light);
}
.news-item-excerpt a {
  color: var(--color-blue);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}
.news-item-excerpt a:hover { opacity: 0.85; }
.news-item-excerpt strong { font-weight: 600; color: var(--color-text-light); }

/* Novinky – bubliny jako karty služeb (bílá, stín, zaoblení), bez modrého pruhu; celá karta je odkaz */
.page-content--news {
  padding-top: 3.25rem;
  padding-bottom: 3.5rem;
}
.news-list--editorial {
  max-width: min(52rem, 100%);
  margin-inline: auto;
}
.news-item--bubble {
  position: relative;
  padding: 0;
  overflow: hidden;
  background: var(--color-white);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-slow), border-color var(--transition), box-shadow var(--transition-slow);
}
.news-item--bubble:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 0, 0, 0.12);
  box-shadow: var(--shadow-md);
}
.news-item-link {
  display: block;
  position: relative;
  padding: 1.75rem 4rem 1.75rem 1.75rem;
  text-decoration: none;
  color: inherit;
  min-height: 100%;
  box-sizing: border-box;
}
.news-item-link:focus-visible {
  outline: 2px solid var(--color-blue);
  outline-offset: 2px;
}
.news-item-link:hover .news-item-title {
  color: color-mix(in srgb, var(--color-blue) 88%, black);
}
.news-item-link:hover .news-item-link-icon {
  background: var(--color-blue);
}
.news-item-link:hover .news-item-link-icon svg {
  color: var(--color-white);
}
.news-item-link-icon {
  position: absolute;
  right: 1.25rem;
  bottom: 1.25rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.08);
  transition: background var(--transition), color var(--transition);
  pointer-events: none;
}
.news-item-link-icon svg {
  color: var(--color-text-light);
  transition: color var(--transition);
}
.page-content--news .news-item--bubble .news-item-date {
  margin-bottom: 0.5rem;
}
.page-content--news h2.news-item-title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.125rem, 2.5vw, 1.45rem);
  font-weight: 700;
  color: var(--color-blue);
  line-height: 1.3;
  transition: color var(--transition);
}
.page-content--news .news-item--bubble .news-item-excerpt {
  margin: 0;
}
/* Detail článku */
.article-back {
  display: inline-block;
  margin-bottom: 1.25rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-blue);
  text-decoration: none;
}
.article-back:hover { text-decoration: underline; }
.article-detail-meta {
  margin: 0 0 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}
.article-detail-prose {
  max-width: 42rem;
}
.article-detail-prose p {
  margin: 0 0 1rem;
  color: var(--color-text-light);
  line-height: 1.75;
}
.article-detail-prose p:last-child { margin-bottom: 0; }
.article-detail-prose strong { font-weight: 600; color: var(--color-text-light); }
.article-detail-prose a {
  color: var(--color-blue);
  font-weight: 600;
  text-decoration: none;
}
.article-detail-prose a:hover { text-decoration: underline; }
.page-content--article .page-breadcrumb {
  margin-bottom: 0.5rem;
}
.news-page-footnote {
  margin: 2.25rem 0 0;
  max-width: min(52rem, 100%);
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--color-text-muted);
}
.news-page-footnote a {
  color: var(--color-blue);
  font-weight: 600;
  text-decoration: none;
}
.news-page-footnote a:hover { text-decoration: underline; }

.faq-list {
  max-width: 48rem;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
#qa .section-title {
  max-width: 48rem;
  margin-inline: auto;
}
.faq-item {
  margin: 0;
  padding: 0;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  background: var(--color-white);
  overflow: hidden;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.125rem 1.25rem;
  padding-right: 2.75rem;
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--color-blue);
  position: relative;
  user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '';
  position: absolute;
  right: 1.25rem;
  top: 50%;
  width: 0.5rem;
  height: 0.5rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-65%) rotate(45deg);
  opacity: 0.55;
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after {
  transform: translateY(-35%) rotate(225deg);
}
.faq-item summary:hover { background: rgba(0, 0, 0, 0.03); }
.faq-item-body {
  padding: 0 1.25rem 1.25rem;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}
.faq-item-body p {
  margin: 1rem 0 0;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--color-text-light);
}
.faq-item-body p:first-child { margin-top: 0.75rem; }
.faq-item-body a {
  color: var(--color-blue);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}
.faq-item-body a:hover { opacity: 0.85; }

/* Celošířková fotka mezi sekcemi (ve stylu Altron) */
.section-break-photo {
  width: 100%;
  margin: 0;
  padding: 0;
  line-height: 0;
  overflow: hidden;
}
.section-break-photo img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  object-position: center;
  max-height:  min(55vw, 28rem);
}
@media (min-width: 900px) {
  .section-break-photo img { max-height: min(45vw, 32rem); }
}

.page-content--infra {
  position: relative;
  background: var(--color-white);
}
/* Sekce „Spolupracujeme s těmi nejlepšími“ – pozadí fotka kabelů, bublina zůstává bílá */
.page-content--partners-bg {
  background: var(--color-white) url('assets/dc-bg-cables.jpg') center / cover no-repeat;
}
.page-content--partners-bg .container {
  position: relative;
  z-index: 1;
}
.page-content--partners-bg .page-content-side {
  background: var(--color-white);
}
.page-content--infra:first-of-type .container {
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}
/* Sekce karet (Naše služby) nemá extra horní padding – aby karty byly ve stejné výšce jako u 3D tisku */
.services-altron.page-content--infra .container {
  padding-top: 0;
  padding-bottom: 0;
}
.page-content--infra .container {
  position: relative;
}
.container--narrow { max-width: 42rem; }

/* Aerospace – „Co vám přinášíme“ v bublině jako u datových center (.page-content-side) */
.aerospace-benefits-list {
  list-style: disc;
  margin: 0.75rem 0 0 1.25rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.aerospace-benefits-item {
  display: list-item;
  margin-left: 0.25rem;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--color-text-light, #374151);
  list-style-type: disc;
}
.aerospace-benefits-item::marker {
  color: var(--color-blue);
}
.aerospace-benefits-item span {
  display: inline;
}
@media (min-width: 640px) {
  .aerospace-benefits-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem 2rem;
    margin-left: 1.5rem;
  }
  .aerospace-benefits-item {
    display: list-item;
    list-style-type: disc;
  }
}

/* Kovovýroba – Naše kapacity: nadpis a dvousloupcový seznam na střed */
#nase-kapacity .page-content-side-col {
  display: flex;
  flex-direction: column;
  align-items: center;
}
#nase-kapacity h2 {
  text-align: center;
  width: 100%;
}
#nase-kapacity .aerospace-benefits-list {
  margin: 0.75rem auto 0;
  width: fit-content;
  max-width: 100%;
  text-align: left;
}
@media (min-width: 640px) {
  #nase-kapacity .aerospace-benefits-list {
    grid-template-columns: repeat(2, max-content);
    gap: 0.5rem clamp(10.5rem, 30vw, 19.5rem);
    margin-inline: auto;
  }
}

/* Karty odvětví (3D tisk – proklik na Průmysl / Letectví / Medical) */
.sector-links {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.sector-link-card { margin: 0; display: flex; }
.sector-link-card-inner {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 100%;
  padding: 1.75rem;
  background: var(--color-white);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  text-decoration: none;
  color: inherit;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.sector-link-card-inner:hover {
  border-color: rgba(26, 95, 180, 0.25);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}
.sector-link-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  color: var(--color-blue);
  margin-bottom: 1rem;
}
.sector-link-icon .bi { font-size: 2rem; }
.sector-link-title {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-blue);
}
.sector-link-desc {
  flex: 1;
  margin: 0 0 1rem;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--color-text-light);
}
.sector-link-more {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-blue);
}
.sector-link-more span { margin-left: 0.25rem; }
#odvetvi .section-title {
  font-size: clamp(1.25rem, 2.5vw, 1.625rem);
}
.page-content h2 {
  margin: 2rem 0 0.75rem;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-black);
}
.page-content h2:first-child { margin-top: 0; }
.page-content p { margin: 0 0 1rem; color: var(--color-text-light); }
/* Úvodní věta jako highlight – upoutá, zbytek textu jde do hloubky */
.page-content-lead {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-black);
  line-height: 1.5;
  margin: 0 0 0.75rem;
}
.page-content-lead + p { margin-top: 0; }
/* Podnadpis pod h2 – úvodní teze před odstavcem */
.page-content-subtitle {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--color-black);
  line-height: 1.45;
  margin: 0 0 0.75rem;
}
.page-content-subtitle + p { margin-top: 0; }
/* Vedle sebe: text | Naše služby + seznam */
.page-content-side {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 2.5rem 12rem;
  align-items: start;
  max-width: 72rem;
  margin-inline: auto;
  background: rgba(255, 255, 255, 0.92);
  padding: 2.5rem 3rem;
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}
.page-content-side-col h2 { margin-top: 0; }
/* Bubliny .page-content-side (3D tisk, kovová výroba, non-IT / DC): odstavce v prvním sloupci – jednotné řádkování */
.page-content-side-col:first-child p { line-height: 1.95; }
/* Jedna fotka v textu (úvodní sekce) */
.page-content-inline-img {
  margin: 1.5rem 0;
  max-width: 22rem;
}
.page-content-inline-img img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-lg);
  object-fit: cover;
  aspect-ratio: 16/10;
}
.page-content-inline-img figcaption {
  font-size: 0.8125rem;
  color: var(--color-gray-700, #374151);
  margin-top: 0.35rem;
}
/* Pás dvou fotek pod úvodním blokem */
.page-content-photo-strip {
  padding: 2rem 0 2.5rem;
}
.page-content-photo-strip-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  max-width: 56rem;
  margin-inline: auto;
}
.page-content-photo-strip-grid figure {
  margin: 0;
}
.page-content-photo-strip-grid img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-lg);
  object-fit: cover;
  aspect-ratio: 4/3;
}
.page-content-photo-strip-grid figcaption {
  font-size: 0.8125rem;
  color: var(--color-gray-700, #374151);
  margin-top: 0.35rem;
}
/* Sekce s textem + jedna fotka vedle (Realizace projektu) – styl bubliny */
.page-content--with-photo {
  background: #f0f0f2;
}
.page-content--with-photo .page-content-side {
  background: var(--color-white);
  border-radius: 1.25rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
  overflow: hidden;
  padding: 2.5rem 3rem;
}
.page-content-side--text-photo {
  grid-template-columns: 1.2fr 1fr !important;
  gap: 2.5rem 3rem;
  align-items: stretch;
}
.page-content-side--text-photo .page-content-side-photo {
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: stretch;
  height: 100%;
  min-height: 0;
}
.page-content-side-photo {
  margin: 0;
  border-radius: 1rem;
  overflow: hidden;
}
.page-content-side-photo img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 1rem;
  object-fit: cover;
  aspect-ratio: 4/3;
}
/* Celý díl vidět (např. aerospace komponent) – bez ořezu */
.page-content-side-photo--contain img {
  object-fit: contain;
  background: #f5f5f7;
}
.page-content-side-photo figcaption {
  font-size: 0.8125rem;
  color: var(--color-gray-700, #374151);
  margin-top: 0.35rem;
}
/* Odstavec přes celou šířku karty (pod text + obrázek), druhý řádek mřížky */
.page-content-side-full {
  grid-column: 1 / -1;
  grid-row: 3;
  margin: 0;
  padding-top: 0.75rem;
  font-size: 1rem;
  line-height: 1.95;
  color: var(--color-text-light, #374151);
}
/* Karta TruPrint – jeden řádek mřížky (text | obrázek); obrázek svisle uprostřed bubliny vůči textu */
#truprint-2000 .page-content-side {
  align-items: stretch;
}
#truprint-2000 .page-content-side-photo {
  display: flex;
  align-items: center;
  height: 100%;
  min-height: 0;
}
#truprint-2000 .page-content-side-photo img {
  width: 100%;
  height: auto;
}
#truprint-2000 .page-content-side-col {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 0;
}
/* Kovovýroba (CNC laser / ohýbání): mřížka na celou výšku řádku + fotka svisle uprostřed sloupce */
#cnc-laser-rezani .page-content-side--text-photo,
#cnc-ohybani .page-content-side--text-photo,
#cnc-laser-cutting .page-content-side--text-photo,
#cnc-bending .page-content-side--text-photo {
  align-items: stretch;
}
#cnc-laser-rezani .page-content-side-photo,
#cnc-ohybani .page-content-side-photo,
#cnc-laser-cutting .page-content-side-photo,
#cnc-bending .page-content-side-photo {
  display: flex;
  align-items: center;
  height: 100%;
  min-height: 0;
}
#cnc-laser-rezani .page-content-side-photo img,
#cnc-ohybani .page-content-side-photo img,
#cnc-laser-cutting .page-content-side-photo img,
#cnc-bending .page-content-side-photo img {
  width: 100%;
  height: auto;
}
.page-content-side-col .page-offer-title { margin-bottom: 0.75rem; }
.page-offer-title {
  margin: 0 0 1rem;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-black);
}


/* Technické parametry – samostatná sekce pod Materiálem (3D tisk) */
.tech-params-section {
  max-width: 42rem;
  margin-inline: auto;
}
.tech-params-section .section-title {
  margin-bottom: 1.25rem;
  font-size: clamp(1.25rem, 2.5vw, 1.625rem);
}
.tech-params-wrap {
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--color-white);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}
.tech-params-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
}
.tech-params-table th,
.tech-params-table td {
  padding: 0.6rem 1rem;
  text-align: left;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  color: var(--color-black);
}
.tech-params-table thead th {
  font-weight: 600;
  color: var(--color-white);
  background: var(--color-blue);
  border-bottom: none;
}
.tech-params-table tbody tr:last-child td {
  border-bottom: none;
}
.tech-params-table tbody tr:nth-child(even) {
  background: rgba(0, 0, 0, 0.02);
}

/* Naše služby – samostatná bublina */
.services-bubble {
  max-width: 56rem;
  width: 100%;
  margin-inline: auto;
  padding: 2.5rem 3rem;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  box-sizing: border-box;
  overflow: visible;
}
.services-bubble-title {
  margin: 0 0 1.5rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-black);
  text-align: center;
}
.services-bubble-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem 2.5rem;
  align-items: stretch;
  width: 100%;
  box-sizing: border-box;
}
.services-bubble-list .page-offer-item {
  margin-bottom: 0;
  align-self: stretch;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  min-height: 3.5em;
  min-width: 0;
}
.services-bubble-list .page-offer-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}
.services-bubble-list .page-offer-text {
  font-weight: 500;
  color: var(--color-black);
  font-size: 1rem;
  line-height: 1.4;
  min-width: 0;
  overflow-wrap: break-word;
  word-break: break-word;
}
.page-offer-list {
  list-style: none;
  margin: 0;
  padding: 0;
  color: var(--color-text-light);
}
.page-offer-list .page-offer-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin: 0 0 0.85rem;
  padding-left: 0;
  font-size: 0.9375rem;
}
.page-offer-list .page-offer-item:last-child { margin-bottom: 0; }
.page-offer-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  color: var(--color-blue);
}
.page-offer-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}
.page-offer-text { line-height: 1.4; }

/* Bublina Naše služby: od 900px jeden sloupec (tablet + mobil včetně iPhone) */
@media (max-width: 900px) {
  .services-bubble-list {
    grid-template-columns: 1fr !important;
    gap: 1rem;
  }
  .services-bubble-list .page-offer-item {
    min-height: 0;
    min-width: 0;
  }
  .services-bubble-list .page-offer-text {
    min-width: 0;
  }
}

@media (max-width: 768px) {
  .page-content-side {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 1.5rem 1.25rem;
  }
  .services-bubble {
    padding: 1.75rem 1.5rem;
    max-width: 100%;
  }
  .services-bubble-title {
    font-size: 1.35rem;
    margin-bottom: 1.25rem;
  }
  .services-bubble-list {
    grid-template-columns: 1fr !important;
    gap: 0.85rem;
  }
  .services-bubble-list .page-offer-item {
    min-height: 0;
    min-width: 0;
  }
  .services-bubble-list .page-offer-text {
    min-width: 0;
  }
  .services-bubble-list .page-offer-icon {
    width: 28px;
    height: 28px;
  }
  .page-content-photo-strip-grid {
    grid-template-columns: 1fr;
  }
  .page-content-side--text-photo {
    grid-template-columns: 1fr !important;
  }
  .page-content-side-full {
    grid-row: auto;
  }
  .page-content--with-photo .page-content-side {
    padding: 1.5rem 1.25rem;
  }
  .page-content-side-col:first-child p {
    line-height: 1.6;
    font-size: 0.9375rem;
  }
  .page-offer-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem 1rem;
  }
  .page-offer-list .page-offer-item {
    font-size: 0.875rem;
    margin-bottom: 0.6rem;
  }
  .page-offer-icon {
    width: 24px;
    height: 24px;
  }
}
.page-list {
  margin: 0 0 1rem;
  padding-left: 1.5rem;
  color: var(--color-text-light);
}
.page-list li { margin-bottom: 0.35rem; }
.page-form {
  padding: 3.5rem 0 4.5rem;
  background: var(--color-white);
  border-top: 4px solid var(--color-blue);
}
.page-form .container--narrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
/* Nadpis „Máte zájem? Napište nám“ – tučný text + krátká modrá linka pod ním, vše pod sebou */
.page-form .section-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-black);
  margin-bottom: 0;
  padding-bottom: 0;
}
.page-form .section-title::after {
  display: block;
  width: 4rem;
  height: 4px;
  background: var(--color-blue);
  margin: 0.5rem auto 0;
  border-radius: 2px;
}
.page-form-lead {
  margin: 1.25rem 0 2rem;
  font-size: 1rem;
  color: var(--color-text-muted);
  max-width: 36em;
}
.contact-form {
  max-width: 28rem;
  width: 100%;
  text-align: left;
}
.form-row { margin-bottom: 1.25rem; }
.form-row--submit { margin-top: 1.5rem; margin-bottom: 0; }
.form-label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-black);
}
.form-input {
  width: 100%;
  padding: 0.65rem 1rem;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.4;
  color: var(--color-black);
  background: var(--color-white);
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: var(--radius);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-input:focus {
  outline: none;
  border-color: var(--color-blue);
  box-shadow: 0 0 0 3px rgba(var(--color-logo-rgb), 0.2);
}
.form-input::placeholder { color: var(--color-text-muted); opacity: 0.8; }
.form-textarea { resize: vertical; min-height: 120px; }
.form-hint {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

/* Dropzone – přetáhni soubor nebo klikni */
.form-dropzone { position: relative; }
.form-dropzone-input {
  position: absolute;
  width: 0.1px;
  height: 0.1px;
  opacity: 0;
  overflow: hidden;
  z-index: -1;
}
.form-dropzone-area {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 120px;
  padding: 1.25rem 1rem;
  background: var(--color-bg-light);
  border: 2px dashed rgba(0, 0, 0, 0.15);
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition), box-shadow var(--transition);
}
.form-dropzone-area:hover,
.form-dropzone-area:focus-visible {
  border-color: var(--color-blue);
  background: rgba(var(--color-logo-rgb), 0.04);
  outline: none;
}
.form-dropzone-area.is-dragover {
  border-color: var(--color-blue);
  background: rgba(var(--color-logo-rgb), 0.08);
  box-shadow: 0 0 0 3px rgba(var(--color-logo-rgb), 0.15);
}
.form-dropzone-area.has-file {
  border-style: solid;
  border-color: rgba(var(--color-logo-rgb), 0.3);
  background: rgba(var(--color-logo-rgb), 0.06);
}
.form-dropzone-icon {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
  opacity: 0.7;
}
.form-dropzone-text {
  font-size: 0.9375rem;
  color: var(--color-text-light);
  text-align: center;
  line-height: 1.4;
}
.form-dropzone-text strong { color: var(--color-blue); }
.form-dropzone-hint {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  margin-top: 0.35rem;
}
.form-dropzone-filename {
  display: none;
  margin-top: 0.75rem;
  padding: 0.4rem 0.75rem;
  font-size: 0.875rem;
  color: var(--color-blue);
  background: rgba(255, 255, 255, 0.9);
  border-radius: 6px;
  max-width: 100%;
  max-height: 5.5rem;
  overflow-x: hidden;
  overflow-y: auto;
  text-overflow: ellipsis;
  white-space: normal;
  text-align: center;
  line-height: 1.35;
  word-break: break-word;
}
.form-dropzone-area.has-file .form-dropzone-filename { display: block; }
.form-dropzone-area.has-file .form-dropzone-hint { display: none; }

.form-feedback {
  margin: 1rem 0 0;
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  font-size: 0.9375rem;
  line-height: 1.55;
}
.form-feedback--success {
  background: rgba(var(--color-logo-rgb), 0.08);
  color: var(--color-text-light);
  border: 1px solid rgba(var(--color-logo-rgb), 0.22);
}
.form-feedback--error {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

/* ----- Responzivita (media queries) ----- */
/* 1280px–769px: ještě kompaktnější navigace pro tablety */
@media (max-width: 1280px) and (min-width: 769px) {
  .header { padding: 0.5rem clamp(0.75rem, 2vw, 1.25rem) 0.5rem clamp(0.5rem, 1.5vw, 1rem); }
  .logo img { height: 80px; }
  .nav-glass { padding: 0.2rem 0.4rem; }
  .nav-list { gap: 0.1rem; }
  .nav a,
  .nav-trigger {
    font-size: 0.7rem;
    padding: 0.3rem 0.5rem;
    min-height: 1.5rem;
  }
  .nav-dropdown a {
    font-size: 0.65rem;
    padding: 0.25rem 0.5rem;
    height: 1.5rem;
  }
}

/* Od 768px dolů: mobil – hamburger, kompaktní header, hero design */
@media (max-width: 768px) {
  .header {
    padding: 0.5rem 1rem 0.5rem 1rem;
  }
  body:has(.page-main) .header {
    padding-top: 0.5rem;
  }
  .header-left {
    margin-left: 0;
  }
  .logo img {
    height: 72px;
  }
  .header--scrolled .logo {
    margin-top: -0.5rem;
  }
  .header--scrolled .logo img {
    height: 56px;
  }
  .header-right { display: none; }
  .nav-contact-mobile { display: block; }
  .nav { display: none; }
  .nav.is-open {
    display: block;
    position: absolute;
    top: 100%;
    left: 1rem;
    right: 1rem;
    transform: none;
    margin-top: 0.5rem;
    background: var(--color-blue);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    padding: 1rem;
    border-radius: 20px;
    box-shadow: 0 12px 48px rgba(var(--color-logo-rgb), 0.35);
    border: 1px solid rgba(255, 255, 255, 0.2);
  }
  .nav.is-open .nav-glass { background: transparent; border: none; box-shadow: none; padding: 0; border-radius: 0; }
  .nav.is-open .nav-list { flex-direction: column; gap: 0.5rem; align-items: stretch; overflow: visible; }
  .nav.is-open .nav-list > li { border: none; overflow: visible; }
  .nav.is-open .nav-contact-mobile { display: none; }
  .nav.is-open .nav a,
  .nav.is-open .nav-trigger {
    padding: 0.9rem 1.2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: none;
    border-radius: 14px;
    color: var(--color-white);
    font-weight: 500;
    font-size: 1rem;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    cursor: pointer;
  }
  .nav.is-open .nav a:hover,
  .nav.is-open .nav-trigger:hover {
    background: rgba(255, 255, 255, 0.2);
    color: var(--color-white);
  }
  .nav.is-open .nav-item-dropdown { margin-bottom: 0; }
  .nav.is-open .nav-dropdown {
    position: static;
    opacity: 0;
    visibility: hidden;
    max-height: 0;
    overflow: hidden;
    margin: 0;
    padding: 0;
    border: none;
    background: transparent;
    border-radius: 0 0 12px 12px;
    transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.25s ease, visibility 0.25s ease;
  }
  .nav.is-open .nav-item-dropdown.is-open .nav-dropdown {
    opacity: 1;
    visibility: visible;
    max-height: 320px;
    margin-top: 0.25rem;
    padding: 0.4rem;
    background: rgba(0, 0, 0, 0.2);
    border-left: 3px solid rgba(255, 255, 255, 0.4);
  }
  .nav.is-open .nav-item-dropdown.is-open .nav-trigger {
    border-radius: 14px 14px 0 0;
  }
  .nav.is-open .nav-dropdown a {
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: 0.5rem 1rem;
    margin: 0.15rem 0;
    font-size: 0.875rem;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.95);
    background: transparent;
    border: none;
    border-radius: 10px;
    font-weight: 500;
    transition: background 0.2s ease, color 0.2s ease;
    text-align: left;
  }
  .nav.is-open .nav-dropdown a:first-child { margin-top: 0; }
  .nav.is-open .nav-dropdown a:last-child { margin-bottom: 0; }
  .nav.is-open .nav-dropdown a:hover {
    background: rgba(255, 255, 255, 0.12);
    color: var(--color-white);
  }
  .menu-toggle {
    display: flex;
    margin-left: auto;
    flex-shrink: 0;
    background: none;
    border: none;
    border-radius: 0;
    box-shadow: none;
  }
  .menu-toggle span {
    background: #ffffff;
    background: var(--color-white);
  }
  .header--scrolled .menu-toggle {
    background: none;
    border: none;
    box-shadow: none;
  }
  .header--scrolled .menu-toggle span {
    background: #1a1a1a;
    background: var(--color-black);
  }
  /* Hero – mobil: zarovnání, odsazení, typografie */
  .hero {
    min-height: 100vh;
    padding: 5rem 0 4rem;
  }
  .hero .container.hero-inner {
    padding-inline: 1.25rem 1.25rem;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .hero-content {
    max-width: 100%;
    text-align: left;
  }
  .hero-title-words {
    font-size: clamp(2.25rem, 12vw, 3.5rem);
    gap: 0.35rem;
  }
  .hero-cta {
    margin-bottom: 0.5rem;
    padding: 0.4rem 0.75rem;
    font-size: 0.75rem;
  }
  .hero-cta-icon {
    width: 1.4rem;
    height: 1.4rem;
  }
  .hero-scroll-link {
    font-size: 0.625rem;
  }
  .hero-scroll-icon {
    width: 2.25rem;
    height: 2.25rem;
  }
  .hero-media { max-width: 100%; margin-inline: auto; width: 100%; }
  .hero-timeline {
    padding: 0 1.25rem 1.25rem;
  }
  .hero-timeline-segment {
    min-height: 44px;
    padding: 0.5rem 0.25rem;
    font-size: 0.625rem;
  }
  .hero-timeline-num {
    font-size: 0.6875rem;
  }
  .hero-timeline-label {
    font-size: 0.5625rem;
  }
  .stats-list { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .stats-number { font-size: 2rem; }
  .about-leader { grid-template-columns: 1fr; gap: 1.5rem; text-align: center; }
  .about-leader-photo { max-width: 280px; margin-inline: auto; }
  .about-leaders-wrap { grid-template-columns: 1fr; }
  .about-leaders-wrap .about-leader--main .about-leader-photo,
  .about-leaders-wrap .about-leader--main .about-leader-info { grid-column: auto; }
  .about-leaders-row { grid-template-columns: 1fr; gap: 2rem; max-width: 280px; margin-inline: auto; }
  .about-leader--secondary { grid-template-columns: 1fr; }
  .about-leader--secondary .about-leader-info { text-align: center; }
  .about-leader--secondary .about-leader-name { font-size: 1.125rem; }
  .timeline-horizontal {
    flex-direction: column;
    gap: 0;
    padding-top: 0;
    padding-left: 0;
    max-width: none;
  }
  .timeline-horizontal::before { display: none; }
  .timeline-horizontal .timeline-item {
    flex: none;
    display: block;
    position: relative;
    width: 100%;
    padding-left: 2.5rem;
    padding-top: 0;
    padding-bottom: 0;
    margin-bottom: 1.5rem;
    text-align: left;
    box-sizing: border-box;
  }
  .timeline-horizontal .timeline-item:last-child { margin-bottom: 0; }
  .timeline-horizontal .timeline-item::before {
    position: absolute;
    left: 0;
    top: 0.35rem;
    transform: none;
    width: 14px;
    height: 14px;
    box-sizing: border-box;
    margin: 0;
  }
  .timeline-horizontal .timeline-item:first-child::before,
  .timeline-horizontal .timeline-item:nth-child(2)::before,
  .timeline-horizontal .timeline-item:last-child::before {
    left: 0 !important;
    right: auto !important;
    top: 0.35rem !important;
    transform: none !important;
  }
  .timeline-horizontal .timeline-item:first-child,
  .timeline-horizontal .timeline-item:nth-child(2),
  .timeline-horizontal .timeline-item:last-child {
    text-align: left !important;
  }
  .timeline-horizontal .timeline-item:first-child .timeline-year,
  .timeline-horizontal .timeline-item:first-child .timeline-text,
  .timeline-horizontal .timeline-item:nth-child(2) .timeline-year,
  .timeline-horizontal .timeline-item:nth-child(2) .timeline-text,
  .timeline-horizontal .timeline-item:last-child .timeline-year,
  .timeline-horizontal .timeline-item:last-child .timeline-text {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    transform: none !important;
    text-align: left !important;
  }
  .timeline-horizontal .timeline-year {
    margin-bottom: 0.2rem;
    font-size: 1.25rem;
  }
  .timeline-horizontal .timeline-text { white-space: normal; }
  /* Kontakty – jedna kolona, větší dotykové plochy */
  .contact { padding: 3rem 0 3.5rem; }
  .contact .section-title { font-size: clamp(1.5rem, 6vw, 2.25rem); }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .contact-card {
    padding: 1.35rem 1.25rem;
    min-height: auto;
  }
  .contact-card-title { font-size: 1.0625rem; }
  .contact-tel .phone-link {
    display: inline-flex;
    min-height: 2.75rem;
    align-items: center;
    padding: 0 0.25rem;
  }
  /* Podstránky – hero a obsah */
  .page-main { padding-top: 4.5rem; }
  .page-main > .page-hero.page-hero--with-bg {
    margin-top: -4.5rem;
    padding-top: calc(4.5rem + 2rem);
  }
  .page-main > .page-hero.page-hero--thematic-qa,
  .page-main > .page-hero.page-hero--thematic-novinky,
  .page-main > .page-hero.page-hero--thematic-o-nas {
    margin-top: -4.5rem;
    padding-top: calc(4.5rem + 2rem);
  }
  .page-hero.page-hero--thematic-novinky,
  .page-hero.page-hero--thematic-qa {
    background-size: cover;
    background-position: center center;
  }
  .page-hero { padding: 2rem 0 2.5rem; }
  .page-hero .page-title {
    font-size: clamp(1.75rem, 8vw, 2.5rem);
    padding-inline: 0.5rem;
  }
  .section-title { font-size: clamp(1.5rem, 5vw, 2.25rem); }
  .section-lead { margin-bottom: 2rem; font-size: 0.9375rem; }
  /* Kroky realizace – přehlednější na malém displeji */
  .process-steps { padding: 2.5rem 0 3rem; }
  .process-steps-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1rem 0.75rem;
  }
  .process-step { padding: 0.75rem 0.5rem; }
  .process-step-title { font-size: 0.875rem; }
  .process-step-circle { width: 28px; height: 28px; }
  /* Služby (úvodní stránka) – nadpisy a mezery */
  .services .section-title { font-size: clamp(1.5rem, 5vw, 2.25rem); }
  .services { padding: 3rem 0 4rem; }
  .manifesto { padding: 2rem 1rem; }
  .manifesto-text { font-size: 1.125rem; }
  .map-container { height: 280px; min-height: 240px; }
  .footer-inner { flex-direction: column; text-align: center; }
  html { scroll-padding-top: 5.5rem; }
}

/* Tablet: 2 sloupce u kontaktů, příjemnější mezery */
@media (max-width: 900px) and (min-width: 769px) {
  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  .page-hero .page-title { font-size: clamp(2rem, 4vw, 3rem); }
  .section-title { font-size: clamp(1.625rem, 3vw, 2.25rem); }
}

@media (max-width: 480px) {
  .stats-list { grid-template-columns: 1fr; }
  .hero-title-words {
    font-size: clamp(2rem, 11vw, 3rem);
  }
  .process-steps-grid { grid-template-columns: 1fr; }
  .page-hero .page-title { font-size: clamp(1.5rem, 7vw, 2.25rem); }
  .contact-card { padding: 1.25rem 1rem; }
  .section-title { font-size: clamp(1.375rem, 5vw, 2rem); }
  .services-bubble-list { grid-template-columns: 1fr !important; }
  .services-bubble { padding: 1.25rem 1rem; max-width: 100%; }
  body {
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
  }
  .footer { padding-bottom: max(2.5rem, env(safe-area-inset-bottom)); }
}
