/* ============================================================
   PADEL ROUDNICE — samoobslužná sportovní hala
   Čistý „apple" styl: bílá, jemné šedé linky, modrý akcent.
   ============================================================ */

:root {
  --ink: #1d1d1f;
  --paper: #ffffff;
  --blue: #2a61b8;        /* akcentní modrá */
  --blue-dark: #234f97;   /* hover */
  --blue-soft: #eef3fb;   /* jemné pozadí */
  --blue-deep: #2a61b8;   /* modrá pro drobný text */
  --muted: #6e6e73;
  --hairline: #d2d2d7;
  --cursor-trail: #234f97; /* tmavě modrá goo stopa kurzoru */
  --line: 1px solid var(--hairline);
  --radius: 24px;
  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Helvetica Neue", Arial, sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Helvetica Neue", Arial, sans-serif;
  --font-accent: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Helvetica Neue", Arial, sans-serif;
  --nav-h: 76px;
  --pad-x: clamp(1.25rem, 4vw, 4rem);
}

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

/* atribut hidden musí vyhrát i nad display: grid apod. (skrývání formuláře rezervace) */
[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

[id] { scroll-margin-top: calc(var(--nav-h) + 1rem); }

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

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

::selection { background: var(--blue); color: #fff; }

:focus-visible {
  outline: 3px solid var(--blue-dark);
  outline-offset: 3px;
  border-radius: 4px;
}

@media (pointer: fine) {
  html.has-cursor, html.has-cursor * { cursor: none !important; }
}

/* ---------- typografie ---------- */
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

em {
  font-family: inherit;
  font-style: normal;
  font-weight: inherit;
  color: var(--blue);
  letter-spacing: inherit;
}

strong { font-weight: 600; }

.wink { color: var(--muted); font-size: 0.9em; }

.eyebrow {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--muted);
}

.section-label {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--blue-deep);
  margin-bottom: 1.25rem;
}

.section-title {
  font-size: clamp(2.2rem, 5.5vw, 4rem);
  margin-bottom: 2rem;
}

/* ---------- skip link ---------- */
.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 300;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.6rem 1.1rem;
  background: var(--blue);
  color: #fff;
  border: none;
  border-radius: 999px;
  transform: translateY(-300%);
}

.skip-link:focus { transform: translateY(0); }

/* ---------- 3D scéna (tenisáky kolem hero na úvodu) ---------- */
.bg-3d {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  display: none;
}

html.has-3d .bg-3d { display: block; }

/* jakmile běží 3D, SVG samolepky se schovají */
html.has-3d .sticker { display: none; }

/* obsah leží nad plátnem */
main, .site-footer { position: relative; z-index: 1; }

/* stejná aurora jako na úvodu, jen bez míčků — CSS verze pro podstránky */
.page-cenik::before,
.page-galerie::before,
.page-kontakt::before,
.page-rezervace::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(44rem 32rem at 12% 16%, rgba(42, 97, 184, 0.13), rgba(42, 97, 184, 0) 70%),
    radial-gradient(40rem 30rem at 88% 12%, rgba(143, 176, 232, 0.2), rgba(143, 176, 232, 0) 70%),
    radial-gradient(36rem 28rem at 82% 76%, rgba(205, 228, 37, 0.12), rgba(205, 228, 37, 0) 70%),
    radial-gradient(32rem 26rem at 10% 84%, rgba(42, 97, 184, 0.1), rgba(42, 97, 184, 0) 70%);
}

/* ---------- magnetické prvky (posun řídí JS přes --mx/--my) ---------- */
[data-magnetic] {
  display: inline-block;
  transform: translate(var(--mx, 0px), var(--my, 0px));
  transition: transform .25s cubic-bezier(.3, 1.4, .4, 1);
}

/* ============================================================
   VLASTNÍ KURZOR — tekutá „goo" stopa + ostré jádro (z webu Artifis)
   ============================================================ */
.cursor {
  position: fixed;
  inset: 0 auto auto 0;
  z-index: 1000;
  pointer-events: none;
  display: none;
}

@media (pointer: fine) {
  html.has-cursor .cursor { display: block; }
}

.goo-defs { position: absolute; width: 0; height: 0; overflow: hidden; }

/* kapky se slévají přes SVG goo filtr */
.cursor-goo {
  position: fixed;
  inset: 0;
  pointer-events: none;
  filter: url(#goo);
  transition: opacity .25s ease;
}

.cursor-blob {
  --s: 26px;
  position: fixed;
  top: 0; left: 0;
  width: var(--s);
  height: var(--s);
  margin: calc(var(--s) / -2) 0 0 calc(var(--s) / -2);
  border-radius: 50%;
  background: var(--cursor-trail);
  will-change: transform;
}

.cursor-blob:nth-child(2) { --s: 21px; }
.cursor-blob:nth-child(3) { --s: 17px; }
.cursor-blob:nth-child(4) { --s: 14px; }
.cursor-blob:nth-child(5) { --s: 11px; }
.cursor-blob:nth-child(6) { --s: 8px; }

/* ostré jádro nad goo stopou — tenisák */
.cursor-core {
  position: fixed;
  top: 0; left: 0;
  width: 20px; height: 20px;
  margin: -10px 0 0 -10px;
  border-radius: 50%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Ccircle cx='32' cy='32' r='30' fill='%23cde425'/%3E%3Cpath d='M12 12c11 9 11 31 0 40M52 12c-11 9-11 31 0 40' fill='none' stroke='%23fff' stroke-width='5' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
  border: 1.5px solid transparent;
  display: grid;
  place-items: center;
  will-change: transform;
  transition:
    width .3s cubic-bezier(.3, 1.2, .4, 1),
    height .3s cubic-bezier(.3, 1.2, .4, 1),
    margin .3s cubic-bezier(.3, 1.2, .4, 1),
    background-color .3s ease,
    border-color .3s ease,
    opacity .2s ease;
}

.cursor-label {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #fff;
  opacity: 0;
  transition: opacity .2s ease;
  white-space: nowrap;
}

/* stav: nad odkazem — jádro se roztáhne do kroužku */
html.cursor-link .cursor-core {
  width: 48px; height: 48px;
  margin: -24px 0 0 -24px;
  background: rgba(29, 29, 31, 0.08);
  border-color: var(--cursor-trail);
}

/* stav: nad přetahovacím tenisákem — tečkovaný terčík */
html.cursor-drag .cursor-core {
  width: 64px; height: 64px;
  margin: -32px 0 0 -32px;
  background: rgba(29, 29, 31, 0.06);
  border: 1.5px dashed var(--cursor-trail);
}

/* stav: tenisák v ruce — jádro se stáhne, goo zmizí */
html.cursor-dragging .cursor-core {
  width: 14px; height: 14px;
  margin: -7px 0 0 -7px;
  background: var(--cursor-trail);
}
html.cursor-dragging .cursor-goo { opacity: 0; }

/* stavy s popiskem (smeč!) */
html.cursor-labeled .cursor-core {
  width: 96px; height: 96px;
  margin: -48px 0 0 -48px;
  background: var(--cursor-trail);
  border-color: var(--cursor-trail);
}
html.cursor-labeled .cursor-label { opacity: 1; }
html.cursor-labeled .cursor-goo { opacity: 0; }

/* nad tmavým podkladem se kurzor invertuje do bílé, jinak by zanikal */
html.cursor-invert .cursor-blob { background: #fff; }
html.cursor-invert.cursor-link .cursor-core {
  background: rgba(255, 255, 255, 0.18);
  border-color: #fff;
}
html.cursor-invert.cursor-drag .cursor-core {
  background: rgba(255, 255, 255, 0.14);
  border-color: #fff;
}
html.cursor-invert.cursor-dragging .cursor-core { background: #fff; }
html.cursor-invert.cursor-labeled .cursor-core {
  background: #fff;
  border-color: #fff;
}
html.cursor-invert.cursor-labeled .cursor-label { color: var(--ink); }

/* stav: kurzor schovaný (mimo okno) */
html.cursor-hidden .cursor-core,
html.cursor-hidden .cursor-goo { opacity: 0; }

/* ============================================================
   NAVIGACE
   ============================================================ */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 110;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 var(--pad-x);
  background: rgba(255, 255, 255, 0.82);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.logo {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

.logo-roudnice { color: var(--blue-deep); }

.logo-ball {
  display: inline-block;
  width: 0.72em;
  height: 0.72em;
  margin: 0 0.14em;
  /* míček sedí níž, na střed písmen */
  transform: translateY(0.07em);
  transition: transform .6s cubic-bezier(.3, 1.4, .4, 1);
}

.logo-ball svg { width: 100%; height: 100%; }

.logo:hover .logo-ball { transform: translateY(0.07em) rotate(180deg) scale(1.2); }

.nav-right {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.5vw, 2.25rem);
}

.nav-links {
  display: flex;
  gap: clamp(1.25rem, 3vw, 2.5rem);
}

.nav-links a {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1rem;
  padding: 0.35rem 0.15rem;
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 2px;
  background: var(--blue-dark);
  transition: right .3s cubic-bezier(.6, 0, .2, 1);
}

.nav-links a:hover::after,
.nav-links a.is-current::after { right: 0; }

.nav-links a.is-current { color: var(--blue-deep); }

/* CTA v navigaci — vždy na očích, i na mobilu */
.nav-cta {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.6rem 1.2rem;
  border: none;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  white-space: nowrap;
  transition: transform .25s cubic-bezier(.3, 1.4, .4, 1), box-shadow .2s ease, background-color .2s ease;
}

.nav-cta:hover {
  background: var(--blue-dark);
  box-shadow: 0 6px 18px rgba(42, 97, 184, 0.35);
}

.nav-cta:active {
  transform: translate(var(--mx, 0px), var(--my, 0px)) scale(0.97);
  box-shadow: none;
}

/* burger */
.burger {
  display: none;
  width: 44px; height: 44px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  flex: none;
}

.burger span {
  display: block;
  width: 26px; height: 2px;
  background: var(--ink);
  transition: transform .3s ease, opacity .3s ease;
}

html.menu-open .burger span:first-child { transform: translateY(4.5px) rotate(45deg); }
html.menu-open .burger span:last-child { transform: translateY(-4.5px) rotate(-45deg); }

/* mobilní menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: var(--paper);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  overflow-y: auto;
  transform: translateY(-102%);
  transition: transform .45s cubic-bezier(.7, 0, .2, 1), visibility .45s;
  visibility: hidden;
}

html.menu-open .mobile-menu { transform: translateY(0); visibility: visible; }
html.menu-open { overflow: hidden; }
html.menu-open .site-nav { background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }

.mobile-menu nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.mobile-menu nav a {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 9vw, 4rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  padding: 0.25rem 1rem;
  transition: color .2s ease, transform .2s ease;
}

.mobile-menu nav a:hover { color: var(--blue-deep); transform: rotate(-2deg); }

.mobile-menu nav a.menu-cta { color: var(--blue-deep); }

.mobile-menu-note { color: var(--muted); font-size: 0.9rem; }

/* ============================================================
   HERO (úvod)
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--nav-h) + 2rem) var(--pad-x) 4rem;
  overflow: hidden;
}

.hero .eyebrow { margin-bottom: 1.25rem; }

.hero-title {
  font-size: clamp(2.4rem, 9.5vw, 8.5rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.04em;
  user-select: none;
}

/* hero nadpis = zvětšené logo z hlavičky: padel ● roudnice */
.hero-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

.hero-padel { font-weight: 700; }

.hero-roudnice { font-weight: 700; color: var(--blue-deep); }

.hero-ball {
  display: inline-block;
  width: 0.72em;
  height: 0.72em;
  margin: 0 0.09em;
  flex: none;
  /* míček sedí níž, na střed písmen */
  transform: translateY(0.07em);
  transition: transform .6s cubic-bezier(.3, 1.4, .4, 1);
}

.hero-ball svg { width: 100%; height: 100%; }

.hero-title:hover .hero-ball { transform: translateY(0.07em) rotate(180deg) scale(1.15); }

.hero-letters .ltr {
  display: inline-block;
  transition: transform .3s cubic-bezier(.3, 1.6, .4, 1), color .3s ease;
}

.hero-letters .ltr:hover { transform: translateY(-0.08em) rotate(-4deg); }

.hero-padel .ltr:hover { color: var(--blue-deep); }

.hero-roudnice .ltr:hover { color: var(--ink); }

.hero-sub {
  max-width: 36rem;
  margin-top: 1.5rem;
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--ink);
}

.hero-sub em { font-size: 1.15em; }

/* sporty v hero: tučně a zeleně — důležitá informace */
.hero-sub strong { color: var(--blue-deep); }

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-top: 2rem;
}

/* rozdělená písmena (JS obalí každé písmeno) */
.split-letters .ltr {
  display: inline-block;
  font-variation-settings: "wght" var(--w, 500);
  transition: transform .3s cubic-bezier(.3, 1.6, .4, 1), color .3s ease;
  will-change: transform;
}

.split-letters .ltr:hover {
  transform: translateY(-0.08em) rotate(-4deg);
  color: var(--blue-deep);
}

/* tenisáky — chyť a táhni */
.sticker {
  position: absolute;
  z-index: 5;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  will-change: transform;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.18));
  transform: translate(var(--tx, 0px), var(--ty, 0px)) rotate(var(--r, 0deg));
  transition: transform .25s cubic-bezier(.3, 1.4, .4, 1), filter .25s ease;
}

.sticker:hover {
  transform: translate(var(--tx, 0px), var(--ty, 0px)) rotate(var(--r, 0deg)) scale(1.12);
  filter: drop-shadow(0 10px 22px rgba(42, 97, 184, 0.4));
}

.sticker.is-dragging {
  transition: filter .25s ease;
  transform: translate(var(--tx, 0px), var(--ty, 0px)) rotate(var(--r, 0deg)) scale(1.18);
  filter: drop-shadow(0 16px 30px rgba(42, 97, 184, 0.45));
  z-index: 50;
}

.scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.scroll-arrow {
  display: inline-block;
  animation: bounce-down 1.6s ease-in-out infinite;
}

@keyframes bounce-down {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(5px); }
}

/* ============================================================
   TLAČÍTKA
   ============================================================ */
.big-button {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  padding: 1.1rem 2.2rem;
  border: none;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
  transition: transform .25s cubic-bezier(.3, 1.4, .4, 1), box-shadow .25s ease, background-color .2s ease;
}

.big-button:hover {
  transform: translate(var(--mx, 0px), calc(var(--my, 0px) - 1px));
  background: var(--blue-dark);
  box-shadow: 0 10px 28px rgba(42, 97, 184, 0.35);
}

.big-button:active {
  transform: translate(var(--mx, 0px), var(--my, 0px)) scale(0.97);
  box-shadow: none;
}

.chunky-link {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  padding: 0.9rem 1.6rem;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  background: var(--paper);
  color: var(--blue);
  transition: transform .25s cubic-bezier(.3, 1.4, .4, 1), box-shadow .25s ease, border-color .2s ease, background-color .2s ease;
}

.chunky-link:hover {
  transform: translate(var(--mx, 0px), calc(var(--my, 0px) - 1px));
  border-color: var(--blue);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
}

.chunky-link:active {
  transform: translate(var(--mx, 0px), var(--my, 0px)) scale(0.97);
  box-shadow: none;
}

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee {
  border: none;
  background: var(--blue);
  color: #fff;
  overflow: hidden;
  margin: clamp(3rem, 8vw, 6rem) 0;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee-scroll 22s linear infinite;
}

.marquee:hover .marquee-track { animation-play-state: paused; }

.marquee-track span {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3.5vw, 2.4rem);
  font-weight: 500;
  white-space: pre;
  padding: 1rem 0;
}

@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============================================================
   SPORTY (úvod)
   ============================================================ */
.sports-section {
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(3rem, 7vw, 6rem) var(--pad-x);
  text-align: center;
}

.sports-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 1.75rem;
  text-align: left;
}

.sport-card {
  border: var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow .25s ease;
}

.sport-card:hover { box-shadow: 0 14px 36px rgba(0, 0, 0, 0.1); }

.sport-card-art {
  background: var(--blue-soft);
  border-bottom: var(--line);
  display: grid;
  place-items: center;
  padding: 1.5rem;
}

.doodle {
  width: clamp(110px, 40%, 150px);
  height: auto;
  transition: transform .4s cubic-bezier(.3, 1.4, .4, 1);
}

.sport-card:hover .doodle { transform: rotate(-4deg) scale(1.1); }

/* fotky sportů na kartách */
.sport-card-photo {
  padding: 0;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.sport-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s cubic-bezier(.3, 1.4, .4, 1);
}

.sport-card:hover .sport-card-photo img { transform: scale(1.05); }

.sport-card-body {
  padding: 1.5rem 1.5rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex: 1;
}

.sport-card-body h3 {
  font-size: 1.5rem;
  line-height: 1.2;
}

.sport-card-body p { font-size: 0.97rem; }

.sport-card-meta {
  margin-top: auto;
  padding-top: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.tag {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.3rem 0.75rem;
  background: var(--blue-soft);
  color: var(--blue-deep);
  border-radius: 999px;
}

.card-link {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--blue-deep);
  border-bottom: 2px solid transparent;
  transition: border-color .2s ease;
}

.card-link:hover { border-color: var(--blue-deep); }

/* ============================================================
   GALERIE
   ============================================================ */
.gallery-section {
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 4rem) var(--pad-x) clamp(3rem, 6vw, 5rem);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr));
  gap: 1.75rem;
}

.photo-card {
  border: var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  overflow: hidden;
  transition: box-shadow .25s ease;
}

.photo-card:hover { box-shadow: 0 14px 36px rgba(0, 0, 0, 0.1); }

.photo-art {
  border-bottom: var(--line);
  background: var(--blue-soft);
  overflow: hidden;
}

.photo-art svg,
.photo-art img {
  width: 100%;
  height: auto;
  display: block;
  transform-origin: center;
  transition: transform .4s cubic-bezier(.3, 1.4, .4, 1);
}

.photo-card:hover .photo-art svg,
.photo-card:hover .photo-art img { transform: scale(1.05) rotate(-1deg); }

.photo-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem 1.4rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.02rem;
}

.gallery-note {
  margin-top: 2rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
}

/* ============================================================
   JAK TO FUNGUJE
   ============================================================ */
.process {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(4rem, 9vw, 7rem) var(--pad-x);
  text-align: center;
}

.process-steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  text-align: left;
}

.process-step {
  border: var(--line);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  background: var(--paper);
  transition: box-shadow .25s ease, transform .25s ease;
}

.process-step:hover { box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08); }

.step-num {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 300;
  color: var(--blue-deep);
  display: block;
  margin-bottom: 1rem;
}

.process-step h3 { font-size: 1.3rem; margin-bottom: 0.6rem; }
.process-step p { font-size: 0.98rem; }

.process-note {
  margin-top: 2rem;
  color: var(--muted);
  font-size: 0.95rem;
}

/* ============================================================
   MULTISPORT PRUH
   ============================================================ */
.multisport-strip {
  border-top: var(--line);
  border-bottom: var(--line);
  background: var(--blue-soft);
  text-align: center;
  padding: clamp(2.5rem, 6vw, 4rem) var(--pad-x);
}

.multisport-strip h2 {
  font-size: clamp(1.8rem, 4.5vw, 3rem);
  margin-bottom: 0.75rem;
}

.multisport-strip p {
  max-width: 38rem;
  margin: 0 auto;
}

.multisport-badge {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.45rem 1rem;
  background: var(--blue);
  color: #fff;
  border-radius: 999px;
  margin-bottom: 1.25rem;
}

/* ============================================================
   ZÁVĚREČNÉ CTA
   ============================================================ */
.cta-section {
  text-align: center;
  padding: clamp(4rem, 9vw, 7rem) var(--pad-x) clamp(6rem, 11vw, 9rem);
}

.cta-section .section-title { margin-bottom: 1rem; }

.cta-note {
  margin-top: 1.5rem;
  color: var(--muted);
  font-size: 0.9rem;
}

/* ============================================================
   HLAVIČKA PODSTRÁNEK
   ============================================================ */
.page-head {
  padding: calc(var(--nav-h) + clamp(3.5rem, 9vw, 7rem)) var(--pad-x) clamp(2rem, 5vw, 4rem);
  max-width: 1280px;
  margin: 0 auto;
  text-align: center;
}

.page-head .eyebrow { margin-bottom: 1.25rem; }

.page-title {
  font-size: clamp(3.4rem, 13vw, 10rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
  user-select: none;
}

.page-sub {
  max-width: 36rem;
  margin: 1.75rem auto 0;
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
}

/* ============================================================
   CENÍK
   ============================================================ */
.price-section {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 4rem) var(--pad-x);
}

.price-grid {
  display: grid;
  /* čtyři karty ve dvou vyvážených řadách: padel nahoře, ostatní sporty dole */
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.75rem;
}

@media (max-width: 720px) {
  .price-grid { grid-template-columns: 1fr; }
}

.price-card {
  border: var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow .25s ease;
}

.price-card:hover { box-shadow: 0 14px 36px rgba(0, 0, 0, 0.1); }

.price-card-head {
  background: var(--blue-soft);
  border-bottom: var(--line);
  padding: 1.5rem 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.price-card-head h2 { font-size: 1.6rem; }

.price-unit {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--blue-deep);
  text-align: right;
}

.price-rows {
  padding: 0.75rem 1.75rem 1.5rem;
  flex: 1;
}

.price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0;
}

.price-row + .price-row { border-top: 1px dashed rgba(29, 29, 31, 0.25); }

.price-when { font-size: 0.97rem; }

.price-when small {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
}

.price-value {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.45rem;
  white-space: nowrap;
}

.price-value small {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--muted);
}

.price-note {
  padding: 0 1.75rem 1.5rem;
  color: var(--muted);
  font-size: 0.88rem;
}

/* půjčovna */
.rental-section {
  max-width: 880px;
  margin: 0 auto;
  padding: clamp(3rem, 7vw, 5rem) var(--pad-x);
  text-align: center;
}

.rental-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 0.5rem;
}

.rental-list li {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  background: var(--paper);
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}

.rental-list li:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
  transform: scale(1.04);
}

.rental-list li strong { font-weight: 600; }

/* ============================================================
   REZERVACE
   ============================================================ */
.booking-section {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 4rem) var(--pad-x) clamp(4rem, 8vw, 6rem);
}

.booking-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
}

.picker-group { margin-bottom: 2.25rem; }

.picker-label {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  margin-bottom: 1rem;
}

.picker-step {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 1.6rem;
  color: var(--blue-deep);
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.pill {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.6rem 1.15rem;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  background: var(--paper);
  transition: background-color .15s ease, color .15s ease, border-color .15s ease, transform .15s ease, box-shadow .15s ease;
}

.pill:hover {
  transform: translateY(-1px);
  border-color: var(--blue);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.pill[aria-pressed="true"] {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}

.pill:disabled {
  opacity: 0.35;
  border-style: dashed;
  transform: none;
  box-shadow: none;
}

.pill small {
  display: block;
  font-size: 0.72rem;
  font-weight: 400;
  color: var(--muted);
}

/* na modrém pozadí vybrané pilulky by šedá neprošla kontrastem */
.pill[aria-pressed="true"] small { color: rgba(255, 255, 255, 0.85); }

.slot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(88px, 1fr));
  gap: 0.5rem;
}

.slot-grid .pill { padding: 0.55rem 0.25rem; text-align: center; font-size: 0.92rem; }

.slot-hint { margin-top: 0.75rem; font-size: 0.85rem; color: var(--muted); }

.field { margin-bottom: 1.25rem; }

.field label {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.4rem;
}

.field input {
  width: 100%;
  font: inherit;
  padding: 0.8rem 1.1rem;
  border: 1px solid var(--hairline);
  border-radius: 14px;
  background: var(--paper);
  transition: border-color .15s ease, box-shadow .15s ease;
}

.field input:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(42, 97, 184, 0.2);
}

.field input:focus-visible { outline-offset: 0; }

.field-hint { font-size: 0.82rem; color: var(--muted); margin-top: 0.3rem; }

/* souhrn rezervace */
.booking-summary {
  position: sticky;
  top: calc(var(--nav-h) + 1.5rem);
  border: var(--line);
  border-radius: var(--radius);
  background: var(--blue-soft);
  padding: 1.75rem;
}

.booking-summary h2 {
  font-size: 1.3rem;
  margin-bottom: 1.25rem;
}

.summary-rows { list-style: none; }

.summary-rows li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0.55rem 0;
  border-bottom: 1px dashed rgba(29, 29, 31, 0.25);
  font-size: 0.95rem;
}

.summary-rows .summary-value { font-family: var(--font-display); font-weight: 600; text-align: right; }

.summary-rows .is-empty .summary-value { color: var(--muted); font-weight: 400; }

.summary-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-top: 1rem;
  font-family: var(--font-display);
  font-weight: 600;
}

.summary-total .total-value { font-size: 1.7rem; }

.summary-cta { width: 100%; text-align: center; margin-top: 1.25rem; }

.form-error {
  display: none;
  margin-top: 0.9rem;
  font-weight: 600;
  font-size: 0.92rem;
  color: #b3261e;
  text-align: center;
}

.form-error.is-visible { display: block; }

/* potvrzení */
.confirm-card {
  border: var(--line);
  border-radius: var(--radius);
  background: var(--blue-soft);
  padding: clamp(2rem, 5vw, 3.5rem);
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.confirm-card h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 0.75rem; }

.confirm-summary {
  font-size: 1.05rem;
  max-width: 30rem;
  margin: 0 auto 1.75rem;
}

.door-code-label {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--blue-deep);
  margin-bottom: 0.6rem;
}

.door-code {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.4rem, 7vw, 3.6rem);
  letter-spacing: 0.18em;
  padding: 0.5rem 1.5rem 0.5rem 1.7rem;
  border: 1.5px dashed var(--hairline);
  border-radius: 18px;
  background: var(--paper);
  color: var(--blue);
}

/* druhý kód (box s raketami) je menší a s odstupem */
.door-code--small {
  font-size: clamp(1.6rem, 4.5vw, 2.3rem);
  padding: 0.35rem 1.1rem 0.35rem 1.3rem;
}

.door-code + .door-code-label { margin-top: 1.4rem; }

.confirm-note {
  margin-top: 1.5rem;
  font-size: 0.92rem;
  color: var(--muted);
  max-width: 28rem;
  margin-left: auto;
  margin-right: auto;
}

.confirm-card .chunky-link { margin-top: 1.75rem; }

/* FAQ */
.faq-section {
  max-width: 880px;
  margin: 0 auto;
  padding: clamp(3rem, 7vw, 5rem) var(--pad-x) clamp(5rem, 10vw, 8rem);
}

.faq-section .section-title { text-align: center; }

.faq-item {
  border: var(--line);
  border-radius: 18px;
  background: var(--paper);
  margin-bottom: 0.9rem;
  overflow: hidden;
}

.faq-item summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  padding: 1.1rem 1.4rem;
  cursor: pointer;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--blue-deep);
  transition: transform .3s cubic-bezier(.3, 1.4, .4, 1);
  flex: none;
}

.faq-item[open] summary::after { transform: rotate(45deg); }

.faq-item[open] summary { border-bottom: 1px dashed rgba(29, 29, 31, 0.25); }

.faq-item p { padding: 1rem 1.4rem 1.25rem; font-size: 0.97rem; }

/* ============================================================
   KONTAKT
   ============================================================ */
.info-section {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 4rem) var(--pad-x);
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: 1.5rem;
}

.info-card {
  border: var(--line);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  background: var(--paper);
  transition: box-shadow .25s ease;
}

.info-card:hover { box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08); }

.info-card h2 { font-size: 1.3rem; margin-bottom: 0.75rem; }

.info-card p { font-size: 0.98rem; }

.info-card p + p { margin-top: 0.5rem; }

.info-card a {
  color: var(--blue-deep);
  font-weight: 600;
  border-bottom: 2px solid transparent;
  transition: border-color .2s ease;
}

.info-card a:hover { border-color: var(--blue-deep); }

.info-emoji {
  display: block;
  width: 44px;
  height: 44px;
  margin-bottom: 1rem;
}

.contact-cta {
  text-align: center;
  padding: clamp(4rem, 9vw, 7rem) var(--pad-x) clamp(6rem, 11vw, 9rem);
}

.giant-mail {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.5rem, 5.2vw, 4.2rem);
  letter-spacing: -0.03em;
  display: inline-block;
  background-image: linear-gradient(var(--blue), var(--blue));
  background-repeat: no-repeat;
  background-position: 0 96%;
  background-size: 0% 0.14em;
  transition: background-size .45s cubic-bezier(.6, 0, .2, 1), color .3s ease;
  word-break: break-word;
}

.giant-mail:hover {
  background-size: 100% 0.14em;
  color: var(--blue-deep);
}

.mail-at { color: var(--blue-deep); }

.contact-note {
  margin-top: 1.5rem;
  color: var(--muted);
  font-size: 0.9rem;
}

/* ============================================================
   PATIČKA
   ============================================================ */
.site-footer {
  border-top: var(--line);
  padding: clamp(3rem, 7vw, 5rem) var(--pad-x) 2rem;
  text-align: center;
  overflow: hidden;
}

.footer-eyes {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
}

.eye {
  width: 44px; height: 44px;
  border: var(--line);
  border-radius: 50%;
  background: var(--paper);
  display: grid;
  place-items: center;
  position: relative;
}

.pupil {
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--blue-dark);
  transition: transform .08s linear;
}

.footer-cta {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.4vw, 1.6rem);
  font-weight: 500;
}

.footer-cta a {
  color: var(--blue-deep);
  border-bottom: 2px solid var(--blue-dark);
  transition: background-color .2s ease, color .2s ease;
}

.footer-cta a:hover { background: var(--blue); color: #fff; }

/* kudy k nám — místo dekorativního nápisu nese patička praktickou informaci */
.footer-directions {
  max-width: 680px;
  margin: 3rem auto 0;
  border: var(--line);
  border-radius: var(--radius);
  /* světlý design jako karta „Tvoje rezervace" */
  background: var(--blue-soft);
  padding: clamp(1.75rem, 4vw, 2.5rem);
  text-align: center;
}

.footer-dir-pin {
  width: 40px;
  height: 40px;
  margin: 0 auto 0.75rem;
}

.footer-dir-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.5rem, 3.5vw, 2.1rem);
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.footer-dir-address {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--blue-deep);
  margin-bottom: 0.6rem;
}

.footer-dir-note {
  font-size: 0.95rem;
  max-width: 34rem;
  margin: 0 auto 1.25rem;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px dashed rgba(29, 29, 31, 0.2);
}

.footer-nav { display: flex; gap: 1.25rem; }

.footer-nav a {
  font-size: 0.88rem;
  color: var(--muted);
  transition: color .2s ease;
}

.footer-nav a:hover { color: var(--blue-deep); }

.footer-ball {
  width: 26px;
  height: 26px;
  transition: transform .5s cubic-bezier(.3, 1.4, .4, 1);
}

.footer-ball:hover { transform: rotate(120deg) scale(1.3); }

.footer-ball svg { width: 100%; height: 100%; }

.footer-note { font-size: 0.85rem; color: var(--muted); }

/* konfety */
.confetti-bit {
  position: fixed;
  z-index: 999;
  width: 10px; height: 10px;
  pointer-events: none;
}

/* ============================================================
   REVEAL ANIMACE
   ============================================================ */
html.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .8s ease var(--d, 0s), transform .8s cubic-bezier(.2, .8, .2, 1) var(--d, 0s);
}

html.js .reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   RESPONZIVITA
   ============================================================ */
@media (max-width: 980px) {
  .booking-grid { grid-template-columns: 1fr; }
  .booking-summary { position: static; }
}

@media (max-width: 860px) {
  .process-steps { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
}

@media (max-width: 760px) {
  /* bez JavaScriptu zůstávají viditelné běžné odkazy (burger by nefungoval) */
  html.js .nav-links { display: none; }
  html.js .burger { display: flex; }
  .nav-links { gap: 1rem; }
  .nav-links a { font-size: 0.9rem; }
  .logo { font-size: 1.05rem; }
  .nav-cta { font-size: 0.82rem; padding: 0.5rem 0.9rem; }
  /* na mobilu necháváme jen tři menší tenisáky, rakety by překážely */
  .sticker { display: none; }
  .sticker-ball { display: block; }
  .sticker-ball svg { width: 44px; height: 44px; }
  .footer-bottom { justify-content: center; text-align: center; }
}

@media (min-width: 761px) {
  .mobile-menu { display: none; }
}

/* ============================================================
   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;
  }

  html.js .reveal { opacity: 1; transform: none; }

  .cursor-goo { display: none; }

  /* statický pruh: bez animace stačí jedna kopie textu, bez náklonu a scrollbaru */
  .marquee-track {
    animation: none;
    width: auto;
    justify-content: center;
  }

  .marquee-track span + span { display: none; }

  .marquee {
    overflow: hidden;
    transform: none;
  }
}
