/* Dodatki do istniejących komponentów Praktyka Human+AI. */
.b2b-page .b2b-order-banner {
    padding: 9px 16px;
    background: var(--forest);
    color: var(--paper);
    text-align: center;
    font-size: 14px;
    line-height: 1.4;
}

.b2b-page .hero-sec { padding-top: calc(var(--header-h) + 38px); }
.b2b-page #hero-title { max-width: 12ch; }
.b2b-page .b2b-hero-team { display: block; }
.b2b-page #nav-bar .nav-link { font-size: 14px; }
.b2b-page #nav-bar nav > div > ul { gap: 20px; }
.b2b-page .b2b-nav-cta { font-size: 14px; }
.b2b-page .b2b-note { font-size: 14px; line-height: 1.55; }
.b2b-page .b2b-confirm { color: #734500; background: #fff2ce; padding: 10px 14px; border: 1px solid #d9bf79; }
.b2b-page .b2b-note.b2b-confirm { margin-top: 20px; }
.b2b-page .b2b-benefits-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.b2b-page .b2b-benefits-grid .aud-card { color: var(--ink); border-color: var(--rule); background: var(--paper); }
.b2b-page .b2b-benefits-grid .aud-title { color: var(--ink); }
.b2b-page .b2b-benefits-grid .aud-desc { color: var(--ink-2); }
.b2b-page .b2b-benefits-grid .glyph { color: var(--forest); }
.b2b-page .b2b-benefits-grid .aud-no { display: none; }

.b2b-calculator { padding: clamp(24px, 5vw, 64px); }
.b2b-calculator > * { position: relative; }
.b2b-calculator .b2b-confirm { margin: 20px 0 32px; width: fit-content; }
.b2b-seat-heading { display: flex; justify-content: space-between; gap: 20px; align-items: center; margin-bottom: 24px; }
.b2b-seat-heading label { font-size: 18px; }
.b2b-seat-heading output { font-family: 'PX Grotesk', sans-serif; font-size: 48px; font-variant-numeric: tabular-nums; line-height: 1; }
.b2b-seat-heading output small { font-family: 'Inter', sans-serif; font-size: 16px; color: var(--on-dark-2); }
.b2b-range-controls { display: grid; grid-template-columns: 48px minmax(0, 1fr) 48px; align-items: center; gap: 16px; }
.b2b-step-button { width: 48px; height: 48px; border: 1px solid #789289; color: var(--paper); background: transparent; font-size: 28px; cursor: pointer; }
.b2b-step-button:hover { background: #294d41; }
.b2b-step-button:disabled { opacity: .4; cursor: default; }
#b2b-seats { appearance: none; -webkit-appearance: none; width: 100%; height: 48px; background: transparent; cursor: pointer; margin: 0; }
#b2b-seats::-webkit-slider-runnable-track { height: 4px; background: linear-gradient(to right, var(--malachite) var(--range-fill), #8ba198 var(--range-fill)); }
#b2b-seats::-webkit-slider-thumb { -webkit-appearance: none; width: 44px; height: 44px; margin-top: -20px; border: 8px solid var(--forest); border-radius: 50%; background: var(--malachite); box-shadow: 0 0 0 1px var(--malachite); }
#b2b-seats::-moz-range-track { height: 4px; background: #8ba198; }
#b2b-seats::-moz-range-progress { height: 4px; background: var(--malachite); }
#b2b-seats::-moz-range-thumb { box-sizing: border-box; width: 44px; height: 44px; border: 8px solid var(--forest); border-radius: 50%; background: var(--malachite); box-shadow: 0 0 0 1px var(--malachite); }
.b2b-range-labels { display: flex; justify-content: space-between; margin: 8px 64px 0; font-size: 14px; color: var(--on-dark-2); }
.b2b-range-labels span:last-child { color: var(--malachite); }

.b2b-contact-column { padding: clamp(24px, 3vw, 40px); min-width: 0; }
.b2b-contact-column + .b2b-contact-column { border-left: 1px solid var(--rule); }
.b2b-contact-form { display: grid; gap: 18px; }
/* Ramka Pipedrive jest zawsze biała i nie ma górnego marginesu, więc dajemy go z zewnątrz. */
.b2b-pd-embed { background: #fff; border: 1px solid var(--rule); border-radius: 14px; padding: 20px 8px 8px; margin-bottom: 20px; }
.b2b-pd-embed .pipedriveWebForms { min-height: 640px; }
.b2b-field { display: grid; gap: 7px; font-size: 15px; }
.b2b-field input, .b2b-field textarea, .b2b-field select { min-width: 0; width: 100%; border: 1px solid #92a397; padding: 12px; border-radius: 0; background: #fff; color: var(--ink); font: 400 16px/1.45 'Inter', sans-serif; }
.b2b-contact-form .btn { width: 100%; min-height: 48px; }
.b2b-contact-form .b2b-confirm { margin: 0; }
.b2b-form-status { font-size: 15px; line-height: 1.5; }
.b2b-form-status[data-state='error'] { color: #a12b20; }
.b2b-form-status[data-state='success'] { color: #17753a; }
.b2b-salesperson + .b2b-salesperson { border-top: 1px solid var(--rule); margin-top: 28px; padding-top: 28px; }
.b2b-sales-photo { width: 84px; height: 104px; object-fit: cover; object-position: center top; margin-bottom: 16px; filter: grayscale(1); }
.b2b-photo-placeholder { display: flex; align-items: center; justify-content: center; width: 84px; height: 104px; background: #e5ebe5; border: 1px solid var(--rule); font-size: 12px; text-align: center; line-height: 1.4; margin-bottom: 16px; padding: 8px; }
.b2b-salesperson h4 { font: 500 20px/1.25 'PX Grotesk', sans-serif; margin-bottom: 12px; }
.b2b-contact-value { display: inline-block; color: var(--forest); text-decoration: underline; text-underline-offset: 4px; padding-block: 12px; overflow-wrap: anywhere; }
.b2b-contact-column .b2b-note { overflow-wrap: anywhere; }
.b2b-reveal-contact { font-size: 15px; min-height: 44px; padding: 10px 14px; }
.b2b-individual { padding: 24px clamp(20px, 3vw, 40px); border: 1px solid var(--rule); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.b2b-individual h2 { font: 500 24px/1.2 'PX Grotesk', sans-serif; margin-bottom: 8px; }
.b2b-individual p { font-size: 16px; color: var(--ink-2); }
.b2b-individual .btn { flex-shrink: 0; font-size: 15px; }
.b2b-page .b2b-final-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.b2b-page .b2b-start-notice { margin-bottom: 16px; font-size: 16px; color: var(--on-dark-2); }
.b2b-page [hidden] { display: none !important; }
.b2b-page :focus-visible { outline: 3px solid #17753a; outline-offset: 4px; }
.b2b-page .surface-forest :focus-visible, .b2b-page .surface-ink :focus-visible { outline-color: var(--malachite); }

@media (max-width: 1199px) {
    .b2b-page #nav-bar nav > div > ul { display: none; }
    .b2b-page #menu-toggle { position: static; width: 44px; height: 44px; overflow: visible; clip: auto; display: inline-flex !important; }
    .b2b-page #nav-open:checked ~ #mobile-menu { display: block !important; }
}

@media (max-width: 767px) {
    .b2b-page .b2b-nav-cta { max-width: 147px; white-space: normal; text-align: center; font-size: 14px; line-height: 1.25; min-height: 48px; padding-inline: 8px; }
    .b2b-page #nav-bar nav > div { gap: 8px; }
    .b2b-page #nav-bar nav img { max-width: 96px; height: auto; }
    .b2b-page .hero-sec { padding-top: calc(var(--header-h) + 36px); }
    .b2b-page .b2b-order-banner { font-size: 12px; }
    .b2b-page .b2b-benefits-grid { grid-template-columns: 1fr; }
    .b2b-page .pace-panel .grid { grid-template-columns: minmax(0, 1fr); }
    .b2b-page .pace-panel .grid > div { min-width: 0; }
    .b2b-page .seg-btn { min-width: 0; white-space: normal; text-align: center; }
    .b2b-calculator { padding: 28px 20px; }
    .b2b-seat-heading output { font-size: 40px; white-space: nowrap; }
    .b2b-seat-heading label { font-size: 16px; }
    .b2b-range-controls { gap: 12px; }
    .b2b-range-labels { margin-inline: 60px; }
    .b2b-individual { flex-direction: column; align-items: stretch; }
    .b2b-individual .btn { text-align: center; white-space: normal; padding-block: 12px; }
    .b2b-page .b2b-final-actions .btn { width: 100%; text-align: center; white-space: normal; }
}

.b2b-contact-person { display: grid; grid-template-columns: minmax(130px, .8fr) minmax(0, 1fr); align-items: center; gap: 8px 16px; padding: 12px 0; border-bottom: 1px solid var(--rule); }
.b2b-contact-person h4 { font: 500 19px/1.25 'PX Grotesk', sans-serif; margin: 0; }
.b2b-contact-person-links { display: grid; min-width: 0; }
.b2b-contact-person a { display: flex; align-items: center; min-height: 44px; width: fit-content; max-width: 100%; overflow-wrap: anywhere; text-decoration: underline; text-underline-offset: 4px; font-size: 15px; }
.b2b-field select { appearance: none; padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23172c25' stroke-width='1.5'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }

/* Nav i hero: oznaczenie strony dla firm. */
.b2b-nav-badge { margin-left: 12px; padding: 4px 9px; border: 1px solid var(--forest); color: var(--forest); font: 500 13px/1.2 'Inter', sans-serif; letter-spacing: .02em; white-space: nowrap; }

/* Cennik: lewa kolumna to wybór, prawa to karta ceny. */
.b2b-calculator-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.b2b-calculator-grid > * { min-width: 0; }
.b2b-calc-controls h2 { max-width: 16ch; }
.b2b-seat-block { margin-top: clamp(32px, 4vw, 48px); }
.b2b-block-label { display: block; margin-bottom: 14px; font-size: 15px; color: var(--on-dark-2); }
.b2b-tiers-block { margin-top: 36px; }
.b2b-discount-tiers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
.b2b-tier { display: grid; gap: 4px; width: 100%; height: 100%; padding: 12px; text-align: left; border: 1px solid #5d7a6e; background: transparent; color: var(--on-dark); cursor: pointer; transition: border-color .15s, background-color .15s; }
.b2b-tier:hover { border-color: var(--malachite); }
.b2b-tier[aria-pressed='true'] { border-color: var(--malachite); background: #68e78c1f; box-shadow: inset 0 0 0 1px var(--malachite); }
.b2b-tier-range { font-size: 13px; color: var(--on-dark-2); }
.b2b-tier strong { font: 500 20px/1.2 'PX Grotesk', sans-serif; font-variant-numeric: tabular-nums; }
.b2b-tier-rate { font-size: 13px; color: var(--malachite); }
.b2b-packages { margin: 36px 0 0; padding: 0; border: 0; min-width: 0; }
.b2b-packages legend { padding: 0; }
.b2b-package-option { display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; gap: 14px; align-items: start; padding: 18px 20px; border: 1px solid #5d7a6e; cursor: pointer; transition: border-color .15s, background-color .15s; }
.b2b-package-option + .b2b-package-option { margin-top: 10px; }
.b2b-package-option:hover { border-color: var(--malachite); }
.b2b-package-option:has(input:checked) { border-color: var(--malachite); background: #68e78c14; box-shadow: inset 0 0 0 1px var(--malachite); }
.b2b-package-option input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--malachite); }
.b2b-package-body strong { display: block; font: 500 20px/1.25 'PX Grotesk', sans-serif; color: var(--on-dark); }
.b2b-package-body small { display: block; margin-top: 6px; font-size: 15px; line-height: 1.5; color: var(--on-dark-2); }
.b2b-package-price { font-size: 15px; font-weight: 500; color: var(--malachite); white-space: nowrap; padding-top: 3px; font-variant-numeric: tabular-nums; }

.b2b-price-card { position: sticky; top: calc(var(--header-h, 72px) + 24px); background: var(--paper); color: var(--ink); padding: clamp(24px, 3vw, 40px); }
.b2b-price-kicker { font-size: 15px; color: var(--ink-2); }
.b2b-unit-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin-top: 12px; }
.b2b-unit-row s { font-size: 20px; color: var(--ink-3, #6b7b73); text-decoration-thickness: 2px; }
.b2b-unit-row strong { font: 500 clamp(36px, 3.4vw, 48px)/1.05 'PX Grotesk', sans-serif; letter-spacing: -.03em; font-variant-numeric: tabular-nums; color: var(--forest); }
.b2b-unit-row span { font-size: 15px; color: var(--ink-2); }
.b2b-saving { display: inline-block; margin-top: 12px; padding: 5px 10px; background: #dff7e5; color: #11602f; font-size: 14px; font-weight: 500; }
.b2b-total-row { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--rule); }
.b2b-total-label { font-size: 15px; color: var(--ink-2); }
.b2b-total { margin-top: 4px; font: 500 clamp(28px, 2.6vw, 36px)/1.15 'PX Grotesk', sans-serif; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.b2b-total small { font: 400 15px/1.4 'Inter', sans-serif; letter-spacing: normal; color: var(--ink-2); }
.b2b-gross { margin-top: 2px; font-size: 14px; color: var(--ink-2); }
.b2b-tier-hint { margin-top: 16px; font-size: 14px; line-height: 1.5; color: #11602f; }
.b2b-custom-title { margin-top: 12px; font: 500 26px/1.25 'PX Grotesk', sans-serif; color: var(--forest); }
.b2b-custom-copy { margin-top: 12px; font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.b2b-price-card .b2b-enquire { width: 100%; margin-top: 24px; min-height: 52px; padding: 12px 16px; text-align: center; justify-content: center; }
.b2b-card-facts { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 16px; margin-top: 12px; font-size: 14px; color: var(--ink-2); }
.b2b-card-facts span + span::before { content: '·'; margin-right: 16px; }
.b2b-includes { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--rule); }
.b2b-includes h3 { font: 500 20px/1.2 'PX Grotesk', sans-serif; margin-bottom: 16px; }
.b2b-includes ul { display: grid; gap: 10px; }
.b2b-includes li { display: flex; gap: 10px; font-size: 15px; line-height: 1.45; }
.b2b-includes li::before { content: '✓'; color: #17753a; flex-shrink: 0; }
.b2b-campus-includes { margin-top: 20px; padding-top: 16px; border-top: 1px dashed var(--rule); }
.b2b-campus-includes h4 { font: 500 16px/1.3 'PX Grotesk', sans-serif; margin-bottom: 10px; color: #11602f; }

/* Zapytanie: formularz po lewej, „co dalej” i kontakty po prawej. */
.b2b-contact-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); border: 1px solid var(--rule); }
.b2b-contact-column h3 { font: 500 24px/1.2 'PX Grotesk', sans-serif; margin-bottom: 20px; }
.b2b-contact-form { gap: 16px; }
.b2b-quote-summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 16px; background: #eef4ee; border: 1px solid var(--rule); }
.b2b-quote-summary p { display: grid; gap: 2px; min-width: 0; }
.b2b-quote-summary-label { font-size: 13px; color: var(--ink-2); }
.b2b-quote-summary strong { font-weight: 500; font-size: 16px; }
.b2b-quote-summary a { flex-shrink: 0; color: var(--forest); text-decoration: underline; text-underline-offset: 4px; font-size: 15px; min-height: 44px; display: inline-flex; align-items: center; }
.b2b-field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.b2b-field textarea { min-height: 96px; resize: vertical; }
.b2b-message summary { cursor: pointer; width: fit-content; min-height: 44px; display: flex; align-items: center; font-size: 15px; color: var(--forest); text-decoration: underline; text-underline-offset: 4px; }
.b2b-message[open] summary { margin-bottom: 8px; }
.b2b-privacy { font-size: 12.5px; line-height: 1.55; color: var(--ink-2); }
.b2b-privacy a { text-decoration: underline; text-underline-offset: 3px; }
.b2b-next-steps { display: grid; gap: 16px; margin: 0 0 36px; padding: 0; list-style: none; counter-reset: b2b-step; }
.b2b-next-steps li { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 2px 12px; counter-increment: b2b-step; }
.b2b-next-steps li::before { content: counter(b2b-step); grid-row: span 2; display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; background: var(--forest); color: var(--paper); font: 500 15px/1 'PX Grotesk', sans-serif; }
.b2b-next-steps strong { font: 500 17px/1.3 'PX Grotesk', sans-serif; }
.b2b-next-steps span { font-size: 15px; color: var(--ink-2); line-height: 1.45; }
.b2b-direct-title { padding-top: 28px; border-top: 1px solid var(--rule); }
.b2b-team-column .b2b-direct-title { margin-bottom: 6px; }
.b2b-team-column [data-b2b-contacts] { margin-top: 12px; }
.b2b-team-column .b2b-contact-person { grid-template-columns: minmax(0, 1fr); gap: 0; padding: 10px 0; }
.b2b-team-column .b2b-contact-person:last-child { border-bottom: 0; }
.b2b-team-column .b2b-contact-person h4 { font-size: 17px; }
.b2b-team-column .b2b-contact-person-links { display: flex; flex-wrap: wrap; gap: 0 18px; }
.b2b-team-column .b2b-contact-person a { min-height: 36px; font-size: 14px; color: var(--ink-2); }

@media (max-width: 1023px) {
    .b2b-calculator-grid { grid-template-columns: minmax(0, 1fr); }
    .b2b-price-card { position: static; }
    .b2b-contact-grid { grid-template-columns: minmax(0, 1fr); }
    .b2b-contact-column + .b2b-contact-column { border-left: 0; border-top: 1px solid var(--rule); }
}
@media (max-width: 767px) {
    .b2b-page .b2b-nav-badge { margin-left: 8px; padding: 3px 6px; font-size: 11px; }
    .b2b-discount-tiers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .b2b-package-option { grid-template-columns: 22px minmax(0, 1fr); padding: 16px; }
    .b2b-package-price { grid-column: 2; padding-top: 0; }
    .b2b-package-body strong { font-size: 18px; }
    .b2b-field-row { grid-template-columns: minmax(0, 1fr); }
    .b2b-card-facts { flex-direction: column; align-items: center; }
    .b2b-card-facts span + span::before { content: none; }
    .b2b-contact-person-links { grid-template-columns: minmax(0, 1fr); }
}
