/* ════════════════════════════════════════════════════════════════
   Nie tylko ROAS (NTR) — wspólne style podstron
   (tokeny, nawigacja, logo, przyciski, stopka + układ podstron)
════════════════════════════════════════════════════════════════ */
:root {
  --bg:        #f7f6f3;
  --bg-soft:   #efede8;
  --surface:   #ffffff;
  --ink:       #14130f;
  --ink-soft:  #57544c;
  --line:      #e2dfd7;
  --accent:    #16a34a;
  --accent-2:  #4ade80;
  --ink-2:     #0c0d0b;
  --shadow:    0 1px 2px rgba(20,19,15,.04), 0 12px 40px -12px rgba(20,19,15,.12);
  --radius:    18px;
  --maxw:      1120px;
  --ease:      cubic-bezier(.22,.61,.36,1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg); color: var(--ink); line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
::selection { background: var(--accent-2); color: var(--ink); }
a { color: inherit; text-decoration: none; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.serif { font-family: inherit; }

/* ── Logo NTR ── */
.ntr-mark { display: block; }
.ntr-mark .frame { stroke: currentColor; }
.ntr-mark .letters { fill: currentColor; }
.ntr-mark .dot { fill: var(--accent); }
.brand-name { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name b { font-weight: 600; letter-spacing: -.01em; font-size: 16px; }
.brand-name small { font-size: 9.5px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); }

/* ── Nawigacja ── */
header {
  position: sticky; top: 0; z-index: 50; backdrop-filter: blur(12px);
  background: rgba(247,246,243,.72); border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease);
}
header.scrolled { border-color: var(--line); }
nav { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 16px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 600; letter-spacing: -.01em; }
.nav-links { display: flex; gap: 28px; align-items: center; flex-wrap: wrap; }
.nav-links a { font-size: 14.5px; color: var(--ink-soft); transition: color .2s; }
.nav-links a:hover { color: var(--ink); }
.nav-links a.btn, .nav-links a.btn:hover { color: #fff; }
.btn {
  display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 600;
  padding: 11px 20px; border-radius: 999px; background: var(--ink); color: #fff;
  transition: transform .2s var(--ease), background .2s, color .2s; white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:not(.ghost):not(.outline):hover { background: #0d7a38; color: #fff; }
.btn.ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn.ghost:hover { background: var(--surface); border-color: var(--ink); transform: translateY(-2px); }

/* ── Nagłówek podstrony ── */
.page-hero { padding: clamp(48px, 8vw, 88px) 0 clamp(28px, 4vw, 44px); position: relative; overflow: clip; }
.page-hero .wrap { position: relative; z-index: 1; }
.page-wm { position: absolute; top: -70px; right: -120px; width: 420px; height: 420px; color: var(--ink); opacity: .045; z-index: 0; pointer-events: none; }
.crumbs { font-size: 13.5px; color: var(--ink-soft); margin-bottom: 22px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.crumbs a { color: var(--accent); font-weight: 600; }
.crumbs a:hover { text-decoration: underline; }
.page-hero h1 { font-size: clamp(32px, 5.5vw, 56px); line-height: 1.05; letter-spacing: -.03em; font-weight: 600; }
.page-hero .lead { margin-top: 16px; font-size: clamp(16px, 2vw, 19px); color: var(--ink-soft); max-width: 56ch; }
.page-tag { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }

main section.content { padding: clamp(16px, 3vw, 32px) 0 clamp(64px, 9vw, 104px); }

/* ── Karta z danymi (firma) ── */
.info-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(28px, 4vw, 48px); box-shadow: var(--shadow); max-width: 760px;
}
.info-card .ic-head { display: flex; align-items: center; gap: 18px; padding-bottom: 26px; margin-bottom: 26px; border-bottom: 1px solid var(--line); }
.info-card .ic-head .name { font-family: inherit; font-size: 26px; font-weight: 600; letter-spacing: -.01em; }
.info-card .ic-head .sub { font-size: 13.5px; color: var(--ink-soft); margin-top: 2px; }
.dl { display: grid; grid-template-columns: 200px 1fr; gap: 0; }
.dl > div { display: contents; }
.dl dt { padding: 14px 0; font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-soft); border-top: 1px solid var(--line); }
.dl dd { padding: 14px 0; font-size: 16.5px; border-top: 1px solid var(--line); }
.dl .row:first-child dt, .dl .row:first-child dd { border-top: 0; }
.dl dd a { color: var(--accent); font-weight: 500; }
.dl dd a:hover { text-decoration: underline; }
.copy-hint { font-size: 13px; color: var(--ink-soft); margin-top: 24px; }

/* ── Profil osoby ── */
.profile { display: grid; grid-template-columns: 300px 1fr; gap: clamp(28px, 5vw, 56px); align-items: start; max-width: 920px; }
.profile-side {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 28px; box-shadow: var(--shadow); position: sticky; top: 96px;
}
.avatar-lg {
  width: 104px; height: 104px; border-radius: 50%; display: grid; place-items: center; overflow: hidden;
  font-family: inherit; font-size: 30px; font-weight: 600; letter-spacing: -.01em;
  background: color-mix(in srgb, var(--accent) 12%, transparent); color: var(--accent); margin-bottom: 22px;
}
.avatar-lg img { width: 100%; height: 100%; object-fit: cover; object-position: center top; filter: grayscale(100%) contrast(1.03); transition: filter .45s var(--ease); }
.profile-side:hover .avatar-lg img { filter: none; }
.profile-side .p-name { font-size: 22px; font-weight: 600; letter-spacing: -.015em; }
.profile-side .p-role { margin-top: 4px; font-size: 12.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.p-contact { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.p-contact a { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; color: var(--ink-soft); transition: color .2s; }
.p-contact a:hover { color: var(--accent); }
.p-contact svg { width: 17px; height: 17px; flex: none; }
.p-meta { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--ink-soft); display: grid; gap: 7px; }
.p-meta span { display: inline-block; min-width: 56px; font-weight: 600; color: var(--ink); }
.profile-body h2 { font-size: clamp(22px, 3vw, 30px); letter-spacing: -.02em; font-weight: 600; margin-top: 4px; }
.profile-body h2:not(:first-child) { margin-top: 36px; }
.profile-body p { margin-top: 14px; color: var(--ink-soft); font-size: 17px; }
.profile-body ul { margin-top: 16px; display: grid; gap: 12px; }
.profile-body li { list-style: none; display: flex; gap: 12px; align-items: flex-start; font-size: 16px; }
.profile-body .ck { flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; font-size: 12px; margin-top: 2px; }

/* ── Stopka ── */
footer { padding: 56px 0 40px; border-top: 1px solid var(--line); margin-top: 40px; }
.foot { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.foot .brand { font-size: 16px; }
.foot-links { display: flex; gap: 24px; font-size: 14.5px; color: var(--ink-soft); flex-wrap: wrap; }
.foot-links a:hover { color: var(--ink); }
.foot .copy { font-size: 13.5px; color: var(--ink-soft); width: 100%; }
.foot .copy a { color: var(--accent); }

/* ── Responsywność ── */
@media (max-width: 760px) {
  .profile { grid-template-columns: 1fr; }
  .profile-side { position: static; }
  .dl { grid-template-columns: 1fr; }
  .dl dt { padding-bottom: 2px; border-top: 1px solid var(--line); }
  .dl dd { padding-top: 4px; border-top: 0; }
  .dl .row:first-child dd { border-top: 0; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }
