/* =========================================================
   Sport Synergy – arkusz stylów
   Fonty: Roboto 300 / 400 / 700, Kanit 500 (tylko top strony głównej)
   ========================================================= */

:root {
  --blue: #0052e2;
  --blue-dark: #0041b8;
  --navy: #071440;
  --text: #4a4a4a;
  --heading: #3a3a3a;
  --muted: #6b6b6b;
  --grey: #ebebeb;
  --grey-top: #d5d5d5;
  --line: #d9d9d9;
  --dark: #2e2e2e;
  --white: #fff;
  --container: 1200px;
  --section-y: 160px;
  --font: 'Roboto', Arial, Helvetica, sans-serif;
  --font-menu: 'Kanit', 'Roboto', Arial, Helvetica, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-y: scroll; } /* pasek przewijania zawsze widoczny */
body {
  margin: 0;
  font-family: var(--font);
  font-weight: 400;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
strong, b { font-weight: 700; }
p { margin: 0 0 1.4em; }
h1, h2, h3 { margin: 0 0 .6em; font-weight: 400; color: var(--heading); line-height: 1.3; }
ul, ol { margin: 0 0 1.4em; padding-left: 1.3em; }
address { font-style: normal; }
button { font: inherit; }

.container { width: 100%; max-width: calc(var(--container) + 40px); margin: 0 auto; padding: 0 20px; }
.container--narrow { max-width: 1000px; margin-left: auto; margin-right: auto; }
.container--text { max-width: 900px; }
.text-center { text-align: center; }
.text-center .btn { margin-top: 1em; }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 100; background: var(--blue); color: #fff; padding: 8px 16px; }
.skip-link:focus { left: 10px; top: 10px; }

/* ---------- Typografia ---------- */
.heading-lg { font-size: 36px; line-height: 1.35; margin-bottom: 26px; }
.heading-md { font-size: 24px; line-height: 1.35; margin-bottom: 20px; }
.heading-sm { font-size: 20px; line-height: 1.4; color: #555; margin-bottom: 18px; }
.display-title { font-size: 80px; font-weight: 300; line-height: 1.05; color: var(--blue); margin-bottom: 30px; }
.lead { font-size: 16px; }

/* ---------- Przyciski ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 200px; min-height: 40px; padding: 8px 30px;
  font-size: 12px; line-height: 1.3; text-align: center;
  color: #fff; background: var(--blue);
  border: 1px solid var(--blue); border-radius: 5px;
  cursor: pointer; transition: background .2s, border-color .2s, color .2s;
}
.btn:hover { background: var(--blue-dark); border-color: var(--blue-dark); text-decoration: none; }
.btn--wide { min-width: 300px; }
.btn--small { min-width: 98px; min-height: 32px; padding: 6px 20px; }
.btn--outline { background: transparent; border-color: #fff; color: #fff; }
.btn--outline:hover { background: #fff; color: var(--blue); border-color: #fff; }
.btn--disabled { background: #b9b9b9; border-color: #b9b9b9; cursor: default; }
.btn--disabled:hover { background: #b9b9b9; border-color: #b9b9b9; }

/* ---------- Topbar + nagłówek ---------- */
.topbar { background: #eee; font-family: var(--font-menu); font-weight: 400; font-size: 13px; color: var(--dark); }
.topbar__inner { display: flex; justify-content: flex-end; align-items: center; min-height: 43px; }

.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid #e3e3e3; }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; min-height: 90px; }
.site-header__logo { flex-shrink: 0; }
.site-header__logo img { width: 200px; height: auto; }

.main-nav { display: flex; align-items: center; gap: 70px; align-self: flex-end; padding-bottom: 14px; }
.main-nav__list { display: flex; align-items: center; gap: 26px; list-style: none; margin: 0; padding: 0; }
.main-nav__list > li { position: relative; }
.main-nav a,
.main-nav__parent {
  display: block; padding: 8px 0; font-family: var(--font-menu); font-weight: 400; font-size: 13px; color: var(--dark);
  background: none; border: 0; cursor: pointer;
}
.main-nav a:hover,
.main-nav__parent:hover,
.main-nav a.is-active,
.main-nav__parent.is-active { color: var(--blue); text-decoration: none; }

.main-nav__sub {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  min-width: 170px; margin: 0; padding: 10px 0; list-style: none;
  background: #fff; box-shadow: 0 8px 24px rgba(0, 0, 0, .12);
  opacity: 0; visibility: hidden; transition: opacity .2s, visibility .2s;
}
.main-nav__sub a { padding: 8px 20px; white-space: nowrap; }
.has-sub:hover .main-nav__sub,
.has-sub:focus-within .main-nav__sub,
.has-sub.is-open .main-nav__sub { opacity: 1; visibility: visible; }

.social { display: flex; gap: 12px; align-items: center; }
.social a { display: block; opacity: .9; transition: opacity .2s; }
.social a:hover { opacity: .6; }
.social img { width: 22px; height: 22px; }
.social--person { margin-top: 10px; }
.social--person img { width: 24px; height: 24px; }

.nav-toggle { display: none; width: 44px; height: 44px; padding: 10px; background: none; border: 0; cursor: pointer; }
.nav-toggle__bar { display: block; height: 2px; margin: 5px 0; background: var(--dark); transition: transform .25s, opacity .25s; }
.nav-open .nav-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: #cfd6dc; }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero__bg--right { object-position: 75% center; }

.hero--home { height: 700px; }
.hero__brand {
  position: relative; z-index: 2; height: 100%;
  display: flex; align-items: center; gap: 55px;
  padding-left: 145px; padding-bottom: 80px;
}
.hero__logo { width: 300px; }
.hero__tagline { margin: 0; font-family: 'Kanit', var(--font); font-weight: 500; font-size: 18px; color: #fff; }
.hero__band {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  height: 125px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(90deg, rgba(0, 62, 226, .62) 0%, rgba(0, 62, 226, .5) 55%, rgba(0, 62, 226, 0) 72%);
}
.hero__title { margin: 0; font-size: 30px; font-weight: 300; color: #fff; }

.hero--sub { height: 600px; }
.hero__content { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.hero__heading { max-width: 560px; font-size: 48px; font-weight: 300; line-height: 1.15; margin-bottom: 30px; }
.hero--light .hero__heading { color: var(--heading); }
.hero--dark .hero__heading { color: #fff; }
.hero--placeholder .hero__heading { color: var(--heading); }

.img-placeholder { position: absolute; inset: 0; background: #cfcfcf; }
.img-placeholder::after {
  content: attr(data-label); position: absolute; right: 30px; bottom: 20px;
  font-size: 12px; color: #8a8a8a;
}

/* ---------- Sekcje ---------- */
.section { padding: var(--section-y) 0; }
.section--grey { background: linear-gradient(180deg, var(--grey-top) 0, var(--grey) 160px); }
.section--blue { background: var(--blue); color: #fff; padding: 100px 0; }
.section--blue h2, .section--blue p { color: #fff; }
.section--blue p:last-child { margin-bottom: 0; }

.section--about p { max-width: 1000px; margin-left: auto; margin-right: auto; }

/* Oferta – strona główna */
.offer-intro { display: grid; grid-template-columns: 230px 1fr; gap: 20px; max-width: 1110px; margin: 0 auto 80px; }
.offer-intro .display-title { text-align: right; margin: 0; }
.offer-intro p { margin: 0; color: #2e2e2e; }
.offer-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 1080px; margin: 0 auto; }
.offer-col { display: flex; flex-direction: column; }
.offer-col p { color: #2e2e2e; }
.offer-col .btn { margin-top: auto; }
.offer-col--left { text-align: right; align-items: flex-end; }
.offer-col--right { align-items: flex-start; }

/* Blog teaser */
.blog-teaser { position: relative; min-height: 700px; display: flex; align-items: center; overflow: hidden; color: #fff; background: #1d2fd8; }
.blog-teaser__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.blog-teaser::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7, 20, 64, 0) 35%, rgba(7, 20, 64, .85) 100%); }
.blog-teaser__inner { position: relative; z-index: 2; text-align: center; padding-top: 70px; padding-bottom: 80px; }
.blog-teaser__word { width: 810px; margin: 0 auto 30px; }
.blog-teaser h2 { color: #fff; margin-bottom: 18px; }
.blog-teaser p { max-width: 775px; margin: 0 auto 26px; }

/* Kontakt */
.section--contact { padding: 140px 0; }
.contact-grid { display: grid; grid-template-columns: 495px 457px; justify-content: center; gap: 60px; align-items: start; }
.contact-grid__info { padding-top: 45px; }
.contact-grid .display-title { font-size: 64px; }
.contact-grid__info .btn { margin-top: 10px; }
.contact-data { margin-top: 10px; line-height: 1.9; }

/* Formularz */
.contact-form { position: relative; }
.contact-form__title { font-size: 20px; margin-bottom: 20px; }
.contact-form__field { margin-bottom: 18px; }
.contact-form label { display: block; margin-bottom: 6px; font-size: 12px; color: var(--dark); }
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
  width: 100%; padding: 7px 10px; font: inherit; font-size: 13px; color: var(--dark);
  background: #fff; border: 1px solid #fff; border-radius: 5px; outline: none;
  transition: border-color .2s;
}
.contact-form input[type="text"],
.contact-form input[type="email"] { height: 34px; }
.contact-form textarea { height: 112px; resize: vertical; }
.contact-form input:focus,
.contact-form textarea:focus { border-color: var(--blue); }
.contact-form ::placeholder { color: #a9a9a9; }
.section:not(.section--grey) .contact-form input,
.section:not(.section--grey) .contact-form textarea { background: #f4f4f4; border-color: #f4f4f4; }
.contact-form .ts-box:not(:empty) { margin-bottom: 16px; }
.contact-form__topic { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 16px; padding: 4px 6px 4px 12px; font-size: 12px; color: #fff; background: var(--blue); border-radius: 3px; }
.contact-form__topic[hidden] { display: none; }
.contact-form__topic-clear { padding: 0 6px; color: #fff; background: none; border: 0; font-size: 16px; line-height: 1; cursor: pointer; }
.contact-form__status { min-height: 22px; margin: 14px 0; font-size: 13px; }
.contact-form__status.is-ok { color: #1b8a3a; }
.contact-form__status.is-error { color: #c62828; }
.contact-form__rodo { margin: 30px 0 0; font-size: 10px; line-height: 1.5; color: var(--muted); }
.contact-form.is-sending button[type="submit"] { opacity: .6; pointer-events: none; }

.hp-field { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* Kafelki / kolumny */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 50px; margin-top: 60px; }
.feature p:last-child { margin-bottom: 0; }

.two-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }

.achievements { list-style: none; padding: 0; margin: 30px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 24px 40px; }
.achievements li { padding-left: 18px; border-left: 3px solid var(--blue); }
.achievements strong { display: block; color: var(--heading); }
.achievements span { display: block; color: var(--muted); }

/* Cennik */
.pricing { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; margin-top: 60px; }
.price-card { display: flex; flex-direction: column; padding: 40px 34px; background: #fff; border-top: 4px solid var(--blue); box-shadow: 0 6px 24px rgba(0, 0, 0, .06); }
.price-card--featured { border-top-color: var(--navy); }
.price-card--soon { opacity: .75; }
.price-card__badge { align-self: flex-start; margin: 0 0 14px; padding: 2px 10px; font-size: 12px; color: var(--blue); border: 1px solid var(--blue); border-radius: 3px; }
.price-card__title { font-size: 24px; margin-bottom: 6px; }
.price-card__meta { font-size: 13px; color: var(--muted); }
.price-card__list { padding-left: 1.1em; }
.price-card__list li { margin-bottom: 4px; }
.price-card__note { font-size: 12px; color: var(--muted); }
.price-card__price { margin: auto 0 20px; padding-top: 10px; font-size: 22px; font-weight: 700; color: var(--blue); }
.price-card__price small { display: block; font-size: 12px; font-weight: 400; color: var(--muted); }
.price-card .btn { align-self: flex-start; }
.pricing__footnote { margin: 40px 0 0; font-size: 12px; color: var(--muted); }

/* Blog – wkrótce */
.section--blog-soon { min-height: 50vh; display: flex; align-items: center; }
.blog-soon { margin: 0; font-size: 48px; font-weight: 300; color: var(--blue); }

/* Strony prawne */
.section--legal { padding-top: 100px; }
.legal h2 { margin-top: 36px; font-size: 18px; font-weight: 700; }
.legal__date { margin-top: 40px; color: var(--muted); }

/* ---------- Stopka ---------- */
.site-footer { background: var(--dark); color: #fff; font-size: 12px; padding: 58px 0 100px; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: #8fb3ff; text-decoration: none; }
.site-footer__grid { display: grid; grid-template-columns: 300px 200px 1fr auto; gap: 20px; align-items: start; min-height: 340px; }
.site-footer__logo img { width: 200px; }
/* Wszystkie wiersze w kolumnach stopki: ta sama wysokość i ten sam odstęp */
.site-footer__col { display: flex; flex-direction: column; gap: 10px; line-height: 1.5; }
.site-footer__label { margin: 0; font-weight: 700; }
.site-footer__lines { display: flex; flex-direction: column; gap: 10px; list-style: none; padding: 0; margin: 0; }
.site-footer__lines li { margin: 0; }
.site-footer__lines--menu li { font-weight: 700; }
.site-footer__mail { color: var(--blue) !important; }
.social--footer img { filter: invert(1); }
.site-footer__bottom { padding-top: 30px; border-top: 1px solid #444; text-align: center; font-size: 11px; }
.site-footer__bottom p { margin: 0 0 8px; }
.site-footer a, .site-footer a:hover, .site-footer .link-btn { text-decoration: none; }

/* =========================================================
   Responsywność
   ========================================================= */
@media (max-width: 1100px) {
  :root { --section-y: 120px; }
  .contact-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .hero__brand { padding-left: 20px; }
  .features { gap: 30px; }
}

@media (max-width: 900px) {
  :root { --section-y: 80px; }

  .nav-toggle { display: block; }
  .main-nav {
    align-self: auto;
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 10px 20px 24px; background: #fff; box-shadow: 0 12px 24px rgba(0, 0, 0, .1);
    display: none;
  }
  .nav-open .main-nav { display: flex; }
  .main-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav__list > li { border-bottom: 1px solid #eee; }
  .main-nav a, .main-nav__parent { padding: 14px 0; font-size: 15px; width: 100%; text-align: left; }
  .main-nav__sub { position: static; transform: none; box-shadow: none; padding: 0 0 8px 16px; opacity: 1; visibility: visible; display: none; }
  .has-sub:hover .main-nav__sub, .has-sub:focus-within .main-nav__sub { display: none; }
  .has-sub.is-open .main-nav__sub { display: block; }
  .main-nav__sub a { padding: 10px 0; }
  .social--header { padding-top: 18px; gap: 16px; }
  .main-nav .social--header a { width: auto; padding: 4px 0; }

  .hero--home { height: 560px; }
  .hero--home .hero__bg { object-position: 68% center; }
  .hero__brand { flex-direction: column; justify-content: center; align-items: flex-start; gap: 14px; padding-bottom: 125px; }
  .hero__logo { width: 220px; }
  .hero__band { background: linear-gradient(90deg, rgba(0, 62, 226, .65), rgba(0, 62, 226, .45)); height: 100px; }
  .hero__title { font-size: 26px; }
  .hero--sub { height: 440px; }
  .hero__heading { font-size: 36px; }
  .hero--light .hero__content,
  .hero--placeholder .hero__content { max-width: none; background: linear-gradient(90deg, rgba(255, 255, 255, .75), rgba(255, 255, 255, 0)); }

  .display-title, .contact-grid .display-title { font-size: 56px; }
  .heading-lg { font-size: 28px; }

  .offer-intro { grid-template-columns: 1fr; margin-bottom: 50px; }
  .offer-intro .display-title { text-align: left; }
  .offer-cols { grid-template-columns: 1fr; gap: 50px; }
  .offer-col--left { text-align: left; align-items: flex-start; }

  .blog-teaser { min-height: 560px; }
  .contact-grid, .two-cols, .features, .achievements { grid-template-columns: 1fr; }
  .contact-grid__info { padding-top: 0; }
  .section--contact { padding: 80px 0; }

  .site-footer__grid { grid-template-columns: 1fr 1fr; min-height: 0; gap: 34px 20px; padding-bottom: 40px; }
  .site-footer__logo, .social--footer { grid-column: span 2; }
}

@media (max-width: 520px) {
  .btn, .btn--wide { min-width: 0; width: 100%; }
  .btn--small { width: auto; }
  .site-header__inner { min-height: 72px; }
  .site-header__logo img { width: 150px; }
  .topbar__inner { min-height: 31px; justify-content: center; }
  .display-title, .contact-grid .display-title { font-size: 44px; }
  .blog-soon { font-size: 34px; }
  .price-card { padding: 30px 24px; }
  .pricing { grid-template-columns: 1fr; }
  .site-footer__grid { grid-template-columns: 1fr; }
  .site-footer__logo, .social--footer { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* =========================================================
   Cookies – pasek zgody i ustawienia
   ========================================================= */
.btn--ghost { background: #fff; color: var(--blue); border-color: var(--blue); }
.btn--ghost:hover { background: var(--blue); color: #fff; border-color: var(--blue); }

.link-btn { padding: 0; background: none; border: 0; color: #fff; font-size: 11px; text-decoration: none; cursor: pointer; }
.link-btn:hover { color: #8fb3ff; }

.cookie-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  padding: 10px 0 calc(10px + env(safe-area-inset-bottom, 0px));
  background: #f4f5f7; border-top: 1px solid #e1e3e8;
  box-shadow: 0 -6px 24px rgba(0, 0, 0, .06);
}
.cookie-bar[hidden], .cookie-modal[hidden] { display: none; }
.cookie-bar__inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.cookie-bar__text { max-width: 760px; font-size: 12px; line-height: 1.45; color: var(--muted); }
.cookie-bar__text p { margin: 0; }
.cookie-bar__text a { color: var(--dark); text-decoration: underline; }
.cookie-bar__title { margin-bottom: 2px !important; font-size: 12px; font-weight: 700; color: var(--dark); }
.cookie-bar .btn--small { min-height: 30px; padding: 4px 16px; }
.cookie-bar__actions { display: flex; flex-wrap: wrap; gap: 8px; flex-shrink: 0; }

.cookie-modal { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 20px; }
.cookie-modal__backdrop { position: absolute; inset: 0; background: rgba(20, 24, 36, .55); }
.cookie-modal__box {
  position: relative; width: 100%; max-width: 570px; max-height: calc(100vh - 40px); overflow-y: auto;
  padding: 30px; background: #fff; border-radius: 10px; box-shadow: 0 20px 60px rgba(0, 0, 0, .25);
}
.cookie-modal__close {
  position: absolute; top: 22px; right: 22px; width: 36px; height: 36px;
  font-size: 20px; line-height: 1; color: var(--dark); background: #ebebeb; border: 0; border-radius: 50%; cursor: pointer;
}
.cookie-modal__close:hover { background: #dcdcdc; }
.cookie-modal__title { margin: 0 50px 10px 0; font-size: 26px; color: var(--dark); }
.cookie-modal__intro { font-size: 13px; color: var(--muted); padding-bottom: 14px; margin-bottom: 0; border-bottom: 1px solid #e6e6e6; }
.cookie-modal__intro a { color: var(--dark); text-decoration: underline; }
.cookie-opt { padding: 16px 0; border-bottom: 1px solid #e6e6e6; }
.cookie-opt p { margin: 6px 0 0; font-size: 13px; color: var(--muted); }
.cookie-opt__head { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.cookie-opt__name { font-size: 16px; font-weight: 700; color: var(--dark); cursor: pointer; }
.cookie-modal__actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; padding-top: 20px; }

.switch {
  -webkit-appearance: none; appearance: none; flex-shrink: 0;
  position: relative; width: 44px; height: 24px; margin: 0;
  background: #cfd3da; border-radius: 12px; cursor: pointer; transition: background .2s;
}
.switch::after {
  content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px;
  background: #fff; border-radius: 50%; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: transform .2s;
}
.switch:checked { background: var(--blue); }
.switch:checked::after { transform: translateX(20px); }
.switch:disabled { opacity: .55; cursor: not-allowed; }
.switch:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }

@media (max-width: 900px) {
  .cookie-bar { padding: 8px 0 calc(8px + env(safe-area-inset-bottom, 0px)); }
  .cookie-bar__inner { flex-direction: column; align-items: stretch; gap: 8px; }
  .cookie-bar__text { line-height: 1.35; }
  .cookie-bar__actions { flex-wrap: nowrap; gap: 6px; }
  .cookie-bar__actions .btn { flex: 1 1 auto; width: auto; min-width: 0; min-height: 30px; padding: 4px 8px; font-size: 11px; }
}
@media (max-width: 520px) {
  .cookie-modal__box { padding: 24px 20px; }
  .cookie-modal__actions .btn { width: 100%; }
}
[id] { scroll-margin-top: 110px; }

/* Przycisk „do góry” */
.to-top {
  position: fixed; z-index: 80;
  right: calc(24px + env(safe-area-inset-right, 0px));
  bottom: calc(24px + var(--cookie-bar-h, 0px) + env(safe-area-inset-bottom, 0px));
  width: 46px; height: 46px; padding: 0;
  display: flex; align-items: center; justify-content: center;
  color: var(--dark); background: #e8e9ec; border: 0; border-radius: 50%;
  cursor: pointer;
  opacity: 0; visibility: hidden;
  transition: opacity .4s ease, visibility .4s ease, background .2s, color .2s, bottom .2s;
}
.to-top.is-visible { opacity: 1; visibility: visible; }
.to-top:hover { background: var(--blue); color: #fff; }
.to-top:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
@media (max-width: 520px) { .to-top { right: calc(16px + env(safe-area-inset-right, 0px)); width: 42px; height: 42px; } }

/* =========================================================
   Podstrona Kadra
   ========================================================= */
.kadra-intro { padding: 85px 0 80px; }
.kadra-title { font-size: 36px; color: var(--blue); margin-bottom: 22px; }
.kadra-narrow { max-width: 780px; margin: 0 auto; color: #2e2e2e; }
.kadra-wide { max-width: 1000px; margin: 0 auto; color: #2e2e2e; }
.kadra-wide p:last-child { margin-bottom: 0; }
.kadra-muted, .kadra-muted p { color: var(--muted); }

.kadra-band { padding: 100px 0; }
.kadra-band--grey { background: var(--grey); }
.kadra-band--tall { padding: 115px 0; }
.kadra-subtitle { font-size: 22px; line-height: 1.35; color: var(--blue); margin-bottom: 24px; }

/* Sekcje ze zdjęciem i niebieskim gradientem */
.kadra-media { position: relative; min-height: 600px; display: flex; align-items: center; overflow: hidden; background: #0b1a4a; color: #fff; }
.kadra-media__img { position: absolute; inset: 0; }
.kadra-media__img img { width: 100%; height: 100%; object-fit: cover; object-position: 70% center; }
.kadra-media__img .img-placeholder { position: absolute; inset: 0; }
.kadra-media::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(0, 82, 226, 1) 0%, rgba(0, 72, 210, .85) 18%, rgba(9, 36, 110, .35) 38%, rgba(9, 36, 110, 0) 55%);
}
.kadra-media__inner { position: relative; z-index: 2; padding-top: 80px; padding-bottom: 80px; }
.kadra-media__text { max-width: 500px; margin-left: 100px; }
.kadra-media__text p { color: #fff; }
.kadra-media__label { font-size: 14px; font-weight: 400; color: #fff; margin-bottom: 1.4em; }
.kadra-media--diet { min-height: 680px; }
.kadra-media--diet .img-placeholder::after { color: #6f6f6f; }

.social--light { gap: 16px; }
.social--light img { filter: invert(1); width: 22px; height: 22px; }
.social--light img.social__yt { width: 28px; }

/* Osiągnięcia */
.kadra-achievements { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; max-width: 1100px; }
.kadra-achievements__title { margin: 0; text-align: right; font-size: 40px; line-height: 1.2; color: var(--blue); }
.kadra-achievements__list { list-style: none; margin: 0; padding: 0; color: #2e2e2e; line-height: 1.75; }
.kadra-achievements__list span { display: block; padding-left: 20px; }

@media (max-width: 900px) {
  .kadra-intro { padding: 60px 0; }
  .kadra-band, .kadra-band--tall { padding: 70px 0; }
  .kadra-title { font-size: 30px; }

  .kadra-media { display: block; min-height: 0; background: var(--blue); }
  .kadra-media__img { position: relative; height: 340px; }
  .kadra-media::before { display: none; }
  .kadra-media__img::after { content: ""; position: absolute; inset: auto 0 0; height: 90px; background: linear-gradient(180deg, rgba(0, 82, 226, 0), var(--blue)); }
  .kadra-media__inner { padding-top: 30px; padding-bottom: 60px; }
  .kadra-media__text { margin-left: 0; max-width: none; }

  .kadra-achievements { grid-template-columns: 1fr; gap: 30px; }
  .kadra-achievements__title { text-align: left; font-size: 30px; }
  .kadra-achievements__title br { display: none; }
  .kadra-subtitle br { display: none; }
}
.kadra-media--diet { --diet-blue: #2150e2; }
.kadra-media--diet::before { background: linear-gradient(90deg, rgba(33, 80, 226, 1) 0%, rgba(33, 80, 226, .92) 25%, rgba(33, 80, 226, .6) 45%, rgba(33, 80, 226, 0) 60%); }
@media (max-width: 900px) {
  .kadra-media--diet { background: var(--diet-blue); }
  .kadra-media--diet .kadra-media__img::after { background: linear-gradient(180deg, rgba(33, 80, 226, 0), var(--diet-blue)); }
}

/* =========================================================
   Podstrona Oferta F2F
   ========================================================= */
.f2f-intro { padding: 80px 0 85px; }
.f2f-title { font-size: 38px; line-height: 1.2; color: var(--blue); margin-bottom: 24px; }
.f2f-lead { max-width: 760px; margin: 0 auto 28px; }
.f2f-intro .btn { margin-top: 0; }
.f2f-h2 { font-size: 20px; line-height: 1.35; color: var(--blue); margin-bottom: 14px; }

.f2f-photo { position: relative; min-height: 700px; display: flex; align-items: center; overflow: hidden; background: #d4e9f2; }
.f2f-photo__img { position: absolute; inset: 0; }
.f2f-photo__img img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.f2f-photo__inner { position: relative; z-index: 1; padding-top: 80px; padding-bottom: 80px; }
.f2f-photo__text { max-width: min(690px, 45vw); }
.f2f-photo__text p { color: var(--text); margin-bottom: 26px; }
.f2f-photo__text p:last-child { margin-bottom: 0; }

.f2f-packages { background: var(--grey); padding: 80px 0 100px; }
.f2f-packages__head { max-width: 800px; margin: 0 auto 80px; }
.f2f-packages__head p { margin: 0; }

.f2f-cards { display: grid; grid-template-columns: repeat(3, 240px); justify-content: center; align-items: start; gap: 20px; }
.f2f-card { display: flex; flex-direction: column; padding: 20px 10px 10px; background: #fff; border-radius: 8px; box-shadow: 0 2px 10px rgba(0, 0, 0, .05); }
.f2f-card__title { margin: 0 0 22px; font-size: 20px; font-weight: 700; line-height: 1.2; text-align: center; color: var(--blue); }
.f2f-card__body { padding: 0 5px; }
.f2f-card__body p, .f2f-card__body ul { margin-bottom: 1.4em; }
.f2f-card__body ul { padding-left: 1.6em; }
.f2f-card__price { margin: 0 0 8px; padding: 9px 10px; font-size: 15px; text-align: center; color: var(--text); background: var(--grey); border-radius: 5px; }
.f2f-card__btn { width: 100%; min-width: 0; }

.cta-box { display: flex; align-items: center; justify-content: center; max-width: 800px; margin: 55px auto 0; padding: 28px 40px; background: #dcdcdc; }
.cta-box__text { flex: 1; margin: 0; padding-right: 30px; text-align: right; border-right: 1px solid #b9b9b9; min-height: 100px; display: flex; align-items: center; justify-content: flex-end; }
.cta-box .btn { margin-left: 30px; }

/* Okno z formularzem */
.form-modal { position: fixed; inset: 0; z-index: 95; display: flex; align-items: center; justify-content: center; padding: 20px; }
.form-modal[hidden] { display: none; }
.form-modal__backdrop { position: absolute; inset: 0; background: rgba(20, 24, 36, .55); }
.form-modal__box { position: relative; width: 100%; max-width: 520px; max-height: calc(100vh - 40px); overflow-y: auto; padding: 34px 34px 26px; background: var(--grey); border-radius: 10px; }
.form-modal__close { position: absolute; top: 18px; right: 18px; width: 36px; height: 36px; font-size: 20px; line-height: 1; color: var(--dark); background: #fff; border: 0; border-radius: 50%; cursor: pointer; }
.form-modal .contact-form__title { font-size: 24px; color: var(--blue); margin-right: 40px; }

@media (max-width: 900px) {
  .f2f-intro { padding: 60px 0; }
  .f2f-title { font-size: 30px; }
  .f2f-title br { display: none; }
  .f2f-photo { display: block; min-height: 0; }
  .f2f-photo__img { position: relative; height: 300px; }
  .f2f-photo__img img { object-position: 85% center; }
  .f2f-photo__inner { padding-top: 50px; padding-bottom: 60px; }
  .f2f-photo__text { max-width: none; }
  .f2f-packages { padding: 60px 0 70px; }
  .f2f-packages__head { margin-bottom: 40px; }
  .f2f-cards { grid-template-columns: minmax(0, 400px); }
  .cta-box { flex-direction: column; padding: 30px 20px; text-align: center; }
  .cta-box__text { padding: 0 0 20px; min-height: 0; text-align: center; justify-content: center; border-right: 0; border-bottom: 1px solid #b9b9b9; }
  .cta-box .btn { margin: 20px 0 0; }
}
@media (max-width: 520px) {
  .form-modal { padding: 10px; }
  .form-modal__box { padding: 26px 18px 18px; }
}

/* =========================================================
   Podstrona Oferta Online
   ========================================================= */
.on-lead { max-width: 1000px; margin: 0 auto 28px; color: #2e2e2e; }

.on-photo { position: relative; min-height: 900px; display: flex; align-items: center; overflow: hidden; background: #c9dee8; }
.on-photo__img { position: absolute; inset: 0; }
.on-photo__img img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.on-photo__inner { position: relative; z-index: 1; padding-top: 50px; padding-bottom: 50px; }
.on-photo__text { max-width: min(840px, 52vw); display: flex; flex-direction: column; gap: 32px; }
.on-h2 { font-size: 20px; line-height: 1.3; color: var(--blue); margin: 0 0 6px; }
.on-item p { margin: 0; color: #444; }

.on-packages { background: var(--grey); padding: 70px 0 70px; }
.on-packages__head { max-width: 960px; margin: 0 auto 60px; color: #2e2e2e; }
.on-packages__head p:last-child { margin-bottom: 0; }

.on-cards { display: grid; grid-template-columns: repeat(5, minmax(0, 229px)); justify-content: center; align-items: start; gap: 14px; }
.on-card { display: flex; flex-direction: column; padding: 18px 10px 10px; background: #fff; border-radius: 8px; box-shadow: 0 2px 10px rgba(0, 0, 0, .05); }
.on-card__title { margin: 0 0 14px; font-size: 18px; font-weight: 700; line-height: 1.25; text-align: center; color: var(--blue); }
.on-pill { margin: 0 0 8px; padding: 7px 8px; text-align: center; background: var(--grey); border-radius: 5px; }
.on-pill--badge { font-size: 12px; font-weight: 700; color: var(--dark); margin-bottom: 14px; }
.on-pill--small { font-size: 12px; color: var(--muted); }
.on-pill--price { font-size: 14px; color: var(--text); }
.on-card__body { padding: 0 4px; min-height: 230px; color: #2e2e2e; }
.on-card__body p { margin-bottom: 1.4em; }
.on-card__list { list-style: none; padding: 0; margin: 0 0 1.4em; font-size: 12px; font-style: italic; line-height: 1.35; color: var(--text); }
.on-card__list li { margin-bottom: 10px; }
.on-card__list li::before { content: "• "; }
.on-card__note { font-size: 12px; font-style: italic; line-height: 1.35; color: var(--muted); }
.on-card__btn { width: 100%; min-width: 0; }
.on-card__foot { margin-top: auto; }

.on-footnote { margin: 50px 0 0; font-size: 11px; text-align: center; color: var(--muted); }
.on-divider { max-width: 1000px; margin: 40px auto; border: 0; border-top: 1px solid #d0d0d0; }

.on-soon__title { font-size: 44px; color: var(--blue); margin: 0; }
.on-soon__sub { font-size: 20px; color: var(--blue); margin: 4px 0 18px; }
.on-soon__text { max-width: 775px; margin: 0 auto 70px; color: #2e2e2e; }
.on-card--soon { width: 229px; margin: 0 auto; opacity: .45; }
.on-card--soon .on-card__title { color: #9a9a9a; }

.on-packages .cta-box { margin-top: 70px; }

@media (max-width: 1240px) {
  .on-cards { grid-template-columns: repeat(3, minmax(0, 260px)); }
}
@media (max-width: 900px) {
  .on-photo { display: block; min-height: 0; }
  .on-photo__img { position: relative; height: 320px; }
  .on-photo__img img { object-position: 85% center; }
  .on-photo__inner { padding-top: 50px; padding-bottom: 60px; }
  .on-photo__text { max-width: none; gap: 28px; }
  .on-packages { padding: 60px 0; }
  .on-packages__head { margin-bottom: 40px; }
  .on-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .on-card__body { min-height: 0; }
}
@media (max-width: 600px) {
  .on-cards { grid-template-columns: minmax(0, 400px); }
  .on-soon__title { font-size: 36px; }
}

/* Przyciski zamykania okien: całe kółko klikalne (nad treścią okna) */
.form-modal__close, .cookie-modal__close { z-index: 3; display: flex; align-items: center; justify-content: center; padding: 0; }

/* =========================================================
   Podstrona Kontakt
   ========================================================= */
.kontakt { padding: 80px 0 180px; background: linear-gradient(180deg, var(--grey-top) 0, var(--grey) 160px); }
.kontakt__grid {
  display: grid; grid-template-columns: 575px 550px; justify-content: center; column-gap: 70px;
  grid-template-areas: "title ." "info form";
}
.kontakt__title { grid-area: title; margin: 0 0 22px; }
.kontakt__info { grid-area: info; font-size: 16px; line-height: 1.5; color: #444; }
.kontakt__info p { margin-bottom: 24px; }
.kontakt__phone { font-size: 20px; color: var(--heading); }
.kontakt__form { grid-area: form; padding-top: 6px; }
.kontakt__form .contact-form label { font-size: 14px; }

.map { position: relative; height: 400px; background: #dfe3e8; }
.map__frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }

@media (max-width: 1240px) {
  .kontakt__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 50px; }
}
@media (max-width: 900px) {
  .kontakt { padding: 60px 0 80px; }
  .kontakt__grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "title" "info" "form"; }
  .kontakt__form { padding-top: 20px; }
  .map { height: 320px; }
}

/* =========================================================
   Blog – lista artykułów
   ========================================================= */
.btn--line { background: #fff; color: var(--dark); border-color: var(--dark); }
.btn--line:hover { background: var(--dark); color: #fff; border-color: var(--dark); }

.blog-intro { padding: 95px 0 145px; }
.blog-intro__title { font-size: 36px; line-height: 1.2; color: var(--blue); margin-bottom: 16px; }
.blog-intro__lead { max-width: 780px; margin: 0 auto 24px; color: var(--text); }
.blog-intro__buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 5px; }
.blog-intro__buttons .btn { min-width: 195px; }

.blog-list { padding-bottom: 110px; }
.blog-list__inner { max-width: 1040px; }

.post-card { display: flex; flex-direction: column; overflow: hidden; background: #fff; border-radius: 10px; box-shadow: 0 2px 12px rgba(0, 0, 0, .08); }
.post-card__img { position: relative; display: block; aspect-ratio: 300 / 188; background: #cfcfcf; overflow: hidden; }
.post-card__img img, .post-card__img .img-placeholder { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.post-card__img img { transition: transform .4s ease; }
.post-card:hover .post-card__img img { transform: scale(1.03); }
.post-card__body { display: flex; flex-direction: column; flex: 1; padding: 14px 10px 12px; }
.post-card__title { margin: 0 0 14px; font-size: 15px; line-height: 1.3; }
.post-card__title a { color: var(--dark); }
.post-card__title a:hover { color: var(--blue); text-decoration: none; }
.post-card__excerpt { margin: 0 0 8px; font-size: 12px; line-height: 18px; color: var(--dark); display: -webkit-box; -webkit-line-clamp: 3; line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post-card__more { margin-top: auto; font-size: 14px; color: var(--blue); }

.post-card--featured { margin-bottom: 55px; }
.post-card--featured .post-card__img { aspect-ratio: 1000 / 400; }
.post-card--featured .post-card__title { font-size: 17px; }

.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 25px; }

/* =========================================================
   Blog – strona artykułu
   ========================================================= */
.article { padding: 50px 0 110px; }
.article__inner { max-width: 1240px; }
.article__img { position: relative; aspect-ratio: 1200 / 400; overflow: hidden; border-radius: 10px; background: #cfcfcf; }
.article__img img, .article__img .img-placeholder { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.article__back { display: flex; justify-content: flex-end; margin-top: 10px; }
.article__date { margin: 14px 0 4px; font-size: 14px; color: var(--dark); }
.article__title { font-size: 28px; line-height: 1.3; color: var(--heading); margin-bottom: 30px; }
.article__content { font-size: 16px; line-height: 1.5; color: #444; text-align: justify; }
.article__content p { margin: 0 0 24px; }
.article__content h2, .article__content h3 { margin: 0 0 4px; font-size: 16px; line-height: 1.5; font-weight: 700; color: #444; }
.article__content ul, .article__content ol { margin: 0 0 24px; }
.article__content a { color: var(--blue); }
.article__content p + h2 { margin-top: 8px; }

@media (max-width: 900px) {
  .blog-intro { padding: 60px 0 70px; }
  .blog-intro__title { font-size: 30px; }
  .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
  .post-card--featured { margin-bottom: 30px; }
  .article { padding-top: 30px; }
  .article__title { font-size: 24px; }
  .article__content { text-align: left; }
}
@media (max-width: 600px) {
  .post-grid { grid-template-columns: minmax(0, 1fr); }
  .post-card--featured .post-card__img { aspect-ratio: 300 / 188; }
  .blog-intro__buttons .btn { min-width: 0; flex: 1 1 100%; }
  .article__img { aspect-ratio: 16 / 9; }
  .article__back .btn { width: 100%; }
}

/* Elementy wyróżnione w artykułach */
.article__content .article-quote { margin: 0 0 24px; padding: 4px 0 4px 20px; border-left: 4px solid var(--blue); font-size: 20px; font-style: italic; line-height: 1.45; color: var(--heading); text-align: left; }
.article__content .article-stats { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 28px; padding: 0; list-style: none; text-align: left; }
.article-stats li { padding: 10px 18px; background: var(--grey); border-radius: 10px; font-size: 15px; }
.article-stats strong { display: block; font-size: 22px; line-height: 1.2; color: var(--blue); }
.article-stats .article-stats__done { display: flex; align-items: center; font-size: 20px; font-weight: 700; color: #fff; background: var(--blue); }
.article__content .article-lead { font-size: 18px; color: var(--heading); }
.article__content .article-time { display: inline-block; margin-top: 12px; margin-bottom: 14px; padding: 4px 14px; font-size: 15px; color: #fff; background: var(--blue); border-radius: 5px; }
.article__content .article-highlight { padding: 16px 20px; background: #eef3fd; border-left: 4px solid var(--blue); border-radius: 0 10px 10px 0; color: var(--heading); text-align: left; }
.article__content strong { color: var(--heading); }
.article-takeaway { margin: 36px 0 0; padding: 26px 30px; text-align: center; color: #fff; background: var(--blue); border-radius: 10px; }
.article-takeaway p { margin: 0; text-align: center; }
.article-takeaway__label { font-size: 14px; opacity: .85; }
.article-takeaway__text { margin-top: 6px !important; font-size: 22px; font-weight: 700; line-height: 1.3; }
@media (max-width: 600px) {
  .article-stats li { flex: 1 1 40%; }
  .article__content .article-quote { font-size: 18px; }
  .article-takeaway__text { font-size: 19px; }
}
.contact-form__rodo a { color: inherit; text-decoration: underline; }
.legal .legal__date--top { margin: -10px 0 30px; }
.legal ul { margin: -10px 0 24px; }

/* Standardy – wersja dla dzieci */
.kids__lead { font-size: 22px; font-weight: 700; color: var(--blue); margin-bottom: 14px; }
.kids__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 30px 0; }
.kids__card { padding: 20px 22px; background: var(--grey); border-radius: 10px; }
.legal .kids__card h2 { margin: 0 0 10px; font-size: 17px; color: var(--blue); }
.kids__card p:last-child { margin-bottom: 0; }
.kids__phones { padding: 20px 22px; border: 2px solid var(--blue); border-radius: 10px; }
.legal .kids__phones h2 { margin: 0 0 10px; color: var(--blue); }
.kids__phones ul { list-style: none; margin: 0 !important; padding: 0; }
.kids__phones li { margin-bottom: 6px; font-size: 16px; }
.kids__end { margin-top: 30px; text-align: center; font-weight: 700; color: var(--heading); }
.kids__brand { text-align: center; font-size: 13px; letter-spacing: .08em; color: var(--muted); }
@media (max-width: 700px) { .kids__grid { grid-template-columns: minmax(0, 1fr); } }
