/* EneWay – úvodní stránka eneway.cz
   Barvy podle brožury a aplikace: tmavě modrý podklad, zelená #96CA4C, žlutá #EAEE16. */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('fonts/inter-latin-ext-wght-normal.woff2') format('woff2-variations');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('fonts/inter-latin-wght-normal.woff2') format('woff2-variations');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --navy-950: #07111f;
  --navy-900: #0c1a2c;
  --navy-850: #102238;
  --navy-800: #16304a;
  --navy-700: #26415c;
  --slate-500: #68819b;
  --slate-400: #8a9fb6;
  --slate-300: #b4c3d3;
  --slate-200: #d5dfe9;
  --slate-100: #e9eff5;
  --green: #96ca4c;
  --green-400: #a8d463;
  --green-600: #7aad35;
  --green-700: #4f7a1c;
  --sun: #eaee16;
  --paper: #f3f6f1;
  --ink: #0c1a2c;
  --ink-muted: #3a5674;
  --radius: 16px;
  --radius-sm: 10px;
  --wrap: 1180px;
  --shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.55);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
section[id], [id="top"] { scroll-margin-top: 76px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--slate-200);
  background: var(--navy-950);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-400); }
a:hover { color: var(--green); }
:focus-visible { outline: 2px solid var(--sun); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { line-height: 1.15; margin: 0; letter-spacing: -0.02em; }
h2 { font-size: clamp(28px, 4vw, 42px); font-weight: 700; margin-bottom: 16px; max-width: 22ch; }
h3 { font-size: 19px; font-weight: 650; margin-bottom: 8px; }
p { margin: 0 0 12px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 820px; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--sun); color: var(--ink); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 12px; }

/* ---- tlačítka ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 22px; border-radius: 12px; font-weight: 650; font-size: 16px;
  text-decoration: none; border: 1px solid transparent; cursor: pointer; font-family: inherit;
  transition: background-color .15s, border-color .15s, color .15s, transform .15s;
}
.btn:active { transform: translateY(1px); }
.btn-sm { padding: 9px 16px; font-size: 14px; border-radius: 10px; }
.btn-primary { background: var(--green); color: var(--navy-950); }
.btn-primary:hover { background: var(--green-400); color: var(--navy-950); }
.btn-ghost { border-color: var(--navy-700); color: var(--slate-100); background: rgba(255,255,255,0.02); }
.btn-ghost:hover { border-color: var(--slate-500); color: #fff; }
.btn-dark { background: var(--navy-950); color: #fff; }
.btn-dark:hover { background: var(--navy-800); color: #fff; }
.btn[disabled] { opacity: .6; cursor: progress; }

/* ---- hlavička ---- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(7, 17, 31, 0.86);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid rgba(38, 65, 92, 0.6);
}
.header-row { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand img { width: 132px; height: auto; }
.nav { display: flex; gap: 4px; margin-left: auto; align-items: center; }
.nav a { color: var(--slate-300); text-decoration: none; font-size: 15px; font-weight: 500; padding: 8px 10px; border-radius: 8px; white-space: nowrap; }
.nav a:hover { color: #fff; background: rgba(255,255,255,0.05); }
.nav .nav-login { color: var(--green-400); }
.header-cta { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; background: none; border: 1px solid var(--navy-700); border-radius: 10px; width: 42px; height: 40px; padding: 0; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 4px; }
.nav-toggle span { display: block; width: 18px; height: 2px; background: var(--slate-200); border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---- sekce ---- */
.section { padding: 96px 0; }
.dark { background: var(--navy-950); color: var(--slate-200); }
.dark h2, .dark h3 { color: #fff; }
.paper { background: var(--paper); color: var(--ink-muted); }
.paper h2, .paper h3 { color: var(--ink); }
.paper a { color: var(--green-700); }
.kicker { text-transform: uppercase; letter-spacing: .12em; font-size: 13px; font-weight: 700; color: var(--green-400); margin-bottom: 12px; }
.paper .kicker { color: var(--green-700); }
.section-lead { font-size: 18px; max-width: 62ch; color: var(--slate-300); margin-bottom: 36px; }
.paper .section-lead { color: var(--ink-muted); }

/* ---- úvod ---- */
.hero {
  position: relative; overflow: hidden; padding: 72px 0 56px;
  background:
    radial-gradient(900px 480px at 85% 10%, rgba(150, 202, 76, 0.14), transparent 60%),
    radial-gradient(700px 420px at 0% 100%, rgba(42, 120, 214, 0.12), transparent 60%),
    var(--navy-950);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 56px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: var(--slate-300); border: 1px solid var(--navy-700); border-radius: 999px; padding: 6px 14px; margin-bottom: 24px; }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 0 4px rgba(234, 238, 22, 0.15); }
.hero h1 { font-size: clamp(40px, 6vw, 68px); font-weight: 800; color: #fff; letter-spacing: -0.035em; margin-bottom: 20px; }
.hero .accent { color: var(--green); }
.lead { font-size: 19px; color: var(--slate-300); max-width: 34em; margin-bottom: 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 14px; }
.hero-note { font-size: 14px; color: var(--slate-400); }
.hero-shot { margin: 0; }
.browser { border-radius: 14px; overflow: hidden; border: 1px solid var(--navy-700); background: var(--navy-900); box-shadow: var(--shadow), 0 0 0 6px rgba(150, 202, 76, 0.05); }
.browser-bar { height: 34px; display: flex; align-items: center; gap: 7px; padding: 0 14px; background: var(--navy-850); border-bottom: 1px solid var(--navy-700); }
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--navy-700); }
.browser-bar span { margin-left: 12px; font-size: 12px; color: var(--slate-400); background: var(--navy-950); padding: 2px 12px; border-radius: 6px; }

.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 64px; }
.fact { border-top: 1px solid var(--navy-700); padding-top: 16px; }
.fact b { display: block; font-size: 30px; font-weight: 750; color: #fff; letter-spacing: -0.02em; }
.fact span { font-size: 15px; color: var(--slate-400); }

/* ---- karty na světlém ---- */
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 40px; }
.card-light { background: #fff; border: 1px solid #dfe7dc; border-radius: var(--radius); padding: 28px; }
.card-light p { font-size: 16px; margin: 0; }
.icon-badge { width: 44px; height: 44px; border-radius: 12px; background: #e8f4d4; display: grid; place-items: center; margin-bottom: 18px; }
.icon-badge svg { width: 22px; height: 22px; fill: none; stroke: var(--green-700); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---- záložky „Pro koho“ ---- */
.tablist { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.tablist [role="tab"] {
  font-family: inherit; font-size: 15px; font-weight: 600; color: var(--slate-300);
  background: var(--navy-900); border: 1px solid var(--navy-700); border-radius: 999px;
  padding: 10px 18px; cursor: pointer;
}
.tablist [role="tab"]:hover { color: #fff; border-color: var(--slate-500); }
.tablist [role="tab"][aria-selected="true"] { background: var(--green); border-color: var(--green); color: var(--navy-950); }
.tabpanel { background: var(--navy-900); border: 1px solid var(--navy-700); border-radius: var(--radius); padding: 36px; }
.panel-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 40px; align-items: center; }
.tabpanel h3 { font-size: 24px; margin-bottom: 20px; max-width: 22ch; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.checks li { position: relative; padding-left: 32px; font-size: 16px; color: var(--slate-300); }
.checks li b { color: #fff; font-weight: 650; }
.checks li::before {
  content: ''; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 6px;
  background: rgba(150, 202, 76, 0.16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-6.5' fill='none' stroke='%2396ca4c' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat;
}
.checks-light li { color: var(--ink-muted); }
.checks-light li b { color: var(--ink); }
.checks-light li::before { background-color: #e8f4d4; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-6.5' fill='none' stroke='%234f7a1c' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.shot { margin: 0; }
.shot img { border-radius: 12px; border: 1px solid var(--navy-700); box-shadow: var(--shadow); }
.shot figcaption { font-size: 13px; color: var(--slate-400); margin-top: 10px; }
.shot-phone { justify-self: center; max-width: 280px; }
.shot-phone img { border-radius: 28px; border: 6px solid var(--navy-800); }

/* ---- kroky ---- */
.steps { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; counter-reset: s; }
.steps li { background: #fff; border: 1px solid #dfe7dc; border-radius: var(--radius); padding: 26px; position: relative; }
.steps p { font-size: 15.5px; margin: 0; }
.step-no { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--navy-950); color: var(--sun); font-weight: 750; margin-bottom: 16px; }

/* ---- funkce ---- */
.wide-shot { margin: 8px 0 40px; }
.wide-shot img { border-radius: var(--radius); border: 1px solid var(--navy-700); box-shadow: var(--shadow); }
.wide-shot figcaption { font-size: 14px; color: var(--slate-400); margin-top: 12px; max-width: 80ch; }
.features { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--navy-700); border: 1px solid var(--navy-700); border-radius: var(--radius); overflow: hidden; }
.features article { background: var(--navy-900); padding: 26px; }
.features h3 { font-size: 17px; }
.features p { font-size: 15px; color: var(--slate-400); margin: 0; }
.stats-row { margin-top: 56px; align-items: center; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); }
.stats-row .section-lead { margin-bottom: 0; }
.h3-lg { font-size: clamp(22px, 2.6vw, 28px); margin-bottom: 14px; max-width: 20ch; }
.tag { display: inline-block; font-size: 11px; font-weight: 650; letter-spacing: .02em; color: var(--sun); border: 1px solid rgba(234, 238, 22, 0.35); border-radius: 999px; padding: 1px 8px; vertical-align: 2px; margin-left: 4px; }

/* ---- bezpečnost ---- */
.two-col { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.roles { display: grid; gap: 12px; }
.role { background: #fff; border: 1px solid #dfe7dc; border-left: 4px solid var(--green); border-radius: 12px; padding: 18px 20px; display: grid; gap: 2px; }
.role b { color: var(--ink); font-size: 17px; }
.role span { font-size: 15px; }

.roles-dark .role { background: var(--navy-900); border-color: var(--navy-700); }
.roles-dark .role b { color: #fff; }
.roles-dark .role span { color: var(--slate-300); }

/* ---- zařízení, Moje FVE, partneři ---- */
.hw .section-lead, .partner .section-lead, .fve .section-lead { margin-bottom: 28px; }
.hw .shot img, .partner .shot img { border-color: #dfe7dc; }
.fve { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
.fve-shot { margin: 0; }
.partner .btn { margin-top: 24px; }
.partner p:last-child { margin: 0; }

/* ---- řízení přebytků ---- */
.surplus {
  background:
    radial-gradient(700px 420px at 100% 0%, rgba(234, 238, 22, 0.07), transparent 60%),
    var(--navy-900);
  border-top: 1px solid var(--navy-800); border-bottom: 1px solid var(--navy-800);
}
.surplus .section-lead { margin-bottom: 28px; }
.flow-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; counter-reset: fs; }
.flow-steps li { position: relative; padding-left: 46px; color: var(--slate-300); font-size: 16px; counter-increment: fs; }
.flow-steps li::before {
  content: counter(fs); position: absolute; left: 0; top: -2px; width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 750; font-size: 14px; color: var(--navy-950); background: var(--green);
}
.flow-steps b { color: #fff; font-weight: 650; }

.surplus-demo { margin: 0; background: var(--navy-950); border: 1px solid var(--navy-700); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.sd-meter { border: 1px solid var(--navy-700); border-radius: 12px; padding: 16px 18px; background: var(--navy-900); }
.sd-label { margin: 0 0 10px; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--slate-400); }
.sd-row, .sd-total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 15px; padding: 4px 0; }
.sd-row span { color: var(--slate-300); }
.sd-row b { color: #fff; font-variant-numeric: tabular-nums; font-weight: 650; }
.sd-total { margin-top: 6px; padding-top: 10px; border-top: 1px dashed var(--navy-700); }
.sd-total span { color: #fff; font-weight: 650; }
.sd-total b { color: var(--sun); font-size: 22px; font-weight: 750; font-variant-numeric: tabular-nums; }
.sd-prio { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 10px; }
.sd-prio li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 14px; background: var(--navy-900); border: 1px solid var(--navy-800); border-radius: 12px; padding: 12px 16px; }
.sd-no { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 750; color: var(--sun); border: 1.5px solid rgba(234, 238, 22, 0.5); }
.sd-prio b { color: #fff; font-size: 15px; font-weight: 650; }
.sd-prio small { color: var(--slate-400); font-size: 13px; }
.sd-prio i { display: block; height: 6px; margin-top: 8px; border-radius: 999px; background: var(--navy-800); position: relative; overflow: hidden; }
.sd-prio i::after { content: ''; position: absolute; inset: 0 auto 0 0; width: var(--w); border-radius: 999px; background: var(--green); }
.sd-prio em { font-style: normal; font-size: 14px; font-weight: 650; color: var(--slate-200); font-variant-numeric: tabular-nums; white-space: nowrap; }
.surplus-demo figcaption { margin-top: 14px; font-size: 13px; color: var(--slate-400); }

/* ---- pás s ukázkou ---- */
.cta-band { background: var(--green); color: var(--navy-950); padding: 56px 0; }
.cta-row { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.cta-band h2 { color: var(--navy-950); margin-bottom: 8px; max-width: none; }
.cta-band p { margin: 0; max-width: 60ch; font-size: 17px; color: #1d3310; }

/* ---- otázky ---- */
.faq { margin-top: 32px; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid #dfe7dc; border-radius: 12px; padding: 0 22px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 32px 18px 0; font-weight: 650; color: var(--ink); position: relative; font-size: 17px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; position: absolute; right: 2px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--green-700); border-bottom: 2px solid var(--green-700); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.faq details p { padding-bottom: 18px; margin: 0; font-size: 16px; }

/* ---- kontakt ---- */
.contact { align-items: start; }
.contact-mail { color: var(--slate-300); }
.form { background: var(--navy-900); border: 1px solid var(--navy-700); border-radius: var(--radius); padding: 28px; display: grid; gap: 16px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { font-size: 14px; font-weight: 600; color: var(--slate-200); }
.field label span { color: var(--green-400); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: #fff; background: var(--navy-950);
  border: 1px solid var(--navy-700); border-radius: 10px; padding: 11px 13px;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input::placeholder, .field textarea::placeholder { color: var(--slate-500); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(150, 202, 76, 0.2); }
.field [aria-invalid="true"] { border-color: #e5664a; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: 13px; color: var(--slate-400); margin: 0; }
.form-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.form-status { margin: 0; font-size: 15px; }
.form-status.ok { color: var(--green-400); }
.form-status.err { color: #f08a72; }

/* ---- patička ---- */
.site-footer { background: var(--navy-950); border-top: 1px solid var(--navy-800); padding: 56px 0 28px; font-size: 14px; color: var(--slate-400); }
.footer-grid { display: grid; grid-template-columns: 1fr auto 1.4fr; gap: 40px; align-items: start; }
.footer-grid img { width: 180px; }
.footer-links { display: grid; gap: 8px; }
.footer-links a { color: var(--slate-300); text-decoration: none; }
.footer-links a:hover { color: #fff; }
.footer-company p { margin: 0 0 4px; }
.footer-company b { color: var(--slate-200); }
.footer-bottom { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--navy-800); font-size: 13px; }

/* ---- textové stránky: ochrana údajů, obchodní podmínky ---- */
.doc { padding: 72px 0 96px; }
.doc h1 { font-size: clamp(32px, 4.5vw, 46px); color: var(--ink); margin-bottom: 24px; }
.doc h2 { font-size: 22px; margin: 36px 0 10px; max-width: none; scroll-margin-top: 84px; }
.doc p, .doc li { font-size: 16.5px; }
.doc ul { padding-left: 20px; }
.doc .doc-meta { font-size: 15px; color: var(--ink-muted); margin: -12px 0 24px; }
.doc .lead-doc { font-size: 18px; color: var(--ink); }
.doc .n { color: var(--green-700); font-weight: 700; margin-right: 10px; font-variant-numeric: tabular-nums; }
.doc .toc { background: #fff; border: 1px solid #dfe7dc; border-radius: var(--radius); padding: 20px 24px; margin: 28px 0 12px; }
.doc .toc p { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--green-700); margin: 0 0 10px; }
.doc .toc ol { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 28px; }
.doc .toc li { font-size: 15px; padding: 3px 0; break-inside: avoid; }
.doc .toc a { text-decoration: none; color: var(--ink-muted); }
.doc .toc a:hover { color: var(--green-700); text-decoration: underline; }
.doc .box { background: #fff; border: 1px solid #dfe7dc; border-radius: 12px; padding: 20px 24px; margin: 16px 0 20px; }
.doc .box p { color: var(--ink); }
.doc .form-fields { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 12px; }
.doc .form-fields li { font-size: 14px; color: var(--ink-muted); padding: 0 0 24px; border-bottom: 1px solid var(--slate-300); }
.doc .table-wrap { overflow-x: auto; background: #fff; border: 1px solid #dfe7dc; border-radius: 12px; margin: 16px 0 20px; }
.doc table { width: 100%; border-collapse: collapse; font-size: 15.5px; min-width: 560px; }
.doc th, .doc td { text-align: left; padding: 12px 16px; border-bottom: 1px solid #e6ece3; vertical-align: top; }
.doc th { font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-muted); background: #f7f9f5; font-weight: 700; }
.doc td b { color: var(--ink); font-weight: 650; }
.doc tbody tr:last-child td { border-bottom: 0; }
.doc td.price { white-space: nowrap; font-weight: 650; color: var(--ink); font-variant-numeric: tabular-nums; }
.doc .doc-foot { margin-top: 36px; font-size: 14px; }

/* ---- responzivita ---- */
@media (max-width: 1240px) {
  .nav { position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--navy-950); border-bottom: 1px solid var(--navy-700); padding: 8px 20px 18px; display: none; max-height: calc(100vh - 68px); overflow-y: auto; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 6px; font-size: 17px; border-bottom: 1px solid var(--navy-800); border-radius: 0; }
  .nav-toggle { display: inline-flex; }
  .header-cta { margin-left: auto; }
}
@media (max-width: 1100px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  body { font-size: 16px; }
  .section { padding: 72px 0; }
  .grid-3 { grid-template-columns: 1fr; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 48px; }
  .panel-grid, .two-col { grid-template-columns: 1fr; gap: 32px; }
  .fve .fve-shot { order: 2; }
  .tabpanel { padding: 24px; }
  .cta-row { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 560px) {
  .hero { padding: 48px 0 40px; }
  .lead { font-size: 17px; }
  .header-cta .btn { display: none; }
  .features, .steps { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .tablist [role="tab"] { flex: 1 1 calc(50% - 8px); padding: 10px 12px; font-size: 14px; }
  .form { padding: 20px; }
  .surplus-demo { padding: 16px; }
  .sd-prio li { gap: 12px; padding: 12px 14px; }
  .sd-prio small { display: block; margin-top: 2px; }
  .doc .toc ol { columns: 1; }
  .doc .toc, .doc .box { padding: 16px 18px; }
}
