
/* ================================================
   MULTICERT PRO v6 — mc-cta fix, footer, nav-left
   ================================================ */

/* === RESET PROBLEMÓW Z all_111_gzip.css === */

/* 1. Header — border-top zamiast sticky */

header::before {
  content: none !important;
  display: none !important;
}

/* 2. Ikony social media — ukryj w headerze (między nav a bannerem) */
header .socials {
  display: none !important;
}

/* 3. Carousel — usuń ciemny gradient */

/* 4. Sidebar CTA i Share — TYLKO na artykułach blogowych (body z klasą prod*) */
.post-sidebar__cta,
.post-sidebar__share {
  display: none !important;
}
/* Pokazuj CTA i Share tylko gdy body ma klasę prod* (artykuł blogowy) */
body[class*="prod"] .has-sidebar .post-sidebar__cta,
body[class*="prod"] .has-sidebar .post-sidebar__share {
  display: block !important;
}

/* === FONTS === */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;600;700;800&family=Inter:wght@300;400;500;600;700;800&display=swap');

body, p, li, td, input, button, select, textarea {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Manrope', system-ui, -apple-system, sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

html { scroll-behavior: smooth; }

/* === NAV LINKS === */
.nav-header > li > a {
  font-size: 13.5px !important;
  font-weight: 500 !important;
  color: #2d3748 !important;
  transition: color 0.18s ease !important;
  position: relative;
}
.nav-header > li > a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 14px;
  right: 14px;
  height: 2px;
  background: #c0392b;
  transform: scaleX(0);
  transition: transform 0.2s ease;
}
.nav-header > li:hover > a,
.nav-header > li.active > a {
  color: #c0392b !important;
}
.nav-header > li:hover > a::after {
  transform: scaleX(1);
}

/* === CTA button Kontakt === */
.nav-header > li.mdropdown:last-child > a {
  background: #c0392b !important;
  color: #fff !important;
  border-radius: 6px !important;
  padding: 8px 16px !important;
  margin: 14px 0 14px 8px !important;
  font-weight: 600 !important;
}
.nav-header > li.mdropdown:last-child > a::after {
  display: none !important;
}
.nav-header > li.mdropdown:last-child > a:hover {
  background: #a93226 !important;
  color: #fff !important;
}

/* === CAROUSEL — tylko typografia i przycisk === */

/* === NEWS CARDS === */

.news-item > div.description .more,
.news-item-normal > div.description .more {
  background: transparent !important;
  color: #c0392b !important;
  border: 2px solid #c0392b !important;
  border-radius: 6px !important;
  padding: 7px 18px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
}
.news-item > div.description .more:hover,
.news-item-normal > div.description .more:hover {
  background: #c0392b !important;
  color: #fff !important;
}

/* === DROPDOWN === */
.dropdown-menu {
  border: none !important;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12) !important;
  border-radius: 8px !important;
  padding: 8px 0 !important;
}
.dropdown-menu li > a {
  font-size: 13.5px !important;
  font-weight: 500 !important;
  color: #2d3748 !important;
  padding: 9px 20px !important;
}
.dropdown-menu li > a:hover {
  background: #f7f8fc !important;
  color: #c0392b !important;
}

/* === TREŚĆ ARTYKUŁÓW === */
.ukl-body, .description-body {
  font-size: 15.5px !important;
  line-height: 1.75 !important;
  color: #2d3748 !important;
}
.ukl-body h1, .ukl-body h2, .ukl-body h3 {
  color: #1a2a5e !important;
}
.ukl-body a { color: #c0392b !important; text-decoration: none !important; }

/* === CTA BOXY W TREŚCI (mc-cta generowane przez CMS) === */
.mc-cta a,
.ukl-body .mc-cta a,
.description-body .mc-cta a {
  color: #fff !important;
  text-decoration: none !important;
}
.mc-cta a:hover,
.ukl-body .mc-cta a:hover {
  color: #fff !important;
  opacity: 0.9;
}

/* === FOOTER === */
footer {
  background: #1a2a5e !important;
  color: rgba(255,255,255,0.7) !important;
  padding: 40px 15px !important;
  margin-top: 60px;
  width: 100vw !important;
  box-sizing: border-box !important;
  overflow: auto !important; /* MUSI być auto — czyści float dzieci */
}
footer .copyright-left {
  width: 50% !important;
  float: left !important;
  box-sizing: border-box !important;
  padding-right: 20px !important;
  color: rgba(255,255,255,0.6) !important;
  font-size: 12.5px !important;
}
footer .copyright-right {
  width: 50% !important;
  float: right !important;
  text-align: right !important;
  box-sizing: border-box !important;
  padding-left: 10px !important;
  overflow: hidden !important;
}
footer .copyright-right img {
  max-height: 36px !important;
  width: auto !important;
  margin-right: 12px !important;
  vertical-align: middle !important;
}
footer .copyright-right > a {
  margin-left: 10px !important;
  display: inline-block !important;
}
.copyright-left a, .copyright-right a { color: rgba(255,255,255,0.75) !important; }
.copyright-left a:hover, .copyright-right a:hover { color: #fff !important; }
@media (max-width: 991px) {
  footer .copyright-left,
  footer .copyright-right {
    width: 100% !important;
    float: none !important;
    text-align: center !important;
    padding: 0 0 10px !important;
    overflow: visible !important;
  }
  footer .copyright-right img {
    margin-right: 8px !important;
  }
}

/* === NAV-LEFT W SIDEBARZE — wymuś widoczność === */
#sidebar .nav.nav-left,
#sidebar .nav-left,
.sidebar-offcanvas .nav.nav-left,
.sidebar-offcanvas .nav-left {
  display: block !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}
#sidebar .nav.nav-left > li,
#sidebar .nav-left > li,
.sidebar-offcanvas .nav.nav-left > li,
.sidebar-offcanvas .nav-left > li {
  display: block !important;
  visibility: visible !important;
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
  opacity: 1 !important;
  border-left: 3px solid #e0e0e0;
  margin-bottom: 2px !important;
  background: none !important;
}
#sidebar .nav.nav-left > li.active,
#sidebar .nav-left > li.active {
  border-left-color: #c0392b !important;
  background: #fdf7f7 !important;
}
#sidebar .nav.nav-left > li > a,
#sidebar .nav-left > li > a,
.sidebar-offcanvas .nav.nav-left > li > a,
.sidebar-offcanvas .nav-left > li > a {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  color: #2d3748 !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  padding: 8px 12px !important;
  background: none !important;
  background-image: none !important;
  text-decoration: none !important;
  line-height: 1.4 !important;
}
#sidebar .nav.nav-left > li.active > a,
#sidebar .nav-left > li.active > a {
  color: #c0392b !important;
  font-weight: 600 !important;
}
#sidebar .nav.nav-left > li > a:hover,
#sidebar .nav-left > li > a:hover {
  color: #c0392b !important;
  background: #fdf7f7 !important;
  background-image: none !important;
}

/* === SELECTION === */
::selection { background: #c0392b; color: #fff; }

/* ===== SITE FOOTER ===== */
/* Wyrwij footer i CTA strip z ograniczenia .container (1230px) — full-width trick */
.mc-cta-strip,
.site-footer {
  margin-left: calc(-50vw + 50%) !important;
  margin-right: calc(-50vw + 50%) !important;
  width: 100vw !important;
  max-width: 100vw !important;
  box-sizing: border-box !important;
  position: relative !important;
}
.site-footer {
  background: #10193a;
  color: #ccd3e8;
  padding-top: 44px;
  margin-top: 0;
  font-size: 14px;
}

/* ── Główna siatka stopki ── */
.footer-top {
  display: flex;
  gap: 0;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.footer-col {
  flex: 1;
  padding: 0 40px 0 0;
}
.footer-col + .footer-col {
  padding: 0 32px;
  border-left: 1px solid rgba(255,255,255,0.08);
}
.footer-col:last-child {
  padding-right: 0;
}

/* ── Kolumna 1 — brand ── */
.footer-logo-img {
  max-height: 44px;
  width: auto;
  margin-bottom: 14px;
  display: block;
}
.footer-tagline {
  font-size: 13px;
  color: #7a8ab0;
  line-height: 1.6;
  margin: 0 0 20px;
  max-width: 240px;
}
/* Ukryj ISO tagi w stopce — są w trust barze */
.footer-norms { display: none !important; }

/* ── Nagłówki kolumn ── */
.footer-heading {
  font-size: 10px !important;
  font-weight: 700 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  color: #c0392b !important;
  margin: 0 0 18px !important;
  padding-bottom: 10px !important;
  border-bottom: 1px solid rgba(192,57,43,0.3) !important;
}

/* ── Kolumna 2 — usługi ── */
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links li {
  margin-bottom: 9px;
}
.footer-links a {
  color: #8a9bbf;
  text-decoration: none;
  font-size: 13px;
  transition: color .15s, padding-left .15s;
  display: inline-block;
}
.footer-links a:hover {
  color: #fff;
  padding-left: 4px;
}

/* ── Kolumna 3 — kontakt ── */
.footer-address {
  color: #8a9bbf;
  font-size: 13px;
  font-style: normal;
  margin-bottom: 16px;
  line-height: 1.7;
}
.footer-address strong {
  color: #e8edf8;
  font-size: 14px;
  display: block;
  margin-bottom: 2px;
}
.footer-contact-row {
  margin: 7px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-phone,
.footer-mail {
  color: #8a9bbf;
  text-decoration: none;
  font-size: 13px;
  transition: color .15s;
}
.footer-phone { font-weight: 600; color: #ccd3e8; }
.footer-phone:hover,
.footer-mail:hover { color: #fff; }
.footer-hours {
  color: #556080;
  font-size: 12px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

/* ── Pasek dolny ── */
.footer-bottom {
  background: #0b1229;
  padding: 16px 0;
  margin-top: 0;
}
.footer-copy {
  color: #4a5a80;
  font-size: 12px;
  line-height: 32px;
}
.footer-legal {
  text-align: right;
}
.footer-legal a {
  color: #4a5a80;
  font-size: 12px;
  text-decoration: none;
  margin-left: 18px;
  transition: color .15s;
}
.footer-legal a:hover { color: #9aaacf; }

@media (max-width: 991px) {
  .footer-top { flex-direction: column; gap: 32px; }
  .footer-col, .footer-col + .footer-col {
    padding: 0 0 28px;
    border-left: none;
    border-bottom: 1px solid rgba(255,255,255,0.07);
  }
  .footer-col:last-child { border-bottom: none; padding-bottom: 0; }
}
@media (max-width: 767px) {
  .footer-legal { text-align: left; margin-top: 6px; }
  .footer-legal a { margin-left: 0; margin-right: 14px; }
}

/* ===== BREADCRUMBS ===== */
.breadcrumbs {
  background: #f4f5f9;
  border-bottom: 1px solid #e0e4ee;
  padding: 7px 0;
  font-size: 12px;
}
.breadcrumb-inner {
  max-width: 1170px;
  margin: 0 auto;
  padding: 0 15px;
}
.breadcrumb-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}
.breadcrumb-item {
  color: #6b7a9e;
  display: flex;
  align-items: center;
}
.breadcrumb-item + .breadcrumb-item::before {
  content: "\203A";
  margin: 0 6px;
  color: #b0b8d0;
  font-size: 14px;
  line-height: 1;
}
.breadcrumb-item a {
  color: #1a2a5e;
  text-decoration: none;
}
.breadcrumb-item a:hover {
  color: #c0392b;
  text-decoration: underline;
}
.breadcrumb-item.active span {
  color: #6b7a9e;
}

/
/* ===== BLOG ARCHIVE CARD GRID ===== */
.blog-archive-header { margin-bottom: 28px; }
.blog-archive-header h2 { font-size: 28px; font-weight: 800; color: #1a2a5e; margin: 0; }

.blog-archive-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 24px;
  padding-bottom: 32px;
}
@media(max-width:991px){.blog-archive-grid{grid-template-columns:repeat(2,1fr);}}
@media(max-width:599px){.blog-archive-grid{grid-template-columns:1fr;}}

.blog-card {
  display: block;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 14px rgba(0,0,0,.08);
  background: #fff;
  text-decoration: none;
  color: inherit;
  transition: transform .2s, box-shadow .2s;
}
.blog-card:hover { transform: translateY(-5px); box-shadow: 0 10px 28px rgba(0,0,0,.14); text-decoration: none; }
.blog-card--hidden { display: none !important; }

.blog-card__hero {
  height: 200px;
  background: linear-gradient(135deg,#1a2a5e 0%,#c0392b 100%);
  background-size: cover;
  background-position: center;
  position: relative;
}
.blog-card__hero-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(0deg,rgba(0,0,0,.78) 0%,rgba(0,0,0,0) 100%);
  padding: 44px 14px 12px;
}
.blog-card__title {
  font-size: 14px;
  font-weight: 700;
  color: #fff !important;
  margin: 0;
  line-height: 1.35;
  text-shadow: 0 1px 4px rgba(0,0,0,.4);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-card__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  border-top: 1px solid #f0f0f0;
}
.blog-card__date { font-size: 11px; color: #999; }
.blog-card__more { font-size: 12px; color: #c0392b; font-weight: 700; }

/* Load more button */
.blog-load-more {
  display: block;
  margin: 8px auto 24px;
  padding: 13px 36px;
  background: transparent;
  border: 2px solid #1a2a5e;
  color: #1a2a5e;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s, color .2s;
}
.blog-load-more:hover { background: #1a2a5e; color: #fff; }

/* ===== ARTICLE HERO ===== */
.article-hero {
  width: 100%;
  min-height: 320px;
  background: linear-gradient(135deg,#1a2a5e 0%,#c0392b 100%);
  background-size: cover;
  background-position: center;
  position: relative;
  margin-bottom: 32px;
  border-radius: 10px;
  overflow: hidden;
}
@media(max-width:767px){.article-hero{min-height:220px;border-radius:0;margin-left:-15px;margin-right:-15px;}}
.article-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg,rgba(0,0,0,.72) 0%,rgba(0,0,0,.18) 60%,rgba(0,0,0,.04) 100%);
  display: flex;
  align-items: flex-end;
}
.article-hero__content { padding: 28px 32px; }
@media(max-width:767px){.article-hero__content{padding:20px 18px;}}
.article-hero__date {
  display: block;
  font-size: 12px;
  color: rgba(255,255,255,.75);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 8px;
}
.article-hero__title,
.article-hero .article-hero__title,
.content-small .article-hero .article-hero__title,
.content-small h1.article-hero__title {
  font-size: clamp(20px,3vw,34px) !important;
  font-weight: 800 !important;
  color: #fff !important;
  margin: 0 !important;
  line-height: 1.2 !important;
  text-shadow: 0 2px 8px rgba(0,0,0,.4) !important;
  max-width: 680px !important;
  text-transform: none !important;
  padding-bottom: 0 !important;
  letter-spacing: -0.02em !important;
}

/* ===== CTA BUTTONS IN ARTICLE CONTENT ===== */
.description-body .btn,
.description-body .button,
.description-body a.btn,
.description-body a.cta,
.ukl-body .btn,
.ukl-body .button {
  display: inline-block;
  padding: 10px 22px;
  background: #c0392b;
  color: #fff !important;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  border: none;
  cursor: pointer;
  margin: 4px 2px;
  transition: background .2s;
}
.description-body .btn:hover,
.description-body a.btn:hover,
.description-body a.cta:hover,
.ukl-body .btn:hover,
.ukl-body .button:hover { background: #a93226; color: #fff !important; text-decoration: none; }
.description-body .btn-primary,
.ukl-body .btn-primary { background: #1a2a5e; }
.description-body .btn-primary:hover,
.ukl-body .btn-primary:hover { background: #142249; }
.description-body .cta-box,
.ukl-body .cta-box {
  background: #1a2a5e;
  color: #fff;
  border-radius: 8px;
  padding: 24px 28px;
  text-align: center;
  margin: 28px 0;
}
.description-body .cta-box a,
.ukl-body .cta-box a { color: #fff; text-decoration: underline; }

/* ===== MC-CTA COMPONENT ===== */
.mc-cta {
  background: #f0f4ff !important;
  border-left: 4px solid #c0392b;
  border-radius: 0 8px 8px 0;
  padding: 18px 22px;
  margin: 24px 0;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.mc-cta a {
  display: inline-block;
  background: #c0392b !important;
  color: #fff !important;
  padding: 10px 22px !important;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  white-space: nowrap;
  flex-shrink: 0;
}
.mc-cta a:hover { background: #a93226 !important; color: #fff !important; text-decoration: none; }
.mc-cta p, .mc-cta span { margin: 0; font-size: 15px; color: #1a2a5e; flex: 1; min-width: 200px; }
.decorated-link { color: #c0392b !important; text-decoration: none; border-bottom: 1px solid rgba(192,57,43,.4); font-weight: 600; transition: border-color .2s; }
.decorated-link:hover { border-bottom-color: #c0392b; color: #a93226 !important; }
.ukl-body > p > a:only-child,
.ukl > p > a:only-child {
  display: inline-block;
  padding: 9px 20px;
  background: #c0392b !important;
  color: #fff !important;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  margin: 4px 0;
}
.ukl-body > p > a:only-child:hover,
.ukl > p > a:only-child:hover { background: #a93226 !important; color: #fff !important; }

/* ===== ISO SYSTEMS GRID ===== */
.iso-systems-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}
@media (max-width: 991px) {
  .iso-systems-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 599px) {
  .iso-systems-grid { grid-template-columns: 1fr; }
}
.iso-card {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,.09);
  text-decoration: none !important;
  display: flex;
  flex-direction: column;
  transition: transform .2s, box-shadow .2s;
  background: #fff;
}
.iso-card:hover { transform: translateY(-4px); box-shadow: 0 6px 22px rgba(0,0,0,.15); }
.iso-card__header {
  padding: 14px 18px;
  display: flex;
  align-items: center;
  min-height: 58px;
}
.iso-card__name {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.5px;
  line-height: 1;
}
.iso-card__body {
  padding: 12px 16px 16px;
  border: 1px solid #e8e8e8;
  border-top: none;
  border-radius: 0 0 8px 8px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.iso-card__subtitle {
  font-size: 13px;
  font-weight: 700;
  color: #1a2a5e;
  margin: 0 0 7px;
  line-height: 1.3;
}
.iso-card__desc {
  font-size: 12px;
  color: #666;
  line-height: 1.55;
  margin: 0 0 10px;
  flex: 1;
}
.iso-card__cta {
  font-size: 12px;
  font-weight: 700;
  color: #c0392b;
  display: block;
}

/* ===== MODERNIZACJA STRONY GŁÓWNEJ v12 ===== */

/* 1. HEADER STICKY */
header {
  position: sticky !important;
  top: 0 !important;
  z-index: 1000 !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  background: rgba(255,255,255,0.96) !important;
  box-shadow: 0 1px 0 rgba(0,0,0,0.06), 0 4px 20px rgba(0,0,0,0.08) !important;
  border-top: 3px solid #c0392b !important;
  transition: box-shadow 0.3s ease;
}

/* 2. BANER CAROUSEL */

/* Ciemny gradient overlay — zapewnia czytelność tekstów na każdym zdjęciu */
#carousel .item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg,
    rgba(10,18,45,0.82) 0%,
    rgba(10,18,45,0.55) 50%,
    rgba(10,18,45,0.18) 100%);
  z-index: 1;
  pointer-events: none;
}
#carousel .item .description {
  z-index: 2 !important;
  position: absolute !important;
  background: none !important;
}
/* Tekst na banerze — silny wielowarstwowy cień */

/* Przycisk .more — CMS wstawia pusty tag, dodajemy tekst przez ::before */
#carousel .item .description .description-size .more {
  background: #c0392b !important;
  border-radius: 6px !important;
  font-size: 0 !important;
  min-width: 180px !important;
  min-height: 44px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 4px 16px rgba(192,57,43,0.45) !important;
  padding: 0 !important;
  transition: background 0.18s, transform 0.18s !important;
}
#carousel .item .description .description-size .more::before {
  content: "Dowiedz się więcej";
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff !important;
  display: block;
}
#carousel .item .description .description-size .more:hover {
  background: #a93226 !important;
  transform: translateY(-2px) !important;
}

/* 3. TRUST BAR — full-width */

.mc-trust-bar__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  padding: 0;
}

.mc-trust-bar__item:last-child { border-right: none; }

.mc-trust-bar__icon svg { width: 20px; height: 20px; stroke: #1a2a5e; }
.mc-trust-bar__text { display: flex; flex-direction: column; line-height: 1.3; font-size: 12px; color: #6b7999; }

@media (max-width: 991px) {
  .mc-trust-bar__inner { flex-wrap: wrap; padding: 0 12px; }
  .mc-trust-bar__item { flex-basis: 50%; border-right: 1px solid #e8ecf4; }
  .mc-trust-bar__item:nth-child(2n) { border-right: none; }
  .mc-trust-bar__item:nth-child(n+3) { border-top: 1px solid #e8ecf4; }
}
@media (max-width: 480px) {
  .mc-trust-bar__item { flex-basis: 100%; border-right: none !important; border-bottom: 1px solid #e8ecf4; }
}

/* 4. FOOTER — brak szarej linii, czysta granica w kolorze marki */
footer, footer.site-footer, .site-footer {
  margin-top: 0 !important;
  width: 100vw !important;
  border-top: none !important;
}
/* Cienka 3px linia marki zamiast 4-kolorowego gradientu */

/* 5. PRE-FOOTER CTA — gradient tylko z kolorów marki, bez obcych niebieskich */
.mc-prefooter {
  background: linear-gradient(135deg, #0f1e4a 0%, #1a2a5e 65%, #9b2318 100%);
  width: 100%;
  padding: 0;
}
.mc-prefooter__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.mc-prefooter__text p {
  font-size: 14px;
  color: rgba(255,255,255,0.78);
  margin: 0;
}
.mc-prefooter__btn {
  flex-shrink: 0;
  display: inline-block;
  background: #fff;
  color: #1a2a5e;
  padding: 14px 32px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
  transition: transform 0.2s, box-shadow 0.2s, color 0.2s;
}
.mc-prefooter__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
  color: #c0392b;
}
@media (max-width: 767px) {
  .mc-prefooter__inner { flex-direction: column; text-align: center; padding: 28px 20px; }
  .mc-prefooter__text h2 { font-size: 18px; }
}

/* 6. NEWS CARDS */
.news-item, .news-item-normal {
  border-radius: 8px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.news-item:hover, .news-item-normal:hover {
  box-shadow: 0 4px 24px rgba(0,0,0,0.1);
  transform: translateY(-2px);
}
.news-item > div.description h3 a,
.news-item-normal > div.description h3 a { color: #1a2a5e !important; }
.news-item > div.description h3 a:hover,
.news-item-normal > div.description h3 a:hover { color: #c0392b !important; }

/* ===== MODERNIZACJA v13 — Manrope typography + hero badge ===== */

/* Hero badge "Global Authority" nad nagłówkiem */
#carousel .item .description .description-size::before {
  content: "⬡ AKREDYTOWANA JEDNOSTKA CERTYFIKUJĄCA";
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  backdrop-filter: blur(8px);
  padding: 5px 12px;
  border-radius: 20px;
  margin-bottom: 16px;
  width: fit-content;
}

/* Hero heading — większy, Manrope, mocniejszy */
#carousel .item .description .description-size h1,
#carousel .item .description .description-size h2,
#carousel .item .description .description-size h3 {
  font-family: 'Manrope', sans-serif !important;
  font-size: clamp(28px, 4vw, 52px) !important;
  font-weight: 800 !important;
  letter-spacing: -0.03em !important;
  line-height: 1.1 !important;
  color: #fff !important;
  text-shadow:
    0 1px 3px rgba(0,0,0,0.97),
    0 2px 10px rgba(0,0,0,0.85),
    0 4px 24px rgba(0,0,0,0.6) !important;
}

/* Hero description tekst */

/* Nagłówki sekcji strony — Manrope, mocniejsze */
.title, .section-title, h2.section-heading {
  font-family: 'Manrope', sans-serif !important;
  font-weight: 800 !important;
  letter-spacing: -0.025em !important;
}

/* Etykiety sekcji — small caps w czerwonym (jak "Core Certifications" w Stitch) */
.mc-section-label {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #c0392b;
  margin-bottom: 10px;
}

/* Footer headings — Manrope */
.site-footer h4, footer h4 {
  font-family: 'Manrope', sans-serif !important;
  font-weight: 700 !important;
  letter-spacing: -0.01em !important;
}

/* Pre-footer CTA heading — Manrope */
.mc-prefooter__text h2 {
  font-family: 'Manrope', sans-serif !important;
  font-size: 24px !important;
  font-weight: 800 !important;
  letter-spacing: -0.025em !important;
}

/* ===== v14 — Content headings, trust bar polish, hero height ===== */

/* 1. Hero — 560px pro look */
#carousel.owl-carousel,
#carousel {
  max-height: 560px !important;
}
#carousel .item img {
  height: 560px !important;
  max-height: 560px !important;
}
#carousel .item {
  max-height: 560px !important;
}

/* 2. Trust bar — stronger icon, bolder label */
.mc-trust-bar__icon {
  background: linear-gradient(135deg, #eef1fa 0%, #e4e9f5 100%) !important;
  border: 1px solid rgba(26,42,94,0.1) !important;
  box-shadow: 0 2px 8px rgba(26,42,94,0.07) !important;
}
.mc-trust-bar__text strong {
  font-size: 14px !important;
  font-weight: 800 !important;
  color: #0f1e4a !important;
}
.mc-trust-bar__item {
  flex: 1 !important;
  min-width: 0 !important;
  padding: 20px 22px !important;
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
}
.mc-trust-bar {
  box-shadow: 0 2px 12px rgba(0,0,0,0.05) !important;
}

/* 3. Content area — H1 on homepage article */
.description-body h1,
.ukl-body h1,
.col-md-9 h1,
.content-small h1 {
  font-family: 'Manrope', sans-serif !important;
  font-size: clamp(24px, 3vw, 38px) !important;
  font-weight: 800 !important;
  color: #0f1e4a !important;
  letter-spacing: -0.03em !important;
  line-height: 1.15 !important;
  margin-bottom: 6px !important;
}

/* 4. Content area — H2 with red accent underline */
.description-body h2,
.ukl-body h2,
.col-md-9 h2,
.content-small h2 {
  font-family: 'Manrope', sans-serif !important;
  font-size: clamp(17px, 2.2vw, 24px) !important;
  font-weight: 700 !important;
  color: #1a2a5e !important;
  letter-spacing: -0.02em !important;
  line-height: 1.3 !important;
  margin-top: 36px !important;
  margin-bottom: 14px !important;
  padding-bottom: 10px !important;
  border-bottom: 2px solid rgba(192,57,43,0.2) !important;
  position: relative;
}

/* 5. Content area — H3 */
.description-body h3,
.ukl-body h3,
.content-small h3 {
  font-family: 'Manrope', sans-serif !important;
  font-size: clamp(15px, 1.8vw, 19px) !important;
  font-weight: 700 !important;
  color: #1a2a5e !important;
  letter-spacing: -0.015em !important;
  margin-top: 24px !important;
  margin-bottom: 10px !important;
}

/* 6. Article list items — styled with left accent */
.description-body ul li,
.ukl-body ul li {
  padding-left: 14px !important;
  margin-bottom: 8px !important;
  line-height: 1.65 !important;
  border-left: 3px solid rgba(192,57,43,0.3) !important;
  list-style: none !important;
  background: none !important;
  padding-top: 3px !important;
  padding-bottom: 3px !important;
}
.description-body ul li::marker,
.ukl-body ul li::marker {
  color: transparent !important;
}

/* 7. Ordered lists — keep numbers, color them */
.description-body ol li,
.ukl-body ol li {
  margin-bottom: 8px;
  line-height: 1.65;
  padding-left: 4px;
}
.description-body ol li::marker,
.ukl-body ol li::marker {
  color: #c0392b;
  font-weight: 700;
}

/* 8. Hero description size — clamp on mobile */
#carousel .item .description .description-size p,
#carousel .item .description .description-size .text {
  font-size: clamp(13px, 1.4vw, 15px) !important;
}

/* 9. Nav Kontakt button on desktop — make it more visible */
@media (min-width: 992px) {
  .nav-header > li.mdropdown:last-child > a {
    padding: 9px 18px !important;
    font-size: 13px !important;
    letter-spacing: 0.01em !important;
  }
}

/* 10. Content wrapper — subtle top border on homepage article */
.col-md-9.content-small,
.content-small.col-md-9 {
  padding-top: 4px;
}

/* ===== v15 — Fixes: footer stripes removed, carousel OWL clones hidden ===== */

/* 1. STOPKA — usuń czerwone paski nad i pod nagłówkami kolumn */
.site-footer::before {
  display: none !important;
}
.footer-heading {
  border-bottom: 1px solid rgba(255,255,255,0.12) !important;
}

/* 2. CAROUSEL — ukryj zduplikowane slajdy OWL gdy JS nie załaduje */
#carousel:not(.owl-loaded) .item + .item {
  display: none !important;
}
/* Upewnij się że owl-stage-outer klipuje (standardowe zachowanie OWL) */
#carousel .owl-stage-outer {
  overflow: hidden !important;
}
/* Klonowane slajdy OWL (infinite scroll) — nie pokazuj ich poza viewport */
#carousel .owl-item.cloned:not(.active) {
  pointer-events: none;
}

/* 3. Sidebar TOC list — nie nadpisuj list-style (dotyczy tylko UL w treści artykułu) */
.post-sidebar__toc-list li,
.post-sidebar__toc-list li + li {
  border-left: none !important;
  list-style: decimal !important;
  padding-left: 0 !important;
}
.footer-links li {
  border-left: none !important;
  list-style: none !important;
  padding-left: 0 !important;
  background: none !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

/* ===== v16 — Hero biały tekst, H2 lewa belka, hierarchia wizualna treści ===== */

/* ─────────────────────────────────────────────────────────────────────
   1. HERO CAROUSEL — biały tekst (szerokie selektory, override gradient)
   ───────────────────────────────────────────────────────────────────── */
#carousel h1,
#carousel h2,
#carousel h3,
#carousel .item h1,
#carousel .item h2,
#carousel .item h3,
.owl-carousel h1,
.owl-carousel h2,
.owl-carousel h3 {
  color: #fff !important;
  /* override gradient/metallic text effect (-webkit-text-fill-color bije color) */
  -webkit-text-fill-color: #fff !important;
  background-image: none !important;
  -webkit-background-clip: initial !important;
  background-clip: initial !important;
  text-shadow: 0 2px 18px rgba(0,0,0,0.65), 0 1px 4px rgba(0,0,0,0.45) !important;
  font-family: 'Manrope', sans-serif !important;
  font-weight: 800 !important;
  letter-spacing: -0.025em !important;
}

/* Hero — opis pod nagłówkiem (szare/niewidoczne → białe) */
#carousel .item .description-size p,
#carousel .item .description-size .text,
#carousel .item .description-size > div:not([class*="more"]):not([class*="badge"]) {
  color: rgba(255,255,255,0.88) !important;
  -webkit-text-fill-color: rgba(255,255,255,0.88) !important;
  text-shadow: 0 1px 6px rgba(0,0,0,0.45) !important;
}

/* Badge "⬡ AKREDYTOWANA..." — utrzymaj obecny wygląd */
#carousel .item .description-size .badge,
#carousel .item [class*="badge"],
#carousel .item [class*="label"] {
  -webkit-text-fill-color: initial !important;
}

/* ─────────────────────────────────────────────────────────────────────
   2. ARTYKUŁ H1 — mocny tytuł strony z czerwoną kreską
   ───────────────────────────────────────────────────────────────────── */

/* ─────────────────────────────────────────────────────────────────────
   3. ARTYKUŁ H2 — lewa belka + tint (zastępuje v14 border-bottom)
   ───────────────────────────────────────────────────────────────────── */
.description-body h2,
.ukl-body h2,
#cmsContent h2,
.col-md-9 h2,
.content-small h2 {
  font-family: 'Manrope', sans-serif !important;
  font-size: clamp(16px, 1.9vw, 21px) !important;
  font-weight: 700 !important;
  color: #1a2a5e !important;
  letter-spacing: -0.01em !important;
  line-height: 1.3 !important;
  margin-top: 44px !important;
  margin-bottom: 18px !important;
  padding: 9px 16px 9px 18px !important;
  border-left: 4px solid #c0392b !important;
  border-bottom: none !important;
  background: linear-gradient(90deg, rgba(26,42,94,0.055) 0%, rgba(26,42,94,0) 70%) !important;
  border-radius: 0 6px 6px 0 !important;
}

/* ─────────────────────────────────────────────────────────────────────
   4. LISTA UL — mini-karty z tłem i mocniejszą lewą kreską
   ───────────────────────────────────────────────────────────────────── */
.description-body ul,
.ukl-body ul,
#cmsContent ul {
  padding-left: 0 !important;
  margin: 0 0 16px !important;
}

/* Wytłuszczony tekst na początku każdego elementu listy */
.description-body ul li strong,
.ukl-body ul li strong,
#cmsContent ul li strong {
  color: #1a2a5e !important;
  font-weight: 700 !important;
}
/* Linki w listach usług — czerwone */
.description-body ul li a strong,
.ukl-body ul li a strong,
#cmsContent ul li a strong {
  color: #c0392b !important;
}
.description-body ul li a,
.ukl-body ul li a,
#cmsContent ul li a {
  color: #c0392b !important;
  text-decoration: none !important;
}
.description-body ul li a:hover,
.ukl-body ul li a:hover,
#cmsContent ul li a:hover {
  text-decoration: underline !important;
}

/* ─────────────────────────────────────────────────────────────────────
   5. BEZPIECZEŃSTWO — przywróć sidebar/footer/nav lists bez karty
   ───────────────────────────────────────────────────────────────────── */
.post-sidebar__toc-list li,
.post-sidebar__toc-list li:hover,
.post-sidebar__related-list li,
.post-sidebar__related-list li:hover,
.nav-left li,
.nav-left li:hover {
  border-left: none !important;
  background: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  margin-bottom: 6px !important;
  transition: none;
}
.footer-links li,
.footer-links li:hover,
.site-footer ul li,
.site-footer ul li:hover,
.contentinfo ul li,
.contentinfo ul li:hover {
  border-left: none !important;
  background: none !important;
  border-radius: 0 !important;
  padding: 3px 0 !important;
  margin-bottom: 0 !important;
  transition: none;
}

/* ===== v17 — Footer logo fix + formularz kontaktowy ===== */

/* ─────────────────────────────────────────────────────────────────────
   1. LOGO W STOPCE — białe tło z zaokrągleniem (logo ma białe tło PNG)
   ───────────────────────────────────────────────────────────────────── */

.footer-logo-wrap:hover {
  background: rgba(255,255,255,1);
}

/* ─────────────────────────────────────────────────────────────────────
   2. FORMULARZ KONTAKTOWY (#mc-contact-form)
   ───────────────────────────────────────────────────────────────────── */
.mc-form-wrap {
  margin: 0 0 24px;
}
#mc-contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 600px;
}
.mc-form-row {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.mc-form-row label {
  font-size: 13px;
  font-weight: 600;
  color: #1a2a5e;
  letter-spacing: 0.01em;
}
.mc-form-row input[type="text"],
.mc-form-row input[type="email"],
.mc-form-row input[type="tel"],
.mc-form-row select,
.mc-form-row textarea {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: #2d3748;
  background: #fff;
  border: 1.5px solid #dde3f0;
  border-radius: 7px;
  padding: 10px 14px;
  width: 100%;
  box-sizing: border-box;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
  outline: none;
}
.mc-form-row input:focus,
.mc-form-row select:focus,
.mc-form-row textarea:focus {
  border-color: #1a2a5e;
  box-shadow: 0 0 0 3px rgba(26,42,94,0.1);
}
.mc-form-row textarea {
  resize: vertical;
  min-height: 110px;
}
.mc-form-row select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%231a2a5e' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
/* Honeypot — ukryty dla ludzi */
.mc-form-row.mc-honeypot {
  display: none !important;
}
/* Zgoda RODO */
.mc-form-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12.5px;
  color: #555;
  line-height: 1.5;
}
.mc-form-consent input[type="checkbox"] {
  margin-top: 2px;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  accent-color: #c0392b;
}
.mc-form-consent a {
  color: #c0392b;
}
/* Przycisk submit */
.mc-form-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #c0392b;
  color: #fff;
  border: none;
  border-radius: 7px;
  padding: 13px 28px;
  font-family: 'Manrope', sans-serif;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: 0.01em;
  transition: background 0.18s ease, transform 0.15s ease;
  align-self: flex-start;
}
.mc-form-submit:hover {
  background: #a93226;
  transform: translateY(-1px);
}
.mc-form-submit:disabled {
  background: #aaa;
  cursor: not-allowed;
  transform: none;
}
/* Komunikaty */
#mc-form-msg,
.mc-form-success,
.mc-form-success {
  background: #f0faf4;
  color: #1a7a40;
  border: 1px solid rgba(26,122,64,0.2);
  font-size: 16px;
  padding: 20px;
}
.mc-form-error {
  padding: 12px 16px;
  border-radius: 7px;
  font-size: 14px;
  font-weight: 500;
  background: #fff5f5;
  color: #c0392b;
  border: 1px solid rgba(192,57,43,0.2);
}

/* ===== v18 — Logo białe, układ treści 2-kolumnowy grid, lepszy rytm wizualny ===== */

/* ─────────────────────────────────────────────────────────────────────
   1. LOGO W STOPCE — biały silhouette (standard dla ciemnych stopek)
   ───────────────────────────────────────────────────────────────────── */

/* ─────────────────────────────────────────────────────────────────────
   2. H1 na stronie głównej / artykule — większy, bardziej dominujący
   ───────────────────────────────────────────────────────────────────── */
.description-body h1,
.ukl-body h1,
#cmsContent h1,
.col-md-9 h1,
.content-small h1 {
  font-size: clamp(28px, 3.5vw, 44px) !important;
  margin-bottom: 32px !important;
  padding-bottom: 20px !important;
}

/* ─────────────────────────────────────────────────────────────────────
   3. LISTY — 2-kolumnowy grid na desktop (profesjonalny wygląd landing)
   ───────────────────────────────────────────────────────────────────── */
@media (min-width: 768px) {
  .description-body ul,
  .ukl-body ul,
  #cmsContent ul {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px 16px !important;
    padding-left: 0 !important;
    margin-bottom: 28px !important;
  }
  /* Elementy listy w gridzie — pełna karta */
  .description-body ul li,
  .ukl-body ul li,
  #cmsContent ul li {
    margin-bottom: 0 !important;
  }
}

/* ─────────────────────────────────────────────────────────────────────
   4. SIDEBAR — lepszy styl, wyraźniejszy nagłówek TOC
   ───────────────────────────────────────────────────────────────────── */
/* Spis treści heading */
#post-toc h4.post-sidebar__heading,
#sidebar .post-sidebar__heading:first-of-type {
  color: #0f1e4a !important;
  font-size: 11px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.08em !important;
  border-bottom: 2px solid #c0392b !important;
  padding-bottom: 6px !important;
  margin-bottom: 12px !important;
}
/* TOC linki — mniejszy rozmiar, czytelniejsze */
.post-sidebar__toc-list a {
  font-size: 12.5px !important;
  color: #4a5568 !important;
  line-height: 1.45 !important;
  display: block !important;
  padding: 3px 0 !important;
}
.post-sidebar__toc-list a:hover,
.post-sidebar__toc-list a.active {
  color: #c0392b !important;
}
/* TOC lista numerowana */
.post-sidebar__toc-list {
  padding-left: 20px !important;
  margin: 0 !important;
}
.post-sidebar__toc-list li {
  list-style: decimal !important;
  padding: 0 !important;
  border: none !important;
  background: none !important;
  margin-bottom: 4px !important;
}

/* ─────────────────────────────────────────────────────────────────────
   5. CTA STRIP (przed stopką) — mocniejsze CTA
   ───────────────────────────────────────────────────────────────────── */
/* UWAGA: nie używamy [class*="cta-strip"] — matchuje też wszystkie children */
.mc-cta-strip {
  background: #1a2a5e !important;
  border-bottom: none !important;
}

/* ─────────────────────────────────────────────────────────────────────
   6. BEZPIECZEŃSTWO — sidebar/footer nie dostaje grid layout
   ───────────────────────────────────────────────────────────────────── */
/* Overriduj grid dla listy w stopce i sidebarze */
.site-footer ul,
footer ul,
.contentinfo ul,
.footer-links,
.sidebar ul,
#sidebar ul,
.post-sidebar__toc-list,
.post-sidebar__related-list,
.nav-left,
.nav ul {
  display: block !important;
  grid-template-columns: unset !important;
}
.site-footer ul li,
footer ul li,
.contentinfo ul li,
.footer-links li,
.sidebar li,
#sidebar li {
  display: block !important;
}

/* ═══════════════════════════════════════════════════════════════════
   v19 — LEKKOŚĆ: logo M, lżejsze karty, lżejszy sidebar
   ═══════════════════════════════════════════════════════════════════ */

/* 1. LOGO W STOPCE — biała pigułka (zachowuje czerwone M) */
.footer-logo-wrap {
  display: inline-block !important;
  background: rgba(255,255,255,0.90) !important;
  border-radius: 8px !important;
  padding: 5px 12px !important;
  margin-bottom: 16px !important;
}
.footer-logo-img {
  filter: none !important;
  max-width: 130px !important;
  max-height: 38px !important;
  height: auto !important;
  opacity: 1 !important;
  display: block !important;
}

/* 2. KARTY LISTY — lżejszy styl (brak tła, cieńszy border, mniej padingu) */
.description-body ul li,
.ukl-body ul li,
#cmsContent ul li {
  border-left: 2px solid rgba(192,57,43,0.50) !important;
  background: none !important;
  border-radius: 0 !important;
  padding: 5px 10px 5px 13px !important;
  margin-bottom: 5px !important;
  line-height: 1.6 !important;
  list-style: none !important;
  transition: none !important;
}
.description-body ul li:hover,
.ukl-body ul li:hover,
#cmsContent ul li:hover {
  background: rgba(26,42,94,0.04) !important;
}

/* 3. SIDEBAR CTA — lżejszy, bez ciemnego tła */
.has-sidebar .post-sidebar__cta,
.post-sidebar__cta {
  background: #f8f9fc !important;
  border: 1px solid rgba(26,42,94,0.14) !important;
  border-radius: 8px !important;
  padding: 14px 14px !important;
}
.has-sidebar .post-sidebar__cta .post-sidebar__cta-text,
.post-sidebar__cta .post-sidebar__cta-text {
  color: #1a2a5e !important;
}

/* 4. SIDEBAR SHARE — monochromatyczne (kolor tylko na hover) */
/* ═══════════════════════════════════════════════════════════════════
   v20 — HOMEPAGE: sekcje usług, blogi, fix FB/LI button
   ═══════════════════════════════════════════════════════════════════ */
.post-sidebar__share-fb,
.post-sidebar__share-li {
  background: #f1f3f8 !important;
  color: #1a2a5e !important;
  border: 1px solid rgba(26,42,94,0.14) !important;
}
.post-sidebar__share-fb:hover,
.post-sidebar__share-li:hover { color: #fff !important; }

/* ─── HOMEPAGE — content sekcja widoczna, ale bez nagłówka H1 (duplikat z hero) ─── */
.mc-homepage .content h1 { display: none !important; }
/* Lekkie oddzielenie sekcji od kart usług */
.mc-homepage .wrapper { border-top: 1px solid #e8eaf0; }

/* ─── SEKCJA WSPÓLNA ─── */
.mc-services-section,
.mc-blog-section {
  padding: 52px 0 56px;
  border-top: 1px solid #e8eaf0;
}
.mc-services-section { background: #f8f9fc; }
.mc-blog-section    { background: #fff; }

.mc-section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 28px;
  flex-wrap: wrap;
  gap: 8px;
}
.mc-section-title {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(20px, 2.5vw, 26px);
  font-weight: 800;
  color: #1a2a5e;
  margin: 0;
  border-left: 4px solid #c0392b;
  padding-left: 14px;
  line-height: 1.2;
}
.mc-see-all {
  font-size: 14px;
  font-weight: 600;
  color: #c0392b;
  text-decoration: none;
  white-space: nowrap;
}
.mc-see-all:hover { text-decoration: underline; color: #a93226; }

/* ─── KARTY USŁUG — brand colors + watermark ─── */
.mc-services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
@media (max-width: 991px) { .mc-services-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 599px)  { .mc-services-grid { grid-template-columns: 1fr; } }

.mc-service-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 14px rgba(0,0,0,.08);
  text-decoration: none !important;
  color: inherit;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform .2s, box-shadow .2s;
  position: relative;
}
.mc-service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 32px rgba(26,42,94,.18);
  text-decoration: none !important;
}
/* Kolorowy top — jednolity granat dla wszystkich */
.mc-service-card__top {
  background: linear-gradient(135deg, #1a2a5e 0%, #243878 100%);
  padding: 22px 20px 18px;
  position: relative;
  overflow: hidden;
  min-height: 130px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
/* Czerwona linia akcentu na lewym marginesie */
.mc-service-card__top::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: #c0392b;
}
/* Znaki wodne — duże SVG w tle */
.mc-service-card__wm {
  position: absolute;
  right: -10px;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.10;
  pointer-events: none;
}
.mc-service-card__wm svg { width: 110px; height: 110px; display: block; }
/* Mała biała ikona */
.mc-service-card__icon { margin-bottom: 8px; }
.mc-service-card__icon svg { width: 32px; height: 32px; display: block; }
/* Tytuł w top sekcji */
.mc-service-card__name {
  font-size: 15px;
  font-weight: 800;
  color: #fff;
  line-height: 1.25;
  margin: 0;
  letter-spacing: -0.01em;
}
/* Opis pod kartą */
.mc-service-card__body { padding: 14px 18px 10px; flex: 1; }
.mc-service-card__desc {
  font-size: 13px;
  color: #5a6a80;
  line-height: 1.55;
  margin: 0;
}
.mc-service-card__cta {
  display: block;
  padding: 10px 18px 14px;
  font-size: 13px;
  font-weight: 700;
  color: #c0392b;
  text-decoration: none;
}
.mc-service-card:hover .mc-service-card__cta { text-decoration: underline; }

/* ─── KARTY BLOGÓW — brand colors ─── */
.mc-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
@media (max-width: 767px) { .mc-blog-grid { grid-template-columns: 1fr; } }

.mc-blog-card {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 14px rgba(0,0,0,.08);
  background: #fff;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: transform .2s, box-shadow .2s;
}
.mc-blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 32px rgba(26,42,94,.18);
  text-decoration: none;
  color: inherit;
}
.mc-blog-card__header {
  height: 200px;
  display: flex;
  align-items: flex-end;
  padding: 12px 16px;
  position: relative;
  overflow: hidden;
}
/* Numer posta jako znak wodny */
.mc-blog-card__header::after {
  content: attr(data-num);
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 80px;
  font-weight: 900;
  color: rgba(255,255,255,0.12);
  line-height: 1;
  font-family: 'Manrope', sans-serif;
  letter-spacing: -4px;
}
.mc-blog-card__tag {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: rgba(255,255,255,.85);
  background: rgba(255,255,255,.18);
  border-radius: 4px;
  padding: 3px 8px;
  position: relative;
  z-index: 1;
}
.mc-blog-card__body {
  padding: 16px 18px 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.mc-blog-card__title {
  font-size: 15px;
  font-weight: 700;
  color: #1a2a5e;
  margin: 0 0 8px;
  line-height: 1.4;
}
.mc-blog-card__desc {
  font-size: 13px;
  color: #5a6a80;
  line-height: 1.55;
  margin: 0 0 12px;
  flex: 1;
}
.mc-blog-card__cta { font-size: 13px; font-weight: 700; color: #c0392b; }

/* ===== v22: CRO — telefon w header, CTA strip, mobile ===== */

/* Numer telefonu w headerze */
.mc-header-phone {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #c0392b;
  color: #fff !important;
  font-size: 14px;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: 4px;
  text-decoration: none;
  letter-spacing: 0.02em;
  white-space: nowrap;
  transition: background 0.2s;
}
.mc-header-phone:hover { background: #a93226; color: #fff !important; }
.mc-header-phone__icon { font-size: 16px; }
@media (max-width: 767px) {
  .mc-header-phone { font-size: 12px; padding: 5px 10px; }
}

/* ── CTA Strip (mini-formularz konwersji) ─────────────────────────────── */
.mc-cta-strip {
  background: #1a2a5e;
  padding: 44px 0 40px;
  position: relative;
  overflow: hidden;
  border-bottom: none;
}
.mc-cta-strip::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: #c0392b;
}
.mc-cta-strip__inner {
  display: flex;
  align-items: center;
  gap: 40px;
}
@media (max-width: 768px) {
  .mc-cta-strip__inner { flex-direction: column; gap: 24px; }
}

/* Lewa kolumna — nagłówek */
.mc-cta-strip__left { flex: 1; }
.mc-cta-strip__headline {
  color: #fff;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.3;
  margin: 0 0 10px;
  letter-spacing: -0.01em;
}
.mc-cta-strip__sub {
  color: rgba(255,255,255,0.65);
  font-size: 14px;
  margin: 0;
}
@media (max-width: 768px) {
  .mc-cta-strip__headline { font-size: 18px; text-align: center; }
  .mc-cta-strip__sub { text-align: center; }
}

/* Prawa kolumna — formularz */
.mc-cta-strip__right { flex: 1; max-width: 480px; }
.mc-cta-strip__fields {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
}
.mc-cta-strip__fields input {
  flex: 1;
  padding: 11px 14px;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 5px;
  background: rgba(255,255,255,0.1);
  color: #fff;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
}
.mc-cta-strip__fields input::placeholder { color: rgba(255,255,255,0.5); }
.mc-cta-strip__fields input:focus {
  border-color: rgba(255,255,255,0.6);
  background: rgba(255,255,255,0.15);
}
@media (max-width: 500px) {
  .mc-cta-strip__fields { flex-direction: column; }
}

.mc-cta-strip__rodo {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: rgba(255,255,255,0.55);
  font-size: 11px;
  line-height: 1.4;
  margin-bottom: 12px;
  cursor: pointer;
}
.mc-cta-strip__rodo input[type="checkbox"] {
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: #c0392b;
}

.mc-cta-strip__btn {
  width: 100%;
  background: #c0392b;
  color: #fff;
  border: none;
  border-radius: 5px;
  padding: 13px 20px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  letter-spacing: 0.01em;
}
.mc-cta-strip__btn:hover { background: #a93226; }
.mc-cta-strip__btn:active { transform: scale(0.99); }
.mc-cta-strip__btn:disabled { opacity: 0.7; cursor: not-allowed; }

.mc-cta-strip__success {
  color: #7fdd90;
  font-size: 15px;
  font-weight: 600;
  text-align: center;
  padding: 12px 0;
}
#mc-quick-msg {
  color: #ffb3b3;
  font-size: 12px;
  margin-top: 6px;
  text-align: center;
}

/* ── Mobile sticky phone bar ────────────────────────────────────────────── */
@media (max-width: 767px) {
  .mc-mobile-call {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    z-index: 9999;
    background: #c0392b;
    display: flex;
    box-shadow: 0 -2px 12px rgba(0,0,0,0.25);
  }
  .mc-mobile-call a {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px;
    color: #fff !important;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
  }
  .mc-mobile-call a + a {
    border-left: 1px solid rgba(255,255,255,0.3);
    background: #1a2a5e;
  }
  /* Dodaj padding do footer żeby nie zakrywał treści */
  body { padding-bottom: 54px; }
}

/* ===== v24 — Stopka: normy ISO + social media | Formularz: social proof + obietnica ===== */

/* ── FOOTER NORM TAGS ── */
.footer-norms {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 12px 0 16px;
}
.footer-norm-tag {
  display: inline-block;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.22);
  color: rgba(255,255,255,0.80);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 3px 8px;
  border-radius: 3px;
}

/* ── FOOTER BOTTOM — social ikony ── */
.footer-bottom-row {
  align-items: center;
}
.footer-bottom-social {
  text-align: center;
  display: flex;
  justify-content: center;
  gap: 10px;
}
.footer-bottom-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: rgba(255,255,255,0.55) !important;
  border: 1px solid rgba(255,255,255,0.18);
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}
.footer-bottom-icon:hover { background: rgba(255,255,255,0.12); color: #fff !important; }
@media (max-width: 767px) {
  .footer-bottom-social { margin: 8px 0; }
}

/* ── FORMULARZ: SOCIAL PROOF ── */
.mc-form-social-proof {
  display: flex;
  gap: 0;
  background: #f0f4ff;
  border: 1px solid #dce3f5;
  border-radius: 8px 8px 0 0;
  border-bottom: none;
  padding: 12px 16px;
  margin-bottom: 0;
}
.mc-form-sp-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 8px;
}
.mc-form-sp-item + .mc-form-sp-item {
  border-left: 1px solid #dce3f5;
}
.mc-form-sp-num {
  font-size: 18px;
  font-weight: 800;
  color: #1a2a5e;
  line-height: 1.1;
}
.mc-form-sp-txt {
  font-size: 11px;
  color: #666;
  margin-top: 2px;
}

/* Formularz po social proof — zaokrąglenie góry usunięte */
.mc-form-social-proof + form#mc-contact-form,
.mc-form-wrap .mc-form-social-proof ~ form {
  border-radius: 0 0 8px 8px;
}

/* ── FORMULARZ: OBIETNICA POD PRZYCISKIEM ── */
.mc-form-promise {
  margin: 8px 0 0;
  font-size: 13px;
  color: #2a7a40;
  font-weight: 500;
  text-align: center;
}

/* Mobile: social proof kompakt */
@media (max-width: 480px) {
  .mc-form-sp-num { font-size: 15px; }
  .mc-form-sp-txt { font-size: 10px; }
  .mc-form-social-proof { padding: 10px 8px; }
}

/* ===== v25 — Blog photos, icon contrast, section separation ===== */

/* 1. Blog card — ciemny overlay na zdjęciach (::before) */
.mc-blog-card__header {
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}
.mc-blog-card__header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,18,50,0.68) 0%, rgba(10,18,50,0.42) 100%);
  z-index: 0;
}
.mc-blog-card__tag {
  position: relative;
  z-index: 2;
}

/* 2. Service card icons — białe, bardziej widoczne */
.mc-service-card__icon {
  filter: drop-shadow(0 0 6px rgba(255,255,255,0.35));
}
.mc-service-card__icon svg {
  width: 36px !important;
  height: 36px !important;
}
.mc-service-card__wm {
  opacity: 0.14 !important;
}

/* 3. Wyraźne oddzielenie: CTA strip → footer (czerwona kreska) */
.site-footer {
  border-top: 5px solid #c0392b !important;
}

/* ═══════════════════════════════════════════════════════════════
   v20 — Footer pełna szerokość (brak ograniczenia Bootstrap .container)
   ═══════════════════════════════════════════════════════════════ */

/* Footer i footer-bottom: container rozciągnięty do pełnej szerokości */
.site-footer .container,
.footer-bottom .container {
  max-width: 100% !important;
  width: 100% !important;
  padding-left: 5vw !important;
  padding-right: 5vw !important;
}

/* CTA strip: analogicznie pełna szerokość */
.mc-cta-strip .container {
  max-width: 100% !important;
  width: 100% !important;
  padding-left: 5vw !important;
  padding-right: 5vw !important;
}

@media (max-width: 767px) {
  .site-footer .container,
  .footer-bottom .container,
  .mc-cta-strip .container {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
}

/* ===== SIDEBAR: ukryj domyślnie, pokaż tylko gdy .has-sidebar ===== */
#sidebar.sidebar-offcanvas {
  display: none !important;
}
.has-sidebar #sidebar.sidebar-offcanvas {
  display: block !important;
}


/* ===== MULTICERT-PROFESSIONAL-2026 ===== */

/* TYPOGRAPHY: description-body */
.description-body { font-size: 16px; line-height: 1.78; color: #333; }
.description-body p { margin-bottom: 1.1em; }
.description-body h2 {
  font-size: 22px; font-weight: 700; color: #1a2a5e;
  margin: 1.8em 0 0.65em; padding-left: 14px;
  border-left: 4px solid #c0392b; line-height: 1.3;
}
.description-body h3 { font-size: 18px; font-weight: 600; color: #1a2a5e; margin: 1.4em 0 0.5em; }
.description-body ul { padding-left: 0; list-style: none; margin-bottom: 1.2em; }
.description-body ul li { position: relative; padding: 4px 0 4px 26px; }
.description-body ul li::before { content: "\2713"; position: absolute; left: 0; color: #c0392b; font-weight: 700; }
.description-body ol { padding-left: 22px; margin-bottom: 1.2em; }
.description-body ol li { padding: 4px 0; line-height: 1.65; }
.description-body strong, .description-body b { color: #1a2a5e; }
.description-body a { color: #c0392b; }
.description-body a:hover { color: #a93226; }
.description-body blockquote {
  background: #f0f4ff; border-left: 5px solid #1a2a5e;
  padding: 16px 20px; margin: 1.5em 0; border-radius: 0 6px 6px 0;
  color: #1a2a5e; font-style: italic;
}

/* TABLES */
.description-body table { width: 100%; border-collapse: collapse; margin-bottom: 1.5em; font-size: 15px; }
.description-body table th { background: #1a2a5e; color: #fff; padding: 10px 14px; text-align: left; font-weight: 600; }
.description-body table td { padding: 9px 14px; border-bottom: 1px solid #e0e4f0; vertical-align: top; }
.description-body table tr:nth-child(even) td { background: #f7f8fc; }
.description-body table tr:hover td { background: #eef1fb; }

/* H1 IN CONTENT */
.content h1, .news h1 { font-size: 30px; font-weight: 800; color: #1a2a5e; line-height: 1.25; }
.post-hero-banner h1 { font-size: 34px; font-weight: 800; line-height: 1.2; }

/* SERVICE CARDS HOVER */
.mc-service-card {
  border-radius: 10px;
  box-shadow: 0 3px 16px rgba(26,42,94,0.09);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  overflow: hidden;
}
.mc-service-card:hover { transform: translateY(-4px); box-shadow: 0 8px 28px rgba(26,42,94,0.17); }

/* BENEFIT CARDS */
.mc-benefit {
  background: #f4f8ff; border-radius: 8px; padding: 18px 20px;
  border: 1px solid #dde6f7;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.mc-benefit:hover { border-color: #c0392b; box-shadow: 0 3px 12px rgba(192,57,43,0.10); }

/* PROCESS STEPS */
.mc-step {
  display: -webkit-box; display: flex; gap: 16px; margin-bottom: 16px;
  padding: 18px 20px; background: #f9faff;
  border-radius: 8px; border: 1px solid #e8ecf7; align-items: flex-start;
}
.mc-step__number {
  -webkit-box-flex: 0; flex-shrink: 0; width: 40px; height: 40px;
  background: #c0392b; color: #fff; border-radius: 50%;
  display: -webkit-box; display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 17px; line-height: 1;
}
.mc-step__content h3 { margin: 0 0 6px; font-size: 16px; font-weight: 700; color: #1a2a5e; }
.mc-step__content p { margin: 0; font-size: 14px; color: #555; line-height: 1.55; }

/* FAQ */
.mc-faq-item { background: #fff; border: 1px solid #e4e8f3; border-radius: 8px; margin-bottom: 10px; overflow: hidden; }
.mc-faq-item__q { display: block; padding: 16px 20px; font-weight: 600; color: #1a2a5e; font-size: 15px; background: #f7f8fc; }
.mc-faq-item__q:hover { background: #eef1fb; color: #1a2a5e; }
.mc-faq-item__a { padding: 14px 20px; color: #444; font-size: 15px; line-height: 1.65; border-top: 1px solid #e4e8f3; }

/* CTA BOXES */
.mc-cta {
  background: -webkit-linear-gradient(315deg, #1a2a5e 0%, #0d1e4a 100%);
  background: linear-gradient(135deg, #1a2a5e 0%, #0d1e4a 100%);
  color: #fff; border-radius: 12px; padding: 28px 32px;
  text-align: center; margin: 2em 0;
}
.mc-cta__title { font-size: 20px; font-weight: 700; margin: 0 0 10px; color: #fff; }
.mc-cta__text { font-size: 15px; opacity: 0.88; margin: 0 0 18px; color: #fff; }
.mc-cta__btn {
  display: inline-block; background: #c0392b; color: #fff !important;
  padding: 12px 28px; border-radius: 6px; font-weight: 700; font-size: 15px;
  text-decoration: none; transition: background 0.2s ease;
}
.mc-cta__btn:hover { background: #a93226; text-decoration: none; }

/* BLOG CARDS */
.mc-blog-card {
  border-radius: 10px; box-shadow: 0 2px 12px rgba(26,42,94,0.08);
  overflow: hidden; transition: transform 0.22s ease, box-shadow 0.22s ease; background: #fff;
}
.mc-blog-card:hover { transform: translateY(-3px); box-shadow: 0 6px 24px rgba(26,42,94,0.14); }

/* INFO BOX */
.mc-info-box {
  background: #f0f5ff; border: 1px solid #c6d8ff;
  border-left: 5px solid #1a2a5e; border-radius: 0 8px 8px 0;
  padding: 16px 20px; margin: 1.5em 0; font-size: 15px; color: #1a2a5e;
}

/* GEO BADGE */
.mc-geo-badge {
  display: -webkit-inline-box; display: inline-flex; align-items: center; gap: 6px;
  background: #eef1fb; border: 1px solid #c6d0ee; color: #1a2a5e;
  font-size: 13px; font-weight: 600; padding: 4px 12px; border-radius: 20px; margin-bottom: 14px;
}

/* IMPROVED BUTTONS */
.btn-primary, .btn-danger { font-weight: 600; transition: background 0.18s ease, -webkit-transform 0.15s ease; transition: background 0.18s ease, transform 0.15s ease; }
.btn-primary:hover, .btn-danger:hover { -webkit-transform: translateY(-1px); transform: translateY(-1px); }

/* RESPONSIVE */
@media (max-width: 767px) {
  .content h1, .news h1 { font-size: 23px; }
  .post-hero-banner h1 { font-size: 24px; }
  .description-body h2 { font-size: 19px; }
  .mc-step { -webkit-box-orient: vertical; -webkit-box-direction: normal; flex-direction: column; }
  .mc-cta { padding: 22px 16px; }
  .mc-cta__title { font-size: 18px; }
}

/* ===== END MULTICERT-PROFESSIONAL-2026 ===== */

/* ===== KONTAKT: hide duplicate contact block ===== */
.page111100004 .box-1219673840 { display: none !important; }


/* ===== ARTICLE: remove navy gradient from .description ===== */
body[class*="prod"] .news .description {
  background-color: #fff !important;
  background-image: none !important;
  color: #2d3748 !important;
}
body[class*="prod"] .news .description::before,
body[class*="prod"] .news .description::after {
  display: none !important;
}
body[class*="prod"] .news .description h1,
body[class*="prod"] .news .description h2,
body[class*="prod"] .news .description h3 {
  color: #1a2a5e !important;
}
