/* cambiofacile.ch – pagine interne (Chi siamo, Grafico, News, Contattaci, articolo). */
@font-face{font-family:Poppins;font-style:normal;font-weight:500;font-display:swap;src:url(fonts/poppins-500.woff2) format('woff2')}
@font-face{font-family:Poppins;font-style:normal;font-weight:600 700;font-display:swap;src:url(fonts/poppins-700.woff2) format('woff2')}
body.cf-pg{--blu:#1071B5;--notte:#2D2E83;--azz:#2DAAE1;--testo:#575756;--grigio:#8A8A89;--bordo:#E3E8F0;--fondo:#F6F8FB;--chiaro:#E6F1FA;margin:0;font-family:Poppins,system-ui,-apple-system,"Segoe UI",sans-serif;color:var(--testo);background:#fff;line-height:1.6;font-weight:500;-webkit-font-smoothing:antialiased}
.cf-pg *,.cf-pg *:before,.cf-pg *:after{box-sizing:border-box}
.cf-pg a{color:var(--blu);text-decoration:none}
.cf-pg a:hover{text-decoration:underline}
.cf-pg img{max-width:100%;height:auto}
.cf-pg .cf-ok,.cf-pg .cf-no{display:inline-block;width:1.2em;font-weight:700;text-align:center}
.cf-pg .cf-ok{color:#137A43}
.cf-pg .cf-no{color:#A4262C}
/* Emoji di WordPress: grandi come il testo (prima le dimensionava il CSS del tema) */
.cf-pg img.emoji,.cf-pg .body img.emoji{display:inline !important;width:1em !important;height:1em !important;margin:0 .07em !important;vertical-align:-.1em !important;border:0 !important;border-radius:0 !important;box-shadow:none !important;background:none !important;padding:0 !important}
.cf-pg h1,.cf-pg h2,.cf-pg h3,.cf-pg h4{color:var(--notte);line-height:1.2;margin:0;font-family:Poppins,system-ui,sans-serif;font-weight:700;letter-spacing:0;text-transform:none}
.cf-pg .wrap{max-width:1180px;margin:0 auto;padding:0 24px}
.cf-pg .center{text-align:center}
.cf-pg :focus-visible{outline:3px solid var(--azz);outline-offset:2px}

/* Pulsanti */
.cf-pg .btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:999px;padding:0 26px;min-height:48px;font:600 15px Poppins,sans-serif;border:0;cursor:pointer;text-decoration:none !important;white-space:nowrap}
.cf-pg .btn.sm{min-height:44px;padding:0 18px;font-size:14px}
.cf-pg .btn.p{background:linear-gradient(135deg,var(--blu),var(--notte));color:#fff;box-shadow:0 12px 28px rgba(16,113,181,.22)}
.cf-pg .btn.p:hover{filter:brightness(1.08)}
.cf-pg .btn.s{border:1.5px solid var(--blu);color:var(--blu);background:#fff}
.cf-pg .btn.w{background:#fff;color:var(--notte)}
.cf-pg .btn.wa{background:#25D366;color:#fff}
.cf-pg .btn.full{width:100%}

/* Barra in alto */
.cf-hd{position:sticky;top:0;z-index:20;background:rgba(255,255,255,.94);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);border-bottom:1px solid #E8EDF4}
.admin-bar .cf-hd{top:32px}
.cf-hd .wrap{display:flex;align-items:center;justify-content:space-between;gap:16px;padding-top:8px;padding-bottom:8px}
.cf-hd-logo img{height:64px;width:auto;display:block}
.cf-hd-nav{display:flex;gap:28px;font-size:15px}
.cf-hd-nav a{color:var(--notte)}
.cf-hd-nav a.on{color:var(--blu);box-shadow:inset 0 -2px 0 var(--blu);padding-bottom:3px;text-decoration:none}
.cf-hd-cta{display:flex;gap:10px;align-items:center}
.cf-burger{display:none;width:44px;height:44px;border:1.5px solid #D5DFEA;border-radius:12px;background:#fff;cursor:pointer;flex-direction:column;align-items:center;justify-content:center;gap:4px;padding:0}
.cf-burger span{display:block;width:18px;height:2px;background:var(--notte);border-radius:2px}
.cf-mnav{display:flex;flex-direction:column;padding:8px 24px 20px;border-top:1px solid var(--bordo);background:#fff}
.cf-mnav[hidden]{display:none}
.cf-mnav a{padding:12px 0;border-bottom:1px solid var(--bordo);color:var(--notte);font-size:16px}
.cf-mnav a.on{color:var(--blu)}
.cf-mnav .btn{margin-top:14px;border-bottom:0;color:#fff}

/* Fascia blu */
.cf-pg .hero{background:linear-gradient(135deg,#1071B5 0%,#2D2E83 100%);color:#fff;padding:72px 0 64px;position:relative;overflow:hidden}
.cf-pg .hero:after{content:"";position:absolute;right:-120px;top:-120px;width:420px;height:420px;border-radius:50%;background:radial-gradient(circle,rgba(45,170,225,.35),transparent 70%);pointer-events:none}
.cf-pg .hero .k{font-size:13px;letter-spacing:.12em;text-transform:uppercase;color:#BFE6F8}
.cf-pg .hero h1{color:#fff;font-size:46px;margin:10px 0 14px;max-width:760px}
.cf-pg .hero h1.hero-big{font-size:64px;margin:0}
.cf-pg .hero p{max-width:640px;font-size:18px;color:#E3F1FB;margin:0}

/* Sezioni e schede */
.cf-pg .sec{padding:80px 0}
.cf-pg .sec.g{background:var(--fondo)}
.cf-pg .st{font-size:34px;margin-bottom:12px}
.cf-pg .st.sm{font-size:26px}
.cf-pg .st.mt{margin-top:72px}
.cf-pg .h3{font-size:18px}
.cf-pg .h3s{font-size:22px;margin:48px 0 16px}
.cf-pg .sub{max-width:640px;margin:0 0 40px;font-size:17px}
.cf-pg .center .sub{margin:0 auto 28px}
.cf-pg .prose{max-width:760px}
.cf-pg .prose p{font-size:17px;margin:0 0 18px}
.cf-pg .card{background:#fff;border:1px solid var(--bordo);border-radius:20px;box-shadow:0 10px 30px rgba(13,40,90,.05);padding:28px}
.cf-pg a.card{color:var(--testo);text-decoration:none;transition:transform .2s ease,box-shadow .2s ease}
.cf-pg a.card:hover{transform:translateY(-2px);box-shadow:0 16px 36px rgba(13,40,90,.09)}
.cf-pg a.card:hover h2,.cf-pg a.card:hover h3{color:var(--blu)}
.cf-pg .grid3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.cf-pg .grid2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.cf-pg .ic{width:48px;height:48px;border-radius:14px;background:var(--chiaro);display:grid;place-items:center;margin-bottom:16px}
.cf-pg .ic svg{width:24px;height:24px;stroke:var(--blu);fill:none;stroke-width:2}
.cf-pg .tag{display:inline-block;align-self:flex-start;font-size:12px;font-weight:600;padding:4px 10px;border-radius:999px;background:var(--chiaro);color:var(--blu)}
.cf-pg .meta{font-size:13px;color:var(--grigio);margin:0}
.cf-pg .trust{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}
.cf-pg .trust.t3{grid-template-columns:repeat(3,minmax(0,1fr))}
.cf-pg .trust .card{padding:22px}
.cf-pg .trust b{display:block;color:var(--notte);font-size:16px;margin-bottom:4px}

/* Sportelli */
.cf-pg .br{padding:0;overflow:hidden;display:flex;flex-direction:column}
.cf-pg .br .ph{aspect-ratio:4/3;overflow:hidden;background:var(--fondo)}
.cf-pg .br .ph img{width:100%;height:100%;object-fit:cover;display:block}
.cf-pg .br .tx{padding:24px;display:flex;flex-direction:column;flex:1}
.cf-pg .br h3{font-size:20px;margin-bottom:10px}
.cf-pg .br .btn{margin-top:auto;align-self:flex-start}
.cf-pg .br .row:last-of-type{margin-bottom:16px}
.cf-pg .row{display:flex;gap:10px;font-size:15px;margin:6px 0}
.cf-pg .row svg{width:18px;height:18px;flex:none;stroke:var(--blu);fill:none;stroke-width:2;margin-top:3px}
.cf-pg .open{display:inline-flex;align-self:flex-start;align-items:center;gap:6px;font-size:13px;font-weight:600;color:#137A43;background:#E7F7EE;border-radius:999px;padding:4px 10px;margin-bottom:10px}
.cf-pg .open[hidden]{display:none}
.cf-pg .open i{width:8px;height:8px;border-radius:50%;background:#1FA463}
.cf-pg .open.closed{background:#FDECEC;color:#A4262C}
.cf-pg .open.closed i{background:#A4262C}

/* Grafico */
.cf-pg .chartbox{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr);gap:24px;align-items:start}
.cf-pg .kpi{display:flex;align-items:baseline;gap:12px;flex-wrap:wrap}
.cf-pg .kpi .v{font-size:44px;font-weight:700;color:var(--notte)}
.cf-pg .kpi .d{font-weight:600;padding:3px 10px;border-radius:999px;font-size:14px}
.cf-pg .kpi .d:empty{display:none}
.cf-pg .kpi .d.up{color:#137A43;background:#E7F7EE}
.cf-pg .kpi .d.dn{color:#A4262C;background:#FDECEC}
.cf-pg .rng{display:flex;gap:6px;margin:18px 0 8px;flex-wrap:wrap}
.cf-pg .rng button{font:600 13px Poppins,sans-serif;padding:7px 14px;border-radius:999px;border:1.5px solid #D5DFEA;background:#fff;color:var(--testo);cursor:pointer}
.cf-pg .rng button.on{border-color:var(--blu);background:var(--chiaro);color:var(--blu)}
.cf-pg .chwrap{position:relative}
.cf-pg svg.ch{width:100%;height:300px;display:block}
.cf-pg .tip{position:absolute;transform:translateX(-50%);background:var(--notte);color:#fff;font-size:13px;padding:5px 10px;border-radius:8px;white-space:nowrap;pointer-events:none}
.cf-pg .calc label{display:block;font-size:13px;color:var(--grigio)}
.cf-pg .calc .h3{font-size:20px;margin-bottom:14px}
.cf-pg .calc .in{display:flex;align-items:center;border:1.5px solid #D5DFEA;border-radius:14px;padding:0 16px;height:56px;margin:6px 0 14px;font-size:22px;font-weight:600;color:var(--notte)}
.cf-pg .calc .in.ro{background:#F7F9FC}
.cf-pg .calc .in span:first-child{flex:1}
.cf-pg .calc .in input{border:0;outline:0;font:600 22px Poppins,sans-serif;color:var(--notte);width:100%;background:transparent;padding:0}
.cf-pg .calc .meta{margin-top:12px}
.cf-pg .btn.cf-disabled{opacity:.5;pointer-events:none}
.cf-pg .faq details{border-bottom:1px solid var(--bordo);padding:18px 0}
.cf-pg .faq summary{font-weight:600;color:var(--notte);cursor:pointer;list-style:none;display:flex;justify-content:space-between;gap:16px}
.cf-pg .faq summary::-webkit-details-marker{display:none}
.cf-pg .faq summary:after{content:"+";font-size:22px;line-height:1;color:var(--blu)}
.cf-pg .faq details[open] summary:after{content:"–"}
.cf-pg .faq details p{margin:10px 0 0}
.cf-pg .mini{display:flex;flex-direction:column;gap:8px;margin-bottom:14px;padding:22px}
.cf-pg .mini h3{font-size:17px}
.cf-pg .mini .more{font-weight:600;color:var(--blu)}

/* News */
.cf-pg .filters{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:28px}
.cf-pg .filters a{font:600 14px Poppins,sans-serif;padding:9px 16px;border-radius:999px;border:1.5px solid #D5DFEA;background:#fff;color:var(--testo);text-decoration:none}
.cf-pg .filters a.on{background:var(--notte);border-color:var(--notte);color:#fff}
.cf-pg .post{padding:0;overflow:hidden;display:flex;flex-direction:column}
.cf-pg .post .im{aspect-ratio:1200/630;overflow:hidden;background:var(--fondo)}
.cf-pg .post .im img{width:100%;height:100%;object-fit:cover;display:block}
.cf-pg .post .tx{padding:22px;display:flex;flex-direction:column;gap:8px;flex:1}
.cf-pg .post h3{font-size:17px}
.cf-pg .post .meta{margin-top:auto}
.cf-pg .post.feat{grid-column:1/-1;display:grid;grid-template-columns:1.2fr 1fr}
.cf-pg .post.feat .im{aspect-ratio:auto;min-height:300px;max-height:380px}
.cf-pg .post.feat .tx{padding:36px;justify-content:center}
.cf-pg .post.feat h2{font-size:28px}
.cf-pg .post.feat p{margin:0}
.cf-pg .pag{display:flex;gap:8px;justify-content:center;margin-top:36px;flex-wrap:wrap}
.cf-pg .pag .page-numbers{min-width:42px;height:42px;padding:0 10px;border-radius:12px;display:grid;place-items:center;border:1.5px solid #D5DFEA;font-weight:600;color:var(--notte);background:#fff;text-decoration:none}
.cf-pg .pag .page-numbers.current{background:var(--blu);border-color:var(--blu);color:#fff}
.cf-pg .pag .dots{border:0;background:none}

/* Articolo */
.cf-pg .art-wrap{padding-top:48px}
.cf-pg .art-title{font-size:40px;max-width:860px;margin:14px 0 6px}
.cf-pg .author{display:flex;gap:14px;align-items:center;margin:18px 0 8px}
.cf-pg .author b{color:var(--notte)}
.cf-pg .author .av{width:44px;height:44px;border-radius:50%;background:var(--chiaro);display:grid;place-items:center;color:var(--blu);font-weight:700;flex:none}
.cf-pg .art{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:48px;align-items:start;margin-top:28px}
.cf-pg .body{font-size:18px;line-height:1.75;color:#3f3f3e}
.cf-pg .body > *:first-child{margin-top:0}
.cf-pg .body p{margin:0 0 18px}
.cf-pg .body h2,.cf-pg .body h4{font-size:26px;margin:40px 0 12px;scroll-margin-top:100px}
.cf-pg .body h3{font-size:21px;margin:30px 0 10px;scroll-margin-top:100px}
.cf-pg .body h5,.cf-pg .body h6{font-size:18px;margin:24px 0 8px}
.cf-pg .body ul,.cf-pg .body ol{margin:0 0 18px;padding-left:24px}
.cf-pg .body li{margin:6px 0}
.cf-pg .body li::marker{color:var(--blu)}
.cf-pg .body strong,.cf-pg .body b{color:#2b2b2a}
.cf-pg .body a:not(.card):not(.btn){text-decoration:underline;text-underline-offset:3px}
.cf-pg .body img{border-radius:14px;margin:12px 0}
.cf-pg .body blockquote{margin:24px 0;padding:16px 22px;border-left:4px solid var(--blu);background:var(--chiaro);border-radius:12px}
.cf-pg .body .tbl{margin:24px 0;border:1px solid var(--bordo);border-radius:14px;overflow-x:auto}
.cf-pg .body table{width:100%;border-collapse:collapse;margin:0;font-size:15px}
.cf-pg .body th,.cf-pg .body td{padding:12px 14px;border-bottom:1px solid var(--bordo);text-align:left;vertical-align:top}
.cf-pg .body thead th,.cf-pg .body tr:first-child th{background:#F7F9FC;color:var(--notte);font-weight:600}
.cf-pg .body tr:last-child td{border-bottom:0}
.cf-pg .body .box{background:var(--chiaro);border-left:4px solid var(--blu);border-radius:12px;padding:18px 22px;font-size:16px;margin:0 0 28px}
.cf-pg .body .box b{color:var(--notte)}
.cf-pg .cta-in{display:flex;justify-content:space-between;align-items:center;gap:20px;flex-wrap:wrap;margin:40px 0}
.cf-pg .cta-in b{color:var(--notte);font-size:18px}
.cf-pg .rel-h{font-size:26px;margin:48px 0 16px}
.cf-pg .rel .mini{margin:0}
.cf-pg .side{position:sticky;top:110px;display:flex;flex-direction:column;gap:20px}
.cf-pg .toc a{display:block;padding:8px 0;border-bottom:1px solid var(--bordo);font-size:14px;color:var(--testo)}
.cf-pg .toc a:last-child{border-bottom:0}
.cf-pg .toc b{color:var(--notte);display:block;margin-bottom:6px}
.cf-pg .toc[hidden]{display:none}
.cf-pg .cta{background:linear-gradient(135deg,var(--blu),var(--notte));color:#fff;border-radius:20px;padding:26px}
.cf-pg .cta .h{font-weight:700;font-size:20px}
.cf-pg .cta .v{font-size:34px;font-weight:700}
.cf-pg .cta p{margin:4px 0 16px;color:#E3F1FB;font-size:14px}

/* Contatti */
.cf-pg .chan{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.cf-pg .chan .card{display:flex;flex-direction:column;gap:10px}
.cf-pg .chan .big{margin:0;font-size:20px;font-weight:600}
.cf-pg .chan .big a{color:var(--notte)}
.cf-pg .chan .btns{display:flex;gap:10px;flex-wrap:wrap;margin-top:6px}
.cf-pg .form{margin-top:56px}
.cf-pg .form .sub{margin-bottom:22px}
/* Contact Form 7: stesso modulo di oggi, solo aspetto */
.cf-pg .wpcf7 form p{margin:0 0 14px}
.cf-pg .wpcf7 input[type=text],.cf-pg .wpcf7 input[type=email],.cf-pg .wpcf7 input[type=tel],.cf-pg .wpcf7 textarea,.cf-pg .wpcf7 select{width:100%;font:500 15px Poppins,sans-serif;border:1.5px solid #D5DFEA;border-radius:14px;padding:14px 16px;color:var(--notte);background:#fff;box-shadow:none}
.cf-pg .wpcf7 textarea{min-height:140px;resize:vertical}
.cf-pg .wpcf7 input:focus,.cf-pg .wpcf7 textarea:focus{border-color:var(--blu);outline:0;box-shadow:0 0 0 4px rgba(16,113,181,.12)}
.cf-pg .wpcf7 .wpcf7-list-item{display:flex;margin:0 0 10px}
.cf-pg .wpcf7 .wpcf7-list-item label{display:flex;gap:10px;align-items:flex-start;font-size:14px;cursor:pointer}
.cf-pg .wpcf7 input[type=checkbox]{width:18px;height:18px;accent-color:var(--blu);flex:none;margin-top:2px}
.cf-pg .wpcf7 input[type=submit],.cf-pg .wpcf7 button[type=submit]{background:linear-gradient(135deg,var(--blu),var(--notte)) !important;color:#fff !important;border:0 !important;border-radius:999px !important;min-height:52px;padding:0 34px !important;font:600 16px Poppins,sans-serif !important;letter-spacing:0 !important;text-transform:none !important;cursor:pointer;box-shadow:0 12px 28px rgba(16,113,181,.22)}
.cf-pg .wpcf7 a{text-decoration:underline}
.cf-pg .wpcf7 .wpcf7-not-valid-tip{font-size:13px;color:#A4262C;margin-top:4px}
.cf-pg .wpcf7 form .wpcf7-response-output{margin:16px 0 0;padding:12px 16px;border-radius:12px;font-size:14px;border-width:1.5px}
.cf-pg .wpcf7 form.sent .wpcf7-response-output{border-color:#1FA463;background:#E7F7EE;color:#137A43}
.cf-pg .wpcf7 form.invalid .wpcf7-response-output,.cf-pg .wpcf7 form.failed .wpcf7-response-output,.cf-pg .wpcf7 form.spam .wpcf7-response-output{border-color:#E0A800;background:#FFF4E0;color:#8A5300}
.cf-pg .wpcf7 .wpcf7-spinner{vertical-align:middle}

/* Piè di pagina (come la homepage) */
.cf-ft{background:#0B2552;color:#D6E2F0;padding:56px 0 40px;font-size:14px;line-height:1.8}
.cf-ft a{color:#D6E2F0}
.cf-ft-cols{display:flex;flex-wrap:wrap;gap:40px;justify-content:space-between}
.cf-ft-brand{max-width:360px}
.cf-ft-brand > a{display:block;width:max-content;margin-bottom:14px}
.cf-ft-brand img{height:64px;width:auto;display:block}
.cf-ft-soc{display:flex;gap:12px;margin-top:18px}
.cf-ft-soc a{width:40px;height:40px;border-radius:50%;background:rgba(255,255,255,.1);display:flex;align-items:center;justify-content:center;color:#fff}
.cf-ft-col{display:grid;gap:4px;align-content:start}
.cf-ft-col .h{color:#fff;font-weight:600}
.cf-ft-bt{border-top:1px solid rgba(255,255,255,.15);margin-top:36px;padding-top:20px;font-size:13px}

/* Pulsante fisso su telefono */
.cf-sticky{display:none;position:fixed;left:12px;right:12px;bottom:calc(12px + env(safe-area-inset-bottom));z-index:30;transform:translateY(140%);transition:transform .3s ease}
.cf-sticky.cf-on{transform:none}
.cf-sticky .btn{width:100%;min-height:56px;font-size:16px}
html.cf-bar-on .ht-ctc,html.cf-bar-on .ht-ctc-chat,html.cf-bar-on #ht-ctc-chat{bottom:calc(84px + env(safe-area-inset-bottom)) !important}
#cmplz-cookiebanner-container,#cmplz-cookiebanner-container *,.cmplz-cookiebanner,.cmplz-cookiebanner *{font-family:Poppins,system-ui,-apple-system,"Segoe UI",sans-serif !important}
body.cf-pg #cmplz-manage-consent{display:none !important}

/* Larghezze intermedie e telefono */
@media (max-width:1100px){.cf-pg .trust{grid-template-columns:repeat(2,minmax(0,1fr))}.cf-hd-nav{gap:20px;font-size:14px}}
@media (max-width:980px){
 .cf-hd-nav,.cf-hd .cf-hide-m{display:none !important}
 .cf-burger{display:flex}
 .cf-pg .art{grid-template-columns:1fr}
 .cf-pg .side{position:static}
 .cf-pg .toc{display:none}
 .cf-pg .chartbox{grid-template-columns:1fr}
}
@media (max-width:900px){
 .cf-pg .grid3,.cf-pg .grid2,.cf-pg .chan,.cf-pg .trust.t3{grid-template-columns:1fr}
 .cf-pg .post.feat{display:flex}
 .cf-pg .post.feat .im{aspect-ratio:1200/630;min-height:0}
}
@media (max-width:720px){
 .cf-sticky{display:block}
 .cf-hd-logo img{height:52px}
 .cf-hd-cta .btn.s{display:none}
 .cf-pg .hero{padding:48px 0 44px}
 .cf-pg .hero h1{font-size:32px}
 .cf-pg .hero h1.hero-big{font-size:44px}
 .cf-pg .hero p{font-size:16px}
 .cf-pg .sec{padding:56px 0}
 .cf-pg .st{font-size:26px}
 .cf-pg .trust{grid-template-columns:1fr}
 .cf-pg .art-title{font-size:30px}
 .cf-pg .body{font-size:17px}
 .cf-pg .body h2,.cf-pg .body h4{font-size:22px}
 .cf-pg .kpi .v{font-size:36px}
 .cf-pg svg.ch{height:220px}
 .cf-pg .post.feat .tx{padding:22px}
 .cf-pg .post.feat h2{font-size:22px}
}
@media (prefers-reduced-motion:reduce){.cf-pg a.card,.cf-sticky{transition:none}}
