/* =========================================================
   Moc Mowy — styl strony
   Kolory z logo: zieleń #8fb31a + błękit #1aa9d6
   ========================================================= */
@font-face { font-family: "Nunito"; font-style: normal; font-weight: 300 900; font-display: swap;
  src: url(../fonts/nunito-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: "Nunito"; font-style: normal; font-weight: 300 900; font-display: swap;
  src: url(../fonts/nunito-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; }

:root {
  --green: #8fb31a;
  --green-600: #6e8b0e;
  --green-100: #eef5d6;
  --green-50: #f6faea;
  --blue: #1aa9d6;
  --blue-700: #0a7aa0;
  --blue-100: #d8f1fa;
  --blue-50: #eef9fd;
  --ink: #1d2b36;
  --ink-2: #3b4a56;
  --muted: #687784;
  --line: #e4eaee;
  --bg: #ffffff;
  --tint: #f5f9fb;
  --navy: #13232f;
  --radius: 22px;
  --radius-sm: 14px;
  --shadow-sm: 0 2px 8px rgba(20, 45, 65, .06);
  --shadow: 0 12px 32px -12px rgba(20, 45, 65, .18);
  --shadow-lg: 0 24px 60px -20px rgba(20, 45, 65, .28);
  --wrap: 1180px;
  --logo-h: calc(78px * var(--logo-scale, 1));   /* wysokość logo w nagłówku (ustawiana w panelu) */
  --header-offset: 0px;                         /* odstęp paska od górnej krawędzi (ustawiany w panelu) */
  --ease: cubic-bezier(.2, .7, .2, 1);
}
/* Po przewinięciu logo wraca do 100% (body.scrolled). --header-h liczymy na body, żeby widział nadpisanie --logo-h. */
body { --header-h: calc(var(--logo-h) + 18px); }
body.scrolled { --logo-h: 78px; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--logo-h) + 30px + var(--header-offset)); -webkit-text-size-adjust: 100%; }
body { margin: 0; min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column;
  font-family: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif; font-size: 17px; line-height: 1.7;
  color: var(--ink-2); background: var(--bg); -webkit-font-smoothing: antialiased; }
body > main { flex: 1 0 auto; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-700); text-underline-offset: 3px; }
a:hover { color: var(--blue); }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.2vw, 3.2rem); font-weight: 900; margin: 0 0 1rem; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); font-weight: 900; margin: 0 0 .75rem; }
h3 { font-size: 1.2rem; font-weight: 800; margin: 0 0 .5rem; }
p { margin: 0 0 1rem; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .wrap { padding: 0 16px; } }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.icon { width: 1.25em; height: 1.25em; flex: none; }

/* ---------- Nagłówek ---------- */
.topbar { position: sticky; top: var(--header-offset); margin-top: var(--header-offset); z-index: 50; height: var(--header-h);
  background: rgba(255, 255, 255, .86); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid rgba(228, 234, 238, .8); transition: height .45s var(--ease), background .3s, box-shadow .3s, border-color .3s; }
.topbar .wrap { display: flex; align-items: center; gap: 20px; height: 100%; }
.brand { display: flex; align-items: center; text-decoration: none; background: #fff; border-radius: 16px; padding: 6px 10px; }
.brand img { height: var(--logo-h); width: auto; transition: height .45s var(--ease); }
.brand.brand--plain { background: none; padding: 0; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 2px; }
.nav a { position: relative; text-decoration: none; color: var(--ink); font-weight: 700; padding: 9px 14px; border-radius: 999px; font-size: .96rem; transition: background .2s, color .2s; }
.nav a:hover, .nav a.active { background: var(--blue-50); color: var(--blue-700); }
/* Ciemniejsza zieleń dla przycisku telefonu: biały tekst na #8fb31a nie spełniał kontrastu WCAG AA (4.5:1) */
.nav .nav-cta { background: #5a7309; color: #fff; margin-left: 8px; display: inline-flex; gap: 8px; align-items: center; }
.nav .nav-cta:hover { background: #46590a; color: #fff; }
.nav .cart-link { display: inline-flex; gap: 6px; align-items: center; }
.badge { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px;
  background: var(--blue); color: #fff; font-size: .72rem; font-weight: 900; line-height: 1; }
.nav-toggle { display: none; margin-left: auto; width: 46px; height: 46px; border-radius: 14px; border: 0; background: #fff; color: var(--ink); cursor: pointer; box-shadow: var(--shadow-sm); }
.nav-toggle .icon { width: 24px; height: 24px; }
.nav-toggle .i-close { display: none; }
.nav-open .nav-toggle .i-open { display: none; }
.nav-open .nav-toggle .i-close { display: block; margin: auto; }

/* Nagłówek nad zdjęciem hero (przezroczysty do pierwszego przewinięcia) */
.has-hero .topbar { position: fixed; left: 0; right: 0; top: var(--header-offset); margin-top: 0; background: transparent; border-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.has-hero .topbar .nav a:not(.nav-cta) { color: #fff; }
.has-hero .topbar .nav a:not(.nav-cta):hover { background: rgba(255, 255, 255, .16); }
.has-hero.scrolled .topbar, .has-hero.nav-open .topbar { background: rgba(255, 255, 255, .9); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px);
  border-color: rgba(228, 234, 238, .8); box-shadow: var(--shadow-sm); }
.has-hero.scrolled .topbar .nav a:not(.nav-cta) { color: var(--ink); }
.has-hero.scrolled .topbar .nav a:not(.nav-cta):hover, .has-hero.scrolled .topbar .nav a.active { background: var(--blue-50); color: var(--blue-700); }
/* Aktywna sekcja w menu: czytelna także na zdjęciu hero (wcześniej biały tekst na jasnym tle) */
.nav a.active:not(.nav-cta), .has-hero .topbar .nav a.active:not(.nav-cta), .has-hero.scrolled .topbar .nav a.active:not(.nav-cta) { background: var(--blue-50); color: var(--blue-700); }

@media (max-width: 980px) {
  .nav-toggle { display: grid; place-items: center; }
  /* backdrop-filter na pasku tworzy blok odniesienia dla position:fixed — menu mieściło się wtedy w wysokości paska */
  .topbar, .has-hero .topbar, .has-hero.scrolled .topbar, .has-hero.nav-open .topbar { backdrop-filter: none; -webkit-backdrop-filter: none; }
  .has-hero.nav-open .topbar { background: #fff; }
  :root { --logo-h: calc(60px * var(--logo-scale, 1)); }
  body.scrolled { --logo-h: 60px; }
  .nav { position: fixed; top: calc(var(--header-h) + var(--header-offset)); left: 0; right: 0; bottom: 0; flex-direction: column; align-items: stretch; gap: 4px;
    background: #fff; padding: 20px 16px 32px; overflow-y: auto; transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s; }
  .nav-open .nav { opacity: 1; visibility: visible; transform: none; }
  .nav a, .has-hero .topbar .nav a:not(.nav-cta) { color: var(--ink); font-size: 1.15rem; padding: 14px 16px; }
  .nav .nav-cta { margin: 12px 0 0; justify-content: center; }
  body.nav-open { overflow: hidden; }
}

/* ---------- Przyciski ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 26px; border-radius: 999px;
  border: 2px solid transparent; font: inherit; font-weight: 800; font-size: 1rem; line-height: 1.2; text-decoration: none; cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s, background .2s, color .2s, border-color .2s; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: none; }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 10px 24px -10px rgba(26, 169, 214, .8); }
.btn-primary:hover { background: var(--blue-700); color: #fff; }
/* Zieleń przycisków ciemniejsza, żeby biały tekst spełniał kontrast WCAG AA (4.5:1) */
.btn-green { background: #5a7309; color: #fff; box-shadow: 0 10px 24px -10px rgba(90, 115, 9, .85); }
.btn-green:hover { background: #46590a; color: #fff; }
.btn-white { background: #fff; color: var(--ink); box-shadow: var(--shadow); }
.btn-white:hover { color: var(--blue-700); }
.btn-glass { background: rgba(255, 255, 255, .14); color: #fff; border-color: rgba(255, 255, 255, .5); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.btn-glass:hover { background: rgba(255, 255, 255, .24); color: #fff; }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue-700); }
.btn-sm { padding: 10px 18px; font-size: .92rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; }
.link-btn { background: none; border: 0; padding: 0; color: var(--muted); cursor: pointer; font: inherit; text-decoration: underline; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; text-decoration: none; }
.link-arrow .icon { transition: transform .2s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: min(100vh, 1100px); min-height: min(100svh, 1100px); display: flex; align-items: center; color: #fff; overflow: hidden; isolation: isolate;
  padding: calc(var(--header-h) + 40px) 0 96px; background: var(--navy); }
.hero-bg { position: absolute; inset: 0; z-index: -2; background: var(--bg-image) center right / cover no-repeat; transform: scale(1.06);
  animation: hero-zoom 18s var(--ease) forwards; }
@keyframes hero-zoom { to { transform: scale(1); } }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, rgba(10, 32, 46, .9) 0%, rgba(10, 32, 46, .72) 38%, rgba(10, 32, 46, .15) 72%, rgba(10, 32, 46, 0) 100%),
              linear-gradient(0deg, rgba(10, 32, 46, .55) 0%, rgba(10, 32, 46, 0) 35%); }
.hero-content { max-width: 640px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .8rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase;
  color: var(--blue-700); background: var(--blue-50); padding: 7px 14px; border-radius: 999px; margin-bottom: 18px; }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.hero .eyebrow { color: #fff; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .28); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.hero h1 { color: #fff; font-size: clamp(2.5rem, 6.4vw, 4.8rem); line-height: 1.02; letter-spacing: -.025em; margin-bottom: 22px; }
.hero h1 .accent { color: var(--green); }
.hero-lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: rgba(255, 255, 255, .88); max-width: 34em; }
.hero-lead strong { color: #fff; }
.hero-lead p:last-child { margin-bottom: 0; }
.hero .cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px; padding: 0; list-style: none; }
.chips li { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; font-weight: 700; font-size: .95rem;
  background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .22); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.chips .icon { color: var(--green); width: 18px; height: 18px; }
.scroll-hint { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); color: #fff; opacity: .75; width: 44px; height: 44px;
  display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .4); animation: bob 2.2s ease-in-out infinite; }
.scroll-hint:hover { color: #fff; opacity: 1; }
@keyframes bob { 50% { transform: translate(-50%, 6px); } }
@media (max-width: 760px) {
  .hero { align-items: flex-end; padding-bottom: 88px; }
  .hero-bg { background-position: 72% center; }
  .hero::before { background: linear-gradient(0deg, rgba(10, 32, 46, .94) 0%, rgba(10, 32, 46, .8) 45%, rgba(10, 32, 46, .25) 100%); }
  .hero .cta .btn { flex: 1 1 auto; }
}

/* ---------- Sekcje ---------- */
.section { padding: clamp(64px, 9vw, 120px) 0; position: relative; }
.section.tint { background: var(--tint); }
.section-head { text-align: center; max-width: 760px; margin: 0 auto clamp(36px, 5vw, 56px); }
.section-head .lead { font-size: 1.15rem; color: var(--muted); margin: 0; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 22px; }
.card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; }
.cards > .card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card p:last-child { margin-bottom: 0; }
.card .card-text { color: var(--muted); }
.card .card-text::first-letter { text-transform: uppercase; }
.icon-badge { width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; margin-bottom: 20px;
  background: var(--blue-50); color: var(--blue); }
.icon-badge .icon { width: 28px; height: 28px; }
.cards > :nth-child(even) .icon-badge, .prices > :nth-child(even) .icon-badge { background: var(--green-50); color: var(--green-600); }
.card-long .card-text { font-size: .97rem; }

/* Układ: zdjęcie + treść */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.split.no-figure { grid-template-columns: minmax(0, 1fr); max-width: 820px; margin: 0 auto; }
.split.two-cols { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); max-width: none; }
* + .split, * + .callout { margin-top: 40px; }
@media (max-width: 860px) { .split, .split.two-cols { grid-template-columns: minmax(0, 1fr); } }
.figure { margin: 0; position: sticky; top: calc(var(--header-h) + 24px); isolation: isolate; }
.figure .frame { position: relative; border-radius: 28px; overflow: hidden; box-shadow: var(--shadow-lg); }
.figure img { width: 100%; }
.figure::before { content: ""; position: absolute; z-index: -1; width: 70%; aspect-ratio: 1; border-radius: 40% 60% 55% 45% / 50% 45% 55% 50%;
  background: linear-gradient(135deg, var(--green-100), var(--blue-100)); top: -24px; left: -24px; }
.figure figcaption { margin-top: 14px; text-align: center; color: var(--muted); font-weight: 700; }
.figure a { display: block; cursor: zoom-in; }
@media (max-width: 860px) { .figure { position: relative; top: 0; max-width: 420px; margin: 0 auto; width: 100%; } }

.prose > :first-child { margin-top: 0; }
.prose h2 { font-size: 1.35rem; margin: 2rem 0 .6rem; display: flex; align-items: center; gap: 12px; }
.prose h2::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: linear-gradient(135deg, var(--green), var(--blue)); flex: none; }
.prose ul { padding-left: 0; list-style: none; }
.prose ul li { position: relative; padding-left: 30px; margin: .5rem 0; }
.prose ul li::before { content: ""; position: absolute; left: 4px; top: .6em; width: 10px; height: 10px; border-radius: 50%;
  background: var(--green); box-shadow: 0 0 0 4px var(--green-100); }
.prose { overflow-wrap: anywhere; }

.callout { display: flex; gap: 22px; align-items: flex-start; background: linear-gradient(135deg, var(--green-50), var(--blue-50));
  border: 1px solid var(--blue-100); border-radius: var(--radius); padding: clamp(24px, 4vw, 40px); }
.callout .icon-badge { background: #fff; margin: 0; flex: none; }
.callout .prose h2 { margin-top: 0; }
.callout .prose h2::before { display: none; }
@media (max-width: 600px) { .callout { flex-direction: column; } }

/* Pasek ze zdjęciem między sekcjami */
.banner { height: clamp(220px, 34vw, 420px); background: var(--bg-image) center / cover no-repeat fixed; }
@media (max-width: 1024px), (hover: none) { .banner { background-attachment: scroll; } }

/* ---------- Cennik ---------- */
.prices { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 22px; }
.price-card { display: flex; flex-direction: column; }
.price-card .head { display: flex; gap: 16px; align-items: flex-start; }
.price-card .icon-badge { margin: 0; width: 50px; height: 50px; border-radius: 16px; flex: none; }
.price-card .icon-badge .icon { width: 24px; height: 24px; }
.price-card h3 { font-size: 1.08rem; margin: 2px 0 4px; }
.price-card .desc { color: var(--muted); font-size: .92rem; line-height: 1.5; margin: 0; }
.price-card .foot { margin-top: auto; padding-top: 22px; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.price-card .amount { margin-left: auto; font-size: 1.08rem; font-weight: 900; color: var(--ink); line-height: 1; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; background: var(--green-100); color: var(--green-600); font-weight: 800; font-size: .82rem; }
.price-card .btn { margin-top: 18px; }

/* ---------- Szkolenia ---------- */
.trainings { list-style: none; padding: 0; margin: 0; columns: 2 300px; column-gap: 36px; }
.trainings li { break-inside: avoid; display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--line); line-height: 1.5; }
.trainings li .icon { color: var(--green); width: 20px; height: 20px; margin-top: 2px; }
.trainings-box { position: relative; }
.trainings-box.collapsed .trainings { max-height: 560px; overflow: hidden; }
.trainings-box.collapsed .trainings-fade { position: absolute; left: 0; right: 0; bottom: 64px; height: 140px; pointer-events: none;
  background: linear-gradient(180deg, rgba(255,255,255,0), var(--bg-section, #fff)); }
.tint .trainings-box { --bg-section: var(--tint); }
.trainings-box .toggle-more { margin-top: 20px; }

/* ---------- Formularze ---------- */
.form-row { margin-bottom: 18px; }
.form-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 16px; }
@media (max-width: 600px) { .form-grid { grid-template-columns: minmax(0, 1fr); } }
label { display: block; font-weight: 800; font-size: .9rem; color: var(--ink); margin-bottom: 7px; }
input[type=text], input[type=email], input[type=tel], input[type=number], textarea, select {
  width: 100%; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); font: inherit; color: var(--ink);
  background: #fbfcfd; transition: border-color .2s, box-shadow .2s, background .2s; }
input:hover, textarea:hover { border-color: #cfd8de; }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px var(--blue-50); }
.check { display: flex; gap: 12px; align-items: flex-start; font-weight: 400; color: var(--ink-2); font-size: .97rem; }
.check input { margin-top: 4px; width: 20px; height: 20px; accent-color: var(--blue); flex: none; }
.hp { position: absolute; left: -9999px; }
.error { color: #c0392b; font-size: .86rem; margin-top: 6px; font-weight: 700; }
.alert { padding: 16px 20px; border-radius: var(--radius-sm); margin: 0 0 22px; font-weight: 700; display: flex; gap: 10px; align-items: center; }
.alert-ok { background: var(--green-50); color: var(--green-600); border: 1px solid #dbe9ae; }
.alert-err { background: #fdeeec; color: #a5281b; border: 1px solid #f5c9c2; }
.option { display: flex; gap: 14px; align-items: flex-start; border: 1.5px solid var(--line); border-radius: var(--radius-sm); padding: 16px 18px;
  margin-bottom: 10px; cursor: pointer; font-weight: 400; transition: border-color .2s, background .2s; }
.option:hover { border-color: #cfd8de; }
.option:has(input:checked) { border-color: var(--blue); background: var(--blue-50); }
.option input { margin-top: 5px; accent-color: var(--blue); width: 18px; height: 18px; }
.option .title { font-weight: 800; color: var(--ink); }
.option .price { margin-left: auto; font-weight: 900; white-space: nowrap; color: var(--ink); }

/* ---------- Kontakt ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 28px; align-items: stretch; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } }
.contact-tiles { display: grid; gap: 16px; }
.tile { display: flex; gap: 16px; align-items: center; padding: 20px 22px; text-decoration: none; color: inherit; }
.tile .icon-badge { margin: 0; width: 50px; height: 50px; border-radius: 16px; flex: none; }
.tile .label { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 800; }
.tile .value { font-weight: 900; color: var(--ink); font-size: 1.12rem; }
a.tile:hover { border-color: var(--blue); color: inherit; }
.tile-call { background: linear-gradient(135deg, var(--blue), #1593bd); border: 0; color: #fff; }
.tile-call .icon-badge { background: rgba(255,255,255,.18); color: #fff; }
.tile-call .label { color: rgba(255,255,255,.85); }
.tile-call .value { color: #fff; font-size: 1.4rem; }
a.tile-call:hover { color: #fff; box-shadow: var(--shadow); }
.company h3 { display: flex; gap: 10px; align-items: center; }
.company h3 .icon { color: var(--green); }
.company dl { margin: 0; display: grid; gap: 12px; }
.company dt { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 800; }
.company dd { margin: 2px 0 0; color: var(--ink); font-weight: 700; overflow-wrap: anywhere; }
.form-card { padding: clamp(24px, 4vw, 40px); }
.form-card h3 { font-size: 1.4rem; }

/* ---------- Sklep ---------- */
.page-head { position: relative; overflow: hidden; padding: clamp(48px, 7vw, 88px) 0 clamp(36px, 5vw, 56px);
  background: radial-gradient(circle at 85% 20%, var(--blue-100) 0, transparent 40%), radial-gradient(circle at 10% 90%, var(--green-100) 0, transparent 45%), var(--tint); }
.page-head h1 { margin: 0; }
.page-head p { margin: 10px 0 0; color: var(--muted); font-size: 1.1rem; max-width: 40em; }
.crumbs { font-size: .9rem; color: var(--muted); margin-bottom: 12px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--blue-700); }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 32px 0; }
.tabs a { text-decoration: none; padding: 10px 20px; border-radius: 999px; background: #fff; border: 1.5px solid var(--line); color: var(--ink); font-weight: 800; transition: .2s; }
.tabs a:hover { border-color: var(--blue); color: var(--blue-700); }
.tabs a.active { background: var(--ink); border-color: var(--ink); color: #fff; }
.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 24px; margin-bottom: 72px; }
.section .products { margin-bottom: 0; }
.product-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; text-decoration: none; color: inherit; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); color: inherit; }
.product-card .thumb { aspect-ratio: 4/3; background: linear-gradient(135deg, var(--green-50), var(--blue-50)); display: grid; place-items: center; overflow: hidden; }
.product-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.product-card:hover .thumb img { transform: scale(1.05); }
.product-card .thumb .icon { width: 56px; height: 56px; color: var(--blue); opacity: .5; }
.product-card .body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.cat-label { font-size: .74rem; text-transform: uppercase; letter-spacing: .1em; color: var(--blue-700); font-weight: 900; }
.product-card h3 { margin: 6px 0 6px; font-size: 1.12rem; }
.product-card p { margin: 0 0 16px; color: var(--muted); font-size: .94rem; line-height: 1.55; }
.product-card .foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; }
.price-tag { font-weight: 900; font-size: 1.3rem; color: var(--ink); }
.price-tag s { color: var(--muted); font-weight: 600; font-size: .9rem; margin-left: 8px; }
.go { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--blue-50); color: var(--blue-700); transition: .25s var(--ease); }
.product-card:hover .go { background: var(--blue); color: #fff; }
.empty { text-align: center; padding: 64px 20px; color: var(--muted); }
.section-foot { text-align: center; margin-top: 40px; }

.product { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(28px, 5vw, 64px); padding: 28px 0 72px; }
@media (max-width: 860px) { .product { grid-template-columns: minmax(0, 1fr); } }
.gallery .main { border-radius: var(--radius); overflow: hidden; background: linear-gradient(135deg, var(--green-50), var(--blue-50)); aspect-ratio: 1; display: grid; place-items: center; }
.gallery .main img { width: 100%; height: 100%; object-fit: contain; }
.gallery .main .icon { width: 96px; height: 96px; color: var(--blue); opacity: .4; }
.gallery .thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.gallery .thumbs button { padding: 0; border: 2px solid var(--line); border-radius: 12px; overflow: hidden; width: 78px; height: 78px; cursor: pointer; background: #fff; }
.gallery .thumbs button.active { border-color: var(--blue); }
.gallery .thumbs img { width: 100%; height: 100%; object-fit: cover; }
.product-info h1 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); margin: 8px 0 14px; }
.product-info .price-tag { font-size: 2rem; }
.buy { display: flex; gap: 12px; align-items: stretch; margin: 26px 0 10px; flex-wrap: wrap; }
.buy input { width: 92px; text-align: center; }
.stock { font-size: .9rem; font-weight: 700; }
.stock.ok { color: #4f6507; }
.stock.out { color: #c0392b; }
.perks { display: grid; gap: 10px; margin: 24px 0; padding: 18px 20px; background: var(--tint); border-radius: var(--radius-sm); list-style: none; }
.perks li { display: flex; gap: 10px; align-items: center; font-weight: 700; font-size: .95rem; }
.perks .icon { color: var(--green); width: 20px; height: 20px; }

/* Koszyk / zamówienie */
.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th { text-align: left; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); padding: 12px 10px; border-bottom: 2px solid var(--line); }
.cart-table td { padding: 16px 10px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.cart-table .qty { width: 84px; padding: 10px; text-align: center; }
.cart-table img { width: 64px; height: 64px; object-fit: cover; border-radius: 12px; }
.cart-table .num { text-align: right; white-space: nowrap; }
.cart-table a { color: var(--ink); text-decoration: none; }
@media (max-width: 640px) {
  .cart-table thead { display: none; }
  .cart-table tr { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 6px 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .cart-table td { border: 0; padding: 0; }
  .cart-table td.img { grid-row: span 3; }
  .cart-table td.num { text-align: left; }
}
.cart-foot { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; margin-top: 28px; }
.summary { display: grid; gap: 8px; }
.summary .row { display: flex; justify-content: space-between; gap: 12px; }
.summary .total { font-size: 1.3rem; font-weight: 900; color: var(--ink); border-top: 2px solid var(--line); padding-top: 12px; margin-top: 6px; }
.checkout { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .9fr); gap: 40px; padding: 40px 0 80px; align-items: start; }
.checkout aside { position: sticky; top: calc(var(--header-h) + 20px); }
@media (max-width: 900px) { .checkout { grid-template-columns: minmax(0, 1fr); } .checkout aside { position: static; } }
fieldset { border: 0; padding: 0; margin: 0 0 32px; min-width: 0; }
legend { font-weight: 900; font-size: 1.25rem; color: var(--ink); margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
legend .num-badge { width: 30px; height: 30px; border-radius: 50%; background: var(--blue); color: #fff; display: inline-grid; place-items: center; font-size: .9rem; }
.order-ok { text-align: center; padding: 8px 0 24px; }
.order-ok .icon-badge { margin: 0 auto 16px; width: 72px; height: 72px; border-radius: 50%; background: var(--green-100); color: var(--green-600); }
.order-ok .icon-badge .icon { width: 36px; height: 36px; }
.stack > * + * { margin-top: 20px; }
.kv { list-style: none; padding: 0; margin: 0; }
.kv li { padding: 12px 0; border-bottom: 1px solid var(--line); }
.kv li:last-child { border-bottom: 0; }
.kv strong { display: block; font-size: .76rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }

/* ---------- Stopka ---------- */
.footer { background: var(--navy); color: #fff; padding: 72px 0 32px; font-size: .96rem; }
.footer a { color: #fff; text-decoration: none; }
.footer a:hover { color: var(--green); }
.footer .cols { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; }
.footer h4 { color: #fff; margin: 0 0 14px; font-size: 1.05rem; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin: 8px 0; display: flex; gap: 10px; align-items: center; }
.footer li .icon { color: var(--green); width: 18px; height: 18px; }
.footer .brand-f { display: inline-block; background: #fff; border-radius: 16px; padding: 8px 12px; margin-bottom: 16px; }
.footer .brand-f img { height: calc(52px * var(--logo-scale, 1)); width: auto; }
.footer .brand-f.brand-f--plain { background: none; padding: 0; }
.footer .copy { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 48px; padding-top: 22px; font-size: .85rem; color: #7f909c;
  display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
@media (max-width: 760px) { .footer .cols { grid-template-columns: minmax(0, 1fr); gap: 28px; } }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; background: rgba(10, 20, 28, .9); display: none; place-items: center; z-index: 100; padding: 20px; cursor: zoom-out; }
.lightbox.open { display: grid; }
.lightbox img { max-height: 92vh; width: auto; border-radius: 10px; }

/* ---------- Animacje przy przewijaniu ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .hero-bg, .scroll-hint { animation: none; }
  .btn:hover, .card:hover, .product-card:hover { transform: none; }
}
.card h3 { display: flex; gap: 10px; align-items: center; }
.card h3 > .icon { color: var(--blue); }

/* Wyróżniona informacja: płatność dopiero po uzgodnieniu terminu */
.notice-strong { display: flex; gap: 14px; align-items: flex-start; margin: 22px 0; padding: 18px 20px; border-radius: var(--radius-sm);
  background: #fff7e6; border: 1.5px solid #f3c969; color: #6b4a00; }
.notice-strong > .icon { width: 28px; height: 28px; color: #d08a00; flex: none; margin-top: 2px; }
.notice-strong strong { display: block; font-size: 1.05rem; color: #533900; margin-bottom: 2px; }
.notice-strong a { color: #533900; font-weight: 800; }
.product-card .card-flag { display: flex; gap: 6px; align-items: center; color: #9a6500; font-weight: 800; font-size: .85rem; margin: -6px 0 14px; }
.product-card .card-flag .icon { width: 16px; height: 16px; }
.page-head .eyebrow { margin-bottom: 12px; }

@media (max-width: 600px) { .eyebrow { letter-spacing: .08em; font-size: .72rem; } }
mark { background: #fff2b3; padding: 0 4px; border-radius: 4px; }
.prose ol { padding-left: 1.3em; } .prose ol li { margin: .4rem 0; }

/* Wybór punktu odbioru */
.point-actions { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: flex-end; }
.point-actions .point-manual { flex: 1 1 200px; margin: 0; }
.point-chosen { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; margin-bottom: 14px; border-radius: var(--radius-sm);
  background: var(--green-50); border: 1.5px solid #dbe9ae; }
.point-chosen > .icon { color: var(--green-600); width: 24px; height: 24px; margin-top: 2px; }
.point-chosen strong { display: block; color: var(--ink); }
.point-chosen span { color: var(--muted); font-size: .92rem; }
.point-map { margin-top: 16px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; background: #fff; }
.point-search { display: flex; gap: 8px; padding: 12px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.point-search input { flex: 1 1 200px; padding: 10px 14px; }
.point-body { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); height: 420px; }
#point-map { height: 100%; z-index: 0; }
.point-list { list-style: none; margin: 0; padding: 0; overflow-y: auto; border-left: 1px solid var(--line); }
.point-list li { padding: 12px 14px; border-bottom: 1px solid var(--line); display: grid; gap: 2px; font-size: .9rem; }
.point-list li span, .point-list li small { color: var(--muted); }
.point-list li .btn { justify-self: start; margin-top: 6px; padding: 7px 14px; font-size: .85rem; }
@media (max-width: 700px) { .point-body { grid-template-columns: minmax(0, 1fr); grid-template-rows: 280px auto; height: auto; }
  .point-list { border-left: 0; border-top: 1px solid var(--line); max-height: 320px; } }
.leaflet-popup-content .btn { margin-top: 8px; padding: 7px 14px; font-size: .85rem; color: #fff; }

/* Atrybut hidden zawsze ukrywa element (nawet przyciski z display:inline-flex) */
[hidden] { display: none !important; }
.no-contact-form a[href="#kontakt"] { display: none !important; }

/* Sklep na stronie głównej — warianty */
.teaser-images { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 240px)); justify-content: center; gap: 16px; }
.teaser-images img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius-sm); box-shadow: var(--shadow-sm); transition: transform .3s var(--ease); }
.teaser-images a:hover img { transform: scale(1.03); }
.teaser-list { list-style: none; padding: 0; margin: 0 auto; max-width: 640px; }
.teaser-list li { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.teaser-list a { font-weight: 800; color: var(--ink); text-decoration: none; }
.teaser-list a:hover { color: var(--blue-700); }
.teaser-feature { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; text-decoration: none; color: inherit; }
.teaser-feature .thumb img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
@media (max-width: 700px) { .teaser-feature { grid-template-columns: 1fr; } }

/* Warianty „zdjęcie i tytuł” */
.teaser-images--titled .teaser-tile { display: block; text-decoration: none; color: var(--ink); }
.teaser-images--titled .teaser-tile span { display: block; margin-top: 10px; font-weight: 800; text-align: center; }

/* Szkolenia na telefonie: najpierw lista, plakat pod nią */
@media (max-width: 860px) { .split.split-trainings { display: flex; flex-direction: column; } .split.split-trainings > .figure { order: 2; } }
/* Mało elementów (mniej niż 3) — wyśrodkowane */
.products.is-few, .teaser-images.is-few { justify-content: center; }
.products.is-few { display: flex; flex-wrap: wrap; }
.products.is-few > * { flex: 0 1 280px; }
.teaser-images.is-few { display: flex; flex-wrap: wrap; }
.teaser-images.is-few > * { flex: 0 1 240px; }
/* Cena na zdjęciu (opcja w panelu) */
.teaser-price { display: block; margin-top: 8px; font-weight: 800; color: var(--blue-700); text-align: center; }
.teaser-price s { color: var(--muted); font-weight: 600; margin-left: 6px; }

/* Strona produktu: zakładki pod zdjęciem (pełna szerokość) */
.product-tabs { margin: 48px 0 24px; }
.tablist { display: flex; flex-wrap: wrap; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 28px; }
.tab-btn { appearance: none; background: none; border: 0; border-bottom: 3px solid transparent; padding: 12px 18px; font: inherit; font-weight: 800; color: var(--muted); cursor: pointer; margin-bottom: -1px; }
.tab-btn:hover { color: var(--ink); }
.tab-btn.is-active { color: var(--blue-700); border-bottom-color: var(--green); }
.tab-btn:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 6px; }
.tab-panel[hidden] { display: none; }
.tab-panel.prose { max-width: none; }

/* Informacje o produkcie i bezpieczeństwie — układ tabelaryczny bez ramek */
.gpsr dl { display: grid; grid-template-columns: minmax(170px, 1fr) minmax(0, 2fr); gap: 0; margin: 0; max-width: 820px; }
.gpsr dl > div { display: contents; }
.gpsr dt, .gpsr dd { margin: 0; padding: 12px 0; }
.gpsr dt { color: var(--muted); font-weight: 700; font-size: .92rem; padding-right: 20px; }
.gpsr dd { color: var(--ink); }
@media (max-width: 600px) {
  .gpsr dl { grid-template-columns: minmax(0, 1fr); }
  .gpsr dt, .gpsr dd { padding: 0; }
  .gpsr dt { margin-top: 14px; }
  .gpsr dt:first-child { margin-top: 0; }
}

/* Pływający przycisk „Zadzwoń” (tylko telefon) i ikona Facebooka w menu */
.call-fab { position: fixed; right: 16px; bottom: 16px; z-index: 900; display: none; align-items: center; justify-content: center;
  width: 60px; height: 60px; border-radius: 50%; padding: 0; background: #5a7309; color: #fff; text-decoration: none;
  box-shadow: 0 12px 28px -8px rgba(0, 0, 0, .45); }
.call-fab svg { width: 26px; height: 26px; }
.call-fab:hover { color: #fff; background: #46590a; }
@media (max-width: 860px) { .call-fab { display: flex; opacity: 0; visibility: hidden; transition: opacity .35s ease, visibility .35s; } }
.call-fab.is-visible { opacity: 1; visibility: visible; }
.social-link { display: inline-flex; align-items: center; justify-content: center; color: inherit; }
.social-link svg { width: 22px; height: 22px; }
.nav-cta--alt { background: transparent; border: 1px solid currentColor; }
.btn.btn-icon { padding: 0; width: 54px; height: 54px; }
.btn.btn-icon svg { width: 26px; height: 26px; }
.btn.btn-icon .fb-brand { width: 26px; height: 26px; }

/* Przycisk „Wróć na górę” — lewy dolny róg, nie koliduje z przyciskiem „Zadzwoń” (prawy dolny) */
.footer { position: relative; }
.to-top { position: absolute; left: 50%; top: -24px; transform: translateX(-50%); z-index: 899; display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: opacity .35s ease, visibility .35s;
  width: 52px; height: 52px; border-radius: 50%; padding: 0; background: #fff; color: var(--ink, #1f2937); cursor: pointer;
  border: 3px solid var(--navy, #0a202e); box-shadow: 0 8px 20px -8px rgba(0, 0, 0, .35); }
.to-top.is-visible { opacity: 1; visibility: visible; }
.to-top-float { position: fixed; left: 16px; bottom: 16px; z-index: 899; display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: opacity .35s ease, visibility .35s;
  width: 60px; height: 60px; border-radius: 50%; padding: 0; background: rgba(255, 255, 255, .7); color: var(--ink, #1f2937); cursor: pointer;
  border: 1px solid rgba(0, 0, 0, .08); box-shadow: 0 8px 20px -8px rgba(0, 0, 0, .35); }
.to-top-float.is-visible { opacity: 1; visibility: visible; }
.to-top-float:hover, .to-top-float:focus-visible { background: rgba(255, 255, 255, .95); }
.to-top svg { width: 22px; height: 22px; }
.to-top-float svg { width: 26px; height: 26px; }
/* Stopka: większy dolny margines, żeby przyciski pływające nie zasłaniały linków i danych */
.footer { padding-bottom: 96px; }
@media (max-width: 860px) { .footer { padding-bottom: 120px; } }
