-frame/* ====== Reset i basics ====== */
* {
    box-sizing: border-box;
}

html, body {
    height: 100%;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: rgba(255, 255, 255, 0.92);
    color: #111;
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, Helvetica, Arial, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
}

body.page-transition {
    opacity: 1;
    transition: opacity 400ms ease;
}

body.page-transition.page-transition--initial {
    opacity: 0;
}

body.page-transition.page-transition--fading-out {
    opacity: 0;
}

body.page-transition.page-transition--ready {
    opacity: 1;
}


.background-frame {
    --frame-gradient-left: 0px;
    --frame-gradient-width: min(18vw, 220px);
    position: absolute;
    top: 0;
    right: 0;

    bottom: var(--welcome-strip-overlap);

    z-index: 0;
    display: flex;
    align-items: stretch;
    justify-content: flex-end;
    pointer-events: none;
    width: auto;
}

.background-frame__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.background-frame__gradient {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: var(--frame-gradient-width);
    background: linear-gradient(to right, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    pointer-events: none;
    z-index: 1;
    min-width: 80px;
}

:root {
    --nav-w-closed: 5vw; /* szerokość szyny ikon na starcie */
    --label-gap: 40px; /* odstęp ikona → etykieta */
    --icon-w: 36px;
    --brand: #199848;
    --sygnet-size-closed: 67px;
    --pale-green: #eaf7f0;
    --tagline-right-gap: 20px;
    --content-left-offset: 60px;
    --welcome-tagline-top-offset: 360px; /* ręczna odległość paska od górnej krawędzi (px) */
    --welcome-service-icon-size: clamp(40px, 2.4vw + 36px, 80px);
    --welcome-service-gap: clamp(12px, 0.4vw + 10px, 20px);
    --welcome-strip-overlap: -2px;
    --welcome-banner-bottom-gap: 40px;
    --welcome-banner-top-offset: 40px;
    --welcome-service-column-min: clamp(150px, 13vw, 210px);
    --welcome-service-icon-overhang: clamp(28px, 0.9vw + 26px, 42px);
    --interactive-shine-duration: 1s;
    --service-auto-shine-interval: 5s;
    --menu-toggle-shine-interval: 3s;

}

/* ====== Stabilna prawa linia (animuje left razem z panelem) ====== */
.nav-edge {
    position: fixed;
    top: 0;
    bottom: 0;
    width: 2px;
    left: 0; /* JS ustawia dokładny X */
    background: var(--brand);
    pointer-events: none;
    z-index: 198;
    transition: left .35s cubic-bezier(.22,.61,.36,1);
}

.page-overlay {
    position: fixed;
    inset: 0;
    background: rgba(17, 17, 17, 0.25);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s ease;
    z-index: 150;
}

.page-overlay--visible {
    opacity: 1;
    pointer-events: auto;
    cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Cpath d='M9 9L23 23M23 9L9 23' stroke='%23000000' stroke-width='6' stroke-linecap='round' opacity='0.35'/%3E%3Cpath d='M9 9L23 23M23 9L9 23' stroke='%23ffffff' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E") 16 16, pointer;
}

body.menu-open {
    overflow: hidden;
}

body.menu-open .quick-contact {
    z-index: 100;
}

@keyframes interactive-shine {
    0% {
        transform: translateX(-130%) skewX(-20deg);
        opacity: 0;
    }
    45% {
        opacity: .55;
    }
    100% {
        transform: translateX(130%) skewX(-20deg);
        opacity: 0;
    }
}

@keyframes interactive-shine-loop {
    0% {
        transform: translateX(-130%) skewX(-20deg);
        opacity: 0;
    }
    6% {
        opacity: .55;
    }
    16% {
        transform: translateX(130%) skewX(-20deg);
        opacity: 0;
    }
    100% {
        transform: translateX(-130%) skewX(-20deg);
        opacity: 0;
    }
}

/* ====== SZYBKI KONTAKT ====== */
.quick-contact {
    --quick-bg: #199848;
    --quick-text: hsla(147, 47%, 95%, 1);
    --quick-shadow: rgba(25, 152, 72, .45);
    --quick-page-bg: #ffffff;

    position: fixed;
    top: 40px;
    right: 25px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    background: var(--quick-bg);
    color: var(--quick-text);
    text-decoration: none;
    font-family: "Biryani", system-ui, sans-serif;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: .12em;
    text-transform: uppercase;
    border-radius: 4px;
    box-shadow: var(--quick-shadow) 2px 2px 22px;
    cursor: pointer;
    overflow: hidden;
    z-index: 3000;
    transition: box-shadow .3s ease;
}

.quick-contact:focus-visible {
    outline: 3px solid rgba(9, 86, 36, .6);
    outline-offset: 4px;
}

.quick-contact::before {
    content: '';
    pointer-events: none;
    opacity: .6;
    background:
        radial-gradient(circle at 20% 35%, transparent 0, transparent 2px, var(--quick-text) 3px, var(--quick-text) 4px, transparent 4px),
        radial-gradient(circle at 75% 44%, transparent 0, transparent 2px, var(--quick-text) 3px, var(--quick-text) 4px, transparent 4px),
        radial-gradient(circle at 46% 52%, transparent 0, transparent 4px, var(--quick-text) 5px, var(--quick-text) 6px, transparent 6px);
    width: 100%;
    height: 300%;
    top: 0;
    left: 0;
    position: absolute;
    animation: quick-contact-bubbles 5s linear infinite both;
}

.quick-contact::after {
    content: attr(aria-label);
    display: block;
    position: absolute;
    white-space: nowrap;
    padding: 40px 40px;
    pointer-events: none;
    font-family: inherit;
    font-weight: 400;
    top: -30px;
    left: -24px;
    color: rgba(255, 255, 255, .32);
}

.quick-contact__label {
    position: relative;
    z-index: 1;
}

.quick-contact__side {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    display: block;
    z-index: 2;
}

.quick-contact__side--right {
    left: 66%;
}

.quick-contact__side--left {
    right: 66%;
}

.quick-contact__side--right::after {
    content: attr(data-text);
    display: block;
    position: absolute;
    white-space: nowrap;
    padding: 40px 40px;
    pointer-events: none;
    font-family: inherit;
    top: -30px;
    left: calc(-66% - 20px);
    background-color: var(--quick-page-bg);
    color: transparent;
    transition: transform .4s ease-out;
    transform: translate(0, -90%) rotate(0deg);
}

.quick-contact:hover {
    box-shadow: rgba(25, 152, 72, .55) 2px 2px 26px;
}

.quick-contact:hover .quick-contact__side--right::after {
    transform: translate(0, -47%) rotate(0deg);
}

.quick-contact .quick-contact__side--right:hover::after {
    transform: translate(0, -50%) rotate(-7deg);
}

.quick-contact .quick-contact__side--left:hover ~ .quick-contact__side--right::after {
    transform: translate(0, -50%) rotate(7deg);
}

@keyframes quick-contact-bubbles {
    from {
        transform: translate3d(0, 0, 0);
    }
    to {
        transform: translate3d(0, -66.666%, 0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .quick-contact::before {
        animation: none;
    }

    .quick-contact__side--right::after {
        transition: none;
    }

    .menu-toggle::after,
    .welcome-banner__service-icon-holder::after,
    .menu-toggle:hover::after,
    .menu-toggle:focus-visible::after,
    .welcome-banner__service-button:hover .welcome-banner__service-icon-holder::after,
    .welcome-banner__service-button:focus-visible .welcome-banner__service-icon-holder::after,
    .welcome-banner__service--link:hover .welcome-banner__service-icon-holder::after,
    .welcome-banner__service--link:focus-visible .welcome-banner__service-icon-holder::after {
        animation: none !important;
        animation-play-state: paused !important;
        opacity: 0;
    }
}

/* ====== Panel ====== */
.side-nav {
    position: fixed;
    inset: 0 auto 0 0;
    width: var(--nav-w-closed);
    height: 100vh;
    background: #ffffff;
    border-right: 2px solid var(--brand);
    z-index: 200;
    transition: width .35s cubic-bezier(.22,.61,.36,1);
    overflow: visible;
}

.side-nav::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: var(--nav-w-closed);
    right: 0;
    background-image: url('assets/icons/tlo_menu.webp');
    background-repeat: no-repeat;
    background-size: auto 100%;
    background-position: left center;
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s ease;
    z-index: 0;
}

.side-nav.open::before {
    opacity: .05;
}

/* ====== Otwieracz ====== */
.menu-toggle {
    position: absolute;
    top: 50%;
    right: -28px;
    transform: translateY(-50%);
    border: 0;
    padding: 12px;
    background: transparent;
    cursor: pointer;
    z-index: 3000;
    overflow: hidden;
    isolation: isolate;
}

.menu-toggle::before,
.menu-toggle::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    clip-path: polygon(18% 12%, 100% 50%, 18% 88%, 0% 50%);
    mask-image: url('assets/icons/otwieracz_menu.png');
    mask-repeat: no-repeat;
    mask-position: center;
    mask-size: contain;
    mask-mode: alpha;
    -webkit-mask-image: url('assets/icons/otwieracz_menu.png');
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
    -webkit-mask-size: contain;
    -webkit-mask-mode: alpha;
}

.menu-toggle::before {
    background: #ffffff;
    z-index: 1;
}

.menu-toggle::after {
    background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.7) 45%, transparent 85%);
    transform: translateX(-130%) skewX(-20deg);
    opacity: 0;
    z-index: 3;
    animation: interactive-shine-loop var(--menu-toggle-shine-interval) ease infinite;
    animation-play-state: running;
}

.menu-toggle:hover::after,
.menu-toggle:focus-visible::after {
    animation: interactive-shine var(--interactive-shine-duration) ease;
    animation-play-state: running;
}

.menu-toggle img {
    display: block;
    height: 80px;
    width: auto;
    transition: transform .25s ease;
    pointer-events: none;
    position: relative;
    z-index: 2;
}

.side-nav.open .menu-toggle img {
    transform: scaleX(-1);
}

.side-nav.open .menu-toggle::after {
    animation-play-state: paused;
    opacity: 0;
}

.side-nav.open .menu-toggle:hover::after,
.side-nav.open .menu-toggle:focus-visible::after {
    animation-play-state: running;
}

/* ====== Szyna ikon ====== */
.icon-rail {
    width: var(--nav-w-closed);
    height: 100%;
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.icons-stack {
    width: 100%;
    padding-top: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    flex: 1;
}

.icon-link {
    display: inline-flex;
}

.icon-link--sygnet {
    justify-content: center;
}

    /* Sygnet — znika po otwarciu */
    .icons-stack .sygnet {
        width: min(var(--sygnet-size-closed), calc(var(--nav-w-closed) - 12px)) !important;
        height: auto;
        transition: opacity .2s ease;
    }

.side-nav.open .sygnet {
    opacity: 0;
    visibility: hidden;
}

/* Lista ikon pod sygnentem — 65vh */
.menu-icons {
    margin-top: 15px;
    height: 65vh;
    display: grid;
    grid-template-rows: repeat(9, 1fr);
    align-items: center;
    justify-items: center;
}

.menu-icon-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    position: relative;
}

.side-nav:not(.open) .menu-icon-link[data-tooltip]::after,
.side-nav:not(.open) .menu-icon-link[data-tooltip]::before {
    position: absolute;
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease, transform .2s ease;
}

.side-nav:not(.open) .menu-icon-link[data-tooltip]::after {
    content: attr(data-tooltip);
    top: 50%;
    left: calc(100% + 14px);
    transform: translateY(-50%) translateX(-6px);
    background: rgba(17, 17, 17, 0.92);
    color: #fff;
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 13px;
    white-space: nowrap;
    z-index: 10;
}

.side-nav:not(.open) .menu-icon-link[data-tooltip]::before {
    content: '';
    top: 50%;
    left: calc(100% + 4px);
    transform: translateY(-50%) translateX(-6px);
    border-width: 6px;
    border-style: solid;
    border-color: transparent rgba(17, 17, 17, 0.92) transparent transparent;
    z-index: 9;
}

.side-nav:not(.open) .menu-icon-link[data-tooltip]:hover::after,
.side-nav:not(.open) .menu-icon-link[data-tooltip]:focus-visible::after,
.side-nav:not(.open) .menu-icon-link[data-tooltip]:hover::before,
.side-nav:not(.open) .menu-icon-link[data-tooltip]:focus-visible::before {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}

.menu-icon-link .icon {
    pointer-events: none;
}

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

.icon {
    display: block;
    width: var(--icon-w);
    height: auto;
    color: #222;
    user-select: none;
}

.language-switcher {
    margin-top: auto;
    padding: 24px 0 48px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.language-switcher__flags {
    width: 100%;
    max-width: 86px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
}

.language-switcher__button {
    width: 100%;
    aspect-ratio: 1 / 1;
    border: 2px solid transparent;
    border-radius: 50%;
    box-sizing: border-box;
    background: transparent;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform .2s ease, border-color .2s ease;
}

.language-switcher__button:hover,
.language-switcher__button:focus-visible {
    transform: translateY(-2px);
}

.language-switcher__button:focus-visible {
    outline: 2px solid rgba(25, 152, 72, 0.45);
    outline-offset: 2px;
}

.language-switcher__button--active {
    background: transparent;
    border-color: var(--brand);
}

.language-switcher__eu-flag {
    display: block;
    width: 100%;
    max-width: 86px;
    margin: 0 auto;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    padding-left: 20px;
    padding-right: 20px;
}

/* ====== Etykiety ====== */
.labels-rail {
    position: absolute;
    left: calc(0.5 * var(--nav-w-closed) + (var(--icon-w) / 2) + var(--label-gap));
    top: 0;
    height: 100%;
    padding-right: 40px;
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s ease;
    z-index: 2;
}

.side-nav.expanded .labels-rail {
    opacity: 1;
    visibility: visible;
}

.side-nav.expanded .labels-rail::before {
    opacity: .8;
}

.labels-stack {
    padding-top: 40px;
}

.logo-full {
    display: inline-flex;
    align-items: center;
    height: 54px;
    margin-bottom: 14px;
    text-decoration: none;
}

.logo-full__image {
    display: block;
    height: 100%;
    width: auto;
}

.labels-list {
    margin-top: 20px;
    height: 65vh;
    display: grid;
    grid-template-rows: repeat(9, 1fr);
    align-items: center;
}

.labels-list > .label,
.labels-list > .label-with-toggle {
    display: flex;
    align-items: center;
    height: 100%;
}

.labels-list > .label {
    justify-content: flex-start;
}

.label-with-toggle {
    display: inline-flex;
    align-items: center;
}

.label-with-toggle > .label {
    display: flex;
    align-items: center;
    height: 100%;
}

.label-with-toggle > .label--oferta {
    display: flex;
    align-items: center;
    height: 100%;
}

.label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    font-family: "Biryani", system-ui, sans-serif;
    font-weight: 400;
    font-size: 17px;
    line-height: 1;
    white-space: nowrap;
    background: none;
    border: 0;
    padding: 0;
    color: inherit;
    cursor: default;
}

a.label {
    cursor: pointer;
    color: inherit;
    text-decoration: none;
}

.label-with-toggle > .label--oferta {
    margin-left: 10px;
    padding: 0;
}

.label-with-toggle > .label--oferta .chev {
    margin-left: 0;
}

    .label.has-submenu {
        cursor: pointer;
    }

.label--oferta .chev {
    --chev-shift: 6px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-left: 0;
    transition: transform .25s ease;
    transform-origin: center;
    pointer-events: none;
}

.label--oferta .chev-arrow {
    width: 8px;
    height: 8px;
    border-top: 2px solid rgba(25, 152, 72, .6);
    border-right: 2px solid rgba(25, 152, 72, .6);
    border-radius: 1px;
    opacity: 0;
    transform: translateX(0) rotate(45deg);
}

.side-nav.expanded .label--oferta .chev-arrow {
    animation: chev-arrow-pulse 1.6s ease-in-out infinite;
}

.side-nav.expanded .label--oferta .chev-arrow:nth-child(2) {
    animation-delay: .28s;
}

.label--oferta.open .chev {
    transform: rotate(180deg);
    --chev-shift: -6px;
}

@keyframes chev-arrow-pulse {
    0% {
        opacity: 0;
        transform: translateX(0) rotate(45deg);
    }
    30% {
        opacity: .85;
        transform: translateX(0) rotate(45deg);
    }
    60% {
        opacity: 0;
        transform: translateX(var(--chev-shift)) rotate(45deg);
    }
    100% {
        opacity: 0;
        transform: translateX(var(--chev-shift)) rotate(45deg);
    }
}

@media (prefers-reduced-motion: reduce) {
    .side-nav::before {
        transition: none;
    }

    .side-nav.expanded .label--oferta .chev-arrow {
        animation: none;
        opacity: .5;
    }
}

/* ====== Clip-wrapper, który odsłania panel 2 podczas rozsuwania ====== */
.reveal-clip {
    position: absolute;
    inset: 0;
    overflow: hidden; /* klucz do „odsłaniania” rynny 2 */
    pointer-events: none; /* nic nie łapie klików */
    z-index: 1;
}

/* ====== Submenu (zielony panel etapu 2) ====== */
/* Geometrię (left+width) nadaje JS, żeby nie nachodziło na rynnę 1 */
.submenu-rail {
    position: absolute;
    top: 0;
    height: 100%;
    background-color: rgba(234, 247, 240, 0.85);
    overflow: hidden;
    border-left: 2px solid var(--brand);
    padding: 0 20px; /* 20 + 20 = 40px */
    display: none;
    pointer-events: auto; /* same linki mają działać */
}

.submenu-rail::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('assets/icons/tlo_menu.webp');
    background-repeat: no-repeat;
    background-size: auto 100%;
    background-position: calc(-1 * var(--submenu-overlay-offset, 0px)) center;
    opacity: .05;
    pointer-events: none;
    z-index: 0;
}

.side-nav.expanded .submenu-rail {
    display: block;
}

.submenu-rail[hidden] {
    display: none !important;
}

.submenu {
    position: relative; /* top z JS (wyrównanie do „Oferta”) */
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-family: "Biryani", system-ui, sans-serif;
    font-size: 15px;
    white-space: nowrap;
}

    .submenu a {
        color: #0b3b20;
        text-decoration: none;
        padding: 6px 8px;
        border-radius: 4px;
        display: block;
    }

        .submenu a:hover {
            background: rgba(25,152,72,.15);
        }

/* ====== Treść ====== */
.content {
    margin-left: var(--nav-w-closed);
    min-height: 100vh;
    padding-top: 0;
    padding-right: 0;
    padding-bottom: clamp(48px, 8vw, 96px);
    padding-left: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    --content-section-gap: 50px;
    gap: var(--content-section-gap);
    transition: margin-left .35s cubic-bezier(.22,.61,.36,1);
    position: relative;
    z-index: 0;
}

.content::before {
    content: "";
    position: absolute;
    inset: 0;
    background-position: top center;
    background-size: auto;
    background-repeat: repeat;
    opacity: 0.05;
    pointer-events: none;
    z-index: -1;
}

.content--installations {
    --content-section-gap: 0px;
    padding-bottom: 0;
}

.content--installations .installations-overview {
    scroll-margin-top: clamp(80px, 12vh, 160px);
}


.welcome-hero {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    min-height: clamp(540px, 80vh, 860px);
    padding-right: 0;
}

.welcome-hero__heading {
    position: relative;
    z-index: 1;
    margin-left: var(--content-left-offset, 60px);
    max-width: min(520px, 90vw);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: clamp(90px, 12vh, 180px) 0;
    min-height: clamp(360px, 60vh, 520px);
}

.welcome-hero__title {
    margin: 0;
    font-family: "Biryani", system-ui, sans-serif;
    font-weight: 600;
    font-size: clamp(2.5rem, 4vw + 1rem, 4.5rem);
    line-height: 1.1;
    color: #0a3f47;
    text-transform: uppercase;
}

.welcome-hero__title--compact {
    font-size: clamp(2rem, 3vw + 0.5rem, 3.25rem);
}

.welcome-banner-group {
    --welcome-offset: var(--content-left-offset, 60px);
    --welcome-banner-width: min(440px, 100%);
    --service-strip-padding: max(clamp(20px, 3vw, 28px), calc(var(--welcome-service-icon-size) / 2 - 12.5px));
    --service-strip-bar-height: 25px;
    --service-strip-bar-top: calc(50% - var(--service-strip-bar-height) / 2);
    --service-strip-total-height: calc(var(--welcome-service-icon-size) + 2 * var(--service-strip-padding));
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: var(--welcome-banner-width);
    margin-left: var(--welcome-offset);
    position: relative;
    top: var(--welcome-banner-top-offset, 0px);
    padding-bottom: calc(var(--service-strip-total-height) + var(--welcome-banner-bottom-gap, 40px));
    z-index: 1;
}

.welcome-banner {
    --icon-size: 60px;
    --row-gap: calc(18px * 1.15);
    --icon-text-gap: calc(24px * 1.15);
    --welcome-banner-padding: calc(15px * 1.15);
    --welcome-banner-bottom-gap: var(--welcome-banner-padding);
    --welcome-banner-icon-overhang: -70%;
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-left: 0;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 0;
    box-shadow: none;
    position: relative;
    overflow: visible;
    font-family: "Biryani", system-ui, sans-serif;
    border: 2px solid var(--brand);
    min-height: var(--welcome-banner-fixed-min-height, auto);
    height: var(--welcome-banner-fixed-min-height, auto);
    max-height: var(--welcome-banner-fixed-min-height, none);
    transition: background-color var(--service-transition-duration, .4s) ease;
    z-index: 1;
}

.welcome-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(25, 152, 72, 0.08), rgba(255, 255, 255, 0));
    opacity: 0;
    pointer-events: none;
    z-index: 0;
}

.welcome-banner--service {
    background: rgba(255, 255, 255, 0.9);
}

.welcome-banner--animating::before {
    animation: welcome-banner-tone var(--service-transition-duration, .6s) ease-in-out forwards;
}

@keyframes welcome-banner-tone {
    0% {
        opacity: 0;
    }
    20% {
        opacity: 0.4;
    }
    80% {
        opacity: 0.4;
    }
    100% {
        opacity: 0;
    }
}

.welcome-banner__cta-container {
    width: 100%;
    display: flex;
    justify-content: flex-end;
    margin-top: 15px;
    gap: clamp(18px, 3vw, 40px);
    position: relative;
    z-index: 1;
    flex: 0 0 auto;
}

.welcome-banner__tagline {
    --service-strip-bar-height: 25px;
    --service-strip-padding: max( clamp(20px, 3vw, 28px), calc(var(--welcome-service-icon-size) / 2 - var(--service-strip-bar-height) / 2) );
    --service-strip-bar-top: calc( var(--service-strip-padding) + var(--welcome-service-icon-size) / 2 - var(--service-strip-bar-height) / 2 - var(--welcome-service-icon-overhang, 0px) );
    position: relative;
    /* USTAW WŁAŚCIWĄ ZMIENNĄ, z której korzysta transform: */
    --tagline-shift: 30px;
    left: 0;
    right: 0;
    /* nie używamy już marginesu do podjazdu */
    margin-top: 0;
    /* możesz zostawić 0, zamiast odwołania do zmiennej */
    margin-bottom: 0;
    margin-left: calc((var(--nav-w-closed) + var(--content-left-offset, 60px)) * -1);
    width: 100vw;
    max-width: 100vw;
    padding-left: calc(var(--nav-w-closed) + var(--content-left-offset, 60px));
    font-family: "Biryani", system-ui, sans-serif;
    z-index: 2;
    /* to już działa, bo ma właściwą zmienną */
    transform: translateY(calc(var(--tagline-shift, 0px)));
}

.welcome-banner__tagline--large-icons {
    --welcome-service-icon-size: clamp(52px, calc(3.12vw + 46.8px), 104px);
    --tagline-shift: 50px;
}

.welcome-banner__tagline--installations {
    --welcome-service-icon-size: clamp(52px, calc(3.12vw + 46.8px), 104px);
    --tagline-shift: 50px;
}


.welcome-banner__service-strip {
    position: relative;
    display: grid;
    grid-template-columns: max-content minmax(0, 1fr);
    align-items: center;
    column-gap: clamp(16px, 2.4vw, 36px);
    padding: var(--service-strip-padding) 0;
    row-gap: 10px;
}

.welcome-banner__service-strip::before {
    content: "";
    position: absolute;
    left: calc((var(--nav-w-closed) + var(--content-left-offset, 60px)) * -1);
    right: 0;
    top: var(--service-strip-bar-top);
    height: var(--service-strip-bar-height);
    background: var(--brand);
    pointer-events: none;
    z-index: 0;
}

.welcome-banner__tagline-text {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #111;
    padding: 0 clamp(24px, 3vw, 44px) 0 clamp(28px, 3.5vw, 52px);
    margin: 0 0 10px;
    min-height: var(--service-strip-bar-height);
    line-height: var(--service-strip-bar-height);
    white-space: nowrap;
}

.welcome-banner__services {
    position: relative;
    z-index: 1;
    min-width: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: var(--welcome-service-gap);
    width: 100%;
    font-size: clamp(12px, 0.4vw + 10px, 15px);
    letter-spacing: normal;
    text-transform: none;
    padding-right: var(--tagline-right-gap);
}

.installations-section {
    margin: 0;
    background: transparent;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: none;
}

.installations-section--footer-background {
    position: relative;
    overflow: hidden;
}

.installations-section--footer-background::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.05;
    pointer-events: none;
}

.installations-section--footer-background .installations-section__inner {
    position: relative;
    z-index: 1;
}

.installations-section__inner {
    display: flex;
    align-items: center;
    gap: clamp(28px, 5vw, 88px);
    max-width: 1200px;
    width: 100%;
}

.installations-section__image {
    flex: 0 0 52%;
    max-width: 52%;
}

.installations-section__image img {
    width: 100%;
    height: auto;
    display: block;
    border: 4px solid var(--brand);
}

.installations-section__content {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    gap: clamp(16px, 3vw, 28px);
    color: #111;
    font-family: "Biryani", system-ui, sans-serif;
}

.installations-section__title {
    margin: 0;
    font-size: clamp(20px, 1vw + 18px, 28px);
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    white-space: normal;
    line-height: 1.25;
    max-width: 32ch;
}

.installations-section__description {
    margin: 0;
    font-size: clamp(16px, 0.6vw + 14px, 19px);
    line-height: 1.6;
}

.installations-section__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: flex-start;
    padding: 14px 28px 10px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #fff;
    background: var(--brand);
    border: none;
    border-radius: 0;
    text-decoration: none;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease;
}

.installations-section__cta:hover,
.installations-section__cta:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(25, 152, 72, 0.2);
}

.welcome-banner__service {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: clamp(10px, 1vw, 18px);
    color: #111;
    text-align: center;
    flex: 1 1 var(--welcome-service-column-min);
    min-width: min(var(--welcome-service-column-min), 100%);
    max-width: min(var(--welcome-service-column-min), 100%);
}

.welcome-banner__service-button {
    border: none;
    background: transparent;
    padding: 0;
    cursor: pointer;
    font: inherit;
    position: relative;
}

.welcome-banner__service-button:focus-visible {
    outline: 2px solid rgba(17, 17, 17, 0.9);
    outline-offset: 4px;
}

.welcome-banner__service-icon-holder {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: var(--welcome-service-icon-size);
    height: var(--welcome-service-icon-size);
    transition: transform var(--service-transition-duration, .45s) ease-in-out;
    z-index: 2;
    border-radius: 50%;
    overflow: hidden;
    margin-top: calc(var(--welcome-service-icon-overhang, 0px) * -1);
}

.welcome-banner__service-icon-holder::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.65) 45%, transparent 85%);
    transform: translateX(-130%) skewX(-20deg);
    opacity: 0;
    pointer-events: none;
    z-index: 1;
    animation: interactive-shine-loop var(--service-auto-shine-interval) ease infinite;
}

.welcome-banner__service-button:hover .welcome-banner__service-icon-holder::after,
.welcome-banner__service-button:focus-visible .welcome-banner__service-icon-holder::after,
.welcome-banner__service--link:hover .welcome-banner__service-icon-holder::after,
.welcome-banner__service--link:focus-visible .welcome-banner__service-icon-holder::after {
    animation: interactive-shine var(--interactive-shine-duration) ease;
}

.welcome-banner__service-icon {
    width: var(--welcome-service-icon-size);
    height: var(--welcome-service-icon-size);
    object-fit: contain;
    display: block;
}

.welcome-banner__service-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    font-weight: 600;
    color: #111;
    margin-top: 0;
    line-height: 1.35;
    overflow-wrap: anywhere;
    word-break: break-word;
    hyphens: auto;
    min-height: calc(1.35em * 2);
    text-align: center;
}

.welcome-banner__service-label--compact {
    font-size: clamp(0.72rem, 0.8vw, 0.95rem);
}

.welcome-banner__service--link {
    text-decoration: none;
    color: inherit;
}

.welcome-banner__service--active .welcome-banner__service-icon-holder {
    transform: scale(1.2);
}

.welcome-banner__service--active .welcome-banner__service-icon-holder::after {
    animation: none;
    opacity: 0;
}

.welcome-banner__service--link:focus-visible {
    outline: 2px solid rgba(17, 17, 17, 0.9);
    outline-offset: 4px;
}

.welcome-banner__header {
    background: var(--brand);
    color: #fff;
    padding: 14px 20px;
    position: relative;
    z-index: 1;
    flex: 0 0 auto;
}

.welcome-banner__title {
    margin: 0;
    font-size: clamp(20px, 2vw + 12px, 28px);
    letter-spacing: .02em;
    font-weight: 600;
}

.welcome-banner__body {
    padding: var(--welcome-banner-padding);
    padding-bottom: var(--welcome-banner-bottom-gap);
    color: #1f1f1f;
    position: relative;
    z-index: 1;
    flex: 1 1 auto;
    overflow: visible; /* ← pozwól wystawać ponad body */
    scrollbar-gutter: stable;
}


.welcome-banner__intro {
    margin: 0 0 18px;
    font-size: 16px;
    line-height: 1.6;
    max-width: none;
}

.welcome-banner__details {
    padding: 0;
}

.welcome-banner__list {
    list-style: none;
    margin: 0;
    padding: calc(6px * 1.15) 0;
    display: flex;
    flex-direction: column;
    gap: var(--row-gap);
    font-size: 17px;
    line-height: 1.4;
}

.welcome-banner__item {
    display: flex;
    align-items: center;
    gap: 0;
    position: relative;
    min-height: var(--icon-size);
    padding-right: 0;
    padding-left: calc(var(--icon-size) / 2 + var(--icon-text-gap));
}

.welcome-banner__link {
    display: inline-flex;
    align-items: center;
    gap: 0;
    width: 100%;
    min-height: var(--icon-size);
    color: inherit;
    text-decoration: none;
    padding-right: 8px;
    border-radius: 6px;
    transition: color 0.2s ease;
}

.welcome-banner__link:hover .welcome-banner__text,
.welcome-banner__link:focus-visible .welcome-banner__text {
    text-decoration: underline;
}

.welcome-banner__link:focus-visible {
    outline: 2px solid var(--brand);
    outline-offset: 4px;
}

.welcome-banner__item--steps {
    align-items: center;
}

.welcome-banner__icon {
    width: var(--icon-size);
    height: var(--icon-size);
    display: block;
    flex: 0 0 var(--icon-size);
    color: var(--brand);
}

.welcome-banner__icon,
.welcome-banner__item--steps .welcome-banner__step {
    position: absolute;
    top: 50%;
    left: -20px;
    transform: translate(-50%, -50%);
    z-index: 2;
}

.welcome-banner__icon {
    left: 0;
    transform: translate(var(--welcome-banner-icon-overhang, -70%), -50%);
}

.welcome-banner__step {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: var(--icon-size);
    height: var(--icon-size);
    border-radius: 50%;
    border: 2px solid var(--brand);
    color: var(--brand);
    font-weight: 600;
    flex: 0 0 var(--icon-size);
    background: #fff;
}

.welcome-banner__text {
    display: inline-flex;
    align-items: center;
    flex: 1 1 auto;
}

.welcome-banner__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    background: var(--brand);
    color: #fff;
    text-decoration: none;
    font-family: "Biryani", system-ui, sans-serif;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    font-size: 14px;
    line-height: 1;
    border-radius: 0;
    box-shadow: none;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--service-transition-duration, .4s) ease, background-color .25s ease;
    flex: 0 0 auto;
    flex-shrink: 0;
    white-space: nowrap;
    margin-left: auto;
    align-self: center;
}


.welcome-banner__cta--visible {
    opacity: 1;
    pointer-events: auto;
}

.welcome-banner__cta:hover {
    opacity: .85;
}

.welcome-banner__cta:focus-visible {
    outline: 2px solid rgba(9, 86, 36, 0.8);
    outline-offset: 4px;
}


.history-footer-section,
.references-prefooter {
    margin-left: var(--nav-w-closed);
    width: calc(100vw - var(--nav-w-closed));
    padding: clamp(32px, 5vw, 64px) clamp(28px, 5vw, 64px) 0;
    background: #ffffff;
    font-family: "Biryani", system-ui, sans-serif;
}

.history-footer-section__inner,
.references-prefooter__inner {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(24px, 5vw, 64px);
    align-items: stretch;
}

.history-footer-section__column,
.references-prefooter__column {
    display: flex;
    flex-direction: column;
}

.history-footer-section__column--video {
    justify-content: center;
}

.history-footer-section__video-wrapper {
    position: relative;
    width: 100%;
    max-width: 780px;
    margin: 0 auto;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 18px 48px rgba(17, 17, 17, 0.18);
}

.history-footer-section__video {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.history-footer-section__column--content,
.references-prefooter__column--content {
    justify-content: center;
    align-items: stretch;
    gap: 0;
    padding-right: 0;
}

.references-prefooter {
    padding-bottom: 0;
    padding-right: 150px;
}

.references-prefooter__column--image {
    justify-content: flex-start;
    align-items: stretch;
}

.references-prefooter__image {
    display: block;
    width: 100%;
    max-width: none;
    height: auto;
}

.references-prefooter__heading-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: clamp(2px, 0.6vw, 6px);
}

.references-prefooter__heading {
    margin: 0;
    font-size: clamp(22px, 2.2vw, 28px);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 700;
}

.references-prefooter__divider {
    position: relative;
    display: block;
    width: 100%;
    height: 0;
    border-radius: 999px;
    margin: 0;
}

.references-prefooter__divider::after {
    content: "";
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--brand);
    border-radius: inherit;
}

.references-prefooter__heading-group .references-prefooter__divider {
    padding-bottom: 20px;
}

.references-prefooter__column--content > .references-prefooter__divider {
    padding-top: 25px;
    margin-top: clamp(14px, 2.5vw, 22px);
}

.references-prefooter__description {
    margin: 0;
    font-size: clamp(12px, 0.98vw, 15.3px);
    line-height: 1.6;
}

.references-prefooter__description + .references-prefooter__description {
    margin-top: clamp(8px, 2vw, 16px);
}

.references-prefooter__divider + .references-prefooter__motto {
    margin-top: clamp(14px, 2.5vw, 22px);
}

.references-prefooter__motto {
    margin: 0;
    font-size: clamp(16px, 1.3vw, 20px);
    font-weight: 700;
    color: var(--brand);
}

.references-prefooter__cta {
    margin: clamp(10px, 2vw, 18px) 0 clamp(18px, 3vw, 28px);
    font-size: clamp(14px, 1.1vw, 18px);
    font-weight: 700;
}

.references-prefooter__logos {
    display: flex;
    flex-wrap: wrap;
    gap: clamp(18px, 3vw, 36px);
    align-items: center;
    padding-bottom: 30px;
}

.references-prefooter__logo-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.references-prefooter__logo {
    display: block;
    max-width: 160px;
    height: auto;
    transition: transform 180ms ease;
}

.references-prefooter__logo-link:hover .references-prefooter__logo,
.references-prefooter__logo-link:focus-visible .references-prefooter__logo {
    transform: scale(1.03);
}

.references-prefooter__logo-link:focus-visible {
    outline: 2px solid rgba(9, 86, 36, 0.8);
    outline-offset: 4px;
}

.references-prefooter {
    padding-bottom: 0;
}

.references-prefooter__column--content {
    padding-right: 50px;
}

.references-prefooter__column--image {
    justify-content: flex-start;
    align-items: stretch;
}

.references-prefooter__image {
    display: block;
    width: 100%;
    max-width: none;
    height: auto;
}

.references-prefooter__heading-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: clamp(2px, 0.6vw, 6px);
}

.references-prefooter__heading {
    margin: 0;
    font-size: clamp(22px, 2.2vw, 28px);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 700;
}

.references-prefooter__divider {
    position: relative;
    display: block;
    width: 100%;
    height: 0;
    border-radius: 999px;
    margin: 0;
}

.references-prefooter__divider::after {
    content: "";
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--brand);
    border-radius: inherit;
}

.references-prefooter__heading-group .references-prefooter__divider {
    padding-bottom: 20px;
}

.references-prefooter__column--content > .references-prefooter__divider {
    padding-top: 20px;
    margin-top: clamp(14px, 2.5vw, 22px);
}

.references-prefooter__description {
    margin: 0;
    font-size: clamp(12px, 0.98vw, 15.3px);
    line-height: 1.6;
}

.references-prefooter__description + .references-prefooter__description {
    margin-top: clamp(8px, 2vw, 16px);
}

.references-prefooter__divider + .references-prefooter__motto {
    margin-top: clamp(14px, 2.5vw, 22px);
}

.references-prefooter__motto {
    margin: 0;
    font-size: clamp(16px, 1.3vw, 20px);
    font-weight: 700;
    color: var(--brand);
}

.references-prefooter__cta {
    margin: clamp(10px, 2vw, 18px) 0 clamp(18px, 3vw, 28px);
    font-size: clamp(14px, 1.1vw, 18px);
    font-weight: 700;
}

.references-prefooter__logos {
    display: flex;
    flex-wrap: wrap;
    gap: clamp(18px, 3vw, 36px);
    align-items: center;
    padding-bottom: 30px;
}

.references-prefooter__logo-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.references-prefooter__logo {
    display: block;
    max-width: 160px;
    height: auto;
    transition: transform 180ms ease;
}

.references-prefooter__logo-link:hover .references-prefooter__logo,
.references-prefooter__logo-link:focus-visible .references-prefooter__logo {
    transform: scale(1.03);
}

.references-prefooter__logo-link:focus-visible {
    outline: 2px solid rgba(9, 86, 36, 0.8);
    outline-offset: 4px;
}

.history-footer-section__text-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: clamp(10px, 2vw, 16px);
    padding-right: 50px;
}

.history-footer-section__image-wrapper {
    margin-top: auto;
    padding-top: clamp(26px, 4vw, 52px);
    width: 100%;
}

.history-footer-section__heading {
    margin: 0;
    font-size: clamp(22px, 2.2vw, 28px);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.history-footer-section__highlight {
    color: var(--brand);
}

.history-footer-section__description {
    margin: 0;
    font-size: clamp(12px, 0.98vw, 15.3px);
    line-height: 1.6;
}

.history-footer-section__closing {
    margin: 0;
    font-size: clamp(16px, 1.3vw, 20px);
    font-weight: 700;
}

.history-footer-section__image {
    display: block;
    margin: 0;
    width: min(100%, 780px);
    height: auto;
}

@media (max-width: 960px) {
    .history-footer-section__inner,
    .references-prefooter__inner {
        grid-template-columns: 1fr;
    }

    .history-footer-section__column--content {
        align-items: flex-start;
    }

    .history-footer-section__image {
        width: min(100%, 676px);
    }

    .references-prefooter__column--image {
        align-items: flex-start;
    }

}

@media (max-width: 640px) {
    .history-footer-section,
    .references-prefooter {
        padding-left: clamp(20px, 6vw, 32px);
        padding-right: clamp(20px, 6vw, 32px);
    }

    .references-prefooter {
        padding-left: clamp(20px, 6vw, 32px);
        padding-right: clamp(20px, 6vw, 32px);
    }

    .history-footer-section__heading {
        letter-spacing: 0.08em;
    }

    .references-prefooter__heading {
        letter-spacing: 0.08em;
    }
}

.site-footer {
    margin-top: 0;
    margin-left: var(--nav-w-closed);
    width: calc(100vw - var(--nav-w-closed));
    background: #f5f5f5;
    color: #111;
    font-family: "Biryani", system-ui, sans-serif;
    position: relative;
    overflow: visible;
}

.content--installations + .site-footer {
    margin-top: 0;
}

.content--installations > .installations-overview:last-of-type {
    padding-bottom: 70px;
}

.site-footer__inner {
    padding: clamp(28px, 4.5vw, 60px) clamp(28px, 5vw, 64px) 0;
}

.site-footer__columns {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(20px, 4vw, 40px);
}

.site-footer__column {
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-size: 14px;
    line-height: 1.6;
}

.site-footer__column-title {
    margin: 0;
    font-size: clamp(15px, 0.5vw + 13px, 18px);
    font-weight: 700;
}

.site-footer__column:first-child {
    align-items: center;
    text-align: center;
}

.site-footer__column:nth-child(2),
.site-footer__column:nth-child(3) {
    border-left: 2px solid var(--brand);
    padding-left: 15px;
    padding-right: 15px;
}

.site-footer__column--illustration {
    --footer-illustration-overhang-px: 0px;
    position: relative;
    align-items: flex-end;
    justify-content: flex-end;
}

.site-footer__illustration-wrapper {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
}

.site-footer__logo {
    max-width: 180px;
    height: auto;
}

.site-footer__address {
    font-style: normal;
    margin: 0;
}

.site-footer__links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.site-footer__link {
    color: inherit;
    text-decoration: none;
}

.site-footer__link:hover,
.site-footer__link:focus-visible {
    color: var(--brand);
    text-decoration: underline;
}


.site-footer__illustration {
    position: relative;
    width: clamp(220px, 28vw, 420px);
    max-width: 100%;
    height: auto;
    transform: translateY(calc(-1 * var(--footer-illustration-overhang-px)));
    bottom: calc(-1 * var(--footer-illustration-overhang-px));
}

.site-footer__city-badge {
    width: clamp(120px, 18vw, 200px);
    height: auto;
    display: block;
    margin-top: 12px;
}

.site-footer__bottom-bar {
    margin-top: 0;
    background: var(--brand);
    color: #fff;
}

.site-footer__bottom-bar-inner {
    margin: 0;
    padding: 8px clamp(32px, 6vw, 72px);
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 13px;
    letter-spacing: 0.04em;
    line-height: 1.4;
}

.site-footer__credits {
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0.02em;
}

.site-footer__bottom-link {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
}

.site-footer__bottom-link:hover,
.site-footer__bottom-link:focus-visible {
    text-decoration: underline;
}

.welcome-banner--animating .welcome-banner__header,
.welcome-banner--animating .welcome-banner__body,
.welcome-banner--animating .welcome-banner__cta-container {
    animation: welcome-banner-content var(--service-transition-duration, .6s) ease-in-out forwards;
}

@keyframes welcome-banner-content {
    0% {
        opacity: 1;
    }
    30% {
        opacity: 0;
    }
    70% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@media (max-width: 720px) {
    .content {
        padding-left: clamp(24px, 6vw, 40px);
        --content-left-offset: clamp(24px, 6vw, 40px);
    }

    .welcome-hero__heading {
        margin-left: clamp(20px, 6vw, 32px);
        padding: clamp(56px, 18vw, 100px) 0;
        max-width: 90vw;
        min-height: clamp(280px, 64vh, 400px);
    }

    .welcome-hero__title {
        font-size: clamp(1.9rem, 8vw, 2.9rem);
    }

    .welcome-banner-group {
        --welcome-offset: clamp(24px, 6vw, 40px);
        --welcome-banner-width: 100%;
        width: 100%;
        margin-left: var(--welcome-offset);
    }

    .welcome-banner {
        --icon-size: 48px;
    }

    .welcome-banner__service-strip {
        grid-template-columns: 1fr;
        row-gap: clamp(16px, 4vw, 28px);
    }

    .welcome-banner__services {
        width: 100%;
        margin-left: 0;
        padding-right: 0;
        justify-content: center;
        gap: clamp(12px, 3vw, 22px);
    }

    .welcome-banner__tagline {
        --welcome-service-icon-size: clamp(36px, 8vw, 56px);
        --welcome-service-column-min: clamp(120px, 48vw, 200px);
        --welcome-service-icon-overhang: clamp(22px, 9vw, 32px);
    }

    .welcome-banner__tagline-text {
        font-size: 13px;
        letter-spacing: 0.12em;
        justify-content: center;
        padding: 0 clamp(20px, 7vw, 40px);
    }

    .site-footer__columns {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .site-footer__column--illustration {
        align-items: center;
        justify-content: center;
    }

    .site-footer__illustration {
        width: clamp(240px, 60vw, 380px);
    }

    .site-footer__bottom-bar-inner {
        text-align: center;
        align-items: center;
    }
}

@media (max-width: 960px) {
    .welcome-banner__services {
        width: 100%;
        margin-left: 0;
    }

    .welcome-hero__heading {
        margin-left: clamp(24px, 6vw, 40px);
        padding: clamp(70px, 18vw, 140px) 0;
        max-width: min(460px, 88vw);
        min-height: clamp(320px, 64vh, 460px);
    }

    .welcome-hero__title {
        font-size: clamp(2.1rem, 5vw + 1rem, 3.5rem);
    }

    .installations-section {
        margin: 0;
        padding: 0;
    }

    .installations-section__inner {
        flex-direction: column;
        gap: clamp(24px, 6vw, 48px);
    }

    .installations-section__image {
        width: 100%;
    }

    .installations-section__cta {
        align-self: stretch;
        justify-content: center;
    }

.site-footer__columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
}

.installations-overview {
    position: relative;
    padding: 32px clamp(1.5rem, 4vw, 4rem) clamp(5rem, 8vw, 6rem);
    color: #0c1f24;
    background: linear-gradient(180deg, #ffffff 0%, #ebfff2 100%);
    font-family: "Biryani", system-ui, sans-serif;
}

.installations-overview--footer-blend {
    background: linear-gradient(180deg, #ffffff 0%, #ebfff2 55%, #f5f5f5 100%);
}

.installations-overview--sezas {
    margin-top: -1px;
    background: linear-gradient(180deg, #ebfff2 0%, #b2c7ba 100%);
}

.installations-overview--wrs {
    margin-top: -1px;
    background: linear-gradient(180deg, #b2c7ba 0%, #cbded2 100%);
}

.installations-overview--devices {
    margin-top: -1px;
    background: linear-gradient(180deg, #cbded2 0%, #f5f5f5 100%);
}

.installations-overview__inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    gap: 3rem;
}

.installations-overview__header {
    text-align: center;
    display: grid;
    gap: 1rem;
}

.installations-overview__eyebrow {
    font-weight: 600;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--brand);
}

.installations-overview__title {
    font-size: clamp(2rem, 3vw, 3rem);
    margin: 0;
    color: #0a3f47;
}

.installations-overview__intro {
    max-width: 720px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #1d373c;
}

.installations-overview__content {
    display: grid;
    gap: 2.5rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.installations-overview__content--single {
    grid-template-columns: minmax(0, 1fr);
}

.installations-overview__column {
    background-color: rgba(255, 255, 255, 0.82);
    border-radius: 0.75rem;
    padding: 2.5rem;
    box-shadow: 0 24px 60px -35px rgba(8, 46, 41, 0.4);
    border: 1px solid rgba(12, 124, 134, 0.15);
    display: grid;
    gap: 1.5rem;
}

.installations-overview__column-title {
    font-size: 1.5rem;
    margin: 0;
    color: var(--brand);
}

.installations-overview__list {
    margin: 0;
    padding-left: 1.2rem;
    display: grid;
    gap: 0.75rem;
    color: #0a3f47;
    font-weight: 600;
    list-style: disc;
}

.installations-overview__list--detailed {
    font-weight: 500;
    color: #1d373c;
}

.installations-overview__list--detailed li {
    line-height: 1.6;
}

.installations-overview__subtitle {
    margin: 0;
    font-size: 1.1rem;
    color: #0a3f47;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.installations-overview__subsection {
    display: grid;
    gap: 0.75rem;
}

.installations-overview__badge {
    display: grid;
    gap: 1rem;
    justify-items: center;
    text-align: center;
}

.installations-overview__badge img {
    width: 80%;
    max-width: none;
    height: auto;
    border: 6px solid var(--brand);
}

.installations-overview__materials {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0a3f47;
}

.installations-gallery {
    background: rgba(255, 255, 255, 0.82);
    border-radius: 0.75rem;
    padding: 2.5rem;
    box-shadow: 0 24px 60px -35px rgba(8, 46, 41, 0.4);
    border: 1px solid rgba(12, 124, 134, 0.15);
}

.installations-gallery__title {
    margin: 0 0 2rem;
    font-size: 1.5rem;
    color: var(--brand);
    text-align: center;
}

.installations-gallery__grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.installations-gallery__thumb {
    border: none;
    padding: 0;
    background: transparent;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 20px 48px -30px rgba(8, 46, 41, 0.5);
    cursor: pointer;
    position: relative;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.installations-gallery__thumb::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(12, 124, 134, 0.1), rgba(12, 124, 134, 0.35));
    opacity: 0;
    transition: opacity 0.25s ease;
    border-radius: inherit;
}

.installations-gallery__thumb:hover,
.installations-gallery__thumb:focus-visible {
    transform: translateY(-6px);
    box-shadow: 0 28px 60px -32px rgba(8, 46, 41, 0.55);
}

.installations-gallery__thumb:hover::after,
.installations-gallery__thumb:focus-visible::after {
    opacity: 1;
}

.installations-gallery__thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.installations-lightbox {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: grid;
    place-items: center;
}

.installations-lightbox[hidden] {
    display: none;
}

.installations-lightbox__overlay {
    position: absolute;
    inset: 0;
    background: rgba(5, 16, 19, 0.75);
    backdrop-filter: blur(6px);
}

.installations-lightbox__figure {
    position: relative;
    z-index: 1;
    max-width: min(90vw, 1100px);
    width: 100%;
    background: #fff;
    padding: clamp(1.5rem, 4vw, 2.5rem);
    border-radius: 1rem;
    box-shadow: 0 40px 90px -45px rgba(6, 28, 24, 0.6);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.installations-lightbox__image {
    width: 100%;
    max-height: min(70vh, 640px);
    object-fit: contain;
    border-radius: 0.75rem;
}

.installations-lightbox__controls {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.installations-lightbox__control {
    background: #fff;
    border: 2px solid var(--brand);
    color: var(--brand);
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 999px;
    display: grid;
    place-items: center;
    cursor: pointer;
    font-size: 1.125rem;
    box-shadow: 0 12px 30px -18px rgba(8, 46, 41, 0.45);
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.installations-lightbox__control:hover,
.installations-lightbox__control:focus-visible {
    transform: scale(1.06);
    background: var(--brand);
    color: #fff;
}

.installations-lightbox__control--prev,
.installations-lightbox__control--next {
    position: static;
    transform: none;
    width: 2.25rem;
    height: 2.25rem;
    font-size: 1.25rem;
}

.installations-lightbox__control--close {
    position: absolute;
    inset-block-start: clamp(1rem, 2vw, 1.5rem);
    inset-inline-end: clamp(1rem, 2vw, 1.5rem);
    z-index: 2;
}

body.no-scroll {
    overflow: hidden;
}

@media (max-width: 960px) {
    .installations-overview__content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .installations-section__title {
        white-space: normal;
    }

    .site-footer__columns {
        grid-template-columns: 1fr;
    }

    .site-footer {
        margin-left: 0;
        width: 100%;
    }

    .site-footer__column--illustration {
        --footer-illustration-overhang-px: 0px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .side-nav, .labels-rail, .content, .menu-toggle img, .nav-edge {
        transition: none !important;
    }

    .welcome-banner__service-icon-holder,
    .welcome-banner__cta {
        transition: none !important;
    }

    .welcome-banner--animating .welcome-banner__header,
    .welcome-banner--animating .welcome-banner__body,
    .welcome-banner--animating .welcome-banner__cta-container {
        animation: none !important;
    }
}

/* ====== Przykładowe realizacje ====== */
.content--realizations {
    --content-section-gap: 0px;
    padding-bottom: 0;
    background: linear-gradient(180deg, #ffffff 0%, #ebfff2 34%, #f5f5f5 100%);
}

.content--realizations .references-prefooter {
    padding: clamp(16px, 3vw, 32px) clamp(16px, 3vw, 32px) 0;
}

.content--realizations .references-prefooter__column--content {
    align-items: flex-start;
}

.realizations-intro {
    position: relative;
    padding: clamp(16px, 3vw, 28px) clamp(20px, 3.2vw, 32px) clamp(20px, 3.5vw, 36px);
    background: #ffffff;
}

.realizations-intro__content {
    align-items: flex-start;
    gap: clamp(18px, 3vw, 28px);
}

.realizations-intro__heading-group {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    width: fit-content;
    gap: clamp(4px, 0.7vw, 8px);
    text-transform: uppercase;
    color: #0a3f47;
    text-align: left;
}

.realizations-intro__heading {
    margin: 0;
    font-size: clamp(20px, 2.2vw, 28px);
    letter-spacing: 0.12em;
}

.realizations-intro__divider {
    position: relative;
    display: block;
    height: 0;
    border-radius: 999px;
    align-self: stretch;
}

.realizations-intro__divider::after {
    content: "";
    display: block;
    height: 2px;
    width: 100%;
    background-color: var(--brand);
    border-radius: inherit;
}

.realizations-intro__nav {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: clamp(12px, 2.5vw, 20px);
}

.realizations-intro__link {
    display: inline-flex;
    align-items: center;
    gap: clamp(12px, 2vw, 18px);
    padding: 0;
    border: 0;
    background: transparent;
    text-decoration: none;
    color: #0a3f47;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    transition: color 160ms ease;
}

.realizations-intro__link:hover,
.realizations-intro__link:focus-visible {
    color: var(--brand);
}

.realizations-intro__link:focus-visible {
    outline: 2px solid rgba(9, 86, 36, 0.7);
    outline-offset: 6px;
}

.realizations-intro__icon {
    height: 100px;
    width: auto;
    display: block;
}

.realizations-intro__label {
    font-size: clamp(13px, 1.2vw, 18px);
    text-align: left;
}

.realizations-intro__image-column {
    display: flex;
    align-items: stretch;
    justify-content: center;
}

.realizations-intro__image {
    flex: 1 1 auto;
    height: 100%;
    width: 100%;
    max-width: none;
    margin: 0;
    object-fit: cover;
}

.realizations-intro__bottom-divider {
    position: absolute;
    left: calc(-1 * var(--nav-w-closed));
    right: 0;
    bottom: 0;
    display: block;
    height: 3px;
    background-color: var(--brand);
    border-radius: 0;
}

.realizations-section {
    scroll-margin-top: clamp(80px, 12vh, 160px);
    margin-top: -1px;
}

.realizations-section__card {
    gap: clamp(1.2rem, 3vw, 2.1rem);
}

.realizations-section__list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: clamp(0.5rem, 1.5vw, 0.9rem);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #0a3f47;
}

.realizations-section__focus {
    margin: 0;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--brand);
}

.realizations-gallery {
    background: rgba(255, 255, 255, 0.82);
    border-radius: 0.75rem;
    padding: clamp(1.75rem, 4vw, 2.5rem);
    box-shadow: 0 24px 60px -35px rgba(8, 46, 41, 0.4);
    border: 1px solid rgba(12, 124, 134, 0.15);
}

.realizations-gallery__grid {
    display: grid;
    gap: clamp(1rem, 3vw, 1.5rem);
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.realizations-gallery__item {
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 20px 48px -30px rgba(8, 46, 41, 0.5);
    background: #ffffff;
}

.realizations-gallery__thumb {
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.realizations-gallery__thumb:focus-visible {
    outline: 3px solid rgba(9, 86, 36, 0.55);
    outline-offset: 4px;
}

.realizations-gallery__thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 960px) {
    .realizations-intro__content {
        align-items: center;
    }

    .realizations-intro__heading-group {
        align-items: center;
        text-align: center;
    }

    .realizations-intro__nav {
        align-items: center;
    }

    .realizations-intro__label {
        text-align: center;
        letter-spacing: 0.12em;
    }
}

@media (max-width: 720px) {
    .realizations-intro {
        padding-left: clamp(24px, 6vw, 40px);
        padding-right: clamp(24px, 6vw, 40px);
    }

    .realizations-gallery__grid {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    }
}

.content--realizations .installations-overview {
    background: transparent;
}

.content--realizations .installations-overview + .installations-overview {
    margin-top: clamp(-2px, -0.3vw, -1px);
}
