/* MSP 5.2.1 consolidated frontend bundle. Generated from ordered component styles. */

/* ===== base.css ===== */
:root {
  --msp-blue: #075d96;
  --msp-navy: #10273d;
  --msp-sand: #ede6dd;
  --msp-paper: #f8f6f2;
  --msp-white: #ffffff;
  --msp-text: #243342;
  --msp-muted: #697784;
  --msp-line: rgba(16, 39, 61, .13);
  --msp-soft-blue: #eaf3f8;
  --msp-serif: Georgia, "Times New Roman", serif;
  --msp-sans: Inter, Arial, Helvetica, sans-serif;
  --msp-container: 1280px;
  --msp-shadow: 0 28px 85px rgba(20, 42, 62, .12);
  --msp-radius: 2px;
}

body.msp-v2-site { margin: 0; color: var(--msp-text); background: var(--msp-white); font-family: var(--msp-sans); font-size: 16px; line-height: 1.72; }
body.msp-v2-site *, body.msp-v2-site *::before, body.msp-v2-site *::after { box-sizing: border-box; }
body.msp-v2-site img { display: block; max-width: 100%; height: auto; }
body.msp-v2-site a { color: inherit; text-decoration: none; }
body.msp-v2-site h1, body.msp-v2-site h2, body.msp-v2-site h3, body.msp-v2-site h4 { margin: 0; color: var(--msp-navy); font-family: var(--msp-serif); font-weight: 500; line-height: 1.08; text-wrap: balance; }
body.msp-v2-site h1 { font-size: 6rem; font-size: clamp(3.15rem, 6.2vw, 6.85rem); letter-spacing: -.045em; }
body.msp-v2-site h2 { font-size: 4rem; font-size: clamp(2.35rem, 4.4vw, 4.75rem); letter-spacing: -.035em; }
body.msp-v2-site h3 { font-size: 1.75rem; font-size: clamp(1.35rem, 2vw, 2rem); letter-spacing: -.02em; }
body.msp-v2-site p { margin: 0 0 1.15rem; }
body.msp-v2-site button, body.msp-v2-site input, body.msp-v2-site textarea, body.msp-v2-site select { font: inherit; }
.msp-v2-container { width: min(calc(100% - 56px), var(--msp-container)); margin-inline: auto; }
.msp-v2-main { overflow: clip; }
.msp-v2-section { padding: clamp(76px, 8vw, 132px) 0; }
.msp-v2-section--white { background: #fff; }
.msp-v2-section--paper { background: var(--msp-paper); }
.msp-v2-section--sand { background: var(--msp-sand); }
.msp-v2-kicker { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 20px; color: var(--msp-blue); font-size: .72rem; font-weight: 800; letter-spacing: .16em; line-height: 1.3; text-transform: uppercase; }
.msp-v2-kicker::before { width: 38px; height: 1px; background: currentColor; content: ""; }
.msp-v2-heading { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 52px; }
.msp-v2-heading > div { max-width: 880px; }
.msp-v2-heading h2 { max-width: 900px; }
.msp-v2-heading p { max-width: 700px; margin: 20px auto 0; color: var(--msp-muted); }
.msp-v2-heading--center { display: flex; flex-direction: column; align-items: center; max-width: 880px; margin-right: auto; margin-left: auto; text-align: center; }
.msp-v2-heading--light h2, .msp-v2-heading--light h3 { color: #fff; }
.msp-v2-reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.msp-v2-reveal.is-visible { opacity: 1; transform: none; }
.msp-v2-richtext > *:last-child { margin-bottom: 0; }
.msp-v2-skip { position: fixed; z-index: 100000; top: 10px; left: 10px; padding: 10px 16px; transform: translateY(-160%); background: #fff; box-shadow: var(--msp-shadow); }
.msp-v2-skip:focus { transform: none; }
@media (prefers-reduced-motion: reduce) { .msp-v2-reveal { opacity: 1; transform: none; transition: none; } }

/* MSP 4.2: mniejsza skala typografii na stronie głównej. */
body.msp-v2-site h1 {
  font-size: clamp(2.9rem, 4.15vw, 4.75rem);
  line-height: 1.02;
  letter-spacing: -.038em;
}
body.msp-v2-site h2 {
  font-size: clamp(2rem, 3vw, 3.45rem);
  line-height: 1.08;
  letter-spacing: -.03em;
}
body.msp-v2-site h3 {
  font-size: clamp(1.25rem, 1.65vw, 1.7rem);
}
.msp-v2-section {
  padding: clamp(64px, 6.8vw, 104px) 0;
}

/* MSP 5.1.4: szerszy layout wyłącznie na stronie głównej i O nas */
body.home.msp-v2-site .msp-v2-container,
body.msp-v2-template-msp-about.msp-v2-site .msp-v2-container {
  width: min(calc(100% - 48px), 1480px);
}
@media (max-width: 980px) {
  body.home.msp-v2-site .msp-v2-container,
  body.msp-v2-template-msp-about.msp-v2-site .msp-v2-container {
    width: min(calc(100% - 36px), 1480px);
  }
}
@media (max-width: 680px) {
  body.home.msp-v2-site .msp-v2-container,
  body.msp-v2-template-msp-about.msp-v2-site .msp-v2-container {
    width: min(calc(100% - 28px), 1480px);
  }
}


/* ===== header.css ===== */
.msp-v2-announcement { background: var(--msp-navy); color: rgba(255,255,255,.8); font-size: .72rem; letter-spacing: .035em; }
.msp-v2-announcement__inner { min-height: 36px; display: flex; justify-content: space-between; align-items: center; gap: 28px; }
.msp-v2-announcement__inner > div { display: flex; gap: 24px; }
.msp-v2-announcement a:hover { color: #fff; }
.msp-v2-header { position: relative; z-index: 100; border-bottom: 1px solid var(--msp-line); background: rgba(255,255,255,.98); }
.msp-v2-header.is-sticky { position: sticky; top: 0; box-shadow: 0 12px 32px rgba(16,39,61,.07); }
.msp-v2-header__inner { min-height: 100px; display: grid; grid-template-columns: 210px minmax(0, 1fr) auto; align-items: center; gap: 34px; }
.msp-v2-brand { display: inline-flex; align-items: center; }
.msp-v2-brand__logo { width: auto; max-width: 190px; max-height: 74px; }
.msp-v2-nav__list { display: flex; justify-content: center; align-items: center; gap: clamp(18px, 2vw, 34px); margin: 0; padding: 0; list-style: none; }
.msp-v2-nav__list > li { position: relative; }
.msp-v2-nav__list > li > a { display: block; padding: 38px 0 36px; color: var(--msp-navy); font-size: .72rem; font-weight: 800; letter-spacing: .065em; text-transform: uppercase; }
.msp-v2-nav__list > li > a::after { display: block; width: 0; height: 1px; margin-top: 7px; background: var(--msp-blue); content: ""; transition: width .22s ease; }
.msp-v2-nav__list > li:hover > a::after, .msp-v2-nav__list > .current-menu-item > a::after { width: 100%; }
.msp-v2-nav .sub-menu { position: absolute; top: calc(100% - 10px); left: -24px; min-width: 260px; margin: 0; padding: 14px; visibility: hidden; opacity: 0; transform: translateY(8px); border: 1px solid var(--msp-line); background: #fff; box-shadow: var(--msp-shadow); list-style: none; transition: .2s ease; }
.msp-v2-nav li:hover > .sub-menu, .msp-v2-nav li:focus-within > .sub-menu { visibility: visible; opacity: 1; transform: none; }
.msp-v2-nav .sub-menu a { display: block; padding: 9px 10px; color: var(--msp-text); font-size: .85rem; }
.msp-v2-nav .sub-menu a:hover { background: var(--msp-paper); color: var(--msp-blue); }
.msp-v2-header-cta { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 22px; border: 1px solid var(--msp-navy); color: var(--msp-navy); font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; transition: .2s ease; }
.msp-v2-header-cta:hover { background: var(--msp-navy); color: #fff; }
.msp-v2-menu-toggle { display: none; width: 46px; height: 46px; padding: 10px; border: 1px solid var(--msp-line); background: #fff; }
.msp-v2-menu-toggle > span:not(.screen-reader-text) { display: block; height: 2px; margin: 5px 0; background: var(--msp-navy); }
.msp-v2-submenu-toggle { display: none !important; }

.msp-v2-footer { padding: 88px 0 0; background: var(--msp-navy); color: rgba(255,255,255,.72); }
.msp-v2-footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.15fr; gap: 52px; padding-bottom: 70px; }
.msp-v2-footer h3 { margin-bottom: 24px; color: #fff; font-size: 1.22rem; }
.msp-v2-footer__brand img { width: 170px; margin-bottom: 26px; }
.msp-v2-footer__brand p { max-width: 320px; }
.msp-v2-footer__menu { margin: 0; padding: 0; list-style: none; }
.msp-v2-footer__menu li { margin-bottom: 9px; }
.msp-v2-footer a:hover { color: #fff; }
.msp-v2-footer__contact p { margin-bottom: 9px; }
.msp-v2-footer__bottom { min-height: 70px; display: flex; justify-content: space-between; align-items: center; gap: 24px; border-top: 1px solid rgba(255,255,255,.14); font-size: .78rem; }
.msp-v2-footer__legal { display: flex; gap: 22px; margin: 0; padding: 0; list-style: none; }


/* MSP 4.1: czytelne menu rozwijane również na nowym home. */
.msp-v2-nav__list > li.menu-item-has-children > a {
  display: flex;
  align-items: center;
  gap: 8px;
}
.msp-v2-nav__list > li.menu-item-has-children > a::before {
  order: 2;
  width: 7px;
  height: 7px;
  margin-top: -4px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg);
  content: "";
}
.msp-v2-nav #menu-item-4898 > .sub-menu {
  left: 50%;
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  width: min(760px,calc(100vw - 48px));
  transform: translate(-50%,8px);
}
.msp-v2-nav #menu-item-4898:hover > .sub-menu,
.msp-v2-nav #menu-item-4898:focus-within > .sub-menu {
  transform: translate(-50%,0);
}
.msp-v2-nav #menu-item-4898 > .sub-menu > li {
  border-right: 1px solid var(--msp-line);
  border-bottom: 1px solid var(--msp-line);
}
.msp-v2-nav #menu-item-4898 > .sub-menu > li:nth-child(3n) { border-right: 0; }
.msp-v2-nav #menu-item-4898 > .sub-menu a {
  min-height: 48px;
  display: flex;
  align-items: center;
  padding: 10px 12px;
  font-size: .78rem;
  font-weight: 650;
  line-height: 1.35;
}
@media (max-width: 980px) {
  .msp-v2-nav #menu-item-4898 > .sub-menu {
    display: block;
    width: 100%;
    transform: none;
  }
  .msp-v2-nav #menu-item-4898:hover > .sub-menu,
  .msp-v2-nav #menu-item-4898:focus-within > .sub-menu { transform: none; }
}

/* MSP 4.2: dropdown styka się z nagłówkiem i nie ma pionowego uskoku. */
.msp-v2-nav .sub-menu {
  top: 100%;
  margin-top: 0;
  transform: translateY(4px);
}
.msp-v2-nav li:hover > .sub-menu,
.msp-v2-nav li:focus-within > .sub-menu {
  transform: translateY(0);
}
.msp-v2-nav #menu-item-4898 > .sub-menu {
  transform: translate(-50%, 4px);
}
.msp-v2-nav #menu-item-4898:hover > .sub-menu,
.msp-v2-nav #menu-item-4898:focus-within > .sub-menu {
  transform: translate(-50%, 0);
}

/* MSP 4.4: własny nagłówek pozostaje w normalnym przepływie strony.
 * Klasa is-sticky może zostać po starym JS, ale nie zmienia pozycji. */
.msp-v2-header,
.msp-v2-header.is-sticky,
.admin-bar .msp-v2-header,
.admin-bar .msp-v2-header.is-sticky {
  position: relative !important;
  top: auto !important;
  z-index: 100 !important;
  transform: none !important;
}
.msp-v2-nav .sub-menu,
.msp-v2-nav #menu-item-4898 > .sub-menu {
  top: 100% !important;
  margin-top: 0 !important;
}

/* MSP 4.5: brak przerwy pomiędzy linkiem menu a dropdownem. */
.msp-v2-nav__list > li.menu-item-has-children { position: relative; }
.msp-v2-nav__list > li.menu-item-has-children::after {
  position: absolute;
  z-index: 998;
  top: calc(100% - 2px);
  right: -18px;
  left: -18px;
  height: 14px;
  content: "";
}
.msp-v2-nav .sub-menu { top: calc(100% - 1px) !important; z-index: 999; transform: none !important; }
.msp-v2-nav #menu-item-4898 > .sub-menu { transform: translateX(-50%) !important; }


/* MSP 4.5.1: bez niebieskiego dymka nad dropdownem i spójny line-height w menu. */
.msp-v2-nav .sub-menu::before,
.msp-v2-nav .sub-menu::after,
.msp-v2-nav #menu-item-4898 > .sub-menu::before,
.msp-v2-nav #menu-item-4898 > .sub-menu::after {
  display: none !important;
  content: none !important;
}
.msp-v2-nav__list > li > a {
  line-height: 1.15 !important;
}
.msp-v2-nav .sub-menu a {
  line-height: 1.28 !important;
}


/* MSP 4.5.2: menu ma równą wysokość bez ogromnego pionowego paddingu. */
.msp-v2-header__inner {
  min-height: 76px !important;
}
.msp-v2-nav__list {
  align-items: stretch !important;
}
.msp-v2-nav__list > li {
  display: flex !important;
  align-items: stretch !important;
}
.msp-v2-nav__list > li > a,
.msp-v2-nav__list > li.menu-item-has-children > a {
  position: relative !important;
  display: flex !important;
  min-height: 76px !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  padding: 0 !important;
  line-height: 1.2 !important;
}
.msp-v2-nav__list > li > a::after {
  position: absolute !important;
  right: 0 !important;
  bottom: 17px !important;
  left: 0 !important;
  width: 0 !important;
  height: 1px !important;
  margin: 0 !important;
}
.msp-v2-nav__list > li:hover > a::after,
.msp-v2-nav__list > .current-menu-item > a::after,
.msp-v2-nav__list > .current-menu-ancestor > a::after {
  width: 100% !important;
}
.msp-v2-nav__list > li.menu-item-has-children > a::before {
  flex: 0 0 auto !important;
  margin: -4px 0 0 !important;
}
.msp-v2-nav .sub-menu a {
  min-height: 0 !important;
  padding: 11px 12px !important;
  line-height: 1.35 !important;
}


/* MSP 4.5.5: wyraźnie większe logo w nowym nagłówku. */
.msp-v2-header__inner {
  grid-template-columns: 265px minmax(0, 1fr) auto !important;
  min-height: 112px !important;
}
.msp-v2-brand__logo {
  width: auto !important;
  max-width: 250px !important;
  max-height: 96px !important;
  object-fit: contain !important;
}
@media (max-width: 1180px) {
  .msp-v2-header__inner {
    grid-template-columns: 205px minmax(0, 1fr) auto !important;
    gap: 22px !important;
  }
  .msp-v2-brand__logo {
    max-width: 195px !important;
    max-height: 82px !important;
  }
}
@media (max-width: 980px) {
  .msp-v2-header__inner {
    grid-template-columns: 1fr auto !important;
    min-height: 88px !important;
  }
  .msp-v2-brand__logo {
    max-width: 175px !important;
    max-height: 72px !important;
  }
}

/* MSP 5.1.4: stabilny nagłówek mobilny i zwijane podmenu */
@media (max-width: 980px) {
  .msp-v2-header {
    position: relative !important;
    z-index: 1000 !important;
  }
  .msp-v2-header__inner {
    position: relative;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto auto !important;
    grid-template-areas: "brand actions toggle";
    min-height: 84px !important;
    gap: 8px !important;
  }
  .msp-v2-brand {
    grid-area: brand;
    min-width: 0;
  }
  .msp-v2-brand__logo {
    width: auto !important;
    max-width: 172px !important;
    max-height: 64px !important;
  }
  .msp-v2-header__actions {
    grid-area: actions;
    display: flex !important;
    margin: 0 !important;
  }
  .msp-v2-header-cta,
  .msp-v2-shop-link {
    display: none !important;
  }
  .msp-v2-cart-link {
    width: 44px !important;
    height: 44px !important;
    flex: 0 0 44px;
  }
  .msp-v2-menu-toggle {
    grid-area: toggle;
    display: block !important;
    width: 44px !important;
    height: 44px !important;
    margin: 0 !important;
    padding: 9px !important;
    order: initial !important;
    cursor: pointer;
  }
  .msp-v2-nav {
    position: absolute !important;
    top: 100% !important;
    right: 0 !important;
    left: 0 !important;
    z-index: 1100 !important;
    width: 100% !important;
    max-height: calc(100vh - 84px) !important;
    padding: 12px 18px 24px !important;
    visibility: hidden;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    opacity: 0;
    transform: translateY(-8px) !important;
    border-top: 1px solid var(--msp-line) !important;
    background: #fff !important;
    box-shadow: 0 24px 48px rgba(16,39,61,.16) !important;
    transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
  }
  .msp-v2-nav.is-open {
    visibility: visible !important;
    opacity: 1 !important;
    transform: none !important;
  }
  .msp-v2-nav__list {
    display: block !important;
    width: 100% !important;
  }
  .msp-v2-nav__list > li {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    border-bottom: 1px solid var(--msp-line);
  }
  .msp-v2-nav__list > li > a,
  .msp-v2-nav__list > li.menu-item-has-children > a {
    display: flex !important;
    width: calc(100% - 48px) !important;
    min-height: 52px !important;
    align-items: center !important;
    justify-content: flex-start !important;
    padding: 12px 0 !important;
    font-size: .78rem !important;
    line-height: 1.25 !important;
    text-align: left !important;
  }
  .msp-v2-nav__list > li > a::after,
  .msp-v2-nav__list > li.menu-item-has-children > a::before,
  .msp-v2-nav__list > li.menu-item-has-children::after {
    display: none !important;
    content: none !important;
  }
  .msp-v2-submenu-toggle {
    position: absolute;
    top: 5px;
    right: 0;
    display: inline-flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--msp-navy);
    cursor: pointer;
  }
  .msp-v2-submenu-toggle::before {
    width: 9px;
    height: 9px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg) translate(-2px, -2px);
    content: "";
    transition: transform .18s ease;
  }
  .msp-v2-nav__list > li.is-submenu-open > .msp-v2-submenu-toggle::before {
    transform: rotate(225deg) translate(-1px, -1px);
  }
  .msp-v2-nav .sub-menu,
  .msp-v2-nav #menu-item-4898 > .sub-menu {
    position: static !important;
    display: none !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 2px 0 12px 14px !important;
    visibility: visible !important;
    opacity: 1 !important;
    transform: none !important;
    border: 0 !important;
    box-shadow: none !important;
    background: #f8f6f2 !important;
  }
  .msp-v2-nav__list > li.is-submenu-open > .sub-menu,
  .msp-v2-nav .sub-menu > li.is-submenu-open > .sub-menu,
  .msp-v2-nav #menu-item-4898.is-submenu-open > .sub-menu {
    display: block !important;
  }
  .msp-v2-nav .sub-menu li {
    position: relative;
    border: 0 !important;
    border-bottom: 1px solid rgba(16,39,61,.08) !important;
  }
  .msp-v2-nav .sub-menu a,
  .msp-v2-nav #menu-item-4898 > .sub-menu a {
    display: flex !important;
    min-height: 44px !important;
    align-items: center !important;
    padding: 9px 46px 9px 12px !important;
    font-size: .82rem !important;
    line-height: 1.35 !important;
  }
  html.msp-v2-menu-open,
  html.msp-v2-menu-open body {
    overflow: hidden !important;
  }
}

@media (max-width: 560px) {
  .msp-v2-header__inner {
    min-height: 76px !important;
  }
  .msp-v2-brand__logo {
    max-width: 142px !important;
    max-height: 56px !important;
  }
  .msp-v2-cart-link,
  .msp-v2-menu-toggle {
    width: 40px !important;
    height: 40px !important;
    flex-basis: 40px;
  }
  .msp-v2-nav {
    max-height: calc(100vh - 76px) !important;
    padding-right: 14px !important;
    padding-left: 14px !important;
  }
}

/* MSP 5.1.7: kontrolki podmenu istnieją wyłącznie na urządzeniach mobilnych. */
@media (min-width: 981px) {
  .msp-v2-submenu-toggle,
  .msp-v2-nav__list > li > .msp-v2-submenu-toggle {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    min-width: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    overflow: hidden !important;
  }
}

/* MSP 5.1.9: mobilne ikony wyłącznie z lokalnego zestawu Tabler Icons SVG. */
.msp-icon {
  display: block;
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  overflow: visible;
  pointer-events: none;
}
.msp-v2-menu-toggle,
.msp-v2-submenu-toggle,
.msp-v2-cart-link {
  -webkit-appearance: none !important;
  appearance: none !important;
}
.msp-v2-menu-toggle > span:not(.screen-reader-text) {
  display: none !important;
}
.msp-v2-menu-toggle__close {
  display: none;
}
.msp-v2-menu-toggle[aria-expanded="true"] .msp-v2-menu-toggle__open {
  display: none;
}
.msp-v2-menu-toggle[aria-expanded="true"] .msp-v2-menu-toggle__close {
  display: block;
}
.msp-v2-cart-link > .msp-icon {
  width: 23px;
  height: 23px;
}

@media (max-width: 980px) {
  .msp-v2-menu-toggle {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
  .msp-v2-menu-toggle .msp-icon {
    width: 25px;
    height: 25px;
  }
  .msp-v2-submenu-toggle,
  .msp-v2-nav__list > li > .msp-v2-submenu-toggle {
    display: inline-flex !important;
  }
  .msp-v2-submenu-toggle::before,
  .msp-v2-submenu-toggle::after {
    display: none !important;
    content: none !important;
  }
  .msp-v2-submenu-toggle .msp-icon {
    width: 20px;
    height: 20px;
    transition: transform .18s ease;
  }
  .msp-v2-nav__list > li.is-submenu-open > .msp-v2-submenu-toggle .msp-icon {
    transform: rotate(180deg);
  }
  .msp-v2-nav i,
  .msp-v2-nav .awb-menu__sub-arrow,
  .msp-v2-nav [class*="fusion-icon"],
  .msp-v2-nav [class*="awb-icon"] {
    display: none !important;
  }
}


/* ===== layout.css ===== */
.msp-v2-hero { position: relative; padding: 42px 0 84px; background: linear-gradient(90deg, var(--msp-paper) 0 62%, #fff 62%); }
.msp-v2-hero::after { position: absolute; top: 0; bottom: 0; left: 62%; width: 1px; background: rgba(16,39,61,.06); content: ""; }
.msp-v2-hero__grid { display: grid; grid-template-columns: minmax(0,.88fr) minmax(480px,1.12fr); align-items: center; gap: clamp(46px,7vw,108px); }
.msp-v2-hero__content { padding: 54px 0; }
.msp-v2-hero__content h1 { max-width: 760px; }
.msp-v2-hero__content > p { max-width: 620px; margin-top: 26px; color: var(--msp-muted); font-size: clamp(1rem,1.2vw,1.18rem); }
.msp-v2-hero__facts { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; margin-top: 52px; padding-top: 26px; border-top: 1px solid var(--msp-line); }
.msp-v2-hero__facts strong, .msp-v2-hero__facts span { display: block; }
.msp-v2-hero__facts strong { color: var(--msp-navy); font-family: var(--msp-serif); font-size: 1.22rem; font-weight: 500; }
.msp-v2-hero__facts span { color: var(--msp-muted); font-size: .78rem; }
.msp-v2-hero__visual { position: relative; min-height: 680px; }
.msp-v2-hero__visual > img { width: 100%; height: 680px; object-fit: cover; }
.msp-v2-hero__visual::before { position: absolute; z-index: 2; top: -18px; right: -18px; width: 124px; height: 124px; border-top: 1px solid var(--msp-blue); border-right: 1px solid var(--msp-blue); content: ""; }
.msp-v2-hero__note { position: absolute; z-index: 3; right: -28px; bottom: 40px; max-width: 220px; padding: 22px 24px; background: var(--msp-navy); color: #fff; font-family: var(--msp-serif); font-size: 1.05rem; line-height: 1.35; }
.msp-v2-about__grid { display: grid; grid-template-columns: minmax(380px,.72fr) minmax(0,1fr); align-items: center; }
.msp-v2-about__image img { width: 100%; min-height: 650px; object-fit: cover; }
.msp-v2-about__card { position: relative; z-index: 2; margin-left: -74px; padding: clamp(46px,6vw,94px); background: #fff; box-shadow: var(--msp-shadow); }
.msp-v2-about__card h2 { margin-bottom: 28px; }
.msp-v2-about__card .msp-v2-richtext { color: var(--msp-muted); }
.msp-v2-category-cloud { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); margin-bottom: 64px; border-top: 1px solid var(--msp-line); border-left: 1px solid var(--msp-line); }
.msp-v2-category-cloud a { display: flex; justify-content: space-between; align-items: center; min-height: 100px; padding: 24px; border-right: 1px solid var(--msp-line); border-bottom: 1px solid var(--msp-line); color: var(--msp-navy); font-weight: 750; }
.msp-v2-category-cloud a:hover { background: var(--msp-paper); color: var(--msp-blue); }
.msp-v2-category-cloud span { font-size: 1.2rem; }
.msp-v2-feature { display: grid; grid-template-columns: minmax(0,.95fr) minmax(0,1.05fr); align-items: center; background: var(--msp-paper); box-shadow: var(--msp-shadow); }
.msp-v2-feature__media { min-height: 560px; background: var(--msp-soft-blue); }
.msp-v2-feature__media img { width: 100%; height: 560px; object-fit: cover; }
.msp-v2-feature__body { padding: clamp(48px,7vw,94px); }
.msp-v2-feature__body h2 { margin-bottom: 20px; }
.msp-v2-feature__body > p { color: var(--msp-muted); }
.msp-v2-values { background: var(--msp-navy); }
.msp-v2-values .msp-v2-kicker { color: #8cc8ea; }
.msp-v2-values__grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); border-top: 1px solid rgba(255,255,255,.16); border-left: 1px solid rgba(255,255,255,.16); }
.msp-v2-values__grid article { min-height: 290px; padding: 34px; border-right: 1px solid rgba(255,255,255,.16); border-bottom: 1px solid rgba(255,255,255,.16); }
.msp-v2-values__grid span { display: inline-block; margin-bottom: 66px; color: #8cc8ea; font-size: .72rem; font-weight: 800; letter-spacing: .12em; }
.msp-v2-values__grid h3 { margin-bottom: 16px; color: #fff; }
.msp-v2-values__grid p { color: rgba(255,255,255,.68); }
.msp-v2-faq__grid { display: grid; grid-template-columns: minmax(300px,.72fr) minmax(0,1.28fr); gap: clamp(50px,8vw,120px); }
.msp-v2-faq__grid > div:first-child p { max-width: 440px; margin: 24px 0; color: var(--msp-muted); }
.msp-v2-contact-band { padding: clamp(72px,8vw,116px) 0; background: var(--msp-blue); color: #fff; }
.msp-v2-contact-band__grid { display: grid; grid-template-columns: minmax(0,.85fr) minmax(420px,1.15fr); align-items: center; gap: clamp(52px,8vw,120px); }
.msp-v2-contact-band h2 { color: #fff; }
.msp-v2-contact-band .msp-v2-kicker { color: rgba(255,255,255,.8); }
.msp-v2-contact-band__grid > div:first-child p { max-width: 620px; margin-top: 22px; color: rgba(255,255,255,.78); }
.msp-v2-contact-band__form { padding: 36px; background: #fff; color: var(--msp-text); box-shadow: 0 28px 70px rgba(5,32,52,.22); }


/* MSP 4.1: spokojniejszy hero i pełna lista kierunków. */
.msp-v2-hero__grid {
  grid-template-columns: minmax(0,1fr) minmax(440px,1fr);
  gap: clamp(42px,5.8vw,86px);
}
.msp-v2-hero__content h1 {
  max-width: 700px;
  font-size: clamp(3rem,4.55vw,5.15rem);
  line-height: 1.01;
  letter-spacing: -.038em;
}
.msp-v2-hero__visual,
.msp-v2-hero__visual > img {
  min-height: 610px;
  height: 610px;
}
.msp-v2-main .msp-v2-kicker {
  display: none !important;
}
.msp-v2-heading {
  margin-bottom: 42px;
}
.msp-v2-heading h2 {
  max-width: 820px;
}
#kierunki .msp-v2-card-grid--3 {
  grid-template-columns: repeat(3,minmax(0,1fr));
}
#kierunki .msp-v2-direction-card:last-child:nth-child(3n + 1) {
  grid-column: 1 / 2;
}
@media (max-width: 980px) {
  .msp-v2-hero__grid { grid-template-columns: 1fr; }
  .msp-v2-hero__visual,
  .msp-v2-hero__visual > img { min-height: 520px; height: 520px; }
  #kierunki .msp-v2-card-grid--3 { grid-template-columns: repeat(2,minmax(0,1fr)); }
  #kierunki .msp-v2-direction-card:last-child:nth-child(3n + 1) { grid-column: auto; }
}
@media (max-width: 640px) {
  .msp-v2-hero__content h1 { font-size: clamp(2.6rem,12vw,3.65rem); }
  .msp-v2-hero__visual,
  .msp-v2-hero__visual > img { min-height: 410px; height: 410px; }
  #kierunki .msp-v2-card-grid--3 { grid-template-columns: 1fr; }
}

/* MSP 4.2: hero bez przeskalowanego nagłówka. */
.msp-v2-hero {
  padding: 34px 0 68px;
}
.msp-v2-hero__grid {
  grid-template-columns: minmax(0, .96fr) minmax(460px, 1.04fr);
  gap: clamp(42px, 5vw, 78px);
}
.msp-v2-hero__content {
  padding: 34px 0;
}
.msp-v2-hero__content h1 {
  max-width: 650px;
  font-size: clamp(2.9rem, 4vw, 4.55rem);
  line-height: 1.015;
}
.msp-v2-hero__content > p {
  max-width: 580px;
  margin-top: 22px;
}
.msp-v2-hero__facts {
  margin-top: 38px;
}
.msp-v2-hero__visual,
.msp-v2-hero__visual > img {
  min-height: 540px;
  height: 540px;
}

/* Kierunki bez wymyślonych zdjęć. */
.msp-v2-card-grid--directions {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--msp-line);
  border-left: 1px solid var(--msp-line);
}
.msp-v2-direction-card--text {
  min-height: 300px;
  overflow: visible;
  border: 0;
  border-right: 1px solid var(--msp-line);
  border-bottom: 1px solid var(--msp-line);
  background: #fff;
}
.msp-v2-direction-card--text .msp-v2-direction-card__body {
  display: flex;
  min-height: 100%;
  padding: 34px;
  flex-direction: column;
  color: var(--msp-text);
  transition: background .2s ease, transform .2s ease;
}
.msp-v2-direction-card--text .msp-v2-direction-card__body:hover {
  background: var(--msp-soft-blue);
}
.msp-v2-direction-card--text .msp-v2-direction-card__body > span {
  position: static;
  display: block;
  width: auto;
  height: auto;
  margin: 0 0 48px;
  border-radius: 0;
  background: transparent;
  color: var(--msp-blue);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .12em;
}
.msp-v2-direction-card--text h3 {
  margin: 0 0 14px;
}
.msp-v2-direction-card--text p {
  margin-bottom: 28px;
  color: var(--msp-muted);
}
.msp-v2-direction-card--text strong {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  color: var(--msp-blue);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.msp-v2-direction-card--text strong b {
  font-size: 1rem;
  font-weight: 500;
}

/* Sekcja wartości ma być czytelna od razu, bez pustej granatowej połaci. */
.msp-v2-values {
  padding: clamp(68px, 6vw, 92px) 0;
  background: var(--msp-navy);
}
.msp-v2-values .msp-v2-heading {
  margin-bottom: 38px;
}
.msp-v2-values .msp-v2-heading h2 {
  max-width: 780px;
  color: #fff !important;
  font-size: clamp(2rem, 3vw, 3.35rem);
}
.msp-v2-values__grid article {
  display: flex;
  min-height: 240px;
  padding: 30px;
  flex-direction: column;
  justify-content: flex-start;
}
.msp-v2-values__grid span {
  margin-bottom: 34px;
  color: #8cc8ea;
}
.msp-v2-values__grid h3 {
  display: block !important;
  margin: 0 0 14px !important;
  color: #fff !important;
  font-size: 1.32rem !important;
  line-height: 1.2 !important;
}
.msp-v2-values__grid p {
  margin: 0;
  color: rgba(255,255,255,.78);
  font-size: .94rem;
  line-height: 1.65;
}

@media (max-width: 980px) {
  .msp-v2-card-grid--directions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .msp-v2-hero__grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .msp-v2-card-grid--directions { grid-template-columns: 1fr; }
  .msp-v2-direction-card--text { min-height: 0; }
  .msp-v2-direction-card--text .msp-v2-direction-card__body { padding: 28px 24px; }
  .msp-v2-direction-card--text .msp-v2-direction-card__body > span { margin-bottom: 28px; }
  .msp-v2-hero__content h1 { font-size: clamp(2.5rem, 10.5vw, 3.35rem); }
  .msp-v2-hero__visual,
  .msp-v2-hero__visual > img { min-height: 400px; height: 400px; }
}


/* ===== components.css ===== */
.msp-v2-button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 28px; border: 1px solid var(--msp-blue); background: var(--msp-blue); color: #fff !important; font-size: .75rem; font-weight: 800; letter-spacing: .075em; text-transform: uppercase; transition: transform .2s ease, background .2s ease, box-shadow .2s ease; }
.msp-v2-button:hover { transform: translateY(-2px); border-color: var(--msp-navy); background: var(--msp-navy); box-shadow: 0 16px 34px rgba(16,39,61,.18); }
.msp-v2-link { display: inline-flex; align-items: center; gap: 10px; color: var(--msp-blue) !important; font-size: .73rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.msp-v2-link::after { content: "→"; transition: transform .2s ease; }
.msp-v2-link:hover::after { transform: translateX(4px); }
.msp-v2-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; margin-top: 34px; }
.msp-v2-card-grid { display: grid; gap: 28px; }
.msp-v2-card-grid--3 { grid-template-columns: repeat(3,minmax(0,1fr)); }
.msp-v2-card-grid--4 { grid-template-columns: repeat(4,minmax(0,1fr)); }
.msp-v2-direction-card, .msp-v2-product-card, .msp-v2-post-card { overflow: hidden; border: 1px solid var(--msp-line); background: #fff; }
.msp-v2-direction-card__image, .msp-v2-product-card__image, .msp-v2-post-card__image { display: block; overflow: hidden; background: var(--msp-soft-blue); }
.msp-v2-direction-card__image { aspect-ratio: 1.18/1; }
.msp-v2-direction-card__image img, .msp-v2-post-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.msp-v2-direction-card:hover img, .msp-v2-post-card:hover img { transform: scale(1.035); }
.msp-v2-direction-card__body { position: relative; padding: 34px; }
.msp-v2-direction-card__body > span { position: absolute; top: -28px; right: 26px; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--msp-blue); color: #fff; font-size: .78rem; font-weight: 800; }
.msp-v2-direction-card h3 { margin-bottom: 14px; }
.msp-v2-direction-card p { color: var(--msp-muted); }
.msp-v2-product-card__image { aspect-ratio: 1/1; }
.msp-v2-product-card__image img { width: 100%; height: 100%; object-fit: contain; padding: 18px; }
.msp-v2-product-card__body { padding: 26px; }
.msp-v2-product-card__body > span, .msp-v2-post-card > div > span { display: block; margin-bottom: 10px; color: var(--msp-blue); font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.msp-v2-product-card h3, .msp-v2-post-card h3 { margin-bottom: 12px; }
.msp-v2-product-card p, .msp-v2-post-card p { color: var(--msp-muted); font-size: .92rem; }
.msp-v2-product-card__price { margin: 14px 0; color: var(--msp-navy); font-weight: 800; }
.msp-v2-post-card__image { aspect-ratio: 1.45/1; }
.msp-v2-post-card > div { padding: 28px; }
.msp-v2-checklist { margin: 24px 0 30px; padding: 0; list-style: none; }
.msp-v2-checklist li { position: relative; margin: 10px 0; padding-left: 28px; }
.msp-v2-checklist li::before { position: absolute; top: .65em; left: 0; width: 14px; height: 1px; background: var(--msp-blue); content: ""; }
.msp-v2-accordion details { border-top: 1px solid var(--msp-line); }
.msp-v2-accordion details:last-child { border-bottom: 1px solid var(--msp-line); }
.msp-v2-accordion summary { display: flex; justify-content: space-between; gap: 28px; padding: 22px 2px; color: var(--msp-navy); font-weight: 750; cursor: pointer; list-style: none; }
.msp-v2-accordion summary::-webkit-details-marker { display: none; }
.msp-v2-accordion summary span { transition: transform .2s ease; }
.msp-v2-accordion details[open] summary span { transform: rotate(45deg); }
.msp-v2-accordion details > div { padding: 0 46px 22px 2px; color: var(--msp-muted); }
.msp-v2-breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 34px; color: var(--msp-muted); font-size: .76rem; }
.msp-v2-breadcrumbs a:hover { color: var(--msp-blue); }
.msp-v2-sidebar-card { padding: 34px; border: 1px solid var(--msp-line); background: var(--msp-paper); }
.msp-v2-sidebar-card + .msp-v2-sidebar-card { margin-top: 22px; }
.msp-v2-sidebar-card h3 { margin-bottom: 16px; }
.msp-v2-sidebar-card p { color: var(--msp-muted); }
.msp-v2-sidebar-card .msp-v2-button { width: 100%; margin: 10px 0 20px; }
.msp-v2-sidebar-card--sticky { position: sticky; top: 124px; }
.msp-v2-sidebar-card--muted { background: var(--msp-soft-blue); }
.msp-v2-form-placeholder { padding: 38px; border: 1px dashed rgba(7,93,150,.35); background: rgba(255,255,255,.72); }
.msp-v2-form-placeholder strong { display: block; margin-bottom: 10px; color: var(--msp-navy); font-family: var(--msp-serif); font-size: 1.6rem; }

/* MSP 4.2: artykuł bez miniatury nie dostaje zdjęcia zastępczego. */
.msp-v2-post-card--no-image {
  min-height: 310px;
  display: flex;
  align-items: stretch;
  background: var(--msp-paper);
}
.msp-v2-post-card--no-image > div {
  display: flex;
  width: 100%;
  padding: 34px;
  flex-direction: column;
}
.msp-v2-post-card--no-image .msp-v2-link {
  margin-top: auto;
}


/* ===== pages.css ===== */
.msp-v2-page-hero { padding: 42px 0 74px; background: linear-gradient(180deg, var(--msp-paper), #fff); }
.msp-v2-page-hero__grid { display: grid; grid-template-columns: minmax(0,.92fr) minmax(430px,1.08fr); align-items: center; gap: clamp(50px,8vw,110px); }
.msp-v2-page-hero__content { padding: 42px 0; }
.msp-v2-page-hero__content h1 { font-size: 5rem; font-size: clamp(3rem,5.4vw,6rem); }
.msp-v2-page-hero__content p { max-width: 620px; margin: 26px 0 30px; color: var(--msp-muted); font-size: 1.08rem; }
.msp-v2-page-hero__media { position: relative; }
.msp-v2-page-hero__media::after { position: absolute; right: -16px; bottom: -16px; width: 110px; height: 110px; border-right: 1px solid var(--msp-blue); border-bottom: 1px solid var(--msp-blue); content: ""; }
.msp-v2-page-hero__media img { width: 100%; height: 520px; object-fit: cover; }
.msp-v2-content-shell { display: grid; grid-template-columns: minmax(0,1fr) 340px; align-items: start; gap: clamp(48px,7vw,92px); }
.msp-v2-content { min-width: 0; font-size: 1.02rem; }
.msp-v2-content > :first-child { margin-top: 0; }
.msp-v2-content h2, .msp-v2-content h3, .msp-v2-content h4 { margin: 1.7em 0 .6em; }
.msp-v2-content h2 { font-size: 2.8rem; font-size: clamp(2rem,3.4vw,3.5rem); }
.msp-v2-content h3 { font-size: 1.8rem; font-size: clamp(1.45rem,2.2vw,2.15rem); }
.msp-v2-content p, .msp-v2-content li { color: #42515d; }
.msp-v2-content a { color: var(--msp-blue); text-decoration: underline; text-underline-offset: 3px; }
.msp-v2-content blockquote { margin: 34px 0; padding: 24px 28px; border-left: 3px solid var(--msp-blue); background: var(--msp-soft-blue); color: var(--msp-navy); font-family: var(--msp-serif); font-size: 1.22rem; font-style: italic; }
.msp-v2-source-content .fusion-fullwidth { padding-right: 0 !important; padding-left: 0 !important; }
.msp-v2-source-content .fusion-builder-row { max-width: none !important; }
.msp-v2-source-content .fusion-layout-column { margin-bottom: 28px !important; }
.msp-v2-source-content .fusion-column-wrapper { min-height: 0 !important; }
.msp-v2-source-content .fusion-button, .msp-v2-source-content .button, .msp-v2-source-content input[type="submit"] { border-radius: 0 !important; border-color: var(--msp-blue) !important; background: var(--msp-blue) !important; color: #fff !important; font-weight: 800 !important; letter-spacing: .04em; }
.msp-v2-source-content .fusion-content-boxes .content-container, .msp-v2-source-content .fusion-text { line-height: 1.75; }
.msp-v2-source-content .fusion-separator { border-color: var(--msp-line) !important; }
.msp-v2-source-content img { height: auto; }
.msp-v2-directory-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); border-top: 1px solid var(--msp-line); border-left: 1px solid var(--msp-line); }
.msp-v2-directory-grid a { display: grid; grid-template-columns: 54px minmax(0,1fr) auto; align-items: center; min-height: 116px; gap: 18px; padding: 24px 28px; border-right: 1px solid var(--msp-line); border-bottom: 1px solid var(--msp-line); }
.msp-v2-directory-grid a:hover { background: var(--msp-paper); }
.msp-v2-directory-grid span { color: var(--msp-blue); font-size: .72rem; font-weight: 800; }
.msp-v2-directory-grid strong { color: var(--msp-navy); font-family: var(--msp-serif); font-size: 1.35rem; font-weight: 500; }
.msp-v2-directory-grid i { color: var(--msp-blue); font-style: normal; }
.msp-v2-stats, .msp-v2-training-meta { background: var(--msp-navy); color: rgba(255,255,255,.72); }
.msp-v2-stats__grid, .msp-v2-training-meta__grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); }
.msp-v2-stats__grid > div, .msp-v2-training-meta__grid > div { min-height: 130px; padding: 28px; border-right: 1px solid rgba(255,255,255,.15); }
.msp-v2-stats strong, .msp-v2-stats span, .msp-v2-training-meta strong, .msp-v2-training-meta span { display: block; }
.msp-v2-stats strong, .msp-v2-training-meta strong { color: #fff; font-family: var(--msp-serif); font-size: 1.25rem; font-weight: 500; }
.msp-v2-stats span, .msp-v2-training-meta span { margin-top: 8px; font-size: .8rem; }
.msp-v2-training-meta span { margin: 0 0 8px; color: #8cc8ea; font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.msp-v2-team-source .fusion-row { display: grid !important; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 28px; }
.msp-v2-team-source .fusion-layout-column { width: auto !important; margin: 0 !important; }
.msp-v2-team-source .fusion-column-wrapper { height: 100%; padding: 28px !important; border: 1px solid var(--msp-line); background: #fff; }
.msp-v2-contact-grid { display: grid; grid-template-columns: minmax(0,.8fr) minmax(420px,1.2fr); gap: clamp(54px,8vw,120px); }
.msp-v2-contact-details h2 { margin-bottom: 34px; }
.msp-v2-contact-list { border-top: 1px solid var(--msp-line); }
.msp-v2-contact-list > * { display: grid; grid-template-columns: 110px minmax(0,1fr); gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--msp-line); }
.msp-v2-contact-list span { color: var(--msp-muted); font-size: .76rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.msp-v2-contact-list strong { color: var(--msp-navy); font-weight: 650; }
.msp-v2-contact-form { padding: clamp(34px,5vw,58px); background: var(--msp-paper); }
.msp-v2-contact-form input:not([type="submit"]), .msp-v2-contact-form textarea, .msp-v2-contact-form select { width: 100%; border: 0; border-bottom: 1px solid var(--msp-line); border-radius: 0; background: transparent; }

/* MSP 5.2.0: profesjonalna strona rekrutacji */
.msp-recruitment-page {
  background: var(--msp-paper);
}
.msp-recruitment-hero {
  padding: clamp(78px, 8vw, 130px) 0 clamp(62px, 7vw, 100px);
  background: #fff;
  border-bottom: 1px solid var(--msp-line);
}
.msp-recruitment-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, .7fr);
  gap: clamp(48px, 7vw, 110px);
  align-items: end;
}
.msp-recruitment-hero h1 {
  max-width: 940px;
  margin: 16px 0 0;
  color: var(--msp-navy);
  font-family: var(--msp-serif);
  font-size: clamp(3rem, 5vw, 5.4rem);
  font-weight: 500;
  letter-spacing: -.055em;
  line-height: .98;
}
.msp-recruitment-hero__intro p {
  margin: 0 0 30px;
  color: #526574;
  font-size: 1.05rem;
  line-height: 1.78;
}
.msp-recruitment-hero .msp-v2-actions {
  flex-wrap: wrap;
}
.msp-v2-button--outline {
  border: 1px solid var(--msp-navy);
  background: transparent;
  color: var(--msp-navy);
}
.msp-v2-button--outline:hover {
  background: var(--msp-navy);
  color: #fff;
}
.msp-recruitment-steps {
  border-bottom: 1px solid var(--msp-line);
  background: var(--msp-navy);
}
.msp-recruitment-steps__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.msp-recruitment-steps article {
  min-height: 176px;
  padding: 34px 34px 30px;
  border-right: 1px solid rgba(255,255,255,.14);
}
.msp-recruitment-steps article:last-child {
  border-right: 0;
}
.msp-recruitment-steps span {
  display: block;
  margin-bottom: 24px;
  color: #79b8df;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .12em;
}
.msp-recruitment-steps strong {
  display: block;
  margin-bottom: 8px;
  color: #fff;
  font-size: 1.05rem;
}
.msp-recruitment-steps p {
  margin: 0;
  color: rgba(255,255,255,.67);
  line-height: 1.65;
}
.msp-recruitment-offer {
  padding: clamp(80px, 9vw, 130px) 0;
}
.msp-recruitment-offer--schools {
  background: var(--msp-paper);
}
.msp-recruitment-offer--trainings {
  background: #fff;
}
.msp-recruitment-offer .msp-v2-heading {
  align-items: end;
  margin-bottom: 44px;
}
.msp-recruitment-offer .msp-v2-heading h2 {
  max-width: 850px;
  margin: 12px 0 0;
  font-size: clamp(2.45rem, 4vw, 4.2rem);
  line-height: 1.02;
  letter-spacing: -.045em;
}
.msp-recruitment-school-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.msp-recruitment-school-card {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  gap: 24px;
  min-height: 190px;
  align-items: start;
  padding: 30px;
  border: 1px solid var(--msp-line);
  background: #fff;
  color: inherit;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.msp-recruitment-school-card:hover {
  transform: translateY(-3px);
  border-color: rgba(7,93,150,.42);
  box-shadow: 0 22px 55px rgba(16,39,61,.09);
}
.msp-recruitment-school-card > span {
  color: var(--msp-blue);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .1em;
}
.msp-recruitment-school-card h3 {
  margin: 0 0 12px;
  color: var(--msp-navy);
  font-family: var(--msp-serif);
  font-size: clamp(1.55rem, 2.1vw, 2.15rem);
  font-weight: 500;
  line-height: 1.08;
}
.msp-recruitment-school-card p {
  margin: 0;
  color: #60717d;
  line-height: 1.68;
}
.msp-recruitment-school-card > strong {
  align-self: end;
  color: var(--msp-blue);
  font-size: .72rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  white-space: nowrap;
}
.msp-recruitment-training-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--msp-line);
  border-left: 1px solid var(--msp-line);
}
.msp-recruitment-training-grid a {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 18px;
  min-height: 112px;
  align-items: center;
  padding: 24px;
  border-right: 1px solid var(--msp-line);
  border-bottom: 1px solid var(--msp-line);
  background: #fff;
  color: var(--msp-navy);
  transition: background .18s ease, color .18s ease;
}
.msp-recruitment-training-grid a:hover {
  background: var(--msp-blue);
  color: #fff;
}
.msp-recruitment-training-grid span {
  color: var(--msp-blue);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .1em;
}
.msp-recruitment-training-grid a:hover span {
  color: rgba(255,255,255,.72);
}
.msp-recruitment-training-grid strong {
  font-size: .92rem;
  line-height: 1.38;
}
.msp-recruitment-contact {
  padding: clamp(68px, 8vw, 108px) 0;
  background: var(--msp-blue);
}
.msp-recruitment-contact__grid {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 70px;
  align-items: center;
}
.msp-recruitment-contact h2,
.msp-recruitment-contact .msp-v2-kicker {
  color: #fff;
}
.msp-recruitment-contact h2 {
  margin: 12px 0 18px;
  font-size: clamp(2.3rem, 3.8vw, 4rem);
  line-height: 1.03;
}
.msp-recruitment-contact p {
  max-width: 760px;
  margin: 0;
  color: rgba(255,255,255,.78);
  font-size: 1.02rem;
  line-height: 1.7;
}
.msp-recruitment-contact__links {
  display: grid;
  gap: 12px;
}
.msp-recruitment-contact__links a {
  display: flex;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid rgba(255,255,255,.5);
  color: #fff;
  font-weight: 800;
  text-align: center;
}
.msp-recruitment-contact__links a:hover {
  background: #fff;
  color: var(--msp-blue);
}
.msp-v2-feature--shortcode {
  display: block;
  overflow: hidden;
}
.msp-v2-feature--shortcode > * {
  width: 100%;
  margin: 0;
}
@media (max-width: 1100px) {
  .msp-recruitment-school-grid,
  .msp-recruitment-hero__grid,
  .msp-recruitment-contact__grid {
    grid-template-columns: 1fr;
  }
  .msp-recruitment-training-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 760px) {
  .msp-recruitment-hero {
    padding-top: 64px;
  }
  .msp-recruitment-steps__grid,
  .msp-recruitment-training-grid {
    grid-template-columns: 1fr;
  }
  .msp-recruitment-steps article {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,.14);
  }
  .msp-recruitment-steps article:last-child {
    border-bottom: 0;
  }
  .msp-recruitment-offer .msp-v2-heading {
    display: block;
  }
  .msp-recruitment-offer .msp-v2-heading .msp-v2-button {
    margin-top: 24px;
  }
  .msp-recruitment-school-card {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 16px;
    padding: 24px 20px;
  }
  .msp-recruitment-school-card > strong {
    grid-column: 2;
    justify-self: start;
  }
}


/* ===== woocommerce.css ===== */
body.msp-v2-site .woocommerce ul.products { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 28px; margin: 0; }
body.msp-v2-site .woocommerce ul.products::before, body.msp-v2-site .woocommerce ul.products::after { display: none; }
body.msp-v2-site .woocommerce ul.products li.product { width: auto !important; margin: 0 !important; padding: 0 0 24px; border: 1px solid var(--msp-line); background: #fff; }
body.msp-v2-site .woocommerce ul.products li.product a img { margin: 0 0 24px; aspect-ratio: 1/1; object-fit: contain; background: var(--msp-paper); }
body.msp-v2-site .woocommerce ul.products li.product .woocommerce-loop-product__title, body.msp-v2-site .woocommerce ul.products li.product .price, body.msp-v2-site .woocommerce ul.products li.product .button { margin-right: 24px; margin-left: 24px; }
body.msp-v2-site .woocommerce ul.products li.product .button { border-radius: 0; background: var(--msp-blue); color: #fff; }
body.msp-v2-site .woocommerce div.product .product_title { font-family: var(--msp-serif); font-size: clamp(2.4rem,4vw,4.4rem); font-weight: 500; }
body.msp-v2-site .woocommerce div.product .summary { padding: 34px; background: var(--msp-paper); }
@media (max-width: 680px) { body.msp-v2-site .woocommerce ul.products { grid-template-columns: 1fr; } }


/* ===== tutor.css ===== */
body.msp-v2-site .tutor-wrap { width: min(calc(100% - 48px), var(--msp-container)); margin: 72px auto; }
body.msp-v2-site .tutor-card { border-color: var(--msp-line); border-radius: 0; box-shadow: none; }
body.msp-v2-site .tutor-btn-primary, body.msp-v2-site .tutor-btn-primary:hover { border-color: var(--msp-blue); background: var(--msp-blue); }
body.msp-v2-site .tutor-color-primary, body.msp-v2-site a.tutor-color-primary { color: var(--msp-blue); }
body.msp-v2-site .tutor-dashboard .tutor-dashboard-left-menu .tutor-dashboard-permalinks li.active a { background: var(--msp-soft-blue); color: var(--msp-navy); }


/* ===== stage2.css ===== */
/* MSP Stage 2: O nas, sklep, produkt, koszyk i checkout. */

.msp-v2-header__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}
.msp-v2-shop-link {
  color: var(--msp-navy);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.msp-v2-cart-link {
  position: relative;
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--msp-line);
  color: var(--msp-navy);
  background: #fff;
}
.msp-v2-cart-link svg { width: 21px; height: 21px; }
.msp-cart-count {
  position: absolute;
  top: -6px;
  right: -6px;
  display: inline-flex;
  min-width: 19px;
  height: 19px;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--msp-blue);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
}

/* O nas */
.msp-about-page { background: #fff; }
.msp-about-hero { padding: clamp(82px, 10vw, 150px) 0 78px; background: var(--msp-paper); }
.msp-about-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, .65fr);
  gap: clamp(48px, 7vw, 110px);
  align-items: end;
}
.msp-about-hero h1 { max-width: 880px; font-size: clamp(3rem, 5.2vw, 5.5rem); line-height: .98; letter-spacing: -.055em; }
.msp-about-hero__lead { padding-bottom: 10px; }
.msp-about-hero__lead p { margin: 0 0 30px; color: #405464; font-size: 1.08rem; line-height: 1.78; }
.msp-about-numbers { border-top: 1px solid var(--msp-line); border-bottom: 1px solid var(--msp-line); }
.msp-about-numbers__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.msp-about-numbers article { min-height: 150px; padding: 34px 28px; border-right: 1px solid var(--msp-line); }
.msp-about-numbers article:last-child { border-right: 0; }
.msp-about-numbers strong { display: block; margin-bottom: 10px; color: var(--msp-navy); font-family: var(--msp-serif); font-size: 2rem; font-weight: 500; }
.msp-about-numbers span { color: #65737e; font-size: .86rem; line-height: 1.5; }
.msp-about-section { padding: clamp(90px, 10vw, 150px) 0; }
.msp-about-section__grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(55px, 8vw, 130px); }
.msp-about-section__heading h2, .msp-about-values h2, .msp-about-cta h2 { font-size: clamp(2.5rem, 4vw, 4.4rem); line-height: 1.03; letter-spacing: -.045em; }
.msp-about-principles { border-top: 1px solid var(--msp-line); }
.msp-about-principles article { display: grid; grid-template-columns: 70px 1fr; gap: 24px; padding: 34px 0; border-bottom: 1px solid var(--msp-line); }
.msp-about-principles article > span { color: var(--msp-blue); font-size: .74rem; font-weight: 800; letter-spacing: .12em; }
.msp-about-principles h3 { margin: 0 0 12px; font-size: 1.5rem; }
.msp-about-principles p { margin: 0; color: #526574; line-height: 1.75; }
.msp-about-values { padding: 100px 0 120px; background: var(--msp-navy); }
.msp-about-values h2, .msp-about-values .msp-v2-kicker { color: #fff; }
.msp-about-values__intro { display: grid; grid-template-columns: .55fr 1.45fr; gap: 40px; align-items: start; margin-bottom: 62px; }
.msp-about-values__grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255,255,255,.16); border-left: 1px solid rgba(255,255,255,.16); }
.msp-about-values__grid article { min-height: 250px; padding: 36px 30px; border-right: 1px solid rgba(255,255,255,.16); border-bottom: 1px solid rgba(255,255,255,.16); }
.msp-about-values__grid h3 { color: #fff; font-size: 1.35rem; }
.msp-about-values__grid p { color: rgba(255,255,255,.7); line-height: 1.72; }
.msp-about-editor-content { padding: 85px 0; }
.msp-about-cta { padding: 82px 0; background: var(--msp-blue); }
.msp-about-cta__inner { display: flex; justify-content: space-between; gap: 50px; align-items: center; }
.msp-about-cta h2, .msp-about-cta .msp-v2-kicker { color: #fff; }
.msp-about-cta h2 { max-width: 760px; }
.msp-about-cta__actions { display: flex; gap: 12px; flex: 0 0 auto; }
.msp-v2-button--light { background: #fff; color: var(--msp-navy); }
.msp-v2-button--outline-light { border: 1px solid rgba(255,255,255,.55); color: #fff; background: transparent; }

/* Shop archive */
.msp-shop-archive, .msp-single-product-page, .msp-commerce-system { background: var(--msp-paper); }
.msp-shop-hero { padding: 95px 0 70px; background: #fff; border-bottom: 1px solid var(--msp-line); }
.msp-shop-hero__grid { display: grid; grid-template-columns: 1.15fr .65fr; gap: 70px; align-items: end; }
.msp-shop-hero h1 { font-size: clamp(3rem, 5vw, 5rem); line-height: 1; letter-spacing: -.05em; }
.msp-shop-hero p { margin: 0; color: #526574; font-size: 1.04rem; line-height: 1.75; }
.msp-shop-categories { position: relative; z-index: 2; background: #fff; border-bottom: 1px solid var(--msp-line); }
.msp-shop-categories__inner { display: flex; gap: 8px; padding-top: 18px; padding-bottom: 18px; overflow-x: auto; }
.msp-shop-categories a { flex: 0 0 auto; padding: 10px 15px; border: 1px solid var(--msp-line); color: var(--msp-navy); font-size: .78rem; font-weight: 750; }
.msp-shop-categories a:hover { border-color: var(--msp-blue); color: var(--msp-blue); }
.msp-shop-loop { padding: 60px 0 100px; }
.msp-shop-toolbar { min-height: 45px; margin-bottom: 26px; }
.msp-shop-toolbar .woocommerce-result-count { color: #687985; }
.msp-shop-toolbar .woocommerce-ordering select { min-height: 42px; padding: 0 34px 0 13px; border: 1px solid var(--msp-line); background: #fff; }
.woocommerce ul.products,
.msp-shop-loop ul.products { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px !important; margin: 0 !important; }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none !important; }
.woocommerce ul.products li.product.msp-product-card { float: none !important; width: auto !important; min-height: 100%; margin: 0 !important; padding: 0 !important; border: 1px solid var(--msp-line); background: #fff; }
.msp-product-card__link { display: flex; min-height: 100%; flex-direction: column; color: inherit; }
.msp-product-card__media { aspect-ratio: 4 / 3; margin: 0; overflow: hidden; background: #fff; border-bottom: 1px solid var(--msp-line); }
.msp-product-card__media img { width: 100%; height: 100%; object-fit: contain; padding: 18px; }
.msp-product-card__body { display: flex; flex: 1; flex-direction: column; padding: 28px; }
.msp-product-card__category { margin-bottom: 14px; color: var(--msp-blue); font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.msp-product-card__category a { color: inherit; }
.msp-product-card h2 { margin: 0 0 15px !important; color: var(--msp-navy); font-family: var(--msp-serif); font-size: clamp(1.55rem, 2vw, 2.15rem) !important; font-weight: 500; line-height: 1.08; }
.msp-product-card p { margin: 0 0 30px; color: #5b6c78; line-height: 1.68; }
.msp-product-card__footer { display: flex; justify-content: space-between; gap: 18px; align-items: end; margin-top: auto; padding-top: 22px; border-top: 1px solid var(--msp-line); }
.msp-product-card__price { color: var(--msp-navy); font-size: 1.15rem; font-weight: 800; }
.msp-product-card__cta { color: var(--msp-blue); font-size: .74rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.msp-product-card.no-image .msp-product-card__body { min-height: 370px; }

/* Single product landing */
.msp-single-product-page { padding: 65px 0 110px; }
.msp-product-landing { width: 100%; }
.msp-product-landing__hero { display: grid; grid-template-columns: minmax(0, .9fr) minmax(420px, 1.1fr); gap: 70px; padding: clamp(48px, 6vw, 80px); background: #fff; border: 1px solid var(--msp-line); }
.msp-product-landing.no-image .msp-product-landing__hero { grid-template-columns: minmax(0, 900px); justify-content: center; }
.msp-product-landing__image { display: flex; min-height: 520px; align-items: center; justify-content: center; margin: 0; background: var(--msp-paper); }
.msp-product-landing__image img { width: 100%; height: 100%; max-height: 620px; object-fit: contain; padding: 30px; }
.msp-product-landing__summary { align-self: center; }
.msp-product-landing__category { margin-bottom: 20px; color: var(--msp-blue); font-size: .72rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.msp-product-landing__category a { color: inherit; }
.msp-product-landing h1 { margin: 0 0 24px; font-size: clamp(3rem, 4.8vw, 5.2rem); line-height: .98; letter-spacing: -.052em; }
.msp-product-landing__lead { max-width: 720px; color: #4f6372; font-size: 1.08rem; line-height: 1.78; }
.msp-product-landing__purchase { margin-top: 34px; padding: 28px 0; border-top: 1px solid var(--msp-line); border-bottom: 1px solid var(--msp-line); }
.msp-product-landing__purchase .price { display: block; margin: 0 0 20px !important; color: var(--msp-navy) !important; font-size: 2rem !important; font-weight: 800; }
.msp-product-landing__purchase form.cart { display: flex; gap: 10px; margin: 0 !important; }
.msp-product-landing__purchase .quantity .qty { min-height: 50px; border: 1px solid var(--msp-line); }
.msp-product-landing__purchase .single_add_to_cart_button { min-height: 50px; padding: 0 28px !important; border-radius: 0 !important; background: var(--msp-blue) !important; }
.msp-product-landing__trust { display: grid; gap: 8px; margin: 22px 0 0; padding: 0; list-style: none; color: #687986; font-size: .84rem; }
.msp-product-landing__trust li::before { margin-right: 9px; color: var(--msp-blue); content: "✓"; font-weight: 900; }
.msp-product-benefits { padding: 90px 0 75px; }
.msp-product-benefits__grid { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 28px; border-top: 1px solid var(--msp-line); border-left: 1px solid var(--msp-line); }
.msp-product-benefits article { min-height: 160px; padding: 28px; border-right: 1px solid var(--msp-line); border-bottom: 1px solid var(--msp-line); background: #fff; }
.msp-product-benefits article > span { display: block; margin-bottom: 28px; color: var(--msp-blue); font-size: .72rem; font-weight: 800; }
.msp-product-benefits p { margin: 0; color: var(--msp-navy); font-family: var(--msp-serif); font-size: 1.35rem; line-height: 1.22; }
.msp-product-detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 55px; padding: 65px; background: #fff; border: 1px solid var(--msp-line); }
.msp-product-description h2 { margin-top: 2.2em; font-size: 2rem; }
.msp-product-description h2:first-child { margin-top: 0; }
.msp-product-specs { padding: 30px; background: var(--msp-paper); }
.msp-product-specs h2 { margin: 0 0 22px; font-size: 1.65rem; }
.msp-product-specs dl { margin: 0; }
.msp-product-specs dl > div { padding: 14px 0; border-bottom: 1px solid var(--msp-line); }
.msp-product-specs dt { color: #71808a; font-size: .72rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.msp-product-specs dd { margin: 5px 0 0; color: var(--msp-navy); line-height: 1.5; }
.msp-product-extra { margin-top: 38px; padding: 38px; background: #fff; border: 1px solid var(--msp-line); }
.msp-product-extra .woocommerce-tabs ul.tabs { display: none !important; }
.msp-product-extra .woocommerce-Tabs-panel { display: block !important; margin: 0 !important; }
.msp-product-related { padding-top: 75px; }
.msp-product-related > .related > h2 { margin-bottom: 28px; font-size: clamp(2.2rem, 3vw, 3.4rem); }

/* System commerce pages */
.msp-commerce-system__hero { padding: 80px 0 55px; background: #fff; border-bottom: 1px solid var(--msp-line); }
.msp-commerce-system__hero h1 { font-size: clamp(3rem, 4.5vw, 4.8rem); letter-spacing: -.05em; }
.msp-commerce-system__content { padding: 60px 0 100px; }
.msp-commerce-system .woocommerce { width: 100%; padding: clamp(28px, 4vw, 55px); background: #fff; border: 1px solid var(--msp-line); }
.msp-commerce-system .woocommerce-cart-form table, .msp-commerce-system .shop_table { border-collapse: collapse !important; border: 0 !important; }
.msp-commerce-system .shop_table th, .msp-commerce-system .shop_table td { padding: 18px 12px !important; border-bottom: 1px solid var(--msp-line) !important; }
.msp-commerce-system input.input-text, .msp-commerce-system textarea, .msp-commerce-system select { min-height: 50px; border: 1px solid var(--msp-line) !important; border-radius: 0 !important; background: #fff; }
.msp-commerce-system textarea { min-height: 130px; padding: 14px; }
.msp-commerce-system .button, .msp-commerce-system button.button, .msp-commerce-system #place_order { min-height: 48px; padding: 0 22px !important; border-radius: 0 !important; background: var(--msp-blue) !important; color: #fff !important; }
.msp-commerce-system .cart_totals, .msp-commerce-system #order_review, .msp-commerce-system .woocommerce-checkout-review-order { padding: 28px; background: var(--msp-paper); }
.msp-commerce-system .col2-set { display: grid; grid-template-columns: 1fr 1fr; gap: 35px; }
.msp-commerce-system .col2-set .col-1, .msp-commerce-system .col2-set .col-2 { float: none !important; width: auto !important; }

@media (max-width: 1100px) {
  .msp-v2-header__actions { gap: 7px; }
  .msp-v2-shop-link { display: none; }
  .msp-about-values__grid { grid-template-columns: repeat(2, 1fr); }
  .woocommerce ul.products, .msp-shop-loop ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .msp-product-landing__hero { grid-template-columns: 1fr 1fr; gap: 38px; padding: 45px; }
  .msp-product-detail-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .msp-v2-header__actions { margin-left: auto; }
  .msp-v2-cart-link { width: 42px; height: 42px; }
  .msp-v2-header-cta { display: none; }
  .msp-about-hero__grid, .msp-about-section__grid, .msp-shop-hero__grid, .msp-product-landing__hero, .msp-commerce-system .col2-set { grid-template-columns: 1fr; }
  .msp-about-hero h1 { font-size: clamp(2.8rem, 12vw, 4rem); }
  .msp-about-numbers__grid { grid-template-columns: repeat(2, 1fr); }
  .msp-about-numbers article:nth-child(2) { border-right: 0; }
  .msp-about-values__intro { grid-template-columns: 1fr; }
  .msp-about-values__grid { grid-template-columns: 1fr; }
  .msp-about-cta__inner { display: block; }
  .msp-about-cta__actions { margin-top: 30px; flex-wrap: wrap; }
  .woocommerce ul.products, .msp-shop-loop ul.products { grid-template-columns: 1fr; }
  .msp-product-landing__hero { padding: 30px 24px; }
  .msp-product-landing__image { min-height: 320px; }
  .msp-product-landing h1 { font-size: clamp(2.65rem, 12vw, 4rem); }
  .msp-product-benefits__grid { grid-template-columns: 1fr; }
  .msp-product-detail-grid { padding: 30px 24px; }
  .msp-product-landing__purchase form.cart { flex-wrap: wrap; }
  .msp-commerce-system .woocommerce { padding: 24px 18px; overflow-x: auto; }
}


.msp-product-card__media--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background:
    radial-gradient(circle at top right, rgba(7,93,150,.1), transparent 42%),
    linear-gradient(145deg, #fbfaf7 0%, #f3efe7 100%);
}
.msp-product-card__placeholder-inner {
  display: grid;
  width: 100%;
  height: 100%;
  align-content: center;
  justify-items: center;
  gap: 12px;
  padding: 26px;
  border: 1px solid rgba(7,93,150,.16);
  text-align: center;
}
.msp-product-card__placeholder-kicker {
  color: var(--msp-blue);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.msp-product-card__placeholder-title {
  display: -webkit-box;
  overflow: hidden;
  color: var(--msp-navy);
  font-family: var(--msp-serif);
  font-size: clamp(1.35rem, 1.8vw, 2rem);
  line-height: 1.12;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}
.msp-product-card__placeholder-note {
  color: #6d7d89;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
}


/* MSP 5.1.2: pełne okładki ebooków i innych pionowych miniaturek w archiwum */
.msp-product-card__media { display: flex; align-items: center; justify-content: center; }
.msp-product-card__media img { display: block; width: 100%; height: 100%; object-fit: contain; object-position: center center; padding: 18px; }
.msp-product-card__media--placeholder { background: linear-gradient(180deg, #f6f4ef 0%, #fbfaf7 100%); }


/* MSP 5.1.3: pełne miniatury + CTA dodaj do koszyka w archiwum */
.woocommerce ul.products li.product.msp-product-card {
  display: flex;
}
.msp-product-card__inner {
  display: flex;
  width: 100%;
  min-height: 100%;
  flex-direction: column;
}
.msp-product-card__link {
  min-height: 0;
  flex: 1 1 auto;
}
.msp-product-card__media {
  aspect-ratio: 3 / 4;
  min-height: 320px;
  padding: 18px;
}
.msp-product-card.product_cat-e-booki .msp-product-card__media,
.msp-product-card.product_cat-szkice .msp-product-card__media,
.msp-product-card.product_cat-plakaty-edukacyjne .msp-product-card__media {
  aspect-ratio: 3 / 4;
}
.msp-product-card__media img,
.woocommerce ul.products li.product.msp-product-card .msp-product-card__media img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  object-position: center center !important;
  padding: 0 !important;
  margin: 0 auto !important;
  box-shadow: none !important;
}
.msp-product-card__body {
  padding-bottom: 18px;
}
.msp-product-card__footer {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  align-items: stretch;
  margin-top: 0;
  padding: 0 28px 28px;
  border-top: 0;
}
.msp-product-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 22px;
  border-top: 1px solid var(--msp-line);
}
.msp-product-card__details {
  color: var(--msp-blue);
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.msp-product-card__actions .button,
.msp-product-card__actions .added_to_cart {
  display: inline-flex !important;
  width: 100%;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 18px !important;
  border: 1px solid var(--msp-blue) !important;
  border-radius: 0 !important;
  background: var(--msp-blue) !important;
  color: #fff !important;
  font-size: .8rem !important;
  font-weight: 800 !important;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-align: center;
  line-height: 1.2 !important;
}
.msp-product-card__actions .added_to_cart {
  margin-top: 10px;
  background: transparent !important;
  color: var(--msp-blue) !important;
}
.msp-product-card__actions .ajax_add_to_cart.loading {
  opacity: .75;
}
@media (max-width: 760px) {
  .msp-product-card__media {
    min-height: 280px;
  }
  .msp-product-card__footer,
  .msp-product-card__body {
    padding-left: 22px;
    padding-right: 22px;
  }
}

/* MSP 5.1.4: nowy koszyk i checkout */
.msp-commerce-system__content {
  padding: clamp(42px, 5vw, 72px) 0 clamp(80px, 8vw, 120px);
}
.msp-commerce-system .woocommerce {
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(24px, 3.5vw, 48px) !important;
  border: 1px solid var(--msp-line) !important;
  background: #fff !important;
  box-shadow: 0 18px 55px rgba(16,39,61,.06);
}
.msp-checkout-legacy-strip {
  display: none !important;
}

/* Coupon */
.msp-commerce-system .woocommerce-info,
.msp-commerce-system .woocommerce-message,
.msp-commerce-system .woocommerce-error {
  margin: 0 0 24px !important;
  padding: 16px 18px !important;
  border: 1px solid var(--msp-line) !important;
  border-left: 4px solid var(--msp-blue) !important;
  background: var(--msp-paper) !important;
  color: var(--msp-navy) !important;
}
.msp-commerce-system .checkout_coupon,
.msp-commerce-system .woocommerce-form-coupon,
.msp-commerce-system .coupon,
.msp-commerce-coupon {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: end;
  margin: 0 !important;
}
.msp-commerce-system .checkout_coupon p,
.msp-commerce-system .woocommerce-form-coupon p {
  margin: 0 !important;
}
.msp-commerce-system .checkout_coupon p:first-child,
.msp-commerce-system .woocommerce-form-coupon p:first-child {
  grid-column: 1 / -1;
  color: #5f707e;
  font-size: .9rem;
}
.msp-commerce-system .coupon .input-text,
.msp-commerce-system .checkout_coupon .input-text,
.msp-commerce-system .woocommerce-form-coupon .input-text {
  width: 100% !important;
  min-height: 50px !important;
  margin: 0 !important;
  padding: 0 14px !important;
}
.msp-commerce-system .coupon .button,
.msp-commerce-system .checkout_coupon .button,
.msp-commerce-system .woocommerce-form-coupon .button {
  min-width: 190px;
  white-space: nowrap;
}

/* Koszyk */
.msp-commerce-system .woocommerce-cart-form {
  margin-bottom: 32px;
}
.msp-commerce-system .woocommerce-cart-form table.shop_table {
  width: 100%;
  table-layout: auto;
  border: 1px solid var(--msp-line) !important;
}
.msp-commerce-system .woocommerce-cart-form table.shop_table thead th {
  padding: 14px 16px !important;
  background: var(--msp-paper);
  color: var(--msp-navy);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.msp-commerce-system .woocommerce-cart-form .product-thumbnail img {
  width: 86px !important;
  height: 110px !important;
  object-fit: contain !important;
  background: #fff;
}
.msp-commerce-system .woocommerce-cart-form .product-name a {
  color: var(--msp-navy);
  font-family: var(--msp-serif);
  font-size: 1.18rem;
  font-weight: 600;
}
.msp-commerce-system .woocommerce-cart-form .quantity .qty {
  width: 76px !important;
  min-height: 46px;
  text-align: center;
}
.msp-commerce-system .cart-collaterals {
  display: grid !important;
  grid-template-columns: minmax(0, .9fr) minmax(360px, 1.1fr);
  gap: 36px;
  align-items: start;
  width: 100% !important;
}
.msp-commerce-system .cart-collaterals::before,
.msp-commerce-system .cart-collaterals::after {
  display: none !important;
}
.msp-commerce-system .cart-collaterals .cross-sells,
.msp-commerce-system .cart-collaterals .cart_totals {
  float: none !important;
  width: 100% !important;
  margin: 0 !important;
}
.msp-commerce-system .cart_totals {
  padding: clamp(24px, 3vw, 34px) !important;
  border: 1px solid var(--msp-line);
  background: var(--msp-paper) !important;
}
.msp-commerce-system .cart_totals h2 {
  margin: 0 0 22px !important;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--msp-line);
  font-size: clamp(2rem, 3vw, 3.1rem) !important;
}
.msp-commerce-system .cart_totals table {
  width: 100%;
}
.msp-commerce-system .cart_totals .wc-proceed-to-checkout {
  display: grid;
  gap: 10px;
  padding: 18px 0 0 !important;
}
.msp-commerce-system .cart_totals .checkout-button {
  display: inline-flex !important;
  width: 100%;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  margin: 0 !important;
}

/* Checkout */
.msp-checkout-step-nav {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  width: 100% !important;
  margin: 0 0 34px !important;
  padding: 0 !important;
  border: 1px solid var(--msp-line);
  background: #fff;
  list-style: none !important;
}
.msp-checkout-step-nav > * {
  min-width: 0;
  margin: 0 !important;
  padding: 14px 18px !important;
  border-right: 1px solid var(--msp-line) !important;
  border-bottom: 0 !important;
  color: #6b7a86;
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .03em;
  text-align: center;
}
.msp-checkout-step-nav > *:last-child {
  border-right: 0 !important;
}
.msp-commerce-system form.checkout,
.msp-commerce-system form.woocommerce-checkout,
.msp-checkout-form {
  width: 100% !important;
  max-width: 1180px;
  margin: 0 auto !important;
}
.msp-commerce-system .woocommerce-checkout .col2-set,
.msp-commerce-system #customer_details {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 0 !important;
  width: 100% !important;
  margin: 0 0 34px !important;
}
.msp-commerce-system .woocommerce-checkout .col2-set .col-1,
.msp-commerce-system .woocommerce-checkout .col2-set .col-2,
.msp-commerce-system #customer_details .col-1,
.msp-commerce-system #customer_details .col-2 {
  float: none !important;
  width: 100% !important;
  margin: 0 !important;
}
.msp-commerce-system .woocommerce-billing-fields,
.msp-commerce-system .woocommerce-additional-fields,
.msp-commerce-system .woocommerce-shipping-fields,
.msp-commerce-system #order_review,
.msp-commerce-system .woocommerce-checkout-review-order {
  padding: clamp(24px, 3vw, 36px) !important;
  border: 1px solid var(--msp-line);
  background: #fff;
}
.msp-commerce-system .woocommerce-additional-fields,
.msp-commerce-system .woocommerce-shipping-fields {
  margin-top: 24px;
}
.msp-commerce-system .woocommerce-billing-fields > h3,
.msp-commerce-system .woocommerce-additional-fields > h3,
.msp-commerce-system #order_review_heading {
  margin: 0 0 26px !important;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--msp-line);
  font-size: clamp(1.8rem, 2.5vw, 2.6rem) !important;
}
.msp-commerce-system .woocommerce-billing-fields__field-wrapper,
.msp-commerce-system .woocommerce-shipping-fields__field-wrapper {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 20px;
}
.msp-commerce-system .form-row {
  float: none !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}
.msp-commerce-system .form-row-wide,
.msp-commerce-system #billing_company_field,
.msp-commerce-system #billing_country_field,
.msp-commerce-system #billing_address_1_field,
.msp-commerce-system #billing_address_2_field,
.msp-commerce-system #order_comments_field {
  grid-column: 1 / -1;
}
.msp-commerce-system .form-row label {
  display: block;
  margin: 0 0 7px;
  color: var(--msp-navy);
  font-size: .78rem;
  font-weight: 800;
}
.msp-commerce-system input.input-text,
.msp-commerce-system textarea,
.msp-commerce-system select,
.msp-commerce-system .select2-selection {
  width: 100% !important;
  min-height: 50px !important;
  padding: 0 14px !important;
  border: 1px solid #cfd7de !important;
  border-radius: 0 !important;
  background: #fff !important;
  color: var(--msp-navy) !important;
  box-shadow: none !important;
}
.msp-commerce-system textarea {
  min-height: 140px !important;
  padding-top: 12px !important;
}
.msp-commerce-system .select2-selection__rendered {
  line-height: 48px !important;
}
.msp-commerce-system .select2-selection__arrow {
  height: 48px !important;
}
.msp-commerce-system #order_review_heading {
  margin-top: 42px !important;
}
.msp-commerce-system #payment {
  border-radius: 0 !important;
  background: var(--msp-paper) !important;
}
.msp-commerce-system #place_order,
.msp-commerce-system .wc-proceed-to-checkout .button {
  width: 100% !important;
  min-height: 54px;
}

@media (max-width: 900px) {
  .msp-commerce-system .cart-collaterals {
    grid-template-columns: 1fr;
  }
  .msp-checkout-step-nav {
    grid-template-columns: 1fr;
  }
  .msp-checkout-step-nav > * {
    border-right: 0 !important;
    border-bottom: 1px solid var(--msp-line) !important;
    text-align: left;
  }
  .msp-checkout-step-nav > *:last-child {
    border-bottom: 0 !important;
  }
}

@media (max-width: 680px) {
  .msp-commerce-system__hero {
    padding: 52px 0 34px;
  }
  .msp-commerce-system__hero h1 {
    font-size: clamp(2.5rem, 12vw, 3.8rem);
  }
  .msp-commerce-system .woocommerce {
    padding: 18px 14px !important;
    overflow: visible !important;
  }
  .msp-commerce-system .checkout_coupon,
  .msp-commerce-system .woocommerce-form-coupon,
  .msp-commerce-system .coupon,
  .msp-commerce-coupon {
    grid-template-columns: 1fr;
  }
  .msp-commerce-system .coupon .button,
  .msp-commerce-system .checkout_coupon .button,
  .msp-commerce-system .woocommerce-form-coupon .button {
    width: 100%;
    min-width: 0;
  }
  .msp-commerce-system .woocommerce-billing-fields__field-wrapper,
  .msp-commerce-system .woocommerce-shipping-fields__field-wrapper {
    grid-template-columns: 1fr;
  }
  .msp-commerce-system .form-row-wide,
  .msp-commerce-system #billing_company_field,
  .msp-commerce-system #billing_country_field,
  .msp-commerce-system #billing_address_1_field,
  .msp-commerce-system #billing_address_2_field,
  .msp-commerce-system #order_comments_field {
    grid-column: auto;
  }
  .msp-commerce-system .woocommerce-cart-form table.shop_table,
  .msp-commerce-system .woocommerce-cart-form table.shop_table tbody,
  .msp-commerce-system .woocommerce-cart-form table.shop_table tr,
  .msp-commerce-system .woocommerce-cart-form table.shop_table td {
    display: block !important;
    width: 100% !important;
  }
  .msp-commerce-system .woocommerce-cart-form table.shop_table thead {
    display: none !important;
  }
  .msp-commerce-system .woocommerce-cart-form table.shop_table tr.cart_item {
    position: relative;
    padding: 18px 14px;
    border-bottom: 1px solid var(--msp-line);
  }
  .msp-commerce-system .woocommerce-cart-form table.shop_table td {
    padding: 8px 0 !important;
    border: 0 !important;
    text-align: left !important;
  }
  .msp-commerce-system .woocommerce-cart-form table.shop_table td::before {
    float: none !important;
    margin-right: 8px;
  }
  .msp-commerce-system .woocommerce-cart-form .product-remove {
    position: absolute;
    top: 10px;
    right: 10px;
    width: auto !important;
  }
  .msp-commerce-system .woocommerce-cart-form .product-thumbnail img {
    width: 100px !important;
    height: 130px !important;
  }
  .msp-commerce-system .woocommerce-cart-form td.actions {
    padding-top: 18px !important;
  }
}


/* ===== responsive.css ===== */
@media (max-width: 1180px) {
  .msp-v2-header__inner { grid-template-columns: 180px minmax(0,1fr) auto; gap: 20px; }
  .msp-v2-nav__list { gap: 18px; }
  .msp-v2-nav__list > li > a { font-size: .66rem; }
  .msp-v2-hero__grid { grid-template-columns: minmax(0,.9fr) minmax(410px,1.1fr); gap: 48px; }
  .msp-v2-hero__visual, .msp-v2-hero__visual > img { min-height: 590px; height: 590px; }
  .msp-v2-card-grid--4 { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .msp-v2-values__grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .msp-v2-footer__grid { grid-template-columns: 1.35fr 1fr 1fr; }
  .msp-v2-footer__contact { grid-column: 1 / -1; }
}

@media (max-width: 980px) {
  .msp-v2-container { width: min(calc(100% - 36px), var(--msp-container)); }
  .msp-v2-announcement { display: none; }
  .msp-v2-header__inner { min-height: 82px; grid-template-columns: 1fr auto auto; }
  .msp-v2-brand__logo { max-height: 62px; }
  .msp-v2-menu-toggle { display: block; order: 3; }
  .msp-v2-header-cta { order: 2; }
  .msp-v2-nav { position: absolute; top: 100%; left: 0; width: 100%; max-height: calc(100vh - 82px); padding: 22px; visibility: hidden; overflow-y: auto; opacity: 0; transform: translateY(-8px); border-top: 1px solid var(--msp-line); background: #fff; box-shadow: var(--msp-shadow); transition: .2s ease; }
  .msp-v2-nav.is-open { visibility: visible; opacity: 1; transform: none; }
  .msp-v2-nav__list { display: block; }
  .msp-v2-nav__list > li > a { padding: 12px 0; font-size: .8rem; }
  .msp-v2-nav .sub-menu { position: static; display: block; min-width: 0; padding: 0 0 8px 18px; visibility: visible; opacity: 1; transform: none; border: 0; box-shadow: none; }
  .msp-v2-hero { background: var(--msp-paper); }
  .msp-v2-hero::after { display: none; }
  .msp-v2-hero__grid, .msp-v2-about__grid, .msp-v2-feature, .msp-v2-faq__grid, .msp-v2-contact-band__grid, .msp-v2-page-hero__grid, .msp-v2-contact-grid { grid-template-columns: 1fr; }
  .msp-v2-hero__content { padding-bottom: 10px; }
  .msp-v2-hero__visual { width: min(100%,760px); }
  .msp-v2-about__image { width: min(88%,620px); }
  .msp-v2-about__card { width: min(92%,780px); margin: -90px 0 0 auto; }
  .msp-v2-card-grid--3 { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .msp-v2-card-grid--3 > :last-child { grid-column: 1 / -1; }
  .msp-v2-category-cloud { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .msp-v2-content-shell { grid-template-columns: 1fr; }
  .msp-v2-sidebar-card--sticky { position: static; }
  .msp-v2-stats__grid, .msp-v2-training-meta__grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .msp-v2-team-source .fusion-row { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .msp-v2-footer__grid { grid-template-columns: 1.4fr 1fr 1fr; }
}

@media (max-width: 680px) {
  body.msp-v2-site h1 { font-size: clamp(2.65rem,13vw,4.2rem); }
  body.msp-v2-site h2 { font-size: clamp(2.05rem,9vw,3.15rem); }
  .msp-v2-container { width: min(calc(100% - 28px), var(--msp-container)); }
  .msp-v2-section { padding: 70px 0; }
  .msp-v2-header__inner { grid-template-columns: 1fr auto; }
  .msp-v2-header-cta { display: none; }
  .msp-v2-menu-toggle { order: 2; }
  .msp-v2-hero { padding: 24px 0 54px; }
  .msp-v2-hero__grid { display: flex; flex-direction: column; gap: 34px; }
  .msp-v2-hero__content { padding: 24px 0 0; }
  .msp-v2-hero__facts { grid-template-columns: 1fr; }
  .msp-v2-hero__visual, .msp-v2-hero__visual > img { min-height: 470px; height: 470px; }
  .msp-v2-hero__visual::before { right: 8px; }
  .msp-v2-hero__note { right: 12px; bottom: 14px; }
  .msp-v2-actions { align-items: flex-start; flex-direction: column; gap: 18px; }
  .msp-v2-about__image { width: 100%; }
  .msp-v2-about__image img { min-height: 480px; }
  .msp-v2-about__card { width: calc(100% - 18px); margin: -46px 0 0 auto; padding: 34px 26px; }
  .msp-v2-heading { align-items: flex-start; flex-direction: column; margin-bottom: 36px; }
  .msp-v2-card-grid--3, .msp-v2-card-grid--4, .msp-v2-values__grid, .msp-v2-category-cloud, .msp-v2-directory-grid, .msp-v2-stats__grid, .msp-v2-training-meta__grid, .msp-v2-team-source .fusion-row { grid-template-columns: 1fr; }
  .msp-v2-card-grid--3 > :last-child { grid-column: auto; }
  .msp-v2-feature__media, .msp-v2-feature__media img { min-height: 380px; height: 380px; }
  .msp-v2-values__grid article { min-height: 235px; }
  .msp-v2-values__grid span { margin-bottom: 42px; }
  .msp-v2-page-hero { padding-top: 28px; }
  .msp-v2-page-hero__media img { height: 420px; }
  .msp-v2-contact-band__form { padding: 24px; }
  .msp-v2-contact-list > * { grid-template-columns: 1fr; gap: 6px; }
  .msp-v2-footer__grid { grid-template-columns: 1fr; }
  .msp-v2-footer__contact { grid-column: auto; }
  .msp-v2-footer__bottom { align-items: flex-start; flex-direction: column; padding: 20px 0; }
  .msp-v2-footer__legal { display: block; }
}


/* ===== unified.css ===== */
/* MSP V3: jedna rama wizualna dla strony głównej i wszystkich zwykłych podstron. */
body.msp-v2-site {
  overflow-x: hidden;
  background: var(--msp-paper);
}
body.msp-v2-site .fusion-header-wrapper,
body.msp-v2-site .fusion-page-title-bar,
body.msp-v2-site #slidingbar-area,
body.msp-v2-site .fusion-footer,
body.msp-v2-site #side-header {
  display: none !important;
}
body.msp-v2-site .msp-v2-main {
  min-height: 48vh;
}

.msp-v2-header {
  position: sticky;
  top: 0;
  z-index: 999;
}
.admin-bar .msp-v2-header { top: 32px; }
.msp-v2-header__inner {
  min-height: 92px;
  grid-template-columns: 172px minmax(0, 1fr) auto;
  gap: 24px;
}
.msp-v2-brand__logo {
  max-width: 158px;
  max-height: 64px;
}
.msp-v2-nav__list {
  justify-content: flex-end;
  gap: clamp(13px, 1.28vw, 24px);
}
.msp-v2-nav__list > li > a {
  padding: 34px 0 31px;
  font-size: .66rem;
  letter-spacing: .045em;
  white-space: nowrap;
}
.msp-v2-header-cta {
  min-height: 42px;
  padding: 0 17px;
}

.msp-v2-page-hero {
  overflow: hidden;
  padding: 34px 0 78px;
  background: linear-gradient(90deg, var(--msp-paper) 0 61%, #fff 61%);
}
.msp-v2-page-hero__grid {
  grid-template-columns: minmax(0, .88fr) minmax(440px, 1.12fr);
  gap: clamp(48px, 7vw, 104px);
}
.msp-v2-page-hero__content h1 {
  max-width: 820px;
  font-size: clamp(3rem, 5.2vw, 5.8rem);
  line-height: .98;
}
.msp-v2-page-hero__content p {
  max-width: 650px;
  font-size: 1.06rem;
  line-height: 1.75;
}
.msp-v2-page-hero__media {
  min-height: 540px;
}
.msp-v2-page-hero__media img {
  width: 100%;
  height: 540px;
  object-fit: cover;
}
.msp-v2-page-hero__media::after { display: none; }
.msp-v2-page-hero__media::before {
  position: absolute;
  z-index: 2;
  top: -15px;
  right: -15px;
  width: 112px;
  height: 112px;
  border-top: 1px solid var(--msp-blue);
  border-right: 1px solid var(--msp-blue);
  content: "";
}
.msp-v2-page-hero__caption {
  position: absolute;
  right: -1px;
  bottom: 28px;
  z-index: 3;
  max-width: 245px;
  padding: 18px 22px;
  background: var(--msp-navy);
  color: #fff;
  font-family: var(--msp-serif);
  font-size: .98rem;
  line-height: 1.35;
}

.msp-v2-content-panel {
  min-width: 0;
  padding: clamp(34px, 5.2vw, 72px);
  border: 1px solid rgba(16, 39, 61, .08);
  background: #fff;
  box-shadow: 0 24px 64px rgba(16, 39, 61, .08);
}
.msp-v2-content-shell {
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: clamp(38px, 5vw, 74px);
}
.msp-v2-sidebar { min-width: 0; }
.msp-v2-sidebar-card {
  padding: 34px;
  border-top: 3px solid var(--msp-blue);
  background: var(--msp-paper);
}
.msp-v2-sidebar-card--sticky {
  position: sticky;
  top: 128px;
}
.msp-v2-sidebar-photo {
  margin: 24px 0 0;
  overflow: hidden;
}
.msp-v2-sidebar-photo img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.msp-v2-source-content {
  color: #3e4b56;
}
.msp-v2-source-content > :first-child,
.msp-v2-source-content .fusion-fullwidth:first-child,
.msp-v2-source-content .fusion-builder-row:first-child { margin-top: 0 !important; }
.msp-v2-source-content .fusion-fullwidth {
  margin: 0 0 34px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}
.msp-v2-source-content .fusion-builder-row {
  width: 100% !important;
  max-width: none !important;
  margin-right: 0 !important;
  margin-left: 0 !important;
}
.msp-v2-source-content .fusion-layout-column {
  margin-bottom: 28px !important;
}
.msp-v2-source-content .fusion-column-wrapper {
  min-height: 0 !important;
  background-size: cover;
}
.msp-v2-source-content h1,
.msp-v2-source-content h2,
.msp-v2-source-content h3,
.msp-v2-source-content h4,
.msp-v2-source-content .fusion-title-heading {
  color: var(--msp-navy) !important;
  font-family: var(--msp-serif) !important;
  font-weight: 500 !important;
  letter-spacing: -.025em !important;
  text-transform: none !important;
}
.msp-v2-source-content h2,
.msp-v2-source-content .fusion-title h2 {
  margin: 1.45em 0 .55em !important;
  font-size: clamp(2rem, 3.15vw, 3.35rem) !important;
  line-height: 1.05 !important;
}
.msp-v2-source-content h3,
.msp-v2-source-content .fusion-title h3 {
  margin: 1.25em 0 .55em !important;
  font-size: clamp(1.42rem, 2vw, 2rem) !important;
  line-height: 1.18 !important;
}
.msp-v2-source-content p,
.msp-v2-source-content li,
.msp-v2-source-content .fusion-text {
  color: #42515d !important;
  font-size: 1rem;
  line-height: 1.78 !important;
}
.msp-v2-source-content ul,
.msp-v2-source-content ol { padding-left: 1.25em; }
.msp-v2-source-content img {
  max-width: 100%;
  height: auto;
  object-fit: cover;
}
.msp-v2-source-content blockquote {
  margin: 34px 0 !important;
  padding: 26px 30px !important;
  border: 0 !important;
  border-left: 3px solid var(--msp-blue) !important;
  background: var(--msp-soft-blue) !important;
  color: var(--msp-navy) !important;
  font-family: var(--msp-serif);
  font-size: 1.2rem;
}
.msp-v2-source-content .fusion-button,
.msp-v2-source-content .button,
.msp-v2-source-content button,
.msp-v2-source-content input[type="submit"] {
  min-height: 48px !important;
  padding: 13px 22px !important;
  border: 1px solid var(--msp-blue) !important;
  border-radius: 0 !important;
  background: var(--msp-blue) !important;
  color: #fff !important;
  font-size: .74rem !important;
  font-weight: 800 !important;
  letter-spacing: .06em !important;
  text-decoration: none !important;
  text-transform: uppercase !important;
}
.msp-v2-source-content .fusion-button:hover,
.msp-v2-source-content .button:hover,
.msp-v2-source-content button:hover,
.msp-v2-source-content input[type="submit"]:hover {
  border-color: var(--msp-navy) !important;
  background: var(--msp-navy) !important;
}
.msp-v2-source-content .fusion-accordian .panel-group,
.msp-v2-source-content .fusion-accordian .fusion-panel,
.msp-v2-source-content .panel-default {
  border: 0 !important;
  border-bottom: 1px solid var(--msp-line) !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
.msp-v2-source-content .fusion-accordian .panel-heading {
  padding: 0 !important;
  background: transparent !important;
}
.msp-v2-source-content .fusion-accordian .panel-title a {
  padding: 20px 0 !important;
  color: var(--msp-navy) !important;
  font-family: var(--msp-serif) !important;
  font-size: 1.12rem !important;
  text-decoration: none !important;
}
.msp-v2-source-content table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--msp-line);
}
.msp-v2-source-content th,
.msp-v2-source-content td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--msp-line);
  text-align: left;
}
.msp-v2-source-content th { background: var(--msp-paper); color: var(--msp-navy); }
.msp-v2-source-content a[href$=".pdf"],
.msp-v2-source-content a[href$=".doc"],
.msp-v2-source-content a[href$=".docx"] {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin: 4px 8px 4px 0;
  padding: 10px 16px;
  border: 1px solid var(--msp-line);
  background: #fff;
  color: var(--msp-blue) !important;
  font-weight: 750;
  text-decoration: none !important;
}
.msp-v2-source-content a[href$=".pdf"]::before,
.msp-v2-source-content a[href$=".doc"]::before,
.msp-v2-source-content a[href$=".docx"]::before {
  margin-right: 9px;
  content: "Pobierz";
  color: var(--msp-muted);
  font-size: .66rem;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.msp-v2-image-cta {
  padding: 0 0 clamp(76px, 9vw, 126px);
  background: #fff;
}
.msp-v2-image-cta__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, .84fr);
  align-items: stretch;
  background: var(--msp-navy);
}
.msp-v2-image-cta__grid > img {
  width: 100%;
  height: 100%;
  min-height: 440px;
  object-fit: cover;
}
.msp-v2-image-cta__grid > div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(42px, 6vw, 78px);
}
.msp-v2-image-cta h2 { color: #fff; }
.msp-v2-image-cta p { color: rgba(255, 255, 255, .7); }
.msp-v2-image-cta .msp-v2-kicker { color: #8cc8ea; }

.msp-v2-contact-intro { max-width: 570px; margin: -12px 0 30px; color: var(--msp-muted); }
.msp-v2-contact-photo { margin: 38px 0 0; }
.msp-v2-contact-photo img { width: 100%; height: 330px; object-fit: cover; }
.msp-v2-contact-form {
  border-top: 3px solid var(--msp-blue);
  box-shadow: 0 24px 64px rgba(16, 39, 61, .08);
}

.msp-v2-prefooter {
  padding: clamp(72px, 8vw, 112px) 0;
  background: var(--msp-sand);
}
.msp-v2-prefooter__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(400px, .94fr);
  align-items: center;
  background: #fff;
  box-shadow: 0 28px 74px rgba(16, 39, 61, .1);
}
.msp-v2-prefooter__media img {
  width: 100%;
  height: 510px;
  object-fit: cover;
}
.msp-v2-prefooter__content { padding: clamp(42px, 6vw, 78px); }
.msp-v2-prefooter__content p { margin: 22px 0 28px; color: var(--msp-muted); }

@media (max-width: 1180px) {
  .msp-v2-header__inner { grid-template-columns: 152px minmax(0, 1fr) auto; gap: 16px; }
  .msp-v2-brand__logo { max-width: 142px; }
  .msp-v2-nav__list { gap: 13px; }
  .msp-v2-nav__list > li > a { font-size: .61rem; }
}
@media (max-width: 980px) {
  .admin-bar .msp-v2-header { top: 46px; }
  .msp-v2-header__inner { grid-template-columns: 1fr auto auto; }
  .msp-v2-page-hero { background: var(--msp-paper); }
  .msp-v2-page-hero__grid,
  .msp-v2-prefooter__grid,
  .msp-v2-image-cta__grid { grid-template-columns: 1fr; }
  .msp-v2-page-hero__media { width: min(100%, 760px); }
  .msp-v2-content-panel { padding: clamp(30px, 5vw, 54px); }
  .msp-v2-sidebar-photo { display: none; }
  .msp-v2-prefooter__media img { height: 430px; }
}
@media (max-width: 782px) {
  .admin-bar .msp-v2-header { top: 46px; }
}
@media (max-width: 680px) {
  .msp-v2-page-hero { padding: 22px 0 56px; }
  .msp-v2-page-hero__media,
  .msp-v2-page-hero__media img { min-height: 390px; height: 390px; }
  .msp-v2-page-hero__caption { right: 0; bottom: 16px; max-width: 210px; padding: 14px 16px; font-size: .86rem; }
  .msp-v2-content-panel { padding: 27px 22px; }
  .msp-v2-source-content h2,
  .msp-v2-source-content .fusion-title h2 { font-size: clamp(1.85rem, 9vw, 2.7rem) !important; }
  .msp-v2-prefooter__media img { height: 340px; }
  .msp-v2-prefooter__content { padding: 32px 25px; }
  .msp-v2-image-cta__grid > img { min-height: 330px; }
  .msp-v2-image-cta__grid > div { padding: 34px 25px; }
}

/* MSP 4.2: finalne wartości ładowane po responsive.css. */
body.msp-v2-site .msp-v2-hero__content h1 {
  max-width: 650px;
  font-size: clamp(2.9rem, 4vw, 4.55rem);
  line-height: 1.015;
}
body.msp-v2-site .msp-v2-heading h2,
body.msp-v2-site .msp-v2-about__card h2,
body.msp-v2-site .msp-v2-feature__body h2,
body.msp-v2-site .msp-v2-faq h2,
body.msp-v2-site .msp-v2-contact-band h2 {
  font-size: clamp(2rem, 3vw, 3.45rem);
}
body.msp-v2-site .msp-v2-values__grid h3 {
  display: block !important;
  color: #fff !important;
  font-size: 1.32rem !important;
}
@media (max-width: 680px) {
  body.msp-v2-site .msp-v2-hero__content h1 {
    font-size: clamp(2.45rem, 10vw, 3.3rem);
  }
  body.msp-v2-site .msp-v2-heading h2,
  body.msp-v2-site .msp-v2-about__card h2,
  body.msp-v2-site .msp-v2-feature__body h2,
  body.msp-v2-site .msp-v2-faq h2,
  body.msp-v2-site .msp-v2-contact-band h2 {
    font-size: clamp(1.9rem, 8vw, 2.75rem);
  }
}

/* MSP 4.3: nowe szablony zaczynają treść bliżej wspólnego nagłówka. */
body.msp-v2-site .msp-v2-page-hero {
  padding-top: 14px;
  padding-bottom: 58px;
}
body.msp-v2-site .msp-v2-page-hero__content {
  padding-top: 16px;
  padding-bottom: 24px;
}
body.msp-v2-site .msp-v2-page-hero__content h1 {
  margin-top: 0;
}
@media (max-width: 680px) {
  body.msp-v2-site .msp-v2-page-hero {
    padding-top: 10px;
    padding-bottom: 42px;
  }
  body.msp-v2-site .msp-v2-page-hero__content {
    padding-top: 10px;
  }
}

/* MSP 4.4: żadna podstrona nowego szablonu nie wchodzi pod navbar. */
body.msp-v2-site .msp-v2-header,
body.msp-v2-site .msp-v2-header.is-sticky,
body.admin-bar.msp-v2-site .msp-v2-header,
body.admin-bar.msp-v2-site .msp-v2-header.is-sticky {
  position: relative !important;
  top: auto !important;
}
body.msp-v2-site .msp-v2-main {
  position: relative !important;
  z-index: 1 !important;
  margin-top: 0 !important;
  padding-top: 0 !important;
}
body.msp-v2-site .msp-v2-main > :first-child {
  margin-top: 0 !important;
}


/* MSP 4.5.2: menu ma równą wysokość bez ogromnego pionowego paddingu. */
.msp-v2-header__inner {
  min-height: 76px !important;
}
.msp-v2-nav__list {
  align-items: stretch !important;
}
.msp-v2-nav__list > li {
  display: flex !important;
  align-items: stretch !important;
}
.msp-v2-nav__list > li > a,
.msp-v2-nav__list > li.menu-item-has-children > a {
  position: relative !important;
  display: flex !important;
  min-height: 76px !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  padding: 0 !important;
  line-height: 1.2 !important;
}
.msp-v2-nav__list > li > a::after {
  position: absolute !important;
  right: 0 !important;
  bottom: 17px !important;
  left: 0 !important;
  width: 0 !important;
  height: 1px !important;
  margin: 0 !important;
}
.msp-v2-nav__list > li:hover > a::after,
.msp-v2-nav__list > .current-menu-item > a::after,
.msp-v2-nav__list > .current-menu-ancestor > a::after {
  width: 100% !important;
}
.msp-v2-nav__list > li.menu-item-has-children > a::before {
  flex: 0 0 auto !important;
  margin: -4px 0 0 !important;
}
.msp-v2-nav .sub-menu a {
  min-height: 0 !important;
  padding: 11px 12px !important;
  line-height: 1.35 !important;
}


/* ===== global-header.css ===== */
/* MSP 5.1.5: jeden identyczny navbar na starych i nowych podstronach. */

.msp-v2-global-header-shell,
.msp-v2-global-header-shell *,
.msp-v2-global-header-shell *::before,
.msp-v2-global-header-shell *::after {
  box-sizing: border-box;
}

.msp-v2-global-header-shell {
  position: relative;
  z-index: 1000;
  width: 100%;
  font-family: var(--msp-sans);
  line-height: 1.45;
}

.msp-v2-global-header-shell a {
  color: inherit;
  text-decoration: none !important;
  box-shadow: none !important;
}

.msp-v2-global-header-shell img {
  display: block;
  max-width: 100%;
  height: auto;
}

.msp-v2-global-header-shell button {
  font: inherit;
}

.msp-v2-global-header-shell .msp-v2-container {
  width: min(calc(100% - 48px), 1480px) !important;
  max-width: none !important;
  margin-right: auto !important;
  margin-left: auto !important;
  padding-right: 0 !important;
  padding-left: 0 !important;
}

.msp-v2-global-header-shell .msp-v2-announcement,
.msp-v2-global-header-shell .msp-v2-header {
  width: 100%;
}

.msp-v2-global-header-shell .msp-v2-announcement {
  color: rgba(255,255,255,.9);
}

.msp-v2-global-header-shell .msp-v2-announcement a {
  color: rgba(255,255,255,.92) !important;
}

.msp-v2-global-header-shell .msp-v2-announcement a:hover {
  color: #fff !important;
}

.msp-v2-global-header-shell .msp-v2-header__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.msp-v2-global-header-shell .msp-v2-cart-link {
  position: relative;
  display: inline-flex;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--msp-line);
  color: var(--msp-navy) !important;
  background: #fff;
}

.msp-v2-global-header-shell .msp-v2-cart-link svg {
  width: 21px;
  height: 21px;
}

.msp-v2-global-header-shell .msp-cart-count {
  position: absolute;
  top: -6px;
  right: -6px;
  display: inline-flex;
  min-width: 19px;
  height: 19px;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--msp-blue);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
}

.msp-v2-global-header-shell .msp-v2-header-cta {
  white-space: nowrap;
}

/* Stare strony Avady nie mogą renderować drugiego, niezależnego nagłówka. */
body.msp-v2-legacy-unified-header .fusion-tb-header,
body.msp-v2-legacy-unified-header .fusion-header-wrapper,
body.msp-v2-legacy-unified-header .fusion-header,
body.msp-v2-legacy-unified-header .fusion-secondary-header,
body.msp-v2-legacy-unified-header #side-header,
body.msp-v2-legacy-unified-header .fusion-mobile-menu-icons,
body.msp-v2-legacy-unified-header .fusion-sticky-spacer {
  display: none !important;
}

body.msp-v2-legacy-unified-header #wrapper,
body.msp-v2-legacy-unified-header .fusion-wrapper {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

/* Nagłówek jest zawsze w normalnym przepływie i ma identyczne wymiary. */
.msp-v2-global-header-shell .msp-v2-header,
.msp-v2-global-header-shell .msp-v2-header.is-sticky,
.admin-bar .msp-v2-global-header-shell .msp-v2-header,
.admin-bar .msp-v2-global-header-shell .msp-v2-header.is-sticky {
  position: relative !important;
  top: auto !important;
  transform: none !important;
}

@media (max-width: 1180px) {
  .msp-v2-global-header-shell .msp-v2-container {
    width: min(calc(100% - 36px), 1480px) !important;
  }
}

@media (max-width: 980px) {
  .msp-v2-global-header-shell .msp-v2-container {
    width: min(calc(100% - 28px), 1480px) !important;
  }

  .msp-v2-global-header-shell .msp-v2-announcement__inner {
    min-height: 34px;
  }

  .msp-v2-global-header-shell .msp-v2-announcement__inner > span {
    display: none;
  }

  .msp-v2-global-header-shell .msp-v2-announcement__inner > div {
    width: 100%;
    justify-content: center;
    gap: 18px;
  }
}

@media (max-width: 560px) {
  .msp-v2-global-header-shell .msp-v2-container {
    width: min(calc(100% - 22px), 1480px) !important;
  }

  .msp-v2-global-header-shell .msp-v2-announcement {
    font-size: .66rem;
  }

  .msp-v2-global-header-shell .msp-v2-announcement__inner > div {
    justify-content: space-between;
    gap: 10px;
  }

  .msp-v2-global-header-shell .msp-v2-announcement__inner a:last-child {
    overflow: hidden;
    max-width: 57vw;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}

/* MSP 5.1.8: rzeczywiście identyczny, jednowierszowy navbar na starych i nowych stronach. */
.msp-v2-skip {
  display: none !important;
}

@media (min-width: 981px) {
  .msp-v2-global-header-shell .msp-v2-container {
    width: min(calc(100% - 48px), 1760px) !important;
  }

  .msp-v2-global-header-shell .msp-v2-header__inner {
    display: grid !important;
    grid-template-columns: 185px minmax(0, 1fr) auto !important;
    min-height: 92px !important;
    align-items: center !important;
    gap: 24px !important;
  }

  .msp-v2-global-header-shell .msp-v2-brand {
    display: inline-flex !important;
    min-width: 0 !important;
    align-items: center !important;
  }

  .msp-v2-global-header-shell .msp-v2-brand__logo {
    width: auto !important;
    max-width: 165px !important;
    max-height: 72px !important;
    object-fit: contain !important;
  }

  .msp-v2-global-header-shell .msp-v2-nav {
    min-width: 0 !important;
    width: 100% !important;
  }

  .msp-v2-global-header-shell .msp-v2-nav__list {
    display: flex !important;
    width: 100% !important;
    min-width: 0 !important;
    align-items: stretch !important;
    justify-content: center !important;
    flex-wrap: nowrap !important;
    gap: clamp(11px, .85vw, 18px) !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .msp-v2-global-header-shell .msp-v2-nav__list > li {
    display: flex !important;
    min-width: 0 !important;
    flex: 0 0 auto !important;
    align-items: stretch !important;
  }

  .msp-v2-global-header-shell .msp-v2-nav__list > li > a,
  .msp-v2-global-header-shell .msp-v2-nav__list > li.menu-item-has-children > a {
    display: flex !important;
    min-width: 0 !important;
    min-height: 92px !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 7px !important;
    padding: 0 !important;
    color: var(--msp-navy) !important;
    font-size: .67rem !important;
    font-weight: 800 !important;
    letter-spacing: .035em !important;
    line-height: 1 !important;
    text-align: center !important;
    text-transform: uppercase !important;
    white-space: nowrap !important;
    text-wrap: nowrap !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
    hyphens: none !important;
  }

  .msp-v2-global-header-shell .msp-v2-nav__list > li > a::after {
    bottom: 21px !important;
  }

  .msp-v2-global-header-shell .msp-v2-submenu-toggle {
    display: none !important;
  }

  .msp-v2-global-header-shell .msp-v2-header__actions {
    display: flex !important;
    flex: 0 0 auto !important;
    flex-wrap: nowrap !important;
    gap: 10px !important;
    white-space: nowrap !important;
  }

  .msp-v2-global-header-shell .msp-v2-header-cta {
    min-height: 44px !important;
    padding: 0 18px !important;
    font-size: .68rem !important;
  }
}

@media (min-width: 981px) and (max-width: 1380px) {
  .msp-v2-global-header-shell .msp-v2-container {
    width: min(calc(100% - 30px), 1360px) !important;
  }

  .msp-v2-global-header-shell .msp-v2-header__inner {
    grid-template-columns: 145px minmax(0, 1fr) auto !important;
    gap: 14px !important;
  }

  .msp-v2-global-header-shell .msp-v2-brand__logo {
    max-width: 135px !important;
    max-height: 62px !important;
  }

  .msp-v2-global-header-shell .msp-v2-nav__list {
    gap: 9px !important;
  }

  .msp-v2-global-header-shell .msp-v2-nav__list > li > a,
  .msp-v2-global-header-shell .msp-v2-nav__list > li.menu-item-has-children > a {
    font-size: .59rem !important;
    letter-spacing: .015em !important;
  }

  .msp-v2-global-header-shell .msp-v2-header-cta {
    padding: 0 12px !important;
    font-size: .61rem !important;
  }
}

