/* ==========================================================================
   Stokrotka — dwujęzyczny żłobek i przedszkole
   Styl „Ogród” (A v2): kremowe tło, granat, terakota, słoneczny żółty
   ========================================================================== */

/* ---------- Czcionki (lokalnie, bez Google Fonts) ---------- */
@font-face { font-family: 'Young Serif'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/young-serif-latin-400-normal.woff2') format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Young Serif'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/young-serif-latin-ext-400-normal.woff2') format('woff2'); unicode-range: U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Figtree'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/figtree-latin-400-normal.woff2') format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Figtree'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/figtree-latin-ext-400-normal.woff2') format('woff2'); unicode-range: U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Figtree'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/figtree-latin-500-normal.woff2') format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Figtree'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/figtree-latin-ext-500-normal.woff2') format('woff2'); unicode-range: U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Figtree'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/figtree-latin-600-normal.woff2') format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Figtree'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/figtree-latin-ext-600-normal.woff2') format('woff2'); unicode-range: U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Figtree'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/figtree-latin-700-normal.woff2') format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Figtree'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/figtree-latin-ext-700-normal.woff2') format('woff2'); unicode-range: U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }

:root {
  --cream: #FBF6EC;
  --sand: #F3E9D6;
  --sand-2: #F0E6D2;
  --line: #E6DECB;
  --navy: #1B1F45;
  --navy-2: #2A2F5C;
  --ink-2: #3A3E62;
  --muted: #5A5E80;
  --terra: #C2554A;
  --terra-dark: #A8443A;
  --sun: #FFE14D;
  --sage: #E4EBD6;
  --leaf: #4E7A52;
  --on-dark: #D9DAE8;
  --white: #fff;

  --serif: 'Young Serif', Georgia, serif;
  --sans: 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --wrap: 1320px;
  --gutter: 32px;
  --r-sm: 18px;
  --r-md: 24px;
  --r-lg: 32px;
  --r-xl: 48px;
  --shadow: 0 24px 44px -22px rgba(27, 31, 69, .45);
  --ease: cubic-bezier(.2, .8, .2, 1);
}

/* ---------- Podstawy ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--navy);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--terra); }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; margin: 0; letter-spacing: -.015em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--terra); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--sun); color: var(--navy); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--navy); color: var(--cream); padding: 10px 16px; border-radius: 999px; }
.skip-link:focus { top: 12px; color: var(--cream); }

.container { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: 110px 0; }
.section--top0 { padding-top: 0; }
.section--bottom0 { padding-bottom: 0; }
.section--sand { background: var(--sand); }
.section--sage { background: var(--sage); }

/* ---------- Typografia ---------- */
.display, .h2, .h3 { overflow-wrap: break-word; }
.display { font-size: clamp(42px, 5.4vw, 76px); line-height: 1.04; letter-spacing: -.02em; text-wrap: balance; }
.h2 { font-size: clamp(36px, 4.8vw, 66px); line-height: 1.02; letter-spacing: -.02em; text-wrap: balance; }
.h2--md { font-size: clamp(32px, 4vw, 54px); line-height: 1.06; }
.h3 { font-size: clamp(26px, 2.6vw, 36px); line-height: 1.1; }
.h4 { font-size: 23px; line-height: 1.15; }
.lead { font-size: 19px; line-height: 1.6; color: var(--ink-2); max-width: 560px; text-wrap: pretty; }
.text { font-size: 18px; line-height: 1.65; color: var(--ink-2); max-width: 560px; text-wrap: pretty; }
.small { font-size: 14px; color: var(--muted); }
.hl { color: var(--terra); }
.stack { display: flex; flex-direction: column; gap: 22px; }
.stack--lg { gap: 32px; }
.stack--sm { gap: 12px; }
.center { text-align: center; margin-left: auto; margin-right: auto; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; align-self: flex-start;
  background: var(--sun); color: var(--navy);
  padding: 7px 14px; border-radius: 999px;
  font-size: 13px; font-weight: 700; letter-spacing: .04em;
}
.eyebrow--outline { background: transparent; border: 1.5px solid currentColor; padding: 6px 14px; }
.eyebrow--dark { background: var(--navy); color: var(--sun); }

.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 44px; }
.section-head .h2 { max-width: 820px; }

/* ---------- Przyciski ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 17px 28px; border-radius: 999px; border: 0; background: none;
  font-weight: 600; font-size: 16px; line-height: 1.2; cursor: pointer;
  transition: background .2s, color .2s, transform .2s, border-color .2s;
}
.btn:active { transform: translateY(1px); }
.btn--terra { background: var(--terra); color: #fff; }
.btn--terra:hover { background: var(--navy); color: #fff; }
.btn--navy { background: var(--navy); color: var(--cream); }
.btn--navy:hover { background: var(--terra); color: #fff; }
.btn--sun { background: var(--sun); color: var(--navy); }
.btn--sun:hover { background: var(--terra); color: #fff; }
.btn--outline { border: 1.5px solid var(--navy); padding: 15.5px 26px; }
.btn--outline:hover { background: var(--navy); color: var(--cream); }
.btn--outline-light { border: 1.5px solid var(--cream); color: var(--cream); padding: 15.5px 26px; }
.btn--outline-light:hover { background: var(--cream); color: var(--navy); }
.btn--sm { padding: 12px 20px; font-size: 15px; }
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; }

.link-arrow { display: inline-flex; align-self: flex-start; align-items: center; gap: 10px; font-weight: 600; font-size: 16px; border-bottom: 1.5px solid currentColor; padding-bottom: 3px; }
.link-arrow::after { content: '→'; transition: transform .25s var(--ease); }
.link-arrow:hover::after { transform: translateX(5px); }

/* ---------- Nagłówek ---------- */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(251, 246, 236, .9); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); transition: box-shadow .3s; }
.site-header.is-scrolled { box-shadow: 0 10px 30px -24px rgba(27, 31, 69, .6); }
.site-header__inner { max-width: var(--wrap); margin: 0 auto; padding: 14px var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand:hover { color: var(--navy); }
.brand img { width: 48px; height: 48px; object-fit: contain; transition: transform .6s var(--ease); }
.brand:hover img { transform: rotate(-25deg); }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font-family: var(--serif); font-size: 23px; }
.brand__sub { font-size: 12px; color: var(--muted); }
.nav { display: flex; gap: 20px; font-size: 15px; font-weight: 500; }
.nav a { position: relative; padding: 6px 0; white-space: nowrap; }
.nav a::after { content: ''; position: absolute; left: 50%; bottom: -4px; width: 6px; height: 6px; border-radius: 50%; background: var(--terra); transform: translateX(-50%) scale(0); transition: transform .25s var(--ease); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: translateX(-50%) scale(1); }
.nav a[aria-current="page"] { color: var(--terra); }
.header-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.lang { display: flex; background: var(--sand-2); border-radius: 999px; padding: 4px; }
.lang button { font-size: 13px; font-weight: 700; border: 0; border-radius: 999px; padding: 8px 13px; cursor: pointer; background: transparent; color: var(--navy); transition: background .2s, color .2s; }
.lang button[aria-pressed="true"] { background: var(--navy); color: var(--cream); }
.burger { display: none; width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--navy); background: transparent; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 13px; right: 13px; height: 2px; background: var(--navy); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.burger span:nth-child(1) { top: 17px; }
.burger span:nth-child(2) { top: 23px; }
.burger span:nth-child(3) { top: 29px; }
.menu-open .burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-open .burger span:nth-child(2) { opacity: 0; }
.menu-open .burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-menu { position: fixed; inset: 0; z-index: 35; background: var(--cream); padding: 110px var(--gutter) 40px; display: flex; flex-direction: column; gap: 28px; overflow-y: auto; opacity: 0; visibility: hidden; transform: translateY(-12px); transition: opacity .3s, transform .3s var(--ease), visibility .3s; }
.menu-open .mobile-menu { opacity: 1; visibility: visible; transform: none; }
.mobile-menu nav { display: flex; flex-direction: column; }
.mobile-menu nav a { font-family: var(--serif); font-size: clamp(28px, 7vw, 40px); line-height: 1.1; padding: 10px 0; border-bottom: 1.5px solid var(--line); }
.mobile-menu nav a[aria-current="page"] { color: var(--terra); }
.menu-open { overflow: hidden; }

/* ---------- Hero (strona główna) ---------- */
.hero { padding: 56px 0 40px; }
.hero__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: 56px; align-items: center; }
.hero__copy { display: flex; flex-direction: column; gap: 28px; }
.hero__media { position: relative; height: 540px; }
.hero__main { position: absolute; top: 0; right: 0; bottom: 60px; left: 40px; border-radius: var(--r-lg); overflow: hidden; background: var(--sand); }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.1s ease; }
.slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 7s linear; }
.slide.is-active { opacity: 1; }
.slide.is-active img { transform: scale(1); }
.hero__dots { position: absolute; right: 20px; bottom: 18px; display: flex; gap: 8px; z-index: 2; }
.hero__dots button { width: 10px; height: 10px; border-radius: 999px; border: 0; padding: 0; cursor: pointer; background: rgba(255, 255, 255, .6); transition: width .3s var(--ease), background .3s; }
.hero__dots button[aria-current="true"] { width: 28px; background: #fff; }
.hero__inset { position: absolute; left: 0; bottom: 0; width: 42%; height: 38%; border-radius: var(--r-md); overflow: hidden; border: 6px solid var(--cream); z-index: 3; }
.hero__inset img { width: 100%; height: 100%; object-fit: cover; }
.hero__seal { position: absolute; right: -16px; top: -28px; z-index: 3; pointer-events: none; }
.hero__tag { position: absolute; right: 22px; bottom: 82px; z-index: 3; background: var(--cream); border-radius: 999px; padding: 10px 16px; font-size: 14px; font-weight: 600; box-shadow: var(--shadow); display: flex; align-items: center; gap: 8px; }
.hero__tag::before { content: ''; width: 9px; height: 9px; border-radius: 50%; background: var(--leaf); box-shadow: 0 0 0 4px rgba(78, 122, 82, .2); }

.seal { width: 150px; height: 150px; border-radius: 50%; background: var(--sun); position: relative; box-shadow: 0 18px 40px -18px rgba(27, 31, 69, .5); }
.seal svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 22s linear infinite; }
.seal text { fill: var(--navy); font-family: var(--sans); font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.seal img { position: absolute; left: 40px; top: 40px; width: 70px; height: 70px; object-fit: contain; }
.seal--sm { width: 116px; height: 116px; }
.seal--sm img { left: 31px; top: 31px; width: 54px; height: 54px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Pasek liczb */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 160px), 1fr)); gap: 12px; margin-top: 56px; }
.stat { background: #fff; border-radius: var(--r-md); padding: 24px 26px; display: flex; flex-direction: column; gap: 4px; }
.stat:nth-child(2) { background: var(--sun); }
.stat:nth-child(3) { background: var(--sage); }
.stat:nth-child(4) { background: var(--navy); color: var(--cream); }
.stat__num { font-family: var(--serif); font-size: clamp(40px, 4vw, 54px); line-height: 1; }
.stat__label { font-size: 15px; font-weight: 600; opacity: .85; }

/* ---------- Dwa języki: karty z frazami ---------- */
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: 64px; align-items: start; }
.split--center { align-items: center; }
.sticky-col { position: sticky; top: 110px; }
.phrases { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 14px; }
.phrase { height: 180px; border-radius: var(--r-md); padding: 24px; display: flex; flex-direction: column; justify-content: space-between; background: #fff; color: var(--navy); border: 0; text-align: left; cursor: default; transition: background .3s, color .3s, transform .3s var(--ease); }
.phrase:nth-child(3n+2) { background: var(--sun); }
.phrase__tag { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; opacity: .7; }
.phrase__txt { font-family: var(--serif); font-size: 30px; line-height: 1.08; }
.phrase .en, .phrase.is-flipped .pl { display: none; }
.phrase.is-flipped .en { display: inline; }
.phrase.is-flipped { background: var(--navy); color: var(--cream); transform: rotate(-1.5deg); }

/* ---------- Ciemna sekcja + akordeon ---------- */
.dark { background: var(--navy); color: var(--cream); }
.dark .text, .dark .lead { color: var(--on-dark); }
.dark a:hover { color: var(--sun); }
.acc__item { border-top: 1px solid rgba(251, 246, 236, .22); }
.acc__btn { all: unset; box-sizing: border-box; cursor: pointer; width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 28px 0; }
.acc__btn:focus-visible { outline: 3px solid var(--sun); outline-offset: 4px; }
.acc__title { font-family: var(--serif); font-size: clamp(24px, 3vw, 40px); line-height: 1.12; transition: color .2s; }
.acc__icon { flex: 0 0 52px; height: 52px; border-radius: 50%; border: 1.5px solid currentColor; display: flex; align-items: center; justify-content: center; font-size: 24px; transition: transform .3s var(--ease); }
.acc__item.is-open .acc__title { color: var(--sun); }
.acc__item.is-open .acc__icon { transform: rotate(45deg); }
.acc__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.acc__item.is-open .acc__panel { grid-template-rows: 1fr; }
.acc__inner { overflow: hidden; }
.acc__content { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); gap: 40px; padding-bottom: 40px; }
.acc__content p { font-size: 18px; line-height: 1.65; color: var(--on-dark); max-width: 560px; text-wrap: pretty; }
.acc__content img { width: 100%; height: 300px; object-fit: cover; border-radius: var(--r-md); }
/* jasny wariant (FAQ) */
.acc--light .acc__item { border-top-color: rgba(27, 31, 69, .16); }
.acc--light .acc__item:last-child { border-bottom: 1px solid rgba(27, 31, 69, .16); }
.acc--light .acc__title { font-size: clamp(20px, 2.2vw, 28px); }
.acc--light .acc__icon { flex-basis: 44px; height: 44px; font-size: 20px; }
.acc--light .acc__item.is-open .acc__title { color: var(--terra); }
.acc--light .acc__btn { padding: 22px 0; }
.acc--light .acc__btn:focus-visible { outline-color: var(--terra); }
.acc--light .acc__content { display: block; padding-bottom: 26px; }
.acc--light .acc__content p { color: var(--ink-2); font-size: 17px; max-width: 760px; }

/* ---------- Zajęcia: poziomy akordeon ze zdjęciami ---------- */
.activities { display: flex; gap: 12px; height: 540px; }
.activity { position: relative; border-radius: 28px; overflow: hidden; cursor: pointer; flex: 1 1 0; min-width: 88px; background: var(--sand); transition: flex .5s var(--ease), min-width .5s var(--ease); border: 0; padding: 0; text-align: left; color: #fff; }
.activity.is-active { flex: 5 1 0; min-width: 320px; cursor: default; }
.activity img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.activity.is-active img { transform: scale(1.03); }
.activity__label { position: absolute; inset: 0; padding: 28px; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; background: linear-gradient(180deg, rgba(27, 31, 69, .6), rgba(27, 31, 69, .94)); pointer-events: none; transition: background .4s; }
.activity.is-active .activity__label { top: auto; background: linear-gradient(180deg, rgba(27, 31, 69, 0), rgba(27, 31, 69, .88) 40%); padding-top: 90px; }
.activity__title { font-family: var(--serif); font-size: 22px; line-height: 1.05; white-space: nowrap; writing-mode: vertical-rl; transform: rotate(180deg); max-height: 440px; overflow: hidden; }
.activity.is-active .activity__title { writing-mode: horizontal-tb; transform: none; font-size: 30px; white-space: normal; }
.activity__desc { display: none; font-size: 16px; line-height: 1.45; max-width: 380px; }
.activity.is-active .activity__desc { display: block; animation: fadeUp .5s var(--ease) both .15s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } }

/* ---------- Metoda projektu: żółty blok ---------- */
.sunblock { background: var(--sun); border-radius: var(--r-xl); padding: clamp(32px, 5vw, 72px); display: flex; flex-direction: column; gap: 48px; }
.sunblock__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 48px; }
.proj-list { display: flex; flex-direction: column; margin-top: 8px; }
.proj-list button { all: unset; box-sizing: border-box; cursor: pointer; display: flex; align-items: baseline; gap: 18px; padding: 12px 0; border-bottom: 1.5px solid rgba(27, 31, 69, .2); }
.proj-list button:focus-visible { outline: 3px solid var(--navy); outline-offset: 2px; }
.proj-list__num { font-size: 14px; font-weight: 700; width: 28px; }
.proj-list__name { font-family: var(--serif); font-size: clamp(26px, 3vw, 40px); line-height: 1.15; opacity: .45; transition: transform .3s var(--ease), opacity .3s; }
.proj-list button.is-active .proj-list__name { opacity: 1; transform: translateX(14px); }
.proj-stage { height: 420px; position: relative; }
.proj-stage figure { position: absolute; inset: 0; margin: 0; opacity: 0; transform: rotate(-2deg) scale(.96); transition: opacity .4s, transform .4s var(--ease); }
.proj-stage figure.is-active { opacity: 1; transform: rotate(2deg) scale(1); }
.proj-stage img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--r-lg); }
.proj-desc { font-size: 16px; line-height: 1.55; min-height: 50px; }
.proj-desc p { display: none; }
.proj-desc p.is-active { display: block; animation: fadeUp .4s var(--ease) both; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 140px), 1fr)); gap: 12px; }
.step { background: var(--cream); border-radius: 22px; padding: 22px; display: flex; align-items: center; gap: 14px; }
.step__n { flex: 0 0 38px; height: 38px; border-radius: 50%; background: var(--navy); color: var(--sun); display: flex; align-items: center; justify-content: center; font-family: var(--serif); }
.step__t { font-weight: 600; font-size: 16px; line-height: 1.3; }

/* ---------- Nasz dzień: suwak ---------- */
.day__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 40px; align-items: stretch; }
.day__photos { height: 440px; position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--sand); }
.day__photos > * { position: absolute; inset: 0; opacity: 0; transition: opacity .35s; }
.day__photos > .is-active { opacity: 1; }
.day__photos img { width: 100%; height: 100%; object-fit: cover; }
.day__nap { background: var(--navy); color: var(--cream); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; text-align: center; }
.day__nap svg { width: 140px; height: 140px; }
.day__nap span { font-family: var(--serif); font-size: 30px; }
.day__info { display: flex; flex-direction: column; justify-content: space-between; gap: 28px; }
.day__hour { font-size: 15px; font-weight: 600; color: var(--muted); }
.day__title { font-family: var(--serif); font-size: clamp(30px, 3.4vw, 46px); line-height: 1.08; }
.day__note { font-size: 17px; line-height: 1.6; color: var(--ink-2); max-width: 520px; }
.day__range { width: 100%; height: 28px; cursor: pointer; accent-color: var(--terra); }
.day__scale { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); font-weight: 600; }
.day__bars { display: flex; gap: 4px; }
.day__bars button { all: unset; cursor: pointer; height: 10px; border-radius: 999px; background: var(--line); transition: background .3s; }
.day__bars button.is-past { background: var(--navy); }
.day__bars button.is-active { background: var(--terra); }
.day__bars button:focus-visible { outline: 2px solid var(--terra); outline-offset: 3px; }
.weekdays { display: flex; gap: 6px; flex-wrap: wrap; }
.weekdays button { font-size: 14px; font-weight: 600; padding: 10px 16px; border-radius: 999px; border: 1.5px solid var(--navy); cursor: pointer; background: transparent; color: var(--navy); transition: background .2s, color .2s; }
.weekdays button[aria-pressed="true"] { background: var(--navy); color: var(--cream); }

/* ---------- Wydarzenia (koła) ---------- */
.events { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); gap: 28px; }
.event { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; transition: transform .3s var(--ease); }
.event:hover { transform: translateY(-8px) rotate(-3deg); }
.event__img { width: 160px; height: 160px; border-radius: 50%; overflow: hidden; border: 6px solid var(--cream); box-shadow: 0 14px 30px -16px rgba(27, 31, 69, .4); }
.event__img img { width: 100%; height: 100%; object-fit: cover; }
.event__t { font-family: var(--serif); font-size: 21px; line-height: 1.1; }
.event__d { font-size: 14px; color: var(--muted); margin-top: -8px; }

/* ---------- Pasek zdjęć (marquee) ---------- */
.marquee { overflow: hidden; padding: 8px 0; }
.marquee__track { display: flex; gap: 14px; width: max-content; animation: marquee 60s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track a { flex: 0 0 auto; height: 260px; border-radius: var(--r-md); overflow: hidden; display: block; }
.marquee__track a:nth-child(odd) { transform: rotate(-1.5deg); }
.marquee__track a:nth-child(even) { transform: rotate(1.5deg) translateY(10px); }
.marquee__track img { height: 100%; width: auto; transition: transform .5s var(--ease); }
.marquee__track a:hover img { transform: scale(1.05); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Certyfikaty ---------- */
.certs { display: flex; gap: 28px; justify-content: center; flex-wrap: wrap; }
.cert { all: unset; cursor: zoom-in; display: flex; flex-direction: column; gap: 14px; align-items: center; transition: transform .3s var(--ease); }
.cert:nth-child(1) { transform: rotate(-3deg); }
.cert:nth-child(2) { transform: rotate(3deg); }
.cert:hover, .cert:focus-visible { transform: rotate(0) scale(1.04); }
.cert img { width: 210px; border-radius: 8px; box-shadow: var(--shadow); }
.cert span { font-size: 14px; font-weight: 600; max-width: 210px; text-align: center; line-height: 1.4; }

/* ---------- Formularz / blok kontaktowy ---------- */
.contact-block { background: var(--navy); color: var(--cream); border-radius: var(--r-xl); padding: clamp(32px, 5vw, 72px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 56px; position: relative; overflow: hidden; }
.contact-block__copy { display: flex; flex-direction: column; gap: 22px; position: relative; z-index: 1; }
.contact-block__copy .text { color: var(--on-dark); max-width: 440px; }
.contact-block__deco { position: absolute; left: -70px; bottom: -90px; width: 300px; opacity: .07; filter: brightness(0) invert(1); pointer-events: none; }
.contact-lines { display: flex; flex-direction: column; gap: 8px; margin-top: auto; font-size: 16px; }
.contact-lines a, .contact-lines span { color: var(--sun); }
.form { display: flex; flex-direction: column; gap: 14px; position: relative; z-index: 1; }
.seg { display: flex; gap: 8px; }
.seg button { flex: 1; font-size: 16px; font-weight: 600; padding: 16px; border-radius: var(--r-sm); border: 1.5px solid var(--cream); cursor: pointer; background: transparent; color: var(--cream); transition: background .2s, color .2s; }
.seg button[aria-pressed="true"] { background: var(--cream); color: var(--navy); }
.field { font-family: inherit; font-size: 16px; padding: 18px 20px; border-radius: var(--r-sm); border: 1.5px solid transparent; background: var(--navy-2); color: var(--cream); outline: none; width: 100%; transition: border-color .2s; }
.field::placeholder { color: #A9ABC6; }
.field:focus { border-color: var(--sun); }
textarea.field { min-height: 120px; resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 13px; line-height: 1.5; color: var(--on-dark); cursor: pointer; }
.consent input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--sun); flex-shrink: 0; }
.form .btn { margin-top: 6px; font-size: 17px; font-weight: 700; padding: 18px; }
.thanks { display: none; flex-direction: column; gap: 14px; justify-content: center; position: relative; z-index: 1; }
.thanks__t { font-family: var(--serif); font-size: 40px; color: var(--sun); }
.thanks p { font-size: 18px; line-height: 1.6; color: var(--on-dark); }
.is-sent .form { display: none; }
.is-sent .thanks { display: flex; }

/* CTA (mniejszy pasek) */
.cta-band { background: var(--navy); color: var(--cream); border-radius: var(--r-xl); padding: clamp(32px, 5vw, 64px); display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; position: relative; overflow: hidden; }
.cta-band .h2 { max-width: 720px; position: relative; }
.cta-band .text { color: var(--on-dark); margin-top: 14px; }
.cta-band .btn-row { position: relative; }
.cta-band__deco { position: absolute; right: -50px; top: -60px; width: 240px; opacity: .08; filter: brightness(0) invert(1); pointer-events: none; animation: spin 60s linear infinite; }

/* ---------- Stopka ---------- */
.site-footer { padding: 0 0 40px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; padding: 64px 0 48px; border-top: 1.5px solid var(--line); }
.footer__brand { display: flex; flex-direction: column; gap: 18px; }
.footer__brand p { color: var(--ink-2); font-size: 16px; max-width: 320px; }
.footer__h { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; font-family: var(--sans); }
.footer__list { display: flex; flex-direction: column; gap: 8px; font-size: 16px; }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap; font-size: 14px; color: var(--muted); padding-top: 24px; border-top: 1.5px solid var(--line); }

/* ==========================================================================
   Podstrony
   ========================================================================== */
.page-hero { padding: 56px 0 90px; }
.page-hero__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: 56px; align-items: center; }
.page-hero__copy { display: flex; flex-direction: column; gap: 26px; }
.page-hero__media { position: relative; height: 500px; }
.page-hero__main { position: absolute; top: 0; right: 0; bottom: 50px; left: 50px; border-radius: var(--r-lg); overflow: hidden; }
.page-hero__main img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__inset { position: absolute; left: 0; bottom: 0; width: 40%; height: 40%; border-radius: var(--r-md); overflow: hidden; border: 6px solid var(--cream); }
.page-hero__inset img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__sticker { position: absolute; right: -14px; top: -24px; }
.page-hero--simple { padding-bottom: 40px; }
.page-hero--simple .page-hero__copy { max-width: 900px; }

.jump { display: flex; gap: 8px; flex-wrap: wrap; }
.jump a { padding: 9px 16px; border-radius: 999px; border: 1.5px solid var(--navy); font-size: 14px; font-weight: 600; transition: background .2s, color .2s; }
.jump a:hover { background: var(--navy); color: var(--cream); }

/* Naprzemienne bloki tekst + zdjęcia */
.feature { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 64px; align-items: center; padding: 70px 0; scroll-margin-top: 90px; }
.feature + .feature { border-top: 1.5px solid var(--line); }
.feature--reverse .feature__media { order: 2; }
.feature__copy { display: flex; flex-direction: column; gap: 22px; }
.feature__media { position: relative; height: 480px; }
.feature__media > img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--r-lg); }
.feature__media--duo > img:first-of-type { position: absolute; top: 0; left: 0; width: 72%; height: 82%; }
.feature__media--duo > img:last-of-type { position: absolute; right: 0; bottom: 0; width: 50%; height: 56%; border: 6px solid var(--cream); border-radius: var(--r-md); }
.feature__badge { position: absolute; z-index: 2; left: 20px; bottom: 20px; background: var(--sun); color: var(--navy); border-radius: 999px; padding: 9px 16px; font-size: 14px; font-weight: 700; }
.feature__media--duo .feature__badge { left: 20px; bottom: auto; top: 20px; }

/* Karty */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 14px; }
.cards--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.cards--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
.card { border-radius: var(--r-md); padding: 28px; background: #fff; display: flex; flex-direction: column; gap: 12px; transition: transform .3s var(--ease); }
.card:hover { transform: translateY(-4px); }
.card--sun { background: var(--sun); }
.card--sand { background: var(--sand); }
.card--sage { background: var(--sage); }
.card--navy { background: var(--navy); color: var(--cream); }
.card.card--navy p { color: var(--on-dark); }
.card--terra { background: var(--terra); color: #fff; }
.card.card--terra p { color: #FBE3DF; }
.card__n { font-family: var(--serif); font-size: 15px; width: 38px; height: 38px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--navy); color: var(--sun); }
.card--navy .card__n { background: var(--sun); color: var(--navy); }
.card__t { font-family: var(--serif); font-size: 24px; line-height: 1.12; }
.card p { font-size: 16px; line-height: 1.55; color: var(--ink-2); }
.card__img { margin: -28px -28px 6px; height: 220px; overflow: hidden; border-radius: var(--r-md) var(--r-md) 0 0; }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card:hover .card__img img { transform: scale(1.05); }

/* Listy */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 9px 16px; border-radius: 999px; background: #fff; font-size: 15px; font-weight: 600; }
.chip--sun { background: var(--sun); }
.chip--sage { background: var(--sage); }
.dark .chip { background: var(--navy-2); color: var(--cream); }
.checklist { display: flex; flex-direction: column; gap: 12px; }
.checklist li { display: flex; gap: 14px; align-items: flex-start; font-size: 17px; line-height: 1.5; color: var(--ink-2); }
.checklist li::before { content: ''; flex: 0 0 24px; height: 24px; margin-top: 1px; border-radius: 50%; background: var(--sun) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 12.5l3.2 3.2L17 9' fill='none' stroke='%231B1F45' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat; }
.dark .checklist li { color: var(--on-dark); }

/* Cytat */
.quote { font-family: var(--serif); font-size: clamp(28px, 3.6vw, 48px); line-height: 1.15; max-width: 1000px; text-wrap: balance; }
.quote::before { content: '„'; color: var(--terra); }
.quote::after { content: '”'; color: var(--terra); }

/* Liczby duże */
.bignums { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 40px; }
.bignum { display: flex; flex-direction: column; gap: 8px; padding-top: 22px; border-top: 1.5px solid currentColor; }
.bignum__n { font-family: var(--serif); font-size: clamp(64px, 7vw, 104px); line-height: .95; }
.bignum__t { font-size: 17px; line-height: 1.5; max-width: 260px; }
.dark .bignum { border-top-color: rgba(251, 246, 236, .3); }
.dark .bignum__n { color: var(--sun); }

/* Oś dnia (lista) */
.timeline { display: flex; flex-direction: column; }
.tl-item { display: grid; grid-template-columns: 170px 1fr 220px; gap: 32px; align-items: center; padding: 22px 0; border-top: 1.5px solid var(--line); }
.tl-item:last-child { border-bottom: 1.5px solid var(--line); }
.tl-item__h { font-family: var(--serif); font-size: 26px; line-height: 1.1; }
.tl-item__t { font-size: 20px; font-weight: 600; line-height: 1.35; }
.tl-item__t small { display: block; font-size: 16px; font-weight: 400; color: var(--muted); margin-top: 4px; }
.tl-item__img { height: 120px; border-radius: var(--r-sm); overflow: hidden; background: var(--sand); }
.tl-item__img img { width: 100%; height: 100%; object-fit: cover; }
.tl-item__img--nap { background: var(--navy); display: flex; align-items: center; justify-content: center; }
.tl-item__img--nap svg { width: 72px; height: 72px; }

/* Plan tygodnia */
.week { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.week__day { border-radius: var(--r-md); overflow: hidden; background: #fff; display: flex; flex-direction: column; }
.week__img { height: 200px; overflow: hidden; }
.week__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.week__day:hover .week__img img { transform: scale(1.06); }
.week__body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 4px; }
.week__d { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--terra); }
.week__t { font-family: var(--serif); font-size: 24px; line-height: 1.1; }

/* Projekty (siatka kart) */
.projects { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 14px; }
.project { border-radius: var(--r-lg); overflow: hidden; position: relative; min-height: 380px; display: flex; flex-direction: column; justify-content: flex-end; padding: 28px; color: #fff; isolation: isolate; }
.project > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s var(--ease); }
.project:hover > img { transform: scale(1.05); }
.project::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(27, 31, 69, 0) 30%, rgba(27, 31, 69, .9)); }
.project__t { font-family: var(--serif); font-size: 32px; line-height: 1.05; }
.project p { font-size: 16px; line-height: 1.5; margin-top: 8px; color: #E9EAF3; }
.project__month { position: absolute; top: 22px; left: 22px; background: var(--sun); color: var(--navy); font-size: 13px; font-weight: 700; padding: 6px 12px; border-radius: 999px; }
.project--art { color: var(--navy); }
.project--art::before { display: none; }
.project--art p { color: var(--ink-2); }
.project--art svg { position: absolute; z-index: -1; right: -20px; top: -10px; width: 74%; height: auto; opacity: .95; }
.project--navy { background: var(--navy); color: var(--cream); }
.project--navy p { color: var(--on-dark); }
.project--terra { background: var(--terra); color: #fff; }
.project--terra p { color: #FBE3DF; }
.project--sand { background: var(--sand); }

/* Galeria */
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filters button { font-size: 15px; font-weight: 600; padding: 10px 18px; border-radius: 999px; border: 1.5px solid var(--navy); background: transparent; color: var(--navy); cursor: pointer; transition: background .2s, color .2s; }
.filters button[aria-pressed="true"] { background: var(--navy); color: var(--cream); }
.gallery { columns: 4 260px; column-gap: 14px; }
.gallery__item { display: block; break-inside: avoid; margin-bottom: 14px; border-radius: var(--r-md); overflow: hidden; position: relative; cursor: zoom-in; background: var(--sand); }
.gallery__item img { width: 100%; height: auto; transition: transform .6s var(--ease); }
.gallery__item:hover img { transform: scale(1.04); }
.gallery__cap { position: absolute; left: 12px; bottom: 12px; right: 12px; background: rgba(251, 246, 236, .94); color: var(--navy); font-size: 14px; font-weight: 600; padding: 8px 12px; border-radius: 12px; opacity: 0; transform: translateY(8px); transition: opacity .3s, transform .3s var(--ease); }
.gallery__item:hover .gallery__cap, .gallery__item:focus-visible .gallery__cap { opacity: 1; transform: none; }
.gallery__item[hidden] { display: none; }

/* Plakaty (materiały) */
.posters { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 22px; }
.poster { display: flex; flex-direction: column; gap: 12px; cursor: zoom-in; }
.poster img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: top; border-radius: 12px; box-shadow: var(--shadow); transition: transform .3s var(--ease); }
.poster:hover img { transform: translateY(-6px) rotate(-1.5deg); }
.poster span { font-weight: 600; font-size: 15px; }

/* Kontakt: dane + mapa */
.info-list { display: flex; flex-direction: column; gap: 0; }
.info-list li { display: grid; grid-template-columns: 140px 1fr; gap: 16px; padding: 18px 0; border-top: 1.5px solid var(--line); font-size: 18px; }
.info-list li:last-child { border-bottom: 1.5px solid var(--line); }
.info-list b { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding-top: 4px; }
.map { position: relative; border-radius: var(--r-lg); overflow: hidden; height: 460px; background: var(--sage); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map__placeholder { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; text-align: center; padding: 32px; background:
  radial-gradient(circle at 20% 30%, rgba(255, 225, 77, .5) 0 60px, transparent 61px),
  radial-gradient(circle at 80% 70%, rgba(194, 85, 74, .25) 0 90px, transparent 91px),
  repeating-linear-gradient(45deg, transparent 0 22px, rgba(78, 122, 82, .08) 22px 24px), var(--sage); }
.map__pin { width: 64px; height: 64px; border-radius: 50% 50% 50% 0; background: var(--terra); transform: rotate(-45deg); display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow); }
.map__pin img { width: 40px; transform: rotate(45deg); }

/* Ścieżka rekrutacji */
.path { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 14px; counter-reset: p; }
.path__step { background: #fff; border-radius: var(--r-md); padding: 28px; display: flex; flex-direction: column; gap: 12px; position: relative; }
.path__step::before { counter-increment: p; content: counter(p); font-family: var(--serif); font-size: 64px; line-height: 1; color: var(--terra); }
.path__step:nth-child(2) { background: var(--sun); }
.path__step:nth-child(3) { background: var(--sage); }
.path__step:nth-child(4) { background: var(--navy); color: var(--cream); }
.path__step:nth-child(4)::before { color: var(--sun); }
.path__step:nth-child(4) p { color: var(--on-dark); }
.path__step p { font-size: 16px; line-height: 1.55; color: var(--ink-2); }

/* Grupy wiekowe */
.groups { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 14px; }
.group { border-radius: var(--r-lg); overflow: hidden; display: grid; grid-template-rows: 280px auto; background: #fff; }
.group img { width: 100%; height: 100%; object-fit: cover; }
.group__body { padding: 30px; display: flex; flex-direction: column; gap: 12px; }
.group__age { align-self: flex-start; background: var(--sun); padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 700; }

/* ---------- Opinie rodziców ---------- */
.rating { display: inline-flex; align-items: center; gap: 14px; background: #fff; border-radius: 999px; padding: 10px 22px 10px 12px; box-shadow: 0 14px 30px -20px rgba(27, 31, 69, .45); transition: transform .3s var(--ease); }
.rating:hover { color: var(--navy); transform: translateY(-3px); }
.rating__g { width: 40px; height: 40px; border-radius: 50%; background: var(--cream); display: flex; align-items: center; justify-content: center; }
.rating__num { font-family: var(--serif); font-size: 34px; line-height: 1; }
.rating__meta { display: flex; flex-direction: column; gap: 2px; font-size: 14px; font-weight: 600; color: var(--muted); }
.stars { --p: 100%; font-size: 18px; letter-spacing: 2px; line-height: 1; background: linear-gradient(90deg, #F2A900 var(--p), rgba(27, 31, 69, .18) var(--p)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.reviews { columns: 3 300px; column-gap: 14px; }
.review { break-inside: avoid; margin: 0 0 14px; background: #fff; border-radius: var(--r-md); padding: 30px 28px 26px; display: flex; flex-direction: column; gap: 16px; position: relative; overflow: hidden; }
.review::before { content: '“'; position: absolute; right: 22px; top: 2px; font-family: var(--serif); font-size: 96px; line-height: 1; color: var(--terra); opacity: .14; }
.review--sun { background: var(--sun); }
.review--sun .stars { background: linear-gradient(90deg, var(--navy) var(--p), rgba(27, 31, 69, .2) var(--p)); -webkit-background-clip: text; background-clip: text; }
.review--navy { background: var(--navy); color: var(--cream); }
.review--navy::before { color: var(--sun); opacity: .25; }
.review--navy .review__who small { color: var(--on-dark); }
.review blockquote { margin: 0; font-family: var(--serif); font-size: 21px; line-height: 1.35; text-wrap: pretty; }
.review__who { display: flex; align-items: center; gap: 12px; font-size: 15px; }
.review__who b { display: block; font-weight: 700; }
.review__who small { display: block; font-size: 13px; color: var(--muted); }
.review__avatar { flex: 0 0 42px; height: 42px; border-radius: 50%; background: var(--terra); color: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-size: 18px; }
.review--sun .review__avatar { background: var(--navy); color: var(--sun); }
.review--navy .review__avatar { background: var(--sun); color: var(--navy); }

/* ---------- Social / stopka ---------- */
.social-link { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; align-self: flex-start; }
.social-link svg { color: #1877F2; flex-shrink: 0; }
.dark .social-link svg, .contact-block .social-link svg { color: currentColor; }
.footer__credit { font-weight: 600; color: var(--navy); border-bottom: 1.5px solid var(--sun); }
.footer__credit:hover { border-color: var(--terra); }
.break { overflow-wrap: anywhere; }
.info-list .social-link { font-size: inherit; font-weight: 400; }
.mobile-menu__contact { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; font-weight: 600; }

/* ---------- Formularz: dodatki ---------- */
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.form__note { font-size: 13px; line-height: 1.5; color: var(--on-dark); }
.form__note a, .consent a { color: var(--sun); text-decoration: underline; }
.form__error { font-size: 15px; line-height: 1.5; color: #fff; background: var(--terra); border-radius: 14px; padding: 12px 16px; }

/* ---------- Stopka: linki prawne ---------- */
.footer__legal { display: inline-flex; gap: 18px; flex-wrap: wrap; }
.footer__legal a, .footer__legal button { all: unset; cursor: pointer; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.footer__legal a:hover, .footer__legal button:hover { color: var(--terra); }
.footer__legal button:focus-visible { outline: 3px solid var(--terra); outline-offset: 3px; border-radius: 4px; }

/* ---------- Baner cookies ---------- */
.cookie { position: fixed; left: 20px; bottom: 20px; z-index: 55; width: min(460px, calc(100vw - 40px)); max-height: calc(100vh - 40px); overflow-y: auto; background: #fff; color: var(--navy); border-radius: var(--r-md); padding: 24px; box-shadow: 0 30px 60px -20px rgba(27, 31, 69, .45), 0 0 0 1px rgba(27, 31, 69, .06); display: flex; flex-direction: column; gap: 18px; animation: cookieIn .45s var(--ease) both; }
.cookie[hidden] { display: none; }
@keyframes cookieIn { from { opacity: 0; transform: translateY(16px); } }
.cookie__main { display: flex; gap: 14px; align-items: flex-start; }
.cookie__logo { width: 44px; height: 44px; flex-shrink: 0; }
.cookie__t { font-family: var(--serif); font-size: 21px; line-height: 1.2; margin-bottom: 6px; }
.cookie__d { font-size: 14.5px; line-height: 1.55; color: var(--ink-2); }
.cookie__d a { color: var(--terra); text-decoration: underline; }
.cookie__prefs { display: flex; flex-direction: column; gap: 10px; }
.cookie__prefs[hidden] { display: none; }
.cookie__opt { display: flex; gap: 12px; align-items: flex-start; background: var(--cream); border-radius: 14px; padding: 12px 14px; cursor: pointer; }
.cookie__opt input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--navy); flex-shrink: 0; }
.cookie__opt b { display: block; font-size: 15px; }
.cookie__opt small { display: block; font-size: 13px; color: var(--muted); line-height: 1.45; }
.cookie__btns { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.cookie__btns .btn { flex: 1 1 auto; }
.cookie__btns .btn[hidden] { display: none; }
.cookie__link { all: unset; cursor: pointer; font-size: 14px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; padding: 8px 6px; }
.cookie__link:focus-visible { outline: 3px solid var(--terra); outline-offset: 2px; border-radius: 6px; }

/* ---------- Polityka prywatności ---------- */
.link-btn { all: unset; cursor: pointer; color: var(--terra); text-decoration: underline; text-underline-offset: 3px; }
.link-btn:focus-visible { outline: 3px solid var(--terra); outline-offset: 2px; border-radius: 4px; }
html[lang="en"] .only-pl { display: none !important; }
html:not([lang="en"]) .only-en { display: none !important; }
.legal { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 64px; align-items: start; }
.legal__toc { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 2px; font-size: 15px; border-left: 2px solid var(--line); padding-left: 18px; }
.legal__toc a { padding: 5px 0; color: var(--ink-2); }
.legal__toc a:hover { color: var(--terra); }
.legal__body { max-width: 800px; }
.legal__body h2 { font-size: clamp(26px, 2.6vw, 32px); line-height: 1.15; margin: 52px 0 16px; scroll-margin-top: 96px; }
.legal__body h2:first-child { margin-top: 0; }
.legal__body h3 { font-size: 21px; line-height: 1.2; margin: 30px 0 10px; }
.legal__body p, .legal__body li { font-size: 17px; line-height: 1.7; color: var(--ink-2); }
.legal__body p + p { margin-top: 12px; }
.legal__body ul { list-style: disc; padding-left: 22px; margin: 10px 0 14px; }
.legal__body li + li { margin-top: 6px; }
.legal__body a { color: var(--terra); text-decoration: underline; text-underline-offset: 3px; }
.legal__box { background: #fff; border-radius: var(--r-md); padding: 24px 28px; margin: 6px 0 4px; }
.legal__box p { margin: 0; }
.legal__table-wrap { overflow-x: auto; margin: 14px 0; border-radius: var(--r-sm); background: #fff; }
.legal__table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 560px; }
.legal__table th, .legal__table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--ink-2); }
.legal__table th { font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.legal__table tr:last-child td { border-bottom: 0; }
.legal__table code { font-size: 14px; background: var(--cream); padding: 2px 6px; border-radius: 6px; }
@media (max-width: 900px) {
  .legal { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .legal__toc { position: static; }
}
@media (max-width: 600px) {
  .cookie { left: 10px; right: 10px; bottom: 10px; width: auto; padding: 20px; }
  .cookie__btns .btn { flex: 1 1 100%; }
  .legal__body p, .legal__body li { font-size: 16px; }
}

/* ---------- Filmy (rolki z Facebooka, ładowane po kliknięciu) ---------- */
.reels-wrap { display: flex; flex-direction: column; gap: 18px; margin-top: 56px; }
#filmy .reels-wrap { margin-top: 0; }
.reels-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.reels { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(170px, 19vw, 230px); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 4px 14px; margin: 0 -4px; scrollbar-width: thin; }
.reels--grid { grid-auto-flow: row; grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); overflow: visible; }
@media (max-width: 600px) { .reels--grid { grid-template-columns: 1fr 1fr; gap: 10px; } .reel__t { font-size: 15px; } }
.reel { all: unset; box-sizing: border-box; position: relative; display: block; aspect-ratio: 512 / 833; border-radius: var(--r-md); overflow: hidden; cursor: pointer; background: var(--navy); scroll-snap-align: start; isolation: isolate; }
.reel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s var(--ease); }
.reel::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(27, 31, 69, 0) 55%, rgba(27, 31, 69, .85)); }
.reel:hover img, .reel:focus-visible img { transform: scale(1.05); }
.reel:focus-visible { outline: 3px solid var(--terra); outline-offset: 3px; }
.reel__play { position: absolute; left: 50%; top: 45%; width: 58px; height: 58px; margin: -29px 0 0 -29px; border-radius: 50%; background: rgba(251, 246, 236, .92); box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .5); transition: transform .3s var(--ease), background .3s; }
.reel__play::before { content: ''; position: absolute; left: 23px; top: 18px; border-style: solid; border-width: 11px 0 11px 17px; border-color: transparent transparent transparent var(--navy); }
.reel:hover .reel__play { transform: scale(1.1); background: var(--sun); }
.reel__fb { position: absolute; top: 12px; left: 12px; width: 32px; height: 32px; border-radius: 50%; background: rgba(251, 246, 236, .92); color: #1877F2; display: flex; align-items: center; justify-content: center; }
.reel__fb svg { width: 18px; height: 18px; }
.reel__t { position: absolute; left: 14px; right: 14px; bottom: 14px; color: #fff; font-family: var(--serif); font-size: 18px; line-height: 1.15; }

.vmodal { position: fixed; inset: 0; z-index: 60; background: rgba(27, 31, 69, .94); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 64px 16px 24px; }
.vmodal[hidden] { display: none; }
.vmodal__box { height: min(80vh, 720px); aspect-ratio: 9 / 16; max-width: 100%; background: #000; border-radius: 18px; overflow: hidden; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); }
.vmodal__box iframe { width: 100%; height: 100%; border: 0; display: block; }
.vmodal__link { color: var(--cream); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.vmodal__link:hover { color: var(--sun); }
.vmodal__close { top: 16px; right: 16px; }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 60; background: rgba(27, 31, 69, .92); display: flex; align-items: center; justify-content: center; padding: 64px 80px; opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s; }
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 14px; max-height: 100%; }
.lightbox img { max-height: calc(100vh - 160px); max-width: 100%; width: auto; border-radius: 12px; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); }
.lightbox figcaption { color: var(--cream); font-size: 16px; text-align: center; }
.lightbox__btn { position: absolute; width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid var(--cream); background: transparent; color: var(--cream); font-size: 22px; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background .2s, color .2s; }
.lightbox__btn:hover { background: var(--cream); color: var(--navy); }
.lightbox__close { top: 20px; right: 20px; }
.lightbox__prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 20px; top: 50%; transform: translateY(-50%); }
.lightbox[data-single] .lightbox__prev, .lightbox[data-single] .lightbox__next { display: none; }

/* ---------- Animacje wejścia ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }
.js [data-reveal="2"] { transition-delay: .1s; }
.js [data-reveal="3"] { transition-delay: .2s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .marquee__track { animation: none; }
  .marquee { overflow-x: auto; }
}

/* ==========================================================================
   Responsywność
   ========================================================================== */
@media (max-width: 1300px) {
  .header-cta { display: none; }
}
@media (max-width: 1180px) {
  .nav { display: none; }
  .burger { display: block; }
}
@media (max-width: 1100px) {
  .week { grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  :root { --gutter: 20px; }
  body { font-size: 16px; }
  .section { padding: 80px 0; }
  .hero { padding-top: 28px; }
  .hero__media { height: 440px; }
  .hero__seal { right: -6px; top: -20px; }
  .hero__seal .seal { width: 112px; height: 112px; }
  .hero__seal .seal img { left: 30px; top: 30px; width: 52px; height: 52px; }
  .hero__tag { display: none; }
  .sticky-col { position: static; }
  .activities { flex-direction: column; height: auto; }
  .activity { flex: none; min-width: 0; height: 76px; transition: height .5s var(--ease); }
  .activity.is-active { flex: none; min-width: 0; height: 380px; }
  .activity__label { padding: 20px 24px; justify-content: center; }
  .activity.is-active .activity__label { justify-content: flex-end; }
  .activity__title { writing-mode: horizontal-tb; transform: none; }
  .proj-stage { height: 320px; }
  .day__photos { height: 320px; }
  .page-hero { padding-bottom: 60px; }
  .page-hero__media { height: 400px; }
  .feature { gap: 36px; padding: 50px 0; }
  .feature--reverse .feature__media { order: 0; }
  .feature__media { height: 360px; }
  .tl-item { grid-template-columns: 1fr; gap: 10px; }
  .tl-item__img { height: 180px; order: -1; }
  .lightbox { padding: 70px 12px; }
  .lightbox__prev, .lightbox__next { top: auto; bottom: 14px; transform: none; }
  .lightbox__prev { left: calc(50% - 64px); }
  .lightbox__next { right: calc(50% - 64px); }
  .field-row { grid-template-columns: 1fr; }
  .info-list li { grid-template-columns: 1fr; gap: 4px; }
}
@media (max-width: 600px) {
  .site-header__inner { padding: 10px var(--gutter); gap: 10px; }
  .brand img { width: 40px; height: 40px; }
  .brand__name { font-size: 20px; }
  .brand__sub { display: none; }
  .lang button { padding: 7px 10px; }
  .hero__media { height: 380px; }
  .hero__main { left: 0; bottom: 70px; }
  .hero__inset { width: 46%; height: 34%; }
  .phrase { height: 150px; }
  .phrase__txt { font-size: 26px; }
  .acc__icon { flex-basis: 44px; height: 44px; }
  .acc__content img { height: 220px; }
  .marquee__track a { height: 200px; }
  .page-hero__media { height: 340px; }
  .page-hero__main { left: 0; bottom: 60px; }
  .feature__media { height: 300px; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .event__img { width: 140px; height: 140px; }
  .gallery { columns: 2 140px; column-gap: 10px; }
  .gallery__item { margin-bottom: 10px; border-radius: var(--r-sm); }
  .seg button { padding: 14px 10px; }
  .stats { grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 40px; }
  .stat { padding: 18px; border-radius: var(--r-sm); }
  .stat__num { font-size: 36px; }
  .stat__label { font-size: 13px; }
  .phrases { grid-template-columns: 1fr 1fr; gap: 10px; }
  .phrase { height: 128px; padding: 16px; border-radius: var(--r-sm); }
  .phrase__txt { font-size: 20px; }
  .events { grid-template-columns: 1fr 1fr; gap: 26px 12px; }
  .event__img { width: 124px; height: 124px; border-width: 5px; }
  .event__t { font-size: 18px; }
  .event:hover { transform: none; }
  .certs { gap: 14px; flex-wrap: nowrap; }
  .cert img { width: 100%; max-width: 160px; }
  .cert span { font-size: 12.5px; max-width: 160px; }
  .bignums { grid-template-columns: 1fr 1fr; gap: 28px 16px; }
  .bignum__n { font-size: 52px; }
  .bignum__t { font-size: 15px; }
  .review { padding: 24px 22px 22px; }
  .review blockquote { font-size: 19px; }
  .rating { padding: 8px 18px 8px 10px; }
  .week { grid-template-columns: 1fr 1fr; gap: 10px; }
  .week__img { height: 120px; }
  .week__body { padding: 12px 14px 16px; }
  .week__t { font-size: 19px; }
  .posters { grid-template-columns: 1fr 1fr; gap: 18px 12px; }
  .poster span { font-size: 14px; }
}
@media (max-width: 420px) {
  .display, .h2, .h3 { hyphens: auto; }
  .display { font-size: clamp(32px, 10.2vw, 44px); }
  .h2 { font-size: clamp(30px, 9vw, 40px); }
}
@media (max-width: 360px) {
  .week { grid-template-columns: 1fr; }
}

/* Ekrany dotykowe: większe pola do kliknięcia (min. 24–40 px) */
@media (pointer: coarse) {
  .lang button { min-width: 40px; min-height: 40px; }
  .hero__dots button { position: relative; }
  .hero__dots button::after { content: ''; position: absolute; inset: -10px -4px; }
  .day__bars button { position: relative; }
  .day__bars button::after { content: ''; position: absolute; inset: -14px 0; }
  .footer__list a, .footer__credit, .contact-lines a { display: inline-block; padding: 6px 0; }
  .social-link { padding: 6px 0; }
  .link-arrow { padding-top: 8px; }
}
