/* ============================================================
   Biznes po Bożemu — Gdynia 2026
   Arkusz stylów. Kolejność: tokeny → fonty → reset → layout →
   komponenty → sekcje → formularz → cookies → media queries.
   ============================================================ */

/* ---------- 1. Tokeny ---------- */
:root {
  --navy:        #0D3C55;
  --navy-link:   #1B5578;
  --orange:      #EC6A1F;
  --orange-dark: #C2540E;
  --ink:         #2B2B2B;
  --muted:       #6B6B6B;
  --line:        #E4E4E2;
  --line-soft:   #C9C9C6;
  --bg:          #FFFFFF;
  --bg-alt:      #F3F3F1;
  --bg-soft:     #F9F9F8;
  --err:         #B3261E;
  --ok:          #1E6B45;

  --shadow-card: 0 2px 8px rgba(13, 60, 85, .10);
  --shadow-head: 0 2px 8px rgba(13, 60, 85, .10);

  --radius:      4px;
  --container:   1140px;
  --gutter:      24px;
  --header-h:    76px;

  --section-y:   clamp(56px, 8vw, 96px);
  --ease:        200ms ease-out;
}

/* ---------- 2. Fonty (self-hosted, bez zapytań do Google) ----------
   Odmiana italic celowo nie jest ładowana — przeglądarka syntezuje
   pochylenie dla kilku drobnych podpisów. Oszczędza ~30 kB transferu.
   Pliki leżą w assets/fonts/ i można je włączyć w razie potrzeby. */
@font-face {
  font-family: 'Lato'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('../fonts/lato-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Lato'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('../fonts/lato-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Lato'; font-style: normal; font-weight: 700; font-display: swap;
  src: url('../fonts/lato-700-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Lato'; font-style: normal; font-weight: 700; font-display: swap;
  src: url('../fonts/lato-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Lato'; font-style: normal; font-weight: 900; font-display: swap;
  src: url('../fonts/lato-900-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Lato'; font-style: normal; font-weight: 900; font-display: swap;
  src: url('../fonts/lato-900-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- 3. Reset i podstawy ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Lato', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}
body.is-locked { overflow: hidden; }
img, picture, video, iframe { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--navy-link); text-decoration: none; transition: color var(--ease); }
a:hover { color: var(--orange-dark); }
::selection { background: var(--orange); color: #fff; }
h1, h2, h3, h4 { margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; border-radius: 2px; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--navy); color: #fff; padding: 12px 20px;
  font-weight: 700; border-radius: 0 0 var(--radius) 0;
}
.skip-link:focus { left: 0; color: #fff; }
.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;
}

/* ---------- 4. Layout ---------- */
.container { max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }
.section--alt   { background: var(--bg-alt); border-block: 1px solid var(--line); }
.section--navy  { background: var(--navy); color: #fff; }

.grid { display: grid; gap: 24px; }
.grid--auto240 { grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); }
.grid--auto260 { grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); }
.grid--auto280 { grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 32px; }
.grid--auto300 { grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); }
.grid--plan    { grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 48px; }

/* ---------- 5. Typografia ---------- */
.h1 {
  font-size: clamp(32px, 4.4vw, 48px); line-height: 1.16; font-weight: 900;
  text-transform: uppercase; letter-spacing: .02em; color: var(--navy);
}
.h2 {
  font-size: clamp(26px, 3.2vw, 34px); line-height: 1.24; font-weight: 900;
  text-transform: uppercase; letter-spacing: .02em; color: var(--navy);
  margin-bottom: 32px;
}
.h3 {
  font-size: clamp(22px, 2.6vw, 26px); line-height: 1.3; font-weight: 900;
  text-transform: uppercase; letter-spacing: .02em; color: var(--navy);
}
.h4 { font-size: 24px; line-height: 1.3; font-weight: 700; color: var(--navy); }
.lead {
  font-size: clamp(19px, 2.2vw, 24px); font-weight: 900; text-transform: uppercase;
  letter-spacing: .03em; color: var(--navy); line-height: 1.3;
}
.eyebrow { font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--orange-dark); }
.note { font-size: 14px; line-height: 1.6; color: var(--muted); }
.note--italic { font-style: italic; }
.stack > * + * { margin-top: 20px; }
.measure { max-width: 900px; }
.measure--sm { max-width: 640px; }

/* ---------- 6. Przyciski i linki ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 19px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em;
  padding: 16px 32px; border-radius: var(--radius); border: 2px solid transparent;
  cursor: pointer; text-align: center; font-family: inherit; line-height: 1.25;
  transition: background var(--ease), color var(--ease), border-color var(--ease);
  min-height: 48px;
}
.btn--primary { background: var(--orange); color: #fff; }
.btn--primary:hover, .btn--primary:focus-visible { background: var(--orange-dark); color: #fff; }
.btn--ghost { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn--ghost:hover, .btn--ghost:focus-visible { background: var(--navy); color: #fff; }
.btn--sm { font-size: 17px; padding: 14px 28px; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; }
.btn-row { display: flex; flex-wrap: wrap; gap: 16px; }

.link-underline {
  font-weight: 700; color: var(--navy-link);
  border-bottom: 2px solid var(--orange); padding-bottom: 2px;
}
.link-underline--light { color: #fff; }
.link-underline--light:hover { color: var(--orange); }

/* ---------- 7. Nagłówek i nawigacja ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--bg); border-bottom: 1px solid var(--line);
  transition: box-shadow var(--ease);
}
.site-header.is-stuck { box-shadow: var(--shadow-head); }
.site-header__inner {
  max-width: var(--container); margin-inline: auto;
  padding: 14px var(--gutter);
  display: flex; align-items: center; gap: var(--gutter);
}
.site-header__logo { display: flex; align-items: center; flex-shrink: 0; }
.site-header__logo img { width: 168px; height: 70px; }

.nav-desktop { display: none; }
.nav-desktop a {
  font-size: 14px; font-weight: 700; letter-spacing: .04em;
  text-transform: uppercase; color: var(--navy); white-space: nowrap;
}
.nav-desktop a:hover { color: var(--orange-dark); }
.nav-desktop .nav-phone { color: var(--navy-link); letter-spacing: .02em; text-transform: none; }
.nav-desktop .btn { font-size: 14px; padding: 12px 20px; min-height: 0; color: #fff; }

.nav-toggle {
  margin-left: auto; width: 48px; height: 48px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  background: transparent; border: 0; cursor: pointer; padding: 0;
}
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--navy); }

.nav-mobile {
  position: fixed; inset: 0; z-index: 100; background: var(--navy);
  display: flex; flex-direction: column; padding: var(--gutter); overflow-y: auto;
}
.nav-mobile[hidden] { display: none; }
.nav-mobile__close {
  align-self: flex-end; width: 48px; height: 48px;
  background: transparent; border: 0; color: #fff; font-size: 32px; line-height: 1;
  cursor: pointer; padding: 0;
}
.nav-mobile nav {
  flex: 1; display: flex; flex-direction: column; justify-content: center;
  gap: 4px; padding: 0 8px 48px;
}
.nav-mobile nav a {
  font-size: 26px; font-weight: 900; text-transform: uppercase; letter-spacing: .02em;
  color: #fff; padding: 12px 0;
}
.nav-mobile nav a:hover { color: var(--orange); }
.nav-mobile .nav-phone {
  font-size: 19px; font-weight: 700; color: rgba(255,255,255,.85);
  padding: 20px 0 24px; text-transform: none;
}
.nav-mobile .btn { color: #fff; }

/* ---------- 8. Hero ---------- */
.hero {
  background: var(--bg-alt);
  background-image: repeating-linear-gradient(115deg, rgba(13,60,85,.05) 0 2px, rgba(13,60,85,0) 2px 9px);
  border-bottom: 1px solid var(--line);
}
.hero__inner {
  max-width: var(--container); margin-inline: auto;
  padding: 64px var(--gutter) 72px;
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; align-items: center;
}
.hero__logo { width: 260px; max-width: 70%; height: auto; margin-bottom: 32px; }
.hero h1 { margin-bottom: 20px; }
.hero__place { margin-top: 8px; margin-bottom: 32px; }
.hero__media { display: flex; flex-direction: column; }
.hero__claim {
  background: var(--orange); color: #fff; padding: 24px 28px;
  font-size: clamp(18px, 2vw, 22px); font-weight: 700; line-height: 1.4;
}

/* ---------- 9. Wideo — fasada YouTube (bez ładowania YT przed kliknięciem) ---------- */
.video {
  position: relative; width: 100%; aspect-ratio: 16 / 9;
  border: 1px solid var(--line); background: var(--navy); overflow: hidden;
}
.video__facade {
  position: absolute; inset: 0; width: 100%; height: 100%;
  padding: 0; border: 0; background: transparent; cursor: pointer;
  display: block; font-family: inherit;
}
.video__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.video__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(13,60,85,.18) 0%, rgba(13,60,85,.55) 100%);
}
.video__ui {
  position: absolute; inset: 0; display: flex; align-items: flex-end;
  justify-content: flex-start; gap: 16px; padding: 24px;
}
.video__play {
  flex: 0 0 auto; display: flex; align-items: center; justify-content: center;
  width: 68px; height: 68px; border-radius: 50%; background: var(--orange);
  box-shadow: 0 4px 16px rgba(13,60,85,.35);
  transition: transform var(--ease), background var(--ease);
}
.video__play::before {
  content: ''; display: block; width: 0; height: 0; margin-left: 6px;
  border-left: 20px solid #fff; border-top: 13px solid transparent; border-bottom: 13px solid transparent;
}
.video__facade:hover .video__play, .video__facade:focus-visible .video__play {
  transform: scale(1.06); background: var(--orange-dark);
}
.video__label {
  padding-bottom: 14px; font-size: 17px; font-weight: 700; letter-spacing: .04em;
  text-transform: uppercase; text-align: left; color: #fff;
  text-shadow: 0 1px 6px rgba(13,60,85,.6);
}
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }

/* ---------- 10. Karty treści ---------- */
.card {
  background: var(--bg); padding: 36px 32px; border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}
.card__rule { display: block; width: 40px; height: 4px; background: var(--orange); margin-bottom: 20px; }
.card__title { margin-bottom: 14px; }

.callout {
  border: 2px solid var(--orange); background: var(--bg); padding: 32px 36px;
  max-width: 860px; display: flex; flex-direction: column; gap: 20px;
}
.callout__quote {
  font-style: italic; font-size: clamp(17px, 2vw, 19px);
  line-height: 1.7; color: var(--navy);
}

.info-card { background: var(--bg); padding: 36px 32px; border-radius: var(--radius); box-shadow: var(--shadow-card); }
.info-card__block + .info-card__block { margin-top: 28px; }
.info-card dt { font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--orange-dark); margin-bottom: 8px; }
.info-card dd { margin: 0; }
.terms { display: flex; flex-direction: column; gap: 14px; }
.terms p { line-height: 1.6; }
.terms strong { color: var(--navy); }

/* ---------- 11. Cennik ---------- */
.price-card {
  background: var(--bg); padding: 32px; border-radius: var(--radius);
  box-shadow: var(--shadow-card); display: flex; flex-direction: column;
}
.price-card--featured { border-top: 4px solid var(--orange); }
.price-card--muted { background: var(--bg-soft); box-shadow: none; border: 1px dashed var(--line-soft); }
.price-card__name { font-size: 19px; font-weight: 700; color: var(--navy); line-height: 1.4; margin-bottom: 20px; }
.price-card__value { margin: 0 auto 0 0; font-size: 40px; font-weight: 900; letter-spacing: .01em; color: var(--orange); line-height: 1; }
.price-card__value--soft { font-size: 22px; font-weight: 700; color: var(--muted); font-style: italic; line-height: 1.3; }
.price-card__hint { margin-top: 16px; }

/* ---------- 12. Ramowy plan ---------- */
.day h3 { margin-bottom: 20px; text-transform: uppercase; letter-spacing: .02em; }
.day__row { display: flex; gap: 20px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.day__row:last-child { border-bottom: 0; }
.day__time { flex: 0 0 62px; font-weight: 700; color: var(--navy); }
.day__what { line-height: 1.5; }

/* ---------- 13. Prowadzący ---------- */
.people { max-width: 860px; }
.person { background: var(--bg); border-radius: var(--radius); box-shadow: var(--shadow-card); overflow: hidden; }
.person__photo { aspect-ratio: 4 / 5; overflow: hidden; background: var(--bg-alt); }
.person__photo img { width: 100%; height: 100%; object-fit: cover; }
.person__body { padding: 28px 32px 32px; }
.person__name { font-size: 19px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.person__role { margin-bottom: 14px; }

/* ---------- 14. Formularz zapisu ---------- */
.signup { background: var(--bg-alt); border-block: 1px solid var(--line); }
.signup__inner {
  max-width: var(--container); margin-inline: auto;
  padding: var(--section-y) var(--gutter);
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; align-items: start;
}
.signup__intro p + p { margin-top: 16px; }
.signup__facts { margin-top: 28px; display: flex; flex-direction: column; gap: 12px; }
.signup__fact { display: flex; gap: 12px; align-items: flex-start; line-height: 1.6; }
.signup__fact::before {
  content: ''; flex: 0 0 auto; width: 8px; height: 8px; margin-top: 11px;
  background: var(--orange); border-radius: 50%;
}

.form-box {
  background: var(--bg); padding: clamp(24px, 4vw, 40px);
  border-radius: var(--radius); box-shadow: var(--shadow-card);
}
.form-box__title {
  font-size: 24px; font-weight: 900; text-transform: uppercase;
  letter-spacing: .02em; color: var(--navy); line-height: 1.25;
}
.form-box__sub { margin-top: 8px; margin-bottom: 28px; }

.field { display: block; margin-bottom: 18px; }
.field__label {
  display: block; font-size: 14px; font-weight: 700; color: var(--navy);
  margin-bottom: 6px; letter-spacing: .02em;
}
.field__req { color: var(--orange-dark); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 17px; color: var(--ink);
  padding: 13px 14px; border: 1px solid var(--line-soft); border-radius: var(--radius);
  background: var(--bg); min-height: 48px;
  transition: border-color var(--ease), box-shadow var(--ease);
}
.field textarea { min-height: 96px; resize: vertical; line-height: 1.6; }
.field select {
  appearance: none; padding-right: 40px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%230D3C55' d='M1.4 0 6 4.6 10.6 0 12 1.4 6 7.4 0 1.4z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 0; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(13,60,85,.15);
}
.field--invalid input, .field--invalid select, .field--invalid textarea { border-color: var(--err); }
.field__error { display: none; margin-top: 6px; font-size: 14px; font-weight: 700; color: var(--err); }
.field--invalid .field__error { display: block; }
.field-row { display: grid; grid-template-columns: minmax(0, 1fr); column-gap: 18px; }

.consent { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 16px; cursor: pointer; }
.consent input {
  flex: 0 0 auto; width: 22px; height: 22px; min-height: 0;
  margin: 2px 0 0; accent-color: var(--orange); cursor: pointer;
}
.consent span { font-size: 14px; line-height: 1.6; color: var(--ink); }
.consent a { text-decoration: underline; }
.consent--invalid span { color: var(--err); }
.consent--invalid .field__error { display: block; }

/* pułapka na boty — niewidoczna dla ludzi, wypełniana przez skrypty */
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-status { margin-top: 16px; font-size: 15px; line-height: 1.6; font-weight: 700; }
.form-status[hidden] { display: none; }
.form-status--err { color: var(--err); }
.form-status--ok  { color: var(--ok); }
.form-legal { margin-top: 18px; }

/* ---------- 15. Pasek CTA, kolejna edycja, stopka ---------- */
.cta-band__inner {
  max-width: var(--container); margin-inline: auto; padding: 56px var(--gutter);
  display: flex; flex-wrap: wrap; gap: 32px; align-items: center; justify-content: space-between;
}
.cta-band h2 {
  font-size: clamp(20px, 2.6vw, 24px); line-height: 1.4; font-weight: 700;
  color: #fff; max-width: 620px; text-transform: none; letter-spacing: 0; margin: 0;
}

.next-edition { background: var(--navy); padding: 48px 40px; max-width: 860px; }
.next-edition__kicker {
  font-size: 14px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .08em; color: #fff; opacity: .75; margin-bottom: 12px;
}
.next-edition__when {
  font-size: clamp(24px, 3vw, 32px); font-weight: 900; text-transform: uppercase;
  letter-spacing: .02em; color: var(--orange); line-height: 1.25; margin-bottom: 16px;
}
.next-edition__soon { font-style: italic; color: rgba(255,255,255,.8); margin-bottom: 24px; }

.site-footer { background: var(--navy); color: #fff; }
.site-footer__inner {
  max-width: var(--container); margin-inline: auto; padding: 72px var(--gutter) 32px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 40px;
}
.site-footer a { color: #fff; }
.site-footer a:hover { color: var(--orange); }
.site-footer__logo-box {
  background: #fff; padding: 16px 20px; display: inline-block;
  border-radius: var(--radius); margin-bottom: 20px;
}
.site-footer__logo-box img { width: 180px; height: 75px; }
.site-footer__about { color: rgba(255,255,255,.85); max-width: 300px; }
.site-footer__heading {
  font-size: 14px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .08em; color: #fff; margin-bottom: 16px;
}
.site-footer__list { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.site-footer__contact p { margin-bottom: 10px; line-height: 1.6; }
.site-footer__addr { color: rgba(255,255,255,.85); }
.site-footer__bar {
  max-width: var(--container); margin-inline: auto; padding: 24px var(--gutter);
  border-top: 1px solid rgba(255,255,255,.18);
  display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between;
}
.site-footer__bar p, .site-footer__bar a { font-size: 14px; color: rgba(255,255,255,.7); }
.site-footer__bar a { text-decoration: underline; }

/* ---------- 16. Baner zgody na cookies ---------- */
.cookie-bar {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 300;
  max-width: 640px; margin-inline: auto;
  background: var(--navy); color: #fff; padding: 20px 24px;
  border-radius: var(--radius); box-shadow: 0 8px 32px rgba(13,60,85,.35);
}
.cookie-bar[hidden] { display: none; }
.cookie-bar p { font-size: 14px; line-height: 1.6; color: rgba(255,255,255,.9); margin-bottom: 16px; }
.cookie-bar a { color: #fff; text-decoration: underline; }
.cookie-bar__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cookie-bar .btn { font-size: 14px; padding: 11px 20px; min-height: 44px; }
.cookie-bar .btn--ghost { border-color: rgba(255,255,255,.6); color: #fff; }
.cookie-bar .btn--ghost:hover { background: #fff; color: var(--navy); }

/* ---------- 17. Strona podziękowania ---------- */
.thanks { padding-block: clamp(56px, 9vw, 110px); }
.thanks__inner { max-width: 720px; margin-inline: auto; padding-inline: var(--gutter); text-align: center; }
.thanks__mark {
  width: 76px; height: 76px; border-radius: 50%; background: var(--orange);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 28px;
}
.thanks__mark svg { width: 36px; height: 36px; display: block; }
.thanks__lead { margin-top: 20px; font-size: 19px; }
.steps { margin-top: 48px; text-align: left; display: grid; gap: 16px; }
.step {
  display: flex; gap: 18px; align-items: flex-start;
  background: var(--bg-alt); padding: 20px 24px; border-radius: var(--radius);
}
.step__no {
  flex: 0 0 auto; width: 32px; height: 32px; border-radius: 50%; background: var(--navy);
  color: #fff; font-weight: 900; font-size: 15px;
  display: flex; align-items: center; justify-content: center;
}
.step__text { line-height: 1.6; }

/* ---------- 18. Treść tekstowa (polityka prywatności) ---------- */
.doc { max-width: 780px; margin-inline: auto; padding-inline: var(--gutter); }
.doc h2 { font-size: clamp(20px, 2.4vw, 24px); margin: 40px 0 14px; }
.doc h1 { margin-bottom: 12px; }
.doc p, .doc li { line-height: 1.75; }
.doc ul, .doc ol { margin: 0 0 0 20px; padding: 0; }
.doc li { margin-bottom: 8px; }
.doc .todo {
  background: #FFF6E5; border-left: 4px solid var(--orange);
  padding: 14px 18px; font-size: 15px; margin: 14px 0;
}

/* ---------- 19. Punkty przełamania ---------- */
@media (min-width: 640px) {
  .field-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .steps { gap: 20px; }
}
@media (min-width: 768px) {
  .hero__inner { padding: 88px var(--gutter) 96px; }
}
@media (min-width: 900px) {
  .hero__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; }
  .signup__inner { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; }
}
@media (min-width: 1000px) {
  .nav-toggle { display: none; }
  .nav-desktop {
    margin-left: auto; display: flex; align-items: center; gap: 18px;
    flex-wrap: nowrap; justify-content: flex-end;
  }
  .nav-mobile { display: none !important; }
}
@media (max-width: 1239px) {
  .nav-desktop .nav-phone { display: none; }
}
@media (max-width: 480px) {
  :root { --gutter: 20px; }
  .btn { font-size: 17px; padding: 15px 24px; }
  .btn-row .btn { width: 100%; }
  .card, .info-card { padding: 28px 24px; }
  .callout { padding: 24px 22px; }
  .price-card { padding: 26px 24px; }
  .person__body { padding: 24px 24px 28px; }
  .next-edition { padding: 32px 24px; }
  .video__ui { padding: 16px; gap: 12px; }
  .video__play { width: 56px; height: 56px; }
  .video__play::before { border-left-width: 17px; border-top-width: 11px; border-bottom-width: 11px; }
  .video__label { font-size: 15px; padding-bottom: 8px; }
  .cookie-bar { left: 8px; right: 8px; bottom: 8px; padding: 18px 20px; }
  .cookie-bar .btn { width: 100%; }
  .site-header__logo img { width: 140px; height: 58px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* zapas na przyklejony nagłówek przy skokach do kotwic */
[id] { scroll-margin-top: calc(var(--header-h) + 16px); }

@media print {
  .site-header, .nav-mobile, .cookie-bar, .video, .btn, .cta-band { display: none !important; }
  body { font-size: 12pt; color: #000; }
  .section--navy, .site-footer { background: #fff !important; color: #000 !important; }
}

/* ---------- 20. Zabezpieczenie przed poziomym przewijaniem ----------
   Elementy grida i flexa domyślnie nie kurczą się poniżej swojej
   najwęższej treści. Długi adres e-mail albo długa opcja w <select>
   potrafiły przez to rozepchnąć stronę na telefonie. */
.signup__inner > *, .hero__inner > *, .field, .field-row > *,
.form-box, .card, .info-card, .price-card, .person, .day { min-width: 0; }

.signup__fact, .consent, .step, .day__row { min-width: 0; }
.signup__fact > *, .consent span, .step__text, .day__what { min-width: 0; }

.field select, .field input, .field textarea { max-width: 100%; }

/* długie, nierozdzielne ciągi (adresy e-mail, URL-e) mogą się łamać */
a[href^="mailto:"], a[href^="http"], .site-footer__contact p, .signup__fact {
  overflow-wrap: anywhere;
}
