/* ==========================================================================
   Obozy GEM Nysa — style
   Kolory z logo: niebieski (globus, napis) + zieleń (ląd, „OBOZY”),
   podbite do sportowego „volt” i granatu dla kontrastu.
   ========================================================================== */

/* Archivo okrojony (fontTools: subset + varLib.instancer): łacinka + Latin Extended-A, szerokość 70–100%, grubość 100–900 — README „Fonty”. */
@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-latin-ext.woff2") format("woff2");
  font-weight: 100 900; font-stretch: 70% 100%; font-style: normal; font-display: swap;
  unicode-range: U+0100-017F;
}
@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-latin.woff2") format("woff2");
  font-weight: 100 900; font-stretch: 70% 100%; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2010-2027, U+2030-203A, U+20AC, U+2122, U+2212;
}
@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-italic-latin-ext.woff2") format("woff2");
  font-weight: 100 900; font-stretch: 70% 100%; font-style: italic; font-display: swap;
  unicode-range: U+0100-017F;
}
@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-italic-latin.woff2") format("woff2");
  font-weight: 100 900; font-stretch: 70% 100%; font-style: italic; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2010-2027, U+2030-203A, U+20AC, U+2122, U+2212;
}

:root {
  --navy-950: #04101f;
  --navy-900: #071a33;
  --navy-800: #0c2747;
  --navy-700: #15365e;
  --blue: #1592dc;
  --blue-600: #0b74b8;
  --blue-100: #e3f2fc;
  --volt: #c8f031;
  --volt-600: #a6cc12;
  --green: #22a447;
  --sun: #ff8a3d;
  --ink: #0b1626;
  --ink-2: #3b4a5e;
  --ink-3: #66768a;
  --paper: #f6f8f3;
  --white: #ffffff;
  --line: #dfe5ec;

  --font: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --radius-s: 10px;
  --radius: 18px;
  --radius-l: 28px;
  --shadow: 0 1px 2px rgb(7 26 51 / .06), 0 8px 24px -8px rgb(7 26 51 / .18);
  --shadow-l: 0 2px 4px rgb(7 26 51 / .06), 0 24px 60px -16px rgb(7 26 51 / .35);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 72px;
}

/* ---------- Reset / baza ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0; font-family: var(--font); font-size: 1.0625rem; line-height: 1.6; color: var(--ink);
  background: var(--paper); text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, video, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.05; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--volt); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--volt); color: var(--navy-900); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200; padding: 10px 16px;
  background: var(--volt); color: var(--navy-900); font-weight: 700; border-radius: var(--radius-s);
  text-decoration: none; transition: top .2s;
}
.skip-link:focus { top: 12px; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }

/* Nagłówki w sportowym stylu: zwężony, pochylony, wersaliki */
.display {
  font-weight: 850; font-stretch: 72%; font-style: italic; text-transform: uppercase;
  letter-spacing: -.005em; line-height: .92;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: .5em; margin-bottom: 14px;
  font-size: .8125rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--blue-600);
}
.eyebrow::before { content: ""; width: 22px; height: 3px; border-radius: 3px; background: currentColor; transform: skewX(-20deg); }
.section { padding-block: clamp(72px, 10vw, 128px); }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head h2 { font-size: clamp(2.4rem, 6vw, 4.25rem); }
.section-head p { margin-top: 18px; font-size: 1.15rem; color: var(--ink-2); max-width: 62ch; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.hl { color: var(--blue); }
.hl-volt { color: var(--volt); }

/* ---------- Przyciski ---------- */
.btn {
  --bg: var(--volt); --fg: var(--navy-900);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 52px; padding: 0 26px; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--bg); color: var(--fg); font-weight: 750; font-size: 1rem; letter-spacing: .01em;
  text-decoration: none; white-space: nowrap; isolation: isolate; overflow: hidden;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .2s;
}
.btn::after { /* błysk przy najechaniu */
  content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgb(255 255 255 / .55) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .6s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -10px rgb(0 0 0 / .45); }
.btn:hover::after { transform: translateX(120%); }
.btn:active { transform: translateY(0) scale(.98); }
.btn svg { width: 20px; height: 20px; flex: none; transition: transform .25s var(--ease); }
.btn:hover svg.arrow { transform: translateX(4px); }
.btn--blue { --bg: var(--blue-600); --fg: #fff; }
.btn--dark { --bg: var(--navy-900); --fg: #fff; }
.btn--ghost { --bg: rgb(255 255 255 / .1); --fg: #fff; box-shadow: inset 0 0 0 1.5px rgb(255 255 255 / .45); backdrop-filter: blur(8px); }
.btn--ghost:hover { --bg: rgb(255 255 255 / .18); }
.btn--outline { --bg: transparent; --fg: var(--navy-900); box-shadow: inset 0 0 0 1.5px var(--navy-900); }
.btn--outline:hover { --bg: var(--navy-900); --fg: #fff; }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: .9375rem; }
.btn--lg { min-height: 60px; padding: 0 32px; font-size: 1.0625rem; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .4em; font-weight: 700; color: var(--blue-600);
  text-decoration: none; border-bottom: 2px solid transparent; transition: border-color .2s, gap .2s;
}
.link-arrow:hover { border-color: currentColor; gap: .65em; }
.link-arrow svg { width: 18px; height: 18px; }

/* ---------- Nagłówek strony ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h);
  color: #fff; transition: background-color .3s, box-shadow .3s, transform .35s var(--ease);
}
.site-header.is-scrolled { background: rgb(7 26 51 / .82); backdrop-filter: saturate(160%) blur(14px); box-shadow: 0 1px 0 rgb(255 255 255 / .08); }
.site-header.is-hidden { transform: translateY(-100%); }
.site-header .wrap { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.brand img { width: auto; height: 40px; }
.brand-tag { font-size: .75rem; line-height: 1.15; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; opacity: .8; border-left: 1px solid rgb(255 255 255 / .3); padding-left: 12px; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav a:not(.btn) {
  position: relative; padding: 10px 14px; font-weight: 600; font-size: .9688rem; text-decoration: none; border-radius: 999px;
  transition: background-color .2s;
}
.nav a:not(.btn):hover { background: rgb(255 255 255 / .1); }
.nav a[aria-current="page"]::after, .nav a.is-active::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 3px; border-radius: 3px; background: var(--volt); transform: skewX(-20deg);
}
.nav .btn { margin-left: 10px; }
.nav-docs { display: inline-flex; align-items: center; gap: 6px; }
.nav-docs svg { width: 18px; height: 18px; }
.menu-toggle {
  display: none; margin-left: auto; width: 48px; height: 48px; border: 0; border-radius: 50%;
  background: rgb(255 255 255 / .12); cursor: pointer; place-items: center;
}
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after {
  display: block; width: 20px; height: 2px; border-radius: 2px; background: #fff; transition: transform .3s var(--ease), opacity .2s;
}
.menu-toggle span { position: relative; }
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; }
.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }
.menu-open .menu-toggle span { background: transparent; }
.menu-open .menu-toggle span::before { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1040px) {
  .brand-tag { display: none; }
  .menu-toggle { display: grid; }
  .nav {
    position: fixed; inset: var(--header-h) 0 0; flex-direction: column; align-items: stretch; gap: 4px;
    padding: 24px var(--gutter) 40px; background: var(--navy-900); overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-12px); transition: opacity .3s, transform .3s var(--ease), visibility .3s;
  }
  .menu-open .nav { opacity: 1; visibility: visible; transform: none; }
  .menu-open .site-header { background: var(--navy-900); }
  .nav a:not(.btn) { padding: 14px 4px; font-size: 1.75rem; font-weight: 800; font-stretch: 75%; font-style: italic; text-transform: uppercase; border-radius: 0; border-bottom: 1px solid rgb(255 255 255 / .08); }
  .nav a:not(.btn):hover { background: none; color: var(--volt); }
  .nav a[aria-current="page"]::after, .nav a.is-active::after { display: none; }
  .nav .btn { margin: 24px 0 0; min-height: 58px; }
  body.menu-open { overflow: hidden; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: flex-end;
  color: #fff; background: var(--navy-950); overflow: hidden; isolation: isolate;
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.12); transition: opacity 1.6s ease;
}
.hero-media img.is-active { opacity: 1; animation: kenburns 9s linear forwards; }
.hero-media img:first-child { opacity: 1; } /* zanim JS ruszy */
.hero-media.is-ready img:first-child:not(.is-active) { opacity: 0; }
@keyframes kenburns { from { transform: scale(1.12) translate3d(0, 0, 0); } to { transform: scale(1) translate3d(-1.5%, -1%, 0); } }
.hero::before { /* czytelność tekstu */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgb(4 16 31 / .55) 0%, rgb(4 16 31 / .05) 28%, rgb(4 16 31 / .25) 55%, rgb(4 16 31 / .92) 100%),
    linear-gradient(90deg, rgb(4 16 31 / .7) 0%, rgb(4 16 31 / 0) 65%);
}
.hero-inner { padding-block: calc(var(--header-h) + 48px) clamp(40px, 7vw, 72px); }
.hero-chip {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px; padding: 7px 14px 7px 8px;
  border-radius: 999px; background: rgb(255 255 255 / .12); backdrop-filter: blur(10px);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / .2); font-size: .875rem; font-weight: 600;
}
.hero-chip b { padding: 3px 10px; border-radius: 999px; background: var(--volt); color: var(--navy-900); font-weight: 800; }
.hero h1 { font-size: clamp(3.1rem, 10.5vw, 8.75rem); max-width: 12ch; text-wrap: balance; }
.hero h1 .line { display: block; overflow: hidden; padding-right: .08em; }
.hero h1 .line > span { display: inline-block; animation: rise 1s var(--ease) both; }
.hero h1 .line:nth-child(2) > span { animation-delay: .12s; }
.hero h1 .line:nth-child(3) > span { animation-delay: .24s; }
@keyframes rise { from { transform: translateY(105%) skewY(4deg); } to { transform: none; } }
.hero-lead { max-width: 56ch; margin: 24px 0 32px; font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: rgb(255 255 255 / .88); animation: fade-up .9s .35s var(--ease) both; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; animation: fade-up .9s .45s var(--ease) both; }
@keyframes fade-up { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.play-btn {
  display: inline-flex; align-items: center; gap: 12px; min-height: 52px; padding: 0 20px 0 6px; border: 0; border-radius: 999px;
  background: none; color: #fff; font-weight: 700; cursor: pointer;
}
.play-btn .ring {
  position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #fff; color: var(--navy-900);
}
.play-btn .ring::before { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid rgb(255 255 255 / .5); animation: pulse 2s infinite; }
.play-btn svg { width: 18px; height: 18px; margin-left: 3px; }
@keyframes pulse { 0% { transform: scale(.9); opacity: 1; } 100% { transform: scale(1.35); opacity: 0; } }

.hero-trust {
  display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: clamp(36px, 6vw, 64px); padding-top: 22px;
  border-top: 1px solid rgb(255 255 255 / .18); list-style: none; font-size: .9375rem; color: rgb(255 255 255 / .85);
  animation: fade-up .9s .6s var(--ease) both;
}
.hero-trust li { display: flex; align-items: center; gap: 10px; }
.hero-trust svg { width: 22px; height: 22px; color: var(--volt); flex: none; }
.hero-dots { position: absolute; right: var(--gutter); bottom: clamp(40px, 7vw, 72px); display: flex; gap: 8px; }
.hero-dots button { width: 34px; height: 4px; padding: 0; border: 0; border-radius: 4px; background: rgb(255 255 255 / .3); cursor: pointer; overflow: hidden; position: relative; }
.hero-dots button::after { content: ""; position: absolute; inset: 0; background: var(--volt); transform: scaleX(0); transform-origin: left; }
.hero-dots button.is-active::after { animation: progress 6s linear forwards; }
@keyframes progress { to { transform: scaleX(1); } }
@media (max-width: 760px) { .hero-dots { display: none; } }

/* Podstrony: niższe hero */
.hero--page { min-height: min(78svh, 720px); }
.hero--page h1 { font-size: clamp(2.8rem, 9vw, 7rem); max-width: 14ch; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; list-style: none; font-size: .875rem; color: rgb(255 255 255 / .75); }
.breadcrumbs li + li::before { content: "/"; margin-right: 8px; opacity: .5; }
.breadcrumbs a { text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }

/* ---------- Pasek dyscyplin (marquee) ---------- */
.ticker { position: relative; z-index: 2; margin-block: -34px -10px; padding-block: 18px; overflow: hidden; }
.ticker-row {
  display: flex; width: max-content; background: var(--volt); color: var(--navy-900);
  transform: rotate(-2deg); margin-inline: -20px; box-shadow: 0 10px 30px -12px rgb(0 0 0 / .4);
}
.ticker-row--alt { background: var(--blue-600); color: #fff; }
.ticker-track { display: flex; flex: none; gap: 0; animation: marquee 38s linear infinite; }
.ticker-row--alt .ticker-track { animation-direction: reverse; animation-duration: 46s; }
.ticker-track span {
  display: flex; align-items: center; gap: 28px; padding: 14px 14px; white-space: nowrap;
  font-size: clamp(1.15rem, 2.4vw, 1.6rem); font-weight: 850; font-stretch: 72%; font-style: italic; text-transform: uppercase;
}
.ticker-track span::after { content: "✦"; font-style: normal; font-size: .7em; opacity: .7; }
@keyframes marquee { to { transform: translateX(-100%); } }

/* ---------- Liczby / doświadczenie ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; border-radius: var(--radius-l); overflow: hidden; background: var(--line); box-shadow: var(--shadow); }
.stat { padding: clamp(24px, 3vw, 36px); background: #fff; }
.stat-num { display: block; font-size: clamp(2.8rem, 6vw, 4.5rem); font-weight: 850; font-stretch: 70%; font-style: italic; line-height: 1; color: var(--navy-900); }
.stat-num .unit { color: var(--blue); }
.stat-label { display: block; margin-top: 8px; font-weight: 600; color: var(--ink-2); line-height: 1.35; }
@media (max-width: 860px) { .stats { grid-template-columns: repeat(2, 1fr); } }

.intro-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.intro-grid h2 { font-size: clamp(2.4rem, 5.5vw, 4rem); }
.intro-copy p { color: var(--ink-2); font-size: 1.125rem; }
.intro-photos { position: relative; aspect-ratio: 1 / 1; }
.intro-photos figure { position: absolute; margin: 0; border-radius: var(--radius-l); overflow: hidden; box-shadow: var(--shadow-l); }
.intro-photos figure img { width: 100%; height: 100%; object-fit: cover; }
.intro-photos figure:nth-child(1) { inset: 0 22% 26% 0; }
.intro-photos figure:nth-child(2) { inset: 40% 0 0 34%; border: 6px solid var(--paper); }
.intro-badge {
  position: absolute; left: 4%; bottom: 4%; z-index: 2; display: grid; place-items: center; width: 132px; height: 132px; border-radius: 50%;
  background: var(--navy-900); color: #fff; text-align: center; box-shadow: var(--shadow-l);
}
.intro-badge strong { display: block; font-size: 2.6rem; font-weight: 850; font-stretch: 70%; font-style: italic; line-height: .9; color: var(--volt); }
.intro-badge span { font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.intro-badge svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 18s linear infinite; }
@keyframes spin { to { transform: rotate(1turn); } }
@media (max-width: 900px) { .intro-grid { grid-template-columns: 1fr; } .intro-photos { max-width: 560px; } }

/* ---------- Karty obozów ---------- */
.camps { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; }
.camp {
  position: relative; grid-column: span 6; display: flex; flex-direction: column; border-radius: var(--radius-l); overflow: hidden;
  background: #fff; box-shadow: var(--shadow); transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.camp:hover { transform: translateY(-6px); box-shadow: var(--shadow-l); }
.camp-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.camp-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
/* Obóz z panelu bez zdjęcia: tło w kolorach strony zamiast pustego pola. */
.camp-media--empty { background: radial-gradient(120% 90% at 85% 10%, var(--blue) 0%, transparent 55%), linear-gradient(135deg, var(--navy-800), var(--navy-950)); }
.camp:hover .camp-media img { transform: scale(1.06); }
.camp-tags { position: absolute; left: 16px; top: 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; font-size: .75rem; font-weight: 800;
  letter-spacing: .08em; text-transform: uppercase; background: #fff; color: var(--navy-900);
}
.tag--volt { background: var(--volt); }
.tag--blue { background: var(--blue-600); color: #fff; }
.tag--dark { background: rgb(7 26 51 / .75); color: #fff; backdrop-filter: blur(6px); }
.camp-body { display: flex; flex-direction: column; flex: 1; padding: clamp(22px, 3vw, 32px); }
.camp-body h3 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); }
.camp-place { display: flex; align-items: center; gap: 6px; margin: 10px 0 18px; color: var(--ink-3); font-weight: 600; }
.camp-place svg { width: 18px; height: 18px; color: var(--blue); }
.camp-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 0 0 20px; padding: 16px 0; border-block: 1px solid var(--line); }
.camp-facts dt { font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.camp-facts dd { margin: 2px 0 0; font-weight: 750; font-size: 1.05rem; }
.turnusy { display: grid; gap: 8px; margin: 0 0 22px; list-style: none; }
.turnusy li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 14px; border-radius: var(--radius-s); background: var(--paper); font-weight: 600; }
.status { display: inline-flex; align-items: center; gap: 6px; font-size: .8125rem; font-weight: 750; white-space: nowrap; }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.status--ok { color: #137333; } /* ciemniejsza zieleń: kontrast min. 4,5:1 także na jasnoniebieskim tle */
.status--ok::before { box-shadow: 0 0 0 0 currentColor; animation: blink 2s infinite; }
.status--full { color: #c2410c; }
@keyframes blink { 0% { box-shadow: 0 0 0 0 rgb(34 164 71 / .55); } 100% { box-shadow: 0 0 0 8px rgb(34 164 71 / 0); } }
.camp-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; }
.camp--winter { grid-column: span 12; flex-direction: row; background: var(--navy-900); color: #fff; }
.camp--winter .camp-media { flex: 1.1; aspect-ratio: auto; min-height: 320px; }
.camp--winter .camp-body { flex: 1; justify-content: center; }
.camp--winter p { color: rgb(255 255 255 / .8); }
@media (max-width: 900px) {
  .camp { grid-column: span 12; }
  .camp--winter { flex-direction: column; }
  .camp--winter .camp-media { min-height: 0; aspect-ratio: 16 / 9; flex: none; }
}
@media (max-width: 480px) { .camp-facts { grid-template-columns: 1fr 1fr; } }

/* ---------- Dla rodziców / dla uczestników ---------- */
.audience { background: var(--navy-900); color: #fff; position: relative; overflow: hidden; }
.audience::before {
  content: ""; position: absolute; width: 900px; height: 900px; right: -300px; top: -400px; border-radius: 50%;
  background: radial-gradient(closest-side, rgb(21 146 220 / .35), transparent); pointer-events: none;
}
.audience .eyebrow { color: var(--volt); }
.audience .section-head p { color: rgb(255 255 255 / .75); }
.switch {
  position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; margin-bottom: 40px; padding: 6px; border-radius: 999px;
  background: rgb(255 255 255 / .08); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .12);
}
.switch button {
  position: relative; z-index: 1; min-height: 48px; padding: 0 22px; border: 0; border-radius: 999px; background: none; cursor: pointer;
  font-weight: 750; color: rgb(255 255 255 / .75); transition: color .3s;
}
.switch button[aria-selected="true"] { color: var(--navy-900); }
.switch-pill { position: absolute; top: 6px; bottom: 6px; left: 6px; width: calc(50% - 6px); border-radius: 999px; background: var(--volt); transition: transform .45s var(--ease); }
.switch[data-active="1"] .switch-pill { transform: translateX(100%); }
.panel[hidden] { display: none; }
.panel { animation: fade-up .5s var(--ease); }
.perks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; list-style: none; }
.perk {
  padding: 28px; border-radius: var(--radius); background: rgb(255 255 255 / .05); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .1);
  transition: background-color .3s, transform .3s var(--ease);
}
.perk:hover { background: rgb(255 255 255 / .09); transform: translateY(-4px); }
.perk-icon { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 18px; border-radius: 14px; background: var(--blue); color: #fff; transform: rotate(-6deg); }
.perk:nth-child(3n+2) .perk-icon { background: var(--volt); color: var(--navy-900); transform: rotate(5deg); }
.perk:nth-child(3n) .perk-icon { background: var(--sun); color: var(--navy-900); }
.perk-icon svg { width: 26px; height: 26px; }
.perk h3 { font-size: 1.3rem; font-weight: 800; margin-bottom: 8px; }
.perk p { margin: 0; color: rgb(255 255 255 / .72); font-size: 1rem; }
.perk .quote-tag { display: inline-block; margin-bottom: 8px; font-size: .75rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--volt); }
@media (max-width: 900px) { .perks { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .perks { grid-template-columns: 1fr; } .switch { display: grid; width: 100%; } .switch button { padding: 0 10px; } }

/* ---------- Program: siatka bento ---------- */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(230px, auto); grid-auto-flow: dense; gap: 16px; }
.tile {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end; padding: 24px; border-radius: var(--radius-l); overflow: hidden;
  color: #fff; background: var(--navy-800); isolation: isolate; min-height: 230px;
}
.tile img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.tile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgb(4 16 31 / 0) 30%, rgb(4 16 31 / .88) 100%); }
.tile:hover img { transform: scale(1.07); }
.tile h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.tile p { margin: 8px 0 0; color: rgb(255 255 255 / .85); font-size: .975rem; max-width: 42ch; }
.tile ul { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; list-style: none; }
.tile li { padding: 4px 10px; border-radius: 999px; background: rgb(255 255 255 / .16); backdrop-filter: blur(6px); font-size: .8125rem; font-weight: 650; }
.tile--wide { grid-column: span 2; }
.tile--tall { grid-row: span 2; }
.tile--solid { background: var(--volt); color: var(--navy-900); justify-content: space-between; }
.tile--solid::before { display: none; }
.tile--solid p { color: var(--navy-800); }
.tile--solid li { background: rgb(7 26 51 / .1); }
.tile--blue { background: var(--blue); }
.tile--blue::before { display: none; }
.tile .big { font-size: clamp(3.4rem, 6vw, 5rem); line-height: .85; }
@media (max-width: 980px) { .bento { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .bento { grid-template-columns: 1fr; } .tile--wide { grid-column: auto; } .tile--tall { grid-row: auto; min-height: 340px; } }

/* ---------- Film ---------- */
.video-section { background: linear-gradient(180deg, var(--paper) 0 50%, var(--navy-900) 50% 100%); padding-bottom: 0; }
.video-card { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius-l); overflow: hidden; background: #000; box-shadow: var(--shadow-l); }
.video-card > img { width: 100%; height: 100%; object-fit: cover; opacity: .85; transition: opacity .4s, transform 1s var(--ease); }
.video-card:hover > img { opacity: 1; transform: scale(1.03); }
.video-card iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-play {
  position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: 18px; border: 0; background: rgb(4 16 31 / .25); color: #fff; cursor: pointer;
}
.video-play .disc { position: relative; display: grid; place-items: center; width: clamp(76px, 10vw, 112px); aspect-ratio: 1; border-radius: 50%; background: var(--volt); color: var(--navy-900); transition: transform .35s var(--ease); }
.video-play .disc::before { content: ""; position: absolute; inset: -10px; border-radius: 50%; border: 2px solid var(--volt); animation: pulse 2s infinite; }
.video-play:hover .disc { transform: scale(1.08); }
.video-play svg { width: 36%; height: 36%; margin-left: 6%; }
.video-play .label { font-size: clamp(1.2rem, 2.5vw, 1.8rem); text-shadow: 0 2px 20px rgb(0 0 0 / .5); }
.video-note { margin-top: 12px; font-size: .8125rem; color: rgb(255 255 255 / .55); text-align: center; }
.video-more { display: flex; gap: 14px; margin-top: 28px; padding-bottom: 8px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.video-more a {
  flex: 0 0 min(260px, 70vw); scroll-snap-align: start; color: #fff; text-decoration: none; font-weight: 650; font-size: .9375rem;
}
.video-more img { aspect-ratio: 16 / 9; width: 100%; object-fit: cover; border-radius: var(--radius); margin-bottom: 10px; transition: transform .4s var(--ease); }
.video-more a:hover img { transform: translateY(-4px); }

/* ---------- Oś czasu ---------- */
.dark { background: var(--navy-900); color: #fff; }
.dark .eyebrow { color: var(--volt); }
.dark .section-head p { color: rgb(255 255 255 / .72); }
.timeline { position: relative; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(200px, 1fr); gap: 20px; list-style: none; overflow-x: auto; padding: 34px 2px 16px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 10px; height: 2px; background: linear-gradient(90deg, var(--volt), var(--blue)); min-width: 100%; }
.timeline li { position: relative; scroll-snap-align: start; padding: 24px; border-radius: var(--radius); background: rgb(255 255 255 / .05); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .1); }
.timeline li::before { content: ""; position: absolute; top: -31px; left: 24px; width: 16px; height: 16px; border-radius: 50%; background: var(--navy-900); border: 3px solid var(--volt); }
.timeline .year { display: block; font-size: 2.4rem; font-weight: 850; font-stretch: 70%; font-style: italic; line-height: 1; color: var(--volt); margin-bottom: 10px; }
.timeline h3 { font-size: 1.15rem; font-weight: 800; margin-bottom: 6px; line-height: 1.25; }
.timeline p { margin: 0; color: rgb(255 255 255 / .7); font-size: .9688rem; }

/* ---------- Galeria ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.chip {
  min-height: 42px; padding: 0 18px; border: 0; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--line);
  font-weight: 700; cursor: pointer; transition: background-color .2s, color .2s, box-shadow .2s;
}
.chip:hover { box-shadow: inset 0 0 0 1.5px var(--navy-900); }
.chip[aria-pressed="true"] { background: var(--navy-900); color: #fff; box-shadow: none; }
.masonry { columns: 4 160px; column-gap: 14px; }
.masonry a { position: relative; display: block; margin-bottom: 14px; border-radius: var(--radius); overflow: hidden; break-inside: avoid; background: var(--line); }
.masonry a[hidden] { display: none; }
.masonry img { width: 100%; transition: transform .7s var(--ease), filter .4s; }
.masonry a:hover img { transform: scale(1.05); }
.masonry a::after {
  content: attr(data-label); position: absolute; left: 10px; bottom: 10px; padding: 4px 10px; border-radius: 999px; font-size: .75rem; font-weight: 750;
  background: rgb(7 26 51 / .72); color: #fff; backdrop-filter: blur(6px); opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .3s var(--ease);
}
.masonry a:hover::after, .masonry a:focus-visible::after { opacity: 1; transform: none; }
.gallery-more { margin-top: 28px; text-align: center; }

/* Lightbox */
.lightbox { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgb(4 16 31 / .96); color: #fff; }
.lightbox::backdrop { background: rgb(4 16 31 / .8); }
.lightbox[open] { display: grid; place-items: center; animation: fade-in .25s ease; }
@keyframes fade-in { from { opacity: 0; } }
.lightbox figure { margin: 0; display: grid; gap: 12px; justify-items: center; }
.lightbox img { max-width: min(92vw, 1600px); max-height: 82dvh; width: auto; border-radius: var(--radius-s); }
.lightbox figcaption { font-size: .9375rem; color: rgb(255 255 255 / .75); }
.lb-btn {
  position: absolute; display: grid; place-items: center; width: 52px; height: 52px; border: 0; border-radius: 50%; cursor: pointer;
  background: rgb(255 255 255 / .1); color: #fff; transition: background-color .2s;
}
.lb-btn:hover { background: rgb(255 255 255 / .22); }
.lb-btn svg { width: 24px; height: 24px; }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 16px; top: 50%; translate: 0 -50%; }
.lb-next { right: 16px; top: 50%; translate: 0 -50%; }
@media (max-width: 600px) { .lb-prev, .lb-next { top: auto; bottom: 20px; translate: none; } }

/* ---------- Kroki zapisu ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; list-style: none; counter-reset: step; }
.step { position: relative; padding: 30px 26px 28px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); counter-increment: step; overflow: hidden; }
.step::before {
  content: counter(step, decimal-leading-zero); display: block; margin-bottom: 18px; font-size: 4.2rem; font-weight: 900; font-stretch: 70%; font-style: italic; line-height: .8;
  color: transparent; -webkit-text-stroke: 2px var(--blue);
}
.step h3 { font-size: 1.2rem; font-weight: 800; margin-bottom: 8px; line-height: 1.25; }
.step p { margin: 0; color: var(--ink-2); font-size: .9875rem; }
.step a { color: var(--blue-600); font-weight: 700; }
.step::after { content: ""; position: absolute; right: -30px; top: -30px; width: 90px; height: 90px; border-radius: 50%; background: var(--blue-100); z-index: 0; }
.step > * { position: relative; z-index: 1; }
@media (max-width: 980px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Dokumenty ---------- */
.docs-band { position: relative; border-radius: var(--radius-l); padding: clamp(28px, 5vw, 56px); background: var(--blue); color: #fff; overflow: hidden; isolation: isolate; }
.docs-band::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background: repeating-linear-gradient(-55deg, transparent 0 22px, rgb(255 255 255 / .06) 22px 44px);
}
.docs-band-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.docs-band h2 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
.docs-band .eyebrow { color: var(--volt); }
.doc-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 12px; list-style: none; }
.doc {
  display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: var(--radius); background: #fff; color: var(--ink);
  text-decoration: none; box-shadow: var(--shadow); transition: transform .25s var(--ease), box-shadow .25s;
}
.doc:hover { transform: translateY(-3px); box-shadow: var(--shadow-l); }
.doc-icon { position: relative; display: grid; place-items: center; flex: none; width: 44px; height: 52px; border-radius: 8px 16px 8px 8px; background: var(--blue-100); color: var(--blue-600); }
.doc-icon::after { content: "PDF"; position: absolute; bottom: -5px; right: -7px; padding: 1px 5px; border-radius: 4px; background: #e11d48; color: #fff; font-size: .625rem; font-weight: 800; letter-spacing: .04em; }
.doc-icon svg { width: 22px; height: 22px; }
.doc-text { min-width: 0; flex: 1; }
.doc-title { display: block; font-weight: 750; line-height: 1.3; }
.doc-meta { display: block; margin-top: 2px; font-size: .8125rem; color: var(--ink-3); }
.doc-dl { display: grid; place-items: center; flex: none; width: 38px; height: 38px; border-radius: 50%; background: var(--paper); color: var(--navy-900); transition: background-color .2s, color .2s; }
.doc:hover .doc-dl { background: var(--volt); }
.doc-dl svg { width: 18px; height: 18px; }
.doc--key .doc-icon { background: var(--volt); color: var(--navy-900); }

.doc-groups { display: grid; gap: clamp(40px, 6vw, 64px); }
.doc-group h2 { display: flex; align-items: baseline; gap: 14px; font-size: clamp(1.8rem, 3.6vw, 2.6rem); margin-bottom: 10px; }
.doc-group h2 small { font-size: .9rem; font-style: normal; font-weight: 700; font-stretch: 100%; letter-spacing: .06em; color: var(--ink-3); }
.doc-group > p { color: var(--ink-2); margin-bottom: 20px; max-width: 70ch; }
.doc-group .doc { box-shadow: var(--shadow); }
.checklist { display: grid; gap: 10px; list-style: none; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: var(--radius-s); background: #fff; box-shadow: var(--shadow); }
.checklist svg { flex: none; width: 24px; height: 24px; color: var(--green); margin-top: 1px; }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.faq-grid .section-head { position: sticky; top: calc(var(--header-h) + 24px); }
.faq { display: grid; gap: 10px; }
.faq details { border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); overflow: hidden; }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px; cursor: pointer; list-style: none;
  font-weight: 750; font-size: 1.0625rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--paper) center / 14px no-repeat
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M7 1v12M1 7h12' stroke='%23071a33' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  transition: transform .3s var(--ease), background-color .2s;
}
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--volt); }
.faq .answer { padding: 0 22px 20px; color: var(--ink-2); }
.faq .answer p:last-child { margin: 0; }
.faq .answer a { color: var(--blue-600); font-weight: 650; }
@media (max-width: 900px) { .faq-grid { grid-template-columns: 1fr; } .faq-grid .section-head { position: static; } }

/* ---------- Kontakt ---------- */
.contact { position: relative; overflow: hidden; }
.contact-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.contact h2 { font-size: clamp(2.6rem, 7vw, 5.4rem); }
.contact-lead { font-size: 1.15rem; color: rgb(255 255 255 / .78); margin: 20px 0 30px; max-width: 48ch; }
.people { display: grid; gap: 14px; }
.person {
  display: flex; align-items: center; gap: 18px; padding: 16px 18px 16px 16px; border-radius: var(--radius); text-decoration: none;
  background: rgb(255 255 255 / .06); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .12); transition: background-color .25s, transform .25s var(--ease);
}
.person:hover { background: rgb(255 255 255 / .12); transform: translateX(4px); }
.person img { width: 68px; height: 68px; border-radius: 50%; object-fit: cover; flex: none; border: 3px solid var(--volt); }
.person-name { display: block; font-weight: 800; font-size: 1.1rem; }
.person-role { display: block; font-size: .875rem; color: rgb(255 255 255 / .65); }
.person-phone { display: block; margin-top: 4px; font-size: 1.35rem; font-weight: 850; font-stretch: 80%; color: var(--volt); letter-spacing: .01em; }
.person .call { margin-left: auto; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--volt); color: var(--navy-900); flex: none; }
.person .call svg { width: 22px; height: 22px; }
.contact-list { display: grid; gap: 14px; margin-top: 22px; list-style: none; }
.contact-list li { display: flex; gap: 12px; align-items: flex-start; color: rgb(255 255 255 / .85); }
.contact-list svg { width: 22px; height: 22px; color: var(--volt); flex: none; margin-top: 2px; }
.contact-list a { font-weight: 700; text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- Stopka ---------- */
.site-footer { background: var(--navy-950); color: rgb(255 255 255 / .72); font-size: .9375rem; padding: 64px 0 calc(28px + env(safe-area-inset-bottom)); }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 36px; }
.footer-grid h3 { font-size: .8125rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #fff; margin-bottom: 14px; }
.footer-grid ul { list-style: none; display: grid; gap: 8px; }
.footer-grid a { text-decoration: none; }
.footer-grid a:hover { color: var(--volt); }
.footer-brand img { height: 44px; width: auto; margin-bottom: 16px; }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgb(255 255 255 / .08); color: #fff; transition: background-color .2s, color .2s; }
.socials a:hover { background: var(--volt); color: var(--navy-900); }
.socials svg { width: 20px; height: 20px; }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 48px; padding-top: 24px; border-top: 1px solid rgb(255 255 255 / .1); font-size: .8125rem; color: rgb(255 255 255 / .5); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* ---------- Mobilny pasek akcji ---------- */
.action-bar { display: none; }
@media (max-width: 760px) {
  .action-bar {
    position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 90;
    display: grid; grid-template-columns: 1fr 1fr 1.3fr; gap: 6px; padding: 6px; border-radius: 999px;
    background: rgb(7 26 51 / .9); backdrop-filter: blur(14px); box-shadow: 0 12px 30px -8px rgb(0 0 0 / .5);
    transform: translateY(150%); transition: transform .4s var(--ease);
  }
  .action-bar.is-visible { transform: none; }
  .action-bar a { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 48px; border-radius: 999px; color: #fff; text-decoration: none; font-weight: 750; font-size: .875rem; }
  .action-bar a svg { width: 18px; height: 18px; }
  .action-bar a.primary { background: var(--volt); color: var(--navy-900); }
  .site-footer { padding-bottom: calc(100px + env(safe-area-inset-bottom)); }
}

/* ---------- Podstrona obozu ---------- */
.camp-layout { display: grid; grid-template-columns: 1fr 380px; gap: clamp(32px, 5vw, 64px); align-items: start; }
.camp-main { min-width: 0; }
.camp-main > section + section { margin-top: clamp(48px, 7vw, 80px); }
.camp-main h2 { font-size: clamp(2rem, 4.2vw, 3rem); margin-bottom: 18px; }
.camp-main p { color: var(--ink-2); font-size: 1.0625rem; }
.booking {
  position: sticky; top: calc(var(--header-h) + 20px); padding: 28px; border-radius: var(--radius-l); background: #fff; box-shadow: var(--shadow-l);
}
.booking .price { display: flex; align-items: baseline; gap: 8px; margin-bottom: 4px; }
.booking .price strong { font-size: 3.2rem; font-weight: 900; font-stretch: 70%; font-style: italic; line-height: 1; color: var(--navy-900); }
.booking .price span { color: var(--ink-3); font-weight: 600; }
.booking .note { font-size: .875rem; color: var(--ink-3); margin-bottom: 18px; }
.booking dl { display: grid; gap: 12px; margin: 0 0 22px; padding: 18px 0; border-block: 1px solid var(--line); }
.booking dl div { display: flex; justify-content: space-between; gap: 12px; }
.booking dt { color: var(--ink-3); font-weight: 600; }
.booking dd { margin: 0; font-weight: 750; text-align: right; }
.booking .btn { width: 100%; }
.booking .btn + .btn { margin-top: 10px; }
.booking-docs { margin-top: 22px; display: grid; gap: 8px; list-style: none; }
.booking-docs a { display: flex; align-items: center; gap: 10px; font-weight: 650; font-size: .9375rem; text-decoration: none; color: var(--ink); padding: 8px 10px; border-radius: var(--radius-s); transition: background-color .2s; }
.booking-docs a:hover { background: var(--paper); }
.booking-docs svg { width: 18px; height: 18px; color: var(--blue); flex: none; }
.booking-docs-title { margin-top: 22px; font-size: .75rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
@media (max-width: 980px) { .camp-layout { grid-template-columns: 1fr; } .booking { position: static; } }

.check-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 24px; list-style: none; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; }
.check-list svg { flex: none; width: 22px; height: 22px; color: var(--green); margin-top: 2px; }
@media (max-width: 600px) { .check-list { grid-template-columns: 1fr; } }

.prog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; list-style: none; }
.prog-grid li { padding: 20px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.prog-grid .emoji { font-size: 1.8rem; line-height: 1; display: block; margin-bottom: 10px; }
.prog-grid h3 { font-size: 1.05rem; font-weight: 800; margin-bottom: 4px; }
.prog-grid p { margin: 0; font-size: .9375rem; color: var(--ink-2); }

.table-wrap { overflow-x: auto; border-radius: var(--radius); box-shadow: var(--shadow); background: #fff; }
.table { width: 100%; border-collapse: collapse; min-width: 560px; }
.table th, .table td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.table th { font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); background: var(--paper); }
.table tr:last-child td { border-bottom: 0; }
@media (max-width: 640px) {
  .table { min-width: 0; }
  .table thead { display: none; }
  .table tr { display: block; padding: 14px 18px; border-bottom: 1px solid var(--line); }
  .table tr:last-child { border-bottom: 0; }
  .table td { display: grid; grid-template-columns: 96px 1fr; gap: 10px; padding: 6px 0; border: 0; }
  .table td::before { content: attr(data-label); font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); padding-top: 3px; }
}

.account {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; padding: 18px 20px; border-radius: var(--radius);
  background: var(--navy-900); color: #fff;
}
.account small { display: block; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: rgb(255 255 255 / .6); }
.account code { font-family: var(--font); font-size: clamp(1.05rem, 2.6vw, 1.35rem); font-weight: 800; letter-spacing: .04em; }
.copy-btn { min-height: 42px; padding: 0 16px; border: 0; border-radius: 999px; background: var(--volt); color: var(--navy-900); font-weight: 750; cursor: pointer; }

.callout { display: flex; gap: 16px; padding: 20px 22px; border-radius: var(--radius); background: var(--blue-100); color: var(--navy-800); }
.callout svg { width: 26px; height: 26px; flex: none; color: var(--blue-600); }
.callout p { margin: 0; color: inherit; }

/* ---------- Animacje wejścia (scroll) ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .hero-media img.is-active { animation: none; transform: none; }
  .ticker-track { animation: none; }
}

/* ---------- Zapisy online (zapisy.html) ---------- */
.signup { display: grid; grid-template-columns: 1fr 360px; gap: clamp(28px, 4vw, 56px); align-items: start; }
.signup-main { min-width: 0; display: grid; gap: 18px; }
.fieldset { margin: 0; padding: clamp(20px, 3vw, 30px); border: 0; border-radius: var(--radius-l); background: #fff; box-shadow: var(--shadow); min-width: 0; }
.fieldset legend { float: left; width: 100%; display: flex; align-items: center; gap: 12px; margin-bottom: 18px; padding: 0; font-size: 1.35rem; font-weight: 850; font-stretch: 75%; font-style: italic; text-transform: uppercase; }
.fieldset legend + * { clear: both; }
.fieldset legend .n { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--navy-900); color: var(--volt); font-size: 1rem; font-style: normal; transform: rotate(-6deg); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 18px; }
.form-row--3 { grid-template-columns: 2fr 1fr 2fr; }
.field { display: grid; gap: 6px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field > span { font-weight: 700; font-size: .9375rem; }
.field > span small { font-weight: 500; color: var(--ink-3); }
.field input, .field textarea, .field select {
  width: 100%; min-height: 50px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink);
  font: inherit; font-size: 1rem; transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 100px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgb(21 146 220 / .15); }
.field .hint { font-size: .8125rem; color: var(--ink-3); }
.field .err, .choice-err { font-size: .8125rem; font-weight: 700; color: #c2410c; }
.field.has-err input, .field.has-err textarea { border-color: #c2410c; }
.toggle { display: flex; align-items: flex-start; gap: 10px; margin: 14px 0 0; font-weight: 600; cursor: pointer; }
.toggle input, .consent input { flex: none; width: 20px; height: 20px; margin-top: 2px; accent-color: var(--blue); }
.reveal-field[hidden] { display: none; }
.reveal-field { margin-top: 14px; }

.turnus-list { display: grid; gap: 10px; }
.turnus-opt { position: relative; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 16px; border: 1.5px solid var(--line); cursor: pointer; transition: border-color .2s, background-color .2s, box-shadow .2s; }
.turnus-opt:hover { border-color: var(--blue); }
.turnus-opt input { width: 22px; height: 22px; accent-color: var(--blue); }
.turnus-opt:has(input:checked) { border-color: var(--blue); background: var(--blue-100); box-shadow: 0 0 0 3px rgb(21 146 220 / .12); }
.turnus-opt strong { display: block; font-size: 1.05rem; }
.turnus-opt .meta { font-size: .875rem; color: var(--ink-2); }
.turnus-opt .price { text-align: right; font-weight: 800; white-space: nowrap; }
.turnus-opt .price small { display: block; font-weight: 600; }
.turnus-empty { padding: 18px; border-radius: 14px; background: var(--paper); }
.status--last { color: #b45309; }
/* Statusy na ciemnym tle (podsumowanie zapisów, sekcje granatowe): jaśniejsze odcienie, kontrast min. 4,5:1. */
:is(.summary, .dark, .camp--winter, .audience) .status--ok { color: #4ade80; }
:is(.summary, .dark, .camp--winter, .audience) .status--last { color: #f59e0b; }
:is(.summary, .dark, .camp--winter, .audience) .status--full { color: #fb923c; }

.consents { display: grid; gap: 12px; }
.consent { display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px; border-radius: 14px; background: var(--paper); cursor: pointer; }
.consent a { color: var(--blue-600); font-weight: 700; }
.radio-inline { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; padding: 14px 16px; border-radius: 14px; background: var(--paper); }
.radio-inline > span { flex-basis: 100%; }
.radio-inline label { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; cursor: pointer; }
.radio-inline input { width: 18px; height: 18px; accent-color: var(--blue); }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-alert { padding: 14px 18px; border-radius: 14px; background: #fff1e8; color: #9a3412; font-weight: 700; }
.form-alert[hidden] { display: none; }
.submit-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.submit-row .btn[disabled] { opacity: .6; cursor: progress; }
.summary { position: sticky; top: calc(var(--header-h) + 20px); padding: 26px; border-radius: var(--radius-l); background: var(--navy-900); color: #fff; box-shadow: var(--shadow-l); }
.summary h2 { font-size: 1.6rem; margin-bottom: 14px; }
.summary dl { display: grid; gap: 10px; margin: 0 0 18px; }
.summary dl div { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 10px; border-bottom: 1px solid rgb(255 255 255 / .1); }
.summary dt { color: rgb(255 255 255 / .65); }
.summary dd { margin: 0; font-weight: 750; text-align: right; }
.summary p { color: rgb(255 255 255 / .75); font-size: .9375rem; }
.summary .placeholder { color: rgb(255 255 255 / .6); }

.success { padding: clamp(24px, 4vw, 44px); border-radius: var(--radius-l); background: #fff; box-shadow: var(--shadow-l); }
.success[hidden] { display: none; }
.success .badge-ok { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: var(--volt); color: var(--navy-900); font-weight: 800; margin-bottom: 14px; }
.success h2 { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 12px; }
.success .steps { margin-top: 24px; }
@media (max-width: 980px) {
  .signup { grid-template-columns: 1fr; }
  .summary { position: static; order: -1; }
}
@media (max-width: 600px) {
  .form-row, .form-row--3 { grid-template-columns: 1fr; }
  .turnus-opt { grid-template-columns: auto 1fr; }
  .turnus-opt .price { grid-column: 2; text-align: left; }
}
.signup .err { display: block; font-style: normal; font-size: .8125rem; font-weight: 700; color: #c2410c; }
.signup .err:empty { display: none; }
.signup [aria-invalid="true"] { border-color: #c2410c; }
