/* P06 – Štvrťrok · Swiss grid · white + ultramarine */

:root {
  --bg: oklch(0.99 0 0);
  --fg: oklch(0.18 0 0);
  --muted: oklch(0.5 0 0);
  --line: oklch(0.9 0 0);
  --line-ui: oklch(0.6 0 0);
  --accent: oklch(0.45 0.22 268);
  --accent-hover: oklch(0.38 0.2 268);
  --accent-fg: oklch(0.99 0 0);
  --stamp-bg: oklch(0.99 0 0 / 0.86);

  --font-sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-serif: "Instrument Serif", Georgia, "Times New Roman", serif;

  --section-y: clamp(6rem, 4rem + 8vw, 14rem);
  --rail: 0px;
  --top: 48px;
  --pad: 20px;
  --gutter: 16px;
  --max: 1440px;

  --step-0: 1.0625rem;   /* 17px text */
  --step--1: 0.9375rem;  /* 15px tables */
  --step--2: 0.8125rem;  /* 13px tickets, small */
  --step--3: 0.75rem;    /* 12px labels */
  --step--4: 0.6875rem;  /* 11px stamp */
  --display-1: clamp(2.5rem, 1.6rem + 4vw, 6rem);
  --display-2: clamp(1.75rem, 1.3rem + 1.8vw, 3.25rem);
  --display-3: 2rem;
  --vat-size: 6rem;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

@media (min-width: 768px) {
  :root { --pad: 32px; --gutter: 24px; }
}
@media (min-width: 1024px) {
  :root { --rail: 64px; --top: 0px; --vat-size: clamp(6rem, 4rem + 10vw, 14rem); }
}
@media (min-width: 1280px) {
  :root { --pad: 48px; }
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scrollbar-color: var(--line-ui) var(--bg);
  background: var(--bg);
}
html.motion { scroll-behavior: auto !important; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  font-size: var(--step-0);
  line-height: 1.5rem;
  font-weight: 400;
  font-kerning: normal;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  caret-color: var(--accent);
  overflow-x: clip;
}
::selection { background: var(--accent); color: var(--accent-fg); }
h1, h2, h3, p, ol, ul, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
b, strong { font-weight: 700; }
em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0;
}
button, input, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ico {
  width: 1.125rem; height: 1.125rem; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.75;
  stroke-linecap: round; stroke-linejoin: round;
}
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.num { font-variant-numeric: tabular-nums lining-nums; }
.label {
  font-size: var(--step--3);
  line-height: 1rem;
  font-weight: 500;
  font-stretch: 75%;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.skip {
  position: fixed; left: 8px; top: 8px; z-index: 100;
  padding: 12px 16px; background: var(--accent); color: var(--accent-fg);
  transform: translateY(-200%);
}
.skip:focus-visible { transform: none; outline-color: var(--fg); }

/* ---------- type ---------- */
.display-1 {
  font-size: var(--display-1);
  line-height: 1;
  line-height: round(up, 1em, 8px);
  font-weight: 700;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.display-2 {
  font-size: var(--display-2);
  line-height: 1.1;
  line-height: round(up, 1.08em, 8px);
  font-weight: 700;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.display-1 em, .display-2 em { letter-spacing: -0.01em; }

/* ---------- grid ---------- */
.wrap {
  position: relative;
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--pad);
}
.grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gutter);
}
.grid > * { grid-column: 1 / -1; }

main { display: block; margin-left: var(--rail); padding-top: var(--top); }
main:focus { outline: none; }
.footer { margin-left: var(--rail); }
section:focus { outline: none; }
section[id] { scroll-margin-top: var(--top); }

.grid-lines {
  position: absolute;
  inset: 0 var(--pad);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: var(--gutter);
  pointer-events: none;
  z-index: 0;
}
.gl {
  border-inline: 1px solid var(--line);
  opacity: 0.6;
  transform-origin: 50% 0;
}
.gl:nth-child(n + 5) { display: none; }
@media (min-width: 768px) {
  .grid-lines { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .gl:nth-child(n + 5) { display: block; }
}
.grid > .grid-lines { grid-column: auto; }

/* ---------- rail (desktop) / topbar (mobile) ---------- */
.rail { display: none; }
.topbar {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: 48px;
  display: flex; align-items: center; justify-content: space-between;
  padding-inline: var(--pad) 4px;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.topbar-logo {
  font-weight: 700; letter-spacing: -0.01em; text-decoration: none;
  min-height: 44px; display: inline-flex; align-items: center;
}
.topbar-cta {
  min-height: 44px; display: inline-flex; align-items: center;
  padding-inline: 16px;
  font-size: var(--step--3); line-height: 1rem;
  font-weight: 500; font-stretch: 75%; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--accent); text-decoration: none;
}
.topbar-cta:hover { text-decoration: underline; }

@media (min-width: 1024px) {
  .topbar { display: none; }
  .rail {
    position: fixed; inset: 0 auto 0 0; z-index: 50;
    width: var(--rail);
    display: flex; flex-direction: column; align-items: center; justify-content: space-between;
    padding-block: 24px;
    background: var(--bg);
    border-right: 1px solid var(--line);
  }
  .rail-logo {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    font-weight: 700; font-size: 1rem; line-height: 1.5rem; letter-spacing: -0.01em;
    text-decoration: none;
    padding: 8px 10px;
  }
  .rail-list { display: flex; flex-direction: column; width: 100%; }
  .rail-list a {
    position: relative;
    display: flex; align-items: center; justify-content: center;
    height: 48px;
    text-decoration: none;
    color: var(--muted);
  }
  .rail-num {
    font-size: var(--step--3); line-height: 1rem; font-weight: 500;
    font-variant-numeric: tabular-nums; letter-spacing: 0.04em;
    transition: color 0.2s;
  }
  .rail-list a:hover .rail-num { color: var(--fg); }
  .rail-list a.is-active .rail-num { color: var(--accent); font-weight: 700; }
  .rail-bar {
    position: absolute; right: -1px; top: 0; bottom: 0;
    width: 1px; background: var(--accent);
    transform: scaleY(0); transform-origin: 50% 0;
  }
  .rail-name {
    position: absolute; left: calc(100% + 8px); top: 50%;
    translate: 0 -50%;
    padding: 4px 8px;
    background: var(--fg); color: var(--bg);
    font-size: var(--step--3); line-height: 1rem; font-weight: 500;
    white-space: nowrap;
    opacity: 0; pointer-events: none;
    transition: opacity 0.15s;
  }
  .rail-list a:hover .rail-name,
  .rail-list a:focus-visible .rail-name { opacity: 1; }
  .rail-phone {
    writing-mode: vertical-rl; transform: rotate(180deg);
    font-size: var(--step--3); line-height: 1rem; font-weight: 500;
    font-stretch: 75%; letter-spacing: 0.06em; color: var(--muted);
    font-variant-numeric: tabular-nums;
  }
}

/* ---------- buttons, links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 56px;
  padding: 16px 28px;
  border: 0; border-radius: 0;
  background: var(--accent); color: var(--accent-fg);
  font-weight: 600; font-size: 1rem; line-height: 1.5rem;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s;
}
.btn:hover { background: var(--accent-hover); }
.link {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px;
  font-weight: 500;
  text-decoration: underline; text-decoration-color: var(--line-ui);
  transition: text-decoration-color 0.2s;
}
.link:hover { text-decoration-color: currentColor; }

/* ---------- 01 hero ---------- */
.hero { position: relative; }
.hero-wrap {
  padding-top: 72px;
  padding-bottom: 32px;
  row-gap: 0;
  align-content: start;
}
.hero-wrap > :not(.grid-lines) { position: relative; z-index: 1; }
.hero-h1 { padding-top: 24px; }
.vat { margin-top: 48px; }
.vat-num {
  font-size: var(--vat-size);
  line-height: 0.85;
  line-height: round(up, 0.85em, 8px);
  font-weight: 700;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums lining-nums;
  margin-block: 8px 16px;
  margin-left: -0.04em;
}
.vat-label { color: var(--fg); }
.vat-sub { font-size: var(--step--2); line-height: 1rem; color: var(--muted); }
.vat-sub span:first-child { color: var(--fg); font-weight: 500; }
.hero-lede { margin-top: 48px; max-width: 34em; }
.hero-cta {
  margin-top: 32px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px;
}
.hero-facts {
  margin-top: 64px;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: var(--gutter); row-gap: 24px;
  font-size: var(--step--2); line-height: 1.5rem;
}
.hero-facts li { border-top: 1px solid var(--fg); padding-top: 8px; }
.hero-facts .label { display: block; }

@media (min-width: 768px) {
  .hero-facts { grid-column: 1 / -1; grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .hero-lede { grid-column: 1 / 8; }
}
@media (min-width: 1024px) {
  .hero-wrap {
    min-height: 100svh;
    padding-top: 15vh;
    grid-template-rows: 1fr auto auto auto;
  }
  .hero-h1 { grid-column: 1 / 9; grid-row: 1; align-self: end; padding-top: 0; }
  .vat { grid-column: 9 / 13; grid-row: 1; align-self: end; margin-top: 0; }
  .hero-lede { grid-column: 1 / 6; grid-row: 2; }
  .hero-cta { grid-column: 1 / 9; grid-row: 3; }
  .hero-facts {
    grid-row: 4;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    margin-top: 12vh;
  }
  .hero-facts li { grid-column: span 3; }
}

/* ---------- sections ---------- */
.section { padding-block: var(--section-y) 0; }
.section:last-of-type { padding-bottom: var(--section-y); }
.sec-title { max-width: 18em; }
.sec-note { margin-top: 24px; color: var(--muted); max-width: 40em; }
.sec-note--table { margin-top: 32px; }
@media (min-width: 1024px) {
  .sec-title { grid-column: 1 / 9; }
  .sec-note { grid-column: 1 / 7; }
  .sec-note--table { grid-column: 2 / 10; }
  .side-title { grid-column: 1 / 5; align-self: start; }
}

/* 02 pre koho */
.who { margin-top: 64px; border-top: 1px solid var(--fg); padding-top: 24px; max-width: 32em; }
.who + .who { margin-top: 48px; }
.who-name {
  font-family: var(--font-serif); font-style: italic; font-weight: 400;
  font-size: var(--display-3); line-height: 2.5rem; letter-spacing: -0.01em;
  margin-bottom: 16px;
}
.who p:not(.who-price) { color: var(--fg); }
.who-price { margin-top: 24px; color: var(--muted); }
.who-price .num { color: var(--fg); font-weight: 700; }
@media (min-width: 768px) {
  .who, .who + .who { margin-top: 96px; }
  .who:nth-of-type(1) { grid-column: 1 / 5; }
  .who:nth-of-type(2) { grid-column: 5 / 9; }
  .who:nth-of-type(3) { grid-column: 9 / 13; }
}
@media (min-width: 1024px) {
  .who:nth-of-type(1) { grid-column: 2 / 5; }
  .who:nth-of-type(2) { grid-column: 5 / 8; }
  .who:nth-of-type(3) { grid-column: 8 / 11; }
}

/* ---------- 03 termínovník ---------- */
.tl { position: relative; background: var(--bg); }
.tl-wrap { position: relative; }
.tl-wrap > :not(.grid-lines) { position: relative; z-index: 1; }
.tl-lines { inset-block: calc(-1 * var(--section-y)) 0; }
.tl-head { grid-column: 1 / -1; }
.tl-lede { margin-top: 16px; max-width: 34em; color: var(--muted); }
.tl-count { margin-top: 24px; font-variant-numeric: tabular-nums; color: var(--fg); }
.band { position: relative; margin-top: 48px; }
.months { position: relative; }
.month {
  display: grid; grid-template-columns: 96px minmax(0, 1fr); column-gap: var(--gutter);
  padding-block: 16px;
  border-top: 1px solid var(--line);
}
.m-name {
  font-size: var(--step--3); line-height: 1rem; font-weight: 500;
  font-stretch: 75%; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--fg);
  padding-top: 8px;
  transition: color 0.2s;
}
.month.is-active .m-name { color: var(--accent); font-weight: 700; }
.m-today {
  display: block; margin-top: 4px;
  color: var(--muted); font-weight: 500;
}
.tickets { display: grid; gap: 8px; }
.ticket {
  position: relative;
  padding: 8px;
  background: var(--bg);
  border: 1px solid var(--line);
  font-size: var(--step--2); line-height: 1rem;
  font-stretch: 87.5%;
}
.t-day { font-weight: 700; font-variant-numeric: tabular-nums; }
.t-who { display: block; color: var(--muted); font-size: var(--step--4); line-height: 1rem; }
.stamp {
  position: absolute; left: 50%; top: 50%;
  padding: 2px 6px;
  border: 2px solid var(--accent);
  background: var(--stamp-bg);
  color: var(--accent);
  font-size: var(--step--4); line-height: 1rem;
  font-weight: 700; font-stretch: 100%;
  letter-spacing: 0.08em; text-transform: uppercase;
  white-space: nowrap;
  transform: translate(-50%, -50%) rotate(-8deg);
  opacity: 0;
  pointer-events: none;
}
@media (max-width: 1023.98px) {
  .stamp { left: calc(100% - 52px); }
  .ticket { padding-right: 96px; min-height: 48px; }
}
.ticket.is-done .stamp { opacity: 1; }
.ticket.anim-in .stamp { animation: stamp-in 220ms cubic-bezier(0.23, 1, 0.32, 1) both; }
.ticket.anim-in { animation: bump 180ms ease-out 90ms; }
.ticket.anim-out .stamp { animation: stamp-out 160ms ease-in both; }
@keyframes stamp-in {
  from { opacity: 0; transform: translate(-50%, -50%) rotate(-8deg) scale(1.6); }
  to { opacity: 1; transform: translate(-50%, -50%) rotate(-8deg) scale(1); }
}
@keyframes stamp-out {
  from { opacity: 1; transform: translate(-50%, -50%) rotate(-8deg) scale(1); }
  to { opacity: 0; transform: translate(-50%, -50%) rotate(-8deg) scale(1.2); }
}
@keyframes bump { 50% { transform: translateY(2px); } }

.today-line {
  position: absolute; left: 0; top: 0; right: 0;
  height: 1px;
  background: var(--accent);
  z-index: 3;
  pointer-events: none;
  display: none;
  will-change: transform;
}
.tl.has-line .today-line { display: block; }
.today-tag {
  position: absolute; right: 0; top: -20px;
  padding-inline: 4px;
  background: var(--bg);
  color: var(--accent);
  font-size: var(--step--3); line-height: 1rem; font-weight: 700;
  font-variant-numeric: tabular-nums; white-space: nowrap;
}

.tl-foot { margin-top: 32px; display: grid; gap: 24px; }
.tl-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 8px; }
.tl-controls[hidden] { display: none; }
.step {
  display: inline-flex; align-items: center; gap: 4px;
  min-height: 44px; min-width: 44px;
  padding: 8px 14px;
  background: var(--bg);
  border: 1px solid var(--line-ui);
  border-radius: 0;
  font-size: var(--step--2); line-height: 1rem; font-weight: 500;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}
.step:hover { border-color: var(--fg); }
.step:disabled { color: var(--muted); border-color: var(--line); cursor: default; }
.tl-status { margin-left: 8px; font-size: var(--step--2); line-height: 1rem; color: var(--muted); }
.tl-end {
  font-size: var(--display-2);
  line-height: round(up, 1.1em, 8px);
  font-weight: 700; letter-spacing: -0.02em;
  max-width: 22em;
  text-wrap: balance;
}
.tl-disclaimer { margin-top: 8px; font-size: var(--step--3); line-height: 1rem; color: var(--muted); }

@media (min-width: 1024px) {
  .tl-head { grid-column: 1 / 9; }
  .tl-count { grid-column: 10 / 13; grid-row: 1; justify-self: end; align-self: start; margin-top: 8px; }
  .band { grid-column: 1 / -1; margin-top: 56px; padding-top: 32px; }
  .months {
    display: grid; grid-template-columns: repeat(12, minmax(0, 1fr));
    border-top: 1px solid var(--fg);
  }
  .month {
    display: block;
    padding: 12px 6px 0 0;
    border-top: 0;
  }
  .m-name { padding-top: 0; margin-bottom: 12px; }
  .m-today { position: absolute; top: -28px; margin: 0; }
  .month { position: relative; }
  .tickets { gap: 6px; }
  .ticket { padding: 6px; font-stretch: 75%; }
  .today-line {
    top: 0; bottom: 0; right: auto;
    width: 1px; height: auto;
  }
  .today-tag { right: auto; left: 4px; top: auto; bottom: -24px; }
  .tl-foot { grid-column: 1 / -1; grid-template-columns: auto 1fr; align-items: start; column-gap: 48px; }
  .tl-end { grid-column: 2; font-size: clamp(1.5rem, 1rem + 1.2vw, 2.25rem); }
}
@media (min-width: 1024px) and (max-width: 1279.98px) {
  .stamp { padding: 1px 4px; font-size: 0.625rem; letter-spacing: 0.04em; }
}
@media (min-width: 1280px) {
  .band { grid-column: 2 / -1; }
  .month { padding-right: 8px; }
  .ticket { padding: 8px; }
}
/* pinned state (JS adds .is-scrub only when motion + pin) */
.tl.is-scrub { padding-top: 0; }
.tl.is-scrub .tl-wrap {
  min-height: 100vh;
  align-content: center;
  padding-block: 56px 32px;
}
.tl.is-scrub .tl-lines { inset-block: 0; }
.tl.is-scrub .tl-end { opacity: 0; transition: opacity 0.4s var(--ease-out); }
.tl.is-scrub.is-end .tl-end { opacity: 1; }
@media (min-width: 1024px) and (max-height: 900px) {
  .t-who { display: none; }
  .tl.is-scrub .tl-wrap { padding-block: 32px 24px; }
  .tl.is-scrub .band { margin-top: 32px; }
  .tl.is-scrub .tl-foot { margin-top: 24px; }
}

/* ---------- 04 ledger, 05 compare ---------- */
.table-wrap { margin-top: 48px; }
@media (min-width: 1024px) { .table-wrap { grid-column: 2 / -1; margin-top: 64px; } }
table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--step--1);
  line-height: 1.5rem;
  font-variant-numeric: tabular-nums lining-nums;
}
th, td { text-align: left; vertical-align: top; font-weight: 400; }
thead th, thead td {
  padding: 0 16px 12px 0;
  font-size: var(--step--3); line-height: 1rem;
  font-weight: 500; font-stretch: 75%; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid var(--fg);
}
tbody th, tbody td { padding: 16px 16px 16px 0; border-bottom: 1px solid var(--line); }
.r { text-align: right; }
td.r, th.r { padding-right: 0; }

.ledger tbody th { font-weight: 600; }
.ledger .n { color: var(--muted); width: 4rem; padding-left: 12px; border-left: 2px solid transparent; transition: border-color 0.15s; }
.ledger thead th:first-child { padding-left: 14px; }
.ledger .d { color: var(--muted); max-width: 32em; }
.ledger .f { white-space: nowrap; }
.ledger td.r { white-space: nowrap; font-weight: 600; }
.ledger tbody tr:hover .n { border-left-color: var(--accent); color: var(--fg); }

.compare thead th { width: 22%; color: var(--fg); font-size: var(--step--2); }
.compare tbody th { color: var(--fg); }
.compare td { font-weight: 500; }
.compare td.no { color: var(--muted); }
.compare .total th, .compare .total td { border-bottom: 1px solid var(--fg); vertical-align: bottom; padding-block: 24px; }
.compare .total td {
  font-size: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  line-height: round(up, 1em, 8px);
  font-weight: 700; letter-spacing: -0.02em;
}

@media (max-width: 767.98px) {
  .ledger thead { display: none; }
  .ledger, .ledger tbody { display: block; }
  .ledger tr {
    display: grid; grid-template-columns: 40px minmax(0, 1fr) auto;
    column-gap: 12px;
    padding-block: 16px;
    border-bottom: 1px solid var(--line);
  }
  .ledger tbody th, .ledger tbody td { border: 0; padding: 0; }
  .ledger .n { grid-row: 1 / 4; width: auto; padding-left: 0; border-left: 0; }
  .ledger tbody th { grid-column: 2; grid-row: 1; }
  .ledger td.r { grid-column: 3; grid-row: 1; }
  .ledger .d { grid-column: 2 / 4; grid-row: 2; margin-top: 4px; }
  .ledger .f { grid-column: 2 / 4; grid-row: 3; margin-top: 4px; font-size: var(--step--2); line-height: 1rem; color: var(--muted); white-space: normal; }

  .compare, .compare thead, .compare tbody { display: block; }
  .compare tr { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 12px; }
  .compare thead td { display: none; }
  .compare thead th { width: auto; }
  .compare tbody tr { border-bottom: 1px solid var(--line); padding-block: 12px; }
  .compare tbody th {
    grid-column: 1 / -1; border: 0; padding: 0 0 4px;
    font-size: var(--step--3); line-height: 1rem; font-weight: 500; font-stretch: 75%;
    letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted);
  }
  .compare tbody td { border: 0; padding: 0; }
  .compare .total { border-bottom: 1px solid var(--fg); }
  .compare .total th, .compare .total td { border: 0; padding-block: 0; }
  .compare .total th { padding-bottom: 8px; }
}

/* ---------- 06 prečo my ---------- */
.facts { margin-top: 48px; counter-reset: none; }
.facts li {
  display: grid; grid-template-columns: 4rem minmax(0, 1fr); column-gap: var(--gutter);
  padding-block: 24px;
  border-top: 1px solid var(--line);
}
.facts li:first-child { border-top-color: var(--fg); }
.facts-n { font-weight: 700; font-size: var(--step-0); line-height: 2rem; color: var(--muted); }
.facts p {
  font-size: var(--display-2);
  line-height: round(up, 1.1em, 8px);
  font-weight: 700; letter-spacing: -0.02em;
  text-wrap: balance;
}
.team { margin-top: 64px; }
.team ul { margin-top: 16px; display: grid; gap: 0; }
.team li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 24px; padding-block: 12px; border-top: 1px solid var(--line); }
.team-name { font-weight: 600; }
.team-role { color: var(--muted); }
@media (min-width: 1024px) {
  .facts { grid-column: 5 / 13; margin-top: 0; }
  .team { grid-column: 5 / 13; }
  .facts li { grid-template-columns: 6rem minmax(0, 1fr); }
}

/* ---------- 07 faq ---------- */
.faq { margin-top: 48px; border-top: 1px solid var(--fg); }
@media (min-width: 1024px) { .faq { grid-column: 5 / 13; margin-top: 0; } }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: grid; grid-template-columns: 3rem minmax(0, 1fr) 24px; column-gap: 16px; align-items: start;
  padding-block: 20px;
  min-height: 64px;
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  font-size: 1.1875rem; line-height: 1.5rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover .faq-q { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
.faq-n { color: var(--muted); font-weight: 500; font-size: var(--step--2); }
.faq summary .ico { margin-top: 3px; transition: transform 0.2s var(--ease-out); }
.faq details[open] summary .ico { transform: rotate(45deg); }
.faq details p { padding: 0 40px 24px calc(3rem + 16px); color: var(--fg); max-width: 44em; }
.faq details[open] p { animation: fade 0.3s var(--ease-out); }
@keyframes fade { from { opacity: 0; } }

/* ---------- 08 konzultácia ---------- */
.book-lede { margin-top: 24px; max-width: 36em; color: var(--muted); }
.book-form { margin-top: 48px; }
.slots-fs { border: 0; padding: 0; margin: 0; min-width: 0; }
.slots-fs legend { padding: 0; margin-bottom: 16px; color: var(--fg); }
.slots {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  column-gap: 8px;
}
.slot-day { display: grid; gap: 8px; align-content: start; border-top: 1px solid var(--fg); padding-top: 12px; }
.slot-date { display: grid; font-size: var(--step--2); line-height: 1rem; }
.sd-w { font-weight: 700; }
.sd-d { color: var(--muted); font-variant-numeric: tabular-nums; }
.chip {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  min-height: 44px;
  border: 1px solid var(--line-ui);
  font-weight: 500; font-size: var(--step--1); line-height: 1.5rem;
  font-variant-numeric: tabular-nums;
  cursor: pointer;
  transition: border-color 0.15s, background-color 0.15s, color 0.15s;
}
.chip input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.chip:hover { border-color: var(--fg); }
.chip:has(input:checked) { background: var(--accent); border-color: var(--accent); color: var(--accent-fg); }
.chip:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.chip:has(input:disabled) { color: var(--muted); border-color: var(--line); border-style: dashed; cursor: not-allowed; text-decoration: line-through; }
.chip:has(input:disabled) input { cursor: not-allowed; }

.fields { margin-top: 48px; display: grid; gap: 24px var(--gutter); }
.field { display: grid; gap: 8px; align-content: start; }
.field label { font-weight: 500; font-size: var(--step--1); line-height: 1.5rem; }
.opt { color: var(--muted); font-weight: 400; font-size: var(--step--2); margin-left: 4px; }
.field input:not([type="checkbox"]), .field textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 12px;
  border: 1px solid var(--line-ui);
  border-radius: 0;
  background: var(--bg);
  font-size: 1rem; line-height: 1.5rem;
  transition: border-color 0.15s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:hover, .field textarea:hover { border-color: var(--fg); }
.field input:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 0; border-color: var(--accent); }
::placeholder { color: oklch(0.5 0 0); opacity: 1; }
.field [aria-invalid="true"] { border-color: oklch(0.5 0.2 27) !important; }
.field--check { grid-template-columns: 24px minmax(0, 1fr); column-gap: 12px; align-items: start; }
.field--check input { width: 24px; height: 24px; margin: 0; accent-color: var(--accent); cursor: pointer; }
.field--check label { font-weight: 400; color: var(--fg); }
.field--check .err { grid-column: 2; }
.err { font-size: var(--step--2); line-height: 1rem; color: oklch(0.5 0.2 27); font-weight: 500; }
.err:empty { display: none; }
.book-submit { margin-top: 40px; display: grid; gap: 16px; justify-items: start; }
.book-submit .btn { font-variant-numeric: tabular-nums; }
.ok { max-width: 36em; padding: 16px; border: 2px solid var(--accent); color: var(--fg); font-weight: 500; }
.ok:empty { display: none; }
.ok:focus { outline: none; }
.book-contact { margin-top: 64px; display: grid; gap: 8px; align-content: start; }
.book-contact p:last-child { color: var(--muted); font-size: var(--step--1); }

@media (max-width: 767.98px) {
  .slots { grid-template-columns: 1fr; row-gap: 8px; }
  .slot-day { grid-template-columns: 64px 1fr 1fr; align-items: center; padding-top: 8px; }
}
@media (min-width: 768px) {
  .fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .field--wide { grid-column: 1 / -1; }
}
@media (min-width: 1024px) {
  .book-lede { grid-column: 1 / 7; }
  .book-form { grid-column: 1 / 9; }
  .book-contact { grid-column: 10 / 13; grid-row: 3; margin-top: 48px; }
}

/* ---------- footer ---------- */
.footer { padding-block: 64px 48px; border-top: 1px solid var(--fg); font-size: var(--step--2); line-height: 1.5rem; }
.footer .grid { row-gap: 24px; }
.footer-mark { font-size: var(--display-2); line-height: round(up, 1em, 8px); font-weight: 700; letter-spacing: -0.02em; }
.footer-mark span { font-weight: 400; color: var(--muted); font-size: 0.5em; letter-spacing: 0; }
.footer-col { color: var(--muted); }
.footer-links { display: flex; flex-wrap: wrap; gap: 0 24px; }
.footer-links a { display: inline-flex; min-height: 44px; align-items: center; }
.footer-demo { padding-top: 16px; border-top: 1px solid var(--line); color: var(--muted); }
.footer-demo strong { color: var(--fg); }
@media (min-width: 768px) {
  .footer-mark { grid-column: 1 / 7; }
  .footer-col:nth-of-type(1) { grid-column: 7 / 10; }
  .footer-col:nth-of-type(2) { grid-column: 10 / 13; }
  .footer-links { grid-column: 7 / 13; }
  .footer-demo { grid-column: 1 / -1; margin-top: 24px; }
}

/* ---------- missing media (not used: page has no photos) ---------- */
.media { position: relative; aspect-ratio: 16 / 9; background: var(--bg); }
.media.is-missing {
  border: 1px solid var(--line);
  background-image: repeating-linear-gradient(90deg, var(--line) 0 1px, transparent 1px calc(100% / 12));
}

/* ---------- motion start states (only with JS + GSAP + no reduced motion) ---------- */
html.motion .reveal,
html.motion .hero-in { opacity: 0; }
html.motion .wipe { clip-path: inset(0 100% 0 0); }
html.motion .hero-h1 { clip-path: inset(0 100% 0 0); }
html.motion .hero .gl { transform: scaleY(0); }
html.motion .reveal-rows tbody tr { opacity: 0; }
html.motion.is-safari .wipe,
html.motion.is-safari .hero-h1 { clip-path: none; opacity: 0; }
html.motion .is-in,
html.motion .is-in tbody tr { opacity: 1 !important; clip-path: none !important; transform: none !important; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; }
  .faq summary .ico, .today-line { transition: none; }
}
