/* BetonBud: nadpisania motywu Bladix (tylko treść i poprawki mobilne). */

html, body { overflow-x: hidden; }
html { scroll-padding-top: 80px; scroll-behavior: smooth; }

/* Polskie nagłówki bez Title Case (wielkie litery zostają tam, gdzie motyw ich używa) */
h2, h3, h4,
.cta-content h2,
.cta-section-2 .cta-content h2,
.about-content h2,
.blog-post .blog-content h3,
.widget-content h3 { text-transform: none; }

/* Pełne logo; białe pole utrzymuje żółtą część znaku na żółtym menu. */
.header-section{height:auto}
.menu-wrap{padding:8px 0}
.bb-logo{display:inline-block;width:220px;max-width:100%;padding:4px 8px;background:#fff;border-radius:2px;line-height:0;vertical-align:middle}
.bb-logo img{display:block;width:100%;height:auto}
.bb-logo-footer{width:240px;padding:0;background:none;border-radius:0;margin-bottom:18px}
.widget-content .bb-logo-footer img{margin:0}

/* Górny pasek */
.top-header .top-right li.bb-top-tel a {
    background: none;
    width: auto;
    height: auto;
    line-height: 25px;
    font-size: 15px;
    font-weight: 700;
    color: #333;
    letter-spacing: 0;
}
.top-header .top-right li.bb-top-tel a:hover { color: #fab702; }
.top-header .top-left { width: 400px; }
.top-header .top-left li { white-space: nowrap; font-size: 16px; }
.top-header .top-left i { color: #fab702; margin-right: 10px; }
.bottom-header .bottom-right p a { color: #888; text-transform: none; }
.bottom-header .bottom-right p a:hover { color: #fab702; }

/* Kroki zamiast zdjęć opinii */
.testi-footer .bb-step {
    flex: 0 0 70px;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: #fab702;
    color: #fff;
    font-family: "Montserrat", sans-serif;
    font-weight: 800;
    font-size: 28px;
    text-transform: none;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Paski klas betonu w miejscu logotypów */
.sponsor-section .bb-badge {
    display: block;
    margin: 14px 0;
    padding: 14px 6px;
    text-align: center;
    border: 1px dashed #ddd;
    border-radius: 3px;
    font-family: "Montserrat", sans-serif;
    font-weight: 800;
    font-size: 18px;
    letter-spacing: 0;
    color: #333;
    background: #fafafa;
    white-space: nowrap;
}
.sponsor-section .bb-badge:hover { background: #fab702; border-color: #fab702; color: #fff; }

/* Tabela klas betonu */
.bb-lead { max-width: 760px; color: #666; margin-bottom: 30px; }
.bb-table-wrap { width: 100%; overflow-x: auto; }
.bb-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border: 1px dashed #ddd;
}
.bb-table th {
    background: #fab702;
    color: #fff;
    font-family: "Montserrat", sans-serif;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0;
    padding: 16px 20px;
    text-align: left;
}
.bb-table td {
    padding: 14px 20px;
    border-bottom: 1px dashed #ddd;
    font-size: 16px;
    color: #555;
}
.bb-table td:first-child {
    font-family: "Montserrat", sans-serif;
    font-weight: 800;
    color: #333;
    white-space: nowrap;
}
.bb-table td:last-child { color: #888; white-space: nowrap; }
.bb-table tbody tr:nth-child(even) td { background: #fafafa; }
.bb-table tbody tr:hover td { background: #fff6dc; }

/* Kontakt */
.bb-contact-info p { margin-bottom: 20px; }
.bb-contact-info ul { margin-bottom: 25px; }
.bb-contact-info ul li { font-size: 14px; color: #333; line-height: 1.5; padding: 8px 0; }
.bb-contact-info ul li i { color: #fab702; flex: 0 0 30px; }
.bb-contact-info ul li a { color: #333; }
.bb-contact-info ul li a:hover { color: #fab702; }

.bb-card {
    background: #fff;
    padding: 40px;
    border-radius: 5px;
    border-top: 4px solid #fab702;
    box-shadow: 0 16px 28px rgba(0, 0, 0, .08);
}
.bb-card h3 {
    font-size: 20px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -0.5px;
    margin-bottom: 25px;
}
.wf-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px 20px;
}
.wf { display: flex; flex-direction: column; min-width: 0; }
.wf-full { grid-column: 1 / -1; }
.wf-l {
    font-family: "Montserrat", sans-serif;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0;
    color: #333;
    margin-bottom: 7px;
}
.wf input,
.wf select,
.wf textarea {
    width: 100%;
    height: 50px;
    padding: 0 14px;
    border: 1px solid #ddd;
    border-radius: 3px;
    background: #fff;
    color: #333;
    font-family: "Roboto", sans-serif;
    font-size: 15px;
    line-height: 48px;
    box-shadow: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    transition: border-color .2s, box-shadow .2s;
}
.wf input[type="date"] { line-height: normal; }
.wf select {
    padding-right: 40px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23555' stroke-width='2'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    cursor: pointer;
}
.wf textarea {
    height: auto;
    min-height: 130px;
    padding: 12px 14px;
    line-height: 1.5;
    resize: vertical;
}
.wf input:focus,
.wf select:focus,
.wf textarea:focus {
    outline: none;
    border-color: #fab702;
    box-shadow: 0 0 0 3px rgba(250, 183, 2, .2);
}
.wf-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 2px 0 0;
    font-size: 14px;
    line-height: 1.5;
    color: #555;
    font-weight: 400;
    cursor: pointer;
}
.wf-check input {
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    margin: 2px 0 0;
    accent-color: #fab702;
}
.bb-submit {
    margin-top: 24px;
    min-width: 230px;
    cursor: pointer;
    font-size: 13px;
}
.bb-submit[disabled] { opacity: .7; cursor: wait; }
#wycena [data-status] { margin: 14px 0 0; font-weight: 600; font-size: 15px; min-height: 1.4em; }
#wycena [data-status][data-type="ok"] { color: #15803d; }
#wycena [data-status][data-type="error"] { color: #c0392b; }

/* Stopka */
.widget-content .social-icon li a { font-size: 18px; }
.widget-content .address li a { color: #777; }
.widget-content .address li a:hover { color: #fab702; }

/* Przycisk menu mobilnego w kolorach motywu */
.slicknav_btn {
    background-color: transparent;
    border: 2px solid rgba(255, 255, 255, .85);
    border-radius: 3px;
    padding: 9px 10px;
    margin: 4px 0 0;
    text-shadow: none;
}
.slicknav_menu .slicknav_icon { margin: 0; width: 22px; height: 16px; }
.slicknav_menu .slicknav_icon-bar { width: 22px; height: 2px; box-shadow: none; background-color: #fff; }
.slicknav_btn .slicknav_icon-bar + .slicknav_icon-bar { margin-top: 5px; }
.slicknav_btn.slicknav_open { background-color: #333; border-color: #333; }

@media (max-width: 1024px) {
    .slider-text h1 { line-height: 1.15; }
}

@media (max-width: 991px) {
    .bb-card { padding: 30px 24px; }
    .bb-contact-info { margin-bottom: 30px; }
}

@media (max-width: 767px) {
    /* Nagłówek: logo w jednej linii i schludny hamburger */
    .header-section { height: auto; }
    .menu-wrap { padding: 10px 0; }
    .site-branding { position: relative; min-height: 46px; display: flex; align-items: center; }
    .bb-logo-txt { font-size: 26px; }
    .bb-logo-mark { transform: scale(.9); transform-origin: left center; }
    .js .slicknav_menu { position: absolute; top: 0; right: 0; width: auto; padding: 0; }
    .slicknav_nav {
        position: absolute;
        top: 56px;
        right: -15px;
        width: calc(100vw);
        background: #fff;
        box-shadow: 0 14px 28px rgba(0, 0, 0, .18);
        border-top: 3px solid #333;
        z-index: 1000;
    }
    .slicknav_nav a,
    .slicknav_nav .slicknav_row {
        color: #333;
        font-family: "Montserrat", sans-serif;
        font-weight: 600;
        font-size: 14px;
        letter-spacing: 0;
        padding: 13px 20px;
        border-bottom: 1px solid #eee;
        text-transform: uppercase;
    }
    .slicknav_nav ul { margin: 0; }
    .slicknav_nav ul li a { padding-left: 34px; font-size: 13px; text-transform: none; }
    .slicknav_nav .slicknav_parent-link a { padding: 0; border: 0; }
    .slicknav_nav a:hover { color: #fab702; }
    .slicknav_nav .slicknav_arrow { color: #fab702; margin-left: 8px; }

    /* Hero: pełnoekranowe zdjęcie z czytelną nakładką */
    .nivo-main-image,
    .nivo-slice img,
    .nivo-box img {
        height: 460px !important;
        object-fit: cover;
        object-position: center;
    }
    .nivo-caption { background: rgba(20, 20, 20, .45); }
    .slider-text { padding: 0 6px; }
    .slider-text h1 { font-size: 26px; line-height: 1.15; margin-bottom: 6px; }
    .slider-text p {
        display: block !important;
        font-size: 15px;
        line-height: 1.5;
        margin: 12px 0 18px;
    }
    .slider-text .default-btn {
        display: block !important;
        width: 100%;
        max-width: 300px;
        margin: 0 auto 10px;
        font-size: 12px;
        line-height: 46px;
    }
    .nivo-controlNav { bottom: 12px; }
    .nivo-directionNav { display: none; }

    /* Treść */
    body, p { font-size: 15px; line-height: 24px; }
    .cta-section-2 .cta-content h2 { font-size: 18px; }
    .cta-section-2 .default-btn { display: block; text-align: center; font-size: 12px; line-height: 44px; }
    .about-content h2 { font-size: 22px; }
    .section-heading h2 { font-size: 22px; }
    .service-content h4 { font-size: 16px; }
    .service-content p { line-height: 22px; }
    .service-content a { font-size: 12px; }
    .project-filter li { font-size: 11px; margin: 0 4px 6px 0; }
    .cta-content h2 { font-size: 26px; }
    .cta-section .default-btn { display: block; text-align: center; }
    .cta-section .cta-content { background: rgba(17, 17, 17, .6); padding: 24px 20px; border-radius: 3px; }
    .cta-section .cta-content p { color: #fff; }
    .service-info { bottom: 0; }
    .blog-content p { font-size: 15px; }
    .bb-table th, .bb-table td { padding: 12px; font-size: 14px; }
    .bb-table th:nth-child(3), .bb-table td:nth-child(3) { display: none; }

    /* Formularz w jednej kolumnie */
    .wf-grid { grid-template-columns: 1fr; }
    .bb-submit { display: block; width: 100%; min-width: 0; }
    .bb-card { padding: 26px 18px; }
    .bb-contact-info .default-btn { display: block; text-align: center; }
    .footer-section .row { flex-direction: column; gap: 10px; }
    .footer-social { text-align: left; }
    .footer-social li a { margin: 0 20px 0 0; }

    /* Pływający przycisk "do góry" nie zasłania treści na telefonie */
    #scroll-to-top { display: none !important; }
}

/* Fotografie 2026: kontrast podpisów i spójne proporcje kart. */
.nivo-caption{background:linear-gradient(90deg,rgba(17,24,29,.55),rgba(17,24,29,.23) 68%,rgba(17,24,29,.08))}
.slider-text{max-width:880px;text-align:left}
.slider-text p{max-width:700px}
.slider-text h1,.slider-text p{text-shadow:0 2px 5px rgba(0,0,0,.55)}
.service-content > img,.blog-post > img{display:block;width:100%;height:auto;aspect-ratio:850/500;object-fit:cover}
.project-img > img{display:block;width:100%;height:auto;aspect-ratio:1024/683;object-fit:cover}
.counter-section{background-image:linear-gradient(rgba(13,22,28,.62),rgba(13,22,28,.62)),url(../img/counters-bg.jpg?v=20261002-final)}
.cta-section{background-image:linear-gradient(90deg,rgba(13,22,28,.62),rgba(13,22,28,.33) 65%,rgba(13,22,28,.1)),url(../img/cta-bg.jpg?v=20261002-final)}
.widget-section{background-image:none}
@media(max-width:767px){
 .bb-logo{max-width:calc(100% - 60px)}
 .bb-logo-footer{max-width:100%}
 .js .slicknav_menu{top:6px}
 .nivo-main-image,.nivo-slice img,.nivo-box img{object-position:68% center}
 .nivo-caption{background:rgba(17,24,29,.44)}
 .slider-text{text-align:center;max-width:none}
 .slider-text p{max-width:none}
}
@media(min-width:992px){.slider-text{max-width:680px}.slider-text h1{font-size:36px;line-height:1.18}}
