:root {
  --navy: #082b57;
  --navy-2: #0e3f75;
  --navy-3: #174f8a;
  --gold: #b8892f;
  --gold-2: #d2ad60;
  --ink: #10233f;
  --muted: #617088;
  --line: #dce4ee;
  --soft: #f4f7fb;
  --soft-blue: #edf4fb;
  --white: #ffffff;
  --success: #128c4f;
  --shadow: 0 24px 65px rgba(8, 43, 87, .12);
  --shadow-soft: 0 12px 34px rgba(8, 43, 87, .08);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --container: 1180px;
  --header-h: 84px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 18px); }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.menu-open { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
::selection { background: rgba(184,137,47,.23); color: var(--navy); }

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 9999;
  transform: translateY(-160%);
  background: var(--navy);
  color: white;
  padding: 10px 14px;
  border-radius: 10px;
}
.skip-link:focus { transform: translateY(0); }

.container { width: min(calc(100% - 40px), var(--container)); margin: 0 auto; }
.section { padding: 92px 0; position: relative; overflow: clip; }
.section-sm { padding: 64px 0; }
.section-soft { background: var(--soft); }
.section-blue { background: var(--navy); color: white; }
.section-gradient {
  background:
    radial-gradient(circle at 15% 10%, rgba(210,173,96,.15), transparent 26%),
    radial-gradient(circle at 88% 85%, rgba(23,79,138,.11), transparent 30%),
    linear-gradient(180deg, #fbfdff 0%, #f4f8fc 100%);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 15px;
  color: var(--gold);
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.section-title {
  margin: 0;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.1rem, 4.2vw, 4rem);
  line-height: 1.04;
  letter-spacing: -.035em;
}
.section-title.light { color: white; }
.section-lead {
  max-width: 760px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.16rem);
}
.section-blue .section-lead { color: rgba(255,255,255,.75); }
.section-head { margin-bottom: 42px; }
.section-head.center { text-align: center; }
.section-head.center .section-lead { margin-left: auto; margin-right: auto; }

.site-header {
  height: var(--header-h);
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(8,43,87,.08);
  transition: box-shadow .2s ease;
}
.site-header.scrolled { box-shadow: 0 10px 34px rgba(8,43,87,.08); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 26px; }
.brand { display: flex; align-items: center; gap: 12px; min-width: 255px; }
.brand-logo { width: 62px; height: 62px; border-radius: 50%; object-fit: cover; }
.brand-text { line-height: 1.05; }
.brand-title { display: block; color: var(--navy); font-size: .95rem; font-weight: 900; letter-spacing: .04em; text-transform: uppercase; }
.brand-sub { display: block; margin-top: 5px; color: var(--gold); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; }
.nav { display: flex; align-items: center; margin-left: auto; gap: 3px; }
.nav a {
  padding: 10px 9px;
  border-radius: 10px;
  color: #27405f;
  font-size: .88rem;
  font-weight: 700;
  transition: background .2s, color .2s;
}
.nav a:hover, .nav a.active { color: var(--navy); background: var(--soft-blue); }
.header-cta { margin-left: 8px; white-space: nowrap; }
.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  margin-left: auto;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: white;
  color: var(--navy);
}
.menu-toggle span { display: block; width: 20px; height: 2px; margin: 4px auto; background: currentColor; transition: .2s; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 50px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 14px;
  font-weight: 800;
  line-height: 1;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease, border .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible { outline: 3px solid rgba(184,137,47,.34); outline-offset: 3px; }
.btn-primary { background: var(--navy); color: white; box-shadow: 0 10px 25px rgba(8,43,87,.17); }
.btn-primary:hover { background: var(--navy-2); box-shadow: 0 14px 30px rgba(8,43,87,.23); }
.btn-gold { background: var(--gold); color: #fff; box-shadow: 0 10px 25px rgba(184,137,47,.22); }
.btn-gold:hover { background: #a87a25; }
.btn-outline { background: transparent; color: var(--navy); border-color: rgba(8,43,87,.26); }
.btn-outline:hover { border-color: var(--navy); background: var(--soft-blue); }
.btn-white { background: white; color: var(--navy); }
.btn-whatsapp { background: #167b4b; color: white; box-shadow: 0 10px 25px rgba(22,123,75,.17); }
.btn-whatsapp:hover { background: #116d41; }
.btn-sm { min-height: 44px; padding: 10px 15px; font-size: .9rem; border-radius: 12px; }
.icon { width: 19px; height: 19px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.hero {
  min-height: calc(100vh - var(--header-h));
  padding: 58px 0 56px;
  display: flex;
  align-items: center;
  background:
    radial-gradient(circle at 85% 25%, rgba(210,173,96,.17), transparent 23%),
    radial-gradient(circle at 9% 90%, rgba(23,79,138,.13), transparent 27%),
    linear-gradient(135deg, #ffffff 0%, #f8fbff 47%, #edf4fb 100%);
  position: relative;
  overflow: clip;
}
.hero::before {
  content: "";
  position: absolute;
  width: 440px;
  height: 440px;
  border: 1px solid rgba(8,43,87,.08);
  border-radius: 50%;
  right: -190px;
  top: 22px;
}
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 68px; align-items: center; }
.hero-copy { position: relative; z-index: 2; }
.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 12px;
  margin-bottom: 18px;
  border: 1px solid rgba(184,137,47,.27);
  background: rgba(255,255,255,.72);
  border-radius: 999px;
  color: var(--navy);
  font-weight: 800;
  font-size: .82rem;
}
.hero-kicker i { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 5px rgba(184,137,47,.11); }
.hero h1 {
  max-width: 780px;
  margin: 0;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 6.3vw, 6.3rem);
  line-height: .98;
  letter-spacing: -.055em;
}
.hero h1 .gold { color: var(--gold); }
.hero-desc { max-width: 700px; margin: 25px 0 0; color: #4e6078; font-size: clamp(1rem, 1.6vw, 1.16rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 31px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 18px 28px; margin-top: 30px; color: #425874; font-size: .92rem; font-weight: 700; }
.hero-meta span { display: inline-flex; align-items: center; gap: 7px; }
.hero-meta svg { color: var(--gold); }
.hero-visual { position: relative; min-height: 560px; }
.hero-card-main {
  position: absolute;
  inset: 16px 24px 42px 32px;
  border-radius: 42px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: white;
}
.hero-card-main::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 52%, rgba(8,43,87,.72) 100%);
  pointer-events: none;
}
.hero-card-main img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 44%; }
.hero-logo-chip {
  position: absolute;
  top: 0;
  right: 0;
  width: 116px;
  height: 116px;
  padding: 8px;
  border-radius: 50%;
  background: white;
  box-shadow: 0 18px 45px rgba(8,43,87,.17);
  z-index: 3;
}
.hero-logo-chip img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.hero-price {
  position: absolute;
  z-index: 3;
  left: 0;
  bottom: 15px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 17px 20px;
  background: white;
  border: 1px solid rgba(8,43,87,.08);
  border-radius: 18px;
  box-shadow: var(--shadow-soft);
}
.hero-price strong { display: block; color: var(--navy); font-size: 1.3rem; line-height: 1; }
.hero-price span { color: var(--muted); font-size: .8rem; }
.hero-price .price-icon { width: 42px; height: 42px; display: grid; place-items: center; color: var(--gold); background: #fff8e9; border-radius: 50%; }
.hero-float {
  position: absolute;
  right: -4px;
  bottom: 60px;
  z-index: 3;
  max-width: 220px;
  padding: 14px 16px;
  background: var(--navy);
  color: white;
  border-radius: 16px;
  box-shadow: 0 17px 40px rgba(8,43,87,.25);
  font-size: .88rem;
  font-weight: 700;
}
.hero-float small { display: block; margin-top: 5px; color: rgba(255,255,255,.7); font-weight: 500; }

.trust-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: white; }
.trust-grid { display: grid; grid-template-columns: repeat(4,1fr); }
.trust-item { display: flex; gap: 12px; align-items: center; padding: 24px 20px; border-right: 1px solid var(--line); }
.trust-item:last-child { border-right: 0; }
.trust-icon { width: 44px; height: 44px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 14px; color: var(--navy); background: var(--soft-blue); }
.trust-item strong { display: block; color: var(--navy); font-size: .94rem; }
.trust-item span { display: block; color: var(--muted); font-size: .8rem; }

.offer-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 22px; }
.offer-card {
  position: relative;
  min-height: 330px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: white;
  box-shadow: 0 4px 0 rgba(8,43,87,.02);
  overflow: hidden;
  transition: transform .22s ease, box-shadow .22s ease, border .22s ease;
}
.offer-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-soft); border-color: rgba(8,43,87,.18); }
.offer-card::after { content: ""; position: absolute; width: 190px; height: 190px; border-radius: 50%; right: -90px; top: -90px; background: rgba(23,79,138,.06); }
.offer-card.gold::after { background: rgba(184,137,47,.08); }
.offer-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; position: relative; z-index: 2; }
.offer-flag { font-size: 2rem; filter: saturate(.88); }
.offer-tag { padding: 6px 10px; border-radius: 999px; background: var(--soft-blue); color: var(--navy); font-size: .76rem; font-weight: 800; }
.offer-card h3 { margin: 30px 0 10px; color: var(--navy); font-family: Georgia,serif; font-size: 2rem; }
.offer-card p { color: var(--muted); margin: 0 0 20px; }
.pill-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 25px; }
.pill { padding: 7px 10px; border-radius: 999px; background: var(--soft); color: #36506d; border: 1px solid #e3e9f1; font-size: .8rem; font-weight: 700; }
.text-link { display: inline-flex; align-items: center; gap: 7px; color: var(--navy); font-weight: 850; }
.text-link:hover { color: var(--gold); }
.text-link .arrow { transition: transform .18s; }
.text-link:hover .arrow { transform: translateX(4px); }

.exam-grid { display: grid; grid-template-columns: .93fr 1.07fr; gap: 54px; align-items: center; }
.process-card {
  padding: 32px;
  border-radius: var(--radius-xl);
  background: var(--navy);
  color: white;
  box-shadow: var(--shadow);
}
.process-steps { display: grid; gap: 0; margin-top: 24px; }
.process-step { position: relative; display: grid; grid-template-columns: 46px 1fr; gap: 15px; padding: 0 0 25px; }
.process-step:last-child { padding-bottom: 0; }
.process-step:not(:last-child)::before { content: ""; position: absolute; left: 22px; top: 42px; bottom: 4px; width: 1px; background: rgba(255,255,255,.2); }
.step-no { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.09); color: var(--gold-2); border: 1px solid rgba(210,173,96,.3); font-weight: 900; }
.process-step h4 { margin: 1px 0 4px; font-size: 1rem; }
.process-step p { margin: 0; color: rgba(255,255,255,.69); font-size: .9rem; }
.check-list { display: grid; gap: 12px; margin: 28px 0; }
.check-item { display: flex; align-items: flex-start; gap: 11px; color: #40556f; }
.check-dot { width: 24px; height: 24px; flex: 0 0 auto; display: grid; place-items: center; margin-top: 2px; border-radius: 50%; background: #edf7f2; color: #14744a; }

.matura-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 20px; }
.level-card { padding: 31px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: white; }
.level-card.featured { border-color: rgba(184,137,47,.34); background: linear-gradient(180deg,#fffdf8,#fff); }
.level-label { display: inline-flex; padding: 6px 10px; border-radius: 999px; color: var(--navy); background: var(--soft-blue); font-size: .76rem; font-weight: 850; }
.level-card.featured .level-label { color: #8a611a; background: #fff3d9; }
.level-card h3 { margin: 18px 0 9px; color: var(--navy); font-family: Georgia,serif; font-size: 1.75rem; }
.level-card p { margin: 0; color: var(--muted); }

.vr-wrap {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: 62px;
  align-items: center;
}
.vr-visual { position: relative; }
.vr-img-shell { padding: 14px; border-radius: 34px; background: white; box-shadow: 0 25px 60px rgba(0,0,0,.2); transform: rotate(-1deg); }
.vr-img-shell img { border-radius: 24px; }
.vr-badge { position: absolute; right: -10px; top: 46px; padding: 12px 15px; border-radius: 14px; background: var(--gold); color: white; font-weight: 900; box-shadow: 0 12px 30px rgba(184,137,47,.25); }
.vr-steps { display: grid; grid-template-columns: repeat(2,1fr); gap: 12px; margin-top: 28px; }
.vr-step { padding: 16px; border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.06); border-radius: 16px; }
.vr-step strong { display: block; color: var(--gold-2); margin-bottom: 4px; }
.vr-step span { color: rgba(255,255,255,.72); font-size: .87rem; }

.games-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: stretch; }
.voxel-scene {
  position: relative;
  min-height: 410px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: linear-gradient(160deg,#dbeaf7 0%,#b9d6ed 46%,#e6d6a1 46.4%,#d8b56b 100%);
  box-shadow: var(--shadow-soft);
}
.voxel-scene::before,
.voxel-scene::after { content: ""; position: absolute; inset: auto; }
.voxel-scene::before { width: 180px; height: 180px; left: 55px; bottom: 58px; background: linear-gradient(135deg,#5d8a55 0 50%,#466e43 50%); box-shadow: 90px -40px 0 #759d66, 180px 18px 0 #557c4f, 260px -62px 0 #83a771; clip-path: polygon(50% 0,100% 25%,100% 75%,50% 100%,0 75%,0 25%); transform: rotate(30deg); opacity: .88; }
.voxel-scene::after { width: 100%; height: 80px; left: 0; bottom: 0; background: linear-gradient(180deg,#436f98,#294c70); }
.game-overlay { position: absolute; inset: 28px; display: flex; flex-direction: column; justify-content: space-between; z-index: 2; }
.game-chip { align-self: flex-start; padding: 8px 11px; border-radius: 999px; background: rgba(255,255,255,.86); backdrop-filter: blur(6px); color: var(--navy); font-size: .8rem; font-weight: 850; }
.game-mission { align-self: flex-end; max-width: 270px; padding: 18px; border-radius: 18px; background: rgba(8,43,87,.91); color: white; box-shadow: 0 16px 35px rgba(8,43,87,.28); }
.game-mission small { color: var(--gold-2); text-transform: uppercase; letter-spacing: .12em; font-weight: 900; }
.game-mission strong { display: block; margin-top: 7px; font-size: 1.05rem; }
.game-mission span { display: block; margin-top: 6px; color: rgba(255,255,255,.7); font-size: .86rem; }
.materials-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 15px; margin-top: 34px; }
.material-card { padding: 22px; border: 1px solid var(--line); border-radius: 18px; background: white; }
.material-icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 13px; background: var(--soft-blue); color: var(--navy); }
.material-card h4 { margin: 15px 0 5px; color: var(--navy); }
.material-card p { margin: 0; color: var(--muted); font-size: .85rem; }

.about-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 65px; align-items: center; }
.about-photo { position: relative; }
.about-photo img { width: 100%; aspect-ratio: 1/1.05; object-fit: cover; border-radius: var(--radius-xl); box-shadow: var(--shadow); }
.about-photo::after { content: "6 lat doświadczenia"; position: absolute; right: -16px; bottom: 28px; padding: 14px 17px; border-radius: 14px; background: var(--navy); color: white; font-weight: 900; box-shadow: var(--shadow-soft); }
.about-copy p { color: #52657d; font-size: 1.03rem; }
.about-facts { display: grid; grid-template-columns: repeat(3,1fr); gap: 11px; margin: 25px 0 30px; }
.fact { padding: 17px; border-radius: 16px; background: var(--soft); border: 1px solid #e4eaf1; }
.fact strong { display: block; color: var(--navy); font-size: 1.05rem; }
.fact span { display: block; margin-top: 3px; color: var(--muted); font-size: .78rem; }
.quote-box { margin-top: 24px; padding: 22px 24px; border-left: 3px solid var(--gold); border-radius: 0 16px 16px 0; background: #fffaf0; color: #5a4a2e; font-family: Georgia,serif; font-size: 1.12rem; }

.story-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.story-card { position: relative; padding: 26px; border-radius: 22px; border: 1px solid var(--line); background: white; overflow: hidden; }
.story-card::before { content: attr(data-no); position: absolute; right: 16px; top: -18px; color: rgba(8,43,87,.05); font-family: Georgia,serif; font-size: 7rem; line-height: 1; font-weight: 900; }
.story-card h3 { position: relative; margin: 14px 0 12px; color: var(--navy); font-family: Georgia,serif; font-size: 1.5rem; }
.story-card p { position: relative; margin: 0; color: var(--muted); font-size: .92rem; }
.story-route { position: relative; display: flex; gap: 7px; align-items: center; color: var(--gold); font-size: .73rem; font-weight: 900; text-transform: uppercase; letter-spacing: .09em; }

.reviews-shell { padding: 38px; border-radius: var(--radius-xl); background: var(--navy); color: white; box-shadow: var(--shadow); }
.review-top { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.rating-big { display: flex; align-items: center; gap: 10px; color: #f3ca68; letter-spacing: .08em; font-size: 1.05rem; }
.review-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; }
.review-card { padding: 22px; min-height: 220px; border: 1px solid rgba(255,255,255,.12); border-radius: 18px; background: rgba(255,255,255,.065); }
.review-card .stars { color: #f3ca68; letter-spacing: .08em; }
.review-card p { margin: 13px 0 18px; color: rgba(255,255,255,.79); font-size: .89rem; }
.review-card strong { font-size: .88rem; }
.review-card small { display: block; margin-top: 2px; color: rgba(255,255,255,.5); }

.price-map-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 22px; align-items: stretch; }
.price-card { padding: 34px; border-radius: var(--radius-xl); background: linear-gradient(145deg,#0a3263,#082b57); color: white; box-shadow: var(--shadow); }
.price-number { margin: 22px 0 4px; font-family: Georgia,serif; font-size: 4rem; line-height: 1; color: white; letter-spacing: -.04em; }
.price-number span { color: var(--gold-2); font-size: 1.3rem; }
.price-card p { color: rgba(255,255,255,.72); }
.price-notes { display: grid; gap: 10px; margin: 25px 0; }
.price-note { display: flex; gap: 9px; align-items: start; color: rgba(255,255,255,.85); font-size: .9rem; }
.map-card { position: relative; min-height: 520px; border-radius: var(--radius-xl); overflow: hidden; border: 1px solid var(--line); background: #eaf1f7; box-shadow: var(--shadow-soft); }
#service-map { width: 100%; height: 100%; min-height: 520px; z-index: 1; }
.map-overlay { position: absolute; z-index: 500; top: 18px; left: 18px; right: 18px; display: flex; justify-content: space-between; gap: 12px; pointer-events: none; }
.map-info { max-width: 360px; padding: 14px 16px; border-radius: 16px; background: rgba(255,255,255,.94); backdrop-filter: blur(10px); box-shadow: 0 12px 30px rgba(8,43,87,.13); }
.map-info strong { display: block; color: var(--navy); }
.map-info span { color: var(--muted); font-size: .78rem; }
.map-fallback { position: absolute; inset: 0; display: none; place-items: center; padding: 32px; text-align: center; background: linear-gradient(145deg,#edf4fb,#dceaf6); color: var(--navy); z-index: 2; }
.map-fallback.visible { display: grid; }
.map-fallback .district-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 16px; }
.leaflet-container { font-family: inherit !important; }
.district-label { background: white !important; border: 0 !important; box-shadow: 0 6px 16px rgba(8,43,87,.18) !important; color: var(--navy) !important; font-weight: 850 !important; padding: 5px 8px !important; }
.district-label::before { display: none !important; }

.contact-band { padding: 56px 0; background: linear-gradient(100deg,#071f40,#0b376c); color: white; }
.contact-band-grid { display: grid; grid-template-columns: 1fr auto; gap: 38px; align-items: center; }
.contact-band h2 { margin: 0; color: white; font-family: Georgia,serif; font-size: clamp(2rem,4vw,3.5rem); line-height: 1.04; }
.contact-band p { max-width: 700px; margin: 14px 0 0; color: rgba(255,255,255,.7); }
.contact-actions { display: flex; flex-wrap: wrap; gap: 10px; }

.site-footer { background: #041a35; color: rgba(255,255,255,.72); padding: 58px 0 110px; }
.footer-grid { display: grid; grid-template-columns: 1.35fr .8fr .8fr 1fr; gap: 40px; }
.footer-brand { display: flex; gap: 15px; align-items: center; color: white; }
.footer-brand img { width: 68px; height: 68px; object-fit: cover; border-radius: 50%; }
.footer-brand strong { display: block; font-size: .94rem; text-transform: uppercase; letter-spacing: .06em; }
.footer-brand span { display: block; margin-top: 5px; color: var(--gold-2); font-size: .75rem; }
.footer-desc { max-width: 420px; margin-top: 20px; font-size: .9rem; }
.footer-col h4 { margin: 0 0 13px; color: white; font-size: .86rem; text-transform: uppercase; letter-spacing: .1em; }
.footer-col a, .footer-col span { display: block; padding: 4px 0; font-size: .88rem; }
.footer-col a:hover { color: white; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); font-size: .78rem; }

.mobile-bar {
  display: none;
  position: fixed;
  left: 10px;
  right: 10px;
  bottom: max(10px, env(safe-area-inset-bottom));
  z-index: 1200;
  padding: 7px;
  border-radius: 17px;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(12px);
  box-shadow: 0 14px 40px rgba(8,43,87,.22);
  border: 1px solid rgba(8,43,87,.1);
  grid-template-columns: 1fr 1fr;
  gap: 7px;
}
.mobile-bar .btn { min-height: 46px; }

/* Subpage */
.page-hero { padding: 72px 0 62px; background: linear-gradient(135deg,#fff,#eef5fb); border-bottom: 1px solid var(--line); }
.page-hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 50px; align-items: center; }
.page-hero h1 { margin: 0; color: var(--navy); font-family: Georgia,serif; font-size: clamp(2.8rem,5.5vw,5rem); line-height: 1; letter-spacing: -.045em; }
.page-hero p { max-width: 720px; margin: 21px 0 0; color: var(--muted); font-size: 1.08rem; }
.page-hero-card { padding: 28px; border-radius: 26px; background: var(--navy); color: white; box-shadow: var(--shadow); }
.page-hero-card strong { display: block; color: var(--gold-2); font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; }
.page-hero-card p { margin: 12px 0 0; color: rgba(255,255,255,.76); font-size: .92rem; }
.content-grid { display: grid; grid-template-columns: 1fr 340px; gap: 50px; }
.prose h2 { margin: 0 0 15px; color: var(--navy); font-family: Georgia,serif; font-size: 2.2rem; }
.prose h3 { margin: 30px 0 10px; color: var(--navy); }
.prose p { color: #53667d; }
.prose ul { padding-left: 18px; color: #53667d; }
.prose li { margin-bottom: 7px; }
.sidebar-card { position: sticky; top: calc(var(--header-h) + 22px); padding: 24px; border-radius: 22px; border: 1px solid var(--line); background: white; box-shadow: var(--shadow-soft); }
.sidebar-card h3 { margin: 0 0 8px; color: var(--navy); font-family: Georgia,serif; font-size: 1.5rem; }
.sidebar-card p { margin: 0 0 16px; color: var(--muted); font-size: .88rem; }
.sidebar-card .btn { width: 100%; margin-top: 8px; }
.feature-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.feature-card { padding: 23px; border: 1px solid var(--line); border-radius: 18px; background: white; }
.feature-card h3 { margin: 12px 0 6px; color: var(--navy); font-size: 1rem; }
.feature-card p { margin: 0; color: var(--muted); font-size: .86rem; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.contact-card { padding: 28px; border-radius: 22px; border: 1px solid var(--line); background: white; }
.contact-card h3 { margin: 0 0 8px; color: var(--navy); font-family: Georgia,serif; font-size: 1.5rem; }
.contact-card p { margin: 0 0 18px; color: var(--muted); }
.social-row { display: flex; flex-wrap: wrap; gap: 9px; }

[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s ease; }
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1100px) {
  .brand { min-width: auto; }
  .brand-text { display: none; }
  .nav a { font-size: .82rem; padding-left: 7px; padding-right: 7px; }
  .hero-grid { gap: 35px; }
  .hero-visual { min-height: 520px; }
  .materials-grid { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 930px) {
  :root { --header-h: 72px; }
  .site-header { height: var(--header-h); }
  .brand-logo { width: 52px; height: 52px; }
  .menu-toggle { display: block; }
  .header-cta { display: none; }
  .nav {
    position: fixed;
    left: 16px;
    right: 16px;
    top: calc(var(--header-h) + 8px);
    display: grid;
    gap: 4px;
    margin: 0;
    padding: 14px;
    border-radius: 18px;
    background: white;
    box-shadow: 0 22px 60px rgba(8,43,87,.2);
    border: 1px solid var(--line);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: .2s;
  }
  .nav.open { opacity: 1; pointer-events: auto; transform: translateY(0); }
  .nav a { padding: 12px 13px; font-size: .94rem; }
  .hero { min-height: auto; padding-top: 44px; }
  .hero-grid, .exam-grid, .vr-wrap, .games-grid, .about-grid, .price-map-grid, .page-hero-grid { grid-template-columns: 1fr; }
  .hero-copy { text-align: center; }
  .hero-desc { margin-left: auto; margin-right: auto; }
  .hero-actions, .hero-meta { justify-content: center; }
  .hero-visual { width: min(600px, 100%); min-height: 610px; margin: 0 auto; }
  .trust-grid { grid-template-columns: repeat(2,1fr); }
  .trust-item:nth-child(2) { border-right: 0; }
  .trust-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .offer-grid, .matura-grid { grid-template-columns: 1fr; }
  .about-photo { width: min(620px,100%); margin: 0 auto; }
  .story-grid, .review-grid { grid-template-columns: 1fr; }
  .review-card { min-height: auto; }
  .contact-band-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .content-grid { grid-template-columns: 1fr; }
  .sidebar-card { position: static; }
}

@media (max-width: 680px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .section { padding: 72px 0; }
  .section-sm { padding: 50px 0; }
  .hero { padding: 38px 0 40px; }
  .hero h1 { font-size: clamp(3rem,14vw,4.8rem); }
  .hero-desc { font-size: 1rem; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-meta { gap: 10px 16px; font-size: .82rem; }
  .hero-visual { min-height: 500px; }
  .hero-card-main { inset: 18px 0 42px; border-radius: 28px; }
  .hero-logo-chip { width: 92px; height: 92px; right: -6px; }
  .hero-float { max-width: 200px; right: 2px; bottom: 50px; font-size: .8rem; }
  .hero-price { left: 5px; padding: 13px 15px; }
  .hero-price strong { font-size: 1.05rem; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-item { border-right: 0; border-bottom: 1px solid var(--line) !important; }
  .trust-item:last-child { border-bottom: 0 !important; }
  .offer-card { min-height: auto; padding: 26px; }
  .process-card { padding: 25px; }
  .vr-steps { grid-template-columns: 1fr; }
  .vr-badge { right: 0; }
  .materials-grid, .about-facts, .feature-grid, .contact-grid { grid-template-columns: 1fr; }
  .voxel-scene { min-height: 360px; }
  .about-photo::after { right: 10px; bottom: 14px; }
  .review-top { align-items: flex-start; flex-direction: column; }
  .reviews-shell { padding: 24px; }
  .map-card, #service-map { min-height: 440px; }
  .map-overlay { top: 12px; left: 12px; right: 12px; }
  .map-info { max-width: 100%; }
  .contact-actions .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; }
  .mobile-bar { display: grid; }
  .site-footer { padding-bottom: 110px; }
  .page-hero { padding: 48px 0; }
  .page-hero h1 { font-size: clamp(2.8rem,12vw,4rem); }
}

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

/* Expanded materials / lesson tools showcase */
.materials-showcase { overflow: hidden; }
.materials-grid-rich { grid-template-columns: repeat(3, 1fr); }
.material-card { transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.material-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); border-color: rgba(8,43,87,.16); }
.material-card-featured {
  background: linear-gradient(145deg, #0a3263, #082b57);
  border-color: transparent;
  color: white;
  box-shadow: 0 18px 45px rgba(8,43,87,.16);
}
.material-card-featured .material-icon { background: rgba(255,255,255,.10); color: var(--gold-2); border: 1px solid rgba(210,173,96,.28); }
.material-card-featured h4 { color: white; }
.material-card-featured p { color: rgba(255,255,255,.75); }
.material-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.material-label { padding: 6px 9px; border-radius: 999px; background: rgba(210,173,96,.16); color: var(--gold-2); border: 1px solid rgba(210,173,96,.25); font-size: .68rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.materials-media {
  display: grid;
  grid-template-columns: minmax(260px,.72fr) 1.28fr;
  gap: 54px;
  align-items: center;
  margin-top: 44px;
  padding: 34px;
  border-radius: var(--radius-xl);
  background: white;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}
.materials-video-shell {
  position: relative;
  width: min(340px,100%);
  margin: 0 auto;
  padding: 8px;
  border-radius: 28px;
  background: var(--navy);
  box-shadow: 0 24px 55px rgba(8,43,87,.22);
}
.materials-video-shell::after {
  content: "21 s • VR Language Experience";
  position: absolute;
  left: 16px;
  bottom: 17px;
  z-index: 2;
  padding: 6px 9px;
  border-radius: 999px;
  background: rgba(5,22,43,.74);
  color: rgba(255,255,255,.9);
  backdrop-filter: blur(8px);
  font-size: .68rem;
  font-weight: 800;
  pointer-events: none;
}
.materials-video-shell video { display: block; width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 21px; background: #061729; }
.materials-video-copy h3 { margin: 10px 0 12px; color: var(--navy); font-family: Georgia,serif; font-size: clamp(2rem,3vw,3rem); line-height: 1.05; letter-spacing: -.025em; }
.materials-video-copy > p { margin: 0; color: var(--muted); font-size: 1rem; line-height: 1.75; }
.check-list.compact { margin: 22px 0 26px; }

@media (max-width: 1100px) {
  .materials-grid-rich { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 930px) {
  .materials-media { grid-template-columns: 1fr 1.25fr; gap: 34px; }
}
@media (max-width: 680px) {
  .materials-grid-rich { grid-template-columns: 1fr; }
  .materials-media { grid-template-columns: 1fr; padding: 22px; gap: 28px; }
  .materials-video-shell { width: min(300px, 88vw); }
  .materials-video-copy { text-align: left; }
}

/* Exam and matura refinements */
.exam-callout {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 24px 0 6px;
  padding: 16px 18px;
  border-radius: 16px;
  background: #f7f2e8;
  border: 1px solid rgba(184,137,47,.22);
  color: #485b72;
}
.exam-callout strong { color: var(--navy); white-space: nowrap; }

.matura-focus-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 20px;
}
.matura-focus {
  padding: 22px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.78);
}
.matura-focus > span {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--gold);
  font-size: .75rem;
  font-weight: 900;
  letter-spacing: .1em;
}
.matura-focus strong {
  display: block;
  color: var(--navy);
  font-family: Georgia, serif;
  font-size: 1.2rem;
  margin-bottom: 7px;
}
.matura-focus p { margin: 0; color: var(--muted); font-size: .9rem; line-height: 1.65; }

.exam-video-feature { padding-top: 16px; }
.exam-video-panel {
  display: grid;
  grid-template-columns: 1.2fr minmax(250px,.62fr);
  gap: 54px;
  align-items: center;
  padding: 42px;
  border-radius: var(--radius-xl);
  background: linear-gradient(145deg,#0a3263,#061f41);
  color: white;
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
}
.exam-video-panel::before {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  right: -170px;
  top: -170px;
  background: rgba(210,173,96,.08);
}
.exam-video-copy { position: relative; z-index: 1; }
.exam-video-copy > p { color: rgba(255,255,255,.76); line-height: 1.75; max-width: 700px; }
.light-checks .check-item { color: rgba(255,255,255,.82); }
.light-checks .check-dot { background: rgba(255,255,255,.1); color: var(--gold-2); border: 1px solid rgba(210,173,96,.25); }
.exam-video-shell {
  position: relative;
  z-index: 1;
  width: min(310px,100%);
  margin: 0 auto;
  padding: 8px;
  border-radius: 28px;
  background: rgba(255,255,255,.09);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 28px 60px rgba(0,0,0,.25);
}
.exam-video-shell::after {
  content: "39 s • przygotowanie do egzaminu";
  position: absolute;
  left: 16px;
  bottom: 17px;
  z-index: 2;
  padding: 6px 9px;
  border-radius: 999px;
  background: rgba(5,22,43,.75);
  color: rgba(255,255,255,.92);
  font-size: .66rem;
  font-weight: 800;
  pointer-events: none;
  backdrop-filter: blur(8px);
}
.exam-video-shell video {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  border-radius: 21px;
  background: #061729;
}

.exam-benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 34px 0 44px;
}
.exam-benefit {
  padding: 26px;
  border-radius: 20px;
  background: white;
  border: 1px solid var(--line);
  box-shadow: 0 12px 30px rgba(8,43,87,.055);
}
.exam-benefit > span {
  display: inline-flex;
  color: var(--gold);
  font-weight: 900;
  font-size: .76rem;
  letter-spacing: .11em;
  margin-bottom: 14px;
}
.exam-benefit h3 {
  margin: 0 0 8px;
  color: var(--navy);
  font-family: Georgia,serif;
  font-size: 1.4rem;
}
.exam-benefit p { margin: 0; color: var(--muted); line-height: 1.7; font-size: .92rem; }
.exam-details-grid { align-items: start; }

@media (max-width: 930px) {
  .matura-focus-grid, .exam-benefit-grid { grid-template-columns: 1fr; }
  .exam-video-panel { grid-template-columns: 1fr; gap: 32px; }
  .exam-video-shell { width: min(290px,88vw); }
}
@media (max-width: 680px) {
  .exam-callout { flex-direction: column; gap: 4px; }
  .exam-video-panel { padding: 24px; border-radius: 24px; }
  .exam-video-feature { padding-top: 0; }
}

.materials-principle {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 42px;
  align-items: center;
  margin-top: 42px;
  padding: 32px;
  border-radius: var(--radius-xl);
  background: white;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}
.materials-principle h3 {
  margin: 10px 0 12px;
  color: var(--navy);
  font-family: Georgia,serif;
  font-size: clamp(1.8rem,3vw,2.7rem);
  line-height: 1.08;
}
.materials-principle p { margin: 0; color: var(--muted); line-height: 1.75; }
.materials-principle-points { display: grid; gap: 12px; }
.materials-principle-points > div {
  padding: 16px 18px;
  border-radius: 16px;
  background: var(--soft);
  border: 1px solid #e5ebf2;
}
.materials-principle-points strong { display: block; color: var(--navy); margin-bottom: 4px; }
.materials-principle-points span { display: block; color: var(--muted); font-size: .9rem; line-height: 1.55; }
@media (max-width: 820px) {
  .materials-principle { grid-template-columns: 1fr; gap: 24px; padding: 24px; }
}

/* v5 icon / bullet refinements */
.icon-xl { width: 26px; height: 26px; }
.trust-icon,
.material-icon {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(8,43,87,.08);
  background: linear-gradient(180deg, #ffffff 0%, #edf4fb 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 10px 22px rgba(8,43,87,.08);
}
.trust-icon::before,
.material-icon::before {
  content: "";
  position: absolute;
  width: 22px;
  height: 22px;
  right: -6px;
  bottom: -6px;
  border-radius: 50%;
  background: rgba(184,137,47,.16);
}
.trust-icon::after,
.material-icon::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  left: -5px;
  top: -5px;
  border-radius: 50%;
  background: rgba(23,79,138,.10);
}
.trust-icon svg,
.material-icon svg { position: relative; z-index: 1; }
.trust-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
}
.material-icon {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  color: var(--navy);
  font-weight: 900;
  font-size: 1rem;
}
.material-card-featured .material-icon {
  background: linear-gradient(180deg, rgba(255,255,255,.14), rgba(255,255,255,.08));
  border-color: rgba(210,173,96,.26);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 10px 24px rgba(0,0,0,.14);
}
.material-card-featured .material-icon::before { background: rgba(210,173,96,.18); }
.material-card-featured .material-icon::after { background: rgba(255,255,255,.08); }
.feature-card {
  position: relative;
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
  border-color: rgba(8,43,87,.14);
}
.feature-card::after {
  content: "";
  position: absolute;
  right: -26px;
  top: -26px;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(23,79,138,.08), transparent 70%);
}
.feature-card .material-icon,
.material-card .material-icon {
  margin-bottom: 16px;
}
.check-item {
  padding: 10px 12px;
  border-radius: 16px;
  background: rgba(255,255,255,.7);
  border: 1px solid rgba(8,43,87,.06);
}
.light-checks .check-item {
  background: rgba(255,255,255,.04);
  border-color: rgba(255,255,255,.08);
}
.check-dot {
  width: 30px;
  height: 30px;
  margin-top: 0;
  border-radius: 12px;
  background: linear-gradient(180deg, #f5fbf8 0%, #e6f5ed 100%);
  border: 1px solid rgba(20,116,74,.10);
  box-shadow: 0 8px 18px rgba(20,116,74,.10);
  font-size: .92rem;
  font-weight: 800;
}
.light-checks .check-dot {
  background: linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,.06));
  border-color: rgba(210,173,96,.22);
  box-shadow: none;
}
.materials-principle-points > div {
  position: relative;
  padding: 18px 18px 18px 64px;
  border-radius: 18px;
  background: white;
  border: 1px solid var(--line);
  box-shadow: 0 8px 20px rgba(8,43,87,.05);
}
.materials-principle-points > div::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 18px;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: linear-gradient(180deg, #ffffff 0%, #edf4fb 100%);
  border: 1px solid rgba(8,43,87,.08);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 8px 18px rgba(8,43,87,.08);
}
.materials-principle-points > div::after {
  position: absolute;
  left: 28px;
  top: 26px;
  color: var(--navy);
  font-size: .95rem;
  font-weight: 900;
}
.materials-principle-points > div:nth-child(1)::after { content: "✓"; }
.materials-principle-points > div:nth-child(2)::after { content: "↗"; }
.materials-principle-points > div:nth-child(3)::after { content: "💬"; font-size: .82rem; left: 27px; top: 25px; }
@media (max-width: 680px) {
  .material-icon,
  .trust-icon { width: 50px; height: 50px; }
  .check-item { padding: 10px; }
  .check-dot { width: 28px; height: 28px; }
  .materials-principle-points > div { padding-left: 58px; }
}
