/*
Theme Name: Laplus
Theme URI: https://laplus.it
Author: Laplus Agency
Description: Tema del sito Laplus: marketing guidato dai numeri. Pagine a blocchi modificabili, parti interattive (calcolatori, schede, filtri, percorso, modulo a passi) e font inclusi nel tema.
Version: 1.0.1
Requires at least: 6.5
Tested up to: 6.8
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: laplus
*/

/* ---------- Base ---------- */
:root{--lp-y:#F4C20D;--lp-amb:#E3A20B;--lp-ink:#1E1C19;--lp-gra:#5A564F;--lp-desk:#ECE8E1;--lp-veil:#FFF5D1;--lp-line:#D9D4CC;--lp-dark2:#2A2824;--lp-mute:#CFCBC4;
--lp-h:'Bricolage Grotesque','Arial Narrow',sans-serif;--lp-s:'Instrument Serif',Georgia,serif;--lp-hw:'Caveat','Comic Sans MS',cursive;
--lp-shadow:0 1px 0 rgba(30,28,25,.06),0 14px 34px rgba(30,28,25,.10);--lp-ease:cubic-bezier(.2,.8,.2,1)}
body{overflow-x:hidden}
.wp-site-blocks{padding:0}
.wp-site-blocks>*{margin-block-start:0}
img{max-width:100%;height:auto}
:where(.lp-section,.lp-wrap,.lp-stack,.lp-grid,.lp-row) > *{margin-block-start:0;margin-block-end:0}
p{margin:0}
h1,h2,h3,h4{margin:0;font-stretch:80%}
a{color:inherit}
:focus-visible{outline:3px solid var(--lp-ink);outline-offset:3px}

/* ---------- Layout ---------- */
.lp-section{padding:0 0 104px;position:relative}
.lp-section.lp-pad-top{padding-top:104px}
.lp-wrap{max-width:1200px;margin-inline:auto;padding-inline:24px;box-sizing:border-box;width:100%;display:flex;flex-direction:column;gap:48px}
.lp-stack{display:flex;flex-direction:column;gap:22px}
.lp-stack.lp-tight{gap:12px}
.lp-row{display:flex;flex-wrap:wrap;align-items:center;gap:14px}
.lp-row.lp-between{justify-content:space-between;align-items:flex-end;gap:16px}
.lp-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(440px,100%),1fr));gap:56px;align-items:center}
.lp-grid.lp-top{align-items:start}
.lp-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(300px,100%),1fr));gap:32px}
.lp-cards.lp-3{grid-template-columns:repeat(auto-fit,minmax(min(320px,100%),1fr));gap:24px}
.lp-cards.lp-wide{grid-template-columns:repeat(auto-fit,minmax(min(440px,100%),1fr));gap:24px}
.lp-cards.lp-small{grid-template-columns:repeat(auto-fit,minmax(min(250px,100%),1fr));gap:28px}
.lp-dark{background:var(--lp-ink);color:#fff;border-radius:48px 48px 0 0;padding:104px 0 152px}
.lp-dark a{color:#fff}
.lp-round-top{background:var(--lp-desk);border-radius:48px 48px 0 0;margin-top:-48px;padding-top:104px;position:relative;z-index:1}

/* ---------- Typography ---------- */
.lp-h1{font-family:var(--lp-h);font-size:clamp(48px,6.6vw,96px);line-height:.94;font-weight:800;font-stretch:76%;letter-spacing:-2.5px}
.lp-h2{font-family:var(--lp-h);font-size:clamp(38px,4.6vw,64px);line-height:.98;font-weight:800;font-stretch:80%;letter-spacing:-1.5px;max-width:780px}
.lp-h3{font-family:var(--lp-h);font-size:26px;line-height:1.1;font-weight:800;font-stretch:85%}
.lp-h1 em,.lp-h2 em,.lp-h3 em,.lp-big em{font-family:var(--lp-s);font-style:italic;font-weight:400;letter-spacing:0;font-stretch:normal}
.lp-hl em{background:linear-gradient(transparent 58%,var(--lp-y) 58%,var(--lp-y) 92%,transparent 92%);padding:0 6px}
.lp-dark .lp-h2 em{color:var(--lp-y)}
.lp-lead{font-size:19px;line-height:1.6;color:var(--lp-gra);max-width:600px}
.lp-dark .lp-lead,.lp-dark .lp-muted{color:var(--lp-mute)}
.lp-muted{color:var(--lp-gra)}
.lp-small{font-size:14px}
.is-style-a-mano,.lp-hand{font-family:var(--lp-hw);font-size:28px;line-height:1.1;font-weight:600}
.lp-dark .is-style-a-mano{color:var(--lp-y)}
.lp-num{font-family:var(--lp-s);font-style:italic;font-size:52px;line-height:1;color:var(--lp-amb)}
.lp-big{font-family:var(--lp-h);font-weight:800;font-stretch:78%;font-size:58px;line-height:1}
.lp-link a,a.lp-link{font-weight:700;text-decoration:underline;text-decoration-color:var(--lp-y);text-decoration-thickness:4px;text-underline-offset:6px}
.lp-tiny{font-size:13px;color:var(--lp-gra)}

/* ---------- Buttons ---------- */
.wp-block-buttons{display:flex;flex-wrap:wrap;gap:14px}
.wp-block-button__link{transition:transform .2s var(--lp-ease);display:inline-flex;align-items:center;min-height:52px;box-sizing:border-box;text-decoration:none}
.wp-block-button__link:hover{transform:translateY(-2px)}
.wp-block-button.is-style-giallo .wp-block-button__link{background:var(--lp-y);color:var(--lp-ink)}
.wp-block-button.is-style-chiaro .wp-block-button__link{background:#fff;color:var(--lp-ink)}
.lp-btn{display:inline-flex;align-items:center;justify-content:center;min-height:52px;padding:0 28px;border-radius:999px;background:var(--lp-ink);color:#fff;font:600 16px/1 'Instrument Sans',sans-serif;border:0;cursor:pointer;text-decoration:none;transition:transform .2s var(--lp-ease)}
.lp-btn:hover{transform:translateY(-2px)}
.lp-btn.lp-btn-y{background:var(--lp-y);color:var(--lp-ink)}
.lp-btn.lp-btn-w{background:#fff;color:var(--lp-ink);border:1.5px solid var(--lp-ink)}
.lp-btn[disabled]{background:var(--lp-line);color:var(--lp-gra);cursor:not-allowed;transform:none}

/* ---------- Paper, notes, panels (block styles) ---------- */
.is-style-carta{background:#fff;box-shadow:var(--lp-shadow);border-radius:8px;padding:34px 30px 30px;position:relative}
.is-style-carta::before,.lp-tape::before{content:"";position:absolute;top:-12px;left:50%;width:92px;height:26px;margin-left:-46px;background:rgba(244,194,13,.55);transform:rotate(-4deg);pointer-events:none}
.is-style-carta.lp-lined{background-image:repeating-linear-gradient(transparent 0 37px,#E8E3DA 37px 38px)}
.is-style-scheda{background:#fff;border-radius:24px;padding:28px;box-shadow:0 10px 26px rgba(30,28,25,.08)}
.is-style-post-it{background:var(--lp-y);padding:16px 18px;box-shadow:0 12px 26px rgba(30,28,25,.18);font-family:var(--lp-hw);font-size:23px;line-height:1.1;max-width:200px;animation:lp-bob 4.5s ease-in-out infinite}
.is-style-post-it p{font-family:var(--lp-hw)}
.is-style-post-it.lp-veil{background:var(--lp-veil)}
.is-style-pannello-giallo{background:var(--lp-y);border-radius:34px;padding:28px;position:relative;overflow:hidden}
.is-style-pannello-giallo > :not(.lp-lines-svg){position:relative;z-index:1}
.is-style-sezione-scura{background:var(--lp-ink);color:#fff;border-radius:28px;padding:36px}
.lp-rot-l{transform:rotate(-2deg)}.lp-rot-r{transform:rotate(1.6deg)}.lp-rot-ll{transform:rotate(-3.5deg)}.lp-rot-rr{transform:rotate(3deg)}
.lp-lift{transition:transform .4s var(--lp-ease),box-shadow .4s}
.lp-lift:hover{transform:rotate(0) translateY(-8px);box-shadow:0 26px 52px rgba(30,28,25,.18)}
@keyframes lp-bob{0%,100%{transform:translateY(0) rotate(-4deg)}50%{transform:translateY(-7px) rotate(-2deg)}}
.lp-lines-svg{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:0}

/* ---------- Header / footer ---------- */
.lp-header{padding:18px 24px;position:relative;z-index:20}
.lp-header-bar{max-width:1152px;margin:0 auto;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:14px 28px;padding:10px 10px 10px 22px;border-radius:999px;background:#fff;box-shadow:var(--lp-shadow)}
.lp-header .wp-block-site-title{font-family:var(--lp-h);font-weight:800;font-size:24px;font-stretch:80%;margin:0}
.lp-header .wp-block-site-title a{text-decoration:none}
.lp-header .wp-block-navigation{font-size:15px;font-weight:500;gap:8px 26px}
.lp-header .wp-block-navigation a{text-decoration:none}
.lp-header .wp-block-navigation .current-menu-item>a,.lp-header .wp-block-navigation a[aria-current]{background:linear-gradient(transparent 62%,var(--lp-y) 62%)}
.lp-footer{background:var(--lp-ink);color:#fff;border-radius:48px 48px 0 0;padding:64px 24px 32px}
.lp-footer-inner{max-width:1152px;margin:0 auto;display:flex;flex-direction:column;gap:40px}
.lp-footer a{color:var(--lp-mute);text-decoration:none}
.lp-footer .lp-footer-claim{font-family:var(--lp-h);font-weight:800;font-stretch:76%;font-size:clamp(40px,6vw,88px);line-height:.9;letter-spacing:-2px;color:#fff}
.lp-footer .lp-footer-claim em{font-family:var(--lp-s);font-weight:400;color:var(--lp-y);letter-spacing:0}
.lp-footer .wp-block-navigation{font-size:15px;gap:10px 28px}
.lp-footer-legal{border-top:1px solid #4A4640;padding-top:22px;font-size:13px;color:var(--lp-mute);display:flex;flex-wrap:wrap;justify-content:space-between;gap:16px}

/* ---------- Hero ---------- */
.lp-hero{padding:36px 0 88px}
.lp-avatars{display:flex;align-items:center;gap:14px}
.lp-avatar{width:46px;height:46px;border-radius:999px;background:#fff;border:2px solid var(--lp-desk);display:flex;align-items:center;justify-content:center;font-size:11px;font-weight:700;color:var(--lp-gra);overflow:hidden}
.lp-avatar+.lp-avatar{margin-left:-26px;background:var(--lp-veil)}
.lp-avatar img{width:100%;height:100%;object-fit:cover}
.lp-crumbs{font-size:14px;color:var(--lp-gra)}
.lp-crumbs a{color:var(--lp-gra)}

/* ---------- Photo placeholders ---------- */
.lp-photo{aspect-ratio:4/5;background:var(--lp-desk);display:flex;align-items:center;justify-content:center;font-size:13px;font-weight:600;color:var(--lp-gra);text-align:center}
.lp-photo img{width:100%;height:100%;object-fit:cover}
.lp-polaroid{background:#fff;padding:14px 14px 18px;box-shadow:var(--lp-shadow);position:relative;width:250px;max-width:100%;box-sizing:border-box}
.lp-polaroid .is-style-a-mano{text-align:center;margin-top:10px;font-size:25px}
.lp-polaroids{display:flex;justify-content:center;align-items:center;min-height:460px;position:relative}
.lp-polaroids .lp-polaroid:nth-child(1){transform:rotate(-6deg);z-index:2}
.lp-polaroids .lp-polaroid:nth-child(2){transform:rotate(5deg);margin-left:-40px;margin-top:70px;z-index:1}
.lp-polaroids .is-style-post-it{position:absolute;right:0;top:0;z-index:3}

/* ---------- Marquee ---------- */
.lp-marquee{transform:rotate(-1.6deg);background:var(--lp-ink);color:#fff;padding:18px 0;overflow:hidden;margin:8px -40px 88px}
.lp-marquee-track{display:flex;width:max-content;gap:44px;animation:lp-marquee 40s linear infinite}
.lp-marquee p{font-family:var(--lp-h);font-size:24px;font-weight:600;font-stretch:85%;white-space:nowrap;display:inline-flex;align-items:center;gap:44px}
.lp-marquee p::after{content:"";width:12px;height:12px;border-radius:999px;background:var(--lp-y)}
@keyframes lp-marquee{from{transform:translateX(0)}to{transform:translateX(-50%)}}

/* ---------- Flip cards ---------- */
.lp-flip{position:relative;cursor:pointer;transition:transform .45s var(--lp-ease),background-color .3s;box-shadow:0 14px 34px rgba(30,28,25,.10);border-radius:6px;padding:34px 28px 28px;background:#fff;min-height:270px;display:flex;flex-direction:column}
.lp-flip > .lp-front,.lp-flip > .lp-back{display:flex;flex-direction:column;gap:14px}
.lp-flip.lp-card-tape::before{content:"";position:absolute;top:-12px;left:50%;width:92px;height:26px;margin-left:-46px;background:rgba(244,194,13,.55);transform:rotate(-4deg)}
.lp-cards > .lp-flip:nth-child(3n+1){transform:rotate(-2.5deg)}
.lp-cards > .lp-flip:nth-child(3n+2){transform:rotate(1.8deg)}
.lp-cards > .lp-flip:nth-child(3n){transform:rotate(-1.2deg)}
.lp-flip.lp-flat{transform:none!important;border-radius:22px}
body:not(.editor-styles-wrapper) .lp-flip > .lp-back{display:none}
body:not(.editor-styles-wrapper) .lp-flip.is-open{background:var(--lp-y);transform:rotate(0) translateY(-8px)!important}
body:not(.editor-styles-wrapper) .lp-flip.is-open > .lp-front{display:none}
body:not(.editor-styles-wrapper) .lp-flip.is-open > .lp-back{display:flex}
.lp-flip.lp-dark-card{background:var(--lp-ink);color:#fff}
.lp-flip.lp-veil-card{background:var(--lp-veil)}
.lp-flip.lp-dark-card.is-open{color:var(--lp-ink)}
.lp-back .is-style-a-mano{font-size:30px}
.lp-back .lp-answer{font-family:var(--lp-h);font-size:24px;line-height:1.2;font-weight:700;font-stretch:85%}
.lp-back .lp-answer-it{font-family:var(--lp-s);font-style:italic;font-size:34px;line-height:1.1}
.lp-flip-hint{font-family:var(--lp-hw);font-size:26px}

/* ---------- Report toggle ---------- */
.lp-toggle{display:inline-flex;padding:6px;border-radius:999px;background:#fff;box-shadow:var(--lp-shadow);gap:4px;align-self:flex-start}
.lp-toggle button{min-height:46px;padding:0 22px;border-radius:999px;border:0;font:600 15px 'Instrument Sans',sans-serif;cursor:pointer;background:transparent;color:var(--lp-ink)}
.lp-toggle button[aria-pressed="true"]{background:var(--lp-ink);color:#fff}
.lp-toggle button.lp-toggle-y[aria-pressed="true"]{background:var(--lp-y);color:var(--lp-ink)}
.lp-report{transform:rotate(-1.2deg)}
.lp-report-head{display:flex;justify-content:space-between;align-items:baseline;gap:12px;border-bottom:2px solid var(--lp-ink);padding-bottom:12px;margin-bottom:18px}
.lp-kpis{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.lp-kpi{padding:16px;border-radius:12px;background:var(--lp-desk)}
.lp-kpi.lp-y{background:var(--lp-y)}.lp-kpi.lp-v{background:var(--lp-veil)}
.lp-kpi span{display:block;font-size:13px;color:var(--lp-gra)}
.lp-kpi strong{display:block;font-family:var(--lp-h);font-size:30px;font-weight:800;font-stretch:82%}
.lp-view[hidden]{display:none}
.lp-report .is-style-a-mano,.lp-report .lp-hand{font-size:27px;transform:rotate(-2deg);margin-top:14px}

/* ---------- Steps ---------- */
.lp-steps-nav{position:relative;padding:0 22px;margin-bottom:40px}
.lp-steps-nav .lp-track{position:absolute;left:22px;right:22px;top:21px;height:4px;border-radius:4px;background:#3A3733}
.lp-steps-nav .lp-track-fill{position:absolute;left:22px;top:21px;height:4px;border-radius:4px;background:var(--lp-y);transition:width .5s var(--lp-ease)}
.lp-steps-nav .lp-dots{position:relative;display:flex;justify-content:space-between;margin:0 -22px}
.lp-steps-nav button{display:flex;flex-direction:column;align-items:center;gap:12px;width:120px;background:none;border:0;padding:0;cursor:pointer;font:600 14px/1.3 'Instrument Sans',sans-serif;color:#9C978F;text-align:center}
.lp-steps-nav button .lp-dot{width:46px;height:46px;border-radius:999px;display:flex;align-items:center;justify-content:center;font-family:var(--lp-h);font-size:18px;font-weight:800;background:#3A3733;color:var(--lp-mute);transition:background .3s}
.lp-steps-nav button.is-done{color:#fff}.lp-steps-nav button.is-done .lp-dot{background:var(--lp-y);color:var(--lp-ink)}
.lp-steps-nav button[aria-pressed="true"] .lp-dot{box-shadow:0 0 0 6px rgba(244,194,13,.25)}
.lp-step{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(440px,100%),1fr));gap:24px 48px;padding:40px;border-radius:28px;background:var(--lp-dark2);align-items:start}
.lp-steps .lp-step + .lp-step{margin-top:20px}
body:not(.editor-styles-wrapper) .lp-steps.is-ready .lp-step{display:none;margin-top:0}
body:not(.editor-styles-wrapper) .lp-steps.is-ready .lp-step.is-active{display:grid}
.lp-step .lp-step-num{font-family:var(--lp-s);font-style:italic;font-size:120px;line-height:.8;color:var(--lp-y)}
.lp-step .lp-h3{font-size:34px;color:#fff}
.lp-step .lp-sub{font-weight:600;color:var(--lp-mute)}
.lp-step p{color:#E6E2DB;font-size:17px}
.lp-step .is-style-a-mano{color:var(--lp-y);transform:rotate(-1.5deg)}
.lp-step .is-style-carta{color:var(--lp-ink);transform:rotate(1deg);padding:24px}
.lp-step .is-style-carta p{color:var(--lp-ink);font-size:16px}
.lp-step-arrows{display:flex;gap:10px;margin-top:6px}
.lp-step-arrows button{width:48px;height:48px;border-radius:999px;border:1.5px solid #6E6A63;background:none;color:#fff;font-size:20px;cursor:pointer}
.lp-step-arrows button+button{background:var(--lp-y);border:0;color:var(--lp-ink)}

/* ---------- Checks ---------- */
.lp-check{display:flex;gap:12px;align-items:flex-start;font-size:16px;line-height:1.5}
.lp-check::before{content:"";flex-shrink:0;width:22px;height:22px;margin-top:1px;border-radius:999px;background:var(--lp-y) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231E1C19' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7.5 12.5l3 3 6-6.5'/%3E%3C/svg%3E") center/16px no-repeat}

/* ---------- Calculators / widgets ---------- */
.lp-widget input[type=range]{accent-color:var(--lp-ink);width:100%;margin:0;height:24px}
.lp-dark .lp-widget input[type=range],.lp-widget.lp-on-dark input[type=range]{accent-color:var(--lp-y)}
.lp-field{display:flex;flex-direction:column;gap:6px;font-size:14px;font-weight:600}
.lp-field-top{display:flex;justify-content:space-between;gap:12px}
.lp-field output{font-family:var(--lp-h);font-size:18px;font-weight:700}
.lp-card-w{background:#fff;color:var(--lp-ink);border-radius:24px;padding:24px;display:flex;flex-direction:column;gap:16px;box-shadow:0 20px 44px rgba(30,28,25,.18)}
.lp-result{display:flex;flex-wrap:wrap;align-items:flex-end;gap:8px 18px;border-top:1px dashed var(--lp-line);padding-top:16px}
.lp-result .lp-big{display:block}
.lp-result .lp-note{font-size:14px;line-height:1.45;color:var(--lp-gra);flex:1 1 180px}
.lp-calc-panel{min-height:600px;display:flex;flex-direction:column;justify-content:space-between;gap:24px}
.lp-pill{display:inline-flex;padding:8px 14px;border-radius:999px;background:var(--lp-ink);color:#fff;font-size:13px;font-weight:600;align-self:flex-start}
.lp-bars{display:flex;flex-direction:column;gap:10px}
.lp-bar{display:flex;align-items:center;gap:12px;font-size:14px;font-weight:600}
.lp-bar > span{width:92px}
.lp-bar > div{flex:1;height:30px;border-radius:8px;background:var(--lp-desk);overflow:hidden}
.lp-bar i{display:block;height:100%;border-radius:8px;background:var(--lp-gra);transition:width .3s}
.lp-bar.lp-y i{background:var(--lp-y)}
.lp-minis{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.lp-mini{padding:14px;border-radius:14px;background:var(--lp-desk)}
.lp-mini.lp-v{background:var(--lp-veil)}
.lp-mini span{display:block;font-size:13px;color:var(--lp-gra)}
.lp-mini strong{font-family:var(--lp-h);font-size:28px;font-weight:800}
.lp-sim{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(440px,100%),1fr));gap:40px}
.lp-sim-in{display:flex;flex-direction:column;gap:22px;padding:32px;border-radius:28px;background:var(--lp-dark2);color:#fff}
.lp-sim-out{display:flex;flex-direction:column;gap:18px;padding:32px;border-radius:28px;background:#fff;color:var(--lp-ink)}
.lp-neg{color:#B3261E}
.lp-gauge{width:100%;max-width:320px;align-self:center;height:auto}
.lp-chart{width:100%;height:auto;display:block}
.lp-chart-box{background:#fff;color:var(--lp-ink);border-radius:24px;padding:28px;cursor:crosshair}

/* ---------- Quiz ---------- */
.lp-quiz-list{display:flex;flex-direction:column;gap:14px}
.lp-quiz-q{background:#fff;border-radius:20px;box-shadow:var(--lp-shadow);padding:22px 24px;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:14px;font-size:17px;font-weight:600}
.lp-quiz-q .lp-q-btns{display:flex;gap:8px}
.lp-quiz-q button{min-height:44px;padding:0 18px;border-radius:999px;font:600 15px 'Instrument Sans',sans-serif;cursor:pointer;border:1.5px solid var(--lp-ink);background:#fff;color:var(--lp-ink)}
.lp-quiz-q button.is-yes[aria-pressed="true"]{background:var(--lp-y)}
.lp-quiz-q button.is-no[aria-pressed="true"]{background:var(--lp-ink);color:#fff}
.lp-quiz-progress{display:flex;gap:8px}
.lp-quiz-progress i{width:38px;height:8px;border-radius:8px;background:var(--lp-line)}
.lp-quiz-progress i.is-yes{background:var(--lp-y)}.lp-quiz-progress i.is-no{background:var(--lp-ink)}
.lp-quiz-result{background:var(--lp-y);border-radius:24px;padding:28px;display:flex;flex-direction:column;gap:14px}
body:not(.editor-styles-wrapper) .lp-quiz-r{display:none}
body:not(.editor-styles-wrapper) .lp-quiz-r.is-shown{display:block}
body:not(.editor-styles-wrapper) .lp-quiz-result:not(.is-shown){display:none}
.lp-sticky-col{position:sticky;top:24px}

/* ---------- Folders (case studies) ---------- */
.lp-folders{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(320px,100%),1fr));gap:56px 28px;padding-top:30px}
.lp-folder{position:relative;display:flex;flex-direction:column;gap:14px;padding:30px 28px 28px;border-radius:4px 18px 18px 18px;background:#fff;box-shadow:0 14px 34px rgba(30,28,25,.10);transition:transform .4s var(--lp-ease),box-shadow .4s}
.lp-folder:hover{transform:rotate(0) translateY(-8px);box-shadow:0 26px 52px rgba(30,28,25,.18)}
.lp-folder > .lp-case-sector{position:absolute;top:-30px;left:0;height:30px;padding:0 18px;border-radius:12px 12px 0 0;background:inherit;display:flex;align-items:center;font-size:13px;font-weight:700}
.lp-folder .lp-case-goal{font-size:13px;font-weight:600;opacity:.75}
.lp-folder .lp-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;border-top:1px dashed var(--lp-line);padding-top:16px}
.lp-folder .lp-metric{font-size:13px;line-height:1.3}
.lp-folder .lp-metric strong{display:block;font-family:var(--lp-s);font-style:italic;font-weight:400;font-size:38px;line-height:1}
.lp-folder .lp-open{font-family:var(--lp-hw);font-size:23px}
.lp-folder .lp-open a{text-decoration:none}
.lp-folder.lp-f-dark{background:var(--lp-ink);color:#fff}.lp-folder.lp-f-dark .lp-metric strong{color:var(--lp-y)}.lp-folder.lp-f-dark .lp-metrics{border-color:#4A4640}
.lp-folder.lp-f-veil{background:var(--lp-veil)}.lp-folder.lp-f-yellow{background:var(--lp-y)}
.lp-folders > .lp-folder:nth-child(4n+1){transform:rotate(-1deg)}.lp-folders > .lp-folder:nth-child(4n+2){transform:rotate(1.2deg)}.lp-folders > .lp-folder:nth-child(4n+3){transform:rotate(-.6deg)}.lp-folders > .lp-folder:nth-child(4n){transform:rotate(.8deg)}
.lp-filters{display:flex;flex-direction:column;gap:12px;padding:24px;border-radius:24px;background:rgba(255,255,255,.55)}
.lp-filter-row{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
.lp-filter-row > span{font-family:var(--lp-hw);font-size:24px;width:110px}
.lp-chip{min-height:44px;padding:0 18px;border-radius:999px;border:0;background:#fff;color:var(--lp-ink);font:600 15px 'Instrument Sans',sans-serif;cursor:pointer;box-shadow:0 4px 12px rgba(30,28,25,.06)}
.lp-chip[aria-pressed="true"]{background:var(--lp-ink);color:#fff}
.lp-empty{display:none}.lp-empty.is-shown{display:block}
.lp-stamp{display:inline-block;padding:6px 14px;border:2.5px solid #B3261E;color:#B3261E;border-radius:8px;font-weight:800;font-size:14px;letter-spacing:1px;transform:rotate(8deg);align-self:flex-end}
.lp-tags{display:flex;flex-wrap:wrap;gap:20px}
.lp-tag{padding:18px 22px;background:#fff;box-shadow:0 10px 24px rgba(30,28,25,.12);min-width:170px}
.lp-tag strong{display:block;font-family:var(--lp-s);font-style:italic;font-weight:400;font-size:44px;line-height:1}
.lp-tag span{font-size:13px;font-weight:600;color:var(--lp-gra)}
.lp-tags .lp-tag:nth-child(1){background:var(--lp-y);transform:rotate(-3deg)}.lp-tags .lp-tag:nth-child(2){transform:rotate(2deg)}.lp-tags .lp-tag:nth-child(3){background:var(--lp-veil);transform:rotate(-1.5deg)}.lp-tags .lp-tag:nth-child(4){transform:rotate(2.5deg)}
.lp-quote{font-family:var(--lp-s);font-size:clamp(32px,4vw,54px);line-height:1.18;max-width:980px}
.lp-quote-mark{font-family:var(--lp-s);font-style:italic;font-size:140px;line-height:.6;color:var(--lp-y)}

/* ---------- Tabs (people, timeline, before/after) ---------- */
body:not(.editor-styles-wrapper) .lp-tabs.is-ready > .lp-tab{display:none}
body:not(.editor-styles-wrapper) .lp-tabs.is-ready > .lp-tab.is-active{display:grid}
.lp-tab{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(440px,100%),1fr));gap:40px 48px;align-items:center}
.lp-tabs .lp-tab + .lp-tab{margin-top:40px}
.lp-tabs.is-ready .lp-tab + .lp-tab{margin-top:0}
.lp-tab-buttons{display:inline-flex;flex-wrap:wrap;padding:6px;border-radius:999px;background:#fff;box-shadow:var(--lp-shadow);gap:4px;align-self:flex-start;margin-bottom:32px}
.lp-tab-buttons button{min-height:48px;padding:0 24px;border-radius:999px;border:0;font:600 16px 'Instrument Sans',sans-serif;cursor:pointer;background:transparent;color:var(--lp-ink)}
.lp-tab-buttons button[aria-pressed="true"]{background:var(--lp-ink);color:#fff}
.lp-years .lp-tab-buttons{background:transparent;box-shadow:none;padding:0;gap:12px;border-radius:0}
.lp-years .lp-tab-buttons button{border-radius:16px;border:1.5px solid #6E6A63;color:#fff;min-height:56px}
.lp-years .lp-tab-buttons button[aria-pressed="true"]{background:var(--lp-y);border-color:var(--lp-y);color:var(--lp-ink)}
.lp-years .lp-tab{padding:40px;border-radius:28px;background:var(--lp-dark2)}
.lp-years .lp-tab .lp-num{font-size:96px;color:var(--lp-y)}
.lp-years .lp-tab p{color:#E6E2DB;font-size:18px}
.lp-years .lp-tab .is-style-a-mano{color:var(--lp-y)}
.lp-ba .lp-tab{display:block}
body:not(.editor-styles-wrapper) .lp-ba.is-ready > .lp-tab.is-active{display:block}
.lp-question{background:#fff;border-radius:18px;padding:22px 24px;display:flex;flex-direction:column;gap:6px}
.lp-question .lp-q{font-family:var(--lp-s);font-style:italic;font-size:30px;line-height:1.15}

/* ---------- Checklist (fit) ---------- */
.lp-fit button{display:flex;align-items:center;gap:14px;width:100%;min-height:56px;padding:10px 16px;border-radius:14px;border:1.5px solid var(--lp-line);background:#fff;font:600 16px 'Instrument Sans',sans-serif;text-align:left;cursor:pointer;color:var(--lp-ink);margin-top:10px}
.lp-fit button::before{content:"";width:22px;height:22px;flex-shrink:0;border-radius:8px;border:2px solid var(--lp-ink);background:#fff center/14px no-repeat}
.lp-fit button[aria-pressed="true"]{background:var(--lp-veil);border-color:var(--lp-y)}
.lp-fit button[aria-pressed="true"]::before{background-color:var(--lp-ink);background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E")}
.lp-fit-msg{font-family:var(--lp-hw);font-size:28px;line-height:1.15;margin-top:12px;transform:rotate(-1.5deg)}

/* ---------- FAQ (details block) ---------- */
.lp-faq-list{display:flex;flex-direction:column;gap:12px}
.lp-faq-list .wp-block-details{background:#fff;border-radius:20px;box-shadow:var(--lp-shadow);padding:0;overflow:hidden}
.lp-faq-list .wp-block-details summary{list-style:none;cursor:pointer;min-height:64px;padding:18px 24px;display:flex;justify-content:space-between;align-items:center;gap:16px;font-size:18px;font-weight:700}
.lp-faq-list .wp-block-details summary::-webkit-details-marker{display:none}
.lp-faq-list .wp-block-details summary::after{content:"+";width:34px;height:34px;flex-shrink:0;border-radius:999px;background:var(--lp-ink);color:#fff;display:flex;align-items:center;justify-content:center;font-size:20px;transition:transform .3s}
.lp-faq-list .wp-block-details[open] summary{background:var(--lp-veil)}
.lp-faq-list .wp-block-details[open] summary::after{transform:rotate(45deg)}
.lp-faq-list .wp-block-details > p{padding:16px 24px 24px;font-size:17px;color:var(--lp-gra);max-width:820px}

/* ---------- CTA ---------- */
.lp-cta{border-radius:40px;padding:clamp(40px,7vw,96px) clamp(28px,6vw,80px)}
.lp-cta .lp-stack{max-width:780px}
.lp-cta .lp-h2{font-size:clamp(44px,6vw,84px);line-height:.95;letter-spacing:-2px;font-stretch:76%}
.lp-cta p{font-size:19px}
.lp-cta .is-style-a-mano{font-size:32px;transform:rotate(-3deg);align-self:flex-start}

/* ---------- Blog / posts ---------- */
.lp-posts .wp-block-post-template{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(320px,100%),1fr));gap:28px;list-style:none;padding:0;margin:0}
.lp-post-card{background:#fff;border-radius:24px;padding:16px 16px 24px;box-shadow:0 10px 26px rgba(30,28,25,.08);display:flex;flex-direction:column;gap:14px;height:100%;box-sizing:border-box;transition:transform .4s var(--lp-ease)}
.lp-post-card:hover{transform:translateY(-6px)}
.lp-post-card .wp-block-post-featured-image{margin:0;border-radius:16px;overflow:hidden;aspect-ratio:16/9;background:var(--lp-y)}
.lp-post-card .wp-block-post-featured-image img{width:100%;height:100%;object-fit:cover}
.lp-post-card .wp-block-post-title{font-family:var(--lp-h);font-size:23px;line-height:1.1;font-weight:800;font-stretch:85%;padding:0 8px}
.lp-post-card .wp-block-post-title a{text-decoration:none}
.lp-post-card .wp-block-post-terms{padding:0 8px;font-size:12px;font-weight:700}
.lp-post-card .wp-block-post-terms a{display:inline-block;padding:5px 11px;border-radius:999px;background:var(--lp-desk);text-decoration:none}
.lp-post-card .wp-block-post-excerpt,.lp-post-card .wp-block-post-date{padding:0 8px;font-size:14px;color:var(--lp-gra)}
.lp-cats .wp-block-categories{list-style:none;display:flex;flex-wrap:wrap;gap:10px;padding:0;margin:0}
.lp-cats .wp-block-categories li a{display:inline-flex;align-items:center;min-height:44px;padding:0 18px;border-radius:999px;background:#fff;text-decoration:none;font-weight:600;font-size:15px;box-shadow:0 4px 12px rgba(30,28,25,.06)}
.lp-cats .wp-block-categories li.current-cat a{background:var(--lp-ink);color:#fff}
.lp-article{max-width:760px;margin:0 auto;padding:0 24px 96px;font-size:18px;line-height:1.75}
.lp-article > * + *{margin-top:1.1em}
.lp-article h2{font-family:var(--lp-h);font-size:34px;line-height:1.1;margin-top:1.6em}
.lp-article h3{font-family:var(--lp-h);font-size:26px;margin-top:1.4em}
.lp-article ul,.lp-article ol{padding-left:1.2em}
.wp-block-pagination{gap:10px;margin-top:40px}

/* ---------- Forms ---------- */
.lp-form{display:flex;flex-direction:column;gap:24px}
.lp-form-head{display:flex;justify-content:space-between;align-items:center;gap:12px}
.lp-form-bars{display:flex;gap:6px}.lp-form-bars i{width:44px;height:8px;border-radius:8px;background:var(--lp-line)}.lp-form-bars i.is-on{background:var(--lp-y)}
.lp-form-step{display:flex;flex-direction:column;gap:22px;border:0;padding:0;margin:0}
.lp-form-step[hidden]{display:none}
.lp-form-step legend{font-family:var(--lp-h);font-size:34px;line-height:1.05;font-weight:800;font-stretch:82%;padding:0;margin-bottom:6px}
.lp-form-step legend em{font-family:var(--lp-s);font-weight:400}
.lp-choices{display:flex;flex-direction:column;gap:10px;border:0;padding:0;margin:0}
.lp-choices > span{font-size:15px;font-weight:700}
.lp-choices div{display:flex;flex-wrap:wrap;gap:10px}
.lp-choices label{position:relative;cursor:pointer}
.lp-choices input{position:absolute;opacity:0;width:1px;height:1px}
.lp-choices label span{display:inline-flex;align-items:center;min-height:46px;padding:0 18px;border-radius:999px;border:1.5px solid var(--lp-line);background:#fff;font-size:15px;font-weight:600}
.lp-choices input:checked + span{background:var(--lp-y);border-color:var(--lp-y)}
.lp-choices input:focus-visible + span{outline:3px solid var(--lp-ink);outline-offset:2px}
.lp-inputs{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(220px,100%),1fr));gap:16px}
.lp-input{display:flex;flex-direction:column;gap:8px;font-size:14px;font-weight:600}
.lp-input input,.lp-input textarea{min-height:50px;padding:0 14px;border-radius:12px;border:1.5px solid #B9B5AE;background:#fff;font:15px 'Instrument Sans',sans-serif;color:var(--lp-ink);box-sizing:border-box;width:100%}
.lp-input textarea{padding:12px 14px;min-height:100px;resize:vertical}
.lp-consent{display:flex;gap:12px;align-items:flex-start;font-size:14px;line-height:1.5;color:var(--lp-gra)}
.lp-consent input{width:22px;height:22px;margin:0;flex-shrink:0;accent-color:var(--lp-ink)}
.lp-form-nav{display:flex;justify-content:space-between;align-items:center;gap:12px;border-top:1px dashed var(--lp-line);padding-top:20px}
.lp-hp{position:absolute!important;left:-9999px!important;width:1px;height:1px;overflow:hidden}
.lp-form-ok{display:flex;flex-direction:column;gap:14px;align-items:flex-start}
.lp-form-err{color:#B3261E;font-weight:600}
.lp-next-steps{display:flex;flex-direction:column;gap:18px}
.lp-next-step{display:flex;gap:16px;align-items:flex-start}
.lp-next-step .lp-num{font-size:52px;line-height:.85;width:34px;flex-shrink:0}
.lp-map{position:relative;aspect-ratio:16/10;border-radius:24px;background:var(--lp-ink);overflow:hidden}

/* ---------- Business cards (partner hero) ---------- */
.lp-bcards{position:relative;min-height:380px}
.lp-bcard{position:absolute;width:300px;height:176px;border-radius:14px;box-shadow:0 16px 36px rgba(30,28,25,.16);padding:22px;box-sizing:border-box;display:flex;flex-direction:column;justify-content:space-between;font-family:var(--lp-h);font-size:26px;font-weight:800;background:#fff}
.lp-bcard:nth-child(1){left:20px;top:0;transform:rotate(-8deg);background:var(--lp-ink);color:#fff}
.lp-bcard:nth-child(2){left:90px;top:60px;transform:rotate(4deg);background:var(--lp-y)}
.lp-bcard:nth-child(3){left:40px;top:140px;transform:rotate(-2deg)}
.lp-logo-ph{width:150px;height:46px;border-radius:10px;border:1.5px dashed currentColor;display:flex;align-items:center;justify-content:center;font-size:12px;font-weight:600;opacity:.75;font-family:'Instrument Sans',sans-serif}

/* ---------- Responsive ---------- */
@media (max-width:781px){
 .lp-steps-nav button{width:64px;font-size:11px}
 .lp-polaroids{min-height:380px}
 .lp-polaroid{width:200px}
 .lp-bcards{min-height:330px}.lp-bcard{width:240px;height:150px}
 .lp-section{padding-bottom:80px}.lp-dark{padding:80px 0 128px}.lp-round-top{padding-top:80px}
}
@media (prefers-reduced-motion:reduce){
 .lp-marquee-track,.is-style-post-it{animation:none}
 .lp-lift,.lp-flip,.lp-folder,.wp-block-button__link,.lp-btn{transition:none}
}

/* ---------- Extra details ---------- */
.is-style-carta,.is-style-scheda,.lp-card-w,.lp-folder:not(.lp-f-dark),.lp-question,.lp-tag{color:var(--lp-ink)}
.lp-dark .is-style-carta .is-style-a-mano,.lp-dark .is-style-carta .lp-hand{color:var(--lp-ink)}
.lp-kpi .lp-kpi-l{font-size:13px;color:var(--lp-gra)}
.lp-kpi .lp-kpi-v{font-family:var(--lp-h);font-size:30px;font-weight:800;font-stretch:82%;line-height:1.2}
.lp-view-name{font-size:13px;font-weight:700;color:var(--lp-gra);margin-bottom:10px}
.lp-view-chart{width:100%;height:100px;display:block;margin-top:14px}
.lp-folders .lp-featured{grid-column:1/-1;padding:clamp(32px,4vw,56px)}
.lp-folders .lp-featured .lp-h3{font-size:clamp(32px,3.6vw,48px)}
.lp-folders .lp-featured .lp-metric strong{font-size:52px}
.lp-case-hero{transform:none!important;padding:clamp(32px,5vw,64px);border-radius:4px 32px 32px 32px;margin-top:34px;gap:24px}
.lp-case-hero > .lp-case-sector{top:-34px;height:34px;padding:0 22px;font-size:14px}
.lp-case-hero .lp-stamp{position:absolute;right:28px;top:24px}
.lp-skills{display:flex;flex-wrap:wrap;gap:10px}
.lp-skill{padding:12px 18px;border-radius:999px;background:#fff;font-size:15px;box-shadow:0 4px 12px rgba(30,28,25,.06)}
.lp-try{align-self:flex-end;font-size:24px;transform:rotate(-4deg)}
.lp-avatars-row{gap:14px}
.lp-person-name{font-size:44px;line-height:1}
.lp-next-step .lp-h3{font-size:21px}
.lp-dark .lp-next-step .lp-num{color:var(--lp-y)}
.lp-filters.lp-cats{margin-bottom:8px}
.lp-hero .lp-crumbs{margin-bottom:-20px}
.lp-hero .lp-wrap{gap:40px}
.lp-calc-panel .lp-row .is-style-post-it{margin:0}
.lp-stack > .wp-block-buttons{margin-top:4px}
.lp-cta .wp-block-button__link{background:var(--lp-ink);color:#fff}
.lp-dark .lp-folder.lp-f-dark{background:#2A2824}
.lp-dark .lp-chart-box,.lp-dark .lp-card-w{color:var(--lp-ink)}
.lp-dark .lp-card-w .lp-muted{color:var(--lp-gra)}
.lp-sim-out .lp-big{font-size:60px}
.lp-tab-buttons button strong{display:block;font-family:var(--lp-h);font-size:20px}
.lp-tab-buttons button small{display:block;font-size:13px;font-weight:600}
.lp-years .lp-tab-buttons button{flex-direction:column;align-items:flex-start;justify-content:center;display:flex;padding:8px 22px}
.lp-sticky-col{align-self:start}
body.editor-styles-wrapper .is-style-post-it{animation:none}
html,.wp-site-blocks{overflow-x:clip}
.lp-step p.is-style-a-mano{font-size:27px}
.is-style-sezione-scura .lp-muted{color:var(--lp-mute)}
.is-style-sezione-scura a,.lp-folder a,.lp-dark .lp-link a{color:inherit}
.lp-views.is-ready .lp-view-name{display:none}
[hidden]{display:none!important}
.lp-field output{white-space:nowrap}
@media (max-width:781px){
 .lp-header-bar{border-radius:24px;padding:10px 12px 10px 18px}
 .lp-header .wp-block-buttons{display:none}
 .lp-try{display:none}
}
