/* Dodatki motywu WP: Contact Form 7, polityka prywatnosci, baner cookies. */
.wpcf7 form{margin:0}
.wpcf7-form-control-wrap{display:block}
.wpcf7 .field input,.wpcf7 .field select{width:100%}
.wpcf7-not-valid-tip{color:#9b2c1d;font-size:12px;margin-top:5px;display:block}
.wpcf7 input.wpcf7-not-valid,.wpcf7 select.wpcf7-not-valid{border-color:#9b2c1d}
.wpcf7 form .wpcf7-response-output{margin:14px 0 0;padding:11px 13px;font-size:13px;border-radius:3px;border:1px solid #cfc2b3;background:#eee5da;color:var(--ink)}
.wpcf7 form.sent .wpcf7-response-output{border-color:#4f7a4a;background:#e6efe1}
.wpcf7 form.invalid .wpcf7-response-output,.wpcf7 form.failed .wpcf7-response-output,.wpcf7 form.spam .wpcf7-response-output,.wpcf7 form.unaccepted .wpcf7-response-output{border-color:#9b2c1d;background:#f6e4e0}
.wpcf7-spinner{margin:8px auto 0;display:block}
.consent-row .wpcf7-form-control-wrap{display:block}
.consent-row .wpcf7-list-item{margin:0;display:block}
.consent-row .wpcf7-list-item label{display:flex;align-items:flex-start;gap:10px;font-size:12px;line-height:1.55;color:var(--muted);cursor:pointer}
.consent-row .wpcf7-list-item input{width:18px;height:18px;min-height:18px;flex-shrink:0;margin:2px 0 0;accent-color:var(--brown)}
.consent-row .wpcf7-list-item-label{display:block}
.form-privacy{font-size:12px;color:var(--muted);line-height:1.6;margin:4px 0 14px}
.form-privacy a{text-decoration:underline;text-underline-offset:3px}
.ak-hp{position:absolute!important;left:-9999px;width:1px;height:1px;overflow:hidden}
.wpcf7 .submit-button{width:100%}
.wpcf7 .submit-button:disabled{opacity:.7;cursor:progress}
.footer-links{display:flex;gap:18px;flex-wrap:wrap;align-items:center}
.footer-links a.footer-link{text-decoration:none}
.footer-links .footer-link:hover{text-decoration:underline}
.policy-page{padding:56px 0 72px}
.policy{max-width:820px}
.policy h1{font-size:clamp(36px,5vw,52px);line-height:1.1;margin-bottom:28px}
.policy-body h2{font-size:28px;letter-spacing:-.5px;margin:38px 0 12px}
.policy-body h3{font-size:20px;margin:24px 0 8px}
.policy-body p,.policy-body li{font-size:16px;line-height:1.75;color:var(--ink)}
.policy-body ul{padding-left:22px}
.policy-body a{text-decoration:underline;text-underline-offset:3px;color:var(--brown)}
.policy-body table{border-collapse:collapse;width:100%;font-size:14px;margin:12px 0}
.policy-body th,.policy-body td{border:1px solid var(--line);padding:9px 11px;text-align:left;vertical-align:top}
.policy-body mark{background:#ffe9a8;color:#4a3300;padding:1px 4px;border-radius:3px}
.cookie-banner{position:fixed;left:16px;right:16px;bottom:16px;z-index:50;max-width:760px;margin-inline:auto;background:var(--paper);border:1px solid var(--line);border-radius:8px;box-shadow:0 12px 40px #30201130;padding:18px 20px;max-height:calc(100vh - 32px);overflow:auto}
.cookie-banner p{margin:0;font-size:13px;line-height:1.6;color:var(--ink)}
.cookie-banner a{text-decoration:underline;text-underline-offset:2px}
.cookie-actions{display:flex;gap:10px;flex-shrink:0}
.cookie-actions .button{min-height:44px;padding:10px 20px}
@media(max-width:600px){.cookie-main{flex-direction:column;align-items:stretch;gap:14px}.cookie-actions{flex-wrap:wrap}.cookie-actions .button{flex:1 1 140px}}

/* ===== Sekcje budowane z blokow edytora (edycja wizualna) ===== */
.wp-block-buttons,.wp-block-button,figure.wp-block-image{margin:0}
.wp-block-image img{display:block}
.wp-block-group>p.hero-description,.wp-block-group>p.form-intro{margin-bottom:inherit}

/* przyciski (blok Przycisk) */
.wp-block-button__link{display:inline-flex;align-items:center;justify-content:center;padding:14px 26px;border:1px solid var(--ink);border-radius:4px;line-height:1.4;font-size:14px;font-weight:600;min-height:49px;color:var(--ink);background:transparent;text-decoration:none;transition:background .2s;cursor:pointer}
.wp-block-button__link:hover{background:var(--sand)}
.wp-block-button.primary .wp-block-button__link{background:var(--brown);border-color:var(--brown);color:#fff}
.wp-block-button.primary .wp-block-button__link:hover{background:#72482f;border-color:#72482f}
.wp-block-button.consultation-button .wp-block-button__link{border-radius:999px;padding:18px 29px;font-size:16px;box-shadow:0 8px 20px #5a321418;min-height:57px}
.hero-actions.wp-block-buttons{display:flex;gap:20px;align-items:center;flex-wrap:wrap}
.closing-actions.wp-block-buttons{display:flex;justify-content:center}
.closing-grid .consultation-button .wp-block-button__link{font-size:15px}

/* hero */
.hero .eyebrow::before{content:"";width:20px;height:20px;flex-shrink:0;background:currentColor;-webkit-mask:var(--ico-shield) center/contain no-repeat;mask:var(--ico-shield) center/contain no-repeat}
:root{--ico-shield:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m12 3 7 3v6c0 4-7 8-7 8S5 16 5 12V6l7-3Z'/%3E%3Cpath d='m8 11 3 3 5-5'/%3E%3C/svg%3E")}
.hero-note::before{content:"\2713";color:var(--brown)}
.hero-note{margin-bottom:0}
.portrait-frame figure{height:100%}
.portrait-frame figure,.about-visual figure{height:100%}
.cap-name,.cap-sub{margin:0}
.cap-sub{font-size:12px;color:var(--muted)}
.photo-label p{margin:0;font-size:12px;letter-spacing:1.5px;color:var(--muted)}
.image-tag{margin:0}

/* kontakt */
.contact-person p{margin:0}
.contact-person .cp-role{font-size:12px;color:#deccbf}
.contact-person figure{flex-shrink:0}
.direct-contact p{margin:0}
.direct-contact a{color:var(--cream)}
.contact-card>p.form-intro{margin-bottom:20px}

/* pasek wartosci */
.value-number,.value-text{margin:0}
.value-number{font-family:var(--serif);font-size:37px;color:var(--caramel);font-style:italic;line-height:1.6}
.value-text strong{font-weight:400;color:var(--muted)}

/* kafelki */
.needs-grid{counter-reset:need}
.need-card{counter-increment:need;display:block;cursor:pointer;outline-offset:3px}
.need-card::before{content:"";display:block;width:31px;height:31px;margin-bottom:24px;background:var(--brown);-webkit-mask:var(--need-ico) center/contain no-repeat;mask:var(--need-ico) center/contain no-repeat}
.need-title{font-family:var(--serif);font-size:26px;font-weight:400;line-height:1.2;margin:0 0 12px;letter-spacing:-.3px}
.need-title::after{content:"0" counter(need);position:absolute;top:27px;right:22px;font-family:var(--sans);font-size:12px;color:var(--muted);letter-spacing:0}
.need-card>p.need-desc{display:block;font-size:14px;color:var(--muted);line-height:1.6;min-height:44px;margin:0}
.need-card>p.need-desc::after{content:"Wybrany temat  \2713";display:block;margin-top:21px;padding-top:10px;border-top:1px solid #cbb9a5;font-size:12px;letter-spacing:.2px;color:var(--brown);visibility:hidden}
.need-card[aria-pressed=true]>p.need-desc::after{visibility:visible}
.need-card>p.card-extra{display:none}
.need-card:nth-child(1){--need-ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4 15 12-10 12 10M8 12v15h16V12M13 27V17h6v10'/%3E%3C/svg%3E")}
.need-card:nth-child(3){--need-ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4 15 12-10 12 10M8 12v15h16V12M13 27V17h6v10'/%3E%3C/svg%3E")}
.need-card:nth-child(2){--need-ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 27V5h20v22M3 27h26M10 10h4m4 0h4M10 16h4m4 0h4M13 27v-6h6v6'/%3E%3C/svg%3E")}
.need-card:nth-child(4){--need-ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 12a10 10 0 0 1 18-3M25 4v6h-6M25 20A10 10 0 0 1 7 23M7 28v-6h6'/%3E%3C/svg%3E")}
.need-card:nth-child(5){--need-ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 27 13-13m-5-9 3-3 12 12-3 3L13 5ZM4 22l6 6M21 9l-4 4'/%3E%3C/svg%3E")}
.need-card:nth-child(6){--need-ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 8h24v17H4zM4 13h24M20 20h4M7 5h17'/%3E%3C/svg%3E")}
.topic-description{margin:0}
.text-link-p{margin:0}
.text-link-p a{font-size:14px;font-weight:600;border-bottom:1px solid currentColor;padding-bottom:4px;white-space:nowrap;display:inline-block;line-height:1.5;color:var(--ink)}
.text-link-p a:hover{color:var(--brown)}
.faq-grid .text-link-p{margin-top:15px}
.faq-grid>div>p.text-link-p{display:block}
.topic-detail .text-link-p{flex-shrink:0}

/* wspolpraca */
.process-card{border-top:1px solid var(--line);padding-top:22px}
.process-grid .step-label{display:flex;gap:14px;align-items:center;font-family:var(--sans);font-size:12px;letter-spacing:1.8px;color:var(--muted);line-height:1.2;margin:0}
.process-grid{counter-reset:proc}
.process-card{counter-increment:proc}
.process-grid .step-label::before{content:"0" counter(proc);font-family:var(--serif);font-size:33px;color:var(--brown);letter-spacing:0}

/* FAQ (blok Szczegoly) */
.faq-list details{border-bottom:1px solid var(--line)}
.faq-list summary{display:flex;align-items:center;justify-content:space-between;gap:24px;cursor:pointer;list-style:none;font-size:15px;line-height:1.6;padding:22px 0}
.faq-list summary::after{content:"";width:16px;height:16px;flex-shrink:0;background:linear-gradient(var(--brown),var(--brown)) center/100% 1px no-repeat,linear-gradient(var(--brown),var(--brown)) center/1px 100% no-repeat}
.faq-list details[open] summary::after{background-size:100% 1px,0 0}

/* zamkniecie */
.closing-grid>div:last-child{display:flex;flex-direction:column;align-items:center;gap:14px}

@media(max-width:820px){
 .need-title{font-size:25px}
 .photo-label p{font-size:12px}
 .hero-actions.wp-block-buttons{gap:16px}
}
@media(max-width:600px){
 .hero .eyebrow::before{width:16px;height:16px}
 .hero-actions .wp-block-button,.hero-actions .wp-block-button__link{width:100%}
 .hero-actions .consultation-button .wp-block-button__link{font-size:16px;padding:16px 17px;min-height:55px}
 .closing-grid .wp-block-buttons,.closing-grid .wp-block-button,.closing-grid .wp-block-button__link{width:100%}
 .closing-grid .consultation-button .wp-block-button__link{font-size:15px}
 .photo-label p{font-size:11px;letter-spacing:.4px}
 .need-card::before{width:27px;height:27px;margin-bottom:18px}
 .need-title{font-size:22px;min-height:56px;letter-spacing:-.45px}
 .need-title::after{top:23px;right:14px}
 .need-card>p.need-desc{font-size:13px;min-height:62px}
 .need-card>p.need-desc::after{margin-top:15px}
 .process-card{padding-top:16px}
 .process-grid .step-label::before{font-size:29px}
 .value-number{font-size:26px;line-height:1}
 .value-text br{display:none}
 .text-link-p a{font-size:13px}
 .faq-list summary{padding:21px 0;gap:18px}
}

/* Strona podziekowania */
.thanks-page{padding:88px 0 112px;text-align:center}
.thanks{max-width:680px}
.thanks h1{font-size:clamp(36px,5.5vw,56px);line-height:1.1;margin:0 0 20px}
.thanks p{font-size:18px;line-height:1.7;color:var(--ink)}
.thanks .eyebrow{margin-bottom:14px}
.thanks .wp-block-buttons{justify-content:center;margin-top:30px}
@media(max-width:600px){.thanks-page{padding:56px 0 72px}.thanks p{font-size:16px}}
.thanks .eyebrow{text-align:center;display:block}

/* Baner cookies: kategorie */
.cookie-banner{max-width:820px}
.cookie-main{display:flex;gap:20px;align-items:center}
.cookie-actions{flex-wrap:wrap;justify-content:flex-end}
.cookie-prefs-title{font-weight:700;margin-bottom:6px!important}
.cookie-prefs .ck-row{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:12px 0;border-top:1px solid var(--line);cursor:pointer}
.cookie-prefs .ck-text{display:flex;flex-direction:column;gap:2px;font-size:14px}
.cookie-prefs .ck-text small{font-size:12.5px;color:var(--muted);line-height:1.5}
.cookie-prefs input[type=checkbox]{width:22px;height:22px;flex-shrink:0;accent-color:var(--brown)}
.cookie-prefs .cookie-actions{margin-top:12px;padding-top:14px;border-top:1px solid var(--line)}
.cookie-actions .primary{color:#fff}
/* ===== Wyrownanie odstepow do wizki (2026-10-23, eid 36889) ===== */
.wp-block-button.consultation-button{padding:0;min-height:0;background:none;border:0;box-shadow:none;border-radius:0}
.process-grid .step-label{min-height:53px}
.process-card h3{margin:14px 0}
.need-card{padding-bottom:33px}
.faq-list summary{min-height:70px;box-sizing:border-box}
.hero .hero-title{margin-bottom:27px}
.wp-block-group>p.hero-description{margin-bottom:30px}
.about-copy>p.text-link-p{margin-bottom:0}
@media(max-width:600px){.process-grid .step-label{min-height:46px}.process-card h3{margin:8px 0 11px}.hero .hero-title{margin-bottom:21px}.wp-block-group>p.hero-description{margin-bottom:23px}.hero .eyebrow{margin-bottom:19px}.hero-visual{padding-bottom:12px}}
@media(min-width:601px){.contact-copy>p:not(.eyebrow){margin-bottom:16px}.contact-copy .contact-person{margin:27px 0 19px}.contact-copy .direct-contact{margin-bottom:23px}}
