/* MSKiP — design system v2 „Izba kupiecka": szmaragd-dominant, instytucjonalny, pieczęć + mosiężna ramka.
   Celowo odrębny od LP prąd (żaden ciepły krem + serif display). */
:root {
  --forest:      #123B2A;   /* primary dominant */
  --forest-2:    #1C5138;
  --moss:        #3E7B54;
  --forest-deep: #0C2B1E;   /* najgłębszy (footer) */
  --forest-soft: rgba(18,59,42,.06);
  --surface:     #F1F4EF;   /* chłodna biel-zieleń (NIE ciepły krem) */
  --surface-2:   #E7ECE4;
  --card:        #FFFFFF;   /* krystaliczne białe karty */
  --ink:         #14201A;
  --ink-soft:    #4B564F;
  --ink-faint:   #808A82;
  --brass:       #A8842C;   /* mosiądz / antyczne złoto */
  --brass-2:     #C29B3E;
  --brass-deep:  #856618;
  --brass-soft:  rgba(168,132,44,.14);
  --line:        #D9E0D4;
  --line-2:      #E4E9DF;
  --cream:       #F3EFE3;   /* tekst/detale na ciemnej zieleni */
  --radius:      10px;
  --radius-lg:   16px;
  --maxw:        1160px;
  --ease:        cubic-bezier(.22,.61,.36,1);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--surface); color: var(--ink);
  font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
body.locked { overflow: hidden; }
h1, h2, h3, h4 { font-family: 'Libre Franklin', system-ui, sans-serif; font-weight: 800; line-height: 1.08; letter-spacing: -0.02em; }
a { color: inherit; }
img { max-width: 100%; display: block; }
::selection { background: var(--forest); color: var(--cream); }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* EYEBROW = stempel/etykieta instytucjonalna */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'Libre Franklin', sans-serif; font-size: 12px; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase; color: var(--brass-deep);
}
.eyebrow::before { content: ""; width: 20px; height: 2px; background: var(--brass); display: inline-block; }
.on-dark .eyebrow, .hero .eyebrow, .emerald-sec .eyebrow { color: var(--brass-2); }

/* PIECZĘĆ (sygnatura) */
.seal {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: 'Libre Franklin', sans-serif; font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--brass-2); border: 1.5px solid var(--brass); border-radius: 999px; padding: 7px 15px 7px 12px;
}
.seal svg { flex-shrink: 0; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: 'Libre Franklin', sans-serif; font-weight: 700; font-size: 15.5px; letter-spacing: .01em;
  padding: 15px 26px; border-radius: 7px; border: 0; cursor: pointer; text-decoration: none;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .18s, color .18s;
  min-height: 52px; -webkit-appearance: none; appearance: none;
}
.btn--brass { background: var(--brass); color: #1B1608; box-shadow: 0 10px 22px -12px rgba(168,132,44,.7); }
.btn--brass:hover { background: var(--brass-2); transform: translateY(-2px); }
.btn--forest { background: var(--forest); color: var(--cream); box-shadow: 0 10px 22px -12px rgba(18,59,42,.7); }
.btn--forest:hover { background: var(--forest-deep); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line); padding: 13px 24px; }
.btn--ghost:hover { background: var(--ink); color: var(--surface); border-color: var(--ink); }
.btn--ghost-light { background: transparent; color: var(--cream); border: 1.5px solid rgba(243,239,227,.4); padding: 13px 24px; }
.btn--ghost-light:hover { background: var(--cream); color: var(--forest); border-color: var(--cream); }
.btn .arrow { transition: transform .2s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn--block { width: 100%; }

/* HEADER = solidny szmaragdowy top bar */
header { position: sticky; top: 0; z-index: 50; background: var(--forest); border-bottom: 1px solid transparent; transition: box-shadow .25s; }
header.scrolled { box-shadow: 0 6px 24px -14px rgba(0,0,0,.6); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 74px; gap: 20px; }
.logo { display: flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.logo img { height: 52px; width: auto; }   /* nowe logo MSKiP — cream + mosiądz */
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a.navlink { text-decoration: none; font-family: 'Libre Franklin', sans-serif; font-weight: 600; font-size: 14.5px; color: rgba(243,239,227,.82); transition: color .15s; }
.nav-links a.navlink:hover { color: var(--cream); }
.nav-links a.navlink.active { color: var(--brass-2); }
.nav .btn { padding: 10px 20px; min-height: 42px; font-size: 14px; }
/* Hamburger — ukryty na desktopie, wstrzykiwany przez main.js */
.nav-toggle { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; padding: 10px; margin-left: auto; background: transparent; border: 0; cursor: pointer; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--cream); border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* HERO = szmaragdowa dominująca powierzchnia */
.hero { position: relative; background: var(--forest); color: var(--cream); padding: 74px 0 84px; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(700px 420px at 92% -5%, rgba(168,132,44,.16), transparent 66%),
              radial-gradient(560px 420px at 0% 108%, rgba(62,123,84,.34), transparent 68%); }
.hero-wing { position: absolute; right: -40px; top: 30px; width: 540px; max-width: 48vw; opacity: .07; z-index: 0; pointer-events: none; }
.hero-wing path { fill: var(--brass-2); }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.06fr .94fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(40px, 5.6vw, 66px); font-weight: 800; letter-spacing: -0.03em; color: #FBF9F1; }
.hero h1 em { font-style: normal; color: var(--brass-2); }
.hero-sub { margin-top: 22px; font-size: 18.5px; color: #C7D2C8; max-width: 31em; }
.hero-cta-row { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.badges { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 9px; }
.badge { display: inline-flex; align-items: center; gap: 7px; font-family: 'Libre Franklin', sans-serif; font-size: 12.5px; font-weight: 600; color: #C7D2C8; border: 1px solid rgba(243,239,227,.2); padding: 8px 13px; border-radius: 6px; }

/* KARTA CZŁONKOSTWA = biała, mosiężna ramka certyfikatu */
.hero-card { position: relative; background: var(--card); color: var(--ink); border-radius: var(--radius-lg); padding: 30px; box-shadow: 0 44px 80px -40px rgba(0,0,0,.6); }
.hero-card::after { content: ""; position: absolute; inset: 9px; border: 1px solid var(--brass-soft); border-radius: 9px; pointer-events: none; }
.hero-card .hc-seal { position: absolute; top: -15px; right: 24px; background: var(--forest); color: var(--brass-2); font-family: 'Libre Franklin', sans-serif; font-weight: 700; font-size: 11.5px; letter-spacing: .14em; padding: 7px 15px; border-radius: 999px; text-transform: uppercase; border: 1.5px solid var(--brass); }
.hero-card h3 { font-size: 24px; color: var(--forest); margin-bottom: 6px; }
.hero-card .hc-lead { font-size: 15px; color: var(--ink-soft); margin-bottom: 16px; }
.hc-row { display: flex; align-items: flex-start; gap: 13px; padding: 13px 0; border-top: 1px solid var(--line-2); }
.hc-row svg { flex-shrink: 0; margin-top: 2px; }
.hc-row b { display: block; font-family: 'Libre Franklin', sans-serif; font-weight: 700; font-size: 15px; color: var(--ink); }
.hc-row span { font-size: 14px; color: var(--ink-soft); }
.hc-row > b { flex: 0 0 38%; }
.hc-row > span { flex: 1; }

/* SECTIONS */
section { padding: 82px 0; }
.section-head { max-width: 40em; margin-bottom: 44px; }
.section-head h2 { font-size: clamp(30px, 4vw, 44px); margin-top: 14px; }
.section-head p { margin-top: 15px; font-size: 18px; color: var(--ink-soft); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.alt { background: var(--surface-2); }
.emerald-sec { background: var(--forest); color: #C7D2C8; }
.emerald-sec h2, .emerald-sec h3 { color: #FBF9F1; }

/* TILES */
.tiles { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.tile { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; text-decoration: none; color: inherit; transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s; display: flex; flex-direction: column; gap: 12px; min-height: 172px; }
.tile:hover { transform: translateY(-4px); box-shadow: 0 24px 40px -28px rgba(20,32,26,.4); border-color: var(--brass); }
.tile .t-ico { width: 44px; height: 44px; border-radius: 9px; background: var(--forest-soft); display: flex; align-items: center; justify-content: center; }
.tile h3 { font-size: 19px; color: var(--forest); font-weight: 700; }
.tile p { font-size: 14.5px; color: var(--ink-soft); flex: 1; }
.tile .t-go { font-family: 'Libre Franklin', sans-serif; font-size: 13px; font-weight: 700; letter-spacing: .04em; color: var(--brass-deep); text-transform: uppercase; }

/* WYRÓŻNIKI / feats */
.feats { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.feat .f-num { font-family: 'Libre Franklin', sans-serif; font-weight: 800; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; color: var(--brass); }
.feat .f-rule { height: 2px; background: var(--line); margin: 12px 0 16px; position: relative; }
.feat .f-rule::before { content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 32px; height: 2px; background: var(--brass); }
.feat h3 { font-size: 22px; color: var(--forest); margin-bottom: 8px; }
.feat p { font-size: 15.5px; color: var(--ink-soft); }
.emerald-sec .feat h3 { color: #FBF9F1; }
.emerald-sec .feat p { color: #AEBDB1; }
.emerald-sec .feat .f-rule { background: rgba(243,239,227,.16); }

/* USŁUGI */
.svc-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.svc { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; transition: border-color .2s, transform .2s; }
.svc:hover { border-color: var(--brass); transform: translateY(-3px); }
.svc .s-tag { font-family: 'Libre Franklin', sans-serif; font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--brass-deep); }
.svc h3 { font-size: 18px; margin: 7px 0 6px; color: var(--forest); font-weight: 700; }
.svc p { font-size: 14.5px; color: var(--ink-soft); }
.svc .badge-new { display: inline-block; font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--brass-deep); background: var(--brass-soft); padding: 2px 8px; border-radius: 999px; margin-left: 6px; vertical-align: middle; }

/* PARTNERZY */
.partners-strip { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px; }
.partner-chip { background: var(--card); border: 1px solid var(--line); border-radius: 8px; padding: 12px 20px; font-family: 'Libre Franklin', sans-serif; font-size: 14px; font-weight: 600; color: var(--ink-soft); }

/* PRASA */
.press-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.press-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: inherit; display: flex; flex-direction: column; transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.press-card:hover { transform: translateY(-4px); box-shadow: 0 24px 40px -28px rgba(20,32,26,.4); }
.press-card .pc-img { aspect-ratio: 3 / 2; overflow: hidden; background: var(--surface-2); }
.press-card .pc-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s var(--ease); }
.press-card:hover .pc-img img { transform: scale(1.05); }
.press-card .pc-top { padding: 20px 22px 8px; display: flex; gap: 10px; align-items: center; }

/* ARTYKUŁ (pełna strona) */
.article { max-width: 760px; margin: 0 auto; }
.article-back { font-family: 'Libre Franklin', sans-serif; font-size: 13.5px; font-weight: 600; color: var(--brass-deep); text-decoration: none; display: inline-flex; gap: 7px; align-items: center; }
.article-back:hover { color: var(--forest); }
.article-meta { display: flex; gap: 12px; align-items: center; margin: 22px 0 14px; }
.article-meta .press-cat { }
.article h1 { font-size: clamp(30px, 4.4vw, 46px); color: var(--forest); line-height: 1.1; }
.article-lead { font-size: 20px; color: var(--ink-soft); margin: 18px 0 26px; line-height: 1.5; }
.article-figure { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); margin-bottom: 30px; }
.article-figure img { width: 100%; display: block; }
.article-body h2 { font-size: 25px; color: var(--forest); margin: 34px 0 12px; }
.article-body p { font-size: 17px; color: var(--ink); margin-bottom: 16px; line-height: 1.7; }
.article-body ul { margin: 0 0 16px 22px; }
.article-body li { font-size: 17px; color: var(--ink); margin-bottom: 8px; line-height: 1.6; }
.article-tags { margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px; }
.article-tag { font-family: 'Libre Franklin', sans-serif; font-size: 12.5px; font-weight: 600; color: var(--ink-soft); background: var(--surface-2); padding: 6px 13px; border-radius: 999px; }
.article-cta { margin-top: 34px; background: var(--surface-2); border: 1px solid var(--line); border-left: 3px solid var(--brass); border-radius: var(--radius); padding: 24px 26px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.article-cta p { font-family: 'Libre Franklin', sans-serif; font-weight: 700; color: var(--forest); font-size: 18px; }
.press-cat { font-family: 'Libre Franklin', sans-serif; font-size: 10.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--forest); background: var(--forest-soft); padding: 4px 10px; border-radius: 5px; }
.press-date { font-size: 13px; color: var(--ink-faint); }
.press-card h3 { font-size: 18px; padding: 4px 22px 22px; line-height: 1.3; color: var(--forest); }

/* CTA BAND */
.cta-band { position: relative; background: var(--forest); color: #C7D2C8; border-radius: var(--radius-lg); padding: 46px; display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(168,132,44,.28); border-radius: 12px; pointer-events: none; }
.cta-band h2 { color: #FBF9F1; font-size: clamp(26px,3vw,34px); max-width: 15em; }
.cta-band p { color: #AEBDB1; font-size: 15.5px; margin-top: 8px; }
.cta-band .btn { position: relative; z-index: 1; }

/* FORMS */
.field { display: block; margin-bottom: 16px; }
.flabel { display: block; font-family: 'Libre Franklin', sans-serif; font-size: 13.5px; font-weight: 700; margin-bottom: 6px; }
.flabel .req { color: var(--brass-deep); }
.field input, .field select, .field textarea { width: 100%; font-family: inherit; font-size: 16px; color: var(--ink); padding: 13px 14px; border: 1.5px solid var(--line); border-radius: 8px; background: var(--surface); transition: border-color .15s, background .15s; }
.field textarea { min-height: 96px; resize: vertical; }
.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%234B564F' stroke-width='1.8' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--moss); background: var(--card); }
.field input.err, .field select.err, .field textarea.err { border-color: #B4472F; background: #FBF1ED; }
.field-err { display: none; font-size: 13px; color: #B4472F; margin-top: 5px; font-weight: 500; }
.field input.err ~ .field-err, .field select.err ~ .field-err, .field textarea.err ~ .field-err { display: block; }
.consent { margin: 8px 0 4px; display: flex; gap: 10px; align-items: flex-start; }
.consent input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--forest); flex-shrink: 0; }
.consent span { font-size: 12.5px; color: var(--ink-soft); line-height: 1.5; }
.consent a { color: var(--forest); font-weight: 600; }
.consent.err span { color: #B4472F; }
.micro { text-align: center; font-size: 13px; color: var(--ink-faint); margin-top: 13px; }
.form-success { display: none; text-align: center; padding: 24px 10px; }
.form-success.show { display: block; }
.success-ring { width: 62px; height: 62px; border-radius: 50%; background: var(--brass-soft); display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; }
.form-success h3 { font-size: 24px; margin-bottom: 10px; color: var(--forest); }
.form-success p { font-size: 15.5px; color: var(--ink-soft); max-width: 26em; margin: 0 auto; }

/* MODAL */
.modal { position: fixed; inset: 0; z-index: 90; display: none; align-items: center; justify-content: center; padding: 24px; }
.modal.open { display: flex; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(12,43,30,.62); backdrop-filter: blur(3px); }
.modal-box { position: relative; background: var(--card); border-radius: var(--radius-lg); width: 100%; max-width: 540px; max-height: 92vh; overflow-y: auto; padding: 32px; box-shadow: 0 50px 90px -30px rgba(0,0,0,.55); animation: pop .3s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(20px) scale(.98); } to { opacity: 1; transform: none; } }
.modal-close { position: absolute; top: 15px; right: 15px; width: 38px; height: 38px; border: 0; border-radius: 50%; background: var(--surface-2); cursor: pointer; font-size: 20px; color: var(--ink-soft); line-height: 1; }
.modal-close:hover { background: var(--line); }
.modal-head { margin-bottom: 20px; padding-right: 40px; }
.modal-head h3 { font-size: 25px; color: var(--forest); }
.modal-head p { font-size: 15px; color: var(--ink-soft); margin-top: 6px; }

/* FOOTER */
footer { background: var(--forest-deep); color: #9FAEA3; padding: 56px 0 28px; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; }
.foot-logo img { height: 56px; opacity: .96; }
.foot-about { font-size: 14.5px; max-width: 27em; margin-top: 16px; line-height: 1.65; }
footer h4 { font-family: 'Libre Franklin', sans-serif; color: #F0EDE2; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 14px; }
footer a { color: #9FAEA3; text-decoration: none; display: block; margin-bottom: 9px; font-size: 14.5px; transition: color .15s; }
footer a:hover { color: var(--brass-2); }
.foot-bottom { margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(243,239,227,.1); font-size: 12.5px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: #77857B; }

/* COOKIE */
.cookie { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 80; max-width: 480px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; box-shadow: 0 24px 50px -20px rgba(0,0,0,.4); transform: translateY(160%); transition: transform .45s var(--ease); }
.cookie.show { transform: none; }
.cookie p { font-size: 14px; color: var(--ink-soft); margin-bottom: 14px; }
.cookie a { color: var(--forest); font-weight: 600; }
.cookie-btns { display: flex; gap: 10px; }
.cookie .btn { padding: 11px 20px; min-height: 42px; font-size: 14px; }

.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.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 (max-width: 940px) {
  .hero-grid, .foot-grid { grid-template-columns: 1fr; }
  .hero-grid { gap: 40px; }
  .tiles { grid-template-columns: 1fr 1fr; }
  .feats, .svc-grid, .press-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .cta-band { padding: 34px; }
  .nav-toggle { display: flex; }
  .nav-links {
    display: flex; flex-direction: column; align-items: stretch; gap: 0;
    position: absolute; top: 74px; left: 0; right: 0;
    background: var(--forest); padding: 6px 20px 18px;
    border-top: 1px solid rgba(243,239,227,.12);
    box-shadow: 0 22px 44px -22px rgba(0,0,0,.7);
    transform: translateY(-8px); opacity: 0; pointer-events: none;
    transition: opacity .18s, transform .18s;
  }
  .nav-links.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav-links a.navlink { padding: 14px 4px; font-size: 16px; border-bottom: 1px solid rgba(243,239,227,.1); }
  .nav-links .btn { width: 100%; justify-content: center; margin-top: 12px; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .wrap { padding: 0 18px; }
  section { padding: 56px 0; }
  .hero { padding: 46px 0 60px; }
  .tiles { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; gap: 28px; }
  .cookie { left: 10px; right: 10px; bottom: 10px; }
  .cookie-btns { flex-direction: column; }
  .cookie-btns .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } * { scroll-behavior: auto; } }

/* ============================================================
   v3 — komponenty pełnego serwisu (Faza 1: odwzorowanie treści)
   ============================================================ */

/* dostępność: skip link */
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 200; background: var(--brass); color: #1B1608;
  padding: 12px 20px; font-family: 'Libre Franklin', sans-serif; font-weight: 700; border-radius: 0 0 8px 0; }
.skip-link:focus { left: 0; }
:focus-visible { outline: 3px solid var(--brass); outline-offset: 2px; }

/* nagłówek podstrony */
.page-hero { background: var(--forest); color: var(--cream); padding: 54px 0 58px; position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0;
  background: radial-gradient(620px 380px at 88% -10%, rgba(168,132,44,.15), transparent 66%); }
.page-hero > .wrap { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(32px, 4.6vw, 52px); color: #FBF9F1; margin-top: 14px; }
.page-lead { margin-top: 18px; font-size: 18px; color: #C7D2C8; max-width: 44em; }
.page-hero .hero-cta-row { margin-top: 26px; }

/* okruszki */
.crumbs { font-size: 13.5px; color: #9FB0A2; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 8px; }
.crumbs a { color: #C7D2C8; text-decoration: none; }
.crumbs a:hover { color: var(--brass-2); }
.crumbs em { font-style: normal; color: var(--brass-2); }
.article-sec .crumbs, section:not(.page-hero) .crumbs { color: var(--ink-faint); margin-bottom: 26px; }
.article-sec .crumbs a { color: var(--ink-soft); }
.article-sec .crumbs em { color: var(--brass-deep); }

/* karta artykułu bez zdjęcia — brandowa, typograficzna */
.pc-img--brand { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  background: linear-gradient(150deg, var(--forest) 0%, var(--forest-2) 58%, var(--moss) 140%); position: relative; }
.pc-img--brand::after { content: ""; position: absolute; inset: 12px; border: 1px solid rgba(168,132,44,.4); border-radius: 6px; }
.pc-mono { font-family: 'Libre Franklin', sans-serif; font-weight: 800; font-size: 44px; letter-spacing: .04em;
  color: var(--brass-2); line-height: 1; }
.pc-brandline { font-family: 'Libre Franklin', sans-serif; font-size: 10.5px; font-weight: 700; letter-spacing: .18em;
  text-transform: uppercase; color: rgba(243,239,227,.62); }

/* filtry biura prasowego */
.filters { margin-bottom: 34px; }
.chips { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 18px; }
.chip { font-family: 'Libre Franklin', sans-serif; font-size: 13.5px; font-weight: 600; color: var(--ink-soft);
  background: var(--card); border: 1.5px solid var(--line); border-radius: 999px; padding: 9px 17px; cursor: pointer;
  transition: border-color .15s, color .15s, background .15s; }
.chip:hover { border-color: var(--brass); color: var(--forest); }
.chip.active { background: var(--forest); border-color: var(--forest); color: var(--cream); }
.filter-row { display: flex; gap: 14px; flex-wrap: wrap; align-items: flex-end; }
.fl-inline { display: flex; flex-direction: column; gap: 6px; }
.fl-inline span { font-family: 'Libre Franklin', sans-serif; font-size: 12.5px; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase; color: var(--ink-faint); }
.fl-inline select, .fl-inline input { font-family: inherit; font-size: 15.5px; color: var(--ink); padding: 11px 14px;
  border: 1.5px solid var(--line); border-radius: 8px; background: var(--card); min-width: 150px; }
.fl-inline select:focus, .fl-inline input:focus { outline: none; border-color: var(--moss); }
.fl-grow { flex: 1; min-width: 240px; }
.fl-grow input { width: 100%; }
.filter-count { margin-top: 14px; font-size: 14px; color: var(--ink-faint); }
.pc-wrap { display: contents; }
.pc-wrap.hide { display: none; }
.empty-state { display: none; text-align: center; padding: 48px 20px; font-size: 17px; color: var(--ink-soft); }
.empty-state.show { display: block; }

/* treść dokumentów i podstron */
.prose { max-width: 800px; font-size: 17px; line-height: 1.75; color: var(--ink); }
.prose h2 { font-size: 27px; color: var(--forest); margin: 36px 0 12px; }
.prose h3 { font-size: 21px; color: var(--forest); margin: 28px 0 10px; }
.prose p { margin-bottom: 16px; }
.prose ul, .prose ol { margin: 0 0 18px 24px; }
.prose li { margin-bottom: 8px; }
.prose a { color: var(--forest); font-weight: 600; text-underline-offset: 3px; }
.prose a:hover { color: var(--brass-deep); }
.prose strong { color: var(--ink); }
.prose table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: 15.5px; }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 13px; text-align: left; vertical-align: top; }
.prose th { background: var(--surface-2); font-family: 'Libre Franklin', sans-serif; font-weight: 700; }
.prose--doc { font-size: 16px; line-height: 1.8; }
.prose--doc p { margin-bottom: 13px; }

/* galeria w artykule */
.gallery { margin-top: 38px; }
.gallery h2 { font-size: 22px; color: var(--forest); margin-bottom: 16px; }
.gal-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.gal-item { display: block; border-radius: 8px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4/3; }
.gal-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.gal-item:hover img { transform: scale(1.06); }
.article-source { margin-top: 22px; font-size: 14px; color: var(--ink-faint); font-style: italic; }

/* kontakt */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 40px; align-items: start; }
.ci-block { padding: 18px 0; border-top: 1px solid var(--line); }
.ci-block:first-child { border-top: 0; padding-top: 0; }
.ci-block h3 { font-family: 'Libre Franklin', sans-serif; font-size: 12px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--brass-deep); margin-bottom: 7px; }
.ci-block p { font-size: 16.5px; color: var(--ink); line-height: 1.6; }
.ci-block a { color: var(--forest); font-weight: 600; }
.map-wrap { margin-top: 22px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.map-wrap iframe { width: 100%; height: 300px; border: 0; display: block; }
.contact-form-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 32px; box-shadow: 0 30px 60px -44px rgba(20,32,26,.5); }
.contact-form-card h2 { font-size: 26px; color: var(--forest); }
.cf-lead { font-size: 15px; color: var(--ink-soft); margin: 8px 0 22px; }

@media (max-width: 940px) {
  .contact-grid { grid-template-columns: 1fr; gap: 30px; }
  .page-hero { padding: 40px 0 44px; }
}
@media (max-width: 620px) {
  .contact-form-card { padding: 22px; }
  .filter-row { flex-direction: column; align-items: stretch; }
  .fl-inline select, .fl-inline input { width: 100%; }
  .pc-mono { font-size: 36px; }
}

/* hub projektów (ich strona /projekty.htm jest pusta — budujemy z archiwum) */
.proj-wrap { max-width: 860px; }
.proj-block { padding: 26px 0 6px; border-top: 1px solid var(--line); }
.proj-block:first-child { border-top: 0; padding-top: 0; }
.proj-block h2 { font-size: 25px; color: var(--forest); }
.proj-desc { font-size: 16.5px; color: var(--ink-soft); margin: 8px 0 16px; max-width: 46em; }
.proj-list { list-style: none; margin: 0; padding: 0; }
.proj-list li { display: flex; justify-content: space-between; gap: 18px; align-items: baseline;
  padding: 11px 0; border-bottom: 1px solid var(--line-2); }
.proj-list a { color: var(--ink); text-decoration: none; font-weight: 500; }
.proj-list a:hover { color: var(--brass-deep); }
.pl-date { font-size: 13px; color: var(--ink-faint); white-space: nowrap; flex-shrink: 0; }
.pl-more { margin-top: 14px; font-size: 14.5px; color: var(--ink-soft); }
.pl-more a { color: var(--forest); font-weight: 600; }
@media (max-width: 620px) {
  .proj-list li { flex-direction: column; gap: 3px; }
}

/* ikony w kaflach — mosiądz na przygaszonej zieleni */
.tile .t-ico { color: var(--brass-deep); background: var(--forest-soft); border: 1px solid var(--brass-soft);
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease); }
.tile .t-ico svg { width: 23px; height: 23px; }
.tile:hover .t-ico { background: var(--forest); color: var(--brass-2); border-color: var(--forest); }

/* ostatnia pozycja listy projektów nie dubluje linii sekcji */
.proj-list li:last-child { border-bottom: 0; }
.proj-block { padding-bottom: 18px; }

/* długie adresy URL w treści nie mogą rozpychać strony na wąskich ekranach */
.prose, .article-body, .prose a, .article-body a { overflow-wrap: anywhere; }
.prose table { display: block; overflow-x: auto; }

/* ── dostępność dotykowa (WCAG 2.5.5) ─────────────────────────────
   Linki w stopce i logo miały 23–38px wysokości na telefonie.
   Powiększamy pole kliknięcia bez zmiany wyglądu. */
@media (max-width: 940px) {
  footer a { padding: 10px 0; margin-bottom: 0; }
  footer h4 { margin-bottom: 8px; }
  .foot-about a { padding: 0; }               /* linki w akapicie zostają inline */
  .logo { min-height: 44px; align-items: center; }
  .crumbs a { padding: 4px 0; display: inline-block; }
}
/* etykiety kategorii były 10.5px — poniżej progu czytelności */
.press-cat { font-size: 11.5px; }
.pc-brandline { font-size: 11px; }

/* filtry biura prasowego — pełnowymiarowe cele dotykowe na telefonie */
@media (max-width: 940px) {
  .chip { padding: 12px 18px; min-height: 44px; }
  .gal-item { min-height: 44px; }
}
.pc-brandline { font-size: 11.5px; }

@media (max-width: 940px) {
  .crumbs { gap: 4px 8px; }
  .crumbs a { padding: 11px 0; }
  .article-back { padding: 11px 0; }
}

@media (max-width: 940px) {
  /* lista projektów — cały wiersz jako cel dotykowy */
  .proj-list li { padding: 6px 0; }
  .proj-list a { display: block; padding: 9px 0; }
  /* checkbox zgody RODO — powiększone pole kliknięcia bez zmiany wyglądu */
  .consent { padding: 8px 0; align-items: center; }
  .consent input { width: 22px; height: 22px; margin-top: 0; }
  .consent span { padding: 6px 0; }
}

/* checkbox zgody — 24px to minimum WCAG 2.5.8 AA; klikalna jest też etykieta */
.consent input { width: 24px; height: 24px; }
.badge-new { font-size: 11.5px; }
.svc .badge-new { font-size: 11.5px; }

/* ── TABLET (621–940px) ────────────────────────────────────────────
   Wcześniej wszystko spadało do jednej kolumny już od 940px, przez co
   na tablecie marnowała się połowa szerokości. */
@media (min-width: 621px) and (max-width: 940px) {
  .press-grid { grid-template-columns: 1fr 1fr; }
  .feats      { grid-template-columns: 1fr 1fr; }
  .svc-grid   { grid-template-columns: 1fr 1fr; }
  .foot-grid  { grid-template-columns: 1.4fr 1fr 1fr; }
  .tiles      { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .filter-row { flex-direction: row; }
  .fl-grow { min-width: 200px; }
}

/* przy wieloliniowej zgodzie checkbox wyrównany do pierwszej linii, nie do środka */
.consent { align-items: flex-start; }
.consent input { margin-top: 1px; }
@media (max-width: 940px) { .consent { align-items: flex-start; } }

/* ── PARTNERZY ────────────────────────────────────────────────── */
.partner-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.partner-card { display: flex; flex-direction: column; gap: 10px; background: var(--card);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px;
  text-decoration: none; color: inherit; position: relative; overflow: hidden;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s; }
.partner-card::before { content: ""; position: absolute; left: 0; top: 0; width: 3px; height: 100%;
  background: var(--brass); transform: scaleY(0); transform-origin: top; transition: transform .3s var(--ease); }
.partner-card:hover { transform: translateY(-4px); border-color: var(--brass);
  box-shadow: 0 26px 44px -30px rgba(20,32,26,.45); }
.partner-card:hover::before { transform: scaleY(1); }
.pt-tag { font-family: 'Libre Franklin', sans-serif; font-size: 11.5px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; color: var(--brass-deep); }
.partner-card h2 { font-size: 24px; color: var(--forest); }
.pt-desc { font-size: 15.5px; color: var(--ink-soft); flex: 1; line-height: 1.6; }
.pt-link { font-family: 'Libre Franklin', sans-serif; font-size: 14px; font-weight: 700;
  color: var(--forest); display: inline-flex; align-items: center; gap: 7px; }
.pt-link .arrow { transition: transform .2s var(--ease); }
.partner-card:hover .arrow { transform: translateX(4px); }
@media (max-width: 940px) { .partner-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .partner-grid { grid-template-columns: 1fr; } .partner-card { padding: 22px; } }

/* ── /oferta — bloki usług (treść od klienta 24.07) ─────────────── */
.svc-blocks { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.svc-block { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 26px 24px; transition: border-color .2s, transform .2s, box-shadow .2s; }
.svc-block:hover { border-color: var(--brass); transform: translateY(-3px);
  box-shadow: 0 24px 40px -30px rgba(20,32,26,.4); }
.svc-block .sb-tag { font-family: 'Libre Franklin', sans-serif; font-size: 11.5px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; color: var(--brass-deep); }
.svc-block h3 { font-size: 20px; color: var(--forest); margin: 7px 0 8px; font-weight: 700; }
.svc-block .sb-lead { font-size: 15px; color: var(--ink-soft); margin-bottom: 14px; line-height: 1.55; }
.svc-block .sb-list { list-style: none; margin: 0; padding: 0; }
.svc-block .sb-list li { position: relative; padding-left: 22px; margin-bottom: 9px;
  font-size: 14.5px; color: var(--ink); line-height: 1.5; }
.svc-block .sb-list li::before { content: ""; position: absolute; left: 2px; top: 8px;
  width: 7px; height: 7px; border: 1.5px solid var(--brass); border-radius: 2px; transform: rotate(45deg); }

/* pasek wyróżników na ciemnej zieleni */
.trait-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px; }
.trait { font-family: 'Libre Franklin', sans-serif; font-size: 13px; font-weight: 600;
  color: #C7D2C8; border: 1px solid rgba(168,132,44,.4); border-radius: 999px; padding: 8px 16px; }

@media (max-width: 940px) { .svc-blocks { grid-template-columns: 1fr; } }

/* ── /o-nas — opis, historia, władze (treść klienta 24.07) ─────── */
.about-cols { margin-top: 36px; }
.reason-list { list-style: none; margin: 14px 0 0; padding: 0; max-width: 820px; }
.reason-list li { position: relative; padding-left: 26px; margin-bottom: 16px;
  font-size: 16px; color: var(--ink); line-height: 1.6; }
.reason-list li::before { content: ""; position: absolute; left: 0; top: 9px; width: 9px; height: 9px;
  background: var(--brass); border-radius: 2px; transform: rotate(45deg); }
.reason-list b { color: var(--forest); }

/* wyróżniony kamień milowy historii */
.history-highlight { display: flex; gap: 26px; margin: 30px 0; padding: 30px;
  background: var(--forest); color: #C7D2C8; border-radius: var(--radius-lg); position: relative; overflow: hidden; }
.history-highlight::after { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(168,132,44,.28);
  border-radius: 12px; pointer-events: none; }
.hh-year { font-family: 'Libre Franklin', sans-serif; font-weight: 800; font-size: 46px;
  color: var(--brass-2); line-height: 1; flex-shrink: 0; }
.hh-body h3 { color: #FBF9F1; font-size: 22px; margin-bottom: 8px; }
.hh-body > p { margin-bottom: 12px; font-size: 16px; }
.hh-body b { color: #FBF9F1; }
.hh-list { list-style: none; margin: 0; padding: 0; }
.hh-list li { position: relative; padding-left: 20px; margin-bottom: 8px; font-size: 15px; line-height: 1.55; }
.hh-list li::before { content: ""; position: absolute; left: 0; top: 8px; width: 6px; height: 6px;
  background: var(--brass); border-radius: 50%; }

/* władze */
.board-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.board-col h3 { font-size: 20px; color: var(--forest); margin-bottom: 18px; }
.people { display: flex; flex-direction: column; gap: 14px; }
.person { display: flex; align-items: center; gap: 14px; }
.person-mono { width: 46px; height: 46px; flex-shrink: 0; border-radius: 50%; background: var(--forest-soft);
  border: 1px solid var(--brass-soft); display: flex; align-items: center; justify-content: center;
  font-family: 'Libre Franklin', sans-serif; font-weight: 700; font-size: 15px; color: var(--brass-deep); }
.person b { display: block; font-family: 'Libre Franklin', sans-serif; font-size: 16px; color: var(--ink); }
.person-role { font-size: 14px; color: var(--ink-soft); }

.org-data { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.org-data h3 { font-size: 18px; color: var(--forest); margin-bottom: 16px; }
.org-data dl { margin: 0; }
.org-data dl > div { display: grid; grid-template-columns: 130px 1fr; gap: 12px; padding: 9px 0;
  border-top: 1px solid var(--line-2); }
.org-data dl > div:first-child { border-top: 0; }
.org-data dt { font-family: 'Libre Franklin', sans-serif; font-size: 12.5px; font-weight: 700;
  letter-spacing: .04em; text-transform: uppercase; color: var(--ink-faint); }
.org-data dd { margin: 0; font-size: 15px; color: var(--ink); }
.org-data a { color: var(--forest); font-weight: 600; }

@media (max-width: 720px) {
  .board-grid { grid-template-columns: 1fr; gap: 28px; }
  .history-highlight { flex-direction: column; gap: 12px; padding: 24px; }
  .hh-year { font-size: 38px; }
  .org-data dl > div { grid-template-columns: 1fr; gap: 2px; }
}

/* cele dotykowe: linki w danych stowarzyszenia (/o-nas) na mobile */
@media (max-width: 940px) {
  .org-data dd a { display: inline-block; padding: 11px 0; }
}

/* --- Załączniki PDF (artykuł, CMS) --- */
.attachments{margin:32px 0}
.attachments h2{font-size:22px;color:var(--forest,#123B2A);margin-bottom:14px}
.attach-list{display:flex;flex-direction:column;gap:10px}
.attach-item{display:flex;align-items:center;gap:14px;padding:14px 16px;border:1px solid #E4E8E2;
  border-radius:11px;background:#fff;text-decoration:none;color:#1B241F;transition:.15s}
.attach-item:hover{border-color:#C29B3E;background:#faf7ef}
.attach-ic{font-size:11px;font-weight:800;color:#a4321f;background:#c0392b12;border:1px solid #c0392b25;
  padding:4px 9px;border-radius:6px;letter-spacing:.04em}
.attach-name{flex:1;font-size:15px;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.attach-dl{font-size:13.5px;font-weight:600;color:#A8842C;white-space:nowrap}
