/* =====================================================================
   Neo Roads — design v3 "Graphite & Signal" (2026-12).
   Everything below the hero film + header and footer.
   Graphite (asphalt) surfaces, amber road-marking accent for the brand,
   cyan only for data, red for violations. Dashed road marking is the
   recurring motif. The hero itself is styled by hero-film.css.
   Old design: css/v1/style.css (page /design-v1).
   ===================================================================== */

:root {
    --amber: #ffb224;
    --amber-2: #ffcb66;
    --amber-soft: rgba(255, 178, 36, 0.12);
    --cyan: #38d6e6;
    --cyan-soft: rgba(56, 214, 230, 0.12);
    --red: #ff4d5e;
    --green: #3ddc97;
    --blue: #6ea8ff;

    --bg: #16181c;
    --bg-2: #1b1e23;
    --bg-3: #111317;
    --card: #1f2227;
    --card-2: #252930;
    --line: #2b2f36;
    --line-2: #393e47;

    --text-main: #f3f4f6;
    --text: #b6bcc6;
    --text-muted: #858c97;

    /* names kept for inline svg attributes in index.php */
    --primary-color: var(--amber);
    --secondary-color: var(--cyan);
    --violet: var(--cyan);

    --font-main: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --font-head: 'Space Grotesk', 'Inter', system-ui, sans-serif;
    --font-mono: 'JetBrains Mono', ui-monospace, 'Cascadia Mono', Consolas, monospace;
    --font-display: 'Orbitron', 'Inter', sans-serif;   /* hero only */

    --radius: 16px;
    --radius-s: 12px;
    --ease: cubic-bezier(.2, .7, .2, 1);
    --transition-speed: 0.3s;
    --dash: repeating-linear-gradient(90deg, var(--amber) 0 14px, transparent 14px 26px);
    --dash-v: repeating-linear-gradient(180deg, var(--amber) 0 14px, transparent 14px 26px);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { overflow-x: hidden; max-width: 100vw; scroll-behavior: smooth; scroll-padding-top: 72px; }

body {
    background: var(--bg);
    color: var(--text-main);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
    max-width: 100vw;
    -webkit-font-smoothing: antialiased;
    counter-reset: sec;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-head);
    font-weight: 600;
    color: var(--text-main);
    letter-spacing: -0.01em;
    line-height: 1.25;
}

a { text-decoration: none; color: inherit; transition: color var(--transition-speed); }
strong { color: var(--text-main); font-weight: 600; }
::selection { background: rgba(255, 178, 36, 0.35); color: #fff; }

.container { max-width: 1240px; margin: 0 auto; padding: 0 32px; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: 13px 26px;
    border-radius: 10px;
    font: 600 0.95rem/1 var(--font-head);
    letter-spacing: 0.01em;
    cursor: pointer;
    border: 1px solid transparent;
    transition: background .25s, color .25s, border-color .25s, transform .25s var(--ease);
}
.btn-primary { background: var(--amber); color: #17140c; border-color: var(--amber); }
.btn-primary:hover { background: var(--amber-2); border-color: var(--amber-2); transform: translateY(-1px); }
/* header: client zone (platform demo at /app) */
.btn-zone { background: rgba(255, 178, 36, 0.06); color: var(--amber); border-color: rgba(255, 178, 36, 0.55); }
.btn-zone:hover { background: rgba(255, 178, 36, 0.14); border-color: var(--amber); transform: translateY(-1px); }
.btn-zone::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 8px var(--amber); }
.mobile-menu a.mm-zone { color: var(--amber); }
@media (max-width: 1180px) and (min-width: 1025px) {
    .nav-actions { gap: 10px; }
    .nav-actions .btn { padding: 9px 12px; font-size: 0.82rem; }
    .btn-zone::before { display: none; }
    .hdr-flags { display: none; }
}

/* ---------- Header ---------- */
.site-header {
    position: fixed; top: 0; left: 0; width: 100%; max-width: 100vw;
    z-index: 1000;
    padding: 16px 0;
    background: linear-gradient(180deg, rgba(14, 15, 18, 0.7), rgba(14, 15, 18, 0));
    border-bottom: 1px solid transparent;
    transition: padding .3s var(--ease), background .3s, border-color .3s;
}
.site-header.scrolled { padding: 10px 0; background: transparent; border-bottom-color: var(--line); }
/* blur lives on a pseudo-element: backdrop-filter on the header itself would
   make the fixed mobile menu (a child of the header) size to the header */
.site-header::before {
    content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background: rgba(22, 24, 28, 0.88);
    backdrop-filter: blur(14px) saturate(130%);
    -webkit-backdrop-filter: blur(14px) saturate(130%);
    opacity: 0; transition: opacity .3s;
}
.site-header.scrolled::before { opacity: 1; }
nav { display: flex; justify-content: space-between; align-items: center; gap: 24px; width: 100%; min-width: 0; }
.logo {
    font: 700 1.16rem/1 var(--font-head);
    letter-spacing: 0.1em;
    color: var(--text-main);
    display: inline-flex; align-items: center; gap: 11px;
    flex-shrink: 1; min-width: 0; white-space: nowrap;
}
.logo::before {
    content: ''; width: 32px; height: 32px; flex: 0 0 32px;
    background: url('../img/logo-mark.svg') center / contain no-repeat;
}
.nav-links { display: flex; gap: 2px; }
.nav-links a {
    position: relative;
    font-size: 0.9rem; font-weight: 500; color: rgba(236, 238, 242, 0.72);
    padding: 8px 13px; border-radius: 8px; transition: color .2s, background .2s;
}
.nav-links a:hover { color: #fff; background: rgba(255, 255, 255, 0.05); }
.nav-links a::after {
    content: ''; position: absolute; left: 13px; right: 13px; bottom: 2px; height: 2px; border-radius: 2px;
    background: var(--amber); transform: scaleX(0); transition: transform .3s var(--ease);
}
.nav-links a.is-active { color: #fff; }
.nav-links a.is-active::after { transform: scaleX(1); }
.nav-actions { display: flex; align-items: center; gap: 16px; flex-shrink: 0; min-width: 0; }
.nav-actions .btn { padding: 10px 18px; font-size: 0.88rem; }
.lang-switch { display: inline-flex; align-items: center; gap: 2px; font-family: var(--font-mono); }
.lang-switch span { opacity: 0.5; }
.lang-switch button {
    background: none; border: none; cursor: pointer;
    color: var(--text-muted);
    font: 600 0.8rem/1 var(--font-mono);
    padding: 6px 5px; border-radius: 6px;
    transition: color .2s;
}
.lang-switch button:hover { color: #fff; }
.lang-switch button.active { color: var(--amber); }

.mobile-menu-toggle {
    display: none; flex-direction: column; justify-content: space-between;
    width: 26px; height: 18px; background: none; border: none; cursor: pointer; z-index: 1001;
}
.mobile-menu-toggle span { display: block; width: 100%; height: 2px; background: #fff; border-radius: 2px; transition: .3s var(--ease); }
.mobile-menu-toggle.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.mobile-menu-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-menu-toggle.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
.mobile-menu {
    position: fixed; inset: 0; height: 100vh; height: 100dvh;
    background: var(--bg);
    display: flex; flex-direction: column; align-items: flex-start; justify-content: center;
    gap: 4px; padding: 0 30px;
    transform: translateX(100%); transition: transform .45s var(--ease);
    z-index: 1000;
}
.mobile-menu::before { content: ''; position: absolute; left: 30px; right: 30px; top: 96px; height: 3px; background: var(--dash); opacity: 0.8; }
.mobile-menu.active { transform: translateX(0); }
.mobile-menu a {
    font: 600 1.7rem/1.2 var(--font-head); color: var(--text-main); letter-spacing: -0.01em;
    padding: 12px 0; width: 100%; border-bottom: 1px solid var(--line);
}
.mobile-menu a:hover { color: var(--amber); }

/* ---------- Hero base (details in hero-film.css; the hero keeps its own look) ---------- */
.hero {
    height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center;
    text-align: center; position: relative; overflow: hidden; background: #020205;
}
.hero-content { position: relative; z-index: 10; max-width: 900px; padding: 40px; }
.hero h1 {
    font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em;
    font-size: 4.5rem; margin-bottom: 20px; line-height: 1.1; text-shadow: 0 0 30px rgba(0, 243, 255, 0.8);
}
.hero p { font-size: 1.2rem; margin-bottom: 40px; color: var(--text-muted); }
.hero .btn-primary {        /* the hero keeps its original cyan HUD button */
    border-radius: 999px; padding: 12px 28px;
    font: 700 0.82rem/1 var(--font-display); letter-spacing: 0.12em; text-transform: uppercase;
    color: #00f3ff; border-color: rgba(0, 243, 255, 0.7);
    box-shadow: inset 0 0 18px rgba(0, 243, 255, 0.08);
}
.hero .btn-primary:hover { background: #00f3ff; color: #031015; box-shadow: 0 0 28px rgba(0, 243, 255, 0.55); transform: none; }

/* =====================================================================
   Sections
   ===================================================================== */
main.v2 { position: relative; }
.sec { position: relative; padding: 120px 0; counter-increment: sec; background: var(--bg); }
.sec-problem, .sec-solution, .sec-invest, .sec-funding, .sec-eu, .sec-sources { background: var(--bg-2); }
.sec-how, .sec-roadmap, .sec-contact { background: var(--bg-3); }
.sec-summary { padding-top: 132px; }

/* ---------- Section head ---------- */
.sec-head { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; margin-bottom: 64px; max-width: 900px; }
.sec-head::before {           /* "03" + dashed road marking */
    content: counter(sec, decimal-leading-zero);
    font: 600 0.8rem/1 var(--font-mono); letter-spacing: 0.08em; color: var(--amber);
    padding-right: 66px;
    background: var(--dash) right center / 52px 2px no-repeat;
}
.sec-head-center { align-items: center; text-align: center; margin-left: auto; margin-right: auto; }
.sec-head-center::before { padding: 0 66px; background: var(--dash) left center / 52px 2px no-repeat, var(--dash) right center / 52px 2px no-repeat; }
.sec-head-split { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); column-gap: 72px; row-gap: 18px; max-width: none; align-items: end; }
.sec-head-split::before { grid-column: 1 / -1; justify-self: start; }

.section-title {
    font: 600 clamp(2.1rem, 4.4vw, 3.6rem)/1.05 var(--font-head);
    letter-spacing: -0.03em;
    color: var(--text-main);
    text-wrap: balance;
}
.lead { font-size: 1.1rem; line-height: 1.75; color: var(--text); }
.lead + .lead { margin-top: 18px; }
.note { margin-top: 18px; font-size: 0.95rem; line-height: 1.7; color: var(--text-muted); padding-left: 16px; border-left: 2px solid var(--red); }
.sec-head .lead { max-width: 760px; }

.sub-title {
    display: flex; align-items: center; gap: 18px;
    font: 600 clamp(1.15rem, 1.8vw, 1.4rem)/1.3 var(--font-head); letter-spacing: -0.01em;
    color: var(--text-main); margin-bottom: 26px;
}
.sub-title::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.sub-title-center { justify-content: center; text-align: center; }
.sub-title-center::before { content: ''; flex: 1; height: 1px; background: var(--line); }

/* ---------- Shared surfaces ---------- */
.kpi, .flow-card, .revenue, .hw-feat, .device, .adopter, .law-card, .map-frame, .invest-card,
.benefit-category, .fund-hero, .funding-breakdown, .fund-list, .capacity, .selffund, .rm-card, .eu-service, .eu-market,
.budget-chip, .phase-card, .src-card, .contact-form-wrapper {
    position: relative;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}
.sec-problem .vio, .why-card { position: relative; }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* small mono label used by several blocks */
.kpi-src, .bchip-label, .eu-market h4, .device h4 { font-family: var(--font-mono); }

/* =====================================================================
   01 Summary
   ===================================================================== */
.summary-layout { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 80px; align-items: start; }
.summary-lead .lead:first-child { font: 400 1.38rem/1.6 var(--font-head); letter-spacing: -0.01em; color: #e9ebee; }
.summary-lead .lead-2 { margin-top: 30px; padding: 22px 26px; border-radius: var(--radius-s); background: var(--card); border-left: 3px solid var(--amber); font-size: 1rem; }
.kpi-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.kpi {
    display: grid; grid-template-columns: 168px minmax(0, 1fr); gap: 26px; align-items: center;
    padding: 30px 0; background: none; border: 0; border-bottom: 1px solid var(--line); border-radius: 0;
}
.stat-number {
    font: 700 clamp(2.8rem, 4.6vw, 3.9rem)/1 var(--font-head);
    letter-spacing: -0.04em; color: var(--amber);
    font-variant-numeric: tabular-nums;
}
.kpi-proj .stat-number { color: var(--cyan); }
.kpi-body h4 { font-size: 1.08rem; margin-bottom: 6px; }
.kpi-body p { font-size: 0.94rem; color: var(--text); line-height: 1.55; }
.kpi-body .kpi-src { margin-top: 8px; font-size: 0.72rem; color: var(--text-muted); }

/* =====================================================================
   02 Problem — violations as one table-like grid
   ===================================================================== */
.violations {
    display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; counter-reset: vio;
    background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
.vio {
    counter-increment: vio;
    padding: 30px 26px 32px;
    background: var(--bg-2);
    transition: background .3s;
}
.vio::before {
    content: counter(vio, decimal-leading-zero);
    display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px;
    font: 600 0.76rem/1 var(--font-mono); color: var(--red); letter-spacing: 0.06em;
}
.vio::after {               /* thin red marker that grows on hover */
    content: ''; position: absolute; left: 0; top: 0; height: 2px; width: 34px; background: var(--red);
    transition: width .4s var(--ease);
}
.vio h3 { font-size: 1.08rem; line-height: 1.3; margin-bottom: 10px; }
.vio p { font-size: 0.92rem; line-height: 1.65; color: var(--text); }
.vio:hover { background: #20232a; }
.vio:hover::after { width: 100%; }
.vio-wide { grid-column: span 2; }
.vio-wide p { font-size: 0.98rem; max-width: 560px; }

/* =====================================================================
   03 How it works — steps on a road + revenue split
   ===================================================================== */
.flow { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; position: relative; margin-bottom: 48px; }
.flow::before {             /* dashed road marking through the steps */
    content: ''; position: absolute; left: 26px; right: 0; top: 25px; height: 3px;
    background: var(--dash); opacity: 0.55;
}
.flow-step { position: relative; display: flex; flex-direction: column; gap: 26px; }
.flow-node {
    position: relative; z-index: 1;
    width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center;
    background: var(--amber);
    box-shadow: 0 0 0 8px var(--bg-3);
}
.step-number { font: 700 1.3rem/1 var(--font-head); color: #17140c; }
.flow-card { padding: 0; flex: 1; background: none; border: 0; border-radius: 0; }
.flow-card h4 { font-size: 1.25rem; margin-bottom: 10px; }
.flow-card p { font-size: 0.95rem; color: var(--text); line-height: 1.65; }

.revenue { padding: 36px 40px; display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 44px; align-items: center; background: var(--card); }
.revenue-head { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.revenue-head .flow-node { box-shadow: none; }
.revenue-head h4 { font-size: 1.5rem; line-height: 1.2; letter-spacing: -0.02em; }
.revenue-items { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.rev-item { padding: 0; }
.rev-top { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.revenue-icon { width: 32px; height: 32px; flex: 0 0 32px; padding: 6px; border-radius: 8px; background: var(--card-2); }
.revenue-info { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; flex: 1; min-width: 0; }
.revenue-info strong { font: 500 0.92rem/1.3 var(--font-main); color: var(--text); }
.revenue-percent { font: 700 2.3rem/1 var(--font-head); letter-spacing: -0.03em; color: var(--amber); }
.rev-investor .revenue-percent { color: var(--cyan); }
.rev-org .revenue-percent { color: var(--text-main); }
.rev-bar { height: 6px; border-radius: 6px; background: var(--card-2); overflow: hidden; }
.rev-bar i { display: block; height: 100%; width: calc(var(--p) * 1%); border-radius: 6px; background: var(--amber); transform-origin: left; }
.rev-investor .rev-bar i { background: var(--cyan); }
.rev-org .rev-bar i { background: #9aa1ac; }
.js .reveal .rev-bar i, .js .reveal .funding-bar i { transform: scaleX(0); transition: transform 1.3s var(--ease) .2s; }
.js .reveal.in .rev-bar i, .js .reveal.in .funding-bar i { transform: scaleX(1); }

/* =====================================================================
   04 Solution — dashcam hardware
   ===================================================================== */
.hw-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 20px; align-items: stretch; }
.hw-features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.hw-feat { padding: 28px 26px; transition: border-color .3s; }
.hw-feat:hover { border-color: var(--line-2); }
.hw-feat h4, .adopter h4, .why-card h4, .benefit-category h3 { font-size: 1.08rem; line-height: 1.35; }
.hw-feat h4 { margin-bottom: 10px; }
.hw-feat p { font-size: 0.93rem; color: var(--text); line-height: 1.65; }

.device {
    padding: 44px 34px; text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: center;
    background: linear-gradient(180deg, #262a31, #1f2227 60%);
    border-color: var(--line-2);
    overflow: hidden;
}
.device::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--dash); }
.device-lens {
    position: relative; width: 92px; height: 92px; border-radius: 50%; margin-bottom: 26px;
    background: radial-gradient(circle at 38% 34%, rgba(255, 255, 255, 0.5) 0 4%, transparent 9%),
                radial-gradient(circle, #0b0d10 0 30%, #2c3a44 31% 40%, #0d0f12 41% 54%, #2a2e35 55% 100%);
    border: 3px solid #353a43;
    box-shadow: 0 14px 30px -12px rgba(0, 0, 0, 0.8);
}
.device-lens i { position: absolute; right: 2px; top: 8px; width: 10px; height: 10px; border-radius: 50%; background: var(--red); box-shadow: 0 0 10px var(--red); animation: rec 1.4s steps(2) infinite; }
@keyframes rec { 50% { opacity: 0.2; } }
.device h4 { font-size: 0.78rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-muted); }
.device-price {
    font: 700 clamp(2.2rem, 3.6vw, 3.1rem)/1.05 var(--font-head); letter-spacing: -0.03em; margin: 14px 0 18px; white-space: nowrap;
    color: var(--amber);
}
.device p { color: var(--text); font-size: 0.98rem; max-width: 360px; }
.device-badges { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 26px; }
.feature-badge { font-size: 0.82rem; font-weight: 500; color: var(--text-main); padding: 7px 13px; border-radius: 8px; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line-2); }

/* 3D dashcam (js/dashcam-3d.js, created by JS; .device-lens stays as the no-WebGL fallback) */
.device.dc3d-on { justify-content: flex-start; }
@media (min-width: 1025px) {
    .hw-grid:has(.dc3d) { grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr); }
    .hw-grid:has(.dc3d) .hw-features { grid-template-columns: 1fr; grid-auto-rows: 1fr; gap: 16px; }
    .hw-grid:has(.dc3d) .hw-feat { padding: 22px 26px; display: flex; flex-direction: column; justify-content: center; }
    .hw-grid:has(.dc3d) .dc3d { height: 440px; }
}
.device.dc3d-on .device-lens { display: none; }
.device.dc3d-on::before { z-index: 4; }
.dc3d {
    position: relative; flex: none; width: calc(100% + 68px); height: 410px; margin: -44px -34px 34px;
    background: radial-gradient(110% 85% at 50% 42%, #22262d 0%, #17191d 58%, #121418 100%);
    border-bottom: 1px solid var(--line-2); overflow: hidden; text-align: left;
    user-select: none; -webkit-user-select: none; -webkit-tap-highlight-color: transparent;
}
.dc3d canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: pan-y; cursor: grab; transition: opacity .26s ease; }
.dc3d.dragging canvas { cursor: grabbing; }
.dc3d.is-fading canvas, .dc3d.is-fading .dc3d-tags, .dc3d.is-fading .dc3d-hud { opacity: 0; }
.dc3d-tags { position: absolute; inset: 0; pointer-events: none; z-index: 2; transition: opacity .26s; }
.dc3d-tag {
    --c: #d9dde3; position: absolute; left: 0; top: 0; display: flex; align-items: center; gap: 7px;
    font: 600 0.66rem/1 var(--font-mono); letter-spacing: 0.02em; color: var(--text-main); white-space: nowrap;
    margin: -11px 0 0 -4px; transition: opacity .3s; will-change: transform;
}
.dc3d-tag.z0 { --c: var(--cyan); } .dc3d-tag.z1 { --c: var(--amber); } .dc3d-tag.z2 { --c: var(--red); }
.dc3d-tag i { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 3px rgba(17, 19, 23, 0.7), 0 0 12px var(--c); }
.dc3d-tag span { padding: 6px 9px; border-radius: 7px; background: rgba(15, 17, 20, 0.86); border: 1px solid var(--line-2); border-left: 2px solid var(--c); }
.dc3d-tag.z2 span { color: #ffd5d9; }
.dc3d-tag.to-l { flex-direction: row-reverse; margin-left: 0; transform-origin: right center; }
.dc3d-tag.to-l { translate: calc(-100% + 4px) 0; }
.dc3d-tag.to-l span { border-left: 1px solid var(--line-2); border-right: 2px solid var(--c); }
.dc3d-tag.off { opacity: 0; }
.dc3d-tag.gps span { color: var(--cyan); }
.dc3d-hud {
    position: absolute; left: 16px; top: 20px; z-index: 2; display: none; min-width: 182px; padding: 10px 12px; border-radius: 10px;
    background: rgba(15, 17, 20, 0.8); border: 1px solid var(--line-2); font: 500 0.66rem/1.25 var(--font-mono); color: var(--text);
    pointer-events: none; transition: opacity .26s;
}
.dc3d[data-mode="2"] .dc3d-hud { display: block; }
.dc3d-hud .r { display: flex; justify-content: space-between; gap: 14px; padding: 3px 0; }
.dc3d-hud .r b { font-weight: 500; color: var(--text-muted); }
.dc3d-hud .r em { font-style: normal; font-weight: 600; color: var(--text-main); }
.dc3d-hud .r:nth-child(2) em { color: var(--cyan); }
.dc3d-hud .z0 em { color: var(--cyan); } .dc3d-hud .z1 em { color: var(--amber); } .dc3d-hud .z2 em { color: var(--red); }
.dc3d-hud .rec { justify-content: flex-start; gap: 7px; color: var(--text-main); font-weight: 600; padding-bottom: 6px; }
.dc3d-hud .rec i { width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 8px var(--red); animation: rec 1.4s steps(2) infinite; align-self: center; }
.dc3d-hud .lg { display: flex; gap: 10px; margin-top: 7px; padding-top: 7px; border-top: 1px solid var(--line-2); font-size: 0.6rem; }
.dc3d-hud .lg span::before { content: ''; display: inline-block; width: 7px; height: 7px; border-radius: 2px; margin-right: 4px; background: var(--cyan); vertical-align: -0.5px; }
.dc3d-hud .lg .z1::before { background: var(--amber); } .dc3d-hud .lg .z2::before { background: var(--red); }
.dc3d-hint, .dc3d-alert {
    position: absolute; left: 12px; right: 12px; bottom: 66px; z-index: 2; text-align: center; pointer-events: none;
    font: 500 0.66rem/1.35 var(--font-mono); letter-spacing: 0.05em; color: var(--text-muted); transition: opacity .35s;
}
.dc3d.is-awake[data-mode="0"] .dc3d-hint { opacity: 0.35; }
.dc3d[data-mode="2"] .dc3d-hint { opacity: 0; }
.dc3d-alert { left: 50%; right: auto; translate: -50% 0; opacity: 0; color: #fff; font-weight: 600; white-space: nowrap; padding: 7px 12px; border-radius: 8px; background: rgba(255, 77, 94, 0.18); border: 1px solid rgba(255, 77, 94, 0.65); }
.dc3d-alert::before { content: '⚠ '; color: var(--red); }
.dc3d-alert.on { opacity: 1; }
.dc3d-tabs {
    position: absolute; left: 50%; bottom: 14px; translate: -50% 0; z-index: 3; display: flex; gap: 3px; padding: 4px;
    border-radius: 11px; background: rgba(15, 17, 20, 0.84); border: 1px solid var(--line-2); max-width: calc(100% - 20px);
}
.dc3d-tabs button {
    font: 600 0.7rem/1 var(--font-mono); letter-spacing: 0.03em; color: var(--text); background: none; border: 0;
    padding: 9px 12px; border-radius: 8px; cursor: pointer; white-space: nowrap; transition: color .2s, background .2s;
}
.dc3d-tabs button:hover { color: var(--text-main); background: rgba(255, 255, 255, 0.05); }
.dc3d-tabs button.on { color: #16181c; background: var(--amber); }
.dc3d-tabs button:focus-visible { outline: 2px solid var(--cyan); outline-offset: 1px; }
.dc3d-load { position: absolute; inset: 0 0 60px; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; opacity: 0; pointer-events: none; transition: opacity .3s; font: 500 0.68rem/1 var(--font-mono); color: var(--text-muted); }
.dc3d-load b { width: 34px; height: 34px; border-radius: 50%; border: 3px solid var(--line-2); border-top-color: var(--amber); animation: dc3dspin 0.9s linear infinite; }
.dc3d.is-loading .dc3d-load { opacity: 1; }
@keyframes dc3dspin { to { transform: rotate(360deg); } }

.adopters { margin-top: 80px; }
.adopter-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.adopter { padding: 30px 28px; overflow: hidden; transition: border-color .3s; }
.adopter::before { content: ''; position: absolute; left: 28px; top: 0; width: 40px; height: 3px; background: var(--ac, var(--amber)); }
.adopter.ad-violet { --ac: var(--cyan); }
.adopter.ad-white { --ac: #d9dde3; }
.adopter:hover { border-color: var(--line-2); }
.adopter h4 { margin-bottom: 10px; }
.adopter p { font-size: 0.93rem; color: var(--text); line-height: 1.65; }

/* =====================================================================
   05 Why now
   ===================================================================== */
.law-card { padding: 34px 40px 34px 44px; max-width: 1000px; margin: 0 auto; overflow: hidden; }
.law-card::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--amber); }
.law-card h3 { font-size: clamp(1.15rem, 1.8vw, 1.4rem); color: var(--text-main); margin-bottom: 14px; }
.law-card p { font-size: 1.04rem; line-height: 1.8; color: var(--text); }
.beyond-card { background: var(--card); }
.beyond-card::before { background: var(--cyan); }

.law-timeline { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 1000px; margin: 56px auto; position: relative; }
.law-timeline::before { content: ''; position: absolute; left: 16.66%; right: 50%; top: 8px; height: 3px; background: var(--dash); }
.law-timeline::after { content: ''; position: absolute; left: 50%; right: 16.66%; top: 9px; height: 1px; background: var(--line-2); }
.lt-item { position: relative; text-align: center; padding: 0 16px; }
.lt-dot { display: block; width: 18px; height: 18px; margin: 0 auto 22px; border-radius: 50%; background: var(--bg); border: 3px solid var(--amber); position: relative; z-index: 1; }
.lt-item:last-child .lt-dot { border-color: var(--line-2); }
.lt-now .lt-dot { background: var(--amber); box-shadow: 0 0 0 6px var(--amber-soft); animation: nowPulse 2.4s ease-in-out infinite; }
@keyframes nowPulse { 50% { box-shadow: 0 0 0 11px rgba(255, 178, 36, 0.04); } }
.lt-item h4 { font: 600 1.15rem/1.2 var(--font-head); color: var(--amber); margin-bottom: 6px; }
.lt-item:last-child h4 { color: var(--text-main); }
.lt-item p { font-size: 0.95rem; color: var(--text); }

.why-grid {
    display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; margin-top: 56px;
    background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
.why-card { padding: 30px 26px; background: var(--bg); transition: background .3s; }
.why-card:hover { background: var(--bg-2); }
.why-card h4 { color: var(--amber); margin-bottom: 12px; }
.why-card.wc-violet h4 { color: var(--cyan); }
.why-card p { font-size: 0.92rem; line-height: 1.65; color: var(--text); }

/* =====================================================================
   06 Investment platform — Czech map
   ===================================================================== */
.map-frame { padding: 0; overflow: hidden; background: radial-gradient(70% 80% at 50% 50%, #1a2229, var(--bg-3) 75%); border-color: var(--line); }
.map-frame::before {        /* fine grid inside the screen */
    content: ''; position: absolute; inset: 0; pointer-events: none;
    background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 32px 32px;
    mask-image: radial-gradient(80% 80% at 50% 50%, #000 40%, transparent 100%);
    -webkit-mask-image: radial-gradient(80% 80% at 50% 50%, #000 40%, transparent 100%);
}
.cz-frame { padding: clamp(18px, 4vw, 54px) clamp(10px, 4vw, 60px); }
.cz-map { position: relative; width: 100%; aspect-ratio: 1000 / 570; }
.cz-svg { display: block; width: 100%; height: 100%; overflow: visible; }
#czFill stop:first-child { stop-color: #1d2b34; }
#czFill stop:last-child { stop-color: #161e25; }
#czFillHover stop:first-child { stop-color: #1d4a55; }
#czFillHover stop:last-child { stop-color: #1b3440; }
.cz-halo path { fill: none; stroke: var(--cyan); stroke-width: 9; opacity: 0.4; }
.cz-edge path { fill: none; stroke: rgba(56, 214, 230, 0.85); stroke-width: 2.2; }
.cz-svg #features path {
    fill: url(#czFill);
    stroke: rgba(160, 205, 220, 0.25);
    stroke-width: 1;
    transition: fill .3s, stroke .3s;
    cursor: pointer;
}
.cz-svg #features path:hover, .cz-svg #features path.is-hover { fill: url(#czFillHover); stroke: rgba(56, 214, 230, 0.9); }
.cz-svg #features path[id="CZ10"] { fill: #24404a; }
.cz-scan { pointer-events: none; }
.cz-scan-bar { animation: czScan 7s cubic-bezier(.45, 0, .55, 1) infinite; }
@keyframes czScan { 0% { transform: translateX(0); } 70%, 100% { transform: translateX(1220px); } }
.cz-heat { pointer-events: none; mix-blend-mode: screen; }
.cz-heat circle { fill: url(#czHeat); }
.cz-svg #points { pointer-events: none; filter: url(#czDotGlow); }
.cz-svg .investment-point {
    fill: var(--cyan);
    stroke: none;
    opacity: 0.85;
    transform-box: fill-box; transform-origin: center;
    animation: invPulse 2.4s infinite ease-in-out;
}
@keyframes invPulse { 0%, 100% { opacity: 0.45; fill: var(--cyan); } 50% { opacity: 1; fill: #e9feff; } }
.cz-svg #label_points circle { display: none; }
.cz-hubs { pointer-events: none; }
.cz-hubs .hub-core { fill: var(--amber); filter: url(#czDotGlow); }
.cz-hubs .hub-ring { fill: none; stroke: var(--amber); stroke-width: 1.4; transform-box: fill-box; transform-origin: center; animation: hubRing 3s ease-out infinite; }
.cz-hubs .hub-ring.r2 { animation-delay: 1.5s; }
@keyframes hubRing { 0% { transform: scale(0.3); opacity: 0.9; } 100% { transform: scale(1.6); opacity: 0; } }

.map-tip {
    position: absolute; z-index: 5; pointer-events: none;
    transform: translate(-50%, calc(-100% - 14px));
    padding: 7px 11px; border-radius: 8px;
    font: 600 0.78rem/1.2 var(--font-head); white-space: nowrap;
    color: #17140c; background: var(--amber);
    box-shadow: 0 8px 20px -8px rgba(0, 0, 0, 0.8);
    opacity: 0; transition: opacity .2s;
}
.map-tip.on { opacity: 1; }

.invest-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 20px; }
.invest-card { padding: 30px 28px; }
.invest-card h4 { font-size: 1.08rem; margin-bottom: 10px; }
.invest-card p { font-size: 0.93rem; color: var(--text); line-height: 1.65; }
.invest-range { font: 700 1.9rem/1.15 var(--font-head); letter-spacing: -0.03em; color: var(--amber); margin-bottom: 10px; }
.ic-range { border-color: rgba(255, 178, 36, 0.35); background: linear-gradient(180deg, rgba(255, 178, 36, 0.07), var(--card) 70%); }

/* =====================================================================
   07 Benefits
   ===================================================================== */
.benefits-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.benefit-category { padding: 30px 26px; overflow: hidden; }
.benefit-category::before { content: ''; position: absolute; left: 26px; top: 0; width: 40px; height: 3px; background: var(--bc, var(--amber)); }
.bc-investors { --bc: var(--cyan); }
.bc-drivers { --bc: var(--blue); }
.bc-society { --bc: var(--green); }
.benefit-category h3 { margin-bottom: 16px; }
.benefit-list { list-style: none; display: grid; gap: 0; }
.benefit-list li { position: relative; padding: 11px 0 11px 26px; font-size: 0.92rem; line-height: 1.5; color: var(--text); border-top: 1px solid var(--line); }
.benefit-list li::before { content: ''; position: absolute; left: 1px; top: 15px; width: 6px; height: 10px; border: solid var(--bc, var(--amber)); border-width: 0 2px 2px 0; transform: rotate(45deg); }

/* =====================================================================
   08 Funding
   ===================================================================== */
.fund-hero {
    padding: 64px 32px 60px; text-align: center; overflow: hidden; margin-bottom: 64px;
    background: var(--card); border-color: var(--line-2);
}
.fund-hero::after { content: ''; position: absolute; left: 32px; right: 32px; bottom: 26px; height: 3px; background: var(--dash); opacity: 0.7; }
.fund-orbit { display: none; }
.fund-amount {
    position: relative; font: 700 clamp(2.1rem, 6.6vw, 5.2rem)/1.02 var(--font-head); letter-spacing: -0.04em; margin-bottom: 14px;
    color: var(--amber);
    font-variant-numeric: tabular-nums;
}
.fund-note { position: relative; font-size: clamp(1rem, 1.6vw, 1.2rem); color: var(--text); }

.funding-breakdown { padding: 6px 36px; margin-bottom: 56px; }
.funding-item {
    display: grid; grid-template-columns: 92px minmax(0, 1.2fr) minmax(0, 1fr); grid-template-areas: "pct name bar" "pct desc bar";
    column-gap: 28px; row-gap: 4px; align-items: center;
    padding: 22px 0; border-bottom: 1px solid var(--line);
}
.funding-item:last-child { border-bottom: 0; }
.funding-details { display: contents; }
.funding-details h4 { grid-area: name; font-size: 1.04rem; align-self: end; }
.funding-percent { grid-area: pct; font: 700 2rem/1 var(--font-head); letter-spacing: -0.03em; color: var(--amber); font-variant-numeric: tabular-nums; }
.funding-details p { grid-area: desc; font-size: 0.88rem; color: var(--text-muted); align-self: start; }
.funding-bar { grid-area: bar; height: 8px; border-radius: 8px; background: var(--card-2); overflow: hidden; }
.funding-bar i { display: block; height: 100%; width: calc(var(--p) * 100% / 26); border-radius: 8px; background: var(--amber); transform-origin: left; }

.fund-split { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 20px; align-items: stretch; }
.fund-col { display: flex; flex-direction: column; }
.fund-split-title { font-size: 1.15rem; margin-bottom: 16px; line-height: 1.4; }
.fund-list { padding: 14px 28px; flex: 1; }
.fund-list ul { list-style: none; }
.fund-list li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; font-size: 0.94rem; color: var(--text); border-bottom: 1px solid var(--line); }
.fund-list li:last-child { border-bottom: 0; }
.fund-list li strong { color: var(--amber); font: 600 0.95rem/1.4 var(--font-head); white-space: nowrap; }
.capacity { padding: 34px 30px; align-self: end; height: calc(100% - 40px); }
.capacity-icon {
    width: 44px; height: 44px; border-radius: 12px; margin-bottom: 18px;
    background: var(--cyan-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2338d6e6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21c0-4.4 3.6-7 8-7s8 2.6 8 7'/%3E%3C/svg%3E") center / 22px no-repeat;
}
.capacity h4 { font-size: 1.15rem; color: var(--text-main); margin-bottom: 12px; }
.capacity p { font-size: 0.95rem; line-height: 1.75; color: var(--text); }
.selffund { margin-top: 20px; padding: 40px; text-align: center; overflow: hidden; background: var(--amber); border-color: var(--amber); }
.selffund h4 { font-size: 1.4rem; letter-spacing: -0.02em; margin-bottom: 10px; color: #17140c; }
.selffund p { font-size: 1.06rem; color: #3a2f12; max-width: 860px; margin: 0 auto; }
.selffund strong { color: #17140c; }

/* =====================================================================
   09 Roadmap
   ===================================================================== */
.roadmap { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; position: relative; }
.roadmap::before { content: ''; position: absolute; left: 0; right: 0; top: 15px; height: 3px; background: var(--dash); opacity: 0.6; }
.rm-phase { display: flex; flex-direction: column; gap: 26px; }
.rm-marker { position: relative; width: 32px; height: 32px; border-radius: 9px; background: var(--mk, var(--amber)); display: grid; place-items: center; z-index: 1; box-shadow: 0 0 0 8px var(--bg-3); }
.rm-marker i { width: 10px; height: 10px; border-radius: 50%; background: var(--bg-3); }
.rm-2 { --mk: var(--cyan); }
.rm-3 { --mk: #d9dde3; }
.rm-card { padding: 30px 28px; flex: 1; }
.rm-card h3 { font-size: 1.15rem; line-height: 1.35; color: var(--text-main); margin-bottom: 16px; }
.rm-card ul { list-style: none; display: grid; gap: 0; }
.rm-card li { position: relative; padding: 10px 0 10px 22px; font-size: 0.92rem; line-height: 1.5; color: var(--text); border-top: 1px solid var(--line); }
.rm-card li::before { content: ''; position: absolute; left: 2px; top: 18px; width: 8px; height: 2px; background: var(--mk, var(--amber)); }

/* =====================================================================
   10 EU expansion — Europe map
   ===================================================================== */
.eu-layout { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 56px; align-items: start; }
.eu-title { font-size: clamp(1.25rem, 2vw, 1.6rem); letter-spacing: -0.02em; line-height: 1.3; margin-bottom: 16px; }
.eu-text .lead { margin-bottom: 30px; }
.eu-services { display: grid; gap: 0; counter-reset: svc; border-top: 1px solid var(--line); }
.eu-service { counter-increment: svc; padding: 20px 0 20px 56px; background: none; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; }
.eu-service::before { content: counter(svc, decimal-leading-zero); position: absolute; left: 0; top: 22px; font: 600 0.85rem/1 var(--font-mono); color: var(--amber); }
.eu-service h4 { font-size: 1.05rem; margin-bottom: 4px; }
.eu-service p { font-size: 0.9rem; color: var(--text-muted); }

.eu-frame { border-color: var(--line); }
.eu-map { position: relative; width: 100%; aspect-ratio: 470 / 340; }
.europe-map { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.country-path { stroke-linejoin: round; transition: fill .3s, stroke .3s; }
.country-path.non-eu { fill: rgba(255, 255, 255, 0.02); stroke: rgba(255, 255, 255, 0.1); stroke-width: 0.6; }
.country-path.eu { fill: rgba(160, 200, 215, 0.07); stroke: rgba(160, 205, 220, 0.3); stroke-width: 0.7; }
.country-path.eu:hover { fill: rgba(160, 200, 215, 0.14); }
.country-path.pilot { fill: rgba(255, 178, 36, 0.2); stroke: rgba(255, 190, 70, 0.95); stroke-width: 1.1; }
.country-path.next { fill: rgba(61, 220, 151, 0.12); stroke: rgba(61, 220, 151, 0.8); stroke-width: 1; stroke-dasharray: 3 2.5; }
.country-path.pioneer { fill: rgba(56, 214, 230, 0.4); stroke: #a6f3fb; stroke-width: 1.4; filter: url(#euGlow); animation: pioneerGlow 3s ease-in-out infinite; }
@keyframes pioneerGlow { 50% { stroke: #fff; } }
.eu-links path { fill: none; stroke: rgba(255, 190, 70, 0.9); stroke-width: 1.2; stroke-linecap: round; stroke-dasharray: 2 5; animation: linkFlow 1.6s linear infinite; }
.eu-links .eu-link-fr { stroke: rgba(61, 220, 151, 0.9); }
@keyframes linkFlow { to { stroke-dashoffset: -14; } }

.map-points-container { position: absolute; inset: 0; pointer-events: none; }
.map-point {
    position: absolute; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%;
    background: #fff; box-shadow: 0 0 0 3px rgba(255, 178, 36, 0.5);
    font-size: 0; color: transparent; pointer-events: auto; cursor: default;
}
.map-point::before {        /* pulse ring */
    content: ''; position: absolute; left: 50%; top: 50%; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%;
    border: 1px solid rgba(255, 190, 70, 0.8); animation: mpPulse 2.6s ease-out infinite;
}
.map-point::after {         /* country label (from the data-lang-* attribute of the current language) */
    content: attr(data-lang-cs);
    position: absolute; white-space: nowrap;
    font: 600 0.7rem/1 var(--font-head); color: var(--text-main);
    padding: 5px 8px; border-radius: 6px; background: rgba(17, 19, 23, 0.9); border: 1px solid var(--line-2);
}
body.lang-en .map-point::after { content: attr(data-lang-en); }
.map-point.lbl-t::after { left: 50%; bottom: 16px; transform: translateX(-50%); }
.map-point.lbl-b::after { left: 50%; top: 16px; transform: translateX(-50%); }
.map-point.lbl-l::after { right: 16px; top: 50%; transform: translateY(-50%); }
.map-point.lbl-r::after { left: 16px; top: 50%; transform: translateY(-50%); }
.map-point.mp-cz { width: 14px; height: 14px; margin: -7px 0 0 -7px; box-shadow: 0 0 0 4px rgba(56, 214, 230, 0.55), 0 0 18px var(--cyan); z-index: 2; }
.map-point.mp-cz::before { border-color: var(--cyan); width: 48px; height: 48px; margin: -24px 0 0 -24px; }
.map-point.mp-cz::after { color: #0f1a1c; background: var(--cyan); border-color: var(--cyan); font-size: 0.74rem; }
.map-point.available { box-shadow: 0 0 0 3px rgba(61, 220, 151, 0.5); }
.map-point.available::before { border-color: rgba(61, 220, 151, 0.8); }
.map-point.available::after { border-color: rgba(61, 220, 151, 0.6); }
@keyframes mpPulse { 0% { transform: scale(0.3); opacity: 1; } 100% { transform: scale(1.3); opacity: 0; } }

.eu-market { margin-top: 20px; padding: 24px 28px; display: grid; grid-template-columns: auto auto; grid-template-areas: "label num" "desc num"; justify-content: space-between; align-items: center; column-gap: 24px; row-gap: 4px; }
.eu-market h4 { grid-area: label; font-size: 0.74rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-muted); }
.eu-market-num { grid-area: num; font: 700 clamp(1.8rem, 3.2vw, 2.6rem)/1 var(--font-head); letter-spacing: -0.03em; color: var(--amber); white-space: nowrap; }
.eu-market p { grid-area: desc; font-size: 0.93rem; color: var(--text); }

/* =====================================================================
   11 Budget — phases accordion
   ===================================================================== */
.budget-chips { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; margin: -20px 0 48px; }
.budget-chip { padding: 20px 28px; min-width: 290px; text-align: center; }
.bchip-label { font-size: 0.74rem; letter-spacing: 0.06em; color: var(--text-muted); margin-bottom: 8px; }
.bchip-value { font: 700 1.7rem/1.2 var(--font-head); letter-spacing: -0.02em; color: var(--text-main); font-variant-numeric: tabular-nums; }
.bchip-grant { border-color: rgba(255, 178, 36, 0.4); }
.bchip-grant .bchip-value { color: var(--amber); }

.financial-phases { display: grid; gap: 14px; max-width: 1080px; margin: 0 auto; }
.phase-card { --pc: var(--amber); overflow: hidden; transition: border-color .3s; }
.phase-card.ph-2 { --pc: var(--cyan); }
.phase-card.ph-3 { --pc: #d9dde3; }
.phase-card::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--pc); }
.phase-card.active { border-color: var(--line-2); }
.phase-header { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 30px 24px 34px; cursor: pointer; user-select: none; transition: background .2s; }
.phase-header:hover { background: rgba(255, 255, 255, 0.02); }
.phase-header-left { display: flex; align-items: center; gap: 18px; min-width: 0; }
.phase-header-left h3 { font-size: clamp(1rem, 1.5vw, 1.18rem); line-height: 1.35; }
.phase-badge { flex: 0 0 auto; font: 600 0.72rem/1 var(--font-mono); letter-spacing: 0.06em; text-transform: uppercase; padding: 7px 10px; border-radius: 6px; color: #17140c; background: var(--pc); }
.phase-total-wrap { display: flex; align-items: center; gap: 18px; flex: 0 0 auto; }
.phase-total { font: 500 0.9rem/1 var(--font-main); color: var(--text-muted); white-space: nowrap; }
.phase-total span { font: 700 1.8rem/1 var(--font-head); letter-spacing: -0.03em; color: var(--pc); margin-right: 4px; }
.phase-arrow { width: 34px; height: 34px; padding: 8px; border-radius: 8px; border: 1px solid var(--line-2); fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .35s var(--ease), border-color .3s; }
.phase-card.active .phase-arrow { transform: rotate(180deg); border-color: var(--pc); stroke: var(--pc); }
.phase-details { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.phase-card.active .phase-details { grid-template-rows: 1fr; }
.phase-details-inner { overflow: hidden; padding: 0 30px 0 34px; }
.phase-card.active .phase-details-inner { padding-bottom: 28px; }
.phase-note { font-size: 0.9rem; color: var(--text-muted); padding: 2px 0 16px; margin-bottom: 18px; border-bottom: 1px solid var(--line); }
.financial-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.fin-column { padding: 22px 22px 18px; border-radius: var(--radius-s); background: var(--bg-2); border: 1px solid var(--line); }
.fin-column h4 { font: 600 0.74rem/1.3 var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--pc); margin-bottom: 8px; }
.fin-item { display: flex; justify-content: space-between; align-items: baseline; gap: 18px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.fin-item-name { font-size: 0.9rem; color: var(--text); line-height: 1.45; }
.fin-item-value { font: 600 0.92rem/1.2 var(--font-head); color: var(--text-main); white-space: nowrap; font-variant-numeric: tabular-nums; }
.fin-total-row { display: flex; justify-content: space-between; align-items: baseline; gap: 18px; padding-top: 14px; margin-top: 4px; font: 600 0.95rem/1.3 var(--font-head); color: var(--text-main); }
.fin-total-row span:last-child { color: var(--pc); font-size: 1.15rem; white-space: nowrap; }

/* =====================================================================
   12 Sources
   ===================================================================== */
.sources-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.src-card { padding: 28px 30px; }
.src-card h3 { font: 600 0.76rem/1.3 var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--amber); margin-bottom: 12px; }
.src-list { list-style: none; }
.src-list li { position: relative; padding: 10px 0 10px 22px; font-size: 0.92rem; color: var(--text); line-height: 1.55; border-top: 1px solid var(--line); }
.src-bullet { position: absolute; left: 0; top: 10px; color: var(--amber); }
.src-notes { grid-column: 1 / -1; background: none; }
.src-notes h3 { color: var(--text-muted); }
.src-notes p { font-size: 0.9rem; line-height: 1.75; color: var(--text-muted); }

/* =====================================================================
   13 Contact
   ===================================================================== */
.contact-layout { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 72px; align-items: center; }
.contact-intro .sec-head { margin-bottom: 26px; }
.contact-signal { width: 160px; height: 3px; margin-top: 36px; background: var(--dash); background-size: 26px 3px; animation: roadMove 1.2s linear infinite; }
.contact-signal i { display: none; }
@keyframes roadMove { to { background-position: 26px 0; } }

.contact-form-wrapper { padding: 40px 38px; }
.contact-form .form-group { margin-bottom: 18px; display: flex; flex-direction: column; }
.contact-form label { font: 500 0.86rem/1 var(--font-main); color: var(--text); margin-bottom: 9px; }
.contact-form input, .contact-form textarea {
    width: 100%; padding: 14px 16px; border-radius: 10px;
    background: var(--bg-3); border: 1px solid var(--line-2);
    color: #fff; font: 400 0.98rem/1.5 var(--font-main);
    transition: border-color .2s, box-shadow .2s;
}
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--amber); box-shadow: 0 0 0 4px rgba(255, 178, 36, 0.14); }
.contact-form textarea { resize: vertical; min-height: 140px; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.form-row-captcha { align-items: end; margin-top: 6px; }
.captcha-line { display: flex; gap: 10px; align-items: stretch; }
.captcha-box { display: flex; align-items: center; gap: 8px; padding: 0 8px 0 16px; border-radius: 10px; background: var(--card-2); border: 1px solid var(--line-2); }
.captcha-question { font: 600 1.05rem/1 var(--font-head); color: var(--amber); white-space: nowrap; }
.captcha-refresh { width: 32px; height: 32px; border-radius: 8px; border: 1px solid var(--line-2); background: transparent; color: #fff; cursor: pointer; font-size: 1rem; transition: .25s; }
.captcha-refresh:hover { border-color: var(--amber); color: var(--amber); transform: rotate(90deg); }
.contact-form .captcha-input { max-width: 110px; text-align: center; font-family: var(--font-head); }
.form-group-submit { justify-content: flex-end; }
.contact-submit { width: 100%; padding: 16px 24px; font-size: 1rem; }
.contact-submit .send-icon { transition: transform .3s var(--ease); }
.contact-submit:hover .send-icon { transform: translate(3px, -3px); }
.contact-submit:disabled { opacity: 0.6; cursor: wait; }
.contact-submit.loading span { opacity: 0.6; }
.contact-result { margin-top: 16px; padding: 14px 18px; border-radius: 10px; font-size: 0.95rem; animation: fadeInResult .35s ease; }
.contact-result.success { background: rgba(61, 220, 151, 0.1); border: 1px solid rgba(61, 220, 151, 0.4); color: #8ff3cb; }
.contact-result.error { background: rgba(255, 77, 94, 0.1); border: 1px solid rgba(255, 77, 94, 0.4); color: #ffa3ad; }
@keyframes fadeInResult { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ---------- Footer ---------- */
.site-footer { position: relative; padding: 60px 0 44px; background: #0e0f12; border-top: 1px solid var(--line); color: var(--text-muted); text-align: center; }
.site-footer::before { content: ''; position: absolute; left: 0; right: 0; top: -2px; height: 3px; background: var(--dash); opacity: 0.7; }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.site-footer .logo { font-size: 1.1rem; }
.footer-copy { margin-top: 12px; padding-top: 18px; border-top: 1px solid var(--line); width: min(520px, 100%); font-size: 0.85rem; }

/* ---------- Flags: Czech Republic + European Union (header and footer) ---------- */
.flags { display: inline-flex; align-items: center; gap: 8px; flex-shrink: 0; }
.flags img { display: block; height: auto; border-radius: 3px; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.16); }
.hdr-flags img { width: 27px; }
.ftr-flags { gap: 12px; margin-top: 6px; }
.ftr-flags img { width: 54px; border-radius: 4px; }

/* =====================================================================
   Responsive
   ===================================================================== */
@media (max-width: 1180px) {
    .nav-links a { padding: 8px 9px; font-size: 0.84rem; }
    .nav-links a::after { left: 9px; right: 9px; }
    .violations { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .benefits-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .revenue { grid-template-columns: 1fr; gap: 28px; }
    .revenue-head { flex-direction: row; align-items: center; }
}
@media (max-width: 1024px) {
    .nav-links { display: none; }
    .mobile-menu-toggle { display: flex; }
    .summary-layout, .eu-layout, .contact-layout, .hw-grid, .fund-split { grid-template-columns: 1fr; gap: 36px; }
    .sec-head-split { grid-template-columns: 1fr; }
    .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
    .flow::before { display: none; }
    .capacity { height: auto; }
    .funding-item { grid-template-columns: 76px minmax(0, 1fr); grid-template-areas: "pct name" "pct desc" "bar bar"; row-gap: 6px; }
    .funding-bar { margin-top: 10px; }
}
@media (max-width: 860px) {
    .sec { padding: 92px 0; }
    .sec-head { margin-bottom: 44px; }
    .violations { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-flow: row dense; }
    .vio-wide { grid-column: 1 / -1; }
    .adopter-grid, .invest-grid { grid-template-columns: 1fr; }
    .roadmap { grid-template-columns: 1fr; gap: 18px; padding-left: 50px; }
    .roadmap::before { left: 15px; right: auto; top: 0; bottom: 0; width: 3px; height: auto; background: var(--dash-v); }
    .rm-phase { position: relative; }
    .rm-marker { position: absolute; left: -50px; top: 24px; }
    .law-timeline { grid-template-columns: 1fr; gap: 0; padding-left: 40px; text-align: left; margin: 40px 0; }
    .law-timeline::before { left: 8px; right: auto; top: 10px; bottom: 30px; width: 3px; height: auto; background: var(--dash-v); }
    .law-timeline::after { display: none; }
    .lt-item { text-align: left; padding: 0 0 26px; }
    .lt-dot { position: absolute; left: -40px; top: 0; margin: 0; }
    .financial-grid { grid-template-columns: 1fr; }
    .sources-grid { grid-template-columns: 1fr; }
    .phase-header { flex-wrap: wrap; }
}
@media (max-width: 640px) {
    .container { padding: 0 20px; }
    .sec { padding: 76px 0; }
    .site-header { padding: 12px 0; }
    .site-header.scrolled { padding: 8px 0; }
    .logo { font-size: 1rem; gap: 9px; letter-spacing: 0.08em; }
    .logo::before { width: 28px; height: 28px; flex-basis: 28px; }
    .nav-actions { gap: 12px; }
    .nav-actions .btn { display: none; }
    .hdr-flags { gap: 5px; }
    .hdr-flags img { width: 22px; }
    .hero h1 { font-size: 2.5rem; }
    .section-title { font-size: 2.05rem; }
    .lead { font-size: 1.02rem; }
    .summary-lead .lead:first-child { font-size: 1.16rem; }
    .kpi { grid-template-columns: 1fr; gap: 10px; padding: 24px 0; }
    .violations, .hw-features, .why-grid, .benefits-grid, .flow { grid-template-columns: 1fr; }
    .vio { padding: 24px 20px 26px; }
    .vio-wide { grid-column: auto; }
    .flow { gap: 0; padding-left: 0; }
    .flow-step { flex-direction: row; align-items: flex-start; gap: 18px; padding-bottom: 28px; position: relative; }
    .flow-step:not(:last-child)::before { content: ''; position: absolute; left: 22px; top: 54px; bottom: 6px; width: 3px; background: var(--dash-v); opacity: 0.55; }
    .flow-node { width: 46px; height: 46px; flex: 0 0 46px; box-shadow: none; }
    .revenue { padding: 26px 20px 24px; }
    .revenue-items { grid-template-columns: 1fr; gap: 22px; }
    .revenue-head h4 { font-size: 1.25rem; }
    .device { padding: 38px 22px; }
    .dc3d { width: calc(100% + 44px); height: 360px; margin: -38px -22px 30px; }
    .dc3d-tabs button { padding: 8px 9px; font-size: 0.64rem; letter-spacing: 0.01em; }
    .dc3d-hud { left: 10px; top: 14px; min-width: 0; padding: 8px 10px; font-size: 0.6rem; }
    .dc3d-tag { font-size: 0.6rem; }
    .dc3d-tag span { padding: 5px 7px; }
    .dc3d-hint, .dc3d-alert { bottom: 58px; font-size: 0.6rem; }
    .law-card { padding: 26px 22px 26px 28px; }
    .law-card p { font-size: 0.98rem; }
    .cz-frame { padding: 16px 6px; }
    .funding-breakdown { padding: 4px 20px; }
    .funding-item { grid-template-columns: 62px minmax(0, 1fr); column-gap: 14px; }
    .funding-percent { font-size: 1.5rem; }
    .fund-hero { padding: 46px 18px 42px; margin-bottom: 44px; }
    .fund-list { padding: 8px 18px; }
    .fund-list li { flex-direction: column; gap: 2px; }
    .capacity, .selffund { padding: 28px 22px; }
    .eu-service { padding: 18px 0 18px 44px; }
    .eu-market { grid-template-columns: 1fr; grid-template-areas: "label" "num" "desc"; row-gap: 10px; }
    .map-point::after { font-size: 0.58rem; padding: 4px 6px; }
    .map-point.mp-cz::after { font-size: 0.62rem; }
    .map-point.lbl-l::after { right: 12px; }
    .map-point.lbl-r::after { left: 12px; }
    .map-point.mp-fr::after { right: auto; left: 50%; top: 13px; transform: translateX(-50%); }
    .budget-chips { margin-top: -10px; }
    .budget-chip { min-width: 0; width: 100%; }
    .phase-header { padding: 20px 18px 20px 24px; }
    .phase-header-left { flex-direction: column; align-items: flex-start; gap: 10px; }
    .phase-total-wrap { width: 100%; justify-content: space-between; }
    .phase-details-inner { padding: 0 16px 0 20px; }
    .fin-column { padding: 16px 14px 12px; }
    .fin-item { flex-direction: column; gap: 3px; }
    .src-card { padding: 24px 20px; }
    .contact-form-wrapper { padding: 28px 20px; }
    .form-row { grid-template-columns: 1fr; gap: 0; }
    .form-row-captcha { gap: 4px; }
    .site-footer { padding: 52px 0 40px; }
}
@media (max-width: 360px) {
    .logo { font-size: 0.86rem; letter-spacing: 0.04em; gap: 7px; }
    .logo::before { width: 24px; height: 24px; flex-basis: 24px; }
    .nav-actions { gap: 8px; }
    .hdr-flags { gap: 4px; }
    .hdr-flags img { width: 18px; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0.001s !important; animation-iteration-count: 1 !important; transition-duration: 0.001s !important; }
    .js .reveal { opacity: 1; transform: none; }
}
