﻿:root {
    /* === LIGHT / CLEAN === */
    --bg: #F6F8FB;
    --bg2: #FFFFFF;
    --panel: rgba(255,255,255,.75);
    --panel-2: rgba(255,255,255,.92);
    --border: rgba(15,23,42,.10);
    --border2: rgba(15,23,42,.08);
    --text: rgba(15,23,42,.92);
    --muted: rgba(15,23,42,.70);
    --muted2: rgba(15,23,42,.55);
    /* fresh green */
    --accent: #16A34A;
    --accent2: #22C55E;
    --good: #16A34A;
    --warn: #F59E0B;
    --shadow: 0 18px 60px rgba(2,6,23,.10);
    --shadow2: 0 10px 28px rgba(2,6,23,.09);
    --r-xl: 22px;
    --r-lg: 18px;
    --r-md: 14px;
    --max: 1120px;
    --pad: clamp(16px, 3vw, 28px);
    --h1: clamp(34px, 4vw, 54px);
    --h2: clamp(22px, 2.3vw, 30px);
    --p: clamp(15px, 1.4vw, 17px);
    /* === VERTICAL RHYTHM / SECTION SPACING === */
    --space-section: clamp(90px, 9vw, 130px);
    --space-section-tight: clamp(48px, 6vw, 72px);
    --space-section-loose: clamp(96px, 12vw, 140px);
    /* === PAGE BACKGROUND CONTROL === */
    --page-bg-base: linear-gradient(180deg, var(--bg), var(--bg2));
    --page-blob-1: radial-gradient(1100px 700px at 12% 6%, rgba(34,197,94,.14), rgba(34,197,94,0) 70%);
    --page-blob-2: radial-gradient(900px 600px at 88% 18%, rgba(22,163,74,.10), rgba(22,163,74,0) 72%);
    --page-blob-3: radial-gradient(900px 700px at 50% 92%, rgba(2,132,199,.08), rgba(2,132,199,0) 75%);
    --page-noise-opacity: .055;
}

* {
    box-sizing: border-box;
}

html, body {
    height: 100%;
    width: 100%;
    overflow-x: hidden;
}

body {
    margin: 0;
    font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Inter, Arial, "Apple Color Emoji","Segoe UI Emoji";
    color: var(--text);
    /* topbar offsets (final logic) */
    padding-top: 58px;
    min-height: 100svh;
    overflow-x: clip;
    overflow-y: auto;
    /* ważne dla pseudo-warstw tła */
    position: relative;
    isolation: isolate;
    background: none;
}

    /* tło jako warstwy (finalne) */
    body::before {
        content: "";
        position: fixed;
        inset: 0;
        z-index: -2;
        pointer-events: none;
        background: var(--page-blob-1), var(--page-blob-2), var(--page-blob-3), var(--page-bg-base);
    }

    body::after {
        content: "";
        position: fixed;
        inset: 0;
        z-index: -1;
        pointer-events: none;
        opacity: var(--page-noise-opacity);
        background-image: repeating-linear-gradient( 0deg, rgba(0,0,0,.035) 0px, rgba(0,0,0,.035) 1px, rgba(255,255,255,.035) 2px, rgba(255,255,255,.035) 3px );
        mix-blend-mode: overlay;
    }

/* NAV ZAWIJA SIĘ (kontakt spada) */
@media (max-width: 1044px) {
    body {
        padding-top: 96px;
    }
}
/* NAV ZNIKA – header znów niższy */
@media (max-width: 980px) {
    body {
        padding-top: 88px;
    }
}
/* finalny override na mniejsze (u Ciebie tak było na końcu) */
@media (max-width: 920px) {
    body {
        padding-top: 96px;
    }
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 var(--pad);
}

.section {
    padding-top: var(--space-section);
    padding-bottom: var(--space-section);
    overflow-x: clip;
}

    .section.tight {
        padding-top: var(--space-section-tight);
        padding-bottom: var(--space-section-tight);
    }

    .section.loose {
        padding-top: var(--space-section-loose);
        padding-bottom: var(--space-section-loose);
    }

/* =========================
   TOPBAR
========================= */
.topbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: rgba(246,248,251,.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border2);
    overflow: hidden;
}

    .topbar, .topbar * {
        overscroll-behavior: none;
    }

.topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px var(--pad);
    max-width: var(--max);
    margin: 0 auto;
    gap: 16px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 750;
    letter-spacing: .2px;
    min-width: 240px;
}

.logo {
    width: 46px;
    height: 46px;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 6px 14px rgba(2,6,23,.18));
}

.nav {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    justify-content: center;
}

    .nav a {
        padding: 10px 12px;
        border-radius: 12px;
        color: var(--muted);
        border: 1px solid transparent;
        transition: .18s ease;
        font-size: 14px;
    }

        .nav a:hover {
            color: var(--text);
            border-color: var(--border2);
            background: rgba(255,255,255,.65);
        }

.cta {
    display: flex;
    gap: 10px;
    align-items: center;
}

.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 11px 14px;
    border-radius: 14px;
    border: 1px solid var(--border);
    background: rgba(255,255,255,.78);
    color: var(--text);
    box-shadow: 0 10px 24px rgba(2,6,23,.06);
    transition: transform .16s ease, background .16s ease, border-color .16s ease, box-shadow .16s ease;
    cursor: pointer;
    user-select: none;
    font-weight: 650;
    font-size: 14px;
    white-space: nowrap;
}

    .btn:hover {
        transform: translateY(-1px);
        background: rgba(255,255,255,.92);
        border-color: rgba(15,23,42,.14);
        box-shadow: 0 14px 32px rgba(2,6,23,.08);
    }

    .btn:active {
        transform: translateY(0px) scale(.985);
    }

    .btn.primary {
        border-color: rgba(22,163,74,.28);
        background: linear-gradient(135deg, rgba(22,163,74,.95), rgba(34,197,94,.92));
        color: rgba(255,255,255,.96);
        box-shadow: 0 18px 42px rgba(22,163,74,.22);
    }

        .btn.primary:hover {
            border-color: rgba(22,163,74,.34);
            box-shadow: 0 22px 56px rgba(22,163,74,.26);
        }

    .btn .dot {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background: rgba(22,163,74,.95);
        box-shadow: 0 0 0 6px rgba(22,163,74,.14);
    }

    .btn.primary .dot {
        background: rgba(255,255,255,.92);
        box-shadow: 0 0 0 6px rgba(255,255,255,.18);
    }

/* topbar responsive */
@media (max-width: 920px) {
    .topbar-inner {
        flex-wrap: wrap;
        justify-content: center;
    }

    .brand {
        justify-content: center;
    }

    .cta {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 980px) {
    .brand {
        min-width: unset;
    }

    .nav {
        display: none;
    }
}

/* =========================
   HERO
========================= */
.hero {
    padding-top: 58px;
    padding-bottom: 25px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: clamp(33px, 3vw, 34px);
    align-items: start;
}

@media (max-width: 980px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }
}

.kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    border-radius: 999px;
    border: 1px solid var(--border2);
    background: rgba(255,255,255,.75);
    color: var(--muted);
    font-size: 13px;
    box-shadow: 0 10px 24px rgba(2,6,23,.05);
}

    .kicker .pulse {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: var(--good);
        box-shadow: 0 0 0 0 rgba(22,163,74,.35);
        animation: pulse 2.2s infinite;
    }

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(22,163,74,.32);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(22,163,74,0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(22,163,74,0);
    }
}

h1 {
    margin: 16px 0 10px;
    font-size: var(--h1);
    line-height: 1.03;
    letter-spacing: -0.8px;
}

.grad {
    background: linear-gradient(135deg, rgba(15,23,42,.95), rgba(22,163,74,.98), rgba(34,197,94,.92));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.lead {
    margin: 12px 0 20px;
    font-size: var(--p);
    line-height: 1.6;
    color: var(--muted);
    max-width: 58ch;
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
    margin-top: 14px;
}

@media (max-width: 920px) {
    .hero .kicker {
        margin-top: 14px;
    }
}

@media (max-width: 640px) {
    .hero-actions {
        margin-bottom: clamp(18px, 6vw, 28px);
    }
}

.hero-card {
    background: rgba(255,255,255,.62);
    border: 1px solid rgba(15,23,42,.10);
    border-radius: var(--r-xl);
    box-shadow: var(--shadow);
    overflow: visible;
    position: relative;
}

.hero-card-inner {
    padding: 26px 22px 22px;
}

@media (max-width: 520px) {
    .hero-card-inner {
        padding: 16px 14px 14px;
    }
}

.hero-illustration {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 18px;
    border: 1px solid rgba(15,23,42,.08);
    box-shadow: 0 12px 28px rgba(2,6,23,.08);
}

.hero-card .float-pills {
    position: absolute;
    inset: -35px;
    pointer-events: none;
    z-index: 3;
}

.hero-card .pill {
    position: absolute;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 650;
    color: rgba(15,23,42,.82);
    background: rgba(255,255,255,.70);
    border: 1px solid rgba(15,23,42,.10);
    box-shadow: 0 18px 42px rgba(2,6,23,.10);
    backdrop-filter: blur(10px);
    animation: floaty 6.4s ease-in-out infinite;
    pointer-events: none;
}

.hero-card .pill-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.85), transparent 55%), linear-gradient(135deg, var(--accent), var(--accent2));
    box-shadow: 0 10px 18px rgba(22,163,74,.18);
    border: 1px solid rgba(15,23,42,.10);
}

.hero-card .pill.p1 {
    top: 14px;
    left: 18px;
    transform: rotate(-1deg);
    animation-duration: 6.8s;
}

.hero-card .pill.p2 {
    top: 18px;
    right: 22px;
    transform: rotate(1deg);
    animation-duration: 7.2s;
    animation-delay: -1.4s;
}

.hero-card .pill.p3 {
    bottom: 18px;
    left: 34px;
    transform: rotate(1.2deg);
    animation-duration: 6.5s;
    animation-delay: -2.2s;
}

.hero-card .pill.p4 {
    bottom: 22px;
    right: 26px;
    transform: rotate(-1.2deg);
    animation-duration: 7.0s;
    animation-delay: -0.8s;
}

@keyframes floaty {
    0%,100% {
        transform: translateY(0px) translateX(0px) rotate(var(--rot,0deg));
    }

    50% {
        transform: translateY(-8px) translateX(3px) rotate(var(--rot,0deg));
    }
}

/* stats */
.stat-grid.framer-stats {
    display: grid;
    grid-template-columns: 1fr 1.35fr 1fr;
    gap: 14px;
    align-items: stretch;
    margin-top: 14px;
}

    .stat-grid.framer-stats .stat {
        position: relative;
        overflow: hidden;
        background: rgba(255,255,255,.72);
        border: 1px solid rgba(15,23,42,.10);
        border-radius: 18px;
        box-shadow: 0 16px 40px rgba(2,6,23,.10);
        padding: 16px 16px 14px;
        transform: translateY(0px);
        transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
    }

        .stat-grid.framer-stats .stat:hover {
            transform: translateY(-2px);
            box-shadow: 0 22px 56px rgba(2,6,23,.12);
            border-color: rgba(15,23,42,.14);
            background: rgba(255,255,255,.86);
        }

        .stat-grid.framer-stats .stat.side .num {
            font-size: 28px;
            font-weight: 900;
            letter-spacing: -0.6px;
        }

        .stat-grid.framer-stats .stat.side .lbl {
            margin-top: 8px;
            font-size: 12.5px;
            line-height: 1.35;
            color: rgba(15,23,42,.72);
        }

        .stat-grid.framer-stats .stat.main {
            padding: 14px;
        }

            .stat-grid.framer-stats .stat.main .lbl {
                margin-top: 6px;
                font-size: 12.5px;
                line-height: 1.35;
                color: rgba(15,23,42,.70);
                text-align: center;
            }

.ring-wrap {
    position: relative;
    display: grid;
    place-items: center;
    width: 100%;
    aspect-ratio: 1 / 1;
    max-height: 290px;
    margin: 2px auto 10px;
    border-radius: 22px;
}

.ring {
    width: min(310px, 100%);
    height: auto;
    transform: rotate(-90deg);
    filter: drop-shadow(0 18px 30px rgba(2,6,23,.18));
}

.ring-bg {
    fill: none;
    stroke: rgba(15,23,42,.12);
    stroke-width: 12;
}

.ring-fg {
    fill: none;
    stroke: rgba(22,163,74,.95);
    stroke-linecap: round;
    stroke-width: 12;
    stroke-dasharray: 0 999;
    stroke-dashoffset: 0;
}

.ring-center {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 10px;
}

.ring-num {
    font-size: 44px;
    font-weight: 950;
    letter-spacing: -1.2px;
    color: rgba(15,23,42,.94);
}

.stat-grid.framer-stats .stat::before {
    content: "";
    position: absolute;
    width: 180px;
    height: 140px;
    border-radius: 999px;
    filter: blur(10px);
    opacity: .95;
    transform: rotate(-12deg);
    pointer-events: none;
}

.stat-grid.framer-stats .blob-a::before {
    left: -70px;
    top: -50px;
    background: radial-gradient(circle at 30% 30%, rgba(34,197,94,.36), transparent 60%), radial-gradient(circle at 70% 60%, rgba(22,163,74,.22), transparent 62%), linear-gradient(135deg, rgba(34,197,94,.18), rgba(59,130,246,.10));
}

.stat-grid.framer-stats .blob-b::before {
    right: -70px;
    top: -60px;
    width: 240px;
    height: 190px;
    transform: rotate(10deg);
    background: radial-gradient(circle at 35% 30%, rgba(34,197,94,.42), transparent 62%), radial-gradient(circle at 70% 70%, rgba(22,163,74,.22), transparent 64%), linear-gradient(135deg, rgba(34,197,94,.16), rgba(2,132,199,.10));
}

.stat-grid.framer-stats .blob-c::before {
    right: -60px;
    bottom: -55px;
    background: radial-gradient(circle at 35% 30%, rgba(22,163,74,.30), transparent 62%), radial-gradient(circle at 70% 70%, rgba(34,197,94,.20), transparent 64%), linear-gradient(135deg, rgba(34,197,94,.14), rgba(99,102,241,.10));
    transform: rotate(-8deg);
}

@media (max-width: 900px) {
    .stat-grid.framer-stats {
        grid-template-columns: 1fr;
    }

    .hero-card .pill {
        display: none;
    }

    .ring-wrap {
        max-height: 240px;
    }
}

/* =========================
   SECTION HEADINGS / GRID / CARD
========================= */
.head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
}

    .head h2 {
        margin: 0;
        font-size: var(--h2);
        letter-spacing: -0.4px;
    }

    .head p {
        margin: 0;
        color: var(--muted);
        max-width: 56ch;
        line-height: 1.6;
        font-size: var(--p);
    }

.grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 14px;
}

.col-4 {
    grid-column: span 4;
}

.col-6 {
    grid-column: span 6;
}

.col-12 {
    grid-column: span 12;
}

@media (max-width: 980px) {
    .col-4 {
        grid-column: span 6;
    }
}

@media (max-width: 640px) {
    .col-4, .col-6 {
        grid-column: span 12;
    }
}

.card {
    border-radius: var(--r-xl);
    border: 1px solid var(--border2);
    background: linear-gradient(180deg, rgba(255,255,255,.90), rgba(255,255,255,.72));
    box-shadow: var(--shadow2);
    overflow: hidden;
    position: relative;
}

/* =========================
   PROJECTS
========================= */
.project {
    display: flex;
    flex-direction: column;
    min-height: 360px;
}

.thumb {
    height: 190px;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--border2);
    background: radial-gradient(520px 260px at 15% 25%, rgba(34,197,94,.18), transparent 60%), radial-gradient(520px 260px at 85% 40%, rgba(22,163,74,.12), transparent 60%), rgba(255,255,255,.65);
}

    .thumb .mock {
        position: absolute;
        inset: 16px;
        border-radius: 16px;
        border: 1px solid var(--border2);
        background: linear-gradient(180deg, rgba(255,255,255,.86), rgba(255,255,255,.62)), radial-gradient(380px 200px at 35% 20%, rgba(15,23,42,.06), transparent 60%);
        box-shadow: 0 18px 50px rgba(2,6,23,.10);
        transform: translateZ(0);
    }

        .thumb .mock::before {
            content: "";
            position: absolute;
            left: 14px;
            top: 12px;
            width: 54px;
            height: 10px;
            border-radius: 999px;
            background: rgba(15,23,42,.10);
        }

        .thumb .mock::after {
            content: "";
            position: absolute;
            right: 14px;
            top: 12px;
            width: 90px;
            height: 10px;
            border-radius: 999px;
            background: rgba(15,23,42,.07);
        }

.thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1.02);
    transition: transform .25s ease;
}

.project:hover .thumb-img {
    transform: scale(1.06);
}

.overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(246,248,251,.62);
    opacity: 0;
    transition: opacity .18s ease;
    backdrop-filter: blur(6px);
}

.project:hover .overlay {
    opacity: 1;
}

.overlay span {
    padding: 10px 14px;
    border-radius: 14px;
    border: 1px solid rgba(22,163,74,.20);
    background: linear-gradient(135deg, rgba(22,163,74,.92), rgba(34,197,94,.86));
    color: rgba(255,255,255,.96);
    box-shadow: 0 18px 50px rgba(22,163,74,.18);
    font-weight: 800;
}

.project-body {
    padding: 16px;
    display: grid;
    gap: 10px;
    flex: 1;
}

.project-title {
    font-weight: 900;
    letter-spacing: -.2px;
}

.project-desc {
    margin: 0;
    color: var(--muted);
    line-height: 1.6;
    font-size: 14px;
}

.meta {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 4px;
}

.pill {
    font-size: 12.5px;
    color: var(--muted);
    padding: 7px 10px;
    border-radius: 999px;
    border: 1px solid var(--border2);
    background: rgba(255,255,255,.72);
    box-shadow: 0 8px 16px rgba(2,6,23,.05);
}

.review {
    margin-top: 6px;
    padding-top: 10px;
    border-top: 1px dashed rgba(15,23,42,.14);
    display: grid;
    gap: 8px;
}

.stars {
    display: flex;
    gap: 3px;
    align-items: center;
}

.star {
    width: 16px;
    height: 16px;
    display: inline-block;
    background: linear-gradient(180deg, rgba(34,197,94,.92), rgba(22,163,74,.92));
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
    opacity: .95;
    filter: drop-shadow(0 8px 12px rgba(2,6,23,.10));
}

.quote {
    margin: 0;
    color: rgba(15,23,42,.82);
    line-height: 1.55;
    font-size: 13.5px;
}

.client {
    font-size: 12.5px;
    color: var(--muted2);
}

/* projects layout (final: 2 duże kafle) */
#projekty .grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

#projekty .project {
    grid-column: span 1 !important;
    min-height: 420px;
}

#projekty .thumb {
    height: 240px;
}

@media (max-width: 640px) {
    #projekty .grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    #projekty .thumb {
        height: 200px;
    }
}

/* =========================
   CALCULATOR / WIZARD
========================= */
.panel-inner {
    padding: 16px;
}

.row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 12px 12px;
    border-radius: 14px;
    border: 1px solid var(--border2);
    background: rgba(255,255,255,.74);
    margin-bottom: 10px;
    transition: transform .14s ease, box-shadow .14s ease, border-color .14s ease;
}

    .row:hover {
        transform: translateY(-1px);
        box-shadow: 0 14px 30px rgba(2,6,23,.08);
        border-color: rgba(15,23,42,.14);
    }

    .row:last-child {
        margin-bottom: 0;
    }

    .row .left {
        display: grid;
        gap: 4px;
    }

    .row .name {
        font-weight: 850;
        letter-spacing: -.1px;
    }

    .row .hint {
        font-size: 12.5px;
        color: var(--muted);
        line-height: 1.4;
        max-width: 52ch;
    }

.toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.copybox {
    margin-top: 12px;
    padding: 12px;
    border-radius: 16px;
    border: 1px solid var(--border2);
    background: rgba(255,255,255,.78);
    color: rgba(15,23,42,.80);
    font-size: 12.8px;
    line-height: 1.5;
    white-space: pre-wrap;
    box-shadow: 0 10px 22px rgba(2,6,23,.06);
}

.muted {
    color: var(--muted);
}

.wizard {
    padding: 22px;
}

.wizard-progress {
    margin-bottom: 22px;
}

.wizard-bar {
    height: 6px;
    background: rgba(15,23,42,.08);
    border-radius: 999px;
    overflow: hidden;
}

    .wizard-bar span {
        display: block;
        height: 100%;
        width: 0%;
        background: linear-gradient(135deg, var(--accent), var(--accent2));
        transition: width .35s ease;
    }

.wizard-step-label {
    margin-top: 8px;
    font-size: 13px;
    color: var(--muted);
}

/* FINAL: wizard body ma być visible + unset min-height */
.wizard-body {
    position: relative;
    overflow: visible;
    min-height: unset;
    margin-top: 0;
}

.wiz-step {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: translateX(40px);
    transition: .35s cubic-bezier(.22,.61,.36,1);
}

    .wiz-step.active {
        opacity: 1;
        transform: translateX(0);
        position: relative;
        inset: auto;
    }

.wiz-option {
    padding: 14px;
    border-radius: 14px;
    border: 1px solid var(--border2);
    background: rgba(255,255,255,.85);
    margin-bottom: 12px;
    cursor: pointer;
    font-weight: 700;
    transition: .18s ease;
}

    .wiz-option:hover {
        transform: translateY(-1px);
        box-shadow: 0 12px 26px rgba(2,6,23,.08);
    }

    .wiz-option.disabled {
        opacity: 0.45;
        cursor: not-allowed;
        pointer-events: none;
        filter: grayscale(1);
    }

    /* HOT option */
    .wiz-option.is-popular {
        position: relative;
        overflow: visible;
        background: linear-gradient(180deg, rgba(22,163,74,.14), rgba(22,163,74,.08));
        border: 1px solid rgba(22,163,74,.35);
        box-shadow: 0 18px 40px rgba(22,163,74,.10), 0 10px 22px rgba(2,6,23,.08);
        padding-left: 20px;
    }

        .wiz-option.is-popular::before {
            content: "HOT";
            position: absolute;
            top: -12px;
            left: -12px;
            transform: rotate(-10deg);
            transform-origin: left center;
            font-size: 12px;
            font-weight: 1000;
            letter-spacing: .5px;
            padding: 6px 10px;
            border-radius: 8px;
            background: linear-gradient(180deg, rgba(22,163,74,.95), rgba(34,197,94,.85));
            color: #fff;
            box-shadow: 0 8px 20px rgba(22,163,74,.35), 0 4px 10px rgba(2,6,23,.20);
            z-index: 3;
            pointer-events: none;
        }

        .wiz-option.is-popular:hover {
            transform: translateY(-2px);
            box-shadow: 0 22px 48px rgba(22,163,74,.14), 0 12px 26px rgba(2,6,23,.10);
        }

        .wiz-option.is-popular .pill {
            background: rgba(22,163,74,.14);
            border: 1px solid rgba(22,163,74,.30);
            font-weight: 900;
        }

/* wizard-nav (final: na górze) */
.wizard-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-top: 12px;
    margin-bottom: 14px;
}

    .wizard-nav .right {
        margin-left: auto;
        display: flex;
        gap: 10px;
        align-items: center;
    }

.btn[disabled] {
    opacity: .55;
    cursor: not-allowed;
    transform: none !important;
}

/* summary */
.summary-price-row {
    margin-top: 10px;
    display: flex;
    align-items: baseline;
    gap: 18px;
    flex-wrap: wrap;
}

.summary-old {
    position: relative;
    color: #E11D48;
    font-weight: 950;
    font-size: 22px;
    letter-spacing: -0.2px;
    opacity: 0;
    transform: translateY(6px);
    animation: sumOldIn .25s ease forwards .05s;
}

    .summary-old::after {
        content: "";
        position: absolute;
        left: -6%;
        right: -6%;
        top: 55%;
        height: 3px;
        border-radius: 3px;
        background: #E11D48;
        transform: scaleX(0);
        transform-origin: left;
        animation: sumStrike .55s ease forwards .18s;
    }

.summary-new {
    font-weight: 950;
    font-size: 54px;
    letter-spacing: -1px;
    color: rgba(15,23,42,.94);
    opacity: 0;
    transform: translateY(6px);
    animation: sumNewIn .28s ease forwards .10s;
}

@keyframes sumOldIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes sumStrike {
    to {
        transform: scaleX(1);
    }
}

@keyframes sumNewIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 520px) {
    .summary-new {
        font-size: 46px;
    }

    .summary-old {
        font-size: 20px;
    }
}

/* custom input */
.option-custom-input {
    margin-top: 10px;
    width: 100%;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: var(--bg2);
    font-size: 14px;
}

    .option-custom-input:focus {
        outline: none;
        border-color: var(--accent);
    }

/* range slider */
.wizard input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 8px;
    border-radius: 999px;
    background: rgba(15,23,42,.10);
    outline: none;
}

    .wizard input[type="range"]::-webkit-slider-runnable-track {
        height: 8px;
        border-radius: 999px;
        background: linear-gradient(90deg, rgba(22,163,74,.65), rgba(34,197,94,.55));
        box-shadow: inset 0 0 0 1px rgba(15,23,42,.08);
    }

    .wizard input[type="range"]::-webkit-slider-thumb {
        -webkit-appearance: none;
        appearance: none;
        width: 18px;
        height: 18px;
        border-radius: 999px;
        background: #fff;
        border: 2px solid rgba(22,163,74,.85);
        box-shadow: 0 10px 22px rgba(2,6,23,.14);
        margin-top: -5px;
        cursor: pointer;
        transition: transform .12s ease, box-shadow .12s ease;
    }

    .wizard input[type="range"]:active::-webkit-slider-thumb {
        transform: scale(1.06);
        box-shadow: 0 14px 28px rgba(2,6,23,.18);
    }

    .wizard input[type="range"]::-moz-range-track {
        height: 8px;
        border-radius: 999px;
        background: rgba(15,23,42,.10);
    }

    .wizard input[type="range"]::-moz-range-progress {
        height: 8px;
        border-radius: 999px;
        background: linear-gradient(90deg, rgba(22,163,74,.65), rgba(34,197,94,.55));
    }

    .wizard input[type="range"]::-moz-range-thumb {
        width: 18px;
        height: 18px;
        border-radius: 999px;
        background: #fff;
        border: 2px solid rgba(22,163,74,.85);
        box-shadow: 0 10px 22px rgba(2,6,23,.14);
        cursor: pointer;
        transition: transform .12s ease, box-shadow .12s ease;
    }

    .wizard input[type="range"]:active::-moz-range-thumb {
        transform: scale(1.06);
        box-shadow: 0 14px 28px rgba(2,6,23,.18);
    }

/* =========================
   EXPERIENCE
========================= */
.exp-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 24px;
}

@media (max-width: 820px) {
    .exp-grid {
        grid-template-columns: 1fr;
    }
}

.exp-card {
    position: relative;
    overflow: hidden;
    padding: 22px 18px;
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(255,255,255,.9), rgba(255,255,255,.72));
    border: 1px solid rgba(15,23,42,.10);
    box-shadow: 0 16px 40px rgba(2,6,23,.08);
    text-align: center;
    transition: transform .2s ease, box-shadow .2s ease;
}

    .exp-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 24px 60px rgba(2,6,23,.12);
    }

    .exp-card.highlight {
        background: linear-gradient(180deg, rgba(22,163,74,.10), rgba(255,255,255,.85));
        border-color: rgba(22,163,74,.25);
    }

    .exp-card img {
        width: 42px;
        height: 42px;
        margin-bottom: 10px;
        filter: drop-shadow(0 10px 18px rgba(22,163,74,.25));
    }

.exp-num {
    font-size: 44px;
    font-weight: 950;
    letter-spacing: -1px;
    margin-bottom: 6px;
}

.exp-label {
    font-size: 13.5px;
    color: var(--muted);
    font-weight: 650;
}

/* loop backgrounds */
.exp-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background-repeat: no-repeat;
    background-size: 120%;
    background-position: center;
    opacity: 0.45;
    z-index: 0;
    pointer-events: none;
    transition: opacity .3s ease, transform .3s ease;
}

.exp-loop-1::before {
    background-image: url("assets/loops/loop1.png");
    background-position: left center;
}

.exp-loop-2::before {
    background-image: url("assets/loops/loop2.png");
    background-position: center;
}

.exp-loop-3::before {
    background-image: url("assets/loops/loop3.png");
    background-position: right center;
}

.exp-card > * {
    position: relative;
    z-index: 1;
}

.exp-card:hover::before {
    opacity: 0.6;
    transform: scale(1.03);
}

@media (max-width: 820px) {
    .exp-card::before {
        opacity: 0.25;
        background-size: 140%;
    }
}

/* =========================
   PROCESS BOARD
========================= */
.process-board {
    position: relative;
    border-radius: 26px;
    border: 1px solid rgba(15,23,42,.10);
    background: radial-gradient(900px 340px at 12% 16%, rgba(34,197,94,.10), transparent 60%), radial-gradient(900px 340px at 88% 16%, rgba(22,163,74,.08), transparent 60%), linear-gradient(180deg, rgba(255,255,255,.92), rgba(255,255,255,.74));
    box-shadow: 0 22px 70px rgba(2,6,23,.10);
    overflow: hidden;
    padding: clamp(14px, 2.2vw, 22px);
}

    .process-board::before {
        content: "";
        position: absolute;
        inset: 0;
        background-image: linear-gradient(to right, rgba(15,23,42,.05) 1px, transparent 1px), linear-gradient(to bottom, rgba(15,23,42,.05) 1px, transparent 1px);
        background-size: 56px 56px;
        opacity: .22;
        pointer-events: none;
    }

.process-board-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    grid-template-areas:
        "p1 p2"
        "p3 p4";
    min-height: 360px;
}

.process-card {
    position: relative;
    border-radius: 20px;
    border: 1px solid rgba(15,23,42,.10);
    background: rgba(255,255,255,.82);
    box-shadow: 0 16px 42px rgba(2,6,23,.10);
    padding: 18px 16px 16px;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
    backdrop-filter: blur(8px);
}

    .process-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 22px 58px rgba(2,6,23,.12);
        border-color: rgba(15,23,42,.14);
        background: rgba(255,255,255,.92);
    }

    .process-card .top {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        margin-bottom: 10px;
    }

.process-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(22,163,74,.95), rgba(34,197,94,.92));
    color: rgba(255,255,255,.96);
    font-weight: 950;
    letter-spacing: -.3px;
    box-shadow: 0 14px 34px rgba(22,163,74,.22);
    border: 1px solid rgba(15,23,42,.10);
    flex-shrink: 0;
}

.process-tag {
    font-size: 12px;
    font-weight: 750;
    color: rgba(15,23,42,.72);
    padding: 7px 10px;
    border-radius: 999px;
    border: 1px solid rgba(15,23,42,.10);
    background: rgba(255,255,255,.70);
    box-shadow: 0 10px 22px rgba(2,6,23,.06);
    white-space: nowrap;
}

.process-title {
    margin: 0;
    font-size: 16px;
    font-weight: 950;
    letter-spacing: -.2px;
}

.process-desc {
    margin: 8px 0 0;
    color: rgba(15,23,42,.72);
    line-height: 1.55;
    font-size: 13.5px;
    max-width: 62ch;
}

.process-mini {
    margin-top: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

    .process-mini .pill {
        font-size: 12px;
        padding: 6px 10px;
    }

.p1 {
    grid-area: p1;
}

.p2 {
    grid-area: p2;
}

.p3 {
    grid-area: p3;
}

.p4 {
    grid-area: p4;
}

/* arrows */
.process-arrows {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    opacity: .95;
    filter: drop-shadow(0 10px 18px rgba(22,163,74,.18));
}

.process-board:has(.p1:hover) .arrow-12 {
    opacity: 1;
    stroke-width: 4.5;
}

.process-board:has(.p2:hover) .arrow-23 {
    opacity: 1;
    stroke-width: 4.5;
}

.process-board:has(.p3:hover) .arrow-34 {
    opacity: 1;
    stroke-width: 4.5;
}

.arrow-base {
    stroke: var(--accent);
    stroke-width: 3.5;
    fill: none;
    opacity: .55;
    transition: opacity .18s ease, stroke-width .18s ease;
}

.arrow-node {
    fill: rgba(22,163,74,.95);
    opacity: .85;
}

/* mobile stack */
@media (max-width: 860px) {
    .process-board-inner {
        grid-template-columns: 1fr;
        grid-template-areas: "p1" "p2" "p3" "p4";
        min-height: unset;
    }

    .process-arrows.desktop {
        display: none;
    }

    .process-arrows.mobile {
        display: block;
    }
}

@media (min-width: 861px) {
    .process-arrows.desktop {
        display: block;
    }

    .process-arrows.mobile {
        display: none;
    }
}

/* =========================
   TEAM
========================= */
.team-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 35px;
    align-items: stretch;
    margin-top: 16px;
}

@media (max-width: 860px) {
    .team-wrap {
        grid-template-columns: 1fr;
    }
}

.team-card {
    position: relative;
    border-radius: 22px;
    border: 1px solid rgba(15,23,42,.10);
    background: linear-gradient(180deg, rgba(255,255,255,.92), rgba(255,255,255,.74));
    box-shadow: 0 18px 55px rgba(2,6,23,.10);
    padding: 16px 16px 14px;
    overflow: hidden;
    opacity: 0;
    transform: translateY(0);
    transition: opacity .22s ease, transform .22s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
}

.team-snappy.in .team-card {
    opacity: 1;
    transform: translateY(0);
}

.team-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 26px 78px rgba(2,6,23,.13);
}

/* portrait */
.team-portrait {
    position: relative;
    border-radius: 18px;
    border: 1px solid rgba(15,23,42,.08);
    background: radial-gradient(520px 260px at 20% 25%, rgba(34,197,94,.12), transparent 60%), radial-gradient(520px 260px at 80% 30%, rgba(22,163,74,.09), transparent 60%), rgba(255,255,255,.70);
    box-shadow: 0 16px 42px rgba(2,6,23,.10);
    overflow: hidden;
    aspect-ratio: 2 / 3;
    min-height: 340px;
    display: grid;
    place-items: end center;
    padding: 10px 10px 0;
}

.team-img {
    width: min(420px, 94%);
    height: auto;
    display: block;
    transform: translateY(10px);
    filter: drop-shadow(0 18px 28px rgba(2,6,23,.20));
}

/* podpis PNG – final (NA GÓRZE) */
.team-sign-img {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 3;
    pointer-events: none;
    opacity: 0;
    transform: translateY(-6px) rotate(-1.2deg);
    transition: opacity .16s ease, transform .12s ease-out;
    transition-delay: calc(var(--delay, 0ms) + 140ms);
    mix-blend-mode: multiply;
    filter: drop-shadow(0 2px 0 rgba(255,255,255,.65)) drop-shadow(0 10px 18px rgba(2,6,23,.14));
    will-change: transform, opacity;
    backface-visibility: hidden;
    transform-origin: center;
}

.team-snappy.in .team-sign-img {
    opacity: .78;
    transform: translateY(0) rotate(-1.2deg);
}

.team-card:hover .team-sign-img {
    opacity: .92;
    mix-blend-mode: normal;
}

/* premium: podpis tylko na hover */
.sign-hover .team-snappy.in .team-sign-img {
    opacity: 0;
    transform: translateY(8px) rotate(-1.2deg);
    transition-delay: 0ms;
}

.sign-hover .team-card:hover .team-sign-img {
    opacity: .92;
    transform: translateY(0) rotate(-1.2deg);
}

.team-sign-you {
    width: min(300px, 78%);
    height: auto;
}

.team-sign-partner {
    width: min(280px, 78%);
    height: auto;
}

@media (max-width: 520px) {
    .team-sign-img {
        top: 10px;
        left: 10px;
    }

    .team-sign-you {
        width: min(240px, 72%);
    }

    .team-sign-partner {
        width: min(225px, 72%);
    }
}

/* opis */
.team-about {
    margin-top: 12px;
    display: grid;
    gap: 6px;
}

.team-name {
    margin: 0;
    font-size: 16px;
    font-weight: 950;
    letter-spacing: -0.2px;
    color: rgba(15,23,42,.92);
}

.team-role {
    margin-top: 2px;
    font-weight: 800;
    font-size: 12.5px;
    color: rgba(15,23,42,.62);
}

.team-bio {
    margin: 6px 0 0;
    color: rgba(15,23,42,.74);
    line-height: 1.55;
    font-size: 13.8px;
    max-width: 60ch;
}

.team-subline {
    display: inline-block;
    margin-left: 10px;
    color: rgba(15,23,42,.62);
    font-size: 13.5px;
}

.team-mini {
    margin-top: 12px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

    .team-mini .pill {
        padding: 6px 9px;
        border-radius: 999px;
        transition: background .15s ease, border-color .15s ease, transform .15s ease;
    }

        .team-mini .pill:hover {
            background: rgba(255,255,255,.92);
            border-color: rgba(15,23,42,.14);
            transform: translateY(-1px);
        }

.team-card[data-accent="tech"] .team-mini .pill:first-child {
    background: rgba(22,163,74,.10);
    border-color: rgba(22,163,74,.22);
    color: rgba(15,23,42,.82);
}

.team-card[data-accent="strategy"] .team-mini .pill:first-child {
    background: rgba(2,132,199,.10);
    border-color: rgba(2,132,199,.22);
    color: rgba(15,23,42,.82);
}

/* reduce motion */
@media (prefers-reduced-motion: reduce) {
    .team-card, .team-sign-img {
        transition: none !important;
        transform: none !important;
    }

    .team-card {
        opacity: 1 !important;
    }

    .team-sign-img {
        opacity: .78 !important;
    }
}

/* minimal “anti-flicker” */
.team-card,
.team-card img {
    will-change: transform;
    transform: translateZ(0);
}

/* =========================
   REVEAL + FOCUS
========================= */
.reveal {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity .55s ease, transform .55s ease;
}

    .reveal.in {
        opacity: 1;
        transform: translateY(0px);
    }

:focus-visible {
    outline: 3px solid rgba(34,197,94,.35);
    outline-offset: 3px;
    border-radius: 12px;
}

/* =========================
   FOOTER
========================= */
footer {
    padding: 28px 0 44px;
    color: var(--muted2);
    font-size: 13px;
    border-top: 1px solid var(--border2);
    background: rgba(255,255,255,.50);
}

.footer-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}
