/* ==========================================================================
   Kamil Vládek – Finanční mapa
   Layout: listy mapy na tmavě modré mřížce; zlatá tečkovaná trasa vede
   od STARTU v úvodu přes 5 zastávek spolupráce až k CÍLI v kontaktu.
   ========================================================================== */

/* ---------- Písmo (hostované na vlastním serveru, licence OFL) ---------- */
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("../fonts/plus-jakarta-sans-latin-ext-wght-normal.woff2") format("woff2");
  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: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("../fonts/plus-jakarta-sans-latin-wght-normal.woff2") format("woff2");
  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;
}

/* ---------- Tokeny (identita je jen tmavá) ---------- */
:root {
  /* barvy */
  --ground: #0E1B2E;        /* tmavě modrá – podklad */
  --ground-deep: #0B1524;   /* hlubší pás */
  --ground-darkest: #08101C;
  --raised: #13243B;        /* karty a panely */
  --gold: #D4AF6A;          /* zlatá – trasa, zvýraznění, tlačítka */
  --gold-light: #E2C48A;
  --gold-deep: #C9A45C;
  --gold-soft: rgba(212, 175, 106, 0.12);
  --gold-faint: rgba(212, 175, 106, 0.06);
  --ink: #FFFFFF;           /* nadpisy */
  --ink-2: #C8D2E0;         /* text */
  --ink-3: #8FA0B8;         /* doplňky, poznámky */
  --hair: rgba(200, 210, 224, 0.14);
  --grid-line: rgba(255, 255, 255, 0.045);
  --grid: 88px;

  /* písmo */
  --font: "Plus Jakarta Sans", "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;

  /* rozvržení */
  --gutter: clamp(16px, 4.5vw, 40px);
  --maxw: 1200px;
  --header-h: 72px;
  --r-lg: 28px;
  --r: 20px;
  --r-sm: 14px;
  --stop: 56px;

  color-scheme: dark;
}

/* ---------- Základ ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 20px);
  background: var(--ground);
}

body {
  margin: 0;
  background-color: var(--ground);
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: var(--grid) var(--grid);
  background-position: center top;
  color: var(--ink-2);
  font-family: var(--font);
  font-size: 1.0625rem;
  font-weight: 450;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }

a { color: var(--gold); text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { color: var(--gold-light); }

:focus-visible {
  outline: 3px solid var(--gold-light);
  outline-offset: 3px;
  border-radius: 6px;
}

h1, h2, h3, h4 { color: var(--ink); font-weight: 800; margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
strong { color: var(--ink); font-weight: 700; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 100;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--ground);
  font-weight: 800;
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

.wrap {
  width: 100%;
  max-width: calc(var(--maxw) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.gold { color: var(--gold); }

/* ---------- Tlačítka ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  border: 2px solid transparent;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:active { transform: translateY(1px); }

.btn-primary { background: var(--gold); color: var(--ground); }
.btn-primary:hover { background: var(--gold-light); color: var(--ground); }
.btn-primary:active { background: var(--gold-deep); }

.btn-ghost { border-color: rgba(212, 175, 106, 0.5); color: var(--gold); background: transparent; }
.btn-ghost:hover { border-color: var(--gold); background: var(--gold-faint); color: var(--gold-light); }

.btn-sm { min-height: 44px; padding: 0 20px; font-size: 0.9375rem; }
.btn-lg { min-height: 58px; padding: 0 32px; font-size: 1.0625rem; }

/* ---------- Štítky identity ---------- */
.mapmark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--gold);
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  line-height: 1;
}
.mapmark svg { width: 26px; height: 26px; flex: none; }

.label {
  color: var(--gold);
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  line-height: 1.2;
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 7px 14px;
  border: 1.5px solid var(--gold);
  border-radius: 999px;
  color: var(--gold);
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1.1;
}

/* ---------- Hlavička ---------- */
.site-header {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 50;
  background: rgba(14, 27, 46, 0.88);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}
.site-header.is-scrolled {
  background: rgba(11, 21, 36, 0.94);
  border-bottom-color: var(--hair);
}
.site-header > .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: none;
  border-radius: 6px;
  text-decoration: none;
}
.brand-logo { display: block; width: auto; height: 46px; }
.site-footer .brand-logo { height: 60px; }

.nav { display: flex; align-items: center; gap: 2px; }
.nav a {
  color: var(--ink-2);
  text-decoration: none;
  font-weight: 650;
  font-size: 0.9375rem;
  padding: 10px 13px;
  border-radius: 999px;
  white-space: nowrap;
}
.nav a:hover { color: var(--ink); background: rgba(255, 255, 255, 0.06); }

.header-actions { display: flex; align-items: center; gap: 10px; }

.menu-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 16px;
  border: 1.5px solid var(--hair);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 700;
  cursor: pointer;
}
.menu-toggle svg { width: 20px; height: 20px; }
.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .icon-open { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }

.mobile-menu {
  border-top: 1px solid var(--hair);
  background: var(--ground-deep);
  max-height: calc(100vh - var(--header-h));
  max-height: calc(100dvh - var(--header-h));
  overflow-y: auto;
  overscroll-behavior: contain;
}
.mobile-menu .wrap { padding-block: 12px 24px; }
.mobile-menu ul { list-style: none; margin: 0; padding: 0; }
.mobile-menu li a {
  display: block;
  padding: 14px 0;
  border-bottom: 1px solid var(--hair);
  color: var(--ink);
  font-size: 1.25rem;
  font-weight: 750;
  text-decoration: none;
}
.mobile-menu .btn { width: 100%; margin-top: 20px; }
.mobile-menu .mobile-phone { margin-top: 14px; text-align: center; color: var(--ink-3); font-size: 0.9375rem; }
.mobile-menu .mobile-phone a { color: var(--ink); font-weight: 700; text-decoration: none; }

@media (max-width: 1080px) {
  .nav { display: none; }
  .menu-toggle { display: inline-flex; }
}
@media (max-width: 560px) {
  .header-actions .btn { display: none; }
  .site-header .brand-logo { height: 40px; }
}

/* ---------- Úvod ---------- */
.hero {
  position: relative;
  padding-block: clamp(40px, 7vw, 96px) clamp(110px, 12vw, 176px);
  overflow: hidden;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.85fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}
.hero-copy { position: relative; z-index: 1; min-width: 0; }
.hero h1 {
  margin-top: 26px;
  font-size: clamp(2.375rem, 1.35rem + 3.6vw, 4.25rem);
  line-height: 1.03;
  letter-spacing: -0.03em;
}
.lead {
  margin-top: 24px;
  max-width: 36em;
  font-size: clamp(1.125rem, 1.02rem + 0.4vw, 1.3125rem);
  line-height: 1.55;
  font-weight: 500;
  color: var(--ink-2);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

.facts {
  list-style: none;
  margin: 38px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 30px;
}
.facts li {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.3;
}
.facts li::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold);
  flex: none;
}

.portrait {
  position: relative;
  z-index: 1;
  justify-self: center;
  width: min(100%, 440px);
  margin: 0;
}
.portrait-frame {
  position: relative;
  aspect-ratio: 1;
  border-radius: 50%;
  box-shadow: 0 0 0 clamp(14px, 2vw, 26px) var(--gold-soft);
}
.portrait-frame img,
.portrait-frame picture {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
}
.portrait-frame img { object-fit: cover; }
.portrait-tag {
  position: absolute;
  left: 50%;
  bottom: -14px;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px 9px 12px;
  border-radius: 999px;
  background: var(--ground-deep);
  border: 1px solid rgba(212, 175, 106, 0.45);
  color: var(--ink);
  font-size: 0.875rem;
  font-weight: 700;
  white-space: nowrap;
}
.portrait-tag svg { width: 18px; height: 18px; color: var(--gold); }

/* trasa v úvodu */
.hero-route {
  position: absolute;
  left: 0;
  right: calc((100% - 100vw) / 2);
  bottom: clamp(-124px, -9.5vw, -102px);
  height: 120px;
  pointer-events: none;
}
.hero-route svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.route-start {
  position: absolute;
  left: 0;
  top: 50%;
  width: 22px;
  height: 22px;
  margin-top: -11px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 12px rgba(212, 175, 106, 0.16);
}
.route-start-label {
  position: absolute;
  left: -1px;
  top: calc(50% + 26px);
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.2em;
}

/* společné tahy trasy */
.r-under { fill: none; stroke: var(--gold); stroke-opacity: 0.14; stroke-width: 18; stroke-linecap: round; stroke-linejoin: round; }
.r-dots { fill: none; stroke: var(--gold); stroke-width: 5; stroke-linecap: round; stroke-dasharray: 0.01 14; }

.hero-route .r-dots,
[data-draw].will-draw .r-dots { clip-path: inset(0 100% 0 0); }
.hero-route .r-dots { animation: route-draw 1.8s 0.25s cubic-bezier(0.6, 0, 0.2, 1) forwards; }
[data-draw].is-drawn .r-dots { animation: route-draw 1.6s cubic-bezier(0.6, 0, 0.2, 1) forwards; }
@keyframes route-draw { to { clip-path: inset(0 0 0 0); } }

/* ---------- Sekce ---------- */
.section { position: relative; padding-block: clamp(72px, 10vw, 128px); }
.section--deep {
  background-color: var(--ground-deep);
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: var(--grid) var(--grid);
  background-position: center top;
  border-block: 1px solid rgba(200, 210, 224, 0.06);
}
.section-head { max-width: 780px; }
.section h2 {
  font-size: clamp(2rem, 1.3rem + 2.6vw, 3.375rem);
  line-height: 1.06;
  letter-spacing: -0.025em;
}
.section-head .label + h2 { margin-top: 16px; }
.section-head p {
  margin-top: 20px;
  max-width: 40em;
  font-size: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  line-height: 1.6;
}

/* ---------- Pro koho ---------- */
.audiences {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 52px;
}
.audience {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
  padding: 32px 28px 28px;
  border-radius: var(--r-lg);
  background: var(--raised);
  border: 1px solid var(--hair);
}
.badge-icon {
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  background: rgba(212, 175, 106, 0.08);
  color: var(--gold);
  flex: none;
}
.badge-icon svg { width: 32px; height: 32px; }
.audience h3 { margin-top: 10px; font-size: 1.5rem; line-height: 1.2; letter-spacing: -0.015em; }
.audience .sub { color: var(--gold); font-weight: 700; font-size: 1rem; line-height: 1.4; margin-top: -6px; }
.ticks { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 10px; }
.ticks li {
  display: flex;
  gap: 12px;
  align-items: baseline;
  color: var(--ink);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.45;
}
.ticks li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  flex: none;
  transform: translateY(-2px);
}
.note {
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--ink-3);
}
.audiences-note { margin-top: 20px; max-width: 60em; }

/* ---------- Jak pracuji: trasa s pěti zastávkami ---------- */
.route-steps { position: relative; margin-top: 64px; }
.route-steps .route-line {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 120px;
  width: 100%;
  overflow: visible;
}
.route-steps .marker-start,
.route-steps .marker-end {
  position: absolute;
  top: 60px;
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  line-height: 1;
}
.route-steps .marker-start { left: 0; transform: translateY(-50%); display: flex; align-items: center; gap: 12px; }
.route-steps .marker-start::before {
  content: "";
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 10px rgba(212, 175, 106, 0.16);
}
.route-steps .marker-start span { position: absolute; left: 0; top: -34px; }
.route-steps .marker-end {
  right: 0;
  transform: translateY(-100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.route-steps .marker-end svg { width: 34px; height: 44px; }

.steps {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0 0 0 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
.step { min-width: 0; padding: 0 14px; text-align: center; }
.stop {
  display: grid;
  place-items: center;
  width: var(--stop);
  height: var(--stop);
  margin: calc(60px - var(--stop) / 2) auto 0;
  border-radius: 50%;
  background: var(--gold);
  color: var(--ground);
  font-size: 1.375rem;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 0 0 14px rgba(212, 175, 106, 0.13);
  position: relative;
  z-index: 1;
}
.step .label { margin-top: 40px; }
.step h3 { margin-top: 10px; font-size: 1.3125rem; line-height: 1.25; letter-spacing: -0.01em; }
.step p:not(.label) { margin-top: 10px; font-size: 1rem; line-height: 1.6; }

.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 32px;
  margin-top: 64px;
  padding: 28px 32px;
  border-radius: var(--r-lg);
  border: 1px solid rgba(212, 175, 106, 0.35);
  background: var(--gold-faint);
}
.cta-row p { color: var(--ink); font-size: 1.3125rem; font-weight: 750; line-height: 1.35; letter-spacing: -0.01em; }
.cta-row p span { display: block; color: var(--ink-2); font-size: 1rem; font-weight: 500; letter-spacing: 0; margin-top: 4px; }

/* svislá trasa (mobil, sliby) */
.vroute { list-style: none; margin: 0; padding: 0; display: grid; gap: 36px; }
.vroute > li {
  position: relative;
  display: grid;
  grid-template-columns: var(--stop) minmax(0, 1fr);
  column-gap: 22px;
  align-items: start;
}
.vroute > li:not(:last-child)::before,
.vroute > li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: calc(var(--stop) / 2);
  bottom: -36px;
  pointer-events: none;
}
.vroute > li:not(:last-child)::before {
  left: calc(var(--stop) / 2 - 9px);
  width: 18px;
  background: rgba(212, 175, 106, 0.13);
}
.vroute > li:not(:last-child)::after {
  left: calc(var(--stop) / 2 - 2.5px);
  width: 5px;
  background-image: radial-gradient(circle, var(--gold) 2.2px, transparent 2.7px);
  background-size: 5px 14px;
  background-repeat: repeat-y;
}
.vroute .stop { margin: 0; }

@media (max-width: 1023px) {
  .route-steps { margin-top: 48px; }
  .route-steps .route-line,
  .route-steps .marker-start,
  .route-steps .marker-end { display: none; }
  .steps { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .step {
    position: relative;
    display: grid;
    grid-template-columns: var(--stop) minmax(0, 1fr);
    column-gap: 22px;
    padding: 0;
    text-align: left;
  }
  .step > :not(.stop) { grid-column: 2; }
  .step .stop { grid-row: 1 / span 3; margin: 0; }
  .step .label { margin-top: 4px; }
  .step:not(:last-child)::before,
  .step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: calc(var(--stop) / 2);
    bottom: -36px;
    pointer-events: none;
  }
  .step:not(:last-child)::before { left: calc(var(--stop) / 2 - 9px); width: 18px; background: rgba(212, 175, 106, 0.13); }
  .step:not(:last-child)::after {
    left: calc(var(--stop) / 2 - 2.5px);
    width: 5px;
    background-image: radial-gradient(circle, var(--gold) 2.2px, transparent 2.7px);
    background-size: 5px 14px;
    background-repeat: repeat-y;
  }
}

/* ---------- Sliby ---------- */
.promises-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.promises-grid .section-head p { max-width: 30em; }
.promise h3 { font-size: clamp(1.375rem, 1.2rem + 0.7vw, 1.75rem); line-height: 1.25; letter-spacing: -0.015em; padding-top: 10px; }
.promise p { margin-top: 10px; font-size: 1.0625rem; }

/* ---------- Služby ---------- */
.services {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 52px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--hair);
}
.service {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 4px 16px;
  align-content: start;
  padding: 28px 28px 30px 0;
  border-bottom: 1px solid var(--hair);
}
.service-icon {
  grid-row: 1 / span 3;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gold-soft);
  color: var(--gold);
}
.service-icon svg { width: 22px; height: 22px; }
.service h3 { font-size: 1.1875rem; line-height: 1.3; letter-spacing: -0.01em; padding-top: 9px; }
.service p { font-size: 0.96875rem; line-height: 1.6; margin-top: 4px; }
.service .note { margin-top: 8px; font-size: 0.8125rem; }

@media (max-width: 1023px) {
  .services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .services { grid-template-columns: minmax(0, 1fr); }
  .service { padding-right: 0; }
}

/* ---------- O mně ---------- */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.prose { display: grid; gap: 18px; max-width: 38em; }
.prose p { font-size: 1.125rem; line-height: 1.7; }
.prose .small { font-size: 0.9375rem; color: var(--ink-3); }
.about-copy h2 { margin-bottom: 28px; }

.efa {
  position: relative;
  padding: 36px 32px 32px;
  border-radius: var(--r-lg);
  background: var(--raised);
  border: 1px solid var(--hair);
  overflow: hidden;
}
.efa::after {
  content: "";
  position: absolute;
  right: -86px;
  top: -86px;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  border: 2px solid rgba(212, 175, 106, 0.35);
  box-shadow: 0 0 0 26px rgba(212, 175, 106, 0.05);
  pointer-events: none;
}
.efa .efa-mark {
  color: var(--gold);
  font-size: 4.5rem;
  line-height: 0.9;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.efa h3 { margin-top: 20px; font-size: 1.375rem; line-height: 1.25; }
.efa p { margin-top: 12px; font-size: 1rem; line-height: 1.65; }
.efa dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 16px;
  margin: 26px 0 0;
  padding-top: 24px;
  border-top: 1px solid var(--hair);
}
.efa dt { color: var(--ink-3); font-size: 0.8125rem; font-weight: 700; }
.efa dd { margin: 4px 0 0; color: var(--ink); font-size: 1.125rem; font-weight: 800; line-height: 1.3; }
.efa .efa-stat {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 22px;
  padding: 14px 18px;
  border-radius: var(--r);
  background: rgba(212, 175, 106, 0.08);
  border: 1px solid rgba(212, 175, 106, 0.3);
  color: var(--ink);
  font-weight: 700;
  line-height: 1.35;
}
.efa .efa-stat strong {
  flex: none;
  color: var(--gold);
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
  white-space: nowrap;
}
.efa .efa-source { margin-top: 22px; color: var(--ink-3); font-size: 0.8125rem; line-height: 1.55; }
.efa .efa-source a { color: var(--ink-2); }
.efa .efa-source a:hover { color: var(--gold-light); }

/* ---------- Rychlý test ---------- */
.test-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
  padding: clamp(28px, 4.5vw, 56px);
  border-radius: 32px;
  background: var(--ground-deep);
  border: 1px solid rgba(212, 175, 106, 0.3);
}
.test-copy .label + h2 { margin-top: 14px; }
.test-copy p:not(.label) { margin-top: 18px; font-size: 1.0625rem; }
.test-copy .rule {
  margin-top: 26px;
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding-top: 22px;
  border-top: 1px solid var(--hair);
}
.test-copy .rule strong { color: var(--gold); font-size: 3.25rem; line-height: 0.9; font-weight: 800; letter-spacing: -0.03em; }
.test-copy .rule span { color: var(--ink); font-weight: 650; line-height: 1.45; }

.test-form { display: grid; gap: 18px; min-width: 0; }
.field { display: grid; gap: 8px; }
.field label { color: var(--ink); font-weight: 700; font-size: 0.9375rem; }
.field .hint { color: var(--ink-3); font-size: 0.8125rem; font-weight: 500; }
.input-wrap { position: relative; }
.input-wrap input {
  width: 100%;
  min-height: 58px;
  padding: 0 56px 0 18px;
  border-radius: var(--r-sm);
  border: 1.5px solid rgba(200, 210, 224, 0.45);
  background: var(--ground-darkest);
  color: var(--ink);
  font-family: inherit;
  font-size: 1.25rem;
  font-weight: 750;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.01em;
  -webkit-appearance: none;
  appearance: none;
}
.input-wrap input:hover { border-color: rgba(200, 210, 224, 0.65); }
.input-wrap input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(212, 175, 106, 0.2); }
.input-wrap .unit {
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--ink-3);
  font-weight: 700;
  pointer-events: none;
}
.test-result {
  margin-top: 6px;
  padding: 24px 24px 22px;
  border-radius: var(--r);
  background: var(--raised);
  border: 1px solid var(--hair);
}
.test-result .out-label { color: var(--ink-3); font-size: 0.875rem; font-weight: 700; }
.test-result .out-value {
  margin-top: 4px;
  color: var(--gold);
  font-size: clamp(2rem, 1.6rem + 1.4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.months { margin-top: 18px; }
.months svg { width: 100%; height: auto; overflow: visible; }
.months .m-label { fill: var(--ink-3); font: 700 22px var(--font); }
.months .m-off { fill: var(--ground-deep); stroke: var(--gold); stroke-width: 2.5; }
.months .m-on { fill: var(--gold); stroke: var(--gold); stroke-width: 2.5; }
.test-result .out-msg { margin-top: 14px; color: var(--ink); font-weight: 650; line-height: 1.5; }
.test-result .out-gap { margin-top: 4px; color: var(--ink-2); }
.test-form .note { margin-top: 2px; }

/* ---------- Instagram ---------- */
.ig-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px 40px;
}
.ig-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.ig-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin: 44px 0 0;
  padding: 0;
  list-style: none;
}
.ig-grid > li { container-type: inline-size; min-width: 0; }
/* dlaždice = zmenšená titulní strana karuselu (1080 × 1350 px) */
.post {
  position: relative;
  display: flex;
  flex-direction: column;
  aspect-ratio: 4 / 5;
  height: 100%;
  padding: 7.4cqw 8.9cqw 6cqw;
  border-radius: var(--r);
  background-color: var(--ground);
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 8.333cqw 8.333cqw;
  background-position: -1px -1px;
  border: 1px solid var(--hair);
  color: var(--ink);
  text-decoration: none;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.post:hover { border-color: rgba(212, 175, 106, 0.7); color: var(--ink); transform: translateY(-3px); }
.post-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.post .mapmark { font-size: max(10px, 2.4cqw); gap: 1.3cqw; letter-spacing: 0.16em; }
.post .mapmark svg { width: max(13px, 3.2cqw); height: max(13px, 3.2cqw); }
.post-top .ig { color: var(--ink-3); width: max(16px, 4cqw); height: max(16px, 4cqw); flex: none; }
.post .pill {
  align-self: flex-start;
  margin-top: 16cqw;
  font-size: max(10px, 2.4cqw);
  padding: max(4px, 1.1cqw) max(9px, 2.2cqw);
  border-width: max(1.25px, 0.2cqw);
}
.post-title {
  margin-top: 4cqw;
  font-size: 9.6cqw;
  line-height: 1.04;
  font-weight: 800;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
.post-sub { margin-top: 2.6cqw; color: var(--ink-2); font-size: max(12px, 4.1cqw); line-height: 1.3; font-weight: 600; }
.post-foot { margin-top: auto; padding-top: 5cqw; display: grid; gap: 4cqw; }
.post-foot svg { width: 100%; height: auto; overflow: visible; }
.post-foot .by { color: var(--ink-3); font-size: max(10.5px, 2.2cqw); font-weight: 600; line-height: 1.2; }
.post-foot .by-name { display: block; margin-bottom: 2px; color: var(--ink-2); font-weight: 700; }
.ig-note { margin-top: 18px; }

@media (max-width: 1023px) {
  .ig-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .ig-grid { gap: 12px; }
  .post { padding: 14px 13px 13px; }
  .post .mapmark span { display: none; }
  .post .pill { margin-top: 18px; line-height: 1.3; }
  .post-title { font-size: max(15px, 9.6cqw); }
  .post-foot .by { display: none; }
}

/* ---------- Otázky ---------- */
.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(36px, 6vw, 96px);
  align-items: start;
}
.faq-aside p { margin-top: 18px; max-width: 26em; }
.faq-aside .btn { margin-top: 26px; }
.faq { border-top: 1px solid var(--hair); }
.faq details { border-bottom: 1px solid var(--hair); }
.faq summary {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
  color: var(--ink);
  font-size: 1.1875rem;
  font-weight: 750;
  line-height: 1.35;
  letter-spacing: -0.01em;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1.5px solid rgba(212, 175, 106, 0.55);
  background:
    linear-gradient(var(--gold), var(--gold)) center / 12px 2px no-repeat,
    linear-gradient(var(--gold), var(--gold)) center / 2px 12px no-repeat;
  transition: transform 0.2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--gold-light); }
.faq .answer { padding: 0 52px 24px 0; }
.faq .answer p { line-height: 1.65; }

/* ---------- Kontakt ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(36px, 6vw, 88px);
  align-items: start;
}
.contact-copy .section-head p { max-width: 30em; }
.contact-copy .btn { margin-top: 30px; }
.contact-list {
  list-style: none;
  margin: 40px 0 0;
  padding: 0;
  border-top: 1px solid var(--hair);
}
.contact-item {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 18px 0;
  border-bottom: 1px solid var(--hair);
}
.contact-item > div { min-width: 0; }
.contact-item .ci-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gold-soft);
  color: var(--gold);
}
.contact-item .ci-icon svg { width: 20px; height: 20px; }
.contact-item .ci-label { color: var(--ink-3); font-size: 0.8125rem; font-weight: 700; line-height: 1.3; }
.contact-item .ci-value { margin-top: 3px; color: var(--ink); font-size: 1.0625rem; font-weight: 700; line-height: 1.45; overflow-wrap: anywhere; }
.contact-item .ci-value a { color: var(--ink); text-decoration: none; }
.contact-item .ci-value a:hover { color: var(--gold-light); text-decoration: underline; }
.contact-item .links { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 4px; font-size: 0.9375rem; font-weight: 700; }
.contact-item .links a { color: var(--gold); }
.contact-item .links--first { margin-top: 3px; }
.contact-item .ci-muted { color: var(--ink-2); font-weight: 500; font-size: 0.9375rem; }

.map-panel {
  position: relative;
  margin: 0;
  border-radius: 32px;
  overflow: hidden;
  border: 1px solid rgba(212, 175, 106, 0.3);
  background-color: var(--ground);
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 44px 44px;
  background-position: center;
  aspect-ratio: 5 / 6;
}
.map-panel svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-panel .m-under { fill: none; stroke: var(--gold); stroke-opacity: 0.14; stroke-width: 22; stroke-linecap: round; stroke-linejoin: round; }
.map-panel .m-dots { fill: none; stroke: var(--gold); stroke-width: 6; stroke-linecap: round; stroke-dasharray: 0.01 17; }
.map-panel .m-text { fill: var(--gold); font: 800 15px var(--font); letter-spacing: 3px; }
.map-panel .m-north { fill: var(--ink-3); font: 800 14px var(--font); letter-spacing: 1px; }
.map-panel figcaption {
  position: absolute;
  left: 7%;
  right: 7%;
  bottom: 6%;
  padding: 18px 20px;
  border-radius: var(--r);
  background: rgba(8, 16, 28, 0.88);
  border: 1px solid var(--hair);
  color: var(--ink-2);
  font-size: 0.9375rem;
  line-height: 1.5;
}
.map-panel figcaption strong { display: block; color: var(--ink); font-size: 1.0625rem; }

/* ---------- Patička ---------- */
.site-footer {
  background: var(--ground-darkest);
  border-top: 1px solid rgba(200, 210, 224, 0.08);
  padding-block: 64px 40px;
  font-size: 0.9375rem;
}
.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: 36px 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--hair);
}
.footer-brand p { margin-top: 18px; max-width: 24em; color: var(--ink-2); }
.site-footer h2 {
  color: var(--ink-3);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer ul a { color: var(--ink); text-decoration: none; font-weight: 600; }
.site-footer ul a:hover { color: var(--gold-light); text-decoration: underline; }
.site-footer address { font-style: normal; color: var(--ink-2); line-height: 1.6; }
.legal {
  display: grid;
  gap: 12px;
  padding-top: 32px;
  color: var(--ink-3);
  font-size: 0.8125rem;
  line-height: 1.65;
  max-width: 980px;
}
.legal ul { list-style: disc; padding-left: 1.2em; gap: 4px; display: block; }
.legal ul li + li { margin-top: 3px; }
.legal strong { color: var(--ink-2); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--hair);
  color: var(--ink-3);
  font-size: 0.8125rem;
}
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer-bottom a { color: var(--ink-2); font-weight: 600; }
.footer-bottom a:hover { color: var(--gold-light); }

/* ---------- Mobilní lišta s rezervací ---------- */
.mobile-cta {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  z-index: 40;
  display: none;
  gap: 10px;
  padding: 8px;
  border-radius: 999px;
  background: rgba(8, 16, 28, 0.92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid var(--hair);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
  transform: translateY(140%);
  visibility: hidden;
  transition: transform 0.25s ease, visibility 0.25s;
}
.mobile-cta .btn { flex: 1; min-height: 48px; }
.mobile-cta .call {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  flex: none;
  border-radius: 50%;
  border: 1.5px solid rgba(212, 175, 106, 0.5);
  color: var(--gold);
}
.mobile-cta .call svg { width: 20px; height: 20px; }
@media (max-width: 760px) {
  .mobile-cta { display: flex; }
  .show-mobile-cta .mobile-cta { transform: translateY(0); visibility: visible; }
  .menu-open .mobile-cta { transform: translateY(140%); visibility: hidden; }
  .site-footer { padding-bottom: calc(110px + env(safe-area-inset-bottom, 0px)); }
}

/* ---------- Podstránky (právní informace, ochrana údajů, 404) ---------- */
.doc-hero { padding-block: clamp(48px, 8vw, 104px) clamp(24px, 4vw, 48px); }
.doc-hero h1 { margin-top: 22px; font-size: clamp(2.25rem, 1.5rem + 3vw, 3.75rem); line-height: 1.05; letter-spacing: -0.03em; }
.doc-hero p { margin-top: 18px; max-width: 40em; font-size: 1.1875rem; }
.doc { padding-block: 16px clamp(72px, 10vw, 120px); }
.doc-body { max-width: 780px; display: grid; gap: 44px; }
.doc-body section { display: grid; gap: 14px; }
.doc-body h2 { font-size: clamp(1.375rem, 1.2rem + 0.8vw, 1.75rem); line-height: 1.25; letter-spacing: -0.015em; }
.doc-body p, .doc-body li { font-size: 1.0625rem; line-height: 1.7; }
.doc-body ul { margin: 0; padding-left: 1.25em; display: grid; gap: 6px; }
.doc-body .card {
  padding: 24px 26px;
  border-radius: var(--r);
  background: var(--raised);
  border: 1px solid var(--hair);
}
.doc-body .card p + p, .doc-body .card p + ul, .doc-body .card ul + p { margin-top: 12px; }
.doc-body .card dl + p { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--hair); color: var(--ink-3); font-size: 0.9375rem; }
.doc-body dl { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 8px 24px; margin: 0; }
.doc-body dt { color: var(--ink-3); font-weight: 700; font-size: 0.9375rem; padding-top: 2px; }
.doc-body dd { margin: 0; color: var(--ink); font-weight: 600; }
.doc-body .updated { color: var(--ink-3); font-size: 0.9375rem; }
.table-wrap { overflow-x: auto; border-radius: var(--r); border: 1px solid var(--hair); background: var(--raised); }
.doc-body table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; line-height: 1.55; }
.doc-body th, .doc-body td { padding: 14px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--hair); }
.doc-body thead th { color: var(--ink-3); font-size: 0.8125rem; font-weight: 800; letter-spacing: 0.04em; background: rgba(255, 255, 255, 0.02); }
.doc-body tbody th { color: var(--ink); font-weight: 750; }
.doc-body tbody tr:last-child th, .doc-body tbody tr:last-child td { border-bottom: 0; }
@media (max-width: 720px) {
  .doc-body table, .doc-body tbody, .doc-body tr, .doc-body th, .doc-body td { display: block; width: 100%; }
  .doc-body thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .doc-body tbody tr { padding: 14px 16px; border-bottom: 1px solid var(--hair); }
  .doc-body tbody tr:last-child { border-bottom: 0; }
  .doc-body tbody th, .doc-body tbody td { padding: 3px 0; border-bottom: 0; }
  .doc-body tbody th { font-size: 1rem; padding-bottom: 6px; }
  .doc-body tbody td::before { content: attr(data-label) ": "; color: var(--ink-3); font-weight: 700; }
}
@media (max-width: 560px) {
  .doc-body dl { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .doc-body dd { margin-bottom: 10px; }
}

.notfound { padding-block: clamp(72px, 14vw, 160px); }
.notfound h1 { margin-top: 22px; font-size: clamp(2.5rem, 1.5rem + 4vw, 4.5rem); line-height: 1.03; letter-spacing: -0.03em; }
.notfound p { margin-top: 18px; font-size: 1.1875rem; max-width: 34em; }
.notfound .hero-actions { margin-top: 32px; }
.notfound-route { margin-top: 56px; max-width: 640px; }
.notfound-route svg { width: 100%; height: auto; overflow: visible; }

/* ---------- Zalomení pod šířkou tabletu ---------- */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .portrait { width: min(78%, 340px); margin-top: 8px; }
  .hero-route { display: none; }
  .audiences { grid-template-columns: minmax(0, 1fr); }
  .promises-grid,
  .about-grid,
  .faq-grid,
  .contact-grid,
  .test-panel { grid-template-columns: minmax(0, 1fr); }
  .map-panel { aspect-ratio: 4 / 3; }
  .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  body { font-size: 1rem; }
  .btn { width: 100%; }
  .hero-actions { flex-direction: column; }
  .facts { gap: 10px 22px; }
  .facts li { font-size: 0.9375rem; }
  .audience { padding: 26px 22px 22px; }
  .cta-row { padding: 22px 20px; }
  .efa { padding: 28px 22px 24px; }
  .map-panel { display: none; }
  .faq .answer { padding-right: 0; }
  .footer-top { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Omezený pohyb ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .hero-route .r-dots,
  [data-draw].will-draw .r-dots { clip-path: none; }
}
