/* ============================================================
   INFRA — Centrum Doradztwa
   Shared design system
   ============================================================ */

/* ---- Fonts ---- */
@import url('https://fonts.googleapis.com/css2?family=Archivo:wght@500;600;700;800;900&family=Hanken+Grotesk:wght@400;500;600;700&family=Space+Mono:wght@400;700&display=swap');

/* ---- Tokens ---- */
:root{
  --brand:        #0E76BC;
  --brand-700:    #0A5A92;
  --brand-300:    #5AA6DA;
  --brand-tint:   #DCEAF5;
  --brand-tint-2: #EAF2FA;

  --ink:          #0C1A26;
  --ink-2:        #21323F;
  --muted:        #5E7384;
  --faint:        #8194A2;

  --paper:        #EDF0F3;
  --paper-2:      #E4E9EE;
  --surface:      #FFFFFF;
  --surface-2:    #F6F8FA;

  --navy:         #0B1E2D;
  --navy-2:       #0A1825;
  --navy-soft:    #12293B;
  --on-navy:      #E7EEF3;
  --on-navy-mut:  #93A7B5;

  --line:         #D5DEE6;
  --line-2:       #C5D1DB;
  --line-navy:    rgba(255,255,255,.12);

  --radius:       4px;
  --radius-lg:    10px;
  --radius-xl:    18px;

  --maxw:         1240px;
  --gutter:       clamp(20px, 5vw, 64px);

  --shadow-sm:    0 1px 2px rgba(12,26,38,.06);
  --shadow-md:    0 18px 40px -22px rgba(12,26,38,.35);
  --shadow-lg:    0 40px 90px -40px rgba(11,30,45,.55);

  --font-display: 'Archivo', system-ui, sans-serif;
  --font-body:    'Hanken Grotesk', system-ui, sans-serif;
  --font-mono:    'Space Mono', ui-monospace, monospace;
}

/* ---- Reset ---- */
*{ box-sizing:border-box; margin:0; padding:0; }
html{ -webkit-text-size-adjust:100%; scroll-behavior:smooth; }
body{
  font-family:var(--font-body);
  background:var(--paper);
  color:var(--ink);
  line-height:1.55;
  font-size:17px;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
  overflow-x:hidden;
}
img{ display:block; max-width:100%; }
a{ color:inherit; text-decoration:none; }
button{ font:inherit; color:inherit; cursor:pointer; background:none; border:none; }
::selection{ background:var(--brand); color:#fff; }

/* ---- Layout helpers ---- */
.wrap{ width:100%; max-width:var(--maxw); margin-inline:auto; padding-inline:var(--gutter); }
.wrap--centered-text{ max-width:1200px; }
.content-centered-wide{ max-width:1200px; margin-inline:auto; text-align:center; }
.page-wide{ --maxw:1320px; }
.section{ padding-block:clamp(72px,9vw,140px); position:relative; }
.section--tight{ padding-block:clamp(48px,6vw,90px); }
.section--tight-home{
  padding-top:clamp(24px,3vw,45px);
  padding-bottom:clamp(24px,3vw,45px);
}
.section--counter-home{ padding-top:clamp(36px,4.5vw,70px); padding-bottom:clamp(36px,4.5vw,70px); }
.section--partners-home{ padding-top:clamp(36px,4.5vw,70px); }
.eyebrow{
  font-family:var(--font-mono); font-size:12.5px; letter-spacing:.18em;
  text-transform:uppercase; color:var(--brand); font-weight:700;
  display:inline-flex; align-items:center; gap:10px;
}
.eyebrow::before{ content:""; width:26px; height:1px; background:var(--brand); display:inline-block; }
.eyebrow--center::before{ display:none; }

/* ---- Typography ---- */
h1,h2,h3,h4{ font-family:var(--font-display); font-weight:800; line-height:1.02; letter-spacing:-.022em; color:var(--ink); }
.display{ font-size:clamp(40px, 6.6vw, 84px); line-height:.98; letter-spacing:-.03em; }
.h1{ font-size:clamp(34px, 4.8vw, 60px); }
.h2{ font-size:clamp(28px, 3.6vw, 46px); }
.h3{ font-size:clamp(21px, 2.1vw, 27px); letter-spacing:-.015em; font-weight:700; }
.lead{ font-size:clamp(17px,1.35vw,20px); color:var(--ink-2); line-height:1.6; }
.muted{ color:var(--muted); }
.measure{ max-width:62ch; }
.measure-sm{ max-width:46ch; }
.balance{ text-wrap:balance; }
strong{ font-weight:700; }

/* ---- Buttons ---- */
.btn{
  display:inline-flex; align-items:center; gap:10px;
  font-family:var(--font-body); font-weight:600; font-size:15.5px;
  padding:14px 26px; border-radius:999px; border:1px solid transparent;
  transition:transform .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
  white-space:nowrap;
}
.btn:active{ transform:translateY(1px); }
.btn--primary{ background:var(--brand); color:#fff; }
.btn--primary:hover{ background:var(--brand-700); }
.btn--dark{ background:var(--ink); color:#fff; }
.btn--dark:hover{ background:#000; }
.btn--ghost{ border-color:var(--line-2); color:var(--ink); background:transparent; }
.btn--ghost:hover{ border-color:var(--ink); }
.btn--light{ background:#fff; color:var(--ink); }
.btn--light:hover{ background:var(--brand-tint); }
.btn--on-navy{ border-color:var(--line-navy); color:#fff; }
.btn--on-navy:hover{ background:rgba(255,255,255,.08); border-color:rgba(255,255,255,.4); }
.btn .arr{ transition:transform .2s ease; }
.btn:hover .arr{ transform:translateX(3px); }

.link-arrow{
  display:inline-flex; align-items:center; gap:8px; font-weight:600;
  color:var(--brand); font-size:15.5px;
}
.link-arrow .arr{ transition:transform .2s ease; }
.link-arrow:hover .arr{ transform:translateX(4px); }

/* ============================================================
   NAVBAR
   ============================================================ */
.nav{
  position:sticky; top:0; z-index:60;
  background:color-mix(in srgb, var(--paper) 82%, transparent);
  backdrop-filter:blur(14px) saturate(1.3);
  border-bottom:1px solid transparent;
  transition:border-color .2s ease, background .2s ease;
}
.nav.is-scrolled{ border-bottom-color:var(--line); background:color-mix(in srgb, var(--paper) 92%, transparent); }
.nav__inner{ display:flex; align-items:center; gap:28px; height:74px; }
.nav__inner--wide{ max-width:none; padding-inline:7%; }
.brand{ display:flex; align-items:center; gap:11px; flex-shrink:0; }
.brand__mark{
  width:34px; height:34px; border-radius:7px; background:var(--brand);
  display:grid; place-items:center; flex-shrink:0; position:relative; overflow:hidden;
}
.brand__mark svg{ width:20px; height:20px; }
.brand__name{ font-family:var(--font-display); font-weight:800; font-size:21px; letter-spacing:-.01em; color:var(--ink); }
.brand__name small{ display:block; font-family:var(--font-mono); font-weight:400; font-size:9.5px; letter-spacing:.16em; color:var(--muted); margin-top:-3px; text-transform:uppercase; }
.brand__logo{ height:42px; width:auto; display:block; }
.footer .brand__logo{ height:46px; }
@media(max-width:620px){ .brand__logo{ height:36px; } }

.nav__menu{ display:flex; align-items:center; gap:4px; margin-left:8px; }
.nav__link{
  font-size:15px; font-weight:500; color:var(--ink-2); padding:9px 14px; border-radius:7px;
  transition:background .15s ease, color .15s ease;
}
.nav__link:hover{ background:var(--paper-2); color:var(--ink); }
.nav__link.is-active{ color:var(--brand); font-weight:600; }
.nav__right{ margin-left:auto; display:flex; align-items:center; gap:12px; }
.nav__bpk-logo{
  display:inline-flex;
  align-items:center;
  flex-shrink:0;
}
.nav__bpk-logo img{
  height:36px;
  width:auto;
  display:block;
}
.nav__cta{ padding:11px 22px; font-size:15px; }
.nav__cta--bpk{ margin-right:20px; }

.nav__burger{ display:none; width:42px; height:42px; border-radius:9px; border:1px solid var(--line); place-items:center; }
.nav__burger span{ width:18px; height:2px; background:var(--ink); position:relative; }
.nav__burger span::before,.nav__burger span::after{ content:""; position:absolute; left:0; width:18px; height:2px; background:var(--ink); }
.nav__burger span::before{ top:-6px; } .nav__burger span::after{ top:6px; }

.mobile-menu{
  position:fixed; top:0; right:0; bottom:0; width:min(74vw,340px); z-index:10005;
  background:var(--surface); transform:translateX(100%); transition:transform .3s cubic-bezier(.4,0,.2,1);
  padding:90px 28px 28px; display:flex; flex-direction:column; gap:6px; box-shadow:var(--shadow-lg);
  overflow-y:auto;
  -webkit-overflow-scrolling:touch;
  will-change:transform;
}
.mobile-menu__head{
  position:absolute;
  top:20px;
  left:24px;
  right:24px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
}
.mobile-menu__brand{
  display:flex;
  align-items:center;
  min-width:0;
}
.mobile-menu__brand img{
  height:34px;
  width:auto;
  display:block;
}
.mobile-menu.is-open{ transform:translateX(0); }
.mobile-menu a{ padding:14px 12px; border-radius:9px; font-weight:600; font-size:18px; border-bottom:1px solid var(--line); }
.mobile-menu a:last-of-type{ border-bottom:none; }
.mobile-overlay{ position:fixed; inset:0; background:rgba(11,30,45,.4); z-index:69; opacity:0; pointer-events:none; transition:opacity .3s; }
.mobile-overlay.is-open{ opacity:1; pointer-events:auto; }
.mobile-close{ width:40px; height:40px; border-radius:9px; border:1px solid var(--line); display:grid; place-items:center; font-size:22px; flex-shrink:0; }
.menu-open{
  overflow:hidden !important;
  touch-action:none;
}

/* ============================================================
   GLOW / decorative
   ============================================================ */
.glow{ position:absolute; border-radius:50%; filter:blur(70px); opacity:.5; pointer-events:none; z-index:0; }
.glow--brand{ background:radial-gradient(circle, var(--brand) 0%, transparent 68%); }
.glow--warm{ background:radial-gradient(circle, #E8913D 0%, transparent 68%); }

/* ============================================================
   HERO
   ============================================================ */
.hero{ position:relative; padding-top:clamp(40px,6vw,72px); padding-bottom:clamp(40px,5vw,64px); overflow:hidden; }
.hero__inner{ position:relative; z-index:2; text-align:center; max-width:960px; margin-inline:auto; }
.hero__tag{ margin-bottom:26px; }
.hero__sub{ margin:26px auto 0; max-width:60ch; }
.hero__cta{ margin-top:34px; display:flex; gap:14px; justify-content:center; flex-wrap:wrap; }
.hero__statement{
  margin-top:30px; font-family:var(--font-mono); font-size:clamp(13px,1.4vw,15px); letter-spacing:.04em;
  color:var(--ink-2); display:flex; gap:8px 18px; justify-content:center; flex-wrap:wrap;
}
.hero__statement span{ display:inline-flex; align-items:center; gap:18px; }
.hero__statement span::after{ content:"/"; color:var(--brand); }
.hero__statement span:last-child::after{ display:none; }

.hero__media{
  position:relative; z-index:2; margin-top:clamp(40px,5vw,68px);
  border-radius:var(--radius-xl); overflow:hidden; box-shadow:var(--shadow-lg);
  border:1px solid var(--line); aspect-ratio:16/8; background:var(--navy);
}
.hero__media img{ width:100%; height:100%; object-fit:cover; }
.hero__media-cap{
  position:absolute; left:24px; bottom:22px; z-index:3; display:flex; gap:10px; align-items:center;
  font-family:var(--font-mono); font-size:12px; letter-spacing:.1em; color:#fff; text-transform:uppercase;
  background:rgba(11,30,45,.55); backdrop-filter:blur(6px); padding:9px 16px; border-radius:999px;
  border:1px solid rgba(255,255,255,.15);
}
.hero__media-cap b{ color:var(--brand-300); font-weight:700; }

/* ============================================================
   GENERIC SECTION HEADERS
   ============================================================ */
.sec-head{ max-width:760px; }
.sec-head--center{ margin-inline:auto; text-align:center; }
.sec-head .eyebrow{ margin-bottom:18px; }
.sec-head p{ margin-top:18px; }

/* ---- Page hero (interior pages) ---- */
.pagehero{ position:relative; overflow:hidden; padding-top:clamp(56px,7vw,96px); padding-bottom:clamp(48px,6vw,80px); }
.pagehero__index{ font-family:var(--font-mono); color:var(--brand); font-size:13px; letter-spacing:.2em; text-transform:uppercase; }
.pagehero__index{ font-weight:800; }
.pagehero h1{ margin-top:18px; }
.pagehero p{ margin-top:22px; }

/* ============================================================
   FEATURE / SERVICE CARDS
   ============================================================ */
.cards{ display:grid; gap:0; border:1px solid var(--line); border-radius:var(--radius-lg); overflow:hidden; background:var(--surface); }
.grid-4{ grid-template-columns:repeat(4,1fr); }
.grid-3{ grid-template-columns:repeat(3,1fr); }
.grid-2{ grid-template-columns:repeat(2,1fr); }
.card{
  padding:32px 28px 28px; border-right:1px solid var(--line); position:relative;
  transition:background .2s ease; min-height:230px; display:flex; flex-direction:column;
}
.cards .card:last-child{ border-right:none; }
.card:hover{ background:var(--surface-2); }
.card__icon{ width:46px; height:46px; border-radius:9px; background:var(--brand-tint); display:grid; place-items:center; color:var(--brand); margin-bottom:auto; }
.card__icon svg{ width:24px; height:24px; }
.card__num{ position:absolute; top:30px; right:28px; font-family:var(--font-mono); font-size:12px; color:var(--faint); letter-spacing:.05em; }
.card h3{ margin-top:24px; font-size:19px; }
.card p{ margin-top:9px; font-size:15px; color:var(--muted); line-height:1.5; }
.card__arrow{ margin-top:18px; width:34px; height:34px; border-radius:50%; border:1px solid var(--line-2); display:grid; place-items:center; color:var(--ink); transition:background .2s,color .2s,border-color .2s; }
.card:hover .card__arrow{ background:var(--brand); border-color:var(--brand); color:#fff; }

/* model-wspolpracy — korzyści bez ciężkich ram */
.model-benefits .cards{
  background:transparent;
  border:none;
  overflow:visible;
}
.model-benefits .cards .card{
  background:transparent;
  border:0;
  border-right:1px solid var(--line);
  min-height:0;
  padding:28px 24px 0;
}
.model-benefits .cards .card:last-child{ border-right:none; }
.model-benefits .cards .card h3{ margin-top:22px; }
.model-benefits .cards .card p{ margin-top:9px; }
.model-benefits__note{
  max-width:none;
  width:100%;
}

/* Standalone bordered cards grid (gap layout) */
.tiles{ display:grid; gap:18px; }
.tile{
  background:transparent; border:none; border-left:2px solid var(--brand); border-radius:0;
  padding:30px 28px 30px 26px; transition:border-left-color .2s ease, background .2s ease;
}
.tile:hover{ border-left-color:var(--brand-700); background:rgba(14,118,188,.04); box-shadow:none; }
.tile__kicker{ font-family:var(--font-mono); font-size:12px; letter-spacing:.06em; color:var(--brand); text-transform:uppercase; }
.tile h3{ margin-top:14px; font-size:20px; }
.tile p{ margin-top:10px; color:var(--muted); font-size:15.5px; }

/* ============================================================
   SPLIT (image + text)
   ============================================================ */
.split{ display:grid; grid-template-columns:1fr 1fr; gap:clamp(32px,5vw,80px); align-items:center; }
.split--media-left .split__media{ order:-1; }
.split__media{ border-radius:var(--radius-lg); overflow:hidden; border:1px solid var(--line); aspect-ratio:4/3.4; box-shadow:var(--shadow-md); }
.split__media img{ width:100%; height:100%; object-fit:cover; }
.split__media--navy{ background:var(--navy); }

.checklist{ list-style:none; display:flex; flex-direction:column; gap:13px; margin-top:26px; }
.checklist li{ display:flex; gap:13px; align-items:flex-start; font-size:16px; color:var(--ink-2); }
.checklist svg{ flex-shrink:0; width:22px; height:22px; color:var(--brand); margin-top:1px; }

/* ============================================================
   DARK PANELS
   ============================================================ */
.panel-dark{
  background:var(--navy); color:var(--on-navy); border-radius:var(--radius-xl); overflow:hidden;
  position:relative; isolation:isolate;
}
.panel-dark .eyebrow{ color:var(--brand-300); }
.panel-dark .eyebrow::before{ background:var(--brand-300); }
.panel-split{ display:grid; grid-template-columns:1.05fr 1fr; align-items:stretch; }
.panel-split__img{ position:relative; min-height:340px; }
.panel-split__img img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.panel-split__body{ padding:clamp(36px,4vw,60px); display:flex; flex-direction:column; justify-content:center; }
.panel-dark h2,.panel-dark h3{ color:#fff; }
.panel-dark p{ color:var(--on-navy-mut); }

.stat-row{ display:flex; gap:clamp(30px,5vw,64px); margin-top:34px; flex-wrap:wrap; }
.stat__num{ font-family:var(--font-display); font-weight:800; font-size:clamp(40px,5vw,62px); color:var(--brand-300); line-height:1; letter-spacing:-.03em; }
.stat__lbl{ margin-top:10px; font-size:14px; color:var(--on-navy-mut); max-width:24ch; }

/* ============================================================
   COUNTER (big animated number)
   ============================================================ */
.counter-sec{ background:var(--navy); color:#fff; position:relative; overflow:hidden; }
.counter-sec .eyebrow{ color:var(--brand-300); }
.counter-sec .eyebrow::before{ background:var(--brand-300); }
.counter__num{
  font-family:var(--font-display); font-weight:800; letter-spacing:-.03em; line-height:1;
  font-size:clamp(35px,6.8vw,94px); color:#fff;
  font-variant-numeric:tabular-nums; font-feature-settings:"tnum"; margin-top:22px;
}
.counter__num .cur{ color:var(--brand-300); }
.section--counter-wrap .counter__num .cur{ color:var(--brand) !important; }
.counter__cap{ margin-top:22px; color:var(--on-navy-mut); max-width:54ch; }
.page-wide .counter__cap{ max-width:104ch; }

/* ============================================================
   BRANŻE (disciplines list)
   ============================================================ */
.branze{ border-top:1px solid var(--line); }
.branza{
  display:grid; grid-template-columns:64px 1fr; gap:0 28px; align-items:start;
  padding:28px 8px; border-bottom:1px solid var(--line); transition:background .2s ease; position:relative;
}
.branza:hover{ background:var(--surface-2); }
.branze--dark .branza:hover{ background:rgba(255,255,255,.05); }
.branza__no{ font-family:var(--font-mono); font-size:14px; color:var(--brand); padding-top:5px; }
.branza__name{ font-family:var(--font-display); font-weight:700; font-size:clamp(19px,1.9vw,24px); letter-spacing:-.01em; }
.branza__desc{ margin-top:8px; color:var(--muted); font-size:15.5px; max-width:78ch; }
@media(min-width:880px){
  .branza{ grid-template-columns:64px 0.9fr 1.4fr; gap:0 36px; align-items:center; }
  .branza__desc{ margin-top:0; }
}

/* ============================================================
   ACCORDION (services detail / faq)
   ============================================================ */
.acc{ border-top:1px solid var(--line); }
.acc__item{ border-bottom:1px solid var(--line); }
.acc__head{ width:100%; display:flex; align-items:center; gap:20px; padding:26px 4px; text-align:left; }
.acc__head .num{ font-family:var(--font-mono); font-size:13px; color:var(--brand); width:34px; flex-shrink:0; }
.acc__head .t{ font-family:var(--font-display); font-weight:700; font-size:clamp(19px,2vw,26px); letter-spacing:-.015em; flex:1; }
.acc__icon{ width:38px; height:38px; border-radius:50%; border:1px solid var(--line-2); display:grid; place-items:center; flex-shrink:0; transition:.25s; position:relative; }
.acc__icon::before,.acc__icon::after{ content:""; position:absolute; background:var(--ink); border-radius:2px; }
.acc__icon::before{ width:14px; height:2px; } .acc__icon::after{ width:2px; height:14px; transition:transform .25s; }
.acc__item.is-open .acc__icon{ background:var(--brand); border-color:var(--brand); }
.acc__item.is-open .acc__icon::before,.acc__item.is-open .acc__icon::after{ background:#fff; }
.acc__item.is-open .acc__icon::after{ transform:rotate(90deg); }
.acc__panel{ max-height:0; overflow:hidden; transition:max-height .4s ease; }
.acc__body{ padding:0 4px 30px 58px; }
.acc__body p{ color:var(--ink-2); max-width:74ch; }
.acc__body .sub{ font-family:var(--font-mono); font-size:12px; letter-spacing:.1em; text-transform:uppercase; color:var(--muted); margin:22px 0 12px; }
.acc__list{ list-style:none; display:grid; gap:11px; }
.acc__list li{ display:flex; gap:12px; align-items:flex-start; color:var(--ink-2); font-size:15.5px; }
.acc__list svg{ flex-shrink:0; width:20px; height:20px; color:var(--brand); margin-top:2px; }
.acc__effect{ margin-top:22px; padding:18px 22px; background:var(--brand-tint-2); border-radius:var(--radius); border-left:3px solid var(--brand); font-size:15.5px; color:var(--ink-2); }
.acc__effect b{ color:var(--brand-700); }

/* ============================================================
   TESTIMONIALS / quotes (dark)
   ============================================================ */
.quotes{ background:var(--navy); color:#fff; }
.quotes .eyebrow{ color:var(--brand-300); }
.quotes .eyebrow::before{ background:var(--brand-300); }
.quote-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:18px; margin-top:48px; }
.qcard{ background:var(--navy-soft); border:1px solid var(--line-navy); border-radius:var(--radius-lg); padding:28px; }
.qcard p{ color:var(--on-navy); font-size:16px; line-height:1.55; }
.qcard__who{ margin-top:22px; display:flex; align-items:center; gap:12px; }
.qcard__av{ width:42px; height:42px; border-radius:50%; background:var(--brand); display:grid; place-items:center; font-family:var(--font-display); font-weight:700; color:#fff; font-size:16px; }
.qcard__who b{ display:block; font-size:15px; color:#fff; }
.qcard__who span{ font-size:13px; color:var(--on-navy-mut); }

/* ============================================================
   VIDEO HERO
   ============================================================ */
.hero-vid{ padding-top:clamp(20px,3vw,36px); padding-bottom:clamp(20px,3vw,36px); }
.hero-vid__frame{
  position:relative; overflow:hidden; border-radius:var(--radius-xl);
  background:var(--navy); aspect-ratio:1920/600; min-height:360px;
}
.hero-vid__video{
  position:absolute; inset:0; width:100%; height:100%; object-fit:cover;
  pointer-events:none;
}
.hero-vid__video::-webkit-media-controls,
.hero-vid__video::-webkit-media-controls-enclosure,
.hero-vid__video::-webkit-media-controls-panel{ display:none !important; }
.hero-vid__overlay{
  position:absolute; inset:0; background:rgba(14,118,188,.70);
}
.hero-vid__content{
  position:relative; z-index:2; height:100%;
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  text-align:center; padding:clamp(32px,4vw,64px) clamp(24px,6vw,140px);
}
.hero-vid__eyebrow{ color:rgba(255,255,255,.75); margin-bottom:20px; }
.hero-vid__eyebrow::before{ background:rgba(255,255,255,.5); }
.hero-vid__h1{
  font-family:var(--font-display); font-weight:800;
  line-height:1.05; letter-spacing:-.022em;
  font-size:clamp(20px,3.3vw,42px); color:#fff; text-wrap:balance;
}
.hero-vid__split{ display:block; }
.hero-vid__content .hero__cta{ margin-top:28px; }

@media(max-width:720px){
  .hero-vid{
    padding-top:12px;
    padding-bottom:12px;
  }
  .hero-vid__frame{
    aspect-ratio:4/5;
    min-height:0;
    background:var(--navy);
  }
  .hero-vid__video{
    display:block;
    object-position:center center;
  }
  .hero-vid__overlay{
    background:rgba(14,118,188,.56);
  }
  .hero-vid__content{
    padding:clamp(28px,7vw,44px) clamp(20px,6vw,30px);
  }
  .hero-vid__eyebrow{
    margin-bottom:14px;
  }
  .hero-vid__h1{
    font-size:clamp(30px,8vw,40px);
  }
  .hero-vid__split{ display:inline; }
  .hero-vid__content .hero__cta{
    margin-top:22px;
  }
}

/* ============================================================
   NAV DROPDOWN / SUBMENU
   ============================================================ */
.nav__dropdown{ position:relative; display:inline-flex; align-items:center; }
.nav__link--has-sub{ display:inline-flex; align-items:center; gap:4px; }
.nav__chevron{ font-size:10px; opacity:.55; transition:transform .2s ease; display:inline-block; }
.nav__dropdown:hover .nav__chevron{ transform:rotate(180deg); }
.nav__sub{
  position:absolute; top:calc(100% + 8px); left:0;
  background:var(--surface); border:1px solid var(--line); border-radius:var(--radius-lg);
  padding:7px; min-width:190px; box-shadow:var(--shadow-md);
  opacity:0; pointer-events:none; transform:translateY(6px);
  transition:opacity .18s ease, transform .18s ease;
  z-index:80;
}
.nav__dropdown:hover .nav__sub{ opacity:1; pointer-events:auto; transform:translateY(0); }
/* Bridge the gap between trigger and dropdown so cursor can slide over */
.nav__sub::before{
  content:''; position:absolute; top:-10px; left:0; right:0; height:10px;
}
.nav__sub a.is-active{ background:var(--brand-tint-2); color:var(--brand); }
.nav__sub a{
  display:flex; align-items:center; gap:10px; padding:10px 15px; border-radius:var(--radius);
  font-size:14.5px; font-weight:500; color:var(--ink-2);
  transition:background .14s, color .14s;
}
.nav__sub a:hover{ background:var(--brand-tint-2); color:var(--brand); }
.nav__sub-num{ font-family:var(--font-mono); font-size:11px; color:var(--brand); opacity:.7; flex-shrink:0; }
.mobile-sub{
  padding-left:30px !important;
  font-size:15px !important;
  color:var(--muted) !important;
  display:flex;
  align-items:center;
  gap:10px;
}
.mobile-sub::before{
  content:"";
  width:7px;
  height:7px;
  border-radius:50%;
  background:var(--brand);
  flex-shrink:0;
  opacity:.9;
}

/* ============================================================
   COUNTER PANEL (ograniczony do szerokości kolumny)
   ============================================================ */
.section--counter-wrap{ background:var(--paper); }
.counter-panel{
  background:var(--navy); color:#fff;
  border-radius:var(--radius-xl); overflow:hidden;
  position:relative; isolation:isolate;
}
.counter-panel .eyebrow{ color:var(--brand-300); }
.counter-panel .eyebrow::before{ background:var(--brand-300); }
.counter-panel__inner{
  position:relative; z-index:2; text-align:center;
  padding:clamp(48px,6vw,88px) clamp(32px,5vw,80px);
}
.counter-panel .counter__num{
  font-size:clamp(35px,6.8vw,94px);
}
.counter-panel .counter__cap{ color:var(--on-navy-mut); }

/* ============================================================
   HOME MANIFESTO
   ============================================================ */
.home-manifesto{
  padding-top:clamp(36px,4.5vw,70px);
  padding-bottom:clamp(18px,2.25vw,35px);
}
.home-manifesto__card{
  position:relative;
  padding:clamp(34px,4.4vw,58px) clamp(26px,3.8vw,54px);
  background:transparent;
  border:none;
  border-radius:0;
  box-shadow:none;
}
.home-manifesto__card::before{
  content:"";
  position:absolute;
  left:clamp(18px,2.6vw,30px);
  top:clamp(30px,3.8vw,46px);
  bottom:clamp(30px,3.8vw,46px);
  width:3px;
  border-radius:999px;
  background:linear-gradient(180deg, var(--brand), color-mix(in srgb, var(--brand) 28%, white));
}
.home-manifesto__inner{
  max-width:1200px;
  margin-inline:auto;
  padding-left:clamp(24px,3vw,42px);
}
.home-manifesto__lead{
  font-family:var(--font-display);
  font-size:clamp(28px,3.6vw,48px);
  font-weight:800;
  line-height:1.08;
  letter-spacing:-.024em;
  color:var(--navy);
  max-width:28ch;
}
.home-manifesto__copy{
  margin-top:clamp(30px,3.8vw,46px);
  max-width:88ch;
  font-size:clamp(17px,1.35vw,20px);
  line-height:1.6;
  color:var(--ink-2);
}
@media(min-width:721px){
  .home-manifesto__inner{
    max-width:none;
  }
  .home-manifesto__lead,
  .home-manifesto__copy{
    max-width:none;
  }
}
@media(max-width:720px){
  .home-manifesto__card::before{
    left:18px;
    top:22px;
    bottom:22px;
  }
  .home-manifesto__inner{
    padding-left:24px;
  }
  .home-manifesto__lead{
    max-width:none;
  }
}

/* ============================================================
   FOOTER — 3 kolumny
   ============================================================ */
.footer__top--3col{ grid-template-columns:1fr 1fr 1fr !important; }
.footer__address{
  font-style:normal; margin-top:24px; font-size:14px;
  line-height:1.75; color:var(--on-navy-mut);
}
.footer__address a{ color:var(--on-navy-mut); }
.footer__address a:hover{ color:#fff; }
@media(max-width:1080px){
  .footer__top--3col{ grid-template-columns:1fr 1fr; }
}
@media(max-width:620px){
  .footer__top--3col{ grid-template-columns:1fr; }
}

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee{ background:var(--ink); color:#fff; padding-block:30px; overflow:hidden; }
.marquee__track{ display:flex; gap:40px; white-space:nowrap; width:max-content; animation:marquee 32s linear infinite; }
.marquee__track span{ font-family:var(--font-display); font-weight:800; font-size:clamp(28px,4vw,52px); letter-spacing:-.02em; display:inline-flex; align-items:center; gap:40px; }
.marquee__track span::after{ content:"✳"; color:var(--brand); font-size:.7em; }
@keyframes marquee{ to{ transform:translateX(-50%); } }

/* ============================================================
   STATS STRIP
   ============================================================ */
.stat-strip{ display:grid; grid-template-columns:repeat(4,1fr); border:1px solid var(--line); border-radius:var(--radius-lg); overflow:hidden; background:var(--surface); }
.stat-strip>div{ padding:34px 28px; border-right:1px solid var(--line); }
.stat-strip>div:last-child{ border-right:none; }
.stat-strip .n{ font-family:var(--font-display); font-weight:800; font-size:clamp(32px,3.5vw,46px); color:var(--ink); letter-spacing:-.02em; }
.stat-strip .l{ margin-top:8px; color:var(--muted); font-size:14.5px; }

/* ============================================================
   MAP / realizacje
   ============================================================ */
.map-wrap{ position:relative; background:var(--navy); border-radius:var(--radius-xl); overflow:hidden; border:1px solid var(--line-navy); }
.map-wrap svg{ display:block; width:100%; height:auto; }
.map-legend{ display:flex; gap:22px; flex-wrap:wrap; margin-top:24px; }
.map-legend span{ display:inline-flex; align-items:center; gap:9px; font-size:14px; color:var(--muted); font-family:var(--font-mono); letter-spacing:.03em; }
.map-legend i{ width:11px; height:11px; border-radius:50%; background:var(--brand); display:inline-block; }

.loc-list{ display:grid; grid-template-columns:repeat(2,1fr); gap:18px; margin-top:18px; }
.loc{ background:transparent; border:none; border-left:2px solid var(--brand); border-radius:0; padding:26px 26px 26px 24px; }
.loc__tag{ font-family:var(--font-mono); font-size:11.5px; letter-spacing:.14em; text-transform:uppercase; color:var(--brand); }
.loc h3{ margin-top:10px; font-size:21px; }
.loc p{ margin-top:8px; color:var(--muted); font-size:15px; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid{ display:grid; grid-template-columns:1fr 1fr; gap:clamp(32px,5vw,72px); align-items:start; }
.field{ display:flex; flex-direction:column; gap:8px; margin-bottom:20px; }
.field label{ font-size:13.5px; font-weight:600; color:var(--ink-2); }
.field input,.field textarea,.field select{
  font-family:var(--font-body); font-size:16px; padding:14px 16px; border:1px solid var(--line-2);
  border-radius:var(--radius); background:var(--surface); color:var(--ink); transition:border-color .15s, box-shadow .15s;
}
.field input:focus,.field textarea:focus,.field select:focus{ outline:none; border-color:var(--brand); box-shadow:0 0 0 3px var(--brand-tint); }
.field textarea{ resize:vertical; min-height:130px; }
.field-row{ display:grid; grid-template-columns:1fr 1fr; gap:18px; }
.contact-info{ display:flex; flex-direction:column; gap:6px; }
.contact-block{ padding:24px 0; border-bottom:1px solid var(--line); }
.contact-block:first-child{ padding-top:0; }
.contact-block h4{ font-family:var(--font-mono); font-weight:700; font-size:12px; letter-spacing:.14em; text-transform:uppercase; color:var(--muted); }
.contact-block .big{ font-family:var(--font-display); font-weight:700; font-size:clamp(20px,2vw,26px); margin-top:10px; }
.contact-block .big a:hover{ color:var(--brand); }
.contact-block address{ font-style:normal; margin-top:8px; color:var(--ink-2); line-height:1.6; font-size:15.5px; }
.legal-row{ font-family:var(--font-mono); font-size:12px; color:var(--faint); letter-spacing:.04em; margin-top:18px; display:flex; gap:18px; flex-wrap:wrap; }

/* ============================================================
   CTA band
   ============================================================ */
.cta-band{ position:relative; overflow:hidden; }
.cta-band__inner{ text-align:center; max-width:760px; margin-inline:auto; position:relative; z-index:2; }
.cta-band p{ margin:20px auto 0; }
.cta-band .hero__cta{ margin-top:32px; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer{ background:var(--navy); color:var(--on-navy-mut); padding-top:clamp(60px,7vw,96px); }
.footer a{ color:var(--on-navy-mut); transition:color .15s; }
.footer a:hover{ color:#fff; }
.footer__top{ display:grid; grid-template-columns:1.6fr 1fr 1fr 1.3fr; gap:40px; padding-bottom:56px; border-bottom:1px solid var(--line-navy); }
.footer .brand__name{ color:#fff; }
.footer .brand__mark{ background:var(--brand); }
.footer__intro{ margin-top:20px; max-width:34ch; font-size:15px; line-height:1.6; }
.footer__col h5{ font-family:var(--font-mono); font-size:11.5px; letter-spacing:.14em; text-transform:uppercase; color:var(--on-navy); font-weight:700; margin-bottom:18px; }
.footer__col a{ display:block; padding:7px 0; font-size:15px; }
.footer__news p{ font-size:15px; margin-bottom:16px; }
.footer__news form{ display:flex; gap:8px; background:rgba(255,255,255,.06); border:1px solid var(--line-navy); border-radius:999px; padding:6px 6px 6px 18px; }
.footer__news input{ flex:1; background:none; border:none; color:#fff; font-family:var(--font-body); font-size:14.5px; }
.footer__news input::placeholder{ color:var(--on-navy-mut); }
.footer__news input:focus{ outline:none; }
.footer__news button{ width:40px; height:40px; border-radius:50%; background:var(--brand); color:#fff; display:grid; place-items:center; flex-shrink:0; transition:background .2s; }
.footer__news button:hover{ background:var(--brand-700); }
.footer__bottom{ display:flex; justify-content:space-between; gap:20px; padding-block:28px; font-size:13px; font-family:var(--font-mono); letter-spacing:.03em; flex-wrap:wrap; }

/* ============================================================
   REVEAL animation
   ============================================================ */
.reveal{ opacity:0; transform:translateY(22px); transition:opacity .7s cubic-bezier(.2,.6,.2,1), transform .7s cubic-bezier(.2,.6,.2,1); }
.reveal.is-in{ opacity:1; transform:none; }
.reveal[data-d="1"]{ transition-delay:.08s; }
.reveal[data-d="2"]{ transition-delay:.16s; }
.reveal[data-d="3"]{ transition-delay:.24s; }
@media(prefers-reduced-motion:reduce){ .reveal{ opacity:1; transform:none; } .marquee__track{ animation:none; } *{ scroll-behavior:auto; } }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media(max-width:1080px){
  .grid-4{ grid-template-columns:repeat(2,1fr); }
  .cards .card:nth-child(2){ border-right:none; }
  .card{ border-bottom:1px solid var(--line); }
  .footer__top{ grid-template-columns:1fr 1fr; }
}
@media(max-width:1100px){
  .nav__menu{ display:none; }
  .nav__burger{ display:grid; }
  .nav__cta--login{ display:none; }
  .nav__bpk-logo,
  .nav__cta--bpk{ display:none; }
}
@media(max-width:900px){
  .split{ grid-template-columns:1fr; gap:32px; }
  .split--media-left .split__media{ order:0; }
  .panel-split{ grid-template-columns:1fr; }
  .panel-split__img{ min-height:240px; }
  .quote-grid{ grid-template-columns:1fr; }
  .stat-strip{ grid-template-columns:1fr 1fr; }
  .stat-strip>div:nth-child(2){ border-right:none; }
  .contact-grid{ grid-template-columns:1fr; }
  .loc-list,.tiles.grid-3,.tiles.grid-2{ grid-template-columns:1fr; }
}
@media(max-width:620px){
  body{ font-size:16px; }
  .nav{ z-index:10002; }
  .grid-4,.grid-3,.grid-2{ grid-template-columns:1fr; }
  .tiles.grid-4,.tiles.grid-3,.tiles.grid-2{ grid-template-columns:1fr !important; }
  .cards .card{ border-right:none !important; }
  .model-benefits .cards{ gap:0; }
  .model-benefits .cards .card{
    border-right:none;
    border-bottom:1px solid var(--line);
    padding:24px 0 22px;
  }
  .model-benefits .cards .card:last-child{ border-bottom:none; }
  .field-row{ grid-template-columns:1fr; }
  .stat-strip{ grid-template-columns:1fr; }
  .stat-strip>div{ border-right:none; border-bottom:1px solid var(--line); }
  .footer__top{ grid-template-columns:1fr; gap:32px; padding-bottom:32px; }
  .footer__top.footer__top--3col{ grid-template-columns:1fr !important; }
  .footer__top > div{ width:100%; }
  .footer__intro{ max-width:none; width:100%; }
  .footer__address{ max-width:none; width:100%; }
  .footer__col{ display:none; }
  .loc-list{ grid-template-columns:1fr; }
  .hero__statement{ font-size:12px; }
  .mobile-menu{
    width:min(74vw,340px);
    max-width:340px;
    padding:90px 22px 24px;
    top:0;
    height:100dvh;
  }
  .mobile-menu__head{
    left:20px;
    right:20px;
  }
  .mobile-overlay{
    top:0;
    z-index:10004;
  }
}
.tiles.grid-3{ grid-template-columns:repeat(3,1fr); }
.tiles.grid-2{ grid-template-columns:repeat(2,1fr); }
