/* InfissiPRO · design system unico per home, Performance e Fisso */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:opsz,wght@9..40,400;9..40,500;9..40,600;9..40,700;9..40,800&display=swap');
@font-face { font-family: 'Helios Extended'; src: url('assets/fonts/heliosext.otf') format('opentype'); font-weight: 400; font-display: swap; }

:root {
  --ink: #17212e; --ink2: #3a4556; --mu: #5f6b7d; --line: #e3e8ef; --soft: #f6f8fb; --white: #fff;
  --night: #0c1526; --night2: #142b49; --night-line: rgba(255,255,255,.1); --night-mu: #9fb0c8;
  --blue: #3d6fe0; --blue-d: #2d5cc8; --teal: #2fa596;
  --g-a: #94b9ff; --g-b: #9ad5ce;
  --brand-grad: linear-gradient(120deg, var(--g-a), var(--g-b));
  --text-grad: linear-gradient(90deg, #3d6fe0, #2fa596, #6f9cff, #3d6fe0);
  --light-grad: linear-gradient(90deg, #a9c6ff, #9ae0d5, #e3f0ff, #a9c6ff);
  --green: #1fa463; --red: #d64545;
  --r-lg: 28px; --r: 20px; --r-sm: 14px;
  --sh: 0 1px 2px rgba(16,24,39,.04), 0 12px 32px rgba(16,24,39,.07);
  --sh-lg: 0 2px 4px rgba(16,24,39,.04), 0 30px 70px rgba(16,24,39,.13);
  --head: 'Helios Extended', system-ui, sans-serif;
  --font: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ease: cubic-bezier(.2,.7,.2,1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.6; color: var(--ink2); background: var(--white); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--head); font-weight: 400; color: var(--ink); margin: 0; letter-spacing: -0.04em; }
h1 { font-size: clamp(40px, 5.3vw, 68px); line-height: 1.02; }
h2 { font-size: clamp(30px, 3.5vw, 44px); line-height: 1.08; }
h3 { font-size: 20px; line-height: 1.25; letter-spacing: -0.025em; }
p { margin: 0; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 28px; }
@media (max-width: 600px) { .wrap { padding: 0 20px; } body { font-size: 16.5px; } }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* testo in gradiente animato: si muove solo quando la sezione è visibile */
.g, .gl { background: var(--text-grad); background-size: 300% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: gmove 9s ease-in-out infinite alternate; animation-play-state: paused; }
.gl { background-image: var(--light-grad); }
.vis .g, .vis .gl, .hero .g { animation-play-state: running; }
@keyframes gmove { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }

/* bottoni */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 26px; border-radius: 999px; border: 0; cursor: pointer; font: 700 16px/1 var(--font); text-decoration: none; background: var(--blue); color: #fff; box-shadow: 0 10px 24px rgba(61,111,224,.28); transition: background .25s, transform .25s var(--ease), box-shadow .25s; white-space: nowrap; overflow: hidden; isolation: isolate; }
.btn::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.28) 50%, transparent 70%); transform: translateX(-120%); transition: transform .7s var(--ease); }
.btn:hover { background: var(--blue-d); transform: translateY(-2px); box-shadow: 0 16px 30px rgba(61,111,224,.32); }
.btn:hover::after { transform: translateX(120%); }
.btn:active { transform: translateY(0); }
.btn:focus-visible, a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid rgba(61,111,224,.45); outline-offset: 3px; }
.btn.ghost { background: #fff; color: var(--ink); border: 1px solid var(--line); box-shadow: none; }
.btn.ghost:hover { border-color: #c3cddb; background: #fff; box-shadow: var(--sh); }
.btn.sm { min-height: 40px; padding: 0 18px; font-size: 14.5px; box-shadow: none; }
.btn.dark { background: var(--ink); box-shadow: 0 10px 24px rgba(16,24,39,.22); }
.btn.dark:hover { background: #22304a; }
.btn.light { background: #fff; color: var(--ink); box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.btn.light:hover { background: #eef4ff; }
.btn .arr { transition: transform .25s var(--ease); } .btn:hover .arr { transform: translateX(3px); }
.link { font-weight: 700; color: var(--blue); text-decoration: none; }
.link:hover { text-decoration: underline; }

/* header */
.hd { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.86); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4); border-bottom: 1px solid rgba(16,24,39,.06); }
.hd .wrap { display: flex; align-items: center; gap: 24px; height: 68px; }
.hd .logo img { height: 26px; width: auto; }
.hd .wrap > nav { display: flex; gap: 4px; margin-left: auto; }
.hd .wrap > nav a { text-decoration: none; font-size: 15px; font-weight: 500; color: var(--ink2); padding: 8px 12px; border-radius: 10px; transition: background .2s, color .2s; }
.hd .wrap > nav a:hover { color: var(--ink); background: var(--soft); }
.hd-right { display: flex; align-items: center; gap: 8px; }
.hd .nav-login { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; font-size: 14.5px; font-weight: 500; color: var(--mu); padding: 8px 10px; border-radius: 10px; }
.hd .nav-login:hover { color: var(--ink); background: var(--soft); }
.hd .nav-login svg { width: 17px; height: 17px; }
.menu-btn { display: none; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer; place-items: center; }
.menu-btn i, .menu-btn i::before, .menu-btn i::after { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; content: ''; }
.menu-btn i::before { position: absolute; top: -6px; } .menu-btn i::after { position: absolute; top: 6px; }
.hd .mnav { display: none; }
@media (max-width: 960px) {
  .hd .wrap > nav, .hd .nav-login span { display: none; }
  .hd-right { margin-left: auto; }
  .menu-btn { display: grid; }
  .hd .nav-login { padding: 8px; }
  .hd .mnav { position: absolute; left: 0; right: 0; top: 68px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--sh); padding: 8px 20px 18px; }
  .hd .mnav.on { display: grid; }
  .mnav a { text-decoration: none; font-size: 17px; font-weight: 500; color: var(--ink); padding: 14px 4px; border-bottom: 1px solid var(--line); }
  .mnav a:last-child { border-bottom: 0; }
}
@media (max-width: 420px) { .hd .btn.sm { padding: 0 14px; font-size: 14px; } .hd .wrap { gap: 10px; } }

/* sezioni */
.sec { position: relative; padding: 112px 0; }
.sec.alt { background: var(--soft); }
.sec.night { background: var(--night); color: var(--night-mu); overflow: hidden; }
.sec.night h2, .sec.night h3 { color: #fff; }
@media (max-width: 760px) { .sec { padding: 76px 0; } }
.kicker { display: inline-block; font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); margin-bottom: 14px; }
.night .kicker { color: var(--g-b); }
.head { max-width: 780px; margin: 0 auto 60px; text-align: center; }
.head p { margin-top: 18px; font-size: 18.5px; color: var(--mu); }
.night .head p { color: var(--night-mu); }
@media (max-width: 760px) { .head { margin-bottom: 40px; } .head p { font-size: 17px; } }
.note { font-size: 14.5px; color: var(--mu); text-align: center; max-width: 760px; margin: 30px auto 0; }

/* comparsa progressiva */
.js .rv { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0s); }
.js .rv.in { opacity: 1; transform: none; }

/* spunte */
.ck { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.ck li { position: relative; padding-left: 32px; }
.ck li::before { content: ''; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--green) 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.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E") center/11px no-repeat; }

/* ===== HERO ===== */
.hero { position: relative; padding: 76px 0 96px; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: -30% -20% auto; height: 900px; background: radial-gradient(35% 45% at 22% 32%, rgba(154,213,206,.42), transparent 70%), radial-gradient(35% 45% at 78% 22%, rgba(148,185,255,.45), transparent 70%); z-index: -1; animation: drift 22s ease-in-out infinite alternate; }
@keyframes drift { from { transform: translate3d(-3%, 0, 0) scale(1); } to { transform: translate3d(3%, 2%, 0) scale(1.06); } }
.hero-txt { text-align: center; max-width: 900px; margin: 0 auto; }
.hero-txt h1 .g { display: block; padding-bottom: .06em; }
.hero-txt > p { font-size: clamp(18px, 1.9vw, 20.5px); color: var(--mu); max-width: 700px; margin: 24px auto 0; }
.hero-txt > p b { color: var(--ink); font-weight: 600; }
.hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 34px; }
.trust { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 28px; margin: 26px 0 0; padding: 0; list-style: none; font-size: 15px; font-weight: 500; color: var(--ink2); }
.trust li { display: inline-flex; align-items: center; gap: 8px; }
.trust li::before { content: ''; width: 18px; height: 18px; border-radius: 50%; background: var(--green) 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.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E") center/10px no-repeat; }
@media (max-width: 600px) { .hero { padding: 44px 0 64px; } .hero-cta .btn { width: 100%; } .trust { flex-direction: column; align-items: center; gap: 8px; } }

/* demo animata: richiesta → WhatsApp → calendario */
.demo { position: relative; max-width: 1080px; margin: 60px auto 0; }
.demo-win { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--sh-lg); overflow: hidden; }
.demo-bar { display: flex; align-items: center; gap: 14px; height: 50px; padding: 0 18px; border-bottom: 1px solid var(--line); background: #fbfcfe; }
.demo-bar .dots { display: flex; gap: 6px; } .demo-bar .dots i { width: 10px; height: 10px; border-radius: 50%; background: #dfe4ec; }
.demo-bar img { height: 18px; width: auto; }
.tag-demo { margin-left: auto; font-size: 12.5px; font-weight: 700; color: #6b5a1c; background: #fff6dc; border: 1px solid #f0dfa6; border-radius: 99px; padding: 3px 10px; white-space: nowrap; }
.demo-body { display: grid; grid-template-columns: 360px 1fr; }
.chat { position: relative; border-right: 1px solid var(--line); background: #eef3ef; padding: 16px 16px 18px; display: flex; flex-direction: column; gap: 9px; min-height: 452px; }
.chat-h { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--ink); font-size: 15px; margin: 0 -16px 6px; padding: 0 16px 12px; border-bottom: 1px solid rgba(16,24,39,.06); }
.chat-h .av { width: 34px; height: 34px; border-radius: 50%; background: #25d366; display: grid; place-items: center; flex: 0 0 34px; }
.chat-h .av svg { width: 18px; height: 18px; }
.chat-h small { display: block; font-weight: 500; color: var(--mu); font-size: 12.5px; }
.msg { max-width: 86%; padding: 8px 12px; border-radius: 14px; font-size: 14.5px; line-height: 1.4; color: var(--ink); box-shadow: 0 1px 1px rgba(16,24,39,.06); }
.msg.in { background: #fff; border-top-left-radius: 4px; }
.msg.out { background: #d9fdd3; margin-left: auto; border-top-right-radius: 4px; }
.msg .who { display: block; font-size: 11.5px; font-weight: 700; color: #1a8f5a; margin-bottom: 1px; }
.typing { display: inline-flex; gap: 4px; padding: 11px 14px; background: #d9fdd3; border-radius: 14px; border-top-right-radius: 4px; margin-left: auto; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: #5b8f6f; animation: dot 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 0%, 60%, 100% { opacity: .3; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }
.notif { position: absolute; top: 64px; left: 50%; z-index: 3; display: flex; align-items: center; gap: 10px; background: rgba(23,33,46,.94); color: #fff; font-size: 14px; font-weight: 600; padding: 10px 16px 10px 12px; border-radius: 14px; box-shadow: 0 14px 30px rgba(16,24,39,.25); white-space: nowrap; }
.notif .av { width: 26px; height: 26px; border-radius: 8px; background: #25d366; display: grid; place-items: center; } .notif .av svg { width: 15px; height: 15px; }
.notif small { display: block; font-weight: 500; color: #b9c4d4; font-size: 12px; }
.cal2 { padding: 18px 20px 20px; }
.cal2-h { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.cal2-h b { font-family: var(--head); font-weight: 400; font-size: 18px; color: var(--ink); letter-spacing: -0.02em; }
.cal2-h span { font-size: 13px; color: var(--mu); }
.week { display: grid; grid-template-columns: 50px repeat(5, 1fr); gap: 6px; font-size: 13px; }
.week .d { text-align: center; color: var(--mu); font-weight: 700; padding-bottom: 4px; }
.week .d.hl { color: var(--blue); }
.week .t { color: #98a2b3; font-size: 12.5px; padding-top: 6px; }
.week .c { height: 50px; border-radius: 10px; background: var(--soft); position: relative; }
.week .ev { border-radius: 10px; padding: 6px 8px; font-size: 12.5px; line-height: 1.25; font-weight: 600; background: #eaf1ff; color: #2952b3; border-left: 3px solid var(--blue); height: 50px; overflow: hidden; }
.week .slot { position: relative; height: 50px; border-radius: 10px; background: var(--soft); }
.week .slot .ring { position: absolute; inset: 0; border-radius: 10px; border: 2px dashed rgba(61,111,224,.5); opacity: 0; }
.week .slot .ev { position: absolute; inset: 0; background: #e6f7ef; color: #146c43; border-left-color: var(--green); box-shadow: 0 0 0 2px rgba(31,164,99,.28); }
.appt { position: absolute; right: -28px; top: 112px; z-index: 2; width: 300px; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--sh-lg); padding: 16px 18px; }
.appt-top { display: flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 800; color: var(--green); text-transform: uppercase; letter-spacing: .06em; }
.appt-top i { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(31,164,99,.18); animation: pulse 1.8s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(31,164,99,.45); } 70% { box-shadow: 0 0 0 9px rgba(31,164,99,0); } 100% { box-shadow: 0 0 0 0 rgba(31,164,99,0); } }
.appt h4 { font-family: var(--head); font-weight: 400; font-size: 20px; color: var(--ink); margin: 8px 0 8px; letter-spacing: -0.02em; }
.appt dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; font-size: 14px; }
.appt dt { color: var(--mu); } .appt dd { margin: 0; color: var(--ink); font-weight: 600; }
.done-badge { position: absolute; left: 50%; bottom: 22px; z-index: 3; display: inline-flex; align-items: center; gap: 10px; background: var(--ink); color: #fff; font-family: var(--head); font-size: 17px; letter-spacing: -0.02em; padding: 12px 20px 12px 14px; border-radius: 99px; box-shadow: 0 16px 34px rgba(16,24,39,.3); white-space: nowrap; }
.done-badge i { width: 24px; height: 24px; border-radius: 50%; background: var(--green) 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.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E") center/12px no-repeat; }
.cal-day { display: none; }
/* stati dell'animazione: ogni elemento [data-s] compare quando la demo raggiunge il suo passo */
.js .demo [data-s] { opacity: 0; transform: translateY(10px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.js .demo [data-s].on { opacity: 1; transform: none; }
.js .demo .notif { transform: translate(-50%, -14px); } .js .demo .notif.on { transform: translate(-50%, 0); }
.js .demo .notif.off { opacity: 0; transform: translate(-50%, -14px); }
.js .demo .done-badge { transform: translate(-50%, 12px) scale(.96); } .js .demo .done-badge.on { transform: translate(-50%, 0); }
.js .demo .typing { display: none; } .js .demo .typing.on { display: inline-flex; }
.js .demo .slot .ev { transform: scale(.85); } .js .demo .slot .ev.on { transform: none; }
.demo .slot.ask .ring { opacity: 1; animation: blink 1s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .35; } }
.js .demo .appt { transform: translateX(16px); } .js .demo .appt.on { transform: none; }
.demo.fade [data-s] { opacity: 0 !important; transition-duration: .6s; }
@media (max-width: 1140px) { .appt { right: 16px; } }
@media (max-width: 860px) {
  .demo { margin-top: 40px; }
  .demo-body { grid-template-columns: 1fr; }
  .chat { border-right: 0; min-height: 430px; }
  .cal2 { display: none; }
  .cal-day { display: block; padding: 14px 16px 18px; border-top: 1px solid var(--line); }
  .cal-day b { display: block; font-family: var(--head); font-weight: 400; font-size: 16px; color: var(--ink); margin-bottom: 10px; }
  .cal-day ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 14px; }
  .cal-day li { display: grid; grid-template-columns: 52px 1fr; align-items: center; gap: 10px; }
  .cal-day li span { color: #98a2b3; font-size: 13px; }
  .cal-day li em { font-style: normal; font-weight: 600; border-radius: 10px; padding: 8px 10px; background: #eaf1ff; color: #2952b3; border-left: 3px solid var(--blue); }
  .cal-day li.new em { background: #e6f7ef; color: #146c43; border-left-color: var(--green); }
  .appt { position: relative; right: auto; bottom: auto; top: auto; width: auto; margin: 14px 0 0; }
  .done-badge { bottom: auto; top: 64px; font-size: 15px; }
}

/* ===== COME FUNZIONA (blu notte) ===== */
.how::before { content: ''; position: absolute; width: 900px; height: 600px; left: 50%; top: -260px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(148,185,255,.18), transparent); pointer-events: none; }
.how::after { content: ''; position: absolute; width: 700px; height: 500px; right: -200px; bottom: -260px; background: radial-gradient(closest-side, rgba(154,213,206,.13), transparent); pointer-events: none; }
.steps { position: relative; list-style: none; padding: 0; margin: 0 auto; max-width: 1100px; display: grid; gap: 64px; --p: 0; }
.steps .track { position: absolute; left: 50%; top: 40px; bottom: 40px; width: 2px; transform: translateX(-50%); background: rgba(255,255,255,.12); border-radius: 2px; }
.steps .track i { position: absolute; inset: 0; border-radius: 2px; background: linear-gradient(180deg, var(--g-a), var(--g-b)); transform-origin: top; transform: scaleY(var(--p)); box-shadow: 0 0 14px rgba(154,213,206,.6); }
.step { position: relative; display: grid; grid-template-columns: 1fr 120px 1fr; align-items: center; }
.step-ic { grid-column: 2; grid-row: 1; position: relative; z-index: 1; width: 80px; height: 80px; border-radius: 24px; background: var(--night2); border: 1px solid rgba(255,255,255,.12); display: grid; place-items: center; margin: 0 auto; color: var(--night-mu); transition: background .5s, color .5s, border-color .5s, box-shadow .5s, transform .5s var(--ease); }
.step-ic svg { width: 32px; height: 32px; }
.step-card { grid-row: 1; position: relative; padding: 30px 32px; border-radius: 24px; background: linear-gradient(160deg, rgba(255,255,255,.08), rgba(255,255,255,.025)); border: 1px solid rgba(255,255,255,.1); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); opacity: .45; transition: opacity .6s, transform .7s var(--ease), border-color .6s, box-shadow .6s; }
.step.sx .step-card { grid-column: 1; transform: translateX(-26px); }
.step.dx .step-card { grid-column: 3; transform: translateX(26px); }
.step-card::after { content: ''; position: absolute; top: 50%; width: 30px; height: 2px; background: rgba(255,255,255,.14); transition: background .6s; }
.step.sx .step-card::after { right: -31px; }
.step.dx .step-card::after { left: -31px; }
.step-big { grid-row: 1; font-family: var(--head); font-size: clamp(90px, 11vw, 150px); line-height: 1; letter-spacing: -0.05em; color: rgba(255,255,255,.05); transition: color .6s; user-select: none; }
.step.sx .step-big { grid-column: 3; padding-left: 28px; }
.step.dx .step-big { grid-column: 1; text-align: right; padding-right: 28px; }
.step-n { display: inline-block; font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #6c7d97; margin-bottom: 10px; transition: color .5s; }
.step h3 { color: #fff; margin: 0 0 10px; font-size: 24px; }
.step p { font-size: 16.5px; color: var(--night-mu); margin: 0; }
.step-chips { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.step-chips li { font-size: 13.5px; font-weight: 600; color: #cfe0f5; padding: 7px 12px; border-radius: 99px; background: rgba(148,185,255,.1); border: 1px solid rgba(148,185,255,.18); }
.step.on .step-card { opacity: 1; transform: none; border-color: rgba(154,213,206,.3); box-shadow: 0 24px 60px rgba(0,0,0,.25), inset 0 1px 0 rgba(255,255,255,.12); }
.step.on .step-card::after { background: linear-gradient(90deg, var(--g-a), var(--g-b)); }
.step.on .step-big { color: transparent; background: linear-gradient(135deg, rgba(148,185,255,.5), rgba(154,213,206,.35)); -webkit-background-clip: text; background-clip: text; }
.step.on .step-ic { background: linear-gradient(135deg, var(--g-a), var(--g-b)); color: var(--night); border-color: transparent; box-shadow: 0 10px 34px rgba(148,185,255,.35); transform: scale(1.04); }
.step.on .step-n { color: var(--g-b); }
.step.on .step-ic svg { animation: icpop .6s var(--ease); }
@keyframes icpop { 40% { transform: scale(1.18) rotate(-4deg); } }
.steps-cta { text-align: center; margin-top: 64px; }
.night .link { color: var(--g-b); }
@media (max-width: 900px) {
  .steps { gap: 28px; max-width: 560px; }
  .steps .track { left: 28px; top: 28px; bottom: 28px; transform: none; }
  .step { grid-template-columns: 56px 1fr; gap: 0 16px; align-items: start; }
  .step-ic { grid-column: 1; width: 56px; height: 56px; border-radius: 18px; }
  .step-ic svg { width: 26px; height: 26px; }
  .step.sx .step-card, .step.dx .step-card { grid-column: 2; transform: translateY(14px); padding: 22px 20px; }
  .step-card::after, .step-big { display: none; }
  .step h3 { font-size: 21px; }
  .step p { font-size: 15.5px; }
}
@media (prefers-reduced-motion: reduce) { .step-card { transition: none; } }

/* ===== VALORE ===== */
.value { display: grid; grid-template-columns: 1.08fr 1fr; gap: 24px; align-items: stretch; }
.panel { border-radius: var(--r-lg); padding: 36px; }
.panel.light { background: #fff; border: 1px solid var(--line); box-shadow: var(--sh); }
.panel.dark { position: relative; overflow: hidden; background: var(--night); color: var(--night-mu); display: flex; flex-direction: column; }
.panel.dark::before { content: ''; position: absolute; width: 520px; height: 520px; right: -220px; top: -240px; background: radial-gradient(closest-side, rgba(148,185,255,.22), transparent); pointer-events: none; }
.panel h3 { font-size: clamp(22px, 2.2vw, 27px); }
.panel.dark h3 { color: #fff; margin-bottom: 26px; position: relative; }
.seg { display: inline-grid; grid-template-columns: 1fr 1fr; background: var(--soft); border: 1px solid var(--line); border-radius: 99px; padding: 4px; margin: 18px 0 8px; position: relative; }
.seg button { position: relative; z-index: 1; border: 0; background: none; font: 600 14.5px/1.2 var(--font); color: var(--mu); padding: 10px 16px; border-radius: 99px; cursor: pointer; transition: color .3s; }
.seg button[aria-pressed=true] { color: var(--ink); }
.seg .pill { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); background: #fff; border-radius: 99px; box-shadow: 0 2px 8px rgba(16,24,39,.1); transition: transform .4s var(--ease); }
.seg[data-v="1"] .pill { transform: translateX(100%); }
.cost { list-style: none; margin: 12px 0 0; padding: 0; }
.cost li { display: grid; grid-template-columns: 40px 1fr auto; gap: 14px; align-items: center; padding: 14px 0; border-top: 1px solid var(--line); }
.cost li:first-child { border-top: 0; }
.cost .ci { width: 40px; height: 40px; border-radius: 12px; background: var(--soft); color: var(--blue); display: grid; place-items: center; }
.cost .ci svg { width: 20px; height: 20px; }
.cost b { display: block; color: var(--ink); font-size: 16px; font-weight: 700; line-height: 1.3; }
.cost small { display: block; font-size: 13.5px; color: var(--mu); line-height: 1.4; margin-top: 2px; }
.cost .v { font-family: var(--head); font-size: 19px; color: var(--ink); letter-spacing: -0.03em; white-space: nowrap; text-align: right; }
.cost .v em { display: block; font-family: var(--font); font-style: normal; font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--teal); }
.js .cost li { opacity: 0; transform: translateX(-10px); transition: opacity .5s var(--ease), transform .5s var(--ease); transition-delay: calc(var(--i) * .09s); }
.cost.in li { opacity: 1; transform: none; }
.total { margin-top: 10px; border-radius: 18px; background: var(--night); color: #fff; padding: 20px 22px; display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; align-items: center; }
.total span { font-size: 14px; color: var(--night-mu); }
.total b { grid-row: span 2; font-family: var(--head); font-weight: 400; font-size: clamp(30px, 3vw, 38px); letter-spacing: -0.04em; }
.total strong { font-size: 16px; font-weight: 700; }
.total p { grid-column: 1 / -1; font-size: 13.5px; color: var(--night-mu); border-top: 1px solid var(--night-line); padding-top: 10px; margin-top: 8px; }
.cost-note { font-size: 13.5px; color: var(--mu); margin-top: 14px; line-height: 1.5; }
.benefits { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; position: relative; }
.benefits li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: center; font-size: 17px; color: #e6ebf2; padding: 10px 12px; border-radius: 14px; background: rgba(255,255,255,.04); border: 1px solid var(--night-line); }
.benefits .bi { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(154,213,206,.12); color: var(--g-b); }
.benefits .bi svg { width: 20px; height: 20px; }
.punch { margin-top: auto; padding-top: 26px; position: relative; }
.punch p { font-family: var(--head); font-size: clamp(22px, 2.3vw, 28px); line-height: 1.2; letter-spacing: -0.03em; color: #fff; border-top: 1px solid var(--night-line); padding-top: 24px; }
.punch small { display: block; margin-top: 14px; font-size: 13.5px; color: var(--night-mu); line-height: 1.5; }
@media (max-width: 960px) { .value { grid-template-columns: 1fr; } .panel { padding: 26px 20px; } }
@media (max-width: 480px) { .seg { display: grid; width: 100%; } .seg button { padding: 10px 6px; font-size: 13.5px; } .cost li { grid-template-columns: 34px 1fr; } .cost .ci { width: 34px; height: 34px; } .cost .v { grid-column: 2; text-align: left; } .total { grid-template-columns: 1fr; } .total b { grid-row: auto; } }

/* confronto */
.diff { margin-top: 96px; }
.diff h3.diff-t { font-size: clamp(26px, 3vw, 38px); text-align: center; letter-spacing: -0.04em; line-height: 1.12; margin-bottom: 40px; }
.trio { display: grid; grid-template-columns: 1fr 1fr 1.12fr; gap: 18px; align-items: stretch; }
.vs { position: relative; border-radius: var(--r-lg); padding: 28px; background: #fbfcfd; border: 1px solid var(--line); display: flex; flex-direction: column; }
.vs .vs-ic { position: relative; width: 60px; height: 60px; border-radius: 18px; background: #eef1f5; color: #7b8698; display: grid; place-items: center; margin-bottom: 20px; }
.vs .vs-ic svg { width: 28px; height: 28px; }
.vs .no { position: absolute; right: -6px; bottom: -6px; width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 1px solid #f0c9c9; display: grid; place-items: center; }
.vs .no::before, .vs .no::after { content: ''; position: absolute; width: 10px; height: 2px; background: var(--red); border-radius: 2px; transform: rotate(45deg); }
.vs .no::after { transform: rotate(-45deg); }
.vs h4 { margin: 0 0 8px; font-family: var(--head); font-weight: 400; font-size: 20px; color: var(--ink); letter-spacing: -0.03em; }
.vs > p { font-size: 15.5px; color: var(--mu); }
.vs ul { list-style: none; margin: 18px 0 0; padding: 16px 0 0; border-top: 1px solid var(--line); display: grid; gap: 9px; font-size: 15px; color: var(--ink2); }
.vs ul li { display: flex; gap: 10px; align-items: center; }
.vs ul li::before { content: ''; flex: 0 0 8px; height: 8px; border-radius: 50%; background: #c3cad5; }
.vs.us { background: linear-gradient(#fff, #fff) padding-box, linear-gradient(130deg, var(--g-a), var(--g-b)) border-box; border: 2px solid transparent; box-shadow: 0 24px 60px rgba(61,111,224,.14); }
.vs.us::before { content: ''; position: absolute; inset: 0; border-radius: inherit; background: radial-gradient(80% 60% at 100% 0%, rgba(154,213,206,.18), transparent 70%); pointer-events: none; }
.vs.us .vs-logo { height: 24px; width: auto; margin: 18px 0 38px; }
.vs.us > p { color: var(--ink); font-weight: 500; }
.vs.us ul li::before { flex: 0 0 18px; height: 18px; background: var(--green) 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.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E") center/10px no-repeat; }
.vs.us ul li { font-weight: 600; color: var(--ink); }
@media (min-width: 961px) { .vs.us { transform: translateY(-10px); } }
@media (max-width: 960px) { .diff { margin-top: 64px; } .trio { grid-template-columns: 1fr; } .vs.us { order: -1; } }

/* ===== RISULTATI ===== */
.res { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.rcard { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px 28px 26px; box-shadow: var(--sh); transition: transform .35s var(--ease), box-shadow .35s; overflow: hidden; }
.rcard::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--brand-grad); opacity: .9; }
.rcard:hover { transform: translateY(-4px); box-shadow: var(--sh-lg); }
.rcard-top { display: flex; align-items: center; gap: 14px; margin-bottom: 26px; }
.rcard-top img { width: 58px; height: 58px; border-radius: 50%; box-shadow: 0 6px 16px rgba(16,24,39,.14); }
.rcard-top h3 { font-size: 19px; }
.rcard .cat { display: block; font-size: 12.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--mu); margin-top: 2px; }
.rcard .big { font-family: var(--head); font-size: clamp(42px, 4vw, 56px); line-height: 1; letter-spacing: -0.055em; padding-bottom: .05em; white-space: nowrap; font-variant-numeric: tabular-nums; }
.rcard .big-l { font-size: 17px; font-weight: 700; color: var(--ink); margin-top: 10px; }
.rcard .sub { font-size: 15.5px; color: var(--mu); margin-top: 8px; padding-top: 12px; border-top: 1px solid var(--line); }
.rcard .btn { margin-top: 24px; align-self: flex-start; min-height: 46px; padding: 0 20px; font-size: 15px; }
.rwide { grid-column: 1 / -1; display: grid; grid-template-columns: 1.1fr 1fr auto; gap: 24px 48px; align-items: center; padding: 30px 36px; }
.rwide .rcard-top { margin-bottom: 0; grid-row: span 2; align-self: start; }
.rwide .m1 .big-l { margin-top: 8px; }
.rwide .m2 { border-left: 1px solid var(--line); padding-left: 40px; }
.rwide .m2 b { display: block; font-family: var(--head); font-weight: 400; font-size: clamp(36px, 3.4vw, 46px); letter-spacing: -0.05em; line-height: 1.05; }
.rwide .m2 span { font-size: 15.5px; color: var(--mu); display: block; margin-top: 6px; }
.rwide .btn { margin-top: 0; justify-self: start; }
.rwide-in { display: contents; }
@media (max-width: 1080px) { .rwide { grid-template-columns: 1fr 1fr; } .rwide .rcard-top { grid-column: 1 / -1; grid-row: auto; } .rwide .btn { grid-column: 1 / -1; } }
@media (max-width: 960px) { .res { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; } .rwide { grid-template-columns: 1fr; padding: 30px 28px 26px; gap: 18px; } .rwide .m2 { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 16px; } }

/* ===== PIANI ===== */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 1040px; margin: 0 auto; }
.plan { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 38px; display: flex; flex-direction: column; box-shadow: var(--sh); transition: transform .35s var(--ease), box-shadow .35s; }
.plan:hover { transform: translateY(-3px); box-shadow: var(--sh-lg); }
.plan.main { border: 2px solid transparent; background: linear-gradient(#fff, #fff) padding-box, linear-gradient(120deg, var(--g-a), var(--g-b)) border-box; box-shadow: 0 24px 60px rgba(61,111,224,.13); }
.plan-ic { width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; margin-bottom: 22px; background: linear-gradient(135deg, rgba(148,185,255,.22), rgba(154,213,206,.22)); }
.plan-ic svg { width: 36px; height: 36px; }
.plan-n { font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); }
.plan h3 { font-size: clamp(24px, 2.3vw, 29px); line-height: 1.15; margin: 10px 0 14px; }
.plan > p { color: var(--mu); font-size: 16.5px; margin-bottom: 22px; }
.plan .ck { margin-bottom: 30px; font-size: 16px; }
.plan .btn { margin-top: auto; align-self: flex-start; }
.plan .tag { position: absolute; top: 22px; right: 22px; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #fff; background: var(--blue); border-radius: 99px; padding: 5px 10px; }
.plans-foot { text-align: center; margin-top: 30px; font-size: 16px; font-weight: 500; color: var(--ink2); }
@media (max-width: 800px) { .plans { grid-template-columns: 1fr; } .plan { padding: 30px 22px; } .plan .btn { align-self: stretch; } }

/* ===== PREVENTIPRO ===== */
.pp { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; }
.pp h2 { font-size: clamp(30px, 3.4vw, 42px); }
.pp .txt > p { margin-top: 18px; color: var(--mu); font-size: 18px; }
.pp h3.sub3 { font-size: 20px; margin: 30px 0 14px; }
.pp .ck { font-size: 16.5px; }
.pp small { display: block; font-size: 14.5px; color: var(--mu); margin: 20px 0 22px; line-height: 1.5; }
.ppd { position: relative; }
.ppd-win { position: relative; background: var(--night); border-radius: 24px; padding: 10px; box-shadow: 0 40px 90px rgba(12,21,38,.3); }
.ppd-in { position: relative; background: linear-gradient(160deg, #eef4ff, #eaf7f5); border-radius: 16px; overflow: hidden; height: 470px; }
.ppd-nav { display: flex; align-items: center; gap: 14px; height: 42px; padding: 0 14px; background: rgba(255,255,255,.8); border-bottom: 1px solid var(--line); font-size: 12.5px; color: var(--mu); }
.ppd-nav img { height: 15px; width: auto; }
.ppd-nav b { color: var(--ink); font-weight: 600; }
.ppd-nav .tag-demo { font-size: 11.5px; padding: 2px 8px; }
.ppd .st { position: absolute; inset: 42px 0 0; padding: 22px; opacity: 0; transform: translateY(14px); transition: opacity .55s var(--ease), transform .55s var(--ease); pointer-events: none; }
.ppd .st.on { opacity: 1; transform: none; }
.ppd .card { background: #fff; border-radius: 16px; box-shadow: 0 10px 30px rgba(16,24,39,.08); padding: 18px; }
.ppd h5 { margin: 0 0 4px; font-family: var(--head); font-weight: 400; font-size: 19px; color: var(--ink); letter-spacing: -0.02em; }
.ppd .hint { font-size: 13px; color: var(--mu); margin-bottom: 14px; }
.ppd .modes { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 12px; }
.ppd .modes span { border: 1px solid var(--line); border-radius: 10px; font-size: 13px; text-align: center; padding: 8px; color: var(--mu); }
.ppd .modes span.on { border-color: var(--blue); background: #eef4ff; color: var(--ink); font-weight: 600; }
.ppd .ta { min-height: 108px; border: 1px solid #cfd8e5; border-radius: 12px; padding: 12px 14px; font-size: 15px; line-height: 1.45; color: var(--ink); background: #fff; }
.ppd .ta .caret { display: inline-block; width: 2px; height: 1.05em; background: var(--blue); vertical-align: -2px; animation: blink 1s steps(1) infinite; }
.ppd .mic-row { display: flex; align-items: center; gap: 12px; margin-top: 12px; font-size: 13px; color: var(--mu); }
.ppd .mic { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--blue); color: #fff; flex: 0 0 44px; }
.ppd .mic.live { animation: pulse-b 1.4s infinite; }
@keyframes pulse-b { 0% { box-shadow: 0 0 0 0 rgba(61,111,224,.5); } 70% { box-shadow: 0 0 0 12px rgba(61,111,224,0); } 100% { box-shadow: 0 0 0 0 rgba(61,111,224,0); } }
.ppd .mic svg { width: 20px; height: 20px; }
.ppd .wave { display: flex; gap: 3px; align-items: center; height: 24px; }
.ppd .wave i { width: 3px; border-radius: 3px; background: var(--blue); height: 6px; }
.ppd .mic.live + .wave i { animation: wave .9s ease-in-out infinite; }
.ppd .wave i:nth-child(2n) { animation-delay: .15s; } .ppd .wave i:nth-child(3n) { animation-delay: .3s; }
@keyframes wave { 50% { height: 22px; } }
.ppd .fields { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ppd .f { border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; background: #fbfcfe; }
.ppd .f span { display: block; font-size: 11.5px; color: var(--mu); }
.ppd .f b { font-size: 14.5px; color: var(--ink); font-weight: 600; }
.ppd .f.miss { border-color: #f0c96b; background: #fff8e6; }
.ppd .f.miss b { color: #8a5a00; }
.ppd .f.fill { border-color: rgba(31,164,99,.5); background: #effaf4; }
.ppd .ok-line { margin-top: 12px; font-size: 13px; color: var(--mu); display: flex; gap: 8px; align-items: center; }
.ppd table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.ppd th { text-align: left; font-size: 11.5px; font-weight: 700; color: var(--mu); text-transform: uppercase; letter-spacing: .05em; padding: 0 0 8px; }
.ppd td { padding: 10px 0; border-top: 1px solid var(--line); color: var(--ink); }
.ppd td.n { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.ppd td .ed { display: inline-block; width: 14px; height: 14px; margin-left: 6px; vertical-align: -2px; opacity: .45; }
.ppd .tot { display: flex; justify-content: space-between; align-items: baseline; margin-top: 10px; padding-top: 12px; border-top: 2px solid var(--ink); font-weight: 700; color: var(--ink); }
.ppd .tot b { font-family: var(--head); font-weight: 400; font-size: 24px; letter-spacing: -0.03em; }
.ppd .src { display: inline-flex; gap: 6px; align-items: center; margin-top: 12px; font-size: 12.5px; color: #146c43; background: #e6f7ef; border-radius: 99px; padding: 4px 10px; font-weight: 600; }
.ppd .calc-btn { margin-top: 14px; width: 100%; border-radius: 10px; text-align: center; padding: 10px; color: #fff; font-weight: 700; font-size: 13px; letter-spacing: .04em; background: linear-gradient(90deg, #55c5bb, #5589ee); }
.pdf { position: relative; margin: -6px auto 0; width: min(330px, 92%); background: #fff; border-radius: 6px; box-shadow: 0 30px 70px rgba(16,24,39,.25); padding: 18px 18px 16px; font-size: 11px; color: #4a5361; transform: rotate(-1.2deg); }
.ppd .st.on .pdf { animation: pdfin .8s var(--ease) both; }
@keyframes pdfin { from { transform: translateY(40px) scale(.9) rotate(-4deg); opacity: 0; } to { transform: rotate(-1.2deg); opacity: 1; } }
.pdf-h { display: flex; justify-content: space-between; align-items: flex-start; }
.pdf-h b { font-family: var(--font); font-weight: 800; font-size: 19px; color: #1f6f4a; letter-spacing: -0.02em; }
.pdf-h span { text-align: right; font-size: 10px; line-height: 1.4; }
.pdf-k { margin-top: 14px; font-size: 8.5px; letter-spacing: .16em; color: #1f6f4a; font-weight: 700; }
.pdf h6 { margin: 4px 0 2px; font-size: 17px; color: #111; font-family: var(--font); font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; }
.pdf-tot { margin: 10px 0; background: #154a30; color: #fff; border-radius: 10px; padding: 10px 12px; }
.pdf-tot small { display: block; font-size: 8px; letter-spacing: .14em; opacity: .8; }
.pdf-tot b { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; }
.pdf ul { list-style: none; margin: 0; padding: 0; }
.pdf li { display: flex; justify-content: space-between; padding: 4px 0; border-bottom: 1px solid #eef0f2; }
.pdf .cond { margin-top: 8px; font-size: 9.5px; color: #6b7380; }
.pdf-act { display: flex; gap: 6px; margin-top: 10px; }
.pdf-act span { flex: 1; text-align: center; border-radius: 99px; padding: 6px; font-weight: 700; font-size: 10.5px; background: #25d366; color: #fff; }
.pdf-act span + span { background: var(--ink); }
.ppd-steps { display: flex; justify-content: center; gap: 8px; margin-top: 18px; flex-wrap: wrap; }
.ppd-steps button { border: 1px solid var(--line); background: #fff; border-radius: 99px; padding: 7px 14px; font: 600 13.5px/1 var(--font); color: var(--mu); cursor: pointer; transition: all .3s; }
.ppd-steps button.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.pp-flow { margin-top: 64px; text-align: center; }
.pp-flow h3 { font-size: clamp(22px, 2.4vw, 28px); margin-bottom: 26px; }
.pp-three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 980px; margin: 0 auto; text-align: left; }
.pp-three div { border: 1px solid var(--line); border-radius: var(--r); padding: 20px; display: flex; gap: 14px; align-items: center; font-weight: 600; color: var(--ink); background: #fff; }
.pp-three i { width: 42px; height: 42px; border-radius: 12px; background: var(--night); color: var(--g-b); display: grid; place-items: center; flex: 0 0 42px; }
.pp-three svg { width: 20px; height: 20px; }
@media (max-width: 1000px) { .pp { grid-template-columns: 1fr; gap: 40px; } }
@media (max-width: 760px) { .pp-three { grid-template-columns: 1fr; } .ppd-in { height: 500px; } .ppd .st { padding: 14px; } .ppd .fields { grid-template-columns: 1fr 1fr; } }

/* ===== FONDATORE E LOGHI ===== */
.founder { display: grid; grid-template-columns: 300px 1fr; gap: 56px; align-items: center; max-width: 1000px; margin: 0 auto; }
.founder-pic { position: relative; }
.founder-pic img { width: 300px; height: 340px; object-fit: cover; object-position: top; border-radius: var(--r-lg); box-shadow: var(--sh-lg); }
.founder-pic::before { content: ''; position: absolute; inset: 18px -18px -18px 18px; border-radius: var(--r-lg); background: var(--brand-grad); z-index: -1; opacity: .7; }
.founder h2 { font-size: clamp(28px, 3vw, 38px); margin-bottom: 20px; }
.founder p { color: var(--ink2); font-size: 18px; }
.founder p + p { margin-top: 12px; }
.sign { margin-top: 22px; display: flex; align-items: center; gap: 18px; }
.sign img { width: 190px; height: auto; filter: invert(1) brightness(.2); margin: -24px 0 -24px -12px; }
.sign span { font-size: 14.5px; color: var(--mu); border-left: 1px solid var(--line); padding-left: 18px; line-height: 1.4; }
.sign span b { display: block; color: var(--ink); font-size: 16px; }
.logos { margin-top: 88px; }
.logos p { text-align: center; font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--mu); margin-bottom: 26px; }
.marquee { position: relative; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marq 70s linear infinite; animation-play-state: paused; }
.vis .marquee-track { animation-play-state: running; }
.marquee:hover .marquee-track, .marquee:focus-within .marquee-track { animation-play-state: paused; }
.marquee ul { display: flex; align-items: center; gap: 56px; list-style: none; margin: 0; padding: 0 28px; }
.marquee img { height: 74px; width: auto; filter: brightness(0); opacity: .45; transition: opacity .3s; }
.marquee img:hover { opacity: .75; }
@keyframes marq { to { transform: translateX(-50%); } }
@media (max-width: 860px) { .founder { grid-template-columns: 1fr; gap: 36px; } .founder-pic img { width: 220px; height: 250px; } .founder-pic { width: 220px; } .founder p { font-size: 17px; } .logos { margin-top: 64px; } .marquee img { height: 58px; } .marquee ul { gap: 36px; } }

/* ===== MAPPA DELLE ZONE ===== */
.zone-sec { background: radial-gradient(70% 60% at 20% 0%, rgba(61,111,224,.22), transparent 70%), radial-gradient(60% 60% at 100% 100%, rgba(47,165,150,.16), transparent 70%), var(--night); }
.zone-sec::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 48px 48px; -webkit-mask-image: radial-gradient(70% 70% at 40% 50%, #000, transparent); mask-image: radial-gradient(70% 70% at 40% 50%, #000, transparent); pointer-events: none; }
.zone { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.map { position: relative; aspect-ratio: 1000 / 1036; max-height: 660px; margin: 0 auto; width: 100%; -webkit-mask-image: radial-gradient(62% 60% at 50% 50%, #000 62%, transparent 100%); mask-image: radial-gradient(62% 60% at 50% 50%, #000 62%, transparent 100%); }
.map-svg { width: 100%; height: 100%; display: block; overflow: visible; }
.map-svg .eu path { fill: #15233a; stroke: #0c1526; stroke-width: 1.2; }
.map-svg .zoomer { transition: transform 1.1s var(--ease); transform-origin: 0 0; }
.map-svg .it path { fill: #4d73b8; stroke: #0c1526; stroke-width: 1.3; cursor: pointer; transition: fill .35s, filter .35s; outline: none; }
.map-svg .it path:hover, .map-svg .it path:focus-visible { fill: #7fa3e8; }
.map-svg .it { filter: drop-shadow(0 0 18px rgba(148,185,255,.25)); }
.map-svg .it path.sel { fill: url(#mg); filter: drop-shadow(0 0 14px rgba(154,213,206,.65)); }
.map-svg .pin { opacity: 0; transition: opacity .5s; }
.map-svg .pin.on { opacity: 1; }
.map-svg .pin circle.p { fill: #fff; }
.map-svg .pin circle.r { fill: none; stroke: #9ad5ce; stroke-width: 2; animation: ping 2s ease-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes ping { from { transform: scale(.4); opacity: 1; } to { transform: scale(2.4); opacity: 0; } }
.map-tip { position: absolute; left: 0; top: 0; pointer-events: none; background: #fff; color: var(--ink); font-size: 13px; font-weight: 700; padding: 5px 10px; border-radius: 8px; box-shadow: var(--sh); opacity: 0; transform: translate(-50%, -130%); transition: opacity .2s; white-space: nowrap; }
.map-tip.on { opacity: 1; }
.zone-txt h2 { color: #fff; }
.zone-txt > p { color: var(--night-mu); margin-top: 18px; font-size: 18px; }
.zone-card { margin-top: 30px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: var(--r-lg); padding: 26px; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.zone-card h3 { color: #fff; font-size: 20px; margin-bottom: 16px; }
.zone-card label { display: block; font-size: 14.5px; font-weight: 600; color: #dfe6f0; margin-bottom: 8px; }
.ac { position: relative; }
.ac input { width: 100%; min-height: 56px; border-radius: 14px; border: 1px solid rgba(255,255,255,.18); background: #fff; color: var(--ink); font: 400 17px var(--font); padding: 0 16px 0 48px; }
.ac::before { content: ''; position: absolute; left: 16px; top: 18px; width: 20px; height: 20px; z-index: 1; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235f6b7d' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E") center/20px no-repeat; }
.ac input:focus { outline: none; box-shadow: 0 0 0 4px rgba(148,185,255,.35); }
.ac-list { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 20; list-style: none; margin: 0; padding: 6px; background: #fff; border-radius: 14px; box-shadow: 0 24px 50px rgba(0,0,0,.28); max-height: min(320px, 42vh); overflow-y: auto; }
.ac-list[hidden] { display: none; }
.ac-list li { padding: 10px 12px; border-radius: 10px; cursor: pointer; color: var(--ink); font-size: 16px; line-height: 1.3; }
.ac-list li small { display: block; color: var(--mu); font-size: 13px; }
.ac-list li[aria-selected=true], .ac-list li:hover { background: #eef4ff; }
.ac-list li.empty { color: var(--mu); cursor: default; background: none; }
.zres { margin-top: 18px; min-height: 0; }
.zr { border-radius: 18px; padding: 20px; background: #fff; color: var(--ink2); animation: zin .5s var(--ease); }
@keyframes zin { from { opacity: 0; transform: translateY(10px); } }
.zr-h { display: flex; gap: 12px; align-items: center; }
.zr-h i { width: 34px; height: 34px; border-radius: 50%; flex: 0 0 34px; background: var(--green) 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='m5 12 5 5 9-10'/%3E%3C/svg%3E") center/16px no-repeat; box-shadow: 0 0 0 6px rgba(31,164,99,.15); }
.zr-h b { font-family: var(--head); font-weight: 400; font-size: 20px; color: var(--ink); letter-spacing: -0.02em; line-height: 1.2; }
.zr p { margin: 10px 0 16px; font-size: 15.5px; }
.zr .btn { width: 100%; }
.zone-hint { margin-top: 12px; font-size: 13.5px; color: var(--night-mu); }
@media (max-width: 960px) { .zone { grid-template-columns: 1fr; gap: 28px; } .map { max-width: 440px; order: 2; } .zone-txt { order: 1; } }
@media (max-width: 600px) { .map { max-width: 330px; } .zone-card { padding: 20px 16px; } }

/* ===== FAQ ===== */
.faq { max-width: 840px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 22px 0; font-size: 18px; font-weight: 700; color: var(--ink); transition: color .2s; }
.faq summary:hover { color: var(--blue); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; flex: 0 0 30px; height: 30px; border-radius: 50%; background: var(--soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2317212e' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center/14px no-repeat; transition: transform .35s var(--ease), background-color .3s; }
.faq details[open] summary::after { transform: rotate(45deg); background-color: #e6edf9; }
.faq .ans { overflow: hidden; }
.faq details p { padding: 0 48px 22px 0; color: var(--mu); }
.faq details a { color: var(--blue); }

/* ===== CHIUSURA (blu scuro, gradiente animato) ===== */
.final-sec { position: relative; overflow: hidden; background: var(--night); color: var(--night-mu); padding: 112px 0; isolation: isolate; }
.final-sec .bg { position: absolute; inset: -40%; z-index: -1; background: radial-gradient(30% 35% at 25% 35%, rgba(61,111,224,.55), transparent 70%), radial-gradient(28% 32% at 75% 30%, rgba(47,165,150,.42), transparent 70%), radial-gradient(35% 40% at 60% 80%, rgba(20,43,73,.95), transparent 70%), radial-gradient(25% 30% at 15% 85%, rgba(148,185,255,.28), transparent 70%); animation: bgspin 30s ease-in-out infinite alternate; animation-play-state: paused; }
.final-sec.vis .bg { animation-play-state: running; }
@keyframes bgspin { 0% { transform: rotate(0deg) scale(1); } 50% { transform: rotate(8deg) scale(1.08) translate(2%, -2%); } 100% { transform: rotate(-6deg) scale(1.04) translate(-2%, 2%); } }
.final { display: grid; grid-template-columns: 1fr 1.02fr; gap: 64px; align-items: center; }
.final h2 { color: #fff; font-size: clamp(32px, 3.8vw, 48px); }
.final .txt > p { margin-top: 20px; font-size: 18px; color: #c9d4e4; }
.final .ck { margin-top: 28px; font-size: 17px; color: #fff; font-weight: 600; }
@media (max-width: 960px) { .final { grid-template-columns: 1fr; gap: 36px; } .final-sec { padding: 80px 0; } }
form.lead-form { background: #fff; border-radius: 26px; padding: 32px; box-shadow: 0 40px 80px rgba(0,0,0,.3); display: grid; gap: 14px; color: var(--ink2); }
form.lead-form .form-title { font-family: var(--head); font-size: 23px; color: var(--ink); letter-spacing: -0.03em; }
form.lead-form .form-sub { font-size: 14.5px; color: var(--mu); margin-top: -8px; }
form.lead-form label { display: grid; gap: 6px; font-size: 14.5px; font-weight: 600; color: var(--ink); }
form.lead-form input, form.lead-form select { font: inherit; font-size: 16px; font-weight: 400; color: var(--ink); background: #fff; border: 1px solid #d3dae4; border-radius: 12px; padding: 13px 14px; width: 100%; min-height: 50px; transition: border-color .2s, box-shadow .2s; }
form.lead-form .ac input { padding-left: 42px; min-height: 50px; border-color: #d3dae4; font-size: 16px; }
form.lead-form .ac::before { top: 15px; left: 14px; }
form.lead-form input:focus, form.lead-form select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(61,111,224,.15); }
form.lead-form [aria-invalid=true] { border-color: var(--red); }
form.lead-form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: end; }
form.lead-form .consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; font-weight: 400; color: var(--mu); }
form.lead-form .consent input { width: 20px; height: 20px; min-height: 0; margin-top: 2px; flex: 0 0 20px; padding: 0; }
form.lead-form .consent a { color: var(--blue); }
form.lead-form .btn { width: 100%; min-height: 56px; font-size: 17px; }
form.lead-form .btn[disabled] { opacity: .75; cursor: progress; }
form.lead-form .btn .spin { width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(255,255,255,.4); border-top-color: #fff; animation: spin .8s linear infinite; display: none; }
form.lead-form .btn.busy .spin { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-reassure { text-align: center; font-size: 14px; color: var(--mu); }
.form-err { margin: 0; color: #b42318; background: #fdecec; border-radius: 12px; padding: 10px 14px; font-size: 14.5px; }
.form-err a { color: inherit; font-weight: 700; }
.form-ok { text-align: center; padding: 26px 8px; }
.form-ok[hidden] { display: none; }
.form-ok i { display: block; width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 50%; background: var(--green) 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='m5 12 5 5 9-10'/%3E%3C/svg%3E") center/28px no-repeat; box-shadow: 0 0 0 10px rgba(31,164,99,.14); animation: zin .5s var(--ease); }
.form-ok b { display: block; font-family: var(--head); font-weight: 400; font-size: 24px; color: var(--ink); letter-spacing: -0.03em; }
.form-ok p { margin-top: 10px; color: var(--mu); }
@media (max-width: 520px) { form.lead-form { padding: 24px 18px; border-radius: 22px; } form.lead-form .row2 { grid-template-columns: 1fr; } }

/* ===== FOOTER ===== */
.ft { padding: 64px 0 40px; background: #fff; border-top: 1px solid var(--line); }
.ft-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.ft img { height: 24px; width: auto; margin-bottom: 14px; }
.ft p { font-size: 15px; color: var(--mu); max-width: 380px; }
.ft h4 { margin: 0 0 12px; font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); }
.ft ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 15px; }
.ft ul a { text-decoration: none; color: var(--mu); } .ft ul a:hover { color: var(--ink); }
.ft .ft-bottom { max-width: none; } .ft-bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 14px; color: var(--mu); }
@media (max-width: 760px) { .ft-grid { grid-template-columns: 1fr 1fr; } .ft-grid > div:first-child { grid-column: 1 / -1; } }

/* ===== PAGINE DEI PIANI ===== */
.price-box { display: grid; grid-template-columns: repeat(var(--n, 4), 1fr); gap: 16px; }
.pb { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 24px; box-shadow: var(--sh); }
.pb span { display: block; font-size: 14.5px; color: var(--mu); }
.pb b { display: block; font-family: var(--head); font-weight: 400; font-size: clamp(32px, 3.4vw, 44px); letter-spacing: -0.05em; color: var(--ink); line-height: 1.1; margin: 6px 0 4px; white-space: nowrap; }
.pb small { font-size: 14px; color: var(--mu); }
.pb.hl { border: 2px solid transparent; background: linear-gradient(#fff, #fff) padding-box, linear-gradient(120deg, var(--g-a), var(--g-b)) border-box; }
@media (max-width: 900px) { .price-box { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .pb { padding: 18px 16px; } .pb b { font-size: 30px; } .pb span { font-size: 14px; } }
.example { max-width: 760px; margin: 24px auto 0; text-align: center; font-size: 16.5px; color: var(--ink2); }
.terms { max-width: 920px; margin: 48px auto 0; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.terms > div { display: grid; grid-template-columns: 240px 1fr; gap: 20px; padding: 18px 28px; border-top: 1px solid var(--line); }
.terms > div:first-child { border-top: 0; }
.terms dt { font-weight: 700; color: var(--ink); }
.terms dd { margin: 0; color: var(--ink2); }
@media (max-width: 700px) { .terms > div { grid-template-columns: 1fr; gap: 4px; padding: 16px 20px; } }
.guar { position: relative; overflow: hidden; max-width: 920px; margin: 0 auto; display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: start; background: var(--night); color: var(--night-mu); border-radius: var(--r-lg); padding: 40px; }
.guar::before { content: ''; position: absolute; width: 500px; height: 500px; right: -200px; top: -250px; background: radial-gradient(closest-side, rgba(148,185,255,.2), transparent); }
.guar-ic { position: relative; width: 64px; height: 64px; border-radius: 18px; background: rgba(154,213,206,.14); display: grid; place-items: center; color: var(--g-b); }
.guar-ic svg { width: 32px; height: 32px; }
.guar h2 { color: #fff; font-size: clamp(26px, 2.8vw, 34px); }
.guar p { margin-top: 14px; color: #dde3ec; font-size: 17.5px; }
.guar ul { margin: 18px 0 0; padding-left: 20px; display: grid; gap: 8px; font-size: 15.5px; }
.guar > div { position: relative; }
@media (max-width: 700px) { .guar { grid-template-columns: 1fr; padding: 28px 22px; } }

/* finestra «Accedi» */
.acc-modal { position: fixed; inset: 0; z-index: 100; background: rgba(12,20,32,.45); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); display: grid; place-items: center; padding: 16px; opacity: 0; transition: opacity .2s; }
.acc-modal.on { opacity: 1; }
.acc-modal[hidden] { display: none; }
.acc-card { position: relative; width: min(440px, 100%); background: #fff; border-radius: 24px; padding: 28px; box-shadow: var(--sh-lg); }
.acc-x { position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: var(--soft); font-size: 22px; cursor: pointer; }
.acc-t { font-family: var(--head); font-size: 24px; color: var(--ink); }
.acc-s { color: var(--mu); margin: 4px 0 18px; }
.acc-opt { display: grid; grid-template-columns: 44px 1fr auto; gap: 14px; align-items: center; padding: 14px; border: 1px solid var(--line); border-radius: 16px; text-decoration: none; margin-top: 10px; }
.acc-opt:hover { border-color: var(--blue); }
.acc-opt b { display: block; color: var(--ink); } .acc-opt small { color: var(--mu); font-size: 14px; }
.acc-ic { width: 44px; height: 44px; border-radius: 12px; background: var(--soft); display: grid; place-items: center; }
.acc-ic svg { width: 22px; height: 22px; fill: none; stroke: var(--blue); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* movimento ridotto: tutto visibile e fermo */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js .rv, .js .cost li { opacity: 1; transform: none; }
  .g, .gl { animation: none; background-position: 30% 50%; }
  .marquee-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
  .marquee-track ul[aria-hidden] { display: none; }
  .marquee ul { flex-wrap: wrap; justify-content: center; row-gap: 24px; }
  .marquee { -webkit-mask-image: none; mask-image: none; }
}

/* ritocchi su telefono */
@media (max-width: 600px) {
  .demo-bar img { display: none; }
  .ppd-nav span:not(.tag-demo) { display: none; }
  .ppd-nav .tag-demo { margin-left: auto; }
  .sign { flex-direction: column; align-items: flex-start; gap: 8px; }
  .sign span { border-left: 0; padding-left: 0; }
}
@media (max-width: 480px) {
  .cost li { grid-template-columns: 34px 1fr auto; gap: 10px; }
  .cost .v { grid-column: auto; text-align: right; font-size: 16px; }
  .cost .v em { font-size: 10px; }
}
.ppd td.n, .ppd th.n { padding-left: 14px; text-align: right; }
.pdf-tot small { font-size: 9px; color: #cfe7da; opacity: 1; margin-bottom: 2px; }

/* ===== Risultati centrati + effetto vetro (stile Apple) ===== */
#risultati { position: relative; overflow: hidden; }
#risultati::before, #risultati::after { content: ''; position: absolute; border-radius: 50%; filter: blur(70px); pointer-events: none; z-index: 0; }
#risultati::before { width: 620px; height: 420px; left: -120px; top: 32%; background: rgba(148,185,255,.32); }
#risultati::after { width: 560px; height: 420px; right: -120px; bottom: 4%; background: rgba(154,213,206,.3); }
#risultati .wrap { position: relative; z-index: 1; }
.rcard { align-items: center; text-align: center; background: rgba(255,255,255,.62); -webkit-backdrop-filter: blur(24px) saturate(180%); backdrop-filter: blur(24px) saturate(180%); border: 1px solid rgba(255,255,255,.85); box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 1px 2px rgba(16,24,39,.04), 0 18px 44px rgba(16,24,39,.08); }
.rcard::before { left: 50%; right: auto; width: 56px; top: 0; height: 4px; transform: translateX(-50%); border-radius: 0 0 4px 4px; }
.rcard-top { flex-direction: column; gap: 12px; }
.rcard .sub { align-self: stretch; }
.rcard .btn { align-self: center; }
.rwide { grid-template-columns: 1fr 1fr; justify-items: center; gap: 22px 0; padding: 34px 36px 30px; }
.rwide .rcard-top { grid-column: 1 / -1; grid-row: auto; align-self: center; margin-bottom: 4px; }
.rwide .m1, .rwide .m2 { text-align: center; padding: 0 28px; align-self: stretch; display: flex; flex-direction: column; justify-content: center; }
.rwide .m2 { border-left: 1px solid rgba(16,24,39,.08); padding-left: 28px; }
.rwide .btn { grid-column: 1 / -1; justify-self: center; margin-top: 6px; }
@media (max-width: 960px) { .rwide { grid-template-columns: 1fr; } .rwide .m2 { border-left: 0; border-top: 1px solid rgba(16,24,39,.08); padding: 18px 0 0; } .rwide .m1 { padding: 0; } }

/* bottoni in vetro */
.btn { background: linear-gradient(180deg, rgba(104,146,245,.96), rgba(56,103,222,.96)); border: 1px solid rgba(255,255,255,.28); box-shadow: inset 0 1px 0 rgba(255,255,255,.4), inset 0 -1px 0 rgba(0,0,0,.08), 0 10px 26px rgba(61,111,224,.3); -webkit-backdrop-filter: blur(14px) saturate(160%); backdrop-filter: blur(14px) saturate(160%); }
.btn:hover { background: linear-gradient(180deg, rgba(96,138,240,1), rgba(48,94,212,1)); box-shadow: inset 0 1px 0 rgba(255,255,255,.45), 0 16px 34px rgba(61,111,224,.36); }
.btn.ghost { background: rgba(255,255,255,.55); color: var(--ink); border: 1px solid rgba(255,255,255,.9); box-shadow: inset 0 1px 0 #fff, 0 1px 2px rgba(16,24,39,.06), 0 8px 22px rgba(16,24,39,.08), 0 0 0 1px rgba(16,24,39,.05); -webkit-backdrop-filter: blur(20px) saturate(180%); backdrop-filter: blur(20px) saturate(180%); }
.btn.ghost:hover { background: rgba(255,255,255,.8); box-shadow: inset 0 1px 0 #fff, 0 14px 30px rgba(16,24,39,.12), 0 0 0 1px rgba(16,24,39,.07); }
.btn.dark { background: linear-gradient(180deg, rgba(40,52,74,.95), rgba(18,27,43,.95)); border-color: rgba(255,255,255,.12); box-shadow: inset 0 1px 0 rgba(255,255,255,.14), 0 10px 24px rgba(16,24,39,.24); }
.btn.light { background: rgba(255,255,255,.14); color: #fff; border: 1px solid rgba(255,255,255,.3); box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 10px 30px rgba(0,0,0,.25); -webkit-backdrop-filter: blur(20px) saturate(180%); backdrop-filter: blur(20px) saturate(180%); }
.btn.light:hover { background: rgba(255,255,255,.24); }
.night .link { text-decoration: none; display: inline-flex; padding: 12px 22px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); box-shadow: inset 0 1px 0 rgba(255,255,255,.18); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); transition: background .25s; }
.night .link:hover { background: rgba(255,255,255,.14); }

/* card in vetro */
.plan { background: rgba(255,255,255,.7); -webkit-backdrop-filter: blur(24px) saturate(180%); backdrop-filter: blur(24px) saturate(180%); border: 1px solid rgba(255,255,255,.9); box-shadow: inset 0 1px 0 #fff, 0 1px 2px rgba(16,24,39,.04), 0 18px 44px rgba(16,24,39,.08); }
.hd { background: rgba(255,255,255,.72); -webkit-backdrop-filter: blur(22px) saturate(180%); backdrop-filter: blur(22px) saturate(180%); }

/* PreventiPRO: cornice in vetro col gradiente del marchio al posto del bordo scuro */
.ppd-win { background: linear-gradient(135deg, rgba(148,185,255,.75), rgba(154,213,206,.75)); padding: 8px; border-radius: 28px; border: 1px solid rgba(255,255,255,.8); box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 30px 80px rgba(61,111,224,.2), 0 10px 30px rgba(47,165,150,.12); }
.ppd-win::before { content: ''; position: absolute; inset: 8% -6% -8%; z-index: -1; border-radius: 40px; background: var(--brand-grad); filter: blur(60px); opacity: .35; }
.ppd-in { border-radius: 21px; }
.ppd-steps button { background: rgba(255,255,255,.6); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.ppd-steps button.on { background: linear-gradient(120deg, var(--blue), var(--teal)); color: #fff; border-color: transparent; box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 8px 20px rgba(61,111,224,.25); }
/* niente bottoni neri: quelli «scuri» prendono il gradiente del marchio */
.btn.dark { background: linear-gradient(120deg, rgba(61,111,224,.97), rgba(47,165,150,.97)); border: 1px solid rgba(255,255,255,.28); box-shadow: inset 0 1px 0 rgba(255,255,255,.38), 0 12px 28px rgba(61,111,224,.28); }
.btn.dark:hover { background: linear-gradient(120deg, #3463d4, #29978a); box-shadow: inset 0 1px 0 rgba(255,255,255,.4), 0 16px 34px rgba(61,111,224,.34); }

/* Zona: niente invito a toccare la mappa, il campo città si fa notare da solo */
.map { -webkit-mask-image: radial-gradient(50% 50% at 50% 50%, #000 66%, transparent 100%); mask-image: radial-gradient(50% 50% at 50% 50%, #000 66%, transparent 100%); }
.map-svg .it path { cursor: text; }
.ac-invito input { border-color: rgba(154,213,206,.9); animation: invito 2.2s ease-in-out infinite; }
.ac-invito::after { content: ''; position: absolute; inset: -6px; border-radius: 19px; border: 2px solid transparent; background: linear-gradient(120deg, var(--g-a), var(--g-b)) border-box; -webkit-mask: linear-gradient(#000 0 0) padding-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: .9; pointer-events: none; animation: invito-b 2.2s ease-in-out infinite; }
.ac-invito input::placeholder { color: #5b6b83; }
@keyframes invito { 0%, 100% { box-shadow: 0 0 0 0 rgba(148,185,255,.0), 0 10px 30px rgba(148,185,255,.15); } 50% { box-shadow: 0 0 0 6px rgba(148,185,255,.18), 0 14px 40px rgba(154,213,206,.3); } }
@keyframes invito-b { 0%, 100% { opacity: .35; transform: scale(1); } 50% { opacity: 1; transform: scale(1.01); } }
@media (prefers-reduced-motion: reduce) { .ac-invito input, .ac-invito::after { animation: none; } }

/* Sezione finale tutta centrata: testo sopra, modulo grande sotto */
.final { grid-template-columns: 1fr; gap: 48px; justify-items: center; text-align: center; }
.final .txt { max-width: 780px; }
.final h2 { font-size: clamp(34px, 4.4vw, 58px); }
.final .txt > p { margin-left: auto; margin-right: auto; max-width: 680px; }
.final .ck { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; }
.final .ck li { margin: 0; }
.final form.lead-form { width: 100%; max-width: 760px; text-align: left; padding: 40px 44px; border-radius: 30px; box-shadow: inset 0 1px 0 #fff, 0 40px 100px rgba(0,0,0,.35), 0 0 0 1px rgba(255,255,255,.5), 0 0 80px rgba(148,185,255,.18); }
.final form.lead-form .form-title, .final form.lead-form .form-sub { text-align: center; }
.final form.lead-form .form-title { font-size: 30px; }
@media (max-width: 600px) { .final form.lead-form { padding: 26px 18px; border-radius: 24px; } .final .ck { flex-direction: column; align-items: center; } }

/* Totale: al posto della nota, la domanda che porta alla nostra soluzione */
.total p.tq { font-family: var(--head); font-size: clamp(24px, 2.4vw, 30px); letter-spacing: -0.03em; line-height: 1.15; padding-top: 14px; margin-top: 10px; background: var(--light-grad); background-size: 300% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: gmove 9s ease-in-out infinite alternate; }

/* Pannello «Tu pensi solo a due cose» */
.due-panel { justify-content: center; text-align: left; }
.due-panel .kicker { position: relative; color: var(--g-b); }
.due-panel h3 { font-size: clamp(32px, 3.4vw, 46px); line-height: 1.08; letter-spacing: -0.04em; margin: 10px 0 34px; }
.due { list-style: none; margin: 0 0 36px; padding: 0; display: grid; gap: 16px; position: relative; }
.due li { position: relative; display: grid; grid-template-columns: 64px 1fr; align-items: center; gap: 20px; padding: 22px 24px; border-radius: 22px; background: linear-gradient(160deg, rgba(255,255,255,.09), rgba(255,255,255,.03)); border: 1px solid rgba(255,255,255,.12); box-shadow: inset 0 1px 0 rgba(255,255,255,.1); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); overflow: hidden; }
.due .bi { width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; background: linear-gradient(135deg, var(--g-a), var(--g-b)); color: var(--night); box-shadow: 0 10px 30px rgba(148,185,255,.3); }
.due .bi svg { width: 30px; height: 30px; }
.due b { font-family: var(--head); font-weight: 400; font-size: clamp(24px, 2.3vw, 30px); letter-spacing: -0.03em; color: #fff; }
.due .dn { position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-family: var(--head); font-size: 96px; line-height: 1; letter-spacing: -0.05em; color: rgba(255,255,255,.06); pointer-events: none; }
.due-panel .btn { position: relative; align-self: flex-start; }
@media (max-width: 600px) { .due li { grid-template-columns: 52px 1fr; padding: 18px; } .due .bi { width: 52px; height: 52px; border-radius: 16px; } .due-panel .btn { align-self: stretch; } }

/* titolo risultati su due righe pulite */
#risultati .head { max-width: 980px; }
#risultati .head p { max-width: 780px; margin-left: auto; margin-right: auto; }
h2, .diff-t { text-wrap: balance; }

/* Header unico del sito: menu «Casi studio» a tendina */
.hd .wrap > nav { align-items: center; }
.hd .wrap > nav a.on { color: var(--ink); background: var(--soft); }
.dd { position: relative; }
.dd > a { display: inline-flex; align-items: center; gap: 4px; }
.dd .chev { width: 15px; height: 15px; transition: transform .25s var(--ease); }
.dd:hover .chev, .dd:focus-within .chev { transform: rotate(180deg); }
.dd-m { position: absolute; left: 50%; top: calc(100% + 10px); width: 340px; padding: 8px; display: grid; gap: 2px; border-radius: 20px; background: rgba(255,255,255,.86); -webkit-backdrop-filter: blur(24px) saturate(180%); backdrop-filter: blur(24px) saturate(180%); border: 1px solid rgba(255,255,255,.9); box-shadow: inset 0 1px 0 #fff, 0 24px 60px rgba(16,24,39,.16), 0 0 0 1px rgba(16,24,39,.05); opacity: 0; visibility: hidden; transform: translate(-50%, 8px); transition: opacity .22s, transform .22s var(--ease), visibility .22s; }
.dd-m::before { content: ''; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.dd:hover .dd-m, .dd:focus-within .dd-m { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.hd .dd-m a { display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 14px; }
.dd-m img { width: 34px; height: 34px; border-radius: 50%; box-shadow: 0 4px 10px rgba(16,24,39,.12); }
.dd-m span { font-weight: 700; color: var(--ink); font-size: 15px; line-height: 1.25; }
.dd-m small { display: block; font-weight: 500; font-size: 13px; color: var(--mu); }
.mnav a.sub { padding-left: 22px; font-size: 15.5px; color: var(--mu); }
.ft-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
@media (max-width: 1080px) { .hd .wrap > nav a { padding: 8px 9px; font-size: 14.5px; } }
/* logo nella scheda InfissiPRO: proporzioni originali */
.vs.us .vs-logo { align-self: flex-start; width: auto; max-width: 100%; height: 28px; object-fit: contain; }
img[src*="logo_light"] { object-fit: contain; }

/* simbolo e calcolatore */
.ft .ft-logo { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.ft .ft-logo img { margin: 0; }
.ft .ft-logo .ft-sym { height: 40px; width: auto; }
.ft .ft-logo img + img { height: 24px; width: auto; }
.sym-wm { position: absolute; right: -40px; bottom: -36px; width: 300px; height: auto; opacity: .1; pointer-events: none; z-index: 0; }
.due-panel > *:not(.sym-wm), .calc-out > *:not(.sym-wm) { position: relative; z-index: 1; }
.final .sym-top { display: block; width: 88px; height: auto; margin: 0 auto 22px; }
.final .rv.in .sym-top, .final .vis .sym-top { animation: symIn 1s var(--ease) both; }
@keyframes symIn { from { opacity: 0; transform: translateY(10px) scale(.92); } to { opacity: 1; transform: none; } }

.calc { margin-top: 48px; display: grid; grid-template-columns: 1.05fr .95fr; background: #fff; border: 1px solid var(--line); border-radius: 28px; box-shadow: 0 30px 70px rgba(16,24,39,.08); overflow: hidden; }
.calc-in { padding: clamp(24px, 3.4vw, 46px); display: grid; gap: 32px; align-content: center; min-width: 0; }
.calc .fld label { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 12px; font-weight: 700; color: var(--ink); font-size: 17px; margin-bottom: 12px; }
.calc .fld output { font-family: var(--head); font-size: 26px; letter-spacing: -.04em; color: var(--blue); white-space: nowrap; }
.calc .fld small { display: block; font-size: 14px; color: var(--mu); margin-top: 8px; }
.calc input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 30px; background: transparent; margin: 0; cursor: pointer; }
.calc input[type=range]::-webkit-slider-runnable-track { height: 8px; border-radius: 8px; background: linear-gradient(90deg, #6892f5, #3d6fe0 var(--p, 50%), #dfe6f0 var(--p, 50%)); }
.calc input[type=range]::-moz-range-track { height: 8px; border-radius: 8px; background: #dfe6f0; }
.calc input[type=range]::-moz-range-progress { height: 8px; border-radius: 8px; background: #3d6fe0; }
.calc input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 30px; height: 30px; border-radius: 50%; background: rgba(255,255,255,.95); border: 3px solid #3d6fe0; box-shadow: 0 6px 16px rgba(61,111,224,.35), inset 0 1px 0 #fff; margin-top: -11px; transition: transform .2s var(--ease); }
.calc input[type=range]:active::-webkit-slider-thumb { transform: scale(1.12); }
.calc input[type=range]::-moz-range-thumb { width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 3px solid #3d6fe0; box-shadow: 0 4px 12px rgba(61,111,224,.35); }
.calc-out { position: relative; overflow: hidden; min-width: 0; background: radial-gradient(500px 300px at 80% 0%, rgba(61,111,224,.45), transparent 70%), radial-gradient(400px 260px at 0% 100%, rgba(47,165,150,.25), transparent 70%), var(--night); color: var(--night-mu); padding: clamp(26px, 3.6vw, 48px); display: flex; flex-direction: column; justify-content: center; }
.calc-out small { font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--g-b); }
.calc-out .yr { font-family: var(--head); font-size: clamp(42px, 5.4vw, 72px); letter-spacing: -.05em; line-height: 1.1; margin: 10px 0 6px; padding: .04em 0 .08em; font-variant-numeric: tabular-nums; white-space: nowrap; background: linear-gradient(100deg, #f3fbff 5%, #9ae0d5 50%, #94b9ff 95%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.calc-out dl { margin: 22px 0 28px; padding: 20px 0 0; border-top: 1px solid rgba(255,255,255,.12); display: grid; gap: 10px; font-size: 16px; }
.calc-out dl div { display: flex; justify-content: space-between; gap: 14px; }
.calc-out dd { margin: 0; color: #fff; font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }
.calc-out .btn { width: 100%; justify-content: center; }
.calc-out p.n { font-size: 13px; margin: 14px 0 0; color: #8597b0; line-height: 1.5; }
.calc-out .sym-wm { right: -50px; bottom: -40px; width: 320px; opacity: .08; }
@media (max-width: 860px) { .calc { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 480px) { .calc-out .btn { white-space: normal; text-align: center; padding-left: 18px; padding-right: 18px; font-size: 15.5px; min-height: 56px; line-height: 1.25; } }

/* simbolo piccolo */
.final .sym-top { width: 46px; height: auto; margin: 0 auto 18px; }
.sym-k { display: inline-flex; align-items: center; gap: 10px; }
.sym-k img { width: 30px; height: auto; flex: none; }

/* loghi nuovi */
.hd .logo img { height: 22px; width: auto; }
.ft img.ft-logo { display: block; height: 76px; width: auto; margin: 0 0 18px; }
.vs.us .vs-logo { height: 26px; }
/* footer su telefono: due colonne */
.ft-grid > div { min-width: 0; }
@media (max-width: 760px) { .ft-grid { grid-template-columns: 1fr 1fr; } .ft-grid > div:first-child { grid-column: 1 / -1; } }
/* niente scorrimento laterale durante le animazioni; pulsanti lunghi vanno a capo su telefono */
html, body { overflow-x: clip; }
@media (max-width: 480px) { a.btn, button.btn { white-space: normal; text-align: center; line-height: 1.25; min-height: 52px; height: auto; padding-top: 12px; padding-bottom: 12px; } }

/* popup analisi gratuita */
.pop-ov { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 20px; background: rgba(8,14,26,.42); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); opacity: 0; transition: opacity .35s var(--ease); }
.pop-ov.on { opacity: 1; }
.pop { position: relative; width: min(440px, 100%); max-height: calc(100dvh - 40px); overflow: auto; background: #fff; color: var(--ink2); border-radius: 28px; padding: 30px 30px 26px; box-shadow: 0 40px 100px rgba(8,14,26,.35), 0 0 0 1px rgba(16,24,39,.05); transform: translateY(18px) scale(.97); transition: transform .45s var(--ease); }
.pop-ov.on .pop { transform: none; }
.pop::before { content: ''; position: absolute; inset: 0 0 auto; height: 120px; border-radius: 28px 28px 0 0; background: var(--light-grad, linear-gradient(135deg, #eef3ff, #eaf7f5)); z-index: 0; }
.pop > * { position: relative; z-index: 1; }
.pop-x { position: absolute; top: 14px; right: 14px; z-index: 2; width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(255,255,255,.8); color: var(--ink); font-size: 22px; line-height: 1; cursor: pointer; display: grid; place-items: center; box-shadow: 0 2px 8px rgba(16,24,39,.08); }
.pop-x:hover { background: #fff; }
.pop-who { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.pop-who .ph { flex: none; width: 72px; height: 72px; border-radius: 50%; padding: 3px; background: var(--brand-grad); }
.pop-who .ph img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; object-position: 50% 18%; border: 3px solid #fff; display: block; }
.pop-who b { display: block; font-size: 16px; color: var(--ink); }
.pop-who small { display: block; font-size: 13.5px; color: var(--mu); }
.pop-who .live { display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; font-size: 12.5px; font-weight: 700; color: var(--teal); }
.pop-who .live i { width: 8px; height: 8px; border-radius: 50%; background: #23b26d; box-shadow: 0 0 0 4px rgba(35,178,109,.18); }
.pop .kicker { display: block; margin-bottom: 8px; }
.pop h2 { font-family: var(--head); font-weight: 400; font-size: clamp(24px, 6vw, 29px); line-height: 1.15; letter-spacing: -.03em; color: var(--ink); margin: 0 0 12px; text-wrap: balance; }
.pop p { margin: 0 0 16px; font-size: 16px; line-height: 1.55; color: var(--mu); }
.pop ul { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 9px; }
.pop li { display: flex; gap: 10px; align-items: flex-start; font-size: 15.5px; color: var(--ink2); line-height: 1.4; }
.pop li::before { content: ''; flex: none; width: 20px; height: 20px; margin-top: 1px; border-radius: 50%; background: var(--teal) 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.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 4.5 4.5L19 7'/%3E%3C/svg%3E") center/12px no-repeat; }
.pop .btn { width: 100%; white-space: normal; text-align: center; line-height: 1.25; }
.pop-no { display: block; margin: 12px auto 0; background: none; border: 0; color: var(--mu); font: 600 14px var(--font); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.pop-no:hover { color: var(--ink); }
@media (max-width: 560px) {
  .pop-ov { place-items: end center; padding: 0; }
  .pop { width: 100%; border-radius: 26px 26px 0 0; padding: 26px 22px calc(20px + env(safe-area-inset-bottom)); transform: translateY(100%); max-height: 92dvh; }
  .pop::before { border-radius: 26px 26px 0 0; }
}
@media (prefers-reduced-motion: reduce) { .pop-ov, .pop { transition: none; } }
/* foto del fondatore più grande, giacca intera */
.founder { grid-template-columns: 400px 1fr; max-width: 1120px; gap: 64px; }
.founder-pic img { width: 400px; height: 421px; object-position: 50% 0; }
@media (max-width: 1060px) { .founder { grid-template-columns: 320px 1fr; gap: 48px; } .founder-pic img { width: 320px; height: 337px; } }
@media (max-width: 860px) { .founder { grid-template-columns: 1fr; } .founder-pic { width: min(320px, 82vw); } .founder-pic img { width: 100%; height: auto; aspect-ratio: 400 / 421; } }
.pop::before { height: 170px; -webkit-mask-image: linear-gradient(#000 45%, transparent); mask-image: linear-gradient(#000 45%, transparent); }
.pop-who { margin-bottom: 20px; }
/* header su telefono: pulsante su una riga, logo un po' più piccolo */
.hd a.btn { white-space: nowrap; min-height: 40px; padding-top: 0; padding-bottom: 0; }
@media (max-width: 480px) { .hd .logo img { height: 17px; } .hd a.btn.sm { padding: 0 14px; font-size: 14px; } }

/* PreventiPRO scuro */
.sec.pp-dark { background: var(--night); color: var(--night-mu); overflow: hidden; isolation: isolate; }
.pp-dark .pp-bg { position: absolute; inset: 0; z-index: -1; background: radial-gradient(38% 42% at 12% 18%, rgba(61,111,224,.42), transparent 70%), radial-gradient(34% 38% at 92% 30%, rgba(47,165,150,.3), transparent 70%), radial-gradient(40% 40% at 55% 100%, rgba(148,185,255,.16), transparent 70%); }
.pp-dark .pp h2 { color: #fff; }
.pp-dark .pp .txt > p { color: var(--night-mu); }
.pp-dark .gift { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 20px; padding: 9px 16px 9px 12px; border-radius: 999px; font-size: 13.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #fff; background: linear-gradient(120deg, rgba(104,146,245,.32), rgba(154,213,206,.26)); border: 1px solid rgba(255,255,255,.28); box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 10px 26px rgba(61,111,224,.25); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.pp-dark .gift svg { width: 20px; height: 20px; color: var(--g-b); flex: none; }
.pp-val { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 28px; }
.pp-val > div { padding: 14px 18px; border-radius: 18px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); }
.pp-val small { display: block; margin: 0 0 4px; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #8597b0; line-height: 1.2; }
.pp-val s { font-size: 16.5px; color: #8fa0b8; text-decoration-thickness: 2px; text-decoration-color: rgba(255,120,120,.75); }
.pp-val .si { background: linear-gradient(120deg, rgba(104,146,245,.24), rgba(154,213,206,.2)); border-color: rgba(154,213,206,.4); }
.pp-val .si small { color: var(--g-b); }
.pp-val b { font-size: 17.5px; color: #fff; }
.pp-dark .ppd-steps button { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.16); color: var(--night-mu); }
.pp-dark .ppd-steps button.on { color: #fff; border-color: transparent; }
.pp-cards { margin-top: 84px; }
.pp-cards h3 { text-align: center; color: #fff; font-size: clamp(24px, 2.6vw, 32px); margin: 0 0 30px; }
.pp-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.pp-card { padding: 24px 22px; border-radius: 22px; background: rgba(255,255,255,.055); border: 1px solid rgba(255,255,255,.12); box-shadow: inset 0 1px 0 rgba(255,255,255,.1); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); transition: transform .35s var(--ease), background .35s, border-color .35s; }
.pp-card:hover { transform: translateY(-4px); background: rgba(255,255,255,.085); border-color: rgba(154,213,206,.4); }
.pp-card i { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--brand-grad); color: #0c1526; box-shadow: inset 0 1px 0 rgba(255,255,255,.5), 0 10px 22px rgba(61,111,224,.28); }
.pp-card svg { width: 22px; height: 22px; }
.pp-card h4 { margin: 18px 0 8px; font-size: 17.5px; color: #fff; line-height: 1.25; }
.pp-card p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--night-mu); }
.pp-foot { margin: 30px auto 0; max-width: 640px; text-align: center; font-size: 15px; color: #8fa0b8; }
@media (max-width: 1060px) { .pp-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) {
  .pp-grid { grid-template-columns: 1fr; gap: 12px; }
  .pp-card { display: grid; grid-template-columns: 46px 1fr; gap: 14px; align-items: start; padding: 18px; }
  .pp-card h4 { margin: 2px 0 6px; }
  .pp-cards { margin-top: 60px; }
  .pp-val > div { flex: 1 1 100%; }
}
/* PreventiPRO: 9 card su tre colonne */
.pp-grid { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1060px) { .pp-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .pp-grid { grid-template-columns: 1fr; } }
/* due sezioni bianche di fila: niente doppio vuoto tra casi studio e calcolatore */
#risultati + #calcolo { padding-top: 8px; }
