/* FSD – style wspólne. Kolory: granat #073963, magenta #be316c, tło #f3f7fb, tekst pomocniczy #4a6480 */

:root {
  --fsd-navy: #073963;
  --fsd-magenta: #be316c;
  --fsd-light: #f3f7fb;
  --fsd-muted: #4a6480;
  --fsd-text: #2c4a68;
  --fsd-wrap: 1240px;
}

* { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; }
body {
  margin: 0;
  background: #fff;
  color: var(--fsd-navy);
  font-family: 'Poppins', Helvetica, Arial, sans-serif;
  font-weight: 300;
  line-height: 1.7;
}
img { max-width: 100%; height: auto; }
a { color: var(--fsd-navy); text-decoration: none; transition: color 180ms; }
a:hover { color: var(--fsd-magenta); }
h1, h2, h3, h4 { font-weight: 600; letter-spacing: -0.015em; line-height: 1.2; text-wrap: pretty; }
::selection { background: var(--fsd-magenta); color: #fff; }

.fsd-wrap { max-width: var(--fsd-wrap); margin: 0 auto; padding: 0 32px; }
.fsd-skip { position: absolute; left: -9999px; }
.fsd-skip:focus { left: 16px; top: 16px; z-index: 400; background: #fff; padding: 12px 18px; border-radius: 12px; }

/* GeneratePress narzuca <button> własne tło (#55555e / #3f3f3f), padding i line-height.
   Zerujemy je przy wadze 0,0,1 (:where()), żeby każda reguła komponentu – bez względu na
   kolejność – wygrywała. Bez identyfikatorów w selektorze. */
:where(.fsd-header, .fsd-tools, .fsd-search, .fsd-lb) button {
  padding: 0; line-height: 0; font-size: 0; min-width: 0; min-height: 0;
  border: 0; border-radius: 0; background: none; color: inherit; box-shadow: none;
  font-family: inherit; letter-spacing: normal; text-transform: none;
  -webkit-appearance: none; appearance: none; cursor: pointer;
}
/* Treść: te same zerowania, ale bez przycisków wtyczek formularzy i WooCommerce */
:where(.fsd-page, .entry-content) button:where(:not(.button, [type="submit"], [class*="wpforms"], [class*="wpcf7"])) {
  padding: 0; line-height: 0; font-size: 0; min-width: 0; min-height: 0;
  border: 0; border-radius: 0; background: none; color: inherit; box-shadow: none;
  font-family: inherit; letter-spacing: normal; text-transform: none;
  -webkit-appearance: none; appearance: none; cursor: pointer;
}
/* niska waga: kasuje szare tło GP, ale nie wygrywa z regułami komponentów (.fsd-a11y-toggle:hover itd.) */
button:hover { background: none; }
:where(.fsd-header, .fsd-tools, .fsd-search, .fsd-lb, .fsd-page, .entry-content) button svg { display: block; }

/* GeneratePress zdejmuje obrys fokusu – przywracamy widoczny */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid var(--fsd-magenta); outline-offset: 3px;
}

/* Pasek postępu */
#fsd-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 100%;
  transform: scaleX(0); transform-origin: 0 50%;
  background: linear-gradient(90deg, #be316c, #e0679b);
  z-index: 300; will-change: transform;
}

/* Nagłówek */
.fsd-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(7,57,99,0.08);
}
.fsd-header-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; padding-top: 16px; padding-bottom: 16px; }
.fsd-logo img { height: clamp(52px, 5.4vw, 64px); width: auto; display: block; }
.fsd-nav { margin-left: auto; }
.fsd-menu { display: flex; flex-wrap: wrap; align-items: center; gap: 8px clamp(22px, 2.4vw, 36px); margin: 0; padding: 0; list-style: none; font-size: 15px; font-weight: 500; }
.fsd-menu > li { position: relative; padding: 10px 0; }
.fsd-menu > li > a { color: var(--fsd-navy); }
.fsd-menu > li.menu-item-has-children > a::after {
  content: ""; display: inline-block; width: 7px; height: 7px; margin-left: 7px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}
.fsd-menu .sub-menu {
  position: absolute; top: 100%; left: -18px; min-width: 244px;
  display: flex; flex-direction: column; gap: 2px;
  margin: 10px 0 0; padding: 12px; list-style: none;
  border-radius: 18px; background: #fff; box-shadow: 0 20px 44px rgba(7,57,99,0.18);
  font-size: 14px; font-weight: 400;
  opacity: 0; transform: translateY(-8px) scale(0.97); transform-origin: top left;
  pointer-events: none; z-index: 60;
  transition: opacity 200ms, transform 240ms cubic-bezier(.34,1.4,.64,1);
}
.fsd-menu > li:hover .sub-menu, .fsd-menu > li:focus-within .sub-menu { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.fsd-menu .sub-menu a { display: block; padding: 9px 12px; border-radius: 10px; }
.fsd-menu .sub-menu a:hover { background: var(--fsd-light); color: var(--fsd-magenta); }

.fsd-header-actions { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.fsd-icon-btn {
  display: grid; place-items: center; width: 42px; height: 42px;
  border: 1px solid rgba(7,57,99,0.14); border-radius: 50%; background: #fff; color: var(--fsd-navy);
  cursor: pointer; transition: transform 240ms cubic-bezier(.34,1.56,.64,1), background 200ms, color 200ms, box-shadow 200ms;
}
.fsd-icon-btn:hover { transform: scale(1.08) rotate(-8deg); background: var(--fsd-magenta); color: #fff; box-shadow: 0 10px 24px rgba(190,49,108,0.34); }
.fsd-cart { position: relative; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--fsd-light); color: var(--fsd-navy); transition: transform 200ms, background 200ms, color 200ms; }
.fsd-cart:hover { transform: translateY(-2px); background: var(--fsd-navy); color: #fff; }
.fsd-cart-count { position: absolute; top: -2px; right: -2px; min-width: 18px; height: 18px; padding: 0 5px; display: grid; place-items: center; border-radius: 9px; background: var(--fsd-magenta); color: #fff; font-size: 10.5px; font-weight: 600; }

.fsd-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 32px; border: none; border-radius: 30px;
  background: var(--fsd-magenta); color: #fff; font-family: inherit; font-size: 15px; font-weight: 600;
  cursor: pointer; box-shadow: 0 8px 22px rgba(190,49,108,0.28);
  transition: transform 180ms, box-shadow 180ms;
}
.fsd-btn:hover { background: var(--fsd-magenta); transform: translateY(-3px); box-shadow: 0 14px 30px rgba(190,49,108,0.36); color: #fff; }
.fsd-btn-navy:hover { background: var(--fsd-navy); }
.fsd-btn-header { padding: 12px 24px; font-size: 14px; white-space: nowrap; }
.fsd-btn-navy { background: var(--fsd-navy); box-shadow: 0 8px 22px rgba(7,57,99,0.2); }
.fsd-btn-ghost { background: transparent; color: var(--fsd-navy); border: 1.5px solid rgba(7,57,99,0.18); box-shadow: none; }
.fsd-btn-ghost:hover { background: var(--fsd-light); border-color: var(--fsd-magenta); color: var(--fsd-magenta); }

.fsd-burger { display: none; width: 42px; height: 42px; border: 1px solid rgba(7,57,99,0.14); border-radius: 12px; background: #fff; cursor: pointer; padding: 11px 10px; }
.fsd-burger span { display: block; height: 2px; background: var(--fsd-navy); border-radius: 2px; }
.fsd-burger span + span { margin-top: 4px; }
.fsd-burger:hover { background: #fff; border-color: var(--fsd-magenta); }

/* Wyszukiwarka */
.fsd-search { position: fixed; inset: 0; z-index: 200; display: flex; align-items: flex-start; justify-content: center; padding: 12vh 24px 24px; }
.fsd-search[hidden] { display: none; }
.fsd-search-scrim { position: absolute; inset: 0; background: rgba(7,57,99,0.55); backdrop-filter: blur(10px); }
.fsd-search-card { position: relative; width: 100%; max-width: 720px; }
.fsd-search-bar { display: flex; align-items: center; gap: 16px; padding: 8px 8px 8px 26px; background: #fff; border-radius: 26px; box-shadow: 0 30px 70px rgba(7,57,99,0.3); }
.fsd-search-input { flex: 1; border: 0; outline: none; padding: 18px 0; font-family: inherit; font-size: 19px; font-weight: 300; color: var(--fsd-navy); background: transparent; }
.fsd-esc { padding: 14px 24px; border: 0; border-radius: 22px; background: var(--fsd-light); color: var(--fsd-navy); font-family: inherit; font-size: 13.5px; font-weight: 600; cursor: pointer; transition: background 180ms, color 180ms; }
.fsd-esc:hover { background: var(--fsd-navy); color: #fff; }
.fsd-search-results { margin-top: 18px; background: #fff; border-radius: 22px; padding: 14px; box-shadow: 0 24px 60px rgba(7,57,99,0.22); }
.fsd-search-label { margin: 8px 12px 12px; font-size: 11px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--fsd-magenta); }
.fsd-search-list { display: grid; gap: 4px; }
.fsd-result { display: flex; align-items: center; gap: 16px; padding: 14px 12px; border-radius: 14px; transition: background 160ms, transform 160ms; }
.fsd-result:hover { background: var(--fsd-light); transform: translateX(4px); }
.fsd-result-tag { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: rgba(190,49,108,0.1); color: var(--fsd-magenta); font-size: 12px; font-weight: 600; }
.fsd-result-title { font-size: 15.5px; font-weight: 500; color: var(--fsd-navy); }
.fsd-result-desc { font-size: 13px; font-weight: 300; color: var(--fsd-muted); }

/* Sekcje treści */
.fsd-hero { position: relative; background: linear-gradient(160deg, #f3f7fb 0%, #ffffff 68%); overflow: hidden; padding: 64px 0 54px; }
.fsd-hero h1 { font-size: clamp(30px, 3.6vw, 44px); margin: 0; max-width: 28ch; }
.fsd-lead { font-size: 17px; font-weight: 300; line-height: 1.75; color: #3c5773; max-width: 62ch; margin: 20px 0 0; }
.fsd-section { padding: 92px 0 0; }
.fsd-grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.fsd-grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.fsd-card { background: #fff; border-radius: 20px; padding: 32px 30px 34px; box-shadow: 0 6px 24px rgba(7,57,99,0.08); transition: transform 200ms, box-shadow 200ms; }
.fsd-card:hover { transform: translateY(-6px); box-shadow: 0 18px 44px rgba(7,57,99,0.14); }
.fsd-panel { border-radius: 26px; padding: 48px 44px; background: var(--fsd-light); }
.fsd-cta-navy { border-radius: 26px; padding: 48px 44px; background: var(--fsd-navy); color: #fff; display: flex; flex-wrap: wrap; gap: 28px; align-items: center; justify-content: space-between; }
.fsd-cta-navy h2 { margin: 0 0 10px; }
.fsd-cta-navy p { margin: 0; color: #d3e2ef; }

/* Animacja wejścia */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 620ms cubic-bezier(.22,.7,.3,1), transform 620ms cubic-bezier(.22,.7,.3,1); }
[data-reveal].fsd-in { opacity: 1; transform: none; }
.fsd-noanim [data-reveal] { opacity: 1; transform: none; }

/* Slideshow opinii */
[data-fsd-track] { display: flex; transition: transform 620ms cubic-bezier(.22,.8,.24,1); }
.fsd-dot { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 6px; background: rgba(7,57,99,0.2); cursor: pointer; transition: width 260ms cubic-bezier(.34,1.4,.64,1), background 220ms; }
.fsd-dot.is-on { width: 28px; background: var(--fsd-magenta); }
.fsd-dot:hover { background: rgba(7,57,99,0.34); }
.fsd-dot.is-on:hover { background: var(--fsd-magenta); }
[data-fsd-block] .fsd-dot { width: 10px; height: 10px; border-radius: 6px; background: rgba(7,57,99,0.2); }
[data-fsd-block] .fsd-dot.is-on, [data-fsd-block] .fsd-dot.is-on:hover { width: 28px; background: var(--fsd-magenta); }
[data-fsd-block] .fsd-dot:not(.is-on):hover { background: rgba(7,57,99,0.34); }

/* Lightbox referencji */
.fsd-lb { position: fixed; inset: 0; z-index: 220; display: flex; align-items: center; justify-content: center; padding: 6vh 24px; }
.fsd-lb[hidden] { display: none; }
.fsd-lb-scrim { position: absolute; inset: 0; background: rgba(7,57,99,0.62); backdrop-filter: blur(8px); }
.fsd-lb-card { position: relative; width: 100%; max-width: 620px; }
.fsd-lb-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 16px; color: #fff; font-weight: 600; font-size: 15.5px; }
.fsd-lb-btn { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid rgba(255,255,255,0.4); border-radius: 50%; background: transparent; color: #fff; cursor: pointer; transition: background 180ms; }
.fsd-lb-btn:hover { background: rgba(255,255,255,0.16); color: #fff; }
.fsd-lb-doc { aspect-ratio: 210 / 297; max-height: 74vh; margin: 0 auto; border-radius: 12px; box-shadow: 0 30px 70px rgba(0,0,0,0.35); overflow: hidden; background: repeating-linear-gradient(135deg, #e4ecf4 0 9px, #eff4f9 9px 18px); display: grid; place-items: center; }
.fsd-lb-doc img { width: 100%; height: 100%; object-fit: contain; }
.fsd-lb-nav { display: flex; justify-content: center; gap: 14px; margin-top: 18px; }
.fsd-lb-tools { display: flex; gap: 10px; }
.fsd-lb-btn .fsd-lb-i-min, .fsd-lb.is-full .fsd-lb-btn .fsd-lb-i-full { display: none; }
.fsd-lb.is-full .fsd-lb-btn .fsd-lb-i-min { display: block; }
.fsd-lb.is-full { padding: 16px; }
.fsd-lb.is-full .fsd-lb-card { max-width: none; height: 100%; display: flex; flex-direction: column; }
.fsd-lb.is-full .fsd-lb-head { margin-bottom: 12px; }
.fsd-lb.is-full .fsd-lb-doc { flex: 1; min-height: 0; max-height: none; aspect-ratio: auto; width: 100%; background: transparent; box-shadow: none; border-radius: 0; }
.fsd-lb.is-full .fsd-lb-nav { margin-top: 12px; }
/* dokument poziomy (np. certyfikat) – szersza ramka w proporcjach skanu */
.fsd-lb.is-poziomo .fsd-lb-card { max-width: min(1000px, calc((74vh) * 1.42)); }
.fsd-lb-doc img { background: #fff; }
.fsd-lb.is-full .fsd-lb-doc { aspect-ratio: auto !important; }
.fsd-lb.is-full .fsd-lb-doc img { background: transparent; }

/* Panel dostępności i „do góry” */
.fsd-tools { position: fixed; right: 26px; bottom: 28px; z-index: 240; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.fsd-a11y-panel { width: 264px; padding: 24px 24px 26px; border-radius: 20px; background: #fff; box-shadow: 0 22px 54px rgba(7,57,99,0.2); }
.fsd-a11y-panel[hidden] { display: none; }
.fsd-contact-panel { width: 300px; padding: 22px 18px 18px; border-radius: 20px; background: #fff; box-shadow: 0 22px 54px rgba(7,57,99,0.2); }
.fsd-contact-panel[hidden] { display: none; }
.fsd-contact-panel .fsd-a11y-title { margin: 0 6px 12px; }
.fsd-cq-lead { margin: -4px 6px 14px; font-size: 13px; font-weight: 300; line-height: 1.55; color: #4a6480; }
.fsd-cq { display: grid; gap: 10px; padding: 0 6px; }
.fsd-cq[hidden] { display: none; }
.fsd-cq-f { display: grid; gap: 5px; font-size: 12.5px; font-weight: 500; color: #073963; }
.fsd-cq-f em { font-style: normal; font-weight: 300; color: #4a6480; }
.fsd-cq-f input, .fsd-cq-f textarea { width: 100%; box-sizing: border-box; padding: 10px 13px; border: 1px solid rgba(7,57,99,0.18); border-radius: 12px; background: #fff; font-family: inherit; font-size: 14px; font-weight: 300; color: #073963; }
.fsd-cq-f textarea { resize: vertical; min-height: 70px; }
.fsd-cq-f input:focus, .fsd-cq-f textarea:focus { outline: none; border-color: var(--fsd-magenta); box-shadow: 0 0 0 3px rgba(190,49,108,0.14); }
.fsd-cq-zgoda { display: flex; gap: 8px; align-items: flex-start; font-size: 11.5px; font-weight: 300; line-height: 1.5; color: #4a6480; }
.fsd-cq-zgoda input { margin-top: 2px; accent-color: var(--fsd-magenta); }
.fsd-cq-zgoda a { color: var(--fsd-magenta); text-decoration: underline; }
.fsd-cq-msg { margin: 0; font-size: 12.5px; font-weight: 500; color: #a3245a; }
.fsd-cq-msg:empty { display: none; }
.fsd-tools .fsd-cq-btn { width: 100%; padding: 13px 18px; border-radius: 26px; background: var(--fsd-magenta); color: #fff; font-family: inherit; font-size: 14.5px; line-height: 1.2; font-weight: 600; cursor: pointer; box-shadow: 0 8px 20px rgba(190,49,108,0.26); transition: transform 180ms; }
.fsd-tools .fsd-cq-btn:hover { background: var(--fsd-magenta); color: #fff; transform: translateY(-2px); }
.fsd-tools .fsd-cq-btn:disabled { opacity: 0.6; cursor: default; transform: none; }
.fsd-cq-ok { display: flex; gap: 14px; align-items: center; margin: 4px 6px 6px; padding: 16px; border-radius: 16px; background: var(--fsd-light); font-size: 13.5px; font-weight: 300; line-height: 1.5; color: #2c4a68; }
.fsd-cq-ok[hidden] { display: none; }
.fsd-cq-ok p { margin: 0; }
.fsd-cq-ok strong { color: #073963; font-weight: 600; }
.fsd-cq-alt { display: flex; gap: 8px; margin: 14px 6px 0; padding-top: 14px; border-top: 1px solid rgba(7,57,99,0.1); }
.fsd-cq-alt a { flex: 1; display: flex; align-items: center; justify-content: center; gap: 7px; padding: 9px 10px; border-radius: 12px; background: var(--fsd-light); font-size: 13px; font-weight: 500; color: #073963; }
.fsd-cq-alt a:hover { background: #e6eef6; color: #073963; }
.fsd-cq-alt svg { color: var(--fsd-magenta); flex: none; }
.fsd-contact-panel { max-height: calc(100vh - 250px); max-height: calc(100dvh - 250px); overflow-y: auto; overscroll-behavior: contain; }
.fsd-contact-ico { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: rgba(190,49,108,0.1); color: var(--fsd-magenta); }
.fsd-contact-toggle {
  display: grid; place-items: center; width: 50px; height: 50px; border: none; border-radius: 50%;
  background: var(--fsd-navy); color: #fff; cursor: pointer;
  box-shadow: 0 10px 26px rgba(7,57,99,0.32); transition: transform 200ms, box-shadow 200ms;
}
.fsd-contact-toggle:hover { background: var(--fsd-navy); color: #fff; transform: translateY(-3px) scale(1.05); box-shadow: 0 16px 34px rgba(7,57,99,0.4); }
.fsd-contact-toggle .fsd-ct-close, .fsd-contact-toggle.is-open .fsd-ct-open { display: none; }
.fsd-contact-toggle.is-open .fsd-ct-close { display: block; }
@media (max-width: 420px) { .fsd-contact-panel { width: calc(100vw - 32px); } }
.fsd-a11y-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin: 0 0 16px; }
.fsd-a11y-close { display: grid; place-items: center; width: 30px; height: 30px; margin: -4px -4px 0 0; border: 1px solid rgba(7,57,99,0.14); border-radius: 50%; background: #fff; color: var(--fsd-navy); cursor: pointer; transition: background 160ms, color 160ms, border-color 160ms; }
.fsd-a11y-close:hover { background: var(--fsd-magenta); border-color: var(--fsd-magenta); color: #fff; }
.fsd-a11y-title { margin: 0; font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fsd-magenta); }
.fsd-a11y-label { margin: 0 0 8px; font-size: 12.5px; font-weight: 500; color: var(--fsd-muted); }
.fsd-a11y-zoom { display: flex; gap: 8px; margin-bottom: 18px; }
.fsd-a11y-zoom button, .fsd-a11y-switches button, .fsd-a11y-reset {
  font-family: inherit; cursor: pointer; border-radius: 12px;
  border: 1px solid rgba(7,57,99,0.14); background: #fff; color: var(--fsd-navy);
  transition: background 160ms, color 160ms, border-color 160ms;
}
.fsd-a11y-zoom button { flex: 1; padding: 10px 0; font-weight: 600; }
.fsd-a11y-zoom button:nth-child(1) { font-size: 13px; }
.fsd-a11y-zoom button:nth-child(2) { font-size: 15px; }
.fsd-a11y-zoom button:nth-child(3) { font-size: 17px; }
.fsd-a11y-switches { display: grid; gap: 8px; }
.fsd-a11y-switches button { padding: 11px 14px; text-align: left; font-size: 13.5px; font-weight: 500; }
.fsd-a11y-zoom button:hover, .fsd-a11y-switches button:hover { background: var(--fsd-light); border-color: rgba(7,57,99,0.26); color: var(--fsd-navy); }
.fsd-a11y-zoom button.is-on, .fsd-a11y-switches button.is-on { background: var(--fsd-magenta); border-color: var(--fsd-magenta); color: #fff; }
.fsd-a11y-zoom button.is-on:hover, .fsd-a11y-switches button.is-on:hover { background: var(--fsd-magenta); border-color: var(--fsd-magenta); color: #fff; }
.fsd-a11y-reset { margin-top: 16px; width: 100%; padding: 11px 14px; background: var(--fsd-light); font-size: 13px; font-weight: 600; }
.fsd-a11y-reset:hover { background: #e6eef6; }
.fsd-a11y-toggle {
  display: grid; place-items: center; width: 50px; height: 50px; border: none; border-radius: 50%;
  background: var(--fsd-magenta); color: #fff; cursor: pointer;
  box-shadow: 0 10px 26px rgba(190,49,108,0.34); transition: transform 200ms, box-shadow 200ms;
}
.fsd-a11y-toggle:hover { background: var(--fsd-magenta); color: #fff; transform: translateY(-3px) scale(1.05); box-shadow: 0 16px 34px rgba(190,49,108,0.42); }
.fsd-totop {
  display: grid; place-items: center; width: 50px; height: 50px;
  border: 2px solid var(--fsd-magenta); border-radius: 50%; background: transparent; color: var(--fsd-magenta);
  cursor: pointer; opacity: 0; pointer-events: none; transform: translateY(14px);
  transition: opacity 340ms ease, transform 340ms ease, box-shadow 220ms ease;
}
.fsd-totop.is-on { opacity: 1; pointer-events: auto; transform: none; }
.fsd-totop:hover { background: transparent; color: var(--fsd-magenta); box-shadow: 0 14px 30px rgba(190,49,108,0.3); }

/* Newsletter nad stopką (Wygląd → Dostosuj → FSD: Newsletter) */
.fsd-nl { max-width: 1240px; margin: 0 auto clamp(72px, 8vw, 100px); padding: 0 clamp(18px, 5vw, 32px); }
.fsd-nl-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px 56px; align-items: center; padding: clamp(30px, 5vw, 52px); border-radius: 26px; background: #f3f7fb; }
@media (max-width: 860px) { .fsd-nl-card { grid-template-columns: minmax(0, 1fr); } }
.fsd-nl-eyebrow { margin: 0 0 10px; font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: #be316c; }
.fsd-nl-title { margin: 0 0 12px; font-weight: 600; font-size: clamp(24px, 2.6vw, 32px); line-height: 1.22; color: #073963; text-wrap: pretty; }
.fsd-nl-desc { margin: 0; font-size: 15.5px; font-weight: 300; line-height: 1.75; color: #4a6480; max-width: 52ch; }
.fsd-nl-form { display: grid; gap: 14px; }
.fsd-nl-row { display: flex; flex-wrap: wrap; gap: 10px; }
.fsd-nl-row input { flex: 1 1 220px; min-width: 0; padding: 14px 20px; border: 1px solid rgba(7,57,99,0.16); border-radius: 30px; background: #fff; font-family: inherit; font-size: 15px; color: #073963; }
.fsd-nl-row input:focus { outline: none; border-color: #be316c; box-shadow: 0 0 0 3px rgba(190,49,108,0.14); }
.fsd-nl-btn { padding: 14px 28px; border: 0; border-radius: 30px; background: #be316c; color: #fff; font-family: inherit; font-size: 15px; font-weight: 600; cursor: pointer; }
.fsd-nl-btn:hover { background: #a3245a; color: #fff; }
.fsd-nl-ok { margin: 0; font-size: 15.5px; line-height: 1.7; color: #073963; }
main.fsd-page:has(+ .fsd-nl) { padding-bottom: 0 !important; }
.fsd-page + .fsd-nl { margin-top: clamp(72px, 8vw, 100px); }

/* Stopka */
main.fsd-page { display: flow-root; padding-bottom: clamp(72px, 8vw, 100px) !important; margin-bottom: 0 !important; }
.fsd-footer { position: relative; margin-top: 0 !important; clear: both; background: var(--fsd-navy); color: #d3e2ef; overflow: hidden; }
.fsd-footer-line { position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, #be316c, #0d4f85 55%, rgba(255,255,255,0.18)); }
.fsd-footer-rings { position: absolute; pointer-events: none; }
.fsd-footer-rings-br { right: -140px; bottom: -170px; }
.fsd-footer-rings-tl { left: -90px; top: -90px; }
.fsd-footer-grid { position: relative; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 48px; padding-top: 64px; padding-bottom: 40px; }
.fsd-footer-logo { height: 52px; width: auto; display: block; margin-bottom: 22px; }
.fsd-footer-address { font-size: 14px; font-weight: 300; line-height: 1.9; margin: 0; }
.fsd-footer-head { font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: #f0a8c4; margin: 0 0 16px; }
.fsd-footer-menu { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; font-size: 14.5px; font-weight: 300; }
.fsd-footer-menu a { color: #d3e2ef; }
.fsd-footer-menu a:hover { color: #fff; }
.fsd-footer-bottom { position: relative; padding-top: 20px; padding-bottom: 40px; border-top: 1px solid rgba(255,255,255,0.14); font-size: 12.5px; font-weight: 300; color: #a8c2d8; }

/* Responsywność */
@media (max-width: 1160px) {
  .fsd-footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .fsd-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1080px) {
  .fsd-burger { display: block; }
  .fsd-nav { position: absolute; top: 100%; left: 0; right: 0; background: #fff; box-shadow: 0 20px 44px rgba(7,57,99,0.18); padding: 16px 24px 24px; display: none; }
  .fsd-nav.is-open { display: block; }
  .fsd-menu { flex-direction: column; align-items: stretch; gap: 0; }
  .fsd-menu > li { padding: 2px 0; }
  .fsd-menu > li > a, .fsd-menu > li > .fsd-menu-label { display: flex; padding: 13px 2px; }
  .fsd-menu .sub-menu a { padding: 13px 12px; }
  .fsd-menu .sub-menu { position: static; opacity: 1; transform: none; pointer-events: auto; box-shadow: none; padding: 4px 0 8px 12px; margin: 0; min-width: 0; }
  .fsd-btn-header { display: none; }
}
@media (max-width: 720px) {
  .fsd-wrap { padding: 0 20px; }
  .fsd-grid-3, .fsd-grid-2 { grid-template-columns: minmax(0, 1fr); }
  .fsd-panel, .fsd-cta-navy { padding: 34px 26px; }
  .fsd-section { padding-top: 64px; }
  .fsd-footer-grid { grid-template-columns: minmax(0, 1fr); }
  .fsd-tools { right: 16px; bottom: 18px; }
}
@media print {
  .fsd-header, .fsd-tools, .fsd-search, #fsd-progress, .fsd-footer-rings { display: none !important; }
}

/* Responsywność bloków treści (siatki inline) */
@media (max-width: 1024px) {
  [data-fsd-cols="3"], [data-fsd-cols="4"] { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  [data-fsd-cols="5"]:not([data-fsd-keep]), [data-fsd-cols="6"]:not([data-fsd-keep]) { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
}
@media (max-width: 860px) {
  [data-fsd-cols="2"] { grid-template-columns: minmax(0, 1fr) !important; }
}
@media (max-width: 700px) {
  [data-fsd-cols]:not([data-fsd-keep]) { grid-template-columns: minmax(0, 1fr) !important; }
  [data-fsd-gap] { gap: 26px !important; }
  .fsd-logo img { height: 46px !important; }
}

/* Strzałki slidera opinii – ikona wyśrodkowana także po resecie GP */
.fsd-x12, .fsd-x13 { display: grid; place-items: center; }
.fsd-x12:hover, .fsd-x13:hover { color: #fff; }

/* Podkreślenie kart – pasek ::after zamiast border-bottom (nie zakrzywia się w rogach) */
[data-fsd-underline] { position: relative; }
[data-fsd-underline]::after {
  content: ""; position: absolute; left: 26px; right: 26px; bottom: 0; height: 3px;
  border-radius: 3px 3px 0 0; background: var(--fsd-magenta);
  transform: scaleX(0); transform-origin: left center;
  transition: transform 280ms cubic-bezier(.22,.8,.24,1);
}
[data-fsd-underline]:hover::after { transform: scaleX(1); }

/* Wiersz koszyka – zostaje wielokolumnowy, na telefonie miniatura + treść */
@media (max-width: 700px) {
  [data-fsd-cart-row] { grid-template-columns: 84px minmax(0, 1fr) !important; row-gap: 12px !important; }
}

/* Placeholder w miejscu brakującego obrazka – zamiast pustej ramki i błędu 404 */
.fsd-img-missing {
  display: grid; place-items: center; width: 100%; height: 100%; min-height: 90px; padding: 10px 14px;
  background: repeating-linear-gradient(135deg, #e4ecf4 0 9px, #eff4f9 9px 18px);
  border-radius: 12px; text-align: center;
  font-size: 11.5px; font-weight: 500; letter-spacing: 0.04em; color: #4d6b88;
}

/* Fonty Poppins – wgrane w motyw (bez Google Fonts, zgodnie z RODO). Licencja: fonts/OFL.txt */
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 300; font-display: swap; src: url('fonts/poppins-latin-ext-300.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: 'Poppins'; font-style: normal; font-weight: 300; font-display: swap; src: url('fonts/poppins-latin-300.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: 'Poppins'; font-style: normal; font-weight: 400; font-display: swap; src: url('fonts/poppins-latin-ext-400.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: 'Poppins'; font-style: normal; font-weight: 400; font-display: swap; src: url('fonts/poppins-latin-400.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: 'Poppins'; font-style: normal; font-weight: 500; font-display: swap; src: url('fonts/poppins-latin-ext-500.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: 'Poppins'; font-style: normal; font-weight: 500; font-display: swap; src: url('fonts/poppins-latin-500.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: 'Poppins'; font-style: normal; font-weight: 600; font-display: swap; src: url('fonts/poppins-latin-ext-600.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: 'Poppins'; font-style: normal; font-weight: 600; font-display: swap; src: url('fonts/poppins-latin-600.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: 'Poppins'; font-style: normal; font-weight: 700; font-display: swap; src: url('fonts/poppins-latin-ext-700.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: 'Poppins'; font-style: normal; font-weight: 700; font-display: swap; src: url('fonts/poppins-latin-700.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; }

/* ===== Telefon: poprawki 1.3.13 ===== */
.fsd-footer a, .fsd-footer-address a { color: #d3e2ef; }
.fsd-footer a[href^="tel"] { color: #d3e2ef; text-decoration: none; }
/* zdjęcie w ramce z proporcjami zawsze wypełnia ramkę */
[data-fsd-block] div[style*="aspect-ratio"] > img[style*="object-fit: cover"] { position: absolute; inset: 0; width: 100% !important; height: 100% !important; max-width: none; }
/* spis treści regulaminów – szerszy pasek na komputerze */
@media (min-width: 861px) {
  [data-fsd-cols="2"]:has(> aside[style*="sticky"]) { grid-template-columns: minmax(300px, 0.4fr) minmax(0, 1fr) !important; gap: 48px !important; }
}
@media (max-width: 1080px) {
  .fsd-header { position: sticky; top: 0; }
  .fsd-nav { max-height: calc(100vh - 90px); max-height: calc(100dvh - 90px); overflow-y: auto; overscroll-behavior: contain; }
}
@media (max-width: 860px) {
  /* spis treści nad tekstem – zwykły blok, nie przyklejony */
  [data-fsd-cols] > aside[style*="sticky"] { position: static !important; max-height: none !important; overflow: visible !important; }
}
@media (max-width: 720px) {
  /* iOS nie powiększa strony przy pisaniu, gdy pola mają min. 16px */
  input, select, textarea, .fsd-cq-f input, .fsd-cq-f textarea, .fsd-search-input { font-size: 16px !important; }
  .fsd-header-inner { padding-top: 10px; padding-bottom: 10px; gap: 10px 14px; }
  .fsd-search { padding: 76px 14px 14px; }
  .fsd-search-card { display: flex; flex-direction: column; max-height: 100%; }
  .fsd-search-bar { padding: 6px 6px 6px 18px; gap: 8px; border-radius: 22px; }
  .fsd-search-input { min-width: 0; padding: 12px 0; }
  .fsd-esc { flex: none; padding: 11px 14px; }
  .fsd-search-results { margin-top: 12px; padding: 10px; overflow-y: auto; min-height: 0; }
  .fsd-result { align-items: flex-start; gap: 12px; padding: 12px 8px; }
  .fsd-result-tag { flex: none; width: 34px; height: 34px; }
  .fsd-result > span:last-child { min-width: 0; }
  .fsd-result-title { font-size: 15px; line-height: 1.35; }
  .fsd-result-desc { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 13px; line-height: 1.5; margin-top: 2px; }
  .fsd-contact-panel { width: calc(100vw - 32px); max-height: calc(100dvh - 210px); padding: 18px 14px 14px; }
  .fsd-cq-f textarea { min-height: 56px; }
  .fsd-contact-toggle, .fsd-a11y-toggle, .fsd-totop { width: 46px; height: 46px; }
  .fsd-tools { gap: 10px; }
  /* zdjęcie na stronie głównej: ozdobna ramka i plakietka w obrębie ekranu */
  [data-fsd-block] div[style*="inset: 18px -18px -18px 18px"] { inset: 12px 0 -12px 12px !important; }
  [data-fsd-block] div[style*="left: -28px"] { left: 12px !important; right: 12px; bottom: 12px !important; max-width: none !important; }
}

/* Logotypy klientów (Referencje → Logotypy klientów) */
/* Automatyczny slider logotypów: tor z dwiema kopiami listy przesuwa się o -50% w nieskończoność */
.fsd-loga-slider { position: relative; overflow: hidden; width: 100%; max-width: 100%; contain: inline-size; margin-top: 38px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.fsd-loga-slider.fsd-loga-slider--kafle { margin-top: 0; padding: 14px 0 30px; }
.fsd-loga-tor { display: flex; width: max-content; animation: fsd-loga-przesuw var(--fsd-loga-czas, 40s) linear infinite; }
.fsd-loga-slider:hover .fsd-loga-tor, .fsd-loga-slider:focus-within .fsd-loga-tor { animation-play-state: paused; }
.fsd-loga-zestaw { display: flex; align-items: center; gap: 44px; padding-right: 44px; }
.fsd-loga-slider--kafle .fsd-loga-zestaw { gap: 18px; padding-right: 18px; }
.fsd-loga-zestaw > img { flex: none; width: 130px; height: 56px; object-fit: contain; display: block; filter: grayscale(1); opacity: 0.7; transition: filter 220ms, opacity 220ms; }
.fsd-loga-zestaw > img:hover { filter: none; opacity: 1; }
.fsd-loga-slider--kafle .fsd-logo-kafel { flex: none; width: 200px; }
@keyframes fsd-loga-przesuw { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (max-width: 720px) { .fsd-loga-zestaw { gap: 30px; padding-right: 30px; } .fsd-loga-zestaw > img { width: 104px; height: 46px; } .fsd-loga-slider--kafle .fsd-logo-kafel { width: 150px; } .fsd-loga-slider--kafle .fsd-loga-zestaw { gap: 12px; padding-right: 12px; } }
@media (prefers-reduced-motion: reduce) { .fsd-loga-slider { -webkit-mask-image: none; mask-image: none; } .fsd-loga-tor { animation: none; width: auto; } .fsd-loga-zestaw { flex-wrap: wrap; justify-content: center; padding-right: 0; } .fsd-loga-zestaw[aria-hidden="true"] { display: none; } }
.fsd-loga-kafle { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 170px), 1fr)); gap: 18px; }
.fsd-logo-kafel { display: grid; place-items: center; aspect-ratio: 3 / 2; padding: 22px 26px; border-radius: 18px; background: #fff; box-shadow: 0 6px 24px rgba(7,57,99,0.08); transition: transform 200ms, box-shadow 200ms; }
.fsd-logo-kafel img { width: 100%; height: 100%; max-width: 100%; max-height: 100%; object-fit: contain; display: block; filter: grayscale(1); opacity: 0.72; transition: filter 220ms, opacity 220ms; }
.fsd-logo-kafel:hover { transform: translateY(-4px); box-shadow: 0 16px 38px rgba(7,57,99,0.14); }
.fsd-logo-kafel:hover img { filter: none; opacity: 1; }
@media (max-width: 720px) { .fsd-loga-kafle { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } .fsd-logo-kafel { padding: 16px 18px; } }

@media (max-width: 720px) { .fsd-footer-grid { padding-top: 56px; padding-bottom: 36px; } .fsd-footer-logo { margin-bottom: 24px; } }

/* Menu mobilne: podmenu zwinięte, rozwijane strzałką */
.fsd-sub-toggle { display: none; }
@media (max-width: 1080px) {
  .fsd-menu > li.menu-item-has-children { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; border-bottom: 1px solid rgba(7,57,99,0.08); }
  .fsd-menu > li.menu-item-has-children > a::after { display: none; }
  .fsd-sub-toggle { display: grid; place-items: center; width: 44px; height: 44px; margin: 0; padding: 0; border: 0; border-radius: 12px; background: transparent; color: var(--fsd-navy); cursor: pointer; }
  .fsd-sub-toggle:hover, li.is-sub-open > .fsd-sub-toggle { background: var(--fsd-light); color: var(--fsd-magenta); }
  .fsd-sub-toggle svg { transition: transform 220ms; }
  li.is-sub-open > .fsd-sub-toggle svg { transform: rotate(180deg); }
  .fsd-menu > li.menu-item-has-children > .sub-menu { grid-column: 1 / -1; display: none; }
  .fsd-menu > li.is-sub-open > .sub-menu { display: flex; }
}
/* Panel kontaktowy: oddech pod przyciskiem */
.fsd-contact-panel { padding-bottom: 26px; }
.fsd-cq { padding-bottom: 6px; }
/* Stopka: więcej granatu na samym dole, tekst nie wchodzi pod pływające przyciski */
@media (max-width: 720px) { .fsd-footer-bottom { padding-right: 72px; padding-bottom: calc(120px + env(safe-area-inset-bottom)); } }

/* Panel kontaktowy: cały widoczny bez przewijania (scroll tylko awaryjnie, np. przy otwartej klawiaturze) */
.fsd-contact-panel { max-height: none; overflow: visible; }
@media (max-width: 720px), (max-height: 820px) {
  .fsd-contact-panel { padding: 16px 14px 18px; max-height: calc(100dvh - 140px); overflow-y: auto; }
  .fsd-contact-panel .fsd-a11y-title { margin-bottom: 6px; }
  .fsd-cq-lead { margin: 0 6px 10px; font-size: 12.5px; line-height: 1.45; }
  .fsd-cq { gap: 8px; padding-bottom: 2px; }
  .fsd-cq-f { gap: 3px; }
  .fsd-cq-f input, .fsd-cq-f textarea { padding: 9px 12px; font-size: 16px; }
  .fsd-cq-f textarea { min-height: 46px; height: 46px; }
  .fsd-cq-zgoda { font-size: 11px; line-height: 1.4; }
  .fsd-tools .fsd-cq-btn { padding: 12px 18px; }
  .fsd-cq-alt { margin-top: 10px; padding-top: 10px; }
  .fsd-cq-alt a { padding: 8px 10px; }
}

/* Panel kontaktowy: własny różowy pasek przewijania (działa też na iPhonie) */
.fsd-contact-panel.fsd-cp { display: flex; flex-direction: column; position: relative; padding: 0 !important; overflow: hidden !important; }
.fsd-contact-panel.fsd-cp[hidden] { display: none; }
.fsd-cp-in { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; padding: 22px 20px 26px 18px; scrollbar-width: none; }
.fsd-cp-in::-webkit-scrollbar { display: none; }
.fsd-cp-bar { display: none; position: absolute; top: 16px; bottom: 16px; right: 6px; width: 4px; border-radius: 4px; background: rgba(190,49,108,0.16); pointer-events: none; }
.fsd-cp.is-scroll .fsd-cp-bar { display: block; }
.fsd-cp-thumb { position: absolute; left: 0; right: 0; top: 0; min-height: 28px; border-radius: 4px; background: #be316c; }
.fsd-cp.is-scroll::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 28px; border-radius: 0 0 20px 20px; background: linear-gradient(rgba(255,255,255,0), #fff); pointer-events: none; transition: opacity 200ms; }
.fsd-cp.is-scroll.is-end::after { opacity: 0; }
@media (max-width: 720px), (max-height: 820px) { .fsd-cp-in { padding: 16px 18px 20px 14px; } }

/* Pasek logotypów nie może rozpychać kolumny (inaczej wychodzi poza stronę i wypycha opinie) */
[data-fsd-cols] > * { min-width: 0; }

/* Karty-linki: cała karta klikalna, link w nagłówku (dobre dla SEO i czytników ekranu) */
[data-fsd-klik] { position: relative; cursor: pointer; }
.fsd-card-link { color: inherit !important; text-decoration: none !important; }
.fsd-card-link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: 1; }
.fsd-card-link:focus-visible { outline: none; }
.fsd-card-link:focus-visible::after { outline: 3px solid #be316c; outline-offset: 3px; }
[data-fsd-klik] a:not(.fsd-card-link) { position: relative; z-index: 2; }
[data-fsd-klik]:hover .fsd-card-link { color: #be316c !important; }

/* Menu rozwijane (komputer): wolniejsze chowanie + niewidoczny mostek nad przerwą */
@media (min-width: 1081px) {
  .fsd-menu .sub-menu { visibility: hidden; transition: opacity 200ms ease 400ms, transform 240ms cubic-bezier(.34,1.4,.64,1) 400ms, visibility 0s linear 640ms; }
  .fsd-menu .sub-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
  .fsd-menu > li:hover > .sub-menu, .fsd-menu > li:focus-within > .sub-menu { visibility: visible; transition-delay: 0s; }
}

/* Panel „Porozmawiajmy”: gwiazdka przy polach obowiązkowych, numer telefonu w jednej linii */
.fsd-cq-req { color: var(--fsd-magenta); font-weight: 600; }
.fsd-cq-alt a { white-space: nowrap; min-width: 0; }
.fsd-cq-alt a:first-child { flex: 1.25 1 0; }
@media (max-width: 420px) { .fsd-cq-alt a { font-size: 12.5px; padding-left: 8px; padding-right: 8px; gap: 6px; } }
