/* JS EPOXY — Design system matching mockups exactly */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&display=swap');

:root {
  --blue: #0052A5;
  --blue-dark: #003D7A;
  --blue-deep: #0B1D3A;
  --blue-light: #E8F1FB;
  --blue-mid: #4A90D9;
  --black: #111827;
  --text: #1F2937;
  --muted: #6B7280;
  --border: #E5E7EB;
  --bg-soft: #F5F7FA;
  --white: #FFFFFF;
  --footer: #0A1528;
  --radius: 8px;
  --radius-lg: 12px;
  --shadow: 0 1px 3px rgba(0,0,0,.06);
  --container: 1180px;
  --font: 'Montserrat', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
body.nav-open { overflow: hidden; }
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; border: none; background: none; }
.container { width: min(100% - 32px, var(--container)); margin-inline: auto; }
.container-wide { width: min(100% - 32px, 1280px); margin-inline: auto; }

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .04em;
  text-transform: uppercase;
  border-radius: 6px;
  transition: background .2s, color .2s, border-color .2s, transform .15s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--blue); color: var(--white); }
.btn-primary:hover { background: var(--blue-dark); }
.btn-outline {
  background: transparent;
  color: var(--blue);
  border: 1.5px solid var(--blue);
}
.btn-outline-dark {
  background: transparent;
  color: var(--black);
  border: 1.5px solid var(--black);
}
.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 1.5px solid var(--white);
}
.btn-white { background: var(--white); color: var(--blue); }
.btn-sm { padding: 8px 14px; font-size: 12px; }
.btn-block { width: 100%; }
.btn-arrow::after { content: '→'; font-weight: 400; }

/* —— Top bar (desktop) —— */
.topbar {
  display: none;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border);
  font-size: 12px;
  color: var(--muted);
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  gap: 16px;
}
.topbar-left { display: flex; gap: 20px; align-items: center; }
.topbar-left a:hover { color: var(--blue); }
.topbar-right { display: flex; gap: 18px; }
.topbar-right a { font-weight: 500; color: var(--text); }
.topbar-right a:hover { color: var(--blue); }

/* —— Header —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  min-height: 64px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.logo-mark {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
}
.logo-text {
  font-weight: 800;
  font-size: 18px;
  letter-spacing: .02em;
  line-height: 1;
}
.logo-text .js { color: var(--blue); }
.logo-text .epoxy { color: var(--black); }

.nav-desktop { display: none; }
.nav-desktop ul {
  display: flex;
  gap: 4px;
  align-items: center;
}
.nav-desktop a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: var(--black);
}
.nav-desktop a:hover { color: var(--blue); }
.nav-desktop .chevron {
  width: 10px;
  height: 10px;
  opacity: .5;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.search-btn {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: var(--black);
}
.menu-toggle {
  width: 40px;
  height: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--black);
  transition: transform .25s, opacity .25s;
}
.menu-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.menu-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.header-cta { display: none; }
.header-cta-mobile {
  padding: 8px 14px;
  font-size: 11px;
}

/* Mobile nav */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.45);
  opacity: 0;
  visibility: hidden;
  transition: .25s;
  z-index: 90;
}
.nav-overlay.is-open { opacity: 1; visibility: visible; }
.mobile-nav {
  position: fixed;
  top: 0;
  right: 0;
  width: min(320px, 88vw);
  height: 100%;
  background: var(--white);
  z-index: 110;
  padding: 80px 24px 32px;
  transform: translateX(100%);
  transition: transform .3s ease;
  overflow-y: auto;
  box-shadow: -8px 0 30px rgba(0,0,0,.1);
}
.mobile-nav.is-open { transform: translateX(0); }
.mobile-nav a {
  display: block;
  padding: 14px 0;
  font-weight: 600;
  font-size: 15px;
  border-bottom: 1px solid var(--border);
  color: var(--black);
}
.mobile-nav a:hover { color: var(--blue); }
.mobile-nav .btn { margin-top: 24px; }

/* —— Icons (inline SVG helpers) —— */
.icon {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
.icon-lg { width: 32px; height: 32px; }
.icon-sm { width: 18px; height: 18px; }
.icon-blue { color: var(--blue); }

/* ===================== HOME HERO ===================== */
.hero-home {
  position: relative;
  background: #0c1220;
  color: var(--white);
  overflow: hidden;
}
.hero-home-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
}
.hero-home-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8,18,40,.45) 0%, rgba(8,18,40,.4) 45%, rgba(8,18,40,.72) 100%);
}
.hero-home-inner {
  position: relative;
  z-index: 1;
  padding: 48px 0 36px;
}
.hero-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #5BA3F0;
  margin-bottom: 12px;
}
.hero-home h1 {
  font-size: clamp(28px, 7vw, 42px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.01em;
  text-transform: uppercase;
  margin-bottom: 14px;
  max-width: 16ch;
}
.hero-home .hero-lead {
  font-size: 14px;
  font-weight: 400;
  color: rgba(255,255,255,.88);
  max-width: 36ch;
  margin-bottom: 24px;
  line-height: 1.6;
}
.hero-ctas {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
  max-width: 280px;
}
.hero-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding-top: 8px;
  border-top: 1px solid rgba(255,255,255,.15);
}
.hero-feat {
  text-align: center;
  font-size: 10px;
  font-weight: 600;
  color: rgba(255,255,255,.9);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.hero-feat .icon { color: #fff; width: 22px; height: 22px; }

/* Desktop hero diagonal split */
@media (min-width: 900px) {
  .hero-home {
    background: var(--white);
    color: var(--black);
    min-height: 560px;
  }
  .hero-home-bg {
    left: 42%;
    right: 0;
    clip-path: polygon(14% 0, 100% 0, 100% 100%, 0% 100%);
    background-position: center;
  }
  .hero-home-bg::after {
    background: linear-gradient(90deg, rgba(255,255,255,.25) 0%, transparent 28%);
  }
  .hero-home-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    min-height: 560px;
    padding: 48px 0;
  }
  .hero-home-content { max-width: 480px; padding-right: 24px; }
  .hero-eyebrow { color: var(--blue); }
  .hero-home h1 {
    color: var(--blue);
    font-size: 44px;
    max-width: none;
  }
  .hero-home .hero-lead {
    color: var(--muted);
    max-width: 42ch;
  }
  .hero-ctas {
    flex-direction: row;
    max-width: none;
  }
  .hero-features {
    border-top: none;
    justify-content: start;
    gap: 28px;
    grid-template-columns: repeat(3, auto);
  }
  .hero-feat {
    flex-direction: row;
    text-align: left;
    color: var(--text);
    font-size: 12px;
    gap: 10px;
  }
  .hero-feat .icon { color: var(--blue); }
  .hero-home-spacer { display: none; }
}

/* ===================== BENEFITS ===================== */
.benefits {
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
}
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
.benefit {
  padding: 18px 8px;
  border: 1px solid var(--border);
  margin: -0.5px;
  text-align: center;
}
.benefit .icon { color: var(--blue); margin: 0 auto 10px; width: 28px; height: 28px; }
.benefit h3 {
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--black);
}
.benefit p {
  display: none;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.45;
}
@media (min-width: 900px) {
  .benefits { padding: 40px 0; }
  .benefits-grid {
    grid-template-columns: repeat(6, 1fr);
    gap: 8px;
    border: none;
  }
  .benefit {
    border: none;
    text-align: left;
    padding: 12px 10px;
    margin: 0;
  }
  .benefit .icon { margin: 0 0 12px; }
  .benefit p { display: block; }
}

/* ===================== SOLUTIONS ===================== */
.solutions {
  padding: 40px 0 48px;
  background: var(--bg-soft);
}
.section-title {
  font-size: clamp(22px, 4vw, 28px);
  font-weight: 800;
  color: var(--black);
  margin-bottom: 8px;
  line-height: 1.25;
}
.section-sub {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 28px;
}
.solutions-list { display: flex; flex-direction: column; gap: 12px; }
.solution-row {
  display: grid;
  grid-template-columns: 88px 1fr auto;
  gap: 14px;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px;
}
.solution-row img {
  width: 88px;
  height: 72px;
  object-fit: cover;
  border-radius: 6px;
}
.solution-row h3 { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.solution-row p { font-size: 12px; color: var(--muted); margin-bottom: 6px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.solution-row .more {
  font-size: 11px;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: .04em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.solution-chevron { color: var(--blue); }

.solutions-cards { display: none; }
@media (min-width: 900px) {
  .solutions { padding: 64px 0; background: var(--white); }
  .solutions-list { display: none; }
  .solutions-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
  }
  .solution-card { display: block; }
  .solution-card-img {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 4/3;
    margin-bottom: 16px;
  }
  .solution-card-img img { width: 100%; height: 100%; object-fit: cover; }
  .solution-card-icon {
    position: absolute;
    left: 14px;
    bottom: -18px;
    width: 44px;
    height: 44px;
    background: var(--blue);
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: white;
    box-shadow: 0 4px 12px rgba(0,82,165,.35);
  }
  .solution-card h3 { font-size: 17px; font-weight: 700; margin: 24px 0 8px; }
  .solution-card p { font-size: 13px; color: var(--muted); margin-bottom: 12px; }
  .solution-card .more {
    font-size: 12px;
    font-weight: 700;
    color: var(--blue);
    letter-spacing: .04em;
    text-transform: uppercase;
  }
}

/* ===================== ABOUT / QUALITY ===================== */
.quality {
  padding: 48px 0;
}
.quality-text h2 { margin-bottom: 14px; }
.quality-text > p {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 20px;
  max-width: 52ch;
}
.checklist {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 24px;
}
.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
  font-weight: 500;
}
.check-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--blue);
  color: white;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  margin-top: 1px;
}
.check-icon svg { width: 12px; height: 12px; }

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 28px;
}
.stat-box {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 14px;
  text-align: center;
}
.stat-box strong {
  display: block;
  font-size: 26px;
  font-weight: 800;
  color: var(--blue);
  line-height: 1.1;
  margin-bottom: 4px;
}
.stat-box span {
  font-size: 12px;
  color: var(--muted);
  font-weight: 500;
}

.quality-visual { display: none; }

@media (min-width: 900px) {
  .quality {
    padding: 72px 0;
  }
  .quality-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 48px;
    align-items: center;
  }
  .quality-visual {
    display: block;
    position: relative;
  }
  .quality-visual > img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: var(--radius-lg);
  }
  .stats-overlay {
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: -28px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
  }
  .stats-overlay .stat-box {
    background: var(--white);
    box-shadow: 0 8px 24px rgba(0,0,0,.1);
    padding: 14px 8px;
  }
  .stats-overlay .stat-box strong { font-size: 22px; }
  .stats-overlay .stat-box span { font-size: 11px; }
  .quality .stats-grid { display: none; }
  .checklist li { border: none; padding: 8px 0; }
}

/* ===================== PORTFOLIO PREVIEW ===================== */
.portfolio-preview {
  padding: 48px 0;
  background: var(--bg-soft);
}
.portfolio-preview .section-title { margin-bottom: 20px; }
.portfolio-carousel {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 8px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.portfolio-carousel::-webkit-scrollbar { display: none; }
.portfolio-thumb {
  flex: 0 0 72%;
  scroll-snap-align: start;
  aspect-ratio: 4/3;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
}
.portfolio-thumb img { width: 100%; height: 100%; object-fit: cover; }
.portfolio-nav-btn {
  display: none;
}
.portfolio-desktop { display: none; }

@media (min-width: 900px) {
  .portfolio-preview { background: var(--white); padding: 72px 0 48px; }
  .portfolio-carousel { display: none; }
  .portfolio-desktop {
    display: grid;
    grid-template-columns: repeat(4, 1fr) 200px;
    gap: 14px;
  }
  .portfolio-desktop a,
  .portfolio-desktop .portfolio-thumb {
    aspect-ratio: 5/4;
    border-radius: var(--radius);
    overflow: hidden;
    flex: none;
  }
  .portfolio-all {
    background: var(--blue);
    color: white;
    border-radius: var(--radius);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: .04em;
    text-transform: uppercase;
    padding: 20px;
    gap: 10px;
  }
  .portfolio-all:hover { background: var(--blue-dark); }
}

/* ===================== PROCESS ===================== */
.process {
  padding: 48px 0;
}
.process .section-title { margin-bottom: 28px; text-align: center; }
.process-steps {
  display: flex;
  justify-content: space-between;
  gap: 4px;
  position: relative;
  overflow-x: auto;
  padding-bottom: 8px;
}
.process-step {
  flex: 1;
  min-width: 64px;
  text-align: center;
  position: relative;
}
.process-step .step-icon {
  width: 44px;
  height: 44px;
  border: 1.5px solid var(--blue);
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin: 0 auto 10px;
  background: white;
  color: var(--blue);
  position: relative;
  z-index: 1;
}
.process-step .num {
  font-size: 10px;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 2px;
}
.process-step h4 {
  font-size: 11px;
  font-weight: 700;
  margin-bottom: 2px;
}
.process-step p {
  display: none;
  font-size: 12px;
  color: var(--muted);
}
.process-line {
  display: none;
}

@media (min-width: 900px) {
  .process { padding: 64px 0 72px; }
  .process-steps { gap: 16px; }
  .process-step .step-icon { width: 56px; height: 56px; margin-bottom: 14px; }
  .process-step h4 { font-size: 15px; }
  .process-step p { display: block; max-width: 18ch; margin: 0 auto; }
  .process-steps::before {
    content: '';
    position: absolute;
    top: 28px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: var(--blue-light);
    z-index: 0;
  }
}

/* ===================== HOME CONTACT FORM ===================== */
.home-contact {
  background: var(--blue-deep);
  color: white;
  padding: 48px 0;
}
.home-contact h2 {
  font-size: clamp(22px, 4vw, 32px);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 20px;
  max-width: 18ch;
}
.contact-perks {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 28px;
}
.contact-perk {
  text-align: center;
  font-size: 10px;
  font-weight: 600;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: .95;
}
.contact-perk .icon { color: white; width: 22px; height: 22px; }

.form-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 20px;
  color: var(--text);
}
.form-group { margin-bottom: 14px; }
.form-group label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--black);
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--white);
  color: var(--text);
  outline: none;
  transition: border-color .2s;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--blue);
}
.form-group textarea { min-height: 100px; resize: vertical; }
.form-row { display: grid; gap: 12px; }
.form-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12px;
  color: var(--muted);
  margin: 8px 0 16px;
}
.form-check input { margin-top: 2px; accent-color: var(--blue); }
.form-check a { color: var(--blue); text-decoration: underline; }

@media (min-width: 900px) {
  .home-contact { padding: 64px 0; }
  .home-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
  }
  .contact-perks {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 32px;
    margin-bottom: 0;
  }
  .contact-perk {
    flex-direction: row;
    text-align: left;
    font-size: 13px;
    gap: 12px;
  }
  .form-card { padding: 32px; }
  .form-row-2 { grid-template-columns: 1fr 1fr; }
  .home-contact .contact-perks { order: 0; }
}

/* ===================== FOOTER ===================== */
.site-footer {
  background: var(--footer);
  color: rgba(255,255,255,.75);
  padding: 48px 0 0;
  font-size: 13px;
}
.footer-brand .logo-text .epoxy { color: white; }
.footer-brand p {
  margin: 14px 0 18px;
  max-width: 28ch;
  line-height: 1.6;
  font-size: 13px;
}
.socials { display: flex; gap: 12px; }
.socials a {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: white;
  transition: background .2s;
}
.socials a:hover { background: var(--blue); border-color: var(--blue); }

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  padding-bottom: 40px;
}
.footer-col h4 {
  color: white;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 8px; }
.footer-col a:hover { color: white; }
.footer-contact li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 10px;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 16px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 12px;
}
.footer-bottom-links { display: flex; gap: 16px; flex-wrap: wrap; }
.footer-bottom a:hover { color: white; }

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 40px;
  }
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

/* Compact footer (kontakt page style) */
.footer-compact {
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 32px 0 24px;
  color: var(--text);
}
.footer-compact-top {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 20px;
}
.footer-compact-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-compact-nav a {
  color: var(--blue);
  font-weight: 600;
  font-size: 13px;
}
.footer-compact-tag {
  font-size: 12px;
  color: var(--muted);
  margin-top: 6px;
}
.footer-compact-copy {
  font-size: 12px;
  color: var(--muted);
}

/* ===================== PAGE HEROS (subpages) ===================== */
.page-hero {
  position: relative;
  min-height: 220px;
  display: flex;
  align-items: flex-end;
  color: white;
  overflow: hidden;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.page-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,25,50,.35) 0%, rgba(10,25,50,.7) 100%);
}
.page-hero-inner {
  position: relative;
  z-index: 1;
  padding: 40px 0 32px;
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
}
.page-hero h1 {
  font-size: clamp(28px, 6vw, 40px);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -.01em;
  margin-bottom: 8px;
}
.page-hero p {
  font-size: 14px;
  max-width: 40ch;
  opacity: .92;
}
.page-hero-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  opacity: .85;
  margin-bottom: 8px;
}

.page-hero-solid {
  background: var(--blue-deep);
  min-height: auto;
  align-items: center;
}
.page-hero-solid .page-hero-bg {
  opacity: .25;
}
.page-hero-solid .page-hero-bg::after { background: transparent; }
.page-hero-solid .page-hero-inner { padding: 36px 0; }

.page-hero-plain {
  background: white;
  color: var(--black);
  min-height: auto;
  padding: 32px 0 8px;
}
.page-hero-plain .page-hero-inner { padding: 0; }
.page-hero-plain h1 { text-transform: none; color: var(--black); }
.page-hero-plain p { color: var(--muted); opacity: 1; }

/* ===================== KONTAKT PAGE ===================== */
.kontakt-page { background: var(--white); }
.kontakt-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 20px 0;
}
.value-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--black);
}
.value-card .icon { color: var(--blue); }

.kontakt-form-wrap {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  margin-bottom: 20px;
}

.contact-list {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 20px;
}
.contact-list a,
.contact-list .contact-row {
  display: grid;
  grid-template-columns: 36px 1fr 20px;
  grid-template-rows: auto auto;
  column-gap: 10px;
  align-items: center;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
}
.contact-list a:last-child,
.contact-list .contact-row:last-child { border-bottom: none; }
.contact-list .icon {
  grid-column: 1;
  grid-row: 1 / 3;
  color: var(--blue);
}
.contact-list .cl-label {
  grid-column: 2;
  grid-row: 1;
  font-size: 12px;
  color: var(--muted);
}
.contact-list .cl-value {
  grid-column: 2;
  grid-row: 2;
  font-size: 14px;
  font-weight: 700;
  color: var(--blue);
}
.contact-list .chev {
  grid-column: 3;
  grid-row: 1 / 3;
  color: var(--muted);
}

.map-block {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  margin-bottom: 16px;
  background: #e8eef5;
  aspect-ratio: 16/10;
  position: relative;
  display: grid;
  place-items: center;
}
.map-block iframe { width: 100%; height: 100%; border: 0; }
.map-pin-label {
  position: absolute;
  text-align: center;
  pointer-events: none;
}
.map-pin-label strong {
  display: block;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: .08em;
  margin-top: 4px;
}

.social-bar {
  display: flex;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 32px;
}
.social-bar a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 8px;
  font-size: 12px;
  font-weight: 600;
  border-right: 1px solid var(--border);
  color: var(--text);
}
.social-bar a:last-child { border-right: none; }
.social-bar a:hover { background: var(--bg-soft); color: var(--blue); }

@media (min-width: 900px) {
  .kontakt-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 40px 0 64px;
    align-items: start;
  }
  .kontakt-values { margin-bottom: 8px; }
}

/* ===================== PRODUKTY PAGE ===================== */
.product-tabs {
  display: flex;
  gap: 0;
  overflow-x: auto;
  border-bottom: 1px solid var(--border);
  scrollbar-width: none;
  background: white;
  position: sticky;
  top: 64px;
  z-index: 40;
}
.product-tabs::-webkit-scrollbar { display: none; }
.product-tabs button {
  flex: 0 0 auto;
  padding: 14px 16px;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  border-right: 1px solid var(--border);
  position: relative;
  white-space: nowrap;
}
.product-tabs button.is-active {
  color: white;
  background: var(--blue);
}
.product-tabs button.is-active::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 3px;
  background: var(--blue-mid);
}

.product-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 20px 0 24px;
}
.product-card {
  display: grid;
  grid-template-columns: 88px 1fr;
  grid-template-areas:
    "img head"
    "img specs"
    "actions actions";
  gap: 8px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px;
  background: white;
}
.product-card img {
  grid-area: img;
  width: 100px;
  height: 110px;
  object-fit: contain;
  background: #f7f8fa;
  border-radius: 6px;
  align-self: start;
}
.product-card .product-main { grid-area: head; }
.product-card h3 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 4px;
  padding-right: 90px;
  position: relative;
}
.product-card .desc { font-size: 12px; color: var(--muted); margin-bottom: 0; line-height: 1.4; }
.product-specs {
  grid-area: specs;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.product-specs span {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--muted);
}
.product-specs .icon { color: var(--blue); width: 14px; height: 14px; }
.product-price {
  position: absolute;
  top: 0;
  right: 0;
  text-align: right;
}
.product-card h3 .product-price,
.product-main { position: relative; }
.product-main .product-price { position: absolute; top: 0; right: 0; }
.product-price small { display: block; font-size: 10px; color: var(--muted); }
.product-price strong { font-size: 13px; color: var(--blue); font-weight: 700; }
.product-actions {
  grid-area: actions;
  display: flex;
  gap: 8px;
  margin-top: 4px;
}
.product-actions .btn { flex: 1; padding: 8px 10px; }

.accessories-banner {
  display: grid;
  grid-template-columns: 1fr 120px;
  gap: 12px;
  align-items: center;
  background: var(--blue-light);
  border-radius: var(--radius-lg);
  padding: 18px;
  margin-bottom: 24px;
}
.accessories-banner .eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 4px;
}
.accessories-banner h3 { font-size: 18px; font-weight: 800; margin-bottom: 6px; }
.accessories-banner p { font-size: 12px; color: var(--muted); margin-bottom: 8px; }
.accessories-banner .link {
  font-size: 13px;
  font-weight: 700;
  color: var(--blue);
}
.accessories-banner img {
  width: 100%;
  height: 100px;
  object-fit: cover;
  border-radius: 6px;
}

.sticky-cta {
  position: sticky;
  bottom: 0;
  z-index: 50;
  background: var(--blue);
  color: white;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 -4px 20px rgba(0,0,0,.15);
}
.sticky-cta .text { flex: 1; }
.sticky-cta .text strong { display: block; font-size: 13px; }
.sticky-cta .text span { font-size: 11px; opacity: .85; }
.sticky-cta .btn-white { padding: 10px 16px; font-size: 12px; }

@media (min-width: 900px) {
  .product-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    max-width: 860px;
    margin-inline: auto;
  }
  .product-card {
    grid-template-columns: 120px 1fr auto;
    grid-template-areas:
      "img head price"
      "img specs actions";
    align-items: center;
  }
  .product-card img { width: 120px; height: 120px; }
  .product-card h3 { padding-right: 0; }
  .product-main .product-price { display: none; }
  .product-card > .product-price-desk { display: block; grid-area: price; position: static; }
  .product-actions { flex-direction: column; min-width: 120px; margin-top: 0; }
  .accessories-banner { grid-template-columns: 1fr 220px; padding: 28px; }
}

/* ===================== NÁTĚRY PAGE ===================== */
.natery-intro { padding: 28px 0 8px; }
.section-block { padding: 28px 0; }
.section-block h2 {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 18px;
  color: var(--black);
}

.vyuziti-list { display: flex; flex-direction: column; }
.vyuziti-item {
  display: grid;
  grid-template-columns: 40px 1fr 96px 24px;
  gap: 12px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.vyuziti-item:first-child { border-top: 1px solid var(--border); }
.vyuziti-item .icon { color: var(--blue); width: 28px; height: 28px; }
.vyuziti-item h3 { font-size: 15px; font-weight: 700; margin-bottom: 2px; }
.vyuziti-item p { font-size: 12px; color: var(--muted); }
.vyuziti-item img {
  width: 96px;
  height: 64px;
  object-fit: cover;
  border-radius: 6px;
}
.vyuziti-item .chev { color: var(--blue); }

.tech-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.tech-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.tech-item h3 { font-size: 14px; font-weight: 700; }
.tech-item p { font-size: 12px; color: var(--muted); }

.colors-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.color-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.color-swatch { height: 80px; }
.color-card figcaption {
  padding: 10px 12px;
  font-size: 12px;
  font-weight: 700;
}
.color-card figcaption small {
  display: block;
  font-weight: 500;
  color: var(--muted);
  margin-top: 2px;
}

.vs-compare {
  display: grid;
  gap: 16px;
  position: relative;
  margin-top: 8px;
}
.vs-card {
  background: var(--blue-light);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
}
.vs-card h3 {
  font-size: 18px;
  font-weight: 800;
  color: var(--blue);
  margin-bottom: 8px;
  text-transform: uppercase;
}
.vs-card > p { font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.vs-card ul { display: flex; flex-direction: column; gap: 8px; }
.vs-card li {
  display: flex;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  align-items: flex-start;
}
.vs-badge {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--blue);
  color: white;
  font-weight: 800;
  font-size: 13px;
  display: grid;
  place-items: center;
  margin: -8px auto;
  position: relative;
  z-index: 2;
  box-shadow: 0 4px 12px rgba(0,82,165,.3);
}

.consult-banner {
  background: var(--blue-light);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
  margin: 8px 0;
}
.consult-banner h3 { font-size: 16px; font-weight: 700; }
.consult-banner p { font-size: 13px; color: var(--muted); }

.related-list { display: flex; flex-direction: column; gap: 10px; }
.related-item {
  display: grid;
  grid-template-columns: 72px 1fr 24px;
  gap: 12px;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 10px;
}
.related-item img {
  width: 72px;
  height: 56px;
  object-fit: cover;
  border-radius: 6px;
}
.related-item h3 { font-size: 13px; font-weight: 700; text-transform: uppercase; margin-bottom: 2px; }
.related-item p { font-size: 12px; color: var(--muted); }
.related-item .chev { color: var(--blue); }

@media (min-width: 900px) {
  .vyuziti-item { grid-template-columns: 48px 1fr 160px 28px; padding: 20px 0; }
  .tech-grid { grid-template-columns: repeat(4, 1fr); gap: 24px; }
  .colors-grid { grid-template-columns: repeat(4, 1fr); }
  .vs-compare {
    grid-template-columns: 1fr 1fr;
    gap: 0;
  }
  .vs-badge {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
  }
  .vs-card:first-child {
    border-radius: var(--radius-lg) 0 0 var(--radius-lg);
    padding-right: 40px;
  }
  .vs-card:last-child {
    border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
    padding-left: 40px;
  }
  .consult-banner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
  .related-list { grid-template-columns: repeat(3, 1fr); display: grid; }
}

/* ===================== REFERENCE PAGE ===================== */
.filter-pills {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 8px 0 24px;
  scrollbar-width: none;
}
.filter-pills::-webkit-scrollbar { display: none; }
.filter-pills button {
  flex: 0 0 auto;
  padding: 8px 16px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  background: white;
}
.filter-pills button.is-active {
  background: var(--blue);
  color: white;
  border-color: var(--blue);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 24px;
}
.portfolio-item {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.portfolio-item img { width: 100%; height: 100%; object-fit: cover; }
.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.vyuziti-item img,
.subcat-card img,
.related-item img,
.solution-row img,
.solution-card-img img,
.gallery-2x2 img,
.process-photo img {
  object-fit: cover;
}
.portfolio-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(0,0,0,.65) 100%);
}
.portfolio-item figcaption {
  position: absolute;
  left: 12px;
  bottom: 12px;
  z-index: 1;
  color: white;
  font-size: 12px;
  font-weight: 600;
}

.load-more {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: var(--blue);
  font-weight: 700;
  font-size: 14px;
  padding: 12px;
  margin-bottom: 32px;
  width: 100%;
}

.ref-cta {
  background: var(--blue);
  color: white;
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 40px;
}
.ref-cta h2 { font-size: 22px; font-weight: 800; }
.ref-cta p { font-size: 14px; opacity: .9; }
.ref-cta .btn-white { align-self: stretch; text-align: center; }

@media (min-width: 700px) {
  .portfolio-grid { gap: 16px; }
  .ref-cta {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
  .ref-cta .btn-white { align-self: auto; }
}

/* ===================== PODLAHY PAGE ===================== */
.podlahy-intro {
  padding: 24px 0;
  font-size: 14px;
  color: var(--text);
  line-height: 1.65;
}

.subcat-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}
.subcat-card {
  display: grid;
  grid-template-columns: 80px 1fr 24px;
  gap: 12px;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px;
  background: var(--white);
}
.subcat-card img {
  width: 80px;
  height: 64px;
  object-fit: cover;
  border-radius: 6px;
}
.subcat-card h3 { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.subcat-card p { font-size: 12px; color: var(--muted); }
.subcat-card .chev { color: var(--blue); }

.process-photos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  align-items: start;
  margin: 28px 0;
}
.process-photo {
  text-align: center;
  position: relative;
}
.process-photo img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 8px;
}
.process-photo span {
  font-size: 11px;
  font-weight: 600;
  display: block;
  line-height: 1.3;
}
.process-photo:not(:last-child)::after {
  content: '→';
  position: absolute;
  right: -10px;
  top: 30%;
  color: var(--blue);
  font-weight: 700;
  font-size: 14px;
  z-index: 1;
}

.gallery-2x2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 24px;
}
.gallery-2x2 img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius);
}

.page-back {
  display: none;
  align-items: center;
  color: var(--black);
  margin-right: 4px;
}
.page-crumb {
  display: none;
  font-size: 12px;
  color: var(--muted);
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 899px) {
  .header-inner.has-back .page-back { display: grid; place-items: center; width: 28px; }
  .header-inner.has-back .page-crumb { display: block; }
}

/* Desktop header */
@media (min-width: 900px) {
  .topbar { display: block; }
  .nav-desktop { display: block; flex: 1; }
  .nav-desktop ul { justify-content: center; }
  .menu-toggle { display: none; }
  .header-cta { display: inline-flex; }
  .header-cta-mobile { display: none; }
  .search-btn { display: grid; }
  .header-inner { padding: 10px 0; }
}

@media (max-width: 899px) {
  .search-btn.desktop-only { display: none; }
}

/* Utility */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); border: 0;
}
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0; }
.mt-24 { margin-top: 24px; }
.pb-80 { padding-bottom: 80px; }
