/* Barvy jsou zatím placeholder (sokolská červená + tmavě modrá) — nahradit až bude
   finální paleta odsouhlasená v SPEC.md */
:root {
  --color-bg: #ffffff;
  --color-text: #000000;
  --color-muted: #000000;
  --color-accent: #e40521;
  --color-navy: #0b2340;
  --color-border: #e5e5e5;
  --color-bg-alt: #f5f5f5;
  --max-width: 760px;
  --max-width-wide: 1300px;
  --p: 16px;
}

@media (min-width: 600px) {
  :root { --p: 32px; }
}
@media (min-width: 1025px) {
  :root { --p: 48px; }
}

* {
  box-sizing: border-box;
}

html {
  /* Vypnuto globálně, ne jen na headeru — jinak prohlížeč sám dorovnává
     scroll pozici při každé změně výšky sticky headeru, což společně
     s hysterezí ve scroll listeneru způsobovalo skákání nahoru/dolů. */
  overflow-anchor: none;
}

body {
  margin: 0;
  font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  font-weight: 400;
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
}

header.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-bg);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  overflow-anchor: none;
  transition: box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

header.site-header.is-scrolled {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

header.site-header .header-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
  transition: padding 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

header.site-header.is-scrolled .header-inner {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

header.site-header a {
  text-decoration: none;
  color: var(--color-text);
  font-weight: 600;
}

header.site-header .brand {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-right: auto;
}

header.site-header .brand-logo {
  height: 56px;
  width: 56px;
  /* Logo je čtvercové/kulaté — pevná šířka i výška (ne "width: auto") znamená,
     že prohlížeč při každém snímku animace jen interpoluje dvě čísla, místo aby
     přepočítával poměr stran z velkého zdrojového PNG. To byl skutečný důvod
     probliknutí, ne animace samotná. */
  transition: height 0.3s cubic-bezier(0.4, 0, 0.2, 1), width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

header.site-header.is-scrolled .brand-logo {
  height: 40px;
  width: 40px;
}

/* --- Hlavní navigace (desktop) --- */
.main-nav {
  display: none;
}

@media (min-width: 1025px) {
  .main-nav {
    display: flex;
    gap: 2.25rem;
    align-items: center;
  }
}

.main-nav a {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  transition: color 0.15s ease;
}

.main-nav a:hover,
.main-nav a.active,
.mobile-nav a:hover,
.mobile-nav a.active {
  color: var(--color-accent);
}

/* --- Rozbalovací submenu (Oddíly) --- */
/* Trigger je span (stránka Oddíly neexistuje) — stylovaný stejně jako odkazy v menu */
.nav-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.85rem;
  /* 600 = stejná tloušťka jako odkazy v menu (header.site-header a) */
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  cursor: default;
  transition: color 0.15s ease;
}

.nav-dropdown:hover .nav-dropdown-trigger {
  color: var(--color-accent);
}

.nav-chevron {
  width: 11px;
  height: 11px;
  transition: transform 0.2s ease;
}

.nav-dropdown:hover .nav-chevron,
.nav-dropdown:focus-within .nav-chevron {
  transform: rotate(180deg);
}

.nav-dropdown {
  position: relative;
  /* padding drží hover mezi odkazem a submenu, ať se nezavře v mezeře */
  padding: 0.75rem 0;
  margin: -0.75rem 0;
}

.nav-submenu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  min-width: 240px;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  padding: 0.5rem 0;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s;
}

.nav-dropdown:hover .nav-submenu,
.nav-dropdown:focus-within .nav-submenu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav-submenu a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 1.25rem;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color 0.15s ease, background 0.15s ease;
}

.nav-submenu a img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.nav-submenu a:hover {
  background: var(--color-bg-alt);
}

/* --- Submenu v mobilním menu --- */
/* "Oddíly" je rozbalovací tlačítko — submenu je defaultně sbalené */
.mobile-nav-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 0;
  font-size: 1.4rem;
  font-weight: 600;
  font-family: inherit;
  color: var(--color-text);
  background: none;
  border: none;
  border-bottom: 1px solid var(--color-border);
  text-align: left;
  cursor: pointer;
}

.mobile-nav-label .nav-chevron {
  width: 14px;
  height: 14px;
  transition: transform 0.2s ease;
}

.mobile-nav-label[aria-expanded="true"] .nav-chevron {
  transform: rotate(180deg);
}

.mobile-submenu {
  display: none;
  flex-direction: column;
  padding-left: 1.25rem;
  border-bottom: 1px solid var(--color-border);
}

.mobile-submenu.open {
  display: flex;
}

.mobile-submenu a {
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.45rem 0;
  border-bottom: none;
}

/* --- Hamburger (mobil/tablet) --- */
.hamburger {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  margin-left: auto;
}

@media (min-width: 1025px) {
  .hamburger {
    display: none;
  }
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-text);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* --- Mobilní navigace (fullscreen panel) --- */
.mobile-nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 98;
  background: var(--color-bg);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  opacity: 0;
  transform: translateY(-8px);
  transition: transform 0.25s ease, opacity 0.25s ease;
  pointer-events: none;
}

.mobile-nav.open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.mobile-nav .container {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-top: 1.5rem;
  padding-bottom: 2rem;
}

.mobile-nav a {
  padding: 0.75rem 0;
  font-size: 1.4rem;
  font-weight: 600;
  border-bottom: 1px solid var(--color-border);
}

.mobile-nav .container > a:last-of-type {
  border-bottom: none;
}

@media (min-width: 1025px) {
  .mobile-nav {
    display: none !important;
  }
}

main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
}

h1 {
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 0.5rem;
}

h2 {
  font-size: 1.3rem;
  font-weight: 600;
}

h3 {
  font-size: 1.05rem;
  font-weight: 600;
}

a {
  color: var(--color-text);
}

.post-card {
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--color-border);
}

.post-card h2,
.post-card h3 {
  margin: 0 0 0.25rem;
  font-size: 1.1rem;
  font-weight: 700;
}

.post-card .meta {
  color: var(--color-muted);
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
}

.post-card a {
  text-decoration: none;
}

.post-meta {
  color: var(--color-muted);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.post-image {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 1.5rem;
}

form.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 480px;
}

form.contact-form label {
  font-weight: 600;
  font-size: 0.9rem;
}

form.contact-form input,
form.contact-form textarea {
  padding: 0.6rem 0.7rem;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  font-size: 1rem;
  font-family: inherit;
}

form.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

form.contact-form button {
  padding: 0.7rem 1.2rem;
  background: var(--color-accent);
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  cursor: pointer;
  width: fit-content;
}

form.contact-form button:disabled {
  opacity: 0.6;
  cursor: default;
}

.form-status {
  font-size: 0.9rem;
}

.form-status.success {
  color: #15803d;
}

.form-status.error {
  color: #b91c1c;
}

.honeypot {
  position: absolute;
  left: -9999px;
}

footer.site-footer {
  background: var(--color-accent);
  color: #fff;
  padding: 2.5rem 1.5rem;
  text-align: center;
  font-size: 0.85rem;
}

.footer-znak {
  display: block;
  width: 128px;
  height: 128px;
  object-fit: contain;
  margin: 0 auto 1rem;
  border-radius: 8px;
}

/* ==========================================================================
   Homepage
   ========================================================================== */

main.homepage {
  max-width: none;
  padding: 0;
}

/* Padding systém: horizontální padding řeší jen .container, sekce mají 0 */
.container {
  max-width: var(--max-width-wide);
  margin: 0 auto;
  padding: 0 var(--p);
}

/* --- Hero --- */
.hero {
  position: relative;
  background: var(--color-accent);
  color: #fff;
  min-height: 60vh;
  display: flex;
  align-items: center;
  text-align: center;
  overflow: hidden;
}

/* Logo jako slabý watermark na pozadí — zatím jen placeholder, doladit později */
.hero::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 640px;
  height: 640px;
  background: url("../assets/Logo.png") center / contain no-repeat;
  transform: translate(-50%, -50%);
  opacity: 0.15;
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 1.25rem;
}

.hero-subtext {
  max-width: 820px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 1.7;
}

/* --- Oddíly --- */
.section-oddily {
  padding: 3.5rem 0;
}

.section-oddily h2 {
  text-align: center;
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 2rem;
}

.tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

@media (max-width: 600px) {
  .tiles {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Dlaždice oddílů — varianta "6b": plná červená, bílá silueta jako watermark
   u pravého kraje, název dole vlevo */
.tile {
  position: relative;
  min-height: 150px;
  display: flex;
  align-items: flex-end;
  padding: 1.25rem 1.4rem;
  background: var(--color-accent);
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 26px rgba(228, 5, 33, 0.35);
}

.tile-icon {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.35;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.tile:hover .tile-icon {
  opacity: 0.55;
  transform: translateY(-50%) scale(1.06);
}

.tile-icon img {
  width: 130px;
  height: 130px;
  object-fit: contain;
}

.tile-name {
  position: relative;
  z-index: 1;
  font-weight: 700;
  font-size: 1.05rem;
  color: #fff;
  letter-spacing: 0.01em;
}

/* --- Aktuality + Důležité info --- */
.section-aktuality {
  background: var(--color-bg-alt);
  padding: 3.5rem 0;
}

.two-col {
  display: grid;
  /* 6fr/4fr = poměr 60/40, ale na rozdíl od procent respektuje gap
     (60% + 40% + gap přetékalo doprava) */
  grid-template-columns: 6fr 4fr;
  gap: 2.5rem;
}

@media (max-width: 900px) {
  .two-col {
    grid-template-columns: 1fr;
  }
}

/* Aktualita — vizuál "N4": červený datum-badge vlevo, fotka vpravo */
.aktualita-card {
  display: flex;
  gap: 1.25rem;
  align-items: center;
  background: #fff;
  border-radius: 12px;
  padding: 1.25rem;
  margin-bottom: 1rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.aktualita-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.aktualita-badge {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  background: var(--color-accent);
  color: #fff;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1.15;
}

.aktualita-badge .day {
  font-size: 1.4rem;
  font-weight: 800;
}

.aktualita-badge .month {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
}

.aktualita-content {
  flex: 1;
}

.aktualita-content h3 {
  margin: 0 0 0.3rem;
  font-size: 1.05rem;
  font-weight: 700;
}

.aktualita-content p {
  margin: 0;
  font-size: 0.95rem;
}

/* Placeholder místo fotky aktuality (než bude napojená administrace) */
.aktualita-foto-placeholder {
  flex-shrink: 0;
  align-self: center;
  width: 130px;
  height: 100px;
  background: var(--color-bg-alt);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #bbb;
}

.aktualita-foto-placeholder svg {
  width: 36px;
  height: 36px;
}

@media (max-width: 600px) {
  .aktualita-foto-placeholder {
    display: none;
  }
}

/* Pravý sloupec zůstává při scrollování aktualit přilepený pod headerem */
.col-info {
  position: sticky;
  /* header má po zúžení ~72px, +16px odstup */
  top: 88px;
  align-self: start;
}

.col-aktuality h2 {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-top: 0;
}

.btn-secondary {
  margin-top: 1rem;
  padding: 0.6rem 1.2rem;
  border: 1px solid var(--color-accent);
  color: var(--color-accent);
  background: transparent;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  cursor: pointer;
}

.btn-secondary:hover {
  background: var(--color-accent);
  color: #fff;
}

.info-box {
  background: #fff;
  border-left: 4px solid var(--color-accent);
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.info-box h3 {
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-top: 0;
}

.info-box-list {
  margin: 0.5rem 0 0;
  padding-left: 1.1rem;
  font-size: 16px;
}

.info-box-list li {
  margin-bottom: 0.25rem;
}

.rental-heading {
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin: 0 0 0.75rem;
}

.rental-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.btn-rental {
  display: block;
  text-align: center;
  padding: 0.7rem 1rem;
  background: var(--color-navy);
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-rental:hover {
  background: #12335c;
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(11, 35, 64, 0.25);
}

/* ==========================================================================
   Stránka oddílu (oddily/*.html)
   ========================================================================== */

main.oddil-page {
  max-width: none;
  padding: 0;
}

/* --- Hlavička oddílu: bílá silueta vedle názvu + drobek "Oddíly /" --- */
.oddil-hero {
  background: var(--color-accent);
  color: #fff;
  padding: calc(3rem - 20px) 0;
}

.oddil-hero .container {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.oddil-hero-icon {
  width: 144px;
  height: 144px;
  object-fit: contain;
  opacity: 0.9;
}

.oddil-crumb {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.75;
  margin-bottom: 0.2rem;
}

.oddil-crumb a {
  color: #fff;
  text-decoration: none;
}

.oddil-crumb a:hover {
  text-decoration: underline;
}

.oddil-hero h1 {
  margin: 0;
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

/* --- Představení + fotka --- */
.oddil-intro {
  padding: 3.5rem 0;
}

.oddil-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

@media (max-width: 900px) {
  .oddil-intro-grid {
    grid-template-columns: 1fr;
  }
}

.oddil-text > p:first-child {
  margin-top: 0;
  font-size: 1.05rem;
}

.oddil-photo img {
  width: 100%;
  border-radius: 14px;
  display: block;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.16);
}

.oddil-info-cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
}

.info-card {
  background: var(--color-bg-alt);
  border-left: 4px solid var(--color-accent);
  border-radius: 8px;
  padding: 1.1rem 1.4rem;
}

.info-card h3 {
  margin: 0 0 0.4rem;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-text);
}

.info-card p {
  margin: 0;
  font-size: 0.95rem;
}

.info-card a {
  font-weight: 500;
}

/* --- Akce oddílu --- */
.oddil-akce {
  background: var(--color-bg);
  padding: 3.5rem 0;
}

.oddil-akce h2 {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 0 0 1rem;
}

.oddil-akce h2 + div {
  margin-bottom: 2.5rem;
}

.oddil-akce h2 + div:last-child {
  margin-bottom: 0;
}

/* --- Další oddíly (spodek stránky oddílu) --- */
/* Vizuál "D2": šedé pozadí sekce, bílé kartičky se stínem */
.oddil-dalsi {
  background: var(--color-bg-alt);
  padding: 3.5rem 0;
}

.oddil-dalsi h2 {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 0 0 1.5rem;
}

.dalsi-oddily-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

@media (max-width: 900px) {
  .dalsi-oddily-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.dalsi-oddil {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.85rem 1.1rem;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease, color 0.15s ease;
}

.dalsi-oddil img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.dalsi-oddil:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
  color: var(--color-accent);
}

/* --- Placeholder "Připravujeme" (oddíly bez dodaného obsahu) --- */
.oddil-pripravujeme {
  text-align: center;
  padding-top: 6rem;
  padding-bottom: 6rem;
}

.oddil-pripravujeme h2 {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 0 0 0.5rem;
}

.oddil-pripravujeme p {
  margin: 0;
  color: var(--color-muted);
}

/* --- Placeholder místo fotky oddílu (dokud zákazník nedodá) --- */
.oddil-photo-placeholder {
  background: var(--color-bg-alt);
  border-radius: 14px;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.oddil-photo-placeholder span {
  font-size: 0.85rem;
  font-weight: 500;
  color: #999;
}

.oddil-photo-placeholder img {
  width: 120px;
  height: 120px;
  object-fit: contain;
  opacity: 0.25;
  box-shadow: none;
  border-radius: 0;
}

/* ==========================================================================
   Responzivní úpravy — mobil (≤600px)
   ========================================================================== */
@media (max-width: 600px) {
  /* Menší nadpisy */
  .hero h1 {
    font-size: 1.9rem;
  }

  .hero-subtext {
    font-size: 0.95rem;
  }

  /* Ruční zlom řádku v podtextu na mobilu nedává smysl — text se láme sám */
  .hero-subtext br {
    display: none;
  }

  .section-oddily h2,
  .col-aktuality h2,
  .oddil-akce h2,
  .oddil-dalsi h2 {
    font-size: 1.3rem;
  }

  .oddil-hero h1 {
    font-size: 1.6rem;
  }

  .oddil-hero-icon {
    width: 88px;
    height: 88px;
  }

  .oddil-pripravujeme h2 {
    font-size: 1.3rem;
  }

  /* Hero nemusí být na mobilu tak vysoké */
  .hero {
    min-height: 45vh;
  }

  .hero::before {
    width: 420px;
    height: 420px;
  }

  /* Dlaždice oddílů — menší watermark a nižší dlaždice, ať se dvě vejdou vedle sebe */
  .tile {
    min-height: 120px;
    padding: 1rem 1.1rem;
  }

  .tile-icon img {
    width: 96px;
    height: 96px;
  }

  .tile-name {
    font-size: 0.9rem;
  }

  /* Footer znak menší */
  .footer-znak {
    width: 96px;
    height: 96px;
  }
}

/* Tablet (601–900px) — mírnější zmenšení nadpisů */
@media (min-width: 601px) and (max-width: 900px) {
  .hero h1 {
    font-size: 2.4rem;
  }

  .oddil-hero h1 {
    font-size: 1.9rem;
  }
}
