/* =========================================================
   Czech Roundnet — Paris 2026 support page
   Light "national team" look (matches the Kofola PDF):
   white background, navy + blue, red/blue tricolor accents.
   ========================================================= */

:root {
  --navy:   #0b1f3a;
  --navy2:  #13294d;
  --blue:   #2f6fd0;
  --blueDk: #1f56ab;
  --red:    #d7263d;
  --redDk:  #b51d31;
  --ink:    #1c2430;
  --muted:  #5a6675;
  --faint:  #8a94a3;
  --line:   #e4e8ee;
  --bg:     #ffffff;
  --bg2:    #f5f7fa;
  --display: 'Bricolage Grotesque', system-ui, sans-serif;
  --body:    'Hanken Grotesk', system-ui, sans-serif;
  --mono:    'JetBrains Mono', ui-monospace, monospace;
  --maxw: 1180px;
  --radius: 14px;
  --shadow: 0 18px 50px rgba(11,31,58,.12);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

.mono { font-family: var(--mono); }
.accent { color: var(--red); }
.dim { color: var(--muted); }
.faint { color: var(--faint); }

/* ---------- Buttons ---------- */
.btn-primary, .btn-ghost, .btn-donate {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--display); font-weight: 700; font-size: .98rem;
  padding: 12px 22px; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; transition: all .18s ease; white-space: nowrap; text-decoration: none;
}
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blueDk); text-decoration: none; }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--navy); background: var(--navy); color: #fff; text-decoration: none; }
.btn-donate { background: var(--red); color: #fff; }
.btn-donate:hover { background: var(--redDk); text-decoration: none; }
.btn-lg { padding: 15px 30px; font-size: 1.05rem; }
.btn-full { width: 100%; }

/* ---------- Nav ---------- */
#nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .2s ease, border-color .2s ease;
}
#nav::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
  background: linear-gradient(90deg, #fff 0 33.3%, var(--blue) 33.3% 66.6%, var(--red) 66.6% 100%);
  opacity: .9;
}
#nav.scrolled { box-shadow: 0 6px 24px rgba(11,31,58,.08); border-color: var(--line); }
.nav-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 12px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
}
.nav-brand { display: flex; align-items: center; gap: 10px; }
.nav-logo-img { height: 30px; width: auto; }
.nav-brand-name { font-family: var(--display); font-weight: 800; color: var(--navy); font-size: 1.05rem; }
.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-link { color: var(--ink); font-weight: 600; font-size: .95rem; }
.nav-link:hover { color: var(--blue); text-decoration: none; }
.nav-link.mono { font-size: .82rem; color: var(--muted); letter-spacing: 1px; }
.nav-next { color: var(--faint); font-size: .8rem; letter-spacing: .5px; }
.nav-hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav-hamburger span { width: 24px; height: 2px; background: var(--navy); border-radius: 2px; }
.nav-mobile { display: none; flex-direction: column; gap: 4px; padding: 12px 24px 18px; background: #fff; border-top: 1px solid var(--line); }
.nav-mobile.open { display: flex; }
.nav-mobile .nav-link { padding: 8px 0; }

/* ---------- Layout ---------- */
.section { max-width: var(--maxw); margin: 0 auto; padding: 84px 24px; }
.section-deep { max-width: none; background: var(--bg2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-deep > * { max-width: var(--maxw); margin-left: auto; margin-right: auto; }
.section-num {
  font-family: var(--mono); font-size: .8rem; letter-spacing: 3px; text-transform: uppercase;
  color: var(--red); font-weight: 600; margin-bottom: 14px;
}
.display-h2 {
  font-family: var(--display); font-weight: 800; color: var(--navy);
  font-size: clamp(1.8rem, 4vw, 2.8rem); line-height: 1.08; letter-spacing: -.5px;
}
.display-sm { font-family: var(--display); font-weight: 700; color: var(--navy); font-size: 1.15rem; }
.body-text { color: var(--ink); margin-top: 16px; max-width: 60ch; }
.body-text + .body-text { margin-top: 12px; }

/* ---------- Hero ---------- */
.hero { padding-top: 120px; }
.hero-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 40px 24px 60px;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center;
}
.hero-eyebrow { display: flex; align-items: center; gap: 12px; font-size: .82rem; letter-spacing: 2px; }
.hero-eyebrow .mono { font-weight: 600; }
.dot-sep { width: 5px; height: 5px; border-radius: 50%; background: var(--blue); display: inline-block; }
.hero-title {
  font-family: var(--display); font-weight: 800; color: var(--navy);
  font-size: clamp(2.6rem, 6.5vw, 4.4rem); line-height: 1.02; letter-spacing: -1.5px;
  margin-top: 18px;
}
.hero-sub { color: var(--blue); font-weight: 700; font-size: 1.15rem; margin-top: 14px; font-family: var(--display); }
.hero-desc { color: var(--muted); margin-top: 18px; max-width: 52ch; }
.hero-ctas { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; }
.hero-media { position: relative; }
.hero-team-photo {
  width: 100%; border-radius: var(--radius); box-shadow: var(--shadow);
  aspect-ratio: 3/2.1; object-fit: cover;
}
.hero-media::before {
  content: ""; position: absolute; inset: auto -14px -14px auto; width: 60%; height: 60%;
  border-right: 4px solid var(--red); border-bottom: 4px solid var(--red);
  border-radius: 0 0 var(--radius) 0; opacity: .5; z-index: -1;
}

/* ---------- Stats bar ---------- */
.stats-bar {
  background: var(--navy);
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.stat-item { padding: 32px 24px; text-align: center; border-left: 1px solid rgba(255,255,255,.08); }
.stat-item:first-child { border-left: none; }
.stat-n { font-family: var(--display); font-weight: 800; color: #fff; font-size: clamp(1.8rem, 4vw, 2.6rem); line-height: 1; }
.stat-l { font-family: var(--mono); font-size: .72rem; letter-spacing: 1.5px; text-transform: uppercase; color: #9fb4d6; margin-top: 10px; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.about-facts { display: flex; gap: 16px; margin-top: 28px; flex-wrap: wrap; }
.fact-card { flex: 1; min-width: 160px; border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; background: #fff; }
.fact-label { font-size: .72rem; letter-spacing: 1.5px; color: var(--faint); margin-bottom: 6px; }
.about-photo { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 3/2.1; object-fit: cover; }

/* ---------- Budget ---------- */
.training-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 44px; flex-wrap: wrap; }
.next-strip {
  font-family: var(--mono); font-size: .82rem; color: var(--blue);
  background: rgba(47,111,208,.1); border: 1px solid rgba(47,111,208,.25);
  padding: 8px 14px; border-radius: 999px;
}
.details-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.detail-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; position: relative; overflow: hidden;
}
.detail-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--blue); }
.detail-card:nth-child(2)::before { background: var(--red); }
.detail-card:nth-child(3)::before { background: var(--navy); }
.detail-label { font-size: .72rem; letter-spacing: 1.5px; color: var(--faint); margin-bottom: 14px; }
.detail-card h3 { font-family: var(--display); font-weight: 800; color: var(--navy); font-size: 1.5rem; margin-bottom: 10px; }
.detail-card p { color: var(--muted); font-size: .96rem; }

/* ---------- Support ---------- */
.registration-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.register-notes { margin-top: 28px; display: flex; flex-direction: column; gap: 12px; }
.register-notes > div {
  display: flex; align-items: baseline; gap: 12px; color: var(--ink);
  padding: 14px 16px; background: var(--bg2); border: 1px solid var(--line); border-radius: 10px; font-size: .95rem;
}
.register-notes .mono { color: var(--red); font-weight: 600; }
.widget-shell {
  background: var(--navy); border-radius: 20px; padding: 36px;
  box-shadow: var(--shadow); position: relative; overflow: hidden;
}
.widget-shell::after {
  content: ""; position: absolute; right: -40px; top: -40px; width: 160px; height: 160px;
  background: radial-gradient(circle, rgba(47,111,208,.4), transparent 70%);
}
.support-card { display: flex; flex-direction: column; gap: 16px; text-align: left; position: relative; z-index: 1; }
.support-card .fact-label { color: #9fb4d6; }
.support-amount { font-family: var(--display); font-weight: 800; font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1.1; color: #fff; }
.support-note { color: #cdd8ea; font-size: .95rem; margin: 0; }
.support-card .btn-donate { margin-top: 4px; }
.support-sub { color: #9fb4d6; font-size: .85rem; margin: 0; }
.support-sub a { color: #fff; text-decoration: underline; }

/* ---------- Partners ---------- */
.sport-header { text-align: center; max-width: 760px; margin: 0 auto 52px; }
.sport-header .section-num { display: block; }
.sport-desc { color: var(--muted); margin: 18px auto 0; }
.features-wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feature-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; transition: transform .18s ease, box-shadow .18s ease; }
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature-key { font-family: var(--mono); font-size: .72rem; letter-spacing: 2px; color: var(--blue); margin-bottom: 16px; }
.feature-title { font-family: var(--display); font-weight: 700; color: var(--navy); font-size: 1.15rem; margin-bottom: 8px; }
.feature-desc { color: var(--muted); font-size: .92rem; }
.partners-cta {
  display: flex; align-items: center; justify-content: center; gap: 22px; flex-wrap: wrap;
  margin-top: 48px; padding: 30px; border-radius: var(--radius);
  background: var(--bg2); border: 1px solid var(--line);
}
.partners-cta span { font-family: var(--display); font-weight: 700; font-size: 1.15rem; color: var(--navy); }

/* ---------- Footer ---------- */
.footer { background: var(--bg2); border-top: 1px solid var(--line); }
.footer-grid { max-width: var(--maxw); margin: 0 auto; padding: 60px 24px 40px; display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 40px; }
.footer-orglabel { font-size: .7rem; letter-spacing: 2px; text-transform: uppercase; color: var(--faint); margin-bottom: 14px; }
.footer-logo-row { display: flex; align-items: center; gap: 18px; margin-bottom: 18px; flex-wrap: wrap; }
.footer-logo-img { height: 38px; width: auto; }
.footer-logo-ph { height: 58px; position: relative; top: 6px; }
.footer-logo-x { color: var(--faint); font-size: 1.3rem; font-weight: 300; }
.footer-brand-name { font-family: var(--display); font-weight: 800; color: var(--navy); font-size: 1.1rem; }
.footer-brand-desc { color: var(--muted); font-size: .95rem; max-width: 40ch; }
.col-label { font-family: var(--mono); font-size: .72rem; letter-spacing: 2px; text-transform: uppercase; color: var(--faint); margin-bottom: 16px; }
.footer-row { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: .92rem; }
.footer-row .dim { color: var(--faint); }
.footer-support-desc { color: var(--muted); font-size: .92rem; margin-bottom: 16px; }
.footer-bottom {
  max-width: var(--maxw); margin: 0 auto; padding: 20px 24px 36px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  color: var(--faint); font-size: .82rem; border-top: 1px solid var(--line);
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .hero-inner, .about-grid, .registration-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-media { order: -1; }
  .details-grid { grid-template-columns: 1fr; }
  .features-wrap { grid-template-columns: 1fr 1fr; }
  .stats-bar { grid-template-columns: 1fr 1fr; }
  .stat-item:nth-child(3) { border-left: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .section { padding: 60px 20px; }
  .hero { padding-top: 100px; }
  .features-wrap { grid-template-columns: 1fr; }
  .stats-bar { grid-template-columns: 1fr 1fr; }
  .training-header { align-items: flex-start; }
}
