/* START:: Budowlany theme */
.hero {
    padding-top: calc(var(--wysokosc-naglowka-nawigacyjnego) + 56px);
}

.hero-lead {
    max-width: 720px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    max-width: 100%;
    transition: background 0.25s, color 0.25s, transform 0.25s, border-color 0.25s;
}

.button:hover {
    transform: translateY(-2px);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    width: max-content;
    max-width: 100%;
    box-sizing: border-box;
}

.service-card,
.process-card,
.contact-panel {
    box-sizing: border-box;
    width: 100%;
}

.service-card {
    transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}

.service-card > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.process-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.image-frame {
    position: relative;
    width: 100%;
    min-height: 360px;
    overflow: hidden;
}

.image-frame.compact {
    min-height: 260px;
}

.image-frame > img {
    width: 100%;
    height: 100%;
    min-height: inherit;
    object-fit: cover;
}

.image-frame::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 38%;
    background: linear-gradient(180deg, rgba(31, 37, 36, 0) 0%, rgba(31, 37, 36, 0.42) 100%);
}

.check-list {
    list-style-type: none;
}

.check-list > li {
    position: relative;
    padding-left: 30px;
    margin-top: 12px;
}

.check-list > li:first-child {
    margin-top: 0;
}

.check-list > li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.58em;
    width: 10px;
    height: 10px;
    background: var(--kolor-ostrzezenie);
    box-shadow: 6px 6px 0 var(--kolor-cegla);
}

.stat-strip {
    margin-top: calc(var(--bottom-impose-size, 0px) * -1);
    position: relative;
    z-index: 5;
}

.stat-box {
    box-sizing: border-box;
    width: 100%;
}

.stat-box strong {
    display: block;
}

.gallery-item {
    position: relative;
    width: 100%;
    min-height: 245px;
    margin: 0px;
    overflow: hidden;
}

.gallery-item > img {
    width: 100%;
    height: 100%;
    min-height: inherit;
    object-fit: cover;
    filter: saturate(0.88);
    transition: transform 0.4s, filter 0.4s;
}

.gallery-item:hover > img {
    transform: scale(1.04);
    filter: saturate(1.08);
}

.gallery-item > figcaption {
    position: absolute;
    right: 14px;
    bottom: 14px;
    left: 14px;
    box-sizing: border-box;
}

.contact-highlight {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: baseline;
    width: max-content;
    max-width: 100%;
    box-sizing: border-box;
    overflow-wrap: anywhere;
}

.form-status {
    display: none;
}

.form-status.visible {
    display: block;
}

@media (max-width: 1019.99px) {
    .hero {
        padding-top: calc(var(--wysokosc-naglowka-nawigacyjnego-mobilka) + 44px);
    }

    .image-frame {
        min-height: 310px;
    }
}

@media (max-width: 768px) {
    .hero {
        --row-gap: 24px !important;
        --col-gap: 20px !important;
        --bottom-impose-size: 36px !important;
        --bottom-impose-gap: 28px !important;
        padding-top: calc(var(--wysokosc-naglowka-nawigacyjnego-mobilka) + 34px);
    }

    .hero.fullheight {
        min-height: auto;
    }

    .image-frame,
    .image-frame.compact,
    .gallery-item {
        min-height: 230px;
    }

    .hero .image-frame {
        min-height: 190px;
    }

    body > footer {
        padding: 0 18px;
        box-sizing: border-box;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .hero {
        --row-gap: 18px !important;
        --bottom-impose-size: 28px !important;
        --bottom-impose-gap: 20px !important;
        padding-top: calc(var(--wysokosc-naglowka-nawigacyjnego-mobilka) + 24px);
    }

    .hero > .col.row:first-child {
        --row-gap: 16px !important;
    }

    .hero > .col:last-child {
        display: none;
    }

    .t-herotitle {
        font-size: 30px;
    }

    .t-herolead {
        font-size: 16px;
    }
}
/* END:: Budowlany theme */
