/* =====================================================================
   kurs-bdo.pl - Components
   ===================================================================== */

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-head);
  font-weight: 600; font-size: var(--fs-sm);
  line-height: 1; padding: 15px 24px;
  border-radius: var(--r-pill); border: 1.5px solid transparent;
  cursor: pointer; transition: transform .14s ease, background .2s ease, box-shadow .2s ease, border-color .2s ease;
  white-space: nowrap; text-align: center;
}
.btn:active { transform: translateY(1px); }
.btn svg { width: 19px; height: 19px; }

.btn--primary { background: var(--accent); color: #fff; box-shadow: 0 8px 20px -8px rgba(46,125,50,.55); }
.btn--primary:hover { background: var(--accent-strong); box-shadow: 0 12px 26px -8px rgba(46,125,50,.6); }

.btn--ghost { background: #fff; color: var(--graphite); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent-strong); background: var(--accent-tint); }

.btn--on-dark { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.28); }
.btn--on-dark:hover { background: rgba(255,255,255,.18); border-color: rgba(255,255,255,.5); }

.btn--lg { padding: 17px 30px; font-size: var(--fs-body); }
.btn--block { width: 100%; }
.btn--link { background: none; padding: 0; border: 0; color: var(--accent); font-weight: 600; gap: 6px; }
.btn--link:hover { color: var(--accent-strong); }
.btn--link:hover svg { transform: translateX(3px); }
.btn--link svg { transition: transform .16s ease; width: 17px; height: 17px; }

/* ---------- Pills / badges ---------- */
.pill {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 14px; border-radius: var(--r-pill);
  font-size: var(--fs-xs); font-weight: 600;
  background: var(--accent-soft); color: var(--accent-strong);
}
.pill--outline { background: #fff; border: 1px solid var(--line); color: var(--text-soft); }
.pill--price { background: var(--graphite); color: #fff; font-size: var(--fs-sm); padding: 8px 16px; }
.pill svg { width: 15px; height: 15px; }

.price-tag { font-family: var(--font-head); font-weight: 700; color: var(--graphite); }
.price-tag small { font-weight: 500; color: var(--text-soft); font-size: .7em; }

/* ---------- Icon chip ---------- */
.icon-chip {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--accent-soft); color: var(--accent-strong);
  flex: none;
}
.icon-chip svg { width: 26px; height: 26px; }
.icon-chip--lg { width: 62px; height: 62px; border-radius: 18px; }
.icon-chip--lg svg { width: 31px; height: 31px; }
.icon-chip--ink { background: rgba(255,255,255,.1); color: #fff; }

/* ---------- Cards ---------- */
.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: var(--card-pad);
  box-shadow: var(--shadow-sm); transition: transform .18s ease, box-shadow .2s ease, border-color .2s ease;
}
.card--hover:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--green-200); }

/* Arrow nudge on svc-card hover - triggers from the whole card, not just the link */
/* Service card */
.svc-card { display: flex; flex-direction: column; height: 100%; gap: 20px; justify-content: space-between; position: relative; }
/* Arrow nudge on svc-card hover - triggers from the whole card, not just the link */
.svc-card:hover .btn--link svg { transform: translateX(3px); }
.svc-card.is-star { border-color: var(--green-200); box-shadow: var(--shadow); }
.svc-card .svc-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.svc-card h3 { font-size: var(--fs-h3); margin-bottom: 8px; }
.svc-card p { color: var(--text-soft); font-size: var(--fs-sm); }
.svc-card .svc-foot { padding-top: 10px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.star-flag {
  position: absolute; top: -12px; right: 20px; z-index: 2;
  background: var(--accent); color: #fff; font-size: var(--fs-xs); font-weight: 700;
  padding: 5px 12px; border-radius: var(--r-pill); box-shadow: var(--shadow-sm);
  display: inline-flex; align-items: center; gap: 6px;
}
.star-flag svg { width: 14px; height: 14px; }

/* Step card (process) */
.process-track {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--block-gap);
  position: relative;
}
/* Connecting axis - horizontal line through the center of step numbers.
   Step num is 40px circle starting at var(--card-pad) ≈ 28px from card top,
   so its vertical center sits at ~48px. Cards sit directly in grid, so
   we offset from the grid's top edge by the same amount. */
.process-track::before {
  content: "";
  position: absolute;
  top: 48px;
  left: calc(28px + 20px); /* center of first step-num */
  right: calc(28px + 20px); /* center of last step-num */
  height: 2px;
  background: linear-gradient(
    to right,
    var(--green-200) 0%,
    var(--green-100) 50%,
    var(--green-200) 100%
  );
  z-index: 0;
  pointer-events: none;
}
@media (max-width: 700px) {
  .process-track::before {
    /* Switch to vertical line on single-column layout */
    top: calc(28px + 20px);   /* center of first step-num */
    bottom: calc(28px + 20px); /* center of last step-num */
    left: calc(28px + 20px);  /* horizontally centered on step-num */
    right: auto;
    width: 2px;
    height: auto;
    background: linear-gradient(
      to bottom,
      var(--green-200) 0%,
      var(--green-100) 50%,
      var(--green-200) 100%
    );
  }
}

.step { position: relative; z-index: 1; }
.step .step-num {
  font-family: var(--font-head); font-weight: 700; font-size: 1.05rem;
  width: 40px; height: 40px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  background: var(--accent); color: #fff; margin-bottom: 16px;
}
.step h3 { font-size: var(--fs-h3); margin-bottom: 8px; }
.step p { color: var(--text-soft); font-size: var(--fs-sm); }

/* Feature / list rows */
.feat-row { display: flex; gap: 16px; align-items: flex-start; }
.feat-row .feat-ico { color: var(--accent); flex: none; margin-top: 2px; }
.feat-row .feat-ico svg { width: 24px; height: 24px; }
.feat-row h3 { font-size: var(--fs-h3); margin-bottom: 5px; }
.feat-row p { color: var(--text-soft); font-size: var(--fs-sm); }

.check-list { display: flex; flex-direction: column; gap: 14px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-600); }
.check-list li svg { width: 22px; height: 22px; color: var(--accent); flex: none; margin-top: 3px; }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  /* Never let nav content widen the page - clip horizontally, keep the
     hanging logo visible vertically (clip+visible is a valid combo). */
  overflow-x: clip; overflow-y: visible;
  background: rgba(255,255,255,.86); backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .32s ease, box-shadow .32s ease;
}
.site-header.is-scrolled {
  border-bottom-color: var(--line-soft);
  box-shadow: 0 6px 20px rgba(27,71,46,.06);
}
.nav { display: flex; align-items: center; gap: 24px; height: var(--header-h); flex-wrap: nowrap; transition: height .34s cubic-bezier(.4,0,.2,1); }
.nav__logo {
  position: relative; flex: none; align-self: stretch; cursor: pointer;
  width: 208px;
  transition: width .34s cubic-bezier(.4,0,.2,1);
}
.nav__logo img {
  position: absolute; max-width: none; transform-origin: left top;
  /* Both layers animate ALL geometry with the same duration + easing, and
     cross-fade opacity over that same window - so the swap reads as one
     continuous morph instead of a jump. */
  transition: height .34s cubic-bezier(.4,0,.2,1), width .34s cubic-bezier(.4,0,.2,1), top .34s cubic-bezier(.4,0,.2,1), left .34s cubic-bezier(.4,0,.2,1), filter .34s ease, opacity .34s ease;
}
/* GEOMETRY NOTES - the two images are kept pixel-aligned at every keyframe.
   In logo.webp (500×273) the shield+wordmark (= content of logo-mark.png)
   occupies the box x:86–411, y:17–187 (326×171). Every rect below is that
   box projected through the full logo's current scale, so the mark overlay
   always sits exactly on top of the full logo's shield+wordmark. */
.nav__logo .logo-full {
  top: 10px; left: -52px; height: 140px; width: 256.4px;
  filter: drop-shadow(0 10px 22px rgba(27,71,46,.16));
}
.nav__logo .logo-mark {
  /* mark box at full-logo scale .5128: left -52+86×.5128, top 10+17×.5128 */
  top: 18.7px; left: -7.9px; height: 87.7px; width: 161.2px;
  opacity: 0; pointer-events: none;
  filter: drop-shadow(0 10px 22px rgba(27,71,46,.16));
}
/* Scrolled / compact: the caption-free mark lands ON THE GRID (left: 0 =
   content column edge), 48px tall, vertically centered in the 76px bar. */
.site-header.is-scrolled .nav__logo .logo-mark {
  top: 14px; left: 0; height: 48px; width: 88.2px;
  opacity: 1; filter: drop-shadow(0 3px 9px rgba(27,71,46,.10));
}
/* The full logo shrinks along the SAME path: scale .2807 (48/171) puts its
   mark region exactly on the compact rect above while it fades out. */
.site-header.is-scrolled .nav__logo .logo-full {
  top: 9.2px; left: -24.1px; height: 76.6px; width: 140.3px;
  opacity: 0; filter: drop-shadow(0 3px 9px rgba(27,71,46,.10));
}
@media (max-width: 1000px) {
  :root { --header-h: 126px; }
  .nav__logo { width: 182px; }
  .nav__logo .logo-full { height: 110px; width: 201.5px; top: 10px; left: -20px; }
  /* mark box at mobile scale .403: left -20+86×.403, top 10+17×.403 */
  .nav__logo .logo-mark { top: 16.9px; left: 14.7px; height: 68.9px; width: 126.6px; }
  /* Scrolled: the tall mobile bar collapses to the same compact height as
     desktop so a tiny shrunk logo no longer floats in an oversized bar. The
     dropdown menu (sibling) follows the new header height. */
  .site-header.is-scrolled { --header-h: 76px; }
  .site-header.is-scrolled + .mobile-menu { top: 76px; }
}
.nav__links { display: flex; align-items: center; gap: 4px; margin-left: 8px; flex: none; }
.nav__link {
  position: relative; padding: 10px 14px; border-radius: 10px; white-space: nowrap; flex: none; cursor: pointer;
  font-size: var(--fs-sm); font-weight: 600; color: var(--ink-600);
  display: inline-flex; align-items: center; gap: 6px; cursor: pointer;
  transition: color .15s ease, background .15s ease;
}
.nav__link:hover { color: var(--graphite); background: var(--green-50); }
.nav__link.is-active { color: var(--accent-strong); }
.nav__link.is-active::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px;
  border-radius: 2px; background: var(--accent);
}
.nav__link svg { width: 15px; height: 15px; transition: transform .18s ease; }
.nav__spacer { flex: 1; }
.nav__cta { display: flex; align-items: center; gap: 12px; flex: none; }
.nav__phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: var(--fs-sm); color: var(--graphite); }
.nav__phone svg { width: 18px; height: 18px; color: var(--accent); }
.nav__social {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 10px; flex: none;
  color: var(--accent-strong); background: var(--green-50);
  border: 1.5px solid var(--green-200);
  transition: background .15s, color .15s, border-color .15s;
}
.nav__social:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.nav__social svg { width: 20px; height: 20px; }
@media (max-width: 1000px) { .nav__social { display: none; } }
/* Between ~1000–1340px the full nav fits only without the phone number -
   drop it first, keep the audit CTA (primary action). Phone stays reachable
   on the contact page + footer; under 1000px it lives in the burger menu.
   (Threshold set generously - system fonts on Windows render wider.) */
@media (max-width: 1340px) { .nav__phone { display: none; } }
/* First compression tier: below 1600px tighten paddings + the CTA button
   so the row never outgrows the viewport before the phone-drop tier kicks in. */
@media (max-width: 1600px) {
  .nav { gap: 16px; }
  .nav__links { gap: 2px; margin-left: 0; }
  .nav__link { padding: 10px 11px; }
  .nav__cta { gap: 10px; }
  .nav__cta .btn { padding: 12px 18px; }
}
/* Last squeeze before the burger tier (wide system fonts headroom). */
@media (max-width: 1120px) {
  .nav__link { padding: 10px 8px; }
  .nav__cta .btn { padding: 11px 14px; }
}

/* dropdown */
.has-drop { position: relative; }
.drop {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 320px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg); padding: 10px; z-index: 70;
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .16s ease, transform .16s ease, visibility .16s;
}
.has-drop:hover .drop, .has-drop:focus-within .drop { opacity: 1; visibility: visible; transform: translateY(0); }
.has-drop:hover .nav__link svg { transform: rotate(180deg); }
.drop a { display: flex; gap: 12px; align-items: center; padding: 11px 12px; border-radius: 12px; transition: background .14s; cursor: pointer; }
.drop a:hover { background: var(--green-50); }
.drop a .icon-chip { width: 40px; height: 40px; border-radius: 11px; display: inline-flex; align-items: center; justify-content: center; }
.drop a .icon-chip svg { width: 21px; height: 21px; }
.drop a strong { display: block; font-size: var(--fs-sm); color: var(--graphite); font-weight: 600; }
.drop a span { display: block; font-size: var(--fs-xs); color: var(--text-mute); }

/* mobile nav */
.nav__burger { display: none; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer; align-items: center; justify-content: center; }
.nav__burger svg { width: 24px; height: 24px; color: var(--graphite); }
.mobile-menu { display: none; }

/* Below the tablet tier the audit CTA in the bar would crowd the burger -
   drop it there (it remains in the dropdown menu). */
@media (max-width: 560px) { .nav__cta .btn { display: none; } }

@media (max-width: 1000px) {
  .nav__links, .nav__phone { display: none; }
  .nav__burger { display: inline-flex; }
  /* Keep the primary CTA visible next to the burger on tablet - it also stays
     in the dropdown. Hidden only on small phones where the row gets tight. */
  .mobile-menu {
    display: block; position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0; z-index: 55;
    background: #fff; padding: 22px var(--gutter) 40px; overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-10px); pointer-events: none;
    transition: opacity .22s ease, transform .22s cubic-bezier(.4,0,.2,1), visibility .22s;
    border-top: 1px solid var(--line-soft);
  }
  .mobile-menu.is-open { opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto; }
  .mobile-menu a, .mobile-menu .mm-link {
    display: flex; align-items: center; gap: 12px; padding: 15px 4px;
    font-size: 1.1rem; font-weight: 600; color: var(--graphite); border-bottom: 1px solid var(--line-soft); cursor: pointer;
  }
  .mobile-menu .mm-sub a { font-size: 1rem; color: var(--ink-600); padding-left: 16px; font-weight: 500; }
  .mobile-menu .mm-label { font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .08em; color: var(--text-mute); padding: 18px 4px 6px; font-weight: 700; }
  .mobile-menu .btn { width: 100%; margin-top: 18px; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--surface); }
.hero__bg {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(680px 480px at 88% -8%, var(--green-50), transparent 70%),
    radial-gradient(520px 420px at 6% 108%, var(--green-50), transparent 72%);
}
.hero .wrap { position: relative; z-index: 1; }
.hero__grid { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: clamp(32px, 5vw, 72px); align-items: center; padding-block: clamp(48px, 7vw, 92px); }
.hero__eyebrow { margin-bottom: 18px; }
.hero h1 { font-size: var(--fs-display); margin-bottom: 20px; }
.hero__lead { font-size: var(--fs-lead); color: var(--text-soft); max-width: 100%; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero__proof { margin-top: 26px; display: flex; align-items: center; gap: 10px; color: var(--text-soft); font-size: var(--fs-sm); flex-wrap: wrap; }
.hero__proof .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--green-500); }

/* hero side panel - process preview card */
.hero__panel {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg); padding: clamp(22px, 3vw, 30px); position: relative;
}
.hero__panel::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: linear-gradient(160deg, var(--green-200), transparent 45%); pointer-events: none;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
}
.hero__panel h3 { font-size: 1.05rem; display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.hero__panel h3 svg { width: 22px; height: 22px; color: var(--accent); }
.mini-steps { display: flex; flex-direction: column; gap: 2px; }
.mini-step { display: flex; gap: 14px; padding: 12px 0; }
.mini-step .ms-num { width: 30px; height: 30px; border-radius: 50%; background: var(--green-50); color: var(--accent-strong); font-weight: 700; font-size: .85rem; display: flex; align-items: center; justify-content: center; flex: none; border: 1px solid var(--green-200); }
.mini-step .ms-body strong { display: block; font-size: var(--fs-sm); }
.mini-step .ms-body span { font-size: var(--fs-xs); color: var(--text-soft); }
.mini-step:not(:last-child) { border-bottom: 1px dashed var(--line); }
.hero__panel .panel-foot { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); display: flex; align-items: center; gap: 12px; }
.hero__panel .panel-foot .icon-chip { width: 40px; height: 40px; border-radius: 11px; }
.hero__panel .panel-foot .icon-chip svg { width: 20px; height: 20px; }
.hero__panel .panel-foot div strong { display: block; font-size: var(--fs-sm); }
.hero__panel .panel-foot div span { font-size: var(--fs-xs); color: var(--text-soft); }

/* hero variant: centered */
.hero[data-hero="center"] .hero__grid { grid-template-columns: 1fr; text-align: center; justify-items: center; }
.hero[data-hero="center"] .hero__panel { display: none; }
.hero[data-hero="center"] .hero__lead { max-width: 52ch; }
.hero[data-hero="center"] .hero__cta, .hero[data-hero="center"] .hero__proof { justify-content: center; }
.hero[data-hero="center"] .hero__stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: 46px; width: 100%; max-width: 720px; }

/* hero variant: shield motif (default split keeps panel; shield shows watermark) */
.hero[data-hero="shield"] .hero__bg::after {
  content: ""; position: absolute; right: -40px; top: 50%; transform: translateY(-50%);
  width: 460px; height: 560px; opacity: .05;
  background: var(--accent);
  -webkit-mask: var(--shield-mask) center/contain no-repeat; mask: var(--shield-mask) center/contain no-repeat;
}

.hero__stats .hstat { text-align: center; }
.hero__stats .hstat b { display: block; font-family: var(--font-head); font-size: 1.9rem; font-weight: 700; color: var(--accent-strong); }
.hero__stats .hstat span { font-size: var(--fs-sm); color: var(--text-soft); }

@media (max-width: 920px) {
  .hero__grid { grid-template-columns: 1fr; padding-block: 40px; }
  .hero__panel { order: 2; }
}

/* ---------- Stat band ---------- */
.statband { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.statband .st b { display: block; font-family: var(--font-head); font-weight: 700; font-size: clamp(1.8rem,1.2rem+1.6vw,2.4rem); color: var(--accent-strong); }
.statband .st span { color: var(--text-soft); font-size: var(--fs-sm); }
@media (max-width: 760px) { .statband { grid-template-columns: repeat(2,1fr); gap: 28px 18px; } }

/* ---------- Problem / solution split ---------- */
.ps-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--block-gap); align-items: stretch; }
.ps-card { padding: clamp(26px,3vw,38px); border-radius: var(--r-lg); height: 100%; }
.ps-card--pain { background: #fff; border: 1px solid var(--line); }
.ps-card--gain { background: var(--surface-ink); color: #fff; border: 1px solid var(--surface-ink); }
.ps-card h3 { font-size: var(--fs-h3); margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }
.ps-card--gain h3 { color: #fff; }
.ps-card--pain h3 svg { color: #c0392b; }
.ps-card ul { display: flex; flex-direction: column; gap: 12px; }
.ps-card li { display: flex; gap: 11px; align-items: flex-start; font-size: var(--fs-sm); }
.ps-card--pain li { color: var(--ink-600); }
.ps-card--gain li { color: rgba(255,255,255,.85); }
.ps-card li svg { width: 20px; height: 20px; flex: none; margin-top: 3px; }
.ps-card--pain li svg { color: #d65b4a; }
.ps-card--gain li svg { color: var(--green-500); }
@media (max-width: 760px){ .ps-grid { grid-template-columns: 1fr; } }

/* ---------- Industry chips ---------- */
.ind-card { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; padding: 24px; }
.ind-card h3 { font-size: 1.08rem; }
.ind-card p { font-size: var(--fs-xs); color: var(--text-soft); }

/* "Inne firmy" - catch-all tile, accent-tinted to stand apart from the white cards */
.ind-card--all {
  background: linear-gradient(155deg, var(--green-100), var(--green-50));
  border-color: var(--green-200);
}
.ind-card--all .icon-chip { background: var(--accent); color: #fff; }
.ind-card--all:hover { border-color: var(--accent); }

/* ---------- Team ---------- */
.team-card { display: flex; flex-direction: column; gap: 0; overflow: hidden; padding: 0; }
.team-card image-slot { width: 100%; height: 280px; display: block; }
.team-card .tc-body { padding: 24px var(--card-pad) var(--card-pad); }
.team-card h3 { font-size: var(--fs-h3); margin-bottom: 2px; }
.team-card .tc-role { color: var(--accent-strong); font-weight: 600; font-size: var(--fs-sm); margin-bottom: 14px; }
.team-card .tc-bio { color: var(--text-soft); font-size: var(--fs-sm); }
.team-card .tc-creds { margin-top: 14px; display: flex; flex-direction: column; gap: 8px; }
.team-card .tc-creds li { display: flex; gap: 9px; font-size: var(--fs-xs); color: var(--ink-600); align-items: flex-start; }
.team-card .tc-creds svg { width: 16px; height: 16px; color: var(--accent); flex: none; margin-top: 2px; }

/* ---------- FAQ accordion ---------- */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq-item { border: 1px solid var(--line); border-radius: var(--r); background: #fff; overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.faq-item.is-open { border-color: var(--green-200); box-shadow: var(--shadow-sm); }
.faq-q { width: 100%; text-align: left; background: none; border: 0; cursor: pointer; padding: 20px 22px; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; color: var(--graphite); }
.faq-q .faq-ico { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--green-50); display: flex; align-items: center; justify-content: center; transition: background .2s, transform .2s; }
.faq-q .faq-ico svg { width: 18px; height: 18px; color: var(--accent-strong); transition: transform .22s ease; }
.faq-item.is-open .faq-q .faq-ico { background: var(--accent); }
.faq-item.is-open .faq-q .faq-ico svg { color: #fff; transform: rotate(45deg); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .26s ease; }
.faq-item.is-open .faq-a { grid-template-rows: 1fr; }
.faq-a > div { overflow: hidden; }
.faq-a p { padding: 0 22px 22px; color: var(--text-soft); font-size: var(--fs-sm); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--surface-ink); color: #fff; border-radius: var(--r-xl); padding: clamp(36px,5vw,64px); position: relative; overflow: hidden; }
.cta-band::after { content:""; position:absolute; right:-60px; bottom:-80px; width:340px; height:340px; border-radius:50%; background: radial-gradient(circle, rgba(67,160,71,.32), transparent 65%); }
.cta-band__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.2fr auto; gap: 32px; align-items: center; }
.cta-band h2 { color: #fff; font-size: var(--fs-h2); }
.cta-band p { color: rgba(255,255,255,.82); margin-top: 12px; font-size: var(--fs-lead); max-width: 48ch; }
.cta-band__actions { display: flex; flex-direction: column; gap: 12px; min-width: 250px; }
@media (max-width: 820px){ .cta-band__inner { grid-template-columns: 1fr; } .cta-band__actions { min-width: 0; } }

/* ---------- Testimonials ---------- */
.reviews-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--block-gap); }
.review-card { display: flex; flex-direction: column; gap: 16px; }
.review-card .rv-stars { display: flex; gap: 4px; color: var(--accent); }
.review-card .rv-stars svg { width: 18px; height: 18px; fill: currentColor; }
.review-card .rv-text { color: var(--ink-600); font-size: var(--fs-sm); line-height: 1.65; text-wrap: pretty; }
.review-card .rv-foot { margin-top: auto; padding-top: 6px; display: flex; align-items: center; gap: 13px; }
.review-card .rv-avatar {
  flex: none; width: 44px; height: 44px; border-radius: 50%;
  background: var(--green-100); color: var(--accent-strong);
  font-family: var(--font-head); font-weight: 700; font-size: .95rem;
  display: flex; align-items: center; justify-content: center;
}
.review-card .rv-foot strong { display: block; font-size: var(--fs-sm); color: var(--graphite); }
.review-card .rv-foot span:not(.rv-avatar) { display: block; font-size: var(--fs-xs); color: var(--text-mute); }
.empty-note { margin-top: 26px; text-align: center; color: var(--text-soft); font-size: var(--fs-sm); display: flex; align-items: center; justify-content: center; gap: 8px; }
.empty-note svg { width: 18px; height: 18px; color: var(--accent); }
@media (max-width: 820px){ .reviews-grid { grid-template-columns: 1fr; } }

/* ---------- Breadcrumb / page hero ---------- */
.page-hero { background: var(--surface-alt); border-bottom: 1px solid var(--line-soft); position: relative; overflow: hidden; }
/* Top padding only needs to clear the hanging logo (bottom edge = 150px viewport,
   header = 76px → 74px overhang) plus a small breathing gap. */
.page-hero__inner { padding-top: clamp(86px, 10vw, 92px); padding-bottom: clamp(34px, 5vw, 58px); position: relative; z-index: 1; }
@media (max-width: 1000px) {
  /* Mobile logo is shorter (bottom = 120px) so the hero can sit tighter. */
  .page-hero__inner { padding-top: 60px; }
}
.crumb { display: flex; align-items: center; gap: 8px; font-size: var(--fs-xs); color: var(--text-mute); margin-bottom: 16px; flex-wrap: wrap; }
.crumb a { color: var(--text-soft); cursor: pointer; }
.crumb a:hover { color: var(--accent); }
.crumb svg { width: 14px; height: 14px; }
.page-hero h1 { font-size: var(--fs-h1); max-width: 26ch; text-wrap: pretty; }
.page-hero__lead { margin-top: 16px; font-size: var(--fs-lead); color: var(--text-soft); max-width: 56ch; }
.page-hero__meta { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* service page split */
.svc-layout { display: grid; grid-template-columns: 1fr 340px; gap: clamp(28px,4vw,56px); align-items: start; }
.svc-aside { position: sticky; top: calc(var(--header-h) + 24px); display: flex; flex-direction: column; gap: 18px; }
.aside-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; box-shadow: var(--shadow-sm); }
.aside-card h3 { font-size: 1.1rem; margin-bottom: 14px; }
.aside-card .price-row { display: flex; align-items: baseline; gap: 8px; margin-bottom: 6px; flex-wrap: wrap; }
.aside-card .price-row .price-tag { font-size: 1.5rem; line-height: 1.2; white-space: nowrap; }
.aside-card .btn + .btn { margin-top: 10px; }
@media (max-width: 900px){ .svc-layout { grid-template-columns: 1fr; } .svc-aside { position: static; } }
.aside-links { display: flex; flex-direction: column; gap: 2px; }
.aside-link { display: flex; align-items: center; gap: 11px; padding: 10px; border-radius: 12px; cursor: pointer; transition: background .14s; }
.aside-link:hover { background: var(--green-50); }
.aside-link .al-text strong { display: block; font-size: var(--fs-sm); color: var(--graphite); font-weight: 600; }
.aside-link .al-text span { display: block; font-size: var(--fs-xs); color: var(--text-mute); }

/* ---------- Blog ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: var(--block-gap); }
.post-card { display: flex; flex-direction: column; overflow: hidden; padding: 0; height: 100%; }
.post-card .pc-img { height: 180px; background: linear-gradient(135deg, var(--green-100), var(--green-50)); display: flex; align-items: center; justify-content: center; position: relative; }
.post-card .pc-img svg { width: 54px; height: 54px; color: var(--green-600); opacity: .55; }
.post-card .pc-cat { position: absolute; top: 14px; left: 14px; }
.post-card .pc-body { padding: 22px var(--card-pad); display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post-card h3 { font-size: 1.15rem; }
.post-card p { font-size: var(--fs-sm); color: var(--text-soft); }
.post-card .pc-meta { margin-top: auto; padding-top: 8px; display: flex; align-items: center; gap: 14px; font-size: var(--fs-xs); color: var(--text-mute); }
.post-card .pc-meta span { display: inline-flex; align-items: center; gap: 6px; }
.post-card .pc-meta svg { width: 14px; height: 14px; }
.blog-filters { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { padding: 9px 16px; border-radius: var(--r-pill); border: 1px solid var(--line); background: #fff; font-size: var(--fs-sm); font-weight: 600; color: var(--text-soft); cursor: pointer; transition: all .15s; }
.chip:hover { border-color: var(--green-200); color: var(--accent-strong); }
.chip.is-active { background: var(--accent); border-color: var(--accent); color: #fff; }
@media (max-width: 920px){ .blog-grid { grid-template-columns: 1fr; } }
.post-card .pc-more { margin-left: auto; display: inline-flex; align-items: center; gap: 4px; color: var(--accent); font-weight: 600; }

/* blog toolbar: search + filters */
.blog-toolbar { display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.blog-toolbar .blog-search { flex: 1 1 320px; max-width: 460px; padding: 2px 16px; }
.blog-toolbar .blog-filters { flex: 0 1 auto; }
.blog-count { font-size: var(--fs-sm); margin-bottom: 20px; }

/* pagination */
.pagination { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; margin-top: 44px; }
.page-num, .page-btn { min-width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center; padding: 0 12px; border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--text, var(--graphite)); font-weight: 600; font-size: .95rem; cursor: pointer; transition: background .14s, border-color .14s, color .14s; }
.page-num:hover, .page-btn:hover:not(:disabled) { border-color: var(--green-200); background: var(--green-50); color: var(--accent-strong); }
.page-num.is-active { background: var(--accent); border-color: var(--accent); color: #fff; }
.page-btn:disabled { opacity: .4; cursor: not-allowed; }
.page-btn svg { width: 18px; height: 18px; }
.page-btn .flip-x { transform: scaleX(-1); }
.page-ellipsis { min-width: 22px; text-align: center; color: var(--text-mute); }
@media (max-width: 920px){ .blog-toolbar .blog-search { max-width: none; } }
.post-card .pc-more svg { width: 14px; height: 14px; transition: transform .15s; }
.post-card.card--hover:hover .pc-more svg { transform: translateX(3px); }

/* ---------- Article ---------- */
.art-meta-item { display: inline-flex; align-items: center; gap: 7px; font-size: var(--fs-sm); color: var(--text-soft); }
.art-meta-item svg { width: 17px; height: 17px; color: var(--accent); }
.art-meta-item + .art-meta-item::before { content: ""; }

.art-layout { display: grid; grid-template-columns: 1fr 340px; gap: clamp(28px,4vw,56px); align-items: start; }
.art-main { max-width: 68ch; }
.art-main .prose-p { font-size: var(--fs-lead); line-height: 1.72; color: var(--ink-600); margin-bottom: 22px; text-wrap: pretty; }
.art-main > .prose-p:first-child { font-size: 1.2rem; color: var(--text); }
.art-main .prose-h { font-size: var(--fs-h3); margin: 38px 0 16px; letter-spacing: -.01em; }
.art-main .prose-list { margin: 0 0 24px; }
.art-main .prose-list li { font-size: var(--fs-body); }

.step-list { list-style: none; counter-reset: s; display: flex; flex-direction: column; gap: 14px; margin: 4px 0 26px; }
.step-list li { display: flex; gap: 14px; align-items: flex-start; color: var(--ink-600); line-height: 1.6; }
.step-list .step-n { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 700; font-size: .9rem; display: flex; align-items: center; justify-content: center; margin-top: 1px; }

.prose-quote { display: flex; gap: 16px; align-items: flex-start; margin: 8px 0 28px; padding: 22px 26px; background: var(--surface-alt); border-left: 3px solid var(--accent); border-radius: 0 var(--r-lg) var(--r-lg) 0; }
.prose-quote svg { width: 28px; height: 28px; color: var(--green-300, var(--green-200)); flex: none; }
.prose-quote p { font-size: 1.25rem; font-family: var(--font-head); line-height: 1.5; color: var(--ink-600); text-wrap: pretty; }

.prose-callout { display: flex; gap: 14px; align-items: flex-start; margin: 8px 0 28px; padding: 20px 22px; border-radius: var(--r-lg); border: 1px solid var(--line); background: #fff; }
.prose-callout .pc-ic { flex: none; width: 40px; height: 40px; border-radius: 11px; display: flex; align-items: center; justify-content: center; }
.prose-callout .pc-ic svg { width: 22px; height: 22px; }
.prose-callout strong { display: block; margin-bottom: 4px; }
.prose-callout p { font-size: var(--fs-sm); color: var(--text-soft); line-height: 1.6; }
.prose-callout--info { background: var(--green-50); border-color: var(--green-200); }
.prose-callout--info .pc-ic { background: #fff; color: var(--accent); }
.prose-callout--tip { background: var(--surface-alt); border-color: var(--green-200); }
.prose-callout--tip .pc-ic { background: var(--accent); color: #fff; }
.prose-callout--warn { background: oklch(0.96 0.04 70); border-color: oklch(0.86 0.09 70); }
.prose-callout--warn .pc-ic { background: oklch(0.72 0.16 55); color: #fff; }

.art-share { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; margin-top: 36px; padding-top: 26px; border-top: 1px solid var(--line); }

.art-takeaways h3, .art-cta-card h3 { display: flex; align-items: center; gap: 9px; }
.art-takeaways .check-list li { font-size: var(--fs-sm); }
@media (max-width: 900px){ .art-layout { grid-template-columns: 1fr; } }

/* wide article layout: sidebar floated right, text fills FULL width (same as menu) and wraps full width below it */
.art-main.art-flow { max-width: none; display: flow-root; }
.art-flow-aside { float: right; width: 340px; margin: 4px 0 22px 48px; display: flex; flex-direction: column; gap: 18px; }
.art-flow > .prose-p:first-of-type { font-size: 1.2rem; color: var(--text); }
.art-flow > .prose-h:first-of-type { margin-top: 8px; }
@media (max-width: 900px){ .art-flow-aside { float: none; width: auto; margin: 0 0 26px; } }

/* "Sprawdź swoją branżę" aside card links */
.art-ind-card .aside-link .icon-chip { background: var(--green-50); color: var(--accent); }



.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(28px,4vw,52px); align-items: start; }
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 18px; }
.field label { font-size: var(--fs-sm); font-weight: 600; color: var(--graphite); }
.field label .req { color: #c0392b; }
.field input, .field textarea {
  width: 100%; padding: 13px 15px; border: 1.5px solid var(--line); border-radius: 12px;
  background: #fff; font-size: var(--fs-sm); transition: border-color .16s, box-shadow .16s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--green-50); }
.field textarea { resize: vertical; min-height: 130px; }
.field.has-error input, .field.has-error textarea { border-color: #c0392b; }
.field .err { font-size: var(--fs-xs); color: #c0392b; }
.rodo { display: flex; gap: 11px; align-items: flex-start; font-size: var(--fs-xs); color: var(--text-soft); margin-bottom: 18px; cursor: pointer; }
.rodo input { width: 19px; height: 19px; margin-top: 2px; accent-color: var(--accent); flex: none; }
.contact-info { display: flex; flex-direction: column; gap: 14px; }

/* Duet na stronie kontaktu - subtelny panel nad danymi */
.contact-people {
  display: flex; align-items: flex-end; gap: clamp(12px, 2.5vw, 20px);
  background: linear-gradient(160deg, var(--green-100), var(--green-50));
  border: 1px solid var(--green-200); border-radius: var(--r-lg);
  padding: 0 clamp(16px, 3vw, 24px) 0 0; overflow: hidden; margin-bottom: 6px;
}
.contact-people img { width: clamp(118px, 30%, 172px); height: auto; align-self: flex-end; flex: none; display: block; }
.contact-people__txt { padding: clamp(16px, 3vw, 22px) 0; }
.contact-people__txt strong { display: block; font-size: var(--fs-body); color: var(--graphite); margin-bottom: 5px; }
.contact-people__txt span { font-size: var(--fs-sm); color: var(--text-soft); line-height: 1.45; }
.contact-people__txt--quote span { font-size: var(--fs-body); color: var(--graphite); font-style: italic; line-height: 1.5; }
.contact-people__txt--quote em { display: block; margin-top: 8px; font-style: normal; font-weight: 600; font-size: var(--fs-sm); color: var(--accent-strong); }
/* Na wąskich ekranach zdjęcie nad tekstem - czytelniej niż ściśnięta kolumna obok */
@media (max-width: 540px) {
  .contact-people { flex-direction: column; align-items: stretch; padding: 0; text-align: center; }
  .contact-people img { width: auto; height: 200px; align-self: center; margin-top: 14px; }
  .contact-people__txt { padding: 14px 18px 20px; }
  .contact-people__txt--quote span { font-size: var(--fs-sm); }
}
.info-row { display: flex; gap: 14px; align-items: flex-start; }
.info-row .icon-chip { width: 46px; height: 46px; border-radius: 12px; }
.info-row .icon-chip svg { width: 22px; height: 22px; }
.info-row strong { display: block; font-size: var(--fs-sm); }
.info-row a, .info-row span { color: var(--text-soft); font-size: var(--fs-sm); }
.info-row a:hover { color: var(--accent); }
.form-success { text-align: center; padding: 40px 20px; }
.form-success .icon-chip { margin: 0 auto 18px; width: 64px; height: 64px; border-radius: 18px; }
.form-success .icon-chip svg { width: 34px; height: 34px; }
.area-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.area-tags .pill { background: #fff; border: 1px solid var(--line); color: var(--ink-600); }
.area-band { margin-top: clamp(28px,4vw,44px); padding-top: clamp(20px,3vw,28px); border-top: 1px solid var(--line-soft); display: flex; flex-direction: column; gap: 12px; align-items: center; text-align: center; }
.area-band__label { font-size: var(--fs-sm); color: var(--text-soft); font-weight: 600; }
.area-band .area-tags { margin-top: 0; justify-content: center; max-width: 760px; }
@media (max-width: 860px){ .contact-grid { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--surface-ink); color: rgba(255,255,255,.7); padding-block: clamp(48px,6vw,72px) 28px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.1fr; gap: 40px; }
.footer-brand img { height: 54px; width: auto; margin-bottom: 16px; filter: brightness(0) invert(1); opacity: .95; }
.footer-brand p { font-size: var(--fs-sm); max-width: 30ch; }
.footer-col h4 { color: #fff; font-size: var(--fs-sm); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 16px; font-weight: 700; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a, .footer-col span { font-size: var(--fs-sm); color: rgba(255,255,255,.7); cursor: pointer; transition: color .15s; }
.footer-col a:hover { color: #fff; }
.footer-contact .fc-row { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 12px; font-size: var(--fs-sm); }
.footer-contact .fc-row svg { width: 18px; height: 18px; color: var(--green-500); flex: none; margin-top: 3px; }
.fc-social {
  display: inline-flex; align-items: center; gap: 9px; margin-top: 6px;
  font-size: var(--fs-sm); font-weight: 600; color: #fff;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14);
  padding: 9px 14px; border-radius: 10px; transition: background .15s, border-color .15s;
}
.fc-social:hover { background: var(--accent); border-color: var(--accent); }
.fc-social svg { width: 18px; height: 18px; }
.footer-bottom { margin-top: 44px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: var(--fs-xs); }
@media (max-width: 860px){ .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 520px){ .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- Industry pages ---------- */
.icon-chip--sm { width: 38px; height: 38px; border-radius: 10px; }
.icon-chip--sm svg { width: 20px; height: 20px; }

/* Hero decoration - faded green outline cluster, never over text, off on mobile */
.page-hero--deco .page-hero__inner { position: relative; z-index: 2; }
.hero-deco { position: absolute; inset: 0; pointer-events: none; z-index: 1; overflow: hidden; }
.hero-deco__i { position: absolute; color: var(--accent); }
.hero-deco__i svg { width: 100%; height: 100%; stroke-width: 1.2; }
.hero-deco__i--1 { width: 260px; height: 260px; right: 4%; top: 12%; opacity: .14; transform: rotate(-8deg); }
.hero-deco__i--2 { width: 150px; height: 150px; right: 22%; top: 44%; opacity: .12; transform: rotate(10deg); }
.hero-deco__i--3 { width: 120px; height: 120px; right: 9%; bottom: 8%; opacity: .10; transform: rotate(-4deg); }
@media (max-width: 980px){ .hero-deco { display: none; } }

/* Waste list */
.waste-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.waste-row {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px; background: var(--surface-alt);
  border: 1px solid var(--line-soft); border-radius: var(--r);
}
.waste-row .icon-chip { flex: none; }
.waste-row__t { font-size: var(--fs-sm); color: var(--ink-600); font-weight: 500; }
.waste-row__code {
  margin-left: auto; flex: none; font-family: var(--font-head); font-weight: 700;
  font-size: var(--fs-xs); color: var(--accent-strong);
  background: var(--green-100); padding: 4px 9px; border-radius: 7px; letter-spacing: .02em;
}
@media (max-width: 720px){ .waste-grid { grid-template-columns: 1fr; } }

/* Industry duty sections (obowiązki BDO wg obszarów) */
.duty-stack { display: flex; flex-direction: column; gap: 16px; }
.duty-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; box-shadow: var(--shadow-sm); }
.duty-card__head { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 12px; }
.duty-card__head .icon-chip { flex: none; }
.duty-card__title { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.duty-card__title h3 { font-size: var(--fs-h3); line-height: 1.25; }
.duty-tag {
  align-self: flex-start; font-size: 0.72rem; font-weight: 700; letter-spacing: .04em;
  text-transform: uppercase; color: var(--accent-strong);
  background: var(--green-100); border-radius: 6px; padding: 3px 8px;
}
.duty-card > p { color: var(--ink-600); font-size: var(--fs-sm); text-wrap: pretty; }
.duty-points { display: flex; flex-direction: column; gap: 9px; margin-top: 12px; }
.duty-points li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-600); font-size: var(--fs-sm); }
.duty-points li svg { width: 18px; height: 18px; color: var(--accent); flex: none; margin-top: 2px; }
.duty-facts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.fact-chip {
  display: inline-flex; align-items: baseline; gap: 6px;
  background: var(--surface-alt); border: 1px solid var(--line-soft);
  border-radius: var(--r-pill); padding: 6px 13px; font-size: var(--fs-xs);
}
.fact-chip b { color: var(--ink-600); font-weight: 600; }
.fact-chip span { color: var(--accent-strong); font-weight: 700; font-family: var(--font-head); }

/* "Kiedy obowiązek Cię nie dotyczy" */
.exempt-card { background: var(--surface-alt); border: 1px solid var(--green-200); border-radius: var(--r-lg); padding: 26px; }
.exempt-card h2 { font-size: var(--fs-h3); display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.exempt-card h2 svg { width: 24px; height: 24px; color: var(--accent); }
.exempt-card > p { color: var(--ink-600); font-size: var(--fs-sm); margin-bottom: 14px; text-wrap: pretty; }
.exempt-card .check-list { gap: 10px; }
.exempt-card .check-list li { font-size: var(--fs-sm); }
.exempt-card .check-list li svg { width: 19px; height: 19px; margin-top: 2px; }
.exempt-note { margin-top: 14px; font-size: var(--fs-xs); color: var(--text-mute); }

/* Aside: key deadlines */
.deadline-list { display: flex; flex-direction: column; gap: 12px; }
.deadline-row { display: flex; gap: 11px; align-items: flex-start; }
.deadline-row svg { width: 19px; height: 19px; color: var(--accent); flex: none; margin-top: 2px; }
.deadline-row b { display: block; font-size: var(--fs-sm); color: var(--ink-800); font-family: var(--font-head); }
.deadline-row span { font-size: var(--fs-xs); color: var(--text-soft); }

/* Aside tag cloud */
.aside-tags { display: flex; flex-wrap: wrap; gap: 8px; }

/* Industry page: Cennik + terminy at top, links at end (single-column body between) */
.branza-top { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; align-items: stretch; margin-bottom: var(--block-gap); }
.branza-top .aside-card { margin: 0; }

/* Industry article: looser vertical rhythm - full-width single column needs more air
   than the default 28px stack gap */
.branza-top { margin-bottom: clamp(44px, 5.5vw, 68px); }
.branza-article.stack > * + * { margin-top: clamp(44px, 5.5vw, 68px); }
.branza-article .duty-stack { gap: 18px; }
.branza-article .check-list li + li { margin-top: 4px; }
/* Industry page: related content rebuilt in site vocabulary -
   article post-cards, two service tiles, branch pill row */
.branza-related { padding-top: 0; }
.leaf-divider { display: flex; align-items: center; gap: 20px; margin-bottom: clamp(44px, 5.5vw, 68px); }
.leaf-divider__line { flex: 1; height: 1px; }
.leaf-divider__line--l { background: linear-gradient(90deg, transparent, var(--green-200)); }
.leaf-divider__line--r { background: linear-gradient(90deg, var(--green-200), transparent); }
.leaf-divider__chip { width: 46px; height: 46px; border-radius: 50%; background: var(--green-50); border: 1px solid var(--green-200); display: flex; align-items: center; justify-content: center; color: var(--accent); flex: none; transform: rotate(-8deg); }
.leaf-divider__chip svg { width: 22px; height: 22px; }
.brel-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.brel-head h2 { font-size: var(--fs-h2); }

.brel-svc { display: flex; align-items: flex-start; gap: 18px; cursor: pointer; }
.brel-svc__txt { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.brel-svc__txt h3 { font-size: var(--fs-h3); }
.brel-svc__txt p { font-size: var(--fs-sm); color: var(--text-soft); }
.brel-svc__txt b { font-size: var(--fs-sm); color: var(--accent); }
.brel-svc__arr { width: 18px; height: 18px; color: var(--text-mute); margin-left: auto; flex-shrink: 0; align-self: center; transition: transform .15s, color .15s; }
.brel-svc:hover .brel-svc__arr { transform: translateX(3px); color: var(--accent); }

.brel-branches { margin-top: var(--block-gap); padding-top: var(--block-gap); border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.brel-branches__label { font-size: var(--fs-sm); font-weight: 600; color: var(--text-soft); margin-right: 8px; }
.aside-tags .pill { background: var(--surface-alt); border: 1px solid var(--line); color: var(--ink-600); font-size: var(--fs-xs); }
.aside-tags .pill:hover { border-color: var(--green-200); color: var(--accent-strong); }

/* Social CTA (About page) */
.social-cta {
  display: flex; align-items: center; gap: 22px; flex-wrap: wrap;
  padding: 28px 32px; background: var(--surface-alt);
  border: 1px solid var(--green-200); border-radius: var(--r-lg);
}
.social-cta__ic {
  flex: none; width: 56px; height: 56px; border-radius: 14px;
  background: var(--accent); color: #fff;
  display: flex; align-items: center; justify-content: center;
}
.social-cta__ic svg { width: 30px; height: 30px; }
.social-cta__body { flex: 1; min-width: 220px; }

/* Report types (sprawozdania page) - calm two-level hierarchy: tinted
   section → white card. Green appears only as small accents, never as a
   filled block inside the card. */
.report-types { display: flex; flex-direction: column; gap: 14px; }
.report-type {
  display: flex; gap: 24px; padding: 28px 30px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  transition: border-color .18s, box-shadow .18s;
}
.report-type:hover { border-color: var(--green-200); box-shadow: var(--shadow-sm); }
.report-type__index {
  flex: none; padding-top: 1px;
  font-family: var(--font-head); font-weight: 700; font-size: 1.85rem;
  line-height: 1; letter-spacing: -0.02em;
  color: var(--green-200); font-variant-numeric: tabular-nums;
}
.report-type__body { flex: 1; min-width: 0; }
.report-type__body h3 { font-size: var(--fs-h3); margin-bottom: 10px; }
.report-type__deadline {
  display: inline-flex; align-items: center; gap: 6px; margin-bottom: 16px;
  font-size: var(--fs-xs); font-weight: 600; color: var(--text-mute);
  white-space: nowrap;
}
.report-type__deadline strong { color: var(--accent-strong); font-weight: 700; }
.report-type__deadline svg { width: 14px; height: 14px; color: var(--accent); }
.report-type__desc { color: var(--text-soft); font-size: var(--fs-sm); }
.report-type__label {
  display: block; margin-bottom: 2px;
  font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.04em;
  text-transform: uppercase; color: var(--text-mute);
}
.report-type__note {
  display: flex; gap: 10px; align-items: flex-start;
  margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line-soft);
  font-size: var(--fs-sm); color: var(--ink-600); line-height: 1.6;
}
.report-type__note strong { color: var(--text); font-weight: 700; }
.report-type__note svg { width: 16px; height: 16px; color: var(--accent); flex: none; margin-top: 3px; }

@media (max-width: 560px) {
  .report-type { gap: 16px; padding: 22px; }
  .report-type__index { font-size: 1.4rem; }
}

/* ---------- Szkolenia: formy, harmonogram, karty szkoleń, program ---------- */

/* Formy szkolenia - dwie karty obok siebie */
.tform-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; max-width: 920px; margin-inline: auto; }
.tform {
  display: flex; flex-direction: column; gap: 14px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: var(--card-pad); position: relative;
}
.tform h3 { font-size: var(--fs-h3); }
.tform > p { color: var(--text-soft); font-size: var(--fs-sm); }
.tform--featured { border-color: var(--green-200); box-shadow: var(--shadow); }
.tform__flag {
  position: absolute; top: -13px; right: 22px;
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--accent); color: #fff;
  font-size: var(--fs-xs); font-weight: 700;
  padding: 4px 12px; border-radius: var(--r-pill);
  white-space: nowrap;
}
.tform__flag svg { width: 13px; height: 13px; }
.tform__price { font-family: var(--font-head); font-weight: 700; font-size: 1.7rem; color: var(--heading); letter-spacing: -0.01em; }
.tform__price span { display: block; font-size: var(--fs-xs); font-weight: 600; color: var(--text-mute); letter-spacing: 0; }
.tform__list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 4px; }
.tform__list li { display: flex; gap: 9px; align-items: flex-start; font-size: var(--fs-sm); color: var(--ink-600); }
.tform__list li svg { width: 16px; height: 16px; color: var(--accent); flex: none; margin-top: 4px; }
.tform .btn { margin-top: auto; }

/* Harmonogram - pusta lista terminów, zapisy przez kontakt */
.tsched {
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
  max-width: 920px; margin: 18px auto 0;
  background: #fff; border: 1.5px dashed var(--green-200); border-radius: var(--r-lg);
  padding: 24px 28px;
  scroll-margin-top: 100px;
}
.tsched > .icon-chip { flex: none; }
.tsched__body { flex: 1; min-width: 240px; }
.tsched__body h3 { font-size: var(--fs-h3); margin-bottom: 4px; }
.tsched__body p { color: var(--text-soft); font-size: var(--fs-sm); }
.tsched__actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* Karty szkoleń (tematy + branże) */
.train-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.train-card { display: flex; flex-direction: column; gap: 12px; cursor: pointer; }
.train-card__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.train-card__time {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: var(--fs-xs); font-weight: 600; color: var(--text-mute); white-space: nowrap;
}
.train-card__time svg { width: 14px; height: 14px; }
.train-card h3 { font-size: var(--fs-h3); }
.train-card > p { color: var(--text-soft); font-size: var(--fs-sm); flex: 1; }
.train-card .svc-foot { margin-top: 2px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 10px; }
.train-card--ask { background: transparent; border: 1.5px dashed var(--line); box-shadow: none; cursor: default; border-radius: var(--r-lg); padding: var(--card-pad); border-color: var(--green-200); }
.train-card--ask .svc-foot { justify-content: flex-start; border-top: 0; padding-top: 0; }

/* Raport po audycie (audyt-bdo) */
.raport-layout { display: grid; grid-template-columns: minmax(260px, 380px) 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.raport-cover img {
  width: 100%; border-radius: var(--r); border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
}
.raport-body .section-head { margin-bottom: 10px; }
@media (max-width: 800px) {
  .raport-layout { grid-template-columns: 1fr; }
  .raport-cover { max-width: 320px; margin-inline: auto; }
}

/* Formy i ceny w panelu bocznym podstrony szkolenia */
.aside-forms { display: flex; flex-direction: column; margin-bottom: 14px; }
.aside-form { padding: 10px 0; border-bottom: 1px solid var(--line-soft); }
.aside-form:first-child { padding-top: 2px; }
.aside-form strong { display: block; font-size: var(--fs-xs); font-weight: 600; color: var(--text-soft); margin-bottom: 2px; }
.aside-form__price { font-family: var(--font-head); font-weight: 700; font-size: 1.25rem; color: var(--graphite); }
.aside-form__price small { display: block; font-size: var(--fs-xs); font-weight: 500; color: var(--text-mute); }

/* Program szkolenia - numerowana lista na podstronie */
.program-list { display: flex; flex-direction: column; padding: 0; margin: 0; list-style: none; }
.program-list li {
  display: flex; gap: 16px; align-items: baseline;
  padding: 13px 4px; border-bottom: 1px solid var(--line-soft);
  font-size: var(--fs-sm); color: var(--ink-600);
}
.program-list li:last-child { border-bottom: 0; }
.program-list__n {
  flex: none; font-family: var(--font-head); font-weight: 700;
  font-size: var(--fs-xs); color: var(--accent);
  font-variant-numeric: tabular-nums;
}

@media (max-width: 900px) {
  .train-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  .tform-grid { grid-template-columns: 1fr; }
  .tsched { padding: 20px; }
}
@media (max-width: 560px) {
  .train-grid { grid-template-columns: 1fr; }
}

/* ---------- Industry hub ---------- */
.branch-search {
  display: flex; align-items: center; gap: 12px;
  background: #fff; border: 1.5px solid var(--line); border-radius: var(--r-lg);
  padding: 4px 16px; box-shadow: var(--shadow-sm); max-width: 100%; width: 100%;
  transition: border-color .15s, box-shadow .15s;
}
.branch-search:focus-within { border-color: var(--green-300, var(--green-200)); box-shadow: 0 0 0 4px var(--green-50); }
.branch-search > svg { width: 22px; height: 22px; color: var(--text-mute); flex: none; }
.branch-search input { flex: 1; border: 0; outline: none; background: none; padding: 15px 0; font-size: var(--fs-body); color: var(--graphite); font-family: inherit; }
.branch-search__clear { background: none; border: 0; cursor: pointer; color: var(--text-mute); display: inline-flex; padding: 6px; border-radius: 8px; }
.branch-search__clear:hover { background: var(--surface-alt); color: var(--graphite); }
.branch-search__clear svg { width: 18px; height: 18px; }

.branch-h2 { font-size: var(--fs-h3); color: var(--graphite); }

.branch-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.branch-card {
  display: flex; align-items: flex-start; gap: 13px; cursor: pointer;
  padding: 16px; background: #fff; border: 1px solid var(--line-soft);
  border-radius: var(--r); transition: transform .15s, box-shadow .18s, border-color .18s;
}
.branch-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); border-color: var(--green-200); }
.branch-card__e { font-size: 1.5rem; line-height: 1; flex: none; }
.branch-card__body { display: flex; flex-direction: column; gap: 3px; }
.branch-card__body strong { font-size: var(--fs-sm); color: var(--graphite); font-weight: 600; }
.branch-card__body span { font-size: var(--fs-xs); color: var(--text-soft); line-height: 1.45; }
@media (max-width: 1040px){ .branch-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px){ .branch-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px){ .branch-grid { grid-template-columns: 1fr; } }

.branch-empty { text-align: center; padding: 48px 20px; max-width: 480px; margin: var(--block-gap) auto 0; }
.branch-empty .icon-chip { margin: 0 auto 18px; width: 60px; height: 60px; border-radius: 16px; }
.branch-empty h3 { font-size: var(--fs-h3); margin-bottom: 8px; }
.branch-empty p { margin-bottom: 20px; }

.branch-cta {
  margin-top: calc(var(--block-gap) * 1.4);
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  padding: 28px 32px; background: var(--surface-alt);
  border: 1px solid var(--green-200); border-radius: var(--r-lg);
}
.branch-cta h3 { font-size: var(--fs-h3); margin-bottom: 4px; }

/* ---------- Szkolenia: galeria zdjęć ---------- */
.foto-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
}
.foto-tile {
  position: relative; margin: 0; padding: 0;
  aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--r-lg);
  background: var(--surface-alt); box-shadow: var(--shadow-sm);
}
.foto-tile img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .4s cubic-bezier(.4,0,.2,1);
}
.foto-tile:hover img { transform: scale(1.05); }
.foto-tile__cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  display: flex; align-items: center; gap: 8px;
  padding: 30px 14px 12px; text-align: left;
  font-size: var(--fs-xs); font-weight: 600; color: #fff; line-height: 1.3;
  background: linear-gradient(to top, rgba(16,40,25,.85), rgba(16,40,25,0));
}
@media (max-width: 760px) { .foto-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; } }
@media (max-width: 440px) { .foto-grid { grid-template-columns: 1fr; } }

/* Separator pod galerią */
.foto-sep {
  border: 0; height: 1px; background: var(--line);
  margin: clamp(40px, 6vw, 72px) 0 0;
}

/* Lightbox */
.foto-lightbox {
  position: fixed; inset: 0; z-index: 90; display: flex; align-items: center; justify-content: center;
  gap: clamp(8px, 2vw, 24px); padding: clamp(16px, 4vw, 48px);
  background: rgba(11,28,18,.92); backdrop-filter: blur(4px);
  animation: foto-fade .18s ease;
}
@keyframes foto-fade { from { opacity: 0; } to { opacity: 1; } }
.foto-lightbox__fig { margin: 0; max-width: min(1100px, 92vw); display: flex; flex-direction: column; }
.foto-lightbox__fig img {
  max-width: 100%; max-height: 78vh; object-fit: contain;
  border-radius: var(--r); box-shadow: 0 24px 60px rgba(0,0,0,.5);
}
.foto-lightbox__fig figcaption {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  color: #fff; font-size: var(--fs-sm); font-weight: 600; padding: 14px 4px 0;
}
.foto-lightbox__fig figcaption span { color: rgba(255,255,255,.6); font-weight: 500; white-space: nowrap; }
.foto-lightbox__close {
  position: absolute; top: 18px; right: 18px; width: 46px; height: 46px;
  border: 0; border-radius: 50%; background: rgba(255,255,255,.12); color: #fff; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; transition: background .15s;
}
.foto-lightbox__close:hover { background: rgba(255,255,255,.24); }
.foto-lightbox__close svg { width: 24px; height: 24px; }
.foto-lightbox__nav {
  width: 50px; height: 50px; border: 0; border-radius: 50%; flex: none;
  background: rgba(255,255,255,.12); color: #fff; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; transition: background .15s;
}
.foto-lightbox__nav:hover { background: rgba(255,255,255,.24); }
.foto-lightbox__nav svg { width: 24px; height: 24px; }
.foto-lightbox__nav--prev svg { transform: rotate(180deg); }
@media (max-width: 640px) {
  .foto-lightbox__nav { position: absolute; bottom: 18px; z-index: 2; }
  .foto-lightbox__nav--prev { left: 50%; margin-left: -58px; }
  .foto-lightbox__nav--next { right: 50%; margin-right: -58px; }
  .foto-lightbox__fig figcaption { justify-content: center; flex-direction: column; gap: 4px; text-align: center; padding-bottom: 56px; }
}
