/* =========================================================================
   podstrony.css — wspólne style podstron SEO (usługi, cennik, realizacje,
   poradniki). Ładowany ZA style.css: korzysta z jego tokenów (:root),
   nagłówka (#header), menu mobilnego, .faq-item, .glow-button, .section-eyebrow
   i akcentów .highlight-italic*. Niczego ze strony głównej tu nie nadpisujemy
   poza zakresem body.sub.

   Zasada animacji (jak na stronie głównej): stan spoczynkowy = treść widoczna.
   Ukrywanie przed wejściem żyje WYŁĄCZNIE pod html.js, a podstrony.js ma
   failsafe, który po 2,5 s odsłania wszystko, co jeszcze stoi ukryte.
   ========================================================================= */

body.sub {
    --wrap: 1180px;
    --gut: clamp(16px, 4vw, 40px);
    --line: rgba(255, 255, 255, 0.08);
    --line-2: rgba(255, 255, 255, 0.14);
    --glass: linear-gradient(160deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012));
    --warm: var(--color-primary);
    --cool: var(--color-secondary);
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    overflow-x: clip;
}

/* style.css ogranicza <main> do 1200 px z marginesem 60 px — na podstronach sekcje idą od krawędzi do krawędzi, a szerokość treści trzyma .wrap */
body.sub main { display: block; max-width: none; margin: 0; padding: 0; z-index: auto; }

.wrap {
    width: 100%;
    max-width: var(--wrap);
    margin: 0 auto;
    padding: 0 var(--gut);
}

.wrap--narrow { max-width: 860px; }

.visually-hidden {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0);
    white-space: nowrap; border: 0;
}

/* ---------- nagłówek podstron (markup ze style.css, tu tylko dopasowania) ---------- */
body.sub a.logo-container { text-decoration: none; }
/* odstępy, panel „Oferta” i menu mobilne są wspólne ze stroną główną — style.css, blok NAWIGACJA */
body.sub .nav-center a.is-current { color: #f2f0ec; }
body.sub .nav-center a.is-current::after { transform: scaleX(1); }

/* pasek postępu czytania — cienka linia pod nagłówkiem */
.read-progress {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: 2px;
    z-index: 1001;
    transform-origin: 0 50%;
    transform: scaleX(var(--p, 0));
    background: linear-gradient(90deg, var(--warm), #e3a77c);
    pointer-events: none;
}

/* ---------- okruszki ---------- */
.crumbs {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    margin: 0 0 28px;
}
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 10px; margin: 0; padding: 0; }
.crumbs li { display: inline-flex; align-items: center; gap: 10px; }
.crumbs li + li::before { content: "/"; opacity: 0.4; }
.crumbs a { color: inherit; text-decoration: none; transition: color 0.25s; }
.crumbs a:hover { color: #f2f0ec; }
.crumbs [aria-current] { color: #f2f0ec; }

/* ---------- hero podstron ---------- */
.sub-hero {
    position: relative;
    padding: calc(84px + clamp(48px, 9vw, 110px)) 0 clamp(56px, 8vw, 96px);
    isolation: isolate;
}
.sub-hero--center { text-align: center; }
.sub-hero--center .crumbs ol { justify-content: center; }
.sub-hero--center .sub-lead { margin-left: auto; margin-right: auto; }
.sub-hero--center .sub-actions { justify-content: center; }


.sub-h1 {
    font-size: clamp(2.35rem, 6.2vw, 5rem);
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: #f2f0ec;
    margin: 0 0 26px;
    max-width: 17ch;
    text-wrap: balance;
}
.sub-hero--center .sub-h1 { margin-left: auto; margin-right: auto; }
.sub-h1 .highlight-italicorange { color: var(--warm); }
.sub-h1 .highlight-italicblue { color: var(--cool); }

.sub-lead {
    font-size: clamp(1.05rem, 1.6vw, 1.25rem);
    line-height: 1.6;
    color: rgba(242, 240, 236, 0.72);
    max-width: 60ch;
    margin: 0 0 34px;
}

.sub-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.sub-actions .glow-button { font: inherit; font-weight: 600; }
.sub-actions .btn-backdrop { background: var(--warm); }

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #f2f0ec;
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid rgba(242, 240, 236, 0.25);
    padding-bottom: 3px;
    transition: border-color 0.3s, gap 0.3s var(--ease-out);
}
.link-arrow:hover { border-color: var(--warm); gap: 12px; }
.link-arrow svg { width: 15px; height: 15px; }

/* metadane w hero — monospace, kreski między polami */
.meta-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 0;
    margin-top: clamp(40px, 6vw, 64px);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}
.meta-row > div { padding: 18px 20px 18px 0; }
.meta-row > div + div { padding-left: 20px; border-left: 1px solid var(--line); }
.meta-row dt {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    margin-bottom: 6px;
}
.meta-row dd { margin: 0; color: #f2f0ec; font-size: 0.98rem; line-height: 1.4; }
.meta-row dd a { color: var(--warm); text-decoration: none; }
.meta-row dd a:hover { text-decoration: underline; }
@media (max-width: 640px) {
    .meta-row { grid-template-columns: 1fr 1fr; }
    .meta-row > div:nth-child(odd) { border-left: 0; padding-left: 0; }
    .meta-row > div:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* ---------- wejście treści hero (raz, przy załadowaniu) ---------- */
html.js .sub-hero .crumbs,
html.js .sub-hero .sub-h1,
html.js .sub-hero .sub-lead,
html.js .sub-hero .sub-actions,
html.js .sub-hero .meta-row,
html.js .sub-hero .hero-stage {
    animation: subIn 1s var(--ease-out) both;
}
html.js .sub-hero .sub-h1 { animation-name: subInClip; animation-duration: 1.15s; animation-delay: 0.12s; }
html.js .sub-hero .sub-lead { animation-delay: 0.3s; }
html.js .sub-hero .sub-actions { animation-delay: 0.42s; }
html.js .sub-hero .meta-row { animation-delay: 0.52s; }
html.js .sub-hero .hero-stage { animation-delay: 0.36s; animation-duration: 1.3s; }
@keyframes subIn {
    from { opacity: 0; transform: translateY(26px); }
    to { opacity: 1; transform: none; }
}
@keyframes subInClip {
    from { opacity: 0; transform: translateY(34px); clip-path: inset(0 0 100% 0); }
    to { opacity: 1; transform: none; clip-path: inset(-10% -5% -20% -5%); }
}


/* ---------- sekcje ---------- */
.sec { position: relative; padding: clamp(72px, 10vw, 128px) 0; }
.sec--tight { padding: clamp(48px, 7vw, 80px) 0; }
.sec--line { border-top: 1px solid var(--line); }
.sec--panel {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.022), rgba(255, 255, 255, 0));
    border-top: 1px solid var(--line);
}

.sec-head { max-width: 760px; margin: 0 0 clamp(36px, 5vw, 60px); }
.sec-head--center { text-align: center; margin-left: auto; margin-right: auto; }
.sec-num {
    display: flex;
    align-items: center;
    gap: 14px;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    margin: 0 0 18px;
}
.sec-num::before { content: ""; width: 28px; height: 1px; background: var(--warm); }
.sec-head--center .sec-num { justify-content: center; }

.h2 {
    font-size: clamp(1.9rem, 4.2vw, 3.1rem);
    font-weight: 600;
    line-height: 1.14;
    letter-spacing: -0.025em;
    color: #f2f0ec;
    margin: 0 0 18px;
    text-wrap: balance;
}
.h2 .highlight-italicorange { color: var(--warm); }
.h2 .highlight-italicblue { color: var(--cool); }
.h2 .highlight-italic { color: var(--color-text-muted); }
.sec-head p, .sec-lead {
    font-size: 1.08rem;
    color: var(--color-text-muted);
    line-height: 1.65;
    margin: 0;
}

.h3 {
    font-size: clamp(1.2rem, 2vw, 1.45rem);
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.25;
    color: #f2f0ec;
    margin: 0 0 12px;
}

/* ---------- treść ciągła (poradniki, opisy) ---------- */
.prose { color: rgba(242, 240, 236, 0.78); font-size: 1.06rem; line-height: 1.75; }
.prose > * { max-width: 68ch; }
.prose p { margin: 0 0 1.15em; }
.prose h2 {
    font-size: clamp(1.55rem, 3vw, 2.1rem);
    line-height: 1.15;
    letter-spacing: -0.025em;
    color: #f2f0ec;
    font-weight: 600;
    margin: 2.2em 0 0.7em;
    scroll-margin-top: 96px;
}
.prose h3 { font-size: 1.22rem; color: #f2f0ec; font-weight: 600; margin: 1.8em 0 0.5em; letter-spacing: -0.015em; }
.prose a { color: var(--warm); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.prose a:hover { text-decoration-thickness: 2px; }
.prose strong { color: #f2f0ec; font-weight: 600; }
.prose ul, .prose ol { padding-left: 1.2em; margin: 0 0 1.3em; }
.prose li { margin: 0.4em 0; }
.prose li::marker { color: var(--warm); }
.prose blockquote {
    margin: 1.8em 0;
    padding: 6px 0 6px 22px;
    border-left: 2px solid var(--warm);
    color: #f2f0ec;
    font-size: 1.12rem;
}
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2.4em 0; }

/* tabela porównawcza */
.table-wrap { overflow-x: auto; margin: 1.6em 0 2em; border: 1px solid var(--line); border-radius: 16px; max-width: 100%; }
.cmp-table { width: 100%; border-collapse: collapse; font-size: 0.95rem; min-width: 560px; }
.cmp-table th, .cmp-table td { padding: 14px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.cmp-table thead th {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    font-weight: 400;
    background: rgba(255, 255, 255, 0.02);
}
.cmp-table tbody th { color: #f2f0ec; font-weight: 600; width: 28%; }
.cmp-table tr:last-child th, .cmp-table tr:last-child td { border-bottom: 0; }
.cmp-table .yes { color: #9fd3a6; }
.cmp-table .mid { color: #e3c07c; }
.cmp-table .no { color: #e2958a; }

/* ramka z wyróżnioną odpowiedzią — pod cytowanie przez AI i snippet Google */
.answer-box {
    position: relative;
    padding: 24px 26px;
    border-radius: 18px;
    border: 1px solid rgba(200, 128, 79, 0.28);
    background: linear-gradient(160deg, rgba(200, 128, 79, 0.08), rgba(255, 255, 255, 0.01));
    margin: 0 0 2em;
    max-width: 68ch;
}
.answer-box__label {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--warm);
    margin-bottom: 10px;
}
.answer-box p { margin: 0; color: #f2f0ec; }

/* układ artykułu: spis treści przyklejony z boku */
.article-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px; }
@media (min-width: 1040px) {
    .article-grid { grid-template-columns: 240px minmax(0, 1fr); gap: 72px; }
    .toc { position: sticky; top: 100px; align-self: start; }
}
/* blok pod artykułem wyrównany do kolumny tekstu (np. FAQ) */
.article-after { max-width: 860px; }
@media (min-width: 1040px) { .article-after { margin-left: calc(240px + 72px); } }
.toc {
    font-size: 0.9rem;
    border-left: 1px solid var(--line);
    padding-left: 18px;
}
.toc__title {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    margin: 0 0 14px;
}
.toc ol { list-style: none; margin: 0; padding: 0; counter-reset: toc; }
.toc li { counter-increment: toc; margin: 0 0 10px; }
.toc a {
    display: grid;
    grid-template-columns: 26px 1fr;
    color: var(--color-text-muted);
    text-decoration: none;
    line-height: 1.4;
    transition: color 0.25s;
}
.toc a::before { content: counter(toc, decimal-leading-zero); font-family: var(--font-mono); font-size: 0.72rem; opacity: 0.6; padding-top: 2px; }
.toc a:hover, .toc a.is-active { color: #f2f0ec; }
.toc a.is-active::before { color: var(--warm); opacity: 1; }
@media (max-width: 1039px) {
    .toc { border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; }
}

.article-meta {
    display: flex; flex-wrap: wrap; gap: 8px 22px;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-text-muted);
}

/* ---------- karty ---------- */
.cards { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.cards--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); }
.card {
    --mx: 50%; --my: 0%;
    position: relative;
    padding: 28px 26px 26px;
    border-radius: 20px;
    background: var(--glass);
    border: 1px solid rgba(255, 255, 255, 0.07);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
    overflow: hidden;
    transition: border-color 0.35s, transform 0.45s var(--ease-out);
}
.card:hover { border-color: rgba(255, 255, 255, 0.16); }
.card__num {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    color: var(--warm);
    margin: 0 0 18px;
    display: block;
}
.card__icon {
    width: 42px; height: 42px;
    display: grid; place-items: center;
    border-radius: 12px;
    border: 1px solid rgba(200, 128, 79, 0.3);
    background: rgba(200, 128, 79, 0.08);
    color: var(--warm);
    margin: 0 0 20px;
}
.card__icon svg { width: 20px; height: 20px; }
.card h3 { font-size: 1.15rem; font-weight: 600; letter-spacing: -0.015em; color: #f2f0ec; margin: 0 0 10px; line-height: 1.3; }
.card p { margin: 0; color: var(--color-text-muted); font-size: 0.97rem; line-height: 1.65; }
.card ul { margin: 14px 0 0; padding: 0; list-style: none; }
.card li { position: relative; padding-left: 18px; color: rgba(242, 240, 236, 0.75); font-size: 0.94rem; margin: 6px 0; }
.card li::before { content: ""; position: absolute; left: 0; top: 0.65em; width: 7px; height: 1px; background: var(--warm); }

a.card { display: block; text-decoration: none; color: inherit; }
a.card:hover { transform: translateY(-4px); }
.card__more {
    display: inline-flex; align-items: center; gap: 8px;
    margin-top: 18px;
    font-size: 0.9rem; font-weight: 500;
    color: var(--warm);
}
.card__more svg { width: 14px; height: 14px; transition: transform 0.3s var(--ease-out); }
a.card:hover .card__more svg { transform: translateX(4px); }

/* karta realizacji z kadrem */
.case-card { padding: 0; display: flex; flex-direction: column; }
.case-card__shot {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-bottom: 1px solid var(--line);
    background: #121214;
}
.case-card__shot img {
    width: 100%; height: 100%;
    object-fit: cover; object-position: top center;
    display: block;
    transition: transform 1.1s var(--ease-out);
}
a.case-card:hover .case-card__shot img { transform: scale(1.045); }
.case-card__body { padding: 22px 24px 24px; }
.case-card__tag {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    display: block;
    margin-bottom: 8px;
}

/* ---------- ramka przeglądarki i telefonu ---------- */
.bframe {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    background: #111113;
    border: 1px solid var(--line-2);
    box-shadow: 0 40px 90px -40px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(0, 0, 0, 0.4);
}
.bframe__bar {
    display: flex;
    align-items: center;
    gap: 12px;
    height: 36px;
    padding: 0 14px;
    background: #18181b;
    border-bottom: 1px solid var(--line);
}
.bframe__dots { display: inline-flex; gap: 6px; }
.bframe__dots i { width: 10px; height: 10px; border-radius: 50%; background: #3a3a3f; }
.bframe__dots i:first-child { background: #e0705f; }
.bframe__dots i:nth-child(2) { background: #e3b25c; }
.bframe__dots i:nth-child(3) { background: #6cc072; }
.bframe__url {
    flex: 1;
    max-width: 360px;
    margin: 0 auto;
    padding: 4px 12px;
    border-radius: 7px;
    background: #0f0f11;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--color-text-muted);
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.bframe__badge {
    font-family: var(--font-mono);
    font-size: 0.62rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #9fd3a6;
    border: 1px solid rgba(159, 211, 166, 0.35);
    border-radius: 50px;
    padding: 2px 8px;
}
.bframe img { display: block; width: 100%; height: auto; }

.phone {
    position: relative;
    width: 100%;
    max-width: 280px;
    border-radius: 38px;
    padding: 10px;
    background: linear-gradient(160deg, #2a2a2e, #141416);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.9), inset 0 0 0 1px rgba(0, 0, 0, 0.6);
}
.phone::before {
    content: "";
    position: absolute;
    top: 18px; left: 50%;
    width: 78px; height: 22px;
    transform: translateX(-50%);
    border-radius: 20px;
    background: #050506;
    z-index: 2;
}
.phone img { display: block; width: 100%; height: auto; border-radius: 29px; }

/* scena hero realizacji: przeglądarka + telefon nachodzący z prawej */
.hero-stage {
    position: relative;
    margin-top: clamp(44px, 6vw, 72px);
    perspective: 1600px;
}
.hero-stage .bframe {
    transform: rotateX(var(--tilt, 0deg)) scale(var(--tscale, 1));
    transform-origin: 50% 0;
    will-change: transform;
}
.hero-stage .phone {
    position: absolute;
    right: clamp(-10px, 2vw, 40px);
    bottom: clamp(-60px, -4vw, -20px);
    width: clamp(130px, 18vw, 230px);
    transform: translateY(var(--plift, 0px));
}
@media (max-width: 640px) {
    .hero-stage .phone { right: -6px; bottom: -40px; width: 120px; padding: 6px; border-radius: 24px; }
    .hero-stage .phone img { border-radius: 19px; }
    .hero-stage .phone::before { top: 10px; width: 40px; height: 12px; }
}

/* ---------- zrzut z opisanymi punktami ---------- */
.annot { display: grid; gap: 28px; grid-template-columns: minmax(0, 1fr); align-items: start; }
@media (min-width: 980px) { .annot { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 48px; } }
.annot--flip .annot__media { order: 2; }
@media (max-width: 979px) { .annot--flip .annot__media { order: 0; } }
.annot__media { position: relative; }
.pin {
    position: absolute;
    left: var(--x); top: var(--y);
    width: 30px; height: 30px;
    margin: -15px 0 0 -15px;
    border-radius: 50%;
    border: 0;
    background: var(--warm);
    color: #14100d;
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 0.78rem;
    display: grid; place-items: center;
    cursor: pointer;
    z-index: 3;
    box-shadow: 0 0 0 0 rgba(200, 128, 79, 0.5), 0 8px 20px -6px rgba(0, 0, 0, 0.7);
    transition: transform 0.35s var(--ease-out), background 0.25s;
}
.pin::after {
    content: "";
    position: absolute; inset: -6px;
    border-radius: 50%;
    border: 1px solid rgba(200, 128, 79, 0.7);
    animation: pinPulse 2.4s ease-out infinite;
}
.pin:hover, .pin.is-on { transform: scale(1.18); background: #f2f0ec; }
@keyframes pinPulse {
    0% { transform: scale(0.8); opacity: 0.9; }
    100% { transform: scale(1.8); opacity: 0; }
}
.anim-off .pin::after { animation-play-state: paused; }
html.js .annot__media:not(.in-view) .pin { transform: scale(0); }
html.js .annot__media.in-view .pin { transition-delay: calc(var(--i, 0) * 0.12s + 0.3s); }

.notes { list-style: none; margin: 0; padding: 0; counter-reset: note; }
.notes li {
    counter-increment: note;
    position: relative;
    padding: 16px 0 16px 48px;
    border-top: 1px solid var(--line);
    transition: background 0.3s;
}
.notes li:last-child { border-bottom: 1px solid var(--line); }
.notes li::before {
    content: counter(note);
    position: absolute;
    left: 0; top: 16px;
    width: 28px; height: 28px;
    border-radius: 50%;
    display: grid; place-items: center;
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 0.75rem;
    color: var(--warm);
    border: 1px solid rgba(200, 128, 79, 0.4);
    transition: background 0.25s, color 0.25s;
}
.notes li.is-on::before { background: var(--warm); color: #14100d; }
.notes strong { display: block; color: #f2f0ec; font-weight: 600; margin-bottom: 4px; }
.notes p { margin: 0; color: var(--color-text-muted); font-size: 0.96rem; line-height: 1.6; }

/* ---------- oś procesu (linia rysuje się scrollem) ---------- */
.steps { position: relative; }
.steps__list { margin: 0; padding: 0; list-style: none; }
.steps::before, .steps__line {
    content: "";
    position: absolute;
    left: 19px; top: 8px; bottom: 8px;
    width: 1px;
    background: var(--line-2);
}
.steps__line {
    background: linear-gradient(180deg, var(--warm), #e3a77c);
    transform-origin: 50% 0;
    transform: scaleY(var(--p, 0));
}
.step {
    position: relative;
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 0 26px;
    padding: 0 0 clamp(36px, 5vw, 56px);
}
.step:last-child { padding-bottom: 0; }
.step__dot {
    position: relative;
    z-index: 1;
    width: 40px; height: 40px;
    border-radius: 50%;
    display: grid; place-items: center;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--color-text-muted);
    background: #0f0f11;
    border: 1px solid var(--line-2);
    transition: color 0.4s, border-color 0.4s, background 0.4s, box-shadow 0.4s;
}
.step.is-lit .step__dot {
    color: #14100d;
    background: var(--warm);
    border-color: var(--warm);
    box-shadow: 0 0 0 6px rgba(200, 128, 79, 0.14);
}
.step__body { padding-top: 6px; }
.step__tag {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    display: block;
    margin-bottom: 8px;
}
.step h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); color: #f2f0ec; margin: 0 0 10px; letter-spacing: -0.02em; font-weight: 600; }
.step p { margin: 0 0 10px; color: rgba(242, 240, 236, 0.7); line-height: 1.7; max-width: 64ch; }
.step__out {
    display: inline-flex; flex-wrap: wrap; gap: 6px;
    margin-top: 6px; padding: 0; list-style: none;
}
.step__out li {
    font-size: 0.8rem;
    color: rgba(242, 240, 236, 0.75);
    border: 1px solid var(--line-2);
    border-radius: 50px;
    padding: 4px 11px;
}

/* ---------- liczby ---------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); border-top: 1px solid var(--line); }
.stat { padding: 26px 22px 10px 0; }
.stat + .stat { padding-left: 22px; border-left: 1px solid var(--line); }
.stat__n {
    display: block;
    font-size: clamp(2.2rem, 4.5vw, 3.4rem);
    font-weight: 600;
    letter-spacing: -0.04em;
    line-height: 1;
    color: #f2f0ec;
    font-variant-numeric: tabular-nums;
}
.stat__n small { font-size: 0.45em; color: var(--warm); margin-left: 4px; letter-spacing: 0; }
.stat__l {
    display: block;
    margin-top: 12px;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    line-height: 1.5;
}
@media (max-width: 560px) {
    .stats { grid-template-columns: 1fr 1fr; }
    .stat:nth-child(odd) { border-left: 0; padding-left: 0; }
    .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
}
/* siatka 2×2 na każdej szerokości (np. obok tekstu w .duo) */
.stats--2 { grid-template-columns: 1fr 1fr; }
.stats--2 .stat:nth-child(odd) { border-left: 0; padding-left: 0; }
.stats--2 .stat:nth-child(even) { padding-left: 22px; border-left: 1px solid var(--line); }
.stats--2 .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
.stats--2 .stat { padding-bottom: 22px; }

/* sekcja z nagłówkiem przyklejonym z lewej i treścią z prawej */
.sec-split { display: grid; gap: 40px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1000px) {
    .sec-split { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 72px; }
    .sec-split > .sec-head { position: sticky; top: 120px; align-self: start; margin-bottom: 0; }
}

.cards--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
@media (min-width: 1100px) { .cards--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 620px) and (max-width: 1099px) { .cards--4 { grid-template-columns: 1fr 1fr; } }
.cards--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
@media (min-width: 980px) { .cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---------- dwie kolumny tekst / media ---------- */
.duo { display: grid; gap: clamp(28px, 5vw, 64px); grid-template-columns: minmax(0, 1fr); align-items: center; }
@media (min-width: 900px) {
    .duo { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
    .duo--wide-media { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); }
    .duo--flip > :first-child { order: 2; }
}
.phones { display: flex; justify-content: center; gap: clamp(14px, 3vw, 32px); }
.phones .phone { max-width: 250px; }
.phones .phone:nth-child(2) { transform: translateY(40px); }

/* ---------- cytat klienta ---------- */
.quote {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: clamp(34px, 5vw, 56px);
    border-radius: 24px;
    background: var(--glass);
    border: 1px solid rgba(255, 255, 255, 0.08);
}
.quote__mark {
    position: absolute;
    top: -26px; left: clamp(26px, 4vw, 48px);
    font-family: var(--font-display);
    font-size: 6rem;
    line-height: 1;
    color: var(--warm);
}
.quote blockquote {
    margin: 0 0 28px;
    font-size: clamp(1.15rem, 2.2vw, 1.5rem);
    line-height: 1.5;
    letter-spacing: -0.01em;
    color: #f2f0ec;
}
.quote figcaption { display: flex; align-items: center; gap: 14px; color: var(--color-text-muted); font-size: 0.92rem; }
.quote figcaption strong { color: #f2f0ec; display: block; font-weight: 600; }
.quote__tag {
    margin-left: auto;
    font-family: var(--font-mono);
    font-size: 0.68rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #9fd3a6;
}

/* ---------- cena ---------- */
.price {
    display: grid;
    gap: 34px;
    grid-template-columns: minmax(0, 1fr);
    align-items: center;
    padding: clamp(30px, 5vw, 56px);
    border-radius: 28px;
    border: 1px solid rgba(200, 128, 79, 0.3);
    background: #121214;
}
@media (min-width: 900px) { .price { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); } }
.price__from {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--warm);
}
.price__value {
    display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 14px;
    margin: 10px 0 8px;
    font-size: clamp(3.2rem, 9vw, 6rem);
    font-weight: 600;
    letter-spacing: -0.05em;
    line-height: 0.95;
    color: #f2f0ec;
    font-variant-numeric: tabular-nums;
}
.price__value small { font-size: 0.28em; letter-spacing: 0; color: var(--color-text-muted); font-weight: 500; }
.price__note { margin: 0; color: var(--color-text-muted); font-size: 0.95rem; }
.price__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.price__list li {
    display: grid; grid-template-columns: 22px 1fr; gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
    color: rgba(242, 240, 236, 0.82);
    font-size: 0.98rem;
}
.price__list li:last-child { border-bottom: 0; }
.price__list svg { width: 18px; height: 18px; color: var(--warm); margin-top: 3px; }

/* porównanie dwóch zakresów — dlaczego wycena jest indywidualna */
.scope { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 860px) { .scope { grid-template-columns: 1fr 1fr; } }
.scope__col { padding: 28px 26px; border-radius: 22px; border: 1px solid var(--line); background: var(--glass); }
.scope__col--big { border-color: rgba(121, 164, 215, 0.3); }
.scope__kicker { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--color-text-muted); }
.scope__col h3 { font-size: 1.3rem; color: #f2f0ec; margin: 8px 0 18px; letter-spacing: -0.02em; }
.scope__meter { height: 8px; border-radius: 8px; background: rgba(255, 255, 255, 0.06); overflow: hidden; margin: 0 0 8px; }
.scope__meter span {
    display: block; height: 100%;
    width: var(--w);
    border-radius: inherit;
    background: linear-gradient(90deg, var(--warm), #e3a77c);
    transform-origin: 0 50%;
    transition: transform 1.4s var(--ease-out) 0.2s;
}
.scope__col--big .scope__meter span { background: linear-gradient(90deg, #4f7cab, var(--cool)); }
html.js .scope:not(.in-view) .scope__meter span { transform: scaleX(0); }
.scope__ml { display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: 0.68rem; color: var(--color-text-muted); letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 18px; }
.scope__list { list-style: none; margin: 0; padding: 0; }
.scope__list li { display: flex; justify-content: space-between; gap: 14px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 0.95rem; color: rgba(242, 240, 236, 0.8); }
.scope__list li span:last-child { font-family: var(--font-mono); font-size: 0.78rem; color: var(--color-text-muted); white-space: nowrap; }

/* ---------- pas CTA na końcu strony ---------- */
.cta-band {
    position: relative;
    overflow: hidden;
    text-align: center;
    padding: clamp(80px, 12vw, 150px) 0 clamp(70px, 10vw, 120px);
    border-top: 1px solid var(--line);
    isolation: isolate;
}
.cta-band__word {
    position: absolute; z-index: -1;
    left: 50%; bottom: -0.2em;
    transform: translateX(-50%);
    font-size: clamp(5rem, 18vw, 17rem);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 0.8;
    /* wypełnienie gradientem zamiast obrysu — obrys przy ciasnym trackingu
       rysował kontury nachodzących liter i wyglądał brudno */
    color: transparent;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0));
    -webkit-background-clip: text;
            background-clip: text;
    white-space: nowrap;
    pointer-events: none;
    user-select: none;
}
.cta-band .h2 { max-width: 18ch; margin: 0 auto 18px; }
.cta-band p { color: var(--color-text-muted); max-width: 54ch; margin: 0 auto 34px; font-size: 1.08rem; }
.cta-band .sub-actions { justify-content: center; }
.cta-band__contact {
    display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px;
    margin-top: 34px;
    font-family: var(--font-mono);
    font-size: 0.82rem;
}
.cta-band__contact a { color: rgba(242, 240, 236, 0.75); text-decoration: none; }
.cta-band__contact a:hover { color: var(--warm); }

/* następna realizacja */
.next-case {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 24px;
    padding: 34px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    text-decoration: none;
    color: #f2f0ec;
}
.next-case__k { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--color-text-muted); display: block; margin-bottom: 8px; }
.next-case__t { font-size: clamp(1.6rem, 4vw, 2.8rem); font-weight: 600; letter-spacing: -0.03em; line-height: 1.05; transition: color 0.3s; }
.next-case__arrow {
    width: clamp(52px, 7vw, 76px); height: clamp(52px, 7vw, 76px);
    border-radius: 50%;
    display: grid; place-items: center;
    border: 1px solid var(--line-2);
    transition: background 0.35s, border-color 0.35s, transform 0.5s var(--ease-out);
}
.next-case__arrow svg { width: 22px; height: 22px; }
.next-case:hover .next-case__t { color: var(--warm); }
.next-case:hover .next-case__arrow { background: var(--warm); border-color: var(--warm); color: #14100d; transform: rotate(-45deg); }

/* ---------- reveal przy scrollu ---------- */
html.js .rv {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
    transition-delay: calc(var(--i, 0) * 0.08s);
}
html.js .rv.in-view { opacity: 1; transform: none; }
html.js .rv--scale { transform: translateY(24px) scale(0.97); }

/* ---------- FAQ (markup .faq-item ze style.css) ---------- */
.sub .faq-list { margin-top: 0; padding: 0; max-width: 860px; }
.sub .faq-answer p + p { margin-top: 0.8em; }
.sub .faq-answer ul { margin: 0.6em 0 0; color: var(--color-text-muted); }

/* ---------- stopka podstron ---------- */
.sub-footer {
    position: relative;
    overflow: hidden;
    border-top: 1px solid var(--line);
    padding: clamp(56px, 8vw, 90px) 0 0;
    color: var(--color-text-muted);
    font-size: 0.92rem;
}
.sub-footer__top {
    display: grid;
    gap: 40px 28px;
    grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 720px) { .sub-footer__top { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1080px) { .sub-footer__top { grid-template-columns: 1.4fr repeat(4, 1fr); } }
.sub-footer__brand p { max-width: 34ch; line-height: 1.6; margin: 18px 0 20px; }
.sub-footer__contact { display: grid; gap: 8px; font-family: var(--font-mono); font-size: 0.82rem; }
.sub-footer__contact a { color: #f2f0ec; text-decoration: none; }
.sub-footer__contact a:hover { color: var(--warm); }
.sub-footer h2 {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 400;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(242, 240, 236, 0.45);
    margin: 0 0 16px;
}
.sub-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.sub-footer ul a { color: rgba(242, 240, 236, 0.72); text-decoration: none; transition: color 0.25s; }
.sub-footer ul a:hover { color: #f2f0ec; }
.sub-footer__socials { display: flex; gap: 10px; }
.sub-footer__socials a {
    width: 38px; height: 38px;
    display: grid; place-items: center;
    border-radius: 50%;
    border: 1px solid var(--line-2);
    color: rgba(242, 240, 236, 0.7);
    transition: color 0.25s, border-color 0.25s, background 0.25s;
}
.sub-footer__socials a:hover { color: #14100d; background: var(--warm); border-color: var(--warm); }
.sub-footer__socials svg { width: 16px; height: 16px; }
.sub-footer__word {
    display: block;
    margin: clamp(48px, 7vw, 80px) 0 -0.22em;
    font-size: clamp(5rem, 21vw, 19rem);
    font-weight: 700;
    letter-spacing: -0.045em;
    line-height: 0.8;
    text-align: center;
    color: transparent;
    background: linear-gradient(180deg, rgba(200, 128, 79, 0.2), rgba(200, 128, 79, 0) 85%);
    -webkit-background-clip: text;
            background-clip: text;
    user-select: none;
    pointer-events: none;
}
.sub-footer__bottom {
    position: relative;
    display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px;
    padding: 18px 0 22px;
    border-top: 1px solid var(--line);
    font-size: 0.8rem;
    color: #6f6c68;
    background: var(--color-bg);
}
.sub-footer__bottom a { color: inherit; }

/* =========================================================================
   DEMA — przekodowane fragmenty realizacji
   Każde demo ma własny prefiks klasy i żyje w ramce .demo.
   ========================================================================= */
.demo {
    position: relative;
    border-radius: 24px;
    border: 1px solid var(--line-2);
    background: #0f0f11;
    overflow: hidden;
    box-shadow: 0 50px 100px -50px rgba(0, 0, 0, 0.9);
}
.demo__bar {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 12px 18px;
    border-bottom: 1px solid var(--line);
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    background: #141416;
}
.demo__live { display: inline-flex; align-items: center; gap: 8px; color: #9fd3a6; }
.demo__live i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; animation: livePulse 1.8s ease-in-out infinite; }
@keyframes livePulse { 50% { opacity: 0.25; } }
.anim-off .demo__live i { animation-play-state: paused; }
.demo__caption {
    margin: 16px 0 0;
    font-size: 0.9rem;
    color: var(--color-text-muted);
    line-height: 1.6;
}

/* --- Przy Stole: dania dnia sterowane zegarem --- */
.dd {
    --ps-red: #e25a3f;
    --ps-cream: #fdf1e2;
    --ps-green: #1f4b3b;
    color: var(--ps-cream);
    font-family: Georgia, 'Times New Roman', serif;
}
.dd__clock {
    display: grid;
    gap: 14px 24px;
    grid-template-columns: minmax(0, 1fr);
    padding: 20px 22px;
    background: #151517;
    border-bottom: 1px solid var(--line);
    font-family: var(--font-sans);
    color: #f2f0ec;
}
@media (min-width: 760px) { .dd__clock { grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; } }
.dd__days { display: flex; flex-wrap: wrap; gap: 6px; }
.dd__day {
    font: 500 0.78rem var(--font-mono);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    background: transparent;
    border: 1px solid var(--line-2);
    border-radius: 8px;
    padding: 7px 9px;
    cursor: pointer;
    transition: all 0.2s;
}
.dd__day[aria-pressed="true"] { color: #14100d; background: var(--warm); border-color: var(--warm); }
.dd__range { display: flex; align-items: center; gap: 14px; }
.dd__range input { flex: 1; accent-color: var(--warm); }
.dd__time { font: 700 1.5rem var(--font-mono); letter-spacing: -0.03em; min-width: 5ch; text-align: right; font-variant-numeric: tabular-nums; }
.dd__state {
    font: 500 0.72rem var(--font-mono);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 6px 12px;
    border-radius: 50px;
    border: 1px solid currentColor;
    white-space: nowrap;
    justify-self: start;
}
.dd__state[data-s="otwarte"] { color: #9fd3a6; }
.dd__state[data-s="tydzien"] { color: #e3c07c; }
.dd__state[data-s="weekend"] { color: #e2958a; }
.dd__stage {
    position: relative;
    min-height: 380px;
    padding: 34px clamp(18px, 4vw, 40px) 40px;
    background:
        repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.045) 0 22px, transparent 22px 44px),
        var(--ps-red);
}
.dd__head { text-align: center; margin-bottom: 26px; }
.dd__eyebrow { font: 600 0.64rem var(--font-sans); letter-spacing: 0.3em; text-transform: uppercase; opacity: 0.85; }
.dd__title { font-size: clamp(1.8rem, 4vw, 2.6rem); margin: 6px 0 8px; font-weight: 400; }
.dd__title em { font-style: italic; color: #ffe2c9; }
.dd__hours {
    display: inline-flex; align-items: center; gap: 8px;
    font: 500 0.78rem var(--font-sans);
    padding: 6px 14px; border-radius: 50px;
    background: rgba(0, 0, 0, 0.16);
}
.dd__hours i { width: 7px; height: 7px; border-radius: 50%; background: #9fe0a6; }
.dd__hours[data-off] i { background: #ffcfb9; }
.dd__view { display: none; }
.dd__view.is-on { display: block; animation: ddIn 0.55s var(--ease-out); }
@keyframes ddIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.dd__creator { display: grid; gap: 22px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 820px) { .dd__creator { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); } }
.dd__group { border: 0; margin: 0 0 14px; padding: 0; }
.dd__group legend { font: 600 0.62rem var(--font-sans); letter-spacing: 0.24em; text-transform: uppercase; margin-bottom: 8px; opacity: 0.9; }
.dd__opt {
    display: flex; align-items: center; gap: 12px;
    padding: 10px 14px;
    margin-bottom: 6px;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.13);
    cursor: pointer;
    font: 500 0.92rem var(--font-sans);
    transition: background 0.25s, color 0.25s, transform 0.25s;
}
.dd__opt:hover { background: rgba(0, 0, 0, 0.2); }
.dd__opt input { accent-color: var(--ps-green); }
.dd__opt:has(input:checked) { background: var(--ps-cream); color: #3b1d12; transform: translateX(4px); }
.dd__opt small { display: block; font-weight: 400; opacity: 0.75; font-size: 0.78rem; }
.dd__aside { display: flex; flex-direction: column; gap: 14px; }
.dd__bubbles { position: relative; height: 150px; }
.dd__bubble {
    position: absolute;
    width: 112px; height: 112px;
    border-radius: 50%;
    border: 4px solid var(--ps-cream);
    overflow: hidden;
    box-shadow: 0 16px 30px -12px rgba(0, 0, 0, 0.5);
    animation: bubbleIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
.dd__bubble img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dd__bubble:nth-child(1) { left: 6%; top: 6px; }
.dd__bubble:nth-child(2) { left: 40%; top: 30px; width: 96px; height: 96px; }
.dd__bubble:nth-child(3) { left: 70%; top: 0; width: 82px; height: 82px; }
@keyframes bubbleIn { from { transform: scale(0.3) rotate(-12deg); opacity: 0; } to { transform: none; opacity: 1; } }
.dd__summary { padding: 20px; border-radius: 18px; background: rgba(60, 20, 10, 0.22); font-family: var(--font-sans); }
.dd__summary h4 { font: 400 1.25rem Georgia, serif; margin: 0 0 8px; }
.dd__summary p { margin: 0 0 12px; font-size: 0.9rem; line-height: 1.5; min-height: 2.8em; }
.dd__summary p b { color: #fff; }
.dd__row { display: flex; justify-content: space-between; padding: 8px 0; border-top: 1px dashed rgba(255, 255, 255, 0.3); font-size: 0.86rem; }
.dd__total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 10px; font: 600 0.7rem var(--font-sans); letter-spacing: 0.2em; text-transform: uppercase; }
.dd__total strong { font: 700 1.6rem Georgia, serif; letter-spacing: 0; }
.dd__cta {
    display: block; text-align: center;
    margin-top: 12px; padding: 12px;
    border-radius: 50px;
    background: var(--ps-cream); color: #3b1d12;
    font: 600 0.86rem var(--font-sans);
    text-decoration: none;
}
.dd__carousel { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin: 6px auto 0; max-width: 720px; }
.dd__mini { width: 120px; text-align: center; font: 500 0.78rem var(--font-sans); }
.dd__mini img { width: 96px; height: 96px; border-radius: 50%; border: 3px solid var(--ps-cream); object-fit: cover; display: block; margin: 0 auto 8px; }
.dd__mini small { display: block; opacity: 0.7; font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; }
.dd__price { text-align: center; margin: 24px 0 0; font: 400 1.05rem Georgia, serif; }
.dd__weekend { text-align: center; max-width: 520px; margin: 30px auto 0; }
.dd__weekend h4 { font: 400 clamp(1.5rem, 3vw, 2rem) Georgia, serif; margin: 0 0 10px; }
.dd__weekend h4 em { color: #ffe2c9; }
.dd__weekend p { font: 400 0.95rem/1.6 var(--font-sans); opacity: 0.9; margin: 0; }

/* --- KG Projekt: sekwencja klatek sterowana suwakiem / scrollem --- */
.kgseq__stage { position: relative; aspect-ratio: 16 / 9; background: #0c0d0f; overflow: hidden; }
.kgseq__stage canvas, .kgseq__stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.kgseq__stage::after {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(8, 9, 11, 0.75), rgba(8, 9, 11, 0.1) 60%);
    pointer-events: none;
}
.kgseq__copy {
    position: absolute; z-index: 2;
    left: clamp(16px, 4vw, 44px); bottom: clamp(16px, 4vw, 40px);
    max-width: 520px;
    color: #f2f0ec;
    font-family: 'Unbounded', var(--font-sans);
}
.kgseq__k { font: 400 0.66rem var(--font-mono); letter-spacing: 0.16em; text-transform: uppercase; opacity: 0.75; }
.kgseq__t { font-size: clamp(1.4rem, 3.6vw, 2.6rem); font-weight: 700; letter-spacing: -0.04em; line-height: 1.02; margin: 8px 0 0; }
.kgseq__t span { color: transparent; -webkit-text-stroke: 1px rgba(242, 240, 236, 0.85); }
.kgseq__ctrl {
    display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center;
    padding: 16px 20px;
    border-top: 1px solid var(--line);
    font: 500 0.75rem var(--font-mono);
    color: var(--color-text-muted);
}
.kgseq__ctrl input { width: 100%; accent-color: var(--warm); }
.kgseq__play {
    width: 38px; height: 38px; border-radius: 50%;
    border: 1px solid var(--line-2);
    background: transparent; color: #f2f0ec;
    display: grid; place-items: center; cursor: pointer;
}
.kgseq__play:hover { background: var(--warm); color: #14100d; border-color: var(--warm); }
.kgseq__play svg { width: 14px; height: 14px; }
.kgseq__frame { font-variant-numeric: tabular-nums; min-width: 9ch; text-align: right; }
.kgseq__phase { position: absolute; z-index: 2; right: 18px; top: 16px; font: 500 0.66rem var(--font-mono); letter-spacing: 0.14em; text-transform: uppercase; color: #f2f0ec; padding: 6px 10px; border-radius: 6px; background: rgba(0, 0, 0, 0.45); }

/* --- P&D: metamorfoza w trzech etapach --- */
.meta3 { --p: 0; }
.meta3__stage { position: relative; aspect-ratio: 1200 / 670; overflow: hidden; background: #000; }
.meta3__stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.meta3__stage img:nth-child(2) { opacity: clamp(0, calc(var(--p) * 2), 1); }
.meta3__stage img:nth-child(3) { opacity: clamp(0, calc(var(--p) * 2 - 1), 1); }
.meta3__labels { position: absolute; left: 16px; top: 16px; display: flex; gap: 8px; flex-wrap: wrap; z-index: 2; }
.meta3__labels span {
    font: 600 0.68rem 'Montserrat', var(--font-sans);
    letter-spacing: 0.08em; text-transform: uppercase;
    padding: 6px 12px; border-radius: 50px;
    background: rgba(0, 0, 0, 0.55); color: rgba(255, 255, 255, 0.55);
    transition: color 0.3s, background 0.3s;
}
.meta3__labels span.is-on { background: #c8a25c; color: #14100d; }
.meta3__ctrl { padding: 22px 24px 26px; text-align: center; }
.meta3__ctrl input { width: min(520px, 100%); accent-color: #c8a25c; }
.meta3__ticks { display: flex; justify-content: space-between; width: min(520px, 100%); margin: 8px auto 0; font: 500 0.7rem var(--font-mono); color: var(--color-text-muted); }
.meta3__desc { margin: 14px auto 0; max-width: 56ch; color: rgba(242, 240, 236, 0.75); font-size: 0.95rem; min-height: 3em; }

/* --- P&D: kalendarz dostępności z iCal --- */
.ical { display: grid; gap: 0; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 860px) { .ical { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); } }
.ical__cal { padding: 22px; border-right: 1px solid var(--line); }
.ical__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; color: #f2f0ec; font-weight: 600; text-transform: capitalize; }
.ical__head button { background: transparent; border: 1px solid var(--line-2); color: #f2f0ec; width: 32px; height: 32px; border-radius: 8px; cursor: pointer; }
.ical__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.ical__grid span { font: 500 0.66rem var(--font-mono); color: var(--color-text-muted); text-align: center; padding: 4px 0; text-transform: uppercase; }
.ical__grid button {
    aspect-ratio: 1;
    border-radius: 8px;
    border: 1px solid transparent;
    background: rgba(255, 255, 255, 0.04);
    color: #f2f0ec;
    font: 500 0.82rem var(--font-sans);
    cursor: pointer;
    transition: background 0.2s;
}
.ical__grid button:hover:not(:disabled) { border-color: #c8a25c; }
.ical__grid button:disabled { color: rgba(242, 240, 236, 0.25); background: repeating-linear-gradient(135deg, rgba(226, 149, 138, 0.18) 0 4px, transparent 4px 8px); cursor: not-allowed; text-decoration: line-through; }
.ical__grid button.is-past:disabled { background: transparent; text-decoration: none; color: rgba(242, 240, 236, 0.18); }
.ical__grid button.is-pick { background: #c8a25c; color: #14100d; }
.ical__grid button.is-mid { background: rgba(200, 162, 92, 0.25); }
.ical__grid .pad { visibility: hidden; }
.ical__side { padding: 22px; font-size: 0.92rem; color: rgba(242, 240, 236, 0.78); }
.ical__src { font: 400 0.72rem/1.7 var(--font-mono); color: var(--color-text-muted); background: #0b0b0c; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; margin: 0 0 14px; white-space: pre-wrap; word-break: break-all; }
.ical__src b { color: #e2958a; font-weight: 400; }
.ical__out { padding: 14px; border-radius: 12px; border: 1px dashed var(--line-2); min-height: 4.5em; }
.ical__out strong { color: #c8a25c; }

/* --- Kokówka: cennik z filtrem kategoria × długość --- */
.kok { --k-ink: #121214; --k-paper: #f2efe9; --k-grey: #8a857c; background: var(--k-paper); color: var(--k-ink); font-family: var(--font-sans); }
.kok__panel { padding: 18px 20px; border-bottom: 1px solid rgba(0, 0, 0, 0.08); background: #e9e5dd; }
.kok__lbl { font: 500 0.62rem var(--font-mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--k-grey); margin: 0 0 8px; display: block; }
.kok__chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.kok__chips:last-child { margin-bottom: 0; }
.kok__chip {
    font: 500 0.8rem var(--font-sans);
    padding: 7px 12px;
    border-radius: 50px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    background: #fff;
    color: var(--k-ink);
    cursor: pointer;
    transition: all 0.2s;
}
.kok__chip sup { font-size: 0.66rem; margin-left: 4px; color: var(--k-grey); }
.kok__chip[aria-pressed="true"] { background: var(--k-ink); color: #fff; border-color: var(--k-ink); }
.kok__chip[aria-pressed="true"] sup { color: rgba(255, 255, 255, 0.6); }
.kok__chip:disabled { opacity: 0.35; cursor: not-allowed; }
.kok__status { display: flex; justify-content: space-between; align-items: center; padding: 12px 20px; font-size: 0.82rem; color: var(--k-grey); }
.kok__clear { background: none; border: 0; color: var(--k-ink); text-decoration: underline; cursor: pointer; font: inherit; }
.kok__list { list-style: none; margin: 0; padding: 0 20px 20px; max-height: 420px; overflow: auto; }
.kok__item { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 18px; padding: 14px 0; border-top: 1px solid rgba(0, 0, 0, 0.08); animation: kokIn 0.45s var(--ease-out) both; }
.kok__item h4 { margin: 0; font-size: 0.95rem; font-weight: 600; }
.kok__item p { margin: 0; grid-column: 1; font-size: 0.82rem; color: var(--k-grey); line-height: 1.5; }
.kok__price { font: 700 1rem var(--font-sans); white-space: nowrap; text-align: right; }
.kok__price small { font-weight: 400; color: var(--k-grey); font-size: 0.72rem; display: block; }
@keyframes kokIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* --- Hair & Beauty: półka produktów + panel --- */
.hb { --hb-green: #1f7a1f; --hb-paper: #f6f6f0; background: var(--hb-paper); color: #1d1f1a; font-family: var(--font-sans); position: relative; }
.hb__brands { display: flex; flex-wrap: wrap; gap: 6px; padding: 18px 20px; border-bottom: 1px solid rgba(0, 0, 0, 0.07); }
.hb__brand { font: 500 0.7rem var(--font-sans); letter-spacing: 0.1em; text-transform: uppercase; padding: 8px 14px; border-radius: 50px; border: 1px solid rgba(0, 0, 0, 0.12); background: #fff; color: #444; cursor: pointer; }
.hb__brand[aria-pressed="true"] { background: var(--hb-green); color: #fff; border-color: var(--hb-green); }
.hb__shelf { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; padding: 20px; }
@media (min-width: 640px) { .hb__shelf { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.hb__tile img { max-height: 220px; }
.hb__tile { border: 0; background: #fff; border-radius: 14px; padding: 10px 10px 12px; cursor: pointer; text-align: left; box-shadow: 0 10px 24px -18px rgba(0, 0, 0, 0.35); transition: transform 0.35s var(--ease-out), box-shadow 0.35s; animation: kokIn 0.45s var(--ease-out) both; font: inherit; color: inherit; }
.hb__tile:hover { transform: translateY(-4px); box-shadow: 0 18px 30px -18px rgba(0, 0, 0, 0.45); }
.hb__tile img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: contain; display: block; }
.hb__tile b { display: block; font-size: 0.82rem; margin-top: 6px; font-weight: 600; }
.hb__tile small { color: #777; font-size: 0.72rem; }
.hb__panel {
    position: absolute; inset: 0;
    display: grid; grid-template-columns: minmax(0, 1fr);
    background: rgba(246, 246, 240, 0.97);
    opacity: 0; visibility: hidden;
    transition: opacity 0.35s, visibility 0s 0.35s;
    overflow: auto;
    z-index: 3;
}
@media (min-width: 760px) { .hb__panel { grid-template-columns: 0.9fr 1.1fr; } }
.hb__panel.is-open { opacity: 1; visibility: visible; transition: opacity 0.35s; }
.hb__pimg { display: grid; place-items: center; padding: 24px; background: linear-gradient(160deg, #ffffff, #eef0e6); position: relative; }
.hb__pimg img { max-height: 300px; width: auto; max-width: 70%; transform: translateY(18px); opacity: 0; transition: transform 0.6s var(--ease-out) 0.1s, opacity 0.5s 0.1s; }
.hb__panel.is-open .hb__pimg img { transform: none; opacity: 1; }
.hb__pills { position: absolute; inset: 0; pointer-events: none; }
.hb__pills span { position: absolute; font-size: 0.72rem; padding: 6px 10px 6px 20px; border-radius: 50px; background: #fff; box-shadow: 0 6px 16px -8px rgba(0, 0, 0, 0.3); }
.hb__pills span::before { content: ""; position: absolute; left: 9px; top: 50%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; background: var(--hb-green); }
.hb__pills span:nth-child(1) { left: 6%; top: 22%; }
.hb__pills span:nth-child(2) { right: 6%; top: 48%; }
.hb__pills span:nth-child(3) { left: 8%; bottom: 18%; }
.hb__pbody { padding: 28px 26px; }
.hb__pline { font: 500 0.66rem var(--font-sans); letter-spacing: 0.18em; text-transform: uppercase; color: #777; }
.hb__pname { font: 400 1.9rem Georgia, serif; margin: 6px 0 4px; }
.hb__psize { color: #888; font-size: 0.85rem; }
.hb__pdesc { font-size: 0.92rem; line-height: 1.65; color: #3a3d36; margin: 14px 0 18px; }
.hb__ask { display: inline-flex; padding: 12px 22px; border-radius: 50px; background: var(--hb-green); color: #fff; border: 0; font: 600 0.8rem var(--font-sans); letter-spacing: 0.08em; text-transform: uppercase; cursor: pointer; text-decoration: none; }
.hb__num { display: none; margin-top: 10px; font: 600 1.1rem var(--font-sans); color: var(--hb-green); }
.hb__num.is-on { display: block; animation: kokIn 0.4s var(--ease-out); }
.hb__close { position: absolute; top: 14px; right: 14px; z-index: 2; width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, 0.12); background: #fff; cursor: pointer; font-size: 1.2rem; color: #333; }
.hb__note { font-size: 0.74rem; color: #888; margin-top: 12px; }

/* ---------- WYCZESANE ŁAPY — dzień groomerki i wolne godziny startu ----------
   Lewa kolumna to dzień w Kalendarzu Google (wizyty, prywatne wpisy), prawa —
   godziny, które formularz pokaże klientowi. Oś: 09:00–18:00 = 9 h × 42 px. */
.wlt { --wl-pink: #cf7f8a; --wl-deep: #a3505e; --wl-ivory: #fbf7f2; --wl-ink: #26211f; --wl-mute: #8a7f7a; background: var(--wl-ivory); color: var(--wl-ink); font-family: var(--font-sans); }
.wlt__svc { display: flex; flex-wrap: wrap; gap: 6px; padding: 18px 20px; border-bottom: 1px solid rgba(38, 33, 31, 0.08); }
.wlt__chip { font: 500 0.78rem var(--font-sans); padding: 8px 14px; border-radius: 50px; border: 1px solid rgba(38, 33, 31, 0.15); background: #fff; color: inherit; cursor: pointer; transition: background 0.25s, color 0.25s, border-color 0.25s; }
.wlt__chip small { font-size: 0.9em; opacity: 0.6; margin-left: 6px; }
.wlt__chip[aria-pressed="true"] { background: var(--wl-ink); color: #fff; border-color: var(--wl-ink); }
.wlt__body { display: grid; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 820px) { .wlt__body { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); } }
.wlt__cal { padding: 20px 20px 22px; border-bottom: 1px solid rgba(38, 33, 31, 0.08); }
@media (min-width: 820px) { .wlt__cal { border-bottom: 0; border-right: 1px solid rgba(38, 33, 31, 0.08); } }
.wlt__k { font: 600 0.64rem var(--font-sans); letter-spacing: 0.18em; text-transform: uppercase; color: var(--wl-mute); margin: 0 0 14px; }
.wlt__day { position: relative; height: 378px; margin-left: 46px; border-left: 1px solid rgba(38, 33, 31, 0.14); background: repeating-linear-gradient(to bottom, rgba(38, 33, 31, 0.08) 0 1px, transparent 1px 42px); }
.wlt__h { position: absolute; left: -46px; width: 38px; text-align: right; font: 500 0.64rem var(--font-mono); color: var(--wl-mute); transform: translateY(-50%); }
.wlt__ev { position: absolute; left: 6px; right: 6px; border-radius: 8px; padding: 5px 9px; font-size: 0.72rem; line-height: 1.25; overflow: hidden; background: #e6eef9; border-left: 3px solid #4f7fc7; color: #1d3557; }
.wlt__ev b { display: block; font-weight: 600; }
.wlt__ev--priv { background: #eeeae6; border-left-color: var(--wl-mute); color: #4b4441; }
.wlt__ev--new { left: 22%; background: rgba(207, 127, 138, 0.2); border: 1.5px dashed var(--wl-pink); color: var(--wl-deep); animation: kokIn 0.35s var(--ease-out) both; z-index: 2; }
.wlt__toggles { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.wlt__tog { font: 500 0.74rem var(--font-sans); padding: 8px 12px; border-radius: 8px; border: 1px dashed rgba(38, 33, 31, 0.32); background: transparent; color: inherit; cursor: pointer; }
.wlt__tog[aria-pressed="true"] { border-style: solid; background: #eeeae6; }
.wlt__side { padding: 20px 20px 24px; }
.wlt__count { font: 600 1.6rem/1 var(--font-sans); letter-spacing: -0.02em; margin: 0 0 4px; }
.wlt__count small { font-size: 0.5em; font-weight: 500; color: var(--wl-mute); letter-spacing: 0; margin-left: 6px; }
.wlt__slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: 6px; margin-top: 14px; min-height: 44px; }
.wlt__slot { font: 600 0.84rem var(--font-sans); padding: 10px 0; border-radius: 10px; border: 1px solid rgba(38, 33, 31, 0.14); background: #fff; color: inherit; cursor: pointer; animation: kokIn 0.35s var(--ease-out) both; }
.wlt__slot:hover { border-color: var(--wl-pink); }
.wlt__slot[aria-pressed="true"] { background: var(--wl-ink); color: #fff; border-color: var(--wl-ink); }
.wlt__none { grid-column: 1 / -1; margin: 0; padding: 12px 14px; border-radius: 10px; background: #eeeae6; font-size: 0.86rem; }
.wlt__out { margin-top: 16px; padding: 14px 16px; border-radius: 12px; border: 1px dashed rgba(38, 33, 31, 0.22); font-size: 0.88rem; line-height: 1.55; min-height: 5.2em; }
.wlt__out strong { color: var(--wl-deep); }
.wlt__out code { font: 500 0.78rem var(--font-mono); background: #eeeae6; padding: 2px 6px; border-radius: 6px; }

/* ---------- lista kontrolna z licznikiem ---------- */
.checklist {
    max-width: 68ch;
    margin: 1.6em 0 2em;
    padding: 22px 24px;
    border-radius: 20px;
    border: 1px solid var(--line-2);
    background: var(--glass);
}
.checklist__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 10px; }
.checklist__head strong { color: #f2f0ec; }
.checklist__count { font-family: var(--font-mono); font-size: 0.82rem; color: var(--warm); }
.checklist__bar { height: 4px; border-radius: 4px; background: rgba(255, 255, 255, 0.07); overflow: hidden; margin-bottom: 14px; }
.checklist__bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--warm), #e3a77c); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); transition: transform 0.5s var(--ease-out); }
.checklist ul { list-style: none; padding: 0; margin: 0; }
.checklist li { margin: 0; border-top: 1px solid var(--line); }
.checklist label { display: grid; grid-template-columns: 22px 1fr; gap: 12px; padding: 11px 0; cursor: pointer; color: rgba(242, 240, 236, 0.82); }
.checklist input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--warm); }
.checklist input:checked + span { color: var(--color-text-muted); text-decoration: line-through; text-decoration-color: rgba(200, 128, 79, 0.6); }
.checklist.is-done { border-color: rgba(159, 211, 166, 0.45); }
.checklist__done { display: none; margin: 12px 0 0; color: #9fd3a6; font-size: 0.95rem; }
.checklist.is-done .checklist__done { display: block; }

/* ---------- pasek z nazwami (dzielnice itp.) — pętla CSS, stoi poza ekranem ---------- */
.band {
    overflow: hidden;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 20px 0;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
            mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.band__track { display: flex; width: max-content; animation: bandMove 46s linear infinite; }
.band__track span {
    display: inline-flex; align-items: center; gap: 28px;
    padding-right: 28px;
    font-size: clamp(1.4rem, 3vw, 2.2rem);
    font-weight: 600;
    letter-spacing: -0.03em;
    color: rgba(242, 240, 236, 0.18);
    white-space: nowrap;
}
.band__track span::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--warm); opacity: 0.7; }
.band__track span.is-hot { color: #f2f0ec; }
.band.anim-off .band__track { animation-play-state: paused; }
@keyframes bandMove { to { transform: translateX(-50%); } }

/* ---------- ruch ograniczony ---------- */
@media (prefers-reduced-motion: reduce) {
    html.js .sub-hero * { animation: none !important; }
    html.js .rv, html.js .rv--scale { opacity: 1; transform: none; transition: none; }
    .hero-stage .bframe { transform: none !important; }
    .pin::after, .demo__live i, .band__track { animation: none; }
    html.js .annot__media:not(.in-view) .pin { transform: none; }
    html.js .scope:not(.in-view) .scope__meter span { transform: none; }
    .card, a.card:hover, .case-card__shot img { transition: none; transform: none; }
}

/* =========================================================================
   WARSTWA 2 (1.11.2026) — mniej „szablonu”, więcej materiału
   Bez radialnych poświat. Akcenty serifem, faktury, jasne sekcje, zdjęcia.
   ========================================================================= */

/* --- akcent w nagłówkach: ten sam co na stronie głównej — Space Mono Bold kursywą
   (krój, waga, 1.05em i tracking -0.04em przychodzą z bloku „Wyróżnione słowo” w style.css).
   Tu tylko interlinia, żeby akcent nie rozpychał wierszy w dużych stopniach. --- */
body.sub .highlight-italic,
body.sub .highlight-italicorange,
body.sub .highlight-italicblue {
    line-height: 1;
}
body.sub .sub-h1 { line-height: 1.08; }
body.sub .sub-h1 .highlight-italicorange,
body.sub .h2 .highlight-italicorange { color: var(--warm); }

/* --- faktura: ziarno filmowe (SVG feTurbulence, statyczne) --- */
.tex-grain { position: relative; isolation: isolate; }
.tex-grain::after {
    content: "";
    position: absolute; inset: 0;
    z-index: 2;
    pointer-events: none;
    opacity: 0.09;
    mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* --- warianty tła sekcji --- */
.sec--ink { background: #060607; }
.sec--grid {
    background-color: #0d0d0f;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 120px 120px, 120px 120px, 24px 24px, 24px 24px;
    border-top: 1px solid var(--line);
}
.sec--stripes {
    background-color: #0c0c0e;
    background-image: repeating-linear-gradient(-45deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 14px);
    border-top: 1px solid var(--line);
}
/* jasna „papierowa” sekcja — przełamuje ciemny rytm strony */
.sec--paper {
    --line: rgba(20, 16, 12, 0.1);
    --line-2: rgba(20, 16, 12, 0.18);
    --color-text-muted: #6d655b;
    --warm: #ad6233;
    background-color: #ece7de;
    color: #2b2621;
}
.sec--paper.tex-grain::after { mix-blend-mode: multiply; opacity: 0.16; }
.sec--paper .h2, .sec--paper .h3, .sec--paper h3, .sec--paper .stat__n,
.sec--paper .prose strong, .sec--paper .notes strong, .sec--paper .card h3,
.sec--paper .step h3, .sec--paper .scope__col h3, .sec--paper .meta-row dd { color: #15120f; }
.sec--paper .prose, .sec--paper .sec-head p, .sec--paper .sec-lead, .sec--paper .card p,
.sec--paper .step p, .sec--paper .notes p, .sec--paper .scope__list li { color: #4d463e; }
.sec--paper .card, .sec--paper .scope__col { background: #f6f2ea; border-color: rgba(20, 16, 12, 0.08); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset; }
.sec--paper .card li { color: #4d463e; }
.sec--paper .step__dot { background: #ece7de; color: #6d655b; }
.sec--paper .step__out li { color: #4d463e; }
.sec--paper .prose a, .sec--paper .card a { color: var(--warm); }
.sec--paper .link-arrow { color: #15120f; border-color: rgba(20, 16, 12, 0.3); }
.sec--paper .bframe { box-shadow: 0 30px 60px -36px rgba(40, 28, 16, 0.55); }
.sec--paper .scope__meter { background: rgba(20, 16, 12, 0.08); }

/* jeden mocny blok koloru na stronę — glinka z logo, tekst ciemny */
.sec--clay {
    --line: rgba(20, 12, 6, 0.18);
    --color-text-muted: rgba(20, 12, 6, 0.7);
    background: #c8804f;
    color: #160d07;
}
.sec--clay .h2, .sec--clay h3, .sec--clay .stat__n { color: #160d07; }
.sec--clay .h2 .highlight-italicorange, .sec--clay .highlight-italicorange { color: #fff3e8 !important; }
.sec--clay .sec-num { color: rgba(20, 12, 6, 0.7); }
.sec--clay .sec-num::before { background: #160d07; }
.sec--clay p { color: rgba(20, 12, 6, 0.78); }
.sec--clay .stat__l { color: rgba(20, 12, 6, 0.66); }
.sec--clay .stat__n small { color: #fff3e8; }

/* --- hero ze zdjęciem (realizacje, branże, Kraków) --- */
.sub-hero--photo { padding-top: calc(84px + clamp(70px, 14vw, 190px)); overflow: hidden; }
.photo-bg {
    position: absolute;
    z-index: -1;
    inset: 0 0 auto 0;
    height: min(100svh, 980px);
    overflow: hidden;
    background: #111;
}
.photo-bg img {
    position: absolute; inset: -6% 0 0 0;
    width: 100%; height: 112%;
    object-fit: cover;
    object-position: var(--pos, 50% 40%);
    transform: translate3d(0, var(--py, 0px), 0) scale(1.06);
    transition: transform 1.8s var(--ease-out);
    filter: saturate(0.9) contrast(1.05);
}
html.js .photo-bg img { transform: translate3d(0, var(--py, 0px), 0) scale(1.14); }
html.js .photo-bg.is-in img { transform: translate3d(0, var(--py, 0px), 0) scale(1.06); }
.photo-bg::before {
    content: "";
    position: absolute; inset: 0;
    z-index: 1;
    background:
        linear-gradient(90deg, rgba(11, 11, 12, 0.92) 0%, rgba(11, 11, 12, 0.7) 38%, rgba(11, 11, 12, 0.15) 75%),
        linear-gradient(180deg, rgba(11, 11, 12, 0.35) 0%, rgba(11, 11, 12, 0) 30%, rgba(11, 11, 12, 0.6) 72%, var(--color-bg) 100%);
}
.photo-bg__cap {
    position: absolute; z-index: 3;
    right: var(--gut); top: calc(84px + 28px);
    font-family: var(--font-mono);
    font-size: 0.66rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(242, 240, 236, 0.7);
    writing-mode: vertical-rl;
}
.sub-hero--photo .sub-lead { color: rgba(242, 240, 236, 0.84); }
@media (max-width: 760px) {
    .photo-bg { height: 88svh; }
    .photo-bg::before { background: linear-gradient(180deg, rgba(11, 11, 12, 0.55) 0%, rgba(11, 11, 12, 0.78) 45%, var(--color-bg) 100%); }
    .photo-bg__cap { display: none; }
}

/* --- bento ze zrzutów: każdy układ to zamknięty prostokąt --- */
.bento { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) {
    .bento { grid-template-columns: repeat(6, minmax(0, 1fr)); grid-auto-rows: 150px; }
    .bento > :nth-child(1) { grid-column: 1 / 5; grid-row: 1 / 4; }
    .bento > :nth-child(2) { grid-column: 5 / 7; grid-row: 1 / 3; }
    .bento > :nth-child(3) { grid-column: 5 / 7; grid-row: 3 / 5; }
    .bento > :nth-child(4) { grid-column: 1 / 3; grid-row: 4 / 6; }
    .bento > :nth-child(5) { grid-column: 3 / 5; grid-row: 4 / 6; }
    .bento > :nth-child(6) { grid-column: 5 / 7; grid-row: 5 / 6; }
}
.tile {
    position: relative;
    margin: 0;
    border-radius: 16px;
    overflow: hidden;
    background: #141416;
    border: 1px solid var(--line-2);
    min-height: 220px;
}
.tile img {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 1.2s var(--ease-out);
}
.tile:hover img { transform: scale(1.04); }
.tile figcaption {
    position: absolute; left: 12px; bottom: 12px; z-index: 2;
    display: inline-flex; align-items: center; gap: 8px;
    padding: 6px 11px;
    border-radius: 8px;
    background: rgba(8, 8, 9, 0.8);
    font-family: var(--font-mono);
    font-size: 0.66rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #f2f0ec;
}
.tile figcaption b { color: var(--color-primary); font-weight: 400; }
@media (max-width: 899px) { .tile { aspect-ratio: 16 / 10; min-height: 0; } }

/* --- zrzut całej strony przewijany scrollem w ramce --- */
.longshot { position: relative; }
.longshot .bframe__view {
    position: relative;
    height: var(--lh, 560px);
    overflow: hidden;
    background: #fff;
}
.longshot .bframe__view img {
    position: absolute; left: 0; top: 0;
    width: 100%; height: auto;
    transform: translate3d(0, var(--ly, 0px), 0);
    will-change: transform;
}
.longshot__meter {
    position: absolute; right: -18px; top: 52px; bottom: 16px;
    width: 3px; border-radius: 3px;
    background: var(--line-2);
}
.longshot__meter span { display: block; width: 100%; height: 100%; border-radius: inherit; background: var(--warm); transform-origin: 50% 0; transform: scaleY(var(--lp, 0)); }
@media (max-width: 760px) { .longshot .bframe__view { height: 440px; } .longshot__meter { display: none; } }

/* --- pas zrzutów w ruchu (dwa rzędy w przeciwne strony) --- */
.reel { overflow: hidden; padding: 14px 0; transform: rotate(-3deg); margin: 40px -6vw; }
.reel__row { display: flex; gap: 16px; width: max-content; animation: reelL 80s linear infinite; }
.reel__row + .reel__row { margin-top: 16px; animation-name: reelR; }
.reel__row img {
    width: clamp(240px, 26vw, 380px); height: auto; aspect-ratio: 16 / 10;
    object-fit: cover; object-position: top;
    border-radius: 12px;
    border: 1px solid var(--line-2);
    display: block;
}
.reel.anim-off .reel__row { animation-play-state: paused; }
@keyframes reelL { to { transform: translateX(-50%); } }
@keyframes reelR { from { transform: translateX(-50%); } to { transform: translateX(0); } }

/* --- wachlarz telefonów --- */
.fan { display: flex; justify-content: center; align-items: flex-end; padding: 30px 0 10px; }
.fan .phone { width: clamp(150px, 22vw, 250px); margin: 0 -22px; transition: transform 0.6s var(--ease-out); }
.fan .phone:nth-child(1) { transform: rotate(-9deg) translateY(26px); z-index: 1; }
.fan .phone:nth-child(2) { z-index: 3; transform: translateY(-8px); }
.fan .phone:nth-child(3) { transform: rotate(9deg) translateY(26px); z-index: 2; }
.fan:hover .phone:nth-child(1) { transform: rotate(-13deg) translate(-26px, 30px); }
.fan:hover .phone:nth-child(3) { transform: rotate(13deg) translate(26px, 30px); }
@media (max-width: 560px) { .fan .phone { margin: 0 -30px; } }

/* --- galeria zdjęć klienta (równa wysokość, szerokość z proporcji --r) --- */
.photos { display: flex; gap: 12px; height: clamp(220px, 30vw, 380px); }
.photos figure { margin: 0; flex: var(--r, 1) 1 0; position: relative; overflow: hidden; border-radius: 14px; background: #151517; }
.photos img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.2s var(--ease-out), filter 0.6s; filter: grayscale(0.35); }
.photos figure:hover img { transform: scale(1.05); filter: none; }
.photos figcaption { position: absolute; left: 10px; bottom: 10px; font-family: var(--font-mono); font-size: 0.64rem; letter-spacing: 0.1em; text-transform: uppercase; color: #fff; text-shadow: 0 1px 8px rgba(0, 0, 0, 0.8); }
@media (max-width: 760px) {
    .photos { height: auto; display: grid; grid-template-columns: 1fr 1fr; }
    .photos figure { aspect-ratio: 1; }
    .photos figure:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
}

/* --- zdjęcie z nachodzącą kartą tekstu --- */
.overlap { display: grid; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 960px) {
    .overlap { grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: center; }
    .overlap__media { grid-column: 1 / 9; grid-row: 1; }
    .overlap__card { grid-column: 7 / 13; grid-row: 1; z-index: 2; }
    .overlap--flip .overlap__media { grid-column: 5 / 13; }
    .overlap--flip .overlap__card { grid-column: 1 / 7; }
}
.overlap__media { position: relative; border-radius: 20px; overflow: hidden; aspect-ratio: 4 / 3; margin: 0; }
.overlap__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.overlap__card {
    position: relative;
    margin-top: -60px;
    padding: clamp(26px, 4vw, 44px);
    border-radius: 20px;
    background: #111113;
    border: 1px solid var(--line-2);
    box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.9);
}
@media (min-width: 960px) { .overlap__card { margin-top: 0; } }
.sec--paper .overlap__card { background: #f8f4ec; }

/* --- pas ze zdjęciem i wielkim słowem nałożonym trybem overlay --- */
.cityband { position: relative; height: clamp(320px, 52vw, 620px); overflow: hidden; isolation: isolate; }
.cityband img { position: absolute; inset: -8% 0; width: 100%; height: 116%; object-fit: cover; transform: translate3d(0, var(--py, 0px), 0); filter: grayscale(0.2) contrast(1.1); }
.cityband::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, var(--color-bg) 0%, rgba(11, 11, 12, 0.1) 22%, rgba(11, 11, 12, 0.2) 78%, var(--color-bg) 100%); }
.cityband__word {
    position: absolute; z-index: 2; left: 0; right: 0; bottom: 6%;
    text-align: center;
    font-size: clamp(4.5rem, 18vw, 16rem);
    font-weight: 700;
    letter-spacing: -0.05em;
    line-height: 0.8;
    color: rgba(242, 240, 236, 0.1);
    -webkit-text-stroke: 1.5px rgba(242, 240, 236, 0.85);
    white-space: nowrap;
}
.cityband__note { position: absolute; z-index: 3; left: var(--gut); top: 22%; max-width: 340px; font-family: var(--font-mono); font-size: 0.72rem; line-height: 1.7; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(242, 240, 236, 0.9); }

/* --- kolaż spotkania + karta zaproszenia --- */
.meet { position: relative; min-height: clamp(420px, 46vw, 560px); }
.meet__a, .meet__b { position: absolute; margin: 0; border-radius: 18px; overflow: hidden; border: 1px solid var(--line-2); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.9); }
.meet__a { left: 0; top: 0; width: 78%; aspect-ratio: 3 / 2; }
.meet__b { right: 0; bottom: 0; width: 46%; aspect-ratio: 3 / 2; transform: rotate(3deg); }
.meet img { width: 100%; height: 100%; object-fit: cover; display: block; }
.invite {
    position: absolute; z-index: 3; left: 6%; bottom: 4%;
    width: min(300px, 70%);
    padding: 16px 18px;
    border-radius: 14px;
    background: #f6f2ea;
    color: #1a1612;
    box-shadow: 0 30px 60px -24px rgba(0, 0, 0, 0.8);
    transform: rotate(-2deg);
    font-size: 0.86rem;
}
.invite__k { font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.14em; text-transform: uppercase; color: #ad6233; }
.invite strong { display: block; font-size: 1.05rem; margin: 6px 0 4px; letter-spacing: -0.01em; color: #1a1612; }
.invite ul { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 4px; color: #4d463e; }
.invite li { display: flex; gap: 8px; align-items: center; }
.invite li svg { width: 14px; height: 14px; color: #ad6233; flex: none; }
@media (max-width: 760px) {
    .meet { min-height: 0; display: grid; gap: 12px; }
    .meet__a, .meet__b, .invite { position: relative; inset: auto; width: 100%; transform: none; }
    .invite { margin-top: -40px; margin-left: 12px; width: calc(100% - 24px); }
}

/* --- etykieta na zdjęciu/zrzucie --- */
.stamp {
    position: absolute; z-index: 3; top: 14px; left: 14px;
    padding: 5px 10px; border-radius: 6px;
    background: var(--color-primary); color: #14100d;
    font-family: var(--font-mono); font-size: 0.64rem; letter-spacing: 0.1em; text-transform: uppercase;
}

/* --- wydrążony numer arkusza za nagłówkiem sekcji --- */
.sec-head[data-n] { position: relative; isolation: isolate; }
.sec-head[data-n]::before {
    content: attr(data-n);
    position: absolute; z-index: -1;
    top: -0.72em; left: -0.04em;
    font-size: clamp(6rem, 14vw, 11rem);
    font-weight: 700;
    letter-spacing: -0.06em;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.07);
    pointer-events: none;
}
.sec--paper .sec-head[data-n]::before { -webkit-text-stroke-color: rgba(20, 16, 12, 0.12); }
.sec--clay .sec-head[data-n]::before { -webkit-text-stroke-color: rgba(20, 12, 6, 0.2); }
.sec-head--center[data-n]::before { left: 50%; transform: translateX(-50%); }

@media (prefers-reduced-motion: reduce) {
    .reel__row { animation: none; }
    .photo-bg img, html.js .photo-bg img { transform: none; transition: none; }
    .longshot .bframe__view img { transform: none; }
}

/* karty na glince */
.sec--clay .card { background: rgba(255, 248, 240, 0.16); border-color: rgba(20, 12, 6, 0.16); box-shadow: none; }
.sec--clay .card h3 { color: #160d07; }
.sec--clay .card p { color: rgba(20, 12, 6, 0.76); }
.sec--clay .card__num { color: #fff3e8; }

/* ilustracje w treści poradników */
.prose .fig { margin: 2.2em 0; max-width: 100%; }
.prose .fig .bframe img { display: block; width: 100%; height: auto; max-height: 520px; object-fit: cover; object-position: top; }
.prose .fig--photo img { display: block; width: 100%; height: auto; border-radius: 18px; }
.prose .fig figcaption { margin-top: 12px; font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.04em; color: var(--color-text-muted); line-height: 1.6; }
.tile img { object-position: left top; }

/* bez rozmytej poświaty pod przyciskami (prośba: zero radialnych blurów) */
body.sub .btn-backdrop { display: none; }
body.sub .glow-button { background: #161618; }
body.sub .glow-button:hover { background: var(--color-primary); color: #14100d; border-color: var(--color-primary); }


/* ---------- tworzenie-stron-internetowych.html (1.11.2026) ---------- */
.fan-note {
    margin: 34px auto 0;
    max-width: 62ch;
    text-align: center;
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--color-text-muted);
}
.branze-line {
    display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px;
    margin: 32px 0 0;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--color-text-muted);
}
.branze-line a {
    font-family: var(--font-sans);
    font-size: 0.98rem;
    letter-spacing: 0;
    text-transform: none;
    color: #f2f0ec;
    text-decoration: none;
    border-bottom: 1px solid rgba(242, 240, 236, 0.22);
    padding-bottom: 2px;
    transition: border-color 0.3s, color 0.3s;
}
.branze-line a:hover { color: var(--warm); border-color: var(--warm); }

/* blok „A może jesteś z Krakowa?” na glinie — ciemny link, zdjęcie w ramce papieru */
@media (min-width: 900px) { .krk { grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); } }
.krk p { max-width: 58ch; line-height: 1.7; margin: 0 0 16px; }
.krk__link {
    display: inline-flex; align-items: center; gap: 10px;
    margin-top: 12px;
    padding: 14px 22px;
    border-radius: 8px;
    background: #160d07;
    color: #fff3e8;
    font-weight: 500;
    text-decoration: none;
    transition: gap 0.3s var(--ease-out), background-color 0.3s;
}
.krk__link svg { width: 15px; height: 15px; }
.krk__link:hover { gap: 14px; background: #2a170b; }
.krk__photo {
    position: relative;
    margin: 0;
    padding: 10px 10px 38px;
    background: #f3eee6;
    border-radius: 4px;
    transform: rotate(1.6deg);
    box-shadow: 0 30px 50px -30px rgba(40, 18, 4, 0.7);
    transition: transform 0.6s var(--ease-out);
}
.krk__photo:hover { transform: rotate(0deg); }
.krk__photo img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 2px; }
.krk__photo figcaption {
    position: absolute; left: 14px; right: 14px; bottom: 12px;
    font-family: var(--font-mono);
    font-size: 0.66rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #6d655b;
}
@media (prefers-reduced-motion: reduce) { .krk__photo { transform: none; transition: none; } }
