/* ============================================================
   FREITAG — skupina FPD · dark immersive one-page
   ============================================================ */

:root {
  --bg: #06080a;
  --bg-2: #0a0d10;
  --panel: #0d1114;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #eceae4;
  --muted: #9aa1a9;
  --amber: #ffb84d;
  --amber-2: #ff8a3d;
  --gold: #e2a21c;
  --teal: #35e0ae;
  --grad-warm: linear-gradient(100deg, #ffd27a 0%, #ff8a3d 100%);
  --font-display: "Space Grotesk", "Segoe UI", sans-serif;
  --font-body: "Inter", "Segoe UI", sans-serif;
  --font-logo: "Chakra Petch", "Space Grotesk", sans-serif;
  --nav-h: 76px;
  --pad: clamp(20px, 5vw, 72px);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 8px);
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* zrno přes celou stránku */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

::selection { background: rgba(255, 184, 77, 0.35); color: #fff; }

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

h1, h2, h3 { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.02em; }

.grad {
  background: var(--grad-warm);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- reveal animace ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--rd, 0ms);
}
.reveal.in { opacity: 1; transform: none; }

/* ============================================================
   Ukazatel nabití (pravý okraj)
   ============================================================ */
.charge-rail {
  position: fixed;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 60;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
}
.charge-label {
  font-size: 11px;
  color: var(--muted);
  writing-mode: vertical-rl;
  letter-spacing: 0.08em;
}
.charge-track {
  width: 3px;
  height: 34vh;
  background: rgba(255, 255, 255, 0.10);
  border-radius: 3px;
  overflow: hidden;
  display: block;
  position: relative;
}
.charge-fill {
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 0%;
  background: var(--grad-warm);
  border-radius: 3px;
  box-shadow: 0 0 12px rgba(255, 165, 66, 0.7);
}
.charge-cap { color: var(--amber); font-size: 14px; }

/* ============================================================
   Navigace
   ============================================================ */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--pad);
  transition: background 0.4s ease, border-color 0.4s ease, height 0.4s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  height: 64px;
  background: rgba(6, 8, 10, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}

.logo { display: flex; align-items: center; gap: 12px; }
.logo-icon {
  width: 36px; height: 36px;
  border-radius: 8px;
  box-shadow: 0 0 18px rgba(226, 162, 28, 0.4);
  flex: none;
}
.logo-stack { display: flex; flex-direction: column; line-height: 1.08; }
.logo-word {
  font-family: var(--font-logo);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 0.01em;
  color: var(--text);
}
.logo-sub2 {
  font-family: var(--font-logo);
  font-weight: 500;
  font-size: 9.5px;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--gold);
}

.nav-tools { display: flex; align-items: center; gap: 14px; }
.lang-switch {
  display: flex;
  gap: 2px;
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 3px;
  background: rgba(255, 255, 255, 0.02);
}
.lang-switch a {
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--muted);
  padding: 5px 11px;
  border-radius: 100px;
  transition: color 0.25s ease, background 0.25s ease;
}
.lang-switch a:hover { color: var(--text); }
.lang-switch a.active { background: rgba(255, 184, 77, 0.14); color: var(--text); }

.nav-links { display: flex; align-items: center; gap: clamp(14px, 2.2vw, 30px); }
.nav-links a {
  font-size: 14.5px;
  color: var(--muted);
  transition: color 0.25s ease;
  position: relative;
}
.nav-links a:hover { color: var(--text); }
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 1.5px;
  background: var(--amber);
  transition: width 0.3s ease;
}
.nav-links a:hover::after { width: 100%; }
.nav-cta {
  padding: 9px 20px;
  border: 1px solid var(--line-strong);
  border-radius: 100px;
  color: var(--text) !important;
}
.nav-cta::after { display: none; }
.nav-cta:hover { border-color: var(--amber); background: rgba(255, 184, 77, 0.08); }

.burger { display: none; flex-direction: column; gap: 6px; padding: 8px; }
.burger span { width: 24px; height: 2px; background: var(--text); transition: transform 0.3s ease, opacity 0.3s; }
.burger.open span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.burger.open span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--nav-h) + 30px) var(--pad) 40px;
  overflow: hidden;
}
#heroCanvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 45% at 74% 38%, rgba(255, 145, 60, 0.14), transparent 65%),
    radial-gradient(ellipse 70% 55% at 20% 90%, rgba(53, 224, 174, 0.05), transparent 60%);
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 2; max-width: 980px; }

.eyebrow {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before {
  content: "";
  width: 34px; height: 1px;
  background: var(--amber);
  opacity: 0.7;
}

.hero h1 {
  font-size: clamp(3.1rem, 9vw, 6.8rem);
  line-height: 1.02;
  font-weight: 700;
  margin-bottom: 26px;
}

.lede {
  max-width: 560px;
  font-size: clamp(1.02rem, 1.6vw, 1.2rem);
  color: var(--muted);
  margin-bottom: 36px;
}

.cta-row { display: flex; gap: 14px; flex-wrap: wrap; }

.btn {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  padding: 15px 30px;
  border-radius: 100px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-primary {
  background: var(--grad-warm);
  color: #17100a;
  box-shadow: 0 8px 30px rgba(255, 150, 60, 0.28);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 40px rgba(255, 150, 60, 0.4); }
.btn-ghost { border: 1px solid var(--line-strong); color: var(--text); }
.btn-ghost:hover { border-color: var(--amber); background: rgba(255, 184, 77, 0.07); transform: translateY(-2px); }

.hero-foot {
  position: relative;
  z-index: 2;
  margin-top: clamp(40px, 8vh, 90px);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.hero-chips { display: flex; gap: 10px; flex-wrap: wrap; }
.chip {
  font-size: 13.5px;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 9px 18px;
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(6px);
}
.chip strong { color: var(--text); font-family: var(--font-display); margin-right: 4px; }

.scroll-hint {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.mouse {
  width: 22px; height: 34px;
  border: 1.5px solid var(--line-strong);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}
.mouse span {
  width: 3px; height: 7px;
  border-radius: 3px;
  background: var(--amber);
  animation: wheel 1.8s ease-in-out infinite;
}
@keyframes wheel {
  0%, 100% { transform: translateY(0); opacity: 1; }
  60% { transform: translateY(10px); opacity: 0; }
}

/* ============================================================
   Marquee
   ============================================================ */
.marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  padding: 16px 0;
  background: var(--bg-2);
}
.marquee-inner {
  display: flex;
  width: max-content;
  animation: marquee 36s linear infinite;
}
.marquee-inner span {
  font-family: var(--font-display);
  font-size: 15px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============================================================
   Sekce – společné
   ============================================================ */
.section { padding: clamp(80px, 12vh, 150px) var(--pad); position: relative; }

.sec-head {
  display: flex;
  align-items: baseline;
  gap: clamp(16px, 3vw, 34px);
  flex-wrap: wrap;
  margin-bottom: clamp(40px, 6vh, 70px);
}
.sec-head.slim { margin-bottom: 18px; }
.sec-num {
  font-family: var(--font-display);
  font-size: 15px;
  color: var(--amber);
  border: 1px solid rgba(255, 184, 77, 0.35);
  border-radius: 100px;
  padding: 6px 14px;
}
.sec-num.light { display: inline-block; margin-bottom: 18px; }
.sec-head h2 {
  font-size: clamp(1.9rem, 4.6vw, 3.3rem);
  font-weight: 600;
}
.sec-side {
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.04em;
  margin-left: auto;
  max-width: 340px;
  text-align: right;
}

.big-line {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.8vw, 2.1rem);
  line-height: 1.35;
  font-weight: 500;
}
.big-line em {
  font-style: normal;
  background: var(--grad-warm);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.muted { color: var(--muted); }

.pill {
  display: inline-block;
  font-size: 13px;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 7px 15px;
  white-space: nowrap;
}

/* ============================================================
   Proces — přišpendlená scéna
   ============================================================ */
.process { background: var(--bg); }
.process-track { position: relative; height: 560vh; }
.process-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--nav-h) + 10px) var(--pad) 30px;
  overflow: hidden;
}

.process-grid {
  display: grid;
  grid-template-columns: minmax(280px, 420px) 1fr;
  gap: clamp(24px, 4vw, 60px);
  align-items: center;
  flex: 1;
  min-height: 0;
}

.phase-copy { position: relative; min-height: 240px; }
.phase {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.45s ease, transform 0.45s ease;
  pointer-events: none;
}
.phase.is-active { opacity: 1; transform: none; }
.phase-no {
  font-family: var(--font-display);
  font-size: 12.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 14px;
}
.phase h3 { font-size: clamp(1.8rem, 3.4vw, 2.8rem); margin-bottom: 16px; }
.phase p { color: var(--muted); max-width: 380px; }

.scene-wrap {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    radial-gradient(ellipse 70% 60% at 30% 20%, rgba(255, 150, 60, 0.05), transparent 60%),
    var(--bg-2);
  padding: clamp(10px, 2vw, 28px) clamp(10px, 2vw, 28px) 0;
  overflow: hidden;
}
#sceneSvg { width: 100%; height: auto; }

.contour { stroke: rgba(255, 255, 255, 0.13); stroke-width: 1.3; stroke-dasharray: 3 6; }

.devtag rect { fill: rgba(13, 17, 20, 0.92); stroke: rgba(255, 184, 77, 0.45); stroke-width: 1; }
.devtag text {
  font-family: var(--font-display);
  font-size: 13px;
  fill: var(--text);
  text-anchor: middle;
}
.scene-label {
  font-family: var(--font-display);
  font-size: 11px;
  fill: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.06em;
}

.unit .frame line { stroke: rgba(255, 255, 255, 0.45); stroke-width: 2; }
.unit .panel {
  fill: url(#panelGrad);
  stroke: rgba(255, 184, 77, 0.55);
  stroke-width: 1.2;
}
.unit.lit .panel { stroke: var(--amber); filter: drop-shadow(0 0 4px rgba(255, 170, 70, 0.55)); }

.wire { stroke: rgba(255, 255, 255, 0.35); stroke-width: 1.6; }
#scPower.on .wire {
  stroke: var(--amber);
  stroke-dasharray: 5 9;
  animation: flow 0.9s linear infinite;
  filter: drop-shadow(0 0 3px rgba(255, 170, 70, 0.6));
}
@keyframes flow { to { stroke-dashoffset: -14; } }

#sunRays line { stroke: rgba(255, 210, 122, 0.8); stroke-width: 2; stroke-linecap: round; }

.phase-rail { padding: 18px 6px 20px; }
.rail-line {
  display: block;
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  position: relative;
  overflow: hidden;
  margin-bottom: 14px;
}
.rail-fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0%;
  background: var(--grad-warm);
  box-shadow: 0 0 10px rgba(255, 165, 66, 0.7);
}
.rail-steps { display: flex; justify-content: space-between; }
.rail-step {
  font-family: var(--font-display);
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.3s ease;
}
.rail-step i {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
.rail-step.is-active { color: var(--text); }
.rail-step.is-active i { background: var(--amber); box-shadow: 0 0 10px rgba(255, 165, 66, 0.8); }
.rail-step.is-done i { background: rgba(255, 184, 77, 0.55); }

/* ============================================================
   Karty projektů
   ============================================================ */
.projects {
  background:
    radial-gradient(ellipse 50% 40% at 85% 0%, rgba(255, 150, 60, 0.06), transparent 60%),
    var(--bg);
}
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}
.card {
  display: block;
  position: relative;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.005)), var(--panel);
  padding: 26px 26px 30px;
  overflow: hidden;
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}
.card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 184, 77, 0.4);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 184, 77, 0.12);
}
.card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 34px;
}
.card-index {
  font-family: var(--font-display);
  font-size: 12.5px;
  letter-spacing: 0.16em;
  color: var(--muted);
}
.badge {
  font-size: 11.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--teal);
  border: 1px solid rgba(53, 224, 174, 0.35);
  border-radius: 100px;
  padding: 5px 12px;
}
.badge-new {
  color: var(--amber);
  border-color: rgba(255, 184, 77, 0.45);
  background: rgba(255, 184, 77, 0.07);
}
.card h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin-bottom: 8px; }
.card-power {
  font-family: var(--font-display);
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 26px;
}
.card-power strong {
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  font-weight: 700;
  background: var(--grad-warm);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.card-power span { color: var(--muted); font-size: 15px; }
.card-meta { display: flex; gap: 8px; flex-wrap: wrap; }
.card-more {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 22px;
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--amber);
}
.card-more::after {
  content: "→";
  transition: transform 0.3s ease;
}
a.card:hover .card-more::after { transform: translateX(5px); }
.card-deco {
  position: absolute;
  right: -30px;
  bottom: -30px;
  width: 150px;
  height: 110px;
  background-image: repeating-linear-gradient(
    -55deg,
    rgba(255, 184, 77, 0.16) 0 2px,
    transparent 2px 14px
  );
  transform: skewY(-6deg);
  opacity: 0.5;
  transition: opacity 0.35s ease;
  pointer-events: none;
}
.card:hover .card-deco { opacity: 1; }

/* ============================================================
   Střešní FVE + mapa
   ============================================================ */
.rooftop { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.rooftop-grid {
  display: grid;
  grid-template-columns: minmax(280px, 460px) 1fr;
  gap: clamp(30px, 5vw, 80px);
  align-items: center;
}
.rooftop-copy .muted { margin: 18px 0 26px; }
.rooftop-copy .muted strong { color: var(--text); }
.region-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.map-legend { display: flex; gap: 22px; font-size: 13px; color: var(--muted); }
.map-legend span { display: flex; align-items: center; gap: 8px; }
.dot-roof, .dot-field { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
.dot-roof { background: var(--teal); box-shadow: 0 0 8px rgba(53, 224, 174, 0.8); }
.dot-field { background: var(--amber); box-shadow: 0 0 8px rgba(255, 165, 66, 0.8); }

.map-wrap { position: relative; }
#mapSvg { width: 100%; height: auto; }
.map-note {
  text-align: right;
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.28);
  margin-top: 6px;
  letter-spacing: 0.04em;
}

.loc { opacity: 0; transition: opacity 0.55s ease; }
.loc.on { opacity: 1; }
.roof-dot {
  fill: var(--teal);
  fill-opacity: 0.92;
  stroke: rgba(6, 8, 10, 0.8);
  stroke-width: 1.5;
}
.field-dot circle.ring {
  fill: none;
  stroke: var(--amber);
  stroke-width: 1.6;
}
.field-dot circle.core { fill: var(--amber); }
.field-dot { opacity: 0; transition: opacity 0.6s ease; }
.field-dot.on { opacity: 1; }
.field-dot .pulse {
  fill: none;
  stroke: rgba(255, 184, 77, 0.65);
  stroke-width: 1.4;
  animation: pulse 2.6s ease-out infinite;
  transform-origin: center;
  transform-box: fill-box;
}
@keyframes pulse {
  0% { transform: scale(0.4); opacity: 1; }
  100% { transform: scale(2.1); opacity: 0; }
}

/* ============================================================
   Baterie
   ============================================================ */
.battery {
  background:
    radial-gradient(ellipse 55% 50% at 12% 30%, rgba(53, 224, 174, 0.06), transparent 60%),
    var(--bg);
}
.battery-grid {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(280px, 1fr);
  gap: clamp(30px, 5vw, 80px);
  align-items: center;
}
.battery-visual {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--bg-2);
  padding: clamp(16px, 3vw, 40px);
}
.cell { opacity: 0.12; }
.cell.c1 { animation: charge 4.5s ease-in-out infinite 0s; }
.cell.c2 { animation: charge 4.5s ease-in-out infinite 0.35s; }
.cell.c3 { animation: charge 4.5s ease-in-out infinite 0.7s; }
.cell.c4 { animation: charge 4.5s ease-in-out infinite 1.05s; }
.cell.c5 { animation: charge 4.5s ease-in-out infinite 1.4s; }
@keyframes charge {
  0%, 10% { opacity: 0.12; }
  35%, 75% { opacity: 0.95; }
  95%, 100% { opacity: 0.12; }
}
.bolt { animation: boltPulse 4.5s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes boltPulse {
  0%, 100% { opacity: 0.35; transform: scale(0.96); }
  50% { opacity: 1; transform: scale(1.06); }
}

.feature-list { list-style: none; margin-top: 28px; }
.feature-list li {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}
.feature-list li:first-child { border-top: 1px solid var(--line); }
.feature-list strong { color: var(--text); font-family: var(--font-display); margin-right: 8px; }

/* ============================================================
   Pozemky — CTA panel
   ============================================================ */
.lands { padding-top: 0; }
.cta-panel {
  position: relative;
  border: 1px solid rgba(255, 184, 77, 0.25);
  border-radius: 28px;
  background:
    radial-gradient(ellipse 60% 80% at 85% 20%, rgba(255, 150, 60, 0.12), transparent 60%),
    linear-gradient(160deg, #10131699, #0a0d10),
    var(--bg-2);
  display: grid;
  grid-template-columns: minmax(300px, 1.2fr) minmax(220px, 0.8fr);
  gap: 30px;
  overflow: hidden;
  padding: clamp(34px, 5vw, 70px);
}
.cta-copy h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); margin-bottom: 20px; }
.cta-copy > p { color: var(--muted); max-width: 480px; margin-bottom: 22px; }
.check-list { list-style: none; margin-bottom: 34px; }
.check-list li {
  padding: 10px 0 10px 34px;
  position: relative;
  color: var(--text);
}
.check-list li::before {
  content: "✦";
  position: absolute;
  left: 4px;
  color: var(--amber);
}
.cta-art {
  position: relative;
  min-height: 240px;
  pointer-events: none;
}
.sun-disc {
  position: absolute;
  top: 8%;
  right: 12%;
  width: clamp(90px, 10vw, 150px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 38% 35%, #ffe2ae, #ff9d47 55%, #ff8a3d);
  box-shadow: 0 0 70px rgba(255, 160, 66, 0.55), 0 0 160px rgba(255, 140, 60, 0.3);
  animation: sunFloat 7s ease-in-out infinite;
}
@keyframes sunFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}
.field-rows {
  position: absolute;
  inset: auto 0 0 0;
  height: 55%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 14px;
}
.field-rows span {
  display: block;
  height: 10px;
  border-radius: 4px;
  background: repeating-linear-gradient(
    90deg,
    rgba(255, 184, 77, 0.30) 0 26px,
    transparent 26px 36px
  );
  transform: perspective(300px) rotateX(45deg);
}
.field-rows span:nth-child(odd) { opacity: 0.55; }

/* ============================================================
   Investice
   ============================================================ */
.invest-grid { max-width: 900px; }
.invest-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }

/* ============================================================
   Čísla
   ============================================================ */
.stats-band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-2);
  padding-top: clamp(50px, 8vh, 90px);
  padding-bottom: clamp(50px, 8vh, 90px);
}
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  text-align: center;
}
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 5.2rem);
  font-weight: 700;
  display: block;
  background: var(--grad-warm);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1.1;
}
.stat-label {
  color: var(--muted);
  font-size: 14.5px;
  letter-spacing: 0.06em;
}

/* ============================================================
   Kontakt
   ============================================================ */
.contact { text-align: left; }
.contact-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 34px;
}
.phone-link {
  font-family: var(--font-display);
  font-size: clamp(2rem, 6.4vw, 4.6rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  width: fit-content;
  position: relative;
  transition: color 0.3s ease;
}
.phone-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 4px;
  height: 3px;
  width: 0;
  background: var(--grad-warm);
  transition: width 0.4s ease;
}
.phone-link:hover { color: var(--amber); }
.phone-link:hover::after { width: 100%; }
.email-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 22px 60px;
  margin-bottom: 38px;
}
.email-link {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.25rem, 3vw, 1.9rem);
  letter-spacing: -0.01em;
  width: fit-content;
  position: relative;
  transition: color 0.3s ease;
}
.email-tag {
  display: block;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 5px;
}
.email-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 2px;
  height: 2px;
  width: 0;
  background: var(--grad-warm);
  transition: width 0.4s ease;
}
.email-link:hover { color: var(--amber); }
.email-link:hover::after { width: 100%; }

.contact-ids { color: var(--muted); font-size: 14px; letter-spacing: 0.04em; }

/* ============================================================
   Patička
   ============================================================ */
.footer { border-top: 1px solid var(--line); padding: 46px var(--pad) 30px; }
.footer-brand {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 30px;
}
.footer-brand .logo-icon { width: 54px; height: 54px; border-radius: 11px; }
.footer-brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.footer-brand-text .logo-word { font-size: 32px; }
.footer-brand-text .logo-sub2 { font-size: 12.5px; margin-top: 3px; }
.brand-arrow {
  display: block;
  width: 200px;
  max-width: 52vw;
  height: 3px;
  background: var(--gold);
  position: relative;
  margin: 10px 0 8px;
}
.brand-arrow::after {
  content: "";
  position: absolute;
  right: -1px;
  top: 50%;
  transform: translateY(-50%);
  border-left: 9px solid var(--gold);
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
}
.brand-tagline { font-size: 13.5px; color: var(--muted); letter-spacing: 0.04em; }
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 13.5px;
  border-top: 1px solid var(--line);
  padding-top: 22px;
}
.footer-inner a { transition: color 0.25s ease; }
.footer-inner a:hover { color: var(--amber); }

/* ============================================================
   Responzivita
   ============================================================ */
@media (max-width: 1020px) {
  .charge-rail { display: none; }
  .sec-side { margin-left: 0; text-align: left; }
}

@media (max-width: 880px) {
  .nav-links {
    position: fixed;
    inset: 0;
    background: rgba(6, 8, 10, 0.96);
    backdrop-filter: blur(18px);
    flex-direction: column;
    justify-content: center;
    gap: 30px;
    font-size: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
  }
  .nav-links.open { opacity: 1; pointer-events: auto; }
  .nav-links a { font-size: 20px; }
  .burger { display: flex; position: relative; z-index: 110; }

  .process-track { height: 620vh; }
  .process-grid {
    grid-template-columns: 1fr;
    gap: 14px;
    align-content: center;
  }
  .phase-copy { min-height: 190px; order: 2; }
  .phase p { font-size: 14.5px; }
  .scene-wrap { order: 1; }
  .rail-steps .rail-step { font-size: 0; gap: 0; }
  .rail-steps .rail-step i { width: 9px; height: 9px; }

  .rooftop-grid, .battery-grid { grid-template-columns: 1fr; }
  .cta-panel { grid-template-columns: 1fr; }
  .cta-art { min-height: 190px; }
  .stats { grid-template-columns: 1fr; gap: 40px; }
  .logo-sub2 { display: none; }
  .lang-switch a { padding: 5px 8px; }
}

/* ============================================================
   Omezený pohyb
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { transition: none; opacity: 1; transform: none; }
  .marquee-inner, .mouse span, .cell, .bolt, .sun-disc, .field-dot .pulse { animation: none !important; }
  .cell { opacity: 0.8; }
  #scPower.on .wire { animation: none; }
}
