/*
Theme Name:   Biofarmtech — motyw potomny
Theme URI:    https://biofarmtech.eu
Description:  Warstwa systemu wizualnego na motywie „biofarm”. Nie modyfikuje rodzica. Wersja lekka — bez masek CSS i bez nadpisywania zmiennych Bootstrapa.
Author:       Biofarmtech
Template:     biofarm
Version:      2.0.0
*/

/* ============================================================================
   1. TOKENY — tylko własne, bez dotykania zmiennych Bootstrapa
   ============================================================================ */

:root {
  --bft-navy:    #053a5a;
  --bft-blue:    #01aee0;
  --bft-orange:  #e45a29;
  --bft-surface: #eaf4fb;
  --bft-border:  #e5e5e5;
  --bft-muted:   #6c757d;

  --bft-granat:       #053a5a;
  --bft-niebieski:    #01aee0;
  --bft-pomaranczowy: #e45a29;
  --bft-tlo:          #eaf4fb;
  --bft-tekst:        #1a1a1a;
}


/* ============================================================================
   2. NIEBIESKI — 13 miejsc z #0d93b8
   ============================================================================ */

.text-blue-light                        { color: #01aee0; }
.bg-light-blue                          { background-color: #01aee0; }
.bg-light-blue-fullwidth::before        { background: #01aee0; }
.dropdown-item.active,
.dropdown-item:active                   { background-color: #01aee0; color: #053a5a; }
.box-offset                             { background-color: #01aee0; }
.carousel::before                       { background: #01aee0; }
.section-advantages .float-text         { color: #01aee0; }
.section-in-numbers .text-number        { background-color: #01aee0; }
.section .text-circle                   { background-color: #01aee0; }
.section-owner .box                     { background-color: #01aee0; }
.page-title::before                     { background: #01aee0; }
.content ol li:before                   { background: #01aee0; }
.wpcf7 .wpcf7-form-control::placeholder { color: #6c757d; }


/* ============================================================================
   3. TEKST NA NIEBIESKIM — granat zamiast bieli (WCAG AA 4,62:1)
   To dało +7 punktów w dostępności. Zostaje.
   ============================================================================ */

.section .text-circle,
.section-in-numbers .text-number,
.box-offset,
.section-owner .box,
.section-owner .box * { color: #053a5a; }


/* ============================================================================
   4. TYPOGRAFIA — regułami, nie zmiennymi Bootstrapa
   ============================================================================ */

body { font-weight: 400; line-height: 1.6; }

h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6 { line-height: 1.15; }

/* Anton ma jedną wagę — wymuszanie 600/700 daje faux bold */
.section-advantages .float-text,
.section .text-circle { font-weight: 400; }

h5, .h5, h6, .h6 { font-family: "Poppins", sans-serif; font-weight: 600; }

.carousel-front-page .h1,
.page-title .h1 { font-size: clamp(32px, 3.7vw, 56px); }

@media (min-width: 992px) {
  .carousel-front-page .h1 { font-size: clamp(32px, 3.7vw, 56px); }
}


/* ============================================================================
   5. LOGO — aspect-ratio zapobiega przeskokowi układu (CLS)
   ============================================================================ */

.navbar-brand img {
  width: 193px;
  height: auto;
  aspect-ratio: 193 / 43;
}

@media (max-width: 575px) {
  .navbar-brand img { width: 150px; }
}


/* ============================================================================
   6. KSZTAŁT — punktowo, tylko tam gdzie widać
   ============================================================================ */

.btn, .dropdown-menu { border-radius: 0; }


/* ============================================================================
   7. PRZYCISKI

   BEZ MASEK. Słowo „next” z fontu Swipera po prostu chowamy — strzałkę
   dołożymy później jako zwykły <svg> w szablonie, co nic nie kosztuje.
   ============================================================================ */

.btn::after { content: "" !important; display: none !important; }

/* strzałka rozwijania — domyślny trójkącik Bootstrapa, czysty CSS */
.dropdown-toggle::after {
  content: "" !important;
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: .4em;
  vertical-align: .2em;
  border-top: .3em solid;
  border-right: .3em solid transparent;
  border-bottom: 0;
  border-left: .3em solid transparent;
  font-family: inherit !important;
}

.btn-orange {
  background-color: #e45a29;
  border-color: #e45a29;
  color: #fff;
}
.btn-orange:hover { background-color: #fff; color: #e45a29; border-color: #e45a29; }


/* ============================================================================
   8. KRZYŻYKI — wygaszenie
   ============================================================================ */

.x { display: none !important; }


/* ============================================================================
   9. NADTYTUŁ

   BEZ MASKI. Zostaje kwadrat rodzica, zmieniamy tylko kolor.
   Znak pulsu wróci, gdy przejdziemy na szablony — tam da się go zrobić
   pięcioma pustymi elementami, bez kosztu graficznego.
   ============================================================================ */

.pre-title::before { background: #053a5a; }

.bg-blue .pre-title::before,
.bg-dark-blue .pre-title::before,
.section-in-numbers .pre-title::before,
.section-form .pre-title::before { background: #fff; }


/* ============================================================================
   10. SEKCJE Z 2025–2026
   ============================================================================ */

.karta-uslug-tag { background: #01aee0 !important; color: #053a5a !important; }

.karta-uslug-text,
.testimonial-grid-text { color: #444; }

.section-testimonials-grid { background: #eaf4fb !important; }

.section-cta     { background-color: #053a5a !important; }
.section-cta-sub { color: #01aee0 !important; }

.section-cta-btn,
.karta-uslug-btn {
  background: #e45a29 !important;
  border: 1px solid #e45a29 !important;
  color: #fff !important;
}
.section-cta-btn:hover,
.section-cta-btn:focus,
.karta-uslug-btn:hover,
.karta-uslug-btn:focus {
  background: #fff !important;
  color: #e45a29 !important;
  border: 1px solid #e45a29 !important;
}


/* ############################################################################
   ###  PRZENIESIONE Z DODATKOWEGO CSS                                      ###
   ############################################################################ */


/* ============================================================================
   11. NAPRAWY UKŁADU
   ============================================================================ */

.carousel-item a.btn {
  margin-top: 0 !important;
  width: auto !important;
}
.carousel-item a.btn-orange {
  width: auto !important;
  display: inline-block !important;
  margin-top: 0 !important;
}

/* hero — przyciski budowane atrybutem style, hover tylko przez !important */
.carousel-front-page a[style*="e45a29"],
.carousel-item a[style*="e45a29"] { transition: background .18s ease, color .18s ease; }

.carousel-front-page a[style*="e45a29"]:hover,
.carousel-front-page a[style*="e45a29"]:focus,
.carousel-item a[style*="e45a29"]:hover,
.carousel-item a[style*="e45a29"]:focus {
  background: #fff !important;
  color: #e45a29 !important;
  border-color: #e45a29 !important;
}

.karta-uslug-btn  { font-size: 0.85rem !important; }
.section-cta-btn  { min-width: 280px; text-align: center; }
.section-cta-title { font-size: clamp(36px, 5vw, 56px) !important; }

@media (max-width: 768px) {
  .karta-uslug { position: relative; z-index: 10; }
}


/* ============================================================================
   12. FAQ
   ============================================================================ */

.faq-item { margin-bottom: 1rem; border-bottom: 1px solid #e5e5e5; }
.faq-question {
  cursor: pointer;
  font-weight: 600;
  padding: 0.75rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #053a5a;
}
.faq-answer { display: none; padding-bottom: 1rem; }
.faq-open .faq-answer { display: block; }
.faq-toggle::after { content: "+"; font-weight: 400; color: #e45a29; }
.faq-open .faq-toggle::after { content: "\2013"; }


/* ============================================================================
   13. STICKY CTA NA TELEFONIE
   ============================================================================ */

.sticky-cta-mobile {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background-color: #e45a29;
  color: #fff;
  padding: 14px 20px;
  border: 2px solid #e45a29;
  border-radius: 0;
  text-decoration: none;
  font-family: inherit;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: .4px;
  transition: background .2s ease, color .2s ease;
}
.sticky-cta-mobile:hover,
.sticky-cta-mobile:focus { background-color: #fff; color: #e45a29; }
.sticky-cta-mobile span { font-size: 20px; }

@media (max-width: 480px) {
  .sticky-cta-mobile {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    font-size: 14px;
    padding: 12px 16px;
  }
}


/* ============================================================================
   14. DROBIAZGI
   ============================================================================ */

.btn-hex:hover { width: 60px; height: 60px; opacity: 0.6; }
.ngg-gallery-thumbnail img { border: 1px solid #e5e5e5; }


/* ============================================================================
   15. ARTYKUŁY STREFY WIEDZY

   Użycie: <div class="bft-content"> ... </div>
   Nazw klas nie zmieniamy — są w HTML opublikowanych artykułów.
   ============================================================================ */

.bft-content { color: #1a1a1a; line-height: 1.7; }

.bft-content .bft-lead {
  font-size: 1.2em;
  font-style: italic;
  color: #053a5a;
  border-left: 4px solid #01aee0;
  padding-left: 16px;
  margin: 0 0 28px;
}

.bft-content h2 {
  color: #053a5a;
  border-left: 6px solid #01aee0;
  padding-left: 14px;
  margin: 36px 0 14px;
}
.bft-content h3 { color: #053a5a; margin: 26px 0 10px; }

.bft-content .bft-callout {
  background: #eaf4fb;
  border-left: 6px solid #e45a29;
  border-radius: 0;
  padding: 16px 20px;
  margin: 24px 0;
}
.bft-content .bft-callout strong { color: #e45a29; }

.bft-content table { width: 100%; border-collapse: collapse; margin: 22px 0; }
.bft-content table th {
  background: #053a5a;
  color: #fff;
  font-weight: 700;
  text-align: left;
  padding: 10px 14px;
  border: 1px solid #cfd8df;
}
.bft-content table td { padding: 9px 14px; border: 1px solid #cfd8df; }
.bft-content table tr:nth-child(even) td { background: #eaf4fb; }

.bft-content ul li::marker { color: #e45a29; }
.bft-content ol li::marker { color: #053a5a; font-weight: 700; }
.bft-content li { margin: 6px 0; }

.bft-content .bft-claim {
  color: #053a5a;
  font-weight: 700;
  font-size: 1.1em;
  margin-top: 24px;
}

.bft-content .bft-btn {
  display: inline-block;
  background: #e45a29;
  color: #fff !important;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: .4px;
  padding: 12px 22px;
  border: 2px solid #e45a29;
  border-radius: 0;
  margin-top: 12px;
}
.bft-content .bft-btn:hover { background: #fff; color: #e45a29 !important; }

@media (max-width: 600px) {
  .bft-content table { display: block; overflow-x: auto; }
}


/* ============================================================================
   16. NAGŁÓWEK W3 — menu + przycisk akcji

   Działa razem z header.php z tego motywu. Bez niego reguły są nieszkodliwe.
   ============================================================================ */

.bft-nav .navbar-collapse { align-items: center; }

.bft-nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: 20px;
  flex: none;
}

.bft-lang {
  font-size: 12px;
  letter-spacing: .8px;
  color: rgba(255, 255, 255, .75);
  white-space: nowrap;
}
.bft-lang b { color: #01aee0; font-weight: 600; }
.bft-lang a { color: rgba(255, 255, 255, .75); text-decoration: none; }
.bft-lang a:hover { color: #fff; }
.bft-lang i { font-style: normal; opacity: .45; margin: 0 2px; }

.bft-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #e45a29;
  border: 2px solid #e45a29;
  color: #fff;
  padding: 11px 18px;
  font-family: "Poppins", sans-serif;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .6px;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition: background .18s ease, color .18s ease;
}
.bft-cta:hover,
.bft-cta:focus { background: #fff; color: #e45a29; text-decoration: none; }

@media (max-width: 991px) {
  .bft-nav-right {
    margin: 16px 0 8px;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .bft-cta { justify-content: center; }
  .bft-lang { text-align: center; }
}


/* ============================================================================
   17. MENU — bez łamania nazw, ciaśniej na średnich ekranach

   Powód: „Strefa wiedzy" i „O nas" łamały się na dwie linie, przez co pasek
   rósł, a przycisk akcji był przycinany. Nazwa pozycji menu nigdy nie powinna
   się łamać — od tego jest zwijanie do hamburgera.
   ============================================================================ */

.bft-nav .navbar-nav .nav-link { white-space: nowrap; }

/* Zakres, w którym menu mieści się w jednej linii, ale ledwo.
   Zmniejszamy odstępy zamiast pozwalać na łamanie. */
@media (min-width: 992px) and (max-width: 1399px) {
  .bft-nav .navbar-nav .nav-link {
    padding-left: .55rem;
    padding-right: .55rem;
    font-size: 14px;
  }
  .bft-nav-right { gap: 12px; margin-left: 14px; }
  .bft-cta { padding: 10px 14px; font-size: 11px; letter-spacing: .4px; }
}

/* Poniżej 1200 px pełne menu i tak się nie mieści — Bootstrap zwija je
   do hamburgera dopiero przy 992 px. Ten zakres jest najciaśniejszy. */
@media (min-width: 992px) and (max-width: 1199px) {
  .bft-nav .navbar-nav .nav-link { font-size: 13px; padding-left: .4rem; padding-right: .4rem; }
  .bft-lang { display: none; }
  .bft-cta { padding: 9px 12px; }
}

/* Nic nie ma prawa wystawać poza kontener */
.bft-nav .container { overflow: visible; }
.bft-nav .navbar-collapse { flex-wrap: nowrap; }


/* ============================================================================
   18. HERO STRONY GŁÓWNEJ — wariant W2-A + W2-D

   Działa z template-parts/sections/sekcja_hero.php z tego motywu.
   Usunięcie tamtego pliku sprawia, że te reguły przestają cokolwiek robić —
   są nieszkodliwe, bo żaden element rodzica nie używa tych klas.
   ============================================================================ */

.bft-hero {
  background: #053a5a;
  color: #fff;
  padding: 72px 0 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 46px 46px;
}

/* --- nadtytuł ze znakiem pulsu --- */

.bft-hero-pre {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 11.5px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  font-weight: 600;
  color: #01aee0;
  margin: 0 0 18px;
}

.bft-pulse { display: inline-flex; gap: 3px; align-items: flex-end; height: 13px; flex: none; }
.bft-pulse i { display: block; width: 4px; background: #01aee0; }
.bft-pulse i:nth-child(odd)  { height: 13px; }
.bft-pulse i:nth-child(even) { height: 7px; }

/* --- nagłówek i tekst --- */

.bft-hero-title {
  color: #fff;
  font-size: clamp(31px, 3.5vw, 52px);
  line-height: 1.13;
  margin: 0 0 20px;
  text-wrap: balance;
}

.bft-hero-lead {
  font-size: 15.5px;
  line-height: 1.65;
  max-width: 32em;
  margin-bottom: 26px;
  color: rgba(255, 255, 255, .85);
}
.bft-hero-lead p:last-child { margin-bottom: 0; }

/* --- przyciski: prawdziwe klasy, bez atrybutów style --- */

.bft-hero-btns { display: flex; gap: 11px; flex-wrap: wrap; }

.bft-hero-btn {
  display: inline-flex;
  align-items: center;
  padding: 13px 20px;
  font-family: "Poppins", sans-serif;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .6px;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  border: 2px solid #e45a29;
  background: #e45a29;
  color: #fff;
  transition: background .18s ease, color .18s ease;
}
.bft-hero-btn:hover,
.bft-hero-btn:focus { background: #fff; color: #e45a29; text-decoration: none; }

.bft-hero-btn-ghost { background: transparent; border-color: #fff; color: #fff; }
.bft-hero-btn-ghost:hover,
.bft-hero-btn-ghost:focus { background: #fff; color: #053a5a; border-color: #fff; }

/* --- zdjęcie w narożnych klamrach --- */

.bft-hero-figure { position: relative; margin: 0; }

.bft-hero-img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* Wycinanka na przezroczystym tle (obecne cow.png) — pokazujemy w całości,
   bez kadrowania i bez klamer. aspect-ratio zostaje, żeby nie było przeskoku
   układu przy wczytywaniu. */
.bft-hero-figure.is-wycinanka .bft-hero-img {
  object-fit: contain;
  object-position: center bottom;
}

.bft-hero-cap {
  position: absolute;
  left: 0;
  bottom: 0;
  background: #053a5a;
  color: #fff;
  font-size: 10.5px;
  letter-spacing: .9px;
  text-transform: uppercase;
  padding: 7px 13px;
  z-index: 4;
}

.bft-win {
  position: absolute;
  width: 26px;
  height: 26px;
  border: 3px solid #01aee0;
  pointer-events: none;
  z-index: 3;
}
.bft-win-tl { top: 0; left: 0;  border-right: 0; border-bottom: 0; }
.bft-win-tr { top: 0; right: 0; border-left: 0;  border-bottom: 0; }
.bft-win-bl { bottom: 0; left: 0;  border-right: 0; border-top: 0; }
.bft-win-br { bottom: 0; right: 0; border-left: 0;  border-top: 0; }

/* --- oś faz doju --- */

.bft-spine { margin-top: 44px; padding-bottom: 40px; }

.bft-phases { display: flex; gap: 5px; height: 9px; }
.bft-phase  { display: block; background: rgba(255, 255, 255, .5); }
.bft-phase.is-ok  { background: #01aee0; }
.bft-phase.is-zle { background: #e45a29; }

.bft-phlab {
  display: flex;
  gap: 5px;
  font-size: 10px;
  letter-spacing: .8px;
  text-transform: uppercase;
  margin-top: 9px;
  color: rgba(255, 255, 255, .55);
}
.bft-phlab .is-zle { color: #e45a29; }

/* --- pasek dowodu --- */

.bft-proof {
  border-top: 1px solid rgba(255, 255, 255, .16);
  background: #042c45;
  padding: 28px 0 30px;
}

.bft-proof-value {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 33px;
  line-height: 1;
  color: #01aee0;
  margin: 0 0 10px;
}

.bft-proof-text {
  font-size: 12.5px;
  line-height: 1.55;
  color: rgba(255, 255, 255, .82);
  margin: 0;
}

/* --- telefon --- */

@media (max-width: 991px) {
  .bft-hero { padding-top: 48px; }
  .bft-hero-col-img { margin-top: 34px; }
  .bft-spine { margin-top: 34px; padding-bottom: 32px; }
  .bft-phlab { font-size: 9px; letter-spacing: .4px; }
  .bft-proof-item + .bft-proof-item { margin-top: 22px; }
}

@media (max-width: 575px) {
  .bft-hero-btns { flex-direction: column; align-items: stretch; }
  .bft-hero-btn { justify-content: center; }
}


/* ============================================================================
   19. SIATKA NA GRANATOWYCH SEKCJACH

   Ten sam wzór co w hero — dwa linear-gradienty po 1 px co 46 px.
   Bez obrazka i bez maski, więc kosztuje tyle co nic.

   Sekcja „w liczbach" trzyma swoją grafikę mleka w ::before, a nie w tle
   samego bloku, więc siatka jej nie nadpisuje. Sprawdzone w style.css rodzica.
   ============================================================================ */

.section-in-numbers,
.section-cta,
.bft-siatka {
  background-image:
    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 46px 46px;
}

/* Siatka pod grafiką mleka, nie nad nią */
.section-in-numbers { position: relative; }
.section-in-numbers::before { z-index: 1; }
.section-in-numbers > * { position: relative; z-index: 2; }


/* ############################################################################
   ###  20. KOMPONENTY STRON OFERTOWYCH (reużywalne: VaDia i kolejne)       ###
   ###  Reużywają tokeny --bft-* oraz komponenty .bft-pulse / .bft-phases / ###
   ###  .bft-win / .bft-siatka / .bft-hero-* / .faq-*. Prefiks .bft-lp-*    ###
   ###  = „landing/oferta". Klasy generyczne — do użycia na dowolnej stronie###
   ############################################################################ */

.bft-lp-sec { padding: 76px 0; }
.bft-lp-sec--tint { background: #f5f5f5; }
.bft-lp-sec--blue { background: var(--bft-surface); }
.bft-lp-sec--navy {
  background: var(--bft-navy);
  color: #fff;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 46px 46px;
}
.bft-lp-sec--navy h2, .bft-lp-sec--navy h3 { color: #fff; }

/* nadtytuł ze znakiem pulsu — reużywa .bft-pulse */
.bft-eyebrow {
  display: flex; align-items: center; gap: 11px;
  font-size: 11.5px; letter-spacing: 1.4px; text-transform: uppercase;
  font-weight: 600; color: var(--bft-blue); margin: 0 0 18px;
}
.bft-lp-sec--navy .bft-eyebrow { color: #01aee0; }
.bft-eyebrow--center { justify-content: center; }

.bft-lp-lead { font-size: 1.08rem; line-height: 1.6; max-width: 760px; margin: 14px 0 0; color: #333; }
.bft-lp-sec--navy .bft-lp-lead { color: rgba(255,255,255,.85); }

.bft-callout {
  margin-top: 30px; border-left: 5px solid var(--bft-orange);
  background: #f5f5f5; padding: 20px 24px; font-size: 1.05rem; font-weight: 500;
}
.bft-lp-sec--navy .bft-callout { background: #0a4a6e; color: #fff; }

/* karty */
.bft-cards { display: grid; gap: 22px; margin-top: 36px; }
.bft-cards--3 { grid-template-columns: repeat(3, 1fr); }
.bft-cards--4 { grid-template-columns: repeat(4, 1fr); }
.bft-card { border: 1px solid var(--bft-border); padding: 26px 24px; background: #fff; transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease; }
.bft-card:hover { border-color: var(--bft-blue); box-shadow: 0 8px 26px rgba(1,174,224,.1); transform: translateY(-2px); }
.bft-card h3 { color: var(--bft-navy); margin: 0 0 10px; font-size: 1.15rem; }
.bft-card p { font-size: .92rem; margin: 0; color: #3a4a55; }
.bft-card__ico { width: 46px; height: 46px; color: var(--bft-blue); margin-bottom: 14px; stroke-width: 1.7; }

/* porównanie / panele */
.bft-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 34px; }
.bft-panel { border: 1px solid var(--bft-border); padding: 26px; background: #fff; }
.bft-panel--dark { background: var(--bft-navy); color: #fff; border-color: var(--bft-navy); }
.bft-panel h3 { margin: 0 0 14px; }
.bft-panel--dark h3 { color: var(--bft-blue); }
.bft-panel ul { list-style: none; padding: 0; margin: 0; }
.bft-panel li { padding: 6px 0 6px 26px; position: relative; font-size: .95rem; }
.bft-panel li::before { content: ""; position: absolute; left: 0; top: 13px; width: 10px; height: 10px; background: var(--bft-blue); }

/* tabela (porównanie / specyfikacja) */
.bft-table { width: 100%; border-collapse: collapse; margin-top: 28px; font-size: .92rem; background: #fff; }
.bft-table th, .bft-table td { border: 1px solid var(--bft-border); padding: 12px 14px; text-align: left; }
.bft-table thead th { background: var(--bft-navy); color: #fff; font-weight: 600; }
.bft-table tbody tr:nth-child(even) { background: #f5f5f5; }
.bft-table .is-ok { color: #137a4b; font-weight: 700; }
.bft-table .is-no { color: #a33; font-weight: 600; }

/* zakładki */
.bft-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 34px; }
.bft-tab { padding: 12px 20px; border: 1px solid var(--bft-border); background: #fff; cursor: pointer; font-weight: 600; font-size: .9rem; }
.bft-tab.is-active { background: var(--bft-navy); color: #fff; border-color: var(--bft-navy); }
.bft-tabpane { display: none; border: 1px solid var(--bft-border); border-top: 3px solid var(--bft-blue); padding: 28px; background: #fff; }
.bft-tabpane.is-active { display: block; }
.bft-tabpane ul { list-style: none; margin: 14px 0; padding: 0; }
.bft-tabpane li { padding: 5px 0 5px 24px; position: relative; font-size: .94rem; }
.bft-tabpane li::before { content: "✓"; position: absolute; left: 0; color: var(--bft-blue); font-weight: 700; }
.bft-tabpane .bft-eff { margin-top: 12px; font-weight: 600; color: var(--bft-navy); }

/* proces — kroki numerowane */
.bft-steps { counter-reset: s; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 36px; }
.bft-step { border: 1px solid #12608c; background: #0a4a6e; padding: 24px; }
.bft-step::before { counter-increment: s; content: "0" counter(s); font-family: "Anton", sans-serif; font-size: 2.2rem; color: #7fd4ee; display: block; margin-bottom: 8px; }
.bft-step h3 { color: #fff; margin: 0 0 8px; font-size: 1rem; }
.bft-step p { font-size: .9rem; color: #cfe6f2; margin: 0; }

/* opinie */
.bft-quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 36px; }
.bft-quote { border: 1px solid var(--bft-border); padding: 26px; background: #fff; display: flex; flex-direction: column; }
.bft-quote p { font-size: .92rem; color: #3a4a55; flex: 1; line-height: 1.7; }
.bft-quote-a { border-top: 1px solid var(--bft-border); padding-top: 14px; }
.bft-quote-a b { color: var(--bft-navy); display: block; font-size: .9rem; }
.bft-quote-a span { color: #778; font-size: .8rem; }

/* pakiety */
.bft-pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 36px; align-items: start; }
.bft-price { border: 1px solid var(--bft-border); background: #fff; padding: 28px; }
.bft-price--pop { border: 2px solid var(--bft-orange); position: relative; box-shadow: 0 12px 34px rgba(5,58,90,.14); }
.bft-price__tag { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--bft-orange); color: #fff; font-size: .72rem; font-weight: 600; padding: 5px 14px; text-transform: uppercase; letter-spacing: 1px; }
.bft-price h3 { color: var(--bft-navy); font-size: 1.3rem; margin: 0; }
.bft-price__amt { font-family: "Anton", sans-serif; font-size: 2.1rem; color: var(--bft-navy); margin: 8px 0; }
.bft-price__amt small { font-family: "Poppins", sans-serif; font-size: .8rem; color: #678; font-weight: 400; }
.bft-price ul { list-style: none; margin: 16px 0; padding: 0; }
.bft-price li { padding: 5px 0 5px 24px; position: relative; font-size: .9rem; }
.bft-price li::before { content: "✓"; position: absolute; left: 0; color: var(--bft-blue); font-weight: 700; }
.bft-price .bft-hero-btn { width: 100%; justify-content: center; margin-top: 8px; }
.bft-startup { margin-top: 26px; border: 1px dashed var(--bft-border); padding: 20px 24px; background: #f5f5f5; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }

/* pas zdjęciowy */
.bft-photoband { position: relative; min-height: 360px; background-size: cover; background-position: center; display: flex; align-items: center; color: #fff; }
.bft-photoband::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,58,90,.9), rgba(5,58,90,.5) 55%, rgba(5,58,90,.15)); }
.bft-photoband > .container { position: relative; z-index: 1; }
.bft-photoband h2 { color: #fff; max-width: 620px; }
.bft-photoband p { color: #e7f2f8; max-width: 560px; }
.bft-photoband .bft-eyebrow { color: #7fd4ee; }

/* urządzenie + mockup VaDia Suite */
.bft-device { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: center; margin-top: 34px; }
.bft-device__photo { background: #f5f5f5; border: 1px solid var(--bft-border); padding: 20px; }
.bft-device__photo img { width: 100%; height: auto; display: block; object-fit: contain; }
.bft-device__cards { display: grid; gap: 16px; }
.bft-suite { background: var(--bft-navy); color: #fff; border: 1px solid var(--bft-border); padding: 18px; }
.bft-suite-top { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px solid rgba(255,255,255,.15); padding-bottom: 10px; margin-bottom: 12px; font-size: .82rem; color: #cfe6f2; }
.bft-suite .bft-cp { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); padding: 12px; margin-bottom: 10px; }
.bft-suite .bft-cl { display: flex; justify-content: space-between; font-size: .72rem; color: #a9c9db; margin-bottom: 6px; }
.bft-suite .bft-cp svg { width: 100%; height: 64px; display: block; }
.bft-suite-kpi { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.bft-suite-kpi div { background: #fff; color: var(--bft-navy); padding: 10px; text-align: center; }
.bft-suite-kpi b { font-family: "Anton", sans-serif; font-size: 1.15rem; display: block; line-height: 1; }
.bft-suite-kpi span { font-size: .66rem; text-transform: uppercase; letter-spacing: .05em; }

/* hero badge (na zdjęciu w klamrach) */
.bft-hero-badge { position: absolute; left: -16px; bottom: -16px; max-width: 240px; background: var(--bft-orange); color: #fff; border: 2px solid #fff; padding: 13px 16px; font-size: .86rem; font-weight: 600; box-shadow: 10px 10px 0 rgba(5,58,90,.25); z-index: 4; }

/* formularz kontaktu na granacie */
.bft-formbox { background: #fff; padding: 28px; color: var(--bft-tekst); }
.bft-formfine { list-style: none; display: flex; gap: 20px; flex-wrap: wrap; margin-top: 16px; font-size: .85rem; color: #cfe6f2; padding: 0; }
.bft-formfine li::before { content: "✓ "; color: var(--bft-blue); font-weight: 700; }

/* Strony z własnym hero (landing) chowają domyślny pasek tytułu podstrony
   (.page-title z header.php), żeby nie dublować „nagłówka".
   Klasę .bft-has-hero dokłada filtr body_class w functions.php dla wybranych
   szablonów — reużywalne dla każdej kolejnej strony ofertowej. */
.bft-has-hero .page-title { display: none; }

/* płynne przewijanie do sekcji z menu-kotwic (landing) + offset pod nagłówek */
html { scroll-behavior: smooth; }
.bft-has-hero [id] { scroll-margin-top: 90px; }

/* ---------------------------------------------------------------------------
   PASEK TYTUŁU PODSTRONY — spójny z marką (granat + siatka)
   Przeprojektowanie globalne: wszystkie podstrony (Strefa wiedzy, O nas,
   Kontakt…) dostają jednolity nagłówek zamiast białego tła z cyanowym blokiem.
   Rodzic ładowany wcześniej, więc te reguły wygrywają przy równej specyficzności.
   --------------------------------------------------------------------------- */
.page-title {
  background-color: var(--bft-navy);
  color: #fff;
  padding: 64px 0;
  margin-bottom: 64px;
  background-image:
    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 46px 46px;
}
.page-title .h1 { color: #fff; }
.page-title p { color: rgba(255, 255, 255, .82); }
.page-title-content { padding-right: 0; text-align: center; }

/* zamiast wielkiego cyanowego prostokąta — subtelny pomarańczowy akcent pod tytułem */
.page-title::before {
  top: auto;
  bottom: 22px;
  left: 50%;
  right: auto;
  transform: translateX(-50%);
  width: 60px;
  height: 5px;
  background: var(--bft-orange);
}
@media (max-width: 767px) {
  .page-title { margin-bottom: 40px; padding: 48px 0; }
}

/* pasek wiarygodności — liczby */
.bft-trust { background: var(--bft-surface); border-top: 1px solid var(--bft-border); border-bottom: 1px solid var(--bft-border); }
.bft-trust__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; padding: 34px 0; text-align: center; }
.bft-trust__num { font-family: "Anton", sans-serif; font-size: 2rem; color: var(--bft-navy); line-height: 1; }
.bft-trust__lbl { font-size: .82rem; color: #456; }
.bft-trust-note { font-size: .8rem; color: #456; text-align: center; padding: 10px 0; background: var(--bft-surface); }

/* logotypy klientów (reużywalne) */
.bft-logos { display: grid; grid-template-columns: repeat(5, 1fr); gap: 32px 24px; align-items: center; margin-top: 34px; }
.bft-logos__item { display: flex; align-items: center; justify-content: center; padding: 8px; min-height: 80px; }
.bft-logos__item img { max-height: 70px; max-width: 180px; width: auto; height: auto; object-fit: contain; filter: grayscale(20%); opacity: .9; transition: opacity .2s, filter .2s; }
.bft-logos__item img:hover { opacity: 1; filter: grayscale(0); }

/* pliki do pobrania (reużywalne) */
.bft-downloads { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 22px; }
.bft-download { display: flex; justify-content: space-between; align-items: center; gap: 12px; border: 1px solid var(--bft-border); background: #fff; padding: 16px 18px; font-weight: 600; font-size: .9rem; color: var(--bft-navy); transition: border-color .15s, box-shadow .15s; }
.bft-download:hover { border-color: var(--bft-blue); box-shadow: 0 6px 20px rgba(1, 174, 224, .1); color: var(--bft-navy); }
.bft-download .ext { color: var(--bft-orange); font-weight: 700; white-space: nowrap; }

@media (max-width: 768px) {
  .bft-logos { grid-template-columns: repeat(3, 1fr); }
  .bft-downloads { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .bft-logos { grid-template-columns: repeat(2, 1fr); }
  .bft-downloads { grid-template-columns: 1fr; }
}

@media (max-width: 991px) {
  .bft-compare, .bft-cards--3, .bft-cards--4, .bft-steps, .bft-pricing, .bft-quotes, .bft-device { grid-template-columns: 1fr; }
  .bft-trust__grid { grid-template-columns: repeat(2, 1fr); }
}
