/* Układ „Pełna szerokość” – ładowany po main.css, gdy w panelu wybrano ten układ.
   Inspiracja: duże zdjęcie na cały ekran, lekki krój Mulish, sekcje jasne/ciemne na całą szerokość.
   Kolory oparte na logo: niebieski #5170FF, granat; przyciski #4259EE (biały tekst 5,4:1). */

@font-face { font-family: "Mulish"; font-style: normal; font-weight: 200 1000; font-display: swap;
  src: url("../fonts/mulish-latin-ext-wght-normal.woff2") format("woff2-variations"), url("../fonts/mulish-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, 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: "Mulish"; font-style: normal; font-weight: 200 1000; font-display: swap;
  src: url("../fonts/mulish-latin-wght-normal.woff2") format("woff2-variations"), url("../fonts/mulish-latin-wght-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+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ---------- Kolory: jasny ---------- */
:root {
  --bg: #F2F3FB;
  --surface: #F2F3FB;
  --card: #FFFFFF;
  --surface-2: #E6E9FB;
  --border: #DDE0F2;
  --text: #13112B;
  --muted: #55586F;
  --accent: #4259EE;
  --accent-text: #FFFFFF;
  --brand: #5170FF;
  --link: #4259EE;
  --chip-bg: #E6E9FB;
  --chip-text: #3247D6;
  --placeholder: #E1E4F7;
  --dark-bg: #0C0A24; --support-bg: #0C0A24;
  --dark-surface: #17153A;
  --on-dark-muted: #BDC0DA;
  --on-dark-accent: #A9B6FF;
  --display: "Mulish", system-ui, sans-serif;
  --body: "Mulish", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 16px;
  /* Marginesy jak na planqc.eu:
     --edge   – nagłówek i stopka, logo i menu blisko krawędzi ekranu (16–32 px),
     --margin – treść, od 20 px na telefonie do 80 px; kolumna treści max 1652 px minus marginesy (1492 px; przy 1920 px treść zaczyna się 214 px od krawędzi), wyśrodkowana. */
  --edge: clamp(16px, 3.333vw, 32px);
  --margin: clamp(20px, calc(6.07vw - 9.15px), 80px);
  --gutter: var(--margin);
}

/* ---------- Kolory: ciemny ---------- */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0C0A24; --surface: #100E2C; --card: #17153A; --surface-2: #221F4D; --border: #2E2B5E;
    --text: #F2F3FB; --muted: #C9CCE4; --accent: #8FA2FF; --accent-text: #0C0A24; --link: #A9B6FF;
    --chip-bg: #221F4D; --chip-text: #B8C3FF; --placeholder: #221F4D; --dark-bg: #07061A; --dark-surface: #17153A; --support-bg: #17153A;
  }
}
:root[data-theme="dark"] {
  --bg: #0C0A24; --surface: #100E2C; --card: #17153A; --surface-2: #221F4D; --border: #2E2B5E;
  --text: #F2F3FB; --muted: #C9CCE4; --accent: #8FA2FF; --accent-text: #0C0A24; --link: #A9B6FF;
  --chip-bg: #221F4D; --chip-text: #B8C3FF; --placeholder: #221F4D; --dark-bg: #07061A; --dark-surface: #17153A; --support-bg: #17153A;
}

/* ---------- Typografia ---------- */
body { font-size: 18px; font-weight: 400; line-height: 1.6; }
.display { font-weight: 300; letter-spacing: -0.02em; line-height: 1.05; text-transform: none; }
h1.display { font-size: clamp(44px, 6vw, 88px); }
h2.display { font-size: clamp(34px, 4vw, 56px); }
.display--xl { font-size: clamp(40px, 5vw, 72px); }
.card h3, .class-card__title, .event-card__body h3 { font-weight: 600; letter-spacing: -0.01em; }
.eyebrow { letter-spacing: 0.06em; font-weight: 700; font-size: 13px; }
.lead { font-size: 20px; font-weight: 400; }
.date-badge b, .list-row b, .stats strong, .schedule__day { font-weight: 300; letter-spacing: -0.02em; }
.date-badge b { font-size: 28px; }
.list-row b { font-size: 22px; }
.schedule__day { font-size: 22px; }

/* ---------- Pełna szerokość ---------- */
.wrap { max-width: none; width: min(100%, calc(min(1652px, 100vw) - 2 * var(--margin))); padding-left: 0; padding-right: 0; }
.site-header > .wrap, .site-footer > .wrap { width: calc(100% - 2 * var(--edge)); }
.section { padding: clamp(56px, 7vw, 112px) 0; }
.section--surface { background: var(--card); }
.grid { gap: 24px; }

/* ---------- Przyciski ---------- */
.btn { border-radius: 12px; min-height: 52px; padding: 14px 24px; font-weight: 600; }
.btn--primary:hover { filter: none; background: #5170FF; }
.btn--outline { border-width: 1.5px; }

/* ---------- Karty ---------- */
.card, .event-card, .class-card, .facts, .schedule__item, .poster { border-radius: var(--radius); }
a.card:hover, a.event-card:hover, a.class-card:hover { border-color: var(--brand); box-shadow: 0 8px 24px rgba(66, 89, 238, 0.12); }

/* ---------- Nagłówek nad zdjęciem (strona główna) ---------- */
.has-hero .site-header { position: absolute; top: 0; left: 0; right: 0; background: transparent; border-bottom: 0; }
.has-hero .site-header .logo-light { display: none; }
.has-hero .site-header .logo-dark { display: block; }
.has-hero .nav a:not(.btn) { color: #FFFFFF; }
.has-hero .nav a:not(.btn):hover { background: rgba(255, 255, 255, 0.1); }
.has-hero .icon-btn { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.2); color: #FFFFFF; }
@media (max-width: 1180px) {
  .has-hero .nav { background: #0C0A24; border-bottom-color: #2E2B5E; }
}

/* ---------- Powitanie na cały ekran ---------- */
.hero-wide { position: relative; overflow: hidden; min-height: min(100vh, 960px); display: flex; background: #0C0A24; color: #FFFFFF; }
.hero-wide__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-wide__wave { position: absolute; right: -4%; top: 50%; width: 70%; transform: translateY(-50%); opacity: 0.55; }
.hero-wide__wave svg { width: 100%; height: auto; fill: #5170FF; }
.hero-wide__shade { position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(12, 10, 36, 0.92) 0%, rgba(12, 10, 36, 0.78) 42%, rgba(12, 10, 36, 0.2) 100%),
    linear-gradient(0deg, rgba(12, 10, 36, 0.95) 0%, rgba(12, 10, 36, 0) 45%); }
.hero-wide__inner { position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 48px; padding-top: 140px; padding-bottom: 40px; }
.hero-wide__text { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; max-width: 760px; }
.hero-wide__badge { padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.2); font-size: 14px; font-weight: 600; color: #FFFFFF; }
.hero-wide__title { margin: 0; font-family: var(--display); font-weight: 300; font-size: clamp(48px, 6.4vw, 96px); line-height: 1.02; letter-spacing: -0.025em; color: #FFFFFF; }
.hero-wide__title .dot { color: #F0656A; }
.hero-wide__lead { margin: 0; font-size: clamp(18px, 1.6vw, 22px); line-height: 1.55; color: #D8DAF0; max-width: 620px; }
.hero-wide__stats { margin-top: 8px; }

.hero-wide__strip { display: flex; flex-direction: column; gap: 14px; }
.hero-wide__strip-title { margin: 0; font-size: 18px; font-weight: 500; color: #FFFFFF; }
.chips { list-style: none; margin: 0; padding: 0 0 8px; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(240px, 280px); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, 0.3) transparent; }
.chips li { scroll-snap-align: start; }
.chip-card { display: flex; flex-direction: column; gap: 8px; height: 100%; box-sizing: border-box; padding: 18px 20px; border-radius: 16px; background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.12); color: #FFFFFF; text-decoration: none; backdrop-filter: blur(6px); }
.chip-card:hover { background: rgba(255, 255, 255, 0.13); color: #FFFFFF; }
.chip-card__meta { font-size: 13px; font-weight: 600; color: #A9B6FF; }
.chip-card__title { font-size: 17px; font-weight: 500; line-height: 1.35; }

/* ---------- Sekcje ciemne ---------- */
.section--dark { background: var(--dark-bg); }
.feature__main { background: linear-gradient(135deg, #4259EE 0%, #2A35B8 100%); }
/* Wesprzyj – wyśrodkowany boks (jak „Join us on our mission” na planqc.eu) */
:root body.v-wide .support {
  border: 0; border-radius: 24px;
  padding: clamp(48px, 6vw, 96px) clamp(24px, 4vw, 64px);
  flex-direction: column; justify-content: center; align-items: center; gap: 24px;
  text-align: center;
  background: var(--support-bg);
}
:root body.v-wide .support > div:first-child { flex: 0 1 auto; max-width: 720px; align-items: center; }
:root body.v-wide .support p { color: #E2E4F6; font-size: clamp(17px, 1.2vw, 19px); line-height: 1.6; }
:root body.v-wide .support .buttons { justify-content: center; }
:root body.v-wide .support .btn { min-height: 52px; padding: 14px 28px; font-size: 18px; }

/* ---------- Stopka ---------- */
.site-footer { background: #07061A; }

/* ---------- Menu górne: większa czcionka ---------- */
.nav { gap: 4px; }
.nav a:not(.btn) { font-size: clamp(17px, 1.3vw, 19px); font-weight: 500; padding: 12px 14px; }
.nav .btn { font-size: clamp(17px, 1.2vw, 18px); }
@media (max-width: 1180px) {
  .nav a:not(.btn) { font-size: 20px; padding: 14px 8px; }
  .nav .btn { font-size: 18px; }
}
