:root {
  --bg: #f7f7f4;
  --surface: #efeeea;
  --surface-2: #e6e5df;
  --line: rgba(0,0,0,0.11);
  --text: #141414;
  --muted: #6b6b66;
  --orange: #ff9e00;
  --orange-dim: rgba(255,158,0,0.13);
  --navy: #002b96;
  --navy-dim: rgba(0,43,150,0.09);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
html, body { overscroll-behavior-y: none; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
  position: relative;
}
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(1200px 700px at 10% -5%, rgba(255,158,0,0.11), transparent 60%),
    radial-gradient(1000px 750px at 100% 10%, rgba(0,43,150,0.08), transparent 55%),
    radial-gradient(900px 900px at 8% 60%, rgba(0,43,150,0.05), transparent 55%),
    radial-gradient(1100px 850px at 95% 100%, rgba(255,158,0,0.07), transparent 55%),
    linear-gradient(180deg, #fbfbf9 0%, #f2f2ed 100%);
  transform: translateZ(0);
}
a { color: inherit; }
img { max-width: 100%; display: block; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 32px; }

/* NAV */
nav.site-nav {
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; background: rgba(247,247,244,0.9);
  backdrop-filter: blur(10px); z-index: 50;
}
.nav-inner {
  display: grid; grid-template-columns: auto 1fr auto auto; align-items: center;
  padding: 14px 32px; position: relative;
}
.nav-logo { grid-column: 1; display: flex; align-items: center; }
.nav-logo img { height: 28px; width: auto; display: block; }
.navlinks { display: flex; gap: 34px; font-size: 15.5px; color: var(--muted); font-weight: 500; justify-content: center; grid-column: 2; }
.navlinks a { text-decoration: none; transition: color .2s; white-space: nowrap; }
.navlinks a:hover, .navlinks a.active { color: var(--text); }
.navtoggle {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  opacity: 0; clip: rect(0 0 0 0);
}
.nav-toggle-label {
  display: none !important; grid-column: 3; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 8px; cursor: pointer;
}
.nav-toggle-label svg { width: 22px; height: 22px; color: var(--text); display: block; }
.nav-toggle-label:hover { background: var(--surface-2); }
.navtoggle:focus-visible + .nav-toggle-label { outline: 2px solid var(--orange); outline-offset: 2px; }
.cta-small {
  border: 1px solid var(--text);
  padding: 9px 18px; border-radius: 100px; font-size: 13px;
  text-decoration: none; font-weight: 600; flex-shrink: 0;
  grid-column: 4; justify-self: end;
}
.cta-small:hover { background: var(--text); color: #fff; }
.mobile-note { display:none; }

/* HERO */
header.hero {
  text-align: center; padding: 48px 0 70px; position: relative; overflow: hidden;
}
header.hero .hero-wordmark { width: 620px; max-width: 100%; margin: 0 auto 6px; position: relative; z-index: 1; }
header.hero .hero-wordmark img { width: 100%; height: auto; }
header.hero > .wrap-inner, header.hero .eyebrow, header.hero h1, header.hero .sub, header.hero .hero-ctas { position: relative; z-index: 1; }
.deco-star-svg { position: absolute; pointer-events: none; z-index: 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--orange);
  background: var(--orange-dim);
  padding: 7px 16px; border-radius: 100px; margin-bottom: 26px; font-weight: 600;
}
h1 {
  font-weight: 700; font-size: 60px; line-height: 1.05;
  letter-spacing: -0.02em; margin-bottom: 22px;
}
h1 .accent { color: var(--orange); }
.sub {
  font-size: 18px; color: var(--muted); max-width: 560px;
  margin: 0 auto 34px; line-height: 1.6;
}
.hero-ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn-primary {
  background: var(--orange); color: #1a0f00; padding: 15px 30px;
  border-radius: 100px; text-decoration: none; font-weight: 700; font-size: 15px;
  box-shadow: 0 6px 16px -4px rgba(255,158,0,0.45);
  transition: transform .15s ease, box-shadow .15s ease;
  display: inline-block;
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 8px 20px -4px rgba(255,158,0,0.55); }
.btn-ghost {
  border: 1px solid var(--line); color: var(--text); padding: 15px 30px;
  border-radius: 100px; text-decoration: none; font-size: 15px; font-weight: 600;
  transition: border-color .15s ease, transform .15s ease;
  display: inline-block;
}
.btn-ghost:hover { border-color: rgba(0,0,0,0.3); transform: translateY(-1px); }
.btn-navy {
  background: var(--navy); color: #fff; padding: 15px 30px; border-radius: 100px;
  text-decoration:none; font-weight:700; font-size:15px;
  box-shadow: 0 6px 16px -4px rgba(0,43,150,0.35);
  transition: transform .15s ease, box-shadow .15s ease;
  display: inline-block;
}
.btn-navy:hover { transform: translateY(-1px); box-shadow: 0 8px 20px -4px rgba(0,43,150,0.45); }

/* PAGE HERO (subpages) */
.page-hero {
  padding: 20px 0 40px; border-bottom: 1px solid var(--line); position: relative; overflow: hidden;
}
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero .eyebrow { margin-bottom: 18px; }
.page-hero h1 { font-size: 44px; margin-bottom: 14px; }
.page-hero .sub { margin: 0; max-width: 640px; }

/* SECTIONS */
section { padding: 80px 0; }
section.tight { padding: 56px 0; }
section.surface { padding-bottom: 200px; }
#zapisy { padding-bottom: 80px; }
#kontakt { padding-bottom: 80px; }
#kamil { padding-bottom: 80px; }
#kamil .section-head h2 { font-size: 40px; }
#kamil .section-head p { font-size: 18px; }
.section-head { text-align: center; margin-bottom: 48px; }
.section-head.left { text-align: left; }
.section-head h2 { font-weight: 700; font-size: 32px; letter-spacing: -0.01em; margin-bottom: 12px; }
.section-head p { color: var(--muted); font-size: 16px; }
.intro-text { max-width: 720px; margin: 0 auto; text-align: center; color: var(--muted); font-size: 16.5px; line-height: 1.7; }
.calendar-placeholder {
  border: 1px dashed var(--line); border-radius: 14px;
  padding: 28px 24px; margin-top: 16px; text-align: center;
}
.calendar-placeholder p { color: var(--muted); font-size: 15px; margin: 0; }
.calendar-placeholder a { color: var(--navy); font-weight: 600; text-decoration: none; }
.calendar-placeholder a:hover { text-decoration: underline; }
.divider { border-top: 1px solid var(--line); }
.surface { background: linear-gradient(180deg, var(--surface) 0%, var(--surface-2) 100%); }
.band-navy {
  background: linear-gradient(180deg, #16389f 0%, #0032a0 45%, #001a5c 100%);
  color: #fff; padding: 74px 0 78px; text-align: center; position: relative;
  margin-top: 0px;
}
.band-wave {
  position: absolute; bottom: 100%; left: 0; width: 100%; height: 72px; display: block;
  pointer-events: none;
}
.band-navy::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(120% 45% at 50% 55%, rgba(255,255,255,0.07), transparent 60%);
  pointer-events: none;
}
.band-navy h2 { color: #fff; font-size: 28px; font-weight: 700; margin-bottom: 10px; position: relative; z-index: 1; }
.band-navy p { color: rgba(255,255,255,0.78); font-size: 15px; margin-bottom: 26px; position: relative; z-index: 1; }
.band-navy .btn-primary { box-shadow: 0 6px 20px -4px rgba(255,158,0,0.55); position: relative; z-index: 1; }

/* CARD GRIDS */
.cards-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cards-3 { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; align-items: stretch; }
.cards-3 .card { grid-column: span 2; }
.cards-3 .card--row-lead { grid-column: span 3; }
.cards-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.card {
  background: linear-gradient(155deg, var(--surface) 0%, var(--surface-2) 100%);
  border: 1px solid var(--line); border-radius: 18px;
  padding: 28px 24px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.03), 0 8px 24px -12px rgba(0,0,0,0.06);
  display: flex; flex-direction: column;
}
.card.link-card { text-decoration: none; color: var(--text); display: flex; flex-direction: column; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.card.link-card:hover { border-color: rgba(0,0,0,0.16); transform: translateY(-3px) rotate(-0.6deg); box-shadow: 0 4px 8px rgba(0,0,0,0.04), 0 16px 32px -14px rgba(0,0,0,0.12); }
.card--lift { transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.card--lift:hover { border-color: rgba(0,0,0,0.16); transform: translateY(-3px) rotate(-0.6deg); box-shadow: 0 4px 8px rgba(0,0,0,0.04), 0 16px 32px -14px rgba(0,0,0,0.12); }
.card .dot { width: 9px; height: 9px; border-radius: 50%; margin-bottom: 18px; background: var(--orange); }
.card:nth-child(3n+2) .dot { background: var(--navy); }
.card:nth-child(3n+3) .dot { background: #c23b22; }
.card h3 { font-weight: 700; font-size: 17px; margin-bottom: 8px; }
.card .arrow { margin-top: auto; padding-top: 14px; font-size: 13px; font-weight: 600; color: var(--navy); }
.card .arrow a { color: var(--navy); text-decoration: none; font-weight: 600; }
.card .arrow a:hover { text-decoration: underline; }
.card p { color: var(--muted); font-size: 14px; line-height: 1.6; margin-bottom: 0; }
.card.badge-navy { position: relative; }
.card.badge-navy::after {
  content: "NOWOŚĆ";
  position: absolute; top: -13px; right: 14px;
  background: var(--navy); color: #fff;
  font-size: 10px; font-weight: 800; letter-spacing: 0.05em;
  padding: 6px 11px; border-radius: 7px;
  transform: rotate(2.5deg);
  box-shadow: 0 4px 10px -2px rgba(0,43,150,0.5);
}

/* KAMIL SECTION SOCIAL LINKS */
.kamil-social { text-align: center; margin-top: 28px; display: flex; gap: 24px; justify-content: center; font-size: 14px; font-weight: 600; }
.kamil-social .social-link { display: flex; align-items: center; gap: 8px; text-decoration: none; color: var(--text); }
.kamil-social .social-link svg { width: 16px; height: 16px; flex-shrink: 0; color: var(--muted); }
.kamil-social .social-link:hover { color: var(--orange); }
.kamil-social .social-link:hover svg { color: var(--orange); }

/* INSTRUCTOR LIST */
.instructor-list { display: flex; flex-direction: column; gap: 20px; }
.instructor-item {
  background: linear-gradient(155deg, var(--surface) 0%, var(--surface-2) 100%);
  border: 1px solid var(--line); border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(0,0,0,0.03), 0 8px 24px -14px rgba(0,0,0,0.08);
  transition: box-shadow .18s ease;
}
.instructor-item:hover { box-shadow: 0 4px 10px rgba(0,0,0,0.04), 0 18px 34px -16px rgba(0,0,0,0.14); }
.instructor-row {
  display: flex; align-items: center; gap: 22px;
  padding: 18px 20px; cursor: pointer; -webkit-tap-highlight-color: transparent;
}
.instructor-row:focus-visible { outline: 2px solid var(--orange); outline-offset: -2px; border-radius: 16px; }
.instructor-row .flyer {
  flex: 0 0 180px; width: 180px; display: flex; align-items: center; justify-content: center;
  background: var(--surface-2); border-radius: 14px; overflow: hidden; padding: 6px;
}
.instructor-row .flyer img { width: 100%; height: auto; object-fit: contain; border-radius: 10px; }
.instructor-row .content { flex: 1; display: flex; flex-direction: column; justify-content: flex-start; padding: 4px 4px; }
.instructor-row .role-tag {
  display: inline-flex; align-self: flex-start; font-size: 11px; font-weight: 700; color: var(--navy);
  background: var(--navy-dim); padding: 4px 10px; border-radius: 100px; margin-bottom: 6px; text-transform: uppercase; letter-spacing: 0.02em;
}
.instructor-row h4 { font-size: 21px; font-weight: 800; margin-bottom: 6px; letter-spacing: -0.01em; }
.instructor-row .bio { font-size: 14.5px; color: var(--muted); line-height: 1.5; margin-bottom: 10px; max-width: 520px; }
.instructor-row .ig-pill {
  display: inline-flex; align-items: center; gap: 7px; align-self: flex-start;
  border: 1px solid var(--line); background: var(--bg); padding: 7px 15px 7px 10px;
  border-radius: 100px; font-size: 13.5px; font-weight: 600; text-decoration: none; color: var(--text);
  transition: border-color .15s ease;
}
.instructor-row .ig-pill:hover { border-color: rgba(0,0,0,0.25); }
.instructor-row .ig-pill svg { width: 16px; height: 16px; flex-shrink: 0; }
.instructor-row .chevron {
  flex: 0 0 auto; align-self: center; width: 30px; height: 30px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%; border: 1px solid var(--line); color: var(--navy);
  transition: transform .25s ease, border-color .15s ease, background .15s ease;
}
.instructor-row .chevron svg { width: 16px; height: 16px; }
.instructor-item.open .instructor-row .chevron { transform: rotate(180deg); background: var(--orange-dim); border-color: var(--orange); color: var(--orange); }

.instructor-panel {
  max-height: 0; overflow: hidden;
  transition: max-height .35s ease;
}
.instructor-panel-inner {
  padding: 0 24px 26px; border-top: 1px solid var(--line); margin: 0 24px;
}
.instructor-panel-inner > p {
  color: var(--muted); font-size: 15px; line-height: 1.7; margin: 20px auto 18px; max-width: 640px;
}
.instructor-panel-inner .video-wrap { margin: 0 auto; max-width: 640px; }

.instructor-gallery {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px;
  max-width: 640px; margin: 14px auto 0;
}
.instructor-gallery img {
  width: 100%;
  aspect-ratio: 512 / 420;
  object-fit: cover;
  border-radius: 10px;
  cursor: zoom-in;
  transition: transform .18s ease, box-shadow .18s ease;
}
.instructor-gallery img:nth-child(odd) { transform: rotate(-0.5deg); }
.instructor-gallery img:nth-child(even) { transform: rotate(0.5deg); }
.instructor-gallery img:hover { transform: rotate(0deg) scale(1.05); box-shadow: 0 10px 24px -8px rgba(0,0,0,0.3); z-index: 2; position: relative; }
@media (max-width: 620px) {
  .instructor-gallery { grid-template-columns: repeat(2, 1fr); }
  .instructor-gallery img:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    justify-self: center;
    max-width: calc(50% - 5px);
  }
}

/* KAMIL SECTION: ulotka + bio, wideo, mini-galeria */
.kamil-flyer-row {
  display: grid; grid-template-columns: minmax(200px, 240px) 1fr;
  gap: 56px; align-items: start; margin: 0 auto 40px; max-width: 780px;
}
.kamil-flyer {
  background: var(--surface-2); border-radius: 14px; overflow: hidden; padding: 10px;
}
.kamil-flyer img { width: 100%; height: auto; object-fit: contain; border-radius: 10px; }
.kamil-bio { text-align: left; }
.kamil-bio p { color: var(--muted); font-size: 15.5px; line-height: 1.7; }

.kamil-video-wrap-outer { max-width: 780px; margin: 0 auto 28px; }
.kamil-video-wrap-outer .video-wrap { margin-bottom: 14px; }
.kamil-video-wrap-outer .instructor-gallery { max-width: 780px; }

@media (max-width: 720px) {
  .kamil-flyer-row { grid-template-columns: 1fr; }
  .kamil-flyer { max-width: 260px; margin: 0 auto; }
}

/* TESTIMONIALS */
.testimonial {
  background: var(--surface); border: 1px solid var(--line); border-radius: 18px;
  padding: 28px; margin-bottom: 14px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.03), 0 8px 24px -12px rgba(0,0,0,0.06);
}
.testimonial p.quote { font-size: 17px; font-weight: 500; margin-bottom: 14px; line-height: 1.55; }
.testimonial .who { font-size: 13px; color: var(--muted); }

/* TABLE / PLACEHOLDER BLOCKS */
/* TODO: .placeholder-tag i table.simple nieużywane nigdzie w motywie od usunięcia tabeli z tpl-eventy.php (kalendarz imprez) - zostawione celowo, kalendarz może wrócić jako tabela. Przejrzeć przy sprzątaniu CSS. */
.placeholder-tag {
  display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 0.02em;
  color: var(--navy); background: var(--navy-dim); padding: 3px 10px; border-radius: 100px;
  margin-bottom: 10px; text-transform: uppercase;
}
table.simple { width: 100%; border-collapse: collapse; }
table.simple th, table.simple td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); font-size: 14.5px; }
table.simple th { color: var(--muted); font-weight: 600; font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.03em; }

/* WEEKLY SCHEDULE (Szkółka - kalendarz) */
.schedule-day h4 { font-weight: 700; font-size: 16px; margin-bottom: 14px; }
.schedule-slot { padding: 12px 0; border-top: 1px solid var(--line); }
.schedule-slot:first-of-type { border-top: none; padding-top: 0; }
.schedule-slot .time { display: block; font-size: 13px; font-weight: 700; color: var(--navy); }
.schedule-slot .group { display: block; font-size: 13.5px; color: var(--text); margin-top: 2px; }
.schedule-slot .discipline { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); margin-top: 4px; }
.schedule-slot .discipline::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; flex-shrink: 0; }
.schedule-slot .discipline--deskorolka { color: var(--orange); }
.schedule-slot .discipline--hulajnoga { color: var(--navy); }
.schedule-slot .discipline--rolki { color: #c23b22; }
.schedule-slot .discipline--bmx { color: var(--orange); }

/* PRICING */
.pricing-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.price-card {
  border: 1px solid var(--line); border-radius: 18px; padding: 30px 26px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.03), 0 8px 24px -12px rgba(0,0,0,0.06);
}
.price-card.featured { border-color: var(--orange); background: var(--orange-dim); box-shadow: 0 4px 8px rgba(0,0,0,0.03), 0 16px 32px -14px rgba(255,158,0,0.25); }
.price-card .amount { font-size: 34px; font-weight: 700; margin: 10px 0 4px; }
.price-card .amount span { font-size: 14px; color: var(--muted); font-weight: 500; }

/* GALLERY */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.gallery-grid img { width: 100%; height: 210px; object-fit: cover; border-radius: 10px; cursor: zoom-in; transition: transform .15s ease, box-shadow .15s ease; }
.lightbox-overlay {
  position: fixed; inset: 0; background: rgba(10,10,10,0.88); z-index: 999;
  display: flex; align-items: center; justify-content: center; padding: 40px;
  cursor: zoom-out; animation: fadeIn .15s ease;
}
.lightbox-overlay img { max-width: 90%; max-height: 90%; border-radius: 8px; box-shadow: 0 20px 60px rgba(0,0,0,0.5); }
.lightbox-overlay .lightbox-close {
  position: absolute; top: 24px; right: 32px; color: #fff; font-size: 32px; font-weight: 300;
  cursor: pointer; line-height: 1;
}

/* CONTACT FORM */
.contact-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 50px; align-items: start; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.field input, .field textarea {
  width: 100%; padding: 13px 14px; border-radius: 10px; border: 1px solid var(--line);
  font-family: inherit; font-size: 14.5px; background: var(--surface);
}
.field textarea { min-height: 120px; resize: vertical; }
.contact-info p { margin-bottom: 8px; font-size: 14.5px; }
.contact-info .label { color: var(--muted); font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.03em; margin-top: 18px; margin-bottom: 6px; }

/* FLUENT FORMS - formularz eventowy (#kontakt)
   Prefiks .fluentform_wrapper_3 podbija specyficzność ponad domyślny CSS
   Fluent Forms bez !important; unikalny dla tego formularza. */
.fluentform_wrapper_3 .ff-el-input--label label {
  color: var(--text); font-weight: 600; font-size: 13px;
}
.fluentform_wrapper_3 .ff-el-form-control {
  font-family: inherit; font-size: 14.5px;
  border: 1px solid var(--line); border-radius: 10px;
  background: var(--surface); padding: 13px 14px;
}
.fluentform_wrapper_3 .ff-el-form-control:focus {
  border-color: var(--orange); outline: none; box-shadow: none;
}
.fluentform_wrapper_3 .ff-btn-submit.ff_btn_style {
  background: var(--orange) !important; color: #1a0f00 !important;
  padding: 15px 30px; border-radius: 100px;
  font-weight: 700; font-size: 15px; border: none;
  box-shadow: 0 6px 16px -4px rgba(255,158,0,0.45);
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.fluentform_wrapper_3 .ff-btn-submit.ff_btn_style:hover {
  background: #e08e00 !important; color: #1a0f00 !important;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px -4px rgba(255,158,0,0.55);
}
.fluentform_wrapper_3 .ff-el-form-check-input {
  accent-color: var(--orange);
}
.fluentform_wrapper_3 .ff-el-form-check-label a {
  color: var(--orange); text-decoration: none;
}
.fluentform_wrapper_3 .ff-el-form-check-label a:hover {
  text-decoration: underline;
}
.fluentform_wrapper_3 .error-message {
  color: #d64545; font-size: 13px;
}
.fluentform_wrapper_3 .ff-message-success {
  background: var(--surface); border: 1px solid var(--orange);
  border-radius: 12px; padding: 14px 16px; color: var(--text);
}

/* VIDEO EMBED */
.video-wrap { position: relative; width: 100%; aspect-ratio: 16/9; border-radius: 16px; overflow: hidden; background: #000; }
.video-wrap iframe { width: 100%; height: 100%; border: 0; }

/* FOOTER */
footer {
  background: linear-gradient(180deg, #001a5c 0%, #000a24 100%);
  padding: 44px 0 32px; color: #fff; position: relative;
}
footer .foot-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 28px; flex-wrap: wrap; gap: 24px; position: relative; z-index: 1; }
footer .foot-brand img { height: 30px; margin-bottom: 10px; filter: brightness(0) invert(1); }
footer .foot-brand p { font-size: 13px; color: rgba(255,255,255,0.6); max-width: 260px; }
footer .foot-links { display: flex; gap: 60px; flex-wrap: wrap; }
footer .foot-col h5 { font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.03em; color: rgba(255,255,255,0.5); margin-bottom: 12px; }
footer .foot-col a { display: block; font-size: 14px; text-decoration: none; margin-bottom: 8px; color: rgba(255,255,255,0.88); }
footer .foot-col a:hover { color: var(--orange); }
footer .social-link { display: flex !important; align-items: center; gap: 8px; }
footer .social-link svg { width: 16px; height: 16px; flex-shrink: 0; color: rgba(255,255,255,0.65); }
footer .social-link:hover svg { color: var(--orange); }
footer .social-link:hover { color: var(--orange); }
footer .foot-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.14); font-size: 12.5px; color: rgba(255,255,255,0.5); flex-wrap: wrap; gap: 10px; position: relative; z-index: 1; }
footer .foot-legal-link { color: inherit; text-decoration: none; }
footer .foot-legal-link:hover { color: rgba(255,255,255,0.8); text-decoration: underline; }

/* RESPONSIVE (basic) */
@media (max-width: 900px) {
  h1 { font-size: 40px; }
  .cards-4 { grid-template-columns: repeat(2, 1fr); }
  .cards-3, .pricing-grid, .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .cards-3 .card, .cards-3 .card--row-lead { grid-column: auto; }
  .cards-3 .card--centered { grid-column: 1 / -1; max-width: calc(50% - 10px); margin: 0 auto; }
  .cards-2, .contact-grid { grid-template-columns: 1fr; }
  .nav-toggle-label { display: flex !important; }
  .nav-inner {
    grid-template-columns: 1fr auto 1fr;
  }
  .nav-toggle-label { grid-column: 2; }
  .cta-small { grid-column: 3; }
  .navlinks {
    display: none;
    grid-column: auto;
    position: absolute; top: 100%; left: 0; width: 100%;
    flex-direction: column; gap: 0;
    background: var(--surface); border-bottom: 1px solid var(--line);
    padding: 8px 0;
  }
  .navtoggle:checked ~ .navlinks { display: flex; }
  .navlinks a { padding: 12px 32px; width: 100%; }
  .instructor-row { flex-direction: column; }
  .instructor-row .flyer { flex: none; width: 100%; max-width: 220px; margin: 0 auto; }
}

@media (max-width: 560px) {
  .cards-4, .cards-3, .cards-2, .pricing-grid { grid-template-columns: 1fr; }
  .cards-3 .card--centered { max-width: none; }
  footer .foot-top { flex-direction: column; }
  footer .foot-links { flex-direction: column; gap: 28px; width: 100%; }
  .deco-star-svg { display: none; }
}


/* ===== CHARACTER PACK ===== */

/* Marker underline on hero accent */
h1 .accent { position: relative; white-space: nowrap; display: inline-block; }
.marker-line { position: absolute; left: 2%; bottom: -12px; width: 96%; height: 16px; pointer-events: none; }

/* Outlined watermark behind section headings */
.section-head { position: relative; }
.section-head h2, .section-head p { position: relative; z-index: 1; }
.watermark {
  position: absolute; top: -38px; left: 50%; transform: translateX(-50%);
  font-size: 104px; font-weight: 800; letter-spacing: 0.02em; line-height: 1;
  color: transparent; -webkit-text-stroke: 1.5px rgba(20,20,20,0.07);
  user-select: none; pointer-events: none; white-space: nowrap; z-index: 0;
  text-align: center;
}

/* Sticker-style tags */
.instructor-row .role-tag { transform: none; }
.price-card { position: relative; }
.price-card.featured::after {
  content: "NAJCZĘŚCIEJ WYBIERANE";
  position: absolute; top: -13px; right: 14px;
  background: var(--orange); color: #1a0f00;
  font-size: 10px; font-weight: 800; letter-spacing: 0.05em;
  padding: 6px 11px; border-radius: 7px;
  transform: rotate(2.5deg);
  box-shadow: 0 4px 10px -2px rgba(255,158,0,0.5);
}

/* Gallery: polaroid tilt */
.gallery-grid img { transition: transform .18s ease, box-shadow .18s ease; }
.gallery-grid img:nth-child(odd) { transform: rotate(-1.3deg); }
.gallery-grid img:nth-child(even) { transform: rotate(1.3deg); }
.gallery-grid img:hover { transform: rotate(0deg) scale(1.05); box-shadow: 0 10px 24px -8px rgba(0,0,0,0.3); z-index: 2; position: relative; }

/* Testimonials: star mark + slight tilt alternation */
.testimonial { position: relative; }
.testimonial .quote::before { content: "★ "; color: var(--orange); font-size: 15px; }
.cards-2 .testimonial:nth-child(odd):hover { transform: rotate(-0.4deg) translateY(-2px); }
.cards-2 .testimonial:nth-child(even):hover { transform: rotate(0.4deg) translateY(-2px); }

/* Bolder CTA buttons */
.btn-primary { text-transform: uppercase; letter-spacing: 0.05em; font-size: 14px; }
.btn-navy { text-transform: uppercase; letter-spacing: 0.05em; font-size: 14px; }
.btn-ghost { text-transform: uppercase; letter-spacing: 0.05em; }

@media (max-width: 900px) {
  .watermark { font-size: 56px; top: -20px; }
  .marker-line { bottom: -8px; height: 12px; }
}

.nav-cart-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  margin-right: 18px;
  color: var(--text, #1a1a1a);
}
.nav-cart-icon svg {
  width: 100%;
  height: 100%;
}
.nav-cart-icon:hover {
  color: var(--orange);
}
.nav-cart-count {
  position: absolute;
  top: -8px;
  right: -10px;
  background: var(--orange);
  color: #1a0f00;
  font-size: 10.5px;
  font-weight: 700;
  min-width: 16px;
  height: 16px;
  border-radius: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 3px;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.page-koszyk .wp-block-woocommerce-cart,
body[class*="koszyk"] .wp-block-woocommerce-cart {
  margin-top: -20px !important;
}

/* ---------- Strony dokumentów prawnych (polityka prywatności, regulamin) ---------- */
.legal-page {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px 0 40px;
  color: var(--text);
  font-size: 15.5px;
  line-height: 1.75;
}

.legal-page p {
  margin: 0 0 18px;
  color: var(--muted);
}

.legal-page h2 {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif !important;
  font-size: 24px;
  font-weight: 700;
  color: var(--navy);
  margin: 40px 0 14px;
}

.legal-page h2:first-child {
  margin-top: 0;
}

.legal-page h3 {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif !important;
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  margin: 28px 0 10px;
}

.legal-page ul,
.legal-page ol {
  margin: 0 0 18px;
  padding-left: 24px;
  color: var(--muted);
}

.legal-page li {
  margin-bottom: 8px;
}

.legal-page a {
  color: var(--navy);
  text-decoration: underline;
}

.legal-page strong {
  color: var(--text);
  font-weight: 700;
}

/* Complianz cookie banner — cały baner (nagłówek "Zarządzaj zgodą", tekst,
   przyciski) dziedziczy Fredoka z CSS wtyczki. #cmplz-cookiebanner-container
   to potwierdzony w DOM kontener nadrzędny — nadpisujemy jego i wszystkich
   potomków, zamiast edytować plik wtyczki. */
#cmplz-cookiebanner-container,
#cmplz-cookiebanner-container * {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif !important;
}
