/* PERSO.IN – strony przeniesione z Elementora (mu-plugin persoin-bez-elementora). Klasy pe-*. */
.pe-page{--pe-ink:#1A2B34;--pe-muted:#4A5C68;--pe-purple:#5B4CDB;--pe-purple-dark:#4636B8;--pe-soft:#F6F5FC;--pe-border:#E4E9EB;--pe-surface:#FAFBFC;--pe-radius:16px;--pe-gut:clamp(18px,3vw,40px);margin:0!important;padding:0!important;max-width:none!important;color:var(--pe-ink)}
.pe-page>*{margin-block:0!important}
.pe-page .pe-section,.pe-page .pe-hero{padding-inline:var(--pe-gut)!important;box-sizing:border-box}
.pe-page .pe-section>*,.pe-page .pe-hero>*{max-width:1080px!important;margin-inline:auto!important}
.pe-page .pe-section>:is(p,.wp-block-list){box-sizing:border-box;padding-right:clamp(0px,calc(100% - 760px),320px)}
.pe-page p{line-height:1.75}
.pe-page .wp-block-heading{text-wrap:balance}
.pe-page h2.wp-block-heading{font-size:clamp(1.55rem,2.6vw,2.15rem);margin:0 0 1.1rem}
.pe-page h3.wp-block-heading{font-size:1.2rem}
.pe-page a:not(.wp-element-button):not(.pe-card):not(.pe-choice-btn){color:var(--pe-purple)}
.pe-ico{width:24px;height:24px;flex:none}
.pe-center{text-align:center}
.pe-muted,.pe-muted p{color:var(--pe-muted)}

/* Hero */
.pe-hero{padding-top:clamp(40px,6vw,84px)!important;padding-bottom:clamp(34px,5vw,64px)!important;background:linear-gradient(180deg,var(--pe-soft) 0%,#fff 100%)}
.pe-hero-text>*{max-width:860px}
.pe-hero-plain .pe-hero-text{text-align:left}
.pe-hero-title{font-size:clamp(2rem,4.4vw,3.35rem)!important;line-height:1.1!important;margin:0!important;letter-spacing:-.035em}
.pe-hero .pe-lead{font-size:clamp(1.05rem,1.6vw,1.22rem);color:var(--pe-muted);margin:1.1rem 0 0;max-width:760px}
.pe-hero .pe-lead+.pe-lead{margin-top:.6rem}
.pe-hero-kicker{margin:.8rem 0 0;font-weight:700;color:var(--pe-purple)}
.pe-hero-has-media{display:grid!important;gap:clamp(24px,4vw,56px)}
.pe-hero-media{margin:0!important;max-width:1080px!important;width:100%}
.pe-hero-media img{display:block;width:100%;aspect-ratio:21/8;object-fit:cover;border-radius:var(--pe-radius)}
.pe-hl{color:inherit}.pe-hl-s{color:#E2481A}.pe-hl-p{color:#C98A00}.pe-hl-e{color:#1F9A5E}.pe-hl-r{color:#5B779A}

/* Sekcje */
.pe-section{padding-top:clamp(42px,6vw,80px)!important;padding-bottom:clamp(42px,6vw,80px)!important}
.pe-section-tight{padding-top:0!important}
.pe-section-soft{background:var(--pe-surface);border-block:1px solid var(--pe-border)}
.pe-section-cta{padding-top:0!important}
.pe-split{gap:clamp(28px,5vw,64px)!important;align-items:center!important;margin:0!important}
.pe-split+.pe-split{margin-top:clamp(36px,5vw,64px)!important}
.pe-split-text>*:first-child{margin-top:0}
.pe-split-text>*:last-child{margin-bottom:0}
.pe-photo{margin:0!important}
.pe-photo img{display:block;width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:var(--pe-radius);box-shadow:0 18px 40px -24px rgba(26,43,52,.45)}
.pe-illustration{margin:0!important}.pe-illustration img{display:block;max-width:380px;width:100%;height:auto;margin-inline:auto}

/* Karty */
.pe-cards{display:grid;gap:22px}
.pe-cards-3{grid-template-columns:repeat(3,minmax(0,1fr))}
.pe-card{display:flex;flex-direction:column;background:#fff;border:1px solid var(--pe-border);border-radius:var(--pe-radius);overflow:hidden;text-decoration:none;color:var(--pe-ink);transition:transform .15s ease,box-shadow .15s ease,border-color .15s}
.pe-card:hover{transform:translateY(-3px);box-shadow:0 18px 38px -24px rgba(26,43,52,.5);border-color:#cfd2f7}
.pe-card-img{display:block;width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:0!important}
.pe-card-body{display:flex;flex-direction:column;gap:8px;padding:20px 22px 22px;color:var(--pe-muted);font-size:.95rem;line-height:1.6;flex:1}
.pe-card-title{font-size:1.15rem;color:var(--pe-ink);letter-spacing:-.02em}
.pe-card-more{margin-top:auto;color:var(--pe-purple)}
.pe-ico-go{transform:rotate(-90deg)}

/* O nas */
.pe-info-card{display:flex;gap:20px;align-items:flex-start;max-width:760px;margin-inline:auto;background:#fff;border:1px solid var(--pe-border);border-radius:var(--pe-radius);padding:clamp(20px,3vw,32px)}
.pe-info-card p{margin:0 0 .5rem}
.pe-info-ico{display:inline-flex;align-items:center;justify-content:center;width:48px;height:48px;border-radius:12px;background:var(--pe-soft);color:var(--pe-purple);flex:none}
.pe-info-intro{color:var(--pe-muted)}
.pe-info-name{font-weight:800;font-size:1.1rem}
.pe-team{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;margin-top:28px!important}
.pe-person{margin:0;background:#fff;border:1px solid var(--pe-border);border-radius:var(--pe-radius);padding:22px;display:flex;gap:16px;align-items:flex-start}
.pe-person-photo{width:84px;height:84px;border-radius:50%!important;object-fit:cover;flex:none}
.pe-person figcaption{display:flex;flex-direction:column;gap:4px;font-size:.92rem;line-height:1.5;color:var(--pe-muted)}
.pe-person-name{font-size:1.05rem;color:var(--pe-ink)}
.pe-person-role{color:var(--pe-purple);font-weight:700}
.pe-section-soft .pe-muted{margin-top:28px!important;font-size:.95rem}

/* Kroki */
.pe-steps{list-style:none;margin:0 auto!important;padding:0;display:grid;gap:18px;max-width:860px!important;counter-reset:none}
.pe-step{display:flex;gap:20px;align-items:flex-start;background:#fff;border:1px solid var(--pe-border);border-radius:var(--pe-radius);padding:clamp(20px,3vw,30px)}
.pe-step-ico{display:inline-flex;align-items:center;justify-content:center;width:52px;height:52px;border-radius:14px;background:var(--pe-soft);color:var(--pe-purple);flex:none}
.pe-step-title{font-size:1.25rem!important;margin:0 0 .5rem!important}
.pe-step-num{color:var(--pe-purple)}
.pe-step-body p{margin:0}
.pe-actions{margin-top:8px!important}
.pe-actions-center{justify-content:center}

/* FAQ */
.pe-faq{max-width:860px;margin-inline:auto;display:grid;gap:12px}
.pe-faq-item{background:#fff;border:1px solid var(--pe-border);border-radius:14px;overflow:hidden}
.pe-faq-item[open]{border-color:#cfd2f7;box-shadow:0 12px 30px -24px rgba(26,43,52,.45)}
.pe-faq-item summary{display:flex;justify-content:space-between;align-items:center;gap:16px;cursor:pointer;list-style:none;padding:18px 22px;font-weight:750;font-size:1.05rem}
.pe-faq-item summary::-webkit-details-marker{display:none}
.pe-faq-item summary:hover{color:var(--pe-purple)}
.pe-faq-chevron{transition:transform .15s;color:var(--pe-purple)}
.pe-faq-item[open] .pe-faq-chevron{transform:rotate(180deg)}
.pe-faq-answer{padding:0 22px 20px;color:var(--pe-muted)}
.pe-faq-answer p{margin:0 0 .7rem}.pe-faq-answer>*:last-child{margin-bottom:0}

/* Listy z ikonami */
.pe-checklist{list-style:none;margin:0;padding:0;display:grid;gap:12px}
.pe-checklist li{display:flex;gap:12px;align-items:flex-start;line-height:1.6}
.pe-checklist .pe-ico{color:#1F9A5E;width:22px;height:22px;margin-top:2px}
.pe-section-soft .pe-checklist{max-width:760px;margin-inline:auto;grid-template-columns:1fr}

/* Formularz zapisu */
.pe-form{background:#fff;border:1px solid var(--pe-border);border-top:5px solid #FCB000;border-radius:var(--pe-radius);padding:clamp(22px,3vw,32px);display:flex;flex-direction:column;gap:12px;box-shadow:0 18px 40px -30px rgba(26,43,52,.5)}
.pe-form-title{font-size:1.45rem!important;margin:0 0 4px!important;line-height:1.25}
.pe-form-label{font-weight:700;font-size:.92rem}
.pe-form-input{font:inherit;padding:12px 14px;border:1px solid #cdd6de;border-radius:10px;min-height:46px;box-sizing:border-box;width:100%}
.pe-form-input:focus{border-color:var(--pe-purple);outline:3px solid rgba(91,76,219,.18);outline-offset:0}
.pe-form-check{display:flex;gap:10px;align-items:flex-start;font-size:.72rem;line-height:1.5;color:var(--pe-muted)}
.pe-form-check input{margin-top:3px;flex:none;width:16px;height:16px;accent-color:var(--pe-purple)}
.pe-form-submit{font:inherit;font-weight:750;border:0;border-radius:11px;background:var(--pe-purple);color:#fff;padding:13px 22px;cursor:pointer;align-self:flex-start}
.pe-form-submit:hover{background:var(--pe-purple-dark)}
.pe-form-wrap{max-width:520px;margin-inline:auto}

/* Osadzony formularz (iframe) */
.pe-embed{background:#fff;border:1px solid var(--pe-border);border-radius:var(--pe-radius);overflow:hidden}
.pe-embed iframe{display:block;width:100%;height:520px;border:0}

/* Autor */
.pe-author{display:flex;gap:24px;align-items:center;max-width:760px;margin-inline:auto}
.pe-author-photo{width:110px;height:110px;border-radius:50%!important;object-fit:cover;flex:none}
.pe-author p{margin:0 0 .4rem}
.pe-author-q{font-weight:800;font-size:1.1rem}

/* Zaproszenie */
.pe-letter{max-width:720px;margin-inline:auto;background:#fff;border:1px solid var(--pe-border);border-radius:var(--pe-radius);padding:clamp(24px,4vw,44px);font-size:1.08rem}
.pe-letter p{margin:0 0 1rem}.pe-letter p:last-child{margin:0}
.pe-letter-hi{font-size:1.6rem;font-weight:800;letter-spacing:-.03em}
.pe-choice{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;max-width:640px;margin:8px auto 0!important}
.pe-choice-btn{display:flex;align-items:center;justify-content:center;gap:10px;padding:18px 20px;border-radius:14px;color:#fff;font-weight:800;text-decoration:none;font-size:1.05rem;transition:filter .15s,transform .15s}
.pe-choice-btn:hover{filter:brightness(.93);transform:translateY(-2px)}
.pe-choice-e{background:#1F9A5E}.pe-choice-r{background:#5B779A}
.pe-footnote{max-width:760px;margin:28px auto 0!important;font-size:.8rem;line-height:1.6;color:var(--pe-muted)}
.pe-share{display:flex;flex-wrap:wrap;gap:10px;justify-content:center}
.pe-share a{display:inline-flex;align-items:center;gap:8px;padding:10px 16px;border:1px solid var(--pe-border);border-radius:999px;text-decoration:none;color:var(--pe-ink)!important;font-weight:700;font-size:.92rem;background:#fff}
.pe-share a:hover{border-color:var(--pe-purple);color:var(--pe-purple)!important}

/* Cytat */
.pe-quote{border-left:4px solid var(--pe-purple)!important;padding-left:20px!important;margin:0!important;font-style:italic}

@media (max-width:900px){
  .pe-cards-3,.pe-team{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:781px){
  .pe-split-reverse{flex-direction:column-reverse!important}
  .pe-split-form .pe-split-media{order:-1}
  .pe-hero-media img{aspect-ratio:16/9}
}
@media (max-width:620px){
  .pe-cards-3,.pe-team,.pe-choice{grid-template-columns:1fr}
  .pe-step{flex-direction:column;gap:12px}
  .pe-author{flex-direction:column;text-align:center}
  .pe-info-card{flex-direction:column}
}
@media (prefers-reduced-motion:reduce){.pe-card,.pe-choice-btn,.pe-faq-chevron{transition:none}}
.pe-page .pe-section>p.pe-center{padding-right:0}
.pe-page .pe-hero>.pe-hero-text{width:100%;text-align:left}
.pe-page .pe-hero-has-media{padding-bottom:0!important;background:linear-gradient(180deg,var(--pe-soft) 0%,#fff 70%)}
.pe-page .pe-section>.pe-form-wrap{max-width:560px!important}
.pe-page .pe-section>.pe-letter{max-width:720px!important}
.pe-page .pe-section>.pe-choice{max-width:640px!important}
.pe-page .pe-section>.pe-footnote{max-width:640px!important;padding-right:0;margin-inline:auto!important}
.pe-page .pe-section>.pe-faq{max-width:860px!important}
.pe-page .pe-section>.pe-author{max-width:760px!important}

/* Strony sprzedażowe i firmowe (przebudowa 1:1) */
.pe-hero-center .pe-hero-text{text-align:center!important}
.pe-hero-center .pe-hero-title{margin-inline:auto!important;max-width:900px}
.pe-landing .pe-section>.wp-block-heading.pe-center{max-width:860px!important;margin-inline:auto!important;text-align:center}
.pe-landing .pe-section>h3.wp-block-heading{max-width:860px!important;text-align:center;font-weight:600;font-size:1.15rem;line-height:1.55;color:var(--pe-muted)}
.pe-landing .pe-section>*+*{margin-top:1.4rem!important}
.pe-landing .pe-section>.pe-split+.wp-block-heading{margin-top:clamp(36px,5vw,56px)!important}
.pe-landing .pe-split .wp-block-column>*:first-child{margin-top:0}
.pe-band{text-align:center}
.pe-band>*{max-width:760px!important}
.pe-band p{font-size:1.1rem}
.pe-band>p:first-child,.pe-band>.wp-block-heading:first-child{font-size:clamp(1.35rem,2.4vw,1.8rem);font-weight:800;letter-spacing:-.025em;line-height:1.3}
.pe-band-r{background:#2F4A66;color:#fff}
.pe-band-r :is(p,li,h2,h3,strong,b){color:#fff}
.pe-band-r .pe-hl{color:#FFD166}
.pe-band-p{background:#FFF4DC}
.pe-band ul{text-align:left;display:inline-block;margin-inline:auto}
.pe-cols{display:grid!important;gap:22px;align-items:start}
.pe-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}
.pe-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}
.pe-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}
.pe-cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}
.pe-cols>.pe-col{margin:0!important;max-width:none!important}
.pe-col>*:first-child{margin-top:0}
.pe-box{height:100%;box-sizing:border-box;background:#fff;border:1px solid var(--pe-border);border-radius:var(--pe-radius);padding:22px;display:flex;flex-direction:column;gap:10px;font-size:.93rem;color:var(--pe-muted)}
.pe-box p{margin:0;line-height:1.6}
.pe-box-title{font-size:1.05rem!important;margin:0!important;color:var(--pe-ink);letter-spacing:-.015em}
.pe-box-ico{display:inline-flex;align-items:center;justify-content:center;width:46px;height:46px;border-radius:12px;background:var(--pe-soft);color:var(--pe-purple)}
.pe-tone-s{background:#FDEAE3;color:#D9481C}.pe-tone-p{background:#FFF4DC;color:#B57C00}.pe-tone-e{background:#E2F6EC;color:#1F9A5E}.pe-tone-r{background:#E8EEF5;color:#5B779A}
.pe-box .pe-card-img{border-radius:10px!important;aspect-ratio:auto}
.pe-stat{display:flex;flex-direction:column;gap:8px;text-align:center;background:#fff;border:1px solid var(--pe-border);border-radius:var(--pe-radius);padding:26px 20px;height:100%;box-sizing:border-box}
.pe-stat-num{font-size:clamp(2rem,4vw,2.8rem);font-weight:800;color:var(--pe-purple);letter-spacing:-.03em;line-height:1}
.pe-stat-label{color:var(--pe-muted);font-size:.95rem;line-height:1.5}
.pe-quote-cards{display:grid;gap:10px;margin:1rem 0}
.pe-quote-card{margin:0;padding:12px 16px;background:var(--pe-soft);border-left:4px solid var(--pe-purple);border-radius:0 10px 10px 0;font-weight:600}
.pe-quote-card p{margin:0}
.pe-iconlist .pe-ico{color:var(--pe-purple)}
.pe-landing .pe-checklist{margin-inline:auto}
.pe-landing .pe-section>.pe-checklist{box-sizing:border-box;padding-right:clamp(0px,calc(100% - 760px),320px)}
@media (max-width:900px){.pe-cols-4,.pe-cols-5{grid-template-columns:repeat(2,minmax(0,1fr))}.pe-cols-3{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:620px){.pe-cols-2,.pe-cols-3,.pe-cols-4,.pe-cols-5{grid-template-columns:1fr}}
.pe-page .pe-band>:is(p,.wp-block-list){padding-right:0!important}
.pe-landing .pe-photo img{aspect-ratio:auto;object-fit:contain}

/* /dla-firm/ (14.11.2026): wstęp sekcji, źródło w kafelku */
.pe-page .pe-section>.pe-lead{max-width:760px!important;padding-right:0;color:var(--pe-muted);margin-bottom:28px!important}
.pe-box .pe-box-src{font-size:.76rem;color:#6B7B86;margin-top:auto;padding-top:6px}
.pe-page .pe-section>.pe-checklist{margin-top:22px!important}

/* 14.11.2026: bez pustego pasa po prawej (/o-nas/, /faq/ i inne). Wcześniej akapity i listy miały prawy margines do 320 px,
   a nagłówki text-wrap: balance, więc tekst kończył się w 2/3 szerokości kart. Teraz tekst, nagłówki i karty mają jedną
   szerokość kolumny (920 px, jak podstrony motywu od 0.5.7), a nagłówki łamią się zwyczajnie. */
.pe-page .pe-section>*,.pe-page .pe-hero>*{max-width:920px!important}
.pe-page .pe-section>:is(p,.wp-block-list),.pe-landing .pe-section>.pe-checklist{padding-right:0!important}
.pe-page .wp-block-heading{text-wrap:pretty}
.pe-page .pe-section>.pe-lead,.pe-hero .pe-lead,.pe-hero-text>*{max-width:none!important}
.pe-page .pe-section>.pe-faq,.pe-page .pe-section>.pe-author,.pe-info-card,.pe-steps,.pe-section-soft .pe-checklist{max-width:920px!important}

/* 16.11.2026: ikony z krótkiego kodu [persoin_ikona] (np. /dla-firm/, /jak-to-dziala/). Strzałka w FAQ nie ma klasy pe-faq-chevron,
   więc kolor i obrót dostaje każda ikona w pytaniu. */
.pe-faq-item summary>.pe-ico{color:var(--pe-purple);transition:transform .15s}
.pe-faq-item[open] summary>.pe-ico{transform:rotate(180deg)}
@media (prefers-reduced-motion:reduce){.pe-faq-item summary>.pe-ico{transition:none}}
