/* BADI 13.11.2026 — zmiany wg przeglądu głosowego właściciela.
   Wspólny styl, bez zmiany danych realizacji, pól formularza i backendu. */

/* Logo większe i równa wielkość nazw w pasku; desktop. */
@media (min-width: 1024px) {
    header:has(> .main_nav .badi_header_brand) {
        display: flex;
        align-items: center;
        box-sizing: border-box;
        height: 11rem;
        min-height: 11rem;
        padding-block: 1rem;
    }
    header:has(> .main_nav .badi_header_brand) .main_nav {
        width: 100%;
    }
    :is(.main_nav .badi_header_brand, .footer_brand) .badi_header_variant {
        --badi-logo-size: 7.1rem;
        --badi-brand-gap: .33rem;
        font-size: clamp(2.3rem, 2.75vw, 3.05rem);
    }
    :is(.main_nav .badi_header_brand, .footer_brand) .badi_header_variant img {
        width: var(--badi-logo-size);
        height: var(--badi-logo-size);
    }
    .main_nav:has(.badi_header_brand) > a:not(.badi_header_brand) {
        font-size: clamp(2rem, 2.75vw, 3.05rem);
        line-height: 1.15;
    }
    body:has(main > .hero) .hero,
    body:has(main > .hero) .hero_content {
        min-height: calc(100svh - 11rem);
    }
}
/* Stopka: znak B | BADI proporcjonalny także na telefonach. */
.footer_brand .badi_header_variant {
    --badi-brand-gap: .27rem;
}
@media (max-width: 1023px) {
    .footer_brand .badi_header_variant {
        --badi-logo-size: clamp(3.65rem, 10vw, 5rem);
        font-size: clamp(1.4rem, 3.9vw, 2rem);
    }
    .footer_brand .badi_header_variant img {
        width: var(--badi-logo-size);
        height: var(--badi-logo-size);
    }
}

/* Jednolita czytelność białej typografii. */
main :is(
    .projects > p, .info .wrapper p, .offer_text_content p,
    .badi_services > p, .badi_service_tile p, .review_content,
    .process_item p, .contact_intro, .quote_help,
    .service_intro, .service_lead, .service_feature p,
    .service_steps p, .service_area, .service_cta p,
    .service_faq details p, .realizations_service_links > p
) {
    font-size: clamp(1.09rem, 1.32vw, 1.26rem);
    color: #f5f5f5;
    line-height: 1.72;
}
main :is(.field_help, .privacy_short) {
    font-size: clamp(1rem, 1.15vw, 1.12rem);
    line-height: 1.65;
    color: #dedede;
}
.contact_section .form label span {
    font-size: 1.02rem;
    color: #d4d4d4;
}

/* Powtarzalne odstępy między sekcjami usług i większe przyciski. */
.service_page .service_hero {
    gap: clamp(2rem, 4vw, 4rem);
    padding-bottom: clamp(3.2rem, 5vw, 5.5rem);
}
.service_page .service_section {
    padding-top: clamp(3.5rem, 5vw, 5.3rem);
    padding-bottom: clamp(1.8rem, 2.7vw, 2.8rem);
}
.service_page .service_features,
.service_page .service_steps {
    gap: clamp(1.2rem, 2.2vw, 2rem);
}
.service_page .service_hero h1 {
    font-size: clamp(2.65rem, 5vw, 5rem);
}
.service_page .service_feature h3 {
    font-size: clamp(1.45rem, 1.85vw, 1.8rem);
}
.service_page .service_button {
    min-height: 3.65rem;
    padding: .9rem 1.35rem;
    font-size: clamp(1.1rem, 1.25vw, 1.23rem);
}
.service_page .service_related_links a {
    min-height: 3.3rem;
    display: inline-flex;
    align-items: center;
    padding: .85rem 1.2rem;
    font-size: 1.12rem;
}
.service_page .service_faq summary {
    font-size: 1.22rem;
}
.badi_services .badi_service_tile h3 {
    font-size: clamp(1.45rem, 2vw, 1.9rem);
}
@supports ((background-clip: text) or (-webkit-background-clip: text)) {
    .service_page :is(h1, h2, h3) {
        background-image: var(--badi-gold-text-gradient, linear-gradient(105deg,#f1c26c,#ec9421));
        background-clip: text;
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }
}

/* Wycena: więcej przestrzeni i wyraźniejsza instrukcja. */
body:has(main > .contact_section) .contact_layout > .form > h2,
body:has(main > .contact_section) .contact_layout > .form > .quote_help {
    width: 100%;
    max-width: 100%;
    text-align: center;
}
.contact_section .form h2 { font-size: clamp(2rem, 3vw, 2.65rem); }
.contact_section .form form { gap: 1.45rem; }
.contact_section .form_grid { gap: 1.3rem; }
.contact_section .form_grid > div { gap: .65rem; }
.contact_section .form label { font-size: 1.17rem; }
.contact_section .form button {
    min-height: 3.1rem;
    font-size: 1.13rem;
}
.contact_section .quote_help {
    max-width: 50rem;
    margin: .4rem auto 1.35rem;
}
.contact_section .form #quote_message_help,
.contact_section .form #quote_file_help {
    margin: .6rem 0 .9rem;
}
.contact_section .contact_details_title {
    width: 100%;
    text-align: center;
    margin: 0 auto 1.35rem;
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
}
body:has(main > .contact_section) .contact_details address {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: .9rem;
}
body:has(main > .contact_section) .contact_details .address_wrapper {
    width: 100%;
    text-align: center;
}
.contact_section .contact_details address a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .6rem;
}
/* Stopka: logo, kontakt i portale społecznościowe w czytelnych rzędach. */
footer .footer_wrapper {
    row-gap: clamp(1.5rem, 2.5vw, 2.5rem);
}
footer .footer_contact {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: .85rem;
}
footer .footer_contact strong {
    font-size: 1.4rem;
}
footer .footer_socials {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .85rem;
    margin-top: .5rem;
}
footer .footer_socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .6rem;
}
.contact_details a[href*="instagram.com"]::before,
.contact_details a[href*="facebook.com"]::before,
.contact_details a[href*="tiktok.com"]::before,
.footer_socials a[href*="instagram.com"]::before,
.footer_socials a[href*="facebook.com"]::before,
.footer_socials a[href*="tiktok.com"]::before {
    content: "";
    display: inline-block;
    flex: none;
    width: 1.3em;
    height: 1.3em;
    background-color: #f1c26c;
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
}
.contact_details a[href*="instagram.com"]::before,
.footer_socials a[href*="instagram.com"]::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%222.1%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%222.5%22%20y%3D%222.5%22%20width%3D%2219%22%20height%3D%2219%22%20rx%3D%225%22%2F%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%224.1%22%2F%3E%3Ccircle%20cx%3D%2217.5%22%20cy%3D%226.7%22%20r%3D%22.8%22%20fill%3D%22black%22%2F%3E%3C%2Fsvg%3E"); mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%222.1%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%222.5%22%20y%3D%222.5%22%20width%3D%2219%22%20height%3D%2219%22%20rx%3D%225%22%2F%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%224.1%22%2F%3E%3Ccircle%20cx%3D%2217.5%22%20cy%3D%226.7%22%20r%3D%22.8%22%20fill%3D%22black%22%2F%3E%3C%2Fsvg%3E"); }
.contact_details a[href*="facebook.com"]::before,
.footer_socials a[href*="facebook.com"]::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M14.5%2022v-8.8h3l.45-3.5H14.5V7.6c0-1.02.29-1.72%201.75-1.72h1.88V2.74c-.33-.05-1.47-.14-2.79-.14-2.77%200-4.68%201.7-4.68%204.85v2.25H7.5v3.5h3.16V22z%22%2F%3E%3C%2Fsvg%3E"); mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M14.5%2022v-8.8h3l.45-3.5H14.5V7.6c0-1.02.29-1.72%201.75-1.72h1.88V2.74c-.33-.05-1.47-.14-2.79-.14-2.77%200-4.68%201.7-4.68%204.85v2.25H7.5v3.5h3.16V22z%22%2F%3E%3C%2Fsvg%3E"); }
.contact_details a[href*="tiktok.com"]::before,
.footer_socials a[href*="tiktok.com"]::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M13.8%202c.38%203.45%202.3%205.37%205.7%205.5v3.35c-2.2%200-4.15-.75-5.7-2.18v6.62a6.2%206.2%200%201%201-5.55-6.15v3.52a2.75%202.75%200%201%200%202.15%202.7V2z%22%2F%3E%3C%2Fsvg%3E"); mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M13.8%202c.38%203.45%202.3%205.37%205.7%205.5v3.35c-2.2%200-4.15-.75-5.7-2.18v6.62a6.2%206.2%200%201%201-5.55-6.15v3.52a2.75%202.75%200%201%200%202.15%202.7V2z%22%2F%3E%3C%2Fsvg%3E"); }
footer .copyright {
    font-size: 1rem;
    letter-spacing: .01em;
    color: #dedede;
}
@media (max-width: 767px) {
    .service_page .service_section { padding-top: 3rem; padding-bottom: 1.4rem; }
    .service_page .service_hero h1 { font-size: clamp(2.3rem, 8.4vw, 3rem); }
    .service_page .service_button { min-height: 3.3rem; }
    .contact_section .form_grid { gap: 1rem; }
    .contact_section .form form { gap: 1.15rem; }
}

/* Wzór wiadomości to pomoc dla klienta — wskazówka pokazuje się
   wyłącznie wtedy, kiedy działa przycisk jej wstawienia. */
.contact_section .form .quote_template_explain {
    display: none;
    margin: -.45rem 0 .35rem;
    font-size: 1.04rem;
    line-height: 1.6;
    color: #f2f2f2;
}
.contact_section .form .quote_template_button:not([hidden]) + .quote_template_explain {
    display: block;
}
