/* NexSelf — arkusz stylów strony nexself.pl (generowany z src/, nie edytuj www/). */

@font-face { font-family: 'Fraunces'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(../fonts/fraunces-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Fraunces'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(../fonts/fraunces-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(../fonts/inter-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(../fonts/inter-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ---------- Tokeny ---------- */
:root {
    --navy: #16243f;
    --navy-2: #22355a;
    --ink: #16243f;
    --text: #34425c;
    --muted: #5f6b82;
    --bg: #fbf8f4;
    --surface: #ffffff;
    --sand: #f4ede4;
    --sand-2: #efe5d8;
    --line: #e7ded2;
    --line-2: #d9cfc1;
    --peach: #e8a579;
    --peach-2: #de9463;
    --peach-soft: #fbe9dc;
    --peach-ink: #a3582a;
    --sage: #8fb6a8;
    --sage-soft: #e6f0ec;
    --sage-ink: #3f6f5f;
    --mist: #a9c9e8;
    --mist-soft: #e8f0f8;
    --mist-ink: #2f5a8a;
    --danger: #b42318;
    --danger-soft: #fdecea;
    --ok: #2f6f4f;
    --ok-soft: #e5f3ea;

    --serif: 'Fraunces', 'Iowan Old Style', Georgia, serif;
    --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

    --r-sm: 10px;
    --r: 16px;
    --r-lg: 24px;
    --r-xl: 32px;
    --shadow-1: 0 1px 2px rgba(22, 36, 63, .04), 0 4px 16px rgba(22, 36, 63, .05);
    --shadow-2: 0 2px 6px rgba(22, 36, 63, .05), 0 16px 40px rgba(22, 36, 63, .09);
    --shadow-3: 0 30px 70px rgba(22, 36, 63, .16);
    --ease: cubic-bezier(.2, .7, .2, 1);
    --container: 1200px;
    --header-h: 76px;
    --gutter: clamp(16px, 4vw, 32px);
    --section: clamp(64px, 9vw, 120px);
}

/* ---------- Podstawy ---------- */
*, *::before, *::after { box-sizing: border-box; }
/* Atrybut hidden ma wygrywać z display ustawionym w komponentach (baner cookies, menu, panele formularzy). */
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font: 400 17px/1.65 var(--sans);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4 { color: var(--ink); margin: 0 0 .5em; line-height: 1.15; }
h1, h2 { font-family: var(--serif); font-weight: 560; letter-spacing: -.015em; font-variation-settings: 'opsz' 96; }
h1 { font-size: clamp(2.3rem, 5.2vw, 4rem); }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); }
h3 { font-family: var(--sans); font-size: 1.14rem; font-weight: 650; letter-spacing: -.005em; line-height: 1.35; }
h1 em, h2 em { font-style: italic; font-weight: 500; color: var(--peach-ink); }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
a { color: var(--navy); text-decoration-color: rgba(22, 36, 63, .35); text-underline-offset: 3px; }
a:hover { text-decoration-color: currentColor; }
strong { color: var(--ink); font-weight: 650; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--peach-2); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--peach-soft); color: var(--ink); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.container.narrow, .narrow { max-width: 860px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.icon { flex: none; }
main:focus { outline: none; }

.skip-link { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 10px; text-decoration: none; font-weight: 600; transition: top .2s; }
.skip-link:focus { top: 12px; }

.eyebrow {
    display: inline-flex; align-items: center; gap: .5em;
    font: 600 .78rem/1.2 var(--sans); letter-spacing: .12em; text-transform: uppercase;
    color: var(--peach-ink); margin: 0 0 1rem;
}
.eyebrow::before { content: ''; width: 22px; height: 2px; border-radius: 2px; background: var(--peach); }
.center .eyebrow, .section-head.center .eyebrow { justify-content: center; }
.lead { font-size: clamp(1.06rem, 1.5vw, 1.2rem); line-height: 1.65; color: var(--text); }

/* ---------- Przyciski ---------- */
.btn {
    --bg-btn: var(--surface); --fg-btn: var(--ink);
    display: inline-flex; align-items: center; justify-content: center; gap: .55em;
    min-height: 48px; padding: .8em 1.4em; border-radius: 999px; border: 1.5px solid transparent;
    background: var(--bg-btn); color: var(--fg-btn); font: 600 1rem/1.2 var(--sans); text-decoration: none; cursor: pointer;
    transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s, border-color .2s, color .2s;
    white-space: nowrap;
}
.btn .icon { transition: transform .2s var(--ease); }
.btn:hover .icon:last-child { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn-primary { --bg-btn: var(--peach); --fg-btn: var(--navy); box-shadow: 0 8px 22px rgba(232, 165, 121, .35); }
.btn-primary:hover { --bg-btn: var(--peach-2); box-shadow: 0 12px 28px rgba(222, 148, 99, .4); transform: translateY(-1px); }
.btn-dark { --bg-btn: var(--navy); --fg-btn: #fff; }
.btn-dark:hover { --bg-btn: var(--navy-2); transform: translateY(-1px); }
.btn-ghost { --bg-btn: transparent; border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--navy); background: var(--surface); }
.btn-sm { min-height: 40px; padding: .55em 1.1em; font-size: .92rem; }
.btn-lg { min-height: 56px; padding: .95em 1.7em; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; box-shadow: none; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 1.75rem; }
.actions.center { justify-content: center; }
.link-arrow { display: inline-flex; align-items: center; gap: .4em; font-weight: 600; color: var(--navy); text-decoration: none; }
.link-arrow .icon { transition: transform .2s var(--ease); }
.link-arrow:hover .icon { transform: translateX(3px); }
.link-arrow:hover { color: var(--peach-ink); }

.chip { display: inline-flex; align-items: center; padding: .28em .8em; border-radius: 999px; background: var(--sand); color: var(--ink); font: 600 .76rem/1.3 var(--sans); letter-spacing: .02em; }
.chip-light { background: rgba(255, 255, 255, .12); color: #fff; }

/* ---------- Nagłówek ---------- */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(251, 248, 244, .86);
    backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
    border-bottom: 1px solid transparent;
    transition: border-color .25s, box-shadow .25s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px rgba(22, 36, 63, .05); }
.header-inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex: none; }
.brand img { width: 38px; height: auto; }
.brand span { font: 600 1.45rem/1 var(--serif); letter-spacing: -.01em; font-variation-settings: 'opsz' 72; }
.main-nav { margin-left: auto; }
.main-nav > ul { display: flex; align-items: center; gap: 2px; list-style: none; }
.nav-link {
    display: inline-flex; align-items: center; gap: 4px; padding: 10px 12px; border-radius: 10px;
    color: var(--text); font-weight: 550; font-size: .96rem; text-decoration: none; background: none; border: 0; cursor: pointer;
    position: relative;
}
.nav-link:hover, .nav-link[aria-expanded="true"] { color: var(--ink); background: rgba(22, 36, 63, .05); }
.nav-link.is-active { color: var(--ink); }
.nav-link.is-active::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px; border-radius: 2px; background: var(--peach); }
.menu-toggle .icon { transition: transform .2s; }
.menu-toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }
.has-menu { position: relative; }
.menu {
    position: absolute; top: calc(100% + 10px); left: 50%; width: 420px; transform: translate(-50%, 6px);
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-3);
    padding: 10px; opacity: 0; visibility: hidden; transition: opacity .18s, transform .18s var(--ease), visibility .18s;
}
.has-menu.is-open .menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.menu ul { list-style: none; }
.menu li a { display: flex; gap: 14px; align-items: flex-start; padding: 12px; border-radius: 14px; text-decoration: none; color: var(--text); }
.menu li a:hover, .menu li a[aria-current] { background: var(--bg); }
.menu li strong { display: block; font-size: .98rem; margin-bottom: 2px; }
.menu li small { display: block; color: var(--muted); font-size: .85rem; line-height: 1.45; }
.menu-ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; flex: none; }
.menu-all { display: flex; justify-content: space-between; align-items: center; margin-top: 4px; padding: 12px; border-top: 1px solid var(--line); font-weight: 600; font-size: .92rem; text-decoration: none; color: var(--navy); }
.menu-all:hover { color: var(--peach-ink); }

.tone-peach .menu-ico, .menu-ico.tone-peach { background: var(--peach-soft); color: var(--peach-ink); }
.menu-ico.tone-sage { background: var(--sage-soft); color: var(--sage-ink); }
.menu-ico.tone-navy { background: #e6e9f0; color: var(--navy); }
.menu-ico.tone-mist { background: var(--mist-soft); color: var(--mist-ink); }

.header-actions { display: flex; align-items: center; gap: 10px; }
.header-diag { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 999px; color: var(--sage-ink); background: var(--sage-soft); font-weight: 600; font-size: .9rem; text-decoration: none; }
.header-diag:hover, .header-diag.is-active { background: #d8e8e1; }
.burger { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--surface); place-items: center; cursor: pointer; }

/* Menu mobilne */
.drawer { position: fixed; inset: 0; z-index: 100; }
.drawer-backdrop { position: absolute; inset: 0; background: rgba(22, 36, 63, .45); opacity: 0; transition: opacity .25s; }
.drawer-panel {
    position: absolute; top: 0; right: 0; bottom: 0; width: min(420px, 100%);
    background: var(--bg); padding: 16px var(--gutter) 28px; overflow-y: auto;
    transform: translateX(100%); transition: transform .3s var(--ease); display: flex; flex-direction: column; gap: 20px;
}
.drawer.is-open .drawer-backdrop { opacity: 1; }
.drawer.is-open .drawer-panel { transform: none; }
.drawer-top { display: flex; justify-content: space-between; align-items: center; height: 52px; }
.drawer-close { width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--surface); display: grid; place-items: center; cursor: pointer; }
.drawer-nav { list-style: none; }
.drawer-nav > li > a { display: block; padding: 14px 4px; font: 560 1.35rem/1.2 var(--serif); color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); }
.drawer-nav a[aria-current] { color: var(--peach-ink); }
.drawer-sub { list-style: none; padding: 6px 0 10px 12px; border-bottom: 1px solid var(--line); }
.drawer-sub a { display: block; padding: 8px 4px; color: var(--text); text-decoration: none; font-weight: 500; }
.drawer-actions { display: grid; gap: 10px; margin-top: auto; }
.drawer-phone { display: inline-flex; gap: 8px; align-items: center; justify-content: center; padding: 10px; font-weight: 600; text-decoration: none; color: var(--ink); }
body.drawer-open { overflow: hidden; }

/* ---------- Sekcje ---------- */
.section { padding: var(--section) 0; position: relative; }
.section-tight { padding: clamp(40px, 5vw, 64px) 0 var(--section); }
.section-sand { background: var(--sand); }
.section-dark { background: var(--navy); color: rgba(255, 255, 255, .78); }
.section-dark h2, .section-dark h3, .section-dark strong { color: #fff; }
.section-dark .eyebrow { color: var(--peach); }
.section-dark .lead { color: rgba(255, 255, 255, .8); }
.section-head { max-width: 720px; margin-bottom: clamp(32px, 4vw, 56px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head .lead { margin-bottom: 0; }
.grid { display: grid; gap: clamp(16px, 2vw, 24px); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 88px); align-items: start; }
.split-faq { grid-template-columns: .8fr 1.2fr; }

/* ---------- Tło z plamami (nawiązanie do logo) ---------- */
.hero-bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; }
.b1 { width: 520px; height: 520px; right: -140px; top: -160px; background: radial-gradient(circle, #f6d2b8 0%, rgba(246, 210, 184, 0) 70%); }
.b2 { width: 420px; height: 420px; left: -160px; bottom: -120px; background: radial-gradient(circle, #d4e6de 0%, rgba(212, 230, 222, 0) 70%); }
.b3 { width: 300px; height: 300px; left: 40%; top: 30%; background: radial-gradient(circle, #dce8f5 0%, rgba(220, 232, 245, 0) 70%); opacity: .45; }

/* ---------- Hero (strona główna) ---------- */
.hero { position: relative; padding: clamp(40px, 7vw, 96px) 0 clamp(64px, 8vw, 110px); }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-copy h1 { font-size: clamp(2.6rem, 6.2vw, 4.9rem); line-height: 1.04; margin-bottom: .35em; }
.hero-copy .lead { max-width: 560px; }
.hero-facts { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 28px; color: var(--muted); font-size: .94rem; }
.hero-facts li { display: inline-flex; align-items: center; gap: 6px; }
.hero-facts .icon { color: var(--sage-ink); }
.hero-visual { position: relative; min-height: 520px; }
.arch { position: absolute; overflow: hidden; border-radius: 999px 999px var(--r-lg) var(--r-lg); background: var(--sand-2); box-shadow: var(--shadow-2); }
.arch img { width: 100%; height: 100%; object-fit: cover; }
.hero-visual { display: grid; place-items: center; }
.hero-portrait { position: relative; margin: 0; padding-bottom: 30px; width: 100%; display: grid; place-items: center; }
.arch-hero { position: relative; width: min(420px, 82%); aspect-ratio: 4 / 5; border: 8px solid #fff; }
.arch-hero img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; animation: photo-in .6s var(--ease) both; }
@keyframes photo-in { from { opacity: 0; transform: scale(1.03); } to { opacity: 1; transform: none; } }
.hero-portrait figcaption { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); z-index: 3; }
.hero-person { display: grid; text-align: center; gap: 2px; padding: 10px 20px; border-radius: 999px; background: var(--surface); box-shadow: var(--shadow-2); text-decoration: none; color: var(--ink); white-space: nowrap; }
.hero-person strong { font-size: .98rem; }
.hero-person small { color: var(--muted); font-size: .8rem; }
.hero-person:hover strong { color: var(--peach-ink); }
.hero-badge {
    position: absolute; left: -32px; top: 7%; z-index: 2; display: flex; align-items: center; gap: 10px;
    background: var(--surface); border-radius: 16px; padding: 12px 16px 12px 12px; box-shadow: var(--shadow-2);
}
.hero-badge strong { display: block; font-size: .95rem; }
.hero-badge small { color: var(--muted); font-size: .82rem; }
.hero-badge-ico { width: 38px; height: 38px; border-radius: 12px; background: var(--peach-soft); color: var(--peach-ink); display: grid; place-items: center; }
.hero-price {
    position: absolute; right: 0; bottom: 14%; z-index: 2; display: grid; text-align: center; gap: 2px;
    background: var(--navy); color: rgba(255, 255, 255, .75); border-radius: 20px; padding: 16px 20px; box-shadow: var(--shadow-3);
}
.hero-price strong { color: #fff; font: 600 1.8rem/1.1 var(--serif); }
.hero-price small { font-size: .8rem; }

/* ---------- Page hero (podstrony) ---------- */
.page-hero { position: relative; padding: clamp(28px, 4vw, 48px) 0 clamp(48px, 6vw, 80px); background: linear-gradient(180deg, var(--bg) 0%, var(--sand) 100%); overflow: hidden; }
.page-hero::before { content: ''; position: absolute; width: 520px; height: 520px; right: -160px; top: -220px; border-radius: 50%; background: radial-gradient(circle, rgba(232, 165, 121, .35), rgba(232, 165, 121, 0) 70%); }
.page-hero.tone-sage::before { background: radial-gradient(circle, rgba(143, 182, 168, .45), rgba(143, 182, 168, 0) 70%); }
.page-hero.tone-navy::before, .page-hero.tone-mist::before { background: radial-gradient(circle, rgba(169, 201, 232, .5), rgba(169, 201, 232, 0) 70%); }
.page-hero .container { position: relative; }
.page-hero-grid { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; }
.page-hero.has-aside .page-hero-grid { grid-template-columns: 1.15fr .85fr; }
.page-hero-copy { max-width: 760px; }
.page-hero h1 { margin-bottom: .4em; }
.page-hero .lead { margin-bottom: 0; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; font-size: .86rem; color: var(--muted); margin-bottom: clamp(20px, 3vw, 36px); }
.crumbs li:not(:last-child)::after { content: '/'; margin-left: 6px; color: var(--line-2); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.crumbs [aria-current] { color: var(--ink); max-width: 36ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Karta faktów usługi */
.facts-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; box-shadow: var(--shadow-2); display: grid; gap: 18px; }
.facts-price .price { font-size: 1rem; color: var(--muted); }
.facts-price .price strong { font: 600 2.4rem/1 var(--serif); color: var(--ink); margin-right: 4px; }
.facts { list-style: none; display: grid; gap: 12px; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.facts li { display: flex; gap: 10px; align-items: flex-start; font-size: .96rem; }
.facts .icon { color: var(--peach-ink); margin-top: 3px; }
.facts-phone { display: inline-flex; justify-content: center; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; color: var(--ink); font-size: .95rem; }

/* ---------- Potrzeby (chipy) ---------- */
.need-list { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; max-width: 920px; margin: 0 auto; }
.need-list a {
    display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; border-radius: 999px;
    background: var(--surface); border: 1px solid var(--line); color: var(--ink); font-weight: 550; text-decoration: none;
    transition: border-color .2s, transform .2s var(--ease), box-shadow .2s;
}
.need-list a .icon { color: var(--peach-ink); opacity: 0; width: 0; transition: opacity .2s, width .2s; }
.need-list a:hover { border-color: var(--peach); box-shadow: var(--shadow-1); transform: translateY(-2px); }
.need-list a:hover .icon { opacity: 1; width: 16px; }

/* ---------- Karty usług ---------- */
.service-card {
    position: relative; display: flex; flex-direction: column; gap: 12px;
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px 24px 24px;
    transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); border-color: transparent; }
.service-card h3 { font: 560 1.4rem/1.2 var(--serif); margin: 4px 0 0; }
.service-card h3 a { color: var(--ink); text-decoration: none; }
.service-card p { color: var(--muted); font-size: .96rem; margin: 0; }
.stretched::after { content: ''; position: absolute; inset: 0; border-radius: inherit; }
.service-ico { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; }
.tone-peach .service-ico, .tone-peach .feature-ico { background: var(--peach-soft); color: var(--peach-ink); }
.tone-sage .service-ico { background: var(--sage-soft); color: var(--sage-ink); }
.tone-navy .service-ico { background: #e6e9f0; color: var(--navy); }
.tone-mist .service-ico { background: var(--mist-soft); color: var(--mist-ink); }
.service-foot { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.price { font-size: .88rem; color: var(--muted); }
.price strong { font-size: 1.05rem; }
.more { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; font-size: .9rem; color: var(--navy); }
.service-card:hover .more { color: var(--peach-ink); }

.checklist { list-style: none; display: grid; gap: 10px; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; }
.checklist .icon { color: var(--sage-ink); margin-top: 4px; }
.checklist.small { gap: 6px; font-size: .92rem; }
.checklist.small .icon { width: 16px; height: 16px; margin-top: 4px; }
.checklist.large { gap: 14px; margin-top: 24px; }
.checklist.large li { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; }

.diag-strip {
    margin-top: 32px; display: flex; align-items: center; justify-content: space-between; gap: 24px;
    padding: 28px 32px; border-radius: var(--r-lg); background: var(--surface); border: 1px dashed var(--line-2);
}
.diag-strip h3 { font: 560 1.35rem/1.2 var(--serif); margin-bottom: 4px; }
.diag-strip p { color: var(--muted); margin: 0; }

/* ---------- Zespół (mini) ---------- */
.team-mini { display: grid; gap: 10px; margin: 20px 0; }
.person-mini { display: flex; align-items: center; gap: 14px; padding: 10px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); text-decoration: none; color: var(--text); transition: border-color .2s, box-shadow .2s; }
.person-mini:hover { border-color: var(--peach); box-shadow: var(--shadow-1); }
.person-mini img { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; object-position: center 20%; }
.person-mini strong { display: block; font-size: 1rem; }
.person-mini small { color: var(--muted); font-size: .86rem; }

/* ---------- Kroki ---------- */
.steps { list-style: none; counter-reset: s; }
.step h3 { margin: 0 0 .25em; }
.step p { color: var(--muted); margin: 0; font-size: .96rem; }
.step-num { font: 600 .9rem/1 var(--sans); color: var(--peach-ink); letter-spacing: .06em; }
.steps-vertical { display: grid; gap: 0; }
.steps-vertical .step { position: relative; padding: 0 0 28px 64px; }
.steps-vertical .step:last-child { padding-bottom: 0; }
.steps-vertical .step-num { position: absolute; left: 0; top: -4px; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); border: 1.5px solid var(--peach); }
.steps-vertical .step:not(:last-child)::before { content: ''; position: absolute; left: 21px; top: 44px; bottom: 4px; width: 2px; background: var(--line); }
.steps-vertical.compact { margin-top: 24px; }
.steps-vertical.compact .step { padding-bottom: 20px; }
.steps-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.steps-row .step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 22px 20px; position: relative; }
.steps-row .step-num { display: inline-block; margin-bottom: 14px; }
.steps-row .step:not(:last-child)::after { content: ''; position: absolute; right: -12px; top: 30px; width: 8px; height: 8px; border-top: 2px solid var(--line-2); border-right: 2px solid var(--line-2); transform: rotate(45deg); }

/* ---------- Cechy ---------- */
.feature { background: var(--surface); border-radius: var(--r-lg); padding: 28px 24px; border: 1px solid var(--line); }
.feature-ico { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--peach-soft); color: var(--peach-ink); margin-bottom: 18px; }
.features .feature:nth-child(4n+2) .feature-ico { background: var(--sage-soft); color: var(--sage-ink); }
.features .feature:nth-child(4n+3) .feature-ico { background: var(--mist-soft); color: var(--mist-ink); }
.features .feature:nth-child(4n+4) .feature-ico { background: #e6e9f0; color: var(--navy); }
.feature p { color: var(--muted); font-size: .96rem; margin: 0; }

/* ---------- AI ---------- */
.ai .split { align-items: center; }
.ai-list { list-style: none; display: grid; gap: 18px; }
.ai-list li { display: flex; gap: 14px; }
.ai-list strong { display: block; margin-bottom: 2px; }
.ai-ico { width: 42px; height: 42px; border-radius: 12px; flex: none; display: grid; place-items: center; background: rgba(232, 165, 121, .14); color: var(--peach); }
.ai-card { background: linear-gradient(160deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .02)); border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--r-lg); padding: 32px; max-width: 460px; margin-left: auto; box-shadow: 0 30px 60px rgba(0, 0, 0, .25); }
.ai-card-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 22px; }
.ai-card .soon { color: var(--peach); font-weight: 600; font-size: .85rem; }
.ai-card ul { list-style: none; display: grid; gap: 12px; margin-bottom: 22px; }
.ai-card li { display: flex; gap: 10px; color: #fff; }
.ai-card li .icon { color: var(--sage); margin-top: 4px; }
.ai-card p { font-size: .85rem; color: rgba(255, 255, 255, .6); border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 16px; margin: 0; }

/* ---------- Opinie ---------- */
.quote { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 32px; display: flex; flex-direction: column; gap: 18px; }
.quote-ico { color: var(--peach); }
.quote blockquote { margin: 0; font: 450 1.2rem/1.55 var(--serif); color: var(--ink); font-variation-settings: 'opsz' 24; }
.quote figcaption { margin-top: auto; display: flex; flex-direction: column; font-size: .9rem; }
.quote figcaption span { color: var(--muted); }
.big-quote { margin: 0; padding: 40px; background: var(--sand); border-radius: var(--r-xl); position: relative; }
.big-quote-mark { font: 600 6rem/1 var(--serif); color: var(--peach); position: absolute; top: 8px; left: 28px; opacity: .6; }
.big-quote blockquote { margin: 40px 0 16px; font: 500 clamp(1.3rem, 2.4vw, 1.75rem)/1.4 var(--serif); color: var(--ink); }
.big-quote figcaption { color: var(--muted); font-size: .9rem; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; }
.faq-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); transition: border-color .2s, box-shadow .2s; }
.faq-item[open] { border-color: var(--line-2); box-shadow: var(--shadow-1); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 22px; font-weight: 600; color: var(--ink); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon { color: var(--peach-ink); transition: transform .25s var(--ease); }
.faq-item[open] .faq-icon { transform: rotate(45deg); }
.faq-body { padding: 0 22px 20px; color: var(--text); }
.faq-body a { font-weight: 600; }
.contact-mini { display: grid; gap: 8px; margin-top: 8px; }
.contact-mini a { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; text-decoration: none; color: var(--ink); }
.contact-mini .icon { color: var(--peach-ink); }

/* ---------- Blog: karty ---------- */
.post-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; transition: transform .25s var(--ease), box-shadow .25s; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
.post-link { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: inherit; }
.post-art { position: relative; aspect-ratio: 16 / 7; background: var(--peach-soft); overflow: hidden; }
.post-art span { position: absolute; border-radius: 50%; }
.post-art span:first-child { width: 46%; aspect-ratio: 1; right: 8%; top: -30%; background: var(--peach); opacity: .55; }
.post-art span:last-child { width: 22%; aspect-ratio: 1; left: 12%; bottom: -12%; background: var(--navy); opacity: .85; }
.tone-sage .post-art { background: var(--sage-soft); }
.tone-sage .post-art span:first-child { background: var(--sage); }
.tone-navy .post-art { background: var(--mist-soft); }
.tone-navy .post-art span:first-child { background: var(--mist); opacity: .8; }
.post-body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; font-size: .84rem; color: var(--muted); margin: 0; }
.post-body h2, .post-body h3 { font: 560 1.3rem/1.25 var(--serif); margin: 0; }
.post-body p { color: var(--muted); font-size: .94rem; margin: 0; }
.post-body .more { margin-top: auto; padding-top: 6px; }
.post-card:hover .more { color: var(--peach-ink); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filter { border: 1px solid var(--line-2); background: var(--surface); border-radius: 999px; padding: 9px 16px; cursor: pointer; font-weight: 600; font-size: .92rem; color: var(--text); }
.filter span { color: var(--muted); font-weight: 500; margin-left: 2px; }
.filter:hover { border-color: var(--navy); }
.filter.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }
.filter.is-active span { color: rgba(255, 255, 255, .65); }
.post-card[hidden] { display: none; }
.post-art.has-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.blog-empty { color: var(--muted); text-align: center; padding: 24px 0; }

/* ---------- Artykuł ---------- */
.article-hero { padding: clamp(28px, 4vw, 48px) 0 clamp(40px, 5vw, 64px); background: linear-gradient(180deg, var(--bg), var(--peach-soft)); }
.article-hero.tone-sage { background: linear-gradient(180deg, var(--bg), var(--sage-soft)); }
.article-hero.tone-navy { background: linear-gradient(180deg, var(--bg), var(--mist-soft)); }
.article-hero h1 { font-size: clamp(2rem, 4.4vw, 3.2rem); margin: 16px 0 .45em; }
.article-hero .chip { background: var(--surface); }
.article-layout { display: grid; grid-template-columns: 240px minmax(0, 720px); gap: clamp(32px, 5vw, 72px); justify-content: center; padding-top: clamp(40px, 5vw, 64px); padding-bottom: var(--section); }
.toc { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; font-size: .92rem; }
.toc-title { font-weight: 650; color: var(--ink); margin-bottom: 10px; }
.toc ol { list-style: none; display: grid; gap: 2px; border-left: 2px solid var(--line); }
.toc a { display: block; padding: 6px 0 6px 14px; margin-left: -2px; border-left: 2px solid transparent; color: var(--muted); text-decoration: none; line-height: 1.4; }
.toc a:hover, .toc a.is-current { color: var(--ink); border-left-color: var(--peach); }
.prose { font-size: 1.06rem; line-height: 1.75; }
.prose h2 { font-size: clamp(1.45rem, 2.4vw, 1.85rem); margin: 1.8em 0 .55em; }
.prose h2:first-child { margin-top: 0; }
.prose ul { padding-left: 1.2em; margin: 0 0 1em; display: grid; gap: .4em; }
.article-intro { font-size: 1.2rem; line-height: 1.7; color: var(--ink); }
/* Treść z Owner's Portal (Markdown → HTML): pierwszy akapit = wstęp, cytat = ramka „Warto zapamiętać”. */
.article-content > p:first-child { font-size: 1.2rem; line-height: 1.7; color: var(--ink); }
.article-content h3 { font: 600 1.25rem/1.3 var(--serif); margin: 1.6em 0 .5em; }
.article-content h4 { font-size: 1.05rem; margin: 1.4em 0 .4em; }
.article-content p { margin: 0 0 1em; }
.article-content ol { padding-left: 1.4em; margin: 0 0 1em; display: grid; gap: .4em; }
.article-content ul { list-style: disc; }
.article-content ol { list-style: decimal; }
.article-content li::marker { color: var(--peach-ink); }
.article-content a { color: var(--peach-ink); font-weight: 600; }
.article-content blockquote { margin: 2.4em 0; padding: 24px 28px; border-radius: var(--r-lg); background: var(--sage-soft); border-left: 4px solid var(--sage); }
.article-content blockquote p:last-child { margin-bottom: 0; }
.article-content blockquote strong:first-child { display: block; color: var(--sage-ink); margin-bottom: 6px; }
.article-content img { max-width: 100%; height: auto; border-radius: var(--r); }
.article-content figure { margin: 2em 0; }
.article-content figcaption { font-size: .88rem; color: var(--muted); margin-top: 8px; }
.article-content hr { border: 0; border-top: 1px solid var(--line); margin: 2.4em 0; }
.article-content code { font-size: .9em; background: var(--peach-soft); padding: .1em .35em; border-radius: 6px; }
.article-content pre { overflow-x: auto; padding: 16px 18px; background: var(--navy); color: #fff; border-radius: var(--r); font-size: .9rem; }
.article-content pre code { background: none; padding: 0; color: inherit; }
.article-cover { margin: 0 0 2em; }
.article-cover img { width: 100%; height: auto; border-radius: var(--r-lg); display: block; }
.article-loading { color: var(--muted); }
.takeaway { margin: 2.4em 0; padding: 24px 28px; border-radius: var(--r-lg); background: var(--sage-soft); border-left: 4px solid var(--sage); }
.takeaway-title { display: flex; align-items: center; gap: 8px; font-weight: 650; color: var(--sage-ink); margin-bottom: 8px; }
.article-cta { display: grid; gap: 16px; margin: 2.4em 0 1.6em; padding: 32px; border-radius: var(--r-lg); background: var(--navy); color: rgba(255, 255, 255, .78); }
.article-cta h2 { color: #fff; margin: 0 0 .3em; font-size: 1.7rem; }
.article-cta .eyebrow { color: var(--peach); margin-bottom: .6rem; }
.article-cta .actions { margin-top: 0; }
.article-cta .link-arrow { color: #fff; }
.disclaimer { font-size: .88rem; color: var(--muted); }

/* ---------- Usługi (lista) ---------- */
.service-rows { display: grid; gap: 16px; }
.service-row { display: grid; grid-template-columns: auto 1fr 240px; gap: 28px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 32px; }
.service-row-ico { width: 72px; height: 72px; border-radius: 22px; display: grid; place-items: center; background: var(--peach-soft); color: var(--peach-ink); }
.service-row.tone-sage .service-row-ico { background: var(--sage-soft); color: var(--sage-ink); }
.service-row.tone-navy .service-row-ico { background: #e6e9f0; color: var(--navy); }
.service-row.tone-mist .service-row-ico { background: var(--mist-soft); color: var(--mist-ink); }
.service-row h2 { font-size: 1.7rem; margin-bottom: .3em; }
.service-row-main > p { color: var(--muted); }
.service-row .checklist { grid-template-columns: repeat(3, auto); justify-content: start; gap: 8px 20px; font-size: .94rem; }
.service-row-side { display: grid; gap: 8px; text-align: right; justify-items: end; }
.service-row-side small { color: var(--muted); }
.service-row-side .btn { margin-top: 6px; }
.table-wrap { overflow-x: auto; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface); margin-bottom: 24px; }
.compare { width: 100%; border-collapse: collapse; font-size: .96rem; min-width: 560px; }
.compare th, .compare td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }
.compare thead th { font-family: var(--serif); font-size: 1.15rem; font-weight: 560; color: var(--ink); background: var(--bg); }
.compare tbody th { color: var(--ink); font-weight: 650; width: 26%; }

/* ---------- Metoda / notatka ---------- */
.method > p { color: var(--text); }
.note { display: flex; gap: 12px; align-items: flex-start; margin-top: 8px; padding: 16px 18px; border-radius: 14px; background: var(--mist-soft); color: var(--mist-ink); font-size: .94rem; }
.note .icon { margin-top: 3px; }

/* ---------- Wsparcie dla firm ---------- */
.duo { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 28px; box-shadow: var(--shadow-2); }
.duo-title { font: 560 1.3rem/1.2 var(--serif); color: var(--ink); text-align: center; margin-bottom: 18px; }
.duo-row { display: grid; grid-template-columns: 1fr auto 1fr; gap: 10px; align-items: stretch; }
.duo-card { background: var(--bg); border-radius: var(--r); padding: 18px; display: grid; gap: 6px; align-content: start; }
.duo-card p { font-size: .9rem; color: var(--muted); margin: 0; }
.duo-ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; }
.duo-ico.tone-peach { background: var(--peach-soft); color: var(--peach-ink); }
.duo-ico.tone-navy { background: #e6e9f0; color: var(--navy); }
.duo-plus { align-self: center; font: 600 1.6rem/1 var(--serif); color: var(--peach-ink); }
.duo-result { margin-top: 14px; display: flex; gap: 12px; align-items: center; padding: 16px 18px; border-radius: var(--r); background: var(--navy); color: #fff; font-weight: 600; }
.duo-result .icon { color: var(--peach); }
.duo-result small { display: block; color: rgba(255, 255, 255, .6); font-weight: 500; font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; }
.trust-row { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 36px; font-weight: 600; color: var(--ink); }
.trust-row li { display: inline-flex; align-items: center; gap: 8px; }
.trust-row .icon { color: var(--sage-ink); }
.signal { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px 24px; }
.signal-num { display: inline-block; font: 600 1.6rem/1 var(--serif); color: var(--peach); margin-bottom: 14px; }
.signal p { color: var(--muted); font-size: .95rem; margin: 0; }
.perspectives { display: grid; grid-template-columns: 1fr auto 1fr; gap: 20px; align-items: center; }
.perspective { background: var(--surface); border-radius: var(--r-lg); padding: 32px; border: 1px solid var(--line); height: 100%; }
.perspective h3 { font: 560 1.45rem/1.2 var(--serif); margin-bottom: 18px; }
.perspective.is-business { background: var(--navy); color: rgba(255, 255, 255, .8); border-color: var(--navy); }
.perspective.is-business h3 { color: #fff; }
.perspective.is-business .eyebrow { color: var(--peach); }
.perspective.is-business .checklist .icon { color: var(--peach); }
.perspective-arrow { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--peach); color: var(--navy); }
.leader { align-items: center; }
.leader h2 { font-size: clamp(2rem, 4vw, 3rem); }
.muted-light { color: rgba(255, 255, 255, .55); margin-top: 14px; }
.leader-card { background: #fff; color: var(--text); border-radius: var(--r-xl); padding: 32px; box-shadow: 0 30px 70px rgba(0, 0, 0, .3); }
.leader-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-bottom: 18px; border-bottom: 1px solid var(--line); margin-bottom: 18px; font-size: .9rem; color: var(--muted); }
.leader-top strong { font: 600 1.6rem/1 var(--serif); color: var(--ink) !important; }
.leader-card ol { list-style: none; display: grid; gap: 16px; }
.leader-card li { display: flex; gap: 16px; }
.leader-card li > span { font: 600 1rem/1 var(--sans); color: var(--peach-ink); padding-top: 4px; }
.leader-card h3 { color: var(--ink) !important; margin: 0 0 2px; }
.leader-card p { color: var(--muted); margin: 0; font-size: .95rem; }
.leader-effect { display: flex; gap: 10px; align-items: flex-start; margin: 22px 0 0 !important; padding: 16px; border-radius: 14px; background: var(--peach-soft); color: var(--ink) !important; }
.leader-effect .icon { color: var(--peach-ink); margin-top: 3px; }
.scope { display: grid; gap: 12px; }
.scope-item { display: grid; gap: 4px; padding: 20px 22px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--peach); }
.scope-item:nth-child(2) { border-left-color: var(--sage); }
.scope-item:nth-child(3) { border-left-color: var(--mist); }
.scope-item:nth-child(4) { border-left-color: var(--navy); }
.scope-item span { color: var(--muted); font-size: .94rem; }

/* ---------- Klinika online: strony lokalne ---------- */
.local-card { display: flex; flex-direction: column; gap: 10px; padding: 26px 24px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); text-decoration: none; color: var(--text); transition: transform .25s var(--ease), box-shadow .25s, border-color .25s; }
.local-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); border-color: transparent; }
.local-card strong { font: 560 1.35rem/1.2 var(--serif); color: var(--ink); }
.local-card > span:not(.service-ico):not(.more) { color: var(--muted); font-size: .95rem; }
.local-card .more { margin-top: auto; padding-top: 8px; }
.local-card:hover .more { color: var(--peach-ink); }
.area-groups { display: grid; gap: 24px; max-width: 920px; margin: 0 auto; }
.area-group h3 { margin-bottom: 12px; }
.area-group .tags li { background: var(--surface); border: 1px solid var(--line); }
.section-sand .area-group .tags li { border-color: transparent; }
.tz-table td strong { font-size: 1.05rem; }
.tz-local { display: flex; gap: 10px; align-items: center; padding: 14px 18px; border-radius: 14px; background: var(--peach-soft); color: var(--ink); font-weight: 600; }
.tz-local[hidden] { display: none; }
.english-note { padding: 28px 32px; border-radius: var(--r-lg); border: 1px dashed var(--line-2); background: var(--surface); }
.english-note h2 { font-size: 1.5rem; }
.facts-label { display: block; font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 4px; }
.online-art { height: 110px; border-radius: 16px; margin-bottom: 18px; display: grid; place-items: center; background: radial-gradient(circle at 25% 35%, rgba(143, 182, 168, .45) 0 20%, transparent 21%), radial-gradient(circle at 78% 70%, rgba(232, 165, 121, .45) 0 18%, transparent 19%), var(--sand); }
.online-art span { width: 58px; height: 58px; border-radius: 18px; background: var(--navy); color: #fff; display: grid; place-items: center; box-shadow: var(--shadow-2); }
.steps-row.steps-3 { grid-template-columns: repeat(3, 1fr); }

/* ---------- Standardy ---------- */
.standard { padding: 28px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.standard h3 { font: 560 1.3rem/1.2 var(--serif); }
.standard p { color: var(--muted); font-size: .96rem; margin: 0; }
.standards + .team-mini { grid-template-columns: repeat(3, 1fr); margin-top: 24px; }

/* ---------- Cennik ---------- */
.first-step { display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center; padding: 32px; border-radius: var(--r-xl); background: var(--navy); color: rgba(255, 255, 255, .78); margin-bottom: 32px; }
.first-step h2 { color: #fff; margin-bottom: .3em; }
.first-step .eyebrow { color: var(--peach); }
.first-step-ico { width: 64px; height: 64px; border-radius: 20px; background: rgba(232, 165, 121, .16); color: var(--peach); display: grid; place-items: center; }
.first-step-price { display: grid; justify-items: center; gap: 6px; text-align: center; min-width: 180px; }
.first-step-price strong { font: 600 2.6rem/1 var(--serif); color: #fff; }
.first-step-price span { font-size: .9rem; margin-bottom: 8px; }
.price-cards { align-items: stretch; }
.price-card { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 32px 28px 28px; display: flex; flex-direction: column; gap: 14px; }
.price-card.is-featured { border: 2px solid var(--peach); box-shadow: var(--shadow-2); }
.price-flag { position: absolute; top: -13px; left: 28px; background: var(--peach); color: var(--navy); font-size: .78rem; font-weight: 700; padding: 4px 12px; border-radius: 999px; }
.price-head { display: flex; align-items: center; gap: 12px; }
.price-head .service-ico { width: 44px; height: 44px; border-radius: 14px; }
.price-head h2 { font-size: 1.4rem; margin: 0; }
.price-amount { display: flex; align-items: baseline; gap: 6px; margin: 4px 0 0; }
.price-amount strong { font: 600 2.8rem/1 var(--serif); }
.price-amount span { color: var(--muted); }
.price-forms { color: var(--muted); font-size: .9rem; margin: 0; }
.price-card .checklist { padding-top: 14px; border-top: 1px solid var(--line); }
.price-actions { margin-top: auto; display: grid; gap: 12px; justify-items: center; padding-top: 10px; }
.price-extra { margin-top: 24px; }
.extra-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; }
.extra-card h2 { font-size: 1.45rem; }
.packages { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px; }
.packages li { display: grid; gap: 2px; padding: 16px; border-radius: 14px; background: var(--sage-soft); }
.packages li span { color: var(--sage-ink); font-weight: 600; }

/* ---------- Zespół ---------- */
.people { display: grid; gap: 24px; }
.person { display: grid; grid-template-columns: 340px 1fr; gap: clamp(24px, 4vw, 48px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); padding: clamp(20px, 3vw, 32px); scroll-margin-top: calc(var(--header-h) + 16px); }
.person-photo { border-radius: 999px 999px var(--r-lg) var(--r-lg); overflow: hidden; background: var(--sand); align-self: start; aspect-ratio: 4 / 5; }
.person-photo img { width: 100%; height: 100%; object-fit: cover; }
.person-body { display: flex; flex-direction: column; gap: 14px; padding: 8px 0; }
.person-body .eyebrow { margin: 0; }
.person-body h2 { margin: 0; font-size: clamp(1.7rem, 3vw, 2.2rem); }
.person-lead { font-size: 1.08rem; color: var(--ink); margin: 0; }
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { padding: 6px 12px; border-radius: 999px; background: var(--sand); font-size: .86rem; font-weight: 550; color: var(--ink); }
.person-approach { color: var(--muted); font-size: .95rem; margin: 0; }
.person-more { border-top: 1px solid var(--line); padding-top: 10px; }
.person-more summary { cursor: pointer; list-style: none; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--navy); padding: 6px 0; }
.person-more summary::-webkit-details-marker { display: none; }
.person-more summary .icon { transition: transform .2s; }
.person-more[open] summary .icon { transform: rotate(180deg); }
.person-more .when-open, .person-more[open] .when-closed { display: none; }
.person-more[open] .when-open { display: inline; }
.person-more p { margin-top: .9em; }
.memberships { padding-left: 1.2em; color: var(--muted); font-size: .95rem; display: grid; gap: 4px; }
.person-actions { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 16px; padding-top: 8px; }
.person-link { font-size: .9rem; font-weight: 600; color: var(--navy); }
/* Osoba bez zdjęcia w portalu — inicjały zamiast portretu. */
.person-initials { display: grid; place-items: center; width: 100%; height: 100%; aspect-ratio: 4 / 5; background: var(--peach-soft); color: var(--navy); font: 560 clamp(2rem, 6vw, 3.4rem)/1 var(--serif); }
.person-mini .person-initials { width: 60px; height: 60px; aspect-ratio: 1; border-radius: 50%; font-size: 1.2rem; flex: none; }
.person-where { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: .9rem; }

/* ---------- Kontakt i formularze ---------- */
.contact-grid { display: grid; grid-template-columns: 1.35fr .85fr; gap: clamp(24px, 4vw, 40px); align-items: start; }
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); padding: clamp(24px, 4vw, 44px); box-shadow: var(--shadow-1); }
.form-card > h2 { font-size: 1.7rem; margin-bottom: .2em; }
.form { display: grid; gap: 18px; margin-top: 24px; }
.field { display: grid; gap: 6px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field > label, .field > legend { font-weight: 600; color: var(--ink); font-size: .95rem; padding: 0; }
.req { color: var(--peach-ink); }
.opt { color: var(--muted); font-weight: 400; font-size: .88rem; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
input[type="text"], input[type="email"], input[type="tel"], select, textarea {
    width: 100%; min-height: 50px; padding: 12px 14px; border: 1.5px solid var(--line-2); border-radius: 12px; background: #fff;
    font: 400 1rem/1.4 var(--sans); color: var(--ink); transition: border-color .2s, box-shadow .2s;
}
textarea { resize: vertical; min-height: 130px; }
select { appearance: none; -webkit-appearance: none; padding-right: 42px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%2316243f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
select:disabled { background-color: var(--bg); color: var(--muted); cursor: not-allowed; }
input::placeholder, textarea::placeholder { color: #9aa3b3; }
input:hover, select:hover:not(:disabled), textarea:hover { border-color: #bfb3a2; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 4px rgba(22, 36, 63, .08); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--danger); }
.field-error { color: var(--danger); font-size: .86rem; margin: 0; min-height: 0; }
.field-error:empty { display: none; }
.field-hint { color: var(--muted); font-size: .86rem; margin: 0; }
.segmented { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 4px; }
.segmented label { position: relative; cursor: pointer; }
.segmented input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.segmented span { display: grid; gap: 2px; padding: 14px 16px; border: 1.5px solid var(--line-2); border-radius: 14px; background: #fff; transition: border-color .2s, background .2s; }
.segmented small { color: var(--muted); font-size: .85rem; }
.segmented input:checked + span { border-color: var(--navy); background: var(--bg); box-shadow: inset 0 0 0 1px var(--navy); }
.segmented input:focus-visible + span { outline: 3px solid var(--peach-2); outline-offset: 2px; }
.company-fields { display: grid; gap: 18px; padding: 18px; border-radius: 16px; background: var(--bg); }
.company-fields[hidden] { display: none; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .92rem; color: var(--text); cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--navy); flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { padding: 14px 16px; border-radius: 12px; font-weight: 600; font-size: .95rem; background: var(--danger-soft); color: var(--danger); }
.form-foot { display: flex; align-items: center; justify-content: center; gap: 8px; color: var(--muted); font-size: .86rem; margin: 0; }
.form-success { text-align: center; padding: 24px 0 8px; }
.form-success:focus { outline: none; }
.success-ico { width: 72px; height: 72px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; background: var(--ok-soft); color: var(--ok); }
.form-success h2 { font-size: 1.8rem; }
.form-success .actions { justify-content: center; }
.contact-side { display: grid; gap: 16px; position: sticky; top: calc(var(--header-h) + 20px); }
.side-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; }
.side-card h2 { font-size: 1.35rem; }
.contact-list { list-style: none; display: grid; gap: 16px; margin-bottom: 14px; }
.contact-list li { display: flex; gap: 14px; align-items: center; }
.contact-list small { display: block; color: var(--muted); font-size: .82rem; }
.contact-list a { font-weight: 650; font-size: 1.05rem; text-decoration: none; color: var(--ink); }
.ci { width: 44px; height: 44px; border-radius: 14px; background: var(--peach-soft); color: var(--peach-ink); display: grid; place-items: center; flex: none; }
.diag-side { background: var(--sage-soft); border-color: transparent; }

/* ---------- Diagnoza ---------- */
.diag { position: relative; padding: clamp(32px, 6vw, 80px) 0 var(--section); min-height: calc(100vh - var(--header-h)); overflow: hidden; }
.diag-container { position: relative; z-index: 1; max-width: 760px; }
.diag-panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); padding: clamp(24px, 5vw, 56px); box-shadow: var(--shadow-2); }
.diag-panel[hidden] { display: none; }
.diag-panel h1 { font-size: clamp(2.3rem, 5vw, 3.4rem); }
.diag-q { font-size: clamp(1.5rem, 3vw, 2.1rem); outline: none; }
.diag-meta { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 22px 0 30px; color: var(--muted); font-size: .95rem; }
.diag-meta li { display: inline-flex; align-items: center; gap: 8px; }
.diag-meta .icon { color: var(--sage-ink); }
.diag-note { margin-top: 22px; font-size: .86rem; color: var(--muted); }
.diag-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; color: var(--muted); font-size: .9rem; font-weight: 600; }
.back { display: inline-flex; align-items: center; gap: 6px; border: 0; background: none; cursor: pointer; color: var(--navy); font-weight: 600; padding: 6px 8px 6px 0; }
.back:hover { color: var(--peach-ink); }
.progress { height: 6px; border-radius: 999px; background: var(--sand); overflow: hidden; margin-bottom: 28px; }
.progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--peach), var(--peach-2)); border-radius: inherit; transition: width .35s var(--ease); }
.pillar-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 12px; }
.pillar { display: grid; gap: 8px; align-content: start; text-align: left; padding: 22px 18px; border-radius: var(--r); border: 1.5px solid var(--line-2); background: #fff; cursor: pointer; transition: border-color .2s, transform .2s var(--ease), box-shadow .2s; }
.pillar:hover { border-color: var(--navy); transform: translateY(-2px); box-shadow: var(--shadow-1); }
.pillar strong { font: 560 1.25rem/1.2 var(--serif); }
.pillar > span:last-child { color: var(--muted); font-size: .9rem; line-height: 1.5; }
.pillar-ico { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--peach-soft); color: var(--peach-ink); }
.pillar.tone-sage .pillar-ico { background: var(--sage-soft); color: var(--sage-ink); }
.pillar.tone-navy .pillar-ico { background: #e6e9f0; color: var(--navy); }
.answer-grid { display: grid; gap: 10px; }
.answer { text-align: left; padding: 16px 18px; border-radius: 14px; border: 1.5px solid var(--line-2); background: #fff; cursor: pointer; font-weight: 500; color: var(--ink); transition: border-color .15s, background .15s; display: flex; align-items: center; gap: 12px; }
.answer::before { content: ''; width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--line-2); flex: none; transition: border-color .15s, box-shadow .15s; }
.answer:hover { border-color: var(--navy); }
.answer.is-selected { border-color: var(--navy); background: var(--bg); }
.answer.is-selected::before { border-color: var(--navy); box-shadow: inset 0 0 0 4px #fff, inset 0 0 0 10px var(--navy); }
.scale-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.scale { min-height: 64px; border-radius: 14px; border: 1.5px solid var(--line-2); background: #fff; cursor: pointer; font: 600 1.4rem/1 var(--serif); color: var(--ink); transition: border-color .15s, background .15s, color .15s; }
.scale:hover { border-color: var(--navy); }
.scale.is-selected { background: var(--navy); color: #fff; border-color: var(--navy); }
.scale-labels { display: flex; justify-content: space-between; gap: 16px; margin-top: 10px; color: var(--muted); font-size: .86rem; }
.scale-labels span:last-child { text-align: right; }
.orb { width: 84px; height: 84px; margin: 0 auto 22px; border-radius: 50%; background: conic-gradient(from 0deg, var(--peach), var(--sage), var(--mist), var(--peach)); animation: spin 1.6s linear infinite; mask: radial-gradient(circle, transparent 52%, #000 54%); -webkit-mask: radial-gradient(circle, transparent 52%, #000 54%); }
@keyframes spin { to { transform: rotate(360deg); } }
.diag-panel.center { text-align: center; }

/* Karta diagnozy (moduł wielokrotnego użytku) */
.diag-card { display: grid; gap: 12px; padding: 28px; border-radius: var(--r-xl); background: var(--navy); color: rgba(255, 255, 255, .78); text-decoration: none; box-shadow: var(--shadow-3); }
.diag-kicker { display: inline-flex; align-items: center; gap: 6px; color: var(--peach); font-weight: 600; font-size: .85rem; }
.diag-title { font: 560 1.8rem/1.1 var(--serif); color: #fff; }
.diag-bars { display: grid; grid-template-columns: 2fr 1.2fr 1fr; gap: 6px; }
.diag-bars i { height: 6px; border-radius: 6px; background: var(--peach); }
.diag-bars i:nth-child(2) { background: var(--sage); }
.diag-bars i:nth-child(3) { background: var(--mist); }
.diag-cta { display: inline-flex; align-items: center; gap: 6px; color: #fff; font-weight: 600; }

/* ---------- CTA ---------- */
.cta-section { padding-top: 0; }
.section-sand + .cta-section, .section-dark + .cta-section { padding-top: var(--section); }
.cta-band { position: relative; overflow: hidden; display: grid; grid-template-columns: 1.3fr auto; gap: 32px; align-items: center; padding: clamp(32px, 5vw, 64px); border-radius: var(--r-xl); background: var(--navy); color: rgba(255, 255, 255, .78); }
.cta-blob { position: absolute; width: 380px; height: 380px; right: -100px; top: -160px; border-radius: 50%; background: radial-gradient(circle, rgba(232, 165, 121, .45), rgba(232, 165, 121, 0) 70%); }
.cta-copy, .cta-actions { position: relative; }
.cta-band h2 { color: #fff; margin-bottom: .35em; }
.cta-band p { font-size: 1.08rem; margin: 0; max-width: 560px; }
.cta-actions { display: grid; gap: 14px; justify-items: center; }
.cta-phone { display: inline-flex; align-items: center; gap: 8px; color: rgba(255, 255, 255, .75); text-decoration: none; font-size: .95rem; }
.cta-phone strong { color: #fff; }
.cta-phone:hover strong { text-decoration: underline; }

/* ---------- Prawne ---------- */
.legal h2 { font-size: 1.45rem; }
.legal ul { list-style: disc; }

/* ---------- 404 ---------- */
.notfound { min-height: 70vh; display: grid; place-items: center; overflow: hidden; }
.notfound .container { position: relative; z-index: 1; }
.notfound-code { font: 600 clamp(6rem, 18vw, 11rem)/1 var(--serif); color: var(--peach); margin: 0 0 .1em; opacity: .9; }
.notfound-links { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; margin-top: 36px; }

/* ---------- Stopka ---------- */
.site-footer { background: var(--navy); color: rgba(255, 255, 255, .7); padding: clamp(48px, 6vw, 72px) 0 28px; font-size: .95rem; }
.site-footer a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.crisis { display: flex; gap: 18px; padding: 24px 26px; border-radius: var(--r-lg); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); margin-bottom: clamp(40px, 5vw, 56px); }
.crisis-ico { width: 46px; height: 46px; border-radius: 14px; flex: none; display: grid; place-items: center; background: rgba(232, 165, 121, .16); color: var(--peach); }
.crisis h2 { font: 650 1.05rem/1.3 var(--sans); color: #fff; margin: 0 0 4px; letter-spacing: 0; }
.crisis p { margin: 0 0 10px; }
.crisis ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 24px; }
.crisis li { font-size: .9rem; }
.crisis-abroad { margin: 10px 0 0 !important; font-size: .88rem; color: rgba(255, 255, 255, .6); }
.crisis-abroad strong { color: #fff; }
.crisis li a strong { color: #fff; font-size: 1.05rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.1fr .8fr 1.3fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.footer-brand .brand { color: #fff; margin-bottom: 16px; }
.footer-brand p { margin-bottom: .6em; }
.footer-muted { color: rgba(255, 255, 255, .5); font-size: .9rem; }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, .08); }
.socials a:hover { background: rgba(255, 255, 255, .16); }
.footer-title { font: 650 .8rem/1.3 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .5); margin-bottom: 16px; }
.footer-links { list-style: none; display: grid; gap: 10px; }
.footer-contact { list-style: none; display: grid; gap: 14px; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact .icon { color: var(--peach); margin-top: 3px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 24px; font-size: .86rem; color: rgba(255, 255, 255, .5); }
.footer-bottom p { margin: 0; }

/* ---------- Baner cookies ---------- */
.cookie {
    position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 90; max-width: 560px;
    display: grid; gap: 14px; padding: 20px 22px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line);
    box-shadow: var(--shadow-3); font-size: .92rem; transition: opacity .3s, transform .3s var(--ease);
}
.cookie p { margin: 0; }
.cookie.is-hiding { opacity: 0; transform: translateY(12px); }
.cookie-actions { display: flex; justify-content: flex-end; gap: 10px; }

/* ---------- Pojawianie się ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    .js .reveal { opacity: 1; transform: none; transition: none; }
    *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ---------- Responsywność ---------- */
@media (max-width: 1180px) {
    .header-diag span { display: none; }
    .header-diag { padding: 10px; }
    .nav-link { padding: 10px 9px; }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .steps-row { grid-template-columns: repeat(3, 1fr); }
    .steps-row .step:nth-child(3)::after { display: none; }
    .footer-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 980px) {
    :root { --header-h: 68px; }
    .main-nav, .header-diag { display: none; }
    .header-actions { margin-left: auto; }
    .burger { display: grid; }
    .hero-grid, .split, .split-faq, .page-hero.has-aside .page-hero-grid, .contact-grid { grid-template-columns: 1fr; }
    .hero-visual { min-height: 0; max-width: 520px; width: 100%; margin: 0 auto; padding-top: 24px; }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .service-row { grid-template-columns: auto 1fr; }
    .service-row-side { grid-column: 1 / -1; text-align: left; justify-items: start; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px 20px; }
    .service-row-side .btn { margin: 0; }
    .service-row .checklist { grid-template-columns: 1fr; }
    .perspectives { grid-template-columns: 1fr; }
    .perspective-arrow { transform: rotate(90deg); justify-self: center; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .article-layout { grid-template-columns: minmax(0, 1fr); }
    .toc { position: static; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 18px 20px; }
    .contact-side { position: static; }
    .first-step { grid-template-columns: auto 1fr; }
    .first-step-price { grid-column: 1 / -1; grid-template-columns: auto auto 1fr; justify-items: start; align-items: center; text-align: left; gap: 12px; }
    .first-step-price span { margin: 0; }
    .first-step-price .btn { justify-self: end; }
    .cta-band { grid-template-columns: 1fr; }
    .cta-actions { justify-items: start; }
    .person { grid-template-columns: 260px 1fr; }
    .standards + .team-mini { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
    body { font-size: 16px; }
    .grid-2, .grid-3, .grid-4, .row-2, .pillar-grid { grid-template-columns: 1fr; }
    .header-actions .btn { padding: .5em .9em; font-size: .88rem; }
    .brand span { font-size: 1.3rem; }
    .brand img { width: 32px; }
    .hero-visual { min-height: 0; }
    .arch-hero { width: 78%; border-width: 6px; }
    .hero-badge { top: 5%; left: -6px; padding: 8px 12px 8px 8px; }
    .hero-badge-ico { width: 32px; height: 32px; }
    .cookie { left: 12px; right: 12px; bottom: 12px; padding: 16px; font-size: .86rem; gap: 12px; }
    .need-list { gap: 8px; }
    .need-list a { padding: 10px 14px; font-size: .94rem; }
    .hero-price { padding: 12px 16px; }
    .hero-price strong { font-size: 1.5rem; }
    .actions .btn { flex: 1 1 100%; }
    .steps-row { grid-template-columns: 1fr; }
    .steps-row .step::after { display: none; }
    .diag-strip { flex-direction: column; align-items: stretch; padding: 24px; }
    .service-row { grid-template-columns: 1fr; padding: 24px; }
    .service-row-side { grid-template-columns: 1fr; }
    .service-row-side .btn { width: 100%; }
    .person { grid-template-columns: 1fr; }
    .person-photo { max-width: 300px; }
    .duo-row { grid-template-columns: 1fr; }
    .duo-plus { justify-self: center; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .crisis { flex-direction: column; }
    .first-step { grid-template-columns: 1fr; padding: 24px; }
    .first-step-price { grid-template-columns: auto 1fr; }
    .first-step-price .btn { grid-column: 1 / -1; justify-self: stretch; }
    .packages { grid-template-columns: 1fr 1fr; }
    .scale-grid { gap: 6px; }
    .segmented { grid-template-columns: 1fr; }
    .cookie-actions .btn { flex: 1; }
    .crumbs [aria-current] { max-width: 22ch; }
    .cta-actions, .cta-actions .btn { width: 100%; }
}

/* ---------- Rezerwacja online (assets/js/booking.js) ---------- */
.booking-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(24px, 4vw, 48px); align-items: start; }
.booking { min-height: 320px; }
.booking-aside { position: sticky; top: calc(var(--header-h) + 24px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; display: grid; gap: 14px; }
.booking-aside h2 { font-size: 1.3rem; margin: 0; }
.booking-how { list-style: none; counter-reset: how; display: grid; gap: 12px; margin: 0; }
.booking-how li { counter-increment: how; display: grid; grid-template-columns: 28px 1fr; gap: 2px 12px; font-size: .93rem; }
.booking-how li::before { content: counter(how); grid-row: span 2; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--peach-soft); color: var(--peach-ink); font-weight: 700; font-size: .85rem; }
.booking-how span { color: var(--muted); }
.booking-note { display: flex; gap: 8px; align-items: flex-start; font-size: .88rem; color: var(--muted); margin: 0; }
.booking-crisis { padding: 12px 14px; border-radius: var(--r-sm); background: var(--sand); color: var(--text); display: block; }
.booking-crisis a { font-weight: 700; }
.bk-loading, .bk-muted { color: var(--muted); display: flex; align-items: center; gap: 10px; }
.bk-muted.small, .bk-muted small { font-size: .86rem; }
.spinner { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--line-2); border-top-color: var(--peach-ink); display: inline-block; animation: bk-spin .8s linear infinite; flex: none; }
@keyframes bk-spin { to { transform: rotate(360deg); } }
.bk-empty { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(24px, 4vw, 40px); display: grid; gap: 12px; justify-items: start; }
.bk-empty h2 { margin: 0; font-size: 1.5rem; }
.bk-progress { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 0 0 18px; font-size: .88rem; color: var(--muted); }
.bk-progress li { display: flex; align-items: center; gap: 8px; }
.bk-progress li span { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--line-2); font-weight: 700; font-size: .8rem; }
.bk-progress li.is-current { color: var(--ink); font-weight: 600; }
.bk-progress li.is-current span { border-color: var(--navy); background: var(--navy); color: #fff; }
.bk-progress li.is-done span { border-color: var(--sage); background: var(--sage-soft); color: var(--sage-ink); }
.bk-steps { display: grid; gap: 12px; }
.bk-step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 18px clamp(16px, 3vw, 26px); }
.bk-step.is-open { border-color: var(--line-2); box-shadow: var(--shadow-1); padding-bottom: clamp(20px, 3vw, 28px); }
.bk-step.is-todo { opacity: .6; }
.bk-step-head { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; }
.bk-step-head h2 { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 1.2rem; outline: none; scroll-margin-top: calc(var(--header-h) + 24px); }
.bk-num { width: 30px; height: 30px; border-radius: 50%; display: inline-grid; place-items: center; background: var(--sand); color: var(--ink); font: 700 .9rem/1 var(--sans); flex: none; }
.bk-step.is-open .bk-num { background: var(--navy); color: #fff; }
.bk-step.is-done .bk-num { background: var(--sage-soft); color: var(--sage-ink); }
.bk-summary { margin: 0; color: var(--text); font-size: .95rem; flex: 1; min-width: 12rem; }
.link-btn { background: none; border: 0; padding: 4px 2px; font: inherit; font-weight: 600; color: var(--peach-ink); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.bk-step-body { margin-top: 18px; display: grid; gap: 16px; }
.bk-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.bk-card { display: grid; gap: 6px; text-align: left; padding: 16px 18px; border: 1.5px solid var(--line); border-radius: var(--r); background: var(--bg); font: inherit; color: var(--text); cursor: pointer; transition: border-color .2s, box-shadow .2s, transform .2s var(--ease); }
.bk-card:hover { border-color: var(--peach); transform: translateY(-2px); }
.bk-card:focus-visible, .bk-day:focus-visible, .bk-time:focus-visible, .bk-chip:focus-visible { outline: 3px solid var(--peach); outline-offset: 2px; }
.bk-card.is-selected { border-color: var(--navy); background: var(--surface); box-shadow: 0 0 0 1px var(--navy); }
.bk-card strong { font: 600 1.08rem/1.3 var(--serif); color: var(--ink); }
.bk-card-text { color: var(--muted); font-size: .9rem; display: block; }
.bk-card-meta { display: flex; justify-content: space-between; gap: 10px; margin-top: 4px; font-size: .88rem; color: var(--muted); }
.bk-card-meta b { color: var(--ink); }
.bk-person { grid-template-columns: 56px 1fr; align-items: center; gap: 14px; }
.bk-avatar { width: 56px; height: 56px; border-radius: 50%; overflow: hidden; background: var(--peach-soft); display: grid; place-items: center; color: var(--peach-ink); font: 600 1.1rem/1 var(--serif); }
.bk-avatar img { width: 100%; height: 100%; object-fit: cover; }
.bk-avatar-any { background: var(--sage-soft); color: var(--sage-ink); font-size: 1.3rem; }
.bk-tz { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: .9rem; color: var(--muted); }
.bk-tz-note { margin: 0; font-size: .88rem; color: var(--muted); }
.bk-chip { border: 1.5px solid var(--line-2); background: var(--surface); border-radius: 999px; padding: 6px 12px; font: inherit; font-size: .86rem; color: var(--text); cursor: pointer; }
.bk-chip.is-selected { border-color: var(--navy); background: var(--navy); color: #fff; }
.bk-calendar { display: grid; grid-template-columns: minmax(260px, 340px) minmax(0, 1fr); gap: clamp(18px, 3vw, 32px); align-items: start; }
.bk-month-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.bk-month-head strong { font: 600 1.1rem/1 var(--serif); color: var(--ink); text-transform: capitalize; }
.icon-btn { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--surface); display: grid; place-items: center; cursor: pointer; color: var(--ink); }
.icon-btn:disabled { opacity: .35; cursor: default; }
.bk-weekdays, .bk-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; }
.bk-weekdays { font-size: .75rem; font-weight: 600; color: var(--muted); text-transform: uppercase; margin-bottom: 4px; }
.bk-days.is-loading { opacity: .5; }
.bk-day { aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%; font-size: .92rem; color: #b3aa9d; border: 0; background: none; font-family: inherit; }
.bk-day.is-empty { visibility: hidden; }
.bk-day.is-today { box-shadow: inset 0 0 0 1px var(--line-2); }
.bk-day.has-slots { background: var(--peach-soft); color: var(--ink); font-weight: 650; cursor: pointer; transition: background .2s; }
.bk-day.has-slots:hover { background: #f7d8c2; }
.bk-day.is-selected { background: var(--navy); color: #fff; }
.bk-slots h3 { margin: 0 0 12px; font-size: 1.05rem; }
.bk-slots h3::first-letter { text-transform: uppercase; }
.bk-times { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; }
.bk-time { padding: 11px 8px; border-radius: var(--r-sm); border: 1.5px solid var(--line-2); background: var(--surface); font: 600 .98rem/1 var(--sans); color: var(--ink); cursor: pointer; font-variant-numeric: tabular-nums; }
.bk-time:hover { border-color: var(--peach); }
.bk-time.is-selected { background: var(--navy); border-color: var(--navy); color: #fff; }
.bk-next { display: flex; justify-content: flex-end; }
.bk-notice { margin: 0 0 14px; padding: 12px 14px; border-radius: var(--r-sm); background: var(--sand-2); color: var(--ink); line-height: 1.5; }
.bk-notice a { color: inherit; font-weight: 600; }
.bk-alert { margin: 0; padding: 12px 14px; border-radius: var(--r-sm); background: var(--danger-soft); color: var(--danger); font-weight: 600; }
.bk-review { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px 20px; padding: 16px 18px; border-radius: var(--r); background: var(--sand); }
.bk-review div { display: grid; gap: 2px; }
.bk-review span { font-size: .78rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.bk-review strong { color: var(--ink); font-weight: 600; }
.bk-review small { color: var(--muted); font-size: .84rem; }
.bk-form { display: grid; gap: 16px; }
.bk-form .row-2 { align-items: start; }
.bk-form .form-status:empty, .bk-manage .form-status:empty { display: none; }
.bk-policy { font-size: .88rem; color: var(--text); padding: 14px 16px; border-left: 3px solid var(--sage); background: var(--sage-soft); border-radius: 0 var(--r-sm) var(--r-sm) 0; }
.bk-policy p { margin: 0 0 .5em; }
.bk-policy p:last-child { margin: 0; }
.bk-alt { margin: 16px 0 0; font-size: .9rem; color: var(--muted); }
.bk-success { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(24px, 4vw, 44px); display: grid; gap: 14px; justify-items: start; outline: none; }
.bk-success h2 { margin: 0; font-size: clamp(1.5rem, 3vw, 2rem); }
.bk-success-icon { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--ok-soft); color: var(--ok); }
.bk-next-steps { display: grid; gap: 8px; padding-left: 1.2em; margin: 0; }
.bk-next-steps li::marker { color: var(--peach-ink); font-weight: 700; }
.bk-manage { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(22px, 4vw, 40px); display: grid; gap: 16px; }
.bk-manage h2 { margin: 0; font-size: clamp(1.5rem, 3vw, 2rem); }
.bk-manage .lead { margin: 0; }
.bk-status { justify-self: start; margin: 0; padding: 5px 12px; border-radius: 999px; font-size: .82rem; font-weight: 700; background: var(--peach-soft); color: var(--peach-ink); }
.bk-status-confirmed { background: var(--ok-soft); color: var(--ok); }
.bk-status-rejected, .bk-status-cancelled, .bk-status-expired { background: var(--sand); color: var(--muted); }
.bk-track { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 0; font-size: .9rem; color: var(--muted); }
.bk-track li { display: flex; align-items: center; gap: 8px; }
.bk-track li span { width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--line-2); display: inline-block; }
.bk-track li.is-done { color: var(--sage-ink); font-weight: 600; }
.bk-cancel summary { cursor: pointer; font-weight: 600; color: var(--peach-ink); }
.bk-cancel form { margin-top: 12px; display: grid; gap: 12px; }
@media (max-width: 980px) {
    .booking-layout { grid-template-columns: minmax(0, 1fr); }
    .booking-aside { position: static; }
    .booking-how { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 720px) {
    .bk-calendar { grid-template-columns: minmax(0, 1fr); }
    .booking-how { grid-template-columns: 1fr; }
    .bk-progress { gap: 6px 12px; font-size: .8rem; }
    .bk-progress li:not(.is-current) { font-size: 0; gap: 0; }
    .bk-progress li:not(.is-current) span { font-size: .8rem; }
    .bk-next .btn { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { .spinner { animation-duration: 2s; } .bk-card:hover { transform: none; } }

@media print {
    .site-header, .drawer, .cookie, .cta-section, .site-footer .footer-grid, .toc { display: none !important; }
    body { background: #fff; }
}
