/* MATinternet — jasny Bootstrap + parallax; kroje jak SF Pro (Apple) */

:root {
    --blue: #1eb4e6;
    --blue-d: #0e8ec0;
    --orange: #f39200;
    --ink: #1c2128;
    --muted: #5c6570;
    --line: rgba(22, 24, 28, 0.1);
    --bg: #f4f6f8;
    --paper: #ffffff;
    --nav-h: 96px;
    --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", Roboto, sans-serif;
    --display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Segoe UI", Roboto, sans-serif;
    --radius: 1.15rem;
    --ease: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body.site-mat {
    font-family: var(--font);
    background: var(--bg);
    color: var(--ink);
    line-height: 1.47;
    overflow-x: hidden;
    font-size: 1.0625rem;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-feature-settings: "kern" 1, "liga" 1;
    font-optical-sizing: auto;
}
body.site-mat a { color: var(--blue-d); text-decoration: none; }
body.site-mat a:hover { color: var(--orange); }
img { max-width: 100%; height: auto; }
h1, h2, h3, h4 {
    font-family: var(--display);
    font-optical-sizing: auto;
    font-weight: 600;
    letter-spacing: -0.028em;
    line-height: 1.12;
    color: var(--ink);
}
.form-group { margin-bottom: 1rem; }
.help-block, .invalid-feedback { font-size: .85rem; color: #dc3545; }
.site-wrap { position: relative; z-index: 1; }

/* tło całej strony */
.fx-bg {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}
.fx-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(72px);
    will-change: transform;
}
.fx-a { width: 560px; height: 560px; background: rgba(30,180,230,.09); top: -12%; left: -8%; }
.fx-b { width: 460px; height: 460px; background: rgba(243,146,0,.07); bottom: -14%; right: -10%; }
.fx-c { width: 280px; height: 280px; background: rgba(30,180,230,.05); top: 36%; right: 8%; }
.fx-d { width: 240px; height: 240px; background: rgba(243,146,0,.05); top: 58%; left: 16%; }
.fx-grid {
    position: absolute; inset: 0;
    opacity: .2;
    background-image:
        linear-gradient(rgba(30,180,230,.28) 1px, transparent 1px),
        linear-gradient(90deg, rgba(30,180,230,.28) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(ellipse at 50% 35%, #000 28%, transparent 78%);
    -webkit-mask-image: radial-gradient(ellipse at 50% 35%, #000 28%, transparent 78%);
}
.fx-spark {
    position: absolute;
    left: var(--x);
    top: var(--y);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(30,180,230,.7);
    box-shadow: 0 0 12px rgba(30,180,230,.45);
    animation: spark 6.5s var(--d, 0s) ease-in-out infinite;
    opacity: .55;
    z-index: 2;
}
.fx-spark-o {
    background: rgba(243,146,0,.7);
    box-shadow: 0 0 12px rgba(243,146,0,.45);
}
@keyframes spark {
    0%, 100% { opacity: .18; transform: translate3d(0, 0, 0) scale(.75); }
    50% { opacity: .7; transform: translate3d(0, -16px, 0) scale(1.15); }
}
.fx-spot {
    position: absolute; inset: 0;
    background: radial-gradient(560px 400px at var(--fx-x, 68%) var(--fx-y, 18%), rgba(30,180,230,.07), transparent 64%);
}
[data-parallax] { will-change: transform; }

/* chrome */
.mat-progress {
    position: fixed; top: 0; left: 0; right: 0; height: 3px;
    z-index: 1080; pointer-events: none;
}
.mat-progress i {
    display: block; height: 100%; width: 0;
    background: linear-gradient(90deg, var(--blue), var(--orange));
}

.js-reveal [data-reveal] {
    opacity: 0;
    transform: translate3d(0, 32px, 0);
    transition: opacity .85s var(--ease), transform .85s var(--ease);
    transition-delay: var(--delay, 0s);
}
.js-reveal [data-reveal].is-in { opacity: 1; transform: none; }

/* NAV */
.navbar-logo img, .offcanvas-header img {
    height: 64px;
    width: auto;
    display: block;
    mix-blend-mode: multiply;
}
.navbar-logo img { height: 64px; }
#navigation.site-navigation {
    padding: .55rem 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    z-index: 1030;
    transition: box-shadow .2s ease;
}
#navigation.site-navigation.scrolled {
    border-bottom-color: var(--line);
    box-shadow: 0 8px 28px rgba(22,24,28,.06);
}
#navigation #main-menu { display: flex !important; }
#navigation #main-menu .navbar-nav {
    display: flex !important;
    flex-direction: row;
    align-items: center;
    list-style: none;
    margin: 0; padding: 0;
    gap: .15rem;
}
#navigation #main-menu .nav-link {
    color: var(--ink) !important;
    font-weight: 600;
    font-size: .95rem;
    padding: .5rem .95rem !important;
    border-radius: 999px;
}
#navigation #main-menu .nav-link:hover,
#navigation #main-menu .nav-link.active,
#navigation #main-menu .nav-item.active > .nav-link {
    background: rgba(30,180,230,.12);
    color: var(--blue-d) !important;
}
#navigation .dropdown-menu {
    border: 1px solid var(--line);
    border-radius: .9rem;
    box-shadow: 0 16px 40px rgba(22,24,28,.1);
    padding: .45rem;
}
#navigation .dropdown-menu a,
#navigation .dropdown-menu .dropdown-item {
    display: block;
    padding: .5rem .8rem;
    border-radius: .6rem;
    color: var(--ink);
    font-weight: 600;
}
.mat-nav-cta {
    display: inline-flex;
    align-items: center;
    background: var(--orange);
    color: #fff !important;
    font-weight: 700;
    font-size: .9rem;
    padding: .62rem 1.15rem;
    border-radius: 999px;
    will-change: transform;
}
.mat-nav-cta:hover { background: #d97e00; color: #fff !important; }
.mat-burger {
    width: 44px; height: 44px;
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 12px;
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    padding: 0;
}
.mat-burger span { display: block; width: 16px; height: 2px; background: var(--ink); }
.offcanvas { background: #fff; }
.offcanvas .nav-link { font-weight: 700; color: var(--ink); padding: .7rem 0; font-size: 1.1rem; }
#matOffcanvas .navbar-nav { flex-direction: column; list-style: none; padding: 0; margin: 0; }
#matOffcanvas .dropdown-menu { position: static; display: block; border: 0; box-shadow: none; }

@media (max-width: 991.98px) {
    #navigation #main-menu, .mat-nav-cta-desktop { display: none !important; }
    .mat-burger { display: inline-flex; }
}

/* BUTTONS */
.btn-mat {
    display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
    background: var(--orange); color: #fff !important; border: 0;
    border-radius: 999px; font-weight: 700; padding: .9rem 1.4rem;
    position: relative; overflow: hidden;
    box-shadow: 0 10px 24px rgba(243,146,0,.22);
}
.btn-mat::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(110deg, transparent 35%, rgba(255,255,255,.4) 50%, transparent 65%);
    transform: translateX(-120%);
}
.btn-mat:hover { background: #d97e00; color: #fff !important; }
.btn-mat:hover::after { animation: shine .7s ease; }
@keyframes shine {
    to { transform: translateX(120%); }
}
.btn-mat-ghost {
    display: inline-flex; align-items: center;
    background: #fff; color: var(--ink) !important;
    border: 1px solid var(--line); border-radius: 999px; font-weight: 700;
    padding: .9rem 1.3rem;
}
.btn-mat-ghost:hover { border-color: var(--blue); color: var(--blue-d) !important; }
.btn-contact-bg {
    background: var(--orange); color: #fff !important; border: 0;
    border-radius: 999px; font-weight: 700; padding: .85rem 1.3rem;
}

/* HERO — jasny, wysoki, z parallaxem */
.hero-stage {
    position: relative;
    padding: calc(var(--nav-h) + 2.5rem) 0 2.8rem;
    background:
        radial-gradient(1000px 480px at 88% 8%, rgba(30,180,230,.12), transparent 58%),
        radial-gradient(800px 420px at 4% 88%, rgba(243,146,0,.08), transparent 52%),
        #fff;
    overflow: hidden;
    perspective: 1400px;
}
.hero-spot {
    position: absolute; inset: 0; pointer-events: none; z-index: 0;
    background: radial-gradient(520px 380px at var(--spotx, 72%) var(--spoty, 28%), rgba(30,180,230,.16), transparent 62%);
}
.hero-orbs { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.orb {
    position: absolute; border-radius: 50%; filter: blur(64px);
    will-change: transform;
}
.orb-b { width: 380px; height: 380px; background: rgba(30,180,230,.16); top: -6%; right: 10%; }
.orb-o { width: 300px; height: 300px; background: rgba(243,146,0,.12); bottom: 6%; left: -4%; }
.orb-b2 { width: 180px; height: 180px; background: rgba(30,180,230,.1); top: 48%; left: 42%; }
.hero-grid {
    position: absolute; inset: 0; pointer-events: none; opacity: .22; z-index: 0;
    background-image:
        linear-gradient(rgba(30,180,230,.32) 1px, transparent 1px),
        linear-gradient(90deg, rgba(30,180,230,.32) 1px, transparent 1px);
    background-size: 52px 52px;
    mask-image: radial-gradient(ellipse at 70% 40%, #000 30%, transparent 78%);
}
.hero-stage .container { position: relative; z-index: 2; }
.hero-kicker {
    display: inline-flex; align-items: center; gap: .7rem;
    background: rgba(255,255,255,.82);
    border: 1px solid var(--line);
    padding: .35rem .9rem .35rem .4rem;
    border-radius: 999px; font-weight: 650; font-size: .84rem;
    margin-bottom: 1.15rem;
    backdrop-filter: blur(8px);
}
.hero-kicker img { height: 28px; width: auto; }
.hero-title {
    font-size: clamp(2.35rem, 4.8vw, 3.75rem);
    margin: 0 0 1rem;
    max-width: 16ch;
    font-weight: 600;
    letter-spacing: -0.035em;
    line-height: 1.05;
}
.hero-title .grad { color: var(--blue-d); }
.hero-lead, .hero-lead p { font-size: 1.12rem; color: var(--muted); max-width: 36rem; margin-bottom: 1.6rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .7rem; }

.hero-stage-visual {
    position: relative;
    min-height: 26rem;
    perspective: 1600px;
    transform-style: preserve-3d;
    transform: perspective(1600px) rotateX(calc(var(--looky, 0) * -4deg)) rotateY(calc(var(--lookx, 0) * 6deg));
    will-change: transform;
    transform-origin: 55% 50%;
}
.hero-photo-frame {
    border-radius: 1.4rem;
    overflow: hidden;
    box-shadow: 0 28px 64px rgba(22,24,28,.14);
    background: #0b1220;
    aspect-ratio: 16 / 11;
    min-height: 26rem;
    will-change: transform;
}
#heroSlider,
#heroSlider .carousel-inner,
#heroSlider .carousel-item {
    height: 100%;
}
.hero-slide {
    height: 100%;
    min-height: 0;
    background: #1a2330 center/cover no-repeat;
    position: relative;
    display: flex; align-items: flex-end;
}
.hero-slide.has-photo { background-size: cover; animation: ken 20s ease-in-out infinite alternate; }
@keyframes ken {
    from { transform: scale(1); }
    to { transform: scale(1.08); }
}
.hero-slide::before {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(10,16,24,.72));
}
.hero-slide-copy {
    position: relative; z-index: 2;
    color: #fff; padding: 1.4rem 1.5rem 1.6rem;
}
.hero-slide-copy h2 { font-size: 1.35rem; margin-bottom: .35rem; color: #fff; font-weight: 600; }
.hero-slide-copy p, .hero-slide-copy div { margin: 0; color: rgba(255,255,255,.86); font-size: .95rem; max-width: 36rem; }

.hero-cutout {
    position: relative;
    height: 100%;
    width: auto;
    max-width: 100%;
    filter: drop-shadow(0 28px 40px rgba(10,16,24,.28));
    pointer-events: none;
}
.hero-float {
    position: absolute;
    pointer-events: none;
    will-change: transform;
}
.hero-float-a { right: -2%; bottom: -2%; height: 78%; max-width: 32%; z-index: 4; }
.hero-float-b { left: -8%; top: 6%; height: 46%; max-width: 24%; z-index: 2; }
.hero-float-c { right: 22%; bottom: -4%; height: 38%; max-width: 18%; z-index: 5; }
.hero-cutout-a { animation: bob 5.5s ease-in-out infinite; }
.hero-cutout-b { animation: bob 6.8s ease-in-out infinite reverse; }
.hero-cutout-c { animation: bob 4.8s .4s ease-in-out infinite; }
@keyframes bob {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-14px); }
}
.carousel-indicators { margin-bottom: .85rem; }
.carousel-indicators [data-bs-target] {
    width: 8px; height: 8px; border-radius: 99px;
    background: #fff; opacity: .4; border: 0;
}
.carousel-indicators .active { opacity: 1; background: var(--orange); }

/* RUNWAY */
.runway-wrap {
    background: linear-gradient(#fff, var(--bg));
    padding: 3rem 0 4.2rem;
    overflow: hidden;
}
.runway-label {
    font-size: .82rem; font-weight: 700; letter-spacing: .1em;
    text-transform: uppercase; color: var(--muted); margin-bottom: 1.2rem;
    text-align: center;
}
.runway-viewport {
    overflow: hidden;
    width: 80%;
    max-width: 1280px;
    margin: 0 auto;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 9%, #000 91%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 9%, #000 91%, transparent 100%);
}
.runway-track {
    display: flex; width: max-content;
    animation: marquee 48s linear infinite;
}
.runway-track:hover { animation-play-state: paused; }
.runway {
    display: flex; gap: 3.4rem; align-items: flex-end;
    padding: 2.4rem 3.4rem 2.2rem;
}
@keyframes marquee {
    from { transform: translate3d(0,0,0); }
    to { transform: translate3d(-50%,0,0); }
}
.runway-item {
    margin: 0;
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    text-align: center;
    perspective: 900px;
    transform-style: preserve-3d;
}
.runway-item > img {
    height: 300px !important;
    width: auto !important;
    max-width: none !important;
    object-fit: contain;
    object-position: bottom;
    display: block;
    margin: 0 auto;
    transform-origin: 50% 90%;
    transform: perspective(900px) rotateY(0) rotateX(0);
    transition: transform .28s var(--ease), filter .35s ease;
    will-change: transform;
    filter: drop-shadow(0 18px 24px rgba(22,24,28,.16));
}
.runway-item figcaption {
    margin-top: .55rem; font-weight: 700; font-size: .86rem; color: var(--muted);
    font-family: var(--font);
}
@media (hover: hover) and (pointer: fine) {
    .runway-item:hover img:not(.kantor-duo-a):not(.kantor-duo-b) {
        transform: perspective(900px) rotateY(-7deg) rotateX(3deg) translateZ(10px) scale(1.03);
        filter: drop-shadow(0 22px 28px rgba(22,24,28,.2));
    }
}

/* SECTIONS */
.section { padding: 8.5rem 0; }
body.site-mat-sub .section {
    padding-top: 50px;
    padding-bottom: 4.8rem;
    background: var(--bg);
}
.section-title { max-width: 38rem; margin-bottom: 2.2rem; }
.eyebrow {
    color: var(--orange); font-weight: 700; text-transform: uppercase;
    letter-spacing: .12em; font-size: .72rem; margin-bottom: .5rem;
    font-family: var(--font);
}
.section-title h2, .split-sticky-copy h2 {
    font-size: clamp(1.7rem, 2.8vw, 2.45rem); margin-bottom: .5rem;
}
.split-sticky {
    display: grid;
    grid-template-columns: minmax(220px, .34fr) 1fr;
    gap: 2.8rem;
    align-items: start;
}
.split-sticky-copy { position: sticky; top: calc(var(--nav-h) + 1.4rem); }

/* SERVICE TILES */
.service-tile {
    display: flex; flex-direction: column;
    background: #fff; border-radius: var(--radius);
    overflow: hidden; height: 100%; color: inherit;
    border: 1px solid var(--line);
    box-shadow: 0 10px 30px rgba(22,24,28,.04);
    position: relative;
    transform-style: preserve-3d;
    transition: box-shadow .3s var(--ease);
}
.service-tile:hover { box-shadow: 0 22px 50px rgba(22,24,28,.12); color: inherit; }
.service-tile-photo {
    height: 210px; background: #dbe8ef center/cover no-repeat;
    background-size: cover;
    transition: transform .6s ease, background-position .4s ease-out;
}
.col-lg-6 .service-tile-photo { height: 280px; }
.service-tile:hover .service-tile-photo:not(.site-fan):not(.sesja-desk):not(.kantor-stage) { transform: scale(1.05); }
.service-tile-body { padding: 1.25rem 1.3rem 1.4rem; display: flex; flex-direction: column; flex: 1; }
.service-tile h3 { font-size: 1.28rem; color: var(--ink); margin-bottom: .4rem; }
.service-tile .brief, .service-tile .brief p { color: var(--muted); margin-bottom: 0; }
.service-tile .more { margin-top: 1rem; font-weight: 700; color: var(--orange); font-family: var(--font); }
.service-tile .documentField { display: inline; }

.site-fan {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(420px 180px at 80% 0%, rgba(30,180,230,.2), transparent 60%),
        radial-gradient(380px 160px at 10% 100%, rgba(243,146,0,.14), transparent 55%),
        #e7eef3 !important;
}
.site-fan span {
    position: absolute;
    width: 64%;
    height: 90%;
    top: 8%;
    left: 18%;
    border-radius: 12px;
    background: #fff center/cover no-repeat;
    box-shadow: 0 14px 32px rgba(22,24,28,.18);
    border: 2px solid #fff;
    transition: transform .55s var(--ease);
}
.site-fan span:nth-child(1) { transform: rotate(-16deg) translate(-22%, 6%); z-index: 1; }
.site-fan span:nth-child(2) { transform: rotate(2deg); z-index: 3; }
.site-fan span:nth-child(3) { transform: rotate(15deg) translate(24%, 8%); z-index: 2; }
.service-tile:hover .site-fan span:nth-child(1) { transform: rotate(-24deg) translate(-34%, 2%) scale(1.03); }
.service-tile:hover .site-fan span:nth-child(2) { transform: rotate(0deg) translateY(-6%) scale(1.05); }
.service-tile:hover .site-fan span:nth-child(3) { transform: rotate(22deg) translate(36%, 2%) scale(1.03); }

/* dwa kantory: szary = 100% wysokości pary, biały = 2/3 */
.kantor-duo {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    min-height: 24rem;
    height: 100%;
    padding: 2.4rem 1.6rem 1.6rem;
    box-sizing: border-box;
    overflow: hidden;
    border-radius: 1.4rem;
    background:
        radial-gradient(420px 200px at 82% 8%, rgba(30,180,230,.12), transparent 62%),
        radial-gradient(360px 180px at 14% 92%, rgba(243,146,0,.07), transparent 58%),
        linear-gradient(180deg, #f3f6f9 0%, #e6eef3 100%);
    box-shadow: 0 24px 50px rgba(22,24,28,.1);
}
.kantor-duo-pair {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 0;
    height: 19rem;
    width: auto;
    max-width: 100%;
}
.kantor-duo-pair img {
    display: block;
    position: relative;
    width: auto !important;
    max-width: none !important;
    object-fit: contain;
    object-position: bottom center;
    pointer-events: none;
    filter: drop-shadow(0 16px 20px rgba(22,24,28,.16));
    transform-origin: 50% 100%;
    transition: transform .45s var(--ease);
}
.kantor-duo-pair .kantor-duo-a {
    height: 100% !important;
    z-index: 1;
    transform: rotateY(7deg);
}
.kantor-duo-pair .kantor-duo-b {
    height: 66.666% !important;
    z-index: 2;
    margin-left: -2.4rem;
    transform: rotateY(-6deg);
}
.kantor-duo:hover .kantor-duo-a,
.service-tile:hover .kantor-duo-a { transform: rotateY(4deg) translateY(-4px); }
.kantor-duo:hover .kantor-duo-b,
.service-tile:hover .kantor-duo-b { transform: rotateY(-3deg) translateY(-6px); }
.service-tile-photo.kantor-stage {
    position: relative;
    overflow: hidden;
    background: transparent;
}
.service-tile-photo.kantor-stage .kantor-duo {
    position: absolute;
    inset: 0;
    min-height: 0;
    height: 100%;
    border-radius: 0;
    box-shadow: none;
    padding: 1.1rem 1rem .9rem;
}
.service-tile-photo.kantor-stage .kantor-duo-pair { height: 100%; }
.kantor-duo-sm {
    min-height: 0;
    width: auto;
    height: 300px;
    padding: 0;
    background: none;
    box-shadow: none;
    border-radius: 0;
    overflow: visible;
}
.kantor-duo-sm .kantor-duo-pair { height: 280px; }
.kantor-duo-sm .kantor-duo-b { margin-left: -1.7rem; }
.runway-item-duo { min-width: 0; }
.prod-machines .kantor-duo-sm,
.prod-machines .kantor-duo-sm .kantor-duo-pair { height: 240px; }

.prod-hero-visual > .kantor-duo { min-height: 24rem; }

/* SESJA.ONLINE — okno aplikacji */
.sesja-desk,
.sesja-frame,
.hero-slide-sesja {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(420px 180px at 88% 0%, rgba(30,180,230,.28), transparent 58%),
        radial-gradient(340px 160px at 8% 100%, rgba(243,146,0,.16), transparent 55%),
        linear-gradient(165deg, #1c2733 0%, #0c1218 100%) !important;
}
.sesja-win {
    position: absolute;
    left: 7%;
    right: 5%;
    top: 18%;
    height: 92%;
    border-radius: 12px 12px 0 0;
    background: #0b1016;
    box-shadow:
        0 28px 50px rgba(0,0,0,.45),
        0 0 0 1px rgba(255,255,255,.1);
    transform: perspective(900px) rotateX(9deg) rotateY(-14deg);
    transform-origin: 50% 100%;
    overflow: hidden;
    transition: transform .55s var(--ease);
}
.service-tile:hover .sesja-win,
.project-tile:hover .sesja-win,
.list-card:hover .sesja-win {
    transform: perspective(900px) rotateX(4deg) rotateY(-5deg) translateY(-8px) scale(1.03);
}
.sesja-win-bar {
    height: 26px;
    display: flex;
    align-items: center;
    gap: .45rem;
    padding: 0 .7rem;
    background: linear-gradient(180deg, #222a33, #161c24);
    color: rgba(255,255,255,.55);
    font-family: var(--font);
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .02em;
}
.sesja-dots {
    width: 42px;
    height: 8px;
    border-radius: 99px;
    background:
        radial-gradient(circle at 4px 50%, #ff5f57 3.5px, transparent 4px),
        radial-gradient(circle at 16px 50%, #febc2e 3.5px, transparent 4px),
        radial-gradient(circle at 28px 50%, #28c840 3.5px, transparent 4px);
    flex: 0 0 auto;
}
.sesja-url { flex: 1; opacity: .7; }
.sesja-live {
    display: inline-flex;
    align-items: center;
    gap: .28rem;
    color: #ff6b6b;
    letter-spacing: .12em;
    font-size: .62rem;
}
.sesja-live b {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #ff3b3b;
    box-shadow: 0 0 0 0 rgba(255,59,59,.55);
    animation: livepulse 1.6s ease-out infinite;
}
@keyframes livepulse {
    0% { box-shadow: 0 0 0 0 rgba(255,59,59,.5); }
    70% { box-shadow: 0 0 0 8px rgba(255,59,59,0); }
    100% { box-shadow: 0 0 0 0 rgba(255,59,59,0); }
}
.sesja-win-view {
    height: calc(100% - 26px);
    background: #111 center 12% / cover no-repeat;
}
.sesja-chip {
    position: absolute;
    z-index: 3;
    display: none;
    align-items: center;
    background: rgba(255,255,255,.94);
    color: var(--ink);
    border-radius: 999px;
    font-family: var(--font);
    font-size: .68rem;
    font-weight: 700;
    padding: .28rem .7rem;
    box-shadow: 0 10px 24px rgba(0,0,0,.22);
}
.sesja-chip-a { left: 5%; top: 10%; }
.sesja-chip-b { right: 7%; bottom: 14%; background: var(--orange); color: #fff; }
.col-lg-6 .sesja-chip,
.project-tile .sesja-chip,
.hero-slide-sesja .sesja-chip,
.sesja-frame .sesja-chip { display: inline-flex; }

.hero-slide-sesja { background-size: auto !important; }
.hero-slide-sesja .sesja-desk { position: absolute; inset: 0; }
.hero-slide-sesja .sesja-win {
    left: 10%;
    right: 18%;
    top: 10%;
    height: 86%;
    border-radius: 14px;
    transform: perspective(1200px) rotateX(6deg) rotateY(-10deg);
}
.hero-slide-sesja .sesja-chip { display: inline-flex; }
.hero-slide-sesja .hero-slide-copy { z-index: 4; }

.sesja-frame {
    min-height: 380px;
    border-radius: 1.2rem;
}
.sesja-frame .sesja-win {
    left: 8%;
    right: 8%;
    top: 12%;
    height: 84%;
    border-radius: 14px;
    transform: perspective(1200px) rotateX(5deg) rotateY(-8deg);
}
.list-card .sesja-desk-thumb {
    position: absolute;
    inset: 0;
}
.list-card .sesja-desk-thumb .sesja-chip { display: none; }
.list-card .thumb { position: relative; }

.project-tile .sesja-desk { position: absolute; inset: 0; }
.project-tile:hover .sesja-desk { transform: none; }
.project-tile:hover .project-tile-photo.sesja-desk { transform: none; }

.js-shine::before {
    content: "";
    position: absolute; inset: 0; z-index: 4; pointer-events: none;
    background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,.28), transparent 42%);
    opacity: 0; transition: opacity .25s;
}
.js-shine:hover::before { opacity: 1; }

/* ABOUT */
.about-split {
    display: grid; grid-template-columns: 1.05fr 1fr; gap: 0; align-items: stretch;
    background: #fff; border-radius: 1.4rem; overflow: hidden; border: 1px solid var(--line);
}
.about-photo { overflow: hidden; min-height: 420px; }
.about-photo img {
    width: 100%; height: 100%; object-fit: cover; object-position: center 22%;
    min-height: 420px; display: block;
    will-change: transform; transform: scale(1.08);
}
.about-pano {
    position: relative;
    min-height: 560px;
    background: #0b1118;
    cursor: grab;
}
.about-photo.about-tour {
    position: relative;
    min-height: 560px;
    background: #0b1118;
}
.about-photo .onas-tour {
    position: absolute;
    inset: 0;
    margin: 0;
    min-height: 100%;
    aspect-ratio: auto;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}
.about-pano:active { cursor: grabbing; }
.about-pano #matPano,
.about-pano .pnlm-container {
    position: absolute !important;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
}
.about-pano .pnlm-container { background: #0b1118; }
.pano-hint {
    position: absolute; z-index: 6; left: 50%; bottom: 1rem;
    transform: translateX(-50%);
    background: rgba(12,16,24,.62);
    color: #fff;
    font-size: .82rem; font-weight: 650;
    padding: .4rem .85rem;
    border-radius: 999px;
    pointer-events: none;
    backdrop-filter: blur(8px);
    transition: opacity .4s ease;
    white-space: nowrap;
    font-family: var(--font);
}
.pano-hint.is-gone { opacity: 0; }
.about-copy { padding: 2.2rem 2rem 2.2rem 2rem; }
.about-stats { margin-top: 1.6rem; }
.stat-card {
    background: var(--bg); border-radius: 1rem; padding: 1rem 1rem .95rem;
    height: 100%;
}
.stat-card .num {
    font-family: var(--display);
    font-size: 1.85rem; font-weight: 600; letter-spacing: -.02em; color: var(--blue-d);
}
.stat-card .lbl { color: var(--muted); font-weight: 600; font-size: .9rem; }

/* PROJECTS */
.project-tile {
    display: block; border-radius: var(--radius); overflow: hidden;
    position: relative; min-height: 320px; color: #fff !important;
    box-shadow: 0 16px 40px rgba(22,24,28,.1);
    transform-style: preserve-3d;
}
.project-tile-photo {
    position: absolute; inset: 0;
    background: #1a2330 center/cover no-repeat;
    background-size: cover;
    transition: transform .7s ease, background-position .4s ease-out;
}
.project-tile::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(10,16,24,.1), rgba(10,16,24,.78));
}
.project-tile:hover .project-tile-photo:not(.sesja-desk) { transform: scale(1.07); }
.project-tile-body {
    position: relative; z-index: 2;
    padding: 1.5rem; min-height: 320px;
    display: flex; flex-direction: column; justify-content: flex-end;
}
.project-tile .tag {
    font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
    color: var(--orange); margin-bottom: .4rem; font-family: var(--font);
}
.project-tile h3 { color: #fff; font-size: 1.45rem; }
.project-tile p, .project-tile div { color: rgba(255,255,255,.86); }
.project-tile .documentField { display: inline; color: inherit; }

/* CONTACT */
.contact-band {
    background: #fff; border-radius: 1.4rem; border: 1px solid var(--line);
    padding: clamp(1.4rem, 4vw, 2.5rem);
    box-shadow: 0 16px 40px rgba(22,24,28,.05);
}
.contact-band .form-control {
    border-radius: .75rem; border-color: var(--line); padding: .85rem 1rem; background: var(--bg);
}
.contact-band .form-control:focus {
    border-color: var(--blue); box-shadow: 0 0 0 4px rgba(30,180,230,.18); background: #fff;
}
.contact-facts { list-style: none; padding: 0; margin: 1.2rem 0 0; }
.contact-facts li { display: flex; gap: .8rem; margin-bottom: .9rem; }
.contact-facts i {
    width: 40px; height: 40px; border-radius: 12px; background: var(--bg);
    display: inline-flex; align-items: center; justify-content: center; color: var(--orange);
}

/* FOOTER */
.site-footer {
    background: #fff; color: var(--ink);
    padding: 3rem 0 1.4rem; margin-top: 2rem;
    border-top: 1px solid var(--line);
}
.footer-logo { height: 42px; width: auto; }
.footer-lead { color: var(--muted); margin-top: 1rem; }
.footer-h {
    font-family: var(--font);
    font-size: .8rem; letter-spacing: .12em; text-transform: uppercase;
    color: var(--muted); margin-bottom: 1rem; font-weight: 700;
}
.site-footer a { color: var(--ink); }
.site-footer a:hover { color: var(--orange); }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: .4rem; }
.site-footer .copy {
    border-top: 1px solid var(--line); margin-top: 2rem; padding-top: 1.1rem;
    color: var(--muted); font-size: .9rem;
}

/* SUBPAGES */
.page-hero {
    position: relative;
    padding: calc(var(--nav-h) + 2.8rem) 0 1.6rem;
    background: #fff;
    overflow: hidden;
}
.photo-clip { overflow: hidden; border-radius: 1rem; }
.photo-clip img { display: block; width: 100%; will-change: transform; }
.page-hero h1 { font-size: clamp(2rem, 3.6vw, 2.9rem); margin-bottom: .5rem; }
.page-hero .lead, .page-hero .podstrona-brief { color: var(--muted); font-size: 1.08rem; max-width: 42rem; }
.content-card {
    background: #fff; border: 1px solid var(--line); border-radius: 1.2rem;
    padding: clamp(1.2rem, 3vw, 2.1rem);
}
.content-card img { border-radius: 1rem; }

/* PODSTRONA USŁUGI — jasna, z polotem */
.prod-hero {
    position: relative;
    padding: calc(var(--nav-h) + 2.2rem) 0 0;
    overflow: hidden;
    background:
        radial-gradient(720px 380px at 92% 12%, rgba(30,180,230,.12), transparent 60%),
        radial-gradient(560px 320px at 6% 88%, rgba(243,146,0,.08), transparent 55%),
        #fff;
}
.prod-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    gap: 2.4rem 3rem;
    align-items: center;
}
.prod-hero-copy { position: relative; z-index: 2; }
.prod-hero h1 {
    color: var(--ink);
    font-size: clamp(2.2rem, 4.4vw, 3.4rem);
    max-width: 13ch;
    margin-bottom: .75rem;
    letter-spacing: -0.032em;
    line-height: 1.06;
}
.prod-hero .prod-brief,
.prod-hero .prod-brief p { color: var(--muted); font-size: 1.12rem; max-width: 34rem; }
.prod-hero .eyebrow { color: var(--orange); }
.prod-hero-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.35rem; }
.prod-hero-visual {
    position: relative;
    min-height: 22rem;
    perspective: 1200px;
    transform-style: preserve-3d;
}
.prod-hero-visual .sesja-desk {
    min-height: 22rem;
    border-radius: 1.4rem;
    overflow: hidden;
    box-shadow: 0 24px 50px rgba(22,24,28,.12);
}
.prod-hero-visual .site-fan { min-height: 20rem; }
.prod-shot {
    position: relative;
    border-radius: 1.4rem;
    overflow: hidden;
    min-height: 22rem;
    height: 100%;
    background: #dbe8ef center/cover no-repeat;
    box-shadow: 0 24px 50px rgba(22,24,28,.12);
    transform: rotateY(calc(var(--lookx, 0) * -5deg)) rotateX(calc(var(--looky, 0) * 3deg));
}
.prod-shot::after {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 55%, rgba(10,16,24,.18));
    pointer-events: none;
}
.prod-hero-stage {
    position: absolute;
    right: -6%;
    bottom: -8%;
    width: 52%;
    height: 88%;
    z-index: 3;
    pointer-events: none;
    transform-style: preserve-3d;
}
.prod-hero-stage img.prod-cutout {
    position: absolute;
    right: 0; bottom: 0;
    height: 100%;
    width: auto;
    max-width: none;
    filter: drop-shadow(0 22px 28px rgba(22,24,28,.22));
}
.prod-hero-stage .site-fan {
    position: absolute;
    inset: 8% -8% 6% -8%;
    height: auto;
    overflow: visible;
    background: transparent !important;
}
.prod-hero-stage .sesja-desk {
    position: absolute;
    inset: 6% -4% -2% -4%;
    pointer-events: auto;
    border-radius: 1.2rem;
}
.prod-hero-stage.is-fill {
    inset: 8% 8% 8% 8%;
    width: auto;
    height: auto;
    right: auto; bottom: auto;
}
.prod-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    margin-top: 2.2rem;
    position: relative;
    z-index: 4;
    border-top: 1px solid var(--line);
}
.prod-stat {
    background: transparent;
    border: 0;
    border-right: 1px solid var(--line);
    border-radius: 0;
    padding: 1.15rem 1rem 1.25rem;
    box-shadow: none;
    text-align: center;
}
.prod-stat:last-child { border-right: 0; }
.prod-stat b {
    display: block;
    font-family: var(--display);
    font-size: 1.45rem;
    color: var(--blue-d);
    font-weight: 600;
    line-height: 1.1;
}
.prod-stat span { color: var(--muted); font-size: .84rem; font-weight: 600; }
.onas-stats {
    margin-top: 2.2rem;
    position: relative;
    z-index: 4;
    border-top: 1px solid var(--line);
}
.onas-stats > .documentField { display: contents; }
.onas-stats .row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    margin: 0;
}
.onas-stats .row > [class*="col-"] {
    width: auto;
    max-width: none;
    flex: none;
    padding: 0;
}
.onas-stats .stat-card {
    background: transparent;
    border: 0;
    border-right: 1px solid var(--line);
    border-radius: 0;
    box-shadow: none;
    text-align: center;
    padding: 1.15rem 1rem 1.25rem;
    height: auto;
}
.onas-stats .row > :last-child .stat-card { border-right: 0; }
.onas-stats .stat-card .num { font-size: 1.45rem; }
.onas-sites {
    grid-template-columns: repeat(4, 1fr);
}
.onas-sites a {
    display: block;
    aspect-ratio: 16/11;
    border-radius: 1rem;
    background: #dbe8ef center top / cover no-repeat;
    box-shadow: 0 18px 36px rgba(22,24,28,.1);
}
.prod-copy .onas-pillars {
    grid-template-columns: repeat(3, 1fr);
    margin-top: 1.5rem;
}
.prod-copy .onas-legal {
    margin: 1.35rem 0 0;
    font-size: .88rem;
    color: var(--muted);
}
#opis, #historia { scroll-margin-top: calc(var(--nav-h) + 14px); }
.onas-historia > .documentField { display: contents; }
.onas-historia h2 { font-size: 1.45rem; margin-bottom: .4rem; }
.onas-time {
    list-style: none;
    margin: 1.5rem 0 0;
    padding: 0;
    position: relative;
    max-width: 52rem;
}
.onas-time::before {
    content: "";
    position: absolute;
    left: calc(5.4rem + .6rem - 1px);
    top: 1.35rem;
    bottom: 1.8rem;
    width: 2px;
    background: linear-gradient(180deg, var(--blue), rgba(22,24,28,.07));
}
.onas-time li {
    display: grid;
    grid-template-columns: 5.4rem 1.2rem minmax(0, 1fr);
    align-items: start;
    position: relative;
    padding: 0 0 1.15rem;
    margin: 0;
    background: none;
    border: 0;
    box-shadow: none;
}
.onas-time li::before {
    content: "";
    grid-column: 2;
    width: .55rem;
    height: .55rem;
    margin: 1.2rem auto 0;
    border-radius: 50%;
    background: var(--orange);
    box-shadow: 0 0 0 4px var(--bg);
    z-index: 1;
}
.onas-time li > b {
    grid-column: 1;
    font-family: var(--display);
    font-size: 1.45rem;
    font-weight: 600;
    color: var(--blue-d);
    letter-spacing: -0.03em;
    line-height: 1;
    padding: .95rem .2rem 0 0;
    text-align: right;
}
.onas-time li > div {
    grid-column: 3;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 1.1rem;
    padding: 1.05rem 1.2rem 1.15rem;
    box-shadow: 0 14px 32px rgba(22,24,28,.05);
    transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.onas-time li:hover > div {
    transform: translateY(-4px);
    box-shadow: 0 18px 36px rgba(22,24,28,.08);
}
.onas-time li > div p {
    margin: 0 0 .55rem;
    color: var(--muted);
    font-size: .98rem;
}
.onas-time li > div p:last-child { margin-bottom: 0; }
.onas-time li.is-now > div {
    outline: 1px solid rgba(243, 146, 0, .38);
    box-shadow: 0 16px 36px rgba(243, 146, 0, .1);
}
.onas-time li.is-now:hover > div {
    box-shadow: 0 18px 36px rgba(243, 146, 0, .16);
}
.js-reveal .onas-historia .onas-time li {
    opacity: 0;
    transform: translate3d(0, 16px, 0);
}
.js-reveal .onas-historia.is-in .onas-time li {
    opacity: 1;
    transform: none;
    transition: opacity .55s var(--ease), transform .55s var(--ease);
}
.js-reveal .onas-historia.is-in .onas-time li:nth-child(1) { transition-delay: .02s; }
.js-reveal .onas-historia.is-in .onas-time li:nth-child(2) { transition-delay: .06s; }
.js-reveal .onas-historia.is-in .onas-time li:nth-child(3) { transition-delay: .1s; }
.js-reveal .onas-historia.is-in .onas-time li:nth-child(4) { transition-delay: .14s; }
.js-reveal .onas-historia.is-in .onas-time li:nth-child(5) { transition-delay: .18s; }
.js-reveal .onas-historia.is-in .onas-time li:nth-child(6) { transition-delay: .22s; }
.js-reveal .onas-historia.is-in .onas-time li:nth-child(7) { transition-delay: .26s; }
.js-reveal .onas-historia.is-in .onas-time li:nth-child(8) { transition-delay: .3s; }
.js-reveal .onas-historia.is-in .onas-time li:nth-child(9) { transition-delay: .34s; }
.js-reveal .onas-historia.is-in .onas-time li:nth-child(10) { transition-delay: .38s; }
.js-reveal .onas-historia.is-in .onas-time li:nth-child(11) { transition-delay: .42s; }
.js-reveal .onas-historia.is-in .onas-time li:nth-child(12) { transition-delay: .46s; }
.js-reveal .onas-historia.is-in .onas-time li:nth-child(13) { transition-delay: .5s; }
.js-reveal .onas-historia.is-in .onas-time li:nth-child(14) { transition-delay: .54s; }
.prod-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(240px, .62fr);
    gap: 3rem;
    align-items: start;
    margin-top: 0;
}
.prod-copy {
    background: transparent;
    border: 0;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
}
.prod-copy h2 { font-size: 1.55rem; margin: 1.7rem 0 .65rem; }
.prod-copy h2:first-child { margin-top: 0; }
.prod-copy ul { padding-left: 1.15rem; }
.prod-copy li { margin-bottom: .5rem; }
.prod-copy ol {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .85rem;
    counter-reset: krok;
}
.prod-copy ol li {
    counter-increment: krok;
    background: #fff;
    border-radius: 1rem;
    padding: 1rem 1.05rem 1.1rem;
    margin: 0;
    border: 1px solid var(--line);
}
.prod-copy ol li::before {
    content: counter(krok, decimal-leading-zero);
    display: block;
    font-family: var(--display);
    color: var(--blue-d);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: .2rem;
}
.prod-aside {
    position: sticky;
    top: calc(var(--nav-h) + 1.2rem);
    background: #fff;
    border: 0;
    border-radius: 1.4rem;
    padding: 1.5rem 1.4rem 1.55rem;
    box-shadow: 0 20px 48px rgba(22,24,28,.07);
    outline: 1px solid var(--line);
}
.prod-aside::before {
    content: "";
    display: block;
    width: 2.4rem;
    height: 3px;
    border-radius: 99px;
    background: var(--orange);
    margin-bottom: .9rem;
}
.prod-aside h3 { font-size: 1.15rem; margin-bottom: .5rem; }
.prod-aside p, .prod-aside li { color: var(--muted); font-size: .95rem; }
.prod-aside ul { list-style: none; padding: 0; margin: 0 0 1.1rem; }
.prod-aside li { display: flex; gap: .55rem; margin-bottom: .45rem; }
.prod-aside li i { color: var(--orange); margin-top: .2rem; }
.prod-feats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 2rem;
}
.prod-feats > .documentField { display: contents; }
.prod-feat {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 1.1rem;
    padding: 1.2rem 1.25rem 1.3rem;
    transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.prod-feat:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 36px rgba(22,24,28,.08);
}
.prod-feat .num {
    font-family: var(--display);
    color: var(--blue-d);
    font-size: 1.4rem;
    font-weight: 600;
}
.prod-feat h3 { font-size: 1.08rem; margin: .25rem 0 .35rem; }
.prod-feat p { color: var(--muted); margin: 0; font-size: .95rem; }
.prod-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 1.2rem;
}
.prod-gallery a, .prod-gallery span {
    display: block;
    aspect-ratio: 16/11;
    border-radius: 1rem;
    overflow: hidden;
    background: #dbe8ef center/cover no-repeat;
    box-shadow: 0 14px 32px rgba(22,24,28,.08);
}
.prod-gallery-cutouts span {
    aspect-ratio: 4 / 5;
    background-color: #e8eef3;
    background-size: auto 72%;
    background-repeat: no-repeat;
    background-position: center 80%;
}
.prod-machines {
    display: flex;
    gap: 1.8rem;
    overflow-x: auto;
    padding: 1.6rem 0 2rem;
    align-items: flex-end;
}
.prod-machines figure {
    margin: 0;
    flex: 0 0 auto;
    text-align: center;
    perspective: 700px;
}
.prod-machines img {
    height: 240px;
    width: auto;
    max-width: none;
    filter: drop-shadow(0 14px 18px rgba(22,24,28,.16));
    transition: transform .35s var(--ease);
}
.prod-machines figure:hover img:not(.kantor-duo-a):not(.kantor-duo-b) {
    transform: perspective(700px) rotateY(-10deg) translateZ(16px) scale(1.04);
}
.prod-machines figcaption { font-weight: 700; font-size: .82rem; color: var(--muted); margin-top: .4rem; }
.prod-related { margin-top: 2.6rem; }
.prod-related h2 { font-size: 1.45rem; margin-bottom: .4rem; }
.prod-related .lead-mini, .mt7-baner-wrap .lead-mini { color: var(--muted); max-width: 40rem; margin-bottom: 1.1rem; }
.prod-mods {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: .85rem;
    margin-top: 1.2rem;
}
.prod-mod {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 1rem;
    padding: 1rem 1.05rem 1.1rem;
    min-height: 8.5rem;
}
.prod-mod b { display: block; color: var(--blue-d); font-family: var(--display); font-size: 1.1rem; margin-bottom: .25rem; }
.prod-mod p { margin: 0; color: var(--muted); font-size: .9rem; }
.prod-duo {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.1rem;
    margin-top: 1.2rem;
}
.prod-duo article {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 1.2rem;
    padding: 1.3rem 1.35rem 1.4rem;
    min-height: 12rem;
}
.prod-duo h3 { font-size: 1.25rem; margin-bottom: .45rem; }
.prod-duo p { color: var(--muted); margin: 0; }
.prod-ticket {
    display: grid;
    grid-template-columns: 1.4fr .9fr;
    gap: 0;
    background: #fff;
    border-radius: 1.3rem;
    overflow: hidden;
    border: 1px solid var(--line);
    margin-top: 1.2rem;
    box-shadow: 0 18px 44px rgba(22,24,28,.06);
}
.prod-ticket-visual {
    min-height: 280px;
    background: #1a2330 center/cover no-repeat;
}
.prod-ticket-body { padding: 1.6rem 1.5rem 1.7rem; }
.prod-ticket-body h3 { font-size: 1.45rem; margin-bottom: .5rem; }
.prod-ticket-body p { color: var(--muted); }
.mt7-baner {
    position: relative;
    margin: 1.8rem 0 0;
    border-radius: 1.25rem;
    overflow: hidden;
    border: 1px solid var(--line);
    box-shadow: 0 18px 44px rgba(22,24,28,.08);
    aspect-ratio: 1309 / 403;
    background: #1a2330;
}
.mt7-baner-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity .7s var(--ease);
}
.mt7-baner-slide.is-on {
    opacity: 1;
    pointer-events: auto;
    z-index: 1;
}
.mt7-baner-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.mt7-baner-nav {
    position: absolute;
    z-index: 2;
    left: 0; right: 0; bottom: .7rem;
    display: flex;
    justify-content: center;
    gap: .45rem;
    pointer-events: none;
}
.mt7-baner-nav button {
    pointer-events: auto;
    width: 9px; height: 9px;
    padding: 0;
    border: 0;
    border-radius: 99px;
    background: rgba(255,255,255,.45);
    cursor: pointer;
}
.mt7-baner-nav button.is-on { background: #fff; width: 22px; }
.mt7-baner-caption {
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: rgba(255,255,255,.92);
    text-align: center;
    margin: .55rem 0 0;
    font-family: var(--font);
}
.mt7-baner-wrap h2 { font-size: 1.45rem; margin-bottom: .4rem; }
.mt7-baner-home {
    padding: calc(.4rem + 50px) 0 1.6rem;
    background: linear-gradient(#fff, var(--bg));
}
.mt7-baner-home .mt7-baner {
    max-width: 780px;
    margin: 0 auto;
    border-radius: .9rem;
    box-shadow: 0 10px 28px rgba(22,24,28,.07);
    opacity: .88;
    transition: opacity .35s ease, box-shadow .35s ease;
}
.mt7-baner-home .mt7-baner:hover { opacity: 1; box-shadow: 0 16px 36px rgba(22,24,28,.1); }
.prod-pano {
    position: relative;
    min-height: 420px;
    border-radius: 1.3rem;
    overflow: hidden;
    background: #0b1118;
    margin-top: 1.2rem;
    border: 1px solid var(--line);
}
.prod-pano .pano-view { position: absolute; inset: 0; }
.onas-tour {
    position: relative;
    aspect-ratio: 16 / 10;
    min-height: 28rem;
    border-radius: 1.3rem;
    overflow: hidden;
    background: #0b1118;
    margin-top: 1.2rem;
    border: 1px solid var(--line);
    box-shadow: 0 22px 48px rgba(22,24,28,.12);
}
.onas-tour iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    background: #0b1118;
}
.onas-tour-play {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    cursor: pointer;
    background: #0b1118;
}
.onas-tour-play img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 42%;
    transform: scale(1.04);
    transition: transform .8s var(--ease), filter .8s var(--ease);
    filter: saturate(1.05) contrast(1.04);
}
.onas-tour-play::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(11,17,24,.18) 0%, rgba(11,17,24,.55) 100%),
        radial-gradient(480px 220px at 50% 62%, rgba(30,180,230,.18), transparent 70%);
}
.onas-tour-play:hover img { transform: scale(1.08); }
.onas-tour-play-ui {
    position: absolute;
    z-index: 3;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .35rem;
    color: #fff;
    text-align: center;
}
.onas-tour-play-ui i {
    width: 3.4rem;
    height: 3.4rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--orange);
    color: #fff;
    font-size: 1.15rem;
    padding-left: .18rem;
    box-shadow: 0 12px 28px rgba(243,146,0,.38);
    margin-bottom: .35rem;
    transition: transform .35s var(--ease);
}
.onas-tour-play:hover .onas-tour-play-ui i { transform: scale(1.08); }
.onas-tour-play-ui b {
    font-family: var(--display);
    font-size: 1.35rem;
    font-weight: 600;
    letter-spacing: -.02em;
    text-shadow: 0 8px 24px rgba(0,0,0,.45);
}
.onas-tour-play-ui small {
    font-size: .82rem;
    font-weight: 650;
    letter-spacing: .04em;
    text-transform: uppercase;
    opacity: .88;
}
.onas-tour-play.is-gone {
    opacity: 0;
    pointer-events: none;
    transition: opacity .45s ease;
}
.onas-tour-ext {
    position: absolute;
    z-index: 4;
    right: .85rem;
    bottom: .85rem;
    background: rgba(12,16,24,.72);
    color: #fff !important;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    padding: .42rem .7rem;
    border-radius: 999px;
    backdrop-filter: blur(8px);
}
.onas-tour-ext:hover { color: var(--orange) !important; }
.onas-tour.is-on .onas-tour-ext { background: rgba(12,16,24,.55); }
.prod-sites {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 1.2rem;
    perspective: 900px;
}
.prod-sites span {
    display: block;
    aspect-ratio: 16/11;
    border-radius: 1rem;
    background: #dbe8ef center/cover no-repeat;
    box-shadow: 0 18px 36px rgba(22,24,28,.1);
    transform: rotateY(calc(var(--lookx, 0) * -12deg)) rotateX(calc(var(--looky, 0) * 6deg));
}
.prod-sites span:nth-child(1) { transform: rotateY(-18deg) translateZ(-20px); }
.prod-sites span:nth-child(2) { transform: translateZ(24px); }
.prod-sites span:nth-child(3) { transform: rotateY(18deg) translateZ(-20px); }
.prod-sites.onas-sites {
    grid-template-columns: repeat(4, 1fr);
}
.prod-sites.onas-sites a {
    transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.prod-sites.onas-sites a:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 40px rgba(22,24,28,.14);
}

@media (max-width: 991.98px) {
    .prod-layout, .prod-feats, .prod-gallery, .prod-mods, .prod-duo, .prod-ticket, .prod-sites, .prod-stats, .prod-hero-grid, .onas-stats .row, .onas-sites { grid-template-columns: 1fr; }
    .prod-copy .onas-pillars { grid-template-columns: 1fr; }
    .prod-copy ol { grid-template-columns: 1fr; }
    .onas-time::before { left: .42rem; }
    .onas-time li { grid-template-columns: 1.15rem minmax(0, 1fr); }
    .onas-time li::before { grid-column: 1; grid-row: 1; margin: .35rem auto 0; }
    .onas-time li > b {
        grid-column: 2;
        grid-row: 1;
        text-align: left;
        padding: .15rem 0 .4rem;
        font-size: 1.28rem;
    }
    .onas-time li > div { grid-column: 2; grid-row: 2; }
    .prod-aside { position: static; }
    .prod-hero { min-height: 0; padding-bottom: 1rem; }
    .prod-hero-stage { display: none; }
    .prod-shot { min-height: 16rem; }
    .prod-stats { margin-top: 1.2rem; grid-template-columns: 1fr 1fr; }
    .onas-stats .row { grid-template-columns: 1fr 1fr; }
    .onas-stats .stat-card { border-right: 0; padding: 1rem .6rem; }
    .onas-sites { grid-template-columns: 1fr 1fr; }
    .prod-sites.onas-sites { grid-template-columns: 1fr 1fr; }
    .prod-stat { border-right: 0; padding: 1rem .6rem; }
    .mt7-baner { aspect-ratio: 16 / 7; }
}
.list-card {
    background: #fff; border: 1px solid var(--line); border-radius: 1.1rem;
    overflow: hidden; height: 100%; display: flex; flex-direction: column;
    transition: transform .25s ease, box-shadow .25s ease;
}
.list-card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(22,24,28,.08); }
.list-card .thumb { aspect-ratio: 16/10; background: #dbe8ef; overflow: hidden; display: block; }
.list-card .thumb img { width: 100%; height: 118%; object-fit: cover; will-change: transform; }
.list-card .body { padding: 1.2rem 1.25rem 1.4rem; flex: 1; display: flex; flex-direction: column; }
.list-card h2 { font-size: 1.25rem; }
.list-card h2 a { color: var(--ink); }
.list-card .more { margin-top: auto; font-weight: 700; color: var(--orange); font-family: var(--font); }
.map-wrap { border-radius: 1.1rem; overflow: hidden; min-height: 280px; border: 1px solid var(--line); }
.pagination .page-link { border-radius: .7rem; color: var(--ink); border-color: var(--line); }
.pagination .active .page-link { background: var(--orange); border-color: var(--orange); }

.edycjaadmin2 {
    position: fixed; top: 8px; left: 8px; z-index: 1080;
    background: var(--orange); color: #fff !important;
    padding: 6px 10px; border-radius: 8px; font-size: 12px; font-weight: 700;
}
#cookies-message-container #cookies-message {
    top: auto !important; bottom: 0; border-bottom: 0 !important;
    border-top: 1px solid var(--line);
}
.udalosie, #successpanel { background: #ecfdf5; color: #065f46; border-radius: .8rem; padding: .85rem 1rem; margin-top: .8rem; }
.section-padding { padding: 4rem 0; }
.sr-only, .visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.ml-auto { margin-left: auto !important; }
.site-error { padding: calc(var(--nav-h) + 4rem) 0 4rem; }

@media (prefers-reduced-motion: reduce) {
    .hero-cutout, .runway-item, .service-tile, .project-tile-photo,
    .runway-track, .hero-slide.has-photo, .site-fan span,
    .sesja-win, .sesja-live b, .fx-spark {
        animation: none !important; transition: none !important;
    }
    .js-reveal [data-reveal] { opacity: 1; transform: none; }
    .js-reveal .onas-historia .onas-time li,
    .js-reveal .onas-historia.is-in .onas-time li { opacity: 1; transform: none; transition: none; }
    .hero-stage-visual { transform: none; }
    .fx-spark { opacity: .28; }
    .mt7-baner-slide { transition: none !important; }
}

@media (max-width: 991.98px) {
    .about-split, .split-sticky { grid-template-columns: 1fr; }
    .split-sticky-copy { position: static; }
    .about-copy { padding: 1.4rem 1.3rem 1.8rem; }
    .about-photo.about-tour { min-height: 420px; }
    .hero-float-a { height: 62%; max-width: 42%; }
    .hero-float-b, .hero-float-c { display: none; }
    .hero-stage-visual { min-height: 0; transform: none; }
    .hero-photo-frame { min-height: 18rem; }
    .col-lg-6 .service-tile-photo, .service-tile-photo { height: 190px; }
    .hero-stage { min-height: 0; }
}
@media (max-width: 767.98px) {
    .hero-stage { padding-top: calc(var(--nav-h) + 1.8rem); padding-bottom: 2rem; }
    .hero-float { display: none; }
    .hero-photo-frame { min-height: 0; }
    .runway-item > img { height: 210px !important; max-width: none !important; }
    .runway { gap: 2.4rem; padding: 1.4rem 2.4rem 1.6rem; }
    .runway-viewport { width: 92%; }
    .section { padding: 5.6rem 0; }
    body.site-mat-sub .section {
        padding-top: 50px;
        padding-bottom: 3.4rem;
    }
    .about-pano { min-height: 340px; }
    .about-photo.about-tour { min-height: 340px; }
    .onas-tour { min-height: 18rem; aspect-ratio: 4 / 5; }
    .navbar-logo img { height: 50px; }
}
