/* ===== Variables ===== */
:root {
  --bg-primary: #FFFFFF;
  --bg-secondary: #f0f5fa;
  --surface: #FFFFFF;
  --surface-alt: #f7fafd;
  --brand-blue: #003A70;
  --brand-blue-dark: #002855;
  --brand-blue-light: #004d94;
  --accent: #D22630;
  --accent-hover: #b81e27;
  --text-primary: #0e1e2d;
  --text-secondary: #4a6680;
  --text-muted: #7a9ab5;
  --text-on-dark: #FFFFFF;
  --text-on-dark-muted: rgba(255,255,255,.65);
  --border: rgba(0, 58, 112, 0.1);
  --border-strong: rgba(0, 58, 112, 0.18);
  --border-accent: rgba(210, 38, 48, 0.2);
  --shadow-sm: 0 1px 3px rgba(0,58,112,.08);
  --shadow: 0 4px 12px rgba(0,58,112,.1);
  --shadow-lg: 0 8px 28px rgba(0,58,112,.14);
  --nav-height: 72px;
  --max-w: 1200px;
  --radius: 8px;
  --radius-lg: 16px;
  --ease: 200ms ease;
}

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; color: inherit; }

/* ===== Utilities ===== */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }

.tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}

.tag-on-dark { color: rgba(255,255,255,.7); }

.section-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.section-sub {
  color: var(--text-secondary);
  font-size: 1rem;
  margin-top: 10px;
  max-width: 560px;
  line-height: 1.7;
}

.section { padding: 96px 0; }
.section-alt { background: var(--bg-secondary); }

.section-head { margin-bottom: 52px; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 600;
  transition: all var(--ease);
  white-space: nowrap;
}

.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(210,38,48,.35);
}

.btn-ghost {
  border: 1px solid rgba(255,255,255,.3);
  color: var(--text-on-dark);
}
.btn-ghost:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.5);
}

.btn-ghost-dark {
  border: 1px solid var(--border-strong);
  color: var(--brand-blue);
}
.btn-ghost-dark:hover {
  background: var(--bg-secondary);
  border-color: var(--brand-blue);
}

/* ===== Scroll Animations ===== */
.anim {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
.anim.visible { opacity: 1; transform: translateY(0); }
.anim-delay-1 { transition-delay: .1s; }
.anim-delay-2 { transition-delay: .2s; }
.anim-delay-3 { transition-delay: .3s; }

/* ===== Navbar ===== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-height);
  background: var(--brand-blue);
  border-bottom: 1px solid rgba(0,0,0,.15);
}

.nav-inner {
  height: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.nav-logo-badge {
  width: 42px;
  height: 42px;
  background: var(--accent);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.02em;
}

.nav-logo-img {
  height: 50px;
  width: auto;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 0 4px rgba(255,255,255,.15));
}


.nav-logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.nav-logo-name { font-size: 0.95rem; font-weight: 700; color: #fff; }
.nav-logo-sub { font-size: 0.68rem; color: rgba(255,255,255,.6); font-weight: 400; }

.nav-links { display: flex; align-items: center; gap: 2px; }

.nav-link {
  padding: 8px 13px;
  border-radius: 6px;
  font-size: 0.83rem;
  font-weight: 500;
  color: rgba(255,255,255,.75);
  transition: all var(--ease);
  position: relative;
}

.nav-link:hover, .nav-link.active {
  color: #fff;
  background: rgba(255,255,255,.12);
}

.nav-admin-link { display: inline-flex; align-items: center; gap: 6px; }
.nav-drawer .nav-admin-link { color: var(--text-secondary); }

.nav-link.active::after {
  display: none;
}

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border-radius: 6px;
  transition: background var(--ease);
}
.nav-burger:hover { background: rgba(255,255,255,.1); }
.nav-burger span {
  display: block;
  width: 20px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all var(--ease);
}
.nav-burger.open span:nth-child(1) { transform: rotate(45deg) translate(4.5px, 4.5px); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: rotate(-45deg) translate(4.5px, -4.5px); }

.nav-drawer {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0; right: 0;
  background: var(--brand-blue-dark);
  border-bottom: 1px solid rgba(0,0,0,.2);
  padding: 12px 24px 24px;
  z-index: 99;
  flex-direction: column;
  gap: 2px;
}
.nav-drawer.open { display: flex; }
.nav-drawer .nav-link { padding: 12px 16px; font-size: 0.95rem; }

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: calc(100vh - var(--nav-height));
  display: flex;
  align-items: center;
  overflow: hidden;
}


.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(0,40,90,.90) 0%, rgba(0,28,64,.86) 50%, rgba(0,15,35,.92) 100%),
    url('https://fvcrweb.blob.core.windows.net/images/site/Innofreight%20-%20C%CC%8CDC.JPG') center / cover no-repeat;
}

.hero-grid-overlay {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image:
    linear-gradient(rgba(255,255,255,1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,1) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-glow {
  position: absolute;
  right: 10%;
  top: 50%;
  transform: translateY(-50%);
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(210,38,48,.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 80px 24px 96px;
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 100px;
  padding: 5px 14px;
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255,255,255,.75);
  letter-spacing: 0.06em;
  margin-bottom: 28px;
}

.hero-pill-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: blink 2.2s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.hero-title {
  font-size: clamp(2.75rem, 5.5vw, 4.5rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  max-width: 700px;
  margin-bottom: 20px;
  color: #fff;
}

.hero-title em {
  font-style: normal;
  color: var(--accent);
}

.hero-lead {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: rgba(255,255,255,.7);
  max-width: 520px;
  line-height: 1.75;
  margin-bottom: 40px;
}

.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 72px; }

.hero-stats {
  display: flex;
  gap: 40px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,.12);
}

.stat-num {
  font-size: 1.8rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}

.stat-lbl {
  font-size: 0.75rem;
  color: rgba(255,255,255,.55);
  margin-top: 4px;
}

/* ===== About ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-visual { position: relative; }

.about-img-wrap {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  height: clamp(240px, 40vw, 380px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-lg);
}

.about-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-img-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: var(--text-muted);
  font-size: 0.8rem;
  text-align: center;
  padding: 24px;
}

.about-float {
  position: absolute;
  right: -20px;
  bottom: -20px;
  background: var(--brand-blue);
  border-radius: var(--radius-lg);
  padding: 18px 22px;
  color: #fff;
  box-shadow: 0 8px 28px rgba(0,58,112,.35);
}

.about-float-num { font-size: 2.2rem; font-weight: 800; line-height: 1; }
.about-float-lbl { font-size: 0.75rem; opacity: 0.75; margin-top: 2px; }

.about-text p {
  color: var(--text-secondary);
  margin-bottom: 16px;
  line-height: 1.8;
}

.about-features { display: flex; flex-direction: column; gap: 10px; margin-top: 24px; }

.about-feat {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.feat-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

/* ===== Cards ===== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all var(--ease);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
}

.card:hover {
  border-color: var(--border-strong);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(0,58,112,.07);
  border: 1px solid rgba(0,58,112,.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-blue);
  margin-bottom: 16px;
}

.card-title { font-size: 1.05rem; font-weight: 600; margin-bottom: 8px; color: var(--text-primary); }
.card-text { font-size: 0.875rem; color: var(--text-secondary); flex: 1; line-height: 1.7; }

.card-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  transition: gap var(--ease);
}
.card-arrow:hover { gap: 10px; }

/* ===== News ===== */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.news-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--ease);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
}

.news-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.news-card-thumb {
  height: 160px;
  background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--surface-alt) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 2.5rem;
}

.news-card-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.news-card-date {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.news-card-title {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.news-card-excerpt {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.65;
  flex: 1;
}

.news-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  transition: gap var(--ease);
}
.news-card-link:hover { gap: 10px; }

.news-card-link::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
}

.news-card { cursor: pointer; }

/* ===== Contact strip ===== */
.contact-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.contact-tile {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  text-align: center;
  transition: all var(--ease);
  box-shadow: var(--shadow-sm);
}

.contact-tile:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.contact-tile-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(0,58,112,.07);
  border: 1px solid rgba(0,58,112,.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  color: var(--brand-blue);
}

.contact-tile-lbl {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.contact-tile-val {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-primary);
}

/* ===== Footer ===== */
.footer {
  background: var(--brand-blue);
  padding: 16px 0;
  border-top: 1px solid rgba(0,0,0,.15);
}

.footer-compact {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-logo .nav-logo-img {
  height: 42px;
}

/* Show org name text in footer (hidden in navbar) */
.footer .nav-logo-text { display: flex; }

.footer-nav-row {
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
  flex: 1;
}

.footer-link {
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 0.82rem;
  color: rgba(255,255,255,.62);
  transition: color var(--ease), background var(--ease);
  white-space: nowrap;
}
.footer-link:hover { color: #fff; background: rgba(255,255,255,.08); }

.footer-copy {
  font-size: 0.75rem;
  color: rgba(255,255,255,.38);
  white-space: nowrap;
  flex-shrink: 0;
}

/* ===== Page hero (sub-pages) ===== */
.page-hero {
  min-height: 300px;
  display: flex;
  align-items: center;
  padding: 64px 0;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(0,40,90,.85) 0%, rgba(0,28,64,.80) 50%, rgba(0,15,35,.88) 100%),
    url('https://fvcrweb.blob.core.windows.net/images/site/Innofreight%20-%20C%CC%8CDC.JPG') center 55% / cover no-repeat;
}

/* Stejná mřížka jako homepage */
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.035;
  background-image:
    linear-gradient(rgba(255,255,255,1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,1) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

/* Červený akcentní proužek dole */
.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100px;
  height: 3px;
  background: var(--accent);
}

.page-hero .container {
  position: relative;
  z-index: 1;
  width: 100%;
}

.page-hero .tag,
.page-hero-title,
.page-hero-sub {
  max-width: 640px;
}

.page-hero .tag {
  color: var(--accent);
  letter-spacing: 0.14em;
}

.page-hero-title {
  font-size: clamp(1.9rem, 3.5vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: #fff;
  margin-top: 6px;
  margin-bottom: 10px;
}

.page-hero-sub {
  color: rgba(255,255,255,.65);
  font-size: 1rem;
  max-width: 560px;
  line-height: 1.7;
}

/* ===== Timeline ===== */
.timeline { position: relative; padding-left: 36px; }

/* Šedá linka – left: 13px → 2px wide → střed na 14px od levého okraje .timeline */
.timeline::before {
  content: '';
  position: absolute;
  left: 13px;
  top: 31px;
  bottom: 0;
  width: 2px;
  background: var(--border);
  z-index: 0;
}

.timeline::after {
  content: '';
  position: absolute;
  left: 13px;
  top: 31px;
  width: 2px;
  height: var(--tl-progress, 0px);
  background: var(--accent);
  z-index: 1;
  transition: height 0.12s ease-out;
}

.tl-item {
  position: relative;
  padding-bottom: 40px;
}
.tl-item:last-child { padding-bottom: 0; }

.tl-card {
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-left: 3px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 22px 26px;
  box-shadow: 0 2px 12px rgba(0,58,112,.08), 0 1px 3px rgba(0,58,112,.06);
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
}
.tl-item.reached .tl-card {
  border-left-color: var(--accent);
  box-shadow: 0 4px 20px rgba(0,58,112,.12), 0 1px 4px rgba(0,58,112,.08);
}

.tl-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.tl-icon {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  background: rgba(0,58,112,.07);
  border: 1px solid rgba(0,58,112,.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-blue);
  flex-shrink: 0;
}
.tl-item.reached .tl-icon {
  background: rgba(210,38,48,.08);
  border-color: rgba(210,38,48,.18);
  color: var(--accent);
}

.tl-year-badge {
  display: inline-block;
  background: rgba(0,58,112,.06);
  border: 1px solid rgba(0,58,112,.12);
  color: var(--brand-blue);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 100px;
  transition: background 0.4s ease, color 0.4s ease, border-color 0.4s ease;
}
.tl-item.reached .tl-year-badge {
  background: rgba(210,38,48,.08);
  border-color: rgba(210,38,48,.18);
  color: var(--accent);
}

.tl-dot {
  position: absolute;
  left: -31px;
  top: 22px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  /* bílý střed = maskuje linku uvnitř kolečka → linka vizuálně dojede jen k okraji */
  background: var(--bg-primary);
  border: 2px solid var(--text-muted);
  z-index: 2;
  transform: scale(0.65);
  transition:
    background 0.3s ease,
    border-color 0.3s ease,
    border-width 0.3s ease,
    box-shadow 0.3s ease,
    transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Po aktivaci: naplní se červeně, bílý prstenec oddělí střed od vnějšího kroužku, vyskočí */
.tl-dot.reached {
  background: var(--accent);
  border: 4px solid var(--bg-primary);
  box-shadow: 0 0 0 2px var(--accent);
  transform: scale(1);
}

.tl-year {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.tl-title { font-size: 1.05rem; font-weight: 600; margin-bottom: 6px; color: var(--text-primary); }
.tl-text { font-size: 0.875rem; color: var(--text-secondary); line-height: 1.7; }

/* ===== Gallery ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
}

.gallery-item {
  aspect-ratio: 4/3;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: all var(--ease);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.78rem;
  text-align: center;
  padding: 12px;
  position: relative;
}

.gallery-item img,
.news-card-thumb img,
.about-img-wrap img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.04) saturate(1.06);
}

.news-card-thumb img,
.about-img-wrap img {
  position: static;
}

.gallery-item:hover {
  border-color: var(--border-strong);
  transform: scale(1.02);
  box-shadow: var(--shadow);
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(0deg, rgba(0,0,0,.75) 0%, transparent 100%);
  color: #fff;
  font-size: 0.72rem;
  padding: 28px 10px 10px;
  opacity: 0;
  transition: opacity var(--ease);
  z-index: 1;
  text-align: left;
  line-height: 1.3;
}

.gallery-item:hover .gallery-caption { opacity: 1; }

/* ===== Downloads ===== */
.dl-list { display: flex; flex-direction: column; gap: 10px; }

.dl-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 22px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: all var(--ease);
  box-shadow: var(--shadow-sm);
}

.dl-item:hover { border-color: var(--border-strong); box-shadow: var(--shadow); }

.dl-icon {
  width: 42px;
  height: 42px;
  border-radius: 9px;
  background: rgba(0,58,112,.07);
  border: 1px solid rgba(0,58,112,.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-blue);
  flex-shrink: 0;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.dl-info { flex: 1; }
.dl-name { font-size: 0.9rem; font-weight: 600; margin-bottom: 2px; color: var(--text-primary); }
.dl-meta { font-size: 0.75rem; color: var(--text-muted); }

.dl-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: rgba(0,58,112,.06);
  border: 1px solid rgba(0,58,112,.15);
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--brand-blue);
  transition: all var(--ease);
  white-space: nowrap;
  flex-shrink: 0;
}
.dl-btn:hover { background: var(--brand-blue); color: #fff; border-color: var(--brand-blue); }

/* ===== Events ===== */
.events-list { display: flex; flex-direction: column; gap: 14px; }

.event-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: all var(--ease);
  box-shadow: var(--shadow-sm);
}

.event-card:hover { border-color: var(--border-strong); box-shadow: var(--shadow); }

.event-date-box {
  background: rgba(0,58,112,.07);
  border: 1px solid rgba(0,58,112,.12);
  border-radius: var(--radius);
  padding: 10px 14px;
  text-align: center;
  flex-shrink: 0;
  min-width: 58px;
}

.event-day { font-size: 1.6rem; font-weight: 800; color: var(--brand-blue); line-height: 1; }
.event-mon { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); margin-top: 2px; }

.event-title { font-size: 1rem; font-weight: 600; margin-bottom: 6px; color: var(--text-primary); }

.event-meta { display: flex; flex-wrap: wrap; gap: 16px; }

.event-meta-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ===== Contact page ===== */
.contact-page-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.contact-info-list { display: flex; flex-direction: column; gap: 20px; }

.ci-item { display: flex; gap: 14px; align-items: flex-start; }

.ci-icon {
  width: 42px;
  height: 42px;
  border-radius: 9px;
  background: rgba(0,58,112,.07);
  border: 1px solid rgba(0,58,112,.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-blue);
  flex-shrink: 0;
}

.ci-lbl {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 3px;
}

.ci-val {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-primary);
}

.map-placeholder {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  height: 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--text-muted);
  font-size: 0.85rem;
  text-align: center;
}

.map-embed {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  line-height: 0;
}

.map-link {
  display: inline-block;
  margin-top: 10px;
  font-size: 0.8rem;
  color: var(--text-secondary);
}
.map-link:hover { color: var(--accent); }

/* ===== Responsive ===== */

/* --- Tablet (landscape + portrait) --- */
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-visual { max-width: 100%; }
  .about-float { right: 12px; bottom: -14px; }

  .news-grid { grid-template-columns: 1fr 1fr; }

  .contact-strip { grid-template-columns: 1fr 1fr; }
  .contact-page-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* --- Tablet portrait / velké telefony --- */
@media (max-width: 768px) {
  .section { padding: 56px 0; }
  .page-hero { min-height: 220px; padding: 48px 0; }
  .section-head { margin-bottom: 36px; }

  /* Navigace */
  .nav-links { display: none; }
  .nav-burger { display: flex; }

  /* Hero */
  .hero { min-height: auto; }
  .hero-content { padding: 52px 24px 64px; }
  .hero-stats { gap: 24px; }

  /* Gridy */
  .about-grid { gap: 32px; }
  .cards-grid { grid-template-columns: 1fr 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .contact-strip { grid-template-columns: 1fr; max-width: 420px; }

  /* Galerie */
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }

  /* Události */
  .event-card { flex-direction: column; gap: 12px; }

  /* Footer */
  .footer { padding: 18px 0; }
  .footer-compact { gap: 14px; }
  .footer-nav-row { gap: 0; }
  .footer-copy { font-size: 0.72rem; }
}

/* --- Telefony --- */
@media (max-width: 600px) {
  .section { padding: 48px 0; }
  .page-hero { min-height: 180px; padding: 36px 0; }

  /* Hero */
  .hero-content { padding: 44px 20px 56px; }
  .hero-pill { font-size: 0.7rem; }
  .hero-lead { font-size: 1rem; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { justify-content: center; text-align: center; }
  .hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    padding-top: 28px;
  }
  .stat-num { font-size: 1.5rem; }
  .stat-lbl { font-size: 0.68rem; }

  /* O nás – plovoucí karta */
  .about-float { right: 0; bottom: -10px; padding: 14px 18px; }
  .about-float-num { font-size: 1.75rem; }

  /* Karty – 1 sloupec */
  .cards-grid { grid-template-columns: 1fr; }

  /* Stažení – tlačítko pod info */
  .dl-item { flex-wrap: wrap; }
  .dl-btn { width: 100%; justify-content: center; margin-top: 4px; }

  /* Galerie – 2 sloupce */
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }

  /* Footer – vertikálně */
  .footer-compact { flex-direction: column; align-items: flex-start; gap: 12px; }
  .footer-copy { margin-top: 2px; }
}

/* --- Malé telefony (≤ 400px) --- */
@media (max-width: 400px) {
  .container { padding: 0 14px; }
  .section { padding: 40px 0; }

  .hero-stats { grid-template-columns: 1fr 1fr; }
  .stat-num { font-size: 1.4rem; }

  .cards-grid { gap: 12px; }
  .news-grid { gap: 12px; }

  .gallery-grid { grid-template-columns: 1fr; }

  .about-float { display: none; }

  .btn { padding: 11px 18px; font-size: 0.85rem; }

  .page-hero-title { font-size: 1.7rem; }
}
