/* ============================================================
   CZECH & SLOVAK UNION — HSG St. Gallen
   Main Stylesheet
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,500;0,600;0,700;1,500;1,600&family=Inter:wght@300;400;500;600;700&display=swap');

/* ---- Variables ---- */
:root {
  --navy:        #0a1830;
  --navy-2:      #0f2140;
  --navy-3:      #17325c;
  --bg:          #081527;
  --bg-2:        #0d1d38;
  --bg-3:        #142c50;
  --bg-card:     #0f2140;
  --blue:        #2856a3;
  --blue-light:  #5b8ad1;
  --blue-glow:   rgba(40, 86, 163, 0.32);
  --red:         #c8202f;
  --red-light:   #e2596a;
  --red-glow:    rgba(200, 32, 47, 0.28);
  --cream:       #e8dcc0;
  --cream-light: #f3e9d2;
  --cream-glow:  rgba(232, 220, 192, 0.2);
  --white:       #f4f6fb;
  --gray:        #63739a;
  --gray-light:  #a6b3d0;
  --border:      rgba(120, 150, 200, 0.16);
  --border-cream:rgba(232, 220, 192, 0.22);
  --font-h:      'Playfair Display', 'Georgia', serif;
  --font-b:      'Inter', sans-serif;
  --nav-h:       76px;
  --t:           0.3s ease;
  --radius:      10px;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-b); background: var(--bg); color: var(--white); overflow-x: hidden; line-height: 1.65; }
img  { max-width: 100%; display: block; }
a    { color: inherit; text-decoration: none; }
ul   { list-style: none; }
button { cursor: pointer; font-family: inherit; }

/* ---- Top Notice (site in preparation) ---- */
.top-notice {
  position: fixed; top: 0; left: 0; right: 0; z-index: 10001;
  display: flex; align-items: center; justify-content: center; gap: 1rem;
  padding: 1.5rem 2rem; text-align: center;
  background: var(--navy-2); border-bottom: 2px solid var(--red);
}
.top-notice .notice-icon { font-size: 2rem; flex-shrink: 0; }
.top-notice p {
  margin: 0; font-size: 1.15rem; line-height: 1.5;
  color: var(--cream-light); letter-spacing: 0.01em;
}
.top-notice strong { color: var(--white); }
@media (max-width: 768px) {
  .top-notice { padding: 1.1rem 1.25rem; gap: 0.6rem; }
  .top-notice .notice-icon { font-size: 1.4rem; }
  .top-notice p { font-size: 0.85rem; line-height: 1.45; }
}
/* ---- Navigation ---- */
.nav {
  position: fixed; top: var(--notice-h, 0px); left: 0; right: 0; z-index: 10000;
  height: var(--nav-h);
  display: flex; align-items: center;
  padding: 0 2rem;
  background: rgba(250, 248, 242, 0.94);
  backdrop-filter: blur(14px) saturate(1.3);
  border-bottom: 1px solid rgba(10, 24, 48, 0.08);
  transition: background var(--t), box-shadow var(--t);
}
.nav.scrolled {
  background: rgba(250, 248, 242, 0.99);
  box-shadow: 0 4px 24px rgba(10, 24, 48, 0.08);
}
.nav-logo {
  display: flex; align-items: center; gap: 0.75rem; flex-shrink: 0;
}
.nav-logo img   { height: 44px; width: auto; }
.nav-logo-text  {
  font-family: var(--font-h); font-size: 1.2rem; font-weight: 600;
  letter-spacing: 0.03em; line-height: 1.1;
  color: var(--navy);
  white-space: nowrap;
  flex: none;
}
.nav-logo-text span { color: var(--blue); display: block; font-size: 0.62rem; letter-spacing: 0.28em; font-family: var(--font-b); font-weight: 600; text-transform: uppercase; margin-top: 0.2rem; }

.nav-links {
  display: flex; align-items: center; gap: 0.15rem; margin-left: auto;
}
.nav-link {
  font-family: var(--font-b); font-size: 0.85rem; font-weight: 500;
  letter-spacing: 0.04em;
  padding: 0.5rem 0.9rem; border-radius: 6px;
  color: var(--navy-3);
  transition: color var(--t), background var(--t);
  white-space: nowrap;
}
.nav-link:hover, .nav-link.active {
  color: var(--blue); background: rgba(40, 86, 163, 0.1);
}
.nav-cta {
  font-family: var(--font-b); font-size: 0.85rem; font-weight: 600;
  letter-spacing: 0.04em;
  padding: 0.55rem 1.25rem; border-radius: 6px; margin-left: 0.65rem;
  background: var(--red); color: var(--white);
  border: 1.5px solid var(--red);
  transition: all var(--t);
  white-space: nowrap;
}
.nav-cta:hover { background: var(--red-light); border-color: var(--red-light); transform: translateY(-1px); }

.nav-mobile-header { display: none; }
.nav-toggle {
  display: none; flex-direction: column; gap: 5px; margin-left: auto; padding: 4px;
  background: none; border: none;
}
.nav-toggle span {
  width: 24px; height: 2px; background: var(--navy);
  border-radius: 2px; transition: var(--t);
  display: block;
}
.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ---- Ticker ---- */
.ticker-wrap {
  background: var(--navy-2);
  padding: 0.6rem 0; overflow: hidden; white-space: nowrap;
  border-bottom: 1px solid var(--border);
}
.ticker {
  display: inline-flex; gap: 0;
  width: max-content;
  animation: tickerScroll 24s linear infinite;
}
.ticker-item {
  font-family: var(--font-h); font-style: italic; font-size: 0.82rem; letter-spacing: 0.03em;
  color: var(--cream-light);
  padding: 0 2.75rem;
  position: relative;
}
.ticker-item::after {
  content: '\2022'; position: absolute; right: -1.5rem; color: var(--red-light); font-style: normal;
}
@keyframes tickerScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ---- Hero ---- */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  padding-top: var(--nav-h); overflow: hidden;
}
.hero-bg-fallback {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 30%, #16305a 0%, #081527 62%),
              linear-gradient(160deg, #0d2140 0%, #061020 100%);
  z-index: 0;
}
.hero-watermark {
  position: absolute; left: 50%; top: 46%; transform: translate(-50%, -50%);
  width: min(1400px, 165vw);
  opacity: 0.1;
  z-index: 0;
  filter: saturate(0.6) brightness(1.6);
  pointer-events: none;
}
.hero-grid-overlay {
  position: absolute; inset: 0; z-index: 1;
  background-image:
    linear-gradient(rgba(91,138,209,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(91,138,209,0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 50% 40%, black 30%, transparent 75%);
}
.hero-vignette {
  position: absolute; inset: 0; z-index: 2;
  background: radial-gradient(ellipse at center, transparent 38%, rgba(8,21,39,0.9) 100%);
}
.hero-bottom-fade {
  position: absolute; bottom: 0; left: 0; right: 0; height: 30%; z-index: 3;
  background: linear-gradient(to bottom, transparent, var(--bg));
}

/* Hero background photo + waving flag color-tint overlay */
.hero-photo { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero-photo img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 62%;
  filter: brightness(0.66) saturate(1.05);
}
.hero-flag-tint {
  position: absolute; inset: 0; z-index: 2;
  mix-blend-mode: multiply; opacity: 0.68;
  pointer-events: none;
}
.hero-flag-tint svg { width: 100%; height: 100%; display: block; filter: url(#flagWave); }
.hero-credit {
  position: absolute; bottom: 0.7rem; right: 1rem; z-index: 6;
  font-size: 0.62rem; color: rgba(255,255,255,0.62); font-family: var(--font-b);
}
.hero-credit a { color: rgba(255,255,255,0.85); text-decoration: underline; }

/* Flags (legacy floating flag layout, kept for reuse) */
.hero-flags {
  position: absolute; left: 50%; top: 50%; z-index: 3;
  width: min(920px, 92vw);
  transform: translate(-50%, -58%);
  display: flex; align-items: flex-end; justify-content: center;
  pointer-events: none;
  filter: drop-shadow(0 30px 60px rgba(0,0,0,0.45));
}
.flag-wrap {
  width: 46%; max-width: 380px;
  animation: flagFloat 6s ease-in-out infinite;
}
.flag-wrap.flag-cz { margin-right: -6%; transform: rotate(-3deg); animation-delay: 0s; }
.flag-wrap.flag-sk { margin-left: -6%; transform: rotate(3deg); animation-delay: -3s; z-index: 1; }
.flag-wrap svg { width: 100%; height: auto; display: block; }
.flag-wave { filter: url(#flagWave); }
@keyframes flagFloat {
  0%, 100% { translate: 0 0; }
  50%      { translate: 0 -10px; }
}

.hero-content {
  position: relative; z-index: 4; text-align: center;
  max-width: 880px; padding: 2rem;
}
.hero-eyebrow {
  font-family: var(--font-b); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.34em;
  text-transform: uppercase; color: var(--cream-light); margin-bottom: 1.15rem;
  opacity: 0; animation: fadeUp 0.8s 0.3s ease forwards;
}
.hero-title {
  font-family: var(--font-h);
  font-size: clamp(2.6rem, 6.2vw, 4.6rem);
  font-weight: 700; line-height: 1.05; letter-spacing: 0;
  margin-bottom: 1.25rem;
  opacity: 0; animation: fadeUp 0.9s 0.5s ease forwards;
}
.hero-title .accent { color: var(--red-light); font-style: italic; }
.hero-sub {
  font-size: clamp(0.95rem, 1.6vw, 1.1rem); font-weight: 300;
  color: var(--gray-light); max-width: 560px; margin: 0 auto 2.5rem;
  opacity: 0; animation: fadeUp 0.8s 0.7s ease forwards;
}
.hero-ctas {
  display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap;
  opacity: 0; animation: fadeUp 0.8s 0.9s ease forwards;
}
.hero-scroll {
  position: absolute; bottom: 1.25rem; left: 50%; transform: translateX(-50%);
  z-index: 4; display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  color: var(--gray); font-size: 0.65rem; letter-spacing: 0.2em; text-transform: uppercase;
  opacity: 0; animation: fadeIn 1s 1.8s ease forwards;
}
.hero-scroll .arrow {
  width: 18px; height: 18px;
  border-right: 2px solid var(--gray); border-bottom: 2px solid var(--gray);
  transform: rotate(45deg);
  animation: arrowBounce 1.5s infinite;
}
@keyframes arrowBounce {
  0%,100% { transform: rotate(45deg) translateY(0); }
  50%      { transform: rotate(45deg) translateY(5px); }
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-b); font-size: 0.9rem; font-weight: 600;
  letter-spacing: 0.03em;
  padding: 0.85rem 1.9rem; border-radius: var(--radius);
  border: 1.5px solid transparent;
  transition: all var(--t);
}
.btn-primary {
  background: var(--blue); color: var(--white); border-color: var(--blue);
}
.btn-primary:hover {
  background: var(--blue-light); border-color: var(--blue-light);
  transform: translateY(-2px); box-shadow: 0 10px 30px var(--blue-glow);
}
.btn-outline {
  background: transparent; color: var(--cream-light); border-color: var(--border-cream);
}
.btn-outline:hover {
  background: rgba(232,220,192,0.08); border-color: var(--cream-light);
  transform: translateY(-2px); box-shadow: 0 10px 30px var(--cream-glow);
}
.btn-red {
  background: var(--red); color: var(--white); border-color: var(--red);
}
.btn-red:hover {
  background: var(--red-light); border-color: var(--red-light);
  transform: translateY(-2px); box-shadow: 0 10px 30px var(--red-glow);
}

/* ---- Stats section ---- */
.stats-section {
  padding: 4rem 2rem;
  background: var(--bg-2);
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  max-width: 900px; margin: 0 auto;
  text-align: center;
}
.stat-item {
  padding: 1.5rem 1rem;
  border-right: 1px solid var(--border);
}
.stat-item:last-child { border-right: none; }
.stat-number {
  font-family: var(--font-h);
  font-size: clamp(2.2rem, 4.4vw, 3.4rem);
  font-weight: 700; color: var(--cream-light); line-height: 1; margin-bottom: 0.4rem;
}
.stat-label {
  font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gray);
}

/* ---- Section commons ---- */
.section { padding: 5.5rem 2rem; }
.section-inner { max-width: 1200px; margin: 0 auto; }
.section-label {
  font-family: var(--font-b); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.3em;
  text-transform: uppercase; color: var(--blue-light); margin-bottom: 0.7rem;
}
.section-title {
  font-family: var(--font-h); font-size: clamp(1.9rem, 3.6vw, 2.7rem);
  font-weight: 700; line-height: 1.15; margin-bottom: 0.9rem;
}
.section-title .accent { color: var(--red-light); font-style: italic; }
.section-title .cream { color: var(--cream-light); font-style: italic; }
.section-desc { font-size: 0.98rem; color: var(--gray-light); max-width: 580px; margin-bottom: 3rem; }
.section-header-row {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 2rem; margin-bottom: 3rem; flex-wrap: wrap;
}
.section-header-row .section-desc { margin-bottom: 0; }

/* ---- Event cards (home teaser) ---- */
.event-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
}
.event-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: 14px;
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform var(--t), border-color var(--t), box-shadow var(--t);
}
.event-card:hover {
  transform: translateY(-5px); border-color: var(--blue);
  box-shadow: 0 16px 48px rgba(40,86,163,0.2);
}
.event-img-wrap {
  height: 150px; overflow: hidden; position: relative;
  background: linear-gradient(135deg, var(--navy-3), var(--bg-3));
  display: flex; align-items: center; justify-content: center;
}
.event-img-placeholder { font-size: 3rem; opacity: 0.85; }
.event-tag {
  position: absolute; top: 0.85rem; left: 0.85rem;
  background: var(--red); color: var(--white);
  font-family: var(--font-b); font-size: 0.62rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.22rem 0.6rem; border-radius: 4px;
}
.event-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.event-date { font-size: 0.72rem; color: var(--gray); letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 0.5rem; }
.event-title { font-family: var(--font-h); font-size: 1.15rem; font-weight: 700; margin-bottom: 0.7rem; line-height: 1.3; }
.event-excerpt { font-size: 0.875rem; color: var(--gray-light); line-height: 1.65; flex: 1; margin-bottom: 1.25rem; }
.event-read-more {
  font-family: var(--font-b); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.04em;
  color: var(--blue-light); display: inline-flex; align-items: center; gap: 0.4rem;
  transition: gap var(--t), color var(--t);
}
.event-read-more:hover { gap: 0.75rem; color: var(--cream-light); }

/* ---- Highlight / quote band ---- */
.highlight-band {
  background: linear-gradient(135deg, var(--navy-2) 0%, #0a1b34 100%);
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  padding: 4.5rem 2rem; text-align: center;
}
.highlight-band .inner { max-width: 760px; margin: 0 auto; }
.highlight-band .big-quote {
  font-family: var(--font-h); font-size: clamp(1.5rem, 3.2vw, 2.3rem);
  font-weight: 500; line-height: 1.4; font-style: italic;
  color: var(--white); margin-bottom: 1.15rem;
}
.highlight-band .big-quote .mark { color: var(--cream-light); }
.highlight-band .attribution {
  font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gray);
}

/* ---- Page hero ---- */
.page-hero {
  padding: calc(var(--nav-h) + var(--notice-h, 0px) + 3.5rem) 2rem 3.5rem;
  background: var(--bg-2);
  border-bottom: 1px solid var(--border);
  text-align: center; position: relative; overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% -10%, rgba(40,86,163,0.2) 0%, transparent 65%);
}
.page-hero .inner { position: relative; z-index: 1; }
.page-hero-label {
  font-family: var(--font-b); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.32em;
  text-transform: uppercase; color: var(--blue-light); margin-bottom: 0.85rem;
}
.page-hero-title {
  font-family: var(--font-h);
  font-size: clamp(2.2rem, 5.6vw, 4rem);
  font-weight: 700; line-height: 1.1;
  margin-bottom: 1.25rem;
}
.page-hero-title .accent { color: var(--red-light); font-style: italic; }
.page-hero-sub { font-size: 1rem; color: var(--gray-light); max-width: 580px; margin: 0 auto; }

/* ---- Split grid / About ---- */
.split-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center;
}
.split-grid.reverse { direction: rtl; }
.split-grid.reverse > * { direction: ltr; }
.about-img-wrap {
  border-radius: 16px; overflow: hidden;
  border: 1px solid var(--border); position: relative;
  aspect-ratio: 4/3;
  background: linear-gradient(150deg, var(--navy-3), var(--bg-3));
  display: flex; align-items: center; justify-content: center;
  padding: 2.5rem;
}
.about-img-wrap img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 12px 30px rgba(0,0,0,0.35)); }
.about-img-wrap.on-white { background: #ffffff; }
.about-img-wrap.on-white img { filter: none; }
.about-img-badge {
  position: absolute; bottom: 1rem; left: 1rem;
  background: rgba(8,21,39,0.88); backdrop-filter: blur(10px);
  border: 1px solid var(--border); border-radius: 8px;
  padding: 0.6rem 0.9rem;
  font-family: var(--font-b); font-size: 0.74rem; font-weight: 600; letter-spacing: 0.04em;
  color: var(--cream-light);
}
.about-text h2 {
  font-family: var(--font-h); font-size: clamp(1.7rem, 3vw, 2.35rem); font-weight: 700;
  line-height: 1.2; margin-bottom: 1.25rem;
}
.about-text h2 .accent { color: var(--red-light); font-style: italic; }
.about-text p {
  font-size: 0.95rem; color: var(--gray-light); line-height: 1.8; margin-bottom: 1rem;
}

/* ---- Info / highlight card ---- */
.info-card {
  background: var(--bg-card);
  border: 1px solid var(--border); border-left: 4px solid var(--cream-light);
  border-radius: 14px; padding: 2.25rem;
  display: flex; gap: 1.75rem; align-items: flex-start;
}
.info-icon { font-size: 3rem; flex-shrink: 0; line-height: 1; }
.info-card h3 {
  font-family: var(--font-h); font-size: 1.4rem; font-weight: 700; margin-bottom: 0.75rem;
}
.info-card p { font-size: 0.93rem; color: var(--gray-light); line-height: 1.75; }

/* ---- Timeline ---- */
.timeline {
  padding-left: 2rem; position: relative;
}
.timeline::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--blue), var(--red), transparent);
}
.tl-item { position: relative; padding-bottom: 2.25rem; }
.tl-item::before {
  content: ''; position: absolute; left: -2.45rem; top: 0.35rem;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--cream-light); border: 2px solid var(--bg);
}
.tl-year {
  font-family: var(--font-b); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--cream-light); margin-bottom: 0.25rem;
}
.tl-text { font-size: 0.9rem; color: var(--gray-light); line-height: 1.65; }

/* ---- Values grid ---- */
.value-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: 14px;
  padding: 2rem; text-align: center;
  transition: transform var(--t), border-color var(--t);
}
.value-card:hover { transform: translateY(-4px); border-color: var(--blue); }
.value-icon { font-size: 2.4rem; margin-bottom: 1rem; }
.value-card h3 { font-family: var(--font-h); font-size: 1.08rem; font-weight: 700; margin-bottom: 0.6rem; }
.value-card p { font-size: 0.86rem; color: var(--gray-light); line-height: 1.65; }

/* ---- Board / roster ---- */
.board-tabs { display: flex; gap: 0.5rem; margin-bottom: 1.75rem; flex-wrap: wrap; }
.tab-btn {
  font-family: var(--font-b); font-size: 0.82rem; font-weight: 600;
  letter-spacing: 0.03em;
  padding: 0.55rem 1.2rem; border-radius: 6px;
  border: 1px solid var(--border); background: transparent; color: var(--gray-light);
  transition: all var(--t);
}
.tab-btn:hover { border-color: var(--blue); color: var(--white); }
.tab-btn.active { background: var(--blue); border-color: var(--blue); color: var(--white); }

.season-picker { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 2.25rem; flex-wrap: wrap; }
.season-picker-label {
  font-family: var(--font-b); font-size: 0.7rem; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--gray); margin-right: 0.25rem;
}
.season-btn {
  font-family: var(--font-b); font-size: 0.82rem; font-weight: 600;
  letter-spacing: 0.02em; padding: 0.4rem 0.95rem; border-radius: 6px;
  border: 1px solid var(--border); background: transparent; color: var(--gray-light);
  transition: all var(--t);
}
.season-btn:hover { border-color: var(--blue); color: var(--white); }
.season-btn.active { background: var(--bg-card); border-color: var(--cream-light); color: var(--cream-light); }

.board-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 1.4rem;
}
.board-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: 14px;
  padding: 2rem 1.6rem; text-align: center;
  transition: transform var(--t), border-color var(--t), box-shadow var(--t);
}
.board-card:hover {
  transform: translateY(-5px); border-color: var(--blue);
  box-shadow: 0 12px 36px rgba(40,86,163,0.2);
}
.board-avatar {
  width: 78px; height: 78px; border-radius: 50%;
  background: linear-gradient(150deg, var(--navy-3), var(--bg-3));
  border: 2px solid var(--border);
  margin: 0 auto 1.1rem;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.9rem; overflow: hidden;
}
.board-name {
  font-family: var(--font-h); font-size: 1.12rem; font-weight: 700; margin-bottom: 0.3rem;
}
.board-role {
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--blue-light); margin-bottom: 0.4rem;
}
.board-program {
  font-size: 0.72rem; color: var(--gray); margin-bottom: 0.85rem;
}
.board-badge {
  display: inline-block;
  background: rgba(232,220,192,0.1); color: var(--cream-light);
  border: 1px solid var(--border-cream);
  font-family: var(--font-b); font-size: 0.64rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 0.16rem 0.6rem; border-radius: 4px; margin-bottom: 0.85rem;
}
.board-quote {
  font-size: 0.82rem; color: var(--gray-light); font-style: italic; line-height: 1.55;
  font-family: var(--font-h);
}

/* ---- Calendar / Events ---- */
.cal-filter-row { display: flex; gap: 0.5rem; margin-bottom: 2rem; flex-wrap: wrap; }
.cal-filter-btn {
  font-family: var(--font-b); font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.03em;
  padding: 0.5rem 1.1rem; border-radius: 6px;
  border: 1px solid var(--border); background: transparent; color: var(--gray-light);
  transition: all var(--t);
}
.cal-filter-btn:hover { border-color: var(--blue); color: var(--white); }
.cal-filter-btn.active { background: var(--blue); border-color: var(--blue); color: var(--white); }

.cal-table-wrap {
  border: 1px solid var(--border); border-radius: 14px; overflow: hidden;
}
.cal-header {
  display: grid; grid-template-columns: 120px 70px 1fr 190px 110px;
  gap: 1rem; padding: 0.9rem 1.5rem;
  background: var(--bg-3);
  font-family: var(--font-b); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--gray);
  border-bottom: 1px solid var(--border);
}
.cal-row {
  display: grid; grid-template-columns: 120px 70px 1fr 190px 110px;
  gap: 1rem; padding: 1.1rem 1.5rem;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  align-items: center; transition: background var(--t);
}
.cal-row:last-child { border-bottom: none; }
.cal-row:hover { background: var(--bg-3); }
.cal-row.upcoming-row { border-left: 3px solid var(--cream-light); }
.cal-date { font-size: 0.87rem; color: var(--white); font-weight: 600; }
.cal-time { font-size: 0.83rem; color: var(--gray-light); }
.cal-event { font-family: var(--font-h); font-size: 1rem; font-weight: 700; }
.cal-event-tag { font-size: 0.78rem; color: var(--gray-light); font-family: var(--font-b); font-weight: 400; display: block; margin-top: 0.15rem; }
.cal-venue { font-size: 0.82rem; color: var(--gray-light); }
.cal-status {
  display: inline-block; font-family: var(--font-b); font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase; padding: 0.24rem 0.6rem; border-radius: 4px;
}
.status-upcoming { background: rgba(91,138,209,0.16); color: var(--blue-light); }
.status-past { background: rgba(255,255,255,0.05); color: var(--gray); }
.status-flagship { background: rgba(232,220,192,0.14); color: var(--cream-light); }

/* ---- Forms ---- */
.form-group { margin-bottom: 1.25rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.form-label {
  display: block; font-family: var(--font-b); font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--gray-light);
  margin-bottom: 0.45rem;
}
.form-control {
  width: 100%; background: var(--bg-3); border: 1px solid var(--border);
  border-radius: var(--radius); color: var(--white); font-family: var(--font-b);
  font-size: 0.93rem; padding: 0.75rem 1rem; outline: none;
  transition: border-color var(--t), box-shadow var(--t);
}
.form-control:focus { border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-glow); }
.form-control::placeholder { color: var(--gray); }
select.form-control {
  appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='7'%3E%3Cpath d='M5 7L0 0h10z' fill='%2363739a'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center;
  padding-right: 2.5rem;
}
textarea.form-control { min-height: 120px; resize: vertical; }
.form-check {
  display: flex; align-items: flex-start; gap: 0.75rem; margin-top: 0.75rem;
}
.form-check input { margin-top: 3px; accent-color: var(--blue); flex-shrink: 0; }
.form-check label { font-size: 0.875rem; color: var(--gray-light); line-height: 1.5; }

.form-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px; padding: 2.5rem;
}

.contact-block {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px;
  padding: 1.5rem;
}
.contact-block h4 {
  font-family: var(--font-b); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--gray); margin-bottom: 0.85rem;
}
.contact-item {
  display: flex; align-items: center; gap: 0.65rem;
  font-size: 0.9rem; color: var(--gray-light); margin-bottom: 0.6rem;
}
.contact-item:last-child { margin-bottom: 0; }
.contact-icon { font-size: 1rem; flex-shrink: 0; }

/* ---- Success message ---- */
#success-msg, #shop-success {
  display: none; text-align: center; padding: 4rem 2rem;
  opacity: 0; transition: opacity 0.5s ease;
}
#success-msg.show, #shop-success.show { display: block; opacity: 1; }
.success-icon { font-size: 3.5rem; margin-bottom: 1rem; display: block; }
.success-msg-inner h3 {
  font-family: var(--font-h); font-size: 1.9rem; font-weight: 700; margin-bottom: 0.5rem;
}
.success-msg-inner p { color: var(--gray-light); font-size: 0.95rem; }

/* ---- Shop / products ---- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}
.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  transition: transform var(--t), border-color var(--t), box-shadow var(--t);
}
.product-card:hover {
  transform: translateY(-6px);
  border-color: var(--blue);
  box-shadow: 0 20px 60px rgba(40,86,163,0.22);
}
.product-img-wrap {
  background: #eee7d8;
  display: flex; align-items: center; justify-content: center;
  position: relative;
  min-height: 320px;
  overflow: hidden;
}
.product-img-wrap img {
  width: 100%; height: 340px;
  object-fit: cover; display: block;
  transition: transform 0.5s ease;
}
.product-card:hover .product-img-wrap img { transform: scale(1.04); }
.product-badge {
  position: absolute; top: 1.25rem; right: 1.25rem;
  background: var(--cream-light); color: var(--navy);
  font-family: var(--font-b); font-size: 0.63rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.3rem 0.75rem; border-radius: 20px;
}
.product-body { padding: 2rem; }
.product-name { font-family: var(--font-h); font-size: 1.45rem; font-weight: 700; margin-bottom: 0.3rem; }
.product-tag { font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue-light); margin-bottom: 1rem; }
.product-desc { font-size: 0.9rem; color: var(--gray-light); line-height: 1.7; margin-bottom: 1.25rem; }
.product-details { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.5rem; }
.product-detail-chip {
  background: var(--bg-3); border: 1px solid var(--border); border-radius: 20px;
  font-size: 0.75rem; color: var(--gray-light); padding: 0.25rem 0.75rem;
}
.product-price { font-family: var(--font-h); font-size: 1.4rem; font-weight: 700; color: var(--cream-light); margin-bottom: 1.25rem; }
.product-price span { font-size: 0.78rem; font-weight: 400; color: var(--gray); margin-left: 0.4rem; font-family: var(--font-b); }

.donation-card {
  background: linear-gradient(135deg, var(--navy-2), var(--bg-3));
  border: 1px solid var(--border-cream); border-radius: 18px;
  padding: 2.5rem; text-align: center;
}
.donation-card h3 { font-family: var(--font-h); font-size: 1.6rem; font-weight: 700; margin-bottom: 0.9rem; }
.donation-card p { color: var(--gray-light); font-size: 0.95rem; line-height: 1.8; max-width: 620px; margin: 0 auto 1.75rem; }

/* ---- Legal content (Statutes / Privacy / Terms) ---- */
.legal-content { padding: 4rem 2rem; max-width: 820px; margin: 0 auto; }
.legal-updated { font-size: 0.85rem; color: var(--gray); margin-bottom: 3rem; }
.legal-block { margin-bottom: 2.25rem; }
.legal-block h2 {
  font-family: var(--font-h); font-size: 1.3rem; font-weight: 700; margin-bottom: 0.75rem; color: var(--white);
}
.legal-block h3 {
  font-family: var(--font-h); font-size: 1.08rem; font-weight: 700; margin: 1.1rem 0 0.5rem; color: var(--cream-light);
}
.legal-block p, .legal-block li { color: var(--gray-light); line-height: 1.8; font-size: 0.94rem; }
.legal-block ul, .legal-block ol { padding-left: 1.4rem; margin: 0.5rem 0 0.5rem; }
.legal-block li { margin-bottom: 0.4rem; }
.legal-block a { color: var(--cream-light); }

/* ---- New students page ---- */
.audience-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.audience-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: 18px;
  padding: 2.5rem; position: relative; overflow: hidden;
}
.audience-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
}
.audience-card.bachelor::before { background: linear-gradient(90deg, var(--blue), var(--blue-light)); }
.audience-card.master::before   { background: linear-gradient(90deg, var(--red), var(--red-light)); }
.audience-icon { font-size: 2.6rem; margin-bottom: 1rem; }
.audience-card h3 { font-family: var(--font-h); font-size: 1.5rem; font-weight: 700; margin-bottom: 0.3rem; }
.audience-card .audience-tag { font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gray); margin-bottom: 1.25rem; }
.audience-card p { font-size: 0.92rem; color: var(--gray-light); line-height: 1.8; margin-bottom: 1rem; }
.audience-card ul { padding-left: 1.2rem; margin-bottom: 0.5rem; }
.audience-card li { font-size: 0.9rem; color: var(--gray-light); line-height: 1.75; margin-bottom: 0.35rem; }

.community-links { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 1rem; }
.community-link {
  display: flex; align-items: center; gap: 0.75rem;
  background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px;
  padding: 1rem 1.5rem; flex: 1; min-width: 220px;
  transition: all var(--t);
}
.community-link:hover { border-color: var(--blue); transform: translateY(-3px); }
.community-link .cl-icon { font-size: 1.5rem; }
.community-link .cl-text strong { display: block; font-family: var(--font-h); font-size: 1rem; }
.community-link .cl-text span { font-size: 0.8rem; color: var(--gray-light); }

.czech-section {
  background: var(--bg-2);
  border-top: 1px solid var(--border-cream);
  padding: 5rem 2rem;
  position: relative;
}
.czech-section::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(232,220,192,0.06) 0%, transparent 60%);
  pointer-events: none;
}
.czech-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-b); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--cream-light);
  border: 1px solid var(--border-cream); border-radius: 20px;
  padding: 0.4rem 1rem; margin-bottom: 1.25rem;
}

/* ---- Footer ---- */
.footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border); padding: 4rem 2rem 2rem;
}
.footer-top {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand-name {
  font-family: var(--font-h); font-size: 1.4rem; font-weight: 700;
  display: flex; align-items: center; gap: 0.6rem; margin-bottom: 1rem;
}
.footer-brand-name span { color: var(--red-light); font-style: italic; }
.footer-brand-name img { height: 38px; }
.footer-tagline { font-size: 0.875rem; color: var(--gray); line-height: 1.7; max-width: 270px; margin-bottom: 1.5rem; }
.footer-socials { display: flex; gap: 0.6rem; }
.social-icon {
  width: 36px; height: 36px; border-radius: 8px; border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center; font-size: 1rem;
  color: var(--gray); transition: all var(--t);
}
.social-icon:hover { border-color: var(--blue); color: var(--white); background: rgba(40,86,163,0.16); }
.footer-col h4 {
  font-family: var(--font-b); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gray); margin-bottom: 1.25rem;
}
.footer-links { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-link { font-size: 0.88rem; color: var(--gray-light); transition: color var(--t); }
.footer-link:hover { color: var(--white); }
.footer-contact-item {
  display: flex; align-items: flex-start; gap: 0.5rem;
  font-size: 0.875rem; color: var(--gray-light); margin-bottom: 0.6rem; line-height: 1.4;
}
.footer-bottom {
  max-width: 1200px; margin: 0 auto;
  border-top: 1px solid var(--border); padding-top: 2rem;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
}
.footer-copy { font-size: 0.78rem; color: var(--gray); }
.footer-legal { display: flex; gap: 1.5rem; }
.footer-legal a { font-size: 0.78rem; color: var(--gray); transition: color var(--t); }
.footer-legal a:hover { color: var(--white); }

/* ---- Reveal animations ---- */
.reveal {
  opacity: 0; transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-left {
  opacity: 0; transform: translateX(-22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-left.visible { opacity: 1; transform: none; }
.reveal-right {
  opacity: 0; transform: translateX(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-right.visible { opacity: 1; transform: none; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ---- Utilities ---- */
.amp { font-family: var(--font-b); font-weight: 600; font-style: normal; }
.notice-banner {
  display: flex; gap: 1rem; align-items: flex-start;
  background: rgba(200,32,47,0.08); border: 1px solid rgba(200,32,47,0.3);
  border-left: 4px solid var(--red); border-radius: 10px;
  padding: 1.25rem 1.5rem; margin-bottom: 2.5rem;
}
.notice-banner .notice-icon { font-size: 1.3rem; flex-shrink: 0; line-height: 1.4; }
.notice-banner p { color: var(--gray-light); font-size: 0.9rem; line-height: 1.65; margin: 0; }
.notice-banner strong { color: var(--white); }
.text-cream { color: var(--cream-light); }
.text-red { color: var(--red-light); }
.text-blue { color: var(--blue-light); }
.text-gray { color: var(--gray); }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.text-center { text-align: center; }

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .split-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .split-grid.reverse { direction: ltr; }
  .event-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(1),
  .stat-item:nth-child(2) { border-bottom: 1px solid var(--border); }
  .cal-header, .cal-row { grid-template-columns: 110px 60px 1fr 100px; }
  .cal-header > *:nth-child(4), .cal-row > *:nth-child(4) { display: none; }
  .audience-grid { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: 1fr; }
}
@media (max-width: 1100px) {
  .nav-links:not(.open) { display: none; }
  .nav-toggle { display: flex; }
  .nav:has(.nav-links.open) { backdrop-filter: none; background: #faf8f2; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: #faf8f2;
    padding: 2rem 2rem 2rem;
    align-items: flex-start; gap: 0.5rem;
    z-index: 10001;
    overflow-y: auto;
  }
  .nav-links.open .nav-link { font-size: 1.5rem; padding: 0.6rem 0; color: var(--navy-3); }
  .nav-links.open .nav-cta  { font-size: 1.5rem; padding: 0.6rem 0; background: none; border: none; color: var(--red); }

  .nav-mobile-header {
    list-style: none;
    width: 100%;
    display: flex; flex-direction: column;
    padding-bottom: 1.25rem;
    margin-bottom: 0.5rem;
    border-bottom: 1px solid rgba(10,24,48,0.12);
    position: relative;
  }
  .nav-close {
    position: absolute; top: 0; right: 0;
    background: none; border: none; cursor: pointer;
    color: var(--navy); font-size: 1.8rem; line-height: 1;
    padding: 0.1rem 0.3rem;
  }
  .nav-mobile-brand {
    display: flex; align-items: center; gap: 0.75rem;
    text-decoration: none; margin-top: 0.25rem;
  }
  .nav-mobile-brand img { height: 46px; width: auto; }
  .nav-mobile-brand-text {
    font-family: var(--font-h); font-size: 1.25rem;
    color: var(--navy); letter-spacing: 0.01em;
  }
  .nav-mobile-brand-text span { display: block; color: var(--blue); font-size: 0.6rem; letter-spacing: 0.26em; font-family: var(--font-b); font-weight: 600; text-transform: uppercase; margin-top: 0.2rem; }
  .nav-mobile-slogan {
    margin-top: 0.65rem;
    font-size: 0.85rem; letter-spacing: 0.02em;
    color: var(--red); font-style: italic; font-family: var(--font-h);
  }
}
@media (max-width: 768px) {
  :root { --nav-h: 62px; }
  .nav { background: #faf8f2; backdrop-filter: none; padding: 0 1rem; }
  .nav-logo { gap: 0.5rem; min-width: 0; }
  .nav-logo img { height: 32px; }
  .nav-logo-text { font-size: 0.8rem !important; }
  .nav-logo-text span { font-size: 0.5rem !important; letter-spacing: 0.16em; margin-top: 0.1rem; }
  .nav-toggle { flex-shrink: 0; }
  .event-grid  { grid-template-columns: 1fr; }
  .board-grid  { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .info-card { flex-direction: column; gap: 1rem; }
  .cal-header, .cal-row { grid-template-columns: 92px 1fr 78px; }
  .cal-header > *:nth-child(2), .cal-row > *:nth-child(2),
  .cal-header > *:nth-child(4), .cal-row > *:nth-child(4) { display: none; }
  .footer-top { grid-template-columns: 1fr; gap: 2rem; }
  .hero-ctas  { flex-direction: column; align-items: center; }
  .btn { justify-content: center; }
}
@media (max-width: 480px) {
  .board-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .nav-logo-text { font-size: 0.68rem !important; }
  .nav-logo-text span { display: none; }
  .nav-logo img { height: 28px; }
}
