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

:root {
  --primary: #0090b9;
  --primary-hover: #007a9e;
  --primary-light: rgba(0, 144, 185, 0.1);
  --primary-tr: 0, 144, 185;
  --secondary: #7b7979;
  --gold: #c59d5f;
  --black: #282828;
  --black-full: #111;
  --white: #ebebeb;
  --white-full: #fff;
  --text: #111;
  --text-light: #555;
  --border: #ddd;
  --font: 'Montserrat', sans-serif;
  --font-heading: 'Oswald', sans-serif;
  --max-w: 1240px;
  --off-white: #f7f7f7;
  --section-pad: 140px;
}

html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--text); background: var(--white-full); line-height: 1.7; font-size: 0.975em; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 32px; }

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 700; line-height: 1.15; }
h2 { font-size: clamp(2.4rem, 4.5vw, 4rem); color: var(--black); text-transform: uppercase; letter-spacing: -0.01em; }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 16px;
}
.section-label::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 1px;
  background: var(--primary);
  flex-shrink: 0;
}

.section-title { margin-bottom: 20px; }
.section-desc { color: var(--text-light); font-size: 1rem; max-width: 680px; line-height: 1.8; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: var(--font);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 0;
  transition: all 0.25s ease;
  border: none;
  cursor: pointer;
}

.btn-primary { background: var(--primary); color: var(--white-full); }
.btn-primary:hover { background: var(--black); }

.btn-outline { background: transparent; color: var(--white-full); border: 2px solid rgba(255,255,255,0.4); }
.btn-outline:hover { border-color: var(--white-full); background: rgba(255,255,255,0.1); }

.btn-dark { background: var(--black); color: var(--white); }
.btn-dark:hover { background: var(--primary); color: var(--white-full); }

.btn-ghost { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
.btn-ghost:hover { background: var(--primary); color: var(--white-full); }

.btn-gold { background: var(--gold); color: var(--white-full); }
.btn-gold:hover { background: #b08a4e; }

.btn-arrow::after { content: "\2192"; transition: transform 0.25s; }
.btn-arrow:hover::after { transform: translateX(4px); }

/* ===== TOP BAR ===== */
.topbar {
  background: var(--white);
  border-top: 6px solid rgba(40,40,40,0.15);
  padding: 6px 0;
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1001;
  transition: transform 0.3s ease;
}
.topbar.hidden { transform: translateY(-100%); }
.topbar-inner { max-width: var(--max-w); margin: 0 auto; padding: 0 32px; display: flex; align-items: center; justify-content: space-between; font-size: 0.78rem; color: rgba(40,40,40,0.6); }
.topbar a { color: rgba(40,40,40,0.6); transition: color 0.2s; }
.topbar a:hover { color: var(--primary); }
.topbar-contact { display: flex; gap: 20px; }

/* ===== NAVIGATION ===== */
.nav {
  position: fixed;
  top: 38px;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--primary);
  transition: top 0.3s ease, box-shadow 0.3s ease;
}
.nav.scrolled { top: 0; box-shadow: 0 2px 20px rgba(0,0,0,0.25); }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  min-height: 68px;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 10px 32px;
  gap: 16px;
}

.nav-logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.nav-logo img { height: 38px; width: auto; }
.nav-logo span { color: var(--white-full); font-family: var(--font-heading); font-size: 1.1rem; font-weight: 700; letter-spacing: 0.03em; text-transform: uppercase; white-space: nowrap; }

.nav-links { display: flex; align-items: center; gap: 2px; flex-wrap: nowrap; }
.nav-links a {
  color: rgba(255,255,255,0.85);
  font-size: 0.76rem;
  font-weight: 500;
  padding: 6px 9px;
  white-space: nowrap;
  transition: color 0.2s, background 0.2s;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.nav-links a:hover { color: var(--white-full); background: rgba(0,0,0,0.15); }

/* Poslední položka menu (Kontakt) je stylovaná jako tmavé CTA tlačítko — stejně jako v předloze */
.nav-links li.nav-cta-item > a,
.nav-cta {
  background: var(--black) !important;
  color: var(--white-full) !important;
  padding: 8px 16px !important;
  font-weight: 600 !important;
}
.nav-links li.nav-cta-item > a:hover,
.nav-cta:hover { background: var(--black-full) !important; }

/* Aktivní položka menu */
.nav-links li.current-menu-item > a,
.nav-links li.current_page_item > a {
  color: var(--white-full);
  background: rgba(0,0,0,0.15);
}

/* Mobile nav */
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--white-full); margin: 6px 0; transition: all 0.3s; }

/* ===== LANG SWITCHER ===== */
.lang-switcher { display: flex; align-items: center; gap: 2px; margin-left: 8px; padding-left: 12px; border-left: 1px solid rgba(255,255,255,0.2); }
.lang-switcher a, .lang-switcher .lang-active {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase;
  padding: 4px 7px; border-radius: 2px; transition: all 0.2s;
}
.lang-switcher .lang-active { color: var(--white-full); background: rgba(255,255,255,0.2); cursor: default; }
.lang-switcher a { color: rgba(255,255,255,0.55); }
.lang-switcher a:hover { color: var(--white-full); background: rgba(255,255,255,0.1); }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-color: #0d1219;
  overflow: hidden;
}

/* Viditelná inženýrská mřížka */
.hero-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.07) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 120px 120px, 120px 120px, 24px 24px, 24px 24px;
}

/* Barevné přechody pro hloubku */
.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 100% at 0% 60%, rgba(0,144,185,0.18) 0%, transparent 65%),
    radial-gradient(ellipse 40% 60% at 100% 0%, rgba(0,144,185,0.06) 0%, transparent 60%),
    linear-gradient(160deg, rgba(0,0,0,0) 30%, rgba(0,0,0,0.55) 100%);
}

/* Velký dekorativní text v pozadí — LGSF */
.hero-bg::after {
  content: 'LGSF';
  position: absolute;
  right: -2%;
  bottom: -4rem;
  font-family: 'Oswald', sans-serif;
  font-size: clamp(18rem, 30vw, 38rem);
  font-weight: 700;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,0.10);
  letter-spacing: -0.02em;
  pointer-events: none;
  user-select: none;
}

/* Tenká primární linka vlevo */
.hero-accent {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, transparent 0%, var(--primary) 30%, var(--primary) 70%, transparent 100%);
  opacity: 0.7;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 160px 32px 150px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.45);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 36px;
}
.hero-badge::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 1px;
  background: var(--primary);
}

.hero h1 {
  color: var(--white-full);
  font-family: var(--font-heading);
  font-size: clamp(4.5rem, 10vw, 9rem);
  font-weight: 700;
  line-height: 0.92;
  max-width: 900px;
  margin-bottom: 40px;
  text-transform: uppercase;
  letter-spacing: -0.03em;
}

.hero-sub {
  color: rgba(255,255,255,0.5);
  font-size: clamp(0.82rem, 1.1vw, 0.95rem);
  max-width: 440px;
  line-height: 1.9;
  margin-bottom: 52px;
  letter-spacing: 0.02em;
}
.hero-sub strong { color: rgba(255,255,255,0.8); font-weight: 600; }

.hero-buttons { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-stats {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(40, 40, 40, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255,255,255,0.06);
  z-index: 2;
}

.hero-stats-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
}

.hero-stat {
  padding: 24px 0;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.06);
}

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

.hero-stat-val { color: var(--primary); font-family: var(--font-heading); font-size: 2.2rem; font-weight: 700; display: block; line-height: 1; }
.hero-stat-label { color: rgba(255,255,255,0.5); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; margin-top: 4px; }

/* ===== WHY BORABELA ===== */
.why { padding: var(--section-pad) 0; background: var(--white-full); }

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 52px;
}

.why-card {
  padding: 32px 28px 32px 24px;
  background: transparent;
  border: none;
  border-left: 2px solid var(--border);
  transition: border-color 0.25s ease;
  position: relative;
}

.why-card:hover { border-left-color: var(--primary); transform: none; box-shadow: none; }

.why-card-icon {
  width: 36px;
  height: 36px;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.why-card-icon svg { width: 24px; height: 24px; fill: none; stroke: var(--primary); stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }

.why-card h3 { margin-bottom: 10px; color: var(--black); text-transform: uppercase; font-size: 0.95rem; letter-spacing: 0.03em; }
.why-card p { color: var(--text-light); font-size: 0.88rem; line-height: 1.75; }

/* ===== B2B SECTION ===== */
.b2b { padding: var(--section-pad) 0; background: var(--black); color: var(--white-full); }
.b2b .section-label { color: var(--gold); }
.b2b h2 { color: var(--white-full); }
.b2b .section-desc { color: rgba(255,255,255,0.55); }

.b2b-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 52px;
}

.b2b-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 40px 32px;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.b2b-card:hover { background: rgba(255,255,255,0.06); border-color: var(--primary); transform: translateY(-3px); }

.b2b-card-header { margin-bottom: 24px; }
.b2b-card-header h3 { font-size: 1.4rem; margin-bottom: 6px; text-transform: uppercase; }
.b2b-card-header p { color: rgba(255,255,255,0.45); font-size: 0.85rem; }

.b2b-list { margin-bottom: 28px; flex-grow: 1; }
.b2b-list li {
  padding: 9px 0;
  padding-left: 18px;
  position: relative;
  color: rgba(255,255,255,0.75);
  font-size: 0.88rem;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.b2b-list li:last-child { border-bottom: none; }
.b2b-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 17px;
  width: 6px;
  height: 6px;
  background: var(--primary);
  border-radius: 50%;
}

.b2b-card .btn { align-self: flex-start; margin-top: auto; }

/* ===== SYSTEM SECTION ===== */
.system { padding: var(--section-pad) 0; background: var(--white); }

.system-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-top: 52px;
}

.system-text h3 { font-size: 1.2rem; margin-bottom: 16px; color: var(--black); text-transform: uppercase; }
.system-text p { color: var(--text-light); font-size: 0.92rem; margin-bottom: 18px; }

.system-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 28px 0;
}

.system-spec {
  background: var(--white-full);
  padding: 18px;
  border: 1px solid var(--border);
}

.system-spec-label { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--secondary); margin-bottom: 4px; }
.system-spec-val { font-family: var(--font-heading); font-size: 1.1rem; font-weight: 600; color: var(--black); }

.system-image { overflow: hidden; position: relative; }
.system-image img { width: 100%; height: 480px; object-fit: cover; }

.system-image-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  color: var(--white-full);
  padding: 40px 24px 16px;
  font-size: 0.8rem;
}

/* ===== REFERENCES ===== */
.references { padding: var(--section-pad) 0; background: var(--white-full); }
.references > .container > .reveal { padding: 0; }

.ref-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-top: 52px;
  background: var(--border);
}

.ref-card { overflow: hidden; background: var(--white-full); border: none; transition: all 0.4s ease; position: relative; }
.ref-card:hover { z-index: 2; box-shadow: 0 20px 60px rgba(0,0,0,0.15); }

.ref-card-img { position: relative; overflow: hidden; height: 420px; }
.ref-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; filter: brightness(0.95); }
.ref-card:hover .ref-card-img img { transform: scale(1.04); filter: brightness(1.02); }

.ref-card-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--primary);
  color: var(--white-full);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 5px 10px;
}

.ref-card-body { padding: 24px 22px; }
.ref-card-body h3 { margin-bottom: 8px; font-size: 1.05rem; text-transform: uppercase; }
.ref-card-body p { color: var(--text-light); font-size: 0.88rem; line-height: 1.6; margin-bottom: 14px; }
.ref-card-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.ref-card-tag { font-size: 0.65rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; padding: 3px 8px; background: var(--white); border: 1px solid var(--border); color: var(--secondary); }

.ref-bottom { text-align: center; margin-top: 44px; }

/* ===== PROCESS ===== */
.process { padding: var(--section-pad) 0; background: var(--black); color: var(--white-full); }
.process .section-label { color: var(--gold); }
.process h2 { color: var(--white-full); }
.process .section-desc { color: rgba(255,255,255,0.55); }

.process-timeline {
  margin-top: 60px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  position: relative;
}

.process-timeline::before {
  content: "";
  position: absolute;
  top: 28px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: rgba(255,255,255,0.08);
}

.process-step { text-align: center; padding: 0 14px; position: relative; }

.process-step-num {
  width: 56px;
  height: 56px;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white-full);
  margin: 0 auto 18px;
  position: relative;
  z-index: 2;
}

.process-step h4 { font-size: 0.9rem; margin-bottom: 8px; text-transform: uppercase; }
.process-step p { color: rgba(255,255,255,0.5); font-size: 0.8rem; line-height: 1.6; }

/* ===== TRUST ===== */
.trust { padding: var(--section-pad) 0; background: var(--white); }

.trust-items {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 52px;
}

.trust-item {
  text-align: left;
  padding: 28px 24px;
  background: var(--white-full);
  border: 1px solid var(--border);
  transition: all 0.3s;
}

.trust-item:hover { border-color: var(--primary); }

.trust-item-icon {
  width: 36px;
  height: 36px;
  margin: 0 0 14px;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
}

.trust-item-icon svg { width: 22px; height: 22px; fill: none; stroke: var(--primary); stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }

.trust-item h4 { font-family: var(--font-heading); font-size: 0.9rem; margin-bottom: 6px; color: var(--black); text-transform: uppercase; }
.trust-item p { font-size: 0.8rem; color: var(--text-light); line-height: 1.65; }

.partners { margin-top: 72px; padding-top: 48px; border-top: 1px solid var(--border); }
.partners h3 { font-family: var(--font); font-size: 0.7rem; color: var(--secondary); font-weight: 700; margin-bottom: 24px; text-transform: uppercase; letter-spacing: 0.16em; }

.partner-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 24px;
}

.partner-logo {
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(0,0,0,0.3);
  padding: 0;
  background: transparent;
  border: none;
  transition: color 0.2s;
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.partner-logo:hover { color: var(--black); }

/* ===== FAQ ===== */
.faq { padding: var(--section-pad) 0; background: var(--white-full); }
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 80px; margin-top: 56px; }
.faq-item { border-top: 1px solid var(--border); }
.faq-item:last-child { border-bottom: 1px solid var(--border); }
.faq-q {
  display: flex; justify-content: space-between; align-items: center;
  padding: 22px 0; cursor: pointer; gap: 16px;
  font-family: var(--font-heading); font-size: 1rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.04em; color: var(--black);
  transition: color 0.2s;
}
.faq-q:hover { color: var(--primary); }
.faq-icon {
  flex-shrink: 0; width: 20px; height: 20px;
  position: relative; transition: transform 0.3s;
}
.faq-icon::before, .faq-icon::after {
  content: ''; position: absolute; background: currentColor;
  transition: all 0.3s;
}
.faq-icon::before { width: 12px; height: 1.5px; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.faq-icon::after { width: 1.5px; height: 12px; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.faq-item.open .faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }
.faq-item.open .faq-q { color: var(--primary); }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s;
  font-size: 0.9rem; color: var(--text-light); line-height: 1.85;
}
.faq-a-inner { padding: 0 0 22px; }
.faq-item.open .faq-a { max-height: 300px; }
@media (max-width: 768px) { .faq-grid { grid-template-columns: 1fr; } }

/* ===== CONTACT FORM ===== */
.contact { padding: var(--section-pad) 0; background: var(--black-full); color: var(--white); }
.contact .section-label { color: var(--gold); }
.contact h2 { color: var(--white-full); }
.contact .section-desc { color: rgba(255,255,255,0.5); }

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  margin-top: 52px;
}

.contact-info h3 { color: var(--white-full); font-size: 1.1rem; text-transform: uppercase; margin-bottom: 20px; }
.contact-info-item { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 18px; color: rgba(255,255,255,0.7); font-size: 0.9rem; }
.contact-info-item svg { width: 20px; height: 20px; stroke: var(--primary); fill: none; stroke-width: 2; flex-shrink: 0; margin-top: 2px; }
.contact-info-item a { color: rgba(255,255,255,0.7); transition: color 0.2s; }
.contact-info-item a:hover { color: var(--primary); }

.contact-form { }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form-row.full { grid-template-columns: 1fr; }

.form-field label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.5);
  margin-bottom: 6px;
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 12px 16px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--white-full);
  font-family: var(--font);
  font-size: 0.9rem;
  transition: border-color 0.2s;
  outline: none;
}

.form-field input:focus,
.form-field textarea:focus { border-color: var(--primary); }

.form-field textarea { min-height: 120px; resize: vertical; }

.form-field input::placeholder,
.form-field textarea::placeholder { color: rgba(255,255,255,0.25); }

.form-consent { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 20px; font-size: 0.78rem; color: rgba(255,255,255,0.45); }
.form-consent input[type="checkbox"] { margin-top: 3px; accent-color: var(--primary); }

/* ===== FOOTER ===== */
.footer { background: var(--black); color: rgba(255,255,255,0.6); padding: 56px 0 0; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 44px;
}

.footer-brand .nav-logo { margin-bottom: 14px; }
.footer-brand p { font-size: 0.85rem; line-height: 1.7; max-width: 320px; }

.footer h4 {
  color: var(--white-full);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 18px;
  position: relative;
  padding-bottom: 10px;
}

.footer h4::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--primary);
}

.footer-links a { display: block; padding: 4px 0; font-size: 0.85rem; color: rgba(255,255,255,0.5); transition: color 0.2s; }
.footer-links a:hover { color: var(--primary); }

.footer-contact-item { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 12px; font-size: 0.85rem; }
.footer-contact-item svg { width: 16px; height: 16px; stroke: var(--primary); fill: none; stroke-width: 2; flex-shrink: 0; margin-top: 3px; }
.footer-contact-item a { color: rgba(255,255,255,0.5); transition: color 0.2s; }
.footer-contact-item a:hover { color: var(--primary); }

.footer-bottom {
  margin-top: 44px;
  padding: 20px 0;
  background: var(--primary);
  color: var(--white-full);
  font-size: 0.78rem;
}

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

.footer-bottom a { color: var(--white-full); opacity: 0.8; transition: opacity 0.2s; }
.footer-bottom a:hover { opacity: 1; }

/* ===== ANIMATIONS ===== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible { 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; }

/* ===== CUSTOMER SECTION ===== */
.customer { padding: var(--section-pad) 0; background: var(--white); }
.customer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 52px;
}
.customer-card {
  background: var(--white-full);
  border: 1px solid var(--border);
  border-top: 3px solid transparent;
  padding: 36px 28px;
  text-align: left;
  transition: all 0.3s ease;
}
.customer-card:hover { border-top-color: var(--primary); transform: translateY(-3px); box-shadow: 0 16px 48px rgba(0,0,0,0.08); }
.customer-card-icon { width: 40px; height: 40px; background: transparent; display: flex; align-items: center; justify-content: center; margin: 0 0 20px; }
.customer-card-icon svg { width: 28px; height: 28px; fill: none; stroke: var(--primary); stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.customer-card h3 { margin-bottom: 12px; color: var(--black); font-size: 1.05rem; text-transform: uppercase; }
.customer-card p { color: var(--text-light); font-size: 0.9rem; line-height: 1.7; }
.customer-cta { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 44px; }

/* ===== TESTIMONIALS ===== */
.testimonials { padding: var(--section-pad) 0; background: var(--white); }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 52px;
}
.testimonial {
  background: var(--white-full);
  border: 1px solid var(--border);
  border-left: 3px solid var(--primary);
  padding: 36px 32px;
  transition: all 0.3s;
}
.testimonial:hover { box-shadow: 0 12px 40px rgba(0,0,0,0.07); transform: translateY(-2px); }
.testimonial-quote { font-size: 1.8rem; color: var(--primary); line-height: 1; margin-bottom: 14px; font-family: var(--font-heading); font-weight: 700; letter-spacing: -0.02em; }
.testimonial-text { color: var(--text-light); font-size: 0.9rem; line-height: 1.85; margin-bottom: 24px; }
.testimonial-author { padding-top: 18px; border-top: 1px solid var(--border); }
.testimonial-author strong { display: block; font-family: var(--font-heading); font-size: 0.88rem; color: var(--black); text-transform: uppercase; margin-bottom: 2px; }
.testimonial-author span { font-size: 0.76rem; color: var(--secondary); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .topbar { display: none; }
  .nav { top: 0; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .b2b-grid { grid-template-columns: 1fr; max-width: 540px; }
  .system-layout { grid-template-columns: 1fr; gap: 40px; }
  .system-image { order: -1; }
  .system-image img { height: 340px; }
  .ref-grid { grid-template-columns: repeat(2, 1fr); }
  .ref-grid .ref-card:last-child { grid-column: span 2; max-width: 50%; margin: 0 auto; }
  .process-timeline { grid-template-columns: repeat(3, 1fr); gap: 28px; }
  .process-timeline::before { display: none; }
  .trust-items { grid-template-columns: repeat(2, 1fr); }
  .contact-layout { grid-template-columns: 1fr; gap: 44px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-stats-inner { grid-template-columns: repeat(2, 1fr); }
  .hero-stat:nth-child(2) { border-right: none; }
  .customer-grid { grid-template-columns: 1fr 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; max-width: 600px; }
}

@media (max-width: 768px) {
  :root { --section-pad: 80px; }

  .nav-links { display: none; }
  .nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: var(--primary);
    padding: 16px 32px 24px;
    border-top: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 12px 40px rgba(0,0,0,0.3);
  }
  .nav-links.active a { padding: 12px 0; }

  .nav-toggle { display: block; }
  .nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(6px, 6px); }
  .nav-toggle.active span:nth-child(2) { opacity: 0; }
  .nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); }

  .hero { min-height: 100svh; }
  .hero h1 { font-size: clamp(1.8rem, 7vw, 2.8rem); }
  .hero-buttons { flex-direction: column; }
  .hero-buttons .btn { width: 100%; justify-content: center; }
  .hero-stats-inner { grid-template-columns: repeat(2, 1fr); }

  .why-grid { grid-template-columns: 1fr; }
  .ref-grid { grid-template-columns: 1fr; }
  .ref-grid .ref-card:last-child { grid-column: span 1; max-width: 100%; }
  .process-timeline { grid-template-columns: 1fr; gap: 36px; }

  .system-specs { grid-template-columns: 1fr 1fr; }
  .trust-items { grid-template-columns: 1fr; }
  .partner-logos { gap: 10px; }
  .partner-logo { font-size: 0.78rem; padding: 8px 14px; }
  .customer-grid { grid-template-columns: 1fr; }
  .customer-cta { flex-direction: column; }
  .testimonials-grid { grid-template-columns: 1fr; }

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

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom-inner { flex-direction: column; gap: 10px; text-align: center; }
}

@media (max-width: 480px) {
  .container { padding: 0 20px; }
  .nav-inner { padding: 0 20px; }
  .hero-content { padding: 120px 20px 150px; }
  .hero-stats-inner { padding: 0 20px; }
  .hero-stat { padding: 18px 0; }
  .b2b-card { padding: 28px 22px; }
}

/* SEARCH OVERLAY */
.topbar-search { background: none; border: none; cursor: pointer; padding: 2px 6px; color: rgba(40,40,40,0.55); display: inline-flex; align-items: center; transition: color 0.2s; margin-left: 8px; vertical-align: middle; }
.topbar-search:hover { color: var(--primary, #0090b9); }
.search-overlay { position: fixed; inset: 0; background: rgba(17,17,17,0.97); z-index: 3000; display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity 0.25s ease; }
.search-overlay.active { opacity: 1; pointer-events: all; }
.search-box { width: 100%; max-width: 640px; padding: 0 32px; }
.search-box-label { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,255,255,0.3); margin-bottom: 20px; display: block; font-family: 'Montserrat', sans-serif; }
.search-input-row { display: flex; align-items: center; border-bottom: 2px solid rgba(255,255,255,0.2); transition: border-color 0.2s; }
.search-input-row:focus-within { border-color: #0090b9; }
.search-field { flex: 1; background: none; border: none; outline: none; font-family: 'Oswald', sans-serif; font-size: clamp(1.6rem, 4vw, 2.6rem); font-weight: 700; text-transform: uppercase; color: #fff; padding: 12px 0; letter-spacing: 0.02em; }
.search-field::placeholder { color: rgba(255,255,255,0.18); }
.search-submit { background: none; border: none; cursor: pointer; padding: 8px; color: rgba(255,255,255,0.45); transition: color 0.2s; }
.search-submit:hover { color: #0090b9; }
.search-close-btn { position: absolute; top: 24px; right: 32px; background: none; border: none; cursor: pointer; color: rgba(255,255,255,0.35); font-size: 2rem; transition: color 0.2s; padding: 8px; line-height: 1; font-family: sans-serif; }
.search-close-btn:hover { color: #fff; }


/* ===== REALIZACE GRID ===== */
.realizace-preview { padding: var(--section-pad) 0; background: var(--off-white); }

.realizace-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 44px;
}

.real-card {
  background: var(--white);
  border: 1px solid var(--border);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
  display: flex;
  flex-direction: column;
}
.real-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,0.10); transform: translateY(-3px); }

.real-card-img { display: block; overflow: hidden; aspect-ratio: 3/2; }
.real-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.real-card:hover .real-card-img img { transform: scale(1.04); }

.real-card-body { padding: 22px 24px 28px; flex: 1; display: flex; flex-direction: column; gap: 10px; }

.real-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.real-card-meta span {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--primary);
  background: rgba(0,144,185,0.08);
  padding: 3px 8px;
  border-radius: 2px;
}

.real-card h3 { font-size: 1rem; line-height: 1.35; margin: 0; }
.real-card h3 a { color: var(--black); transition: color 0.2s; }
.real-card h3 a:hover { color: var(--primary); }

.section-cta { text-align: center; margin-top: 48px; }

/* ===== TEXT COLUMNS ===== */
.text-section { padding: var(--section-pad) 0; }

.text-cols { display: grid; gap: 44px; margin-top: 44px; }
.text-cols--1 { grid-template-columns: 1fr; max-width: 720px; }
.text-cols--2 { grid-template-columns: repeat(2, 1fr); }
.text-cols--3 { grid-template-columns: repeat(3, 1fr); }

.text-col h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--primary);
}

.text-col-body { color: var(--text-light); font-size: 0.9rem; line-height: 1.8; }
.text-col-body p { margin-bottom: 14px; }
.text-col-body a { color: var(--primary); font-weight: 600; transition: color 0.2s; }
.text-col-body a:hover { color: var(--black); }

/* Responsive realizace + text-cols */
@media (max-width: 900px) {
  .realizace-grid { grid-template-columns: repeat(2, 1fr); }
  .text-cols--3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .realizace-grid { grid-template-columns: 1fr; }
  .text-cols--2,
  .text-cols--3 { grid-template-columns: 1fr; }
}

/* ===== STATS SECTION (standalone blok) ===== */
.stats-section {
  background: rgba(13,18,25,0.96);
  border-top: 1px solid rgba(255,255,255,0.06);
}

.stats-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
}

.stat-item {
  padding: 28px 0;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.06);
}
.stat-item:last-child { border-right: none; }

.stat-val {
  color: var(--primary);
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  display: block;
  line-height: 1;
}

.stat-label {
  color: rgba(255,255,255,0.5);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 6px;
  display: block;
}

@media (max-width: 700px) {
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
}

/* ===== REALIZACE KARTA — placeholder bez fotek ===== */
.real-card:not(:has(.real-card-img)) .real-card-body,
.real-card-no-img .real-card-body {
  padding-top: 36px;
}

/* Šrafovaný placeholder místo chybějící fotky */
.real-card-placeholder {
  aspect-ratio: 3/2;
  background:
    repeating-linear-gradient(
      -45deg,
      rgba(0,144,185,0.04) 0,
      rgba(0,144,185,0.04) 1px,
      transparent 0,
      transparent 50%
    );
  background-size: 10px 10px;
  background-color: var(--off-white);
  display: flex;
  align-items: center;
  justify-content: center;
}
.real-card-placeholder svg {
  width: 40px;
  height: 40px;
  stroke: var(--primary);
  opacity: 0.25;
}

/* ===== NAV DROPDOWN ===== */
.nav-links ul.sub-menu,
.nav-links .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  background: var(--black);
  border-top: 2px solid var(--primary);
  z-index: 100;
  padding: 6px 0;
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
}

.nav-links li {
  position: relative;
  list-style: none;
}

.nav-links li:hover > .sub-menu,
.nav-links li:focus-within > .sub-menu {
  display: block;
}

.nav-links .sub-menu a {
  display: block;
  padding: 10px 18px !important;
  font-size: 0.8rem !important;
  color: rgba(255,255,255,0.75) !important;
  background: transparent !important;
  white-space: nowrap;
  border-left: 2px solid transparent;
  transition: all 0.15s !important;
}

.nav-links .sub-menu a:hover {
  color: var(--white-full) !important;
  border-left-color: var(--primary) !important;
  padding-left: 22px !important;
  background: rgba(255,255,255,0.05) !important;
}

/* Mobile nav — sub-menus vždy skryté, toggle přes JS */
@media (max-width: 900px) {
  .nav-links { 
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: var(--black);
    padding: 16px 0 24px;
    z-index: 999;
  }
  .nav-links.active { display: block; }
  .nav-links a { display: block; padding: 10px 24px !important; border-left: none !important; }
  .nav-links li { position: static; }
  .nav-links .sub-menu { 
    display: block !important;
    position: static; 
    border-top: none; 
    box-shadow: none; 
    background: rgba(255,255,255,0.04);
    padding: 0 0 0 16px;
  }
  .nav-toggle { display: flex !important; flex-direction: column; gap: 5px; }
  .nav-actions { display: none; }
}

/* ===== REALIZACE ARCHIV ===== */
.realizace-archive { padding: var(--section-pad) 0; }

.archive-header { margin-bottom: 52px; }
.archive-desc {
  color: var(--text-light);
  font-size: 1.05rem;
  max-width: 640px;
  margin-top: 16px;
  line-height: 1.7;
}

.real-card-title { font-size: 1rem; line-height: 1.35; margin: 0; }
.real-card-title a { color: var(--black); transition: color 0.2s; }
.real-card-title a:hover { color: var(--primary); }

.real-card-excerpt { font-size: 0.83rem; color: var(--text-light); line-height: 1.6; margin: 0; }

/* Pagination */
.pagination { margin-top: 60px; display: flex; justify-content: center; gap: 8px; }
.pagination .page-numbers {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 40px; height: 40px; padding: 0 12px;
  font-size: 0.85rem; font-weight: 600;
  color: var(--black); border: 1px solid var(--border);
  transition: all 0.2s;
}
.pagination .page-numbers:hover,
.pagination .page-numbers.current {
  background: var(--primary); color: var(--white-full); border-color: var(--primary);
}

/* Real-card title override */
h2.real-card-title, h3.real-card-title {
  font-size: 1rem !important;
  line-height: 1.35;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 600;
  margin: 0;
}

/* Pagination nav label */
.navigation.pagination > h2 { display: none; }

/* ===== SINGLE REALIZACE (DETAIL) ===== */
.page-hero { padding: 180px 0 0; background: var(--black); position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(135deg, var(--black) 0%, rgba(0,144,185,0.3) 100%); }
.page-hero-img { position: absolute; inset: 0; background-image: var(--page-hero-bg); background-size: cover; background-position: center 40%; filter: brightness(0.3); }
.page-hero .container { position: relative; z-index: 2; padding-bottom: 60px; }
.page-hero h1 { color: var(--white-full); font-size: clamp(2rem, 4vw, 3.2rem); text-transform: uppercase; margin-bottom: 4px; }
.page-hero p { color: rgba(255,255,255,0.6); font-size: 1rem; max-width: 600px; margin-top: 12px; }
.page-hero .section-label { margin-top: 4px; }

.breadcrumb { font-size: 0.8rem; color: rgba(255,255,255,0.4); margin-bottom: 16px; }
.breadcrumb a { color: rgba(255,255,255,0.5); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb span { margin: 0 8px; }

.hero-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.hero-tag { padding: 5px 14px; border: 1px solid rgba(255,255,255,0.25); font-size: 0.72rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(255,255,255,0.7); }
.hero-tag.highlight { background: var(--primary); border-color: var(--primary); color: var(--white-full); }

.key-numbers { background: var(--primary); padding: 28px 0; }
.key-numbers-inner { display: grid; gap: 20px; text-align: center; }
.kn-val { font-family: var(--font-heading); font-size: 1.8rem; font-weight: 700; color: var(--white-full); }
.kn-label { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(255,255,255,0.6); margin-top: 3px; }

.project-detail { padding: var(--section-pad) 0; }
.project-layout { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: start; }

.project-gallery { display: flex; flex-direction: column; gap: 12px; position: sticky; top: 80px; align-self: start; }
.gallery-main { overflow: hidden; position: relative; cursor: pointer; }
.gallery-main img { width: 100%; height: 420px; object-fit: cover; transition: transform 0.5s ease; }
.gallery-main:hover img { transform: scale(1.02); }
.gallery-main-overlay { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity 0.3s; background: rgba(0,0,0,0.3); }
.gallery-main:hover .gallery-main-overlay { opacity: 1; }
.gallery-main-overlay span { color: #fff; font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.15em; border: 1.5px solid rgba(255,255,255,0.7); padding: 8px 18px; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.gallery-thumb { overflow: hidden; cursor: pointer; border: 2px solid transparent; transition: border-color 0.2s; }
.gallery-thumb.active { border-color: var(--primary); }
.gallery-thumb img { width: 100%; height: 78px; object-fit: cover; transition: transform 0.3s; }
.gallery-thumb:hover img { transform: scale(1.05); }

.project-info h2 { margin-bottom: 16px; }
.project-desc { color: var(--text-light); font-size: 0.95rem; line-height: 1.85; margin-bottom: 28px; }

.project-meta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 32px; }
.meta-item { background: var(--white); padding: 16px; border: 1px solid var(--border); }
.meta-item-label { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--secondary); margin-bottom: 4px; }
.meta-item-val { font-family: var(--font-heading); font-size: 0.95rem; font-weight: 600; color: var(--black); }

.project-cta { margin-top: 8px; display: flex; gap: 12px; flex-wrap: wrap; }

.project-story { padding: var(--section-pad) 0; background: var(--off-white); }
.story-content { max-width: 780px; }
.story-content p { color: var(--text-light); font-size: 0.95rem; line-height: 1.85; margin-bottom: 18px; }
.story-content h2, .story-content h3 { margin: 32px 0 16px; }
.story-content ul, .story-content ol { margin: 0 0 18px 20px; color: var(--text-light); font-size: 0.9rem; line-height: 1.8; }
.story-content ul { list-style: disc; }
.story-content ol { list-style: decimal; }
.story-content img { margin: 24px 0; }

.related { padding: var(--section-pad) 0; }

/* LIGHTBOX */
.lightbox { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.92); z-index: 9999; align-items: center; justify-content: center; }
.lightbox.open { display: flex; }
.lightbox-img { max-width: 90vw; max-height: 88vh; object-fit: contain; }
.lightbox-close { position: absolute; top: 20px; right: 28px; color: #fff; font-size: 2rem; cursor: pointer; opacity: 0.7; transition: opacity 0.2s; line-height: 1; background: none; border: none; }
.lightbox-close:hover { opacity: 1; }
.lightbox-prev, .lightbox-next { position: absolute; top: 50%; transform: translateY(-50%); color: #fff; font-size: 2.5rem; cursor: pointer; opacity: 0.6; transition: opacity 0.2s; background: none; border: none; padding: 0 20px; }
.lightbox-prev:hover, .lightbox-next:hover { opacity: 1; }
.lightbox-prev { left: 0; }
.lightbox-next { right: 0; }

@media (max-width: 1024px) {
  .page-hero { padding: 130px 0 0; }
  .project-layout { grid-template-columns: 1fr; gap: 40px; }
  .project-gallery { position: static; }
  .key-numbers-inner { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 768px) {
  .project-meta-grid { grid-template-columns: 1fr 1fr; }
  .gallery-main img { height: 280px; }
}
@media (max-width: 480px) {
  .project-meta-grid { grid-template-columns: 1fr; }
}

/* ===== TYPY KONSTRUKCÍ (PRODUKTY) ===== */
.products { padding: var(--section-pad) 0; }
.products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.product-card { overflow: hidden; background: var(--white-full); border: 1px solid var(--border); transition: all 0.3s ease; display: block; color: inherit; }
.product-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.1); border-color: var(--primary); }
.product-card-img { position: relative; overflow: hidden; height: 220px; background: var(--white); }
.product-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.product-card:hover .product-card-img img { transform: scale(1.05); }
.product-card-body { padding: 22px 20px; }
.product-card-body h3 { margin-bottom: 8px; font-size: 1rem; text-transform: uppercase; color: var(--black); }
.product-card-body p { color: var(--text-light); font-size: 0.85rem; line-height: 1.6; margin-bottom: 16px; }
.product-card-link { display: inline-flex; align-items: center; gap: 6px; font-size: 0.8rem; font-weight: 600; color: var(--primary); text-transform: uppercase; letter-spacing: 0.5px; transition: gap 0.2s; }
.product-card:hover .product-card-link { gap: 10px; }
.product-card-link::after { content: "\2192"; }

.product-detail { padding: var(--section-pad) 0; }
.product-layout { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: start; }
.product-gallery-img { overflow: hidden; position: sticky; top: 80px; }
.product-gallery-img img { width: 100%; height: 460px; object-fit: cover; }

@media (max-width: 1024px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .product-layout { grid-template-columns: 1fr; gap: 40px; }
  .product-gallery-img { position: static; }
}
@media (max-width: 600px) {
  .products-grid { grid-template-columns: 1fr; }
  .product-gallery-img img { height: 280px; }
}

/* ===== KONTAKT STRÁNKA ===== */
.contact-section { padding: var(--section-pad) 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; }

.contact-info-block { margin-bottom: 40px; }
.contact-info-block h3 { font-size: 1.1rem; text-transform: uppercase; margin-bottom: 20px; color: var(--black); }
.contact-item { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 18px; }
.contact-item-icon { width: 44px; height: 44px; background: var(--primary-light); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-item-icon svg { width: 20px; height: 20px; stroke: var(--primary); fill: none; stroke-width: 2; }
.contact-item-text { font-size: 0.9rem; color: var(--text-light); }
.contact-item-text strong { color: var(--text); display: block; margin-bottom: 2px; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.05em; }
.contact-item-text a { color: var(--primary); transition: color 0.2s; }
.contact-item-text a:hover { color: var(--primary-hover); }

.contact-divider { height: 1px; background: var(--border); margin: 32px 0; }

.billing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.billing-item { background: var(--white); padding: 16px; border: 1px solid var(--border); }
.billing-item-label { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--secondary); margin-bottom: 4px; }
.billing-item-val { font-family: var(--font-heading); font-size: 0.95rem; font-weight: 600; color: var(--black); }

.contact-form-wrap { background: var(--white); padding: 40px; border: 1px solid var(--border); }
.contact-form-wrap h3 { font-size: 1.1rem; text-transform: uppercase; margin-bottom: 8px; color: var(--black); }
.contact-form-wrap > p { color: var(--text-light); font-size: 0.88rem; margin-bottom: 28px; }

/* Světlá varianta .form-field uvnitř kontaktního formuláře — přepis tmavé varianty z homepage .contact bloku */
.contact-form-wrap .form-field label { color: var(--text-light); }
.contact-form-wrap .form-field input,
.contact-form-wrap .form-field textarea,
.contact-form-wrap .form-field select {
  background: var(--white-full);
  border: 1px solid var(--border);
  color: var(--text);
}
.contact-form-wrap .form-field input::placeholder,
.contact-form-wrap .form-field textarea::placeholder { color: var(--secondary); }
.contact-form-wrap .form-consent { color: var(--text-light); }

.bb-hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }

.form-success-msg { text-align: center; padding: 24px; background: var(--primary-light); border: 1px solid var(--primary); }
.form-success-msg svg { width: 40px; height: 40px; stroke: var(--primary); fill: none; stroke-width: 1.5; margin: 0 auto 12px; display: block; }
.form-success-msg h3 { font-size: 1.1rem; text-transform: uppercase; margin-bottom: 6px; color: var(--black); }
.form-success-msg p { color: var(--text-light); font-size: 0.9rem; }
.form-error-msg { background: #fdecea; border: 1px solid #f5c2c0; color: #9a1c1c; padding: 14px 18px; font-size: 0.85rem; margin-bottom: 20px; }

.map-section { background: var(--white); padding: 0 0 56px; }
.map-section .container { padding-left: 32px; padding-right: 32px; }
.map-section iframe { width: 100%; height: 420px; border: none; filter: grayscale(0.3); display: block; }

.offices { padding: var(--section-pad) 0; background: var(--white-full); }
.offices-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; margin-top: 40px; }
.office-card { border: 1px solid var(--border); padding: 32px; transition: all 0.3s; }
.office-card:hover { border-color: var(--primary); transform: translateY(-2px); box-shadow: 0 8px 30px rgba(0,0,0,0.08); }
.office-card h3 { font-size: 1rem; text-transform: uppercase; margin-bottom: 4px; color: var(--black); }
.office-card .office-type { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--primary); font-weight: 600; margin-bottom: 16px; }
.office-card p { color: var(--text-light); font-size: 0.88rem; line-height: 1.7; }
.office-card a { color: var(--primary); transition: color 0.2s; }
.office-card a:hover { color: var(--primary-hover); }

@media (max-width: 1024px) {
  .contact-grid { grid-template-columns: 1fr; gap: 44px; }
  .offices-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .form-row { grid-template-columns: 1fr; }
  .billing-grid { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 28px 20px; }
}

/* ===== CTA STRIP (ACF blok cta_strip) — chybějící styly ===== */
.cta-strip { padding: 56px 0; background: var(--primary); }
.cta-strip-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-strip-text { color: var(--white-full); font-family: var(--font-heading); font-size: clamp(1.15rem, 2.2vw, 1.5rem); text-transform: uppercase; font-weight: 600; letter-spacing: 0.01em; }
.cta-strip-actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.cta-strip-actions .btn-primary { background: var(--black); }
.cta-strip-actions .btn-primary:hover { background: var(--black-full); }
.cta-strip-phone { color: var(--white-full); font-weight: 600; font-size: 0.95rem; opacity: 0.85; transition: opacity 0.2s; }
.cta-strip-phone:hover { opacity: 1; text-decoration: underline; }
@media (max-width: 700px) {
  .cta-strip-inner { flex-direction: column; text-align: center; }
}

/* ===== TYPES GRID (ACF blok types_grid) — chybějící styly ===== */
.types { padding: var(--section-pad) 0; background: var(--white-full); }
.types-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 40px; }
.type-card { display: block; overflow: hidden; background: var(--white-full); border: 1px solid var(--border); transition: all 0.3s ease; color: inherit; }
.type-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.1); border-color: var(--primary); }
.type-card-img { height: 160px; overflow: hidden; }
.type-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.type-card:hover .type-card-img img { transform: scale(1.05); }
.type-card-body { padding: 16px 18px; }
.type-card-body h3 { font-size: 0.9rem; text-transform: uppercase; color: var(--black); }
@media (max-width: 1024px) { .types-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px) { .types-grid { grid-template-columns: repeat(2, 1fr); } }

/* ===== TRUST LOGOS (ACF blok trust_logos) — chybějící styly ===== */
.trust-heading { text-align: center; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.15em; color: var(--secondary); margin-bottom: 32px; }
.trust-logos { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 40px; }
.trust-logo { display: flex; align-items: center; justify-content: center; opacity: 0.6; transition: opacity 0.25s; filter: grayscale(1); }
.trust-logo:hover { opacity: 1; filter: grayscale(0); }
.trust-logo img { max-height: 48px; width: auto; }

/* ===== BLOG LISTING ===== */
.blog-section { padding: var(--section-pad) 0; }

.blog-featured { display: grid; grid-template-columns: 1.1fr 1fr; gap: 0; background: var(--white-full); border: 1px solid var(--border); margin-bottom: 56px; overflow: hidden; transition: box-shadow 0.3s; }
.blog-featured:hover { box-shadow: 0 12px 48px rgba(0,0,0,0.1); }
.blog-featured-img { overflow: hidden; min-height: 380px; }
.blog-featured-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.blog-featured:hover .blog-featured-img img { transform: scale(1.04); }
.blog-featured-body { padding: 48px 44px; display: flex; flex-direction: column; justify-content: center; }
.blog-post-cat { display: inline-block; font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em; color: var(--primary); margin-bottom: 10px; }
.blog-featured-body h2 { font-size: clamp(1.2rem, 2.2vw, 1.75rem); color: var(--black); text-transform: uppercase; margin-bottom: 16px; line-height: 1.25; }
.blog-featured-body p { color: var(--text-light); font-size: 0.9rem; line-height: 1.8; margin-bottom: 24px; flex: 1; }
.blog-post-meta { display: flex; align-items: center; gap: 16px; font-size: 0.75rem; color: var(--secondary); margin-bottom: 24px; }
.blog-post-meta span { display: flex; align-items: center; gap: 5px; }
.blog-post-meta svg { width: 13px; height: 13px; stroke: currentColor; fill: none; stroke-width: 2; }
.blog-read-more { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font); font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--primary); transition: gap 0.25s; }
.blog-read-more::after { content: "\2192"; transition: transform 0.25s; }
.blog-read-more:hover::after { transform: translateX(4px); }

.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.blog-card { background: var(--white-full); border: 1px solid var(--border); overflow: hidden; display: block; color: inherit; transition: all 0.3s ease; }
.blog-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.1); border-color: var(--primary); }
.blog-card-img { height: 220px; overflow: hidden; position: relative; }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.blog-card:hover .blog-card-img img { transform: scale(1.05); }
.blog-card-cat { position: absolute; top: 14px; left: 14px; background: var(--primary); color: #fff; font-size: 0.65rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; padding: 4px 10px; }
.blog-card-body { padding: 24px; }
.blog-card-body h3 { font-family: var(--font-heading); font-size: 1rem; text-transform: uppercase; color: var(--black); margin-bottom: 10px; line-height: 1.3; }
.blog-card-body p { color: var(--text-light); font-size: 0.84rem; line-height: 1.7; margin-bottom: 18px; }
.blog-card-footer { display: flex; align-items: center; justify-content: space-between; padding-top: 16px; border-top: 1px solid var(--border); }
.blog-card-date { font-size: 0.72rem; color: var(--secondary); }
.blog-card-link { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--primary); display: inline-flex; align-items: center; gap: 4px; }
.blog-card-link::after { content: "\2192"; }

/* ===== ARTICLE (single post) ===== */
.article-hero { padding: 140px 0 0; }
.article-hero-inner .container { max-width: 860px; position: relative; z-index: 2; padding-bottom: 60px; }
.article-hero h1 { font-size: clamp(1.6rem, 3.5vw, 2.6rem); line-height: 1.25; margin-bottom: 20px; }
.article-cat { display: inline-block; font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.15em; color: var(--primary); background: rgba(0,144,185,0.15); border: 1px solid rgba(0,144,185,0.3); padding: 4px 12px; margin: 4px 0 20px; }
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; font-size: 0.78rem; color: rgba(255,255,255,0.5); }
.article-meta span { display: flex; align-items: center; gap: 6px; }
.article-meta svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2; }

.article-wrap { padding: 72px 0 var(--section-pad); }
.article-layout { display: grid; grid-template-columns: 1fr 320px; gap: 64px; align-items: start; }

.article-content { min-width: 0; }
.article-content h2 { font-size: 1.4rem; color: var(--black); text-transform: uppercase; margin: 44px 0 16px; padding-bottom: 10px; border-bottom: 2px solid var(--border); }
.article-content h3 { font-family: var(--font-heading); font-size: 1.05rem; color: var(--black); text-transform: uppercase; margin: 28px 0 10px; }
.article-content p { color: var(--text-light); font-size: 0.92rem; line-height: 1.85; margin-bottom: 18px; }
.article-content ul, .article-content ol { margin: 0 0 20px 20px; }
.article-content ul { list-style: disc; }
.article-content ol { list-style: decimal; }
.article-content ul li, .article-content ol li { color: var(--text-light); font-size: 0.92rem; line-height: 1.8; margin-bottom: 6px; }
.article-content img { width: 100%; margin: 32px 0; border: 1px solid var(--border); }
.article-content strong { color: var(--black); font-weight: 700; }

.article-tags { margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--border); display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.article-tags-label { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--secondary); margin-right: 4px; }
.article-tag { font-size: 0.72rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; padding: 5px 12px; background: var(--white); border: 1px solid var(--border); color: var(--text-light); transition: all 0.2s; }
.article-tag:hover { border-color: var(--primary); color: var(--primary); }

.article-sidebar { position: sticky; top: 100px; }
.sidebar-widget { background: var(--white-full); border: 1px solid var(--border); padding: 28px; margin-bottom: 24px; }
.sidebar-widget h4 { font-family: var(--font-heading); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--black); margin-bottom: 18px; padding-bottom: 10px; border-bottom: 2px solid var(--primary); }
.sidebar-cta { background: var(--primary); border-color: var(--primary); }
.sidebar-cta h4 { color: var(--white-full); border-bottom-color: rgba(255,255,255,0.25); }
.sidebar-cta p { color: rgba(255,255,255,0.75); font-size: 0.84rem; line-height: 1.6; margin-bottom: 18px; }
.sidebar-cta .btn { width: 100%; justify-content: center; background: var(--white-full); color: var(--primary); font-size: 0.78rem; }
.sidebar-cta .btn:hover { background: var(--black); color: var(--white-full); }
.sidebar-post { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--border); }
.sidebar-post:last-child { border-bottom: none; }
.sidebar-post img { width: 72px; height: 54px; object-fit: cover; flex-shrink: 0; border: 1px solid var(--border); }
.sidebar-post-placeholder { width: 72px; height: 54px; flex-shrink: 0; background: var(--white); border: 1px solid var(--border); }
.sidebar-post-info h5 { font-family: var(--font-heading); font-size: 0.78rem; text-transform: uppercase; color: var(--black); line-height: 1.3; margin-bottom: 4px; }
.sidebar-post-info span { font-size: 0.68rem; color: var(--secondary); }

.related-posts { padding: var(--section-pad) 0; background: var(--white); }
.related-posts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 36px; }
.related-card { background: var(--white-full); border: 1px solid var(--border); overflow: hidden; display: block; color: inherit; transition: all 0.3s; }
.related-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.1); border-color: var(--primary); }
.related-card-img { height: 180px; overflow: hidden; }
.related-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.related-card:hover .related-card-img img { transform: scale(1.05); }
.related-card-body { padding: 20px; }
.related-card-cat { font-size: 0.65rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--primary); margin-bottom: 6px; display: block; }
.related-card-body h3 { font-size: 0.9rem; text-transform: uppercase; color: var(--black); margin-bottom: 8px; line-height: 1.3; }
.related-card-body p { color: var(--text-light); font-size: 0.8rem; line-height: 1.6; }

@media (max-width: 1024px) {
  .blog-featured { grid-template-columns: 1fr; }
  .blog-featured-img { min-height: 260px; }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .article-layout { grid-template-columns: 1fr; gap: 40px; }
  .article-sidebar { position: static; }
  .related-posts-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .blog-grid { grid-template-columns: 1fr; }
  .blog-featured-body { padding: 28px 24px; }
}
@media (max-width: 600px) {
  .related-posts-grid { grid-template-columns: 1fr; }
}

/* ===== 404 ===== */

/* ===== PROCESS — varianta pro 4 kroky ===== */
.process-timeline.cols-4 { grid-template-columns: repeat(4, 1fr); }

/* ===== MONTÁŽ — vertikální timeline ===== */
.montaz-timeline { margin-top: 52px; position: relative; }
.montaz-timeline::before { content: ''; position: absolute; left: 28px; top: 0; bottom: 0; width: 1px; background: rgba(255,255,255,0.1); }
.montaz-step { display: flex; gap: 32px; align-items: flex-start; padding: 0 0 40px 0; position: relative; }
.montaz-step:last-child { padding-bottom: 0; }
.montaz-num { width: 56px; height: 56px; background: var(--primary); display: flex; align-items: center; justify-content: center; font-family: var(--font-heading); font-size: 1.1rem; font-weight: 700; color: #fff; flex-shrink: 0; position: relative; z-index: 1; }
.montaz-body h4 { font-family: var(--font-heading); font-size: 1rem; text-transform: uppercase; color: var(--white-full); margin-bottom: 8px; }
.montaz-body p { color: rgba(255,255,255,0.55); font-size: 0.88rem; line-height: 1.7; max-width: 560px; }
.montaz-day { font-size: 0.65rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.15em; color: var(--primary); margin-bottom: 6px; }

/* ===== AUDIENCE SPLIT (Stavebník vs Developer) ===== */
.audience-split { margin-top: 44px; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.audience-split-card { display: block; padding: 32px 28px; border: 1px solid var(--border); transition: all 0.25s; }
.audience-split-card:hover { border-color: var(--primary); box-shadow: 0 10px 36px rgba(0,0,0,0.08); }
.audience-split-tag { display: inline-block; font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--primary); margin-bottom: 10px; }
.audience-split-card h3 { font-size: 1.1rem; text-transform: uppercase; margin-bottom: 10px; }
.audience-split-card p { color: var(--text-light); font-size: 0.88rem; line-height: 1.65; margin-bottom: 14px; }
.audience-split-cta { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--primary); display: inline-flex; align-items: center; gap: 6px; }
.audience-split-cta::after { content: "\2192"; }
@media (max-width: 700px) { .audience-split { grid-template-columns: 1fr; } }

/* ===== DEV CALLOUT (banner na Realizace archivu) ===== */
.dev-callout { background: var(--black); padding: 28px 0; }
.dev-callout-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.dev-callout-text { color: rgba(255,255,255,0.75); font-size: 0.95rem; }
.dev-callout-text strong { color: var(--white-full); }
