


/* Header — ciemniejsze tło dopasowane do oferty */
#site-header.header-dark {
    background: #030303;
}


/* ========================= HERO ========================= */
.oferta-hero {
    width: 100%;
    height: 100dvh;
    display: flex;
    flex-direction: row;
    background-color: #030303;
    color: var(--text-light);
    overflow: hidden;
    position: relative;
}

.oferta-hero__left {
    width: 50vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.75rem;
    padding: 2vh 2vw 3vh 4vw;
    position: relative;
    z-index: 2;
}

.oferta-hero__title {
    display: flex;
    flex-direction: column;
    font-size: 0;
    margin: 0;
}

.oferta-hero__title .line-mask {
    display: block;
    overflow: hidden;
    width: 100%;
}

.oferta-hero__line {
    display: block;
    color: var(--text-light);
    font-family: 'Inter', sans-serif;
    font-size: clamp(2.25rem, 6vw, 6.5rem);
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -0.02em;
    will-change: transform;
}

.oferta-hero__desc {
    font-family: 'Marble PL', sans-serif;
    font-size: clamp(1rem, 3vw, 2rem);
    line-height: 1.1;
    font-weight: 400;
    letter-spacing: -0.01em;
    text-wrap: pretty;
    color: rgba(244, 244, 245, 0.7);
    max-width: 100%;
    margin: 0;
}

.oferta-hero__right {
    position: relative;
    width: 50vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4.5rem 1.5rem 1.5rem;
    box-sizing: border-box;
    overflow: hidden;
}

.oferta-hero__video {
    width: 95%;
    height: 95%;
    object-fit: cover;
    border-radius: 24px;
    pointer-events: none;
}

/* Ukrycie do animacji GSAP (loaderFinished) */
.oferta-hero__title,
.oferta-hero__desc,
.oferta-hero__video {
    visibility: hidden;
}

@media (max-width: 1440px) {
    .oferta-hero__line {
        font-size: clamp(2rem, 6vw, 4.5rem);
    }
    .oferta-hero__desc {
        font-size: clamp(1rem, 3vw, 1.5rem);
    }
}

@media (max-width: 1024px) {
    .oferta-hero {
        flex-direction: column;
        height: auto;
        min-height: 100vh;
        padding: 16vh 6vw 6vh;
        gap: 4vh;
        justify-content: center;
    }
    .oferta-hero__left,
    .oferta-hero__right {
        width: 100%;
        height: auto;
        padding: 0;
    }
    .oferta-hero__left {
        gap: 2rem;
    }
    .oferta-hero__line {
        font-size: 2.75rem;
        line-height: 0.98;
    }
    .oferta-hero__desc {
        font-family: 'Marble PL', sans-serif;
        font-size: clamp(1.15rem, 3vw, 1.75rem);
        max-width: 100%;
    }
    .oferta-hero__right {
        aspect-ratio: 1 / 1;
        border-radius: 24px;
        overflow: hidden;
    }
}


/*PRZYCISKI MAGNETYCZNE */
.hero-magnetic-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

.magnetic-btn {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: clamp(175px, 22vw, 350px);
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    border: 1px solid var(--text-dark);
    background-color: transparent;
    overflow: hidden;
    cursor: pointer;
    will-change: transform;
    text-decoration: none !important;
}

.magnetic-btn-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120%;
    aspect-ratio: 1 / 1;
    background-color: var(--text-dark);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1;
}

.magnetic-btn:hover .magnetic-btn-bg {
    transform: translate(-50%, -50%) scale(1);
}

.magnetic-btn-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 2;
    color: var(--text-dark);
    mix-blend-mode: difference;
    transition: color 0.4s ease;
}

.magnetic-btn:hover .magnetic-btn-content {
    color: #ffffff;
}

.magnetic-icon {
    width: 30px;
    height: 30px;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.magnetic-btn:hover .magnetic-icon {
    transform: rotate(45deg);
}

.magnetic-text {
    font-family: 'Marble PL', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-decoration: none;
}

.magnetic-btn.is-light .magnetic-btn-bg {
    background-color: #ffffff;
}

.magnetic-btn.is-light .magnetic-btn-content {
    color: #ffffff;
    mix-blend-mode: normal;
}

.magnetic-btn.is-light:hover .magnetic-btn-content {
    color: var(--text-dark);
}


/* CIEMNE PRZEJŚCIE / INTRO */
.portfolio-intro2 {
    background: #030303;
    padding: 20vh 10vw;
    position: relative;
    z-index: 30;
    overflow: hidden;
}

.portfolio-intro2 .container {
    position: relative;
    z-index: 2;
}

.intro-label2 {
    display: block;
    font-family: 'Marble PL', sans-serif;
    font-size: 0.8rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.intro-title2 {
    font-family: 'Marble PL', sans-serif;
    font-size: clamp(3rem, 6vw, 8rem);
    line-height: 0.9;
    color: #fff;
    margin-bottom: 0;
}

/*  */


@media (max-width: 1024px) {
    .portfolio-intro2 {

        margin: 0 auto;
        padding: 12vh 4vw;
        width: 100%;
        max-width: 100%;
    }
    .intro-title2 {
        font-weight: 700;
        font-size: clamp(2.5rem, 7vw, 3rem);
        line-height: 1.1;
    }
    .intro-label2 {
        letter-spacing: 0.1em;
        font-size: 0.7rem;
        margin-bottom: 1rem;
    }
}



#px-canvas {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9995;
}



/*  TECH SECTION */
.tech-section {
    display: grid;
    grid-template-columns: 37% 63%;
    align-items: start;
    width: 100vw;
    min-height: 230vh;
    position: relative;
    background: #030303;
}

/* Lewa kolumna — pin: initTechSectionSticky() w page-home.js */
.s-left {
    --s-left-tier: #E8572A;
    grid-column: 1;
    width: 100%;
    height: 100vh;
    position: relative;
    z-index: 20;
    border-right: 1px solid rgba(244, 244, 245, 0.06);
    box-sizing: border-box;
    overflow: hidden;
    isolation: isolate;
}

.s-left__fx {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.s-left__grain {
    position: absolute;
    inset: 0;
    opacity: 0.35;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
}

.s-left__glow {
    position: absolute;
    top: 18%;
    right: -12%;
    width: min(42vw, 320px);
    height: min(42vw, 320px);
    border-radius: 50%;
    background: radial-gradient(circle, var(--s-left-tier) 0%, transparent 68%);
    filter: blur(70px);
    opacity: 0.28;
    transition: background 0.85s ease, opacity 0.5s ease;
}

.s-left__ghost {
    position: absolute;
    right: -0.08em;
    bottom: 0.02em;
    font-family: 'Marble PL', sans-serif;
    font-weight: 800;
    font-size: clamp(9rem, 22vw, 16rem);
    line-height: 0.82;
    letter-spacing: -0.06em;
    color: var(--s-left-tier);
    opacity: 0.055;
    user-select: none;
    transition: color 0.85s ease, opacity 0.5s ease, transform 0.9s cubic-bezier(.16, 1, .3, 1);
}

.s-left.is-tier-active .s-left__ghost {
    opacity: 0.1;
    transform: scale(1.03) translateX(-4px);
}

.s-left__orbit {
    position: absolute;
    top: 50%;
    right: -18%;
    width: min(52vw, 340px);
    height: min(52vw, 340px);
    transform: translateY(-50%) rotate(-90deg);
    opacity: 0.55;
}

.s-left__orbit-track {
    fill: none;
    stroke: rgba(244, 244, 245, 0.06);
    stroke-width: 1;
}

.s-left__orbit-fill {
    fill: none;
    stroke: var(--s-left-tier);
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-dasharray: 100;
    stroke-dashoffset: 100;
    filter: drop-shadow(0 0 8px var(--s-left-tier));
    transition: stroke 0.85s ease;
}

.s-left__beam {
    position: absolute;
    top: 8vh;
    right: 0;
    width: 3px;
    height: 84vh;
}

.s-left__beam-track {
    stroke: rgba(244, 244, 245, 0.08);
    stroke-width: 2;
}

.s-left__beam-fill {
    stroke: var(--s-left-tier);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-dasharray: 100;
    stroke-dashoffset: 100;
    filter: drop-shadow(0 0 6px var(--s-left-tier));
    transition: stroke 0.85s ease;
}

.s-left__frame {
    position: absolute;
    width: 28px;
    height: 28px;
    border-color: color-mix(in srgb, var(--s-left-tier) 35%, transparent);
    border-style: solid;
    z-index: 2;
    pointer-events: none;
    transition: border-color 0.85s ease;
}

.s-left__frame--tl { top: 5vh; left: 4vw; border-width: 1px 0 0 1px; }
.s-left__frame--tr { top: 5vh; right: 2vw; border-width: 1px 1px 0 0; }
.s-left__frame--bl { bottom: 5vh; left: 4vw; border-width: 0 0 1px 1px; }
.s-left__frame--br { bottom: 5vh; right: 2vw; border-width: 0 1px 1px 0; }

.s-left__inner {
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.5rem;
    padding: 6vh 4vw 6vh 7vw;
    box-sizing: border-box;
}

.s-left__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.s-left__signal {
    display: flex;
    align-items: center;
}

.s-left__signal-text {
    .s-left__orbit-fill,
    .s-left__beam-fill,
    .s-left__progress-fill,
    .s-left__glow,
    .s-left__frame,
    .s-desc {
        transition: none;
    }
}

.s-left__signal-text {
    font-family: 'Marble PL', sans-serif;
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: rgba(244, 244, 245, 0.45);
}

.s-tag {
    font-family: 'Marble PL', sans-serif;
    font-size: clamp(0.7rem, 0.85vw, 0.8rem);
    font-weight: 600;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--text-light);
    opacity: 0.85;
}

.s-title {
    font-family: 'Marble PL', sans-serif;
    font-weight: 800;
    font-size: clamp(2rem, 4.5vw, 4.25rem);
    line-height: 0.95;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    margin: 0;
    color: var(--text-light);
}

.s-title-line {
    display: block;
    overflow: hidden;
}

.s-title-line > span {
    display: block;
    will-change: transform;
}

.s-left__readout {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.85rem 1rem;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01));
    border: 1px solid rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.s-left__readout-num {
    font-family: 'Marble PL', sans-serif;
    font-weight: 800;
    font-size: clamp(2.2rem, 4vw, 3rem);
    line-height: 1;
    letter-spacing: -0.04em;
    color: var(--s-left-tier);
    min-width: 2.2ch;
    transition: color 0.85s ease;
}

.s-left__readout-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    min-width: 0;
}

.s-left__readout-label {
    font-family: 'Marble PL', sans-serif;
    font-size: 0.58rem;
    font-weight: 600;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: rgba(244, 244, 245, 0.38);
}

.s-left__readout-name {
    font-family: 'Inter', sans-serif;
    font-size: clamp(0.72rem, 0.95vw, 0.85rem);
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(244, 244, 245, 0.88);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.s-desc {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: clamp(0.95rem, 1.1vw, 1.15rem);
    line-height: 1.65;
    color: rgba(244, 244, 245, 0.62);
    max-width: 22rem;
    margin: 0;
    padding-left: 1.1rem;
    border-left: 2px solid color-mix(in srgb, var(--s-left-tier) 55%, transparent);
    transition: border-color 0.85s ease;
}

.s-left__progress {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    max-width: 22rem;
}

.s-left__progress-track {
    flex: 1;
    height: 2px;
    background: rgba(244, 244, 245, 0.08);
    border-radius: 2px;
    overflow: hidden;
}

.s-left__progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--s-left-tier), color-mix(in srgb, var(--s-left-tier) 40%, #fff));
    box-shadow: 0 0 12px color-mix(in srgb, var(--s-left-tier) 60%, transparent);
    border-radius: 2px;
    transition: background 0.85s ease, box-shadow 0.85s ease;
}

.s-left__progress-pct {
    font-family: 'Marble PL', sans-serif;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    color: rgba(244, 244, 245, 0.45);
    min-width: 2.5rem;
    text-align: right;
}

.s-left-actions {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    margin-top: 0.25rem;
}

.s-left .przycisk {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.s-left .przycisk .magnetic-btn {
    width: clamp(140px, 15vw, 175px);
    border-color: rgba(244, 244, 245, 0.35);
}

.s-left .przycisk .magnetic-btn-bg {
    background-color: var(--text-light);
}

.s-left .przycisk .magnetic-btn-content {
    gap: 5px;
    color: var(--text-light);
    mix-blend-mode: normal;
}

.s-left .przycisk .magnetic-btn:hover .magnetic-btn-content {
    color: #030303;
}

.s-left .przycisk .magnetic-icon {
    width: 18px;
    height: 18px;
}

.s-left .przycisk .magnetic-text {
    font-size: clamp(0.58rem, 0.65vw, 0.7rem);
    letter-spacing: 0.12em;
    line-height: 1.2;
    text-align: center;
    max-width: 5.5rem;
}


/* RIGHT scrollable */
.s-right {
    grid-column: 2;
    width: 100%;
    min-height: 230vh;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    padding: 17vh 0;
    
}

/* WIRE */
.wire-svg {
    position: absolute;
    top: 0;
    left: 80px;
    width: 2px;
    height: 100%;
    z-index: 1;
    overflow: visible;
}

.wire-bg {
    stroke: rgba(244, 244, 245, .04);
    stroke-width: 1;
    fill: none;
}

.wire-fg {
    stroke: rgba(244, 244, 245, .7);
    stroke-width: 1;
    fill: none;
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
}

/* PULSE DOT */
.pulse-dot {
    position: absolute;
    left: 80px;
    top: 0;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--text-light);
    transform: translate(-50%, -50%);
    z-index: 5;
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s;
}

.pulse-dot::after {
    content: '';
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    border: 1px solid rgba(244, 244, 245, .25);
    animation: pulse-ring 1.6s ease-out infinite;
}

@keyframes pulse-ring {
    0% {
        transform: scale(1);
        opacity: .7;
    }

    100% {
        transform: scale(2.2);
        opacity: 0;
    }
}

/* NODES */
.tech-node {
    display: flex;
    align-items: center;
    gap: 28px;
    padding-left: 120px;
    position: relative;
    z-index: 2;
    opacity: 0;
    transform: translateX(44px);
    transition: opacity .8s cubic-bezier(.16, 1, .3, 1),
        transform .8s cubic-bezier(.16, 1, .3, 1);
}

.tech-node.active {
    opacity: 1;
    transform: translateX(0);
}

.node-dot {
    position: absolute;
    left: 80px;
    top: 50%;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--bg-dark);
    border: 1px solid rgba(244, 244, 245, 0.12);
    transform: translate(-50%, -50%);
    z-index: 3;
    transition: border-color .5s ease .3s,
        box-shadow .5s ease .3s,
        background .5s ease .3s;
}

.tech-node.active .node-dot {
    background: var(--nc);
    border-color: var(--nc);
    box-shadow: 0 0 10px var(--nc), 0 0 22px var(--nc);
}

.h-line {
    position: absolute;
    left: 80px;
    top: 50%;
    width: 42px;
    height: 1px;
    background: linear-gradient(to right, var(--nc), transparent);
    transform-origin: left center;
    transform: scaleX(0);
    z-index: 2;
    transition: transform .5s ease .4s;
}

.tech-node.active .h-line {
    transform: scaleX(1);
}

.tech-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(244, 244, 245, 0.03);
    border: 1px solid rgba(244, 244, 245, 0.06);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    position: relative;
    transform: scale(.5) rotate(-10deg);
    transition: transform .75s cubic-bezier(.34, 1.56, .64, 1) .08s,
        border-color .5s ease .28s,
        box-shadow .5s ease .28s;
}

.tech-node.active .tech-icon {
    transform: scale(1) rotate(0deg);
}

#n0.active .tech-icon {
    border-color: rgba(232, 87, 42, .35);
    box-shadow: 0 0 22px rgba(232, 87, 42, .3);
}

#n1.active .tech-icon {
    border-color: rgba(247, 223, 30, .25);
    box-shadow: 0 0 22px rgba(247, 223, 30, .25);
}

#n2.active .tech-icon {
    border-color: rgba(136, 206, 2, .3);
    box-shadow: 0 0 24px rgba(136, 206, 2, .3);
}

#n3.active .tech-icon {
    border-color: rgba(244, 244, 245, .2);
    box-shadow: 0 0 18px rgba(244, 244, 245, .15);
}

.ring {
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 1px solid transparent;
    border-top-color: var(--nc);
    opacity: 0;
    animation: spin 2.8s linear infinite;
    transition: opacity .5s ease .55s;
}

.ring2 {
    position: absolute;
    inset: -9px;
    border-radius: 50%;
    border: 1px solid transparent;
    border-bottom-color: var(--nc);
    opacity: 0;
    animation: spin 5.5s linear infinite reverse;
    transition: opacity .5s ease .65s;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.tech-node.active .ring {
    opacity: .7;
}

.tech-node.active .ring2 {
    opacity: .2;
}

.tech-icon svg {
    width: 32px;
    height: 32px;
    position: relative;
    z-index: 1;
}

.icon-path {
    fill: none;
    stroke: #fff;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 220;
    stroke-dashoffset: 220;
    transition: stroke-dashoffset 1.05s ease .52s;
}

.tech-node.active .icon-path {
    stroke-dashoffset: 0;
}

/* INFO */
.tech-info {
    flex: 1;
    padding-right: 22px;
}

.node-num {
    font-family: 'Marble PL', sans-serif;
    font-weight: 400;
    font-size: 12px;
    letter-spacing: .45em;
    color: var(--dim);
    display: block;
    margin-bottom: 12px;
    opacity: 0;
    transition: opacity .5s ease .62s;
}

.tech-node.active .node-num {
    opacity: 1;
}

.node-title {
    font-family: 'Marble PL', sans-serif;
    font-weight: 700;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1;
    letter-spacing: -.01em;
    text-transform: uppercase;
    margin-bottom: 12px;
    color: var(--bg-light);
}

.slash {
    color: var(--nc);
    opacity: .5;
    margin: 0 6px;
}

.node-desc {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: clamp(1rem, 2vw, 1.1rem);
    line-height: 1.4;
    color: rgba(244, 244, 245, 0.604);
    max-width: 30vw;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity .65s ease .7s, transform .65s ease .7s;
}

.tech-node.active .node-desc {
    opacity: 1;
    transform: translateY(0);
}

.node-price {
    display: inline-block;
    margin-top: 20px;
    font-family: 'Marble PL', sans-serif;
    font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: .3em;
    padding: 7px 16px;
    border: 1px solid ;
    border-radius: 15px;
    border-color: rgba(244, 244, 245, 0.604);;
    color: #f4f4f4;
    text-transform: uppercase;
    opacity: 0;
    transition: opacity .5s ease .9s;
}

.tech-node.active .node-price {
    opacity: 1;
}

.node-price.accent {
    border-color: var(--nc);
    color: var(--nc);
}

.node-price.accent-white {
    border-color: rgba(244, 244, 245, .3);
    color: var(--text-light);
}


/* ══════════ TECH SECTION — LAPTOP (1025–1440px) ══════════ */
@media (min-width: 1025px) and (max-width: 1440px) {
    .tech-section {
        min-height: 205vh;
    }

    /* Lewy panel — mieści się w 100vh pod headerem */
    .s-left__inner {
        gap: clamp(0.55rem, 1.1vh, 0.9rem);
        padding: clamp(4.25rem, 6.5vh, 5rem) 3vw 2.5vh 5vw;
        justify-content: center;
        overflow-y: auto;
        overscroll-behavior: contain;
        scrollbar-width: none;
    }

    .s-left__inner::-webkit-scrollbar {
        display: none;
    }

    .s-title {
        font-size: clamp(1.55rem, 2.6vw, 2.35rem);
    }

    .s-desc {
        font-size: clamp(0.82rem, 0.95vw, 0.92rem);
        line-height: 1.55;
        max-width: 100%;
    }

    .s-left__readout {
        padding: 0.6rem 0.75rem;
        gap: 0.7rem;
    }

    .s-left__readout-num {
        font-size: clamp(1.55rem, 2.2vw, 1.85rem);
    }

    .s-left__readout-name {
        font-size: 0.7rem;
    }

    .s-left__signal-text {
        font-size: 0.52rem;
        letter-spacing: 0.16em;
    }

    .s-left__ghost {
        font-size: clamp(4.5rem, 13vw, 8rem);
    }

    .s-left__orbit {
        width: min(40vw, 240px);
        height: min(40vw, 240px);
        right: -14%;
    }

    .s-left-actions {
        gap: 0.55rem;
        margin-top: 0;
    }

    .s-left .przycisk .magnetic-btn {
        width: clamp(112px, 11vw, 140px);
    }

    .s-left .przycisk .magnetic-text {
        font-size: 0.52rem;
        max-width: 4.8rem;
    }

    .s-left__frame--tl,
    .s-left__frame--tr {
        top: 3.25rem;
    }

    .s-left__frame--bl,
    .s-left__frame--br {
        bottom: 2vh;
    }

    /* Prawa kolumna — pierwszy poziom niżej, przewidywalne odstępy */
    .s-right {
        min-height: 205vh;
        padding: 34vh 0 8vh;
        justify-content: flex-start;
        gap: clamp(13vh, 17vh, 19vh);
    }

    .tech-node {
        padding-left: 88px;
        gap: 18px;
    }

    .wire-svg,
    .pulse-dot,
    .node-dot,
    .h-line {
        left: 56px;
    }

    .h-line {
        width: 32px;
    }

    .tech-icon {
        width: 68px;
        height: 68px;
    }

    .tech-icon svg {
        width: 28px;
        height: 28px;
    }

    .node-title {
        font-size: clamp(1.65rem, 2.8vw, 2.35rem);
    }

    .node-desc {
        font-size: clamp(0.88rem, 1vw, 0.98rem);
        max-width: 34rem;
    }
}

/* Bardzo niski laptop (np. 1366×620–800) */
@media (min-width: 1025px) and (max-width: 1440px),
       (min-width: 1025px) and (max-height: 900px) {
    .s-left__inner {
        gap: 0.5rem;
        padding-top: 4rem;
        padding-bottom: 2vh;
    }

    .s-title {
        font-size: clamp(1.4rem, 2.2vw, 1.9rem);
    }

    .s-left__readout {
        padding: 0.5rem 0.65rem;
    }

    .s-left__progress-pct {
        font-size: 0.65rem;
    }

    .s-right {
        padding-top: 36vh;
        gap: 12vh;
    }

    .tech-info .node-title {
        font-size: clamp(1.5rem, 6vw, 1.5rem) !important;
    }

    .tech-info .node-desc {
        font-size: clamp(0.8rem, 3.6vw, 0.8rem) !important;
        line-height: 1.1;
        max-width: 80%;
        text-wrap: pretty;
    }

    .tech-info .node-price {
        font-size: clamp(0.7rem, 3.6vw, 0.8rem) !important;
        letter-spacing: 0.2em;
        padding: 6px 12px;
        margin-top: 14px;
        margin-right: 8px;
    }
}


@media (max-width: 1024px) {

    .tech-section {
        display: block;
        width: 100%;
        min-height: auto;
    }

    .s-left {
        height: auto;
        width: 100%;
        overflow: visible;
        border-right: none;
        border-bottom: 1px solid rgba(244, 244, 245, 0.06);
    }

    .s-left__inner {
        height: auto;
        gap: 1.25rem;
        padding: 13vh 7vw 8vh;
    }

    .s-left__signal,
    .s-left__progress {
        display: none;
    }

    .s-left__readout {
        padding: 0.75rem 0.9rem;
    }

    .s-left__readout-num {
        font-size: clamp(1.8rem, 8vw, 2.4rem);
        min-width: auto;
    }

    .s-left__readout-name {
        font-size: clamp(0.68rem, 3.2vw, 0.8rem);
        letter-spacing: 0.04em;
        line-height: 1.35;
    }

    .s-left__orbit,
    .s-left__beam,
    .s-left__ghost {
        display: none;
    }

    .s-left__frame {
        width: 20px;
        height: 20px;
    }

    .s-left__frame--tl,
    .s-left__frame--bl { left: 5vw; }
    .s-left__frame--tr,
    .s-left__frame--br { right: 5vw; }

    .s-left__readout-name {
        white-space: normal;
    }

    .s-desc {
        max-width: 34rem;
    }

    .s-left-actions {
        gap: 0.85rem;
        margin-top: 0.75rem;
    }

    /* Prawa kolumna — pełna szerokość, naturalna wysokość */
    .s-right {
        width: 100%;
        min-height: auto;
        justify-content: flex-start;
        gap: 10vh;
        padding: 8vh 0 14vh;
        box-sizing: border-box;
    }

    .tech-node {
        opacity: 1;
        transform: none;
        transition: opacity .6s ease, transform .6s ease;
    }

    .tech-node:not(.active) {
        opacity: 0.28;
        transform: translateX(0);
    }

    .tech-node.active {
        opacity: 1;
        transform: translateX(0);
    }

    .tech-node:not(.active) .tech-icon {
        transform: scale(0.92);
    }

    .tech-node:not(.active) .icon-path {
        stroke-dashoffset: 220;
    }

    .tech-node:not(.active) .node-num,
    .tech-node:not(.active) .node-desc,
    .tech-node:not(.active) .node-price {
        opacity: 0.45;
    }

    /* Wire i znaczniki bliżej lewej krawędzi */
    .wire-svg { left: 32px; }
    .pulse-dot { left: 32px; }

    .tech-node {
        gap: 18px;
        padding-left: 64px;
        padding-right: 6vw;
    }

    .node-dot { left: 32px; }

    .h-line {
        left: 32px;
        width: 26px;
    }

    .tech-icon {
        width: 58px;
        height: 58px;
    }

    .tech-icon svg {
        width: 24px;
        height: 24px;
    }

    .tech-info {
        padding-right: 0;
        min-width: 0;
    }

    .node-num {
        font-size: 11px;
        letter-spacing: 0.35em;
        margin-bottom: 8px;
    }

    .node-title {
        font-size: clamp(1.5rem, 6vw, 2.1rem);
        margin-bottom: 10px;
    }

    .node-desc {
        max-width: 100%;
        font-size: clamp(0.92rem, 3.6vw, 1rem);
        line-height: 1.5;
    }

    .node-price {
        font-size: 0.7rem;
        letter-spacing: 0.2em;
        padding: 6px 12px;
        margin-top: 14px;
        margin-right: 8px;
    }
}

@media (max-width: 560px) {
    .wire-svg,
    .pulse-dot,
    .s-right .node-dot,
    .s-right .h-line { left: 26px; }

    .h-line { width: 22px; }

    .tech-node {
        gap: 14px;
        padding-left: 54px;
        padding-right: 4vw;
    }

    .tech-icon {
        width: 50px;
        height: 50px;
    }

    .tech-icon svg {
        width: 21px;
        height: 21px;
    }

    .node-title {
        font-size: clamp(1.3rem, 7vw, 1.75rem);
    }
}


/* JASNE PRZEJŚCIE */
.cta-light {
    background-color: #F4F4F5;
    color: #0b0b0b;
    padding: 20vh 5vw;
    display: flex;
    align-items: center;
    min-height: 100vh;
}

.cta-light.second {
    margin-top: -10vh;
    border-radius: 80px 80px 0 0;
    position: relative;
    z-index: 20;
    overflow: hidden;
}

.cta-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: 6vw;
}

.cta-text {
    flex: 1 1 auto;
    max-width: 82%;
    min-width: 0;
}

.cta-text h2 {
    font-family: 'Marble PL', sans-serif;
    font-size: clamp(2.5rem, 3.25vw, 3rem);
    line-height: 1.22;
    font-weight: 500;
    letter-spacing: -0.01em;
    max-width: none;
}

.cta-button-wrap {
    flex: 0 0 auto;
    display: flex;
    justify-content: flex-end;
}

.cta-light .magnetic-btn {
    color: #0b0b0b;
    border-color: rgba(11, 11, 11, 0.2);
}

.cta-light .magnetic-btn-bg {
    background: #0b0b0b;
}

.cta-light .magnetic-btn:hover {
    color: #ffffff;
}

@media (min-width: 1025px) and (max-width: 1440px),
       (min-width: 1025px) and (max-height: 900px) {
    .cta-text h2{
        font-size: clamp(1.5rem, 7vw, 2rem);
    }

    .cta-light .second .magnetic-btn{
        width: clamp(200px, 30vw, 250px);
    }
}


@media (max-width: 1024px) {
    .cta-light {
        display: block;
        min-height: auto;
        padding: 10vh 5vw;
    }
    .cta-light.second {
        margin-top: -5vh;
        border-radius: 40px 40px 0 0;
    }
    .cta-flex {
        flex-direction: column;
        gap: 4vh;
        align-items: flex-start;
    }
    .cta-text {
        width: 100%;
        text-align: left;
        max-width: 100%;
    }
    .cta-text h2 {
        font-size: clamp(1.75rem, 7vw, 2.5rem);
        line-height: 1.18;
        max-width: 100%;
    }
    .cta-button-wrap {
        width: 100%;
        display: flex;
        justify-content: flex-start;
        align-self: flex-start;
    }
    .cta-light .magnetic-btn {
        width: clamp(200px, 30vw, 350px);
    }
}
