/* ============================================================
   Autoškola24 — Road Signage Editorial
   Shared stylesheet
   ============================================================ */

/* ---------- Fonts (self-hosted, variable weight 400–800) ---------- */
@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 400 800;
  font-stretch: 100%;
  font-display: swap;
  src: url("assets/fonts/bricolage-grotesque-latin-ext.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: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 400 800;
  font-stretch: 100%;
  font-display: swap;
  src: url("assets/fonts/bricolage-grotesque-latin.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;
}
@font-face {
  font-family: "Hanken Grotesk";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("assets/fonts/hanken-grotesk-latin-ext.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: "Hanken Grotesk";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("assets/fonts/hanken-grotesk-latin.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;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

:focus-visible {
  outline: 3px solid var(--signal);
  outline-offset: 3px;
}

/* ---------- Tokens ---------- */
:root {
  --cream: #f2eee4;
  --cream-deep: #e8e2d3;
  --paper: #fbf9f3;
  --ink: #17150f;
  --ink-soft: #2a271f;
  --muted: #6e685a;
  --line: #d6cfbe;
  --signal: #00afef;
  --signal-ink: #0090c8;
  --signal-glow: rgba(0, 175, 239, 0.35);

  --font-display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --font-body: "Hanken Grotesk", "Segoe UI", system-ui, sans-serif;

  --max: 1280px;
  --gutter: clamp(1.25rem, 4vw, 4rem);

  --radius: 4px;
  --radius-lg: 10px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow:
    0 2px 4px rgba(23, 21, 15, 0.06), 0 14px 40px -18px rgba(23, 21, 15, 0.28);
  --shadow-hard: 8px 8px 0 var(--ink);
}

/* ---------- Base ---------- */
html,
body {
  background: var(--cream);
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  line-height: 1.6;
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.075rem);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* grain overlay */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.container {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- Typography ---------- */
h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.02em;
}

.display {
  font-size: clamp(2.9rem, 1.5rem + 6.6vw, 7rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 0.9;
}

.eyebrow {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
}
.eyebrow::before {
  content: "";
  width: 2.2em;
  height: 2px;
  background: var(--ink);
}
.eyebrow.on-dark {
  color: var(--signal);
}
.eyebrow.on-dark::before {
  background: var(--signal);
}

.section-title {
  font-size: clamp(2rem, 1.2rem + 3.4vw, 3.6rem);
  letter-spacing: -0.03em;
}

.lead {
  font-size: clamp(1.05rem, 1rem + 0.5vw, 1.3rem);
  color: var(--ink-soft);
  max-width: 52ch;
  line-height: 1.55;
}

.mark {
  color: var(--signal-ink);
}
.hl {
  background: var(--signal);
  color: var(--ink);
  padding: 0 0.12em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

/* ---------- Layout helpers ---------- */
.section {
  padding-block: clamp(4rem, 3rem + 6vw, 8rem);
  position: relative;
}
.section--dark {
  background: var(--ink);
  color: var(--cream);
}
.section--dark .section-title,
.section--dark h2,
.section--dark h3 {
  color: var(--cream);
}
.section--dark .lead {
  color: #c9c2b2;
}

.index-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(3rem, 6vw, 5.5rem);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--line);
  letter-spacing: -0.04em;
}
.section--dark .index-num {
  -webkit-text-stroke-color: #3a362b;
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem 2rem;
  margin-bottom: clamp(2.5rem, 4vw, 4rem);
}
.section-head__left {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  max-width: 40ch;
}

/* dashed lane-line divider */
.lane {
  height: 6px;
  width: 100%;
  background-image: repeating-linear-gradient(
    90deg,
    var(--signal) 0 42px,
    transparent 42px 74px
  );
  border-radius: 6px;
}

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--ink);
  --fg: var(--cream);
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  padding: 0.95em 1.6em;
  background: var(--bg);
  color: var(--fg);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
  border-radius: var(--radius);
  transition:
    transform 0.25s var(--ease),
    box-shadow 0.25s var(--ease),
    background 0.2s ease;
  will-change: transform;
}
.btn svg {
  width: 1.1em;
  height: 1.1em;
  transition: transform 0.3s var(--ease);
}
.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px -12px rgba(23, 21, 15, 0.5);
}
.btn:hover svg {
  transform: translateX(4px);
}

.btn--primary {
  --bg: var(--signal);
  --fg: var(--ink);
}
.btn--primary:hover {
  box-shadow: 0 12px 30px -10px var(--signal-glow);
}
.btn--ghost {
  --bg: transparent;
  --fg: var(--ink);
  border: 2px solid var(--ink);
  padding: calc(0.95em - 2px) calc(1.6em - 2px);
}
.btn--ghost:hover {
  background: var(--ink);
  color: var(--cream);
}
.section--dark .btn--ghost {
  --fg: var(--cream);
  border-color: var(--cream);
}
.section--dark .btn--ghost:hover {
  background: var(--cream);
  color: var(--ink);
}

/* ============================================================
   Header
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: color-mix(in srgb, var(--cream) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  height: 74px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}
.brand__logo {
  display: block;
  height: 40px;
  width: auto;
}
.brand__mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  background: var(--signal);
  color: var(--ink);
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 800;
  transform: rotate(-4deg);
  box-shadow: 3px 3px 0 var(--ink);
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  list-style: none;
}
.nav__links a {
  position: relative;
  padding: 0.5rem 0.9rem;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius);
  transition: color 0.2s;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0.9rem;
  right: 0.9rem;
  bottom: 0.34rem;
  height: 2px;
  background: var(--signal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s var(--ease);
}
.nav__links a:hover::after,
.nav__links a[aria-current="page"]::after {
  transform: scaleX(1);
}
.nav__links a[aria-current="page"] {
  color: var(--ink);
}

.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
}
.nav__phone {
  font-weight: 700;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}
.nav__phone svg {
  width: 1rem;
  height: 1rem;
  color: var(--signal-ink);
}

.nav__toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  border: 2px solid var(--ink);
  place-items: center;
}
.nav__toggle span,
.nav__toggle span::before,
.nav__toggle span::after {
  content: "";
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  transition:
    transform 0.3s var(--ease),
    opacity 0.2s;
}
.nav__toggle span::before {
  transform: translateY(-6px);
}
.nav__toggle span::after {
  transform: translateY(6px);
  position: relative;
  top: -2px;
}
body.menu-open .nav__toggle span {
  background: transparent;
}
body.menu-open .nav__toggle span::before {
  transform: rotate(45deg);
}
body.menu-open .nav__toggle span::after {
  transform: rotate(-45deg) translateY(-2px);
  top: -4px;
}

/* ============================================================
   Marquee ticker (road-sign strip)
   ============================================================ */
.ticker {
  background: var(--ink);
  color: var(--cream);
  overflow: hidden;
  border-block: 3px solid var(--signal);
}
.ticker__track {
  display: flex;
  gap: 3rem;
  width: max-content;
  padding-block: 0.7rem;
  animation: marquee 34s linear infinite;
}
.ticker:hover .ticker__track {
  animation-play-state: paused;
}
.ticker__item {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 3rem;
  white-space: nowrap;
}
.ticker__item::after {
  content: "●";
  color: var(--signal);
  font-size: 0.6em;
}
@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  padding-top: clamp(3rem, 6vw, 6rem);
  padding-bottom: clamp(3rem, 5vw, 5rem);
  overflow: hidden;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.35fr 0.9fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: end;
}
.hero__side {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
  position: absolute;
  left: calc(var(--gutter) - 0.4rem);
  top: 30%;
}
.hero__headline {
  position: relative;
  z-index: 2;
}
.hero__headline .display {
  font-family: var(--font-body);
}
.hero__headline .display span {
  display: block;
}
.hero__headline .row-b {
  margin-left: clamp(0px, 6vw, 5rem);
}
.hero__badge {
  display: inline-block;
  background: var(--signal);
  color: var(--ink);
  padding: 0.1em 0.35em;
  transform: rotate(-2deg);
  box-shadow: var(--shadow-hard);
}
.hero__aside {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  padding-bottom: 0.5rem;
}
.hero__aside .lead {
  max-width: 34ch;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.hero__stats {
  margin-top: clamp(2.5rem, 4vw, 3.5rem);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 2px solid var(--ink);
}
.stat {
  padding: 1.4rem 1.2rem 0.4rem;
  text-align: center;
  border-right: 1px solid var(--line);
}
.stat:last-child {
  border-right: none;
}
.stat__num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 1.2rem + 3vw, 3.4rem);
  line-height: 1;
  letter-spacing: -0.03em;
}
.stat__num .u {
  color: var(--signal-ink);
}
.stat__label {
  margin-top: 0.5rem;
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* floating sign motif */
.hero__sign {
  position: absolute;
  right: clamp(-1rem, -2vw, 0px);
  top: clamp(1rem, 3vw, 3rem);
  width: clamp(90px, 14vw, 168px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  background: var(--signal);
  color: var(--ink);
  border: 4px solid var(--ink);
  border-radius: 18px;
  transform: rotate(8deg);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.6rem, 4vw, 3rem);
  z-index: 1;
  animation: floaty 7s var(--ease) infinite;
}
@keyframes floaty {
  0%,
  100% {
    transform: rotate(8deg) translateY(0);
  }
  50% {
    transform: rotate(6deg) translateY(-12px);
  }
}

/* ============================================================
   Price cards (licenses)
   ============================================================ */
.price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 1.25rem;
}
.price-card {
  position: relative;
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.8rem 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition:
    transform 0.3s var(--ease),
    box-shadow 0.3s var(--ease),
    border-color 0.3s;
  overflow: hidden;
}
.price-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 5px;
  background: var(--signal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.price-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: var(--ink);
}
.price-card:hover::before {
  transform: scaleX(1);
}
.price-card--feature {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
}
.price-card--feature .price-card__cat {
  color: var(--signal);
}
.price-card--feature .price-card__note {
  color: #b9b2a2;
}
.price-card__tag {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--signal);
  color: var(--ink);
  padding: 0.25em 0.6em;
  border-radius: 100px;
}
.price-card__cat {
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.price-card__name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.05;
}
.price-card__price {
  font-family: var(--font-display);
  font-size: clamp(2rem, 1.4rem + 2vw, 2.7rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-top: auto;
}
.price-card__price .cur {
  font-size: 0.5em;
  font-weight: 700;
  color: var(--signal-ink);
}
.price-card--feature .price-card__price .cur {
  color: var(--signal);
}
.price-card__note {
  font-size: 0.9rem;
  color: var(--muted);
}
.price-card__list {
  list-style: none;
  display: grid;
  gap: 0.55rem;
  font-size: 0.95rem;
}
.price-card__list li {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
}
.price-card__list svg {
  width: 1.05em;
  height: 1.05em;
  flex: none;
  margin-top: 0.28em;
  color: var(--signal-ink);
}
.price-card--feature .price-card__list svg {
  color: var(--signal);
}

/* ============================================================
   Přihláška download card
   ============================================================ */
.prihlaska {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
}
.doc-cards {
  display: grid;
  gap: 1.5rem;
}
.doc-card {
  position: relative;
  background: var(--paper);
  border: 2px dashed var(--ink);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 4vw, 3rem);
  display: flex;
  align-items: center;
  gap: 1.6rem;
  transition:
    transform 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
}
.doc-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}
.doc-card__icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 76px;
  height: 92px;
  background: var(--signal);
  border: 2px solid var(--ink);
  border-radius: 6px;
  position: relative;
  transform: rotate(-3deg);
}
.doc-card__icon svg {
  width: 34px;
  height: 34px;
  color: var(--ink);
}
.doc-card__icon::after {
  content: "PDF";
  position: absolute;
  bottom: 6px;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--ink);
}
.doc-card .btn:hover svg {
  transform: none;
}
.doc-card__body h3 {
  font-size: 1.4rem;
  margin-bottom: 0.35rem;
}
.doc-card__body p {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

/* ============================================================
   Reviews
   ============================================================ */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 1.4rem;
}
.review {
  position: relative;
  background: var(--paper);
  color: var(--ink);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2.4rem 1.7rem 1.7rem;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  transition:
    transform 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
}
.review:nth-child(even) {
  transform: translateY(1.4rem);
}
.review:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}
.review:nth-child(even):hover {
  transform: translateY(calc(1.4rem - 6px));
  box-shadow: var(--shadow);
}
.review__quote {
  position: absolute;
  top: 0.6rem;
  left: 1.3rem;
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 800;
  color: var(--signal);
  line-height: 1;
}
.review__stars {
  display: flex;
  gap: 2px;
  color: var(--signal-ink);
}
.review__stars svg {
  width: 1.05rem;
  height: 1.05rem;
}
.review__text {
  font-size: 1rem;
  line-height: 1.6;
}
.review__author {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-top: auto;
}
.review__avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--signal);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
}
.review__name {
  font-weight: 700;
  font-size: 0.95rem;
}
.review__meta {
  font-size: 0.8rem;
  color: var(--muted);
}

/* ============================================================
   Contact strip / cards
   ============================================================ */
.contact-cta {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: stretch;
}
.contact-list {
  display: grid;
  gap: 1.1rem;
}
.contact-row {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.1rem 0;
  border-bottom: 1px solid #34302579;
}
.section--dark .contact-row {
  border-color: #35312780;
}
.contact-row--card {
  padding: 1.1rem 1.3rem;
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-lg);
  align-items: center;
}
.contact-row--card .contact-row__label {
  color: var(--muted);
}
.contact-row__ico {
  flex: none;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: var(--signal);
  color: var(--ink);
  border-radius: 8px;
}
.contact-row__ico svg {
  width: 1.25rem;
  height: 1.25rem;
}
.contact-row__label {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--signal);
  font-weight: 700;
}
.contact-row__val {
  font-size: 1.1rem;
  font-weight: 600;
}
.contact-row__val a:hover {
  color: var(--signal);
}

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  background: var(--ink);
  color: var(--cream);
  padding-top: clamp(3.5rem, 6vw, 5.5rem);
}
.footer__top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid #322e23;
}
.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  max-width: 34ch;
}
.footer__brand .brand {
  color: var(--cream);
}
.footer__brand p {
  color: #b9b2a2;
  font-size: 0.95rem;
}
.footer__legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.4rem;
}
.footer__legal {
  color: #c9c2b2;
  font-size: 0.9rem;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}
.footer__legal:hover {
  color: var(--signal);
}
.footer__col h4 {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--signal);
  margin-bottom: 1.1rem;
}
.footer__col ul {
  list-style: none;
  display: grid;
  gap: 0.7rem;
}
.footer__col a,
.footer__col li {
  color: #c9c2b2;
  font-size: 0.95rem;
  transition: color 0.2s;
}
.footer__col a:hover {
  color: var(--signal);
}
.footer__bottom {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  padding-block: 1.6rem;
  font-size: 0.85rem;
  color: #948d7e;
}
.footer__bottom a:hover {
  color: var(--signal);
}
.footer__author {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.footer__ico {
  text-align: right;
}

/* ============================================================
   Sub-page hero (interior pages)
   ============================================================ */
.page-hero {
  padding-top: clamp(3rem, 5vw, 5rem);
  padding-bottom: clamp(2.5rem, 4vw, 4rem);
  position: relative;
}
.page-hero__eyebrow {
  margin-bottom: 1.3rem;
}
.page-hero .display {
  max-width: 16ch;
}
.page-hero__lead {
  margin-top: 1.6rem;
}
.crumbs {
  display: flex;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
  font-weight: 600;
}
.crumbs a:hover {
  color: var(--ink);
}
.crumbs span {
  color: var(--signal-ink);
}

/* ============================================================
   Full price table (Ceník page)
   ============================================================ */
.price-block {
  margin-bottom: clamp(2.5rem, 4vw, 4rem);
}
.price-block__head {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 1.4rem;
  flex-wrap: wrap;
}
.price-block__head h2 {
  font-size: clamp(1.5rem, 1.1rem + 1.5vw, 2.2rem);
}
.price-block__no {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--signal-ink);
  font-size: 1.1rem;
}
.ptable {
  border: 1.5px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--paper);
}
.ptable__row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.5rem;
  align-items: center;
  padding: 1.05rem clamp(1.1rem, 3vw, 1.8rem);
  border-bottom: 1px solid var(--line);
  transition: background 0.2s;
}
.ptable__row:last-child {
  border-bottom: none;
}
.ptable__row:hover {
  background: var(--cream-deep);
}
.ptable__name {
  font-weight: 600;
  font-size: 1.02rem;
}
.ptable__name small {
  display: block;
  color: var(--muted);
  font-weight: 500;
  font-size: 0.85rem;
  margin-top: 0.15rem;
}
.ptable__price {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  white-space: nowrap;
  letter-spacing: -0.02em;
}
.ptable__price.free {
  color: var(--signal-ink);
}
.ptable__price .cur {
  font-size: 0.72em;
  color: var(--muted);
  font-weight: 700;
}
.ptable__price.muted {
  font-family: var(--font-body);
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--muted);
}

/* legal / cookie policy prose */
.legal {
  max-width: 68ch;
}
.legal p {
  color: var(--ink-soft);
  margin-bottom: 0.9rem;
}
.legal p:last-child {
  margin-bottom: 0;
}
.legal a {
  color: var(--signal-ink);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.legal code {
  font-size: 0.9em;
  padding: 0.1em 0.4em;
  background: var(--cream-deep);
  border-radius: var(--radius);
}

/* dárkový poukaz */
.voucher {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
  margin-top: clamp(2.5rem, 4vw, 3.5rem);
}
.voucher__media img {
  width: 100%;
  height: auto;
}
.voucher__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.9rem;
}
.voucher__cat {
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.voucher__body h3 {
  font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem);
}
.voucher__body p {
  color: var(--ink-soft);
  max-width: 42ch;
}
.voucher__body .btn {
  margin-top: 0.5rem;
}

.price-note {
  margin-top: 2.5rem;
  padding: 1.3rem 1.5rem;
  background: var(--ink);
  color: var(--cream);
  border-radius: var(--radius-lg);
  border-left: 6px solid var(--signal);
  font-size: 0.95rem;
  display: flex;
  gap: 0.9rem;
  align-items: center;
}
.price-note svg {
  width: 1.4rem;
  height: 1.4rem;
  color: var(--signal);
  flex: none;
}

/* ============================================================
   About page
   ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}
.about-lead-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(4rem, 10vw, 9rem);
  line-height: 0.85;
  letter-spacing: -0.04em;
}
.about-lead-num .u {
  color: var(--signal-ink);
}
.prose p {
  margin-bottom: 1.2rem;
  color: var(--ink-soft);
}
.prose p:first-of-type {
  font-size: 1.15rem;
  color: var(--ink);
}

.values {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 1.25rem;
}
.value-card {
  background: var(--paper);
  color: var(--ink);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.7rem;
  transition:
    transform 0.3s var(--ease),
    border-color 0.3s;
}
.value-card:hover {
  transform: translateY(-5px);
  border-color: var(--ink);
}
.value-card__ico {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  background: var(--signal);
  border-radius: 10px;
  margin-bottom: 1.1rem;
  transform: rotate(-4deg);
  box-shadow: 3px 3px 0 var(--ink);
}
.value-card__ico svg {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--ink);
}
.value-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}
.value-card p {
  color: var(--muted);
  font-size: 0.95rem;
}

.timeline {
  display: grid;
  gap: 0;
}
.tl-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.6rem;
  padding-bottom: 2.2rem;
  position: relative;
}
.tl-item:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 33px;
  top: 44px;
  bottom: 0;
  width: 2px;
  background-image: repeating-linear-gradient(
    var(--signal) 0 8px,
    transparent 8px 16px
  );
}
.tl-year {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  color: var(--ink);
  background: var(--signal);
  width: 68px;
  height: 68px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 2px solid var(--ink);
  z-index: 1;
}
.tl-body h3 {
  font-size: 1.2rem;
  margin-bottom: 0.35rem;
  padding-top: 0.4rem;
}
.tl-body p {
  color: var(--muted);
  font-size: 0.95rem;
}

/* ============================================================
   Contact page — instructors, map, hours
   ============================================================ */
.instructors {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 1.5rem;
}
.instructor {
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition:
    transform 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
}
.instructor:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}
.instructor__photo {
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 30% 30%, #3a362a, var(--ink));
  color: var(--signal);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 3.5rem;
  position: relative;
}
.instructor__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    90deg,
    transparent 0 40px,
    rgba(0, 175, 239, 0.08) 40px 44px
  );
}
.instructor__badge {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: var(--signal);
  color: var(--ink);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3em 0.7em;
  border-radius: 100px;
}
.instructor__body {
  padding: 1.5rem;
}
.instructor__body h3 {
  font-size: 1.4rem;
  margin-bottom: 0.25rem;
}
.instructor__role {
  color: var(--signal-ink);
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 1.1rem;
}
.instructor__contact {
  display: grid;
  gap: 0.6rem;
  font-size: 0.95rem;
}
.instructor__contact a {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 600;
}
.instructor__contact svg {
  width: 1.05rem;
  height: 1.05rem;
  color: var(--muted);
  flex: none;
}
.instructor__contact a:hover {
  color: var(--signal-ink);
}

.contact-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.map-card {
  border: 1.5px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 340px;
  position: relative;
}
.map-card iframe {
  width: 100%;
  height: 100%;
  min-height: 340px;
  border: 0;
  filter: grayscale(0.2) contrast(1.05);
}
/* shown until the visitor consents to Google Maps */
.map-fallback {
  height: 100%;
  min-height: 340px;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  text-align: center;
  background: var(--paper);
  background-image: repeating-linear-gradient(
    -45deg,
    var(--cream-deep) 0 12px,
    transparent 12px 24px
  );
}
.map-fallback svg {
  width: 2.4rem;
  height: 2.4rem;
  color: var(--signal-ink);
}
.map-fallback__note {
  font-size: 0.88rem;
  color: var(--muted);
  max-width: 34ch;
}
.map-fallback__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
  margin-top: 0.8rem;
}

/* ============================================================
   Cookie banner
   ============================================================ */
.cookie-banner {
  position: fixed;
  z-index: 500;
  left: var(--gutter);
  right: var(--gutter);
  bottom: clamp(1rem, 3vw, 2rem);
  margin-inline: auto;
  max-width: 720px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.2rem 1.6rem;
  padding: clamp(1.2rem, 3vw, 1.6rem);
  background: var(--ink);
  color: var(--cream);
  border-radius: var(--radius-lg);
  border-left: 6px solid var(--signal);
  box-shadow: 0 18px 50px -12px rgba(23, 21, 15, 0.55);
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 0.3s var(--ease),
    transform 0.3s var(--ease);
}
.cookie-banner.is-in {
  opacity: 1;
  transform: none;
}
.cookie-banner__text {
  flex: 1 1 300px;
}
.cookie-banner__text h2 {
  color: var(--cream);
  font-size: 1.15rem;
  margin-bottom: 0.4rem;
}
.cookie-banner__text p {
  font-size: 0.88rem;
  line-height: 1.5;
  color: #c9c2b2;
}
.cookie-banner__text a {
  color: var(--signal);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}
.cookie-banner__actions .btn {
  flex: 1 1 auto;
  justify-content: center;
  padding: 0.8em 1.3em;
}
.cookie-banner .btn--ghost {
  --fg: var(--cream);
  border-color: #4e4936;
}
.cookie-banner .btn--ghost:hover {
  background: var(--cream);
  color: var(--ink);
}

.hours-card {
  background: var(--ink);
  color: var(--cream);
  border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 3vw, 2.4rem);
  display: flex;
  flex-direction: column;
}
.hours-card h3 {
  color: var(--cream);
  font-size: 1.5rem;
  margin-bottom: 1.4rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.hours-card h3 svg {
  width: 1.4rem;
  height: 1.4rem;
  color: var(--signal);
}
.hours-list {
  list-style: none;
  display: grid;
  gap: 0;
}
.hours-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid #322e23;
}
.hours-list li:last-child {
  border-bottom: none;
}
.hours-list .day {
  font-weight: 600;
  color: #c9c2b2;
}
.hours-list .time {
  font-weight: 700;
  font-family: var(--font-display);
}
.hours-list li.today {
  color: var(--signal);
}
.hours-list li.today .day,
.hours-list li.today .time {
  color: var(--signal);
}
.hours-list .time.closed {
  color: #7c7566;
  font-family: var(--font-body);
  font-weight: 600;
}
.hours-note {
  margin-top: auto;
  padding-top: 1.4rem;
  font-size: 0.85rem;
  color: #948d7e;
}

/* ============================================================
   Contact form
   ============================================================ */
.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.field--full {
  grid-column: 1 / -1;
}
.field label {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--signal);
}
.field label .req {
  color: #ff5c5c;
}
.field input,
.field textarea {
  font: inherit;
  width: 100%;
  padding: 0.9rem 1.1rem;
  color: var(--cream);
  background: #211f18;
  border: 1.5px solid #3a3627;
  border-radius: var(--radius);
  transition:
    border-color 0.2s ease,
    background 0.2s ease;
}
.field textarea {
  resize: vertical;
  min-height: 8rem;
}
.field input::placeholder,
.field textarea::placeholder {
  color: #7c7566;
}
.field input:hover,
.field textarea:hover {
  border-color: #4e4936;
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--signal);
  background: #26241c;
}
.contact-form__foot {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  margin-top: 0.4rem;
}
.form-note {
  font-size: 0.85rem;
  color: #948d7e;
  max-width: 46ch;
}
.form-note a {
  color: var(--signal);
  font-weight: 700;
}

/* address block */
.address-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2.5rem;
  padding: 1.4rem 0;
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  margin-top: 2rem;
}
.address-strip div {
  display: grid;
  gap: 0.2rem;
}
.address-strip .k {
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
}
.address-strip .v {
  font-weight: 600;
}

/* ============================================================
   Scroll reveal
   ============================================================ */
[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.7s var(--ease),
    transform 0.7s var(--ease);
}
[data-reveal].is-in {
  opacity: 1;
  transform: none;
}
[data-reveal][data-delay="1"] {
  transition-delay: 0.08s;
}
[data-reveal][data-delay="2"] {
  transition-delay: 0.16s;
}
[data-reveal][data-delay="3"] {
  transition-delay: 0.24s;
}
[data-reveal][data-delay="4"] {
  transition-delay: 0.32s;
}
[data-reveal][data-delay="5"] {
  transition-delay: 0.4s;
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 960px) {
  .hero__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .hero__side {
    display: none;
  }
  .hero__stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat:nth-child(2) {
    border-right: none;
  }
  .prihlaska,
  .contact-cta,
  .about-grid,
  .contact-split,
  .voucher,
  .footer__top {
    grid-template-columns: 1fr;
  }
  .footer__top {
    gap: 2rem;
  }
}

@media (max-width: 760px) {
  .nav__links,
  .nav__phone {
    display: none;
  }
  .nav__cta .btn--primary {
    display: none;
  }
  .nav__toggle {
    display: grid;
  }
  .nav {
    position: relative;
  }
  .nav__links.is-open {
    display: flex;
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    padding: 0.6rem var(--gutter) 1.2rem;
    box-shadow: var(--shadow);
  }
  .nav__links.is-open li {
    width: 100%;
  }
  .nav__links.is-open a {
    padding: 0.9rem 0;
    font-size: 1.1rem;
    border-bottom: 1px solid var(--line);
  }
  .nav__links.is-open a::after {
    display: none;
  }
  .prices .price-card--feature {
    order: -1;
  }
  .review:nth-child(even) {
    transform: none;
  }
  .review:nth-child(even):hover {
    transform: translateY(-6px);
  }
  .hero__sign {
    top: auto;
    bottom: -1rem;
  }
}

@media (max-width: 560px) {
  .hero__stats {
    grid-template-columns: 1fr 1fr;
  }
  .ptable__row {
    grid-template-columns: 1fr;
    gap: 0.4rem;
  }
  .ptable__price {
    text-align: left;
  }
  .address-strip {
    gap: 1rem;
  }
  .doc-card {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
  .contact-form {
    grid-template-columns: 1fr;
  }
  .footer__bottom {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
