/* =========================================================
   V-GROUP — Serious Professional Website
   Navy + Brand Blue (#4C7FD0) · Clear typography · Bento layout
   Static surfaces · No playful effects · Conversion focused
   ========================================================= */

:root {
  /* Surface */
  --c-bg:          #FFFFFF;
  --c-bg-soft:     #F4F7FB;
  --c-bg-card:     #FFFFFF;
  --c-bg-section:  #EDF2F8;

  /* Brand: deep navy */
  --c-navy:        #0B2545;
  --c-navy-2:      #13315C;
  --c-navy-3:      #1B4080;
  --c-blue:        #1B4D89;

  /* Accent: V-Group brand blue */
  --c-brand:       #4C7FD0;
  --c-brand-2:     #6F9CDD;
  --c-brand-deep:  #3A68B3;
  --c-brand-soft:  rgba(76, 127, 208, .12);
  --c-brand-glow:  rgba(76, 127, 208, .35);

  /* Legacy tokens kept as aliases → brand (for backwards-compat with class names) */
  --c-amber:       var(--c-brand);
  --c-amber-2:     var(--c-brand-2);
  --c-amber-deep:  var(--c-brand-deep);
  --c-amber-soft:  var(--c-brand-soft);
  --c-amber-glow:  var(--c-brand-glow);
  --c-cyan:        var(--c-brand);
  --c-cyan-2:      var(--c-brand-2);
  --c-cyan-soft:   var(--c-brand-soft);
  --c-cyan-glow:   var(--c-brand-glow);

  /* Secondary accent — Mapy.cz red used for rating pin only */
  --c-mapy:        #E8252B;
  --c-mag:         #4C7FD0;
  --c-cta:         var(--c-brand);
  --c-cta-hover:   var(--c-brand-deep);
  --c-success:     #2BA84A;

  /* Ink */
  --c-ink:         #06112A;
  --c-ink-2:       #0F1F3C;
  --c-text:        #2A3651;
  --c-muted:       #65718A;
  --c-line:        #E3E8F1;
  --c-line-strong: #D2DAE7;

  /* Layout */
  --container:     1280px;
  --container-tight: 1080px;
  --radius-sm:     6px;
  --radius:        10px;
  --radius-lg:     14px;
  --radius-xl:     18px;

  /* Elevation */
  --shadow-xs:     0 1px 2px rgba(6,17,42,.04), 0 1px 1px rgba(6,17,42,.02);
  --shadow-sm:     0 4px 14px rgba(6,17,42,.05);
  --shadow:        0 14px 40px -8px rgba(6,17,42,.10);
  --shadow-lg:     0 30px 80px -20px rgba(6,17,42,.20);
  --shadow-glow:   0 0 0 1px rgba(76, 127, 208,.25), 0 18px 50px -16px rgba(76, 127, 208,.45);

  /* Typography */
  --font-sans:     'Inter Tight', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display:  'Bricolage Grotesque', 'Inter Tight', 'Inter', sans-serif;
  --font-mono:     'JetBrains Mono', ui-monospace, SFMono-Regular, monospace;

  /* Motion */
  --ease:          cubic-bezier(.22, 1, .36, 1);
  --ease-out:      cubic-bezier(.16, 1, .3, 1);
  --t-fast:        .15s;
  --t:             .28s;
  --t-slow:        .55s;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'cv11', 'ss01', 'ss03';
  overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--c-ink); text-decoration: none; transition: color var(--t) var(--ease); }
a:hover { color: var(--c-blue); }
button { font-family: inherit; cursor: pointer; border: 0; background: none; }
ul { padding: 0; margin: 0; list-style: none; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--c-ink);
  line-height: 1.05;
  margin: 0 0 .55em;
  font-weight: 600;
  letter-spacing: -0.03em;
  font-optical-sizing: auto;
}
h1 {
  font-size: clamp(2.6rem, 5.2vw + .4rem, 5.2rem);
  letter-spacing: -0.045em;
  font-weight: 600;
}
h2 {
  font-size: clamp(2rem, 2.4vw + 1.2rem, 3.4rem);
  letter-spacing: -0.035em;
  line-height: 1.08;
}
h3 {
  font-size: clamp(1.2rem, .6vw + 1rem, 1.55rem);
  letter-spacing: -0.02em;
  line-height: 1.2;
}
h4 { font-size: 1.05rem; letter-spacing: -0.015em; }
p  { margin: 0 0 1em; }
.lead {
  font-size: clamp(1.05rem, .4vw + 1rem, 1.22rem);
  color: var(--c-muted);
  line-height: 1.55;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--c-brand);
  padding: 6px 14px 6px 12px;
  background: var(--c-brand-soft);
  border-radius: 4px;
  margin-bottom: 1.2rem;
}
.eyebrow::before {
  content: '';
  display: inline-block;
  width: 4px; height: 4px;
  background: currentColor;
  border-radius: 50%;
}

/* ---------- Layout ---------- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}
.section { padding: clamp(72px, 9vw, 140px) 0; }
.section--soft { background: var(--c-bg-soft); }
.section--dark { background: var(--c-navy); color: #DDE6F2; }
.section--dark h1, .section--dark h2, .section--dark h3 { color: #fff; }
.section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 70px;
}
.section-head p { color: var(--c-muted); font-size: 1.1rem; margin: 0; }

.grid { display: grid; gap: 32px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- Top Bar (info bar) ---------- */
.topbar {
  background: var(--c-navy);
  color: #C8D4E3;
  font-size: .85rem;
  padding: 8px 0;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.topbar a { color: #fff; font-weight: 500; }
.topbar a:hover { color: var(--c-cyan); }
.topbar-info { display: flex; gap: 24px; flex-wrap: wrap; }
.topbar-info span { display: inline-flex; align-items: center; gap: 6px; }

/* ---------- Header (dark glass) ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(6, 17, 42, .85);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(255,255,255,.06);
  transition: background var(--t) var(--ease), border-color var(--t) var(--ease);
}
.header.is-scrolled {
  background: rgba(6, 17, 42, .92);
  border-bottom-color: rgba(76, 127, 208, .12);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 24px;
}
@media (min-width: 721px) {
  .header-inner { padding: 16px 36px; }
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  color: #fff;
  letter-spacing: -.03em;
}
.logo img { height: 38px; width: auto; display: block; }
.logo > span:not(.logo-sub) { display: none; }
.logo .logo-sub { display: none; }

/* Nav */
.nav { display: flex; align-items: center; gap: 12px; }
.nav-list { display: flex; align-items: center; gap: 2px; }
.nav-item { position: relative; }
.nav-link {
  display: inline-block;
  padding: 10px 14px;
  color: rgba(255,255,255,.85);
  font-weight: 500;
  font-size: .94rem;
  letter-spacing: -.01em;
  border-radius: 10px;
  transition: background var(--t) var(--ease), color var(--t) var(--ease);
  position: relative;
}
.nav-link.is-active {
  color: #fff;
}
.nav-link.is-active::after {
  content: '';
  position: absolute;
  left: 14px; right: 14px;
  bottom: 4px;
  height: 2px;
  background: var(--c-brand-2);
}
.nav-link:hover { background: rgba(255,255,255,.06); color: #fff; }
.nav-item.has-sub > .nav-link::after {
  content: '';
  display: inline-block;
  width: 5px; height: 5px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translate(-2px, -2px);
  margin-left: 8px;
  vertical-align: middle;
  opacity: .55;
}
.subnav {
  position: absolute;
  top: calc(100% + 10px);
  left: -8px;
  min-width: 240px;
  background: rgba(255,255,255,.98);
  backdrop-filter: blur(20px);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all var(--t) var(--ease);
}
.nav-item.has-sub:hover .subnav,
.nav-item.has-sub:focus-within .subnav { opacity: 1; visibility: visible; transform: translateY(0); }
.subnav a {
  display: block;
  padding: 11px 14px;
  color: var(--c-text);
  font-size: .92rem;
  font-weight: 500;
  border-radius: 10px;
  transition: all var(--t) var(--ease);
}
.subnav a:hover { background: var(--c-bg-soft); color: var(--c-brand); }

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  width: 44px; height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.06);
  position: relative;
}
.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  content: '';
  position: absolute;
  display: block;
  width: 20px; height: 1.8px;
  background: #fff;
  border-radius: 2px;
  transition: all var(--t) var(--ease);
}
.menu-toggle span { top: 50%; left: 50%; transform: translate(-50%,-50%); }
.menu-toggle span::before { top: -6px; left: 0; }
.menu-toggle span::after  { top: 6px;  left: 0; }
body.menu-open .menu-toggle span { background: transparent; }
body.menu-open .menu-toggle span::before { transform: rotate(45deg) translate(4px,4px); }
body.menu-open .menu-toggle span::after  { transform: rotate(-45deg) translate(4px,-4px); }

/* ---------- Buttons (no playful hover, no magnetic) ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  font-weight: 600;
  font-size: .98rem;
  border-radius: 8px;
  text-decoration: none;
  transition: background var(--t) var(--ease), color var(--t) var(--ease), border-color var(--t) var(--ease);
  white-space: nowrap;
  border: 1.5px solid transparent;
  letter-spacing: -.005em;
  cursor: pointer;
}
.btn--primary {
  background: var(--c-brand);
  color: #fff;
  border-color: var(--c-brand);
}
.btn--primary:hover {
  background: var(--c-brand-deep);
  border-color: var(--c-brand-deep);
  color: #fff;
}
.btn--dark {
  background: var(--c-navy);
  color: #fff;
}
.btn--dark:hover { background: var(--c-navy-2); color: #fff; }
.btn--outline {
  background: transparent;
  border-color: var(--c-line-strong);
  color: var(--c-ink);
}
.btn--outline:hover { border-color: var(--c-ink); color: var(--c-ink); }
.btn--ghost {
  background: rgba(255,255,255,.08);
  color: #fff;
  border-color: rgba(255,255,255,.16);
  backdrop-filter: blur(10px);
}
.btn--ghost:hover { background: rgba(255,255,255,.14); color: #fff; border-color: var(--c-brand-2); }
.btn--block { width: 100%; }
.btn--sm { padding: 10px 20px; font-size: .9rem; }
.btn .arrow { display: inline-block; }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--c-navy);
  color: #fff;
  padding: clamp(80px, 11vw, 180px) 0 clamp(90px, 12vw, 200px);
  isolation: isolate;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 60% at 80% 20%, rgba(76, 127, 208,.22), transparent 60%),
    radial-gradient(ellipse 50% 50% at 10% 80%, rgba(76, 127, 208,.12), transparent 60%);
  z-index: -1;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000 30%, transparent 75%);
  z-index: -1;
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 60px;
  align-items: center;
}
.hero h1 { color: #fff; margin-bottom: .35em; }
.hero h1 .accent {
  color: var(--c-brand-2);
}
.hero p.lead {
  color: rgba(255,255,255,.82);
  font-size: clamp(1.1rem, .4vw + 1rem, 1.28rem);
  margin-bottom: 2.2rem;
  max-width: 560px;
  line-height: 1.6;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 8px 14px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 100px;
  font-size: .82rem;
  font-weight: 500;
  color: rgba(255,255,255,.92);
  margin-bottom: 1.6rem;
}
.hero-eyebrow .dot {
  width: 8px; height: 8px;
  background: var(--c-success);
  border-radius: 50%;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 44px; }
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  max-width: 580px;
  position: relative;
}
.hero-stats::before {
  content: '';
  position: absolute;
  inset: -20px;
  background: radial-gradient(ellipse at center, rgba(76, 127, 208, .25), transparent 70%);
  z-index: -1;
  pointer-events: none;
  filter: blur(20px);
}
.hero-stat {
  position: relative;
  padding: 20px 18px;
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.03));
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 12px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  text-align: left;
  transition: border-color var(--t) var(--ease), background var(--t) var(--ease);
}
.hero-stat:hover {
  border-color: rgba(76, 127, 208, .55);
  background: linear-gradient(180deg, rgba(76,127,208,.18), rgba(76,127,208,.06));
}
.hero-stat .num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 1vw + 1.6rem, 2.8rem);
  font-weight: 700;
  color: #fff;
  display: block;
  line-height: 1;
  letter-spacing: -.035em;
  margin-bottom: 6px;
  text-shadow: 0 2px 24px rgba(76, 127, 208, .35);
}
/* Highlight non-digit chars (+, %) in brand blue */
.hero-stat .num::first-letter { /* fallback for browsers that don't bg-clip */ }
.hero-stat .num .plus,
.hero-stat .num .pct { color: var(--c-brand-2); font-weight: 700; }
.hero-stat .lbl {
  font-size: .82rem;
  color: rgba(255,255,255,.78);
  letter-spacing: .01em;
  display: block;
  line-height: 1.3;
}

/* Hero form (solid white card) */
.hero-form {
  background: #fff;
  color: var(--c-text);
  padding: 32px;
  border-radius: 12px;
  box-shadow: 0 24px 48px -16px rgba(11,37,69,.35);
  border: 1px solid rgba(255,255,255,.1);
}
.hero-form h3 {
  font-size: 1.4rem;
  margin-bottom: .25em;
  color: var(--c-ink);
}
.hero-form .sub {
  color: var(--c-muted);
  font-size: .92rem;
  margin-bottom: 1.6rem;
}

/* ---------- Forms ---------- */
.field { margin-bottom: 14px; }
.field label {
  display: block;
  font-size: .82rem;
  color: var(--c-ink-2);
  font-weight: 500;
  margin-bottom: 6px;
  letter-spacing: -.005em;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 16px;
  font-family: inherit;
  font-size: .95rem;
  color: var(--c-ink);
  background: #fff;
  border: 1.5px solid var(--c-line);
  border-radius: 12px;
  transition: all var(--t) var(--ease);
}
.field input::placeholder,
.field textarea::placeholder { color: #B5BFD0; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 0;
  border-color: var(--c-cyan);
  background: #fff;
  box-shadow: 0 0 0 4px var(--c-cyan-soft);
}
.field textarea { min-height: 110px; resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-note {
  font-size: .8rem;
  color: var(--c-muted);
  margin: 12px 0 0;
  text-align: center;
}

/* ---------- Trust bar (5 highlight cards) ---------- */
.trustbar {
  background: #fff;
  border-top: 1px solid var(--c-line);
  border-bottom: 1px solid var(--c-line);
  padding: clamp(40px, 5vw, 70px) 0;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.trust-card {
  padding: 24px 20px;
  background: var(--c-bg-soft);
  border: 1px solid var(--c-line);
  border-radius: 10px;
  transition: border-color var(--t) var(--ease), background var(--t) var(--ease);
}
.trust-card:hover {
  border-color: var(--c-brand);
  background: #fff;
}
.trust-ic {
  width: 44px; height: 44px;
  border-radius: 8px;
  background: var(--c-brand-soft);
  color: var(--c-brand);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.trust-num {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, .7vw + 1rem, 1.55rem);
  font-weight: 700;
  color: var(--c-ink);
  letter-spacing: -.025em;
  line-height: 1.1;
  margin-bottom: 6px;
}
.trust-lbl {
  font-size: .88rem;
  color: var(--c-muted);
  line-height: 1.45;
}
/* legacy classes kept for any other page using old markup */
.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--c-text);
  font-size: .96rem;
  font-weight: 500;
  padding: 6px 24px;
  position: relative;
}
.trust-item--hidden-decoration::after {
  content: '';
  display: inline-block;
  width: 5px; height: 5px;
  background: var(--c-brand);
  border-radius: 50%;
  display: none;
}
.trust-item .ic {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: var(--c-brand-soft);
  color: var(--c-brand);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

/* ---------- Product grid (clickable cards) ---------- */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
}
.cat-card {
  position: relative;
  background: var(--c-bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--c-line);
  transition: border-color var(--t) var(--ease), box-shadow var(--t) var(--ease);
  display: flex;
  flex-direction: column;
  grid-column: span 2;
  min-height: 460px;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
/* Bento layout: hero card spans 4, secondary cards span 2 (row 1)
   Then 4 equal cards span 3 each across 2 rows below */
.cat-card:nth-child(1) { grid-column: span 4; }
.cat-card:nth-child(2) { grid-column: span 2; }
.cat-card:nth-child(3) { grid-column: span 2; }
.cat-card:nth-child(4) { grid-column: span 4; }
.cat-card:nth-child(5) { grid-column: span 3; }
.cat-card:nth-child(6) { grid-column: span 3; }
.cat-card:nth-child(7) { grid-column: span 6; }

.cat-card:hover {
  border-color: var(--c-brand);
}

.cat-card-img {
  position: relative;
  flex: 0 0 auto;
  height: 280px;
  padding: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #F7FAFC 0%, #FFFFFF 100%);
}
.cat-card:nth-child(1) .cat-card-img,
.cat-card:nth-child(4) .cat-card-img,
.cat-card:nth-child(7) .cat-card-img { height: 320px; }
.cat-card-img img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}
.cat-card-badge {
  position: absolute;
  top: 16px; left: 16px;
  padding: 5px 11px;
  background: var(--c-brand);
  color: #fff;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .1em;
  border-radius: 4px;
  text-transform: uppercase;
  z-index: 2;
}
.cat-card-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
  background: var(--c-bg-card);
  position: relative;
  z-index: 2;
}
.cat-card:nth-child(1) .cat-card-body,
.cat-card:nth-child(4) .cat-card-body,
.cat-card:nth-child(7) .cat-card-body { padding: 32px; }
.cat-card h3 {
  margin-bottom: 10px;
  font-size: clamp(1.2rem, .6vw + 1.05rem, 1.55rem);
}
.cat-card:nth-child(1) h3,
.cat-card:nth-child(4) h3,
.cat-card:nth-child(7) h3 { font-size: clamp(1.5rem, 1vw + 1rem, 2rem); }
.cat-card p {
  color: var(--c-muted);
  font-size: .95rem;
  flex: 1;
  margin-bottom: 18px;
  line-height: 1.55;
}
.cat-card-foot {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--c-line);
  font-weight: 600;
  font-size: .95rem;
  color: var(--c-brand);
  transition: color var(--t) var(--ease), gap var(--t) var(--ease);
}
.cat-card:hover .cat-card-foot { color: var(--c-brand-deep); gap: 12px; }
.cat-arrow {
  display: inline-block;
  transition: transform var(--t) var(--ease);
}
.cat-card:hover .cat-arrow { transform: translateX(2px); }

/* ---------- Inline CTA banner (between sections, conversion booster) ---------- */
.cta-inline-section {
  padding: clamp(30px, 4vw, 50px) 0;
  background: #fff;
}
.cta-inline-section--dark {
  background: var(--c-bg-soft);
}
.cta-inline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  padding: 28px 32px;
  background: linear-gradient(135deg, #fff 0%, var(--c-brand-soft) 100%);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  flex-wrap: wrap;
}
.cta-inline--dark {
  background: var(--c-navy);
  border-color: var(--c-navy);
  color: #fff;
}
.cta-inline--dark .cta-inline-text h3 { color: #fff; }
.cta-inline--dark .cta-inline-text p { color: rgba(255,255,255,.72); }
.cta-inline-text { flex: 1 1 380px; }
.cta-inline-text h3 {
  margin: 0 0 6px;
  font-size: clamp(1.15rem, .6vw + 1rem, 1.45rem);
  color: var(--c-ink);
  letter-spacing: -.02em;
}
.cta-inline-text p {
  margin: 0;
  color: var(--c-muted);
  font-size: .95rem;
  line-height: 1.55;
}
.cta-inline-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* ---------- Cat-group — visually separated category groups (01 Okna, 02 Dveře, 03 Doplňky) ---------- */
.cat-group { margin-top: 64px; }
.cat-group:first-of-type { margin-top: 0; }
.cat-group-head {
  display: flex;
  align-items: baseline;
  gap: 22px;
  margin-bottom: 32px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--c-line);
}
.cat-group-head .num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 2vw + 1rem, 2.6rem);
  font-weight: 700;
  color: var(--c-brand);
  line-height: 1;
  letter-spacing: -0.03em;
}
.cat-group-head h3 {
  margin: 0;
  font-size: clamp(1.4rem, 1vw + 1rem, 1.8rem);
  color: var(--c-ink);
}
.cat-group-head p {
  margin: 0 0 0 auto;
  color: var(--c-muted);
  font-size: .95rem;
  max-width: 420px;
  text-align: right;
}
.cat-grid--2 {
  grid-template-columns: repeat(2, 1fr) !important;
  max-width: 880px;
}
.cat-grid--3 { grid-template-columns: repeat(3, 1fr) !important; }
/* Reset bento spans when used inside .cat-group */
.cat-group .cat-card { grid-column: span 1 !important; }

/* ---------- Mapy.cz rating badge ---------- */
.mapy-rating {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 16px 6px 8px;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: 100px;
  box-shadow: var(--shadow-xs);
  margin-right: 10px;
  vertical-align: middle;
  font-weight: 700;
  font-family: var(--font-display);
  letter-spacing: -.02em;
}
.mapy-pin {
  flex-shrink: 0;
  filter: drop-shadow(0 1px 3px rgba(232,37,43,.35));
}
.mapy-link {
  color: var(--c-ink);
  text-decoration: underline;
  text-decoration-color: var(--c-mapy);
  text-underline-offset: 5px;
  text-decoration-thickness: 2px;
  transition: color var(--t) var(--ease);
}
.mapy-link:hover { color: var(--c-mapy); }

/* ---------- Legal / Právní stránky ---------- */
.legal-content {
  max-width: 820px;
  margin: 0 auto;
  font-size: 1rem;
  line-height: 1.78;
  color: var(--c-text);
}
.legal-content h2 {
  margin-top: 52px;
  margin-bottom: 18px;
  font-size: clamp(1.4rem, 1vw + 1rem, 1.7rem);
  color: var(--c-ink);
  scroll-margin-top: 100px;
  letter-spacing: -.02em;
}
.legal-content h2:first-of-type { margin-top: 0; }
.legal-content h3 {
  margin-top: 30px;
  margin-bottom: 12px;
  font-size: 1.15rem;
  color: var(--c-ink);
  letter-spacing: -.015em;
}
.legal-content p { margin-bottom: 16px; }
.legal-content ul, .legal-content ol {
  margin: 12px 0 20px 24px;
  padding-left: 8px;
}
.legal-content li { margin-bottom: 6px; }
.legal-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 28px;
  font-size: .95rem;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  overflow: hidden;
}
.legal-content th, .legal-content td {
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid var(--c-line);
  vertical-align: top;
}
.legal-content tr:last-child td { border-bottom: 0; }
.legal-content th {
  background: var(--c-bg-soft);
  color: var(--c-ink);
  font-weight: 600;
  letter-spacing: -.01em;
}
.legal-content strong { color: var(--c-ink); }
.legal-content a {
  color: var(--c-ink);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--c-amber);
}
.legal-content a:hover { color: var(--c-amber); }
.legal-meta {
  margin-bottom: 36px;
  padding: 16px 20px;
  background: var(--c-bg-soft);
  border-left: 3px solid var(--c-amber);
  border-radius: 10px;
  font-size: .92rem;
  color: var(--c-muted);
}
.legal-meta strong { color: var(--c-ink); }
.legal-toc {
  margin: 28px 0 44px;
  padding: 22px 28px;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-xs);
}
.legal-toc h3 {
  margin: 0 0 12px;
  font-size: .78rem;
  color: var(--c-muted);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-weight: 600;
  font-family: var(--font-sans);
}
.legal-toc ol {
  margin: 0;
  padding-left: 22px;
  list-style: decimal;
  font-size: .95rem;
}
.legal-toc li { margin-bottom: 6px; }
.legal-toc a {
  color: var(--c-ink);
  text-decoration: none;
  transition: color var(--t) var(--ease);
}
.legal-toc a:hover { color: var(--c-amber); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- NZÚ — Nová zelená úsporám ---------- */
.nzu-section { padding: clamp(60px, 7vw, 110px) 0; }
.nzu-card {
  position: relative;
  background: var(--c-navy);
  color: #fff;
  border-radius: var(--radius-xl);
  padding: clamp(40px, 5vw, 64px);
  overflow: hidden;
  isolation: isolate;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 50px;
  align-items: center;
}
.nzu-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 100% 0%, rgba(16, 185, 129, .22), transparent 55%),
    radial-gradient(ellipse 60% 80% at 0% 100%, rgba(76, 127, 208, .14), transparent 55%);
  z-index: -1;
  pointer-events: none;
}
.nzu-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, #000 30%, transparent 80%);
  z-index: -1;
  pointer-events: none;
}
.nzu-content h2 {
  color: #fff;
  margin-bottom: 14px;
  font-size: clamp(1.8rem, 2vw + 1.2rem, 2.8rem);
}
.nzu-content .accent-cyan {
  background: linear-gradient(120deg, #6F9CDD 0%, #4C7FD0 60%, #2BA84A 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.nzu-content .lead {
  color: rgba(255, 255, 255, .82);
  font-size: 1.08rem;
  margin-bottom: 26px;
  line-height: 1.65;
}
.nzu-content .lead strong { color: #fff; font-weight: 600; }
.eyebrow--on-dark {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .14);
  color: #fff;
  backdrop-filter: blur(8px);
}
.eyebrow--on-dark::before { background: var(--c-success); box-shadow: 0 0 0 4px rgba(16, 185, 129, .25); }
.nzu-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.nzu-boxes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.nzu-box {
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--radius);
  padding: 22px 20px;
  backdrop-filter: blur(8px);
  transition: all var(--t) var(--ease);
}
.nzu-box:hover {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(76, 127, 208, .35);
}
.nzu-box-num {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, .5vw + .9rem, 1.35rem);
  font-weight: 500;
  color: rgba(255, 255, 255, .65);
  letter-spacing: -.02em;
  margin-bottom: 4px;
  line-height: 1.1;
}
.nzu-box-num strong {
  color: #fff;
  font-weight: 700;
}
.nzu-box-lbl {
  font-size: .82rem;
  color: rgba(255, 255, 255, .55);
  letter-spacing: .01em;
}

/* ---------- Region — lokální dosah ---------- */
.region-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  align-items: stretch;
}
.region-info {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.region-info h3 {
  font-size: clamp(1.35rem, .6vw + 1.1rem, 1.7rem);
  margin-bottom: 14px;
}
.region-info p { color: var(--c-text); }
.region-info p:first-of-type { color: var(--c-text); margin-bottom: 22px; }
.region-cities {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 14px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}
.region-cities li {
  position: relative;
  padding: 8px 0 8px 26px;
  font-size: .98rem;
  font-weight: 500;
  color: var(--c-ink);
  border-bottom: 1px solid var(--c-line);
}
.region-cities li::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--c-cyan-soft);
  border: 2px solid var(--c-cyan);
  box-shadow: 0 0 0 2px rgba(76, 127, 208, .15);
}
.region-cities li:nth-last-child(-n+2) { border-bottom: 0; }
.region-note {
  margin: 0;
  font-size: .9rem;
  color: var(--c-muted);
  font-style: italic;
}
.region-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--c-line);
  min-height: 380px;
  background: var(--c-bg-soft);
  box-shadow: var(--shadow-sm);
}

/* ---------- Feature grid (Proč my) ---------- */
.feat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.feat-grid--4 { grid-template-columns: repeat(4, 1fr); }
.feat-card {
  background: #fff;
  padding: 28px 26px;
  border-radius: 10px;
  border: 1px solid var(--c-line);
  transition: border-color var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.feat-card:hover {
  border-color: var(--c-brand);
  box-shadow: var(--shadow-sm);
}
.feat-card .ic {
  width: 52px; height: 52px;
  border-radius: 10px;
  background: var(--c-brand-soft);
  color: var(--c-brand);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  border: 1px solid var(--c-line);
}
.feat-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.feat-card p { color: var(--c-muted); font-size: .94rem; margin: 0; line-height: 1.55; }

/* ---------- Process steps (dotted connector) ---------- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}
.process-grid::before {
  content: '';
  position: absolute;
  left: 8%; right: 8%;
  top: 32px;
  height: 2px;
  background: repeating-linear-gradient(
    to right,
    var(--c-line-strong) 0 6px,
    transparent 6px 14px
  );
  z-index: 0;
}
.process-step {
  position: relative;
  text-align: center;
  background: var(--c-bg-soft);
  padding: 28px 22px;
  border-radius: var(--radius);
  border: 1px solid var(--c-line);
}
.section--soft .process-step { background: #fff; }
.process-step .num {
  width: 64px; height: 64px;
  margin: -52px auto 20px;
  background: var(--c-navy);
  color: var(--c-cyan);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  position: relative;
  z-index: 2;
  border: 4px solid var(--c-bg);
  letter-spacing: -.04em;
  box-shadow: 0 0 0 1px var(--c-cyan-soft);
}
.section--soft .process-step .num { border-color: var(--c-bg-soft); }
.process-step h3 { font-size: 1.1rem; margin-bottom: 8px; }
.process-step p { color: var(--c-muted); font-size: .94rem; margin: 0; }

/* ---------- Product detail blocks (sticky scroll feel) ---------- */
.product-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
  padding: 70px 0;
  border-top: 1px solid var(--c-line);
}
.product-block:first-of-type { border-top: 0; padding-top: 30px; }
.product-block:nth-child(even) .product-block-media { order: 2; }
.product-block-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(180deg, #F7FAFC 0%, #FFFFFF 100%);
  border: 1px solid var(--c-line);
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.product-block-media img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}
.product-block h2 { color: var(--c-ink); }
.product-block .tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--c-ink);
  margin-bottom: 12px;
  padding: 6px 14px 6px 12px;
  background: var(--c-cyan-soft);
  border-radius: 100px;
}
.product-block .tag::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--c-brand);
  border-radius: 50%;
}
.spec-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin: 20px 0 24px;
}
.spec {
  padding: 16px 18px;
  background: var(--c-bg-soft);
  border-radius: 14px;
  border: 1px solid var(--c-line);
  position: relative;
  transition: all var(--t) var(--ease);
}
.spec:hover {
  background: #fff;
  border-color: var(--c-brand);
}
.spec .lbl {
  font-size: .72rem;
  color: var(--c-muted);
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 4px;
  font-weight: 500;
}
.spec .val {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--c-ink);
  font-size: 1.1rem;
  letter-spacing: -.02em;
}
.checklist { margin: 18px 0 28px; }
.checklist li {
  position: relative;
  padding: 8px 0 8px 32px;
  font-size: .98rem;
  color: var(--c-text);
}
.checklist li::before {
  content: '';
  position: absolute;
  left: 0; top: 13px;
  width: 18px; height: 18px;
  background: var(--c-cyan-soft);
  border-radius: 50%;
}
.checklist li::after {
  content: '';
  position: absolute;
  left: 5px; top: 16px;
  width: 8px; height: 4px;
  border-left: 2px solid var(--c-ink);
  border-bottom: 2px solid var(--c-ink);
  transform: rotate(-45deg);
}

/* ---------- CTA strip ---------- */
.cta-strip {
  background: var(--c-navy);
  color: #fff;
  border-radius: var(--radius-xl);
  padding: clamp(40px, 5vw, 64px);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.cta-strip::before {
  content: '';
  position: absolute;
  right: -20%; top: -50%;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(76, 127, 208,.18), transparent 60%);
  z-index: -1;
}
.cta-strip::after {
  content: '';
  position: absolute;
  left: -10%; bottom: -50%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(76,127,208,.12), transparent 60%);
  z-index: -1;
}
.cta-strip-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}
.cta-strip h2 { color: #fff; margin-bottom: 10px; max-width: 540px; }
.cta-strip p { color: rgba(255,255,255,.75); margin: 0; max-width: 480px; font-size: 1.05rem; }

/* ---------- Reviews rotating slider (3 visible, auto-rotate every 6s) ---------- */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 32px 0 28px;
  min-height: 240px; /* prevents layout shift during rotation */
  align-items: stretch;
}
.review-card {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: 12px;
  padding: 22px 22px 20px;
  transition: opacity .45s ease, border-color var(--t) var(--ease), box-shadow var(--t) var(--ease);
  opacity: 1;
}
.review-card[hidden] {
  display: none;
}
.review-card.is-fading {
  opacity: 0;
}
.review-card:hover {
  border-color: var(--c-brand);
  box-shadow: var(--shadow-sm);
}
/* Slideshow indicator dots */
.reviews-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}
.reviews-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--c-line-strong);
  border: 0;
  padding: 0;
  cursor: pointer;
  transition: background var(--t) var(--ease), width var(--t) var(--ease);
}
.reviews-dot.is-active {
  background: var(--c-brand);
  width: 24px;
  border-radius: 4px;
}
.reviews-dot:hover {
  background: var(--c-brand-2);
}
.review-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.review-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--av-bg, var(--c-brand));
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .92rem;
  flex-shrink: 0;
  letter-spacing: -.01em;
}
.review-meta { flex: 1; min-width: 0; }
.review-name {
  font-weight: 600;
  color: var(--c-ink);
  font-size: .95rem;
  letter-spacing: -.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.review-date {
  font-size: .8rem;
  color: var(--c-muted);
  margin-top: 2px;
}
.review-stars {
  color: var(--c-brand);
  letter-spacing: 1.5px;
  font-size: .9rem;
  flex-shrink: 0;
}
.review-text {
  margin: 0;
  color: var(--c-text);
  font-size: .94rem;
  line-height: 1.6;
}
.reviews-cta {
  text-align: center;
  margin-top: 8px;
}

/* ---------- Testimonials (legacy) ---------- */
.t-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.t-card {
  background: #fff;
  padding: 32px;
  border-radius: 10px;
  border: 1px solid var(--c-line);
  transition: border-color var(--t) var(--ease), box-shadow var(--t) var(--ease);
  position: relative;
}
.t-card:hover {
  border-color: var(--c-brand);
  box-shadow: var(--shadow-sm);
}
.t-card .stars {
  color: var(--c-brand);
  margin-bottom: 14px;
  letter-spacing: 3px;
  font-size: 1rem;
}
.t-card blockquote {
  font-size: 1rem;
  margin: 0 0 20px;
  color: var(--c-text);
  line-height: 1.7;
  font-weight: 400;
}
.t-card cite {
  display: block;
  font-style: normal;
  font-weight: 600;
  color: var(--c-ink);
  font-size: .95rem;
  padding-top: 18px;
  border-top: 1px solid var(--c-line);
}
.t-card cite span {
  display: block;
  font-weight: 400;
  color: var(--c-muted);
  font-size: .85rem;
  margin-top: 4px;
}

/* ---------- FAQ ---------- */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  max-width: 900px;
  margin: 0 auto;
}
.faq-item {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--t) var(--ease);
}
.faq-item:hover { border-color: var(--c-line-strong); }
.faq-item[open] {
  border-color: var(--c-ink);
  box-shadow: var(--shadow-sm);
}
.faq-item summary {
  padding: 22px 60px 22px 26px;
  cursor: pointer;
  font-weight: 600;
  color: var(--c-ink);
  font-size: 1.05rem;
  list-style: none;
  position: relative;
  transition: color var(--t) var(--ease);
  letter-spacing: -.01em;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '';
  position: absolute;
  right: 22px; top: 50%;
  transform: translateY(-50%);
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--c-bg-soft);
  border: 1px solid var(--c-line);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2306112A' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 14px;
  transition: all var(--t) var(--ease);
}
.faq-item[open] summary::after {
  background-color: var(--c-ink);
  border-color: var(--c-ink);
  transform: translateY(-50%) rotate(45deg);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234C7FD0' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E");
}
.faq-item summary:hover { color: var(--c-navy); }
.faq-item .faq-answer {
  padding: 0 26px 24px;
  color: var(--c-text);
  line-height: 1.7;
}
.faq-item .faq-answer p:last-child { margin-bottom: 0; }

/* ---------- Footer ---------- */
.footer {
  background: var(--c-navy);
  color: #B5C2D6;
  padding: 60px 0 24px;
  position: relative;
  overflow: hidden;
}
.footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 90% 10%, rgba(76, 127, 208,.08), transparent 50%),
    radial-gradient(circle at 0% 100%, rgba(76,127,208,.05), transparent 50%);
  pointer-events: none;
}
.footer .container { position: relative; }
.footer h4 {
  color: #fff;
  font-size: .76rem;
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-weight: 600;
  font-family: var(--font-sans);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr .9fr .9fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 40px;
  align-items: start;
}
.footer a { color: #B5C2D6; transition: color var(--t) var(--ease); }
.footer a:hover { color: var(--c-cyan); }
.footer-list li { padding: 4px 0; font-size: .9rem; }
.footer-brand h4 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  letter-spacing: -.02em;
  text-transform: none;
  color: #fff;
  font-weight: 700;
  margin-bottom: 12px;
}
.footer-brand p { font-size: .88rem; margin: 0; color: #94A3B8; line-height: 1.6; }
.footer-contact p { margin: 0 0 10px; font-size: .88rem; line-height: 1.5; }
.footer-contact strong { color: #fff; font-size: .76rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
.footer-contact p strong { display: block; margin-bottom: 2px; color: #fff; }
.footer-bottom {
  padding-top: 26px;
  border-top: 1px solid rgba(255,255,255,.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  font-size: .85rem;
  color: #7B8AA0;
}

/* ---------- Page Hero (subpage) ---------- */
.page-hero {
  background: var(--c-navy);
  color: #fff;
  padding: clamp(80px, 9vw, 130px) 0 clamp(80px, 9vw, 130px);
  text-align: center;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: -10%;
  background:
    radial-gradient(ellipse 50% 60% at 80% 30%, rgba(76, 127, 208,.16), transparent 60%),
    radial-gradient(ellipse 50% 60% at 20% 80%, rgba(76,127,208,.10), transparent 60%);
  filter: blur(40px);
  z-index: -1;
}
.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, #000 30%, transparent 75%);
  z-index: -1;
}
.page-hero h1 { color: #fff; margin-bottom: 12px; }
.page-hero .lead { color: rgba(255,255,255,.75); max-width: 720px; margin: 0 auto; }
.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 20px;
  font-size: .82rem;
  color: rgba(255,255,255,.55);
  letter-spacing: .04em;
}
.breadcrumb a { color: rgba(255,255,255,.8); }
.breadcrumb a:hover { color: var(--c-cyan); }

/* ---------- Floating CTA (expandable widget) ---------- */
.floating-cta {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 90;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}
.floating-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px) scale(.95);
  transform-origin: bottom right;
  transition: all .3s var(--ease);
  pointer-events: none;
}
.floating-cta.is-open .floating-actions {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.floating-action {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  color: var(--c-ink);
  padding: 12px 20px 12px 14px;
  border-radius: 100px;
  font-weight: 600;
  font-size: .95rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--c-line);
  white-space: nowrap;
  transition: all var(--t) var(--ease);
}
.floating-action:hover {
  color: var(--c-ink);
  border-color: var(--c-brand);
}
.floating-action .ic {
  width: 32px; height: 32px;
  background: var(--c-brand-soft);
  color: var(--c-brand);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.floating-action.is-call .ic {
  background: rgba(16,185,129,.14);
  color: var(--c-success);
}
.floating-action small {
  display: block;
  font-size: .72rem;
  font-weight: 500;
  color: var(--c-muted);
  letter-spacing: .02em;
  margin-top: 2px;
}
.floating-call {
  width: 58px; height: 58px;
  background: var(--c-brand);
  color: #fff;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px -4px rgba(76, 127, 208, .45);
  border: 0;
  cursor: pointer;
  transition: background var(--t) var(--ease);
  position: relative;
}
.floating-call:hover { background: var(--c-brand-deep); }
.floating-cta.is-open .floating-call svg.icon-chat { display: none; }
.floating-call svg.icon-close { display: none; }
.floating-cta.is-open .floating-call svg.icon-close { display: block; }

/* ---------- Contact page ---------- */
.contact-layout { display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: start; }
.contact-info-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 36px;
  border: 1px solid var(--c-line);
  box-shadow: var(--shadow-xs);
}
.contact-row {
  display: flex;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--c-line);
  align-items: flex-start;
}
.contact-row:last-child { border-bottom: 0; }
.contact-row .ic {
  width: 44px; height: 44px;
  background: var(--c-bg-soft);
  color: var(--c-ink);
  border: 1px solid var(--c-line);
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.05rem;
  transition: all var(--t) var(--ease);
}
.contact-row:hover .ic {
  background: var(--c-brand-soft);
  border-color: var(--c-brand);
  color: var(--c-brand);
}
.contact-row .lbl { font-size: .76rem; color: var(--c-muted); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 4px; }
.contact-row .val { font-size: 1.05rem; font-weight: 600; color: var(--c-ink); letter-spacing: -.01em; }
.contact-row a { color: var(--c-ink); }
.contact-row a:hover { color: var(--c-blue); }

.form-card {
  background: #fff;
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid var(--c-line);
}
.form-card h3 { margin-bottom: 8px; }
.form-card .sub { color: var(--c-muted); margin-bottom: 24px; }

/* ---------- Thank-you page (dekujeme.html) ---------- */
.thanks-hero {
  background: var(--c-navy);
  color: #fff;
  padding: clamp(80px, 9vw, 140px) 0 clamp(80px, 9vw, 140px);
  position: relative;
  overflow: hidden;
  text-align: center;
  isolation: isolate;
}
.thanks-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(76, 127, 208,.18), transparent 65%),
    radial-gradient(ellipse 40% 40% at 50% 100%, rgba(76, 127, 208,.10), transparent 60%);
  z-index: -1;
}
.thanks-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000 30%, transparent 75%);
  z-index: -1;
}
.thanks-container { max-width: 720px; }
.thanks-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 92px; height: 92px;
  border-radius: 50%;
  background: var(--c-success);
  color: #fff;
  margin-bottom: 28px;
  box-shadow: 0 0 0 8px rgba(43,168,74,.18), 0 12px 32px -8px rgba(43,168,74,.5);
}
.thanks-hero h1 {
  color: #fff;
  margin-bottom: 16px;
  font-size: clamp(2rem, 3vw + 1rem, 3rem);
}
.thanks-hero .lead {
  color: rgba(255,255,255,.85);
  font-size: 1.15rem;
  margin: 0 auto 32px;
  max-width: 560px;
}
.thanks-cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.thanks-cta .btn--outline { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.22); color: #fff; }
.thanks-cta .btn--outline:hover { background: rgba(255,255,255,.14); border-color: #fff; color: #fff; }

/* What next — timeline */
.next-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.next-step {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: 12px;
  padding: 28px 24px;
  position: relative;
}
.next-step-num {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--c-brand);
  letter-spacing: .04em;
  margin-bottom: 14px;
}
.next-step h3 { font-size: 1.15rem; margin-bottom: 8px; }
.next-step p { color: var(--c-muted); margin: 0; font-size: .94rem; line-height: 1.6; }

/* Contact card */
.thanks-contact-card {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 44px);
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}
.thanks-contact-card h3 { margin-bottom: 8px; font-size: 1.4rem; }
.thanks-contact-card > p { color: var(--c-muted); margin: 0 0 24px; }
.thanks-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.thanks-contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  background: var(--c-bg-soft);
  border: 1px solid var(--c-line);
  border-radius: 10px;
  text-decoration: none;
  color: var(--c-ink);
  text-align: left;
  transition: border-color var(--t) var(--ease), background var(--t) var(--ease);
}
.thanks-contact-item:hover {
  border-color: var(--c-brand);
  background: #fff;
}
.thanks-contact-ic {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--c-brand-soft);
  color: var(--c-brand);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.thanks-contact-lbl { font-size: .78rem; color: var(--c-muted); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 2px; }
.thanks-contact-val { font-size: 1.05rem; font-weight: 600; color: var(--c-ink); }

/* Products list */
.thanks-products {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.thanks-product {
  display: block;
  padding: 22px 20px;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: 10px;
  text-decoration: none;
  color: var(--c-ink);
  transition: border-color var(--t) var(--ease);
}
.thanks-product:hover { border-color: var(--c-brand); }
.thanks-product-name { font-weight: 600; margin-bottom: 4px; font-size: 1rem; }
.thanks-product-desc { font-size: .82rem; color: var(--c-muted); }

@media (max-width: 1024px) {
  .next-steps, .thanks-products { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .next-steps, .thanks-products, .thanks-contact-grid { grid-template-columns: 1fr; }
  .thanks-cta { flex-direction: column; }
  .thanks-cta .btn { width: 100%; }
}

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  top: 24px;
  right: 24px;
  background: var(--c-navy);
  color: #fff;
  padding: 14px 22px;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  font-weight: 500;
  z-index: 200;
  transform: translateY(-100px);
  opacity: 0;
  transition: all .4s var(--ease);
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(76, 127, 208,.3);
}
.toast::before {
  content: '';
  width: 8px; height: 8px;
  background: var(--c-brand);
  border-radius: 50%;
}
.toast.is-visible { transform: translateY(0); opacity: 1; }

/* ---------- Reveal on scroll (subtle fade only, no transform, no blur) ---------- */
.reveal {
  opacity: 1;
  transition: opacity .5s var(--ease-out);
}
html.js .reveal:not(.is-visible) {
  opacity: 0;
}
html.js .reveal.is-visible {
  opacity: 1;
}
@media (prefers-reduced-motion: reduce) {
  html.js .reveal { opacity: 1 !important; }
  .floating-call { animation: none; }
}

/* ---------- Selection ---------- */
::selection { background: var(--c-cyan); color: var(--c-navy); }

/* ---------- Scrollbar ---------- */
@media (pointer: fine) {
  ::-webkit-scrollbar { width: 12px; height: 12px; }
  ::-webkit-scrollbar-track { background: var(--c-bg-soft); }
  ::-webkit-scrollbar-thumb { background: var(--c-line-strong); border: 3px solid var(--c-bg-soft); border-radius: 6px; }
  ::-webkit-scrollbar-thumb:hover { background: var(--c-navy); }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .cat-grid { grid-template-columns: repeat(4, 1fr); }
  .cat-card:nth-child(1) { grid-column: span 4; grid-row: auto; }
  .cat-card:nth-child(2), .cat-card:nth-child(3) { grid-column: span 2; }
  .cat-card:nth-child(4), .cat-card:nth-child(5),
  .cat-card:nth-child(6), .cat-card:nth-child(7) { grid-column: span 2; }
  .trust-grid { grid-template-columns: repeat(3, 1fr); }
  .trust-grid > .trust-card:nth-child(n+4) { grid-column: span 1; }
}

@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .feat-grid, .feat-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); gap: 32px 24px; }
  .process-grid::before { display: none; }
  .t-grid { grid-template-columns: 1fr; }
  .hero-grid { grid-template-columns: 1fr; gap: 50px; }
  .hero-stats { max-width: none; }
  .footer-grid { grid-template-columns: repeat(4, 1fr); gap: 24px 20px; }
  .footer-brand { grid-column: 1 / -1; margin-bottom: 4px; }
  .contact-layout { grid-template-columns: 1fr; }
  .product-block { grid-template-columns: 1fr; padding: 50px 0; gap: 36px; }
  .product-block:nth-child(even) .product-block-media { order: 0; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .reviews-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }

  /* NZÚ stack on tablet */
  .nzu-card { grid-template-columns: 1fr; gap: 36px; padding: 40px 32px; }
  .nzu-boxes { grid-template-columns: repeat(4, 1fr); }

  /* Region stack on tablet */
  .region-grid { grid-template-columns: 1fr; gap: 24px; }
  .region-map { min-height: 320px; }
}

@media (max-width: 720px) {
  .topbar-info { gap: 14px; font-size: .78rem; }
  .topbar { font-size: .78rem; }
  .header { background: var(--c-navy); }
  .header.is-scrolled { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--c-navy); }
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav {
    position: fixed;
    top: 0; right: 0; bottom: 0;
    width: min(86%, 360px);
    background: #fff;
    padding: 90px 24px 32px;
    flex-direction: column;
    align-items: stretch;
    transform: translateX(110%);
    transition: transform .4s var(--ease);
    box-shadow: var(--shadow-lg);
    z-index: 99;
    overflow-y: auto;
  }
  body.menu-open { overflow: hidden; }
  body.menu-open .nav { transform: translateX(0); }
  body.menu-open::after {
    content: '';
    position: fixed; inset: 0;
    background: rgba(6,17,42,.55);
    backdrop-filter: blur(4px);
    z-index: 98;
  }
  .nav-list { flex-direction: column; gap: 0; align-items: stretch; }
  .nav-item { width: 100%; }
  .nav .nav-link {
    display: block;
    padding: 14px 14px;
    border-radius: 12px;
    color: var(--c-ink);
    font-size: 1.05rem;
    font-weight: 600;
  }
  .nav .nav-link:hover,
  .nav .nav-link.is-active {
    background: var(--c-bg-soft);
    color: var(--c-ink);
  }
  .nav .nav-link.is-active::after { display: none; }
  .subnav {
    position: static;
    box-shadow: none;
    border: 0;
    background: var(--c-bg-soft);
    opacity: 1; visibility: visible; transform: none;
    margin: 0 14px 8px;
    padding: 6px;
  }
  .subnav a { color: var(--c-text); }
  .subnav a:hover { color: var(--c-ink); background: #fff; }
  .nav-item.has-sub > .nav-link::after { display: none; }
  .nav .btn { margin-top: 18px; }

  h1 { letter-spacing: -.035em; }

  .grid-2, .grid-3, .grid-4,
  .feat-grid, .process-grid, .t-grid,
  .field-row, .spec-grid,
  .trust-grid { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px 20px; }
  .footer-brand { grid-column: 1 / -1; margin-bottom: 8px; }

  .cat-grid { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .cat-card, .cat-card:nth-child(1), .cat-card:nth-child(2), .cat-card:nth-child(3),
  .cat-card:nth-child(4), .cat-card:nth-child(5), .cat-card:nth-child(6), .cat-card:nth-child(7) {
    grid-column: span 1;
    grid-row: auto;
  }

  .hero { padding: 56px 0 80px; }
  .hero-form { padding: 24px; }
  .hero-stats { gap: 8px; }
  .hero-stat { padding: 14px 12px; }
  .hero-stat .num { font-size: 1.6rem; }
  .hero-stat .lbl { font-size: .75rem; }
  .cta-strip { padding: 32px 24px; text-align: center; border-radius: var(--radius-lg); }
  .cta-strip-inner { flex-direction: column; text-align: center; }
  .cta-strip h2, .cta-strip p { max-width: none; }
  .cta-inline { flex-direction: column; align-items: stretch; padding: 24px; text-align: center; }
  .cta-inline-actions { justify-content: center; }
  .cta-inline-actions .btn { flex: 1; min-width: 0; }
  .floating-cta { right: 14px; bottom: 14px; }
  .floating-cta .floating-action { display: none; }
  .floating-cta.is-open .floating-action { display: inline-flex; }

  /* NZÚ mobile */
  .nzu-card { padding: 32px 24px; border-radius: var(--radius-lg); }
  .nzu-boxes { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .nzu-box { padding: 16px 14px; }
  .nzu-cta { flex-direction: column; }
  .nzu-cta .btn { width: 100%; }

  /* Region mobile */
  .region-info { padding: 24px; }
  .region-cities { grid-template-columns: 1fr; gap: 0; }
  .region-cities li { padding: 10px 0 10px 26px; border-bottom: 1px solid var(--c-line); }
  .region-cities li:last-child { border-bottom: 0; }
  .region-map { min-height: 280px; }
}
