
:root {
    --ink: #0c2340;
    --text: #526174;
    --blue: #0875f5;
    --blue2: #005ed7;
    --line: #e5ebf2;
    --soft: #f5f9fd;
    --white: #fff;
    --green: #21b35b;
    --orange: #ff8a22
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    background: #fff;
    color: var(--text);
    font-family: Inter, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.65;
    overflow-x: hidden
}

a {
    color: var(--blue);
    text-decoration: none
}

a:hover {
    color: var(--blue2);
    text-decoration: none
}

h1, h2, h3, h4, h5, h6 {
    margin-top: 0;
    color: var(--ink);
    font-family: Inter, Arial, sans-serif;
    font-weight: 800;
    text-transform: none
}

.container {
    width: min(1240px, calc(100% - 40px));
    max-width: none
}

/* HEADER */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    height: auto;
    background: #fff;
    border-bottom: 1px solid #edf1f5;
    box-shadow: 0 2px 12px rgba(12, 35, 64, .04)
}

.site-header__inner {
    width: min(1400px, calc(100% - 48px));
    min-height: 82px;
    margin: auto;
    display: flex;
    align-items: center;
    gap: 34px
}

.site-brand {
    flex: 0 0 230px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    color: var(--ink);
}

.site-brand img {
    display: block;
    width: 190px;
    max-width: 100%;
    height: auto;
}

.site-brand span {
    width: 190px;
    margin-top: 2px;
    color: #536171;
    font-size: 8px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: .7px;
    text-align: center;
}

.site-nav {
    flex: 1;
    position: static;
    display: block;
    background: none;
    overflow: visible;
    width: auto
}

.site-nav > ul {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    margin: 0;
    padding: 0;
    list-style: none
}

.site-nav li {
    position: relative;
    list-style: none
}

.site-nav a, .site-nav span {
    display: block;
    padding: 29px 0 26px;
    color: var(--ink);
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer
}

.site-nav > ul > li > a:after, .site-nav > ul > li > span:after {
    content: "";
    position: absolute;
    left: 0;
    right: 100%;
    bottom: 19px;
    height: 2px;
    background: var(--blue);
    transition: .2s
}

.site-nav > ul > li:hover > a:after, .site-nav > ul > li:hover > span:after {
    right: 0
}

.site-nav li ul {
    position: absolute;
    top: 70px;
    left: 50%;
    min-width: 220px;
    margin: 0;
    padding: 8px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 15px 35px rgba(12, 35, 64, .12);
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, 8px);
    transition: .2s
}

.site-nav li:hover > ul {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0)
}

.site-nav li ul li a, .site-nav li ul li span {
    padding: 9px 12px;
    font-size: 13px;
    border-radius: 5px
}

.site-nav li ul li a:hover {
    background: var(--soft)
}

.site-nav li ul ul {
    left: 100%;
    top: 0;
    transform: translate(8px, 0)
}

.site-nav li ul li:hover > ul {
    transform: translate(0, 0)
}

.header-phone {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 11px;
    color: var(--blue)
}

.header-phone i {
    font-size: 20px
}

.header-phone span {
    display: flex;
    flex-direction: column
}

.header-phone strong {
    font-size: 18px;
    line-height: 1.1
}

.header-phone small {
    margin-top: 4px;
    color: #69788a;
    font-size: 9px
}

.nav-toggle {
    display: none
}

/* SLIDER / HERO - dane nadal z bazy */
.slide-wrapper {
    position: relative;
    margin: 0;
    height: 480px;
    background: linear-gradient(110deg, #f7fbff, #edf6ff);
    overflow: hidden
}

.slide-wrapper .slide {
    display: none;
    position: relative;
    height: 480px;
    margin: auto;
    opacity: 0
}

.slide-wrapper .slide.show {
    display: block
}

.slide-wrapper .slide-img {
    position: absolute;
    inset: 0 0 0 50%;
    z-index: 1;
    overflow: hidden
}

.slide-wrapper .slide-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center
}

.slide-wrapper .slide:after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
#background: linear-gradient(90deg, #f8fbff 0%, rgba(248, 251, 255, .98) 42%, rgba(248, 251, 255, .65) 56%, rgba(248, 251, 255, 0) 72%);
    pointer-events: none
}

.slide-text-bg {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 5;
    background: transparent !important
}

.slide-text {
    position: static !important;
    display: flex;
    width: min(1400px, calc(100% - 48px)) !important;
    height: 100%;
    margin: auto;
    align-items: center;
    transform: none !important;
    text-align: left
}

.slide-text > p, .slide-text > div {
    max-width: 650px
}

.slide-text strong, .slide-text h1 {
    display: block;
    margin: 0 0 18px;
    color: var(--ink) !important;
    font-size: clamp(38px, 4vw, 62px) !important;
    line-height: 1.04 !important;
    font-weight: 800 !important;
    letter-spacing: -1.5px;
    text-transform: none;
    filter: none !important;
    text-shadow: none !important
}

.slide-text p {
    color: #263a51;
    font-size: 17px;
    line-height: 1.55
}

.slide-button {
    margin-top: 25px
}

.slide-button .btn {
    padding: 13px 24px;
    background: var(--blue);
    border: 1px solid var(--blue);
    border-radius: 5px;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    text-transform: none
}

.slide-button .btn:hover {
    background: var(--blue2);
    border-color: var(--blue2)
}

.biala-otoczka {
    color: inherit;
    filter: none !important;
    text-shadow: none !important
}

/* CONTENT + CMS SECTIONS */
.page-content, .home-content {
    width: 100%
}

.page-block {
    width: 100%;
    background: #fff
}

.page-block:nth-of-type(even) {
    background: #f8fbfe
}

.page-block__inner {
    width: min(1240px, calc(100% - 40px));
    margin: auto
}

.page-block--wide .page-block__inner {
    width: min(1224px, calc(100% - 40px))
}
.page-block__text {text-align:justify;}
.page-block--full .page-block__inner {
    width: 100%
}

.page-block--spacing-small {
    padding: 28px 0
}

.page-block--spacing-normal {
    padding: 58px 0
}

.page-block--spacing-large {
    padding: 78px 0
}

.page-block__inner > h2, .page-block__split h2 {
    margin: 0 0 34px;
    color: var(--ink);
    font-size: clamp(26px, 3vw, 38px);
    line-height: 1.15;
    font-weight: 800;
    text-align: left
}

.page-block__inner > h2 {
    text-align: center
}

.page-block__text {
    max-width: 1000px;
    margin: auto;
    color: var(--text);
    line-height: 1.8
}

.page-block__text--columns {
    columns: 2;
    column-gap: 55px
}

/* =========================================================
   ICON CARDS
   - wariant normal: strona główna (3 kafelki)
   - wariant wide: podstrony usługowe (5 kafelków)
   ========================================================= */

.page-block__cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.page-block__card {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    grid-template-rows: auto auto;
    column-gap: 20px;
    row-gap: 3px;
    align-items: start;
    min-height: 155px;
    padding: 26px 28px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(12, 35, 64, .04);
}

.page-block__card i {
    grid-column: 1;
    grid-row: 1 / span 2;
    display: flex !important;
    width: 54px !important;
    height: 54px !important;
    margin: 0 !important;
    align-items: center;
    justify-content: center;
    border-radius: 50% !important;
    background: #eaf4ff !important;
    color: var(--blue) !important;
    font-size: 25px !important;
    line-height: 54px !important;
    text-align: center;
}

.page-block__card:nth-child(2) i {
    background: #eaf9ef !important;
    color: var(--green) !important;
}

.page-block__card:nth-child(3) i {
    background: #fff2e7 !important;
    color: var(--orange) !important;
}

.page-block__card h3 {
    grid-column: 2;
    grid-row: 1;
    align-self: end;
    margin: 0 0 4px;
    padding: 0;
    color: var(--ink);
    font-size: 18px;
    font-weight: 800;
    line-height: 1.3;
}

.page-block__card p {
    grid-column: 2;
    grid-row: 2;
    margin: 0;
    padding: 0;
    color: var(--text);
    font-size: 14px;
    line-height: 1.6;
}

/* Podstrony usługowe: page-block--wide = 5 zalet w jednym rzędzie.
   Nie zależy od ID sekcji, więc działa na każdej podstronie. */
.page-block--icons.page-block--wide {
    padding: 55px 0;
}

.page-block--icons.page-block--wide .page-block__inner {
    width: min(1240px, calc(100% - 40px));
}

.page-block--icons.page-block--wide .page-block__cards {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 20px;
}

.page-block--icons.page-block--wide .page-block__card {
    display: flex;
    width: 100%;
    min-width: 0;
    min-height: 0;
    margin: 0;
    padding: 28px 18px;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
}

.page-block--icons.page-block--wide .page-block__card > i {
    flex: 0 0 auto;
    margin: 0 0 16px !important;
}

.page-block--icons.page-block--wide .page-block__card h3,
.page-block--icons.page-block--wide .page-block__card p {
    width: 100%;
    text-align: center;
}

.page-block--icons.page-block--wide .page-block__card h3 {
    margin: 0 0 10px;
}

.page-block--icons.page-block--wide .page-block__card p {
    margin: 0;
}

@media (max-width: 991px) {
    .page-block__cards,
    .page-block--icons.page-block--wide .page-block__cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
    }

    .page-block--icons.page-block--wide {
        padding: 42px 0;
    }

    .page-block--icons.page-block--wide .page-block__card:last-child:nth-child(odd) {
        grid-column: 1 / -1;
        width: calc(50% - 9px);
        justify-self: center;
    }
}

@media (max-width: 700px) {
    .page-block__cards,
    .page-block--icons.page-block--wide .page-block__cards {
        grid-template-columns: minmax(0, 1fr);
    }

    .page-block__card {
        grid-template-columns: 54px minmax(0, 1fr);
        column-gap: 16px;
        min-height: 0;
        padding: 22px;
    }
}

@media (max-width: 600px) {
    .page-block--icons.page-block--wide {
        padding: 32px 0;
    }

    .page-block--icons.page-block--wide .page-block__inner {
        width: calc(100% - 30px);
    }

    .page-block--icons.page-block--wide .page-block__cards {
        gap: 14px;
    }

    .page-block--icons.page-block--wide .page-block__card,
    .page-block--icons.page-block--wide .page-block__card:last-child:nth-child(odd) {
        grid-column: auto;
        width: 100%;
        max-width: none;
        margin: 0;
        padding: 24px 20px;
        justify-self: stretch;
    }
}

/* HOMEPAGE - mniejszy odstęp pod trzema kafelkami */
#page-section-9 {
    padding-bottom: 32px !important;
}

/* =========================================================
   HISTORIA / LICZBY - HOMEPAGE
   ========================================================= */

#page-section-10 {
    padding: 28px 0 30px !important;
    background: #f7fbff;
}

#page-section-10 .page-block__inner {
    width: min(1240px, calc(100% - 40px));
    max-width: none;
    margin: 0 auto;
    padding: 0;
}

#page-section-10 .page-block__text {
    width: 100%;
    max-width: none;
    margin: 0;
}

#page-section-10 .sw-history {
    display: grid;
    grid-template-columns: 390px minmax(0, 1fr);
    align-items: center;
    width: 100%;
}

/* LEWA CZĘŚĆ */

#page-section-10 .sw-history__intro {
    padding-right: 42px;
    border-right: 1px solid #ccd9e5;
}

#page-section-10 .sw-history__intro h2 {
    margin: 0 0 6px;
    color: #0c1d36;
    font-size: 27px;
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.5px;
}

/* kasujemy wymuszony <br>, żeby pierwsza linia była:
   "Tworzymy internet" */
#page-section-10 .sw-history__intro h2 br {
    display: none;
}

#page-section-10 .sw-history__intro h2 span {
    display: block;
    color: #0875f5;
}

#page-section-10 .sw-history__intro p {
    margin: 7px 0 0;
    color: #526174;
    font-size: 14px;
    line-height: 1.45;
}

/* PRAWA CZĘŚĆ */

#page-section-10 .sw-history__stats {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1.12fr;
    align-items: center;
    width: 100%;
}

#page-section-10 .sw-history__stat {
    min-height: 76px;
    padding: 5px 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

#page-section-10 .sw-history__stat + .sw-history__stat {
    border-left: 1px solid #dce5ec;
}

#page-section-10 .sw-history__stat strong {
    display: block;
    margin: 0 0 6px;
    color: #0c1d36;
    font-size: 23px;
    font-weight: 800;
    line-height: 1.1;
    white-space: nowrap;
    letter-spacing: -0.4px;
}

#page-section-10 .sw-history__stat span {
    display: block;
    color: #526174;
    font-size: 12px;
    line-height: 1.35;
}


/* TABLET */

@media (max-width: 991px) {

    #page-section-10 .sw-history {
        grid-template-columns: 320px minmax(0, 1fr);
    }

    #page-section-10 .sw-history__intro {
        padding-right: 28px;
    }

    #page-section-10 .sw-history__stat {
        padding: 5px 14px;
    }

    #page-section-10 .sw-history__stat strong {
        font-size: 20px;
    }
}


/* MOBILE */

@media (max-width: 767px) {

    #page-section-10 {
        padding: 35px 0 !important;
    }

    #page-section-10 .page-block__inner {
        width: calc(100% - 40px);
        padding: 0;
    }

    #page-section-10 .sw-history {
        display: block;
    }

    #page-section-10 .sw-history__intro {
        padding: 0 0 25px;
        border-right: 0;
    }

    #page-section-10 .sw-history__intro h2 {
        font-size: 27px;
    }

    #page-section-10 .sw-history__intro p br {
        display: none;
    }

    #page-section-10 .sw-history__stats {
        grid-template-columns: 1fr 1fr;
    }

    #page-section-10 .sw-history__stat {
        min-height: 90px;
        padding: 18px 15px;
        border-top: 1px solid #dce5ec;
    }

    #page-section-10 .sw-history__stat + .sw-history__stat {
        border-left: 0;
    }

    #page-section-10 .sw-history__stat:nth-child(even) {
        border-left: 1px solid #dce5ec;
    }

    #page-section-10 .sw-history__stat strong {
        font-size: 23px;
    }
}

/* TEXT + IMAGE */
.page-block__split {
    display: grid;
    grid-template-columns:1fr 1fr;
    gap: 56px;
    align-items: center
}

.page-block__split--reverse > div:first-child {
    order: 2
}

.page-block__split--reverse > div:last-child {
    order: 1
}

.page-block__split > div:last-child {
    overflow: hidden;
    border-radius: 10px
}

.page-block__split img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 420px;
    object-fit: cover
}

.webprom-checklist {
    padding: 0;
    list-style: none
}

.webprom-checklist li {
    position: relative;
    margin: 10px 0;
    padding-left: 26px
}

.webprom-checklist li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--blue);
    font-weight: 800
}

/* =========================================================
   PROCES WSPÓŁPRACY
   Wspólny dla wszystkich sekcji procesu - bez zależności od ID.
   ========================================================= */
.page-block__process {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    width: 100%;
    gap: 0;
    position: relative;
    text-align: center;
}

.page-block__process article {
    position: relative;
    min-width: 0;
    padding: 0 18px;
    text-align: center;
}

.page-block__process article > span {
    position: relative;
    z-index: 3;
    display: flex;
    width: 42px;
    height: 42px;
    margin: 0 auto 15px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--blue);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
}

.page-block__process article:not(:last-child)::before {
    content: "";
    position: absolute;
    top: 20px;
    left: calc(50% + 21px);
    width: calc(100% - 42px);
    border-top: 2px dashed #dce4ed;
    z-index: 1;
}

.page-block__process article:not(:last-child)::after {
    content: "\f061";
    position: absolute;
    z-index: 2;
    top: 11px;
    left: calc(100% - 8px);
    transform: translateX(-50%);
    padding: 0 7px;
    background: #fff;
    color: #ff5a2a;
    font-family: FontAwesome;
    font-size: 14px;
    line-height: 20px;
}

.page-block__process h3 {
    margin: 0 0 7px;
    font-size: 16px;
}

.page-block__process p {
    margin: 0;
    font-size: 13px;
}

@media (max-width: 767px) {
    .page-block__process {
        display: block;
        width: 100%;
    }

    .page-block__process article {
        width: 100%;
        padding: 0 15px 70px;
    }

    .page-block__process article:last-child {
        padding-bottom: 0;
    }

    .page-block__process article > span {
        margin: 0 auto 12px;
    }

    .page-block__process article:not(:last-child)::before {
        top: auto;
        bottom: 10px;
        left: 50%;
        width: 0;
        height: 42px;
        border: 0;
        border-left: 2px dashed #dce4ed;
        transform: translateX(-50%);
    }

    .page-block__process article:not(:last-child)::after {
        content: "\f063";
        top: auto;
        bottom: 19px;
        left: 50%;
        transform: translateX(-50%);
        padding: 4px 6px;
        line-height: 16px;
    }
}

/* PORTFOLIO */
.page-block__portfolio-wrap {
    display: grid;
    grid-template-columns:minmax(0, 2.1fr) minmax(350px, 1fr);
    gap: 24px
}

.page-block__portfolio-main {
    min-width: 0
}

.page-block__portfolio-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 22px
}

.page-block__portfolio-heading h2 {
    margin: 0;
    font-size: 30px
}

.page-block__portfolio-all {
    font-size: 13px;
    font-weight: 700
}

.page-block__portfolio-grid {
    display: grid;
    grid-template-columns:repeat(3, 1fr);
    gap: 18px
}

.portfolio-card {
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    transition: .2s
}

.portfolio-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(12, 35, 64, .10)
}

.portfolio-card__link {
    display: flex;
    height: 100%;
    flex-direction: column;
    color: inherit
}

.portfolio-card__image {
    display: block;
    height: 190px;
    overflow: hidden;
    background: #eef3f7
}

.portfolio-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center
}

.portfolio-card__body {
    display: flex;
    min-height: 85px;
    padding: 14px;
    flex-direction: column
}

.portfolio-card__title {
    color: var(--ink);
    font-size: 15px
}

.portfolio-card__tags {
    display: flex;
    gap: 6px;
    margin-top: auto;
    padding-top: 9px
}

.portfolio-card__tag {
    padding: 3px 7px;
    border: 1px solid #cfd8e2;
    border-radius: 3px;
    font-size: 10px
}

.page-block__portfolio-cta {
    display: flex;
    padding: 28px;
    flex-direction: column;
    background: #f4f8fc;
    border: 1px solid var(--line);
    border-radius: 8px
}

.page-block__portfolio-cta h3 {
    font-size: 21px
}

.page-block__portfolio-features {
    padding: 0;
    list-style: none
}

.page-block__portfolio-features li {
    position: relative;
    margin: 9px 0;
    padding-left: 22px;
    font-size: 13px
}

.page-block__portfolio-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--blue);
    font-weight: 800
}

.page-block__portfolio-phone {
    display: flex;
    margin-top: 9px;
    padding: 10px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid var(--blue);
    border-radius: 4px;
    font-weight: 700
}

/* CTA */
.page-block__cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px
}

.page-block__cta h2 {
    margin-bottom: 8px;
    text-align: left
}

.page-block__cta p {
    margin: 0
}

.page-block__buttons {
    display: flex;
    gap: 12px
}

.page-block__button {
    display: inline-flex;
    min-height: 46px;
    padding: 11px 22px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--blue);
    border-radius: 5px;
    font-size: 14px;
    font-weight: 700
}

.page-block__button.primary {
    background: var(--blue);
    color: #fff
}

.page-block__button.secondary {
    background: #fff;
    color: var(--blue)
}

/* FAQ */
.page-block__faq {
    max-width: 1000px;
    margin: auto
}

.page-block__faq details {
    margin: 10px 0;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 7px
}

.page-block__faq summary {
    position: relative;
    padding: 18px 54px 18px 20px;
    color: var(--ink);
    font-weight: 700;
    cursor: pointer;
    list-style: none
}

.page-block__faq summary:after {
    content: "+";
    position: absolute;
    right: 20px;
    top: 14px;
    color: var(--blue);
    font-size: 24px
}

.page-block__faq details[open] summary:after {
    content: "−"
}

.page-block__faq details > div {
    padding: 0 20px 20px
}

/* FINAL CTA + FOOTER */
.site-cta {
    background: linear-gradient(100deg, #0c3158, #075b9d);
    color: #fff
}

.site-cta__inner {
    width: min(1240px, calc(100% - 40px));
    min-height: 130px;
    margin: auto;
    display: grid;
    grid-template-columns:1fr auto auto;
    gap: 34px;
    align-items: center
}

.site-cta h2 {
    margin: 0 0 5px;
    color: #fff;
    font-size: 25px
}

.site-cta p {
    margin: 0;
    color: #dceafa;
    font-size: 13px
}

.site-cta__phone {
    color: #fff;
    font-size: 21px;
    font-weight: 800;
    white-space: nowrap
}

.site-cta__button {
    padding: 13px 20px;
    background: var(--blue);
    border-radius: 5px;
    color: #fff;
    font-size: 13px;
    font-weight: 700
}

/* Fancybox / portfolio modal */
.project {
    position: relative;
    width: min(1100px, 90vw);
    max-height: 90vh;
    padding: 30px;
    overflow: auto;
    background: #fff;
    border-radius: 10px
}

.project .close-btn {
    position: absolute;
    right: 15px;
    top: 5px;
    color: var(--blue);
    font-size: 44px;
    cursor: pointer
}

.project-img-wrap {
    float: left;
    width: 48%;
    margin: 0 24px 16px 0
}

.project-img {
    width: 100%;
    height: auto
}

.clearfix {
    clear: both
}

.fancybox__container {
    background: rgba(4, 19, 36, .92) !important
}

/* Consent */
.cc {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: none
}

.cc.is-open {
    display: block
}

.cc__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .6)
}

.cc__modal {
    position: relative;
    top: 50%;
    max-width: 720px;
    margin: auto;
    padding: 18px;
    transform: translateY(-50%)
}

.cc__content {
    padding: 22px;
    background: #0b2038;
    color: #fff;
    border-radius: 10px
}

.cc__title {
    color: #fff;
    font-size: 20px
}

.cc__desc {
    font-size: 13px
}

.cc__actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end
}

.cc__btn {
    padding: 10px 15px;
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 5px;
    background: transparent;
    color: #fff
}

.cc__btn--primary {
    background: var(--blue);
    border-color: var(--blue)
}

.cc__links {
    margin-top: 10px;
    font-size: 11px
}

.cc__link {
    color: #d9e8f8
}

.cc__sep {
    margin: 0 6px
}

@media (max-width: 1100px) {
    .site-header__inner {
        gap: 18px
    }

    .site-nav > ul {
        gap: 16px
    }

    .header-phone small {
        display: none
    }

}

@media (max-width: 991px) {
    .site-header__inner {
        min-height: 70px;
        width: calc(100% - 30px)
    }

    .site-brand {
        flex-basis: auto
    }

    .site-brand img {
        width: 160px
    }

    .header-phone {
        margin-left: auto
    }

    .header-phone span {
        display: none
    }

    .nav-toggle {
        display: flex;
        width: 42px;
        height: 42px;
        padding: 9px;
        flex-direction: column;
        justify-content: center;
        gap: 5px;
        border: 0;
        background: #fff
    }

    .nav-toggle span {
        display: block;
        width: 100%;
        height: 2px;
        background: var(--ink)
    }

    .site-nav {
        position: fixed;
        top: 70px;
        bottom: 0;
        left: 100%;
        width: 100%;
        padding: 18px;
        background: #fff;
        overflow: auto;
        transition: .2s
    }

    .site-nav.open {
        left: 0
    }

    .site-nav > ul {
        display: block
    }

    .site-nav a, .site-nav span {
        padding: 14px 10px;
        border-bottom: 1px solid var(--line);
        font-size: 15px
    }

    .site-nav li ul {
        position: static;
        display: none;
        min-width: 0;
        padding: 0;
        border: 0;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none
    }

    .site-nav li:hover > ul {
        display: block;
        transform: none
    }

    .slide-wrapper, .slide-wrapper .slide {
        height: 400px
    }

    .slide-wrapper .slide-img {
        inset: 0
    }

    .slide-wrapper .slide:after {
        background: linear-gradient(90deg, rgba(248, 251, 255, .96), rgba(248, 251, 255, .82) 60%, rgba(248, 251, 255, .22))
    }

    .slide-text {
        width: calc(100% - 36px) !important
    }

    .slide-text > p, .slide-text > div {
        max-width: 70%
    }

    .slide-text strong, .slide-text h1 {
        font-size: clamp(32px, 7vw, 46px) !important
    }

    .page-block__split {
        grid-template-columns:1fr;
        gap: 28px
    }

    .page-block__split--reverse > div:first-child, .page-block__split--reverse > div:last-child {
        order: initial
    }

    .page-block__portfolio-wrap {
        grid-template-columns:1fr
    }

    .site-cta__inner {
        grid-template-columns:1fr auto;
        padding: 26px 0
    }

    .site-cta__button {
        grid-column: 2
    }
}

@media (max-width: 700px) {
    body {
        font-size: 15px
    }

    .slide-wrapper, .slide-wrapper .slide {
        height: 350px
    }

    .slide-wrapper .slide:after {
        background: linear-gradient(180deg, rgba(248, 251, 255, .94), rgba(248, 251, 255, .72) 72%, rgba(248, 251, 255, .15))
    }

    .slide-text {
        align-items: flex-start;
        padding-top: 42px
    }

    .slide-text > p, .slide-text > div {
        max-width: 100%
    }

    .slide-text strong, .slide-text h1 {
        font-size: 31px !important;
        line-height: 1.08 !important
    }

    .slide-text p {
        font-size: 14px
    }

    .page-block--spacing-normal {
        padding: 42px 0
    }

    .page-block--spacing-large {
        padding: 52px 0
    }

    .page-block__text--columns {
        columns: 1
    }

    .page-block__portfolio-grid {
        grid-template-columns:1fr
    }

    .page-block__cta {
        display: block
    }

    .page-block__buttons {
        margin-top: 20px;
        display: grid
    }

    .site-cta__inner {
        display: block
    }

    .site-cta__phone, .site-cta__button {
        display: inline-flex;
        margin-top: 18px;
        margin-right: 12px
    }
.project-img-wrap {
        float: none;
        width: 100%;
        margin: 0 0 16px
    }
}

/* STRONY.WEBPROM.PL - HERO DESKTOP */

@media (min-width: 992px) {

    .slide-wrapper {
        height: 400px !important;
    }

    .slide-wrapper .slide {
        position: relative;
        height: 400px !important;
        min-height: 400px !important;
        overflow: hidden;
    }

    .slide-wrapper .slide .slide-img {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: auto !important;

        width: 100% !important;
        height: 400px !important;

        overflow: hidden !important;
    }

    .slide-wrapper .slide .slide-img img {
        display: block;
        width: 1920px !important;
        max-width: none !important;
        height: 400px !important;
        object-fit: none !important;
        position: absolute;
        left: 50%;
        transform: translateX(-50%) !important;
    }
}

/* =========================================================
   STRONY.WEBPROM.PL - PRZYCISKI HERO
   ========================================================= */

.sw-hero__buttons {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 18px;
}

.sw-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 22px;

    border: 2px solid #1688f8;
    border-radius: 5px;

    font-size: 15px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none !important;

    transition: all .2s ease;
}

.sw-btn--primary {
    background-color: #1688f8;
    border-color: #1688f8;
    color: #fff !important;
}

.sw-btn--primary:hover,
.sw-btn--primary:focus {
    background-color: #0875dc;
    border-color: #0875dc;
    color: #fff !important;
    text-decoration: none !important;
}

.sw-btn--secondary {
    background-color: rgba(255, 255, 255, .85);
    border-color: #1688f8;
    color: #1688f8 !important;
}

.sw-btn--secondary:hover,
.sw-btn--secondary:focus {
    background-color: #1688f8;
    border-color: #1688f8;
    color: #fff !important;
    text-decoration: none !important;
}

.sw-btn--primary span {
    margin-left: 7px;
    font-size: 18px;
    line-height: 1;
}
/* =========================================================
   STRONY INTERNETOWE - LOKALIZACJE
   ========================================================= */

.sw-local {
    width: 100%;
}


/* NAGŁÓWEK */

.sw-local__heading {
    max-width: 760px;
    margin: 0 auto 38px;
    text-align: center;
}

.sw-local__heading h2 {
    margin: 0 0 13px;

    color: var(--ink);
    font-size: 32px;
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -.7px;
}

.sw-local__heading h2 span {
    color: var(--blue);
}

.sw-local__heading p {
    margin: 0;

    color: var(--text);
    font-size: 13px;
    line-height: 1.65;
}

.sw-local__heading p strong {
    color: var(--ink);
    font-weight: 700;
}


/* MAPA + MIASTA */

.sw-local__body {
    display: grid;
    grid-template-columns: minmax(400px, .9fr) minmax(0, 1.1fr);
    gap: 65px;
    align-items: center;
}


/* MAPA */

.sw-local__map {
    display: flex;
    min-height: 300px;

    align-items: center;
    justify-content: center;
}

.sw-local__map-image {
    display: block;
    width: 100%;
    max-width: 480px;
    height: auto;
    margin: 0 auto;
}


/* LISTA MIAST */

.sw-local__cities {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 36px;
    row-gap: 0;
}


/* POJEDYNCZY LINK */

.sw-local__city {
    display: flex;
    min-height: 42px;

    padding: 10px 4px;

    align-items: center;
    gap: 10px;

    color: var(--text);
    font-size: 12px;
    line-height: 1.25;

    border-bottom: 1px solid var(--line);

    text-decoration: none !important;

    transition: color .2s ease;
}

.sw-local__city i {
    flex: 0 0 17px;

    color: var(--blue);
    font-size: 15px;
    text-align: center;
}

.sw-local__city span {
    display: block;
}

.sw-local__city strong {
    color: var(--ink);
    font-size: 13px;
    font-weight: 800;

    transition: color .2s ease;
}

.sw-local__city:hover,
.sw-local__city:hover strong {
    color: var(--blue);
}


/* WSZYSTKIE LOKALIZACJE */

.sw-local__all {
    grid-column: 1 / -1;

    padding-top: 18px;
    text-align: right;
}

.sw-local__all a {
    color: var(--blue);
    font-size: 12px;
    font-weight: 700;

    text-decoration: none !important;
}

.sw-local__all a span {
    display: inline-block;
    margin-left: 5px;

    transition: transform .2s ease;
}

.sw-local__all a:hover span {
    transform: translateX(4px);
}


/* TABLET */

@media (max-width: 991px) {

    .sw-local__body {
        grid-template-columns: 340px minmax(0, 1fr);
        gap: 35px;
    }

    .sw-local__cities {
        column-gap: 22px;
    }

}


/* MOBILE */

@media (max-width: 767px) {

    .sw-local__heading {
        margin-bottom: 25px;
        text-align: left;
    }

    .sw-local__heading h2 {
        font-size: 27px;
    }

    .sw-local__body {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .sw-local__map {
        min-height: 240px;
    }
}


@media (max-width: 520px) {

    .sw-local__cities {
        grid-template-columns: 1fr;
    }

    .sw-local__all {
        text-align: left;
    }

}
/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
    width: 100%;
    padding: 58px 0 0;
    background: #fff;
    border-top: 1px solid var(--line);
}

.site-footer__inner {
    width: min(1240px, calc(100% - 40px));
    margin: 0 auto;
}


/* GŁÓWNY UKŁAD */

.site-footer__grid {
    display: grid;
    grid-template-columns:
        minmax(250px, 1.55fr)
        repeat(4, minmax(135px, 1fr));
    gap: 42px;
    width: 100%;
    padding-bottom: 48px;
}

.site-footer__about,
.site-footer__column {
    min-width: 0;
}


/* O WEBPROM */

.site-footer__about {
    padding-right: 20px;
}

.site-footer__brand {
    display: inline-block;
    margin-bottom: 17px;
    text-decoration: none !important;
}

.site-footer__brand img {
    display: block;
    width: 155px;
    height: auto;
}

.site-footer__description {
    max-width: 280px;
    margin: 0 0 16px;
    color: var(--text);
    font-size: 12px;
    line-height: 1.65;
}

.site-footer__location {
    margin: 0 0 18px;
    color: var(--text);
    font-size: 11px;
    font-weight: 600;
}

.site-footer__location i {
    margin-right: 6px;
    color: var(--blue);
}


/* KONTAKT */

.site-footer__contact {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;
}

.site-footer__contact a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--ink);
    font-size: 12px;
    font-weight: 700;
    text-decoration: none !important;
    transition: color .2s ease;
}

.site-footer__contact a:hover {
    color: var(--blue);
}

.site-footer__contact i {
    width: 14px;
    color: var(--blue);
    text-align: center;
}


/* KOLUMNY */

.site-footer__column h4 {
    position: relative;
    margin: 3px 0 19px;
    padding-bottom: 11px;
    color: var(--ink);
    font-size: 13px;
    font-weight: 800;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: .35px;
}

.site-footer__column h4::after {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 25px;
    height: 2px;
    background: var(--blue);
    content: "";
}

.site-footer__column ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-footer__column li {
    margin: 0 0 10px;
    padding: 0;
}

.site-footer__column li:last-child {
    margin-bottom: 0;
}

.site-footer__column a {
    color: var(--text);
    font-size: 12px;
    line-height: 1.35;
    text-decoration: none !important;
    transition: color .2s ease;
}

.site-footer__column a:hover {
    color: var(--blue);
}


/* DOLNY PASEK */

.site-footer__bottom {
    display: flex;
    width: 100%;
    min-height: 62px;
    padding: 18px 0;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    border-top: 1px solid var(--line);
}

.site-footer__copyright {
    margin: 0;
    color: #8795a5;
    font-size: 10px;
    line-height: 1.4;
}

.site-footer__legal {
    display: flex;
    width: auto;
    margin: 0;
    padding: 0;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 8px 25px;
}

.site-footer__legal a {
    display: inline-block;
    margin: 0;
    padding: 0;
    color: #8795a5;
    font-size: 10px;
    line-height: 1.4;
    white-space: nowrap;
    text-decoration: none !important;
    transition: color .2s ease;
}

.site-footer__legal a:hover {
    color: var(--blue);
}


/* TABLET */

@media (max-width: 991px) {

    .site-footer__grid {
        grid-template-columns: 1.5fr 1fr 1fr;
        gap: 38px 30px;
    }

    .site-footer__about {
        grid-row: span 2;
    }
}


/* MOBILE */

@media (max-width: 767px) {

    .site-footer {
        padding-top: 42px;
    }

    .site-footer__grid {
        grid-template-columns: 1fr 1fr;
        gap: 35px 25px;
        padding-bottom: 38px;
    }

    .site-footer__about {
        grid-column: 1 / -1;
        grid-row: auto;
        padding-right: 0;
    }

    .site-footer__description {
        max-width: 400px;
    }

    .site-footer__bottom {
        padding: 20px 0;
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .site-footer__legal {
        width: 100%;
        justify-content: flex-start;
        gap: 8px 18px;
    }
}


@media (max-width: 480px) {

    .site-footer__grid {
        grid-template-columns: 1fr;
    }

    .site-footer__about {
        grid-column: auto;
    }
}
/* Delikatna jasna maska pod tekstem slidera */
.slide:has(.hero-mask-light) .slide-img::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;

    background: linear-gradient(
            90deg,
            rgba(255, 255, 255, .78) 0%,
            rgba(255, 255, 255, .60) 22%,
            rgba(255, 255, 255, .20) 43%,
            rgba(255, 255, 255, 0) 60%
    );

}

.slide:has(.hero-mask-light) .slide-img {
    position: absolute;
}

/* =========================================
   GALERIA PODSTRON – WEBPROM
   ========================================= */

.page-block--gallery .page-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    width: 100%;
    margin: 0 auto;
}

/* Pojedyncza miniatura */
.page-block--gallery .page-gallery-grid > a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    height: 230px;
    padding: 12px;
    overflow: hidden;
    border: 1px solid #e4eaf1;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 4px 18px rgba(15, 39, 70, 0.06);
    box-sizing: border-box;
    transition: transform .25s ease, box-shadow .25s ease;
}

/* Zdjęcia panelu CMS */
.page-block--gallery .page-gallery-grid > a > img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center;
    margin: 0;
}

/* Efekt po najechaniu */
.page-block--gallery .page-gallery-grid > a:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(15, 39, 70, 0.13);
}

/* Tablet */
@media (max-width: 991px) {
    .page-block--gallery .page-gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
    }

    .page-block--gallery .page-gallery-grid > a {
        height: 210px;
    }
}

/* Telefon */
@media (max-width: 575px) {
    .page-block--gallery .page-gallery-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .page-block--gallery .page-gallery-grid > a {
        height: 230px;
    }
}

/* =========================================
   PORTFOLIO – WARIANT BEZ CTA
   ========================================= */

.page-block__portfolio-wrap--full {
    display: block;
    width: 100%;
}

.page-block__portfolio-wrap--full .page-block__portfolio-main {
    width: 100%;
    max-width: none;
    min-width: 0;
    flex: none;
}

/* Siatka realizacji na pełną szerokość */
.page-block__portfolio-wrap--full .page-block__portfolio-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
    width: 100%;
}

/* Tablet */
@media (max-width: 991px) {
    .page-block__portfolio-wrap--full .page-block__portfolio-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 18px;
    }
}

/* Mniejszy tablet */
@media (max-width: 767px) {
    .page-block__portfolio-wrap--full .page-block__portfolio-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Telefon */
@media (max-width: 480px) {
    .page-block__portfolio-wrap--full .page-block__portfolio-grid {
        grid-template-columns: 1fr;
    }
}
