/* =========================================================================
   HIPNOZA4YOU — STYLE.CSS
   Deep Sanctum · XXII-wieczny neuro-design
   Author: Hipnoza4You Dev
   License: All Rights Reserved © 2026

   SPIS SEKCJI
   ───────────────────────────────────────────────────────────────
   01. TOKENY — CSS Custom Properties (kolory, typografia, spacing, motion)
   02. RESET + BASE (modern reset, scrollbar, selection)
   03. TYPOGRAFIA (h1–h6, p, em, strong, a, lists, code)
   04. UTILITIES (container, grid, visually-hidden, eyebrow)
   05. SKIP LINK + FOCUS
   06. BUTTONS (primary, gold, emerald, ghost, sizes, block)
   07. FORMS (field, input, select, textarea, checkbox)
   08. HEADER + NAVIGATION (sticky, glassy, mobile toggle)
   09. HERO (orbs, aurora, glass card, trust bar, scroll hint)
   10. SECTION HEADS (eyebrow, title, lede, split variant)
   11. INTRO / FACT CARDS
   12. SCHOOL / FUNDING PILLARS
   13. COURSE CARDS (+ ribbon, feature variant)
   14. FUNDING HELP (split form)
   15. SESSION CARDS
   16. METHOD STEPS
   17. PRICING CARDS (+ gold, feature ribbons, amount formatting)
   18. TESTIMONIALS (editorial)
   19. FAQ ACCORDION (details/summary, animated icon)
   20. BOOKING SYSTEM (steps indicator, service tiles, calendar, panels, summary)
   21. CONTACT GRID
   22. FOOTER
   23. ANIMATIONS (data-reveal, keyframes)
   24. RESPONSIVE (media queries)
   25. A11Y (reduced-motion, high-contrast, print)
   ========================================================================= */


/* =========================================================================
   01. TOKENY — CSS Custom Properties
   ========================================================================= */
:root {
  /* ── BARWY: Deep Sanctum palette ─────────────────────────────── */
  --c-void:           #050714;
  --c-navy:           #0A0E27;
  --c-navy-2:         #0E1330;
  --c-midnight:       #150D2E;
  --c-deep-violet:    #221544;
  --c-violet:         #3B2471;
  --c-violet-glow:    rgba(88, 52, 168, 0.28);

  --c-emerald-deep:   #0A5A52;
  --c-emerald:        #0F766E;
  --c-emerald-bright: #10B981;
  --c-emerald-glow:   rgba(16, 185, 129, 0.26);

  --c-gold-deep:      #8B6F35;
  --c-gold:           #C9A961;
  --c-gold-bright:    #E4C678;
  --c-gold-soft:      #F4E5B2;
  --c-gold-glow:      rgba(201, 169, 97, 0.22);

  --c-ivory:          #F5F1E8;
  --c-pearl:          #E6E0D1;
  --c-mist:           #B1BCD2;
  --c-fog:            #7C8BA8;
  --c-ash:            #4C5873;

  --c-ink:            #0A0E27;

  /* ── SEMANTYKA ───────────────────────────────────────────────── */
  --bg:               var(--c-navy);
  --bg-2:             var(--c-navy-2);
  --bg-deep:          var(--c-void);
  --text:             var(--c-ivory);
  --text-muted:       var(--c-mist);
  --text-subtle:      var(--c-fog);
  --accent:           var(--c-gold);
  --accent-2:         var(--c-emerald-bright);

  /* ── GLASS (glassmorphism) ───────────────────────────────────── */
  --glass-bg:         rgba(255, 255, 255, 0.035);
  --glass-bg-strong:  rgba(255, 255, 255, 0.06);
  --glass-bg-gold:    rgba(201, 169, 97, 0.07);
  --glass-border:     rgba(255, 255, 255, 0.09);
  --glass-border-g:   rgba(201, 169, 97, 0.28);
  --glass-highlight:  rgba(255, 255, 255, 0.14);
  --glass-blur:       22px;

  /* ── GRADIENTY ───────────────────────────────────────────────── */
  --grad-aurora:
    radial-gradient(ellipse 60% 60% at 18% 10%, rgba(59, 36, 113, 0.55) 0%, transparent 55%),
    radial-gradient(ellipse 50% 50% at 85% 20%, rgba(15, 118, 110, 0.28) 0%, transparent 60%),
    radial-gradient(ellipse 70% 60% at 50% 95%, rgba(201, 169, 97, 0.14) 0%, transparent 65%);
  --grad-gold:        linear-gradient(135deg, var(--c-gold) 0%, var(--c-gold-bright) 45%, var(--c-gold-deep) 100%);
  --grad-emerald:     linear-gradient(135deg, var(--c-emerald) 0%, var(--c-emerald-bright) 100%);
  --grad-violet:      linear-gradient(140deg, var(--c-violet) 0%, var(--c-deep-violet) 60%, var(--c-navy) 100%);

  /* ── TYPOGRAFIA ──────────────────────────────────────────────── */
  --f-display:        'Cormorant Garamond', 'Playfair Display', 'Georgia', serif;
  --f-body:           'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --f-mono:           'JetBrains Mono', 'SF Mono', Menlo, monospace;

  --fs-xs:            0.75rem;
  --fs-sm:            0.8125rem;
  --fs-base:          1rem;
  --fs-md:            1.0625rem;
  --fs-lg:            1.1875rem;
  --fs-xl:            clamp(1.25rem, 1.4vw + 0.8rem, 1.5rem);
  --fs-2xl:           clamp(1.625rem, 2vw + 1rem, 2.25rem);
  --fs-3xl:           clamp(2.25rem, 3vw + 1rem, 3.25rem);
  --fs-4xl:           clamp(2.75rem, 4vw + 1rem, 4.5rem);
  --fs-hero:          clamp(2.75rem, 5.2vw + 1rem, 5.75rem);

  --lh-tight:         1.1;
  --lh-snug:          1.25;
  --lh-normal:        1.55;
  --lh-relaxed:       1.7;

  --ls-tight:         -0.02em;
  --ls-normal:        0;
  --ls-wide:          0.02em;
  --ls-wider:         0.12em;
  --ls-widest:        0.22em;

  /* ── SPACING (scala oparta na 4px) ───────────────────────────── */
  --s-1:   0.25rem;
  --s-2:   0.5rem;
  --s-3:   0.75rem;
  --s-4:   1rem;
  --s-5:   1.25rem;
  --s-6:   1.5rem;
  --s-7:   1.75rem;
  --s-8:   2rem;
  --s-10:  2.5rem;
  --s-12:  3rem;
  --s-14:  3.5rem;
  --s-16:  4rem;
  --s-20:  5rem;
  --s-24:  6rem;
  --s-28:  7rem;
  --s-32:  8rem;
  --s-40: 10rem;

  --section-y:        clamp(4rem, 8vw, 8rem);

  /* ── RADII ───────────────────────────────────────────────────── */
  --r-xs:   4px;
  --r-sm:   8px;
  --r-md:   14px;
  --r-lg:   22px;
  --r-xl:   30px;
  --r-2xl:  40px;
  --r-full: 999px;

  /* ── CIENIE ──────────────────────────────────────────────────── */
  --sh-xs:      0 1px 2px rgba(0, 0, 0, 0.3);
  --sh-sm:      0 2px 8px rgba(0, 0, 0, 0.25);
  --sh-md:      0 10px 28px rgba(0, 0, 0, 0.35), 0 2px 6px rgba(0, 0, 0, 0.25);
  --sh-lg:      0 28px 60px rgba(0, 0, 0, 0.45), 0 4px 14px rgba(0, 0, 0, 0.3);
  --sh-xl:      0 40px 90px -12px rgba(0, 0, 0, 0.55);
  --sh-inset:   inset 0 1px 0 rgba(255, 255, 255, 0.06);
  --sh-gold:    0 24px 50px -16px rgba(201, 169, 97, 0.4), 0 0 0 1px rgba(201, 169, 97, 0.3);
  --sh-emerald: 0 24px 50px -16px rgba(16, 185, 129, 0.45), 0 0 0 1px rgba(16, 185, 129, 0.2);
  --sh-violet:  0 24px 50px -16px rgba(88, 52, 168, 0.5);

  /* ── MOTION ──────────────────────────────────────────────────── */
  --ease-out:     cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out:  cubic-bezier(0.65, 0, 0.35, 1);
  --ease-spring:  cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-soft:    cubic-bezier(0.4, 0, 0.2, 1);

  --t-xs:    120ms;
  --t-fast:  200ms;
  --t-base:  340ms;
  --t-slow:  600ms;
  --t-xslow: 900ms;

  /* ── LAYOUT ──────────────────────────────────────────────────── */
  --container:        1280px;
  --container-narrow: 860px;
  --header-h:         80px;
  --header-h-mobile:  68px;

  /* ── Z-INDEX ─────────────────────────────────────────────────── */
  --z-base:    1;
  --z-header:  50;
  --z-modal:   100;
  --z-toast:   200;
  --z-skip:    1000;
}


/* =========================================================================
   02. RESET + BASE
   ========================================================================= */
*, *::before, *::after { box-sizing: border-box; }

* { margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-rendering: optimizeLegibility;
  font-feature-settings: 'kern', 'liga', 'clig', 'calt';
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

body {
  min-height: 100vh;
  min-height: 100dvh;
  font-family: var(--f-body);
  font-size: var(--fs-md);
  line-height: var(--lh-normal);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
  isolation: isolate;
}

/* Tło strony — aurora + ziarno */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: var(--grad-aurora);
  z-index: -2;
  pointer-events: none;
  opacity: 0.85;
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 3px 3px;
  z-index: -1;
  pointer-events: none;
  opacity: 0.4;
  mix-blend-mode: overlay;
}

img, svg, video { max-width: 100%; height: auto; display: block; }

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

button { background: none; border: 0; cursor: pointer; }

a { color: inherit; text-decoration: none; }

ul, ol { list-style: none; }

/* Selekcja tekstu */
::selection { background: var(--c-gold); color: var(--c-ink); }

/* Scrollbar — subtelny, złoty */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--c-navy); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(var(--c-gold-deep), var(--c-gold));
  border-radius: var(--r-full);
  border: 2px solid var(--c-navy);
}
::-webkit-scrollbar-thumb:hover { background: var(--c-gold); }


/* =========================================================================
   03. TYPOGRAFIA
   ========================================================================= */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--f-display);
  font-weight: 500;
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-tight);
  color: var(--text);
}

h1 { font-size: var(--fs-hero); font-weight: 400; }
h2 { font-size: var(--fs-4xl); font-weight: 400; }
h3 { font-size: var(--fs-2xl); font-weight: 500; }
h4 { font-size: var(--fs-xl); font-weight: 500; }
h5 { font-size: var(--fs-lg); font-weight: 500; }
h6 { font-size: var(--fs-base); font-weight: 600; text-transform: uppercase; letter-spacing: var(--ls-wider); }

h1 em, h2 em, h3 em {
  font-style: italic;
  font-weight: 300;
  color: var(--c-gold-bright);
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  padding-right: 0.04em;
}

p { font-size: var(--fs-md); line-height: var(--lh-relaxed); color: var(--text); }

p strong { color: var(--c-ivory); font-weight: 600; }

a:not(.btn) {
  color: var(--c-gold-bright);
  transition: color var(--t-fast) var(--ease-out), text-decoration-color var(--t-fast) var(--ease-out);
  text-decoration: underline;
  text-decoration-color: rgba(201, 169, 97, 0.3);
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
a:not(.btn):hover { color: var(--c-gold-soft); text-decoration-color: var(--c-gold-soft); }

address {
  font-style: normal;
  line-height: var(--lh-relaxed);
  color: var(--text-muted);
}

blockquote {
  font-family: var(--f-display);
  font-size: var(--fs-xl);
  font-style: italic;
  font-weight: 400;
  line-height: var(--lh-snug);
  color: var(--c-pearl);
}


/* =========================================================================
   04. UTILITIES
   ========================================================================= */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}
.container--narrow { max-width: var(--container-narrow); }

.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;
}

.grid { display: grid; gap: var(--s-8); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.section {
  position: relative;
  padding-block: var(--section-y);
  scroll-margin-top: var(--header-h);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-family: var(--f-mono);
  font-size: var(--fs-xs);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: var(--ls-widest);
  color: var(--c-mist);
  margin-bottom: var(--s-5);
}
.eyebrow__dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--c-emerald-bright);
  box-shadow: 0 0 0 4px rgba(16,185,129,0.15), 0 0 12px rgba(16,185,129,0.6);
  animation: pulse-dot 2.6s var(--ease-out) infinite;
}
.eyebrow--gold { color: var(--c-gold-bright); }


/* =========================================================================
   05. SKIP LINK + FOCUS
   ========================================================================= */
.skip-link {
  position: absolute;
  top: 0; left: 50%;
  transform: translate(-50%, -120%);
  background: var(--c-gold);
  color: var(--c-ink);
  padding: var(--s-3) var(--s-5);
  border-radius: 0 0 var(--r-md) var(--r-md);
  z-index: var(--z-skip);
  font-weight: 600;
  font-size: var(--fs-sm);
  transition: transform var(--t-fast) var(--ease-out);
  text-decoration: none;
}
.skip-link:focus { transform: translate(-50%, 0); outline: none; }

:focus-visible {
  outline: 2px solid var(--c-gold-bright);
  outline-offset: 3px;
  border-radius: var(--r-xs);
}


/* =========================================================================
   06. BUTTONS
   ========================================================================= */
.btn {
  --btn-pad-y: 0.95rem;
  --btn-pad-x: 1.6rem;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  padding: var(--btn-pad-y) var(--btn-pad-x);
  font-family: var(--f-body);
  font-size: var(--fs-sm);
  font-weight: 500;
  letter-spacing: var(--ls-wide);
  line-height: 1;
  border-radius: var(--r-full);
  cursor: pointer;
  border: 1px solid transparent;
  transition:
    transform var(--t-base) var(--ease-spring),
    background var(--t-base) var(--ease-out),
    box-shadow var(--t-base) var(--ease-out),
    color var(--t-fast) var(--ease-out),
    border-color var(--t-fast) var(--ease-out);
  white-space: nowrap;
  isolation: isolate;
  overflow: hidden;
  text-decoration: none;
}

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn__arrow {
  display: inline-block;
  transition: transform var(--t-fast) var(--ease-out);
}
.btn:hover .btn__arrow { transform: translateX(4px); }

/* Rozmiary */
.btn--sm { --btn-pad-y: 0.7rem; --btn-pad-x: 1.15rem; font-size: var(--fs-xs); }
.btn--lg { --btn-pad-y: 1.15rem; --btn-pad-x: 2rem; font-size: var(--fs-base); }
.btn--block { width: 100%; }

/* Wariant primary — emerald */
.btn--primary {
  background: var(--grad-emerald);
  color: var(--c-ivory);
  box-shadow: var(--sh-emerald);
}
.btn--primary::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.2), transparent 50%);
  opacity: 0;
  transition: opacity var(--t-base) var(--ease-out);
  z-index: -1;
}
.btn--primary:hover::before { opacity: 1; }
.btn--primary:hover {
  box-shadow: 0 30px 60px -16px rgba(16,185,129,0.55), 0 0 0 1px rgba(16,185,129,0.4);
}

/* Wariant gold */
.btn--gold {
  background: var(--grad-gold);
  color: var(--c-ink);
  box-shadow: var(--sh-gold);
  font-weight: 600;
}
.btn--gold::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,0.4) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform var(--t-slow) var(--ease-out);
  z-index: -1;
}
.btn--gold:hover::before { transform: translateX(100%); }
.btn--gold:hover {
  box-shadow: 0 30px 60px -16px rgba(201,169,97,0.55), 0 0 0 1px rgba(228,198,120,0.4);
}

/* Wariant emerald outline */
.btn--emerald {
  background: rgba(16, 185, 129, 0.08);
  color: var(--c-emerald-bright);
  border-color: rgba(16, 185, 129, 0.4);
  backdrop-filter: blur(10px);
}
.btn--emerald:hover {
  background: rgba(16, 185, 129, 0.14);
  border-color: var(--c-emerald-bright);
  box-shadow: 0 14px 30px -14px rgba(16, 185, 129, 0.5);
}

/* Wariant ghost — szklany, dyskretny */
.btn--ghost {
  background: var(--glass-bg);
  color: var(--text);
  border-color: var(--glass-border);
  backdrop-filter: blur(10px);
}
.btn--ghost:hover {
  background: var(--glass-bg-strong);
  border-color: rgba(255,255,255,0.2);
  color: var(--c-gold-bright);
}


/* =========================================================================
   07. FORMS
   ========================================================================= */
.field {
  display: block;
  margin-bottom: var(--s-4);
}

.field__label {
  display: block;
  font-family: var(--f-mono);
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: var(--ls-wider);
  color: var(--text-muted);
  margin-bottom: var(--s-2);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.95rem 1.1rem;
  font-family: var(--f-body);
  font-size: var(--fs-base);
  color: var(--text);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-md);
  transition:
    background var(--t-fast) var(--ease-out),
    border-color var(--t-fast) var(--ease-out),
    box-shadow var(--t-fast) var(--ease-out);
  outline: none;
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--c-fog);
}

.field input:hover,
.field select:hover,
.field textarea:hover {
  border-color: rgba(255,255,255,0.18);
  background: var(--glass-bg-strong);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--c-gold);
  background: var(--glass-bg-strong);
  box-shadow: 0 0 0 4px rgba(201, 169, 97, 0.15);
}

.field textarea { resize: vertical; min-height: 90px; line-height: var(--lh-normal); }

.field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23C9A961' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat: no-repeat;
  background-position: right 1.1rem center;
  padding-right: 3rem;
}

.field select option { background: var(--c-navy); color: var(--text); }

.field--consent {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--s-3);
  align-items: flex-start;
  padding: var(--s-3) 0;
  cursor: pointer;
}
.field--consent input[type="checkbox"] {
  width: 1.15rem; height: 1.15rem;
  margin-top: 2px;
  accent-color: var(--c-gold);
  cursor: pointer;
}
.field--consent span {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  line-height: var(--lh-snug);
}

.form__note {
  font-size: var(--fs-xs);
  color: var(--c-fog);
  margin-top: var(--s-3);
  text-align: center;
  font-family: var(--f-mono);
  letter-spacing: var(--ls-wide);
}


/* =========================================================================
   08. HEADER + NAVIGATION
   ========================================================================= */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: var(--z-header);
  height: var(--header-h);
  background: rgba(10, 14, 39, 0.55);
  backdrop-filter: blur(var(--glass-blur)) saturate(1.2);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(1.2);
  border-bottom: 1px solid transparent;
  transition:
    background var(--t-base) var(--ease-out),
    border-color var(--t-base) var(--ease-out),
    height var(--t-base) var(--ease-out);
}
.site-header.is-scrolled {
  background: rgba(10, 14, 39, 0.85);
  border-bottom-color: var(--glass-border);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.header__wrap {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--s-3);
  text-decoration: none;
  transition: transform var(--t-fast) var(--ease-spring);
}
.brand:hover { transform: scale(1.02); }

.brand__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  font-family: var(--f-display);
  font-size: 1.5rem;
  color: var(--c-gold);
  background: var(--glass-bg-strong);
  border: 1px solid var(--glass-border-g);
  border-radius: 50%;
  box-shadow: inset 0 0 20px rgba(201, 169, 97, 0.1);
  transition: transform var(--t-slow) var(--ease-out);
}
.brand:hover .brand__mark { transform: rotate(180deg); }

.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name {
  font-family: var(--f-display);
  font-size: var(--fs-lg);
  font-weight: 500;
  letter-spacing: var(--ls-tight);
  color: var(--c-ivory);
}
.brand__name em {
  font-style: italic;
  color: var(--c-gold);
  font-weight: 400;
}
.brand__tag {
  font-family: var(--f-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: var(--ls-widest);
  color: var(--c-fog);
  margin-top: 4px;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: var(--s-6);
}
.nav__link {
  position: relative;
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  letter-spacing: var(--ls-wide);
  padding: 0.5rem 0;
  transition: color var(--t-fast) var(--ease-out);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  height: 1px; width: 0;
  background: var(--c-gold);
  transition: width var(--t-base) var(--ease-out);
}
.nav__link:hover,
.nav__link.is-active {
  color: var(--c-ivory);
}
.nav__link:hover::after,
.nav__link.is-active::after {
  width: 100%;
}

.header__cta {
  display: flex;
  align-items: center;
  gap: var(--s-2);
}

/* Toggle mobilny */
.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  flex-direction: column;
  gap: 6px;
  justify-content: center;
  align-items: center;
  border-radius: var(--r-full);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  transition: background var(--t-fast) var(--ease-out);
}
.nav-toggle:hover { background: var(--glass-bg-strong); }
.nav-toggle__bar {
  width: 18px; height: 1.5px;
  background: var(--c-ivory);
  border-radius: 2px;
  transition: transform var(--t-base) var(--ease-out), opacity var(--t-fast) var(--ease-out);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}


/* =========================================================================
   09. HERO
   ========================================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  padding-top: calc(var(--header-h) + var(--s-12));
  padding-bottom: var(--s-16);
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}

.hero__bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }

.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.55;
  animation: float-orb 18s ease-in-out infinite;
  will-change: transform;
}
.hero__orb--violet {
  width: 680px; height: 680px;
  top: -20%; left: -15%;
  background: radial-gradient(circle, var(--c-violet) 0%, var(--c-deep-violet) 60%, transparent 100%);
}
.hero__orb--emerald {
  width: 540px; height: 540px;
  bottom: -25%; right: -10%;
  background: radial-gradient(circle, var(--c-emerald) 0%, var(--c-emerald-deep) 60%, transparent 100%);
  animation-delay: -6s;
  animation-duration: 22s;
}

.hero__grain {
  position: absolute;
  inset: 0;
  background-image:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='300' height='300'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1   0 0 0 0 1   0 0 0 0 1   0 0 0 0.15 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  opacity: 0.4;
  mix-blend-mode: overlay;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: var(--s-12);
  align-items: center;
}

.hero__content { max-width: 760px; }

.hero__title {
  font-size: var(--fs-hero);
  font-weight: 300;
  line-height: 1.02;
  letter-spacing: -0.025em;
  margin-bottom: var(--s-6);
  color: var(--c-ivory);
}

.hero__lede {
  font-size: var(--fs-lg);
  line-height: var(--lh-relaxed);
  color: var(--c-pearl);
  margin-bottom: var(--s-8);
  max-width: 60ch;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
  margin-bottom: var(--s-10);
}

.hero__trust {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-6);
  padding-top: var(--s-8);
  border-top: 1px solid var(--glass-border);
}
.hero__trust li { display: flex; flex-direction: column; gap: 2px; }
.hero__trust strong {
  font-family: var(--f-display);
  font-size: clamp(1.5rem, 2vw + 0.5rem, 2rem);
  font-weight: 400;
  color: var(--c-gold-bright);
  letter-spacing: -0.02em;
}
.hero__trust span {
  font-size: var(--fs-xs);
  color: var(--text-subtle);
  line-height: 1.3;
  font-family: var(--f-mono);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
}

/* Hero — karta "najbliższe terminy" */
.hero__card {
  position: relative;
  animation: fadeInUp 1.2s var(--ease-out) 0.4s both;
}

.glass-card {
  position: relative;
  padding: var(--s-8);
  background: var(--glass-bg-strong);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-xl);
  backdrop-filter: blur(var(--glass-blur)) saturate(1.3);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(1.3);
  box-shadow: var(--sh-lg), var(--sh-inset);
  overflow: hidden;
}
.glass-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--glass-highlight), transparent);
}
.glass-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top right, rgba(201, 169, 97, 0.08), transparent 50%);
  pointer-events: none;
}

.glass-card__label {
  font-family: var(--f-mono);
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: var(--ls-widest);
  color: var(--c-gold-bright);
  margin-bottom: var(--s-5);
}

.glass-card__slots {
  display: flex;
  flex-direction: column;
  margin-bottom: var(--s-6);
}
.glass-card__slots li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--s-3) 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  font-size: var(--fs-sm);
}
.glass-card__slots li:last-child { border-bottom: none; }
.glass-card__slots span { color: var(--text-muted); }
.glass-card__slots time {
  font-family: var(--f-mono);
  color: var(--c-gold-bright);
  font-size: var(--fs-xs);
  letter-spacing: var(--ls-wide);
}

.glass-card__small {
  font-size: var(--fs-xs);
  color: var(--c-fog);
  text-align: center;
  margin-top: var(--s-4);
  font-family: var(--f-mono);
  letter-spacing: var(--ls-wide);
}

/* Scroll hint */
.hero__scroll {
  position: absolute;
  bottom: var(--s-6);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s-3);
  font-family: var(--f-mono);
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: var(--ls-widest);
  color: var(--c-fog);
  text-decoration: none;
  transition: color var(--t-fast) var(--ease-out);
}
.hero__scroll:hover { color: var(--c-gold-bright); }
.hero__scroll-line {
  width: 1px;
  height: 56px;
  background: linear-gradient(to bottom, transparent, var(--c-gold) 30%, var(--c-gold-bright));
  position: relative;
  overflow: hidden;
}
.hero__scroll-line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.8));
  animation: scrollLine 2.4s var(--ease-out) infinite;
}


/* =========================================================================
   10. SECTION HEADS
   ========================================================================= */
.section__head {
  max-width: 820px;
  margin-bottom: var(--s-16);
}
.section__head--split {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: var(--s-10);
  max-width: none;
  align-items: end;
}

.section__title {
  font-size: var(--fs-4xl);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin-bottom: var(--s-5);
  color: var(--c-ivory);
}

.section__lede {
  font-size: var(--fs-lg);
  line-height: var(--lh-relaxed);
  color: var(--c-pearl);
  max-width: 65ch;
}


/* =========================================================================
   11. INTRO / FACT CARDS
   ========================================================================= */
.section--intro { padding-top: calc(var(--section-y) + var(--s-8)); }

.intro__facts { margin-top: var(--s-10); }

.fact-card {
  position: relative;
  padding: var(--s-10) var(--s-8);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-lg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  transition:
    transform var(--t-base) var(--ease-out),
    border-color var(--t-base) var(--ease-out),
    background var(--t-base) var(--ease-out);
  overflow: hidden;
}
.fact-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--glass-highlight), transparent);
}
.fact-card:hover {
  transform: translateY(-6px);
  border-color: rgba(201, 169, 97, 0.22);
  background: var(--glass-bg-strong);
}

.fact-card__no {
  display: block;
  font-family: var(--f-display);
  font-size: 3.25rem;
  font-style: italic;
  font-weight: 300;
  color: var(--c-gold);
  line-height: 1;
  margin-bottom: var(--s-5);
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 0.7;
}

.fact-card h3 {
  font-size: var(--fs-xl);
  margin-bottom: var(--s-4);
}

.fact-card p {
  font-size: var(--fs-base);
  color: var(--text-muted);
  line-height: var(--lh-relaxed);
}


/* =========================================================================
   12. SCHOOL / FUNDING PILLARS
   ========================================================================= */
.section--school {
  position: relative;
  overflow: hidden;
}
.section--school::before {
  content: "";
  position: absolute;
  top: 10%; left: -10%;
  width: 60%; height: 80%;
  background: radial-gradient(circle, var(--c-gold-glow), transparent 60%);
  filter: blur(100px);
  z-index: -1;
  pointer-events: none;
}

.funding-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-6);
  margin-bottom: var(--s-16);
}

.funding-pillar {
  position: relative;
  padding: var(--s-8);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-lg);
  backdrop-filter: blur(var(--glass-blur));
  transition:
    transform var(--t-base) var(--ease-out),
    box-shadow var(--t-base) var(--ease-out),
    border-color var(--t-base) var(--ease-out);
}
.funding-pillar:hover {
  transform: translateY(-4px);
  border-color: rgba(201, 169, 97, 0.3);
}
.funding-pillar header {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  margin-bottom: var(--s-4);
}
.funding-pillar h3 {
  font-size: var(--fs-xl);
  font-weight: 500;
  letter-spacing: -0.01em;
}
.funding-pillar__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.3rem 0.7rem;
  background: var(--glass-bg-strong);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-sm);
  font-family: var(--f-mono);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: var(--ls-wider);
  color: var(--text-muted);
}
.funding-pillar__badge--gold {
  background: var(--glass-bg-gold);
  border-color: var(--glass-border-g);
  color: var(--c-gold-bright);
}
.funding-pillar p {
  font-size: var(--fs-base);
  color: var(--text-muted);
  margin-bottom: var(--s-4);
}
.funding-pillar ul {
  border-top: 1px solid var(--glass-border);
  padding-top: var(--s-4);
}
.funding-pillar ul li {
  position: relative;
  padding: var(--s-1) 0 var(--s-1) var(--s-6);
  font-size: var(--fs-sm);
  color: var(--text-muted);
}
.funding-pillar ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.9rem;
  width: 14px; height: 1px;
  background: var(--c-gold);
}

/* Hero pillar (KFS) */
.funding-pillar--hero {
  background: linear-gradient(140deg, rgba(201, 169, 97, 0.1), rgba(201, 169, 97, 0.03));
  border: 1px solid var(--glass-border-g);
  box-shadow: 0 30px 60px -20px rgba(201, 169, 97, 0.25), inset 0 1px 0 rgba(228, 198, 120, 0.15);
  transform: translateY(-12px);
}
.funding-pillar--hero:hover {
  transform: translateY(-18px);
  box-shadow: 0 40px 70px -20px rgba(201, 169, 97, 0.35);
}
.funding-pillar__flag {
  position: absolute;
  top: -12px; right: var(--s-6);
  padding: 0.35rem 0.8rem;
  background: var(--grad-gold);
  color: var(--c-ink);
  font-family: var(--f-mono);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: var(--ls-wider);
  border-radius: var(--r-full);
  box-shadow: var(--sh-md);
}


/* =========================================================================
   13. COURSE CARDS
   ========================================================================= */
.course-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-6);
  margin-bottom: var(--s-20);
}

.course-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: var(--s-8);
  background: var(--glass-bg-strong);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-xl);
  backdrop-filter: blur(var(--glass-blur)) saturate(1.2);
  transition:
    transform var(--t-base) var(--ease-out),
    border-color var(--t-base) var(--ease-out),
    box-shadow var(--t-base) var(--ease-out);
  overflow: hidden;
}
.course-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--glass-highlight), transparent);
}
.course-card:hover {
  transform: translateY(-8px);
  border-color: rgba(201,169,97,0.3);
  box-shadow: var(--sh-xl);
}

.course-card__ribbon {
  position: absolute;
  top: var(--s-5); right: -2px;
  padding: 0.4rem 0.9rem;
  background: var(--grad-gold);
  color: var(--c-ink);
  font-family: var(--f-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  border-radius: var(--r-sm) 0 0 var(--r-sm);
  box-shadow: var(--sh-md);
}

.course-card__header { margin-bottom: var(--s-6); }
.course-card__code {
  font-family: var(--f-mono);
  font-size: var(--fs-xs);
  letter-spacing: var(--ls-wider);
  color: var(--c-gold);
  text-transform: uppercase;
  margin-bottom: var(--s-3);
  display: block;
}
.course-card h3 {
  font-size: var(--fs-xl);
  font-weight: 500;
  line-height: 1.15;
  margin-bottom: var(--s-2);
  letter-spacing: -0.01em;
}
.course-card__meta {
  font-size: var(--fs-sm);
  color: var(--text-subtle);
  font-family: var(--f-mono);
  letter-spacing: var(--ls-wide);
}

.course-card__list {
  flex: 1;
  margin-bottom: var(--s-6);
  display: flex;
  flex-direction: column;
}
.course-card__list li {
  position: relative;
  padding: var(--s-3) 0 var(--s-3) var(--s-7);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  font-size: var(--fs-sm);
  color: var(--text-muted);
  line-height: var(--lh-snug);
}
.course-card__list li::before {
  content: "✓";
  position: absolute;
  left: 0; top: 0.9rem;
  width: 18px; height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--glass-bg-gold);
  color: var(--c-gold-bright);
  border-radius: 50%;
  border: 1px solid var(--glass-border-g);
  font-size: 11px;
  font-weight: 700;
}
.course-card__list li:last-child { border-bottom: none; }

.course-card__foot { margin-top: auto; }

.course-card__price {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: var(--s-5);
  padding-top: var(--s-5);
  border-top: 1px solid var(--glass-border);
}
.price__old {
  font-size: var(--fs-sm);
  color: var(--c-fog);
  text-decoration: line-through;
  font-family: var(--f-mono);
}
.price__new {
  font-family: var(--f-display);
  font-size: clamp(2rem, 3vw + 0.5rem, 2.5rem);
  font-weight: 400;
  color: var(--c-gold-bright);
  line-height: 1;
  letter-spacing: -0.02em;
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.price__note {
  font-size: var(--fs-xs);
  color: var(--text-subtle);
  margin-top: var(--s-1);
  font-family: var(--f-mono);
  letter-spacing: var(--ls-wide);
}

/* Feature course card (Master) */
.course-card--feature {
  background: linear-gradient(140deg, rgba(59, 36, 113, 0.18), rgba(15, 118, 110, 0.08) 60%, rgba(10, 14, 39, 0.4));
  border-color: rgba(228, 198, 120, 0.3);
  box-shadow: var(--sh-xl), inset 0 1px 0 rgba(255,255,255,0.06);
  transform: scale(1.03);
}
.course-card--feature:hover {
  transform: scale(1.03) translateY(-6px);
}


/* =========================================================================
   14. FUNDING HELP (split form)
   ========================================================================= */
.funding-help {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-12);
  align-items: center;
  padding: var(--s-12);
  background: var(--glass-bg-strong);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-xl);
  backdrop-filter: blur(var(--glass-blur));
  margin-top: var(--s-8);
  position: relative;
  overflow: hidden;
}
.funding-help::before {
  content: "";
  position: absolute;
  top: -50%; left: -10%;
  width: 60%; height: 160%;
  background: radial-gradient(ellipse, var(--c-gold-glow), transparent 60%);
  filter: blur(80px);
  z-index: 0;
  pointer-events: none;
}

.funding-help__text { position: relative; z-index: 1; }
.funding-help__text h3 {
  font-size: var(--fs-3xl);
  font-weight: 400;
  line-height: 1.1;
  margin-bottom: var(--s-4);
  letter-spacing: -0.02em;
}
.funding-help__text p {
  color: var(--text-muted);
  margin-top: var(--s-3);
}

.funding-help__form { position: relative; z-index: 1; }


/* =========================================================================
   15. SESSION CARDS
   ========================================================================= */
.section--sessions { padding-block: var(--section-y); }

.session-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-6);
}

.session-card {
  position: relative;
  padding: var(--s-10);
  background: var(--glass-bg-strong);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-xl);
  backdrop-filter: blur(var(--glass-blur));
  transition: transform var(--t-base) var(--ease-out), border-color var(--t-base) var(--ease-out);
  overflow: hidden;
}
.session-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--glass-highlight), transparent);
}
.session-card:hover {
  transform: translateY(-6px);
  border-color: rgba(16, 185, 129, 0.3);
}

.session-card__ribbon {
  position: absolute;
  top: var(--s-5); right: -2px;
  padding: 0.4rem 0.9rem;
  background: var(--grad-emerald);
  color: var(--c-ivory);
  font-family: var(--f-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  border-radius: var(--r-sm) 0 0 var(--r-sm);
  box-shadow: var(--sh-md);
}

.session-card__head { margin-bottom: var(--s-5); }

.session-card__icon {
  display: inline-block;
  font-size: 2rem;
  color: var(--c-emerald-bright);
  margin-bottom: var(--s-3);
  line-height: 1;
  font-family: var(--f-display);
}

.session-card h3 {
  font-size: var(--fs-2xl);
  font-weight: 400;
  line-height: 1.1;
  margin-bottom: var(--s-2);
}

.session-card__where {
  font-size: var(--fs-sm);
  color: var(--c-gold-bright);
  font-family: var(--f-mono);
  letter-spacing: var(--ls-wide);
}

.session-card p {
  color: var(--text-muted);
  margin-bottom: var(--s-5);
}

.session-card__points {
  margin-bottom: var(--s-6);
  padding: var(--s-5) 0;
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
}
.session-card__points li {
  position: relative;
  padding: var(--s-1) 0 var(--s-1) var(--s-6);
  font-size: var(--fs-sm);
  color: var(--text-muted);
  line-height: var(--lh-snug);
}
.session-card__points li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.7rem;
  width: 14px; height: 1px;
  background: var(--c-emerald-bright);
}

.session-card--feature {
  background: linear-gradient(140deg, rgba(16, 185, 129, 0.08), rgba(15, 118, 110, 0.03) 60%, rgba(10, 14, 39, 0.5));
  border-color: rgba(16, 185, 129, 0.3);
  box-shadow: var(--sh-emerald);
}


/* =========================================================================
   16. METHOD STEPS
   ========================================================================= */
.method-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-6);
  counter-reset: step;
  position: relative;
}
.method-steps::before {
  content: "";
  position: absolute;
  top: calc(var(--s-10) + 1.5rem);
  left: 5%; right: 5%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--c-gold) 20%, var(--c-gold) 80%, transparent);
  opacity: 0.3;
  z-index: 0;
}

.method-steps li {
  position: relative;
  z-index: 1;
  padding: var(--s-8);
  background: var(--glass-bg-strong);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-lg);
  backdrop-filter: blur(var(--glass-blur));
  transition:
    transform var(--t-base) var(--ease-out),
    border-color var(--t-base) var(--ease-out);
}
.method-steps li:hover {
  transform: translateY(-6px);
  border-color: rgba(201, 169, 97, 0.3);
}

.method-steps__no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  font-family: var(--f-mono);
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--c-gold-bright);
  background: var(--c-navy);
  border: 1px solid var(--glass-border-g);
  border-radius: 50%;
  margin-bottom: var(--s-5);
  letter-spacing: 0;
}

.method-steps h3 {
  font-size: var(--fs-xl);
  font-weight: 500;
  margin-bottom: var(--s-3);
  line-height: 1.15;
}

.method-steps p {
  font-size: var(--fs-base);
  color: var(--text-muted);
  line-height: var(--lh-relaxed);
}


/* =========================================================================
   17. PRICING CARDS
   ========================================================================= */
.section--pricing {
  position: relative;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-5);
  margin-bottom: var(--s-10);
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: var(--s-8);
  background: var(--glass-bg-strong);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-xl);
  backdrop-filter: blur(var(--glass-blur));
  transition:
    transform var(--t-base) var(--ease-out),
    border-color var(--t-base) var(--ease-out),
    box-shadow var(--t-base) var(--ease-out);
  overflow: hidden;
}
.price-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--glass-highlight), transparent);
}
.price-card:hover {
  transform: translateY(-6px);
  border-color: rgba(201, 169, 97, 0.25);
}

.price-card__ribbon {
  position: absolute;
  top: 0; left: 50%;
  transform: translate(-50%, -50%);
  padding: 0.35rem 0.9rem;
  background: rgba(16, 185, 129, 0.2);
  border: 1px solid rgba(16, 185, 129, 0.5);
  color: var(--c-emerald-bright);
  font-family: var(--f-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  border-radius: var(--r-full);
  backdrop-filter: blur(20px);
  white-space: nowrap;
}
.price-card__ribbon--gold {
  background: var(--grad-gold);
  border-color: transparent;
  color: var(--c-ink);
  font-weight: 600;
}

.price-card header {
  padding-bottom: var(--s-5);
  border-bottom: 1px solid var(--glass-border);
  margin-bottom: var(--s-5);
}

.price-card__tier {
  font-family: var(--f-mono);
  font-size: var(--fs-xs);
  letter-spacing: var(--ls-widest);
  text-transform: uppercase;
  color: var(--c-gold-bright);
  margin-bottom: var(--s-2);
}

.price-card h3 {
  font-size: var(--fs-xl);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.price-card__amount {
  display: flex;
  align-items: baseline;
  gap: var(--s-2);
  margin-bottom: var(--s-3);
  flex-wrap: wrap;
}
.amount__value {
  font-family: var(--f-display);
  font-size: clamp(2.75rem, 4vw + 1rem, 3.75rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--c-ivory);
}
.amount__cur {
  font-family: var(--f-display);
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--c-gold-bright);
  letter-spacing: -0.02em;
}
.amount__old {
  font-size: var(--fs-sm);
  color: var(--c-fog);
  text-decoration: line-through;
  font-family: var(--f-mono);
  width: 100%;
}

.price-card__note {
  font-size: var(--fs-xs);
  color: var(--text-subtle);
  margin-bottom: var(--s-6);
  font-family: var(--f-mono);
  letter-spacing: var(--ls-wide);
  line-height: var(--lh-normal);
}

.price-card ul {
  flex: 1;
  margin-bottom: var(--s-6);
}
.price-card ul li {
  position: relative;
  padding: var(--s-2) 0 var(--s-2) var(--s-6);
  font-size: var(--fs-sm);
  color: var(--text-muted);
  line-height: var(--lh-snug);
}
.price-card ul li::before {
  content: "+";
  position: absolute;
  left: 0; top: 0.5rem;
  color: var(--c-emerald-bright);
  font-weight: 700;
  font-family: var(--f-mono);
}

/* Feature card */
.price-card--feature {
  background: linear-gradient(140deg, rgba(16, 185, 129, 0.08), rgba(15, 118, 110, 0.03) 60%, rgba(10, 14, 39, 0.5));
  border-color: rgba(16, 185, 129, 0.3);
  box-shadow: var(--sh-emerald);
  transform: translateY(-12px);
}
.price-card--feature:hover {
  transform: translateY(-18px);
}
.price-card--feature .amount__value {
  background: var(--grad-emerald);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Gold card */
.price-card--gold {
  background: linear-gradient(140deg, rgba(201, 169, 97, 0.1), rgba(201, 169, 97, 0.02) 60%, rgba(10, 14, 39, 0.5));
  border-color: rgba(228, 198, 120, 0.4);
  box-shadow: var(--sh-gold);
}
.price-card--gold .amount__value {
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.pricing-footnote {
  text-align: center;
  font-size: var(--fs-xs);
  color: var(--c-fog);
  max-width: 70ch;
  margin-inline: auto;
  font-family: var(--f-mono);
  letter-spacing: var(--ls-wide);
  line-height: var(--lh-relaxed);
}


/* =========================================================================
   18. TESTIMONIALS
   ========================================================================= */
.testimonials { margin-top: var(--s-10); }

.testimonial {
  position: relative;
  padding: var(--s-10) var(--s-8);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-lg);
  backdrop-filter: blur(var(--glass-blur));
  transition: transform var(--t-base) var(--ease-out);
  display: flex;
  flex-direction: column;
  gap: var(--s-6);
}
.testimonial:hover { transform: translateY(-4px); }

.testimonial::before {
  content: "\201C";
  position: absolute;
  top: -0.3em; left: var(--s-6);
  font-family: var(--f-display);
  font-size: 6rem;
  font-style: italic;
  color: var(--c-gold);
  opacity: 0.35;
  line-height: 1;
}

.testimonial blockquote {
  font-size: var(--fs-xl);
  line-height: 1.3;
  color: var(--c-pearl);
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
  position: relative;
  z-index: 1;
}

.testimonial figcaption {
  padding-top: var(--s-5);
  border-top: 1px solid var(--glass-border);
  display: flex;
  flex-direction: column;
  gap: var(--s-1);
}
.testimonial figcaption strong {
  font-family: var(--f-body);
  font-size: var(--fs-base);
  font-weight: 600;
  color: var(--c-ivory);
  font-style: normal;
}
.testimonial figcaption span {
  font-family: var(--f-mono);
  font-size: var(--fs-xs);
  letter-spacing: var(--ls-wide);
  color: var(--c-fog);
  text-transform: uppercase;
}


/* =========================================================================
   19. FAQ ACCORDION
   ========================================================================= */
.section--faq { background: linear-gradient(180deg, transparent, rgba(15, 10, 30, 0.3) 40%, transparent); }

.faq {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  margin-top: var(--s-10);
}

.faq__item {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-md);
  backdrop-filter: blur(var(--glass-blur));
  overflow: hidden;
  transition: border-color var(--t-base) var(--ease-out), background var(--t-base) var(--ease-out);
}
.faq__item:hover { border-color: rgba(201,169,97,0.2); }
.faq__item[open] {
  background: var(--glass-bg-strong);
  border-color: var(--glass-border-g);
}

.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  padding: var(--s-5) var(--s-6);
  font-family: var(--f-display);
  font-size: var(--fs-lg);
  font-weight: 500;
  line-height: var(--lh-snug);
  cursor: pointer;
  list-style: none;
  color: var(--c-ivory);
  transition: color var(--t-fast) var(--ease-out);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--c-gold-bright); }

.faq__icon {
  position: relative;
  flex: 0 0 auto;
  width: 22px; height: 22px;
  transition: transform var(--t-base) var(--ease-out);
}
.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  background: var(--c-gold);
  transition: transform var(--t-base) var(--ease-out), opacity var(--t-fast) var(--ease-out);
}
.faq__icon::before {
  width: 14px; height: 1.5px;
  transform: translate(-50%, -50%);
}
.faq__icon::after {
  width: 1.5px; height: 14px;
  transform: translate(-50%, -50%);
}
.faq__item[open] .faq__icon::after { transform: translate(-50%, -50%) scaleY(0); }

.faq__body {
  padding: 0 var(--s-6) var(--s-6);
  color: var(--text-muted);
  animation: faqSlide var(--t-base) var(--ease-out);
}
.faq__body p { margin-bottom: var(--s-3); }
.faq__body p:last-child { margin-bottom: 0; }
.faq__body ul { margin: var(--s-3) 0; padding-left: var(--s-5); }
.faq__body ul li {
  position: relative;
  padding: var(--s-1) 0 var(--s-1) var(--s-5);
  font-size: var(--fs-base);
  line-height: var(--lh-relaxed);
  color: var(--text-muted);
}
.faq__body ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.9rem;
  width: 10px; height: 1px;
  background: var(--c-gold);
}


/* =========================================================================
   20. BOOKING SYSTEM
   ========================================================================= */
.section--booking {
  position: relative;
  overflow: hidden;
}
.section--booking::before {
  content: "";
  position: absolute;
  top: 20%; right: -10%;
  width: 50%; height: 80%;
  background: radial-gradient(circle, var(--c-emerald-glow), transparent 60%);
  filter: blur(100px);
  z-index: -1;
  pointer-events: none;
}

.booking {
  background: var(--glass-bg-strong);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-2xl);
  backdrop-filter: blur(var(--glass-blur)) saturate(1.3);
  padding: clamp(1.5rem, 4vw, 3rem);
  box-shadow: var(--sh-xl), var(--sh-inset);
  margin-top: var(--s-10);
}

/* Kroki */
.booking__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-3);
  margin-bottom: var(--s-10);
  position: relative;
}
.booking__steps::before {
  content: "";
  position: absolute;
  top: 22px; left: 12%; right: 12%;
  height: 1px;
  background: var(--glass-border);
  z-index: 0;
}

.booking__step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s-2);
  position: relative;
  z-index: 1;
}

.booking__step-no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  font-family: var(--f-mono);
  font-size: var(--fs-base);
  font-weight: 500;
  color: var(--text-subtle);
  background: var(--c-navy-2);
  border: 1px solid var(--glass-border);
  border-radius: 50%;
  transition: all var(--t-base) var(--ease-out);
}

.booking__step-label {
  font-family: var(--f-mono);
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: var(--ls-wide);
  color: var(--text-subtle);
  text-align: center;
  transition: color var(--t-base) var(--ease-out);
}

.booking__step.is-active .booking__step-no {
  background: var(--grad-gold);
  border-color: transparent;
  color: var(--c-ink);
  box-shadow: 0 0 0 4px rgba(201,169,97,0.2), 0 6px 20px rgba(201,169,97,0.35);
  transform: scale(1.08);
}
.booking__step.is-active .booking__step-label {
  color: var(--c-gold-bright);
}
.booking__step.is-complete .booking__step-no {
  background: var(--glass-bg-gold);
  border-color: var(--glass-border-g);
  color: var(--c-gold-bright);
}
.booking__step.is-complete .booking__step-no::after {
  content: "✓";
  position: absolute;
}
.booking__step.is-complete .booking__step-no span { display: none; }

/* Panele */
.booking__form { position: relative; }

.booking__panel {
  display: none;
  border: none;
  padding: 0;
  margin: 0;
  animation: fadeIn var(--t-base) var(--ease-out);
}
.booking__panel.is-active { display: block; }

.booking__panel legend { padding: 0; }

/* Service tiles */
.booking__services {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-3);
  margin-bottom: var(--s-8);
}

.service-tile {
  position: relative;
  display: block;
  cursor: pointer;
}
.service-tile input {
  position: absolute;
  opacity: 0;
  inset: 0;
}
.service-tile__body {
  display: block;
  padding: var(--s-5);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-lg);
  transition:
    background var(--t-fast) var(--ease-out),
    border-color var(--t-fast) var(--ease-out),
    transform var(--t-fast) var(--ease-out);
}
.service-tile:hover .service-tile__body {
  background: var(--glass-bg-strong);
  border-color: rgba(255,255,255,0.2);
  transform: translateY(-2px);
}
.service-tile input:checked ~ .service-tile__body {
  background: linear-gradient(140deg, rgba(201,169,97,0.15), rgba(201,169,97,0.03));
  border-color: var(--c-gold);
  box-shadow: 0 0 0 1px var(--c-gold), 0 10px 25px -10px rgba(201,169,97,0.4);
}
.service-tile input:focus-visible ~ .service-tile__body {
  outline: 2px solid var(--c-gold-bright);
  outline-offset: 2px;
}

.service-tile__top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--s-3);
  margin-bottom: var(--s-2);
}
.service-tile__top strong {
  font-family: var(--f-display);
  font-size: var(--fs-lg);
  font-weight: 500;
  color: var(--c-ivory);
  letter-spacing: -0.01em;
}
.service-tile__price {
  font-family: var(--f-display);
  font-size: var(--fs-lg);
  color: var(--c-gold-bright);
  white-space: nowrap;
}
.service-tile__meta {
  display: block;
  font-family: var(--f-mono);
  font-size: var(--fs-xs);
  letter-spacing: var(--ls-wide);
  color: var(--text-subtle);
  line-height: var(--lh-snug);
}

.service-tile--feature .service-tile__body {
  background: linear-gradient(140deg, rgba(16, 185, 129, 0.08), transparent);
  border-color: rgba(16, 185, 129, 0.3);
}
.service-tile--gold .service-tile__body {
  background: linear-gradient(140deg, rgba(201, 169, 97, 0.08), transparent);
  border-color: rgba(201, 169, 97, 0.3);
}

/* Format group */
.booking__format {
  padding: var(--s-5) var(--s-6);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-md);
  margin-bottom: var(--s-6);
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-4) var(--s-6);
  align-items: center;
}
.booking__format legend {
  font-family: var(--f-mono);
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: var(--ls-wider);
  color: var(--c-gold-bright);
  float: left;
  margin-right: var(--s-5);
}
.booking__format label {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  font-size: var(--fs-sm);
  color: var(--text);
  cursor: pointer;
  transition: color var(--t-fast) var(--ease-out);
}
.booking__format label:hover { color: var(--c-gold-bright); }
.booking__format input[type="radio"] {
  width: 16px; height: 16px;
  accent-color: var(--c-gold);
}

/* Kalendarz */
.booking__calendar {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-lg);
  padding: var(--s-6);
  margin-bottom: var(--s-6);
}

.calendar__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--s-5);
  padding-bottom: var(--s-4);
  border-bottom: 1px solid var(--glass-border);
}

.calendar__nav {
  width: 40px; height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--c-gold-bright);
  background: var(--glass-bg-strong);
  border: 1px solid var(--glass-border);
  border-radius: 50%;
  cursor: pointer;
  transition: all var(--t-fast) var(--ease-out);
  font-family: var(--f-display);
}
.calendar__nav:hover {
  background: var(--glass-bg-gold);
  border-color: var(--glass-border-g);
  transform: scale(1.08);
}

.calendar__title {
  font-family: var(--f-display);
  font-size: var(--fs-xl);
  font-weight: 400;
  font-style: italic;
  color: var(--c-ivory);
  letter-spacing: -0.01em;
  text-transform: capitalize;
}

.calendar__weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: var(--s-1);
  margin-bottom: var(--s-2);
}
.calendar__weekdays span {
  text-align: center;
  font-family: var(--f-mono);
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: var(--ls-wider);
  color: var(--c-fog);
  padding: var(--s-2) 0;
}

.calendar__grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: var(--s-1);
}

.calendar__day {
  aspect-ratio: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-mono);
  font-size: var(--fs-sm);
  color: var(--text);
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--r-sm);
  cursor: pointer;
  transition: all var(--t-fast) var(--ease-out);
  position: relative;
}
.calendar__day:hover:not(:disabled):not(.is-empty) {
  background: var(--glass-bg-strong);
  border-color: var(--glass-border);
  color: var(--c-gold-bright);
}
.calendar__day.is-today {
  color: var(--c-gold-bright);
  font-weight: 600;
}
.calendar__day.is-today::after {
  content: "";
  position: absolute;
  bottom: 4px; left: 50%;
  transform: translateX(-50%);
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--c-gold-bright);
}
.calendar__day.is-selected {
  background: var(--grad-gold);
  color: var(--c-ink);
  border-color: transparent;
  font-weight: 600;
  box-shadow: 0 6px 16px -4px rgba(201,169,97,0.5);
}
.calendar__day:disabled,
.calendar__day.is-past {
  color: var(--c-ash);
  cursor: not-allowed;
  opacity: 0.35;
}
.calendar__day.is-empty {
  cursor: default;
}

/* Sloty godzinowe */
.booking__slots {
  min-height: 100px;
  padding: var(--s-5);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-lg);
  margin-bottom: var(--s-6);
}
.booking__slots-empty {
  text-align: center;
  color: var(--c-fog);
  font-family: var(--f-mono);
  font-size: var(--fs-sm);
  letter-spacing: var(--ls-wide);
  padding: var(--s-4);
}

.slots__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: var(--s-2);
}

.slot {
  padding: var(--s-3) var(--s-4);
  font-family: var(--f-mono);
  font-size: var(--fs-sm);
  color: var(--text);
  background: var(--glass-bg-strong);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-sm);
  cursor: pointer;
  text-align: center;
  transition: all var(--t-fast) var(--ease-out);
}
.slot:hover {
  background: var(--glass-bg-gold);
  border-color: var(--glass-border-g);
  color: var(--c-gold-bright);
  transform: translateY(-2px);
}
.slot.is-selected {
  background: var(--grad-gold);
  color: var(--c-ink);
  border-color: transparent;
  font-weight: 600;
}
.slot:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

/* Podsumowanie */
.booking__summary {
  background: linear-gradient(140deg, rgba(201, 169, 97, 0.1), transparent 60%);
  border: 1px solid var(--glass-border-g);
  border-radius: var(--r-lg);
  padding: var(--s-8);
  margin-bottom: var(--s-6);
}
.booking__summary h3 {
  font-size: var(--fs-2xl);
  font-weight: 400;
  margin-bottom: var(--s-6);
  color: var(--c-gold-bright);
}
.booking__summary dl {
  display: flex;
  flex-direction: column;
}
.booking__summary dl > div {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: var(--s-4);
  padding: var(--s-3) 0;
  border-bottom: 1px solid var(--glass-border);
}
.booking__summary dt {
  font-family: var(--f-mono);
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: var(--ls-wider);
  color: var(--c-fog);
}
.booking__summary dd {
  font-size: var(--fs-base);
  color: var(--c-ivory);
  line-height: var(--lh-snug);
}
.booking__total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-top: var(--s-6);
  margin-top: var(--s-4);
  border-top: 1px solid var(--glass-border-g);
  font-size: var(--fs-base);
  color: var(--text-muted);
}
.booking__total strong {
  font-family: var(--f-display);
  font-size: var(--fs-3xl);
  font-weight: 400;
  letter-spacing: -0.02em;
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.booking__note {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  margin-top: var(--s-5);
  padding: var(--s-4);
  background: rgba(16, 185, 129, 0.06);
  border: 1px solid rgba(16, 185, 129, 0.15);
  border-radius: var(--r-md);
  line-height: var(--lh-relaxed);
}

.booking__actions {
  display: flex;
  justify-content: space-between;
  gap: var(--s-3);
  margin-top: var(--s-6);
  flex-wrap: wrap;
}
.booking__actions .btn { flex: 1; min-width: 180px; }


/* =========================================================================
   21. CONTACT GRID
   ========================================================================= */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-6);
  margin-top: var(--s-10);
}

.contact-card {
  padding: var(--s-10);
  background: var(--glass-bg-strong);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-xl);
  backdrop-filter: blur(var(--glass-blur));
  transition: transform var(--t-base) var(--ease-out), border-color var(--t-base) var(--ease-out);
  position: relative;
  overflow: hidden;
}
.contact-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--glass-highlight), transparent);
}
.contact-card:hover {
  transform: translateY(-4px);
  border-color: rgba(201, 169, 97, 0.3);
}
.contact-card h3 {
  font-size: var(--fs-xl);
  font-weight: 500;
  margin-bottom: var(--s-4);
}
.contact-card address {
  color: var(--c-pearl);
  margin-bottom: var(--s-4);
  font-size: var(--fs-base);
}
.contact-card p {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  margin-bottom: var(--s-4);
  line-height: var(--lh-relaxed);
}

.contact-card__hours {
  display: flex;
  flex-direction: column;
  margin-top: var(--s-5);
  padding-top: var(--s-5);
  border-top: 1px solid var(--glass-border);
}
.contact-card__hours li {
  display: flex;
  justify-content: space-between;
  padding: var(--s-2) 0;
  font-family: var(--f-mono);
  font-size: var(--fs-xs);
  letter-spacing: var(--ls-wide);
}
.contact-card__hours span:first-child {
  color: var(--c-fog);
  text-transform: uppercase;
}
.contact-card__hours span:last-child {
  color: var(--c-ivory);
}

.contact-card--emphasis {
  background: linear-gradient(140deg, rgba(201, 169, 97, 0.08), rgba(15, 118, 110, 0.03) 60%, rgba(10, 14, 39, 0.5));
  border-color: rgba(228, 198, 120, 0.3);
}
.contact-card__email {
  margin: var(--s-5) 0;
  padding: var(--s-4);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border-g);
  border-radius: var(--r-md);
  text-align: center;
}
.contact-card__email a {
  font-family: var(--f-display);
  font-size: var(--fs-lg);
  font-style: italic;
  color: var(--c-gold-bright);
  text-decoration: none;
}
.contact-card__email a:hover { color: var(--c-gold-soft); }


/* =========================================================================
   22. FOOTER
   ========================================================================= */
.site-footer {
  position: relative;
  margin-top: var(--s-24);
  padding-top: var(--s-16);
  background: linear-gradient(180deg, transparent, rgba(5, 7, 20, 0.7) 30%, var(--c-void));
  border-top: 1px solid var(--glass-border);
  overflow: hidden;
}
.site-footer::before {
  content: "";
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 30%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--c-gold), transparent);
  opacity: 0.5;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.8fr repeat(4, 1fr);
  gap: var(--s-10);
  padding-bottom: var(--s-16);
}

.footer__brand p {
  margin: var(--s-5) 0;
  color: var(--text-muted);
  font-size: var(--fs-sm);
  line-height: var(--lh-relaxed);
}
.footer__mail a {
  font-family: var(--f-display);
  font-style: italic;
  font-size: var(--fs-lg);
  color: var(--c-gold-bright);
}
.brand--footer .brand__mark {
  width: 48px; height: 48px;
  font-size: 1.8rem;
}

.footer__col h3 {
  font-family: var(--f-mono);
  font-size: var(--fs-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: var(--ls-widest);
  color: var(--c-gold-bright);
  margin-bottom: var(--s-5);
}

.footer__col ul {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}
.footer__col ul a {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--t-fast) var(--ease-out);
}
.footer__col ul a:hover { color: var(--c-gold-bright); }

.footer__address {
  font-style: normal;
  font-size: var(--fs-sm);
  color: var(--text-muted);
  line-height: var(--lh-relaxed);
  margin-bottom: var(--s-4);
}
.footer__address strong {
  display: block;
  font-family: var(--f-display);
  font-size: var(--fs-md);
  font-style: italic;
  color: var(--c-ivory);
  margin-bottom: var(--s-1);
}

.footer__bar {
  padding: var(--s-6) 0;
  border-top: 1px solid var(--glass-border);
  background: rgba(0, 0, 0, 0.3);
}
.footer__bar-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--s-4);
  flex-wrap: wrap;
}
.footer__bar p {
  font-family: var(--f-mono);
  font-size: var(--fs-xs);
  color: var(--c-fog);
  letter-spacing: var(--ls-wide);
}

.footer__legal {
  display: flex;
  gap: var(--s-5);
  flex-wrap: wrap;
}
.footer__legal a {
  font-family: var(--f-mono);
  font-size: var(--fs-xs);
  color: var(--c-fog);
  letter-spacing: var(--ls-wide);
  text-decoration: none;
  transition: color var(--t-fast) var(--ease-out);
}
.footer__legal a:hover { color: var(--c-gold-bright); }


/* =========================================================================
   23. ANIMATIONS
   ========================================================================= */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity var(--t-slow) var(--ease-out),
    transform var(--t-slow) var(--ease-out);
}
[data-reveal].is-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered child reveal */
.hero__content > [data-reveal]:nth-child(1) { transition-delay: 0.1s; }
.hero__content > [data-reveal]:nth-child(2) { transition-delay: 0.25s; }
.hero__content > [data-reveal]:nth-child(3) { transition-delay: 0.4s; }
.hero__content > [data-reveal]:nth-child(4) { transition-delay: 0.55s; }
.hero__content > [data-reveal]:nth-child(5) { transition-delay: 0.7s; }

@keyframes pulse-dot {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 4px rgba(16,185,129,0.15), 0 0 12px rgba(16,185,129,0.6); }
  50%      { transform: scale(1.2); box-shadow: 0 0 0 8px rgba(16,185,129,0.05), 0 0 20px rgba(16,185,129,0.8); }
}

@keyframes float-orb {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%      { transform: translate(40px, -30px) scale(1.05); }
  66%      { transform: translate(-30px, 40px) scale(0.95); }
}

@keyframes scrollLine {
  0%   { transform: translateY(-100%); }
  100% { transform: translateY(100%); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

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

@keyframes faqSlide {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}


/* =========================================================================
   24. RESPONSIVE — Media queries (mobile-first overrides dla desktop layoutu)
   ========================================================================= */

/* ≤ 1280px — duże tablety i małe laptopy */
@media (max-width: 1280px) {
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .price-card--feature,
  .price-card--gold { transform: none; }
  .price-card--feature:hover,
  .price-card--gold:hover { transform: translateY(-6px); }
}

/* ≤ 1024px — tablety */
@media (max-width: 1024px) {
  :root { --header-h: 72px; }

  .header__cta { display: none; }

  .nav-toggle { display: flex; }

  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    background: rgba(5, 7, 20, 0.96);
    backdrop-filter: blur(30px) saturate(1.5);
    border-top: 1px solid var(--glass-border);
    padding: var(--s-6);
    transform: translateY(-130%);
    transition: transform var(--t-base) var(--ease-out);
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
  }
  .nav.is-open { transform: translateY(0); }

  .nav__list {
    flex-direction: column;
    gap: 0;
    align-items: stretch;
  }
  .nav__list li {
    border-bottom: 1px solid var(--glass-border);
  }
  .nav__link {
    display: block;
    padding: var(--s-5) 0;
    font-size: var(--fs-lg);
    font-family: var(--f-display);
    font-weight: 400;
    letter-spacing: -0.01em;
  }

  .hero__grid {
    grid-template-columns: 1fr;
    gap: var(--s-10);
  }
  .hero__card { order: -1; }

  .hero__trust { grid-template-columns: repeat(2, 1fr); gap: var(--s-5); }

  .section__head--split {
    grid-template-columns: 1fr;
    gap: var(--s-5);
  }

  .grid--3 { grid-template-columns: 1fr 1fr; }
  .grid--4 { grid-template-columns: 1fr 1fr; }

  .funding-row { grid-template-columns: 1fr; gap: var(--s-5); }
  .funding-pillar--hero { transform: none; }
  .funding-pillar--hero:hover { transform: translateY(-6px); }

  .course-grid { grid-template-columns: 1fr; }
  .course-card--feature { transform: none; }
  .course-card--feature:hover { transform: translateY(-6px); }

  .session-grid { grid-template-columns: 1fr; }

  .method-steps { grid-template-columns: repeat(2, 1fr); }
  .method-steps::before { display: none; }

  .funding-help {
    grid-template-columns: 1fr;
    gap: var(--s-8);
    padding: var(--s-8);
  }

  .contact-grid { grid-template-columns: 1fr; }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--s-8);
  }
  .footer__brand { grid-column: 1 / -1; }
}

/* ≤ 768px — duże telefony / małe tablety */
@media (max-width: 768px) {
  :root { --section-y: clamp(3rem, 10vw, 5rem); }

  .hero { padding-top: calc(var(--header-h) + var(--s-8)); }
  .hero__title { font-size: clamp(2.25rem, 9vw, 3.5rem); }
  .hero__lede { font-size: var(--fs-md); }
  .hero__trust { grid-template-columns: repeat(2, 1fr); }
  .hero__cta .btn { width: 100%; }

  .pricing-grid { grid-template-columns: 1fr; }

  .grid--3 { grid-template-columns: 1fr; }

  .section__title { font-size: clamp(1.875rem, 6vw, 2.5rem); }
  .section__lede { font-size: var(--fs-base); }

  .booking__services { grid-template-columns: 1fr; }
  .booking__steps { gap: var(--s-2); }
  .booking__step-label { font-size: 10px; }

  .booking__summary dl > div {
    grid-template-columns: 1fr;
    gap: var(--s-1);
  }

  .faq__item summary { font-size: var(--fs-base); padding: var(--s-4) var(--s-5); }

  .footer__grid { grid-template-columns: 1fr; gap: var(--s-8); padding-bottom: var(--s-10); }

  .footer__bar-wrap { justify-content: center; text-align: center; }
  .footer__legal { justify-content: center; }
}

/* ≤ 480px — telefony */
@media (max-width: 480px) {
  .container { padding-inline: 1.25rem; }

  .brand__tag { display: none; }

  .btn { width: 100%; }
  .hero__cta { flex-direction: column; }

  .hero__trust { grid-template-columns: 1fr 1fr; }
  .hero__trust strong { font-size: 1.5rem; }

  .method-steps { grid-template-columns: 1fr; }

  .glass-card { padding: var(--s-6); }
  .course-card, .session-card, .price-card, .fact-card { padding: var(--s-6); }

  .booking { padding: var(--s-5); }
  .booking__step-label { display: none; }
  .booking__steps::before { display: none; }

  .calendar__day { font-size: var(--fs-xs); }
}


/* =========================================================================
   26. LEGAL PAGES — Polityka prywatności / Regulamin / Cookies
   ========================================================================= */

.legal-page {
  padding-top: calc(var(--header-h) + var(--s-12));
  padding-bottom: var(--section-y);
  position: relative;
  isolation: isolate;
}
.legal-page::before {
  content: "";
  position: absolute;
  top: 0; left: -10%;
  width: 50%; height: 40%;
  background: radial-gradient(ellipse, var(--c-violet-glow), transparent 60%);
  filter: blur(120px);
  z-index: -1;
  pointer-events: none;
  opacity: 0.5;
}

.legal-page .container--narrow { max-width: 860px; }

/* Nagłówek strony prawnej */
.legal-hero {
  margin-bottom: var(--s-12);
  padding-bottom: var(--s-8);
  border-bottom: 1px solid var(--glass-border);
}
.legal-hero h1 {
  font-size: clamp(2.25rem, 4vw + 1rem, 3.5rem);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin: var(--s-3) 0 var(--s-5);
}
.legal-hero h1 em {
  font-style: italic;
  font-weight: 300;
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.legal-hero__lede {
  font-size: var(--fs-lg);
  color: var(--c-pearl);
  line-height: var(--lh-relaxed);
  max-width: 65ch;
}

/* Breadcrumb */
.legal-breadcrumb {
  font-family: var(--f-mono);
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: var(--ls-widest);
  color: var(--c-fog);
  margin-bottom: var(--s-5);
}
.legal-breadcrumb a {
  color: var(--c-fog);
  text-decoration: none;
  transition: color var(--t-fast) var(--ease-out);
}
.legal-breadcrumb a:hover { color: var(--c-gold-bright); }
.legal-breadcrumb span { color: var(--c-ash); padding: 0 var(--s-2); }

/* Meta: Ostatnia aktualizacja + wersja */
.legal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3) var(--s-6);
  padding: var(--s-5) var(--s-6);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-md);
  font-family: var(--f-mono);
  font-size: var(--fs-xs);
  color: var(--text-muted);
  letter-spacing: var(--ls-wide);
  margin-bottom: var(--s-10);
}
.legal-meta > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.legal-meta strong {
  text-transform: uppercase;
  letter-spacing: var(--ls-widest);
  color: var(--c-fog);
  font-weight: 500;
  font-size: 10px;
}
.legal-meta em {
  font-family: var(--f-display);
  font-size: var(--fs-base);
  font-style: italic;
  color: var(--c-gold-bright);
}

/* Disclaimer / warning box */
.legal-disclaimer {
  padding: var(--s-6);
  background: linear-gradient(140deg, rgba(201, 169, 97, 0.08), transparent);
  border: 1px solid rgba(201, 169, 97, 0.28);
  border-left: 3px solid var(--c-gold);
  border-radius: var(--r-md);
  margin-bottom: var(--s-10);
  font-size: var(--fs-sm);
  line-height: var(--lh-relaxed);
  color: var(--text-muted);
}
.legal-disclaimer strong {
  color: var(--c-gold-bright);
  display: block;
  margin-bottom: var(--s-2);
  font-family: var(--f-mono);
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: var(--ls-widest);
}

/* Spis treści */
.legal-toc {
  padding: var(--s-6) var(--s-8);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-lg);
  margin-bottom: var(--s-12);
}
.legal-toc__title {
  font-family: var(--f-mono);
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: var(--ls-widest);
  color: var(--c-gold-bright);
  margin-bottom: var(--s-4);
}
.legal-toc ol {
  list-style: none;
  counter-reset: toc-counter;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--s-2) var(--s-5);
}
.legal-toc ol li {
  counter-increment: toc-counter;
  padding-left: 2rem;
  position: relative;
  font-size: var(--fs-sm);
  line-height: var(--lh-snug);
}
.legal-toc ol li::before {
  content: counter(toc-counter, decimal-leading-zero);
  position: absolute;
  left: 0; top: 1px;
  font-family: var(--f-mono);
  font-size: var(--fs-xs);
  color: var(--c-gold);
  font-weight: 500;
}
.legal-toc a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--t-fast) var(--ease-out);
}
.legal-toc a:hover { color: var(--c-gold-bright); }

/* Treść prawa — typografia prose */
.prose {
  font-size: var(--fs-md);
  line-height: 1.75;
  color: var(--text);
}
.prose > section {
  margin-bottom: var(--s-12);
  scroll-margin-top: calc(var(--header-h) + var(--s-6));
}
.prose h2 {
  font-family: var(--f-display);
  font-size: clamp(1.75rem, 2.5vw + 0.5rem, 2.25rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin-bottom: var(--s-5);
  padding-top: var(--s-4);
  color: var(--c-ivory);
  display: flex;
  gap: var(--s-4);
  align-items: baseline;
}
.prose h2 .no {
  font-family: var(--f-mono);
  font-size: var(--fs-sm);
  color: var(--c-gold);
  font-weight: 500;
  letter-spacing: var(--ls-wide);
  flex: 0 0 auto;
  padding-top: 0.3em;
}
.prose h3 {
  font-family: var(--f-display);
  font-size: var(--fs-xl);
  font-weight: 500;
  line-height: 1.25;
  margin: var(--s-8) 0 var(--s-3);
  color: var(--c-pearl);
  letter-spacing: -0.005em;
}
.prose h4 {
  font-family: var(--f-body);
  font-size: var(--fs-base);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: var(--ls-wider);
  margin: var(--s-6) 0 var(--s-2);
  color: var(--c-gold-bright);
}
.prose p {
  margin-bottom: var(--s-4);
  color: var(--text);
}
.prose p + p { margin-top: 0; }
.prose p strong { color: var(--c-ivory); font-weight: 600; }
.prose em { font-style: italic; color: var(--c-pearl); }

.prose ul, .prose ol {
  margin: var(--s-4) 0 var(--s-5) var(--s-3);
  padding-left: var(--s-5);
}
.prose ul { list-style: none; }
.prose ul li {
  position: relative;
  padding-left: var(--s-5);
  margin-bottom: var(--s-3);
  line-height: var(--lh-relaxed);
}
.prose ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.85em;
  width: 12px; height: 1px;
  background: var(--c-gold);
}
.prose ol {
  list-style: decimal;
  padding-left: 1.5rem;
}
.prose ol li {
  margin-bottom: var(--s-3);
  padding-left: var(--s-2);
  line-height: var(--lh-relaxed);
}
.prose ol li::marker { color: var(--c-gold); font-family: var(--f-mono); font-size: 0.9em; }

/* Lista definicji */
.prose dl {
  margin: var(--s-5) 0;
  display: grid;
  grid-template-columns: minmax(140px, 200px) 1fr;
  gap: var(--s-3) var(--s-6);
  padding: var(--s-5) 0;
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
}
.prose dt {
  font-family: var(--f-display);
  font-size: var(--fs-md);
  font-style: italic;
  color: var(--c-gold-bright);
  line-height: 1.3;
  padding-top: 2px;
}
.prose dd {
  color: var(--text-muted);
  line-height: var(--lh-relaxed);
}

/* Tabela — klasyczna */
.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: var(--s-6) 0;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-md);
  overflow: hidden;
}
.prose thead th {
  background: var(--glass-bg-strong);
  padding: var(--s-4) var(--s-5);
  text-align: left;
  font-family: var(--f-mono);
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: var(--ls-wider);
  color: var(--c-gold-bright);
  border-bottom: 1px solid var(--glass-border);
  font-weight: 500;
}
.prose tbody td {
  padding: var(--s-4) var(--s-5);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  font-size: var(--fs-sm);
  color: var(--text-muted);
  line-height: var(--lh-relaxed);
  vertical-align: top;
}
.prose tbody tr:last-child td { border-bottom: none; }

/* Cytat / outline box */
.prose blockquote,
.prose .callout {
  padding: var(--s-5) var(--s-6);
  background: var(--glass-bg);
  border-left: 3px solid var(--c-emerald-bright);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  margin: var(--s-5) 0;
  font-size: var(--fs-base);
  font-style: normal;
  font-family: var(--f-body);
  color: var(--text-muted);
  line-height: var(--lh-relaxed);
}
.prose .callout--gold { border-left-color: var(--c-gold); }
.prose .callout--warn { border-left-color: #FFB4B4; background: rgba(255, 90, 90, 0.05); }
.prose .callout strong { color: var(--c-ivory); }

/* Odnośnik na końcu sekcji */
.prose .back-to-top {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  margin-top: var(--s-5);
  font-family: var(--f-mono);
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: var(--ls-wider);
  color: var(--c-fog);
  text-decoration: none;
  transition: color var(--t-fast) var(--ease-out);
}
.prose .back-to-top:hover { color: var(--c-gold-bright); }

/* Sygnowanie na dole strony */
.legal-signature {
  margin-top: var(--s-16);
  padding: var(--s-8);
  background: var(--glass-bg-strong);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-lg);
  text-align: center;
}
.legal-signature p {
  color: var(--text-muted);
  font-size: var(--fs-sm);
  line-height: var(--lh-relaxed);
  margin-bottom: var(--s-3);
}
.legal-signature strong {
  font-family: var(--f-display);
  font-size: var(--fs-lg);
  font-style: italic;
  color: var(--c-gold-bright);
  display: block;
  margin-top: var(--s-3);
}

/* Responsywność */
@media (max-width: 768px) {
  .prose dl {
    grid-template-columns: 1fr;
    gap: var(--s-2);
  }
  .prose dl dt {
    margin-top: var(--s-3);
  }
  .prose dl dt:first-child { margin-top: 0; }
  .legal-toc ol { grid-template-columns: 1fr; }
  .prose h2 {
    flex-direction: column;
    gap: var(--s-2);
  }
  .prose table {
    font-size: var(--fs-xs);
  }
  .prose thead th, .prose tbody td {
    padding: var(--s-3);
  }
}


/* =========================================================================
   28. CONSENT BANNER + MODAL — RODO cookies management
   ========================================================================= */

/* ── Wrapper — ukryty dopóki JS nie zdecyduje o pokazaniu ── */
.consent {
  position: fixed;
  inset: 0;
  z-index: 9000;
  pointer-events: none;
}
.consent[hidden] { display: none; }
.consent > * { pointer-events: auto; }

/* Baner w footerze */
.consent__banner {
  position: fixed;
  left: var(--s-5);
  right: var(--s-5);
  bottom: var(--s-5);
  max-width: 1180px;
  margin-inline: auto;
  background: var(--glass-bg-strong);
  backdrop-filter: var(--blur-lg);
  -webkit-backdrop-filter: var(--blur-lg);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-xl);
  padding: var(--s-6);
  box-shadow: var(--shadow-2xl), 0 0 0 1px rgba(201,169,97,0.12);
  animation: consent-slide-up 450ms var(--ease-out) both;
  transform-origin: center bottom;
}
.consent__banner[data-state="hiding"] {
  animation: consent-slide-down 300ms var(--ease-out) forwards;
}

@keyframes consent-slide-up {
  from { transform: translateY(calc(100% + var(--s-5))); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
@keyframes consent-slide-down {
  from { transform: translateY(0); opacity: 1; }
  to   { transform: translateY(calc(100% + var(--s-5))); opacity: 0; }
}

.consent__banner-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: var(--s-5);
  align-items: center;
}

.consent__banner-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: var(--c-gold-bright);
  background: linear-gradient(135deg, rgba(201,169,97,0.15), rgba(201,169,97,0.02));
  border-radius: var(--r-full);
  flex-shrink: 0;
}

.consent__banner-content { min-width: 0; }
.consent__banner-title {
  font-family: var(--f-display);
  font-size: clamp(1.1rem, 1.3vw + 0.5rem, 1.35rem);
  font-weight: 500;
  line-height: 1.25;
  margin-bottom: var(--s-2);
  color: var(--c-ivory);
  letter-spacing: -0.01em;
}
.consent__banner-title em {
  font-style: italic;
  color: var(--c-gold-bright);
  font-weight: 400;
}
.consent__banner-desc {
  font-size: var(--fs-sm);
  line-height: var(--lh-relaxed);
  color: var(--text-muted);
  margin: 0;
}
.consent__banner-desc a {
  color: var(--c-gold-bright);
  text-decoration: underline;
  text-decoration-color: rgba(201,169,97,0.4);
  text-underline-offset: 2px;
  transition: color var(--t-fast) var(--ease-out);
}
.consent__banner-desc a:hover { color: var(--c-gold-lightest); }

.consent__banner-actions {
  display: flex;
  gap: var(--s-2);
  flex-shrink: 0;
  align-items: center;
}

/* ── Modal „Dostosuj" ── */
.consent__modal {
  position: fixed;
  inset: 0;
  z-index: 9500;
  display: grid;
  place-items: center;
  padding: var(--s-5);
  animation: consent-fade-in 250ms var(--ease-out) both;
}
.consent__modal[hidden] { display: none; }
.consent__modal[data-state="hiding"] { animation: consent-fade-out 200ms var(--ease-out) forwards; }

@keyframes consent-fade-in  { from { opacity: 0; } to { opacity: 1; } }
@keyframes consent-fade-out { from { opacity: 1; } to { opacity: 0; } }

.consent__overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(10,14,39,0.78), rgba(10,14,39,0.92));
  backdrop-filter: var(--blur-md);
  -webkit-backdrop-filter: var(--blur-md);
}

.consent__dialog {
  position: relative;
  width: 100%;
  max-width: 720px;
  max-height: calc(100vh - var(--s-10));
  background: var(--glass-bg-strong);
  backdrop-filter: var(--blur-xl);
  -webkit-backdrop-filter: var(--blur-xl);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-2xl), 0 0 0 1px rgba(201,169,97,0.15), 0 0 80px rgba(10,14,39,0.6);
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr auto;
  animation: consent-dialog-in 350ms var(--ease-out) both;
}
@keyframes consent-dialog-in {
  from { transform: translateY(20px) scale(0.98); opacity: 0; }
  to   { transform: translateY(0) scale(1); opacity: 1; }
}

.consent__header {
  padding: var(--s-8) var(--s-8) var(--s-6);
  border-bottom: 1px solid var(--glass-border);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--s-4);
  align-items: start;
  background: linear-gradient(180deg, rgba(34,21,68,0.3), transparent);
}
.consent__header h2 {
  font-family: var(--f-display);
  font-size: clamp(1.5rem, 2.5vw + 0.5rem, 2rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: var(--s-3) 0 var(--s-3);
  color: var(--c-ivory);
}
.consent__header h2 em {
  font-style: italic;
  color: var(--c-gold-bright);
}
.consent__header-desc {
  font-size: var(--fs-sm);
  line-height: var(--lh-relaxed);
  color: var(--text-muted);
  margin: 0;
  max-width: 58ch;
}
.consent__close {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  background: transparent;
  border: 1px solid var(--glass-border);
  border-radius: var(--r-full);
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--t-fast) var(--ease-out);
  flex-shrink: 0;
}
.consent__close:hover {
  color: var(--c-ivory);
  border-color: rgba(201,169,97,0.4);
  transform: rotate(90deg);
}
.consent__close:focus-visible {
  outline: 2px solid var(--c-gold);
  outline-offset: 2px;
}

/* Scrollable categories zone */
.consent__categories {
  overflow-y: auto;
  overflow-x: hidden;
  max-height: 55vh;
  padding: var(--s-4) var(--s-8);
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
  scrollbar-width: thin;
  scrollbar-color: var(--c-ash) transparent;
}
.consent__categories::-webkit-scrollbar { width: 6px; }
.consent__categories::-webkit-scrollbar-thumb { background: var(--c-ash); border-radius: 3px; }
.consent__categories::-webkit-scrollbar-track { background: transparent; }

/* Pojedyncza kategoria */
.consent__cat {
  border: 1px solid var(--glass-border);
  border-radius: var(--r-md);
  background: rgba(255,255,255,0.02);
  overflow: hidden;
  transition: border-color var(--t-fast) var(--ease-out), background var(--t-fast) var(--ease-out);
}
.consent__cat:hover { border-color: rgba(201,169,97,0.25); }
.consent__cat:has([data-consent-toggle]:checked) {
  border-color: rgba(201,169,97,0.35);
  background: linear-gradient(140deg, rgba(201,169,97,0.04), rgba(10,144,144,0.02));
}

.consent__cat-header {
  padding: var(--s-5) var(--s-5);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--s-4);
  align-items: center;
}
.consent__cat-title {
  font-family: var(--f-display);
  font-size: var(--fs-lg);
  font-weight: 500;
  color: var(--c-ivory);
  margin-bottom: var(--s-1);
  letter-spacing: -0.005em;
}
.consent__cat-lede {
  font-size: var(--fs-sm);
  line-height: var(--lh-relaxed);
  color: var(--text-muted);
  margin: 0;
  max-width: 52ch;
}

/* Toggle switch */
.consent__switch {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  user-select: none;
  flex-shrink: 0;
  min-width: 80px;
}
.consent__switch input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 0; height: 0;
}
.consent__switch-track {
  display: block;
  width: 52px;
  height: 28px;
  background: rgba(255,255,255,0.08);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  position: relative;
  transition: all var(--t-med) var(--ease-spring);
}
.consent__switch-track::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 22px;
  height: 22px;
  background: var(--c-pearl);
  border-radius: 50%;
  transition: all var(--t-med) var(--ease-spring);
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.consent__switch input:checked ~ .consent__switch-track {
  background: linear-gradient(135deg, var(--c-gold), var(--c-gold-dark));
  border-color: var(--c-gold);
}
.consent__switch input:checked ~ .consent__switch-track::after {
  transform: translateX(24px);
  background: var(--c-navy-deep);
}
.consent__switch input:focus-visible ~ .consent__switch-track {
  outline: 2px solid var(--c-gold);
  outline-offset: 3px;
}
.consent__switch-label {
  font-family: var(--f-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: var(--ls-widest);
  color: var(--text-muted);
  transition: color var(--t-fast) var(--ease-out);
}
.consent__switch-label--on { display: none; color: var(--c-gold-bright); }
.consent__switch input:checked ~ .consent__switch-label--on { display: block; }
.consent__switch input:checked ~ .consent__switch-label--off { display: none; }

/* Stan locked (niezbędne — zawsze ON) */
.consent__switch--locked { cursor: default; opacity: 0.85; }
.consent__switch--locked .consent__switch-track {
  background: linear-gradient(135deg, var(--c-emerald), var(--c-emerald-deep));
  border-color: var(--c-emerald);
}
.consent__switch--locked .consent__switch-track::after {
  transform: translateX(24px);
  background: var(--c-ivory);
}
.consent__switch--locked .consent__switch-label {
  color: var(--c-emerald-bright);
}

/* Szczegóły kategorii (details/summary) */
.consent__cat-details {
  border-top: 1px solid rgba(255,255,255,0.04);
  padding: 0 var(--s-5);
}
.consent__cat-details[open] { padding-bottom: var(--s-4); }
.consent__cat-details summary {
  padding: var(--s-3) 0;
  font-family: var(--f-mono);
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: var(--ls-wider);
  color: var(--text-muted);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  gap: var(--s-2);
  transition: color var(--t-fast) var(--ease-out);
}
.consent__cat-details summary::-webkit-details-marker { display: none; }
.consent__cat-details summary::before {
  content: "+";
  display: inline-block;
  width: 14px;
  height: 14px;
  text-align: center;
  color: var(--c-gold);
  font-weight: 400;
  transition: transform var(--t-fast) var(--ease-out);
}
.consent__cat-details[open] summary::before { content: "−"; }
.consent__cat-details summary:hover { color: var(--c-ivory); }

.consent__cat-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: var(--s-2);
  font-size: var(--fs-xs);
}
.consent__cat-table th {
  text-align: left;
  padding: var(--s-2) var(--s-3);
  font-family: var(--f-mono);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: var(--ls-wider);
  color: var(--c-gold-bright);
  font-size: 10px;
  border-bottom: 1px solid var(--glass-border);
}
.consent__cat-table td {
  padding: var(--s-2) var(--s-3);
  color: var(--text-muted);
  border-bottom: 1px solid rgba(255,255,255,0.03);
}
.consent__cat-table tr:last-child td { border-bottom: none; }
.consent__cat-table code {
  font-family: var(--f-mono);
  color: var(--c-ivory);
  background: rgba(255,255,255,0.04);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 11px;
}

/* Stopka modalu */
.consent__footer {
  padding: var(--s-5) var(--s-8);
  border-top: 1px solid var(--glass-border);
  background: linear-gradient(0deg, rgba(34,21,68,0.15), transparent);
  display: flex;
  gap: var(--s-4);
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}
.consent__footer-meta {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  font-family: var(--f-mono);
}
.consent__footer-meta a { color: var(--c-gold-bright); text-decoration: none; }
.consent__footer-meta a:hover { text-decoration: underline; }
.consent__footer-actions {
  display: flex;
  gap: var(--s-2);
  flex-wrap: wrap;
  justify-content: flex-end;
}

/* Button w stopce dla „Zarządzaj zgodami" */
.footer__legal-btn {
  background: transparent;
  border: none;
  color: inherit;
  font: inherit;
  padding: 0;
  cursor: pointer;
  text-decoration: none;
  transition: color var(--t-fast) var(--ease-out);
}
.footer__legal-btn:hover { color: var(--c-gold-bright); }
.footer__legal-btn:focus-visible { outline: 2px solid var(--c-gold); outline-offset: 2px; }

/* Responsywność — mobile */
@media (max-width: 768px) {
  .consent__banner {
    left: var(--s-3);
    right: var(--s-3);
    bottom: var(--s-3);
    padding: var(--s-5);
  }
  .consent__banner-inner {
    grid-template-columns: 1fr;
    gap: var(--s-4);
    text-align: left;
  }
  .consent__banner-icon {
    width: 36px; height: 36px;
  }
  .consent__banner-actions {
    flex-wrap: wrap;
    justify-content: stretch;
  }
  .consent__banner-actions .btn {
    flex: 1 1 45%;
    min-width: 0;
    justify-content: center;
  }

  .consent__modal { padding: var(--s-3); }
  .consent__dialog { max-height: calc(100vh - var(--s-6)); }
  .consent__header { padding: var(--s-6) var(--s-5) var(--s-4); }
  .consent__categories { padding: var(--s-3) var(--s-5); max-height: calc(100vh - 340px); }
  .consent__footer {
    padding: var(--s-4) var(--s-5);
    flex-direction: column;
    align-items: stretch;
  }
  .consent__footer-actions {
    justify-content: stretch;
  }
  .consent__footer-actions .btn { flex: 1 1 auto; justify-content: center; }
  .consent__cat-header {
    grid-template-columns: 1fr;
    gap: var(--s-3);
  }
  .consent__switch { align-self: flex-start; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .consent__banner,
  .consent__modal,
  .consent__dialog { animation: none; }
  .consent__switch-track,
  .consent__switch-track::after { transition: none; }
  .consent__close { transition: none; }
  .consent__close:hover { transform: none; }
}


/* =========================================================================
   29. A11Y — Preferencje użytkownika
   ========================================================================= */
.hp-field {
  position: absolute !important;
  left: -10000px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  tab-index: -1;
}
.hp-field input,
.hp-field label {
  opacity: 0 !important;
}

/* Globalny błąd formularza — zwracany przez serwer (np. rate limit, server error) */
.form__global-error {
  display: block;
  margin-bottom: 1.25rem;
  padding: 0.9rem 1.2rem;
  font-family: var(--f-mono);
  font-size: var(--fs-sm);
  color: #FFC9C9;
  background: rgba(255, 90, 90, 0.08);
  border: 1px solid rgba(255, 90, 90, 0.35);
  border-radius: var(--r-md);
  letter-spacing: 0.02em;
  line-height: 1.5;
  animation: fadeIn 300ms var(--ease-out);
}

/* Redukcja ruchu */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .hero__orb { animation: none; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
}

/* Wyższy kontrast */
@media (prefers-contrast: more) {
  :root {
    --glass-border: rgba(255, 255, 255, 0.25);
    --text-muted: var(--c-ivory);
    --text-subtle: var(--c-pearl);
  }
  .btn { border-width: 2px; }
}

/* =========================================================================
   SEKCJA 30: PWA TOASTS — update notifier + install banner
   ========================================================================= */

/**
 * Oba toasty (update + install) używają tej samej struktury .pwa-toast.
 * Wyświetlane w lewym dolnym rogu (desktop) / fullwidth bottom (mobile).
 * Focus-visible, prefers-reduced-motion, prefers-contrast: high honorowane.
 */

.pwa-toast {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  right: auto;
  z-index: 9500;               /* Pod modalem cookies (9999), ponad resztą UI */
  max-width: 24rem;
  width: calc(100vw - 3rem);
  padding: 1rem 1.25rem;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-areas:
    "icon content"
    "actions actions";
  gap: 0.875rem 1rem;
  background: linear-gradient(180deg, rgba(26, 16, 59, 0.95) 0%, rgba(10, 14, 39, 0.95) 100%);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(201, 169, 97, 0.25);
  border-radius: 0.875rem;
  box-shadow:
    0 20px 60px -20px rgba(10, 14, 39, 0.8),
    0 8px 24px -8px rgba(10, 14, 39, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  color: var(--c-ivory);
  font-size: 0.9375rem;
  opacity: 0;
  transform: translateY(24px);
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.pwa-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* ────────── IKONA ────────── */
.pwa-toast__icon {
  grid-area: icon;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(228, 198, 120, 0.15) 0%, rgba(201, 169, 97, 0.08) 100%);
  color: var(--c-gold);
  flex-shrink: 0;
}

.pwa-toast--update .pwa-toast__icon svg {
  animation: pwa-toast-spin 3s linear infinite;
}

@keyframes pwa-toast-spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
  .pwa-toast--update .pwa-toast__icon svg {
    animation: none;
  }
  .pwa-toast {
    transition: opacity 0.15s linear;
    transform: none;
  }
}

/* ────────── TREŚĆ ────────── */
.pwa-toast__content {
  grid-area: content;
  min-width: 0;
}

.pwa-toast__title {
  margin: 0 0 0.25rem 0;
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--c-ivory);
  line-height: 1.2;
}

.pwa-toast__title em {
  font-style: italic;
  color: var(--c-gold);
  font-weight: 400;
}

.pwa-toast__text {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.4;
  color: var(--c-pearl);
}

/* ────────── AKCJE (przyciski) ────────── */
.pwa-toast__actions {
  grid-area: actions;
  display: flex;
  gap: 0.5rem;
  margin-top: 0.25rem;
}

.pwa-toast__btn {
  flex: 1 1 auto;
  padding: 0.625rem 1rem;
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  border-radius: 0.5rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.1s ease;
  -webkit-appearance: none;
  appearance: none;
  white-space: nowrap;
}

.pwa-toast__btn:focus-visible {
  outline: 2px solid var(--c-gold-light);
  outline-offset: 2px;
}

.pwa-toast__btn:active {
  transform: scale(0.98);
}

.pwa-toast__btn--primary {
  background: linear-gradient(135deg, var(--c-gold-light) 0%, var(--c-gold) 100%);
  color: var(--c-midnight);
  font-weight: 600;
}

.pwa-toast__btn--primary:hover {
  background: linear-gradient(135deg, #EED599 0%, #D4B56E 100%);
}

.pwa-toast__btn--ghost {
  background: transparent;
  color: var(--c-pearl);
  border-color: rgba(177, 188, 210, 0.25);
}

.pwa-toast__btn--ghost:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(201, 169, 97, 0.4);
  color: var(--c-ivory);
}

/* ────────── RESPONSIVE ────────── */
@media (max-width: 560px) {
  .pwa-toast {
    left: 0.75rem;
    right: 0.75rem;
    bottom: 0.75rem;
    max-width: none;
    width: auto;
    padding: 0.875rem 1rem;
    grid-template-areas:
      "icon content"
      "actions actions";
    grid-template-columns: 32px 1fr;
    gap: 0.75rem;
  }

  .pwa-toast__icon {
    width: 32px;
    height: 32px;
  }

  .pwa-toast__title {
    font-size: 1rem;
  }
}

/* ────────── TRYB STANDALONE (PWA zainstalowana) ────────── */
/* Gdy strona działa jako zainstalowana PWA, dodajemy safe-area padding dla iOS notch */
html.is-pwa-standalone .pwa-toast {
  padding-bottom: calc(1rem + env(safe-area-inset-bottom, 0));
  bottom: calc(1.5rem + env(safe-area-inset-bottom, 0));
}

/* Instalacja niepotrzebna w trybie standalone — ukryj install banner */
html.is-pwa-standalone .pwa-toast--install {
  display: none;
}

/* ────────── HIGH CONTRAST ────────── */
@media (prefers-contrast: more) {
  .pwa-toast {
    background: var(--c-midnight);
    border-width: 2px;
    border-color: var(--c-gold);
  }

  .pwa-toast__btn--primary {
    border: 2px solid var(--c-gold);
  }

  .pwa-toast__btn--ghost {
    border: 2px solid var(--c-ivory);
    color: var(--c-ivory);
  }
}

/* ────────── UKRYJ PWA TOAST GDY DRUKUJEMY ────────── */
@media print {
  .pwa-toast { display: none; }
}


/* Print */
@media print {
  body { background: #fff; color: #000; }
  .site-header, .hero__bg, .hero__scroll, .nav-toggle,
  .booking, .hero__card, .site-footer { display: none; }
  .section { page-break-inside: avoid; padding: 1rem 0; }
  a { color: #000; text-decoration: underline; }
  .hero { min-height: auto; padding-top: 2rem; }
  .btn { display: none; }
}

/* =========================================================================
   KONIEC STYLE.CSS — Hipnoza4You © 2026
   ========================================================================= */
