/* Betoniarnia Polska: nadpisania motywu Vektor (tylko treść, logo, formularz, poprawki mobilne) */
html,
body {
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6,
.vektor-mobile-menu ul li a {
    text-transform: none;
}

/* ---------- Logo tekstowe w stylu motywu ---------- */
.bp-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-family: "Archivo", sans-serif;
    font-weight: 800;
    font-size: 21px;
    line-height: 1;
    letter-spacing: -0.2px;
    white-space: nowrap;
    text-decoration: none;
}
.bp-logo:hover,
.bp-logo:focus {
    color: #fff;
}
.bp-logo b {
    font-weight: 400;
}
.bp-mark {
    display: inline-block;
    flex: 0 0 auto;
    width: 34px;
    height: 42px;
    background: url("../img/footer-logo.png") no-repeat 0 50% / auto 100%;
}
.bp-mark--loader {
    width: 56px;
    height: 70px;
}
.home-one-logo {
    padding: 0 22px;
}
.home-one-logo .bp-logo {
    font-size: 20px;
}
.vektor-menu-wrapper .mobile-logo .bp-logo,
.footer-widget .footer-logo .bp-logo,
nav.side-slide .off-canvas-logo .bp-logo {
    font-size: 23px;
}
.home-header-one-location {
    padding: 40px 30px;
}
.home-header-one-location a {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 18px;
}
.off-canvas-contact-info .info-list a {
    color: inherit;
}

/* ---------- Hero: czytelna nakładka ---------- */
.home-gero-one-slider {
    position: relative;
    background-position: center !important;
}
.home-gero-one-slider::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(20, 14, 12, 0.55) 0%, rgba(20, 14, 12, 0.25) 60%, rgba(20, 14, 12, 0.1) 100%);
    pointer-events: none;
}
.home-hero-content-box .home-one-slide-title {
    margin-bottom: 0;
}

/* ---------- FAQ (karty wpisów) ---------- */
.home-one-blog-item .author-deatils .bp-answer {
    margin-bottom: 26px;
    font-size: 15px;
    line-height: 25px;
}
.home-one-blog-item .author-deatils h5 {
    margin-bottom: 18px;
}

/* ---------- Kontakt ---------- */
.contact-item-content h6.bp-mail {
    font-size: 17px;
}
.contact-item-content h6 {
    line-height: 1.35;
    margin: 0;
}
.contact-item-content {
    padding-right: 20px;
    min-width: 0;
}
.contact-item-content h6 a {
    color: var(--title-color);
    overflow-wrap: anywhere;
}
#kontakt .appoinment-form-wrap {
    padding: 48px;
    box-shadow: 0 20px 50px rgba(26, 26, 26, 0.08);
    height: 100%;
}
#kontakt .appoinment-form-wrap .title {
    margin-bottom: 28px;
}
.bp-contact-img {
    position: relative;
    height: 100%;
    min-height: 460px;
}
.bp-contact-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    inset: 0;
}
.bp-contact-note {
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: 24px;
    background: var(--title-color);
    padding: 26px 28px;
    z-index: 1;
}
.bp-contact-note .contact-us {
    margin: 0 0 12px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.8px;
    color: var(--primary-color);
}
.bp-contact-note ul {
    margin: 0;
    padding: 0;
    list-style: none;
}
.bp-contact-note li {
    color: #fff;
    font-size: 15px;
    line-height: 24px;
    margin-bottom: 6px;
}
.bp-contact-note li:last-child {
    margin-bottom: 0;
}
.bp-contact-note li i {
    color: var(--primary-color);
    margin-right: 10px;
}

/* ---------- Formularz wyceny ---------- */
.bp-form .bp-field {
    margin-bottom: 20px;
}
.bp-form label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 700;
    line-height: 20px;
    color: var(--title-color);
}
.appoinment-form-wrap .bp-form input.form-control.style,
.appoinment-form-wrap .bp-form select.form-select.style,
.appoinment-form-wrap .bp-form textarea.form-control.style {
    width: 100%;
    height: 50px;
    padding: 0 16px;
    font-size: 15px;
    font-weight: 500;
    line-height: 48px;
    color: var(--title-color);
    background-color: var(--bg2-color);
    border: 1px solid #dcdcdc;
    border-radius: 4px;
    transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
}
.appoinment-form-wrap .bp-form select.form-select.style {
    padding-right: 42px;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23df5f41' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 14px 10px;
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
}
.appoinment-form-wrap .bp-form input[type="date"].form-control.style {
    line-height: normal;
}
.appoinment-form-wrap .bp-form textarea.form-control.style {
    height: auto;
    min-height: 130px;
    padding: 13px 16px;
    line-height: 24px;
    resize: vertical;
}
.appoinment-form-wrap .bp-form input.form-control.style::placeholder,
.appoinment-form-wrap .bp-form textarea.form-control.style::placeholder {
    font-size: 15px;
    color: #9a9c9e;
}
.appoinment-form-wrap .bp-form .form-control.style:focus,
.appoinment-form-wrap .bp-form .form-select.style:focus {
    background-color: #fff;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(223, 95, 65, 0.15) !important;
    outline: 0;
}
.bp-form .bp-consent {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 4px 0 24px;
    font-size: 14px;
    font-weight: 400;
    line-height: 22px;
    color: var(--content-color);
    cursor: pointer;
}
.bp-form .bp-consent input {
    flex: 0 0 auto;
    width: 20px;
    height: 20px;
    margin: 1px 0 0;
    accent-color: var(--primary-color);
    cursor: pointer;
}
.bp-form .bp-submit .button-one {
    border: 0;
    padding: 17px 36px;
    cursor: pointer;
}
.bp-form [data-status] {
    margin: 16px 0 0;
    font-size: 15px;
    font-weight: 600;
    line-height: 22px;
}
.bp-form [data-status]:empty {
    display: none;
}
.bp-form [data-status][data-type="ok"] {
    color: #1f7a3d;
}
.bp-form [data-status][data-type="error"] {
    color: #c0392b;
}

/* ---------- Stopka: CTA zamiast newslettera ---------- */
.newsletter .bp-news-mail {
    display: block;
    width: 90%;
    margin-bottom: 20px;
    padding: 14px 25px;
    border: 1px solid var(--button-two-color);
    color: var(--text-color);
    overflow-wrap: anywhere;
}
.newsletter .bp-news-mail:hover {
    color: var(--primary-color);
}
.newsletter .bp-news-call {
    display: inline-flex;
}

/* ---------- Tablet ---------- */
@media (max-width: 991px) {
    .bp-contact-img {
        margin-top: 30px;
        min-height: 380px;
    }
}

/* ---------- Telefon ---------- */
@media (max-width: 767px) {
    .to-top,
    #back-top {
        display: none !important;
    }
    .home-one-logo {
        padding: 0 16px;
    }
    .home-one-logo .bp-logo {
        font-size: 19px;
        gap: 8px;
    }
    .home-one-logo .bp-mark {
        width: 30px;
        height: 37px;
    }
    .vektor-menu-toggle {
        width: 64px;
        height: 72px;
        font-size: 24px;
    }
    .home-one-page .home-one-logo {
        height: 72px;
    }
    .home-one-slider .home-hero-content-box,
    .home-one-slider-wrapper .home-hero-content-box {
        padding: 120px 0 110px;
    }
    .home-hero-content-box .home-one-slide-title {
        font-size: 50px;
        line-height: 1;
    }
    .home-hero-content-box .home-one-description {
        width: 100%;
    }
    .home-hero-content-box .home-one-description .home-ome-text {
        padding: 40px 16px 18px;
        margin-top: -22px;
        margin-bottom: 28px;
    }
    .home-hero-content-box .home-one-description .home-ome-text p {
        font-size: 25px;
        line-height: 33px;
    }
    .home-gero-one-slider::before {
        background: rgba(20, 14, 12, 0.45);
    }
    #kontakt .appoinment-form-wrap {
        padding: 30px 20px;
    }
    #kontakt .appoinment-form-wrap .title {
        font-size: 26px;
        line-height: 34px;
    }
    .bp-form .bp-submit .button-one {
        width: 100%;
        justify-content: center;
    }
    .contact-item-icon {
        padding: 18px 20px;
    }
    .contact-item-icon svg {
        width: 40px;
        height: 40px;
    }
    .contact-item-content h6 {
        font-size: 19px;
    }
    .bp-contact-note {
        left: 16px;
        right: 16px;
        bottom: 16px;
        padding: 20px;
    }
}

/* ---------- Pasek górny nagłówka i karty kroków ---------- */
.home-one-menubar-area .header_top_left ul li,
.home-one-menubar-area .header_top_right ul li {
    white-space: nowrap;
}
.home-one-menubar-area .header_top_right ul li a i {
    color: var(--primary-color);
    margin-right: 4px;
}
.team-text {
    right: 30px;
}
.team-text .team-designation,
.team-text .team-name {
    opacity: 1;
}
.team-text .team-designation::before {
    width: 100%;
    background: var(--text-color);
}
.team-text .team-name::before {
    width: 100%;
}
.team-text .team-name {
    display: inline-block;
    line-height: 1.35;
    padding: 14px 20px;
}

/* Poprawki po przeglądzie mobilnym: równe zakładki klas betonu i mniejszy cytat */
@media (max-width: 767px) {
  .home-one-servie-tabs-wrap .nav-pills { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .home-one-servie-tabs-wrap .nav-pills .nav-item { width: 100%; margin: 0; }
  .home-one-servie-tabs-wrap .nav-pills .nav-link { width: 100%; height: 100%; margin: 0; padding: 14px 10px; font-size: 15px; line-height: 1.3; text-align: center; }
  .home-one-testi-area .home-one-testi-content .home-one-testi-title h2 { font-size: 26px; line-height: 1.35; }
}
