/* =============================================================
   CIRQA.cz — Design system
   Nezávislý informační web o náramku Garmin Cirqa
   Autor stylu: cirqa.cz  •  Prémiový, tmavý, responzivní
   ============================================================= */

/* ---------- 1. Design tokens ---------- */
:root {
  /* Barevná paleta inspirovaná barvami Cirqa: Black, Captain Blue, French Grey, Mauve */
  --ink-900: #05070d;
  --ink-850: #080b14;
  --ink-800: #0b0f1a;
  --ink-700: #111726;
  --ink-600: #1a2233;
  --ink-500: #232d42;

  --captain: #2f7ad6;      /* Captain Blue */
  --captain-bright: #4f9cf9;
  --captain-deep: #1b4f8a;

  --mauve: #b79ce0;        /* Mauve */
  --mauve-deep: #8a6dc0;

  --grey-french: #b8bcc4;  /* French Grey */

  --text-strong: #f2f5fa;
  --text: #d7deea;
  --text-muted: #99a3b5;
  --text-dim: #6b7688;

  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);

  --surface: rgba(255, 255, 255, 0.03);
  --surface-2: rgba(255, 255, 255, 0.05);
  --surface-hover: rgba(255, 255, 255, 0.08);

  --grad-brand: linear-gradient(135deg, var(--captain-bright) 0%, var(--mauve) 100%);
  --grad-brand-soft: linear-gradient(135deg, rgba(79,156,249,0.16) 0%, rgba(183,156,224,0.16) 100%);

  --shadow-sm: 0 2px 8px rgba(0,0,0,.3);
  --shadow-md: 0 12px 40px rgba(0,0,0,.4);
  --shadow-glow: 0 0 60px rgba(79,156,249,.25);

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 34px;

  --container: 1180px;
  --gutter: clamp(1.1rem, 4vw, 2.5rem);

  --font-display: "Space Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --header-h: 72px;
  --ease: cubic-bezier(.16,.84,.44,1);

  color-scheme: dark;
}

/* Světlý režim */
:root[data-theme="light"] {
  --ink-900: #ffffff;
  --ink-850: #f7f9fc;
  --ink-800: #f2f5fa;
  --ink-700: #ffffff;
  --ink-600: #eef1f7;
  --ink-500: #e4e9f2;

  --text-strong: #0b1220;
  --text: #263041;
  --text-muted: #5a6579;
  --text-dim: #8791a3;

  --line: rgba(10, 22, 44, 0.10);
  --line-strong: rgba(10, 22, 44, 0.18);

  --surface: rgba(10, 30, 66, 0.03);
  --surface-2: rgba(10, 30, 66, 0.05);
  --surface-hover: rgba(10, 30, 66, 0.08);

  --grad-brand-soft: linear-gradient(135deg, rgba(47,122,214,0.12) 0%, rgba(138,109,192,0.12) 100%);
  --shadow-md: 0 12px 40px rgba(20,40,90,.12);
  --shadow-glow: 0 0 60px rgba(47,122,214,.15);

  color-scheme: light;
}

/* ---------- 2. Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 20px);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background: var(--ink-900);
  color: var(--text);
  line-height: 1.65;
  font-size: 1.02rem;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  min-height: 100vh;
}

/* Jemný gradientní podklad */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(70% 55% at 78% -5%, rgba(79,156,249,.16), transparent 60%),
    radial-gradient(60% 50% at 8% 5%, rgba(183,156,224,.12), transparent 55%),
    radial-gradient(80% 60% at 50% 110%, rgba(43,63,110,.18), transparent 60%);
  pointer-events: none;
}
:root[data-theme="light"] body::before {
  background:
    radial-gradient(70% 55% at 78% -5%, rgba(79,156,249,.14), transparent 60%),
    radial-gradient(60% 50% at 8% 5%, rgba(183,156,224,.14), transparent 55%);
}

img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul { list-style: none; padding: 0; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--text-strong);
  line-height: 1.12;
  font-weight: 600;
  letter-spacing: -0.02em;
}

::selection { background: rgba(79,156,249,.35); color: #fff; }

:focus-visible {
  outline: 2px solid var(--captain-bright);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- 3. Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container-narrow { max-width: 820px; }

section { position: relative; }
.section-pad { padding-block: clamp(3.5rem, 8vw, 7rem); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-display);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--captain-bright);
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 1px;
  background: var(--captain-bright);
  opacity: .6;
}

.section-title {
  font-size: clamp(1.9rem, 4.5vw, 3rem);
  max-width: 20ch;
}
.section-lead {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 58ch;
  margin-top: 1.1rem;
}

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

/* ---------- 4. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  padding: .85rem 1.5rem;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .98rem;
  border: 1px solid transparent;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, border-color .25s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary {
  background: var(--grad-brand);
  color: #fff;
  box-shadow: 0 8px 30px rgba(79,156,249,.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 40px rgba(79,156,249,.5); }
.btn-ghost {
  background: var(--surface-2);
  border-color: var(--line-strong);
  color: var(--text-strong);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { background: var(--surface-hover); transform: translateY(-2px); }
.btn-lg { padding: 1.05rem 2rem; font-size: 1.05rem; }

/* ---------- 5. Header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  border-bottom: 1px solid transparent;
  transition: background .3s, border-color .3s, backdrop-filter .3s;
}
.site-header.scrolled {
  background: color-mix(in srgb, var(--ink-900) 78%, transparent);
  backdrop-filter: blur(16px) saturate(1.2);
  border-bottom-color: var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  width: 100%;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  color: var(--text-strong);
}
.brand .brand-mark { width: 34px; height: 34px; flex: none; }
.brand small {
  display: block;
  font-size: .58rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-top: -2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: .35rem;
}
.nav-links a {
  padding: .5rem .85rem;
  border-radius: 999px;
  color: var(--text-muted);
  font-weight: 500;
  font-size: .96rem;
  transition: color .2s, background .2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--text-strong); background: var(--surface-2); }

.nav-actions { display: flex; align-items: center; gap: .6rem; }

.theme-toggle {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--surface-2);
  border: 1px solid var(--line);
  color: var(--text-muted);
  transition: color .2s, background .2s, transform .3s;
}
.theme-toggle:hover { color: var(--text-strong); transform: rotate(15deg); }
.theme-toggle .sun { display: none; }
:root[data-theme="light"] .theme-toggle .sun { display: block; }
:root[data-theme="light"] .theme-toggle .moon { display: none; }

.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  border-radius: 12px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  color: var(--text-strong);
  place-items: center;
}
.nav-toggle svg { width: 22px; height: 22px; }

/* ---------- 6. Hero ---------- */
.hero { padding-top: clamp(3rem, 7vw, 6rem); padding-bottom: clamp(3rem, 7vw, 6rem); overflow: hidden; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .4rem .9rem .4rem .5rem;
  border-radius: 999px;
  background: var(--surface-2);
  border: 1px solid var(--line-strong);
  font-size: .82rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  backdrop-filter: blur(8px);
}
.hero-badge .tag {
  background: var(--grad-brand);
  color: #fff;
  padding: .2rem .6rem;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .72rem;
  letter-spacing: .04em;
}
.hero h1 {
  font-size: clamp(2.5rem, 6.5vw, 4.4rem);
  line-height: 1.03;
  margin-bottom: 1.3rem;
}
.hero p.lead {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--text-muted);
  max-width: 46ch;
  margin-bottom: 2rem;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: .9rem; align-items: center; }
.hero-note { font-size: .82rem; color: var(--text-dim); margin-top: 1.4rem; }

/* Hero vizuál — abstraktní náramek */
.hero-visual {
  position: relative;
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
}
.hero-visual .orb {
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  background: var(--grad-brand);
  filter: blur(60px);
  opacity: .35;
  animation: float 8s ease-in-out infinite;
}
.hero-visual svg { position: relative; width: 92%; filter: drop-shadow(0 30px 60px rgba(0,0,0,.5)); }

@keyframes float {
  0%,100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-18px) scale(1.03); }
}

/* Plovoucí metriky kolem vizuálu */
.hero-chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: .55rem;
  padding: .6rem .9rem;
  border-radius: 14px;
  background: color-mix(in srgb, var(--ink-700) 82%, transparent);
  border: 1px solid var(--line-strong);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-md);
  font-size: .85rem;
  animation: float 7s ease-in-out infinite;
}
.hero-chip strong { color: var(--text-strong); font-family: var(--font-display); }
.hero-chip .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--captain-bright); box-shadow: 0 0 10px var(--captain-bright); }
.hero-chip.c1 { top: 6%; left: -4%; animation-delay: .4s; }
.hero-chip.c2 { top: 40%; right: -8%; animation-delay: 1.2s; }
.hero-chip.c2 .dot { background: var(--mauve); box-shadow: 0 0 10px var(--mauve); }
.hero-chip.c3 { bottom: 8%; left: 4%; animation-delay: 2s; }
.hero-chip.c3 .dot { background: #4ade80; box-shadow: 0 0 10px #4ade80; }

/* ---------- 7. Stat band ---------- */
.stat-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.stat {
  background: var(--ink-800);
  padding: clamp(1.4rem, 3vw, 2.2rem);
  text-align: center;
}
.stat .num {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  font-weight: 700;
  color: var(--text-strong);
  line-height: 1;
}
.stat .num .unit { font-size: .5em; color: var(--captain-bright); }
.stat .label { color: var(--text-muted); font-size: .9rem; margin-top: .5rem; }

/* ---------- 8. Cards & grids ---------- */
.grid { display: grid; gap: 1.4rem; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 3vw, 2.2rem);
  transition: transform .3s var(--ease), border-color .3s, background .3s;
  overflow: hidden;
}
.card:hover { transform: translateY(-4px); border-color: var(--line-strong); background: var(--surface-2); }
.card-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: grid; place-items: center;
  background: var(--grad-brand-soft);
  border: 1px solid var(--line-strong);
  margin-bottom: 1.2rem;
  color: var(--captain-bright);
}
.card-icon svg { width: 26px; height: 26px; }
.card h3 { font-size: 1.25rem; margin-bottom: .55rem; }
.card p { color: var(--text-muted); font-size: .98rem; }

/* Kategorie – větší karty s odkazem */
.cat-card {
  display: flex;
  flex-direction: column;
  min-height: 280px;
  justify-content: space-between;
}
.cat-card .cat-num {
  font-family: var(--font-display);
  font-size: .85rem;
  color: var(--text-dim);
  letter-spacing: .1em;
}
.cat-card .cat-link {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--captain-bright);
  margin-top: 1.4rem;
  font-size: .95rem;
}
.cat-card .cat-link svg { width: 18px; height: 18px; transition: transform .25s; }
.cat-card:hover .cat-link svg { transform: translateX(5px); }
.cat-card .badge-soon {
  align-self: flex-start;
  font-size: .72rem;
  padding: .25rem .6rem;
  border-radius: 999px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  color: var(--text-dim);
  font-family: var(--font-display);
  letter-spacing: .04em;
}

/* Feature list se zaškrtnutím */
.feature-list { display: grid; gap: .9rem; }
.feature-list li {
  display: flex;
  gap: .8rem;
  align-items: flex-start;
  color: var(--text);
}
.feature-list li svg { width: 22px; height: 22px; flex: none; color: var(--captain-bright); margin-top: 2px; }
.feature-list li strong { color: var(--text-strong); }

/* ---------- 9. Spec table ---------- */
.spec-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); }
table.spec {
  width: 100%;
  border-collapse: collapse;
  font-size: .96rem;
  min-width: 480px;
}
table.spec th, table.spec td { text-align: left; padding: 1rem 1.3rem; border-bottom: 1px solid var(--line); }
table.spec tr:last-child th, table.spec tr:last-child td { border-bottom: none; }
table.spec th { color: var(--text-muted); font-weight: 500; width: 42%; background: var(--surface); }
table.spec td { color: var(--text-strong); font-weight: 500; }
table.spec tr:hover td, table.spec tr:hover th { background: var(--surface-2); }

/* ---------- 10. FAQ accordion ---------- */
.faq { display: grid; gap: .9rem; }
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
  transition: border-color .25s;
}
.faq-item[open] { border-color: var(--line-strong); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.2rem 1.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--text-strong);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .plus {
  flex: none;
  width: 26px; height: 26px;
  position: relative;
  transition: transform .3s var(--ease);
}
.faq-item summary .plus::before,
.faq-item summary .plus::after {
  content: ""; position: absolute; background: var(--captain-bright);
  border-radius: 2px;
  top: 50%; left: 50%; transform: translate(-50%,-50%);
}
.faq-item summary .plus::before { width: 14px; height: 2px; }
.faq-item summary .plus::after { width: 2px; height: 14px; transition: transform .3s; }
.faq-item[open] summary .plus::after { transform: translate(-50%,-50%) scaleY(0); }
.faq-item .faq-body { padding: 0 1.4rem 1.3rem; color: var(--text-muted); }
.faq-item .faq-body p + p { margin-top: .8rem; }

/* ---------- 11. CTA banner ---------- */
.cta-banner {
  position: relative;
  border-radius: var(--radius-xl);
  padding: clamp(2.5rem, 6vw, 4.5rem);
  text-align: center;
  background:
    radial-gradient(120% 120% at 50% 0%, rgba(79,156,249,.22), transparent 60%),
    var(--ink-800);
  border: 1px solid var(--line-strong);
  overflow: hidden;
}
.cta-banner h2 { font-size: clamp(1.8rem, 4.5vw, 2.8rem); margin-bottom: 1rem; }
.cta-banner p { color: var(--text-muted); max-width: 52ch; margin: 0 auto 2rem; }
.cta-banner .hero-cta { justify-content: center; }

/* ---------- 12. Breadcrumb ---------- */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  align-items: center;
  font-size: .85rem;
  color: var(--text-dim);
  padding-top: 1.6rem;
}
.breadcrumb a:hover { color: var(--text); }
.breadcrumb .sep { opacity: .5; }

/* Page hero (podstránky) */
.page-hero { padding-top: clamp(2.5rem, 5vw, 4rem); padding-bottom: clamp(2rem, 4vw, 3rem); }
.page-hero h1 { font-size: clamp(2.2rem, 5.5vw, 3.4rem); margin-bottom: 1rem; }
.page-hero p { color: var(--text-muted); font-size: 1.12rem; max-width: 60ch; }

/* Prázdný stav pro kategorie */
.empty-state {
  text-align: center;
  padding: clamp(2.5rem, 6vw, 4rem);
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-lg);
  background: var(--surface);
}
.empty-state .es-icon {
  width: 64px; height: 64px; margin: 0 auto 1.3rem;
  border-radius: 18px; display: grid; place-items: center;
  background: var(--grad-brand-soft); border: 1px solid var(--line-strong);
  color: var(--captain-bright);
}
.empty-state h3 { font-size: 1.4rem; margin-bottom: .7rem; }
.empty-state p { color: var(--text-muted); max-width: 46ch; margin: 0 auto 1.6rem; }

/* Plánované články (placeholder list) */
.planned { display: grid; gap: 1rem; margin-top: 2.5rem; }
.planned-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.3rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text-muted);
}
.planned-item .pi-num { font-family: var(--font-display); color: var(--text-dim); font-size: .9rem; min-width: 26px; }
.planned-item .pi-title { color: var(--text-strong); font-weight: 500; }
.planned-item .pi-tag {
  margin-left: auto; font-size: .72rem; padding: .25rem .6rem; border-radius: 999px;
  background: var(--surface-2); border: 1px solid var(--line); color: var(--text-dim);
  font-family: var(--font-display); white-space: nowrap;
}

/* ---------- 13. Contact / forms ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.contact-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 3vw, 2.2rem);
}
.contact-method {
  display: flex; align-items: center; gap: 1rem;
  padding: 1rem 0; border-bottom: 1px solid var(--line);
}
.contact-method:last-child { border-bottom: none; }
.contact-method .cm-icon {
  width: 46px; height: 46px; flex: none; border-radius: 12px; display: grid; place-items: center;
  background: var(--grad-brand-soft); border: 1px solid var(--line-strong); color: var(--captain-bright);
}
.contact-method .cm-label { font-size: .82rem; color: var(--text-dim); }
.contact-method .cm-value { font-family: var(--font-display); color: var(--text-strong); font-weight: 600; font-size: 1.05rem; }
.contact-method a.cm-value:hover { color: var(--captain-bright); }

.eshop-list { display: grid; gap: .8rem; margin-top: 1.4rem; }
.eshop-row {
  display: flex; align-items: center; gap: 1rem;
  padding: 1rem 1.2rem; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface-2);
}
.eshop-row .er-name { font-weight: 600; color: var(--text-strong); font-family: var(--font-display); }
.eshop-row .er-badge {
  margin-left: auto; font-size: .74rem; color: var(--text-dim);
  padding: .3rem .7rem; border-radius: 999px; border: 1px dashed var(--line-strong);
}
.eshop-row.official .er-badge { color: var(--captain-bright); border-color: var(--captain); border-style: solid; }

/* ---------- 14. Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding-block: clamp(3rem, 6vw, 4.5rem) 2rem;
  margin-top: clamp(3rem, 8vw, 6rem);
  background: var(--ink-850);
}
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2rem; }
.footer-brand p { color: var(--text-muted); font-size: .92rem; margin-top: 1rem; max-width: 34ch; }
.footer-col h4 { font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; color: var(--text-dim); margin-bottom: 1.1rem; font-family: var(--font-display); }
.footer-col ul { display: grid; gap: .7rem; }
.footer-col a { color: var(--text-muted); font-size: .95rem; transition: color .2s; }
.footer-col a:hover { color: var(--text-strong); }
.footer-bottom {
  margin-top: 3rem; padding-top: 1.8rem; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center;
  color: var(--text-dim); font-size: .85rem;
}
.footer-disclaimer {
  margin-top: 1.6rem; padding: 1.1rem 1.3rem; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line);
  color: var(--text-dim); font-size: .82rem; line-height: 1.6;
}

/* ---------- 15. Reveal animace ---------- */
/* Skrytí platí jen když běží JS (.js na <html>). Bez JS je obsah plně viditelný. */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-visual .orb, .hero-chip { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- 16. Responsive ---------- */
@media (max-width: 940px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 440px; margin-inline: auto; order: -1; }
  .hero-chip { font-size: .78rem; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 780px) {
  .nav-links {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: .3rem;
    padding: 1rem var(--gutter) 1.5rem;
    background: color-mix(in srgb, var(--ink-900) 96%, transparent);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--line);
    transform: translateY(-140%);
    transition: transform .35s var(--ease);
    box-shadow: var(--shadow-md);
  }
  .nav-links.open { transform: none; }
  .nav-links a { padding: .8rem 1rem; font-size: 1.05rem; }
  .nav-toggle { display: grid; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .stat-band { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .footer-top { grid-template-columns: 1fr; }
  .hero-chip.c1 { left: 0; }
  .hero-chip.c2 { right: 0; }
}
