/*
 * BADANIEWARIOGRAFEM.PL Design System
 * Palette: Granatowy Autorytet (D)
 * v1.0.4
 */

/* === DESIGN TOKENS === */
:root {
  --bw-white: #FFFFFF;
  --bw-bg: #FFFFFF;
  --bw-bg-alt: #F8FAFC;
  --bw-bg-warm: #F1F5F9;
  --bw-navy: #0F2B4E;
  --bw-navy-light: #1E3A5F;
  --bw-navy-deep: #091B33;
  --bw-accent: #2563EB;
  --bw-accent-hover: #1D4ED8;
  --bw-accent-light: #3B82F6;
  --bw-accent-bg: #EFF6FF;
  --bw-accent-border: #DBEAFE;
  --bw-text-h: #111827;
  --bw-text-body: #374151;
  --bw-text-muted: #6B7280;
  --bw-text-light: #9CA3AF;
  --bw-border: #E5E7EB;
  --bw-border-light: #F3F4F6;
  --bw-border-hover: #CBD5E1;
  --bw-radius: 10px;
  --bw-radius-lg: 14px;
  --bw-radius-sm: 6px;
  --bw-shadow-sm: 0 1px 2px rgba(0,0,0,0.04);
  --bw-shadow-md: 0 2px 8px rgba(0,0,0,0.06);
  --bw-shadow-lg: 0 4px 24px rgba(0,0,0,0.08);
  --bw-font-serif: 'Source Serif 4', Georgia, serif;
  --bw-font-sans: 'DM Sans', system-ui, -apple-system, sans-serif;
  --bw-max-w: 1140px;
  --bw-section-pad: 80px;
}

/* === SECTION TITLES === */
.bw-eyebrow {
  font-family: var(--bw-font-sans);
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  margin-bottom: 10px; display: flex;
  align-items: center; gap: 10px;
  color: var(--bw-accent);
}
.bw-eyebrow::before {
  content: ''; display: block; width: 28px; height: 2px;
  border-radius: 1px; background: var(--bw-accent);
}
.bw-section-title {
  font-family: var(--bw-font-serif);
  font-size: 34px; font-weight: 700;
  color: var(--bw-text-h); line-height: 1.2;
  letter-spacing: -0.01em; margin-bottom: 12px;
}
.bw-section-desc {
  font-family: var(--bw-font-sans);
  font-size: 17px; color: var(--bw-text-muted);
  max-width: 560px; line-height: 1.65;
}

/* === BUTTONS === */
.bw-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px; border-radius: 8px;
  font-family: var(--bw-font-sans);
  font-size: 14px; font-weight: 600; line-height: 1;
  border: none; cursor: pointer; text-decoration: none;
  transition: all 0.2s ease;
}
.bw-btn svg {
  width: 16px; height: 16px; flex-shrink: 0;
  fill: none; stroke: currentColor; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
}
.bw-btn-primary { background: var(--bw-navy); color: var(--bw-white); }
.bw-btn-primary:hover { background: var(--bw-navy-deep); color: var(--bw-white); }
.bw-btn-accent { background: var(--bw-accent); color: var(--bw-white); }
.bw-btn-accent:hover { background: var(--bw-accent-hover); color: var(--bw-white); }
.bw-btn-outline { background: transparent; color: var(--bw-text-body); border: 1.5px solid var(--bw-border-hover); }
.bw-btn-outline:hover { border-color: var(--bw-navy); color: var(--bw-navy); }
.bw-btn-white { background: var(--bw-white); color: var(--bw-navy); }
.bw-btn-white:hover { background: var(--bw-bg-warm); }
.bw-btn-ghost { background: rgba(255,255,255,0.12); color: var(--bw-white); border: 1.5px solid rgba(255,255,255,0.25); }
.bw-btn-ghost:hover { background: rgba(255,255,255,0.2); }

/* === ICON BOXES === */
.bw-icon-box {
  width: 48px; height: 48px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: var(--bw-accent-bg); border: 1px solid var(--bw-accent-border);
  flex-shrink: 0;
}
.bw-icon-box svg {
  width: 22px; height: 22px; stroke: var(--bw-accent);
  fill: none; stroke-width: 1.75;
  stroke-linecap: round; stroke-linejoin: round;
}
.bw-icon-box-sm { width: 40px; height: 40px; border-radius: 10px; }
.bw-icon-box-sm svg { width: 18px; height: 18px; }
.bw-arrow-link {
  font-family: var(--bw-font-sans); font-size: 13px; font-weight: 600;
  color: var(--bw-accent); display: inline-flex;
  align-items: center; gap: 4px; text-decoration: none;
}
.bw-arrow-link svg {
  width: 14px; height: 14px; fill: none;
  stroke: currentColor; stroke-width: 2.5;
  stroke-linecap: round; stroke-linejoin: round;
  transition: transform 0.2s;
}
.bw-arrow-link:hover svg { transform: translateX(3px); }

/* === HERO === */
.bw-hero { padding: 130px 0 60px; background: var(--bw-bg); }
.bw-hero-inner { max-width: var(--bw-max-w); margin: 0 auto; padding: 0 24px; }
.bw-hero h1 {
  font-family: var(--bw-font-serif); font-size: 52px; font-weight: 700;
  color: var(--bw-navy); line-height: 1.12; letter-spacing: -0.02em;
  margin-bottom: 18px; max-width: 640px;
}
.bw-hero-sub { font-size: 18px; color: var(--bw-text-muted); max-width: 520px; line-height: 1.7; margin-bottom: 32px; }
.bw-hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.bw-stats-strip {
  margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--bw-border);
  display: grid; grid-template-columns: repeat(4,1fr); gap: 24px;
}
.bw-stat-item { text-align: center; }
.bw-stat-num { font-family: var(--bw-font-serif); font-size: 36px; font-weight: 700; color: var(--bw-navy); line-height: 1; margin-bottom: 4px; }
.bw-stat-label { font-size: 12px; font-weight: 500; color: var(--bw-text-light); text-transform: uppercase; letter-spacing: 0.06em; }

/* === SERVICES === */
.bw-services { padding: var(--bw-section-pad) 0; background: var(--bw-bg-alt); }
.bw-services-header { max-width: var(--bw-max-w); margin: 0 auto 44px; padding: 0 24px; }
.bw-services-grid { max-width: var(--bw-max-w); margin: 0 auto; padding: 0 24px; display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin-bottom: 16px; }
.bw-svc-card { background: var(--bw-white); border: 1px solid var(--bw-border); border-radius: var(--bw-radius-lg); padding: 30px 26px; transition: all 0.25s; cursor: pointer; text-decoration: none; display: block; }
.bw-svc-card:hover { border-color: var(--bw-accent-border); box-shadow: var(--bw-shadow-md); transform: translateY(-2px); }
.bw-svc-card .bw-icon-box { margin-bottom: 18px; }
.bw-svc-card h3 { font-size: 17px; font-weight: 700; color: var(--bw-text-h); margin-bottom: 8px; }
.bw-svc-card p { font-size: 14px; color: var(--bw-text-muted); line-height: 1.6; margin-bottom: 16px; }
.bw-svc-card:hover .bw-arrow-link svg { transform: translateX(3px); }
.bw-services-sub { max-width: var(--bw-max-w); margin: 0 auto; padding: 0 24px; display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; }
.bw-svc-mini { background: var(--bw-white); border: 1px solid var(--bw-border); border-radius: var(--bw-radius); padding: 22px 24px; display: flex; align-items: center; gap: 16px; transition: all 0.25s; cursor: pointer; text-decoration: none; }
.bw-svc-mini:hover { border-color: var(--bw-accent-border); }
.bw-svc-mini h4 { font-size: 15px; font-weight: 600; color: var(--bw-text-h); margin-bottom: 2px; }
.bw-svc-mini p { font-size: 13px; color: var(--bw-text-muted); }

/* === PROCESS / TIMELINE === */
.bw-process { padding: var(--bw-section-pad) 0; background: var(--bw-bg); }
.bw-process-header { max-width: var(--bw-max-w); margin: 0 auto 52px; padding: 0 24px; }
.bw-timeline { max-width: var(--bw-max-w); margin: 0 auto; padding: 0 24px; display: grid; grid-template-columns: repeat(5,1fr); gap: 0; position: relative; }
.bw-timeline::before { content: ''; position: absolute; top: 24px; left: 10%; right: 10%; height: 2px; background: var(--bw-border); }
.bw-step { text-align: center; position: relative; padding: 0 8px; }
.bw-step-num { width: 48px; height: 48px; border-radius: 50%; background: var(--bw-accent-bg); border: 2px solid var(--bw-accent-border); display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; position: relative; z-index: 1; font-family: var(--bw-font-serif); font-size: 18px; font-weight: 700; color: var(--bw-accent); }
.bw-step-title { font-size: 14px; font-weight: 700; color: var(--bw-text-h); margin-bottom: 6px; }
.bw-step-desc { font-size: 13px; color: var(--bw-text-muted); line-height: 1.55; }
.bw-process-cta { margin-top: 48px; text-align: center; }

/* === TRUST === */
.bw-trust { padding: var(--bw-section-pad) 0; background: var(--bw-bg-alt); }
.bw-trust-header { max-width: var(--bw-max-w); margin: 0 auto 44px; padding: 0 24px; }
.bw-trust-grid { max-width: var(--bw-max-w); margin: 0 auto; padding: 0 24px; display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; }
.bw-trust-card { background: var(--bw-white); border: 1px solid var(--bw-border); border-radius: var(--bw-radius-lg); padding: 28px 26px; display: flex; gap: 18px; align-items: flex-start; }
.bw-trust-card h3 { font-size: 16px; font-weight: 700; color: var(--bw-text-h); margin-bottom: 6px; }
.bw-trust-card p { font-size: 14px; color: var(--bw-text-muted); line-height: 1.6; }

/* === LOCATIONS === */
.bw-locations { padding: var(--bw-section-pad) 0; background: var(--bw-bg); }
.bw-locations-header { max-width: var(--bw-max-w); margin: 0 auto 44px; padding: 0 24px; }
.bw-locations-layout { max-width: var(--bw-max-w); margin: 0 auto; padding: 0 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.bw-map-container { background: var(--bw-bg-alt); border: 1px solid var(--bw-border); border-radius: var(--bw-radius-lg); padding: 32px; display: flex; align-items: center; justify-content: center; min-height: 360px; }
.bw-loc-list { display: flex; flex-direction: column; }
.bw-loc-item { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; border-bottom: 1px solid var(--bw-border-light); text-decoration: none; transition: all 0.2s; }
.bw-loc-item:first-child { padding-top: 0; }
.bw-loc-item:last-child { border-bottom: none; }
.bw-loc-name { font-size: 15px; font-weight: 600; color: var(--bw-text-h); transition: color 0.2s; }
.bw-loc-item:hover .bw-loc-name { color: var(--bw-accent); }
.bw-loc-arrow { color: var(--bw-text-light); transition: all 0.2s; }
.bw-loc-arrow svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.bw-loc-item:hover .bw-loc-arrow { color: var(--bw-accent); transform: translateX(3px); }
.bw-loc-travel { margin-top: 20px; padding: 20px; background: var(--bw-accent-bg); border: 1px solid var(--bw-accent-border); border-radius: var(--bw-radius); }
.bw-loc-travel h4 { font-size: 14px; font-weight: 700; color: var(--bw-navy); margin-bottom: 4px; }
.bw-loc-travel p { font-size: 13px; color: var(--bw-text-muted); }

/* === FAQ === */
.bw-faq { padding: var(--bw-section-pad) 0; background: var(--bw-bg-alt); }
.bw-faq-header { max-width: var(--bw-max-w); margin: 0 auto 44px; padding: 0 24px; }
.bw-faq-list { max-width: 760px; margin: 0 auto; padding: 0 24px; }
.bw-faq-item { border-bottom: 1px solid var(--bw-border); }
.bw-faq-q { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 20px 0; background: none; border: none; cursor: pointer; text-align: left; font-family: var(--bw-font-sans); gap: 16px; }
.bw-faq-q span { font-size: 16px; font-weight: 600; color: var(--bw-text-h); line-height: 1.4; }
.bw-faq-q svg { width: 18px; height: 18px; stroke: var(--bw-text-light); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; transition: transform 0.3s ease; }
.bw-faq-item.open .bw-faq-q svg { transform: rotate(180deg); stroke: var(--bw-accent); }
.bw-faq-item.open .bw-faq-q span { color: var(--bw-navy); }
.bw-faq-a { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.bw-faq-a-inner { padding: 0 0 20px; font-size: 15px; color: var(--bw-text-muted); line-height: 1.7; }

/* === QUOTE === */
.bw-quote { padding: 64px 0; background: var(--bw-bg); border-top: 1px solid var(--bw-border-light); border-bottom: 1px solid var(--bw-border-light); }
.bw-quote-inner { max-width: 680px; margin: 0 auto; text-align: center; padding: 0 24px; }
.bw-quote-mark { font-family: var(--bw-font-serif); font-size: 64px; color: var(--bw-accent); line-height: 1; margin-bottom: -8px; opacity: 0.3; }
.bw-quote-text { font-family: var(--bw-font-serif); font-size: 24px; color: var(--bw-navy); line-height: 1.5; font-weight: 400; font-style: italic; margin-bottom: 16px; }
.bw-quote-sub { font-size: 15px; color: var(--bw-text-muted); line-height: 1.6; }

/* === FINAL CTA === */
.bw-final-cta { padding: 72px 0; overflow: hidden; background: linear-gradient(135deg, var(--bw-navy-deep) 0%, var(--bw-navy) 50%, var(--bw-navy-light) 100%); }
.bw-final-cta-inner { max-width: var(--bw-max-w); margin: 0 auto; padding: 0 24px; text-align: center; }
.bw-final-cta h2 { font-family: var(--bw-font-serif); font-size: 32px; font-weight: 700; color: var(--bw-white); margin-bottom: 12px; line-height: 1.2; }
.bw-final-cta-desc { font-size: 17px; color: rgba(255,255,255,0.7); margin-bottom: 32px; max-width: 500px; margin-left: auto; margin-right: auto; }
.bw-final-cta-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 28px; }
.bw-final-cta-checks { display: flex; gap: 24px; justify-content: center; flex-wrap: wrap; }
.bw-final-cta-check { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 500; color: rgba(255,255,255,0.7); }
.bw-final-cta-check svg { width: 16px; height: 16px; stroke: var(--bw-accent-light); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* === FOOTER === */
.bw-footer { padding: 56px 0 0; background: #0A1929; color: rgba(255,255,255,0.5); }
.bw-footer-grid { max-width: var(--bw-max-w); margin: 0 auto; padding: 0 24px 48px; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.bw-footer-brand p { font-size: 14px; line-height: 1.7; margin-bottom: 16px; }
.bw-footer-logo { font-family: var(--bw-font-serif); font-size: 17px; font-weight: 700; color: var(--bw-white); margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.bw-footer-logo svg { width: 22px; height: 22px; fill: none; stroke: var(--bw-accent-light); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.bw-footer-contact { display: flex; flex-direction: column; gap: 8px; margin-top: 4px; }
.bw-footer-contact a { font-size: 14px; color: rgba(255,255,255,0.6); text-decoration: none; display: flex; align-items: center; gap: 8px; transition: color 0.2s; }
.bw-footer-contact a:hover { color: var(--bw-white); }
.bw-footer-contact svg { width: 15px; height: 15px; stroke: var(--bw-accent-light); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; opacity: 0.7; }
.bw-footer-col h4 { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(255,255,255,0.35); margin-bottom: 16px; }
.bw-footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.bw-footer-col a { font-size: 14px; color: rgba(255,255,255,0.55); text-decoration: none; transition: color 0.2s; }
.bw-footer-col a:hover { color: var(--bw-white); }
.bw-footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 20px 24px; max-width: var(--bw-max-w); margin: 0 auto; display: flex; justify-content: space-between; align-items: center; font-size: 13px; }
.bw-footer-bottom a { color: rgba(255,255,255,0.4); text-decoration: none; }
.bw-footer-bottom a:hover { color: rgba(255,255,255,0.7); }
.bw-footer-legal { display: flex; gap: 20px; }

/* === MOBILE FLOATING CTA === */
.bw-mobile-cta { display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 99; background: var(--bw-white); border-top: 1px solid var(--bw-border); padding: 10px 16px; box-shadow: 0 -2px 12px rgba(0,0,0,0.08); }
.bw-mobile-cta-inner { display: flex; gap: 8px; }
.bw-mobile-cta .bw-btn { flex: 1; justify-content: center; padding: 12px 16px; font-size: 14px; }

/* === NAV === */
.bw-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--bw-border);
  transition: box-shadow 0.3s;
}
.bw-nav.scrolled { box-shadow: 0 1px 8px rgba(0,0,0,0.06); }
.bw-nav-inner {
  max-width: var(--bw-max-w); margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.bw-nav-logo {
  font-family: var(--bw-font-serif); font-size: 17px; font-weight: 700;
  color: var(--bw-navy); text-decoration: none;
  display: flex; align-items: center; gap: 8px;
}
.bw-nav-logo svg { width: 26px; height: 26px; }
.bw-nav-links {
  display: flex; align-items: center; gap: 28px;
  list-style: none; padding: 0; margin: 0;
}
.bw-nav-links a {
  font-family: var(--bw-font-sans);
  font-size: 14px; font-weight: 500;
  color: var(--bw-text-body); text-decoration: none;
  transition: color 0.2s;
}
.bw-nav-links a:hover { color: var(--bw-navy); }
.bw-nav-cta {
  display: flex; align-items: center; gap: 6px;
  font-family: var(--bw-font-sans);
  font-size: 14px; font-weight: 600; color: var(--bw-navy);
  text-decoration: none; padding: 8px 18px; border-radius: 6px;
  border: 1.5px solid var(--bw-navy); transition: all 0.2s;
}
.bw-nav-cta:hover { background: var(--bw-navy); color: var(--bw-white); }
.bw-nav-cta svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.bw-nav-mobile {
  display: none; background: none; border: none;
  cursor: pointer; padding: 4px;
}
.bw-nav-mobile svg {
  width: 24px; height: 24px; stroke: var(--bw-text-h);
  fill: none; stroke-width: 2; stroke-linecap: round;
}
.bw-nav-mobile-menu {
  display: none; flex-direction: column;
  padding: 0 24px 20px; background: var(--bw-white);
  border-bottom: 1px solid var(--bw-border);
}
.bw-nav-mobile-menu a {
  font-family: var(--bw-font-sans);
  font-size: 15px; font-weight: 500;
  color: var(--bw-text-body); text-decoration: none;
  padding: 12px 0; border-bottom: 1px solid var(--bw-border-light);
  transition: color 0.2s;
}
.bw-nav-mobile-menu a:last-child { border-bottom: none; }
.bw-nav-mobile-menu a:hover { color: var(--bw-navy); }
.bw-nav-mobile-phone {
  display: flex; align-items: center; gap: 8px;
  margin-top: 8px; padding: 12px 20px;
  background: var(--bw-navy); color: var(--bw-white) !important;
  border-radius: 8px; font-weight: 600; justify-content: center;
}
.bw-nav-mobile-phone svg {
  width: 16px; height: 16px; fill: none;
  stroke: currentColor; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
}
.bw-nav-mobile-menu.open { display: flex; }

/* === SUBPAGE HERO === */
.bw-sub-hero { padding: 110px 0 48px; background: var(--bw-bg-alt); border-bottom: 1px solid var(--bw-border); }
.bw-sub-hero-inner { max-width: var(--bw-max-w); margin: 0 auto; padding: 0 24px; }
.bw-sub-hero h1 { font-family: var(--bw-font-serif); font-size: 42px; font-weight: 700; color: var(--bw-navy); line-height: 1.15; letter-spacing: -0.01em; margin-bottom: 14px; max-width: 600px; }
.bw-sub-hero-desc { font-size: 17px; color: var(--bw-text-muted); max-width: 540px; line-height: 1.65; margin-bottom: 28px; }
.bw-sub-hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }

/* === BREADCRUMB === */
.bw-breadcrumb { max-width: var(--bw-max-w); margin: 0 auto; padding: 16px 24px 0; font-family: var(--bw-font-sans); font-size: 13px; color: var(--bw-text-light); }
.bw-breadcrumb a { color: var(--bw-text-muted); text-decoration: none; transition: color 0.2s; }
.bw-breadcrumb a:hover { color: var(--bw-accent); }
.bw-breadcrumb span { margin: 0 6px; }

/* === USE CASES === */
.bw-cases { padding: var(--bw-section-pad) 0; background: var(--bw-bg); }
.bw-cases-header { max-width: var(--bw-max-w); margin: 0 auto 44px; padding: 0 24px; }
.bw-cases-grid { max-width: var(--bw-max-w); margin: 0 auto; padding: 0 24px; display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; }
.bw-case-card { background: var(--bw-bg-alt); border: 1px solid var(--bw-border); border-radius: var(--bw-radius-lg); padding: 28px 26px; display: flex; gap: 18px; align-items: flex-start; transition: all 0.25s; }
.bw-case-card:hover { border-color: var(--bw-accent-border); box-shadow: var(--bw-shadow-sm); }
.bw-case-card h3 { font-family: var(--bw-font-sans); font-size: 16px; font-weight: 700; color: var(--bw-text-h); margin-bottom: 6px; }
.bw-case-card p { font-family: var(--bw-font-sans); font-size: 14px; color: var(--bw-text-muted); line-height: 1.6; }

/* === PRICING BOX === */
.bw-pricing-box { max-width: var(--bw-max-w); margin: 0 auto; padding: 0 24px; }
.bw-pricing-box-inner { background: var(--bw-accent-bg); border: 1px solid var(--bw-accent-border); border-radius: var(--bw-radius-lg); padding: 36px 32px; display: flex; gap: 24px; align-items: flex-start; }
.bw-pricing-box-inner .bw-icon-box { background: var(--bw-white); }
.bw-pricing-box h3 { font-family: var(--bw-font-sans); font-size: 18px; font-weight: 700; color: var(--bw-navy); margin-bottom: 8px; }
.bw-pricing-box p { font-size: 15px; color: var(--bw-text-muted); line-height: 1.65; margin-bottom: 6px; }
.bw-pricing-box .bw-price { font-family: var(--bw-font-serif); font-size: 28px; font-weight: 700; color: var(--bw-navy); margin-bottom: 4px; }
.bw-pricing-box .bw-price-note { font-size: 13px; color: var(--bw-text-light); }

/* === PROSE === */
.bw-prose { padding: var(--bw-section-pad) 0; }
.bw-prose-inner { max-width: var(--bw-max-w); margin: 0 auto; padding: 0 24px; }
.bw-prose-content { max-width: 720px; }
.bw-prose-content p { font-size: 16px; color: var(--bw-text-body); line-height: 1.75; margin-bottom: 16px; }
.bw-prose-content strong { color: var(--bw-text-h); font-weight: 600; }

/* === FULL-WIDTH OVERRIDE FOR GP === */
body.bw-page .site-content,
body.bw-page .content-area,
body.bw-page .entry-content,
body.bw-page #content,
body.bw-page .inside-article {
  max-width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin: 0 !important;
  width: 100% !important;
}
body.bw-page #right-sidebar { display: none !important; }

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .bw-services-grid { grid-template-columns: repeat(2,1fr); }
  .bw-timeline { grid-template-columns: repeat(3,1fr); gap: 24px; }
  .bw-timeline::before { display: none; }
  .bw-prose-inner > div[style*="grid-template-columns"] { grid-template-columns: 1fr !important; }
    .bw-pricing-cards { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root { --bw-section-pad: 56px; }
  .bw-hero { padding: 100px 0 48px; }
  .bw-hero h1 { font-size: 34px; }
  .bw-hero-sub { font-size: 16px; }
  .bw-stats-strip { grid-template-columns: repeat(2,1fr); gap: 16px; }
  .bw-stat-num { font-size: 28px; }
  .bw-services-grid { grid-template-columns: 1fr; }
  .bw-services-sub { grid-template-columns: 1fr; }
  .bw-timeline { grid-template-columns: 1fr; gap: 20px; }
  .bw-step { text-align: left; display: flex; gap: 16px; align-items: flex-start; }
  .bw-step-num { margin: 0; flex-shrink: 0; width: 40px; height: 40px; font-size: 16px; }
  .bw-trust-grid { grid-template-columns: 1fr; }
  .bw-locations-layout { grid-template-columns: 1fr; }
  .bw-map-container { min-height: 240px; }
  .bw-section-title { font-size: 28px; }
  .bw-final-cta h2 { font-size: 26px; }
  .bw-footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .bw-footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .bw-mobile-cta { display: block; }
  body.bw-has-mobile-cta { padding-bottom: 70px; }
  .bw-quote-text { font-size: 20px; }
  .bw-nav-links { display: none; }
  .bw-nav-cta { display: none; }
  .bw-nav-mobile { display: block; }
  .bw-sub-hero { padding: 96px 0 36px; }
  .bw-sub-hero h1 { font-size: 30px; }
  .bw-cases-grid { grid-template-columns: 1fr; }
  .bw-pricing-box-inner { flex-direction: column; }
  .bw-contact-layout { grid-template-columns: 1fr; }
  .bw-form-row { grid-template-columns: 1fr; }
   .bw-pricing-cards { grid-template-columns: 1fr; }
   .bw-prose-inner > div[style*="grid-template-columns"] { grid-template-columns: 1fr !important; }
}

@media (max-width: 480px) {
  .bw-footer-grid { grid-template-columns: 1fr; }
  .bw-final-cta-checks { flex-direction: column; align-items: center; gap: 12px; }
  .bw-hero h1 { font-size: 30px; }
}

/* === CONTACT PAGE === */
.bw-contact { padding: var(--bw-section-pad) 0; background: var(--bw-bg); }
.bw-contact-layout { max-width: var(--bw-max-w); margin: 0 auto; padding: 0 24px; display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: start; }
.bw-contact-info { display: flex; flex-direction: column; gap: 28px; }
.bw-contact-card { background: var(--bw-bg-alt); border: 1px solid var(--bw-border); border-radius: var(--bw-radius-lg); padding: 28px 26px; display: flex; gap: 18px; align-items: flex-start; }
.bw-contact-card h3 { font-family: var(--bw-font-sans); font-size: 16px; font-weight: 700; color: var(--bw-text-h); margin-bottom: 6px; }
.bw-contact-card p { font-size: 14px; color: var(--bw-text-muted); line-height: 1.6; }
.bw-contact-card a { color: var(--bw-accent); text-decoration: none; font-weight: 600; }
.bw-contact-card a:hover { text-decoration: underline; }
.bw-contact-hours { background: var(--bw-accent-bg); border: 1px solid var(--bw-accent-border); border-radius: var(--bw-radius); padding: 20px 24px; }
.bw-contact-hours h4 { font-size: 14px; font-weight: 700; color: var(--bw-navy); margin-bottom: 8px; }
.bw-contact-hours p { font-size: 14px; color: var(--bw-text-muted); line-height: 1.7; }
.bw-contact-form { background: var(--bw-bg-alt); border: 1px solid var(--bw-border); border-radius: var(--bw-radius-lg); padding: 36px 32px; }
.bw-contact-form h3 { font-family: var(--bw-font-serif); font-size: 22px; font-weight: 700; color: var(--bw-text-h); margin-bottom: 6px; }
.bw-contact-form > p { font-size: 14px; color: var(--bw-text-muted); margin-bottom: 24px; }
.bw-form-group { margin-bottom: 18px; }
.bw-form-group label { display: block; font-family: var(--bw-font-sans); font-size: 13px; font-weight: 600; color: var(--bw-text-h); margin-bottom: 6px; }
.bw-form-group input,
.bw-form-group textarea,
.bw-form-group select {
  width: 100%; padding: 12px 14px; border: 1px solid var(--bw-border); border-radius: 8px;
  font-family: var(--bw-font-sans); font-size: 15px; color: var(--bw-text-body);
  background: var(--bw-white); transition: border-color 0.2s; box-sizing: border-box;
}
.bw-form-group input:focus,
.bw-form-group textarea:focus,
.bw-form-group select:focus {
  outline: none; border-color: var(--bw-accent); box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}
.bw-form-group textarea { resize: vertical; min-height: 120px; }
.bw-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.bw-form-note { font-size: 12px; color: var(--bw-text-light); margin-top: 16px; }

/* Contact Form 7 styling override */
.bw-contact-form .wpcf7-form label { display: block; font-family: var(--bw-font-sans); font-size: 13px; font-weight: 600; color: var(--bw-text-h); margin-bottom: 6px; }
.bw-contact-form .wpcf7-form input[type="text"],
.bw-contact-form .wpcf7-form input[type="email"],
.bw-contact-form .wpcf7-form input[type="tel"],
.bw-contact-form .wpcf7-form textarea,
.bw-contact-form .wpcf7-form select {
  width: 100%; padding: 12px 14px; border: 1px solid var(--bw-border); border-radius: 8px;
  font-family: var(--bw-font-sans); font-size: 15px; color: var(--bw-text-body);
  background: var(--bw-white); transition: border-color 0.2s; box-sizing: border-box;
}
.bw-contact-form .wpcf7-form input:focus,
.bw-contact-form .wpcf7-form textarea:focus,
.bw-contact-form .wpcf7-form select:focus {
  outline: none; border-color: var(--bw-accent); box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}
.bw-contact-form .wpcf7-submit {
  width: 100%; padding: 13px 28px; background: var(--bw-accent); color: var(--bw-white);
  border: none; border-radius: 8px; font-family: var(--bw-font-sans); font-size: 14px;
  font-weight: 600; cursor: pointer; transition: background 0.2s;
}
.bw-contact-form .wpcf7-submit:hover { background: var(--bw-accent-hover); }


/* === PRICING TABLE === */
.bw-pricing { padding: var(--bw-section-pad) 0; background: var(--bw-bg); }
.bw-pricing-layout { max-width: var(--bw-max-w); margin: 0 auto; padding: 0 24px; }
.bw-pricing-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.bw-pricing-card { background: var(--bw-white); border: 1px solid var(--bw-border); border-radius: var(--bw-radius-lg); padding: 32px 28px; display: flex; flex-direction: column; transition: all 0.25s; }
.bw-pricing-card:hover { border-color: var(--bw-accent-border); box-shadow: var(--bw-shadow-md); }
.bw-pricing-card.featured { border-color: var(--bw-accent); box-shadow: var(--bw-shadow-md); position: relative; }
.bw-pricing-badge { position: absolute; top: -12px; left: 28px; background: var(--bw-accent); color: var(--bw-white); font-family: var(--bw-font-sans); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; padding: 4px 14px; border-radius: 20px; }
.bw-pricing-card-title { font-family: var(--bw-font-sans); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--bw-accent); margin-bottom: 12px; }
.bw-pricing-card h3 { font-family: var(--bw-font-serif); font-size: 22px; font-weight: 700; color: var(--bw-text-h); margin-bottom: 8px; }
.bw-pricing-card-price { font-family: var(--bw-font-serif); font-size: 32px; font-weight: 700; color: var(--bw-navy); margin-bottom: 4px; }
.bw-pricing-card-note { font-size: 13px; color: var(--bw-text-light); margin-bottom: 20px; }
.bw-pricing-card-desc { font-size: 14px; color: var(--bw-text-muted); line-height: 1.6; margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px solid var(--bw-border-light); }
.bw-pricing-card-features { list-style: none; padding: 0; margin: 0 0 24px; display: flex; flex-direction: column; gap: 10px; flex-grow: 1; }
.bw-pricing-card-features li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--bw-text-body); line-height: 1.5; }
.bw-pricing-card-features li svg { width: 18px; height: 18px; stroke: var(--bw-accent); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; margin-top: 1px; }
.bw-pricing-card .bw-btn { width: 100%; justify-content: center; }

/* ── LOCATION PAGES — GP full-width override ── */
body.bw-location-page .site.grid-container,
body.bw-location-page .site.grid-container.container {
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

body.bw-location-page .site-content#content {
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

body.bw-location-page .separate-containers .site-content .content-area,
body.bw-location-page .content-area {
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    float: none !important;
}

body.bw-location-page .separate-containers .inside-article,
body.bw-location-page .inside-article {
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

body.bw-location-page {
    background: #FFFFFF !important;
}

/* ============================================================
   bw-lokalizacje.css v1.0.0
   Page-specific styles for /lokalizacje/
   Extends bw-design-system.css v1.0.3+
   ============================================================ */

/* ------------------------------------------------
   1. HERO — Search bar + Stats strip
   ------------------------------------------------ */

/* Dark hero override — lokalizacje uses navy bg unlike default sub-hero */
.bw-loc-hero {
  background: linear-gradient(135deg, var(--bw-navy-deep, #091B33) 0%, var(--bw-navy, #0F2B4E) 50%, var(--bw-navy-light, #1E3A5F) 100%);
  border-bottom: none;
}

.bw-loc-hero .bw-eyebrow {
  color: rgba(255, 255, 255, .6);
}

.bw-loc-hero .bw-eyebrow::before {
  background: rgba(255, 255, 255, .3);
}

.bw-loc-hero .bw-section-title {
  color: #fff;
}

.bw-loc-hero .bw-section-desc {
  color: rgba(255, 255, 255, .72);
}

.bw-loc-hero .bw-sub-hero-inner {
  padding-bottom: 56px;
}

.bw-loc-search {
  max-width: 540px;
  margin: 32px auto 0;
}

.bw-loc-search-inner {
  display: flex;
  align-items: center;
  gap: 0;
  background: #fff;
  border-radius: 10px;
  padding: 6px 6px 6px 16px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, .12);
}

.bw-loc-search-inner svg {
  flex-shrink: 0;
}

.bw-loc-search-inner input {
  flex: 1;
  border: none;
  outline: none;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: #111827;
  padding: 10px 12px;
  background: transparent;
  min-width: 0;
}

.bw-loc-search-inner input::placeholder {
  color: #9CA3AF;
}

.bw-loc-search-inner .bw-btn {
  flex-shrink: 0;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 13px;
}

/* Stats strip */
.bw-loc-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.bw-loc-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.bw-loc-stat-val {
  font-family: 'Source Serif 4', serif;
  font-size: 22px;
  font-weight: 700;
  color: #fff;
}

.bw-loc-stat-lbl {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  color: rgba(255, 255, 255, .55);
  text-transform: uppercase;
  letter-spacing: .5px;
  font-weight: 500;
}

.bw-loc-stat-sep {
  width: 1px;
  height: 32px;
  background: rgba(255, 255, 255, .15);
}


/* ------------------------------------------------
   2. REGIONS SECTION — Card grid with city pills
   ------------------------------------------------ */

.bw-loc-regions-section {
  padding: var(--bw-section-pad, 80px) 0;
  background: #fff;
}

.bw-loc-regions-inner {
  max-width: var(--bw-max-w, 1140px);
  margin: 0 auto;
  padding: 0 24px;
}

.bw-loc-regions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.bw-region-card {
  background: #F8FAFC;
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  padding: 24px;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.bw-region-card:hover {
  border-color: #DBEAFE;
  box-shadow: 0 4px 16px rgba(37, 99, 235, .06);
}

.bw-region-card-hd {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.bw-region-card-hd h3 {
  font-family: 'Source Serif 4', serif;
  font-size: 17px;
  font-weight: 700;
  color: #111827;
  margin: 0;
}

.bw-region-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.bw-city-pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border-radius: 8px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #374151;
  background: #fff;
  border: 1px solid #E5E7EB;
  text-decoration: none;
  transition: all .2s ease;
}

.bw-city-pill:hover {
  background: #EFF6FF;
  border-color: #DBEAFE;
  color: #2563EB;
}

.bw-city-pill-main {
  background: #0F2B4E;
  color: #fff;
  border-color: #0F2B4E;
}

.bw-city-pill-main:hover {
  background: #1E3A5F;
  border-color: #1E3A5F;
  color: #fff;
}


/* ------------------------------------------------
   3. CITY CARDS SECTION (shortcode wrapper)
   ------------------------------------------------ */

.bw-loc-cards-section {
  padding: var(--bw-section-pad, 80px) 0;
  background: #F8FAFC;
}

.bw-loc-cards-inner {
  max-width: var(--bw-max-w, 1140px);
  margin: 0 auto;
  padding: 0 24px;
}


/* ------------------------------------------------
   4. WYJAZDOWE BOX + TRUST GRID
   ------------------------------------------------ */

.bw-loc-extras {
  padding: var(--bw-section-pad, 80px) 0;
  background: #fff;
}

.bw-loc-extras-inner {
  max-width: var(--bw-max-w, 1140px);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}

/* Wyjazdowe box */
.bw-loc-wyjazdowe {
  background: linear-gradient(145deg, #0F2B4E 0%, #1E3A5F 100%);
  border-radius: 14px;
  padding: 32px;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.bw-loc-wyjazdowe::after {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: rgba(37, 99, 235, .12);
  pointer-events: none;
}

.bw-loc-wyjazdowe-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.bw-loc-wyjazdowe h3 {
  font-family: 'Source Serif 4', serif;
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 10px;
}

.bw-loc-wyjazdowe > .bw-loc-wyjazdowe-body > p {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  line-height: 1.65;
  color: rgba(255, 255, 255, .7);
  margin: 0;
}

.bw-loc-wyjazdowe-features {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

.bw-loc-wyjazdowe-features span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, .85);
}

.bw-loc-wyjazdowe-features svg {
  color: #3B82F6;
}

/* Trust grid */
.bw-loc-trust-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}


/* ------------------------------------------------
   5. FAQ (page-specific tweak)
   ------------------------------------------------ */

.bw-loc-faq {
  padding: var(--bw-section-pad, 80px) 0;
  background: #F8FAFC;
}

/* ------------------------------------------------
   5b. FINAL CTA — light text fixes
   ------------------------------------------------ */

.bw-final-cta > .bw-final-cta-inner > p {
  font-family: 'DM Sans', sans-serif;
  font-size: 17px;
  color: rgba(255, 255, 255, .7);
  max-width: 500px;
  margin: 0 auto 32px;
  line-height: 1.6;
}

.bw-final-cta-checks span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, .7);
}

.bw-final-cta-checks span svg {
  stroke: #3B82F6;
}


/* ------------------------------------------------
   6. RESPONSIVE
   ------------------------------------------------ */

@media (max-width: 1024px) {
  .bw-loc-regions-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {

  /* Hero */
  .bw-loc-hero .bw-sub-hero-inner {
    padding-bottom: 40px;
  }

  .bw-loc-search {
    margin-top: 24px;
  }

  .bw-loc-search-inner {
    flex-wrap: wrap;
    padding: 8px;
  }

  .bw-loc-search-inner > svg:first-child {
    display: none;
  }

  .bw-loc-search-inner input {
    width: 100%;
    padding: 10px 12px;
  }

  .bw-loc-search-inner .bw-btn {
    width: 100%;
    justify-content: center;
  }

  .bw-loc-stats {
    gap: 16px;
  }

  .bw-loc-stat-val {
    font-size: 18px;
  }

  .bw-loc-stat-sep {
    height: 24px;
  }

  /* Regions */
  .bw-loc-regions-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .bw-region-card {
    padding: 20px;
  }

  /* Extras */
  .bw-loc-extras-inner {
    grid-template-columns: 1fr;
  }

  .bw-loc-wyjazdowe {
    padding: 24px;
  }

  /* FAQ */
  .bw-loc-faq {
    padding: 56px 0;
  }
}

@media (max-width: 480px) {

  .bw-loc-stats {
    gap: 10px;
  }

  .bw-loc-stat-sep {
    display: none;
  }

  .bw-loc-stat {
    flex: 0 0 calc(50% - 6px);
    background: rgba(255, 255, 255, .06);
    border-radius: 8px;
    padding: 12px 8px;
  }

  .bw-loc-wyjazdowe-features {
    flex-direction: column;
    gap: 8px;
  }

  .bw-city-pill {
    padding: 7px 12px;
    font-size: 13px;
  }
}

/* ============================================================
   bw-wiedza.css v1.0.0
   Page-specific styles for /wiedza/
   Extends bw-design-system.css v1.0.4+
   ============================================================ */

/* ------------------------------------------------
   1. QUICK TOPIC NAV
   ------------------------------------------------ */

.bw-wiedza-nav-section {
  padding: 0 0 var(--bw-section-pad, 80px);
  background: #fff;
}

.bw-wiedza-nav-inner {
  max-width: var(--bw-max-w, 1140px);
  margin: 0 auto;
  padding: 0 24px;
}

.bw-wiedza-topics {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-top: 32px;
}

.bw-wiedza-topic {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 20px 12px;
  background: #F8FAFC;
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  text-decoration: none;
  transition: all .2s ease;
}

.bw-wiedza-topic:hover {
  border-color: #DBEAFE;
  background: #EFF6FF;
  box-shadow: 0 4px 16px rgba(37, 99, 235, .06);
}

.bw-wiedza-topic span {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #374151;
  text-align: center;
}

.bw-wiedza-topic:hover span {
  color: #2563EB;
}


/* ------------------------------------------------
   2. CONTENT — Explainer cards + sidebar
   ------------------------------------------------ */

.bw-wiedza-content {
  padding: var(--bw-section-pad, 80px) 0;
  background: #fff;
}

.bw-wiedza-content-inner {
  max-width: var(--bw-max-w, 1140px);
  margin: 0 auto;
  padding: 0 24px;
}

.bw-wiedza-explainer {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 32px;
  align-items: start;
}

.bw-wiedza-info-card {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 24px;
  background: #F8FAFC;
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  margin-bottom: 16px;
  transition: border-color .2s;
}

.bw-wiedza-info-card:hover {
  border-color: #DBEAFE;
}

.bw-wiedza-info-card h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #111827;
  margin: 0 0 6px;
}

.bw-wiedza-info-card p {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: #6B7280;
  line-height: 1.65;
  margin: 0;
}

/* Sidebar numbers box */
.bw-wiedza-sidebar-box {
  background: linear-gradient(145deg, #0F2B4E 0%, #1E3A5F 100%);
  border-radius: 14px;
  padding: 28px;
  position: sticky;
  top: 100px;
}

.bw-wiedza-sidebar-box h4 {
  font-family: 'Source Serif 4', serif;
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 20px;
}

.bw-wiedza-number {
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, .1);
}

.bw-wiedza-number:first-of-type {
  border-top: none;
  padding-top: 0;
}

.bw-wiedza-number-val {
  display: block;
  font-family: 'Source Serif 4', serif;
  font-size: 22px;
  font-weight: 700;
  color: #3B82F6;
  margin-bottom: 2px;
}

.bw-wiedza-number-lbl {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  color: rgba(255, 255, 255, .6);
  line-height: 1.4;
}


/* ------------------------------------------------
   3. STEPS — Przebieg badania
   ------------------------------------------------ */

.bw-wiedza-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  padding-left: 32px;
}

.bw-wiedza-steps::before {
  content: '';
  position: absolute;
  left: 23px;
  top: 24px;
  bottom: 24px;
  width: 2px;
  background: #E5E7EB;
}

.bw-wiedza-step {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  padding: 24px 0;
  position: relative;
}

.bw-wiedza-step-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #EFF6FF;
  border: 2px solid #DBEAFE;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Source Serif 4', serif;
  font-size: 18px;
  font-weight: 700;
  color: #2563EB;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.bw-wiedza-step-body h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: #111827;
  margin: 0 0 6px;
}

.bw-wiedza-step-time {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: #2563EB;
  background: #EFF6FF;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 8px;
}

.bw-wiedza-step-time svg {
  color: #2563EB;
}

.bw-wiedza-step-body p {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: #6B7280;
  line-height: 1.65;
  margin: 0;
  max-width: 600px;
}


/* ------------------------------------------------
   4. USE CASES GRID
   ------------------------------------------------ */

.bw-wiedza-applications {
  padding: var(--bw-section-pad, 80px) 0;
  background: #F8FAFC;
}

.bw-wiedza-applications-inner {
  max-width: var(--bw-max-w, 1140px);
  margin: 0 auto;
  padding: 0 24px;
}

.bw-wiedza-use-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.bw-wiedza-use-card {
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  padding: 28px 24px;
  transition: all .25s;
}

.bw-wiedza-use-card:hover {
  border-color: #DBEAFE;
  box-shadow: 0 4px 16px rgba(37, 99, 235, .06);
  transform: translateY(-2px);
}

.bw-wiedza-use-card .bw-icon-box {
  margin-bottom: 16px;
}

.bw-wiedza-use-card h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #111827;
  margin: 0 0 8px;
}

.bw-wiedza-use-card p {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: #6B7280;
  line-height: 1.6;
  margin: 0;
}


/* ------------------------------------------------
   5. MYTHS — Mit vs Fakt
   ------------------------------------------------ */

.bw-wiedza-myths {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 800px;
  margin: 0 auto;
}

.bw-wiedza-myth {
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  padding: 24px 28px;
}

.bw-wiedza-myth-label {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 10px;
}

.bw-myth-false {
  background: #FEF2F2;
  color: #DC2626;
  border: 1px solid #FECACA;
}

.bw-myth-false svg {
  stroke: #DC2626;
}

.bw-myth-true {
  background: #F0FDF4;
  color: #16A34A;
  border: 1px solid #BBF7D0;
}

.bw-myth-true svg {
  stroke: #16A34A;
}

.bw-wiedza-myth h4 {
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #111827;
  margin: 0 0 8px;
}

.bw-wiedza-myth p {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: #6B7280;
  line-height: 1.65;
  margin: 0;
}


/* ------------------------------------------------
   6. LEGAL CARDS — Prawo w Polsce
   ------------------------------------------------ */

.bw-wiedza-legal {
  padding: var(--bw-section-pad, 80px) 0;
  background: #fff;
}

.bw-wiedza-legal-inner {
  max-width: var(--bw-max-w, 1140px);
  margin: 0 auto;
  padding: 0 24px;
}

.bw-wiedza-legal-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.bw-wiedza-legal-card {
  background: #F8FAFC;
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  padding: 28px;
  transition: border-color .2s;
}

.bw-wiedza-legal-card:hover {
  border-color: #DBEAFE;
}

.bw-wiedza-legal-tag {
  display: inline-flex;
  align-items: center;
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
}

.bw-legal-green {
  background: #F0FDF4;
  color: #16A34A;
  border: 1px solid #BBF7D0;
}

.bw-legal-blue {
  background: #EFF6FF;
  color: #2563EB;
  border: 1px solid #DBEAFE;
}

.bw-legal-gray {
  background: #F3F4F6;
  color: #6B7280;
  border: 1px solid #E5E7EB;
}

.bw-wiedza-legal-card h3 {
  font-family: 'Source Serif 4', serif;
  font-size: 18px;
  font-weight: 700;
  color: #111827;
  margin: 0 0 8px;
}

.bw-wiedza-legal-card p {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: #6B7280;
  line-height: 1.65;
  margin: 0;
}


/* ------------------------------------------------
   7. ARTICLES SECTION (shortcode wrapper)
   ------------------------------------------------ */

.bw-wiedza-articles {
  padding: var(--bw-section-pad, 80px) 0;
  background: #F8FAFC;
}

.bw-wiedza-articles-inner {
  max-width: var(--bw-max-w, 1140px);
  margin: 0 auto;
  padding: 0 24px;
}

/* Post cards (rendered by shortcode) */
.bw-post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.bw-post-card {
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  overflow: hidden;
  transition: all .25s;
  text-decoration: none;
  display: flex;
  flex-direction: column;
}

.bw-post-card:hover {
  border-color: #DBEAFE;
  box-shadow: 0 4px 16px rgba(37, 99, 235, .06);
  transform: translateY(-2px);
}

.bw-post-card-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  background: #F1F5F9;
}

.bw-post-card-img-placeholder {
  width: 100%;
  height: 180px;
  background: linear-gradient(135deg, #0F2B4E, #1E3A5F);
  display: flex;
  align-items: center;
  justify-content: center;
}

.bw-post-card-img-placeholder svg {
  width: 40px;
  height: 40px;
  stroke: rgba(255, 255, 255, .3);
  fill: none;
  stroke-width: 1.5;
}

.bw-post-card-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.bw-post-card-date {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  color: #9CA3AF;
  margin-bottom: 8px;
}

.bw-post-card-body h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #111827;
  margin: 0 0 8px;
  line-height: 1.35;
}

.bw-post-card-body p {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: #6B7280;
  line-height: 1.6;
  margin: 0 0 16px;
  flex: 1;
}

/* "Load more" or "All articles" link */
.bw-wiedza-more {
  text-align: center;
  margin-top: 36px;
}


/* ------------------------------------------------
   8. FAQ (page-specific)
   ------------------------------------------------ */

.bw-wiedza-faq {
  padding: var(--bw-section-pad, 80px) 0;
  background: #fff;
}

/* Final CTA text fix (same as lokalizacje) */
.bw-final-cta > .bw-final-cta-inner > p {
  font-family: 'DM Sans', sans-serif;
  font-size: 17px;
  color: rgba(255, 255, 255, .7);
  max-width: 500px;
  margin: 0 auto 32px;
  line-height: 1.6;
}

.bw-final-cta-checks span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, .7);
}

.bw-final-cta-checks span svg {
  stroke: #3B82F6;
}


/* ------------------------------------------------
   9. RESPONSIVE
   ------------------------------------------------ */

@media (max-width: 1024px) {
  .bw-wiedza-topics {
    grid-template-columns: repeat(3, 1fr);
  }

  .bw-wiedza-explainer {
    grid-template-columns: 1fr;
  }

  .bw-wiedza-sidebar-box {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0 24px;
  }

  .bw-wiedza-sidebar-box h4 {
    grid-column: 1 / -1;
  }

  .bw-wiedza-use-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .bw-post-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {

  .bw-wiedza-topics {
    grid-template-columns: repeat(2, 1fr);
  }

  .bw-wiedza-sidebar-box {
    grid-template-columns: 1fr;
  }

  .bw-wiedza-steps {
    padding-left: 0;
  }

  .bw-wiedza-steps::before {
    display: none;
  }

  .bw-wiedza-step {
    flex-direction: column;
    gap: 12px;
  }

  .bw-wiedza-step-num {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }

  .bw-wiedza-use-grid {
    grid-template-columns: 1fr;
  }

  .bw-wiedza-legal-grid {
    grid-template-columns: 1fr;
  }

  .bw-post-grid {
    grid-template-columns: 1fr;
  }

  .bw-wiedza-faq {
    padding: 56px 0;
  }
}

@media (max-width: 480px) {
  .bw-wiedza-topics {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .bw-wiedza-topic {
    padding: 14px 10px;
  }

  .bw-wiedza-info-card {
    flex-direction: column;
    gap: 12px;
  }

  .bw-wiedza-myth {
    padding: 20px;
  }
}

/* ============================================================
   bw-single-post.css v1.0.0
   Styles for single posts in "wariograf" category
   Add to bw-design-system.css or enqueue separately
   Selector: body.bw-single-post
   ============================================================ */

/* ------------------------------------------------
   1. FULL-WIDTH OVERRIDE (same as other BW pages)
   ------------------------------------------------ */

body.bw-single-post .site-content,
body.bw-single-post .content-area,
body.bw-single-post .entry-content,
body.bw-single-post #content,
body.bw-single-post .inside-article {
  max-width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin: 0 !important;
  width: 100% !important;
}

body.bw-single-post .inside-article {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

body.bw-single-post #right-sidebar {
  display: none !important;
}

/* ------------------------------------------------
   2. POST HERO — Category pills, title, meta
   ------------------------------------------------ */

.bw-post-hero {
  padding-bottom: 40px;
}

.bw-post-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.bw-post-cat-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 14px;
  border-radius: 20px;
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: #2563EB;
  background: #EFF6FF;
  border: 1px solid #DBEAFE;
  text-decoration: none;
  transition: all .2s;
}

.bw-post-cat-pill:hover {
  background: #DBEAFE;
  color: #1D4ED8;
}

.bw-post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 16px;
}

.bw-post-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  color: #6B7280;
}

.bw-post-meta-item svg {
  color: #9CA3AF;
}

/* ------------------------------------------------
   3. POST CONTENT — Typography
   ------------------------------------------------ */

body.bw-single-post .entry-content {
  max-width: 720px !important;
  margin: 0 auto !important;
  padding: 48px 24px 64px !important;
  font-family: 'DM Sans', sans-serif;
}

body.bw-single-post .entry-content p {
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  color: #374151;
  line-height: 1.8;
  margin-bottom: 20px;
}

body.bw-single-post .entry-content h2 {
  font-family: 'Source Serif 4', serif;
  font-size: 26px;
  font-weight: 700;
  color: #0F2B4E;
  line-height: 1.25;
  margin: 48px 0 16px;
  padding-top: 24px;
  border-top: 1px solid #E5E7EB;
}

body.bw-single-post .entry-content h2:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

body.bw-single-post .entry-content h3 {
  font-family: 'Source Serif 4', serif;
  font-size: 20px;
  font-weight: 700;
  color: #111827;
  line-height: 1.3;
  margin: 36px 0 12px;
}

body.bw-single-post .entry-content h4 {
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #111827;
  margin: 28px 0 8px;
}

body.bw-single-post .entry-content strong {
  color: #111827;
  font-weight: 600;
}

body.bw-single-post .entry-content a {
  color: #2563EB;
  text-decoration: underline;
  text-decoration-color: #DBEAFE;
  text-underline-offset: 3px;
  transition: all .2s;
}

body.bw-single-post .entry-content a:hover {
  color: #1D4ED8;
  text-decoration-color: #2563EB;
}

body.bw-single-post .entry-content ul,
body.bw-single-post .entry-content ol {
  margin: 0 0 20px;
  padding-left: 24px;
}

body.bw-single-post .entry-content li {
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  color: #374151;
  line-height: 1.75;
  margin-bottom: 8px;
}

body.bw-single-post .entry-content ul li {
  list-style-type: none;
  position: relative;
  padding-left: 20px;
}

body.bw-single-post .entry-content ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #2563EB;
}

body.bw-single-post .entry-content ol li {
  list-style-type: decimal;
}

body.bw-single-post .entry-content ol li::marker {
  color: #2563EB;
  font-weight: 700;
}

/* Blockquote */
body.bw-single-post .entry-content blockquote {
  margin: 32px 0;
  padding: 24px 28px;
  background: #F8FAFC;
  border-left: 4px solid #2563EB;
  border-radius: 0 10px 10px 0;
}

body.bw-single-post .entry-content blockquote p {
  font-family: 'Source Serif 4', serif;
  font-size: 18px;
  font-style: italic;
  color: #0F2B4E;
  line-height: 1.6;
  margin-bottom: 0;
}

/* Images */
body.bw-single-post .entry-content img {
  border-radius: 10px;
  margin: 28px 0;
  max-width: 100%;
  height: auto;
}

body.bw-single-post .entry-content .wp-caption {
  max-width: 100%;
}

body.bw-single-post .entry-content .wp-caption-text,
body.bw-single-post .entry-content figcaption {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  color: #9CA3AF;
  text-align: center;
  margin-top: 8px;
}

/* Tables */
body.bw-single-post .entry-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 28px 0;
  font-size: 14px;
}

body.bw-single-post .entry-content th {
  background: #0F2B4E;
  color: #fff;
  font-weight: 600;
  text-align: left;
  padding: 12px 16px;
}

body.bw-single-post .entry-content th:first-child {
  border-radius: 8px 0 0 0;
}

body.bw-single-post .entry-content th:last-child {
  border-radius: 0 8px 0 0;
}

body.bw-single-post .entry-content td {
  padding: 12px 16px;
  border-bottom: 1px solid #E5E7EB;
  color: #374151;
}

body.bw-single-post .entry-content tr:hover td {
  background: #F8FAFC;
}

/* Code blocks */
body.bw-single-post .entry-content code {
  font-size: 14px;
  background: #F1F5F9;
  padding: 2px 6px;
  border-radius: 4px;
  color: #0F2B4E;
}

body.bw-single-post .entry-content pre {
  background: #0F2B4E;
  color: #E5E7EB;
  padding: 24px;
  border-radius: 10px;
  overflow-x: auto;
  margin: 28px 0;
}

body.bw-single-post .entry-content pre code {
  background: none;
  padding: 0;
  color: inherit;
}

/* Horizontal rule */
body.bw-single-post .entry-content hr {
  border: none;
  height: 1px;
  background: #E5E7EB;
  margin: 40px 0;
}

/* ------------------------------------------------
   4. INFO BOX (for use in Gutenberg)
   ------------------------------------------------ */

body.bw-single-post .entry-content .bw-info-box {
  background: #EFF6FF;
  border: 1px solid #DBEAFE;
  border-radius: 10px;
  padding: 24px;
  margin: 28px 0;
}

body.bw-single-post .entry-content .bw-info-box p {
  font-size: 15px;
  color: #374151;
  margin-bottom: 0;
}

body.bw-single-post .entry-content .bw-info-box strong {
  color: #0F2B4E;
}

body.bw-single-post .entry-content .bw-warning-box {
  background: #FEF2F2;
  border: 1px solid #FECACA;
  border-radius: 10px;
  padding: 24px;
  margin: 28px 0;
}

body.bw-single-post .entry-content .bw-warning-box p {
  font-size: 15px;
  color: #374151;
  margin-bottom: 0;
}

/* ------------------------------------------------
   5. RELATED POSTS
   ------------------------------------------------ */

.bw-related-posts {
  padding: var(--bw-section-pad, 80px) 0;
  background: #F8FAFC;
}

.bw-related-posts-inner {
  max-width: var(--bw-max-w, 1140px);
  margin: 0 auto;
  padding: 0 24px;
}

/* ------------------------------------------------
   6. HIDE GP DEFAULT ELEMENTS
   ------------------------------------------------ */

body.bw-single-post .entry-meta,
body.bw-single-post .cat-links,
body.bw-single-post .tags-links,
body.bw-single-post .post-navigation,
body.bw-single-post .comments-area,
body.bw-single-post .entry-header {
  display: none !important;
}

/* ------------------------------------------------
   7. RESPONSIVE
   ------------------------------------------------ */

@media (max-width: 768px) {

  .bw-post-hero {
    padding-bottom: 32px;
  }

  .bw-post-meta {
    gap: 12px;
  }

  body.bw-single-post .entry-content {
    padding: 36px 20px 48px !important;
  }

  body.bw-single-post .entry-content p {
    font-size: 15px;
  }

  body.bw-single-post .entry-content h2 {
    font-size: 22px;
    margin: 36px 0 12px;
  }

  body.bw-single-post .entry-content h3 {
    font-size: 18px;
  }

  body.bw-single-post .entry-content blockquote {
    padding: 20px;
  }

  body.bw-single-post .entry-content blockquote p {
    font-size: 16px;
  }

  .bw-related-posts .bw-post-grid {
    grid-template-columns: 1fr;
  }
}