/*
 * Judo Orel Židlochovice
 * Tmavá černo-červená paleta, plochy ze skla, jedna akcentní barva.
 * Navazuje na DESIGN.md učební aplikace, ale je volnější: tohle je
 * náborová stránka, ne nástroj na denní používání.
 */

@font-face {
  font-family: Geist;
  src: url('font/Geist-Regular.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Geist;
  src: url('font/Geist-Medium.woff2') format('woff2');
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: Geist;
  src: url('font/Geist-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: Geist;
  src: url('font/Geist-Bold.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
}

:root {
  --bg: #0b0b0d;
  --bg-2: #101116;
  --ink: #f4f5f7;
  --muted: #9aa0ab;
  --line: rgba(255, 255, 255, .09);
  --accent: #d92d20;
  --accent-soft: rgba(217, 45, 32, .16);

  --glass: rgba(255, 255, 255, .045);
  --glass-line: rgba(255, 255, 255, .1);
  --glass-blur: 18px;

  --r: 18px;
  --r-lg: 26px;
  --shadow: 0 24px 60px rgba(0, 0, 0, .5);
  --ease: cubic-bezier(.22, .68, .3, 1);
  --wrap: 1180px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.6 Geist, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

.ico { width: 1.15em; height: 1.15em; flex: none; fill: currentColor; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: 860px; }

.skip {
  position: absolute; left: -9999px;
  padding: 12px 18px; background: var(--accent); color: #fff; border-radius: 0 0 12px 0;
}
.skip:focus { left: 0; top: 0; z-index: 100; }

/* ---------- sklo ---------- */

.glass {
  background: var(--glass);
  border: 1px solid var(--glass-line);
  border-radius: var(--r-lg);
  backdrop-filter: blur(var(--glass-blur)) saturate(1.3);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(1.3);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, .07);
}

/* Když si uživatel průhlednost nepřeje, sklo se nahradí plnou plochou. */
@media (prefers-reduced-transparency: reduce) {
  .glass, .nav { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--bg-2); }
}

/* ---------- typografie ---------- */

h1, h2, h3 { margin: 0; font-weight: 700; letter-spacing: -.03em; line-height: 1.04; }

h1 { font-size: clamp(38px, 7vw, 76px); }

.h-section {
  font-size: clamp(28px, 4.4vw, 44px);
  margin-bottom: 14px;
}

.h-section span { color: var(--muted); font-weight: 500; letter-spacing: -.01em; }

.lede { margin: 14px 0 0; color: var(--muted); font-size: clamp(16px, 1.5vw, 19px); max-width: 60ch; }
.lede.narrow { max-width: 52ch; }

.note { margin: 22px 0 0; color: var(--muted); font-size: 15px; max-width: 70ch; }

.eyebrow {
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent);
}

/* ---------- navigace ---------- */

.nav {
  position: fixed;
  inset: 12px 12px auto;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 22px;
  height: 68px;
  padding: 0 12px 0 16px;
  border: 1px solid var(--glass-line);
  border-radius: 999px;
  background: rgba(12, 12, 15, .6);
  backdrop-filter: blur(16px) saturate(1.3);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  max-width: calc(var(--wrap) - 24px);
  margin: 0 auto;
  transition: background .3s var(--ease), border-color .3s var(--ease);
}

.nav.solid { background: rgba(10, 10, 12, .86); border-color: rgba(255, 255, 255, .14); }

.brand {
  display: flex; align-items: center; gap: 11px;
  color: inherit; text-decoration: none; flex: none;
  font-size: 13px; font-weight: 600; line-height: 1.15; letter-spacing: -.01em;
}
.brand img { width: 44px; height: 44px; }

.nav-links { display: flex; align-items: center; gap: 4px; margin-left: auto; }

.nav-links a {
  padding: 9px 13px;
  border-radius: 999px;
  color: var(--muted);
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 500;
  transition: color .2s var(--ease), background .2s var(--ease);
}

.nav-links a:hover { color: var(--ink); background: rgba(255, 255, 255, .06); }

.burger {
  display: none;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  border: 1px solid var(--glass-line); border-radius: 999px;
  background: transparent; color: var(--ink); cursor: pointer;
}

/* ---------- tlačítka ---------- */

.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 13px 22px;
  border-radius: 999px;
  font: inherit; font-size: 15px; font-weight: 600; letter-spacing: -.01em;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  border: 1px solid transparent;
  transition: transform .16s var(--ease), background .2s var(--ease),
              border-color .2s var(--ease), box-shadow .25s var(--ease);
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 10px 30px rgba(217, 45, 32, .32);
}
.btn-primary:hover { background: #f04331; box-shadow: 0 20px 48px rgba(217, 45, 32, .6); transform: translateY(-3px) scale(1.04); }
.btn-primary:active { transform: translateY(1px) scale(.985); }

.btn-ghost {
  background: rgba(255, 255, 255, .05);
  border-color: var(--glass-line);
  color: var(--ink);
  backdrop-filter: blur(10px);
}
.btn-ghost:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .2); }
.btn-ghost:active { transform: translateY(1px) scale(.985); }

.nav-cta { padding: 11px 20px; font-size: 14.5px; }

/* ---------- hero ---------- */

.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 120px 0 32px;
  overflow: hidden;
}

.hero-media { position: absolute; inset: 0; z-index: 0; }

.hero-media > img:first-child {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 60% 40%;
  /* fotka jde do černo-červené, aby seděla do palety a text na ní držel */
  filter: grayscale(1) contrast(1.15) brightness(.62);
}

/*
 * Klubový znak. Zůstává mimo grayscale filtr fotky, aby si podržel svou
 * červenou barvu, a je jen ztlumený a rozostřený, ať čte jako vodoznak,
 * ne jako druhé logo vedle nadpisu.
 */
.hero-emblem {
  position: absolute;
  right: clamp(30px, 12vw, 180px);
  top: 18%;
  width: min(34vw, 420px);
  height: auto;
  opacity: .55;
  filter: blur(.5px);
  pointer-events: none;
}

/*
 * Druhá kopie znaku, přesně na stejné pozici (sdílí .hero-emblem), oříznutá
 * do kruhu kolem kurzoru — v okruhu kurzoru tak znak "prosvítí" naostro a do bíla.
 * --rx/--ry jsou pozice kurzoru v souřadnicích tohoto konkrétního obrázku (z JS).
 */
.hero-emblem-reveal {
  opacity: 0;
  filter: none;
  transition: opacity .45s var(--ease);
  -webkit-mask-image: radial-gradient(160px circle at var(--rx, 50%) var(--ry, 50%), black, transparent 70%);
  mask-image: radial-gradient(160px circle at var(--rx, 50%) var(--ry, 50%), black, transparent 70%);
}

.hero.lit .hero-emblem-reveal { opacity: 1; }

.hero-tint {
  position: absolute; inset: 0;
  background:
    radial-gradient(1000px 620px at 78% 34%, rgba(217, 45, 32, .5), transparent 62%),
    linear-gradient(180deg, rgba(11, 11, 13, .82) 0%, rgba(11, 11, 13, .45) 34%, var(--bg) 96%);
}

/* světlo, které jede za kurzorem; pozice přichází z JS. Zrnitá dither textura
   uvnitř kruhu (feTurbulence SVG) dává záři trochu analogový, ne úplně hladký nádech. */
.hero-light {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity .45s var(--ease);
  background:
    radial-gradient(160px circle at var(--mx, 50%) var(--my, 50%),
      rgba(255, 255, 255, .045), rgba(217, 45, 32, .04) 42%, transparent 68%),
    url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNDAiIGhlaWdodD0iMTQwIj4KPGZpbHRlciBpZD0ibiI+PGZlVHVyYnVsZW5jZSB0eXBlPSJmcmFjdGFsTm9pc2UiIGJhc2VGcmVxdWVuY3k9IjAuOSIgbnVtT2N0YXZlcz0iMiIgc3RpdGNoVGlsZXM9InN0aXRjaCIvPjxmZUNvbG9yTWF0cml4IHR5cGU9Im1hdHJpeCIgdmFsdWVzPSIwIDAgMCAwIDEgIDAgMCAwIDAgMSAgMCAwIDAgMCAxICAwIDAgMCAwLjkgMCIvPjwvZmlsdGVyPgo8cmVjdCB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiBmaWx0ZXI9InVybCgjbikiLz4KPC9zdmc+");
  background-repeat: no-repeat, repeat;
  background-blend-mode: normal, overlay;
  -webkit-mask-image: radial-gradient(160px circle at var(--mx, 50%) var(--my, 50%), black, transparent 70%);
  mask-image: radial-gradient(160px circle at var(--mx, 50%) var(--my, 50%), black, transparent 70%);
}

.hero.lit .hero-light { opacity: 1; }

.hero-body { position: relative; z-index: 1; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; width: 100%; }

.hero-brand {
  margin: 14px 0 0;
  color: var(--accent);
  font-size: clamp(14px, 1.6vw, 17px);
  font-weight: 600;
  letter-spacing: .04em;
}

.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* ---------- pásma ---------- */

.band { padding: clamp(70px, 10vw, 120px) 0; }
.band.alt { background: var(--bg-2); }

/* ---------- rozpis ---------- */

.schedule { display: grid; gap: 14px; margin-top: 34px; }

.day {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 20px;
  align-items: start;
  padding: 20px 24px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: rgba(255, 255, 255, .022);
  transition: border-color .25s var(--ease), background .25s var(--ease);
}

.day:hover { border-color: rgba(255, 255, 255, .16); }

.day h3 { font-size: 20px; letter-spacing: -.02em; }

.slots { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; }

.slot { padding: 12px 14px; border-radius: 12px; background: rgba(255, 255, 255, .04); }
.slot b { display: block; font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; }
.slot span { display: block; margin-top: 2px; color: var(--muted); font-size: 13.5px; }

/* ---------- aplikace ---------- */

.feature { padding: clamp(70px, 10vw, 120px) 0; }

.feature-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
}

.ticks { margin: 30px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }

.ticks li { position: relative; padding-left: 26px; color: var(--muted); font-size: 15.5px; }

.ticks li::before {
  content: '';
  position: absolute; left: 0; top: .55em;
  width: 8px; height: 8px; border-radius: 999px;
  background: var(--accent);
}

.feature-art {
  display: grid;
  place-items: center;
  padding: clamp(30px, 5vw, 60px);
  background:
    radial-gradient(120% 90% at 30% 10%, rgba(217, 45, 32, .22), transparent 60%),
    var(--glass);
}

.feature-art img { width: min(300px, 70%); filter: drop-shadow(0 20px 50px rgba(0, 0, 0, .55)); }

/* ---------- zkušební řád ---------- */
/* Dvě řady po pěti pásech, malé dlaždice — je to odkaz na plný sken, ne čtení. */

.rail {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin: 34px 0 30px;
}

.rail figure { margin: 0; }

.rail img {
  width: 100%;
  aspect-ratio: 724 / 1024;
  object-fit: cover;
  object-position: top;
  border-radius: 10px;
  border: 1px solid var(--line);
  transition: transform .3s var(--ease), border-color .3s var(--ease);
}

.rail a:hover img { transform: translateY(-3px); border-color: rgba(255, 255, 255, .25); }

.rail figcaption { margin-top: 8px; font-size: 12.5px; font-weight: 600; text-align: center; color: var(--muted); }

/* ---------- aktuality ---------- */

.news { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; margin-top: 34px; }

.post {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: rgba(255, 255, 255, .022);
  transition: border-color .25s var(--ease), transform .25s var(--ease);
}

.post:hover { border-color: rgba(255, 255, 255, .18); transform: translateY(-3px); }

.post time { font-size: 13px; color: var(--accent); font-weight: 600; font-variant-numeric: tabular-nums; }
.post h3 { margin: 8px 0 8px; font-size: 18.5px; letter-spacing: -.02em; }
.post p { margin: 0; color: var(--muted); font-size: 15px; }

.post-link {
  display: inline-flex; align-items: center; gap: 7px;
  margin-top: 14px;
  color: var(--accent); text-decoration: none;
  font-size: 14.5px; font-weight: 600;
}
.post-link:hover { text-decoration: underline; }

.attachments { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 8px; }
.attachments a {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--accent); text-decoration: underline; font-size: 14px;
  font-weight: 600;
  background: var(--accent-soft);
  padding: 6px 12px;
  border-radius: 999px;
  width: fit-content;
}
.attachments a:hover { text-decoration: none; }
.attachments .ico { width: 1em; height: 1em; flex: none; }

/* ---------- kalendář ---------- */

.calendar-layout {
  display: grid; grid-template-columns: minmax(0, 300px) 1fr; gap: 20px; align-items: start;
  margin-top: 34px;
}

@media (max-width: 640px) {
  .calendar-layout { grid-template-columns: 1fr; }
}

.calendar { padding: 18px; border-radius: var(--r); }

.calendar-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.calendar-head h3 { font-size: 14.5px; letter-spacing: -.01em; text-transform: capitalize; }

.calendar-nav {
  display: grid; place-items: center;
  width: 28px; height: 28px; border-radius: 999px;
  border: 1px solid var(--line); background: rgba(255, 255, 255, .03); color: var(--ink);
  cursor: pointer; transition: border-color .2s var(--ease), background .2s var(--ease);
}
.calendar-nav:hover { border-color: rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .07); }
.calendar-nav .ico { width: 13px; height: 13px; transform: rotate(180deg); }
.calendar-nav-next .ico { transform: none; }

.calendar-weekdays, .calendar-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; }
.calendar-weekdays { margin-top: 14px; }
.calendar-weekdays span { text-align: center; font-size: 10px; font-weight: 600; color: var(--muted); }

.calendar-grid { margin-top: 4px; }

.calendar-day {
  position: relative;
  aspect-ratio: 1;
  display: flex; align-items: center; justify-content: center;
  border-radius: 7px;
  border: 1px solid transparent;
  font-size: 11.5px; font-variant-numeric: tabular-nums;
  color: var(--muted);
  background: rgba(255, 255, 255, .022);
}

.calendar-day.outside { color: rgba(154, 160, 171, .35); background: transparent; }

.calendar-day.today { border-color: rgba(255, 255, 255, .3); color: var(--ink); }

.calendar-day.has-event {
  color: var(--ink); font-weight: 700; cursor: pointer;
  background: var(--accent-soft);
  border-color: rgba(217, 45, 32, .5);
  box-shadow: 0 0 0 1px rgba(217, 45, 32, .12);
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .18s var(--ease);
}
.calendar-day.has-event:hover {
  transform: translateY(-2px) scale(1.06);
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 10px 22px rgba(217, 45, 32, .45);
}
.calendar-day.has-event.selected { background: var(--accent); border-color: var(--accent); box-shadow: 0 10px 22px rgba(217, 45, 32, .45); }
.calendar-day.has-event:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.calendar-day .dot {
  position: absolute; bottom: 3px; left: 50%; translate: -50% 0;
  width: 3px; height: 3px; border-radius: 50%; background: var(--accent);
}
.calendar-day.has-event:hover .dot, .calendar-day.has-event.selected .dot { background: var(--ink); }

.calendar-detail { padding: 26px; border-radius: var(--r); min-height: 100%; display: flex; flex-direction: column; justify-content: center; }

.calendar-detail-empty { margin: 0; color: var(--muted); font-size: 14.5px; text-align: center; }

.calendar-detail time { font-size: 13px; color: var(--accent); font-weight: 600; }
.calendar-detail h3 { margin: 10px 0 10px; font-size: 19px; letter-spacing: -.02em; }
.calendar-detail p { margin: 0; color: var(--muted); font-size: 15px; white-space: pre-wrap; }
.calendar-detail .event-entry + .event-entry { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--line); }

/* ---------- trenéři ---------- */

.coaches { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 34px; }

@media (min-width: 620px) { .coaches { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .coaches { grid-template-columns: repeat(5, 1fr); } }

.coach {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: rgba(255, 255, 255, .022);
}

.coach-photo {
  width: 92px; height: 92px;
  flex: none;
  display: grid; place-items: center;
  border-radius: 999px;
  overflow: hidden;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -.02em;
}

.coach-photo img { width: 100%; height: 100%; object-fit: cover; }

.coach h3 { font-size: 17px; letter-spacing: -.02em; }

.coach-rank { margin: 5px 0 0; color: var(--muted); font-size: 13.5px; line-height: 1.4; }

.coach-contact { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 4px; }
.coach-contact li { color: var(--muted); font-size: 13.5px; }

/* ---------- kontakt ---------- */

.contact { padding: clamp(70px, 10vw, 120px) 0 clamp(50px, 7vw, 80px); }

.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(30px, 5vw, 60px); align-items: stretch; }

.contact .btn-primary { margin-top: 28px; }

.contact-list { list-style: none; margin: 26px 0 0; padding: 26px; display: grid; gap: 18px; }
.contact-list li { display: flex; align-items: flex-start; gap: 14px; font-size: 15.5px; }
.contact-list .ico { margin-top: .2em; color: var(--accent); }
.contact-list a { color: inherit; text-decoration: none; border-bottom: 1px solid var(--line); }
.contact-list a:hover { border-color: var(--accent); }

.map-wrap { display: flex; flex-direction: column; height: 100%; gap: 12px; }

.map {
  flex: 1;
  min-height: 300px;
  overflow: hidden;
  padding: 0;
}

.map iframe {
  width: 100%;
  height: 100%;
  min-height: 300px;
  border: 0;
  display: block;
  /*
   * Google Maps nenabízí tmavý styl bez placeného API klíče. Filtr přetáčí
   * barvy do tmavého vzhledu ladícího s palettou; hue-rotate posouvá
   * převrácenou modrou zpět k neutrální šedé, aby voda nebyla zelená.
   */
  filter: invert(92%) hue-rotate(180deg) contrast(88%) brightness(.95) saturate(1.15);
}

.map-link {
  align-self: flex-start;
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--muted); text-decoration: none;
  font-size: 14px; font-weight: 600;
}
.map-link:hover { color: var(--ink); }
.map-link .ico { width: .9em; height: .9em; }

/* ---------- patička ---------- */

.foot { border-top: 1px solid var(--line); padding: 26px 0; }
.foot-grid { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; color: var(--muted); font-size: 14px; }
.foot p { margin: 0; }
.foot p:first-child { color: var(--ink); font-weight: 600; }
.foot-admin { color: var(--muted); text-decoration: none; border-bottom: 1px solid var(--line); }
.foot-admin:hover { color: var(--ink); border-color: var(--muted); }

/* ---------- pohyb ---------- */

/*
 * Naskakování obsahu. Skrývá se jen tehdy, když běží JS a sleduje viditelnost
 * (třídu js-reveal nasazuje app.js). Bez skriptu je obsah rovnou vidět, takže
 * chyba ve skriptu nemůže vysypat půlku stránky.
 */
/* Nad 860px (viz mobilní blok níž, kde se toto ruší úplně) */
@media (prefers-reduced-motion: no-preference) and (min-width: 861px) {
  .js-reveal .reveal { opacity: 0; transform: translateY(18px); }
  .js-reveal .reveal.seen {
    opacity: 1;
    transform: none;
    transition: opacity .7s var(--ease), transform .7s var(--ease);
  }
}

/* ---------- responzivita ---------- */

@media (max-width: 1000px) {
  .feature-grid, .contact-grid { grid-template-columns: 1fr; }
  .feature-art { order: -1; }
  .map { min-height: 260px; }
}

@media (max-width: 720px) {
  .rail { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 860px) {
  .nav-links {
    position: absolute;
    inset: 78px 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 12px;
    border: 1px solid var(--glass-line);
    border-radius: 22px;
    background: rgba(9, 9, 11, .97);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: var(--shadow);
    display: none;
  }

  .nav-links.open { display: flex; }
  .nav-links a { padding: 13px 16px; font-size: 16px; border-radius: 14px; }

  /* menu je skryté, takže burger musí doprava dotlačit sám sebe */
  .burger { display: flex; margin-left: auto; }
  .nav-cta { display: none; }
  .nav { gap: 12px; }

  /*
   * backdrop-filter na fixní navigaci trhá scroll na iOS Safari (musí
   * přepočítávat rozostření při každém snímku, nejhorší při obrácení směru).
   * Na mobilu proto místo rozostření necháme jen plnou tmavou plochu.
   */
  .nav, .nav.solid { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(10, 10, 12, .94); }

  /* žádné efekty spřažené se scrollem na mobilu — čistě nativní posun */
  html { scroll-behavior: auto; }

  .hero { padding-top: 104px; }

  /* fotka judistů se do úzké obrazovky nevejde hezky ořezaná — na mobilu
     necháváme jen tmavé pozadí, červený akcent a klubový znak */
  .hero-media > img:first-child { display: none; }
  .hero-emblem { left: 50%; right: auto; top: 14%; width: 62vw; opacity: .6; transform: translateX(-50%); }

  .day { grid-template-columns: 1fr; gap: 14px; }
  .rail { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 420px) {
  .wrap, .hero-body { padding: 0 18px; }
  .btn { padding: 12px 18px; }
}
