/* klussenbedrijfjarek.nl — static site overrides */

/* Kill Elementor page transition overlay — only fades out via JS on live site,
   on static mirror it stays fixed covering the viewport */
e-page-transition, .e-page-transition, .elementor-page-transition {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* Hide empty elementskit header/footer shell stubs */
.ekit-template-content-markup:empty { display: none; }


/* overflow-x: clip instead of hidden — hidden creates a scroll container that breaks position:sticky on descendants */
html, body { overflow-x: clip; }

/* Sticky header — Elementor Pro JS missing on static, emulate via CSS */
.elementor-location-header,
header.elementor-location-header,
[data-elementor-type="header"],
.elementor-section.elementor-section-stretched:first-of-type {
    position: sticky !important;
    top: 0;
    z-index: 9999;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,.08);
}

/* Equal-height cards (Stap 1/2/3 + testimonial columns) — force via grid */
.elementor-section .elementor-container {
    align-items: stretch !important;
}
.elementor-section .elementor-container > .elementor-column {
    display: flex !important;
    align-self: stretch !important;
    flex-direction: column;
}
.elementor-section .elementor-container > .elementor-column > .elementor-widget-wrap,
.elementor-section .elementor-container > .elementor-column > .elementor-column-wrap {
    flex: 1 1 auto !important;
    width: 100% !important;
    display: flex !important;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
}
/* Ensure inner widgets fill column height */
.elementor-section .elementor-container > .elementor-column > .elementor-widget-wrap > .elementor-widget {
    width: 100%;
}

/* Stap 1/2/3 cards — equal height on mobile */
@media (max-width: 767px) {
    .elementor-element-483ee249 > .elementor-container,
    .elementor-element-8e44c8f > .elementor-container {
        display: flex !important;
        flex-direction: column !important;
        gap: 16px;
    }
    .elementor-element-483ee249 > .elementor-container > .elementor-column,
    .elementor-element-8e44c8f > .elementor-container > .elementor-column {
        width: 100% !important;
        max-width: 100% !important;
        flex: none !important;
    }
    .elementor-element-483ee249 .elementor-widget-elementskit-icon-box,
    .elementor-element-483ee249 .ekit-wid-con,
    .elementor-element-483ee249 .elementskit-infobox {
        height: 100%;
        display: flex;
        flex-direction: column;
    }
    .elementor-element-483ee249 .elementskit-infobox .box-body { flex: 1 1 auto; }
}

/* Testimonial cards equal height */
.elementor-widget-wrap.elementor-element-populated {
    height: auto;
}
.elementor-widget-testimonial-carousel .swiper-slide,
.elementor-widget-testimonial .elementor-testimonial-wrapper {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Contact form full-width */
.wa-form, form.wa-form {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
    display: block;
}
.wa-form input[type=text], .wa-form textarea, .wa-form input[type=submit] {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
    padding: 12px 14px;
    font-size: 1rem;
    border: 1px solid #d0d7de;
    border-radius: 6px;
    font-family: inherit;
}
.wa-form textarea { min-height: 120px; resize: vertical; }
.wa-form input[type=submit] {
    background: #25D366;
    color: #fff;
    border: 0;
    cursor: pointer;
    font-weight: 600;
    padding: 14px 24px;
    transition: background .2s;
}
.wa-form input[type=submit]:hover { background: #1eaf54; }
.wa-form p { margin: 0 0 14px 0; }

/* AOS fallback — ensure animated blocks are visible even without AOS JS */
[data-aos] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
}

/* Footer cleanup — hide Useful Links + Newsletter columns (user decision 2026-04-20) */
/* High specificity to override generic .elementor-section .elementor-container > .elementor-column */
.elementor-section .elementor-container > .elementor-column.elementor-element-16607cf,
.elementor-section .elementor-container > .elementor-column.elementor-element-2bb27c8,
body .elementor-element-16607cf.elementor-element-16607cf,
body .elementor-element-2bb27c8.elementor-element-2bb27c8 {
    display: none !important;
    width: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
}
/* Rebalance footer — only 2 visible cols (logo/description + Diensten) */
.elementor-element-e7be2d3 > .elementor-container {
    justify-content: space-around;
    gap: 40px;
}
.elementor-element-e7be2d3 > .elementor-container > .elementor-column.elementor-element-e6a944f,
.elementor-element-e7be2d3 > .elementor-container > .elementor-column.elementor-element-95fbfd5 {
    width: 45% !important;
    max-width: 45% !important;
    flex: 0 1 45% !important;
}
@media (max-width: 767px) {
    .elementor-element-e7be2d3 > .elementor-container {
        flex-direction: column;
        gap: 24px;
    }
    .elementor-element-e7be2d3 > .elementor-container > .elementor-column.elementor-element-e6a944f,
    .elementor-element-e7be2d3 > .elementor-container > .elementor-column.elementor-element-95fbfd5 {
        width: 100% !important;
        max-width: 100% !important;
        flex: 1 1 100% !important;
    }
}

/* Hide Google Maps widget entirely (user decision 2026-04-20) */
.elementor-widget-google_maps {
    display: none !important;
}

/* --- FOOTER overhaul --- */

/* Footer section (b56a354) — compact */
.elementor-element-b56a354 {
    background: #0f1724 !important;
    padding: 22px 20px 18px !important;
    color: #cbd5e1;
}
.elementor-element-e7be2d3 > .elementor-container {
    align-items: center !important;
}
.elementor-element-b56a354 h2,
.elementor-element-b56a354 h3,
.elementor-element-b56a354 .elementor-heading-title {
    color: #fff !important;
    font-size: 1.15rem !important;
    font-weight: 700 !important;
    margin-bottom: 16px !important;
    letter-spacing: .02em;
}
.elementor-element-b56a354 p,
.elementor-element-b56a354 li,
.elementor-element-b56a354 .elementor-icon-list-text,
.elementor-element-b56a354 a {
    color: #cbd5e1 !important;
    font-size: 15px !important;
    line-height: 1.65;
}
.elementor-element-b56a354 a:hover {
    color: #fff !important;
}
.elementor-element-b56a354 ul.elementor-icon-list-items {
    padding: 0; margin: 0; list-style: none;
}
.elementor-element-b56a354 .elementor-icon-list-item {
    padding: 6px 0;
    border: 0 !important;
}

/* Footer logo — desktop compact */
.elementor-element-b56a354 .elementor-widget-image,
.elementor-element-23b99cf {
    max-width: 100px !important;
    margin: 0 auto 6px !important;
}
.elementor-element-23b99cf .elementor-widget-container,
.elementor-element-23b99cf a {
    display: block;
    width: 100%;
    text-align: center;
}
.elementor-element-23b99cf img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    max-height: 90px !important;
    aspect-ratio: 1 / 1 !important;
    object-fit: contain !important;
    opacity: 1 !important;
    margin: 0 auto;
    content: url("/logo-white.svg");
}
.elementor-element-e6a944f {
    align-items: center !important;
    text-align: center;
}
.elementor-element-e6a944f .elementor-widget-wrap {
    align-items: center !important;
    justify-content: flex-start !important;
}
.elementor-element-e6a944f .elementor-element-ba120f5 {
    text-align: center !important;
    max-width: 380px;
    margin: 0 auto;
}
.elementor-element-e6a944f .elementor-element-ba120f5 p {
    font-size: 13px !important;
    line-height: 1.5 !important;
    margin: 0 !important;
}
/* Tighten Diensten heading + list */
.elementor-element-b56a354 h2,
.elementor-element-b56a354 .elementor-heading-title {
    font-size: 0.95rem !important;
    margin-bottom: 6px !important;
}
.elementor-element-b56a354 .elementor-icon-list-item {
    padding: 1px 0 !important;
}
.elementor-element-b56a354 .elementor-icon-list-text {
    font-size: 13px !important;
    line-height: 1.45 !important;
}
.elementor-element-b56a354 .elementor-icon-list-items {
    margin: 0 !important;
}

/* Mobile footer — bigger logo, Diensten centered */
@media (max-width: 767px) {
    .elementor-element-b56a354 .elementor-widget-image,
    .elementor-element-23b99cf {
        max-width: 200px !important;
        margin: 0 auto 14px !important;
    }
    .elementor-element-23b99cf img {
        max-height: 180px !important;
    }
    /* Center Diensten column */
    .elementor-element-95fbfd5 {
        text-align: center !important;
        align-items: center !important;
    }
    .elementor-element-95fbfd5 .elementor-widget-wrap {
        align-items: center !important;
    }
    .elementor-element-95fbfd5 .elementor-widget {
        width: 100% !important;
        text-align: center !important;
    }
    .elementor-element-95fbfd5 .elementor-heading-title,
    .elementor-element-95fbfd5 h2 {
        text-align: center !important;
    }
    .elementor-element-95fbfd5 .elementor-icon-list-items {
        display: inline-block;
        text-align: center;
    }
    .elementor-element-95fbfd5 .elementor-icon-list-item {
        justify-content: center !important;
        text-align: center !important;
    }
}

/* RESTORE Elementor responsive hidden classes (my stretch rule was overriding them) */
@media (max-width: 767px) {
    .elementor-hidden-mobile,
    .elementor-element.elementor-hidden-mobile,
    .elementor-column.elementor-hidden-mobile,
    section.elementor-hidden-mobile {
        display: none !important;
    }
}
@media (min-width: 768px) and (max-width: 1024px) {
    .elementor-hidden-tablet,
    .elementor-element.elementor-hidden-tablet,
    .elementor-column.elementor-hidden-tablet,
    section.elementor-hidden-tablet {
        display: none !important;
    }
}
@media (min-width: 1025px) {
    .elementor-hidden-desktop,
    .elementor-element.elementor-hidden-desktop,
    .elementor-column.elementor-hidden-desktop,
    section.elementor-hidden-desktop {
        display: none !important;
    }
}
/* Exception: footer columns we EXPLICITLY want to show despite the hidden-* flags */
.elementor-column.elementor-element-e6a944f,
.elementor-column.elementor-element-95fbfd5 {
    display: flex !important;
}

/* Global max-width cap for ultrawide (34"+ 3440px) — content stays centered, readable */
@media (min-width: 1600px) {
    .elementor-section > .elementor-container,
    .elementor-section.elementor-section-boxed > .elementor-container,
    .elementor-inner-section > .elementor-container,
    section.elementor-section > .elementor-container {
        max-width: 1500px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
    /* Full-width/stretched sections — background goes edge-to-edge but content centers */
    .elementor-section-stretched > .elementor-container,
    .elementor-section-full_width > .elementor-container {
        max-width: 1500px !important;
    }
    .elementor-element-7988d58 {
        max-width: 1500px !important;
        margin: 0 auto !important;
    }
}

/* DESKTOP header — balanced layout: [logo] — [phone] [email] ——— [lang] */
@media (min-width: 768px) {
    /* Main header row — distribute logo left, contacts center-right, leaving room for lang right */
    .elementor-element-7988d58 {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 24px !important;
        padding: 16px 120px 16px 40px !important; /* right padding = lang switcher room */
        max-width: 1500px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
    .elementor-element-ace76d9 img,
    .elementor-element-6aef1a7 img {
        max-height: 110px !important;
        height: auto !important;
        width: auto !important;
        max-width: 280px !important;
    }
    .elementor-element-ace76d9,
    .elementor-element-6aef1a7,
    .elementor-element-ace76d9 .elementor-widget-container,
    .elementor-element-6aef1a7 .elementor-widget-container {
        max-width: 280px !important;
    }
    .elementor-column.elementor-element-cd259b8 {
        flex: 0 0 auto !important;
        max-width: 280px !important;
        padding: 0 !important;
    }
    /* Contact blocks grouped close together on right (NL + PL) */
    .elementor-element-7625a23,
    .elementor-element-7e35587,
    .elementor-element-2363a61,
    .elementor-element-b7977e3 {
        flex: 0 0 auto !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    /* Spacer between phone and email */
    .elementor-element-7625a23 + .elementor-element-7e35587,
    .elementor-element-2363a61 + .elementor-element-b7977e3 {
        margin-left: 24px !important;
    }
    /* Hide the side-by-side flag columns on desktop — replaced by kb-lang dropdown top-right */
    .elementor-element-cb8a072,
    .elementor-element-d903b8d,
    .elementor-element-83b0c18,
    .elementor-element-ef054e6 {
        display: none !important;
    }
    /* Phone + email icon-box — bigger, bolder text proportional to the larger logo */
    .elementor-element-cbd9e05 .elementor-icon-box-title,
    .elementor-element-8208748 .elementor-icon-box-title,
    .elementor-widget-icon-box .elementor-icon-box-title {
        font-size: 18px !important;
        font-weight: 600 !important;
        margin-bottom: 4px !important;
    }
    .elementor-element-cbd9e05 .elementor-icon-box-description,
    .elementor-element-8208748 .elementor-icon-box-description,
    body .elementor-element-686d374 .elementor-icon-box-description,
    .elementor-widget-icon-box .elementor-icon-box-description,
    .elementor-element-cbd9e05 .elementor-icon-box-description a,
    .elementor-element-8208748 .elementor-icon-box-description,
    body .elementor-element-686d374 .elementor-icon-box-description a {
        font-size: 20px !important;
        font-weight: 700 !important;
        line-height: 1.2 !important;
        letter-spacing: .01em;
    }
    .elementor-element-cbd9e05 .elementor-icon,
    .elementor-element-8208748 .elementor-icon,
    .elementor-widget-icon-box .elementor-icon {
        font-size: 28px !important;
    }
    .elementor-element-cbd9e05 .elementor-icon svg,
    .elementor-element-8208748 .elementor-icon svg,
    .elementor-widget-icon-box .elementor-icon svg {
        width: 32px !important;
        height: 32px !important;
    }
}

/* MOBILE header — left-aligned logo, right flag+burger, all in one line */
@media (max-width: 767px) {
    .elementor-element-2de777c,
    .elementor-element-54616c4 {
        padding: 6px 70px 6px 12px !important; /* right padding clears fixed flag+burger */
        min-height: 0 !important;
    }
    .elementor-element-7988d58 {
        padding: 0 !important;
        min-height: 0 !important;
        justify-content: flex-start !important;
    }
    .elementor-element-2de777c > .elementor-container,
    .elementor-element-7988d58 > .elementor-widget-wrap {
        padding: 0 !important;
        min-height: 0 !important;
    }
    .elementor-column.elementor-element-cd259b8 {
        padding: 0 !important;
        width: auto !important;
        max-width: 180px !important;
        flex: 0 0 auto !important;
        justify-content: flex-start !important;
        align-items: center !important;
    }
    /* Bigger icon logo on mobile, left-aligned */
    .elementor-element-ace76d9 img,
    .elementor-element-6aef1a7 img {
        content: url("/icon.svg") !important;
        max-height: 42px !important;
        width: 42px !important;
        max-width: 42px !important;
        height: 42px !important;
        aspect-ratio: 1 / 1;
        object-fit: contain;
    }
    .elementor-element-ace76d9,
    .elementor-element-ace76d9 .elementor-widget-container,
    .elementor-element-6aef1a7,
    .elementor-element-6aef1a7 .elementor-widget-container {
        padding: 0 !important;
        margin: 0 !important;
        text-align: left !important;
    }
    .elementor-element-ace76d9 a,
    .elementor-element-6aef1a7 a {
        display: inline-block;
        line-height: 0;
    }
    /* Hide in-header flag widgets on mobile — replaced by fixed top-right single flag */
    .elementor-element-cb8a072,
    .elementor-element-d903b8d,
    .elementor-element-83b0c18,
    .elementor-element-ef054e6 {
        display: none !important;
    }
}

/* === Custom mobile controls (hamburger + text lang switch) === */
.kb-mobile-ctrl {
    display: flex;
    position: fixed;
    top: 32px;
    right: 32px;
    z-index: 10001;
    gap: 12px;
    align-items: center;
}
@media (max-width: 767px) {
    .kb-mobile-ctrl {
        top: 10px;
        right: 12px;
        gap: 10px;
    }
}
/* On desktop, hide hamburger (no need — anchors visible, and sections stacked) */
@media (min-width: 768px) {
    .kb-burger { display: none !important; }
    .kb-drawer, .kb-backdrop { display: none !important; }
}
/* Language dropdown: current flag visible, click reveals other */
.kb-lang {
    position: relative;
    display: inline-flex;
    align-items: center;
}
.kb-lang-current {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 22px;
    padding: 0;
    border: 1px solid rgba(6,50,86,.3);
    border-radius: 3px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,.15);
    cursor: pointer;
    transition: transform .15s, border-color .15s;
}
.kb-lang-current::after {
    content: "▾";
    position: absolute;
    right: -10px;
    color: #063256;
    font-size: 9px;
    font-weight: 700;
    pointer-events: none;
}
.kb-lang-current:hover { border-color: #063256; }
.kb-lang-current svg { width: 100%; height: 100%; display: block; }

.kb-lang-list {
    position: absolute;
    top: 100%;
    right: 0;
    margin: 6px 0 0 0;
    padding: 4px;
    list-style: none;
    background: #fff;
    border: 1px solid #063256;
    border-radius: 6px;
    box-shadow: 0 6px 18px rgba(0,0,0,.15);
    display: none;
    min-width: 130px;
}
.kb-lang.open .kb-lang-list { display: block; }
.kb-lang.open .kb-lang-current { border-color: #063256; }
.kb-lang-list li { margin: 0; padding: 0; }
.kb-lang-list a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    text-decoration: none;
    color: #063256;
    font-size: 14px;
    font-weight: 500;
    border-radius: 4px;
}
.kb-lang-list a:hover { background: #f3f4f6; }
.kb-lang-list a svg {
    width: 22px;
    height: 16px;
    border-radius: 2px;
    border: 1px solid rgba(0,0,0,.1);
    flex-shrink: 0;
}

.kb-burger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px; height: 34px;
    padding: 0;
    border: 0 !important;
    background: transparent !important;
    background-image: none !important;
    background-color: transparent !important;
    box-shadow: none !important;
    cursor: pointer;
}
.kb-burger span {
    display: block;
    width: 20px; height: 2px;
    background: #063256;
    position: relative;
    border-radius: 2px;
}
.kb-burger span::before,
.kb-burger span::after {
    content: "";
    position: absolute;
    left: 0; right: 0;
    height: 2px;
    background: #063256;
    border-radius: 2px;
}
.kb-burger span::before { top: -6px; }
.kb-burger span::after  { top: 6px; }

/* Drawer */
.kb-drawer {
    position: fixed;
    top: 0; right: 0;
    width: 78vw; max-width: 320px;
    height: 100vh;
    background: #fff;
    box-shadow: -6px 0 20px rgba(0,0,0,.18);
    transform: translateX(100%);
    transition: transform .28s ease;
    z-index: 10002;
    padding: 60px 20px 24px;
    overflow-y: auto;
}
.kb-drawer.open { transform: translateX(0); }
.kb-drawer a {
    display: block;
    padding: 14px 4px;
    border-bottom: 1px solid #e5e7eb;
    color: #063256;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
}
.kb-drawer a:hover { color: #3977bc; }
.kb-drawer-close {
    position: absolute;
    top: 12px; right: 12px;
    width: 36px; height: 36px;
    border: 0;
    background: transparent;
    font-size: 28px;
    cursor: pointer;
    line-height: 1;
    color: #063256;
}
.kb-drawer-contact {
    margin-top: 24px;
    padding-top: 16px;
    border-top: 2px solid #063256;
}
.kb-drawer-contact a {
    border: 0;
    padding: 8px 0;
    font-size: 15px;
    font-weight: 500;
    color: #3977bc;
}
.kb-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.4);
    z-index: 10001;
    display: none;
}
.kb-backdrop.open { display: block; }
@media (max-width: 767px) {
    .elementor-element-b56a354 { padding: 40px 16px 24px !important; }
    .elementor-element-23b99cf, .elementor-element-b56a354 .elementor-widget-image {
        max-width: 140px !important;
        margin: 0 auto 16px !important;
    }
    .elementor-element-b56a354 {
        text-align: left;
    }
}

/* Bottom copyright bar (section 2ce53d3 or similar) */
.elementor-element-2ce53d3 {
    background: #0a1120 !important;
    padding: 18px 20px !important;
    border-top: 1px solid rgba(255,255,255,.06);
}
.elementor-element-2ce53d3 h2,
.elementor-element-2ce53d3 .elementor-heading-title,
.elementor-element-2ce53d3 p,
.elementor-element-2ce53d3 a,
.elementor-element-2ce53d3 li,
.elementor-element-2ce53d3 .elementor-icon-list-text {
    color: #94a3b8 !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    margin: 0 !important;
}
.elementor-element-2ce53d3 .elementor-heading-title {
    font-size: 13px !important;
}

/* Contact section above footer (a261632) — cleaner */
.elementor-element-a261632 {
    background: #1e3a5f !important;
    padding: 28px 20px !important;
}
.elementor-element-a261632 h2, .elementor-element-a261632 .elementor-heading-title {
    color: #fff !important;
    margin: 0 !important;
}

/* Screen-reader only helper (for H1 keyword prefix) */
.sr-only {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

/* Hero buttons Meer / Onze diensten — proper spacing */
.elementor-element-6a06ed5e,
.elementor-element-5e532a97,
.elementor-element-6a06ed5e + .elementor-element,
.elementor-widget.elementor-widget-button + .elementor-widget.elementor-widget-button {
    margin-right: 12px;
    margin-top: 8px;
}
.elementor-widget-button .elementor-button {
    padding: 12px 28px !important;
    font-weight: 600;
}

/* Equal stap cards on DESKTOP (grid 3 cols) — mobile is handled separately */
@media (min-width: 768px) {
    .elementor-element-483ee249 > .elementor-container,
    .elementor-element-8e44c8f > .elementor-container {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        grid-auto-rows: 1fr !important;
        gap: 20px;
    }
    .elementor-element-483ee249 > .elementor-container > .elementor-column,
    .elementor-element-8e44c8f > .elementor-container > .elementor-column {
        width: 100% !important; max-width: 100% !important; flex: none !important;
    }
}
.elementor-element-483ee249 .elementor-widget-elementskit-icon-box,
.elementor-element-483ee249 .ekit-wid-con,
.elementor-element-483ee249 .elementskit-infobox {
    height: 100%; display: flex; flex-direction: column;
}
.elementor-element-483ee249 .elementskit-infobox .box-body { flex: 1 1 auto; }

/* Prevent section horizontal overflow on mobile */
@media (max-width: 767px) {
    .elementor-section, .elementor-container, .e-con, section, .elementor-column {
        max-width: 100% !important;
        overflow-x: clip;
        box-sizing: border-box;
    }
    .elementor-section { padding-left: 12px !important; padding-right: 12px !important; }
    .elementor-background-overlay { max-width: 100%; }
}

/* Mobile header — compact + lang switcher as dropdown (current flag + toggle) */
@media (max-width: 767px) {
    /* Hide phone/email icon-boxes in header on mobile — they have elementor-hidden-mobile already */

    /* Lang switcher: show only current (NL on root, PL on /pl/), click to reveal other */
    .elementor-element-cb8a072,
    .elementor-element-d903b8d {
        position: relative;
        flex: 0 0 34px !important;
        width: 34px !important;
    }
    /* Stack the two flag containers on top of each other, PL hidden by default */
    .elementor-element-7988d58 {
        position: relative;
    }
    /* Current-page indicator: on root the NL (cb8a072) is active; on /pl/ the PL (d903b8d) is active.
       We show the active one always; the non-active is dropdown. */
    html:not([data-page="pl"]) .elementor-element-d903b8d {
        position: absolute;
        top: 100%;
        right: 0;
        background: #fff;
        padding: 6px !important;
        border-radius: 6px;
        box-shadow: 0 4px 12px rgba(0,0,0,.15);
        z-index: 10000;
        display: none;
    }
    html[data-page="pl"] .elementor-element-cb8a072 {
        position: absolute;
        top: 100%;
        right: 0;
        background: #fff;
        padding: 6px !important;
        border-radius: 6px;
        box-shadow: 0 4px 12px rgba(0,0,0,.15);
        z-index: 10000;
        display: none;
    }
    html.lang-open:not([data-page="pl"]) .elementor-element-d903b8d,
    html[data-page="pl"].lang-open .elementor-element-cb8a072 {
        display: block;
    }
    /* Slightly bigger tap target for flags */
    .elementor-element-cb8a072 img,
    .elementor-element-d903b8d img {
        width: 30px !important; height: 22px !important;
        cursor: pointer;
    }
}

/* Footer readability on desktop — scale text up */
footer, .elementor-location-footer, [data-elementor-type="footer"],
body > footer {
    font-size: 16px;
}
footer p, footer li, footer .elementor-icon-list-text,
body > footer p, body > footer li {
    font-size: 15px !important;
    line-height: 1.6;
}
footer img.logo, footer .footer-logo img, footer .elementor-widget-image img {
    max-width: 240px !important;
    width: auto;
    height: auto;
}
@media (max-width: 767px) {
    footer, body > footer {
        display: block !important;
    }
    footer .elementor-container, body > footer .elementor-container {
        display: flex !important;
        flex-direction: column;
        gap: 18px;
    }
    footer .elementor-widget-image img, body > footer .elementor-widget-image img {
        max-width: 180px !important;
        margin: 0 auto;
    }
}

/* Hide skip-link — was visible in screenshot */
.skip-link.screen-reader-text {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}
.skip-link.screen-reader-text:focus {
    position: static;
    width: auto;
    height: auto;
}

/* Language switcher flags — consistent sizing + hover */
a img[alt*="vlag"], a img[alt*="Flaga"] {
    max-height: 28px;
    width: auto;
    transition: opacity .2s;
}
a:hover img[alt*="vlag"], a:hover img[alt*="Flaga"] { opacity: .75; }

/* Make sure images don't overflow */
img { max-width: 100%; height: auto; }


/* ============================================================
   HEADER REWRITE 2026-04-21 — clean responsive header
   Supersedes earlier header rules for NL (2de777c/7988d58/cd259b8/...)
   and PL (54616c4/faebded/f726dc5/...)
   ============================================================ */

/* Make top section positioning anchor for absolute kb-mobile-ctrl */
body .elementor-element-2de777c,
body .elementor-element-54616c4 {
    position: relative !important;
    background: #ffffff !important;
    padding: 0 !important;
    min-height: 0 !important;
}

/* Sticky: higher z-index and clean shadow, flat white */
body .elementor-element-2de777c,
body .elementor-element-54616c4 {
    box-shadow: 0 1px 0 rgba(15,23,36,.06), 0 4px 14px rgba(15,23,36,.04);
}

/* Flex row — both languages */
body .elementor-element-7988d58,
body .elementor-element-faebded {
    position: relative !important;  /* anchor for kb-mobile-ctrl */
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 20px !important;
    max-width: 1400px !important;
    margin: 0 auto !important;
    padding: 6px 110px 6px 28px !important;  /* right padding clears absolute kb-mobile-ctrl */
    min-height: 0 !important;
}

/* ---- Logo column ---- */
body .elementor-column.elementor-element-cd259b8,
body .elementor-column.elementor-element-f726dc5 {
    flex: 0 0 auto !important;
    max-width: 260px !important;
    padding: 0 !important;
    margin: 0 !important;
    justify-content: flex-start !important;
    align-items: center !important;
}
body .elementor-element-ace76d9,
body .elementor-element-6aef1a7,
body .elementor-element-ace76d9 .elementor-widget-container,
body .elementor-element-6aef1a7 .elementor-widget-container {
    max-width: 260px !important;
    padding: 0 !important;
    margin: 0 !important;
    text-align: left !important;
}
body .elementor-element-ace76d9 img,
body .elementor-element-6aef1a7 img {
    max-height: 72px !important;
    height: auto !important;
    width: auto !important;
    max-width: 220px !important;
    display: block !important;
}

/* ---- Phone & email icon-boxes (desktop + tablet) ---- */
body .elementor-element-7625a23,
body .elementor-element-7e35587,
body .elementor-element-2363a61,
body .elementor-element-b7977e3 {
    flex: 0 0 auto !important;
    margin: 0 !important;
    padding: 0 !important;
}
body .elementor-element-cbd9e05 .elementor-icon-box-wrapper,
body .elementor-element-8208748 .elementor-icon-box-wrapper,
body .elementor-element-f35d659 .elementor-icon-box-wrapper,
body .elementor-element-686d374 .elementor-icon-box-wrapper {
    display: flex !important;
    align-items: center !important;
    gap: 12px;
}
body .elementor-widget-icon-box .elementor-icon-box-title {
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #5b6776 !important;
    margin: 0 0 2px !important;
    line-height: 1.2;
}
body .elementor-widget-icon-box .elementor-icon-box-description,
body .elementor-widget-icon-box .elementor-icon-box-description a {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #063256 !important;
    line-height: 1.2 !important;
    letter-spacing: 0 !important;
    white-space: nowrap !important;  /* no more 06-\n82854847 break */
}
body .elementor-widget-icon-box .elementor-icon {
    font-size: 24px !important;
}
body .elementor-widget-icon-box .elementor-icon svg {
    width: 26px !important;
    height: 26px !important;
    fill: #3977bc !important;
}
body .elementor-widget-icon-box .elementor-icon a svg path {
    fill: #3977bc !important;
}

/* Hide the inline flag image widgets completely — lang switcher is kb-mobile-ctrl */
body .elementor-element-cb8a072,
body .elementor-element-d903b8d,
body .elementor-element-83b0c18,
body .elementor-element-ef054e6 {
    display: none !important;
}

/* ---- kb-mobile-ctrl — anchored to header section, not viewport ---- */
body .kb-mobile-ctrl {
    position: absolute !important;
    top: 50% !important;
    right: 24px !important;
    transform: translateY(-50%) !important;
    z-index: 20 !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
}

/* Language dropdown — consistent with header */
body .kb-lang-current {
    width: 36px;
    height: 26px;
    border-radius: 4px;
    border: 1px solid #d8dde4;
    box-shadow: 0 1px 2px rgba(15,23,36,.08);
}
body .kb-lang-current::after {
    right: -12px;
    font-size: 10px;
    color: #5b6776;
}
body .kb-lang-list {
    min-width: 160px;
    padding: 6px;
    margin-top: 8px;
    border-color: #d8dde4;
    border-radius: 8px;
}
body .kb-lang-list a {
    padding: 10px 12px;
    font-size: 15px;
}

/* ---- TABLET (768 - 1024) ---- */
@media (min-width: 768px) and (max-width: 1024px) {
    body .elementor-element-7988d58,
    body .elementor-element-faebded {
        gap: 14px !important;
        padding: 10px 72px 10px 20px !important;
    }
    body .elementor-element-ace76d9 img,
    body .elementor-element-6aef1a7 img {
        max-height: 64px !important;
        max-width: 180px !important;
    }
    body .elementor-column.elementor-element-cd259b8,
    body .elementor-column.elementor-element-f726dc5 {
        max-width: 180px !important;
    }
    body .elementor-widget-icon-box .elementor-icon-box-title {
        font-size: 12px !important;
        margin: 0 0 1px !important;
    }
    body .elementor-widget-icon-box .elementor-icon-box-description,
    body .elementor-widget-icon-box .elementor-icon-box-description a {
        font-size: 15px !important;
    }
    body .elementor-widget-icon-box .elementor-icon svg {
        width: 20px !important;
        height: 20px !important;
    }
    body .elementor-element-cbd9e05 .elementor-icon-box-wrapper,
    body .elementor-element-8208748 .elementor-icon-box-wrapper,
    body .elementor-element-f35d659 .elementor-icon-box-wrapper,
    body .elementor-element-686d374 .elementor-icon-box-wrapper {
        gap: 8px;
    }
    body .kb-mobile-ctrl { right: 18px !important; gap: 10px !important; }
}

/* ---- MOBILE (<768) ---- */
@media (max-width: 767px) {
    body .elementor-element-2de777c,
    body .elementor-element-54616c4 {
        border-bottom: 1px solid rgba(15,23,36,.06);
    }
    body .elementor-element-7988d58,
    body .elementor-element-faebded {
        padding: 8px 96px 8px 14px !important;  /* right-side clearance for flag+burger */
        gap: 10px !important;
    }
    body .elementor-column.elementor-element-cd259b8,
    body .elementor-column.elementor-element-f726dc5 {
        max-width: none !important;
        width: auto !important;
        flex: 1 1 auto !important;
    }
    /* Swap logo for compact icon on mobile */
    body .elementor-element-ace76d9 img,
    body .elementor-element-6aef1a7 img {
        content: url("/icon.svg") !important;
        max-height: 42px !important;
        width: 42px !important;
        height: 42px !important;
        max-width: 42px !important;
        object-fit: contain;
    }
    /* Brand text next to icon */
    body .elementor-element-ace76d9::after,
    body .elementor-element-6aef1a7::after {
        content: "Klussenbedrijf Jarek";
        display: inline-block;
        vertical-align: middle;
        margin-left: 10px;
        font-family: Manrope, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
        font-weight: 700;
        font-size: 16px;
        color: #063256;
        letter-spacing: .01em;
        line-height: 1.1;
        white-space: nowrap;
    }
    body .elementor-element-ace76d9,
    body .elementor-element-6aef1a7 {
        display: flex !important;
        align-items: center !important;
    }
    body .elementor-element-ace76d9 .elementor-widget-container,
    body .elementor-element-6aef1a7 .elementor-widget-container {
        display: inline-block;
    }
    /* Phone/email already hidden via elementor-hidden-mobile — keep */
    body .kb-mobile-ctrl {
        right: 12px !important;
        gap: 10px !important;
    }
    body .kb-burger {
        width: 38px; height: 38px;
    }
    body .kb-burger span,
    body .kb-burger span::before,
    body .kb-burger span::after {
        background: #063256;
        width: 22px;
    }
    /* Hide kb-mobile-ctrl when drawer is open (avoid overlap with close btn) */
    body.kb-drawer-open .kb-mobile-ctrl {
        opacity: 0;
        pointer-events: none;
        transition: opacity .15s;
    }
}

/* Very narrow (<380px) — drop brand text if it doesn't fit */
@media (max-width: 379px) {
    body .elementor-element-ace76d9::after,
    body .elementor-element-6aef1a7::after {
        font-size: 14px;
    }
}
@media (max-width: 339px) {
    body .elementor-element-ace76d9::after,
    body .elementor-element-6aef1a7::after {
        display: none;
    }
}

/* Bigger hit area for lang button */
body .kb-lang-current { cursor: pointer; }

/* Drawer close button — avoid overlap with potential kb-mobile-ctrl */
body .kb-drawer-close {
    top: 14px; right: 14px;
    width: 40px; height: 40px;
    font-size: 30px;
    color: #063256;
    z-index: 2;
}

/* Ultra wide: cap header row width */
@media (min-width: 1600px) {
    body .elementor-element-7988d58,
    body .elementor-element-faebded {
        max-width: 1500px !important;
    }
}


/* Footer logo bigger on desktop (2026-04-21) */
@media (min-width: 768px) {
    body .elementor-element-b56a354 .elementor-widget-image,
    body .elementor-element-23b99cf {
        max-width: 180px !important;
        margin: 0 auto 12px !important;
    }
    body .elementor-element-23b99cf img {
        max-height: 170px !important;
    }
    body footer .elementor-widget-image img,
    body > footer .elementor-widget-image img {
        max-width: 200px !important;
    }
}



/* Footer rebuild 2026-04-21 — compact, clean two-column layout */
body .elementor-element-b56a354 {
    padding: 48px 20px 24px !important;
    margin: 0 !important;
}
body .elementor-element-b56a354 > .elementor-container {
    max-width: 1140px !important;
}
body .elementor-element-b56a354 .elementor-widget-wrap {
    padding: 0 !important;
}
body .elementor-element-b56a354 .elementor-element-e7be2d3 {
    margin-bottom: 24px !important;
}
body .elementor-element-b56a354 .elementor-element-e7be2d3 > .elementor-container {
    gap: 40px;
    align-items: flex-start !important;
}
body .elementor-element-b56a354 .elementor-element-e6a944f,
body .elementor-element-b56a354 .elementor-element-95fbfd5 {
    display: block !important;
}
body .elementor-element-b56a354 .elementor-widget:not(:last-child) {
    margin-bottom: 12px !important;
}
body .elementor-element-b56a354 .elementor-element-23b99cf img {
    max-width: 180px !important;
    height: auto !important;
}
body .elementor-element-b56a354 .elementor-element-ba120f5 p {
    margin: 0 !important;
    line-height: 1.55;
}
body .elementor-element-b56a354 .elementor-heading-title {
    margin: 0 0 10px !important;
    font-size: 18px;
    color: #fff;
}
body .elementor-element-b56a354 .elementor-icon-list-items {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none;
}
body .elementor-element-b56a354 .elementor-icon-list-item {
    padding: 3px 0 !important;
    margin: 0 !important;
}
body .elementor-element-b56a354 .elementor-icon-list-item a {
    display: inline-block;
    color: inherit;
    opacity: .85;
    transition: opacity .15s;
}
body .elementor-element-b56a354 .elementor-icon-list-item a:hover {
    opacity: 1;
}
.kbj-footer-copy {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid rgba(255,255,255,.1);
    font-size: 13px;
    opacity: .65;
    text-align: center;
}
@media (max-width: 768px) {
    body .elementor-element-b56a354 {
        padding: 32px 20px 20px !important;
    }
    body .elementor-element-b56a354 .elementor-element-e7be2d3 > .elementor-container {
        flex-direction: column;
        gap: 28px;
    }
}

/* === 2026-04-21 UI polish pass === */

/* Ukrywamy wszystkie elementor-background-overlay OPRÓCZ hero i CTA gdzie są potrzebne */
.elementor-background-overlay {
    display: none !important;
}
/* Hero (NL: 1be4493 / PL: 17bc8fdc) — overlay dla czytelności tekstu */
.elementor-element-1be4493 > .elementor-background-overlay,
.elementor-element-17bc8fdc > .elementor-background-overlay {
    display: block !important;
    position: absolute !important;
    inset: 0 !important;
    background: linear-gradient(135deg, rgba(10, 23, 36, 0.75) 0%, rgba(20, 90, 119, 0.6) 100%) !important;
    pointer-events: none;
    z-index: 1;
}
.elementor-element-1be4493,
.elementor-element-17bc8fdc {
    position: relative !important;
}
.elementor-element-1be4493 > .elementor-container,
.elementor-element-17bc8fdc > .elementor-container {
    position: relative !important;
    z-index: 2;
}
/* Dodatkowy text-shadow dla tekstu hero — wzmocnienie czytelności */
.elementor-element-1be4493 .elementor-heading-title,
.elementor-element-1be4493 .elementor-headline,
.elementor-element-1be4493 p,
.elementor-element-1be4493 .elementor-headline-plain-text,
.elementor-element-1be4493 .elementor-headline-dynamic-text,
.elementor-element-17bc8fdc .elementor-heading-title,
.elementor-element-17bc8fdc .elementor-headline,
.elementor-element-17bc8fdc p,
.elementor-element-17bc8fdc .elementor-headline-plain-text,
.elementor-element-17bc8fdc .elementor-headline-dynamic-text {
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5) !important;
}

/* Testimonials — równa wysokość slidów bez łamania layoutu Swipera */
.elementskit-testimonial-slider .swiper {
    overflow: hidden !important;
}
.elementskit-testimonial-slider .swiper-wrapper {
    align-items: stretch !important;
}
.elementskit-testimonial-slider .swiper-slide {
    height: auto !important;
    box-sizing: border-box !important;
}
.elementskit-testimonial-slider .swiper-slide-inner,
.elementskit-testimonial-slider .elementskit-single-testimonial-slider {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    box-sizing: border-box !important;
}
.elementskit-testimonial-slider .elementskit-commentor-content {
    flex: 1 1 auto !important;
}

/* 3-krokowa sekcja (Stap 1/2/3 → Krok 1/2/3) — równa wysokość boxów
   NL: 483ee249 / PL: 8e44c8f */
.elementor-element-483ee249 .elementor-column,
.elementor-element-8e44c8f .elementor-column {
    display: flex !important;
    align-self: stretch !important;
}
.elementor-element-483ee249 .elementor-column > .elementor-widget-wrap,
.elementor-element-8e44c8f .elementor-column > .elementor-widget-wrap {
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    position: relative !important;
    width: 100%;
}
.elementor-element-483ee249 .elementor-widget-elementskit-icon-box,
.elementor-element-8e44c8f .elementor-widget-elementskit-icon-box {
    flex: 1 1 auto !important;
    display: flex !important;
}
.elementor-element-483ee249 .elementor-widget-elementskit-icon-box > .elementor-widget-container,
.elementor-element-483ee249 .ekit-wid-con,
.elementor-element-483ee249 .ekit_global_links,
.elementor-element-483ee249 .elementskit-infobox,
.elementor-element-8e44c8f .elementor-widget-elementskit-icon-box > .elementor-widget-container,
.elementor-element-8e44c8f .ekit-wid-con,
.elementor-element-8e44c8f .ekit_global_links,
.elementor-element-8e44c8f .elementskit-infobox {
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    width: 100%;
}
.elementor-element-483ee249 .elementskit-infobox .box-body,
.elementor-element-8e44c8f .elementskit-infobox .box-body {
    flex: 1 1 auto !important;
}

/* Services grid — 6 kart równej wysokości (NL: 4a143acc / PL: 60da2f69) */
.elementor-element-4a143acc .elementor-column,
.elementor-element-60da2f69 .elementor-column {
    display: flex !important;
    align-self: stretch !important;
}
.elementor-element-4a143acc .elementor-column > .elementor-widget-wrap,
.elementor-element-60da2f69 .elementor-column > .elementor-widget-wrap {
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    width: 100%;
}
.elementor-element-4a143acc .elementor-widget-elementskit-icon-box,
.elementor-element-60da2f69 .elementor-widget-elementskit-icon-box {
    flex: 1 1 auto !important;
    display: flex !important;
}
.elementor-element-4a143acc .elementor-widget-elementskit-icon-box > .elementor-widget-container,
.elementor-element-4a143acc .ekit-wid-con,
.elementor-element-4a143acc .ekit_global_links,
.elementor-element-4a143acc .elementskit-infobox,
.elementor-element-60da2f69 .elementor-widget-elementskit-icon-box > .elementor-widget-container,
.elementor-element-60da2f69 .ekit-wid-con,
.elementor-element-60da2f69 .ekit_global_links,
.elementor-element-60da2f69 .elementskit-infobox {
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    width: 100%;
}
.elementor-element-4a143acc .elementskit-infobox .box-body,
.elementor-element-60da2f69 .elementskit-infobox .box-body {
    flex: 1 1 auto !important;
}

/* 1. 3-kolumnowe info-boxy — równa wysokość (NL: 5abb8862 / PL: 5b1111b5) */
.elementor-element-5abb8862 .elementor-column > .elementor-widget-wrap,
.elementor-element-5b1111b5 .elementor-column > .elementor-widget-wrap {
    height: 100% !important;
    position: relative !important;
}
.elementor-element-5abb8862 .elementor-widget-elementskit-icon-box,
.elementor-element-5b1111b5 .elementor-widget-elementskit-icon-box {
    height: 100% !important;
    display: flex !important;
    flex: 1 1 auto !important;
}
.elementor-element-5abb8862 .elementor-widget-elementskit-icon-box .elementor-widget-container,
.elementor-element-5abb8862 .ekit-wid-con,
.elementor-element-5abb8862 .ekit_global_links,
.elementor-element-5abb8862 .elementskit-infobox,
.elementor-element-5b1111b5 .elementor-widget-elementskit-icon-box .elementor-widget-container,
.elementor-element-5b1111b5 .ekit-wid-con,
.elementor-element-5b1111b5 .ekit_global_links,
.elementor-element-5b1111b5 .elementskit-infobox {
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    width: 100%;
}
.elementor-element-5abb8862 .elementskit-infobox .box-body,
.elementor-element-5b1111b5 .elementskit-infobox .box-body {
    flex: 1 1 auto !important;
}
/* niebieski akcent spacer — pełna szerokość u dołu boxu (NL + PL) */
.elementor-element-5d1e3f8,
.elementor-element-661e1b1b,
.elementor-element-9e28a5f,
.elementor-element-6dec30fb,
.elementor-element-6df7783,
.elementor-element-77574363 {
    position: absolute !important;
    left: 25px !important;
    right: 25px !important;
    margin: 0 !important;
    bottom: 3px !important;
    height: 7px !important;
    width: auto !important;
    max-width: none !important;
    border-radius: 0 0 3px 3px !important;
    background-color: #157bc3 !important;
    z-index: 3;
}
.elementor-element-5d1e3f8 .elementor-spacer,
.elementor-element-661e1b1b .elementor-spacer,
.elementor-element-9e28a5f .elementor-spacer,
.elementor-element-6dec30fb .elementor-spacer,
.elementor-element-6df7783 .elementor-spacer,
.elementor-element-77574363 .elementor-spacer,
.elementor-element-5d1e3f8 .elementor-spacer-inner,
.elementor-element-661e1b1b .elementor-spacer-inner,
.elementor-element-9e28a5f .elementor-spacer-inner,
.elementor-element-6dec30fb .elementor-spacer-inner,
.elementor-element-6df7783 .elementor-spacer-inner,
.elementor-element-77574363 .elementor-spacer-inner {
    height: 100% !important;
    background: transparent !important;
}
.elementor-element-5abb8862 .elementor-widget-elementskit-icon-box {
    height: 100% !important;
    display: flex !important;
    flex: 1 1 auto !important;
}
.elementor-element-5abb8862 .elementor-widget-elementskit-icon-box .elementor-widget-container,
.elementor-element-5abb8862 .ekit-wid-con,
.elementor-element-5abb8862 .ekit_global_links,
.elementor-element-5abb8862 .elementskit-infobox {
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    width: 100%;
}
.elementor-element-5abb8862 .elementskit-infobox .box-body {
    flex: 1 1 auto !important;
}

/* 2. Sekcja "Firma werkt lokaal..." — tekst nigdy nie poza ekranem */
.elementor-section,
.elementor-section .elementor-container {
    max-width: 100% !important;
    box-sizing: border-box;
}
.elementor-widget-text-editor {
    overflow-wrap: anywhere;
    word-break: break-word;
}
body {
    overflow-x: hidden;
}
@media (max-width: 1024px) {
    .elementor-section > .elementor-container {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
}

/* 3. Telefoon / E-mail w sekcji kontakt — zwarte bloki, bez rozjazdów
   NL: 4955546a (tel), 1806e14a (mail)  |  PL: 14568928 (tel), 25fac4c8 (mail) */
body .elementor-element-4955546a,
body .elementor-element-14568928 {
    padding: 0 40px 15px 0 !important;  /* odstęp między tel a mail */
}
body .elementor-element-1806e14a,
body .elementor-element-25fac4c8 {
    padding: 0 0 15px 0 !important;
}
.elementor-element-4955546a .elementor-icon-box-wrapper,
.elementor-element-1806e14a .elementor-icon-box-wrapper,
.elementor-element-14568928 .elementor-icon-box-wrapper,
.elementor-element-25fac4c8 .elementor-icon-box-wrapper {
    display: flex !important;
    align-items: center !important;
    gap: 16px !important;
}
/* Ikona w niebieskim kwadracie — wyśrodkowanie + widoczność SVG/ikony */
.elementor-element-4955546a .elementor-icon-box-icon,
.elementor-element-1806e14a .elementor-icon-box-icon,
.elementor-element-14568928 .elementor-icon-box-icon,
.elementor-element-25fac4c8 .elementor-icon-box-icon {
    margin: 0 !important;
    flex: 0 0 auto;
}
.elementor-element-4955546a .elementor-icon,
.elementor-element-1806e14a .elementor-icon,
.elementor-element-14568928 .elementor-icon,
.elementor-element-25fac4c8 .elementor-icon {
    width: 48px !important;
    height: 48px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    border-radius: 6px !important;
    color: #fff !important;
    font-size: 22px !important;
}
.elementor-element-4955546a .elementor-icon svg,
.elementor-element-1806e14a .elementor-icon svg,
.elementor-element-14568928 .elementor-icon svg,
.elementor-element-25fac4c8 .elementor-icon svg,
.elementor-element-4955546a .elementor-icon svg path,
.elementor-element-1806e14a .elementor-icon svg path,
.elementor-element-14568928 .elementor-icon svg path,
.elementor-element-25fac4c8 .elementor-icon svg path {
    fill: #fff !important;
    color: #fff !important;
}
.elementor-element-4955546a .elementor-icon svg,
.elementor-element-1806e14a .elementor-icon svg,
.elementor-element-14568928 .elementor-icon svg,
.elementor-element-25fac4c8 .elementor-icon svg {
    width: 22px !important;
    height: 22px !important;
    display: block !important;
}
.elementor-element-4955546a .elementor-icon i,
.elementor-element-1806e14a .elementor-icon i,
.elementor-element-14568928 .elementor-icon i,
.elementor-element-25fac4c8 .elementor-icon i {
    color: #fff !important;
    font-size: 22px !important;
    line-height: 1 !important;
}
.elementor-element-4955546a .elementor-icon-box-content,
.elementor-element-1806e14a .elementor-icon-box-content,
.elementor-element-14568928 .elementor-icon-box-content,
.elementor-element-25fac4c8 .elementor-icon-box-content {
    flex: 1 1 auto;
    min-width: 0;
}
.elementor-element-4955546a .elementor-icon-box-title,
.elementor-element-1806e14a .elementor-icon-box-title,
.elementor-element-14568928 .elementor-icon-box-title,
.elementor-element-25fac4c8 .elementor-icon-box-title {
    margin: 0 0 2px !important;
    line-height: 1.2;
}
.elementor-element-4955546a .elementor-icon-box-description,
.elementor-element-1806e14a .elementor-icon-box-description,
.elementor-element-14568928 .elementor-icon-box-description,
.elementor-element-25fac4c8 .elementor-icon-box-description {
    margin: 0 !important;
    line-height: 1.3;
    word-break: break-word;
}

/* 4. CONTACT/KONTAKT heading + divider — wymuś widoczność i czyste odstępy
   NL: 6f3a599 + b71f0ef  |  PL: b86ece8 + 6c72ece */
.elementor-element-6f3a599,
.elementor-element-b71f0ef,
.elementor-element-b86ece8,
.elementor-element-6c72ece {
    opacity: 1 !important;
    visibility: visible !important;
    animation: none !important;
    transform: none !important;
}
.elementor-element-6f3a599,
.elementor-element-b86ece8 {
    margin-bottom: 6px !important;
}
.elementor-element-b71f0ef,
.elementor-element-6c72ece {
    margin-bottom: 18px !important;
}
.elementor-element-6f3a599 .elementor-heading-title,
.elementor-element-b86ece8 .elementor-heading-title {
    margin: 0 !important;
}

/* 5. Top bar — przełącznik języka nie nachodzi na e-mail */
.elementor-element-cb8a072,
.elementor-element-d903b8d {
    flex: 0 0 auto !important;
}
.elementor-location-header [data-elementor-type="header"] .elementor-element:has(> a[href*="@"]),
.elementor-location-header .elementor-widget-icon-box:has(a[href^="mailto:"]) {
    min-width: 0;
}
/* Email widget w headerze — ukryty (za długi, nachodził na lang switcher).
   W headerze zostaje tylko telefon + lang; email jest w kontakcie i footerze. */
body .elementor-element-8208748,
body .elementor-element-686d374,
body .elementor-element-7e35587,
body .elementor-element-b7977e3 {
    display: none !important;
}

/* Header contact strip — shrink text at narrow widths; extra `body` for specificity */
@media (max-width: 1200px) {
    body .elementor-widget-icon-box .elementor-element-8208748 .elementor-icon-box-description,
    body .elementor-element-686d374 .elementor-icon-box-description,
    body .elementor-element-8208748 .elementor-icon-box-description,
    body .elementor-element-686d374 .elementor-icon-box-description,
    body .elementor-element-8208748 .elementor-icon-box-description,
    body .elementor-element-686d374 .elementor-icon-box-description a {
        font-size: 14px !important;
    }
    body .elementor-element-8208748 .elementor-icon-box-title,
    body .elementor-element-686d374 .elementor-icon-box-title,
    body .elementor-element-8208748 .elementor-icon-box-title span,
    body .elementor-element-686d374 .elementor-icon-box-title span {
        font-size: 11px !important;
    }
}
@media (max-width: 1100px) {
    body .elementor-element-7988d58,
    body .elementor-element-faebded {
        padding: 6px 90px 6px 20px !important;
        gap: 12px !important;
    }
    body .elementor-element-8208748 .elementor-icon-box-description,
    body .elementor-element-686d374 .elementor-icon-box-description,
    body .elementor-element-8208748 .elementor-icon-box-description a,
    body .elementor-element-686d374 .elementor-icon-box-description a {
        font-size: 13px !important;
    }
    body .elementor-element-8208748 .elementor-icon-box-title,
    body .elementor-element-686d374 .elementor-icon-box-title,
    body .elementor-element-8208748 .elementor-icon-box-title span,
    body .elementor-element-686d374 .elementor-icon-box-title span {
        font-size: 10px !important;
    }
}
@media (max-width: 980px) {
    body .elementor-element-8208748,
    body .elementor-element-686d374 {
        display: none !important;
    }
}


/* === Hero section + elementor-invisible fallback ===
   Na statycznej wersji IntersectionObserver Elementora nie zawsze odpala —
   wymuszamy widoczność animowanych elementów zamiast czekać na JS. */
.elementor-invisible {
    visibility: visible !important;
    opacity: 1 !important;
}
.elementor-element[data-settings*="animation"] {
    opacity: 1 !important;
    visibility: visible !important;
}

/* Hero 1be4493 — upewnij się że tło się ładuje i padding jest rozsądny */
.elementor-element-1be4493 {
    background-size: cover !important;
    background-position: 60% 50% !important;
    background-repeat: no-repeat !important;
}

/* === MOBILE COMPREHENSIVE CLEANUP 2026-04-21 === */
@media (max-width: 767px) {
    /* 1. Bezpieczeństwo — nic nie wychodzi poza ekran, reset body margin */
    html, body {
        overflow-x: hidden !important;
        max-width: 100vw;
        margin: 0 !important;
        padding: 0 !important;
    }
    img, video, iframe {
        height: auto !important;
        max-width: 100% !important;
    }

    /* 2. AGRESYWNY RESET — Elementor ma inline reguły typu
       `.elementor-285 .elementor-element.elementor-element-XXX { width: 65% }`
       (specyficzność 0,0,3,0). Używamy wyższej specyficzności żeby wygrać. */
    body.elementor-page .elementor-element.elementor-element[class*="elementor-element-"],
    body .elementor-285 .elementor-element.elementor-element[class*="elementor-element-"],
    body .elementor-119 .elementor-element.elementor-element[class*="elementor-element-"] {
        width: 100% !important;
        max-width: 100% !important;
        flex-basis: 100% !important;
    }
    /* Kolumny wewnętrzne — zawsze 100% */
    body .elementor-section,
    body .elementor-section .elementor-container,
    body .elementor-section .elementor-column,
    body .elementor-inner-column,
    body .elementor-widget,
    body .elementor-widget-wrap,
    body .elementor-widget-container,
    body .e-con,
    body .e-con-inner {
        max-width: 100% !important;
        width: 100% !important;
    }
    /* Wyjątki — ikony, przyciski, pojedyncze obrazki w liniach tekstu */
    body .elementor-icon-box-icon,
    body .elementor-icon-box-icon .elementor-icon,
    body .elementor-button,
    body .elementor-button-link {
        width: auto !important;
    }
    /* Tylko TOP sekcje dostają boczny padding 12px. Inner sekcje i wszystko inside = 0 */
    body .elementor-section.elementor-top-section > .elementor-container {
        margin: 0 auto !important;
        padding-left: 12px !important;
        padding-right: 12px !important;
    }
    body .elementor-section.elementor-inner-section,
    body .elementor-section.elementor-inner-section > .elementor-container,
    body .elementor-section.elementor-inner-section .elementor-container,
    body .elementor-container.elementor-column-gap-default,
    body .elementor-container.elementor-column-gap-no,
    body .elementor-column > .elementor-element-populated,
    body .elementor-column-wrap,
    body .elementor-widget-wrap {
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    /* Sekcje top-level — też bez dodatkowego horizontal padding na section samym */
    body .elementor-section.elementor-top-section {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    /* WSZYSTKIE .elementor-container stackują w kolumnie na mobile */
    body .elementor-container,
    body .elementor-section > .elementor-container {
        flex-direction: column !important;
        flex-wrap: nowrap !important;
    }
    /* Reset wszystkich stylów kolumn Elementora które mają sub-100% width na tablecie */
    body .elementor-column[class*="elementor-col-"] {
        width: 100% !important;
        flex: 1 1 100% !important;
    }
    /* Reset flex-basis dla kolumn które mają ustawione flex-basis < 100% */
    body .elementor-column > .elementor-element-populated {
        margin: 0 !important;
        padding: 0 !important;
    }

    /* 3. Hero — mniejszy padding, czytelne rozmiary fontów */
    body .elementor-element-1be4493 {
        padding: 80px 16px 60px !important;
    }
    body .elementor-element-1d45889f .elementor-headline {
        font-size: 32px !important;
        line-height: 1.15 !important;
    }
    body .elementor-element-33b4ab9c h1,
    body .elementor-element-33b4ab9c .elementor-heading-title {
        font-size: 26px !important;
        line-height: 1.2 !important;
    }
    body .elementor-element-55aff875 p {
        font-size: 15px !important;
        line-height: 1.5 !important;
    }
    body .elementor-element-6a06ed5e,
    body .elementor-element-5e532a97 {
        width: auto !important;
        display: inline-block !important;
        margin-right: 8px !important;
    }

    /* 4. Grids — wszystko w 1 kolumnie */
    body .elementor-element-5abb8862 .elementor-inner-column,
    body .elementor-element-5b1111b5 .elementor-inner-column,
    body .elementor-element-4a143acc .elementor-inner-column,
    body .elementor-element-60da2f69 .elementor-inner-column,
    body .elementor-element-483ee249 .elementor-inner-column,
    body .elementor-element-8e44c8f .elementor-inner-column {
        flex: 1 1 100% !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    body .elementor-element-5abb8862 > .elementor-container,
    body .elementor-element-5b1111b5 > .elementor-container,
    body .elementor-element-4a143acc > .elementor-container,
    body .elementor-element-60da2f69 > .elementor-container,
    body .elementor-element-483ee249 > .elementor-container,
    body .elementor-element-8e44c8f > .elementor-container {
        flex-direction: column !important;
        gap: 16px !important;
    }

    /* 5. Niebieskie akcent-spacery — pozostają 7px u dołu na mobile */
    .elementor-element-5d1e3f8,
    .elementor-element-661e1b1b,
    .elementor-element-9e28a5f,
    .elementor-element-6dec30fb,
    .elementor-element-6df7783,
    .elementor-element-77574363 {
        left: 16px !important;
        right: 16px !important;
    }

    /* 6. Kontakt — Tel/Email full width, odstęp między */
    body .elementor-element-4955546a,
    body .elementor-element-14568928 {
        padding: 0 0 12px 0 !important;
        width: 100% !important;
    }
    body .elementor-element-1806e14a,
    body .elementor-element-25fac4c8 {
        padding: 0 0 12px 0 !important;
        width: 100% !important;
    }

    /* 7. Sekcja kontakt — formularz pod info */
    body .elementor-element-f89dc6a > .elementor-container,
    body .elementor-element-5940cbac > .elementor-container {
        flex-direction: column !important;
        gap: 24px !important;
    }

    /* 8. Testimonials — czytelne spacing */
    .elementskit-testimonial-slider .elementskit-single-testimonial-slider {
        padding: 20px 16px !important;
    }

    /* 9. Footer — gaps i font */
    body .elementor-element-b56a354 {
        padding: 28px 16px 20px !important;
    }
    body .elementor-element-b56a354 .elementor-heading-title {
        font-size: 17px !important;
    }

    /* 10. Typografia globalna — skalowanie headingów */
    .elementor-heading-title,
    h1.elementor-heading-title { font-size: clamp(22px, 6vw, 32px) !important; }
    h2.elementor-heading-title { font-size: clamp(20px, 5.5vw, 28px) !important; }
    h3.elementor-heading-title,
    .elementskit-info-box-title { font-size: 17px !important; line-height: 1.3 !important; }

    /* 11. Buttons — pełna szerokość z marginesem gdy w rzędzie  */
    .elementor-button {
        padding: 10px 18px !important;
        font-size: 14px !important;
    }

    /* 12. Widgety z szerokością 142.405% i podobne — zresetuj */
    body .elementor-widget-icon-box,
    body .elementor-widget[style*="width"] {
        width: 100% !important;
        max-width: 100% !important;
    }
}

/* Counters section (NL: 64399d49 / PL: 16d0e34f) — kompaktowy stack pionowy na mobile.
   Układ: duża liczba z "+" w jednym rzędzie, etykieta pod spodem, każdy licznik w jednym rzędzie */
@media (max-width: 767px) {
    body .elementor-element-64399d49 > .elementor-container,
    body .elementor-element-16d0e34f > .elementor-container {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 28px 12px !important;
        padding: 40px 16px !important;
    }
    body .elementor-element-64399d49 .elementor-column,
    body .elementor-element-16d0e34f .elementor-column {
        width: 100% !important;
        padding: 0 !important;
    }
    body .elementor-element-64399d49 .elementor-column > .elementor-widget-wrap,
    body .elementor-element-16d0e34f .elementor-column > .elementor-widget-wrap {
        padding: 0 !important;
        border: none !important;
        text-align: center !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }
    /* Counter layout: liczba nad etykietą, nowy porządek via flex reorder */
    body .elementor-element-64399d49 .elementor-counter,
    body .elementor-element-16d0e34f .elementor-counter {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        width: 100%;
    }
    body .elementor-element-64399d49 .elementor-counter-title,
    body .elementor-element-16d0e34f .elementor-counter-title {
        order: 2 !important;
        font-size: 13px !important;
        line-height: 1.3 !important;
        text-align: center !important;
        margin-top: 6px !important;
        text-transform: uppercase;
        letter-spacing: 0.04em;
        font-weight: 600;
    }
    body .elementor-element-64399d49 .elementor-counter-number-wrapper,
    body .elementor-element-16d0e34f .elementor-counter-number-wrapper {
        order: 1 !important;
        display: inline-flex !important;
        align-items: baseline !important;
        justify-content: center !important;
        font-size: 44px !important;
        font-weight: 800 !important;
        line-height: 1 !important;
        white-space: nowrap;
    }
    body .elementor-element-64399d49 .elementor-counter-number,
    body .elementor-element-64399d49 .elementor-counter-number-prefix,
    body .elementor-element-64399d49 .elementor-counter-number-suffix,
    body .elementor-element-16d0e34f .elementor-counter-number,
    body .elementor-element-16d0e34f .elementor-counter-number-prefix,
    body .elementor-element-16d0e34f .elementor-counter-number-suffix {
        display: inline !important;
    }
    /* Usuwamy dashed bordery między kolumnami */
    body .elementor-element-47e217d5 > .elementor-element-populated,
    body .elementor-element-6956096b > .elementor-element-populated,
    body .elementor-element-27bed606 > .elementor-element-populated,
    body .elementor-element-64399d49 .elementor-column > .elementor-element-populated,
    body .elementor-element-16d0e34f .elementor-column > .elementor-element-populated {
        border: none !important;
    }
}

/* Garantie / Werk / Flex 3-box (5abb8862 / 5b1111b5) — na desktopie ma margin-top: -6em
   (wjeżdża na hero). Na mobile anulujemy ten overlap żeby nie zakrywać buttonów hero */
@media (max-width: 767px) {
    body .elementor-element-5abb8862,
    body .elementor-element-5b1111b5 {
        margin-top: 24px !important;
    }
}

/* Krok / Stap 1/2/3 badges na mobile — desktopowo są `elementor-absolute`
   i unoszą się nad kartą. Na mobile kolidują z treścią, więc wrzucamy je w
   normalny flow nad karty. NL: 3838baa7/4d2f43ee/6c359b28 | PL: 76b6cc13/484658c8/5d658b47 */
@media (max-width: 767px) {
    body .elementor-element-3838baa7,
    body .elementor-element-4d2f43ee,
    body .elementor-element-6c359b28,
    body .elementor-element-76b6cc13,
    body .elementor-element-484658c8,
    body .elementor-element-5d658b47 {
        position: static !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        transform: none !important;
        width: auto !important;
        margin: 0 0 12px 0 !important;
        display: inline-flex !important;
    }
    body .elementor-element-3838baa7 .elementor-button,
    body .elementor-element-4d2f43ee .elementor-button,
    body .elementor-element-6c359b28 .elementor-button,
    body .elementor-element-76b6cc13 .elementor-button,
    body .elementor-element-484658c8 .elementor-button,
    body .elementor-element-5d658b47 .elementor-button {
        padding: 6px 14px !important;
        font-size: 12px !important;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.06em;
    }
}

/* === Kontakt — Tel/Email jako większe, czytelniejsze karty na mobile === */
@media (max-width: 767px) {
    body .elementor-element-4955546a,
    body .elementor-element-1806e14a,
    body .elementor-element-14568928,
    body .elementor-element-25fac4c8 {
        width: 100% !important;
        padding: 14px 16px !important;
        margin: 0 0 12px 0 !important;
        background: #f4f7fa !important;
        border-radius: 10px !important;
        box-shadow: 0 2px 8px rgba(15, 23, 36, 0.06);
    }
    body .elementor-element-4955546a .elementor-icon-box-wrapper,
    body .elementor-element-1806e14a .elementor-icon-box-wrapper,
    body .elementor-element-14568928 .elementor-icon-box-wrapper,
    body .elementor-element-25fac4c8 .elementor-icon-box-wrapper {
        gap: 16px !important;
    }
    body .elementor-element-4955546a .elementor-icon,
    body .elementor-element-1806e14a .elementor-icon,
    body .elementor-element-14568928 .elementor-icon,
    body .elementor-element-25fac4c8 .elementor-icon {
        width: 52px !important;
        height: 52px !important;
        border-radius: 10px !important;
        font-size: 24px !important;
    }
    body .elementor-element-4955546a .elementor-icon svg,
    body .elementor-element-1806e14a .elementor-icon svg,
    body .elementor-element-14568928 .elementor-icon svg,
    body .elementor-element-25fac4c8 .elementor-icon svg {
        width: 26px !important;
        height: 26px !important;
    }
    body .elementor-element-4955546a .elementor-icon-box-title,
    body .elementor-element-1806e14a .elementor-icon-box-title,
    body .elementor-element-14568928 .elementor-icon-box-title,
    body .elementor-element-25fac4c8 .elementor-icon-box-title {
        font-size: 12px !important;
        text-transform: uppercase !important;
        letter-spacing: 0.06em;
        color: #5b6776 !important;
        margin: 0 0 2px !important;
    }
    body .elementor-element-4955546a .elementor-icon-box-description,
    body .elementor-element-1806e14a .elementor-icon-box-description,
    body .elementor-element-14568928 .elementor-icon-box-description,
    body .elementor-element-25fac4c8 .elementor-icon-box-description {
        font-size: 17px !important;
        font-weight: 700 !important;
        line-height: 1.2 !important;
        margin: 0 !important;
    }
    body .elementor-element-4955546a .elementor-icon-box-description a,
    body .elementor-element-1806e14a .elementor-icon-box-description a,
    body .elementor-element-14568928 .elementor-icon-box-description a,
    body .elementor-element-25fac4c8 .elementor-icon-box-description a {
        color: #0a3759 !important;
    }
}

/* === Floating phone button (FAB) — tylko mobile === */
.kb-fab-phone {
    display: none;
}
@media (max-width: 767px) {
    .kb-fab-phone {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        position: fixed !important;
        right: 16px;
        bottom: 20px;
        width: 58px;
        height: 58px;
        background: #25D366;
        color: #fff !important;
        border-radius: 50%;
        box-shadow: 0 6px 18px rgba(37, 211, 102, 0.45), 0 2px 6px rgba(0,0,0,0.15);
        z-index: 9998;
        text-decoration: none !important;
        animation: kb-fab-pulse 2.4s ease-in-out infinite;
    }
    .kb-fab-phone:hover,
    .kb-fab-phone:focus {
        background: #1eaf54;
        color: #fff !important;
    }
    .kb-fab-phone svg {
        width: 28px;
        height: 28px;
        fill: #fff;
    }
    @keyframes kb-fab-pulse {
        0%, 100% { transform: scale(1); box-shadow: 0 6px 18px rgba(37, 211, 102, 0.45), 0 2px 6px rgba(0,0,0,0.15); }
        50% { transform: scale(1.06); box-shadow: 0 8px 24px rgba(37, 211, 102, 0.6), 0 2px 6px rgba(0,0,0,0.15); }
    }
}

/* === SMALL MOBILE (<480px) extra tightening === */
@media (max-width: 480px) {
    body .elementor-element-1be4493 {
        padding: 60px 12px 50px !important;
    }
    body .elementor-element-1d45889f .elementor-headline {
        font-size: 26px !important;
    }
    body .elementor-element-33b4ab9c h1 {
        font-size: 22px !important;
    }
}
