/* ============================================================
   VEXVER — style.css
   Brand tokens, layout, components, responsive rules.
============================================================= */

:root {
  /* Brand palette (dark, premium) */
  --bg: #080808;
  --surface: #111111;
  --surface-2: #171717;
  --text: #f2f2f2;
  --muted: #9a9a9a;
  --accent: #6d4aff;          /* dark purple — not too bright */
  --accent-deep: #4a2fb0;     /* deeper purple for depth */
  --accent-soft: rgba(109, 74, 255, 0.14);
  --border: #292929;

  --radius: 14px;
  --radius-sm: 10px;
  --maxw: 1180px;

  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  background: var(--bg);
}

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

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

h1, h2, h3, .brand__name, .hero__brand {
  font-family: var(--font-display);
  letter-spacing: -0.01em;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  padding: 13px 22px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s var(--ease), background 0.18s var(--ease),
    border-color 0.18s var(--ease), box-shadow 0.18s var(--ease);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn--accent {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 0 0 1px rgba(109, 74, 255, 0.4);
}
.btn--accent:hover {
  background: #7b5bff;
  box-shadow: 0 8px 26px -10px rgba(109, 74, 255, 0.7);
}

.btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn--ghost:hover { border-color: var(--accent); color: #fff; }

.btn--block { width: 100%; padding: 16px; font-size: 0.9rem; }

/* ============================================================
   NAVIGATION
============================================================= */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(8, 8, 8, 0.72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 14px 22px;
  display: flex;
  align-items: center;
  gap: 22px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand__mark { width: 30px; height: 30px; object-fit: contain; }
.brand__name { font-weight: 700; font-size: 1.15rem; letter-spacing: 0.14em; }

.nav__links {
  display: flex;
  gap: 26px;
  margin-left: auto;
  font-size: 0.92rem;
  color: var(--muted);
}
.nav__links a { transition: color 0.15s var(--ease); }
.nav__links a:hover { color: var(--text); }

.nav__cta { margin-left: 8px; }

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  margin-left: auto;
  padding: 6px;
}
.nav__toggle span {
  width: 24px; height: 2px; background: var(--text);
  transition: transform 0.2s var(--ease), opacity 0.2s var(--ease);
}
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav__drawer {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px 22px 22px;
  border-top: 1px solid var(--border);
  background: var(--surface);
}
/* The [hidden] attribute must always win over display:flex */
.nav__drawer[hidden] { display: none; }
.nav__drawer a:not(.btn) { padding: 12px 6px; color: var(--muted); border-bottom: 1px solid var(--border); }
.nav__drawer .btn { margin-top: 12px; }

/* ============================================================
   HERO
============================================================= */
.hero { position: relative; overflow: hidden; }
.hero__glow {
  position: absolute;
  top: -160px; right: -80px;
  width: 520px; height: 520px;
  background: radial-gradient(circle, var(--accent-soft), transparent 68%);
  filter: blur(20px);
  pointer-events: none;
}
.hero__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 84px 22px 72px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 40px;
  position: relative;
}
.hero__brand {
  display: inline-block;
  font-size: 0.9rem;
  letter-spacing: 0.4em;
  color: var(--muted);
  margin-bottom: 18px;
}
.hero__title {
  font-size: clamp(2.6rem, 7vw, 5rem);
  font-weight: 700;
  line-height: 0.98;
  text-wrap: balance;
}
.hero__lead {
  margin-top: 22px;
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 30ch;
}
.hero__actions { margin-top: 32px; display: flex; gap: 12px; flex-wrap: wrap; }

.hero__art { display: flex; justify-content: center; }
.hero__owl-ring {
  position: relative;
  width: min(360px, 80%);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 45%, var(--accent-soft), transparent 60%),
    var(--surface);
  border: 1px solid var(--border);
}
.hero__owl {
  width: 74%;
  filter: drop-shadow(0 0 28px rgba(109, 74, 255, 0.28));
}

/* ============================================================
   SECTION scaffolding
============================================================= */
.section {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 72px 22px;
}
.section--alt { background: var(--surface); max-width: none; }
.section--alt > * { max-width: var(--maxw); margin-left: auto; margin-right: auto; }

.section__head { margin-bottom: 34px; }
.section__title {
  font-size: clamp(1.6rem, 3.4vw, 2.3rem);
  font-weight: 700;
}
.section__sub { color: var(--muted); margin-top: 8px; }

/* ============================================================
   SERVICES cards
============================================================= */
.services {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.section__eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 10px;
}
.service {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: left;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  font: inherit;
  color: var(--text);
  transition: transform 0.2s var(--ease), border-color 0.2s var(--ease),
    box-shadow 0.2s var(--ease), background 0.2s var(--ease);
}
.service:hover {
  transform: translateY(-3px);
  border-color: #3a3a3a;
  background: var(--surface-2);
}
.service.is-active {
  border-color: var(--accent);
  background: var(--surface-2);
  box-shadow: 0 0 0 1px var(--accent), 0 18px 40px -22px rgba(109, 74, 255, 0.6);
}
.service.is-active .service__cta { color: #fff; }

.service__name { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; letter-spacing: 0.04em; }
.service__desc { color: var(--muted); font-size: 0.9rem; flex: 1; }
.service__price { font-size: 0.9rem; color: var(--muted); }
.service__price strong { color: var(--text); font-weight: 600; }
.service__cta {
  margin-top: 4px;
  font-family: var(--font-display);
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  color: var(--accent);
  transition: color 0.15s var(--ease);
}

.service--featured { border-color: rgba(109, 74, 255, 0.4); }
.service__badge {
  position: absolute;
  top: 14px; right: 14px;
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 4px 9px;
  border-radius: 999px;
}

/* ============================================================
   CONFIGURATOR
============================================================= */
#configurator { padding-top: 8px; }

.config-empty {
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  padding: 40px 22px;
  text-align: center;
  color: var(--muted);
  background: var(--surface);
}

.config {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
  animation: panelIn 0.32s var(--ease);
}
@keyframes panelIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.config__head {
  padding: 26px 26px 18px;
  border-bottom: 1px solid var(--border);
}
.config__title { font-size: 1.5rem; font-weight: 700; letter-spacing: 0.03em; }
.config__desc { color: var(--muted); margin-top: 6px; }

.config__body { padding: 22px 26px 28px; }
.config__body--wide {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 30px;
}
.config__col--full { grid-column: 1 / -1; }
.config__note {
  color: var(--muted);
  font-size: 0.86rem;
  border-left: 2px solid var(--accent);
  padding-left: 12px;
  margin-top: 6px;
}

.group { border: 0; margin-bottom: 20px; }
.group:last-child { margin-bottom: 0; }
.group > legend {
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}
.group__divider { height: 1px; background: var(--border); margin: 12px 0; }

/* Option rows */
.opt {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  cursor: pointer;
  margin-bottom: 8px;
  transition: border-color 0.15s var(--ease), background 0.15s var(--ease);
}
.opt:last-child { margin-bottom: 0; }
.opt:hover { border-color: #3a3a3a; }
.opt:has(input:checked) { border-color: var(--accent); background: rgba(109, 74, 255, 0.08); }
.opt--locked { opacity: 0.85; cursor: default; }
.opt input { accent-color: var(--accent); width: 18px; height: 18px; flex-shrink: 0; cursor: pointer; }
.opt__label { flex: 1; font-size: 0.95rem; }
.opt__label em { color: var(--muted); font-style: normal; font-size: 0.82rem; }
.opt__price { color: var(--muted); font-size: 0.9rem; white-space: nowrap; }

.opt--games .opt__games-select { margin-left: auto; }
.opt--games select {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 6px 10px;
  font: inherit;
  cursor: pointer;
}
.opt--games select:disabled { opacity: 0.4; cursor: not-allowed; }

/* Chips (usage / priorities) */
.checks { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface-2);
  cursor: pointer;
  font-size: 0.88rem;
  transition: border-color 0.15s var(--ease), background 0.15s var(--ease);
}
.chip input { accent-color: var(--accent); width: 15px; height: 15px; }
.chip:has(input:checked) { border-color: var(--accent); background: rgba(109, 74, 255, 0.1); }

/* Fields */
.field {
  width: 100%;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  padding: 12px 14px;
  font: inherit;
  transition: border-color 0.15s var(--ease);
}
.field::placeholder { color: #6a6a6a; }
.field:focus { outline: none; border-color: var(--accent); }
.field--area { min-height: 90px; resize: vertical; }

/* Sticky total bar */
.total-bar {
  position: sticky;
  bottom: 12px;
  margin-top: 16px;
  z-index: 30;
}
.total-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 20px;
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  background: rgba(17, 17, 17, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 18px 44px -24px rgba(109, 74, 255, 0.55);
}
.total-bar__label {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.total-bar__value {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
}

/* ============================================================
   HOW IT WORKS
============================================================= */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.step {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.step__num {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--accent);
}
.step__label { font-family: var(--font-display); font-size: 0.9rem; letter-spacing: 0.04em; }
.rule {
  margin-top: 24px;
  padding: 18px 20px;
  border-left: 2px solid var(--accent);
  background: var(--bg);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--text);
  font-size: 0.95rem;
}

/* ============================================================
   SNOWBLIND
============================================================= */
.snowblind {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 30px;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
  padding: 44px;
}
.snowblind__lead { color: var(--muted); margin-top: 14px; max-width: 42ch; }
.snowblind__price {
  margin-top: 20px;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--accent);
}
.snowblind__art { position: relative; min-height: 200px; }
.snowblind__glow {
  position: absolute;
  inset: -20%;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-soft), transparent 65%);
  filter: blur(10px);
}

/* ============================================================
   ICONS & PILLS (shared, used by Workflow + Build Report)
============================================================= */
.icon { width: 18px; height: 18px; }
.icon--sm { width: 15px; height: 15px; flex-shrink: 0; }

.tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 5px 11px;
  border-radius: 6px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text);
  white-space: nowrap;
}
.tag-pill--outline {
  background: var(--accent-soft);
  border-color: rgba(109, 74, 255, 0.4);
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.tag-pill--accent {
  background: var(--accent-soft);
  border-color: rgba(109, 74, 255, 0.4);
  color: #cabaff;
  text-transform: uppercase;
}

/* ============================================================
   ALERT (Důležité pravidlo callout)
============================================================= */
.alert {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-top: 30px;
  padding: 20px 22px;
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-sm);
  background: var(--surface);
}
.alert__icon { color: var(--accent); margin-top: 2px; }
.alert__title { font-weight: 600; margin-bottom: 4px; }
.alert__desc { color: var(--muted); font-size: 0.92rem; line-height: 1.5; }

/* ============================================================
   WORKFLOW ("Jak to funguje" — 1:1 z 10Web návrhu)
============================================================= */
.workflow__sub { max-width: 62ch; }
.workflow__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.workflow__card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 22px 22px 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  transition: transform 0.2s var(--ease), border-color 0.2s var(--ease);
}
.workflow__card:hover { transform: translateY(-3px); border-color: rgba(109, 74, 255, 0.4); }
.workflow__top { display: flex; align-items: center; justify-content: space-between; }
.workflow__icon {
  display: grid;
  place-items: center;
  width: 36px; height: 36px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--text);
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.workflow__card:hover .workflow__icon { border-color: var(--accent); color: var(--accent); }
.workflow__step-title { font-size: 1.15rem; font-weight: 600; letter-spacing: -0.01em; }
.workflow__desc { color: var(--muted); font-size: 0.9rem; line-height: 1.55; flex: 1; }
.workflow__foot {
  margin-top: auto;
  padding: 14px 0;
  border-top: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--muted);
}

/* ============================================================
   BUILD REPORT / PROTOKOL O SESTAVENÍ A DIAGNOSTICE
   1:1 z 10Web návrhu (BuildReport.tsx)
============================================================= */
.report { position: relative; overflow: hidden; }
.report__bg {
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(242,242,242,0.05) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}
.report__head { position: relative; }
.report__badgerow { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 14px; }
.report__live { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 0.76rem; color: var(--muted); }
.report__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); animation: dotPulse 1.6s ease-in-out infinite; }
@keyframes dotPulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }

.report__card {
  position: relative;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
  box-shadow: 0 24px 60px -30px rgba(109, 74, 255, 0.35);
}
.report__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 26px 28px;
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
}
.report__meta-id { display: flex; flex-direction: column; gap: 4px; }
.report__meta-label { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.report__meta-value { font-family: var(--font-mono); font-size: 1.3rem; font-weight: 700; }
.report__meta-stats { display: flex; flex-wrap: wrap; gap: 26px; }
.report__meta-stats > div { display: flex; flex-direction: column; gap: 3px; }
.report__meta-small { font-family: var(--font-mono); font-size: 0.85rem; font-weight: 500; }
.report__meta-ok { display: inline-flex; align-items: center; gap: 5px; color: #b7ffcf; }

.report__body { padding: 28px; display: flex; flex-direction: column; gap: 30px; }
.report__divider { height: 1px; background: var(--border); }
.report__block-title {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
  color: var(--text);
}
.report__block-title .icon { color: var(--accent); }

.spec-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.spec-item {
  display: flex; gap: 12px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg);
}
.spec-item__icon {
  display: grid; place-items: center;
  width: 34px; height: 34px; flex-shrink: 0;
  border-radius: 7px;
  background: var(--surface-2);
  color: var(--accent);
}
.spec-item > div { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.spec-item__label { font-family: var(--font-mono); font-size: 0.7rem; color: var(--muted); }
.spec-item__value { font-size: 0.92rem; font-weight: 600; }
.spec-item__detail { font-size: 0.78rem; color: var(--muted); }

.report__block-headrow { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 16px; }
.report__block-headrow .report__block-title { margin-bottom: 0; }
.report__noise { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-mono); font-size: 0.76rem; color: var(--muted); }
.report__noise strong { color: var(--text); }

.thermal-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.thermal-item {
  display: flex; flex-direction: column; gap: 10px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg);
}
.thermal-item__head { display: flex; justify-content: space-between; gap: 10px; font-size: 0.82rem; color: var(--muted); }
.thermal-item__max { font-family: var(--font-mono); font-size: 0.72rem; }
.thermal-item__readout { display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: 0.78rem; color: var(--muted); }
.thermal-item__load { color: var(--text); font-weight: 700; }
.progress { height: 6px; border-radius: 999px; background: var(--surface-2); overflow: hidden; }
.progress__bar { height: 100%; background: var(--accent); border-radius: inherit; }

.report__split { display: grid; grid-template-columns: 5fr 7fr; gap: 26px; }
.bench-list, .game-list { display: flex; flex-direction: column; gap: 9px; }
.bench-row {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg);
  font-family: var(--font-mono);
  font-size: 0.78rem;
}
.bench-row__name { display: block; font-weight: 600; }
.bench-row__cat { display: block; font-size: 0.7rem; color: var(--muted); }
.game-row {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap;
  padding: 13px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg);
}
.game-row__name { display: block; font-weight: 700; font-size: 0.92rem; }
.game-row__res { display: block; font-family: var(--font-mono); font-size: 0.7rem; color: var(--muted); }
.game-row__fps { display: flex; align-items: center; gap: 10px; }
.game-row__low { font-family: var(--font-mono); font-size: 0.7rem; color: var(--muted); }
.game-row__avg {
  font-family: var(--font-mono); font-weight: 700; font-size: 0.9rem;
  padding: 5px 11px; border-radius: 6px;
  background: var(--accent-soft); border: 1px solid rgba(109, 74, 255, 0.4);
}

.report__foot {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
}
.report__foot-text { color: var(--muted); font-size: 0.85rem; max-width: 46ch; }

/* Scroll-reveal (viz script.js) — jediný orchestrovaný moment na stránce */
[data-reveal] .workflow__card,
[data-reveal] .alert,
[data-reveal] .report__card {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
[data-reveal].in-view .workflow__card,
[data-reveal].in-view .alert,
[data-reveal].in-view .report__card {
  opacity: 1;
  transform: translateY(0);
}
[data-reveal] .workflow__card:nth-child(1) { transition-delay: 0ms; }
[data-reveal] .workflow__card:nth-child(2) { transition-delay: 60ms; }
[data-reveal] .workflow__card:nth-child(3) { transition-delay: 120ms; }
[data-reveal] .workflow__card:nth-child(4) { transition-delay: 180ms; }
[data-reveal] .workflow__card:nth-child(5) { transition-delay: 240ms; }

/* ============================================================
   DOPRAVA A PŘEDÁNÍ
============================================================= */
.ship {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.ship__card {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}
.ship__title { font-family: var(--font-display); font-size: 1.05rem; margin-bottom: 8px; }
.ship__desc { color: var(--muted); font-size: 0.92rem; }

/* ============================================================
   REQUEST FORM
============================================================= */
.reqform { max-width: 820px; }
.reqform__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.field-wrap { display: flex; flex-direction: column; gap: 8px; }
.field-wrap > span { font-size: 0.85rem; color: var(--muted); }
.field-wrap > span em { font-style: normal; color: #6a6a6a; }
.field-wrap--full { grid-column: 1 / -1; }

.reqform__summary {
  margin-top: 20px;
  padding: 18px 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}
.reqform__summary h3 {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}
.reqform__summary dl { display: grid; gap: 8px; }
.reqform__summary .sum-row { display: flex; gap: 10px; font-size: 0.9rem; }
.reqform__summary .sum-row dt { color: var(--muted); min-width: 130px; }
.reqform__summary .sum-row dd { color: var(--text); }

.btn--block { margin-top: 22px; }
.reqform__disclaimer { margin-top: 14px; color: var(--muted); font-size: 0.85rem; }
.reqform__status {
  margin-top: 14px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--accent);
  background: var(--accent-soft);
  font-size: 0.9rem;
}

/* ============================================================
   FOOTER
============================================================= */
.footer { border-top: 1px solid var(--border); background: var(--bg); }
.footer__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 40px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footer__brand { display: flex; align-items: center; gap: 14px; }
.footer__mark { width: 40px; height: 40px; object-fit: contain; }
.footer__name { display: block; font-family: var(--font-display); font-weight: 700; letter-spacing: 0.14em; }
.footer__slogan { display: block; font-size: 0.78rem; letter-spacing: 0.1em; color: var(--muted); }
.footer__links { display: flex; gap: 22px; color: var(--muted); font-size: 0.9rem; }
.footer__links a:hover { color: var(--text); }
.footer__copy { color: var(--muted); font-size: 0.85rem; }

/* ============================================================
   MOBILE STICKY CTA (hidden on desktop)
============================================================= */
.mobile-cta {
  display: none;
  position: fixed;
  left: 16px; right: 16px; bottom: 16px;
  z-index: 40;
  text-align: center;
  padding: 15px;
  border-radius: var(--radius);
  background: var(--accent);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.06em;
  font-size: 0.9rem;
  box-shadow: 0 12px 34px -14px rgba(109, 74, 255, 0.7);
}

/* ============================================================
   RESPONSIVE
============================================================= */
@media (max-width: 980px) {
  .services { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .workflow__grid { grid-template-columns: repeat(2, 1fr); }
  .workflow__card--last { grid-column: span 2; }
  .spec-grid, .thermal-grid { grid-template-columns: 1fr; }
  .report__split { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: flex; }

  .hero__inner { grid-template-columns: 1fr; padding-top: 52px; }
  .hero__art { order: -1; }
  .hero__owl-ring { width: min(220px, 60%); }

  .config__body--wide { grid-template-columns: 1fr; }
  .reqform__grid { grid-template-columns: 1fr; }

  .snowblind { grid-template-columns: 1fr; padding: 30px; }
  .snowblind__art { display: none; }
  .ship { grid-template-columns: 1fr; }

  .workflow__grid { grid-template-columns: 1fr; }
  .workflow__card--last { grid-column: span 1; }
  .report__meta { flex-direction: column; align-items: flex-start; }
  .report__body { padding: 22px; }

  .mobile-cta { display: block; }
  .total-bar { bottom: 84px; } /* clear the mobile CTA */

  .footer__inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 460px) {
  .services { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .report__grid { grid-template-columns: 1fr; }
  .section { padding: 52px 18px; }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
