/* ===================================================
   SPOLEHLIVÉ STŘECHY — COLLEGIUM TRADE s.r.o.
   Design System 2026
   =================================================== */

@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@400;600;700;800;900&family=Inter:wght@300;400;500;600;700&display=swap');

/* ── CSS Custom Properties ── */
:root {
  --blue:        #459bde;
  --blue-dark:   #2e7bbf;
  --orange:      #ee490f;
  --orange-dark: #cc3a09;
  --dark:        #111417;
  --dark-2:      #0f1215;
  --dark-3:      #1a1f24;
  --dark-4:      #232a31;
  --mid:         #3a4550;
  --light:       #f4f5f6;
  --light-2:     #eaeced;
  --white:       #fafafa;
  --text-body:   #2c3340;
  --text-muted:  #6b7a8d;

  --font-display: 'Barlow Condensed', sans-serif;
  --font-body:    'Inter', sans-serif;

  --ease:        cubic-bezier(0.25, 0.1, 0.25, 1);
  --ease-out:    cubic-bezier(0.0, 0.0, 0.2, 1);

  --nav-h:       72px;
  --section-gap: 140px;
  --section-gap-sm: 80px;
  --max-w:       1440px;
  --gutter:      clamp(20px, 4vw, 60px);
  --radius:      4px;
  --radius-lg:   10px;
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--text-body);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }
ul { list-style: none; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
}

/* ── Container ── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ── Typography Utilities ── */
.display-text {
  font-family: var(--font-display);
  font-weight: 900;
  line-height: 0.92;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

.section-label {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.section-label::before {
  content: '';
  display: block;
  width: 42px;
  height: 2px;
  background: var(--orange);
  flex-shrink: 0;
}

.section-heading {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.0;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  position: relative;
  display: inline-block;
}

.section-heading .underline-anim {
  display: block;
  height: 4px;
  background: var(--orange);
  margin-top: 10px;
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 0.7s var(--ease-out);
}
.section-heading.in-view .underline-anim {
  transform: scaleX(1);
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 32px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: all 0.35s var(--ease);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn-primary {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 4px 24px rgba(238, 73, 15, 0.28);
}
.btn-primary:hover {
  background: var(--orange-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(238, 73, 15, 0.4);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.5);
}
.btn-outline:hover {
  border-color: #fff;
  background: rgba(255,255,255,0.08);
}

.btn-blue {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 4px 24px rgba(69, 155, 222, 0.3);
}
.btn-blue:hover {
  background: var(--blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(69, 155, 222, 0.45);
}

.btn-glass {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15), inset 0 1px 0 rgba(255,255,255,0.2);
}
.btn-glass:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
}

.btn-ghost-dark {
  background: transparent;
  color: var(--blue);
  border: 2px solid var(--blue);
}
.btn-ghost-dark:hover {
  background: var(--blue);
  color: #fff;
}

.btn svg { flex-shrink: 0; }

/* ── Noise Texture Overlay ── */
.noise-overlay {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.032;
  pointer-events: none;
  z-index: 1;
  mix-blend-mode: overlay;
}

/* ================================================================
   NAVIGATION
   ================================================================ */
#site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1060; /* nad mobilním overlayem (1050), aby byl zavírací křížek vidět */
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
  border-bottom: 2px solid transparent;
}

#site-nav.scrolled {
  background: var(--white);
  border-bottom-color: var(--orange);
  box-shadow: 0 4px 40px rgba(0,0,0,0.12);
}

#site-nav.scrolled .nav-links a {
  color: var(--text-body);
}
#site-nav.scrolled .nav-links a:hover,
#site-nav.scrolled .nav-links a.active {
  color: var(--dark);
}
#site-nav.scrolled .nav-hamburger span {
  background: var(--dark);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
  gap: 32px;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.nav-logo-img {
  height: 58px;
  width: auto;
  display: block;
  flex-shrink: 0;
  margin: auto 0;
}

/* Nav Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links a {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  padding: 8px 14px;
  border-radius: var(--radius);
  transition: color 0.25s var(--ease), background 0.25s var(--ease);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 14px;
  right: 14px;
  height: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav-links a:hover,
.nav-links a.active {
  color: #fff;
}
.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
}

/* Phone CTA in Nav */
.nav-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.04em;
  padding: 8px 16px;
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: var(--radius);
  transition: all 0.3s var(--ease);
  white-space: nowrap;
  flex-shrink: 0;
}
.nav-phone:hover {
  background: rgba(255,255,255,0.12);
  color: #fff;
  border-color: rgba(255,255,255,0.7);
}

/* Podstránky — tmavý nav i bez scrollu */
body.is-subpage #site-nav .nav-links a {
  color: var(--text-body);
}
body.is-subpage #site-nav .nav-links a:hover,
body.is-subpage #site-nav .nav-links a.active {
  color: var(--dark);
}
body.is-subpage #site-nav .nav-phone {
  color: var(--orange);
  border-color: rgba(238, 73, 15, 0.35);
}
body.is-subpage #site-nav .nav-phone:hover {
  background: var(--orange);
  color: #fff;
  border-color: var(--orange);
}
body.is-subpage #site-nav .nav-hamburger span {
  background: var(--dark);
}

/* Po scrollu — oranžové */
#site-nav.scrolled .nav-phone {
  color: var(--orange);
  border-color: rgba(238, 73, 15, 0.35);
}
#site-nav.scrolled .nav-phone:hover {
  background: var(--orange);
  color: #fff;
  border-color: var(--orange);
}
.nav-phone svg { flex-shrink: 0; }

/* Dropdown — Reference > Fotodokumentace */
.nav-dropdown { position: relative; display: inline-flex; }
.nav-dropdown-trigger {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
}
.nav-dropdown-trigger .nav-chevron {
  width: 12px;
  height: 12px;
  opacity: 0.7;
  transition: transform 0.25s var(--ease);
}
.nav-dropdown:hover .nav-dropdown-trigger .nav-chevron,
.nav-dropdown:focus-within .nav-dropdown-trigger .nav-chevron {
  transform: rotate(180deg);
}
.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  min-width: 220px;
  background: var(--white);
  border: 1px solid var(--light-2);
  border-radius: var(--radius);
  box-shadow: 0 16px 48px rgba(17,20,23,0.14);
  padding: 6px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.22s var(--ease), transform 0.22s var(--ease), visibility 0.22s;
  z-index: 1100;
}
/* Neviditelný "hover most" — pokrývá mezeru mezi triggerem a menu */
.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -10px;
  left: 0;
  right: 0;
  height: 12px;
  background: transparent;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown-menu a {
  display: block !important;
  padding: 10px 14px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-body) !important;
  border-radius: 4px;
  white-space: nowrap;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.nav-dropdown-menu a:hover,
.nav-dropdown-menu a.active {
  background: var(--light-1);
  color: var(--dark) !important;
}
.nav-dropdown-menu a::after { display: none !important; }

/* Child položka (Fotodokumentace) v mobilním menu vypadá jako ostatní položky
   — bez vlastního stylu, dědí velký font z .nav-mobile-overlay a */

/* Kompaktní desktop (1025–1279 px) — telefon jen ikonka, užší mezery, font zůstává velký */
@media (min-width: 1025px) and (max-width: 1279px) {
  :root { --nav-h: 78px; }
  .nav-inner { gap: 14px; }
  .nav-logo-img { height: 60px; }
  .nav-links { gap: 0; }
  .nav-links a { font-size: 18px; padding: 8px 11px; }
  .nav-dropdown-trigger { gap: 4px; }
  .nav-dropdown-trigger .nav-chevron { width: 12px; height: 12px; }
  .nav-phone {
    padding: 0;
    gap: 0;
    width: 44px;
    height: 44px;
    justify-content: center;
  }
  .nav-phone .nav-phone-num { display: none; }
  .nav-phone svg { width: 18px; height: 18px; }
}

/* Velký desktop (≥1280 px) — plné +20 % sizing */
@media (min-width: 1280px) {
  :root { --nav-h: 86px; }
  .nav-logo-img { height: 70px; }
  .nav-links { gap: 5px; }
  .nav-links a { font-size: 18px; padding: 10px 17px; }
  .nav-phone { font-size: 19px; padding: 10px 19px; gap: 10px; }
  .nav-phone svg { width: 19px; height: 19px; }
}

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  gap: 6px;
  cursor: pointer;
  z-index: 1100;
}
.nav-hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.35s var(--ease);
  transform-origin: center;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
/* Otevřené menu má bílé pozadí → zavírací křížek musí být tmavý (ne bílý na bílém) */
.nav-hamburger.open span { background: var(--dark); }
/* Nad otevřeným menu zprůhlednit nav (jen logo + křížek, bez pruhu/stínu) */
#site-nav:has(.nav-hamburger.open) {
  background: transparent;
  border-bottom-color: transparent;
  box-shadow: none;
}
/* Při otevřeném mobilním menu schovat cookie lištu, ať nepřekrývá položky */
body:has(.nav-hamburger.open) .cookie-consent { display: none; }

/* Mobile Nav Overlay */
.nav-mobile-overlay {
  position: fixed;
  inset: 0;
  background: var(--white);
  z-index: 1050;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: safe center; /* při přetečení zarovná nahoru (nezakryje horní položky) */
  gap: 8px;
  overflow-y: auto;             /* nízká výška / landscape → menu se dá odscrollovat */
  -webkit-overflow-scrolling: touch;
  padding: calc(var(--nav-h) + 12px) 20px 36px; /* místo pod nav nahoře, vzduch dole */
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease);
}
.nav-mobile-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.nav-mobile-overlay a {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(36px, 8vw, 56px);
  text-transform: uppercase;
  color: var(--dark);
  letter-spacing: 0.04em;
  transition: color 0.25s var(--ease), transform 0.25s var(--ease);
  transform: translateY(0);
}
.nav-mobile-overlay a:hover {
  color: var(--orange);
  transform: translateX(8px);
}
.nav-mobile-phone {
  margin-top: 32px;
  color: var(--orange) !important;
  font-size: clamp(22px, 5vw, 32px) !important;
  display: flex;
  align-items: center;
  gap: 10px;
}
/* Nízká výška / landscape — zmenšit položky, ať se vejdou (jinak scroll) */
@media (max-height: 620px) {
  .nav-mobile-overlay { gap: 2px; padding-top: calc(var(--nav-h) + 6px); padding-bottom: 20px; }
  .nav-mobile-overlay a { font-size: 22px; }
  .nav-mobile-phone { margin-top: 14px !important; font-size: 18px !important; }
}

/* ================================================================
   HERO SECTION
   ================================================================ */
.hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-bottom: 0;
  overflow: hidden;
  background: var(--light);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

/* Video background */
.hero-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  animation: heroZoom 14s ease-out forwards;
  will-change: transform;
}

@keyframes heroZoom {
  from { transform: scale(1.07); }
  to   { transform: scale(1.0); }
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    110deg,
    rgba(11, 14, 17, 0.88) 0%,
    rgba(11, 14, 17, 0.65) 60%,
    rgba(11, 14, 17, 0.35) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
  padding-top: var(--nav-h);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(69, 155, 222, 0.15);
  border: 1px solid rgba(69, 155, 222, 0.35);
  color: var(--blue);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 10px 18px;
  border-radius: 2px;
  margin-bottom: 28px;
  opacity: 0;
  animation: fadeUp 0.8s 0.3s var(--ease-out) forwards;
}
.hero-badge svg { width: 16px; height: 16px; }

.hero-headline {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(52px, 9vw, 120px);
  line-height: 0.92;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  color: #fff;
  max-width: 900px;
  margin-bottom: 28px;
  opacity: 0;
  animation: fadeUp 0.9s 0.5s var(--ease-out) forwards;
}

.hero-headline em {
  font-style: normal;
  color: var(--blue);
}

.hero-sub {
  font-size: clamp(16px, 2vw, 19px);
  color: rgba(255,255,255,0.7);
  max-width: 520px;
  line-height: 1.65;
  margin-bottom: 44px;
  opacity: 0;
  animation: fadeUp 0.9s 0.7s var(--ease-out) forwards;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.9s 0.9s var(--ease-out) forwards;
}

.hero-scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.4);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  animation: scrollBounce 2.5s 2s ease-in-out infinite;
}
.hero-scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,0.35), rgba(255,255,255,0));
  animation: scrollLine 2.5s 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50% { opacity: 0.9; transform: scaleY(1.15); }
}
@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(5px); }
}

/* ── Decorative Hero Accent ── */
.hero-accent-line {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(to right, var(--orange), var(--blue), transparent);
  z-index: 2;
}

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

/* ================================================================
   STATS BAR
   ================================================================ */
.stats-bar {
  background: #f2f2f2;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 56px 0;
  position: relative;
  overflow: hidden;
}


.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}

.stat-item {
  padding: 24px 40px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.07);
  position: relative;
}
.stat-item:last-child { border-right: none; }

.stat-number {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(52px, 5.5vw, 80px);
  line-height: 1;
  color: var(--dark);
  display: block;
  letter-spacing: -0.02em;
}
.stat-number span.suffix {
  color: var(--orange);
}
.stat-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 8px;
}

/* ================================================================
   SERVICES SECTION
   ================================================================ */
.services {
  padding: var(--section-gap) 0;
  background: var(--light);
  position: relative;
  overflow: hidden;
}

.services-header {
  margin-bottom: 64px;
}

/* ── Bento Grid ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 14px;
}

.service-card {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  background: var(--light);
  cursor: pointer;
  display: block;
  color: inherit;
  text-decoration: none;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.18);
  z-index: 2;
}

/* Velká karta — 1. položka */
.service-card.bento-lg {
  grid-column: span 2;
  grid-row: span 2;
}

/* Široká karta — poslední položka */
.service-card.bento-wide {
  grid-column: span 2;
}

.service-card-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.service-card:hover .service-card-img {
  transform: scale(1.06);
}

.service-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(11,14,17,0.85) 0%,
    rgba(11,14,17,0.3) 55%,
    rgba(11,14,17,0.05) 100%
  );
  transition: opacity 0.4s var(--ease);
}
.service-card:hover .service-card-overlay {
  opacity: 0.9;
}

.service-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.service-card-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--orange);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}
.service-card:hover .service-card-num {
  opacity: 1;
  transform: translateY(0);
}

.service-card-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(15px, 1.6vw, 19px);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #fff;
  line-height: 1.15;
}
.service-card.bento-lg .service-card-name {
  font-size: clamp(22px, 2.8vw, 32px);
}

.service-card-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--blue);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}
.service-card:hover .service-card-arrow {
  opacity: 1;
  transform: translateY(0);
}

/* ================================================================
   ABOUT SECTION
   ================================================================ */
.about {
  padding: var(--section-gap) 0;
  background: var(--white);
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-text-col {}

.about-body {
  font-size: 17px;
  color: var(--text-body);
  line-height: 1.75;
  margin: 28px 0 36px;
}

.about-awards {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 40px;
}
.award-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: var(--light);
  border-radius: var(--radius);
  border-left: 3px solid var(--orange);
}
.award-icon {
  width: 36px;
  height: 36px;
  background: rgba(238,73,15,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--orange);
}
.award-text {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-body);
  line-height: 1.3;
}
.award-text small {
  display: block;
  font-weight: 400;
  color: var(--text-muted);
  font-size: 12px;
  margin-top: 2px;
}

/* About Image Stack */
.about-images-col {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-img-single {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}
.about-img-single img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  transition: transform 8s ease-out;
}
.about-img-single:hover img { transform: scale(1.03); }

.about-img-single {
  position: relative;
}

.about-img-badge {
  position: absolute;
  bottom: -28px;
  left: 28px;
  transform: none;
  z-index: 4;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 16px;
  padding: 20px 26px;
  text-align: center;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255,255,255,0.4);
}
.about-img-badge .badge-num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 48px;
  color: #fff;
  line-height: 1;
  display: block;
  text-shadow: 0 2px 12px rgba(0,0,0,0.3);
}
.about-img-badge .badge-txt {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-top: 4px;
  display: block;
}

/* ================================================================
   CONTACT CTA STRIP
   ================================================================ */
.cta-strip {
  background: var(--white);
  position: relative;
  padding: 100px 0;
  overflow: hidden;
}


.cta-strip::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.cta-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  position: relative;
  z-index: 1;
}

.cta-strip-text {}
.cta-strip-heading {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.0;
  text-transform: uppercase;
  color: var(--dark);
  margin-bottom: 12px;
}
.cta-strip-sub {
  color: var(--text-muted);
  font-size: 15px;
}

.cta-strip-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 16px;
  flex-shrink: 0;
}
.cta-strip-phone {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--orange);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(22px, 3vw, 32px);
  letter-spacing: 0.02em;
  transition: color 0.25s;
}
.cta-strip-phone:hover { color: var(--orange-dark); }

.cta-strip-btns {
  display: flex;
  gap: 12px;
}

/* ================================================================
   PAGE HERO (inner pages)
   ================================================================ */
.page-hero {
  background: var(--light);
  padding: calc(var(--nav-h) + 60px) 0 70px;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(to right, var(--orange), var(--blue), transparent);
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 20% 50%, rgba(69,155,222,0.08) 0%, transparent 60%);
}

.page-hero-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 18px;
}
.page-hero-label svg { width: 16px; height: 16px; }
.page-hero-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(48px, 7vw, 96px);
  line-height: 0.92;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  color: var(--dark);
}
.page-hero-sub {
  color: var(--text-muted);
  font-size: 16px;
  margin-top: 20px;
  max-width: 560px;
}

/* ================================================================
   ABOUT PAGE — FULL
   ================================================================ */
.about-full {
  padding: var(--section-gap) 0;
}
.about-full-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 80px;
  align-items: start;
}
.about-full-text p {
  font-size: 17px;
  line-height: 1.78;
  color: var(--text-body);
  margin-bottom: 22px;
}
.about-full-text p:last-child { margin-bottom: 0; }

.about-sidebar {}
.about-sidebar-card {
  background: var(--light);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin-bottom: 24px;
  border-top: 3px solid var(--blue);
}
.about-sidebar-card h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 16px;
  color: var(--dark);
}
.contact-detail-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--light-2);
  font-size: 14px;
  color: var(--text-body);
}
.contact-detail-row:last-child { border-bottom: none; }
.contact-detail-row .icon {
  color: var(--blue);
  flex-shrink: 0;
  margin-top: 2px;
}
.contact-detail-row strong { display: block; font-size: 12px; color: var(--text-muted); font-weight: 500; margin-bottom: 2px; letter-spacing: 0.05em; text-transform: uppercase; }

/* Headquarters images */
.hq-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 48px 0;
}
.hq-img-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}
.hq-img-wrap img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.hq-img-wrap--square {
  aspect-ratio: 1 / 1;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}
.hq-img-wrap--square img {
  height: 100%;
}
.hq-img-wrap:hover img { transform: scale(1.04); }
.hq-caption {
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

/* Glass tag overlay přímo ve fotce */
.hq-photo-tag {
  position: absolute;
  left: 16px;
  bottom: 16px;
  max-width: calc(100% - 32px);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 14px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  color: #fff;
  background: rgba(18, 22, 28, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.22);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
          backdrop-filter: blur(12px) saturate(140%);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.22);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}
.hq-photo-tag svg { flex-shrink: 0; }

/* O firmě — mřížka „Naše technika a vozový park" */
.technika-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 28px;
}
.technika-grid .hq-img-wrap--square {
  max-width: none;
  margin: 0;
}
.technika-grid button.hq-img-wrap {
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  display: block;
  width: 100%;
  cursor: zoom-in;
}
.technika-grid button.hq-img-wrap:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
}
@media (max-width: 600px) {
  .technika-grid { grid-template-columns: 1fr; gap: 14px; }
}

/* Awards Grid */
.awards-section {
  padding: var(--section-gap) 0;
  background: var(--light);
}
.awards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}
.award-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  text-align: center;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
  border-top: 3px solid transparent;
  transition: border-color 0.3s, transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.award-card:hover {
  border-top-color: var(--orange);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.1);
}
.award-card-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, rgba(238,73,15,0.08), rgba(69,155,222,0.08));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--orange);
}
.award-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  text-transform: uppercase;
  margin-bottom: 8px;
  color: var(--dark);
}
.award-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ================================================================
   NEWS / AKTUALITY
   ================================================================ */
.news-section {
  padding: var(--section-gap) 0;
}
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 56px;
}
.news-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
  border: 1px solid var(--light-2);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.1);
}
.news-card-img {
  display: block;
  height: 220px;
  background: var(--light-2);
  overflow: hidden;
  position: relative;
}
.news-card-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.news-card:hover .news-card-img img { transform: scale(1.05); }
.news-card-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  padding: 6px 12px;
  background: rgba(11,14,17,0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 999px;
}
.news-card h3 a { color: inherit; transition: color 0.25s; }
.news-card h3 a:hover { color: var(--blue); }
.news-card-excerpt {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 4px;
}
.news-card-img-placeholder {
  width: 100%; height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--light), var(--light-2));
  color: var(--text-muted);
}
.news-card-body {
  padding: 24px;
}
.news-card-date {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 10px;
}
.news-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--dark);
  margin-bottom: 10px;
  line-height: 1.2;
}
.news-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
}
.news-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 16px;
  transition: gap 0.25s var(--ease);
}
.news-card-link:hover { gap: 10px; }

.news-placeholder {
  background: var(--light);
  border-radius: var(--radius-lg);
  padding: 80px 40px;
  text-align: center;
  margin-top: 48px;
}
.news-placeholder h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 28px;
  text-transform: uppercase;
  color: var(--dark);
  margin-bottom: 12px;
}
.news-placeholder p { color: var(--text-muted); font-size: 15px; }

/* ================================================================
   GALLERY / FOTODOKUMENTACE
   ================================================================ */
.gallery-section {
  padding: var(--section-gap) 0;
}
.gallery-placeholder {
  background: var(--light);
  border-radius: var(--radius-lg);
  padding: 100px 40px;
  text-align: center;
  margin-top: 56px;
  border: 2px dashed var(--light-2);
}
.gallery-placeholder svg {
  width: 64px;
  height: 64px;
  color: var(--text-muted);
  margin: 0 auto 20px;
}
.gallery-placeholder h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 28px;
  text-transform: uppercase;
  color: var(--dark);
  margin-bottom: 12px;
}
.gallery-placeholder p { color: var(--text-muted); font-size: 15px; max-width: 420px; margin: 0 auto; }

/* ================================================================
   DOWNLOADS / KE STAŽENÍ
   ================================================================ */
.downloads-section {
  padding: var(--section-gap) 0;
}
.downloads-list {
  margin-top: 56px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.download-item {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--white);
  border: 1px solid var(--light-2);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s var(--ease);
}
.download-item:hover {
  border-color: var(--blue);
  box-shadow: 0 4px 24px rgba(69,155,222,0.1);
  transform: translateX(4px);
}
.download-icon {
  width: 48px;
  height: 48px;
  background: rgba(69,155,222,0.1);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--blue);
}
.download-info { flex: 1; }
.download-name {
  font-weight: 600;
  font-size: 15px;
  color: var(--dark);
  margin-bottom: 3px;
}
.download-meta {
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}
.download-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--blue);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 10px 20px;
  border-radius: var(--radius);
  transition: background 0.25s var(--ease);
  flex-shrink: 0;
}
.download-btn:hover { background: var(--blue-dark); }

.downloads-placeholder {
  background: var(--light);
  border-radius: var(--radius-lg);
  padding: 80px 40px;
  text-align: center;
  margin-top: 24px;
  border: 2px dashed var(--light-2);
}
.downloads-placeholder h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 24px;
  text-transform: uppercase;
  color: var(--dark);
  margin-bottom: 10px;
}
.downloads-placeholder p { color: var(--text-muted); font-size: 15px; }

/* ================================================================
   CONTACT PAGE
   ================================================================ */
.contact-section {
  padding: var(--section-gap) 0;
}
.contact-grid {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 60px;
  align-items: start;
}

.contact-info-block {}
.contact-info-group {
  margin-bottom: 36px;
}
.contact-info-group h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--light-2);
}

.contact-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 14px;
}
.contact-row-icon {
  width: 38px;
  height: 38px;
  background: var(--light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--blue);
}
.contact-row-text strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: var(--dark);
  line-height: 1.3;
}
.contact-row-text small {
  font-size: 12px;
  color: var(--text-muted);
}
.contact-row-text a { color: var(--blue); }
.contact-row-text a:hover { text-decoration: underline; }

.billing-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.billing-table tr td {
  padding: 8px 0;
  border-bottom: 1px solid var(--light-2);
}
.billing-table tr:last-child td { border-bottom: none; }
.billing-table td:first-child {
  color: var(--text-muted);
  font-weight: 500;
  width: 100px;
}
.billing-table td:last-child { font-weight: 600; color: var(--dark); }

/* Map */
.contact-map-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,0,0,0.1);
  margin-bottom: 32px;
  height: 300px;
}
.contact-map-wrap iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* Contact Form */
.contact-form-wrap {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: 0 4px 32px rgba(0,0,0,0.06);
  border: 1px solid var(--light-2);
}
.contact-form-wrap h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 24px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--dark);
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--light);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 18px;
}
.form-group.full { grid-column: 1 / -1; }
.form-group label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.form-group input,
.form-group textarea,
.form-group select {
  padding: 13px 16px;
  border: 1.5px solid var(--light-2);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--dark);
  background: var(--white);
  transition: border-color 0.25s, box-shadow 0.25s;
  outline: none;
  -webkit-appearance: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(69,155,222,0.12);
}
.form-group textarea { resize: vertical; min-height: 130px; }

/* Mobil: 16px na polích zabrání nechtěnému přiblížení v iOS Safari při fokusu.
   Desktop ponechán na 15px → vizuálně beze změny. */
@media (max-width: 768px) {
  .form-group input,
  .form-group textarea,
  .form-group select { font-size: 16px; }
}

.form-submit {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 8px;
}
.form-notice {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Form Messages */
.form-msg {
  padding: 14px 18px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 20px;
}
.form-msg.success {
  background: rgba(34, 197, 94, 0.08);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #166534;
}
.form-msg.error {
  background: rgba(239, 68, 68, 0.07);
  border: 1px solid rgba(239, 68, 68, 0.25);
  color: #991b1b;
}

/* ================================================================
   FOOTER
   ================================================================ */
#site-footer {
  background: var(--light);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.2fr 1fr 1.4fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-brand {}
.footer-brand-tagline {
  color: var(--text-muted);
  font-size: 13px;
  margin-top: 12px;
  line-height: 1.6;
  max-width: 260px;
}
.footer-sister-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 600;
  margin-top: 20px;
  transition: color 0.25s;
}
.footer-sister-link:hover { color: var(--blue-dark); }

.footer-col h5 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.footer-nav-list li { margin-bottom: 10px; }
.footer-nav-list a {
  color: var(--text-body);
  font-size: 14px;
  transition: color 0.25s;
  display: flex;
  align-items: center;
  gap: 6px;
}
.footer-nav-list a::before {
  content: '';
  width: 12px;
  height: 1px;
  background: var(--blue);
  flex-shrink: 0;
  transition: width 0.25s;
}
.footer-nav-list a:hover { color: var(--dark); }
.footer-nav-list a:hover::before { width: 20px; }

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
  color: var(--text-body);
  font-size: 13px;
  line-height: 1.5;
}
.footer-contact-item .fci-icon {
  color: var(--blue);
  flex-shrink: 0;
  margin-top: 1px;
}
.footer-contact-item a { color: var(--text-body); }
.footer-contact-item a:hover { color: var(--blue); }

.footer-billing {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-top: 16px;
}
.footer-billing strong {
  display: block;
  color: var(--text-body);
  font-size: 13px;
  margin-bottom: 8px;
}

.footer-bottom {
  border-top: 1px solid var(--light-2);
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.footer-copy {
  font-size: 12px;
  color: var(--text-muted);
}
.footer-copy a { color: var(--text-body); transition: color 0.25s; }
.footer-copy a:hover { color: var(--blue); }

/* ================================================================
   SCROLL ANIMATIONS
   ================================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 1200px) {
  :root { --section-gap: 100px; }
  .services-grid { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 200px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 1024px) {
  .nav-links { display: none; }
  .nav-phone { display: none; }
  .nav-hamburger { display: flex; }

  .about-inner { grid-template-columns: 1fr; gap: 60px; }
  .about-img-primary { width: 72%; }

  .contact-grid { grid-template-columns: 1fr; }
  .about-full-grid { grid-template-columns: 1fr; }
  .awards-grid { grid-template-columns: 1fr 1fr; }

  .cta-strip-inner { flex-direction: column; align-items: flex-start; }
  .cta-strip-actions { align-items: flex-start; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item { border-bottom: 1px solid rgba(255,255,255,0.07); }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(3), .stat-item:nth-child(4) { border-bottom: none; }
  .stat-item:nth-child(3) { border-right: 1px solid rgba(255,255,255,0.07); }
}

@media (max-width: 768px) {
  :root { --section-gap: var(--section-gap-sm); }

  .services-grid { grid-template-columns: 1fr 1fr; gap: 10px; grid-auto-rows: 180px; }
  .service-card.bento-lg { grid-column: span 2; grid-row: span 2; }
  .service-card.bento-wide { grid-column: span 2; }
  .news-grid { grid-template-columns: 1fr; }
  .awards-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hq-images { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }

  .hero-ctas { flex-direction: column; align-items: flex-start; }
  .hero-ctas .btn { width: 100%; max-width: 320px; justify-content: center; }

  .about-img-badge { display: none; }

  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-item { border-right: 1px solid rgba(255,255,255,0.07) !important; border-bottom: 1px solid rgba(255,255,255,0.07) !important; }
  .stat-item:nth-child(even) { border-right: none !important; }
  .stat-item:nth-child(3),
  .stat-item:nth-child(4) { border-bottom: none !important; }

  .contact-form-wrap { padding: 24px 20px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .services-grid { grid-template-columns: 1fr; grid-auto-rows: 200px; }
  .service-card.bento-lg,
  .service-card.bento-wide { grid-column: span 1; grid-row: span 1; }
  .nav-logo-text .logo-main { font-size: 17px; }
  .hero-headline { font-size: clamp(40px, 12vw, 68px); }
}

/* ================================================================
   UTILITY
   ================================================================ */
.text-blue  { color: var(--blue); }
.text-orange { color: var(--orange); }
.text-muted  { color: var(--text-muted); }
.text-white  { color: #fff; }
.font-display { font-family: var(--font-display); }
.fw-900 { font-weight: 900; }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mb-8  { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.flex  { display: flex; }
.items-center { align-items: center; }
.gap-8  { gap: 8px; }
.gap-12 { gap: 12px; }

/* ================================================================
   SERVICE PAGES — Layout, content blocks, sidebar, tables
   ================================================================ */
.service-page {
  padding: 100px 0 var(--section-gap);
}
.service-page-grid {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: 72px;
  align-items: start;
}
.service-content {
  min-width: 0;
}
.service-intro {
  font-size: 19px;
  line-height: 1.7;
  color: var(--text-body);
  margin-bottom: 36px;
  padding-left: 22px;
  border-left: 3px solid var(--orange);
}
.service-content p {
  font-size: 16.5px;
  line-height: 1.78;
  color: var(--text-body);
  margin-bottom: 20px;
}
.service-content h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: var(--dark);
  margin: 56px 0 18px;
  position: relative;
  padding-bottom: 14px;
}
.service-content h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 56px;
  height: 3px;
  background: var(--orange);
}
.service-content h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--dark);
  margin: 36px 0 14px;
}
.service-content ul,
.service-content ol {
  margin: 14px 0 26px;
  padding-left: 0;
}
.service-content ul li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 10px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-body);
}
.service-content ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.8em;
  width: 14px;
  height: 2px;
  background: var(--orange);
}
.service-content ol {
  counter-reset: ol;
  list-style: none;
}
.service-content ol li {
  counter-increment: ol;
  position: relative;
  padding-left: 36px;
  margin-bottom: 12px;
  font-size: 16px;
}
.service-content ol li::before {
  content: counter(ol, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0;
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--orange);
  font-size: 16px;
}
.service-content strong { color: var(--dark); font-weight: 700; }
.service-content a {
  color: var(--blue);
  font-weight: 600;
  border-bottom: 1px solid currentColor;
  transition: color 0.25s var(--ease);
}
.service-content a:hover { color: var(--orange); }
.service-content a.btn,
.service-content a.subservice-tab,
.service-content a.ips-card,
.service-content a:has(> img) {
  border-bottom: none;
  color: inherit;
  font-weight: inherit;
}
.service-content a.btn { font-weight: 700; }
.service-content a.btn:hover { color: #fff; }
.service-content a.btn-ghost-dark { color: var(--blue); }
.service-content a.btn-ghost-dark:hover { color: #fff; }

.service-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin: 30px 0 32px;
  box-shadow: 0 12px 36px rgba(17,20,23,0.12);
  position: relative;
}
.service-img img {
  width: 100%;
  height: auto;
  display: block;
}
.service-img-caption {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 10px;
  font-style: italic;
}
.service-img--wide {
  margin-left: -8px;
  margin-right: -8px;
}

/* Two-image side-by-side */
.service-img-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 28px 0;
}
.service-img-pair .service-img {
  margin: 0;
}

/* Technické schéma (čárový diagram) — bílé pole s rámečkem a popiskem */
.service-scheme {
  margin: 24px 0;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--light-2);
  border-radius: var(--radius-lg);
  text-align: center;
}
.service-scheme img {
  display: block;
  width: 100%;
  max-width: 560px;
  height: auto;
  margin: 0 auto;
}
.service-scheme figcaption {
  margin-top: 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
}

/* Table */
.service-table-wrap {
  overflow-x: auto;
  margin: 24px 0 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--light-2);
}
.service-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
  min-width: 600px;
}
.service-table caption {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--orange);
  padding: 14px 18px;
  text-align: left;
  background: var(--light);
  caption-side: top;
}
.service-table thead {
  background: var(--dark);
  color: #fff;
}
.service-table thead th {
  padding: 14px 16px;
  text-align: left;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.service-table tbody td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--light-2);
  color: var(--text-body);
  vertical-align: top;
}
.service-table tbody tr:last-child td { border-bottom: none; }
.service-table tbody tr:nth-child(even) { background: var(--light); }
.service-table tbody td:first-child {
  font-weight: 600;
  color: var(--dark);
}

/* Highlighted info-box / pull-quote */
.service-callout {
  background: var(--light);
  border-left: 4px solid var(--blue);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  margin: 36px 0;
  position: relative;
}
.service-callout--orange { border-left-color: var(--orange); }
.service-callout h4 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--dark);
  margin-bottom: 10px;
}
.service-callout p {
  font-size: 15.5px !important;
  line-height: 1.7;
  margin-bottom: 0 !important;
  color: var(--text-body);
}

/* Brands strip — small logos / product names */
.service-brands {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 22px 0 32px;
}
.service-brand-chip {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 8px 16px;
  background: var(--white);
  border: 1.5px solid var(--light-2);
  border-radius: var(--radius);
  color: var(--text-body);
  transition: all 0.25s var(--ease);
}
.service-brand-chip:hover {
  border-color: var(--blue);
  color: var(--blue);
}

/* ── Service Sidebar ── */
.service-sidebar { position: sticky; top: calc(var(--nav-h) + 24px); }
.service-sidebar-card {
  background: var(--light);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-bottom: 22px;
  border-top: 3px solid var(--blue);
}
.service-sidebar-card--orange { border-top-color: var(--orange); }
.service-sidebar-card h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--dark);
  margin-bottom: 14px;
}
.service-sidebar-nav { display: flex; flex-direction: column; gap: 2px; }
.service-sidebar-nav a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 11px 0;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-body);
  border-bottom: 1px solid var(--light-2);
  transition: color 0.25s, padding 0.25s;
}
.service-sidebar-nav a:last-child { border-bottom: none; }
.service-sidebar-nav a:hover {
  color: var(--blue);
  padding-left: 4px;
}
.service-sidebar-nav a.is-current {
  color: var(--orange);
  font-weight: 700;
}
.service-sidebar-nav a span { color: var(--text-muted); font-size: 12px; }

.service-sidebar-contact .row {
  display: flex;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--light-2);
  font-size: 13.5px;
  align-items: flex-start;
}
.service-sidebar-contact .row:last-child { border-bottom: none; }
.service-sidebar-contact .row svg { color: var(--blue); flex-shrink: 0; margin-top: 2px; }
.service-sidebar-contact .row strong {
  display: block;
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: 2px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.service-sidebar-contact .row a {
  color: var(--dark);
  font-weight: 600;
}
.service-sidebar-contact .row a:hover { color: var(--blue); }

/* ── Sub-service Tabs (for hub pages) ── */
.subservice-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  background: var(--light);
  padding: 6px;
  border-radius: var(--radius-lg);
  margin-bottom: 40px;
  overflow-x: auto;
}
.subservice-tab {
  flex: 1;
  min-width: 140px;
  padding: 14px 20px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
  border-radius: 6px;
  color: var(--text-muted);
  transition: all 0.25s var(--ease);
  white-space: nowrap;
}
.subservice-tab:hover { color: var(--blue); }
.subservice-tab.is-current,
.subservice-tab[aria-current="page"] {
  background: var(--white);
  color: var(--orange);
  box-shadow: 0 4px 14px rgba(17,20,23,0.06);
}

/* ── Service Hub Tiles (Naše služby landing) ── */
.services-hub {
  padding: 100px 0 var(--section-gap);
}
.services-hub-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 240px;
  gap: 18px;
  margin-top: 56px;
}
.service-hub-tile {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  isolation: isolate;
  background: var(--dark);
  transition: transform 0.35s var(--ease);
  display: block;
}
.service-hub-tile--lg { grid-column: span 2; grid-row: span 2; }
.service-hub-tile--wide { grid-column: span 2; }
.service-hub-tile:hover { transform: translateY(-6px); }
.service-hub-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  transition: transform 0.6s var(--ease), opacity 0.4s var(--ease);
}
.service-hub-tile:hover img { transform: scale(1.06); opacity: 0.85; }
.service-hub-tile::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11,14,17,0.92) 0%, rgba(11,14,17,0.4) 55%, rgba(11,14,17,0.1) 100%);
  z-index: 1;
}
.service-hub-tile-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 28px;
  z-index: 2;
  color: #fff;
}
.service-hub-tile-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.16em;
  color: rgba(255,255,255,0.6);
  margin-bottom: 8px;
  display: block;
}
.service-hub-tile-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 26px;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}
.service-hub-tile-desc {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255,255,255,0.78);
  max-width: 420px;
  /* Ořezání na 2 řádky s elipsou */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}
/* LG dlaždice má víc místa — povol 4 řádky */
.service-hub-tile--lg .service-hub-tile-desc {
  -webkit-line-clamp: 4;
  max-width: 520px;
}
.service-hub-tile-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange);
  transition: gap 0.3s var(--ease);
}
.service-hub-tile:hover .service-hub-tile-arrow { gap: 12px; }

/* Větší tile heading uvnitř LG dlaždice */
.service-hub-tile--lg .service-hub-tile-title { font-size: clamp(28px, 3vw, 38px); }
.service-hub-tile--lg .service-hub-tile-content { padding: 36px; }

/* Bento responsive — uchovat layout v různých šířkách */
@media (max-width: 1100px) {
  .services-hub-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 220px;
  }
}
@media (max-width: 740px) {
  .services-hub-grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 200px;
    gap: 12px;
  }
  /* Na malých displejích zrušíme bento — 8 stejných dlaždic = 4 řádky bez mezer */
  .service-hub-tile--lg,
  .service-hub-tile--wide { grid-column: span 1; grid-row: span 1; }
  .service-hub-tile--lg .service-hub-tile-content { padding: 22px; }
}
@media (max-width: 480px) {
  .services-hub-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 220px;
  }
  .service-hub-tile--lg,
  .service-hub-tile--wide { grid-column: span 1; grid-row: span 1; }
  .service-hub-tile--lg .service-hub-tile-title { font-size: 24px; }
}

/* ── Responsive ── */
@media (max-width: 980px) {
  .service-page-grid { grid-template-columns: 1fr; gap: 48px; }
  .service-sidebar { position: static; }
  .service-img-pair { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .service-page { padding: 60px 0 var(--section-gap-sm); }
  .service-content h2 { font-size: 26px; margin: 40px 0 14px; }
  .service-intro { font-size: 17px; padding-left: 16px; }
  .service-callout { padding: 22px 22px; }
  .services-hub-grid { gap: 16px; }
  .service-hub-tile-title { font-size: 22px; }
  .service-hub-tile-content { padding: 22px; }
}

/* ================================================================
   FOTODOKUMENTACE — Gallery with Lightbox
   ================================================================ */
.gallery-page { padding: 80px 0 var(--section-gap); }

/* Sticky category navigation */
.gallery-cat-nav {
  position: sticky;
  top: var(--nav-h);
  z-index: 50;
  background: rgba(250,250,250,0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--light-2);
  margin: 0 calc(50% - 50vw);
  padding: 14px 0;
}
.gallery-cat-nav-inner {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}
.gallery-cat-nav-inner::-webkit-scrollbar { height: 4px; }
.gallery-cat-nav-inner::-webkit-scrollbar-thumb { background: var(--light-2); border-radius: 2px; }
.gallery-cat-pill {
  flex-shrink: 0;
  padding: 10px 18px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 999px;
  color: var(--text-muted);
  background: transparent;
  border: 1.5px solid var(--light-2);
  transition: all 0.2s var(--ease);
  white-space: nowrap;
  cursor: pointer;
}
.gallery-cat-pill:hover {
  color: var(--blue);
  border-color: var(--blue);
}
.gallery-cat-pill.is-active {
  background: var(--dark);
  border-color: var(--dark);
  color: #fff;
}
.gallery-cat-pill .count {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 8px;
  background: rgba(0,0,0,0.08);
  border-radius: 999px;
  font-size: 10px;
  letter-spacing: 0.04em;
}
.gallery-cat-pill.is-active .count {
  background: rgba(238,73,15,0.85);
  color: #fff;
}

/* Category section */
.gallery-category { padding-top: 80px; scroll-margin-top: calc(var(--nav-h) + 80px); }
.gallery-category:first-of-type { padding-top: 40px; }
.gallery-cat-header {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 32px;
  margin-bottom: 40px;
}
.gallery-cat-header h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(36px, 4vw, 52px);
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: var(--dark);
}
.gallery-cat-header h2 .num {
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--orange);
  margin-bottom: 12px;
}
.gallery-cat-desc {
  max-width: 480px;
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* Project cards grid */
.gallery-projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

/* "Zobrazit více" pod galerií kategorie */
.gallery-show-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}
.gallery-show-more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  background: transparent;
  border: 1.5px solid var(--light-2);
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-body);
  cursor: pointer;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease);
}
.gallery-show-more:hover {
  border-color: var(--orange);
  background: var(--orange);
  color: #fff;
}
.gallery-show-more-chev {
  transition: transform 0.3s var(--ease);
}
.gallery-show-more[aria-expanded="true"] .gallery-show-more-chev {
  transform: rotate(180deg);
}
.gallery-project-card {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  background: var(--dark);
  isolation: isolate;
  transition: transform 0.35s var(--ease);
  border: none;
  padding: 0;
  display: block;
  width: 100%;
  text-align: left;
}
.gallery-project-card[hidden] { display: none; }
.gallery-project-card:hover { transform: translateY(-4px); }
.gallery-project-card:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.gallery-project-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  transition: transform 0.6s var(--ease), filter 0.4s var(--ease);
}
.gallery-project-card:hover img { transform: scale(1.06); filter: brightness(0.7); }
.gallery-project-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11,14,17,0) 40%, rgba(11,14,17,0.9) 100%);
  z-index: 1;
}
.gallery-project-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 22px 24px;
  z-index: 2;
  color: #fff;
}
.gallery-project-card-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-bottom: 6px;
}
.gallery-project-card-meta .dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--orange);
}
.gallery-project-card-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}
.gallery-project-card-icon {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  color: #fff;
  opacity: 0;
  transform: translateY(-8px) scale(0.8);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.gallery-project-card:hover .gallery-project-card-icon {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Stats strip */
.gallery-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1px;
  margin: 40px 0 60px;
  background: var(--light-2);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.gallery-stat {
  padding: 28px 24px;
  background: var(--white);
  text-align: center;
}
.gallery-stat-num {
  display: block;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 44px;
  line-height: 1;
  color: var(--dark);
}
.gallery-stat-num em { color: var(--orange); font-style: normal; }
.gallery-stat-label {
  display: block;
  margin-top: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ── Lightbox ── */
.lb-root {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(8,10,12,0.96);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
  display: flex;
  flex-direction: column;
}
.lb-root.is-open {
  opacity: 1;
  pointer-events: all;
}
.lb-bar {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 28px;
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.lb-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.lb-title-meta {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: var(--orange);
  letter-spacing: 0.14em;
  margin-bottom: 4px;
}
.lb-bar-right {
  display: flex;
  align-items: center;
  gap: 16px;
}
.lb-counter {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.7);
  font-variant-numeric: tabular-nums;
}
.lb-close {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.06);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s var(--ease);
}
.lb-close:hover {
  background: var(--orange);
  border-color: var(--orange);
  transform: rotate(90deg);
}
.lb-stage {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 80px;
  min-height: 0;
}
.lb-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 80px rgba(0,0,0,0.5);
  user-select: none;
}
.lb-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.06);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s var(--ease);
  z-index: 2;
}
.lb-nav:hover {
  background: var(--orange);
  border-color: var(--orange);
}
.lb-prev { left: 24px; }
.lb-next { right: 24px; }
.lb-nav:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}
.lb-nav:disabled:hover { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.2); }

/* Thumbnail strip at bottom */
.lb-thumbs {
  flex-shrink: 0;
  display: flex;
  gap: 6px;
  padding: 14px 28px;
  overflow-x: auto;
  border-top: 1px solid rgba(255,255,255,0.08);
  scrollbar-width: thin;
}
.lb-thumbs::-webkit-scrollbar { height: 6px; }
.lb-thumbs::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.15); border-radius: 3px; }
.lb-thumb {
  flex-shrink: 0;
  width: 80px;
  height: 60px;
  border-radius: 4px;
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  background: none;
  padding: 0;
  opacity: 0.5;
  transition: opacity 0.2s, border-color 0.2s;
}
.lb-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.lb-thumb:hover { opacity: 0.85; }
.lb-thumb.is-active {
  opacity: 1;
  border-color: var(--orange);
}

/* Lock body scroll when lightbox open */
body.has-lightbox { overflow: hidden; }

/* Responsive */
@media (max-width: 740px) {
  .gallery-cat-header { grid-template-columns: 1fr; gap: 12px; }
  .gallery-projects-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
  .gallery-project-card-title { font-size: 18px; }
  .lb-stage { padding: 16px 12px; }
  .lb-nav { width: 44px; height: 44px; }
  .lb-prev { left: 8px; }
  .lb-next { right: 8px; }
  .lb-bar { padding: 14px 18px; }
  .lb-title { font-size: 14px; }
  .lb-thumbs { padding: 10px 18px; }
  .lb-thumb { width: 60px; height: 45px; }
}
@media (max-width: 480px) {
  .gallery-projects-grid { grid-template-columns: 1fr; }
  .gallery-stat-num { font-size: 36px; }
}

/* ================================================================
   IPS — Karty pro tři podslužby (Asfaltové / PVC / Trapézové)
   ================================================================ */
.ips-cards { display: grid; gap: 28px; margin-top: 12px; }

.ips-card {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  background: var(--light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 320px;
}
.ips-card--reverse { grid-template-columns: 1.2fr 1fr; }
.ips-card--reverse .ips-card-img { order: 2; }
.ips-card--reverse .ips-card-body { order: 1; }

.ips-card-img {
  position: relative;
  min-height: 280px;
  overflow: hidden;
}
.ips-card-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.ips-card:hover .ips-card-img img { transform: scale(1.04); }

.ips-card-body {
  padding: 36px 38px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}
.ips-card-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange);
  display: flex;
  align-items: center;
  gap: 12px;
}
.ips-card-num::before {
  content: '';
  width: 28px;
  height: 2px;
  background: var(--orange);
  display: block;
}
.ips-card-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(24px, 2.4vw, 30px);
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: var(--dark);
}
.ips-card-desc {
  font-size: 15px !important;
  line-height: 1.65 !important;
  color: var(--text-muted) !important;
  margin: 0 !important;
}
.ips-card-cta {
  margin-top: 6px;
  align-self: flex-start;
  font-size: 13px;
  padding: 12px 22px;
}

@media (max-width: 780px) {
  .ips-card,
  .ips-card--reverse { grid-template-columns: 1fr; min-height: 0; }
  .ips-card--reverse .ips-card-img,
  .ips-card-img { order: 0; aspect-ratio: 16/10; min-height: 0; }
  .ips-card--reverse .ips-card-body,
  .ips-card-body { order: 1; padding: 28px 26px; gap: 12px; }
  .ips-card-title { font-size: 22px; }
}

/* ================================================================
   LOGO MARQUEE — projížděcí pás s logy pod hero
   ================================================================ */
.logo-marquee {
  background: var(--white);
  border-top: 1px solid var(--light-2);
  border-bottom: 1px solid var(--light-2);
  padding: 24px 0;
  overflow: hidden;
}
.logo-marquee-viewport {
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 14%, #000 86%, transparent 100%);
          mask-image: linear-gradient(to right, transparent 0, #000 14%, #000 86%, transparent 100%);
}
.logo-marquee-track {
  display: flex;
  width: max-content;
  animation: marquee-scroll 55s linear infinite;
  will-change: transform;
}
/* Marquee se při najetí ani tapnutí nezastavuje — běží plynule pořád.
   Odkazy v něm zůstávají klikatelné i během pohybu. */
.logo-marquee-list {
  display: flex;
  align-items: center;
  padding: 0;
  margin: 0;
  list-style: none;
  min-height: 64px;
}
.logo-marquee-list li {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 44px;
  min-width: 160px;
  min-height: 64px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.005em;
  color: var(--dark);
  white-space: nowrap;
  position: relative;
}
.logo-marquee-list li a {
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  text-decoration: none;
}
.logo-marquee-list li img {
  display: block;
  height: 52px;
  max-width: 180px;
  width: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.68;
  transition: filter 0.35s var(--ease), opacity 0.35s var(--ease);
}
.logo-marquee-list li:hover img,
.logo-marquee-list li a:focus-visible img {
  filter: grayscale(0);
  opacity: 1;
}
.logo-marquee-list li a:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 4px;
  border-radius: 4px;
}
.logo-marquee-list li::after {
  content: '';
  position: absolute;
  right: -3px;
  top: 50%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--orange);
  opacity: 0.55;
  transform: translateY(-50%);
  pointer-events: none;
}
.logo-marquee-more {
  color: var(--orange) !important;
  font-style: italic;
  font-weight: 600 !important;
  font-size: 17px !important;
}
.logo-marquee-more span {
  font-family: var(--font-display);
  font-weight: 900;
  font-style: normal;
  font-size: 22px;
  margin-right: 6px;
  color: var(--orange);
}
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
/* Se zapnutým „Omezit pohyb" (na iPhonech to má hodně lidí) se animace vypne.
   Zmrazený pás ale přes masku ukáže jen první logo a půlku druhého — přesně
   to klient hlásil z mobilu. Místo zmrazení proto loga zalomíme do statické
   mřížky, aby byla vidět všechna. */
@media (prefers-reduced-motion: reduce) {
  .logo-marquee-viewport {
    -webkit-mask-image: none;
            mask-image: none;
  }
  .logo-marquee-track {
    animation: none;
    transform: none;
    width: 100%;
  }
  /* Druhá kopie seznamu existuje jen kvůli plynulému opakování — bez pohybu
     by se loga zbytečně zdvojila. */
  .logo-marquee-list[aria-hidden="true"] { display: none; }
  .logo-marquee-list {
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    row-gap: 4px;
  }
  .logo-marquee-list li {
    padding: 0 26px;
    min-width: 0;
  }
  /* Oranžové oddělovací tečky dávají smysl jen v souvislém pásu. */
  .logo-marquee-list li::after { display: none; }
}
@media (max-width: 720px) {
  .logo-marquee { padding: 18px 0; }
  .logo-marquee-list li { font-size: 15px; padding: 0 32px; }
  .logo-marquee-more { font-size: 14px !important; }
  .logo-marquee-track { animation-duration: 42s; }
}

/* ================================================================
   REFERENCE — klientský wall na konci Fotodokumentace
   ================================================================ */
.references {
  padding: 90px 0 100px;
  background: var(--light-1);
  border-top: 1px solid var(--light-2);
  scroll-margin-top: calc(var(--nav-h) + 24px);
}
.references-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 56px;
}
.references-header .section-label {
  justify-content: center;
}
.references-header .section-label::before {
  display: none;
}
.references-header .section-heading {
  margin-top: 6px;
}
.references-intro {
  color: var(--text-muted);
  font-size: 18px;
  line-height: 1.6;
  margin-top: 24px;
}
.references-logos {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--light-2);
  border: 1px solid var(--light-2);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 28px rgba(17,20,23,0.05);
}
.references-logos li {
  background: var(--white);
  padding: 36px 24px;
  min-height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.25;
  letter-spacing: -0.005em;
  color: var(--dark);
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}
.references-logos li a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  border: none;
  text-decoration: none;
}
.references-logos li img {
  display: block;
  max-height: 72px;
  max-width: 200px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.72;
  transition: filter 0.35s var(--ease), opacity 0.35s var(--ease);
}
.references-logos li:hover {
  background: var(--light-1);
  transform: translateY(-2px);
}
.references-logos li:hover img,
.references-logos li a:focus-visible img {
  filter: grayscale(0);
  opacity: 1;
}
.references-logos li a:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: -3px;
}

/* Per-logo vizuální korekce (marquee i reference grid) */
.logo-marquee-list li img[src*="argo-hytos"],
.references-logos li img[src*="argo-hytos"],
.logo-marquee-list li img[src*="denso"],
.references-logos li img[src*="denso"] {
  transform: scale(0.9);
}
.logo-marquee-list li img[src*="harrachov"],
.references-logos li img[src*="harrachov"] {
  transform: scale(1.1);
}
.references-logos-more {
  flex-direction: column;
  gap: 6px;
  background: var(--dark) !important;
  color: #fff !important;
  font-style: italic;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.005em;
}
.references-logos-more:hover {
  background: var(--dark) !important;
  transform: translateY(-2px);
}
.references-logos-more-plus {
  font-family: var(--font-display);
  font-weight: 900;
  font-style: normal;
  font-size: 28px;
  color: var(--orange);
  line-height: 1;
}

@media (max-width: 900px) {
  .references-logos { grid-template-columns: repeat(2, 1fr); }
  .references-logos li { padding: 28px 18px; font-size: 15px; min-height: 100px; }
  .references { padding: 70px 0 80px; }
}
@media (max-width: 420px) {
  .references-logos { grid-template-columns: 1fr; }
}

/* ================================================================
   ČLÁNEK — Mini fotogalerie v aktualitě
   ================================================================ */
.news-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.news-gallery-item {
  position: relative;
  aspect-ratio: 1/1;
  border: none;
  padding: 0;
  background: var(--light-2);
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  display: block;
}
.news-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease), filter 0.3s var(--ease);
}
.news-gallery-item:hover img { transform: scale(1.06); filter: brightness(0.85); }
.news-gallery-item:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
.news-gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(0,0,0,0) 50%, rgba(0,0,0,0.25) 100%);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
  pointer-events: none;
}
.news-gallery-item:hover::after { opacity: 1; }

@media (max-width: 740px) {
  .news-gallery-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 480px) {
  .news-gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ================================================================
   Awards logo strip — Czech Made / Vizionář 2016 / Národní cena kvality
   ================================================================ */
.awards-logos {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px 32px;
  background: var(--white);
  border: 1px solid var(--light-2);
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 24px rgba(17,20,23,0.04);
}
.awards-logos-label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 12px;
}
.awards-logos-label::before {
  content: '';
  display: block;
  width: 32px;
  height: 2px;
  background: var(--orange);
}
.awards-logos-img {
  width: 100%;
  max-width: 720px;
  height: auto;
  display: block;
  align-self: center;
  filter: grayscale(0);
}

/* Variant pro tmavý kontext (např. v awards-section pokud má dark bg) */
.awards-logos--bare {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
}

@media (max-width: 640px) {
  .awards-logos { padding: 22px 20px; }
}

/* ── Souhlas s cookies (Consent Mode v2) ─────────────────────── */
.cookie-consent {
  position: fixed;
  left: 20px; right: 20px; bottom: 20px;
  z-index: 1200;
  display: flex;
  justify-content: center;
  pointer-events: none;
  animation: cookie-up 0.4s var(--ease) both;
}
.cookie-consent[hidden] { display: none; }
.cookie-consent-inner {
  pointer-events: auto;
  width: 100%;
  max-width: 720px;
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--dark);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 40px rgba(0,0,0,0.35);
  padding: 18px 22px;
}
.cookie-consent-text {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.55;
  color: #d7dce1;
}
.cookie-consent-text strong { color: #fff; font-weight: 600; }
.cookie-consent-actions { display: flex; gap: 10px; flex-shrink: 0; }
.btn-cookie {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 999px;
  cursor: pointer;
  border: 1.5px solid transparent;
  white-space: nowrap;
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.2s, filter 0.2s;
}
.btn-cookie--accept { background: var(--orange); color: #fff; }
.btn-cookie--accept:hover { transform: translateY(-1px); filter: brightness(1.06); }
.btn-cookie--ghost { background: transparent; color: #cdd3d9; border-color: rgba(255,255,255,0.28); }
.btn-cookie--ghost:hover { border-color: #fff; color: #fff; }
.btn-cookie:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }

@keyframes cookie-up { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

@media (max-width: 600px) {
  .cookie-consent { left: 12px; right: 12px; bottom: 12px; }
  .cookie-consent-inner { flex-direction: column; align-items: stretch; gap: 14px; padding: 16px 18px; }
  .btn-cookie { flex: 1; padding: 12px 16px; font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  .cookie-consent { animation: none; }
}
