@font-face { font-family: "Outfit"; font-style: normal; font-weight: 300; font-display: swap; src: url(fonts/outfit-latin-ext-300-normal.woff2) format("woff2"); unicode-range: U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Outfit"; font-style: normal; font-weight: 300; font-display: swap; src: url(fonts/outfit-latin-300-normal.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Outfit"; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/outfit-latin-ext-400-normal.woff2) format("woff2"); unicode-range: U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Outfit"; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/outfit-latin-400-normal.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Outfit"; font-style: normal; font-weight: 600; font-display: swap; src: url(fonts/outfit-latin-ext-600-normal.woff2) format("woff2"); unicode-range: U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Outfit"; font-style: normal; font-weight: 600; font-display: swap; src: url(fonts/outfit-latin-600-normal.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Outfit"; font-style: normal; font-weight: 700; font-display: swap; src: url(fonts/outfit-latin-ext-700-normal.woff2) format("woff2"); unicode-range: U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Outfit"; font-style: normal; font-weight: 700; font-display: swap; src: url(fonts/outfit-latin-700-normal.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
:root {
  --bg: #F0EEEB;
  --ink: #1D1D1D;
  --text: #474747;
  --muted: #7A7874;
  --line: #D9D5CF;
  --line-strong: #A9A59F;
  --link: #1D1D1D;
  --font: "Outfit", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --wrap: 1120px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 300 17px/1.8 var(--font); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--link); text-decoration: underline; text-decoration-color: var(--line-strong); text-decoration-thickness: 1px; text-underline-offset: 4px; }
a:hover { text-decoration-color: currentColor; }
p { margin: 0 0 1.1em; }
strong, b { font-weight: 600; color: var(--ink); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 40px; }
.muted { color: var(--muted); }
h1, h2, h3 { font-family: var(--font); color: var(--ink); margin: 0; }
.label, h3 { font-size: 12.5px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink); line-height: 1.5; }
h3 { margin-bottom: 16px; }

/* Top bar */
.topbar { position: sticky; top: 0; z-index: 20; background: rgba(240, 238, 235, 0.94); backdrop-filter: blur(8px); }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 80px; }
.brand { font-size: 14px; font-weight: 300; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink); text-decoration: none; }
.brand b { font-weight: 700; }
.nav { display: flex; gap: 34px; }
.nav a { font-size: 12.5px; font-weight: 400; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text); text-decoration: none; padding: 4px 0; border-bottom: 1px solid transparent; }
.nav a:hover, .nav a.is-active { color: var(--ink); border-bottom-color: var(--ink); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 16px 30px; min-width: 210px; background: var(--ink); color: #fff; border: 1px solid var(--ink); font: 600 12px/1.2 var(--font); letter-spacing: 0.16em; text-transform: uppercase; text-decoration: none; cursor: pointer; }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--full { width: 100%; }

/* Hero */
.hero { padding: 72px 0 120px; }
.hero__grid { display: grid; grid-template-columns: 7fr 5fr; grid-template-areas: "head photo" "body photo"; column-gap: 88px; }
.hero__head { grid-area: head; align-self: end; }
.hero__body { grid-area: body; }
.hero__photo { grid-area: photo; margin: 0; }
.hero__photo img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
.kicker { font-size: 12px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); margin-bottom: 22px; }
.hero h1 { font-weight: 300; font-size: clamp(40px, 4.6vw, 58px); line-height: 1.08; letter-spacing: 0.06em; text-transform: uppercase; }
.hero h1 b { font-weight: 700; display: block; }
.hero__lead { margin-top: 44px; font-size: 20px; line-height: 1.65; color: var(--ink); max-width: 30em; }
.hero__sub { color: var(--text); max-width: 34em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }
.hero__place { margin: 44px 0 0; padding-top: 18px; border-top: 1px solid var(--line); font-size: 12px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); max-width: 34em; }

/* Sections */
.section { padding: 100px 0; }
.section-title { display: flex; align-items: center; gap: 30px; margin: 0 0 56px; font-weight: 300; font-size: clamp(24px, 2.8vw, 32px); letter-spacing: 0.1em; text-transform: uppercase; line-height: 1.2; }
.section-title b { font-weight: 700; }
.section-title::after { content: ""; flex: 0 1 160px; height: 1px; background: var(--line-strong); }

.about { max-width: 760px; }
.about p { font-size: 18px; line-height: 1.85; color: var(--text); margin-bottom: 1.2em; }
.about p:last-child { margin-bottom: 0; }

.cols { display: grid; grid-template-columns: 1fr 1fr; column-gap: 72px; row-gap: 48px; }
.cols--rules { grid-template-columns: repeat(4, 1fr); column-gap: 40px; }
.cols p { color: var(--text); font-size: 16px; margin: 0; }
.list { list-style: none; margin: 0; padding: 0; }
.list li { padding: 13px 0; border-top: 1px solid var(--line); font-size: 16.5px; }
.list li:last-child { border-bottom: 1px solid var(--line); }

.quals { display: grid; grid-template-columns: 170px 1fr; margin: 0; }
.quals dt, .quals dd { margin: 0; padding: 20px 0; border-top: 1px solid var(--line); }
.quals dt:last-of-type, .quals dd:last-of-type { border-bottom: 1px solid var(--line); }
.quals dt { font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); padding-top: 24px; }
.quals strong { display: block; font-weight: 400; font-size: 17px; color: var(--ink); }
.quals span { display: block; font-size: 15px; color: var(--muted); }
.courses { list-style: none; margin: 0; padding: 0; }
.courses li { font-weight: 400; color: var(--ink); font-size: 17px; margin-bottom: 4px; }

/* Contact */
.row--contact { display: grid; grid-template-columns: 1fr 1fr; column-gap: 96px; align-items: start; }
.contact__list { display: grid; grid-template-columns: 110px 1fr; gap: 16px 16px; margin: 0 0 40px; font-size: 16.5px; }
.contact__list dt { font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); padding-top: 4px; }
.contact__list dd { margin: 0; color: var(--ink); }
.note { font-size: 14px; color: var(--muted); padding-top: 20px; border-top: 1px solid var(--line); }
.form { padding-top: 104px; }
.form__title { margin-bottom: 6px; }
.form__alt { font-size: 15px; color: var(--text); margin-bottom: 24px; }
.field { display: block; }
.field input, .field textarea { width: 100%; padding: 16px 0 12px; font: 300 16px var(--font); color: var(--ink); background: transparent; border: 0; border-bottom: 1px solid var(--line-strong); border-radius: 0; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); opacity: 1; }
.field textarea { resize: vertical; min-height: 120px; }
.form__hint { font-size: 13.5px; color: var(--muted); margin: 20px 0 14px; line-height: 1.6; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 13.5px; line-height: 1.6; color: var(--muted); margin-bottom: 26px; }
.consent input { margin-top: 3px; width: 16px; height: 16px; accent-color: var(--ink); flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.footer { border-top: 1px solid var(--line); padding: 28px 0 36px; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.footer__inner { display: flex; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; }
.footer a { color: var(--muted); }

.to-top { position: fixed; right: 16px; bottom: 20px; z-index: 30; width: 46px; height: 46px; display: none; align-items: center; justify-content: center; background: var(--bg); color: var(--ink); border: 1px solid var(--ink); }
@media (max-width: 900px) { .to-top { display: flex; } }
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .9s ease, transform .9s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 980px) {
  .cols--rules { grid-template-columns: 1fr 1fr; }
  .row--contact { grid-template-columns: 1fr; row-gap: 56px; }
  .form { padding-top: 0; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .wrap { padding: 0 20px; }
  .topbar__inner { height: 64px; }
  .brand { font-size: 12px; }
  .nav a:not(.nav__cta) { display: none; }
  .nav .nav__cta { border: 1px solid var(--ink); padding: 9px 14px; }
  .hero { padding: 28px 0 72px; }
  .hero__grid { grid-template-columns: 1fr; grid-template-areas: "head" "photo" "body"; }
  .kicker { font-size: 11px; letter-spacing: 0.16em; margin-bottom: 14px; }
  .hero__photo { margin-top: 28px; }
  .hero__lead { margin-top: 32px; font-size: 18.5px; }
  .hero__actions .btn { width: 100%; }
  .section { padding: 64px 0; }
  .section-title { margin-bottom: 36px; gap: 18px; }
  .section-title::after { flex-basis: 50px; }
  .about p { font-size: 16.5px; }
  .cols, .cols--rules { grid-template-columns: 1fr; row-gap: 40px; }
  .quals { grid-template-columns: 1fr; }
  .quals dt { padding-bottom: 0; }
  .quals dd { border-top: 0; padding-top: 4px; }
  .quals dt:last-of-type { border-bottom: 0; }
  .contact__list { grid-template-columns: 1fr; gap: 0; }
  .contact__list dt { margin-top: 14px; }
}

/* ---------- Stany interakcji ---------- */
.btn { transition: background .2s, color .2s; }
.btn:hover { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.nav a { transition: color .2s, border-color .2s; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.field input, .field textarea { transition: border-color .2s; }
.field input:focus, .field textarea:focus { outline: none; border-bottom-color: var(--ink); }

/* ---------- Przycisk "do góry" – pokazuje się dopiero po przewinięciu ---------- */
.to-top { opacity: 0; transform: translateY(10px); pointer-events: none; transition: opacity .25s, transform .25s, background .2s, color .2s; }
.to-top.is-shown { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover, .to-top:active { background: var(--ink); color: #fff; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ---------- Podstrony: Dziękuję, Polityka prywatności, 404 ---------- */
.topbar--sub { position: static; }
.backlink { font-size: 12.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text); text-decoration: none; border-bottom: 1px solid transparent; padding: 4px 0; }
.backlink:hover { color: var(--ink); border-bottom-color: var(--ink); }
.page { padding: 64px 0 112px; }
.page .wrap { max-width: 860px; }
.page h1 { display: flex; align-items: center; gap: 30px; margin: 0 0 48px; font-weight: 300; font-size: clamp(26px, 3.4vw, 36px); letter-spacing: 0.1em; text-transform: uppercase; line-height: 1.2; }
.page h1 b { font-weight: 700; }
.page h1::after { content: ""; flex: 0 1 140px; height: 1px; background: var(--line-strong); }
.page h2 { margin: 44px 0 14px; font-size: 12.5px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink); }
.page p, .page li { color: var(--text); }
.page ul { padding-left: 1.1em; margin: 0 0 1.1em; }
.page li { margin-bottom: 6px; }
.page__lead { font-size: 19px; color: var(--ink) !important; }
.page__meta { margin-top: 48px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted) !important; }
.page__back { margin-top: 44px; }
@media (max-width: 760px) {
  .page { padding: 40px 0 80px; }
  .page h1 { gap: 18px; margin-bottom: 32px; }
  .page h1::after { flex-basis: 40px; }
  .page__back .btn { width: 100%; }
}

/* ---------- Cennik i FAQ (sekcja przygotowana, obecnie wyłączona w index.html) ---------- */
.prices { margin: 0; }
.prices__row { display: grid; grid-template-columns: 1fr auto; gap: 8px 32px; align-items: baseline; padding: 20px 0; border-top: 1px solid var(--line); }
.prices__row:last-child { border-bottom: 1px solid var(--line); }
.prices dt { color: var(--ink); font-size: 17px; }
.prices dt span { display: block; font-size: 14px; color: var(--muted); }
.prices dd { margin: 0; font-size: 17px; font-weight: 600; color: var(--ink); white-space: nowrap; }
.prices__note { margin-top: 18px; font-size: 14px; color: var(--muted); }
.faq { margin-top: 64px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; padding: 20px 0; font-size: 17px; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 300; font-size: 22px; line-height: 1; color: var(--muted); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 20px; max-width: 46em; color: var(--text); }

/* Niskie ekrany telefonów: formularz bardziej zwarty, żeby mieścił się w całości */
@media (max-width: 760px) and (max-height: 720px) {
  .form__alt { margin-bottom: 12px; }
  .field input { padding: 11px 0 8px; }
  .field textarea { min-height: 64px; height: 76px; padding-top: 11px; }
  .form__hint { margin: 12px 0 8px; }
  .consent { margin-bottom: 16px; }
  .btn--full { padding: 14px 24px; }
}

/* Obszary pomocy – trzy kolumny */
.cols--3 { grid-template-columns: repeat(3, 1fr); column-gap: 48px; }
.cols--3 h3 { min-height: 3em; }
@media (max-width: 980px) { .cols--3 { grid-template-columns: 1fr 1fr; } .cols--3 h3 { min-height: 0; } }
@media (max-width: 760px) { .cols--3 { grid-template-columns: 1fr; } }

/* ---------- Nagłówek: równe wyśrodkowanie w pionie ---------- */
.brand, .nav a, .nav-toggle { line-height: 1; }
.brand, .nav .nav__cta, .nav-toggle__label { text-box: trim-both cap alphabetic; } /* wyśrodkowanie wielkich liter (nowe przeglądarki) */

/* ---------- Menu na telefonie ---------- */
.nav-toggle { display: none; }
@media (max-width: 760px) {
  .js .nav-toggle {
    display: inline-flex; align-items: center; gap: 12px; height: 40px; padding: 0 2px 0 14px;
    background: transparent; border: 0; color: var(--ink); cursor: pointer;
    font: 400 12px/1 var(--font); letter-spacing: 0.18em; text-transform: uppercase;
  }
  .nav-toggle__icon { position: relative; display: inline-block; width: 22px; height: 10px; }
  .nav-toggle__icon i { position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform .25s ease, top .25s ease; }
  .nav-toggle__icon i:first-child { top: 0; }
  .nav-toggle__icon i:last-child { top: 8.5px; }
  .menu-open .nav-toggle__icon i:first-child { top: 4.25px; transform: rotate(45deg); }
  .menu-open .nav-toggle__icon i:last-child { top: 4.25px; transform: rotate(-45deg); }

  /* panel z pełnym menu – wyśrodkowany w poziomie i w pionie */
  .js .nav {
    position: fixed; left: 0; right: 0; top: 64px; bottom: 0; z-index: 19;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 30px;
    background: var(--bg); padding: 0 20px;
    opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility .25s;
  }
  .js.menu-open .nav { opacity: 1; visibility: visible; }
  .js .nav a, .js .nav a:not(.nav__cta) { display: block; font-size: 14px; letter-spacing: 0.2em; color: var(--ink); padding: 6px 0; border: 0; }
  .js .nav a.is-active { border: 0; }
  .js .nav .nav__cta { margin-top: 12px; padding: 16px 34px; border: 1px solid var(--ink); }
  /* backdrop-filter tworzy kontekst dla elementów "fixed" – na telefonie pasek jest pełny, bez rozmycia */
  .js .topbar { background: var(--bg); -webkit-backdrop-filter: none; backdrop-filter: none; }
  /* bez blokady przewijania – overflow:hidden "odklejał" pasek z przyciskiem ZAMKNIJ */
  .js.menu-open .nav { overscroll-behavior: contain; }
  .menu-open .to-top { display: none; }
}
@media (prefers-reduced-motion: reduce) { .js .nav, .nav-toggle__icon i { transition: none; } }

/* ---------- Pasek przypięty na stałe (fixed) ----------
   Przy "pociągnięciu w dół" (odświeżanie na iPhonie) pasek przyklejony (sticky)
   odjeżdżał razem z treścią. Pasek stały zostaje na miejscu. */
.topbar:not(.topbar--sub) { position: fixed; top: 0; left: 0; right: 0; }
body.has-fixed-header { padding-top: 80px; }
@media (max-width: 760px) {
  body.has-fixed-header { padding-top: 64px; }
}

/* ---------- Linia nad nazwiskiem w jednym wierszu na telefonie ---------- */
@media (max-width: 760px) {
  .kicker { white-space: nowrap; font-size: min(11px, calc((100vw - 40px) / 33)); letter-spacing: 0.08em; }
}
@media (max-width: 359px) { .kicker { white-space: normal; } } /* bardzo wąskie ekrany: pozwól złamać */
