/* ============================================================
   Park Naukowo-Technologiczny w Ełku — design system
   Kierunek: Petrol + Lime, editorial-tech
   Jeden plik = źródło prawdy dla wszystkich stron.
   ============================================================ */

/* ---------- Tokeny ---------- */
:root {
  --bg:        #ffffff;
  --bg-soft:   #f4f6f1;
  --bg-mute:   #ecefe8;
  --ink:       #0e2a2a;
  --ink-soft:  #4a5d5b;
  --ink-faint: #7b8a88;
  --brand:     #1c6b64;
  --brand-600: #175a54;
  --brand-700: #124944;
  --brand-deep:#0b1f1d;
  --brand-deep-2:#0f2a27;
  --lime:      #9fd545;
  --lime-600:  #8bc336;
  --lime-ink:  #1a2b00;
  --line:      #e2e6dd;
  --line-deep: rgba(255,255,255,.12);

  --maxw: 1200px;
  --gutter: clamp(16px, 4vw, 48px);
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(14,42,42,.05), 0 2px 8px rgba(14,42,42,.04);
  --shadow:    0 6px 24px rgba(14,42,42,.08), 0 2px 6px rgba(14,42,42,.05);
  --shadow-lg: 0 24px 60px rgba(11,31,29,.16);

  --ff-head: "Space Grotesk", system-ui, sans-serif;
  --ff-body: "Inter", system-ui, -apple-system, sans-serif;

  --ease: cubic-bezier(.22,1,.36,1);
  --dur: .5s;
}

/* ---------- Reset ---------- */
*,*::before,*::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--ff-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: none; }
input, textarea, select { font: inherit; color: inherit; }
ul { list-style: none; padding: 0; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 4px; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 9vw, 128px); }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }
.section--soft { background: var(--bg-soft); }
.grid { display: grid; gap: clamp(20px, 2.5vw, 32px); }
.stack { display: flex; flex-direction: column; }

/* ---------- Typografia ---------- */
h1,h2,h3,h4 { font-family: var(--ff-head); font-weight: 600; line-height: 1.04; letter-spacing: -.02em; color: var(--ink); }
.h-display { font-size: clamp(2.6rem, 6.4vw, 5.2rem); line-height: .98; letter-spacing: -.035em; font-weight: 700; }
.h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); }
.h2 { font-size: clamp(1.7rem, 3.4vw, 2.75rem); }
.h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); }
.lead { font-size: clamp(1.08rem, 1.5vw, 1.35rem); color: var(--ink-soft); line-height: 1.55; }
.muted { color: var(--ink-soft); }
.faint { color: var(--ink-faint); }

/* Kicker redakcyjny — kursywa + kreska. BEZ AI-pigułek. */
.kicker {
  display: inline-flex; align-items: center; gap: .6em;
  font-family: var(--ff-body); font-style: italic; font-weight: 500;
  font-size: .98rem; letter-spacing: .01em; color: var(--brand);
}
.kicker::before { content: ""; width: 34px; height: 1.5px; background: currentColor; opacity: .7; }
.kicker--light { color: var(--lime); }
.kicker--center { justify-content: center; }

.eyebrow-num { font-family: var(--ff-head); font-weight: 600; color: var(--lime-600); }

/* ---------- Przyciski ---------- */
.btn {
  --_bg: var(--brand); --_fg: #fff; --_bd: var(--brand);
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .92em 1.5em; border-radius: 999px;
  font-family: var(--ff-head); font-weight: 600; font-size: .98rem; letter-spacing: -.01em;
  background: var(--_bg); color: var(--_fg); border: 1.5px solid var(--_bd);
  transition: transform .25s var(--ease), background .25s var(--ease), box-shadow .25s var(--ease), color .25s var(--ease);
  will-change: transform;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn:active { transform: translateY(0); }
.btn--primary { --_bg: var(--lime); --_fg: var(--lime-ink); --_bd: var(--lime); }
.btn--primary:hover { --_bg: var(--lime-600); }
.btn--ghost { --_bg: transparent; --_fg: var(--ink); --_bd: var(--line); }
.btn--ghost:hover { --_bd: var(--brand); --_fg: var(--brand); }
.btn--on-dark { --_bg: transparent; --_fg: #fff; --_bd: rgba(255,255,255,.3); }
.btn--on-dark:hover { --_bd: var(--lime); --_fg: var(--lime); }
.btn--lg { padding: 1.05em 1.9em; font-size: 1.05rem; }
.btn .ico { width: 1.1em; height: 1.1em; transition: transform .25s var(--ease); }
.btn:hover .ico { transform: translateX(3px); }

.textlink {
  display: inline-flex; align-items: center; gap: .4em;
  font-family: var(--ff-head); font-weight: 600; color: var(--brand);
  font-size: .95rem;
}
.textlink .ico { width: 1em; height: 1em; transition: transform .25s var(--ease); }
.textlink:hover .ico { transform: translateX(4px); }

/* ============================================================
   Header
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: .65rem; }
.brand .logo { width: 38px; height: 38px; flex: none; }
.brand-txt { font-family: var(--ff-head); font-weight: 700; letter-spacing: -.02em; line-height: 1.02; font-size: 1.02rem; }
.brand-txt small { display: block; font-size: .64rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-faint); font-family: var(--ff-body); }

.nav { display: flex; align-items: center; gap: 4px; }
.nav > li > a, .nav > li > button {
  display: inline-flex; align-items: center; gap: .3em;
  padding: .55em .8em; border-radius: 999px;
  font-weight: 500; font-size: .96rem; color: var(--ink);
  transition: background .2s, color .2s;
}
.nav > li > a:hover, .nav > li > button:hover { background: var(--bg-mute); color: var(--brand); }
.nav .caret { width: .7em; height: .7em; transition: transform .25s var(--ease); }
.has-mega[aria-expanded="true"] .caret { transform: rotate(180deg); }

.header-actions { display: flex; align-items: center; gap: 10px; }
.lang-switch, .a11y-btn {
  display: inline-flex; align-items: center; gap: .3em;
  padding: .5em .7em; border-radius: 999px; border: 1px solid var(--line);
  font-size: .85rem; font-weight: 600; color: var(--ink-soft);
  transition: border-color .2s, color .2s;
}
.lang-switch:hover, .a11y-btn:hover { border-color: var(--brand); color: var(--brand); }
.a11y-btn .ico { width: 1.1em; height: 1.1em; }

/* Mega-menu */
.mega {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--bg); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
}
.mega[data-open="true"] { opacity: 1; visibility: visible; transform: translateY(0); }
.mega-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px 28px; padding: 28px 0 34px; }
.mega-grid a {
  display: flex; gap: .7rem; align-items: flex-start; padding: .7rem .8rem; border-radius: 12px;
  transition: background .2s;
}
.mega-grid a:hover { background: var(--bg-soft); }
.mega-grid .m-ico { width: 34px; height: 34px; flex: none; color: var(--brand); background: var(--bg-mute); border-radius: 9px; display: grid; place-items: center; }
.mega-grid .m-ico svg { width: 19px; height: 19px; }
.mega-grid b { font-family: var(--ff-head); font-weight: 600; font-size: .95rem; display: block; }
.mega-grid span { font-size: .82rem; color: var(--ink-soft); line-height: 1.35; }

.burger { display: none; width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line); position: relative; }
.burger span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--ink); border-radius: 2px; transition: .3s var(--ease); }
.burger span:nth-child(1){ top: 15px; } .burger span:nth-child(2){ top: 21px; } .burger span:nth-child(3){ top: 27px; }
body.nav-open .burger span:nth-child(1){ top: 21px; transform: rotate(45deg); }
body.nav-open .burger span:nth-child(2){ opacity: 0; }
body.nav-open .burger span:nth-child(3){ top: 21px; transform: rotate(-45deg); }

.skip-link { position: absolute; left: 16px; top: -60px; background: var(--brand); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 200; transition: top .2s; }
.skip-link:focus { top: 12px; }

/* ============================================================
   Hero
   ============================================================ */
.hero { position: relative; }
.hero--home { min-height: min(88vh, 820px); display: flex; align-items: flex-end; color: #fff; overflow: hidden; }
.hero--home .hero-media { position: absolute; inset: 0; z-index: -2; }
.hero--home .hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero--home::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(11,31,29,.5) 0%, rgba(11,31,29,.32) 30%, rgba(11,31,29,.72) 66%, rgba(11,31,29,.95) 100%),
    radial-gradient(120% 80% at 20% 100%, rgba(11,31,29,.55), transparent 60%);
}
.hero--home .container { padding-bottom: clamp(48px, 7vw, 92px); padding-top: clamp(80px, 12vw, 120px); }
.hero--home h1 { color: #fff; max-width: 15ch; text-shadow: 0 2px 24px rgba(11,31,29,.5); }
.hero--home .lead { color: rgba(255,255,255,.9); max-width: 52ch; margin-top: 1.2rem; text-shadow: 0 1px 12px rgba(11,31,29,.5); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 2rem; }
/* Hero: wejście czyste CSS na load — widoczne od razu, bez zależności od JS (dobre dla LCP) */
.hero--home .kicker, .hero--home h1, .hero--home .lead, .hero--home .hero-cta { animation: heroUp .85s var(--ease) both; }
.hero--home h1 { animation-delay: .06s; }
.hero--home .lead { animation-delay: .14s; }
.hero--home .hero-cta { animation-delay: .22s; }
@keyframes heroUp { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

/* Hero wewnętrzny (podstrony) */
.hero--page { background: var(--brand-deep); color: #fff; position: relative; overflow: hidden; }
.hero--page::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(900px 400px at 85% -10%, rgba(159,213,69,.16), transparent 60%);
}
.hero--page .container { position: relative; padding-block: clamp(72px, 11vw, 132px); }
.hero--page h1 { color: #fff; max-width: 20ch; }
.hero--page .lead { color: rgba(255,255,255,.8); max-width: 56ch; margin-top: 1rem; }
.breadcrumb { display: flex; gap: .5em; font-size: .85rem; color: rgba(255,255,255,.65); margin-bottom: 1.2rem; }
.breadcrumb a:hover { color: var(--lime); }
.breadcrumb span { opacity: .5; }

/* ============================================================
   KPI
   ============================================================ */
.kpi-row { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.kpi { background: var(--bg); padding: clamp(22px,3vw,34px); }
.kpi b { font-family: var(--ff-head); font-weight: 700; font-size: clamp(2rem,4vw,3rem); line-height: 1; letter-spacing: -.03em; display: block; }
.kpi b em { font-style: normal; color: var(--lime-600); }
.kpi span { color: var(--ink-soft); font-size: .92rem; margin-top: .5rem; display: block; }

/* ============================================================
   Karty (usługa / aktualność)
   ============================================================ */
.cards { display: grid; gap: clamp(18px,2vw,26px); }
.cards--4 { grid-template-columns: repeat(4,1fr); }
.cards--3 { grid-template-columns: repeat(3,1fr); }
.cards--2 { grid-template-columns: repeat(2,1fr); }

.card {
  position: relative; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(22px,2.4vw,30px); display: flex; flex-direction: column; gap: .8rem;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card .c-ico { width: 48px; height: 48px; border-radius: 13px; background: var(--bg-mute); color: var(--brand); display: grid; place-items: center; transition: background .3s, color .3s; }
.card .c-ico svg { width: 25px; height: 25px; }
.card:hover .c-ico { background: var(--brand); color: #fff; }
.card h3 { font-size: 1.22rem; }
.card p { color: var(--ink-soft); font-size: .96rem; flex: 1; }
.card .textlink { margin-top: .3rem; }
.card--link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }

/* Karta aktualności */
.post-card { overflow: hidden; padding: 0; }
.post-card .thumb { aspect-ratio: 16/10; overflow: hidden; background: var(--bg-mute); }
.post-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.post-card:hover .thumb img { transform: scale(1.05); }
.post-card .body { padding: clamp(18px,2vw,24px); display: flex; flex-direction: column; gap: .6rem; flex: 1; }
.post-meta { display: flex; align-items: center; gap: .6em; font-size: .8rem; color: var(--ink-faint); }
.tag { display: inline-flex; align-items: center; padding: .3em .7em; border-radius: 999px; font-size: .74rem; font-weight: 600; letter-spacing: .02em; background: var(--bg-mute); color: var(--brand-600); font-family: var(--ff-head); }
.tag--lime { background: color-mix(in srgb, var(--lime) 28%, #fff); color: var(--lime-ink); }
.post-card h3 { font-size: 1.18rem; line-height: 1.15; }

/* ============================================================
   Ciemna sekcja akcentowa
   ============================================================ */
.dark { background: var(--brand-deep); color: #fff; position: relative; overflow: hidden; }
.dark::before { content: ""; position: absolute; inset: 0; background: radial-gradient(760px 420px at 12% 0%, rgba(159,213,69,.14), transparent 55%), radial-gradient(700px 500px at 100% 100%, rgba(28,107,100,.4), transparent 60%); }
.dark .container { position: relative; }
.dark h2 { color: #fff; }
.dark .lead { color: rgba(255,255,255,.78); }
.dark .card { background: rgba(255,255,255,.04); border-color: var(--line-deep); backdrop-filter: blur(4px); }
.dark .card h3 { color: #fff; }
.dark .card p { color: rgba(255,255,255,.72); }
.dark .card .c-ico { background: rgba(159,213,69,.14); color: var(--lime); }
.dark .card:hover .c-ico { background: var(--lime); color: var(--lime-ink); }
.dark .card:hover { border-color: rgba(159,213,69,.4); }
.dark .textlink { color: var(--lime); }

/* ============================================================
   Tabela cennika
   ============================================================ */
.pricing { border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.pricing-row { display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: center; padding: 18px clamp(20px,2.5vw,32px); border-bottom: 1px solid var(--line); }
.pricing-row:last-child { border-bottom: none; }
.pricing-row .yr { font-weight: 600; font-family: var(--ff-head); }
.pricing-row .yr small { display: block; font-family: var(--ff-body); font-weight: 400; font-size: .85rem; color: var(--ink-soft); }
.pricing-row .val { font-family: var(--ff-head); font-weight: 700; font-size: 1.3rem; color: var(--brand); white-space: nowrap; }
.pricing-row--result { background: var(--brand-deep); color: #fff; }
.pricing-row--result .yr { color: #fff; }
.pricing-row--result .val { color: var(--lime); font-size: 1.5rem; }
.pricing-row--off .val { color: var(--lime-600); }

/* Lista korzyści z checkmarkami */
.ticks { display: grid; gap: .85rem; }
.ticks li { display: flex; gap: .75rem; align-items: flex-start; }
.ticks .tk { width: 24px; height: 24px; flex: none; border-radius: 50%; background: color-mix(in srgb, var(--lime) 30%, #fff); color: var(--lime-ink); display: grid; place-items: center; margin-top: 2px; }
.ticks .tk svg { width: 13px; height: 13px; }

/* Dokumenty do pobrania */
.docs { display: grid; gap: 12px; }
.doc {
  display: flex; align-items: center; gap: 14px; padding: 16px 20px;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg);
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.doc:hover { border-color: var(--brand); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.doc .d-ico { width: 40px; height: 40px; flex: none; border-radius: 10px; background: var(--bg-mute); color: var(--brand); display: grid; place-items: center; }
.doc b { font-family: var(--ff-head); font-weight: 600; font-size: .98rem; }
.doc span { font-size: .82rem; color: var(--ink-faint); }
.doc .dl { margin-left: auto; color: var(--brand); }

/* ============================================================
   Osoby (kontakt)
   ============================================================ */
.person-card { padding: clamp(20px,2.2vw,26px); display: flex; flex-direction: column; gap: .35rem; }
.person-card .avatar { width: 52px; height: 52px; border-radius: 50%; background: linear-gradient(135deg, var(--brand), var(--brand-deep)); color: var(--lime); display: grid; place-items: center; font-family: var(--ff-head); font-weight: 700; font-size: 1.1rem; margin-bottom: .6rem; }
.person-card b { font-family: var(--ff-head); font-weight: 600; font-size: 1.08rem; }
.person-card .role { color: var(--ink-soft); font-size: .9rem; min-height: 2.6em; }
.person-card a { display: inline-flex; align-items: center; gap: .4em; font-size: .9rem; color: var(--brand); font-weight: 500; }
.person-card a:hover { color: var(--brand-600); text-decoration: underline; }
.person-card a .ico { width: .95em; height: .95em; color: var(--ink-faint); }

/* ============================================================
   Formularz
   ============================================================ */
.form { display: grid; gap: 18px; }
.field { display: flex; flex-direction: column; gap: .4rem; }
.field label { font-size: .9rem; font-weight: 600; font-family: var(--ff-head); }
.field label .req { color: var(--lime-600); }
.field input, .field textarea, .field select {
  padding: .85em 1em; border: 1.5px solid var(--line); border-radius: 12px; background: var(--bg);
  transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 14%, transparent);
}
.field textarea { resize: vertical; min-height: 130px; }
.field.invalid input, .field.invalid textarea, .field.invalid select { border-color: #d6453f; }
.field .err { font-size: .8rem; color: #d6453f; display: none; }
.field.invalid .err { display: block; }
.check { display: flex; gap: .7rem; align-items: flex-start; font-size: .88rem; color: var(--ink-soft); }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--brand); flex: none; }
.form-ok { display: none; padding: 16px 20px; border-radius: 12px; background: color-mix(in srgb, var(--lime) 22%, #fff); color: var(--lime-ink); font-weight: 600; }
.form-ok.show { display: block; }

/* ============================================================
   CTA band
   ============================================================ */
.cta-band { position: relative; overflow: hidden; background: var(--brand); color: #fff; border-radius: var(--radius-lg); padding: clamp(36px,5vw,64px); }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 300px at 90% 120%, rgba(159,213,69,.28), transparent 60%); }
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; max-width: 22ch; }
.cta-band .lead { color: rgba(255,255,255,.85); }

/* ============================================================
   Artykuł (prose)
   ============================================================ */
.prose { max-width: 72ch; }
.prose > * + * { margin-top: 1.3em; }
.prose h2 { font-size: 1.8rem; margin-top: 1.8em; }
.prose h3 { font-size: 1.35rem; margin-top: 1.4em; }
.prose p, .prose li { color: var(--ink); line-height: 1.75; }
.prose ul { display: grid; gap: .5em; padding-left: 1.2em; list-style: disc; }
.prose img { border-radius: var(--radius); margin-block: 1.6em; }
.prose blockquote { border-left: 3px solid var(--lime); padding: .3em 0 .3em 1.3em; font-size: 1.2rem; font-style: italic; color: var(--brand-700); }
.prose a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }

/* Partnerzy / logo strip */
.logos { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(20px,4vw,56px); }
.logos .lg { height: 34px; display: grid; place-items: center; color: var(--ink-faint); font-family: var(--ff-head); font-weight: 600; opacity: .7; transition: opacity .2s; font-size: 1.05rem; }
.logos .lg:hover { opacity: 1; }

/* Filtry */
.filters { display: flex; flex-wrap: wrap; gap: 10px; }
.filter { padding: .5em 1.1em; border-radius: 999px; border: 1.5px solid var(--line); font-weight: 600; font-size: .9rem; font-family: var(--ff-head); transition: all .2s; }
.filter[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.filter:hover { border-color: var(--brand); }

.pagination { display: flex; gap: 8px; justify-content: center; }
.pagination a, .pagination span { min-width: 42px; height: 42px; display: grid; place-items: center; border-radius: 11px; border: 1px solid var(--line); font-weight: 600; font-family: var(--ff-head); }
.pagination .on { background: var(--brand); color: #fff; border-color: var(--brand); }

/* ============================================================
   Footer
   ============================================================ */
.site-footer { background: var(--brand-deep); color: rgba(255,255,255,.72); padding-top: clamp(56px,7vw,88px); position: relative; overflow: hidden; }
.site-footer::before { content: ""; position: absolute; inset: 0; background: radial-gradient(700px 400px at 100% 0%, rgba(159,213,69,.08), transparent 55%); }
.site-footer .container { position: relative; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid var(--line-deep); }
.footer-col h4 { color: #fff; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; font-family: var(--ff-body); font-weight: 600; margin-bottom: 1.1rem; }
.footer-col a { display: block; padding: .35em 0; color: rgba(255,255,255,.72); font-size: .94rem; transition: color .2s; }
.footer-col a:hover { color: var(--lime); }
.footer-brand .brand-txt { color: #fff; }
.footer-brand .brand-txt small { color: rgba(255,255,255,.5); }
.footer-brand p { margin-top: 1rem; font-size: .92rem; max-width: 34ch; }
.footer-contact { font-size: .94rem; display: grid; gap: .5rem; }
.footer-contact a { padding: 0; }
.socials { display: flex; gap: 10px; margin-top: 1.2rem; }
.socials a { width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line-deep); display: grid; place-items: center; color: rgba(255,255,255,.75); transition: all .2s; }
.socials a:hover { background: var(--lime); color: var(--lime-ink); border-color: var(--lime); }
.socials svg { width: 18px; height: 18px; }
.eu-strip { display: flex; align-items: center; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line-deep); font-size: .82rem; color: rgba(255,255,255,.55); }
.eu-flag { width: 54px; height: 36px; border-radius: 4px; background: #003399; display: grid; place-items: center; flex: none; }
.eu-flag svg { width: 40px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding: 22px 0 30px; font-size: .84rem; color: rgba(255,255,255,.5); }
.footer-bottom a:hover { color: var(--lime); }

/* ============================================================
   Animacje (reveal) — stan początkowy; JS je odsłania
   ============================================================ */
[data-anim] { opacity: 0; transform: translateY(24px); }
.anim-ready [data-anim] { transition: opacity .7s var(--ease), transform .7s var(--ease); }
[data-anim].in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  [data-anim] { opacity: 1 !important; transform: none !important; transition: none !important; }
  .hero--home .kicker, .hero--home h1, .hero--home .lead, .hero--home .hero-cta { animation: none !important; }
  .btn:hover, .card:hover { transform: none; }
}

/* ============================================================
   Mobile
   ============================================================ */
@media (max-width: 1024px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .cards--4 { grid-template-columns: repeat(2,1fr); }
  .mega-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 860px) {
  .nav, .header-actions .lang-switch, .header-actions .a11y-btn, .header-actions .btn { display: none; }
  .burger { display: block; }
  .kpi-row { grid-template-columns: repeat(2,1fr); }
  .cards--3 { grid-template-columns: 1fr; }
  .cards--2 { grid-template-columns: 1fr; }
  .pricing-row { grid-template-columns: 1fr; gap: 6px; }
  .pricing-row .val { font-size: 1.4rem; }

  /* Panel mobilny */
  .mobile-nav {
    position: fixed; inset: 0; top: 0; z-index: 150; background: var(--bg);
    transform: translateX(100%); transition: transform .35s var(--ease);
    display: flex; flex-direction: column; padding: 90px var(--gutter) 40px; overflow-y: auto;
  }
  body.nav-open .mobile-nav { transform: none; }
  .mobile-nav a { padding: .9em 0; font-family: var(--ff-head); font-weight: 600; font-size: 1.3rem; border-bottom: 1px solid var(--line); }
  .mobile-nav .sub { padding-left: 1rem; }
  .mobile-nav .sub a { font-size: 1rem; color: var(--ink-soft); border-bottom: none; padding: .5em 0; }
  .mobile-cta { margin-top: auto; display: grid; gap: 10px; padding-top: 24px; }
}
@media (min-width: 861px) { .mobile-nav { display: none; } }
@media (max-width: 560px) {
  .kpi-row { grid-template-columns: 1fr 1fr; }
  .cards--4 { grid-template-columns: 1fr; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; }
}
