@import url('https://fonts.googleapis.com/css2?family=Architects+Daughter&family=Bricolage+Grotesque:wght@500;600;700&family=Manrope:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

/* ─────────────────────────────────────────────────────────
   Oak Run · Version A — Civic Statement
   Color: #38629f primary · trustworthy + friendly · Czech
   ───────────────────────────────────────────────────────── */

:root {
  --primary: #38629f;
  --primary-700: #2a4d80;
  --primary-800: #1f3a63;
  --primary-50: #f1f5fc;
  --primary-100: #e4ecf7;
  --primary-200: #c9d8ed;

  --eco: #1f8a5b;
  --eco-50: #ecf6f0;
  --warm: #d97742;

  --ink: #0e1f3a;
  --ink-2: #3d4d66;
  --ink-3: #6b7990;
  --ink-4: #99a4b7;

  --paper: #ffffff;
  --paper-2: #f6f8fc;
  --paper-3: #eef2f8;
  --line: #e3e8f0;
  --line-2: #d6deea;

  --shadow-sm: 0 1px 2px rgba(14, 31, 58, 0.04), 0 1px 1px rgba(14, 31, 58, 0.03);
  --shadow-md: 0 4px 16px -4px rgba(14, 31, 58, 0.10), 0 2px 4px -2px rgba(14, 31, 58, 0.05);
  --shadow-lg: 0 18px 40px -16px rgba(14, 31, 58, 0.18), 0 4px 12px -4px rgba(14, 31, 58, 0.08);

  --radius-xs: 6px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;

  --gutter: clamp(20px, 4vw, 56px);
  --maxw: 1240px;

  --font-display: "Bricolage Grotesque", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  --font-hand: "Architects Daughter", cursive;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--ink);
  text-wrap: balance;
}
h1 { font-size: clamp(2.6rem, 5.4vw, 4.5rem); letter-spacing: -0.025em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
h3 { font-size: clamp(1.35rem, 2vw, 1.6rem); letter-spacing: -0.015em; }
h4 { font-size: 1.05rem; letter-spacing: -0.01em; }

p { margin: 0; text-wrap: pretty; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; }

::selection { background: var(--primary); color: white; }

/* ─── Layout ───────────────────────────────────────────── */
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(72px, 10vw, 128px) 0; }
.section-tight { padding: clamp(56px, 7vw, 88px) 0; }

/* ─── Typographic helpers ──────────────────────────────── */
.eyebrow {
  font-family: var(--font-hand);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.eyebrow::before {
  content: "";
  width: 18px; height: 1px;
  background: currentColor;
}
.lead {
  font-size: clamp(1.1rem, 1.4vw, 1.25rem);
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 56ch;
  text-wrap: pretty;
}
.kicker {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
}

/* ─── Buttons ──────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: var(--radius-sm);
  border: 1.5px solid transparent;
  font-weight: 600;
  font-size: 15.5px;
  letter-spacing: -0.005em;
  line-height: 1;
  transition: background-color .15s, border-color .15s, color .15s, transform .12s, box-shadow .2s;
  white-space: nowrap;
}
.btn-primary {
  background: var(--primary);
  color: white;
  box-shadow: 0 1px 0 rgba(14, 31, 58, 0.15), inset 0 1px 0 rgba(255,255,255,0.12);
}
.btn-primary:hover { background: var(--primary-700); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-2);
}
.btn-ghost:hover { border-color: var(--ink); background: var(--paper-2); }
.btn-link {
  background: transparent;
  color: var(--primary);
  padding: 8px 0;
  border-radius: 0;
}
.btn-link:hover { color: var(--primary-700); }
.btn .arr {
  display: inline-block;
  transition: transform .2s;
}
.btn:hover .arr { transform: translateX(3px); }
.btn-sm { padding: 10px 16px; font-size: 14px; }

/* ─── Top nav ──────────────────────────────────────────── */
/* nav dropdown */
.nav-has-dropdown {
  position: relative;
}
.nav-has-dropdown::before {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 8px; /* bridges the gap so hover state stays alive */
}
.nav-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 10px 14px;
  font-size: 15px;
  font-weight: 500;
  font-family: var(--font-body);
  color: var(--ink-2);
  background: none;
  border: none;
  border-radius: var(--radius-xs);
  cursor: pointer;
  transition: color .15s, background-color .15s;
  line-height: 1;
  white-space: nowrap;
}
.nav-dropdown-trigger:hover,
.nav-has-dropdown:hover .nav-dropdown-trigger,
.nav-has-dropdown.open .nav-dropdown-trigger { color: var(--ink); background: var(--paper-2); }
.nav-dropdown-trigger.active { color: var(--primary); background: var(--primary-50); }
.nav-has-dropdown:hover .nav-dropdown-trigger.active,
.nav-has-dropdown.open .nav-dropdown-trigger.active { background: var(--primary-100); }
.nav-dd-chevron { transition: transform .18s; flex: 0 0 auto; }
.nav-has-dropdown:hover .nav-dd-chevron,
.nav-has-dropdown.open  .nav-dd-chevron { transform: rotate(180deg); }

.nav-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  min-width: 218px;
  background: rgba(255,255,255,0.97);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity .16s, transform .16s;
  z-index: 200;
}
.nav-has-dropdown:hover .nav-dropdown,
.nav-has-dropdown:focus-within .nav-dropdown,
.nav-has-dropdown.open .nav-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  transition: background .12s, color .12s;
}
.nav-dropdown a:last-child { border-bottom: none; }
.nav-dropdown a:hover { background: var(--paper-2); color: var(--ink); }
.nav-dropdown a.active { color: var(--primary); background: var(--primary-50); }
.nav-dropdown a.active:hover { background: var(--primary-100); }
.dd-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--line-2);
  flex: 0 0 auto;
}
.nav-dropdown a.active .dd-dot { background: var(--primary); }
/* ─────────────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.85);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, background-color .2s;
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo {
  display: inline-flex;
  align-items: center;
  color: var(--ink);
}
.logo .logo-svg {
  height: 32px;
  width: auto;
  display: block;
  fill: currentColor;
}
.nav-links {
  display: flex;
  gap: 4px;
  align-items: center;
}
.nav-links a {
  padding: 10px 14px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-2);
  border-radius: var(--radius-xs);
  transition: color .15s, background-color .15s;
}
.nav-links a:hover { color: var(--ink); background: var(--paper-2); }
.nav-links a.active {
  color: var(--primary);
  background: var(--primary-50);
}
.nav-cta {
  display: flex;
  gap: 10px;
  align-items: center;
}

/* ─── HERO ─────────────────────────────────────────────── */
.hero {
  padding: clamp(56px, 8vw, 96px) 0 clamp(56px, 7vw, 88px);
  background:
    radial-gradient(ellipse at 80% -10%, var(--primary-100) 0%, transparent 60%),
    linear-gradient(180deg, var(--paper) 0%, var(--paper-2) 100%);
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.9fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.hero h1 .accent {
  position: relative;
  color: var(--primary);
  white-space: nowrap;
}
.hero h1 .accent::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0.04em;
  height: 0.12em;
  background: var(--primary-200);
  z-index: -1;
  border-radius: 4px;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 32px;
}
.hero-how-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-2);
  padding: 6px 0;
  transition: color .15s;
  line-height: 1;
}
.hero-how-link:hover { color: var(--ink); }
.hero-trust {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px dashed var(--line-2);
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}
.hero-trust > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.hero-trust .num {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1;
}
.hero-trust .lbl {
  font-size: 13px;
  color: var(--ink-3);
}

/* hero visualization stack */
.hero-vis {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.vis-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: linear-gradient(170deg, #d6e0ec 0%, #b8c7dc 100%);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,0.5);
}
.vis-card .vis-sky {
  position: absolute; inset: 0 0 38% 0;
  background: linear-gradient(180deg, #e8eef6 0%, #c9d6e6 100%);
}
.vis-card .vis-ground {
  position: absolute; inset: 62% 0 0 0;
  background: linear-gradient(180deg, #c7d2e0 0%, #aab8cc 100%);
}
.vis-card .vis-sun {
  position: absolute;
  top: 12%; right: 14%;
  width: 90px; height: 90px;
  border-radius: 50%;
  background: radial-gradient(circle, #ffeaa7 0%, rgba(255,234,167,0.0) 70%);
}
.vis-card .vis-locker {
  position: absolute;
  left: 50%; bottom: 14%;
  transform: translateX(-50%);
  width: 48%;
  aspect-ratio: 2 / 3;
  background: var(--paper);
  border-radius: 6px 6px 4px 4px;
  box-shadow:
    0 30px 50px -20px rgba(14, 31, 58, 0.35),
    inset 0 1px 0 rgba(255,255,255,0.6);
  display: grid;
  grid-template-rows: 8% 1fr 4%;
  overflow: hidden;
}
.vis-locker .vis-solar {
  background:
    repeating-linear-gradient(90deg, #2a4d80 0 8px, #3a6299 8px 9px),
    #2a4d80;
  border-bottom: 1px solid rgba(0,0,0,0.15);
}
.vis-locker .vis-doors {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: repeat(5, 1fr);
  gap: 2px;
  padding: 3px;
  background: #c9d2dd;
}
.vis-locker .vis-doors > div {
  background: linear-gradient(155deg, #f7f9fb 0%, #dde4ee 100%);
  border-radius: 1px;
  position: relative;
}
.vis-locker .vis-doors > div::after {
  content: "";
  position: absolute;
  right: 18%;
  top: 50%;
  transform: translateY(-50%);
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--ink-4);
}
.vis-locker .vis-base {
  background: var(--ink);
}
.vis-card .vis-stat {
  position: absolute;
  top: 52px; left: 18px;
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 6px 10px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--ink-2);
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.vis-card .vis-uptime::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--eco);
  flex: 0 0 auto;
  animation: tagPulse 2.2s ease-out infinite;
}
.vis-card .vis-uptime {
  position: absolute;
  top: 18px; left: 18px;
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 6px 10px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--ink-2);
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
@keyframes tagPulse {
  0%   { box-shadow: 0 0 0 0 rgba(31, 138, 91, 0.5); }
  65%  { box-shadow: 0 0 0 6px rgba(31, 138, 91, 0); }
  100% { box-shadow: 0 0 0 0 rgba(31, 138, 91, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .vis-card .vis-uptime::before { animation: none; box-shadow: 0 0 0 3px rgba(31, 138, 91, 0.18); }
}
.vis-card .vis-coord {
  position: absolute;
  bottom: 18px; right: 20px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(14, 31, 58, 0.55);
  letter-spacing: 0.04em;
}

/* hero quote card */
.hero-quote {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 22px 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  box-shadow: var(--shadow-sm);
  position: relative;
}
.hero-quote .qmark {
  font-family: var(--font-display);
  font-size: 56px;
  line-height: 0.6;
  color: var(--primary);
  margin-top: 8px;
  flex: 0 0 auto;
}
.hero-quote .qbody p {
  font-size: 15.5px;
  line-height: 1.5;
  color: var(--ink);
  margin-bottom: 10px;
  font-weight: 500;
}
.hero-quote .qmeta {
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero-quote .qmeta .avatar {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-100), var(--primary-200));
  border: 1px solid var(--line-2);
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: -0.01em;
}
.hero-quote .qmeta-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.hero-quote .qmeta .name {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.2;
}
.hero-quote .qmeta .role {
  font-size: 12px;
  color: var(--ink-3);
  line-height: 1.2;
}

/* ─── VALUE PROPS ──────────────────────────────────────── */
.section-head {
  text-align: left;
  margin-bottom: clamp(36px, 5vw, 64px);
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 32px;
  align-items: end;
}
.section-head .lead { margin: 16px 0 0; }
.section-head .right {
  align-self: end;
  text-align: right;
  color: var(--ink-3);
  font-size: 14px;
  max-width: 32ch;
  justify-self: end;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  counter-reset: value-counter;
}
.value-card {
  background: var(--paper);
  padding: 32px 28px 36px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: background-color .2s;
  position: relative;
  border-top: 4px solid var(--primary);
}
.value-card::before {
  counter-increment: value-counter;
  content: counter(value-counter, decimal-leading-zero);
  position: absolute;
  top: 20px; right: 22px;
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--primary-200);
  pointer-events: none;
}
.value-card:hover { background: var(--paper-2); }
.value-icon {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--primary-50);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.value-card.eco {
  background: var(--eco-50);
  border-top-color: var(--eco);
  overflow: hidden;
}
.value-card.eco:hover { background: var(--eco-50); }
.value-card.eco::before { color: rgba(31, 138, 91, 0.2); }
.value-card.eco .value-icon { background: rgba(31, 138, 91, 0.12); color: var(--eco); }

/* falling leaves */
.eco-leaf {
  position: absolute;
  width: 8px; height: 12px;
  background: var(--eco);
  border-radius: 0 60% 0 60%;
  opacity: 0;
  pointer-events: none;
  animation: ecoLeafFall linear infinite;
  top: 0;
  left: 15%;
  animation-duration: 4.2s;
  animation-delay: 0s;
}
.eco-leaf:nth-child(2) { left: 30%; animation-duration: 5.1s; animation-delay: 1.3s; width: 6px; height: 10px; }
.eco-leaf:nth-child(3) { left: 52%; animation-duration: 4.7s; animation-delay: 2.6s; width: 7px; height: 11px; }
.eco-leaf:nth-child(4) { left: 70%; animation-duration: 3.9s; animation-delay: 0.7s; }
.eco-leaf:nth-child(5) { left: 86%; animation-duration: 5.4s; animation-delay: 1.9s; width: 9px; height: 13px; }

@keyframes ecoLeafFall {
  0%   { transform: translateY(-18px) rotate(0deg);                   opacity: 0;    }
  8%   { opacity: 0.22; }
  42%  { transform: translateY(110px) rotate(130deg) translateX(10px); }
  90%  { opacity: 0.15; }
  100% { transform: translateY(290px) rotate(270deg) translateX(-8px); opacity: 0;    }
}

@media (prefers-reduced-motion: reduce) {
  .eco-leaf { display: none; }
}
.value-card h3 { font-size: 1.3rem; }
.value-card p {
  color: var(--ink-2);
  font-size: 14.5px;
  line-height: 1.55;
}

/* ─── HOW IT WORKS ─────────────────────────────────────── */
.howitworks {
  background: var(--ink);
  color: var(--paper-2);
  position: relative;
  overflow: hidden;
}
.howitworks::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 10% 0%, rgba(56, 98, 159, 0.35) 0%, transparent 50%),
    radial-gradient(ellipse at 90% 100%, rgba(31, 138, 91, 0.15) 0%, transparent 50%);
  pointer-events: none;
}
.howitworks .container { position: relative; }
.howitworks h2 { color: white; }
.howitworks .lead { color: rgba(246, 248, 252, 0.7); }
.howitworks .eyebrow { color: var(--primary-200); }
.howitworks .eyebrow::before { background: var(--primary-200); }
.howitworks .section-head .right { color: rgba(246, 248, 252, 0.55); }

.steps {
  display: flex;
  position: relative;
  gap: 0;
  margin-top: 52px;
  list-style: none;
  padding: 0;
}
/* horizontal connector line — runs pip-center to pip-center */
.steps::before {
  content: "";
  position: absolute;
  top: 16px;
  left: 10%; right: 10%;
  height: 2px;
  background: rgba(255,255,255,0.12);
  z-index: 0;
}
.step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 12px;
  position: relative;
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.step.revealed {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .step { opacity: 1; transform: none; transition: none; }
}
.step-pip {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  margin-bottom: 20px;
  box-shadow: 0 0 0 5px rgba(56, 98, 159, 0.3);
}
.step-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}
.step h3 {
  color: white;
  font-size: 1.05rem;
}
.step p {
  font-size: 13.5px;
  color: rgba(246, 248, 252, 0.65);
  line-height: 1.55;
}
.step .tag {
  margin-top: 4px;
  padding-top: 10px;
  border-top: 1px dashed rgba(255,255,255,0.12);
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(246, 248, 252, 0.45);
  letter-spacing: 0.04em;
}
.step:first-child .step-pip {
  background: white;
  color: var(--primary);
  box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.18);
}
.step:last-child .step-pip {
  background: var(--eco);
  box-shadow: 0 0 0 5px rgba(31, 138, 91, 0.35);
}

/* ─── TESTIMONIALS ─────────────────────────────────────── */
.testimonials {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.t-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(24px);
  transition: border-color .2s, box-shadow .2s, transform .5s, opacity .5s;
}
.t-card.revealed { opacity: 1; transform: translateY(0); }
.t-card.revealed:hover { border-color: var(--line-2); box-shadow: var(--shadow-md); transform: translateY(-2px); }
@media (prefers-reduced-motion: reduce) {
  .t-card { opacity: 1; transform: none; transition: border-color .2s, box-shadow .2s, transform .2s; }
}
.t-card.featured {
  background: var(--primary-50);
  border-color: var(--primary-200);
  box-shadow: var(--shadow-md);
}
.t-card.featured::after {
  content: "\201C";
  position: absolute;
  bottom: -28px; right: 20px;
  font-family: var(--font-display);
  font-size: 9rem;
  line-height: 1;
  color: var(--primary-200);
  pointer-events: none;
  user-select: none;
}
.t-card.featured.revealed:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.t-featured-badge {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--primary-100);
  border-radius: 4px;
  padding: 4px 9px;
  align-self: flex-start;
}
.t-quote {
  font-family: var(--font-display);
  font-size: 1.2rem;
  line-height: 1.4;
  letter-spacing: -0.015em;
  color: var(--ink);
  flex: 1;
  text-wrap: pretty;
  position: relative;
  z-index: 1;
}
.t-card.featured .t-quote { font-size: 1.3rem; }
.t-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  position: relative;
  z-index: 1;
}
.t-card.featured .t-meta { border-top-color: var(--primary-200); }
.t-meta .avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-100), var(--primary-200));
  border: 1px solid var(--line-2);
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: -0.01em;
}
.t-meta .name { font-size: 14.5px; font-weight: 600; color: var(--ink); line-height: 1.3; }
.t-meta .role { font-size: 13px; color: var(--ink-3); line-height: 1.3; }
.t-swipe-hint { display: none; }

/* ─── PARTNERS / LOGO STRIP ────────────────────────────── */
.partners {
  padding: clamp(40px, 6vw, 64px) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.partners-head {
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-4);
  text-align: center;
  margin-bottom: 32px;
}
.partners-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  max-width: 860px;
  margin: 0 auto;
}
.partner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 0 40px;
  border: none;
  border-radius: 0;
  background: transparent;
  border-right: 1px solid var(--line);
  transition: none;
  overflow: visible;
}
.partner:last-child { border-right: none; }
.partner:hover { box-shadow: none; transform: none; }

.partner-logo-wrap {
  width: 100%;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  overflow: hidden;
}
.partner-logo {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  display: block;
}
/* Branded logo containers */
.partner-zasilkovna .partner-logo-wrap {
  background: transparent;
  padding: 4px 12px;
}
.partner-gls .partner-logo-wrap {
  background: transparent;
  padding: 4px 16px;
}
.partner-ppl .partner-logo-wrap {
  background: #0F4C8A;
  padding: 12px 18px;
}

/* Name + badge sit inline on one row */
.partner-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
}
.partner-name {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-transform: none;
  color: var(--ink-2);
}
.partner-badge {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.partner-badge svg { flex: 0 0 auto; }
.badge-solar {
  background: #fff8e1;
  color: #a16207;
}
.badge-mix {
  background: var(--primary-50);
  color: var(--primary);
}


/* ─── CONTACT / LEAD FORM ──────────────────────────────── */
.contact {
  background:
    linear-gradient(180deg, var(--paper) 0%, var(--paper-2) 100%);
}
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}
.contact-side .pill-list {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0;
  list-style: none;
}
.contact-side .pill-list .pill {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px 18px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  transition: border-color .2s, background-color .2s;
}
.contact-side .pill-list .pill:hover {
  border-color: var(--line-2);
  background: var(--paper-2);
}
.contact-side .pill .ico {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: var(--primary-50);
  color: var(--primary);
  display: inline-flex; align-items: center; justify-content: center;
  flex: 0 0 auto;
}
.contact-side .pill h4 { font-size: 0.95rem; }
.contact-side .pill p { font-size: 13.5px; color: var(--ink-3); margin-top: 2px; }

.form-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 40px);
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}
.form-row {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 18px;
}
.form-row.single { grid-template-columns: 1fr; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field label {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
  letter-spacing: -0.005em;
}
.field input, .field select, .field textarea {
  font: inherit;
  font-size: 15px;
  padding: 13px 14px;
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--ink);
  transition: border-color .15s, box-shadow .15s;
  width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-100);
}
.field input::placeholder, .field textarea::placeholder { color: var(--ink-4); }

.radio-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.radio-row label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
  transition: border-color .15s, color .15s, background-color .15s;
  background: var(--paper);
}
.radio-row input[type="radio"] {
  appearance: none;
  width: 14px; height: 14px;
  border: 1.5px solid var(--ink-4);
  border-radius: 50%;
  position: relative;
  cursor: pointer;
  margin: 0;
  transition: border-color .15s;
}
.radio-row input[type="radio"]:checked {
  border-color: var(--primary);
}
.radio-row input[type="radio"]:checked::after {
  content: "";
  position: absolute;
  inset: 2px;
  background: var(--primary);
  border-radius: 50%;
}
.radio-row label:has(input:checked) {
  border-color: var(--primary);
  background: var(--primary-50);
  color: var(--primary-800);
}

.form-foot {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.form-foot .fineprint {
  font-size: 12.5px;
  color: var(--ink-3);
  max-width: 36ch;
  line-height: 1.5;
}

/* ─── CONTACT ENHANCEMENTS ────────────────────────────── */
.contact-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .5s, transform .5s;
}
.contact-reveal.revealed { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .contact-reveal { opacity: 1; transform: none; }
}

.form-fields { transition: opacity .3s; }
.form-card.submitted .form-fields { opacity: 0; pointer-events: none; user-select: none; }

.form-success {
  position: absolute;
  inset: 0;
  background: var(--paper);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px;
  gap: 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .4s .2s;
}
.form-card.submitted .form-success { opacity: 1; pointer-events: auto; }
.form-success-icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--eco-50);
  color: var(--eco);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(31, 138, 91, 0.2);
}
.form-success h3 { font-size: 1.6rem; color: var(--ink); }
.form-success p { font-size: 15px; color: var(--ink-3); max-width: 32ch; line-height: 1.55; }
.btn-reset {
  background: none;
  border: none;
  color: var(--primary);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  padding: 4px 0;
  transition: color .15s;
  font-family: var(--font-body);
}
.btn-reset:hover { color: var(--primary-700); }

.field-error {
  display: none;
  font-size: 12.5px;
  color: var(--warm);
  margin-top: 2px;
}
.field-error.visible { display: block; }
.field input.invalid {
  border-color: var(--warm);
  box-shadow: 0 0 0 3px rgba(217, 119, 66, 0.12);
}
.field input.invalid:focus {
  border-color: var(--warm);
  box-shadow: 0 0 0 3px rgba(217, 119, 66, 0.12);
}

/* ─── LEGAL CONTENT PAGE ───────────────────────────────── */
.legal-content {
  max-width: 72ch;
}
.legal-content h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}
.legal-meta {
  font-size: 13px;
  color: var(--ink-4);
  font-family: var(--font-mono);
  letter-spacing: 0.02em;
  margin-bottom: 56px;
}
.legal-content h2 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  margin-top: 40px;
  margin-bottom: 10px;
}
.legal-content p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-2);
  margin-bottom: 12px;
}
.legal-content a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ─── FOOTER ───────────────────────────────────────────── */
footer.site-footer {
  background: var(--ink);
  color: rgba(246, 248, 252, 0.7);
  padding: clamp(56px, 7vw, 88px) 0 32px;
  position: relative;
}
footer .footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr));
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.10);
}
.nav .logo { color: #38629f; }
footer .footer-top .brand .logo { color: white; }
footer .footer-top .brand p {
  margin-top: 16px;
  font-size: 14px;
  line-height: 1.55;
  max-width: 32ch;
  color: rgba(246, 248, 252, 0.55);
}
footer h4 {
  color: white;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
footer ul a { font-size: 14px; color: rgba(246, 248, 252, 0.65); transition: color .15s; }
footer ul a:hover { color: white; }
footer .footer-bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12.5px;
  color: rgba(246, 248, 252, 0.4);
}
footer .footer-bottom .legal { display: flex; gap: 18px; }
footer .footer-bottom .legal a:hover { color: white; }

/* ─── LANDOWNERS-PAGE-SPECIFIC ─────────────────────────── */
.subhero {
  padding: clamp(48px, 7vw, 80px) 0 clamp(24px, 3vw, 36px);
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.subhero h1 .accent { color: var(--eco); }
.subhero h1 .accent::after { background: var(--eco-50); }
.subhero .meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 28px;
  margin-top: 28px;
}
.subhero .meta .item { display: flex; align-items: flex-start; gap: 10px; }
.subhero .meta .item .ico {
  width: 40px; height: 40px;
  flex-shrink: 0;
  border-radius: 10px;
  background: var(--eco-50); color: var(--eco);
  display: inline-flex; align-items: center; justify-content: center;
  margin-top: 2px;
}
.subhero .meta .item .ico svg { width: 18px; height: 18px; }
.subhero .meta .item > div { display: flex; flex-direction: column; gap: 2px; }
.subhero .meta .item strong { font-size: 18px; font-weight: 600; color: var(--ink); line-height: 1.3; }
.subhero .meta .item > div > span { font-size: 13px; color: var(--ink-3); line-height: 1.3; }

.inquiry-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 48px);
  align-items: start;
  margin-top: 32px;
}

.wizard-card, .map-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 3.5vw, 40px);
  box-shadow: var(--shadow-md);
}

.wizard-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-bottom: 28px;
}
.wizard-step {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.wizard-step .bar {
  height: 4px;
  border-radius: 999px;
  background: var(--line);
  transition: background-color .2s;
}
.wizard-step.done .bar { background: var(--eco); }
.wizard-step.current .bar { background: var(--primary); }
.wizard-step .lbl {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.wizard-step.current .lbl { color: var(--primary); }
.wizard-step.done .lbl { color: var(--eco); }
.wizard-step .name { font-size: 14px; font-weight: 600; color: var(--ink-2); }
.wizard-step.current .name { color: var(--ink); }

.wizard-card h2 { font-size: 1.7rem; margin-bottom: 6px; }
.wizard-card .sub { color: var(--ink-3); font-size: 14.5px; margin-bottom: 28px; }

.field-block { margin-bottom: 22px; }
.field-block > label.head {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
  margin-bottom: 10px;
}
.chip-row { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 500;
  background: var(--paper);
  border: 1.5px solid var(--line);
  color: var(--ink-2);
  cursor: pointer;
  transition: all .15s;
}
.chip:hover { border-color: var(--ink-4); color: var(--ink); }
.chip.selected {
  background: var(--primary-50);
  border-color: var(--primary);
  color: var(--primary-800);
}

/* radio cards (access options) */
.opt-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.opt {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 16px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all .15s;
}
.opt:hover { border-color: var(--ink-4); }
.opt.selected {
  border-color: var(--primary);
  background: var(--primary-50);
}
.opt .dot {
  flex: 0 0 auto;
  width: 16px; height: 16px;
  border-radius: 50%;
  border: 1.5px solid var(--ink-4);
  margin-top: 1px;
  position: relative;
}
.opt.selected .dot { border-color: var(--primary); }
.opt.selected .dot::after {
  content: "";
  position: absolute; inset: 3px;
  background: var(--primary);
  border-radius: 50%;
}
.opt .opt-text { font-size: 14px; color: var(--ink-2); line-height: 1.4; }
.opt.selected .opt-text { color: var(--ink); font-weight: 500; }

.wizard-foot {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

/* Wizard card needs a stacking context for the success overlay */
.wizard-card { position: relative; overflow: hidden; }

.field-input,
.field-textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  font: inherit;
  font-size: 14px;
  color: var(--ink);
  background: var(--paper);
  transition: border-color .15s;
}
.field-textarea { resize: vertical; min-height: 80px; }
.field-input:focus,
.field-textarea:focus  { outline: none; border-color: var(--primary); }
.field-input::placeholder,
.field-textarea::placeholder { color: var(--ink-4); }
.field-input.invalid {
  border-color: var(--warm);
  box-shadow: 0 0 0 3px rgba(217, 119, 66, 0.12);
}

.opt-label { font-weight: 400; color: var(--ink-4); font-size: 12px; margin-left: 4px; }

/* Honeypot — visually and interactively hidden */
.hp-wrap {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
  height: 0;
  overflow: hidden;
}

.wizard-success {
  position: absolute;
  inset: 0;
  background: var(--paper);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  text-align: center;
  padding: 40px 24px;
  border-radius: var(--radius-lg);
}
/* display: flex only when the hidden attribute is removed */
.wizard-success:not([hidden]) { display: flex; }
.wizard-success h3 { font-size: 1.5rem; }
.wizard-success p  { color: var(--ink-3); font-size: 15px; }

/* MAP */
.map-card { padding: 0; overflow: hidden; }
.map {
  position: relative;
  height: 420px;
}
#map-leaflet {
  position: absolute;
  inset: 0;
}
.leaflet-container { font-family: var(--font-body); cursor: crosshair; }
.leaflet-control-attribution { font-size: 10px !important; }
.map-marker-icon { background: none !important; border: none !important; }

.map-controls {
  position: absolute;
  top: 14px; right: 14px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: white;
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  border: 1px solid var(--line);
  z-index: 1000;
}
.map-controls button {
  width: 32px; height: 32px;
  border: 0;
  background: white;
  font-size: 16px;
  color: var(--ink-2);
}
.map-controls button + button { border-top: 1px solid var(--line); }

.map-search {
  position: absolute;
  top: 14px; left: 14px; right: 60px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 13px;
  color: var(--ink-3);
  box-shadow: var(--shadow-sm);
  display: flex;
  gap: 8px;
  align-items: center;
  z-index: 1000;
}
.map-search input {
  border: none;
  outline: none;
  background: transparent;
  font: inherit;
  font-size: 13px;
  color: var(--ink);
  flex: 1;
  min-width: 0;
}
.map-search input::placeholder { color: var(--ink-4); }

.map-suggestions {
  position: absolute;
  top: 60px; left: 14px; right: 60px;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  z-index: 1000;
  overflow: hidden;
  max-height: 240px;
  overflow-y: auto;
  scrollbar-width: thin;
}
.map-suggestion {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 14px;
  cursor: pointer;
  border-bottom: 1px solid var(--line);
  transition: background-color .1s;
}
.map-suggestion:last-child { border-bottom: none; }
.map-suggestion:hover,
.map-suggestion.active { background: var(--paper-2); }
.map-suggestion .s-main { font-size: 13.5px; font-weight: 500; color: var(--ink); line-height: 1.3; }
.map-suggestion .s-sub { font-size: 12px; color: var(--ink-3); line-height: 1.3; }

.map-pin {
  position: absolute;
  left: 50%; top: 48%;
  transform: translate(-50%, -100%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.map-pin .marker {
  width: 32px; height: 42px;
  filter: drop-shadow(0 6px 12px rgba(14, 31, 58, 0.3));
}
.map-pin .pin-label {
  background: white;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 4px 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-2);
  white-space: nowrap;
  box-shadow: var(--shadow-sm);
}

.map-coords {
  padding: 16px 20px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  background: var(--paper-2);
}
.map-coords .label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }
.map-coords .value { font-family: var(--font-mono); font-size: 14px; color: var(--ink); font-weight: 500; }

/* placement guide cards */
.placement {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.place-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.place-card:hover { border-color: var(--line-2); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.place-card .label-row {
  padding: 18px 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.place-card .badge {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--primary-50);
  color: var(--primary);
  padding: 4px 10px;
  border-radius: 4px;
  font-weight: 600;
}
.place-card .badge.alt { background: var(--paper-2); color: var(--ink-3); }
.place-card .meta { font-family: var(--font-mono); font-size: 12px; color: var(--ink-3); }

.schematic {
  background: var(--paper-2);
  margin: 20px 24px;
  border-radius: var(--radius-md);
  height: 220px;
  position: relative;
  border: 1px dashed var(--line-2);
  overflow: hidden;
  background-image:
    linear-gradient(rgba(56, 98, 159, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56, 98, 159, 0.05) 1px, transparent 1px);
  background-size: 16px 16px;
}
.schematic .wall {
  position: absolute; left: 16px; top: 16px; bottom: 16px; width: 14px;
  background: repeating-linear-gradient(45deg, var(--ink-4), var(--ink-4) 2px, var(--ink-3) 2px, var(--ink-3) 6px);
  border-radius: 2px;
}
.schematic .locker-top {
  position: absolute;
  background: var(--primary);
  border: 1.5px solid var(--primary-700);
  border-radius: 3px;
}
.schematic .clearance {
  position: absolute;
  border: 1.5px dashed var(--ink-4);
  border-radius: 4px;
  background: rgba(255,255,255,0.4);
}
.schematic .annot {
  position: absolute;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-3);
}
.schematic.a .locker-top { left: 36px; top: 80px; width: 120px; height: 30px; }
.schematic.a .clearance { left: 36px; top: 116px; width: 120px; height: 70px; }
.schematic.a .annot.l1 { left: 165px; top: 88px; }
.schematic.a .annot.l2 { left: 165px; top: 145px; }
.schematic.b .locker-top { left: 50%; top: 92px; width: 110px; height: 28px; transform: translateX(-50%); }
.schematic.b .clearance { left: 50%; top: 56px; width: 180px; height: 110px; transform: translateX(-50%); }
.schematic.b .annot.l1 { right: 16px; top: 70px; }
.schematic.b .annot.l2 { right: 16px; bottom: 16px; }

.place-card ul {
  list-style: none;
  padding: 0 24px 24px;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.place-card ul li {
  position: relative;
  padding-left: 22px;
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.5;
}
.place-card ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 8px;
  width: 12px; height: 1.5px;
  background: var(--primary);
  border-radius: 1px;
}

/* utility callout */
.callout {
  background: var(--eco-50);
  border: 1px solid rgba(31, 138, 91, 0.2);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-top: 28px;
}
.callout p { font-size: 14.5px; color: var(--ink); }
.callout .ico {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--eco);
  color: white;
  display: inline-flex; align-items: center; justify-content: center;
  flex: 0 0 auto;
}
.callout .left { display: flex; gap: 14px; align-items: center; }

/* ─── Responsive ───────────────────────────────────────── */
@media (max-width: 960px) {
  .hero-grid, .contact-grid, .inquiry-grid { grid-template-columns: 1fr; }
  .wizard-card { order: 2; }
  .map-card    { order: 1; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { flex-direction: column; gap: 0; }
  .steps::before { display: none; }
  .step { flex-direction: row; align-items: flex-start; text-align: left; padding: 0 0 32px 0; gap: 20px; transform: translateX(-20px); }
  .step::before { content: ""; position: absolute; left: 16px; top: 32px; bottom: 0; width: 2px; background: rgba(255,255,255,0.12); }
  .step:last-child { padding-bottom: 0; }
  .step:last-child::before { display: none; }
  .step.revealed { transform: translateX(0); }
  .step-pip { margin-bottom: 0; }
  .step-body { flex: 1; }
  .testimonials { grid-template-columns: 1fr; }
  .partners-grid { grid-template-columns: repeat(3, 1fr); }
  .placement { grid-template-columns: 1fr; }
  .map { height: 300px; }
  .section-head { grid-template-columns: 1fr; }
  .section-head .right { text-align: left; justify-self: start; }
  footer .footer-top { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .hero { overflow: visible; }
  .vis-card { aspect-ratio: 3/1; margin-top: 28px; }
  .vis-card .vis-locker { width: 20%; bottom: 5%; }
  .vis-card .vis-sun { width: 70px; height: 70px; top: -15px; right: auto; left: calc(58% - 18px); }
  .vis-card .vis-uptime { font-size: 9px; padding: 3px 7px; top: 10px; left: 10px; right: auto; gap: 4px; }
  .vis-card .vis-uptime::before { width: 5px; height: 5px; }
  .vis-card .vis-stat { font-size: 9px; padding: 3px 7px; gap: 4px; top: 33px; left: 10px; }
  .vis-card .vis-coord { font-size: 9px; bottom: 8px; right: 10px; }
}
@media (max-width: 700px) {
  .testimonials {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 14px;
    padding-bottom: 8px;
    scrollbar-width: none;
    touch-action: pan-x;
  }
  .testimonials::-webkit-scrollbar { display: none; }
  .t-card { flex: 0 0 80vw; scroll-snap-align: start; }
  .t-card.revealed:hover,
  .t-card.featured.revealed:hover { transform: translateY(0); }
  .t-swipe-hint {
    display: block;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink-4);
    text-align: center;
    margin-top: 14px;
  }
}
@media (max-width: 560px) {
  .hero-trust { justify-content: center; }
  .hero-trust > div:nth-child(2) { display: none; }
  .values-grid { grid-template-columns: 1fr; }
  .partners-grid { grid-template-columns: repeat(2, 1fr); row-gap: 28px; }
  .partner { padding: 0 20px; }
  .partner:nth-child(2n) { border-right: none; }
  .form-row { grid-template-columns: 1fr; }
  footer .footer-top { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2.4rem; }
  .hero-quote { padding: 16px 18px; gap: 12px; }
  .hero-quote .qmark { font-size: 40px; margin-top: 4px; }
  .hero-quote .qbody p { font-size: 14px; }
}

/* ═══════════════════════════════════════════════════════════
   LOCATION INTELLIGENCE PAGE  (lokace.html)
   ═══════════════════════════════════════════════════════════ */

/* hide/show version panels */
.v-panel.v-hidden { display: none; }

/* ─── Video placeholder ─────────────────────────────────── */
.vid-placeholder {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--ink);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,0.06);
  cursor: pointer;
  display: block;
}
.vid-map-bg {
  position: absolute; inset: 0;
  background:
    linear-gradient(rgba(56, 98, 159, 0.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56, 98, 159, 0.14) 1px, transparent 1px);
  background-size: 28px 28px;
}
.vid-glow {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 28% 38%, rgba(56, 98, 159, 0.38) 0%, transparent 52%),
    radial-gradient(ellipse at 76% 68%, rgba(31, 138, 91, 0.20) 0%, transparent 42%);
}
.vid-pin {
  position: absolute;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 3px rgba(56, 98, 159, 0.3), 0 0 14px rgba(56, 98, 159, 0.55);
  color: var(--primary);
}
.vid-pin::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px solid currentColor;
  opacity: 0;
  animation: pinRipple 3s ease-out infinite;
}
.vid-pin:nth-child(3)::after { animation-delay: 0.8s; }
.vid-pin:nth-child(4)::after { animation-delay: 1.6s; }
.vid-pin:nth-child(5)::after { animation-delay: 2.4s; }
.vid-pin:nth-child(6)::after { animation-delay: 0.4s; }
.vid-pin.eco { background: var(--eco); color: var(--eco); box-shadow: 0 0 0 3px rgba(31, 138, 91, 0.3), 0 0 14px rgba(31, 138, 91, 0.55); }
.vid-pin.warm { background: var(--warm); color: var(--warm); box-shadow: 0 0 0 3px rgba(217, 119, 66, 0.3), 0 0 14px rgba(217, 119, 66, 0.55); }
@keyframes pinRipple {
  0%   { inset: 0; opacity: 0.55; }
  100% { inset: -12px; opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .vid-pin::after { animation: none; }
}
.vid-play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 60px; height: 60px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1.5px solid rgba(255,255,255,0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s, transform .2s;
  color: white;
}
.vid-placeholder:hover .vid-play {
  background: rgba(255,255,255,0.22);
  transform: translate(-50%, -50%) scale(1.08);
}
.vid-play svg { margin-left: 3px; }
.vid-chip {
  position: absolute;
  background: rgba(255,255,255,0.10);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 999px;
  padding: 5px 11px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.80);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.vid-chip.top-left  { top: 14px; left: 14px; }
.vid-chip.top-right { top: 14px; right: 14px; }
.vid-live-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--eco);
  animation: tagPulse 2.2s ease-out infinite;
}
@media (prefers-reduced-motion: reduce) {
  .vid-live-dot { animation: none; box-shadow: 0 0 0 2px rgba(31, 138, 91, 0.3); }
}
.vid-label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 28px 16px 14px;
  background: linear-gradient(0deg, rgba(14, 31, 58, 0.82) 0%, transparent 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.vid-title {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.50);
}
.vid-duration {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: rgba(255,255,255,0.35);
}

/* ─── Data sources section ──────────────────────────────── */
.data-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: clamp(28px, 4vw, 48px);
}
.data-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 26px 30px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  overflow: hidden;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.data-card:hover { border-color: var(--line-2); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.data-card::after {
  content: attr(data-num);
  position: absolute;
  top: 14px; right: 18px;
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--primary-100);
  pointer-events: none;
  user-select: none;
}
.data-card.eco-card::after { color: rgba(31, 138, 91, 0.10); }
.data-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius-sm);
  background: var(--primary-50);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}
.data-card.eco-card .data-icon { background: var(--eco-50); color: var(--eco); }
.data-card h3 { font-size: 1.2rem; }
.data-card p { font-size: 14px; color: var(--ink-2); line-height: 1.6; }
.data-badge {
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
  background: var(--primary-50);
  color: var(--primary);
}
.data-card.eco-card .data-badge { background: var(--eco-50); color: var(--eco); }

/* ─── Output showcase ───────────────────────────────────── */
.output-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
}
.output-mock {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--ink);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,0.06);
}
.output-map-bg {
  position: absolute; inset: 0;
  background:
    linear-gradient(rgba(56, 98, 159, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56, 98, 159, 0.09) 1px, transparent 1px);
  background-size: 22px 22px;
}
.output-map-glow {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 40% 45%, rgba(56, 98, 159, 0.28) 0%, transparent 58%),
    radial-gradient(ellipse at 72% 30%, rgba(31, 138, 91, 0.14) 0%, transparent 40%);
}
.output-road {
  position: absolute;
  background: rgba(255,255,255,0.07);
}
.output-road.h { height: 2px; left: 0; right: 0; }
.output-road.v { width: 2px; top: 0; bottom: 0; }
.output-heat {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(56, 98, 159, 0.35) 0%, transparent 70%);
  pointer-events: none;
}
.output-pin {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.output-pin .pin-dot {
  width: 11px; height: 11px;
  border-radius: 50%;
  background: var(--primary);
  border: 2px solid rgba(255,255,255,0.25);
  box-shadow: 0 0 0 4px rgba(56, 98, 159, 0.22), 0 0 16px rgba(56, 98, 159, 0.55);
}
.output-pin.best .pin-dot {
  width: 15px; height: 15px;
  background: var(--eco);
  box-shadow: 0 0 0 4px rgba(31, 138, 91, 0.25), 0 0 18px rgba(31, 138, 91, 0.65);
}
.output-pin .pin-label {
  background: rgba(255,255,255,0.10);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 5px;
  padding: 3px 8px;
  font-family: var(--font-mono);
  font-size: 10px;
  color: rgba(255,255,255,0.70);
  white-space: nowrap;
}
.output-pin.best .pin-label {
  background: rgba(31, 138, 91, 0.22);
  border-color: rgba(31, 138, 91, 0.38);
  color: rgba(255,255,255,0.90);
}
.output-score {
  position: absolute;
  top: 14px; right: 14px;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  text-align: right;
}
.output-score .score-num {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--eco);
  line-height: 1;
}
.output-score .score-lbl {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.40);
  margin-top: 3px;
}
.output-features { display: flex; flex-direction: column; gap: 14px; }
.output-feature {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 18px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  transition: border-color .2s, box-shadow .2s;
}
.output-feature:hover { border-color: var(--line-2); box-shadow: var(--shadow-sm); }
.feat-ico {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: var(--primary-50);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}
.feat-ico.eco { background: var(--eco-50); color: var(--eco); }
.output-feature h4 { font-size: 0.95rem; margin-bottom: 3px; }
.output-feature p  { font-size: 13.5px; color: var(--ink-3); line-height: 1.45; }

/* ─── Responsive — location page ────────────────────────── */
@media (max-width: 960px) {
  .data-grid { grid-template-columns: 1fr 1fr; }
  .output-grid { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .data-grid { grid-template-columns: 1fr; }
  .version-dropdown { left: auto; right: 0; }
}

/* ═══════════════════════════════════════════════════════════
   MOBILE MENU
   ═══════════════════════════════════════════════════════════ */

/* ─── Hamburger button ─────────────────────────────────── */
.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px; height: 40px;
  padding: 0;
  border: none;
  border-radius: var(--radius-xs);
  background: none;
  cursor: pointer;
  gap: 5px;
  flex-shrink: 0;
  transition: background .15s;
}
.nav-burger:hover { background: var(--paper-2); }
.nav-burger .bar {
  display: block;
  width: 20px; height: 2px;
  background: var(--ink);
  border-radius: 1px;
  transition: transform .25s ease, opacity .2s ease;
  transform-origin: center;
}
.nav-burger.open .bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open .bar:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-burger.open .bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (prefers-reduced-motion: reduce) {
  .nav-burger .bar { transition: none; }
}
@media (max-width: 960px) {
  .nav-burger { display: flex; }
  .nav-cta .btn { display: none; }
}

/* ─── Overlay ───────────────────────────────────────────── */
.mobile-overlay {
  position: fixed;
  inset: 72px 0 0 0;
  background: rgba(14, 31, 58, 0.28);
  z-index: 39;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s;
}
.mobile-overlay.open { opacity: 1; pointer-events: auto; }

/* ─── Panel ─────────────────────────────────────────────── */
.mobile-menu {
  position: fixed;
  top: 72px; left: 0; right: 0;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 16px 40px -8px rgba(14, 31, 58, 0.18);
  z-index: 40;
  overflow: hidden;
  max-height: 0;
  transition: max-height .32s cubic-bezier(0.4, 0, 0.2, 1);
}
.mobile-menu.open { max-height: 560px; }
@media (prefers-reduced-motion: reduce) {
  .mobile-menu { transition: none; }
}

/* ─── Links ─────────────────────────────────────────────── */
.mobile-nav { padding: 6px 0 0; }

.mobile-nav > a,
.mobile-dd-btn {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 15px var(--gutter);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  color: var(--ink-2);
  background: none;
  border: none;
  border-bottom: 1px solid var(--line);
  text-align: left;
  cursor: pointer;
  transition: color .15s, background .15s;
  box-sizing: border-box;
  line-height: 1;
  text-decoration: none;
}
.mobile-nav > a:hover,
.mobile-dd-btn:hover  { color: var(--ink); background: var(--paper-2); }
.mobile-nav > a.active { color: var(--primary); }
.mobile-dd-btn.active  { color: var(--primary); }

/* ─── Sub-accordion ─────────────────────────────────────── */
.mobile-dd-wrap { border-bottom: 1px solid var(--line); }
.mobile-dd-btn  { justify-content: space-between; border-bottom: none; }
.mobile-dd-chevron { flex: 0 0 auto; transition: transform .2s; }
@media (prefers-reduced-motion: reduce) { .mobile-dd-chevron { transition: none; } }
.mobile-dd-wrap.open .mobile-dd-chevron { transform: rotate(180deg); }

.mobile-dd-panel {
  overflow: hidden;
  max-height: 0;
  background: var(--paper-2);
  transition: max-height .22s ease;
}
.mobile-dd-wrap.open .mobile-dd-panel { max-height: 140px; }
.mobile-dd-panel a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px var(--gutter) 13px calc(var(--gutter) + 18px);
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-3);
  border-bottom: 1px solid var(--line);
  transition: color .15s, background .15s;
  text-decoration: none;
}
.mobile-dd-panel a:last-child { border-bottom: none; }
.mobile-dd-panel a:hover { color: var(--ink); background: var(--paper-3, #e8edf5); }
.mobile-dd-panel a.active { color: var(--primary); }
.mobile-dd-panel .dd-dot { width: 5px; height: 5px; flex: 0 0 auto; }
.mobile-dd-panel a.active .dd-dot { background: var(--primary); }

/* ─── CTA row ───────────────────────────────────────────── */
.mobile-menu-cta {
  padding: 16px var(--gutter) 22px;
}
.mobile-menu-cta .btn { width: 100%; justify-content: center; }

/* ═══════════════════════════════════════════════════════════
   CADASTRAL REDESIGN  (lokace.html — .page-lokace)
   ═══════════════════════════════════════════════════════════ */

/* ─── Page ground & tokens ───────────────────────────────── */
.page-lokace {
  --cad-paper: #F6F4F0;
  --cad-ink:   #192E4A;
  --cad-blue:  #5B8DB8;
  --cad-amber: #C87C2A;
  --cad-eco-bright: #5DEBB0;
  background: var(--cad-paper);
}

/* ─── Hero — full-width stacked layout ───────────────────── */
.page-lokace .li-hero {
  padding-bottom: clamp(40px, 5vw, 72px);
  background:
    radial-gradient(ellipse at 60% -12%, rgba(91, 141, 184, 0.1) 0%, transparent 50%),
    linear-gradient(180deg, #F6F4F0 0%, #EAE6DF 100%);
}

/* text block — constrained width, centered */
.li-hero-text {
  max-width: 780px;
  margin-bottom: clamp(28px, 4vw, 48px);
}

/* bigger, bolder eyebrow for product label */
.li-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cad-blue, #5B8DB8);
  border: 1px solid rgba(91, 141, 184, 0.3);
  border-radius: 3px;
  padding: 4px 10px;
  display: inline-block;
  background: rgba(91, 141, 184, 0.05);
}

/* large display headline */
.li-h1 {
  margin-top: 22px !important;
  font-size: clamp(42px, 5.5vw, 72px) !important;
  font-weight: 800 !important;
  letter-spacing: -0.03em !important;
  line-height: 1.06 !important;
}

.li-lead {
  max-width: 560px;
  color: var(--ink-2);
}

.li-hero-cta { margin-top: 30px; }

/* ─── Full-width cad panel ───────────────────────────────── */
.li-cad-panel {
  aspect-ratio: 16 / 7 !important;
  border-radius: 12px;
  box-shadow:
    0 0 0 1px rgba(91, 141, 184, 0.22),
    0 8px 48px rgba(25, 46, 74, 0.12),
    0 2px 8px rgba(25, 46, 74, 0.06);
}

/* ─── Panel footer (trust + carrier strip) ───────────────── */
.li-panel-footer {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.li-trust {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}
.li-trust > div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.li-trust .num {
  font-family: var(--font-mono);
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--primary);
  line-height: 1;
}
.li-trust .lbl {
  font-size: 12px;
  color: var(--ink-3);
}

/* separator line between trust and carrier */
.li-panel-footer .li-trust + .li-network { margin-left: auto; }

/* carrier network indicator */
.li-network {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.li-network-lbl {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.04em;
  color: var(--ink-3);
  white-space: nowrap;
}
.li-network-sep {
  width: 1px;
  height: 14px;
  background: var(--line-2);
  flex: 0 0 auto;
}
.li-carriers {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.li-carrier {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  color: var(--ink-2);
  background: var(--paper);
  border: 1px solid var(--line-2);
  border-radius: 3px;
  padding: 2px 7px;
  white-space: nowrap;
}
.li-carrier-more {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--ink-4);
  white-space: nowrap;
}
.li-network-count {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  color: var(--eco);
  white-space: nowrap;
}

/* mobile adjustments for panel footer */
@media (max-width: 700px) {
  .li-panel-footer { flex-direction: column; align-items: flex-start; }
  .li-panel-footer .li-trust + .li-network { margin-left: 0; }
  .li-network { justify-content: flex-start; }
}

/* data-sources section ground */
.page-lokace #data-vrstvy {
  background: rgba(246, 244, 240, 0.7);
  border-color: rgba(91, 141, 184, 0.18);
}

/* ─── Cadastral analysis panel ───────────────────────────── */
.cad-panel {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  background: #F8F7F3;
  border-radius: 10px;
  border: 1.5px solid rgba(91, 141, 184, 0.28);
  overflow: hidden;
  box-shadow:
    0 4px 32px rgba(25, 46, 74, 0.1),
    0 1px 4px rgba(25, 46, 74, 0.06);
}

/* grid */
.cad-grid {
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(0deg,   rgba(91, 141, 184, 0.11) 0, rgba(91, 141, 184, 0.11) 1px, transparent 1px, transparent 100%),
    repeating-linear-gradient(90deg,  rgba(91, 141, 184, 0.11) 0, rgba(91, 141, 184, 0.11) 1px, transparent 1px, transparent 100%);
  background-size: 25% 33.34%;
}

/* SVG axis labels */
.cad-axes {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
}
.cad-ax-lbl {
  font-family: 'JetBrains Mono', monospace;
  font-size: 5.2px;
  fill: rgba(91, 141, 184, 0.44);
  letter-spacing: 0.025em;
}

/* choropleth zones */
.cad-zone {
  position: absolute;
  pointer-events: none;
}
.cad-zone.zone-high {
  width: 44%; height: 46%;
  top: 5%; left: 7%;
  background: radial-gradient(ellipse at 45% 48%, rgba(56, 98, 159, 0.13) 0%, transparent 68%);
  border: 1px solid rgba(56, 98, 159, 0.15);
  border-radius: 44% 56% 50% 50% / 40% 44% 56% 60%;
}
.cad-zone.zone-mid {
  width: 38%; height: 40%;
  top: 33%; left: 40%;
  background: radial-gradient(ellipse at 50% 46%, rgba(200, 124, 42, 0.11) 0%, transparent 68%);
  border: 1px solid rgba(200, 124, 42, 0.14);
  border-radius: 54% 46% 44% 56% / 56% 40% 60% 44%;
}
.cad-zone.zone-low {
  width: 30%; height: 32%;
  top: 55%; left: 17%;
  background: radial-gradient(ellipse at 50% 50%, rgba(31, 138, 91, 0.09) 0%, transparent 68%);
  border: 1px solid rgba(31, 138, 91, 0.12);
  border-radius: 40% 60% 50% 50% / 52% 48% 52% 48%;
}

/* road SVG */
.cad-roads {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
}
.cad-roads path {
  fill: none;
  stroke: rgba(91, 141, 184, 0.2);
  stroke-width: 2;
  stroke-linecap: round;
}
.cad-roads path.road-primary {
  stroke: rgba(91, 141, 184, 0.3);
  stroke-width: 3;
}

/* pins */
.cad-pin {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 0;
  transform: translateY(-10px) scale(0.8);
  transition: opacity 0.38s cubic-bezier(0.34, 1.56, 0.64, 1),
              transform 0.38s cubic-bezier(0.34, 1.56, 0.64, 1);
  pointer-events: none;
  z-index: 10;
}
@media (prefers-reduced-motion: reduce) {
  .cad-pin { transition: opacity 0.25s ease; transform: none; }
}
.cad-pin.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.cad-pin-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--primary);
  border: 2px solid #fff;
  box-shadow: 0 0 0 3px rgba(56, 98, 159, 0.22), 0 2px 6px rgba(56, 98, 159, 0.3);
  flex: 0 0 auto;
}
.cad-pin.best .cad-pin-dot {
  width: 14px; height: 14px;
  background: var(--eco);
  box-shadow: 0 0 0 4px rgba(31, 138, 91, 0.2), 0 2px 8px rgba(31, 138, 91, 0.38);
}

.cad-pin-label {
  margin-top: 4px;
  background: rgba(25, 46, 74, 0.88);
  backdrop-filter: blur(6px);
  border-radius: 3px;
  padding: 3px 7px 4px;
  display: flex;
  flex-direction: column;
  gap: 1px;
  white-space: nowrap;
}
.cad-coord {
  font-family: 'JetBrains Mono', monospace;
  font-size: 7px;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.3;
}
.cad-score-val {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11.5px;
  font-weight: 500;
  color: #fff;
  line-height: 1.2;
}
.cad-pin.best .cad-score-val { color: var(--cad-eco-bright, #5DEBB0); }

/* score readout card */
.cad-score-card {
  position: absolute;
  top: 14px; right: 14px;
  background: rgba(25, 46, 74, 0.9);
  backdrop-filter: blur(10px);
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.08);
  padding: 10px 14px 10px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 20;
}
.cad-score-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 42px;
  font-weight: 500;
  color: var(--cad-eco-bright, #5DEBB0);
  line-height: 1;
  min-width: 2.2ch;
  text-align: right;
}
.cad-score-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.cad-score-lbl {
  font-family: 'JetBrains Mono', monospace;
  font-size: 8px;
  color: rgba(255,255,255,0.65);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: nowrap;
}
.cad-score-sub {
  font-family: 'JetBrains Mono', monospace;
  font-size: 8px;
  color: rgba(255,255,255,0.28);
  white-space: nowrap;
}

/* status bar */
.cad-statusbar {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 32px;
  background: rgba(25, 46, 74, 0.84);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  padding: 0 12px;
  gap: 14px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  color: rgba(255,255,255,0.52);
  border-top: 1px solid rgba(255,255,255,0.06);
}
.cad-live {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--cad-eco-bright, #5DEBB0);
  flex: 0 0 auto;
  font-weight: 500;
}
.cad-live-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--cad-eco-bright, #5DEBB0);
  animation: cadPulse 2s ease-in-out infinite;
}
@keyframes cadPulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }
@media (prefers-reduced-motion: reduce) { .cad-live-dot { animation: none; } }
.cad-area { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cad-count { flex: 0 0 auto; }

@media (max-width: 820px) {
  .li-cad-panel { aspect-ratio: 16 / 9 !important; }
  .cad-score-num { font-size: 34px; }
}
@media (max-width: 560px) {
  .li-cad-panel { aspect-ratio: 4 / 3 !important; }
  .cad-statusbar { font-size: 8px; gap: 8px; padding: 0 8px; }
  .cad-area { display: none; }
  .cad-score-card { top: 10px; right: 10px; padding: 7px 10px 7px 9px; gap: 7px; }
  .cad-score-num { font-size: 28px; }
  .cad-coord { display: none; }
  .cad-score-val { font-size: 10px; }
}

/* ─── Layer cards (data sources) ─────────────────────────── */
.page-lokace .data-card::after { display: none; }

.page-lokace .layer-card {
  border-left: 3px solid transparent;
}
.page-lokace .layer-card[data-layer="blue"]  { border-left-color: var(--cad-blue,  #5B8DB8); }
.page-lokace .layer-card[data-layer="amber"] { border-left-color: var(--cad-amber, #C87C2A); }
.page-lokace .layer-card[data-layer="eco"]   { border-left-color: var(--eco); }

.page-lokace .layer-card[data-layer="blue"]  .data-icon { background: rgba(91, 141, 184, 0.11); color: #5B8DB8; }
.page-lokace .layer-card[data-layer="amber"] .data-icon { background: rgba(200, 124, 42, 0.1);  color: #C87C2A; }

.page-lokace .howitworks .tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.03em;
}

/* ─── Output mock map improvements ───────────────────────── */
.out-choro {
  position: absolute;
  pointer-events: none;
}
.out-choro.out-choro-1 {
  width: 50%; height: 55%;
  top: 4%; left: 6%;
  background: radial-gradient(ellipse at 45% 48%, rgba(56, 98, 159, 0.22) 0%, transparent 65%);
  border: 1px solid rgba(56, 98, 159, 0.2);
  border-radius: 44% 56% 52% 48% / 40% 44% 56% 60%;
}
.out-choro.out-choro-2 {
  width: 40%; height: 42%;
  top: 36%; left: 40%;
  background: radial-gradient(ellipse at 50% 45%, rgba(200, 124, 42, 0.18) 0%, transparent 65%);
  border: 1px solid rgba(200, 124, 42, 0.18);
  border-radius: 56% 44% 46% 54% / 54% 42% 58% 46%;
}
.out-choro.out-choro-3 {
  width: 30%; height: 30%;
  top: 58%; left: 16%;
  background: radial-gradient(ellipse at 50% 50%, rgba(31, 138, 91, 0.15) 0%, transparent 65%);
  border: 1px solid rgba(31, 138, 91, 0.15);
  border-radius: 40% 60% 48% 52%;
}
.out-roads {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
}
.out-roads path {
  fill: none;
  stroke: rgba(91, 141, 184, 0.2);
  stroke-width: 1.5;
  stroke-linecap: round;
}
.out-roads path.road-primary {
  stroke: rgba(91, 141, 184, 0.28);
  stroke-width: 2.5;
}

/* ─── Scored locations table ─────────────────────────────── */
.loc-table {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 32px;
  background: var(--paper);
}

/* header row */
.loc-hrow {
  background: var(--paper-2);
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-4);
  cursor: default;
  pointer-events: none;
}
.loc-hrow:hover { background: var(--paper-2); }

/* shared row grid */
.loc-row {
  display: grid;
  grid-template-columns: 36px 1fr 68px 80px 80px 80px 110px;
  align-items: center;
  gap: 0;
  padding: 0;
  border-bottom: 1px solid var(--line);
  transition: background .12s;
}
.loc-row:last-child { border-bottom: none; }
.loc-row:not(.loc-hrow):hover { background: var(--paper-2); }

/* best row accent */
.loc-row-best {
  background: rgba(31, 138, 91, 0.03);
}
.loc-row-best:hover { background: rgba(31, 138, 91, 0.06) !important; }
.loc-row-best::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--eco);
}
.loc-tbody { position: relative; }
.loc-row-best { position: relative; }

/* cells */
.loc-row > * {
  padding: 14px 16px;
  box-sizing: border-box;
}
.loc-hrow > * {
  padding: 10px 16px;
}

.loc-num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-4);
  padding-left: 16px;
  text-align: center;
}
.loc-row-best .loc-num { color: var(--eco); }

.loc-addr {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-left: 8px;
}
.loc-addr strong {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}
.loc-addr span {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--ink-4);
}

.loc-score-col { display: flex; align-items: center; }
.loc-score {
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 500;
  color: var(--ink-2);
  line-height: 1;
}
.loc-score-top { color: var(--eco); font-size: 22px; }

.loc-metric { display: flex; align-items: center; }
.loc-bar {
  width: 56px; height: 4px;
  background: var(--line);
  border-radius: 2px;
  overflow: hidden;
}
.loc-bar > div {
  height: 100%;
  background: rgba(56, 98, 159, 0.45);
  border-radius: 2px;
  transition: width .6s ease;
}
.loc-row-best .loc-bar > div { background: var(--eco); opacity: 0.7; }

/* badges */
.loc-badge {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.02em;
  border-radius: 3px;
  padding: 3px 8px;
  display: inline-block;
  white-space: nowrap;
}
.loc-row > .loc-badge {
  justify-self: start;
  align-self: center;
  margin-left: 0;
  margin-right: 16px;
}
.loc-badge-best {
  background: rgba(31, 138, 91, 0.1);
  color: var(--eco);
  border: 1px solid rgba(31, 138, 91, 0.2);
}
.loc-badge-ok {
  background: rgba(56, 98, 159, 0.08);
  color: var(--primary);
  border: 1px solid rgba(56, 98, 159, 0.18);
}
.loc-badge-mid {
  background: rgba(200, 124, 42, 0.08);
  color: var(--cad-amber, #C87C2A);
  border: 1px solid rgba(200, 124, 42, 0.18);
}

/* hide metric columns on small screens */
@media (max-width: 820px) {
  .loc-hide-sm { display: none; }
  .loc-row {
    grid-template-columns: 36px 1fr 68px 110px;
  }
}
@media (max-width: 560px) {
  .loc-row {
    grid-template-columns: 32px 1fr 60px 96px;
    font-size: 13px;
  }
  .loc-addr strong { font-size: 13px; }
  .loc-score { font-size: 17px; }
  .loc-score-top { font-size: 17px; }
  .loc-badge { font-size: 9px; padding: 2px 6px; }
}

/* ─── Feature strip (4-column) ───────────────────────────── */
.li-feat-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}
.li-feat {
  padding: 20px 20px 22px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  transition: border-color .15s, box-shadow .15s;
}
.li-feat:hover { border-color: var(--line-2); box-shadow: var(--shadow-sm); }
.li-feat-ico {
  width: 36px; height: 36px;
  border-radius: var(--radius-xs);
  background: var(--primary-50);
  color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 12px;
  flex: 0 0 auto;
}
.li-feat-ico.eco { background: rgba(31, 138, 91, 0.1); color: var(--eco); }
.li-feat h4 { font-size: 14px; font-weight: 600; margin-bottom: 6px; color: var(--ink); }
.li-feat p  { font-size: 13px; color: var(--ink-3); line-height: 1.55; }

@media (max-width: 820px) {
  .li-feat-strip { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .li-feat-strip { grid-template-columns: 1fr; }
}
