/*
Theme Name: Twój Ekspert
Theme URI: https://www.twojekspert.pl/
Author: Twój Ekspert Sp. z o.o.
Description: Minimalistyczny motyw agencji ubezpieczeniowej Twój Ekspert (Kraków i Przemyśl). Strony ubezpieczeń, formularze z ochroną przed botami (powiadomienia na biuro@twojekspert.pl), poradnik, Strefa Klienta, bezpieczne dokumenty. Zgodny z Elementorem.
Version: 1.8.1
Requires at least: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: twojekspert
*/

/* ---------- Czcionka (lokalnie, bez Google Fonts) ---------- */
@font-face{font-family:'Inter Variable';font-style:normal;font-display:swap;font-weight:100 900;src:url(assets/fonts/inter-latin-ext-wght-normal.woff2) format('woff2-variations');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Inter Variable';font-style:normal;font-display:swap;font-weight:100 900;src:url(assets/fonts/inter-latin-wght-normal.woff2) format('woff2-variations');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}

:root{
  --te-ink:#1d1d1f; --te-ink-2:#424245; --te-muted:#636366; --te-muted-2:#6e6e73;
  --te-line:#d2d2d7; --te-line-2:#e5e5ea; --te-soft:#f5f5f7; --te-soft-2:#e8e8ed;
  --te-accent:#1d4ed8; --te-accent-dark:#1e3a8a; --te-accent-soft:#e8eefc; --te-on-dark-link:#8ab4ff;
  --te-green:#16835f; --te-green-soft:#e8f5ee;
  --te-radius:28px; --te-radius-s:18px;
  --te-ease:cubic-bezier(.2,.7,.2,1);
  --te-font:'Inter Variable',Inter,system-ui,-apple-system,'Segoe UI',Roboto,sans-serif;
}

/* ---------- Podstawy ---------- */
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
h1,h2,h3,h4{line-height:1.15}
body{margin:0;background:#fff;color:var(--te-ink);font-family:var(--te-font);font-size:17px;line-height:1.5;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}
img{max-width:100%;height:auto}
a{color:var(--te-accent);text-decoration:none}
a:hover{color:var(--te-accent-dark);text-decoration:underline}
input,select,button,textarea{font:inherit}
a,button{transition:color .2s ease,background-color .2s ease,box-shadow .25s ease,transform .2s ease,opacity .2s ease}
button:active,.te-btn:active{transform:scale(.97)}
:focus-visible{outline:3px solid var(--te-accent);outline-offset:2px}
.screen-reader-text{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(1px,1px,1px,1px);white-space:nowrap}
.te-skip{position:absolute;left:-9999px;top:8px;z-index:100;background:#000;color:#fff;padding:10px 16px;border-radius:10px}
.te-skip:focus{left:8px}

/* ---------- Układ ---------- */
.te-wrap{max-width:1120px;margin:0 auto;padding:0 24px}
.te-wrap--narrow{max-width:880px}
.te-section{padding:120px 0}
.te-section--tight{padding:0 0 120px}
.te-section--soft{background:var(--te-soft)}
.te-section--dark{background:#000;color:#f5f5f7}
.te-center{text-align:center}
.te-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(var(--te-min,300px),1fr));gap:var(--te-gap,20px)}
.te-split{display:flex;flex-wrap:wrap;gap:56px;align-items:flex-start}
.te-split__main{flex:999 1 560px;min-width:0;display:flex;flex-direction:column;gap:20px}
.te-split__side{flex:1 1 340px}

/* ---------- Typografia ---------- */
.te-h2{font-size:clamp(36px,5vw,56px);line-height:1.07;letter-spacing:-.035em;font-weight:700;margin:0}
.te-h2--m{font-size:clamp(32px,4.5vw,48px);line-height:1.08}
.te-h2--s{font-size:clamp(28px,3.6vw,40px);line-height:1.1;letter-spacing:-.03em}
.te-h3{font-size:28px;line-height:1.15;letter-spacing:-.025em;font-weight:700;margin:0}
.te-intro{font-size:21px;line-height:1.4;color:var(--te-ink-2);max-width:640px;margin:18px auto 56px}
.te-kicker{font-size:15px;font-weight:600;color:var(--te-accent);margin:0 0 10px}
.te-label{font-size:12px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--te-muted);margin:0}
.te-muted{color:var(--te-muted)}

/* ---------- Hero ---------- */
.te-hero{text-align:center;padding:clamp(40px,5vw,64px) 24px 72px}
.te-hero__kicker{font-size:17px;font-weight:600;color:var(--te-muted);margin:0 0 16px;letter-spacing:0;line-height:1.4}
.te-hero__title{font-size:clamp(44px,7vw,84px);line-height:1.04;letter-spacing:-.04em;font-weight:700;margin:0;color:var(--te-ink)}
.te-hero__lead{font-size:clamp(19px,2.2vw,23px);line-height:1.42;color:var(--te-ink-2);max-width:680px;margin:24px auto 0}
.te-actions{display:flex;gap:28px;justify-content:center;align-items:center;flex-wrap:wrap;margin-top:36px}
.te-hero>*{animation:te-up .9s var(--te-ease) both}
.te-hero>*:nth-child(2){animation-delay:.08s}.te-hero>*:nth-child(3){animation-delay:.16s}.te-hero>*:nth-child(4){animation-delay:.24s}

/* ---------- Przyciski i linki ---------- */
.te-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:12px 26px;border:0;border-radius:980px;background:var(--te-accent);color:#fff;font-size:17px;font-weight:500;cursor:pointer;text-decoration:none}
.te-btn:hover{background:var(--te-accent-dark);color:#fff;text-decoration:none}
.te-btn--dark{background:var(--te-ink)}.te-btn--dark:hover{background:#000}
.te-btn--light{background:#fff;color:#000}.te-btn--light:hover{background:#e8e8ed;color:#000}
.te-btn--block{width:100%;border-radius:14px;min-height:52px;font-weight:600}
.te-link{font-size:17px;font-weight:500;color:var(--te-accent)}
.te-links{display:flex;gap:22px;flex-wrap:wrap;font-size:17px}

/* ---------- Karty ---------- */
.te-card{background:var(--te-soft);border-radius:var(--te-radius);padding:clamp(28px,4vw,44px);transition:translate .35s var(--te-ease),box-shadow .35s ease}
.te-card:hover{translate:0 -4px;box-shadow:0 18px 40px rgba(0,0,0,.08)}
.te-card--white{background:#fff}
.te-card--dark{background:var(--te-ink);color:#fff}
.te-card--dark p,.te-card--dark li{color:#d2d2d7!important}
.te-card--dark a{color:var(--te-on-dark-link)}
.te-card--outline{background:#fff;border:1px solid var(--te-line)}
.te-card h2,.te-card h3{margin:0 0 12px}
.te-card>p{font-size:19px;line-height:1.5;color:var(--te-ink-2);margin:0}
.te-card ul{margin:14px 0 0;padding-left:20px;font-size:17px;line-height:1.5;color:var(--te-ink-2)}
.te-card li{margin:6px 0}
.te-card__title{font-size:clamp(26px,3vw,32px);letter-spacing:-.03em;font-weight:700}
.te-tile{display:flex;flex-direction:column;gap:14px;min-height:300px}
.te-tile p{font-size:17px;line-height:1.45;flex:1}
.te-tile svg{width:40px;height:40px}
.te-linkcard{display:block;background:var(--te-soft);border-radius:20px;padding:28px;font-size:19px;font-weight:600;color:var(--te-ink)}
.te-linkcard:hover{text-decoration:none;color:var(--te-ink)}

/* ---------- Kroki ---------- */
.te-step .te-step__num,.te-step__num{font-size:64px;font-weight:700;letter-spacing:-.04em;color:var(--te-accent);margin:0;line-height:1}
.te-step h3{font-size:24px;letter-spacing:-.02em;font-weight:700;margin:20px 0 10px}
.te-step p{font-size:17px;line-height:1.5;color:var(--te-ink-2);margin:0}

/* ---------- Eksperci ---------- */
.te-avatar{width:120px;height:120px;border-radius:50%;background:var(--te-accent-soft);color:var(--te-accent);font-size:40px;font-weight:600;display:flex;align-items:center;justify-content:center;flex:0 0 auto;overflow:hidden;transition:transform .4s var(--te-ease)}
.te-avatar img{width:100%;height:100%;object-fit:cover}
.te-avatar--s{width:64px;height:64px;font-size:24px}
.te-card:hover .te-avatar{transform:scale(1.04)}
.te-expert-card{text-align:center;display:flex;flex-direction:column;align-items:center;padding:36px 28px}
.te-expert-card .te-avatar{margin-bottom:20px}
.te-expert-card h3{font-size:22px;letter-spacing:-.02em;margin:8px 0 0}
.te-expert-card p{font-size:15px;line-height:1.45;margin:8px 0 16px;flex:1}
.te-expert-card a{font-size:15px}
.te-office{flex:1 1 320px;border:1px solid var(--te-line);border-radius:var(--te-radius);padding:32px 36px}
.te-office h3{font-size:24px;letter-spacing:-.02em;margin:0}
.te-office .te-office__addr{font-size:15px;color:var(--te-muted);margin:6px 0 16px}
.te-office .te-office__tel{font-size:24px;font-weight:600;letter-spacing:-.02em}

/* ---------- Kredyty ---------- */
.te-credit{background:var(--te-accent-soft);border-radius:32px;padding:clamp(32px,5vw,56px);display:flex;flex-wrap:wrap;gap:32px 48px;align-items:center;justify-content:space-between}
.te-credit__text{flex:1 1 420px}
.te-credit__text p{font-size:19px;line-height:1.45;color:var(--te-ink-2);margin:14px 0 0}
.te-credit__card{flex:0 1 340px;background:#fff;border-radius:24px;padding:28px;display:flex;flex-direction:column;gap:14px}

/* ---------- Towarzystwa ---------- */
.te-insurers{display:flex;flex-wrap:wrap;justify-content:center;gap:18px 44px;font-size:22px;font-weight:600;letter-spacing:-.01em;color:var(--te-muted-2);margin:0;padding:0;list-style:none}

/* ---------- FAQ ---------- */
.te-faq details{border-top:1px solid var(--te-line);padding:24px 0}
.te-faq details:last-child{border-bottom:1px solid var(--te-line)}
.te-faq summary{font-size:21px;font-weight:600;letter-spacing:-.01em;cursor:pointer;list-style:none;display:flex;justify-content:space-between;gap:16px}
.te-faq summary::-webkit-details-marker{display:none}
.te-faq summary::after{content:"+";font-weight:400;color:var(--te-muted);transition:transform .25s ease}
.te-faq details[open] summary::after{transform:rotate(45deg)}
.te-faq p{font-size:17px;line-height:1.55;color:var(--te-ink-2);margin:14px 0 0}

/* ---------- Formularze ---------- */
.te-panel{background:var(--te-soft);border-radius:32px;padding:clamp(28px,5vw,56px)}
.te-form{position:relative;display:flex;flex-direction:column;gap:16px}
.te-form h2{font-size:clamp(26px,3.4vw,36px);line-height:1.1;letter-spacing:-.03em;margin:0}
.te-field{display:flex;flex-direction:column;gap:6px;font-size:13px;font-weight:600;color:var(--te-ink-2)}
.te-field input,.te-field select,.te-field textarea{width:100%;min-height:50px;border:1px solid var(--te-line);border-radius:12px;padding:0 14px;font-size:17px;font-weight:400;background:#fff;color:var(--te-ink)}
.te-field textarea{padding:12px 14px;min-height:110px;resize:vertical}
.te-field select{-webkit-appearance:none;-moz-appearance:none;appearance:none;height:50px;line-height:48px;padding:0 44px 0 14px;cursor:pointer;background-color:#fff;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%236e6e73' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 16px center;background-size:14px}
.te-field select::-ms-expand{display:none}
.te-field input[type=date]{-webkit-appearance:none;appearance:none;height:50px;line-height:48px;display:flex;align-items:center}
.te-field input[type=date]::-webkit-date-and-time-value{text-align:left}
.te-field input:focus,.te-field select:focus,.te-field textarea:focus{outline:none;border-color:var(--te-accent);box-shadow:0 0 0 4px rgba(29,78,216,.15)}
.te-row{display:flex;flex-wrap:wrap;gap:12px;align-items:flex-end}
.te-row>.te-field{flex:1 1 220px}
.te-consent{display:flex;gap:10px;align-items:flex-start;font-size:12px;line-height:1.45;color:var(--te-muted);font-weight:400}
.te-consent input{width:18px;height:18px;margin:1px 0 0;flex:0 0 auto}
.te-legend{font-size:15px;font-weight:600;margin:0 0 12px;padding:0;color:var(--te-ink)}
.te-fieldset{border:0;padding:0;margin:0}
.te-hp{position:absolute!important;left:-10000px!important;width:1px;height:1px;overflow:hidden}
.te-who{font-size:15px;color:var(--te-ink-2);margin:-4px 0 0;min-height:22px}
.te-field__err{font-size:13px;font-weight:500;color:#b42318;min-height:0}
.te-field__err:empty{display:none}
.te-field input.is-invalid{border-color:#d92d20;box-shadow:0 0 0 4px rgba(217,45,32,.12)}
.te-mail-band{flex:1 1 100%;display:flex;align-items:center;gap:18px;margin:0 auto;max-width:560px;padding:18px 24px;border:1px solid var(--te-line);border-radius:20px;background:#fff;color:var(--te-ink);text-decoration:none;transition:border-color .2s,box-shadow .2s,transform .2s}
.te-mail-band:hover{border-color:var(--te-accent);box-shadow:0 8px 24px rgba(0,0,0,.06);transform:translateY(-1px)}
.te-mail-band__icon{flex:none;width:48px;height:48px;border-radius:50%;background:var(--te-soft,#f5f5f7);display:flex;align-items:center;justify-content:center;color:var(--te-accent)}
.te-mail-band__text{display:flex;flex-direction:column;min-width:0;flex:1}
.te-mail-band__label{font-size:13px;color:var(--te-muted);letter-spacing:.01em}
.te-mail-band__addr{font-size:19px;font-weight:600;letter-spacing:-.01em;overflow-wrap:anywhere}
.te-mail-band__go{flex:none;font-size:15px;font-weight:500;color:var(--te-accent)}
@media (max-width:480px){.te-mail-band__go{display:none}.te-mail-band{padding:16px 18px;gap:14px}}
.te-lease{background:var(--te-accent-soft);border-radius:28px;padding:clamp(24px,3.5vw,36px);display:flex;flex-direction:column;gap:14px}
.te-lease .te-kicker{margin:0}
.te-lease__title{font-size:clamp(22px,2.4vw,28px);font-weight:700;letter-spacing:-.02em;line-height:1.15;margin:0;color:var(--te-ink)}
.te-lease__lead{font-size:17px;line-height:1.45;color:var(--te-ink-2);margin:0}
.te-lease__person{display:flex;gap:14px;align-items:center;background:#fff;border-radius:18px;padding:14px 16px;margin-top:4px}
.te-lease__person p{margin:0}
.te-lease__actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px 20px}
.te-lease__actions .te-btn{display:inline-flex;align-items:center;gap:8px}
.te-lease__mail{font-size:15px;font-weight:500}
.te-staff{list-style:none;margin:26px 0 0!important;padding:22px 0 0!important;border-top:1px solid var(--te-line);display:grid;gap:18px}
.te-staff>li{margin:0;padding:0}
.te-staff>li::before{content:none}
.te-staff__name{font-size:17px;font-weight:600;color:var(--te-ink);margin:0}
.te-staff__role{font-size:14px;color:var(--te-muted);margin:2px 0 4px}
.te-staff__links{display:flex;flex-wrap:wrap;gap:4px 18px;margin:0;font-size:15px}
.te-alert{border-radius:14px;padding:14px 16px;font-size:15px;line-height:1.45;background:#fdecec;color:#8a1c1c}
.te-alt{font-size:13px;color:var(--te-muted);margin:0;text-align:center}
.te-seg{display:inline-flex;gap:4px;padding:4px;background:var(--te-soft-2);border-radius:14px}
.te-seg--full{display:flex}
.te-seg button{flex:1;min-height:44px;padding:0 20px;border:0;border-radius:11px;background:transparent;color:var(--te-ink);font-size:15px;font-weight:600;cursor:pointer}
.te-seg button[aria-pressed="true"]{background:#fff;box-shadow:0 1px 3px rgba(0,0,0,.12)}
.te-pills{display:flex;flex-wrap:wrap;gap:10px}
.te-pills button{min-height:44px;padding:0 18px;border:1px solid var(--te-line);border-radius:980px;background:#fff;color:var(--te-ink);font-size:15px;font-weight:500;cursor:pointer}
.te-pills button[aria-pressed="true"]{background:var(--te-ink);border-color:var(--te-ink);color:#fff}
.te-choices{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:10px}
.te-choices button{text-align:left;min-height:84px;padding:16px 18px;border-radius:18px;border:1px solid var(--te-line);background:#fff;color:var(--te-ink);cursor:pointer;display:flex;flex-direction:column;gap:4px}
.te-choices button strong{font-size:17px;font-weight:600;letter-spacing:-.01em}
.te-choices button span{font-size:13px;color:var(--te-muted)}
.te-choices button[aria-pressed="true"]{background:var(--te-ink);border-color:var(--te-ink);color:#fff}
.te-choices button[aria-pressed="true"] span{color:#d2d2d7}
.te-aside{position:sticky;top:104px;border:1px solid var(--te-line);border-radius:var(--te-radius);padding:32px;background:#fff}
.te-expert{display:flex;gap:16px;align-items:center;margin:22px 0 24px}
.te-expert__name{font-size:19px;font-weight:700;letter-spacing:-.02em;margin:0}
.te-expert__role{font-size:13px;color:var(--te-muted);margin:2px 0 0}
.te-checks{list-style:none;padding:0;margin:40px 0 0;display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:14px 24px;font-size:17px}
.te-checks li{display:flex;gap:10px;align-items:center}

/* ---------- Pasy CTA ---------- */
.te-band{background:#000;color:#f5f5f7;border-radius:32px;padding:clamp(32px,5vw,64px);display:flex;flex-wrap:wrap;gap:28px;align-items:center;justify-content:space-between}
.te-band p{color:#a1a1a6;font-size:19px;line-height:1.45;margin:14px 0 0}
.te-contact-dark{background:#000;color:#f5f5f7;padding:140px 24px;text-align:center}
.te-contact-dark .te-h2{font-size:clamp(40px,6vw,72px)}
.te-contact-dark__offices{display:flex;flex-wrap:wrap;justify-content:center;gap:28px 80px;margin:48px 0 32px}
.te-contact-dark__offices p{font-size:15px;color:#a1a1a6;margin:0 0 6px}
.te-contact-dark__offices a{font-size:clamp(28px,4vw,40px);font-weight:600;letter-spacing:-.02em;color:var(--te-on-dark-link)}

/* ---------- Nagłówek ---------- */
.te-header{position:sticky;top:0;z-index:50}
.admin-bar .te-header{top:32px}
@media (max-width:782px){.admin-bar .te-header{top:46px}}
.te-topbar{background:var(--te-soft);border-bottom:1px solid rgba(0,0,0,.05)}
.te-topbar__in{max-width:1120px;margin:0 auto;padding:0 24px;min-height:32px;display:flex;align-items:center;justify-content:space-between;gap:6px 20px;flex-wrap:wrap;font-size:12px;color:var(--te-muted-2)}
.te-topbar__links{display:flex;gap:6px 18px;flex-wrap:wrap;align-items:center}
.te-topbar a{color:var(--te-ink);display:inline-flex;align-items:center;gap:6px;min-height:32px}
.te-topbar a:hover{color:#000;text-decoration:none}
.te-navbar{background:rgba(255,255,255,.86);-webkit-backdrop-filter:saturate(180%) blur(20px);backdrop-filter:saturate(180%) blur(20px);border-bottom:1px solid rgba(0,0,0,.08)}
.te-nav{position:relative;max-width:1120px;margin:0 auto;padding:0 24px;height:52px;display:flex;align-items:center;gap:28px}
.te-nav__logo{display:flex;align-items:center;flex:0 0 auto}
.te-nav__logo img{height:30px;width:auto;display:block}
.te-nav__links{list-style:none;margin:0;padding:0;display:flex;gap:26px;align-items:center;font-size:13px;flex:1;justify-content:center}
.te-nav__links a,.te-nav__links button{color:var(--te-ink);font-size:13px}
.te-nav__links a:hover{color:#000;text-decoration:none}
.te-nav__links button{background:none;border:0;padding:10px 0;cursor:pointer;display:flex;align-items:center;gap:5px}
.te-nav__links button svg{transition:transform .2s ease}
.te-nav__links button[aria-expanded="true"] svg{transform:rotate(180deg)}
.te-nav__links li{position:relative}
.te-nav__cta{font-size:13px;font-weight:500;background:var(--te-ink);color:#fff!important;padding:8px 15px;border-radius:980px;white-space:nowrap}
.te-nav__cta:hover{background:#000;text-decoration:none}
.te-dd{position:absolute;top:calc(100% + 10px);left:-20px;width:420px;background:#fff;border-radius:var(--te-radius-s);box-shadow:0 12px 40px rgba(0,0,0,.14),0 0 0 1px rgba(0,0,0,.05);padding:22px 24px;display:flex;gap:32px;animation:te-pop .22s var(--te-ease) both;transform-origin:top center}
.te-dd[hidden]{display:none}
.te-dd ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:2px}
.te-dd__main{flex:1}
.te-dd__main a{display:block;padding:7px 0;font-size:17px;font-weight:600;letter-spacing:-.01em;color:var(--te-ink)}
.te-dd__side{padding-left:24px!important;border-left:1px solid var(--te-line-2)}
.te-dd__side li:first-child{color:var(--te-muted-2);padding:7px 0 4px;font-size:13px}
.te-dd__side a{display:block;padding:6px 0;font-size:13px;color:var(--te-ink)}
.te-burger{display:none;margin-left:auto;margin-right:-10px;width:44px;height:44px;border:0;background:none;cursor:pointer;align-items:center;justify-content:center}
.te-burger .te-burger__close{display:none}
.te-burger[aria-expanded="true"] .te-burger__open{display:none}
.te-burger[aria-expanded="true"] .te-burger__close{display:block}
.te-mobmenu{position:absolute;top:calc(100% + 8px);right:12px;width:260px;max-width:calc(100vw - 24px);max-height:calc(100vh - 110px);overflow-y:auto;background:#fff;border-radius:var(--te-radius-s);box-shadow:0 12px 40px rgba(0,0,0,.16),0 0 0 1px rgba(0,0,0,.05);padding:10px 8px;animation:te-pop .22s var(--te-ease) both;transform-origin:top right}
.te-mobmenu[hidden]{display:none}
.te-mobmenu ul{list-style:none;margin:0;padding:0}
.te-mobmenu a,.te-mobmenu>ul>li>button{display:flex;align-items:center;justify-content:space-between;width:100%;min-height:44px;padding:0 12px;font-size:16px;font-weight:600;color:var(--te-ink);background:none;border:0;border-radius:10px;cursor:pointer;text-align:left}
.te-mobmenu a:hover{background:var(--te-soft);text-decoration:none}
.te-mobmenu .te-mobmenu__sub a{min-height:38px;padding-left:24px;font-size:15px;font-weight:400;color:var(--te-ink-2)}
.te-mobmenu__sub[hidden]{display:none}
.te-mobmenu .te-btn{margin:8px 4px 4px;width:calc(100% - 8px);min-height:44px;font-size:15px;font-weight:500;justify-content:center;color:#fff;background:var(--te-ink);border-radius:980px}
.te-mobmenu .te-btn:hover{background:#000;color:#fff}
@media (max-width:900px){
  .te-nav__links,.te-nav__cta,.te-topbar__tagline,.te-topbar__mail{display:none!important}
  .te-burger{display:flex}
}

/* ---------- Stopka ---------- */
.te-footer{background:#000;padding:56px 24px 36px;font-size:12px;line-height:1.6;color:#a1a1a6}
.te-footer__in{max-width:1120px;margin:0 auto}
.te-footer__logo{height:36px;width:auto;display:block;margin-bottom:32px}
.te-footer__cols{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:28px;padding-bottom:28px;border-bottom:1px solid #2c2c2e}
.te-footer__cols>*{display:flex;flex-direction:column;gap:6px}
.te-footer strong{color:#f5f5f7;font-weight:600}
.te-footer a{color:#d2d2d7}
.te-footer a:hover{color:#fff;text-decoration:none}
.te-footer__bottom{display:flex;flex-wrap:wrap;justify-content:space-between;gap:12px;padding-top:20px}

/* ---------- Modal ---------- */
.te-modal{position:fixed;inset:0;z-index:100;background:rgba(0,0,0,.5);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);display:flex;align-items:center;justify-content:center;padding:20px}
.te-modal[hidden]{display:none}
.te-modal__box{position:relative;width:100%;max-width:560px;max-height:calc(100vh - 40px);overflow:auto;background:#fff;border-radius:var(--te-radius);padding:40px;animation:te-pop .25s var(--te-ease) both}
.te-modal__close{position:absolute;top:16px;right:16px;width:44px;height:44px;border-radius:50%;border:0;background:var(--te-soft);cursor:pointer;display:flex;align-items:center;justify-content:center}

/* ---------- Poradnik ---------- */
.te-chips{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;margin-bottom:48px}
.te-chips a{display:inline-flex;align-items:center;min-height:40px;padding:0 18px;border-radius:980px;border:1px solid var(--te-line);background:#fff;color:var(--te-ink);font-size:15px;font-weight:500}
.te-chips a:hover{text-decoration:none;border-color:var(--te-ink)}
.te-chips a.is-active{background:var(--te-ink);border-color:var(--te-ink);color:#fff}
.te-post{display:flex;flex-direction:column;background:#fff;border-radius:24px;overflow:hidden;color:var(--te-ink)}
.te-post:hover{text-decoration:none;color:var(--te-ink)}
.te-post__img{height:190px;background:var(--te-soft-2);display:flex;align-items:center;justify-content:center;color:var(--te-muted-2);font-size:13px;overflow:hidden}
.te-post__img img{width:100%;height:100%;object-fit:cover}
.te-post__body{padding:24px;display:flex;flex-direction:column;gap:10px;flex:1}
.te-post__title{font-size:21px;line-height:1.25;letter-spacing:-.02em;font-weight:700;margin:0}
.te-post__excerpt{font-size:15px;line-height:1.5;color:var(--te-ink-2);margin:0}
.te-pagination{display:flex;justify-content:center;gap:8px;margin-top:48px}
.te-pagination .page-numbers{display:inline-flex;align-items:center;justify-content:center;min-width:44px;height:44px;border-radius:12px;background:#fff;color:var(--te-ink)}
.te-pagination .current{background:var(--te-ink);color:#fff}
.te-article__head{max-width:1120px;margin:0 auto;padding:clamp(40px,5vw,64px) 24px 40px}
.te-crumbs{font-size:13px;color:var(--te-muted);margin-bottom:20px}
.te-crumbs a{color:var(--te-muted)}
.te-article__title{max-width:820px;font-size:clamp(36px,5vw,56px);line-height:1.08;letter-spacing:-.035em;font-weight:700;margin:0}
.te-article__meta{font-size:15px;color:var(--te-muted);margin:20px 0 0}
.te-article__img{max-width:1120px;margin:0 auto 56px;padding:0 24px}
.te-article__img img{width:100%;border-radius:var(--te-radius);display:block}
.te-prose{max-width:720px;font-size:19px;line-height:1.7;color:var(--te-ink)}
.te-prose>*:first-child{margin-top:0}
.te-prose h2{font-size:clamp(24px,2.6vw,30px);letter-spacing:-.025em;line-height:1.2;margin:56px 0 16px;font-weight:700}
.te-prose h3{font-size:22px;letter-spacing:-.02em;line-height:1.25;margin:36px 0 12px;font-weight:600}
.te-prose h4{font-size:19px;margin:28px 0 8px;font-weight:600}
.te-prose p,.te-prose ul,.te-prose ol{margin:0 0 24px}
.te-prose a:not(.te-btn):not(.wp-block-button__link){color:var(--te-accent);text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px}
.te-prose strong{font-weight:600;color:var(--te-ink)}
.te-prose ul,.te-prose ol{padding-left:0;list-style:none}
.te-prose li{position:relative;padding-left:30px;margin:0 0 10px}
.te-prose ul>li::before{content:"";position:absolute;left:6px;top:.68em;width:7px;height:7px;border-radius:50%;background:var(--te-accent)}
.te-prose ol{counter-reset:te-ol}
.te-prose ol>li{counter-increment:te-ol}
.te-prose ol>li::before{content:counter(te-ol);position:absolute;left:0;top:.2em;width:22px;height:22px;border-radius:50%;background:var(--te-accent-soft);color:var(--te-accent);font-size:13px;font-weight:600;line-height:22px;text-align:center}
.te-prose img{border-radius:18px;height:auto;max-width:100%}
.te-prose figure{margin:36px 0}
.te-prose figcaption,.te-prose .wp-element-caption{font-size:14px;color:var(--te-muted);text-align:center;margin-top:10px;line-height:1.45}
.te-prose blockquote{margin:36px 0;padding:4px 0 4px 24px;border-left:3px solid var(--te-accent);font-size:21px;line-height:1.55;color:var(--te-ink-2)}
.te-prose blockquote p:last-child{margin-bottom:0}
.te-prose blockquote cite{display:block;font-size:15px;font-style:normal;color:var(--te-muted);margin-top:8px}
.te-prose hr{border:0;border-top:1px solid var(--te-line);margin:48px 0}
.te-prose table{width:100%;border-collapse:collapse;font-size:16px;margin:0 0 28px}
.te-prose .wp-block-table{overflow-x:auto;margin:0 0 28px}
.te-prose .wp-block-table table{margin:0}
.te-prose th,.te-prose td{padding:12px 14px;border-bottom:1px solid var(--te-line);text-align:left;vertical-align:top}
.te-prose thead th{background:var(--te-soft);font-weight:600}
.te-prose .wp-block-gallery,.te-prose .gallery{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:12px;margin:36px 0;padding:0}
.te-prose .wp-block-gallery figure,.te-prose .gallery figure{margin:0}
.te-prose .wp-block-gallery img,.te-prose .gallery img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:14px}
.te-prose .wp-block-gallery>li::before{content:none}
.te-prose .wp-block-buttons{display:flex;flex-wrap:wrap;gap:12px;margin:28px 0}
.te-prose .wp-block-button__link{display:inline-flex;align-items:center;min-height:48px;padding:12px 26px;border-radius:980px;background:var(--te-accent);color:#fff;font-size:17px;font-weight:500;text-decoration:none}
.te-prose .wp-block-file{display:flex;align-items:center;gap:14px;flex-wrap:wrap;padding:16px 18px;border:1px solid var(--te-line);border-radius:16px;margin:28px 0}
/* Ramki do formatowania wpisów: <div class="te-note">…</div>, <div class="te-summary"><p><strong>W skrócie</strong></p><ul>…</ul></div> */
.te-prose .te-note{background:var(--te-accent-soft);border-radius:18px;padding:20px 24px;margin:32px 0}
.te-prose .te-note>*:last-child,.te-prose .te-summary>*:last-child{margin-bottom:0}
.te-prose .te-summary{background:var(--te-soft);border-radius:18px;padding:22px 26px;margin:0 0 40px}
.te-prose .te-summary>p:first-child{font-size:15px;text-transform:uppercase;letter-spacing:.06em;color:var(--te-muted);margin-bottom:10px}
/* Ramka na końcu wpisu */
.te-endcta{margin:64px 0 0;padding:clamp(24px,4vw,36px);background:var(--te-soft);border-radius:28px}
.te-endcta .te-kicker{margin:0 0 6px}
.te-endcta__title{font-size:clamp(22px,2.6vw,28px);font-weight:700;letter-spacing:-.02em;line-height:1.2;margin:0 0 8px}
.te-endcta__lead{font-size:17px;color:var(--te-ink-2);margin:0 0 20px;line-height:1.5}
.te-prose .te-endcta__people{display:grid;gap:10px;margin:0 0 22px}
.te-prose .te-endcta__people li{display:flex;align-items:center;gap:14px;padding:12px 16px;margin:0;background:#fff;border-radius:16px;font-size:16px;line-height:1.3}
.te-prose .te-endcta__people li::before{content:none}
.te-endcta__people strong{display:block}
.te-endcta__people small{display:block;font-size:13px;color:var(--te-muted)}
.te-prose .te-endcta__people a{margin-left:auto;font-weight:600;text-decoration:none!important;white-space:nowrap}
.te-endcta__actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px 22px}
.te-prose .te-endcta__actions a:not(.te-btn){font-size:16px;text-decoration:none}
.te-prose .te-endcta .te-btn{color:#fff;text-decoration:none}

/* ---------- Strona zwykła / hasło ---------- */
.te-page{padding:clamp(40px,5vw,64px) 0 120px}
.te-page__title{font-size:clamp(36px,5vw,56px);line-height:1.08;letter-spacing:-.035em;font-weight:700;margin:0 0 40px}
.te-password{max-width:520px;margin:0 auto;text-align:center;background:var(--te-soft);border-radius:32px;padding:clamp(32px,5vw,56px)}
.te-password__icon{width:64px;height:64px;border-radius:50%;background:#fff;display:flex;align-items:center;justify-content:center;margin:0 auto 20px}
.te-password h1{font-size:32px;letter-spacing:-.03em;margin:0}
.te-password p{color:var(--te-ink-2);margin:12px 0 24px}
.te-password form{display:flex;flex-direction:column;gap:12px;text-align:left}

/* ---------- Opinie (wtyczka) – kontener ---------- */
.te-reviews-wrap:empty{display:none}

/* ---------- Animacje ---------- */
@keyframes te-up{from{opacity:0;transform:translateY(28px)}to{opacity:1;transform:none}}
@keyframes te-pop{from{opacity:0;transform:translateY(-6px) scale(.98)}to{opacity:1;transform:none}}
.js .te-reveal{opacity:0;transform:translateY(28px);transition:opacity .8s var(--te-ease),transform .8s var(--te-ease)}
.js .te-reveal.is-visible{opacity:1;transform:none}
@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
  .js .te-reveal{opacity:1;transform:none}
}

/* ---------- Elementor ---------- */
.te-elementor-full{max-width:none;padding:0}

/* ---------- 404 ---------- */
.te-404__badge{display:flex;justify-content:center;margin-bottom:24px}
.te-404__badge svg{animation:te-float 4s ease-in-out infinite}
@keyframes te-float{0%,100%{transform:translateY(0)}50%{transform:translateY(-8px)}}

/* ---------- Panel zgód na cookies ---------- */
.te-cc{position:fixed;left:0;right:0;bottom:0;z-index:9999;display:flex;justify-content:center;padding:16px;pointer-events:none}
.te-cc[hidden]{display:none}
.te-cc__box{pointer-events:auto;width:100%;max-width:720px;background:rgba(255,255,255,.96);-webkit-backdrop-filter:saturate(180%) blur(20px);backdrop-filter:saturate(180%) blur(20px);border:1px solid var(--te-line);border-radius:22px;box-shadow:0 18px 50px rgba(0,0,0,.14);padding:22px 24px;transform:translateY(16px);opacity:0;transition:transform .35s cubic-bezier(.2,.8,.2,1),opacity .35s}
.te-cc.is-open .te-cc__box{transform:none;opacity:1}
.te-cc__title{font-size:17px;font-weight:600;margin:0 0 6px;color:var(--te-ink)}
.te-cc__text{font-size:14px;line-height:1.5;color:var(--te-ink-2);margin:0}
.te-cc__prefs{display:grid;gap:10px;margin:16px 0 0}
.te-cc__prefs[hidden]{display:none}
.te-cc__opt{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 14px;background:var(--te-soft-2,#f5f5f7);border-radius:14px;cursor:pointer}
.te-cc__opt span{display:flex;flex-direction:column;gap:2px;font-size:15px}
.te-cc__opt small{font-size:13px;color:var(--te-muted);line-height:1.4}
.te-cc__opt input{width:22px;height:22px;flex:none;accent-color:var(--te-accent)}
.te-cc__actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px;margin-top:16px}
.te-cc__btn{min-height:44px;padding:0 20px;border-radius:980px;border:1px solid var(--te-line);background:#fff;color:var(--te-ink);font:inherit;font-size:15px;font-weight:500;cursor:pointer}
.te-cc__btn:hover{border-color:var(--te-ink-2)}
.te-cc__btn--main{background:var(--te-ink);border-color:var(--te-ink);color:#fff}
.te-cc__btn--main:hover{background:#000}
.te-cc__btn[hidden]{display:none}
@media (max-width:560px){.te-cc{padding:10px}.te-cc__box{padding:18px}.te-cc__actions{display:grid;grid-template-columns:1fr 1fr}[data-cc=reject]{order:1}[data-cc=accept]{order:2}[data-cc=prefs],[data-cc=save]{order:3;grid-column:1/-1;border:0;background:none;color:var(--te-accent);min-height:36px}}
