/* getso.pl – prototyp strony głównej, język wizualny „Rozmowa”.
   Zasady: .claude/skills/getso-design i .claude/skills/getso-interakcje */

@view-transition { navigation: auto; }

:root {
    --ink: #0A1A2B;
    --ink-2: #2B3D50;
    --paper: #F4F1EA;
    --paper-2: #E8E2D5;
    --card: #FFFFFF;
    --line: #D9D3C7;
    --line-2: #BDB4A4;
    --blue: #008BD2;
    --blue-text: #0069A6;
    --blue-deep: #00507F;
    --blue-bubble: #0077BE;
    --grey: #5B5B5B;
    --signal: #FF5B2E;
    --ink-line: #23384D;

    --sans: 'Schibsted Grotesk', system-ui, sans-serif;
    --mono: 'IBM Plex Mono', ui-monospace, 'SFMono-Regular', monospace;

    --gutter: 24px;
    --max: 1280px;
    --tail: polygon(0 0, 100% 0, 0 100%);

    --logo-ink: #5B5B5B;
    --logo-accent: #008BD2;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
[id] { scroll-margin-top: 84px; }
body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font: 400 18px/1.55 var(--sans);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--blue-text); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--blue-deep); }
a[href^="tel:"] { white-space: nowrap; }
p { margin: 0; text-wrap: pretty; }
h1, h2, h3 { margin: 0; font-weight: 800; letter-spacing: -0.035em; line-height: 1; text-wrap: balance; }
h2 { font-size: clamp(2.2rem, 5vw, 4.1rem); }
h3 { font-size: 1.35rem; letter-spacing: -0.02em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend { padding: 0; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -80px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; }
.skip-link:focus { top: 12px; color: #fff; }
.mono-label, .meta-line, .screen-label { font: 500 0.76rem/1.3 var(--mono); letter-spacing: 0.02em; color: var(--grey); text-transform: lowercase; }

/* ---------- Dymki (podpis marki) ---------- */

.bubble { position: relative; margin: 0; padding: 12px 16px; border-radius: 20px; font-size: 0.98rem; line-height: 1.45; }
.bubble::after { content: ''; position: absolute; bottom: -10px; width: 16px; height: 12px; background: inherit; }
.bubble--q { justify-self: end; margin-left: auto; width: fit-content; max-width: 88%; background: var(--paper-2); color: var(--ink); font-family: var(--mono); font-size: 0.86rem; border-bottom-right-radius: 0; }
.bubble--q::after { right: 0; clip-path: polygon(0 0, 100% 0, 100% 100%); }
/* odpowiedź (AI / Getso): biały tekst; tło o odcień głębsze od --blue, żeby kontrast spełniał WCAG AA (4,8:1) */
.bubble--a { max-width: 94%; background: var(--blue-bubble); color: #fff; border-bottom-left-radius: 0; margin-bottom: 10px; }
.bubble--a::after { left: 0; clip-path: var(--tail); }
.bubble--a a { color: #fff; font-weight: 600; }
.cite { display: inline-flex; align-items: center; gap: 6px; padding: 1px 9px; border-radius: 99px; background: rgba(255, 255, 255, .85); color: var(--ink); font: 500 0.72rem/1.6 var(--mono); vertical-align: 1px; white-space: nowrap; }

/* Pytanie klienta otwierające sekcję */
.q {
    position: relative; width: fit-content; max-width: min(100%, 520px); margin: 0 0 22px auto;
    padding: 12px 18px 13px; border-radius: 22px 22px 0 22px;
    background: var(--paper-2); font: 500 clamp(0.95rem, 1.4vw, 1.08rem)/1.35 var(--mono);
}
.q::after { content: ''; position: absolute; right: 0; bottom: -11px; width: 18px; height: 13px; background: inherit; clip-path: polygon(0 0, 100% 0, 100% 100%); }
.q span { display: block; margin-bottom: 2px; font-size: 0.68rem; color: var(--grey); letter-spacing: .04em; }
.q--on-blue { background: rgba(10, 26, 43, .1); }
.q--on-blue span { color: var(--ink-2); }
.q--on-ink { background: var(--ink-line); color: var(--paper); }
.q--on-ink span { color: #9DB0C3; }

/* CTA w kształcie dymka */
.btn-bubble {
    position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-height: 54px; padding: 0 28px; margin-bottom: 10px;
    border: 0; border-radius: 20px 20px 20px 0; background: var(--blue-text); color: #fff;
    font: 700 1.02rem/1 var(--sans); letter-spacing: -0.01em; text-decoration: none; cursor: pointer;
    transition: background-color .15s, translate .15s;
}
.btn-bubble::after { content: ''; position: absolute; left: 0; bottom: -10px; width: 16px; height: 12px; background: inherit; clip-path: var(--tail); }
.btn-bubble:hover { background: var(--blue-deep); color: #fff; translate: 0 -1px; }
.btn-bubble--small { min-height: 42px; padding: 0 18px; font-size: 0.94rem; margin-bottom: 8px; }
.btn-bubble--ink { background: var(--ink); }
.btn-bubble--ink:hover { background: #000; }
.text-btn { background: none; border: 0; padding: 8px 0; color: inherit; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; font-weight: 500; }

/* Pigułki wyboru (radio / checkbox) */
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pills label { position: relative; }
.pills input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.pills span {
    display: inline-flex; align-items: center; min-height: 40px; padding: 0 15px; border-radius: 14px 14px 14px 4px;
    border: 1.5px solid var(--line-2); background: transparent; font-size: 0.94rem; font-weight: 500; cursor: pointer; user-select: none;
    transition: background-color .12s, border-color .12s, color .12s;
}
.pills--mono span { font-family: var(--mono); font-size: 0.84rem; }
.pills label:hover span { border-color: var(--ink); }
.pills input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.pills input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }

/* ---------- Nagłówek ---------- */

.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--paper) 90%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-row { display: flex; align-items: center; gap: 24px; height: 74px; }
.logo { display: block; width: 104px; flex-shrink: 0; view-transition-name: logo; }
.logo svg { width: 100%; height: auto; }
.logo--small { width: 72px; view-transition-name: none; }

.nav { display: flex; align-items: center; gap: 2px; }
.nav-link { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 12px; border: 0; background: none; border-radius: 10px; color: var(--ink); text-decoration: none; font-size: 0.97rem; font-weight: 500; cursor: pointer; }
.nav-link:hover, .has-mega:focus-within > .nav-link { background: var(--paper-2); color: var(--ink); }
.nav-link span { font-family: var(--mono); font-size: .8rem; }

/* Mega menu: „most” nad odstępem pod linkiem + 250 ms zwłoki przy chowaniu, żeby menu nie znikało w drodze kursora w dół */
.mega {
    position: absolute; left: 0; right: 0; top: 74px; padding: 30px 0 34px; background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 48px -24px rgba(10, 26, 43, .28);
    visibility: hidden; opacity: 0; transform: translateY(-10px); transform-origin: top center;
    transition: opacity .18s ease .2s, transform .18s ease .2s, visibility 0s linear .38s;
}
.mega::before { content: ''; position: absolute; left: 0; right: 0; bottom: 100%; height: 20px; }
.has-mega:hover .mega, .has-mega:focus-within .mega {
    visibility: visible; opacity: 1; transform: none;
    transition: opacity .22s ease, transform .3s cubic-bezier(.2, .7, .2, 1), visibility 0s;
}
/* kolumny wjeżdżają po kolei przy otwarciu */
.mega-grid > div { opacity: 0; transform: translateY(8px); transition: opacity .18s ease .2s, transform .18s ease .2s; }
.has-mega:hover .mega-grid > div, .has-mega:focus-within .mega-grid > div { opacity: 1; transform: none; transition: opacity .3s ease, transform .35s cubic-bezier(.2, .7, .2, 1); }
.has-mega:hover .mega-grid > div:nth-child(2), .has-mega:focus-within .mega-grid > div:nth-child(2) { transition-delay: .04s; }
.has-mega:hover .mega-grid > div:nth-child(3), .has-mega:focus-within .mega-grid > div:nth-child(3) { transition-delay: .08s; }
.has-mega:hover .mega-grid > div:nth-child(4), .has-mega:focus-within .mega-grid > div:nth-child(4) { transition-delay: .12s; }
.has-mega:hover .mega-grid > div:nth-child(5), .has-mega:focus-within .mega-grid > div:nth-child(5) { transition-delay: .16s; }
.mega-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; }
.mega-grid a, .footer-grid a { display: block; padding: 5px 0; color: var(--ink); text-decoration: none; font-weight: 500; }
.mega-grid a:hover, .footer-grid a:hover { color: var(--blue-text); text-decoration: underline; }
.mega-head { margin-bottom: 10px; font-weight: 800; font-size: 1.05rem; letter-spacing: -0.02em; }
.mega-head span { font: 500 .74rem/1 var(--mono); color: var(--grey); margin-right: 4px; vertical-align: 2px; }

.header-end { display: flex; align-items: center; gap: 16px; margin-left: auto; }
.lang { display: flex; gap: 2px; font: 500 .78rem/1 var(--mono); }
.lang a { padding: 7px 7px; border-radius: 8px; color: var(--grey); text-decoration: none; }
.lang a:hover { color: var(--ink); background: var(--paper-2); }
.lang a[aria-current] { color: var(--ink); box-shadow: inset 0 -2px 0 var(--ink); border-radius: 0; }
.header-end .btn-bubble { margin-bottom: 0; }

.menu-toggle { display: none; position: static; }
.menu-toggle summary { list-style: none; display: grid; place-content: center; gap: 6px; width: 44px; height: 44px; border-radius: 12px; border: 1.5px solid var(--line-2); cursor: pointer; }
.menu-toggle summary::-webkit-details-marker { display: none; }
.menu-toggle summary span { display: block; width: 18px; height: 2px; background: var(--ink); transition: transform .2s; }
.menu-toggle[open] summary span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-toggle[open] summary span:last-child { transform: translateY(-4px) rotate(-45deg); }
.menu-panel { position: absolute; left: 0; right: 0; top: 64px; max-height: calc(100dvh - 64px); overflow: auto; padding: 16px var(--gutter) 28px; background: var(--paper); border-bottom: 1px solid var(--line); display: grid; }
.menu-panel a { padding: 11px 0; color: var(--ink); text-decoration: none; font-size: 1.15rem; font-weight: 600; border-bottom: 1px solid var(--line); }
.menu-panel hr { border: 0; height: 18px; margin: 0; }

/* ---------- Hero + demo ---------- */

.hero { padding: clamp(36px, 6vw, 72px) 0 clamp(56px, 8vw, 96px); }
.meta-line { margin-bottom: 22px; text-transform: none; }
h1 { font-weight: 900; }
.h1-kicker { display: block; margin-bottom: clamp(14px, 2vw, 22px); font-size: clamp(1.05rem, 1.7vw, 1.35rem); font-weight: 700; letter-spacing: -0.01em; color: var(--blue-text); }
.h1-big { display: block; font-size: clamp(2.4rem, 5.4vw, 4.6rem); line-height: .95; letter-spacing: -0.045em; }
.h1-sub { display: block; max-width: 38em; margin-top: clamp(20px, 3vw, 30px); font-size: clamp(1.2rem, 2.1vw, 1.6rem); font-weight: 500; line-height: 1.3; letter-spacing: -0.015em; color: var(--ink-2); }

.ask { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 20px clamp(28px, 4vw, 56px); margin-top: clamp(36px, 5vw, 60px); padding-top: 28px; border-top: 1.5px solid var(--ink); }
.ask-controls { display: grid; gap: 22px; align-content: start; }
.ask-controls legend, .ask-name > span { display: block; margin-bottom: 8px; font: 500 .76rem/1 var(--mono); color: var(--grey); }
.ask-name input {
    width: 100%; padding: 4px 0 8px; border: 0; border-bottom: 2px solid var(--ink); border-radius: 0;
    background: transparent; color: var(--ink); font: 800 clamp(1.5rem, 2.4vw, 2rem)/1.1 var(--sans); letter-spacing: -0.03em;
}
.ask-name input::placeholder { color: #A39C8F; }
.ask-name input:focus { outline: none; border-bottom-color: var(--blue); }

.ask-stage { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); grid-template-areas: "g ai" "m ai"; gap: 14px; }
.screen { position: relative; padding: 16px 18px 18px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); }
.screen-label { margin-bottom: 12px; }
.screen--google { grid-area: g; }
.screen--maps { grid-area: m; display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 14px; align-items: center; }
.screen--maps .screen-label { grid-column: 1 / -1; margin-bottom: 0; }
.screen--ai { grid-area: ai; display: grid; align-content: start; gap: 18px; background: var(--ink); border-color: var(--ink); color: var(--paper); min-height: 330px; }
.screen--ai .screen-label { color: #9DB0C3; }
.screen--ai .bubble--q { background: var(--ink-line); color: var(--paper); }

.searchbar { display: flex; align-items: center; gap: 10px; height: 38px; padding: 0 14px; margin-bottom: 14px; border: 1px solid var(--line); border-radius: 99px; font: 400 .86rem/1 var(--mono); }
.searchbar::before { content: ''; width: 11px; height: 11px; border: 2px solid var(--grey); border-radius: 50%; flex-shrink: 0; }
.result { display: grid; grid-template-columns: 28px 1fr; column-gap: 10px; min-height: 118px; }
.fav { grid-row: 1; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--paper-2); font-weight: 800; font-size: .85rem; }
.result-site { display: grid; font-size: .8rem; color: var(--ink-2); line-height: 1.3; min-width: 0; }
.result-site b { font-weight: 600; color: var(--ink); }
.result-site span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.result-title, .result-text { grid-column: 1 / -1; }
.result-title { margin: 8px 0 4px; color: #1A4FB8; font-size: 1.1rem; font-weight: 500; line-height: 1.25; letter-spacing: -0.01em; }
.result-text { font-size: .86rem; color: var(--ink-2); line-height: 1.45; }

.map { width: 120px; height: 84px; border-radius: 10px; }
.js .pin { transform-box: fill-box; transform-origin: 50% 100%; }
.pin.is-dropping { animation: pin-drop .5s cubic-bezier(.3, 1.5, .6, 1); }
@keyframes pin-drop { from { transform: translateY(-14px) scale(.7); opacity: 0; } }
.place { min-width: 0; }
.place-name { font-weight: 700; line-height: 1.2; overflow-wrap: anywhere; }
.place-meta { font-size: .84rem; color: var(--ink-2); }
.stars { color: #E8A100; letter-spacing: 1px; }


.ask-stage.is-updated .screen > *:not(.screen-label) { animation: refresh .35s ease-out; }
@keyframes refresh { from { opacity: .25; } }
.ask-foot { grid-column: 2; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.ask-foot p { flex: 1 1 260px; font-size: .9rem; color: var(--grey); }

/* ---------- Sekcje ---------- */

.section { padding-block: clamp(72px, 10vw, 136px); }
.section--last { padding-bottom: 0; }
.sec-head { display: grid; margin-bottom: clamp(36px, 5vw, 64px); }
.sec-head h2 { max-width: 15em; }
.sec-head > p:not(.q) { max-width: 34em; margin-top: 18px; font-size: 1.1rem; color: var(--ink-2); }
.sec-head--side .q { margin-left: 0; }
.sec-head--tight { margin-bottom: 0; }

/* Ścieżka 01–05 (zakładki) */
.tabs-list { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line); }
.tabs-list [role="tab"] {
    display: grid; gap: 6px; padding: 18px 12px 18px 0; border: 0; border-top: 3px solid transparent; margin-top: -2px;
    background: none; text-align: left; cursor: pointer; font-size: clamp(1rem, 1.6vw, 1.35rem); font-weight: 800; letter-spacing: -0.025em; color: var(--grey);
}
.tabs-list [role="tab"] span { font: 500 .76rem/1 var(--mono); }
.tabs-list [role="tab"]:hover { color: var(--ink); }
.tabs-list [role="tab"][aria-selected="true"] { color: var(--ink); border-top-color: var(--ink); }

.panel { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 72px); align-items: start; padding-top: clamp(28px, 4vw, 48px); }
.panel + .panel { margin-top: 56px; border-top: 1px solid var(--line); }
.js .panel + .panel { margin-top: 0; border-top: 0; }
.panel-title { display: flex; gap: 12px; align-items: baseline; margin-bottom: 16px; font-size: 2rem; }
.panel-title span { font: 500 .8rem/1 var(--mono); color: var(--grey); }
.js .panel-title { display: none; }
.panel-lead { font-size: clamp(1.25rem, 2vw, 1.6rem); line-height: 1.3; letter-spacing: -0.015em; font-weight: 500; max-width: 26em; }
.links { margin-top: 28px; border-top: 1px solid var(--line); }
.links a { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 16px; padding: 15px 0; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.links a::after { content: '→'; grid-row: 1 / 3; grid-column: 2; align-self: center; font-family: var(--mono); color: var(--grey); transition: translate .15s, color .15s; }
.links a:hover::after { translate: 4px 0; color: var(--blue-text); }
.links b { font-size: 1.12rem; font-weight: 700; letter-spacing: -0.015em; }
.links a span { font-size: .92rem; color: var(--ink-2); }
.links a:hover b { color: var(--blue-text); }
.new { display: inline-block; margin-left: 6px; padding: 2px 7px; border-radius: 8px 8px 8px 2px; background: var(--signal); color: var(--ink); font: 500 .66rem/1.3 var(--mono); font-style: normal; vertical-align: 3px; }

.artifact { margin: 0; padding: 22px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); font-family: var(--mono); font-size: .86rem; }
.artifact figcaption { margin-bottom: 14px; color: var(--grey); font-size: .74rem; }
.spec div { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 11px 0; border-bottom: 1px dashed var(--line); }
.spec div:last-child { border-bottom: 0; }
.spec dt { color: var(--grey); }
.spec dd { margin: 0; color: var(--ink); }

.ranks ol { display: grid; gap: 6px; }
.ranks li { display: flex; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 10px; background: var(--paper); }
.ranks li span { width: 18px; color: var(--grey); }
.ranks .you { background: var(--blue); color: var(--ink); font-weight: 500; }
.ranks .you span { color: var(--ink); }
.ranks em { margin-left: auto; font-style: normal; }
.panel.is-active .ranks .you { animation: climb .9s cubic-bezier(.2, .9, .3, 1) both; }
@keyframes climb { from { transform: translateY(150%); } }

.chart svg { width: 100%; height: auto; }
.panel.is-active .chart .line { stroke-dasharray: 400; animation: draw 1.2s ease-out both; }
@keyframes draw { from { stroke-dashoffset: 400; } }

.flow { display: grid; gap: 0; counter-reset: flow; }
.flow li { position: relative; padding: 0 0 18px 26px; }
.flow li::before { content: ''; position: absolute; left: 4px; top: 6px; width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--blue-text); background: var(--card); }
.flow li::after { content: ''; position: absolute; left: 9px; top: 20px; bottom: 2px; width: 2px; background: var(--line); }
.flow li:last-child { padding-bottom: 0; }
.flow li:last-child::after { display: none; }
.flow li span { display: block; color: var(--grey); font-size: .72rem; }
.flow .flow-end::before { background: var(--signal); border-color: var(--signal); }

.status li { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px dashed var(--line); }
.status li:last-child { border-bottom: 0; }
.status b { font-weight: 500; display: flex; align-items: center; gap: 10px; }
.status b::before { content: ''; width: 9px; height: 9px; border-radius: 50%; background: #1E9E57; box-shadow: 0 0 0 3px #D5F0E0; }
.status span { color: var(--ink-2); text-align: right; }

/* SEO / AEO / GEO – sekcja w kolorze dymka */
.lexicon-band { background: var(--blue); color: var(--ink); }
.lexicon-band a:not(.btn-bubble) { color: var(--ink); }
.lexicon { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.lexicon-terms { display: grid; border-top: 1.5px solid var(--ink); }
.lexicon-terms [role="tab"] {
    display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 8px clamp(18px, 3vw, 40px);
    padding: 14px 0; border: 0; border-bottom: 1.5px solid var(--ink); background: none; text-align: left; cursor: pointer; color: var(--ink);
}
.lexicon-terms b { font-size: clamp(3.4rem, 9vw, 7.4rem); font-weight: 900; line-height: .9; letter-spacing: -0.05em; }
.lexicon-terms span { font-size: 1.05rem; line-height: 1.4; max-width: 22em; }
/* Obrys liter: kontury w kroju zachodzą na siebie (poprzeczka A, ostroga G), więc sam obrys pokazuje kreski w środku liter.
   Wypełnienie w kolorze tła malowane NA obrysie (paint-order) przykrywa linie wewnętrzne – zostaje tylko zewnętrzny kontur (4px = widoczne 2px). */
.js .lexicon-terms [aria-selected="false"] b { color: var(--blue); -webkit-text-stroke: 4px var(--ink); paint-order: stroke fill; }
.lexicon-terms [role="tab"]:hover b { color: var(--ink); -webkit-text-stroke: 0; }
.lexicon-preview { display: grid; gap: 14px; position: sticky; top: 100px; }
.preview { padding: 20px; border-radius: 18px; background: var(--card); display: grid; gap: 14px; }
.serp li { padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .92rem; }
.serp li:last-child { border-bottom: 0; }
.serp b { display: block; font: 500 .78rem/1.4 var(--mono); color: var(--grey); }
.serp .you { color: #1A4FB8; font-weight: 600; }
.serp .you b { color: var(--ink); }
.answer-box { padding: 14px 16px; border-radius: 12px; background: #EEF5FB; font-size: .98rem; }
.source { font: 400 .78rem/1.4 var(--mono); color: var(--grey); }
.preview .bubble--a { margin-bottom: 10px; }
.lexicon-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: clamp(40px, 5vw, 64px); }
.lexicon-cta p { flex: 1 1 320px; max-width: 40em; }

/* Diagnoza – sekcja ciemna */
.diagnoza-band { background: var(--ink); color: var(--paper); }
.diagnoza { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.diagnoza .sec-head { margin: 0; }
.diagnoza .sec-head > p:not(.q) { color: #C7D3DF; }
.quiz { padding: clamp(22px, 3vw, 36px); border-radius: 26px 26px 26px 8px; background: var(--ink-line); min-height: 380px; }
.quiz-progress { font: 500 .76rem/1 var(--mono); color: #9DB0C3; margin-bottom: 14px; }
.quiz-question { font-size: clamp(1.5rem, 2.6vw, 2.1rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; margin-bottom: 24px; }
.quiz-question:focus { outline: none; }
.quiz-options { display: grid; gap: 10px; }
.quiz-options button {
    display: flex; justify-content: space-between; align-items: center; gap: 12px; width: 100%; min-height: 58px; padding: 0 20px;
    border: 1.5px solid #3D546B; border-radius: 16px 16px 16px 5px; background: transparent; color: var(--paper);
    font-size: 1.08rem; font-weight: 600; text-align: left; cursor: pointer; transition: background-color .12s, border-color .12s;
}
.quiz-options button::after { content: '→'; font-family: var(--mono); color: #9DB0C3; }
.quiz-options button:hover { background: #0F2438; border-color: var(--paper); }
.plan { display: grid; gap: 0; margin-bottom: 26px; counter-reset: plan; }
.plan li { display: grid; grid-template-columns: 40px 1fr; gap: 2px 8px; padding: 14px 0; border-bottom: 1px solid #3D546B; counter-increment: plan; }
.plan li::before { content: counter(plan, decimal-leading-zero); grid-row: 1 / 3; font: 500 .8rem/1.9 var(--mono); color: var(--blue); }
.plan b { font-size: 1.12rem; }
.plan span { color: #C7D3DF; font-size: .95rem; }
.quiz-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.quiz-actions .btn-bubble { background: var(--blue); color: var(--ink); }
.quiz-actions .btn-bubble:hover { background: #33A6E0; color: var(--ink); }
.quiz-actions .text-btn { color: var(--paper); }

/* Realizacje – przewijanie w poziomie */
.rail-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 40px; }
.rail-controls { display: flex; align-items: center; gap: 8px; }
.rail-count { margin-right: 10px; font: 500 .82rem/1 var(--mono); color: var(--grey); }
.rail-controls button { width: 48px; height: 48px; border-radius: 16px 16px 16px 5px; border: 1.5px solid var(--ink); background: transparent; font: 500 1.05rem/1 var(--mono); cursor: pointer; }
.rail-controls button:hover:not(:disabled) { background: var(--ink); color: var(--paper); }
.rail-controls button:disabled { opacity: .35; cursor: default; }
.rail {
    display: grid; grid-auto-flow: column; grid-auto-columns: min(78vw, 440px); gap: 20px;
    overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: max(var(--gutter), calc((100vw - var(--max)) / 2));
    padding: 0 max(var(--gutter), calc((100vw - var(--max)) / 2)) 18px; scrollbar-width: thin; scrollbar-color: var(--line-2) transparent;
}
.rail > li { scroll-snap-align: start; }
.work { display: grid; gap: 10px; color: var(--ink); text-decoration: none; }
.cover { position: relative; display: grid; place-items: end start; aspect-ratio: 4 / 3; padding: 22px; border-radius: 22px 22px 22px 6px; overflow: hidden; margin-bottom: 6px; }
.cover b { font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 900; letter-spacing: -0.045em; line-height: .95; transition: translate .25s; }
.work:hover .cover b { translate: 0 -6px; }
.work-tags { font: 500 .74rem/1 var(--mono); color: var(--grey); }
.work h3 { transition: color .15s; }
.work:hover h3 { color: var(--blue-text); }
.work p:last-child { font-size: .95rem; color: var(--ink-2); }
.cover b { position: relative; }
.cover--shot { display: block; padding: 0; aspect-ratio: 16 / 10; background: var(--paper-2); border: 1px solid var(--line); }
.cover--shot img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: scale .5s cubic-bezier(.2, .8, .2, 1); }
.work:hover .cover--shot img, .cover--shot:focus-visible img { scale: 1.035; }
.rail-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.rail-all { font-weight: 600; color: var(--ink); text-decoration: none; }
.rail-all:hover { color: var(--blue-text); text-decoration: underline; }

/* ---------- Podstrona: realizacje ---------- */

.page-hero { padding: clamp(28px, 5vw, 64px) 0 clamp(28px, 4vw, 48px); }
.page-title { font-size: clamp(2.4rem, 5.4vw, 4.6rem); font-weight: 900; letter-spacing: -0.045em; line-height: .95; }
.page-lead { max-width: 36em; margin-top: 24px; font-size: clamp(1.15rem, 1.9vw, 1.45rem); font-weight: 500; line-height: 1.35; color: var(--ink-2); }
.section--works { padding-top: clamp(40px, 5vw, 64px); }
.filter-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin-bottom: 32px; padding-top: 24px; border-top: 1.5px solid var(--ink); }
.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-bar button { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 16px; border: 1.5px solid var(--line-2); border-radius: 14px 14px 14px 4px; background: transparent; font-weight: 600; cursor: pointer; }
.filter-bar button span { font: 500 .74rem/1 var(--mono); color: var(--grey); }
.filter-bar button:hover { border-color: var(--ink); }
.filter-bar button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.filter-bar button[aria-pressed="true"] span { color: #9DB0C3; }
.works-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px 22px; }
.work-title { font-size: 1.45rem; letter-spacing: -0.025em; }
.work-link { justify-self: start; font: 500 .8rem/1.4 var(--mono); color: var(--blue-text); text-decoration: none; }
.work-link:hover { text-decoration: underline; }
.works-grid > li:target .cover { outline: 3px solid var(--blue); outline-offset: 5px; }

.next-project { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding-top: 28px; border-top: 1.5px solid var(--ink); }
.next-project h2 { max-width: 12em; }

/* FAQ jako rozmowa */
.faq-wrap { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq-wrap .sec-head { position: sticky; top: 110px; margin: 0; }
.chat-faq { display: grid; gap: 14px; align-content: start; }
.chat-faq details { will-change: transform; }
.chat-faq details { display: grid; }
.chat-faq summary {
    list-style: none; position: relative; justify-self: end; width: fit-content; max-width: 86%; margin: 0 0 10px auto;
    padding: 13px 18px; border-radius: 20px 20px 0 20px; background: var(--paper-2); cursor: pointer;
    font: 500 1rem/1.4 var(--mono); transition: background-color .15s, color .15s;
}
.chat-faq summary::-webkit-details-marker { display: none; }
.chat-faq summary::after { content: ''; position: absolute; right: 0; bottom: -10px; width: 16px; height: 12px; background: inherit; clip-path: polygon(0 0, 100% 0, 100% 100%); }
.chat-faq summary:hover { background: #DDD5C5; }
.chat-faq details[open] summary { background: var(--ink); color: var(--paper); }
.chat-faq .bubble--a { margin-top: 10px; font-size: 1.04rem; padding: 16px 20px; max-width: 90%; }
@media (prefers-reduced-motion: no-preference) {
    .chat-faq details[open] .bubble--a { animation: refresh .3s ease-out; }
    /* rotacja FAQ: pasek odlicza czas do następnego pytania; najechanie myszą wstrzymuje */
    .chat-faq.is-rotating details[open] .bubble--a::before {
        content: ''; position: absolute; left: 20px; right: 20px; bottom: 7px; height: 2px; border-radius: 2px;
        background: rgba(255, 255, 255, .6); transform-origin: left center; animation: faq-progress 7s linear forwards;
    }
    .chat-faq.is-rotating:hover details[open] .bubble--a::before { animation-play-state: paused; }
    @keyframes faq-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
}

/* Kontakt – formularz jak pole wiadomości */
.contact { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.contact h2 { font-size: clamp(2.4rem, 5.6vw, 4.6rem); }
.contact-copy > p { margin-top: 20px; font-size: 1.12rem; color: var(--ink-2); max-width: 26em; }
.contact-list { margin: 32px 0 0; display: grid; gap: 16px; }
.contact-list div { display: grid; grid-template-columns: 90px 1fr; gap: 12px; padding-top: 14px; border-top: 1px solid var(--line); }
.contact-list dt { font: 500 .76rem/1.9 var(--mono); color: var(--grey); }
.contact-list dd { margin: 0; font-weight: 600; }
.contact-list a { color: var(--ink); text-decoration: none; }
.contact-list a:hover { color: var(--blue-text); text-decoration: underline; }
.composer { display: grid; gap: 22px; padding: clamp(20px, 3vw, 32px); border-radius: 28px 28px 28px 8px; background: var(--card); border: 1px solid var(--line); }
.composer legend, .composer-row span { display: block; margin-bottom: 10px; font: 500 .76rem/1 var(--mono); color: var(--grey); }
.composer textarea { width: 100%; min-height: 150px; padding: 0; border: 0; resize: vertical; background: transparent; color: var(--ink); font: 500 1.3rem/1.4 var(--sans); letter-spacing: -0.01em; }
.composer textarea::placeholder { color: #A39C8F; }
.composer textarea:focus { outline: none; }
.composer-message { padding: 16px 0; border-block: 1px solid var(--line); }
.composer-message:focus-within { border-color: var(--blue); }
.composer-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.composer-row input { width: 100%; min-height: 48px; padding: 0 14px; border: 1.5px solid var(--line-2); border-radius: 12px; background: var(--paper); font: inherit; font-size: 1rem; color: var(--ink); }
.composer-row input:focus { outline: none; border-color: var(--blue-text); background: #fff; }
.composer-send { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.composer-send p { flex: 1 1 240px; font-size: .84rem; color: var(--grey); }
.composer.is-prefilled { box-shadow: 0 0 0 3px var(--blue); }

/* Stopka */
.site-footer { margin-top: clamp(72px, 10vw, 136px); padding: clamp(56px, 7vw, 96px) 0 28px; background: var(--ink); color: var(--paper); --logo-ink: #F4F1EA; }
.footer-big { font-size: clamp(2.4rem, 5.4vw, 4.6rem); font-weight: 900; letter-spacing: -0.045em; line-height: .95; margin-bottom: clamp(48px, 6vw, 80px); }
.footer-big span { color: var(--blue); }
.footer-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; margin: calc(-1 * clamp(24px, 3vw, 44px)) 0 clamp(48px, 6vw, 72px); }
.footer-cta .btn-bubble { margin-bottom: 10px; }
.footer-phone { font-size: clamp(1.1rem, 1.6vw, 1.35rem); font-weight: 700; color: var(--paper); text-decoration: none; }
.footer-phone:hover { color: var(--blue); }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 26px; margin: clamp(22px, 3vw, 32px) 0 clamp(36px, 5vw, 56px); }
.hero-cta .btn-bubble { margin-bottom: 10px; }
.hero-phone { color: var(--ink-2); font-size: .98rem; text-decoration: none; }
.hero-phone:hover { color: var(--blue-text); text-decoration: underline; }
.next-steps { list-style: none; margin: 22px 0 0; padding: 0; counter-reset: krok; display: grid; gap: 10px; max-width: 30em; }
.next-steps li { counter-increment: krok; position: relative; padding-left: 40px; color: var(--ink-2); line-height: 1.45; }
.next-steps li::before { content: counter(krok, decimal-leading-zero); position: absolute; left: 0; top: 0; font: 500 .78rem/1.9 var(--mono); color: var(--blue-text); }
.next-steps b { color: var(--ink); }
.price-cta { margin-top: 18px; }
.composer-done { display: grid; gap: 8px; min-height: 220px; align-content: center; text-align: center; }
.composer-done-title { font-size: 1.5rem; font-weight: 800; letter-spacing: -0.02em; color: var(--ink); }
.footer-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 28px; padding-top: 28px; border-top: 1px solid var(--ink-line); }
.footer-grid a { color: #C7D3DF; font-size: .95rem; }
.footer-grid a:hover { color: #fff; }
.site-footer .mega-head span { color: #9DB0C3; }
.footer-legal { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--ink-line); font: 400 .76rem/1.5 var(--mono); color: #9DB0C3; }
.footer-legal span:last-child { margin-left: auto; }
.footer-legal a { color: #C7D3DF; }

/* ---------- Ruch: pojawianie się przy przewijaniu (tylko wsparcie + zgoda na ruch) ---------- */

@media (prefers-reduced-motion: no-preference) {
    @supports (animation-timeline: view()) {
        [data-reveal] { animation: reveal linear both; animation-timeline: view(); animation-range: entry 0% cover 28%; }
        @keyframes reveal { from { opacity: 0; translate: 0 28px; } }
    }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
    @view-transition { navigation: none; }
}

/* ---------- Responsywność ---------- */

@media (max-width: 1100px) {
    .nav, .lang { display: none; }
    .menu-toggle { display: block; }
    .header-row { height: 64px; }
    .ask { grid-template-columns: 1fr; }
    .ask-foot { grid-column: 1; }
    .panel, .lexicon, .diagnoza, .faq-wrap, .contact { grid-template-columns: 1fr; }
    .works-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .lexicon-preview, .faq-wrap .sec-head { position: static; }
    .footer-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 720px) {
    :root { --gutter: 16px; }
    body { font-size: 16.5px; }
    .logo { width: 88px; }
    .header-end { gap: 10px; }
    .ask-stage { grid-template-columns: 1fr; grid-template-areas: "g" "ai" "m"; }
    .screen--ai { min-height: 290px; }
    .tabs-list { grid-template-columns: repeat(5, minmax(108px, 1fr)); overflow-x: auto; scrollbar-width: none; }
    .tabs-list::-webkit-scrollbar { display: none; }
    .tabs-list [role="tab"] { font-size: 1rem; }
    .lexicon-terms [role="tab"] { grid-template-columns: 1fr; }
    .spec div { grid-template-columns: 1fr; gap: 2px; }
    .composer-row { grid-template-columns: 1fr; }
    .chat-faq summary, .chat-faq .bubble--a { max-width: 100%; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-legal span:last-child { margin-left: 0; }
    .q { margin-left: 0; }
    .works-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   Podstrony (generowane przez build.py)
   ========================================================= */

.crumbs { margin-bottom: 28px; font: 500 .74rem/1.4 var(--mono); color: var(--grey); text-transform: lowercase; }
.crumbs a { color: var(--grey); text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.crumbs [aria-current] { color: var(--ink); }
.q--left { margin-left: 0; margin-right: auto; }
.todo { display: inline-block; padding: 1px 8px; border: 1px dashed var(--grey); border-radius: 6px; font: 500 .72rem/1.5 var(--mono); color: var(--grey); white-space: nowrap; vertical-align: 1px; }
.notice { display: inline-block; margin-top: 20px; padding: 8px 12px; border: 1px dashed var(--line-2); border-radius: 10px; font: 500 .78rem/1.4 var(--mono); color: var(--grey); }
.text-link { font-weight: 600; color: var(--ink); text-underline-offset: 4px; }
.text-link:hover { color: var(--blue-text); }

/* Hero usługi */
.svc-hero { padding: clamp(28px, 4vw, 48px) 0 clamp(48px, 6vw, 80px); }
.svc-hero-grid { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: clamp(28px, 5vw, 72px); align-items: end; }
.svc-title { font-size: clamp(2.1rem, 3.8vw, 3.3rem); font-weight: 900; letter-spacing: -0.04em; line-height: 1; max-width: 17em; }
.svc-lead { max-width: 38em; margin-top: 24px; font-size: clamp(1.12rem, 1.6vw, 1.32rem); line-height: 1.5; color: var(--ink-2); }
.svc-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 30px; }
.svc-cta .btn-bubble { margin-bottom: 10px; }
.skrot { padding: 22px 22px 18px; border-radius: 22px 22px 22px 6px; background: var(--card); border: 1px solid var(--line); }
.skrot ul { list-style: none; margin: 12px 0 0; padding: 0; }
.skrot li { position: relative; padding: 10px 0 10px 26px; border-bottom: 1px dashed var(--line); font-size: .98rem; line-height: 1.4; }
.skrot li:last-child { border-bottom: 0; }
.skrot li::before { content: '→'; position: absolute; left: 0; top: 10px; font-family: var(--mono); color: var(--blue-text); }
.skrot-step { display: flex; align-items: center; gap: 8px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); font-weight: 700; }
.skrot-step span { font: 500 .74rem/1 var(--mono); color: var(--grey); }

/* Sekcje usług */
.section--tight { padding-block: clamp(36px, 4.5vw, 60px); }
.section--tight > .wrap { padding-top: 26px; border-top: 1.5px solid var(--ink); }
/* Sekcja ma już linię u góry – listy obok nagłówka nie dostają drugiej. */
.section--tight .svc-split > :is(.rows, .checklist, .links), .pillar > .links { border-top: 0; }
.svc-split { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 20px clamp(28px, 5vw, 72px); align-items: start; }
.svc-h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); letter-spacing: -0.035em; }
.svc-h2--top { margin-bottom: 26px; }
.svc-note { margin-top: 12px; font-size: .95rem; color: var(--ink-2); max-width: 24em; }
.links--plain { margin-top: 0; }
.rows { list-style: none; margin: 0; padding: 0; counter-reset: row; border-top: 1px solid var(--line); }
.rows li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 2px 12px; padding: 16px 0; border-bottom: 1px solid var(--line); counter-increment: row; }
.rows li::before { content: counter(row, decimal-leading-zero); grid-row: 1 / 3; font: 500 .8rem/1.9 var(--mono); color: var(--blue-text); }
.rows b, .rows h3 { margin: 0; font-size: 1.14rem; font-weight: 700; letter-spacing: -0.015em; line-height: 1.35; }
.rows span, .rows p { margin: 0; color: var(--ink-2); }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28px; border-top: 1px solid var(--line); }
.checklist li { position: relative; padding: 14px 0 14px 34px; border-bottom: 1px solid var(--line); line-height: 1.45; }
.checklist li::before { content: ''; position: absolute; left: 0; top: 15px; width: 20px; height: 20px; border-radius: 8px 8px 8px 3px; background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.6 2.6L14 7.6' fill='none' stroke='%23FFFFFF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; counter-reset: step; }
.steps li { display: grid; gap: 8px; align-content: start; padding-top: 16px; border-top: 3px solid var(--blue); counter-increment: step; }
.steps li::before { content: counter(step, decimal-leading-zero); font: 500 .8rem/1 var(--mono); color: var(--grey); }
.steps b, .steps h3 { margin: 0; font-size: 1.18rem; font-weight: 700; letter-spacing: -0.015em; line-height: 1.3; }
.steps span, .steps p { margin: 0; color: var(--ink-2); font-size: .97rem; }
.svc-text { max-width: 44em; font-size: 1.06rem; line-height: 1.7; color: var(--ink-2); }
.svc-text p + p { margin-top: .9em; }
.svc-text p:first-child { font-size: 1.14rem; line-height: 1.6; color: var(--ink); font-weight: 500; }
.svc-h3 { margin: 26px 0 8px; font-size: 1rem; font-weight: 800; letter-spacing: -0.01em; }
.factors { list-style: none; margin: 0; padding: 0; font-size: .93rem; color: var(--ink-2); }
.factors li { position: relative; padding: 5px 0 5px 18px; line-height: 1.4; }
.factors li::before { content: '→'; position: absolute; left: 0; font-family: var(--mono); color: var(--blue-text); }
.price-table { width: 100%; table-layout: fixed; border-collapse: collapse; font-size: .98rem; }
.price-table .c-variant { width: 32%; } .price-table .c-scope { width: 48%; } .price-table .c-price { width: 20%; }
.price-table th, .price-table td { padding: 14px 12px 14px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.price-table thead th { font: 500 .72rem/1.3 var(--mono); color: var(--grey); text-transform: lowercase; border-bottom: 1.5px solid var(--ink); }
.price-table tbody th { font-weight: 700; }
.price-table td:last-child { white-space: nowrap; }
.price-table a { color: var(--ink); }
.price-table .price b { display: block; font-weight: 800; letter-spacing: -0.01em; white-space: nowrap; }
.price-table .price small { display: block; margin-top: 2px; font: 400 .74rem/1.3 var(--mono); color: var(--grey); }
.rate { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 6px; margin-top: 18px; padding: 10px 16px; border-radius: 16px 16px 16px 0; background: var(--ink); color: var(--paper); font: 400 .86rem/1.4 var(--mono); }
.rate b { font: 800 1.15rem/1 var(--sans); letter-spacing: -0.01em; }
.svc-meta { display: flex; flex-wrap: wrap; gap: 8px 28px; font: 400 .8rem/1.6 var(--mono); color: var(--grey); }
.section--tight > .svc-meta { border-top-width: 1px; border-top-color: var(--line); }

/* Pas z wezwaniem do kontaktu (przed stopką) */
.cta-band { background: var(--ink); color: var(--paper); padding: clamp(40px, 6vw, 72px) 0; }
.cta-band-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; }
.cta-band-title { flex: 1 1 380px; font-size: clamp(1.7rem, 3.2vw, 2.8rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1.05; }
.cta-band .btn-bubble { margin-bottom: 10px; }
.btn-bubble--blue { background: var(--blue); color: var(--ink); }
.btn-bubble--blue:hover { background: #33A6E0; color: var(--ink); }
.cta-band-phone { font: 500 1rem/1 var(--mono); color: var(--paper); text-decoration: none; }
.cta-band-phone:hover { color: var(--blue); }
main:has(> .cta-band:last-child) + .site-footer { margin-top: 0; border-top: 1px solid var(--ink-line); }

/* Przegląd usług, cennik */
.pillars { padding-bottom: clamp(48px, 6vw, 96px); }
.pillar { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 20px clamp(28px, 5vw, 72px); padding: 32px 0 40px; border-top: 1.5px solid var(--ink); }
.pillar-num { font: 500 .8rem/1 var(--mono); color: var(--grey); margin-bottom: 10px; }
.pillar h2 { font-size: clamp(2rem, 4vw, 3.2rem); margin-bottom: 14px; }
.pillar-head p:last-child { color: var(--ink-2); max-width: 28em; }
.price-groups { padding: clamp(24px, 3vw, 40px) 0 0; }
.price-group { margin-bottom: 56px; }
.price-group h2 { margin-bottom: 14px; font-size: clamp(1.6rem, 2.8vw, 2.2rem); }
.price-group h2 span { font: 500 .8rem/1 var(--mono); color: var(--grey); vertical-align: 6px; }

/* O nas, kontakt, strony prawne */
.page-title--small { font-size: clamp(2.1rem, 4vw, 3.4rem); }
.facts-list { margin: 0; border-top: 1px solid var(--line); }
.facts-list div { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.facts-list dt { font: 500 .76rem/1.9 var(--mono); color: var(--grey); }
.facts-list dd { margin: 0; font-weight: 600; }
.prose { max-width: 42em; }
.prose p + p { margin-top: 1em; }
/* Dokumenty prawne: czytelna kolumna, numeracja punktów i podpunktów jak w oryginale */
.legal { max-width: 46em; font-size: 1.02rem; line-height: 1.7; color: var(--ink-2); }
.legal h2 { margin: 2.2em 0 .8em; padding-top: 18px; border-top: 1.5px solid var(--ink); font-size: clamp(1.35rem, 2.2vw, 1.7rem); letter-spacing: -0.03em; color: var(--ink); scroll-margin-top: 90px; }
.legal h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.legal ol { margin: 0; padding-left: 1.6em; list-style: decimal; }
.legal li { margin: .55em 0; padding-left: .2em; }
.legal li::marker { font: 500 .85rem var(--mono); color: var(--blue-text); }
.legal ol ol { margin-top: .4em; }
.legal ol ol li { margin: .3em 0; }
.legal a { color: var(--blue-text); overflow-wrap: anywhere; }
.section--last { padding-bottom: clamp(48px, 6vw, 96px); }
/* Mapa Google (kontakt): miejsce zarezerwowane, iframe po zgodzie lub kliknięciu. */
.map-embed { position: relative; aspect-ratio: 16 / 7; min-height: 320px; overflow: hidden; border: 1px solid var(--line); border-radius: 22px 22px 22px 6px; background: var(--paper-2); }
.map-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-fallback { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 10px; padding: 24px; text-align: center; }
.map-fallback p { margin: 0; }
.map-fallback-illu { width: 150px; }
.map-fallback-illu svg { display: block; width: 100%; height: auto; }
.map-note { max-width: 30em; font-size: .85rem; color: var(--grey); }
@media (max-width: 640px) { .map-embed { aspect-ratio: 4 / 5; } }
/* Opinie: miejsce na widżet SociableKIT – zarezerwowana wysokość, żeby nic nie skakało przy wczytaniu. */
.reviews-embed { min-height: 320px; }
.reviews-placeholder { display: grid; place-items: center; min-height: 320px; margin: 0; padding: 24px; border: 1.5px dashed var(--line); border-radius: 22px 22px 22px 6px; font: 500 .85rem/1.5 var(--mono); color: var(--grey); text-align: center; }

/* Słownik */
.letters { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 28px; }
.letters a { display: grid; place-items: center; min-width: 38px; height: 38px; border: 1.5px solid var(--line-2); border-radius: 12px 12px 12px 4px; font: 500 .9rem/1 var(--mono); color: var(--ink); text-decoration: none; }
.letters a:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.glossary { margin: 0; }
.term { position: relative; display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 8px clamp(24px, 4vw, 56px); padding: 22px 0; border-bottom: 1px solid var(--line); }
.term:target { background: linear-gradient(90deg, var(--paper-2), transparent); }
.term dt { font-size: 1.25rem; font-weight: 800; letter-spacing: -0.02em; }
.term dd { margin: 0; display: grid; gap: 8px; justify-items: start; }
.term dd a { font: 500 .8rem/1.4 var(--mono); color: var(--blue-text); text-decoration: none; }
.term dd a:hover { text-decoration: underline; }
.letter-anchor { position: absolute; top: 0; left: 0; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }

/* Blog: lista */
.posts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.post-card { display: grid; gap: 12px; align-content: start; height: 100%; padding: 24px 22px; border-radius: 22px 22px 22px 6px; background: var(--card); border: 1px solid var(--line); color: var(--ink); text-decoration: none; }
a.post-card:hover { border-color: var(--ink); color: var(--ink); }
.post-card h2 { font-size: 1.32rem; line-height: 1.2; letter-spacing: -0.02em; }
.post-card p { font-size: .95rem; color: var(--ink-2); }
.post-card--soon { background: transparent; border-style: dashed; }
.post-card--soon h2 { color: var(--ink-2); }
.post-cat { font: 500 .74rem/1.3 var(--mono); color: var(--blue-text); text-transform: lowercase; }
.post-date { font: 400 .76rem/1.3 var(--mono); color: var(--grey); }

/* Blog: wpis */
.post-head { padding: clamp(28px, 4vw, 48px) 0 clamp(32px, 4vw, 48px); }
.post-title { max-width: 18em; margin: 12px 0 18px; font-size: clamp(2.1rem, 3.8vw, 3.3rem); font-weight: 900; letter-spacing: -0.04em; line-height: 1; }
.post-meta { font: 400 .8rem/1.6 var(--mono); color: var(--grey); }
.post-grid { display: grid; grid-template-columns: 250px minmax(0, 720px); gap: clamp(32px, 6vw, 96px); padding-top: 32px; padding-bottom: clamp(56px, 7vw, 96px); border-top: 1.5px solid var(--ink); }
.post-grid > .post-body { grid-column: 2; grid-row: 1; }
.post-grid > .post-side { grid-column: 1; grid-row: 1; }
.toc { position: sticky; top: 100px; }
.toc--inline { display: none; position: static; margin: 0 0 1.6em; padding: 4px 18px; border: 1px solid var(--line); border-radius: 18px 18px 18px 6px; background: var(--card); }
.toc--inline summary { display: flex; align-items: center; gap: 10px; padding: 12px 0; cursor: pointer; list-style: none; font: 500 .8rem/1.3 var(--mono); text-transform: lowercase; }
.toc--inline summary::-webkit-details-marker { display: none; }
.toc--inline summary::after { content: '+'; margin-left: auto; font-size: 1.1rem; }
.toc--inline[open] summary::after { content: '−'; }
.toc--inline summary span { padding: 2px 7px; border-radius: 8px; background: var(--paper-2); color: var(--grey); }
.toc--inline ol { margin: 0 0 12px; }
.toc--inline li:last-child a { border-bottom: 0; }
.toc ol { list-style: none; margin: 12px 0 0; padding: 0; counter-reset: toc; }
.toc li { counter-increment: toc; }
.toc a { display: grid; grid-template-columns: 28px 1fr; padding: 7px 0; font-size: .92rem; line-height: 1.35; color: var(--ink-2); text-decoration: none; border-bottom: 1px solid var(--line); }
.toc a::before { content: counter(toc, decimal-leading-zero); font: 500 .72rem/1.7 var(--mono); color: var(--grey); }
.toc a:hover { color: var(--ink); }
.toc a, .toc a::before { transition: color .2s ease; }
.toc a[aria-current], .toc a[aria-current]::before { color: var(--blue-text); }
.post-body { font-size: 1.1rem; line-height: 1.7; }
.post-body > .skrot + p { font-size: clamp(1.18rem, 1.8vw, 1.32rem); line-height: 1.55; font-weight: 500; color: var(--ink); }
.post-body p { margin: 0 0 1em; }
.post-body h2 { margin: 2.1em 0 .6em; font-size: clamp(1.6rem, 2.8vw, 2.1rem); letter-spacing: -0.035em; scroll-margin-top: 90px; }
.post-body > ul, .post-body > ol { margin: 0 0 1.2em; padding-left: 1.3em; }
.post-body > ul { list-style: disc; }
.post-body > ol { list-style: decimal; }
.post-body > ul > li, .post-body > ol > li { margin: .4em 0; }
.post-body > ul > li::marker, .post-body > ol > li::marker { color: var(--blue-text); font-family: var(--mono); }
.post-body strong { font-weight: 700; }
.skrot--post { margin-bottom: 30px; }
.table-wrap { overflow-x: auto; margin: 0 0 1.4em; }
.post-table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: .95rem; line-height: 1.45; }
.post-table th, .post-table td { padding: 12px 12px 12px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.post-table thead th { font: 500 .74rem/1.3 var(--mono); color: var(--grey); border-bottom: 1.5px solid var(--ink); }
.post-table tbody th { font-weight: 700; }
.service-box { margin: 2em 0; padding: 26px; border-radius: 26px 26px 26px 0; background: var(--blue-bubble); color: #fff; }
.service-box .mono-label { color: #CDE8F8; }
.service-box a:not(.btn-bubble) { color: #fff; }
.service-box-title { margin: 6px 0 8px; font-size: 1.5rem; font-weight: 800; letter-spacing: -0.03em; }
.service-box p { margin-bottom: 16px; font-size: 1rem; }
.service-box .btn-bubble { background: var(--ink); }
.post-note { font: 400 .82rem/1.6 var(--mono); color: var(--grey); }
.post-faq h2 { margin-bottom: 20px; }
.post-related { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); }
.term-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 0; padding: 0; }
.term-chips a { display: inline-block; padding: 7px 12px; border: 1.5px solid var(--line-2); border-radius: 12px 12px 12px 4px; font-size: .9rem; font-weight: 600; color: var(--ink); text-decoration: none; }
.term-chips a:hover { border-color: var(--ink); }

@media (max-width: 1100px) {
    .svc-hero-grid, .svc-split, .pillar, .post-grid, .term { grid-template-columns: 1fr; }
    .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .posts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .post-grid > .post-body, .post-grid > .post-side { grid-column: auto; grid-row: auto; }
    .post-side { display: none; }
    .toc--inline { display: block; }
}
@media (max-width: 720px) {
    .checklist, .steps, .posts { grid-template-columns: 1fr; }
    .svc-title, .post-title { font-size: clamp(1.85rem, 7.6vw, 2.3rem); }
    .price-table td:last-child { white-space: normal; }
}

/* Elementy siatek nie mogą rozpychać kolumn (szerokie tabele przewijają się w swoim kontenerze) */
.svc-split > *, .svc-hero-grid > *, .post-grid > *, .pillar > *, .term > *, .faq-wrap > *, .contact > * { min-width: 0; }

/* Tabele cen na telefonie: wiersz = wariant + cena w linii, zakres pod spodem (bez przewijania w bok) */
@media (max-width: 640px) {
    .price-table, .price-table tbody { display: block; }
    .price-table thead, .price-table colgroup { display: none; }
    .price-table tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
    .price-table th, .price-table td { padding: 0; border: 0; }
    .price-table td:last-child { grid-column: 2; grid-row: 1; text-align: right; }
    .price-table td:not(:last-child) { grid-column: 1 / -1; color: var(--ink-2); font-size: .95rem; }
        }

/* Pasek zgody na cookies – przypięty do dołu (bez przesuwania treści), równorzędne przyciski */
.consent { position: fixed; z-index: 60; left: 16px; right: 16px; bottom: 16px; max-width: 760px; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; padding: 16px 18px; border-radius: 20px 20px 20px 0; background: var(--ink); color: var(--paper); box-shadow: 0 10px 30px rgba(10, 26, 43, .25); font-size: .93rem; line-height: 1.45; }
.consent p { flex: 1 1 320px; margin: 0; }
.consent a { color: #9FD3F2; }
.consent-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.consent-btn { min-height: 42px; padding: 0 16px; border-radius: 14px; border: 1.5px solid var(--blue); background: transparent; color: var(--paper); font: 700 .92rem/1 var(--sans); cursor: pointer; }
.consent-btn:hover { border-color: var(--paper); }
.link-button { padding: 0; border: 0; background: none; color: #C7D3DF; font: inherit; text-decoration: underline; cursor: pointer; }

/* Blog: okładka, obrazki w treści, miniatury na liście */
.post-cover { margin: clamp(22px, 3vw, 32px) 0 0; max-width: min(100%, var(--w), 1040px); }
.post-cover img, .post-figure img { display: block; width: 100%; height: auto; border-radius: 22px 22px 22px 0; background: var(--paper-2); }
.post-figure { margin: 1.8em 0; max-width: min(100%, var(--w)); }
.post-figure figcaption, .post-cover figcaption { margin-top: 10px; font: 400 .8rem/1.5 var(--mono); color: var(--grey); }
.post-thumb { display: block; margin: -24px -22px 4px; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 22px 22px 0 0; background: var(--paper-2); }
.post-thumb img { width: 100%; height: 100%; object-fit: cover; transition: scale .3s ease; }
a.post-card:hover .post-thumb img { scale: 1.03; }

.nda-note { max-width: 44em; margin-top: 18px; padding: 14px 18px; border-left: 3px solid var(--blue); background: var(--card); border-radius: 0 16px 16px 0; color: var(--ink-2); font-size: .98rem; line-height: 1.5; }
.nda-note b { color: var(--ink); }
.rows--plain { counter-reset: none; }
.rows--plain li { grid-template-columns: minmax(0, 1fr); }
.rows--plain li::before { content: none; }
.rows a { color: var(--blue-text); }
.post-banner { margin: clamp(22px, 3vw, 32px) 0 0; }
.post-banner img { display: block; width: 100%; height: auto; border-radius: 22px 22px 22px 0; }

/* Ilustracje usług (inline SVG) – animacje tylko gdy widoczne i przy zgodzie na ruch (skill getso-ilustracje) */
.illu { margin-top: 22px; max-width: 420px; }
.illu--small { max-width: 300px; }
.illu-svg { display: block; width: 100%; height: auto; }
.section--band { background: var(--card); border-block: 1px solid var(--line); }
@media (max-width: 1100px) { .illu { max-width: 360px; } }
@media (prefers-reduced-motion: no-preference) {
    .illu .a-float, .illu .a-bob, .illu .a-pop, .illu .a-beat, .illu .a-grow, .illu .a-rise, .illu .a-scan { transform-box: fill-box; transform-origin: center; }
    .illu .a-bob, .illu .a-grow { transform-origin: 50% 100%; }
    .illu.is-visible .a-float { animation: illu-float 4s ease-in-out infinite; }
    .illu.is-visible .a-bob { animation: illu-bob 2.4s ease-in-out infinite; }
    .illu.is-visible .a-pop { animation: illu-pop 3.2s ease-in-out infinite; }
    .illu.is-visible .a-beat { animation: illu-beat 1.6s ease-in-out infinite; }
    .illu.is-visible .a-blink { animation: illu-blink 2.4s ease-in-out infinite; }
    .illu.is-visible .a-flow { animation: illu-flow 1.4s linear infinite; }
    .illu.is-visible .a-grow { animation: illu-grow 3.6s ease-in-out infinite; }
    .illu.is-visible .a-rise { animation: illu-rise 2.2s ease-in-out infinite; }
    .illu.is-visible .a-scan { animation: illu-scan 5s ease-in-out infinite; }
}
@keyframes illu-float { 50% { transform: translateY(-7px); } }
@keyframes illu-bob { 0%, 100% { transform: translateY(0); } 40% { transform: translateY(-14px); } 55% { transform: translateY(0) scaleY(.94); } 65% { transform: translateY(0); } }
@keyframes illu-pop { 0%, 70%, 100% { transform: scale(1); } 80% { transform: scale(1.12); } 90% { transform: scale(.97); } }
@keyframes illu-beat { 0%, 60%, 100% { transform: scale(1); } 20% { transform: scale(1.25); } 40% { transform: scale(1.05); } }
@keyframes illu-blink { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
@keyframes illu-flow { to { stroke-dashoffset: -24; } }
@keyframes illu-grow { 0% { transform: scaleY(.35); } 35%, 80% { transform: scaleY(1); } 100% { transform: scaleY(.35); } }
@keyframes illu-rise { 0%, 100% { transform: translateY(4px); opacity: .7; } 50% { transform: translateY(-6px); opacity: 1; } }
@keyframes illu-scan { 0%, 100% { transform: translate(0, 0); } 33% { transform: translate(-150px, -110px); } 66% { transform: translate(-150px, -40px); } }

/* Formularz kontaktowy (Laravel): komunikat, gdy brakuje kontaktu albo coś się nie zgadza. */
.composer-error { margin: 0 0 14px; padding: 10px 14px; border-radius: 14px 14px 14px 4px; background: #FDECEA; color: #8A1C12; font-weight: 600; }
