/* Home InfissiPRO: apertura centrata, calendario animato, dolori, regalo */

/* ---------- APERTURA ---------- */
.h-hero { padding: 76px 0 40px; text-align: center; position: relative; overflow: hidden; }
.h-hero h1 { font-size: clamp(44px, 7.2vw, 92px); line-height: .95; letter-spacing: -0.06em; max-width: 1000px; margin: 0 auto 24px; }
.h-hero .lead { max-width: 700px; margin: 0 auto 30px; font-size: clamp(18px, 2vw, 21px); }
.h-hero .lead b { color: var(--ink); font-weight: 700; }
.h-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.h-proof { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 26px; }
.h-proof span { display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 500; padding: 8px 14px 8px 10px; border-radius: 99px; background: rgba(255,255,255,.7); border: 1px solid rgba(255,255,255,.95); box-shadow: 0 6px 20px rgba(40,70,110,.06); }
.h-proof svg { width: 18px; height: 18px; color: #2f9c91; }

/* calendario */
.cal-stage { position: relative; max-width: 980px; margin: 56px auto 0; padding: 0 22px; }
.cal { position: relative; z-index: 2; background: rgba(255,255,255,.78); backdrop-filter: blur(20px) saturate(1.4); -webkit-backdrop-filter: blur(20px) saturate(1.4); border: 1px solid rgba(255,255,255,.95); border-radius: 30px; padding: 22px; box-shadow: 0 50px 100px rgba(40,70,110,.18), inset 0 1px 0 #fff; }
.cal-top { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.cal-top .dots { display: flex; gap: 6px; }
.cal-top .dots i { width: 11px; height: 11px; border-radius: 50%; background: #e3e8ee; }
.cal-top .ph { height: 10px; border-radius: 6px; background: #e6ebf1; }
.cal-top .ph.a { width: 120px; } .cal-top .ph.b { width: 70px; opacity: .7; }
.cal-bell { margin-left: auto; position: relative; width: 40px; height: 40px; border-radius: 12px; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; color: var(--ink); }
.cal-bell svg { width: 20px; height: 20px; }
.cal-count { position: absolute; top: -8px; right: -8px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 99px; background: var(--btn); color: #0b1a24; font-weight: 800; font-size: 12px; display: grid; place-items: center; box-shadow: 0 6px 14px rgba(85,137,238,.35); }
.cal-count.pop { animation: pop .45s cubic-bezier(.2,1.6,.4,1); }
@keyframes pop { 0% { transform: scale(.6); } 100% { transform: scale(1); } }
.cal-days { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; margin-bottom: 10px; }
.cal-days i { height: 8px; border-radius: 5px; background: #e6ebf1; width: 46%; margin: 0 auto; }
.cal-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.cal-cell { height: 64px; border-radius: 14px; border: 1.5px dashed #dfe6ed; background: rgba(246,248,251,.6); position: relative; }
.cal-ev { position: absolute; inset: 4px; border-radius: 11px; background: #fff; box-shadow: 0 10px 24px rgba(40,70,110,.14); display: flex; align-items: center; gap: 8px; padding: 0 10px; opacity: 0; transform: scale(.6) translateY(10px); transition: transform .55s cubic-bezier(.2,1.4,.4,1), opacity .3s; overflow: hidden; }
.cal-ev::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--grad); }
.cal-ev.in { opacity: 1; transform: none; }
.cal-ev.out { opacity: 0; transform: scale(.9); transition: all .5s; }
.cal-ev .av { flex: 0 0 26px; height: 26px; border-radius: 50%; position: relative; }
.cal-ev .av::after { content: ''; position: absolute; left: 50%; top: 32%; width: 9px; height: 9px; margin-left: -4.5px; border-radius: 50%; background: rgba(255,255,255,.85); box-shadow: 0 9px 0 3px rgba(255,255,255,.85); clip-path: inset(0 -6px -2px -6px); }
.cal-ev .ic { color: #5b7896; display: grid; } .cal-ev .ic svg { width: 18px; height: 18px; }
.cal-ev .bar { flex: 1; height: 7px; border-radius: 5px; background: #e9eef4; min-width: 10px; }
.cal-ev .ok { position: absolute; right: 7px; top: 7px; width: 18px; height: 18px; border-radius: 50%; background: #2fbf71; color: #fff; font-style: normal; font-size: 11px; font-weight: 800; display: grid; place-items: center; transform: scale(0); transition: transform .4s cubic-bezier(.2,1.6,.4,1); }
.cal-ev.done .ok { transform: scale(1); }
.float3d { position: absolute; z-index: 3; width: 190px; filter: drop-shadow(0 30px 40px rgba(40,70,110,.18)); animation: bob 6s ease-in-out infinite; pointer-events: none; }
.float3d.l { left: -110px; top: 40px; }
.float3d.r { right: -100px; bottom: -30px; width: 200px; animation-delay: -3s; }
@keyframes bob { 0%,100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-14px) rotate(2deg); } }
@media (max-width: 1180px) { .float3d.l { left: -40px; top: -60px; width: 140px; } .float3d.r { right: -30px; bottom: -50px; width: 150px; } }
@media (max-width: 700px) {
  .h-hero { padding: 48px 0 24px; }
  .cal { padding: 14px; border-radius: 22px; }
  .cal-grid, .cal-days { gap: 6px; grid-template-columns: repeat(4, 1fr); }
  .cal-days i:nth-child(n+5), .cal-cell:nth-child(6n+5), .cal-cell:nth-child(6n+6) { display: none; }
  .cal-cell { height: 52px; border-radius: 11px; }
  .cal-ev { gap: 5px; padding: 0 7px; } .cal-ev .bar { display: none; } .cal-ev .ok { right: 3px; top: 3px; width: 14px; height: 14px; font-size: 8px; } .cal-ev .av { flex-basis: 22px; height: 22px; }
  .float3d.l { width: 96px; left: -6px; top: -54px; } .float3d.r { width: 104px; right: -6px; bottom: -44px; }
}

/* ---------- DOLORI ---------- */
.pains { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.pain { background: #fff; border: 1px solid var(--line); border-radius: 26px; padding: 10px 26px 28px; position: relative; overflow: hidden; transition: transform .45s cubic-bezier(.2,.7,.2,1), box-shadow .45s; }
.pain:hover { transform: translateY(-6px); box-shadow: 0 30px 60px rgba(40,70,110,.12); }
.pain img { width: 150px; height: 150px; object-fit: contain; margin: 0 0 4px -8px; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.pain:hover img { transform: scale(1.06) rotate(-3deg); }
.pain h3 { font-size: 21px; margin-bottom: 8px; }
.pain p { color: var(--ink2); margin: 0; font-size: 16px; }
.pain.dark { background: linear-gradient(150deg, #1b2a40, #0e1522); border: 0; color: #fff; display: flex; flex-direction: column; justify-content: flex-end; padding-top: 28px; min-height: 280px; }
.pain.dark h3 { color: #fff; font-size: 26px; }
.pain.dark p { color: #b8c4d2; }
.pain.dark .big { font-family: var(--head); font-size: 110px; line-height: .8; letter-spacing: -0.06em; position: absolute; top: 20px; right: 20px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; opacity: .9; }
.bridge { margin: 44px auto 0; max-width: 860px; text-align: center; font-family: var(--head); font-size: clamp(24px, 3vw, 34px); line-height: 1.15; letter-spacing: -0.045em; }
.bridge span { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
@media (max-width: 960px) { .pains { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .pains { grid-template-columns: 1fr; } .pain { display: grid; grid-template-columns: 96px 1fr; gap: 6px 14px; align-items: center; padding: 16px 18px; } .pain img { width: 96px; height: 96px; margin: 0; grid-row: span 2; } .pain h3 { font-size: 18px; margin: 0; align-self: end; } .pain p { font-size: 14.5px; align-self: start; } .pain.dark { display: flex; min-height: 0; padding: 24px; } }

/* ---------- COME FUNZIONA (con immagini) ---------- */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; position: relative; }
.flow::before { content: ''; position: absolute; left: 12%; right: 12%; top: 92px; height: 2px; background: linear-gradient(90deg, transparent, #cfe0ee 10%, #cfe0ee 90%, transparent); z-index: 0; }
.fstep { position: relative; z-index: 1; text-align: center; }
.fstep .pic { width: 184px; height: 184px; margin: 0 auto 10px; border-radius: 50%; background: radial-gradient(circle at 50% 40%, #fff, #eef3f8 70%); border: 1px solid #fff; box-shadow: 0 20px 50px rgba(40,70,110,.12); display: grid; place-items: center; position: relative; }
.fstep .pic img { width: 150px; height: 150px; object-fit: contain; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.fstep:hover .pic img { transform: translateY(-6px) scale(1.05); }
.fstep .pic b { position: absolute; top: 6px; left: 6px; width: 40px; height: 40px; border-radius: 50%; background: var(--grad); color: #fff; font-family: var(--head); font-weight: 400; font-size: 18px; display: grid; place-items: center; box-shadow: 0 8px 20px rgba(85,137,238,.35); }
.fstep .who { font-weight: 800; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--kicker); margin: 8px 0 6px; }
.fstep p { color: var(--ink2); font-size: 15.5px; max-width: 250px; margin: 0 auto; }
@media (max-width: 960px) { .flow { grid-template-columns: 1fr 1fr; row-gap: 36px; } .flow::before { display: none; } }
@media (max-width: 520px) { .fstep .pic { width: 150px; height: 150px; } .fstep .pic img { width: 120px; height: 120px; } .flow { gap: 26px 12px; } .fstep h3 { font-size: 17px; } .fstep p { font-size: 14px; } }

/* ---------- PREVENTIVATORE IN REGALO ---------- */
.gift { position: relative; display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: center; background: radial-gradient(90% 120% at 0% 0%, #1b2b48, #0b1220 62%); color: #fff; border-radius: 36px; padding: clamp(28px, 5vw, 64px); overflow: hidden; }
.gift::after { content: ''; position: absolute; width: 520px; height: 520px; right: -160px; bottom: -220px; border-radius: 50%; background: radial-gradient(circle, rgba(97,204,191,.35), transparent 65%); }
.gift h2 { color: #fff; font-size: clamp(32px, 4.4vw, 54px); }
.gift .lead { color: #c3cfdc; }
.gift .price-old { display: inline-flex; align-items: baseline; gap: 14px; margin: 6px 0 18px; flex-wrap: wrap; }
.gift .price-old s { font-family: var(--head); font-size: 34px; letter-spacing: -0.05em; color: #8b97a8; text-decoration-color: rgba(255,110,110,.85); text-decoration-thickness: 3px; }
.gift .price-old strong { font-family: var(--head); font-weight: 400; font-size: 46px; letter-spacing: -0.05em; background: linear-gradient(100deg, #e9fbff, #7fe0d4 40%, #6f9cff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.gift ul { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 10px; }
.gift li { display: flex; gap: 12px; align-items: flex-start; color: #dbe4ee; }
.gift li::before { content: '✓'; flex: 0 0 24px; height: 24px; border-radius: 50%; background: var(--grad); color: #0b1a24; font-weight: 800; font-size: 12px; display: grid; place-items: center; margin-top: 1px; }
.gift .pic { position: relative; z-index: 1; }
.gift .pic img { width: 100%; max-width: 460px; margin: 0 auto; animation: bob 7s ease-in-out infinite; filter: drop-shadow(0 40px 60px rgba(0,0,0,.45)); }
.gift .ribbon { position: absolute; top: 22px; right: 24px; z-index: 2; font-weight: 800; font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; background: var(--btn); color: #0b1a24; padding: 8px 14px; border-radius: 99px; }
.gift .note { font-size: 13.5px; color: #8fa0b4; margin: 14px 0 0; }
.gift .acts { display: flex; gap: 12px; flex-wrap: wrap; }
.gift > * { position: relative; z-index: 1; }
@media (max-width: 900px) { .gift { grid-template-columns: 1fr; } .gift .pic img { max-width: 300px; } }

/* ---------- PROMESSE con immagine ---------- */
.promise-wrap { display: grid; grid-template-columns: 1fr 1.4fr; gap: 40px; align-items: center; }
.promise-pic { position: relative; height: 420px; }
.promise-pic img { position: absolute; filter: drop-shadow(0 30px 40px rgba(40,70,110,.18)); }
.promise-pic img.a { width: 70%; left: 0; top: 0; animation: bob 7s ease-in-out infinite; }
.promise-pic img.b { width: 58%; right: 0; bottom: 0; animation: bob 8s ease-in-out infinite; animation-delay: -3s; }
.plist { display: grid; gap: 12px; }
.plist > div { display: grid; grid-template-columns: 52px 1fr; gap: 16px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 16px 20px; transition: transform .35s, box-shadow .35s; }
.plist > div:hover { transform: translateX(6px); box-shadow: 0 16px 40px rgba(40,70,110,.1); }
.plist b { width: 52px; height: 52px; border-radius: 16px; background: var(--grad); color: #fff; font-family: var(--head); font-weight: 400; font-size: 22px; display: grid; place-items: center; }
.plist h3 { margin: 0 0 2px; font-size: 19px; }
.plist p { margin: 0; color: var(--ink2); font-size: 15px; }
@media (max-width: 900px) { .promise-wrap { grid-template-columns: 1fr; } .promise-pic { height: 260px; max-width: 420px; width: 100%; margin: 0 auto; } }

/* ---------- confronto 25 € ---------- */
.vs { display: grid; grid-template-columns: 1fr auto 1fr; gap: 18px; align-items: stretch; }
.vs .card { display: flex; flex-direction: column; }
.vs .mid { display: grid; place-items: center; font-family: var(--head); font-size: 26px; color: var(--ink2); }
.vs img { width: 120px; height: 120px; object-fit: contain; margin: -10px 0 0 -8px; }
@media (max-width: 800px) { .vs { grid-template-columns: 1fr; } .vs .mid { display: none; } }

.simone h2 { font-size: clamp(30px, 3.6vw, 44px); }

/* comparsa allo scroll */
.js .rv { opacity: 0; transform: translateY(26px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
.js .rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .rv { opacity: 1; transform: none; transition: none; } }

/* dolori minimal: X rossa al posto delle immagini */
.pains { gap: 14px; }
.pain, .pain.dark { display: block; min-height: 0; padding: 26px 26px 26px; }
.pain .x { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: #fdecec; margin-bottom: 18px; }
.pain .x::before { content: ''; width: 16px; height: 16px; background: linear-gradient(45deg, transparent 43%, #e04646 43%, #e04646 57%, transparent 57%), linear-gradient(-45deg, transparent 43%, #e04646 43%, #e04646 57%, transparent 57%); }
.pain h3 { font-size: 20px; }
.pain.dark .x { background: rgba(224,70,70,.18); }
.pain.dark h3 { font-size: 20px; }
@media (max-width: 620px) { .pain, .pain.dark { display: grid; grid-template-columns: 42px 1fr; gap: 4px 14px; padding: 18px; } .pain .x { grid-row: span 2; margin: 0; } .pain h3 { font-size: 17px; margin: 0; align-self: end; } .pain p { align-self: start; } }

/* ================= v3: sezioni separate, tick verdi, blu, timeline ================= */
:root { --green: #1fb46a; --greenbg: #e3f6ec; }
ul.check li::before { background: var(--green); }
.tk { display: inline-grid; place-items: center; flex: 0 0 20px; width: 20px; height: 20px; border-radius: 50%; background: var(--green); }
.tk::before { content: ''; width: 9px; height: 5px; border-left: 2.2px solid #fff; border-bottom: 2.2px solid #fff; transform: rotate(-45deg) translate(1px, -1px); }
.h-proof span { padding-left: 8px; }
.h-note { font-size: 13.5px; color: var(--ink2); margin: 16px auto 0; max-width: 640px; }
.h-hero h1 { max-width: 1080px; }

/* fiducia sotto il calendario */
.trust-title { text-align: center; font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--ink2); margin: 64px 0 18px; }
.trust { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px 42px; }
.trust img { height: 54px; width: auto; filter: grayscale(1) brightness(0); opacity: .5; transition: opacity .3s; }
.trust img:hover { opacity: .85; }

/* loghi dei casi in bianco e nero */
.ccard-top img { filter: grayscale(1) contrast(1.1); }

/* fondi delle sezioni: alternanza chiara */
section.sec-white { background: #fff; }
section.soft { background: #f3f6fa; border: 0; }
section.sec-blue, section.sec-dark { margin: 0 16px; border-radius: 44px; position: relative; overflow: hidden; }
section.sec-blue { background: radial-gradient(80% 90% at 85% 0%, #5fd0c4 0%, transparent 55%), radial-gradient(70% 80% at 0% 100%, #2a5fd8 0%, transparent 60%), linear-gradient(135deg, #2f74e6, #3aa7d6); color: #fff; }
section.sec-blue h2, section.sec-blue h3 { color: #fff; }
section.sec-blue .lead { color: rgba(255,255,255,.85); }
section.sec-dark { background: radial-gradient(70% 90% at 100% 0%, rgba(85,137,238,.35), transparent 60%), #0e1522; color: #fff; }
section.sec-dark h2, section.sec-dark h3 { color: #fff; }
section.sec-dark p { color: #aab6c4; }
section.sec-dark .tag { color: var(--g1); }
section.sec-dark .small { color: #8796a8; }
@media (max-width: 700px) { section.sec-blue, section.sec-dark { margin: 0 8px; border-radius: 28px; } }

/* conti dei portali */
.math { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr; gap: 12px; align-items: stretch; }
.math .m { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 22px 20px; text-align: center; display: flex; flex-direction: column; gap: 8px; justify-content: center; }
.math .m b { font-family: var(--head); font-weight: 400; font-size: clamp(26px, 3vw, 38px); letter-spacing: -0.05em; line-height: 1; color: var(--ink); }
.math .m span { font-size: 14.5px; color: var(--ink2); line-height: 1.35; }
.math .m strong { color: var(--ink); }
.math .m.bad { background: #fff3f3; border-color: #f3caca; }
.math .m.bad b { color: #d23b3b; }
.math .arr { align-self: center; width: 22px; height: 22px; background: linear-gradient(90deg, transparent 0 0) ; position: relative; }
.math .arr::before { content: ''; position: absolute; inset: 0; margin: auto; width: 10px; height: 10px; border-top: 2.5px solid #9aa8b6; border-right: 2.5px solid #9aa8b6; transform: rotate(45deg); }
@media (max-width: 900px) { .math { grid-template-columns: 1fr 1fr; } .math .arr { display: none; } }
.card.good { border-color: #bfe8d1; box-shadow: 0 20px 50px rgba(31,180,106,.10); }
.good-sum { margin: 10px 0 0; padding: 14px 16px; border-radius: 14px; background: var(--greenbg); color: #145c39 !important; font-size: 15px; }

/* come funziona: timeline */
.blue-logo { filter: brightness(0) invert(1); height: 34px; width: auto; margin: 0 auto 26px; display: block; }
.tl { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.tl-line { position: absolute; left: 10%; right: 10%; top: 22px; height: 3px; border-radius: 3px; background: rgba(255,255,255,.25); }
.tl-fill { position: absolute; inset: 0; border-radius: 3px; background: #fff; transform-origin: left; transform: scaleX(0); }
.tl-dot { position: absolute; top: 50%; left: 0; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 6px rgba(255,255,255,.25), 0 0 24px #fff; opacity: 0; }
.tl.go .tl-fill { transition: transform 4.2s cubic-bezier(.45,0,.4,1); transform: scaleX(1); }
.tl.go .tl-dot { animation: tldot 4.2s cubic-bezier(.45,0,.4,1) forwards; }
@keyframes tldot { 0% { left: 0; opacity: 1; } 95% { opacity: 1; } 100% { left: 100%; opacity: 0; } }
.tl-step { position: relative; z-index: 1; text-align: center; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.28); border-radius: 24px; padding: 0 16px 20px; margin-top: 0; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); opacity: .45; transform: translateY(14px) scale(.97); transition: opacity .6s, transform .6s cubic-bezier(.2,1.3,.4,1), background .6s; }
.tl.go .tl-step { opacity: 1; transform: none; transition-delay: calc(var(--i) * .85s); }
.tl.go .tl-step.you { background: #fff; color: var(--ink); }
.tl-step.you h3 { color: var(--ink) !important; }
.tl-step.you ul.check li { color: var(--ink2) !important; }
.tl-n { width: 46px; height: 46px; margin: 0 auto 4px; border-radius: 50%; background: #2d6be0; border: 3px solid #fff; color: #fff; font-family: var(--head); font-size: 19px; display: grid; place-items: center; transform: translateY(-1px); box-shadow: 0 8px 20px rgba(10,40,110,.3); }
.tl.go .tl-step .tl-n { background: var(--green); transition: background .4s; transition-delay: calc(var(--i) * .85s + .2s); }
.tl-step img { width: 110px; height: 110px; object-fit: contain; margin: 4px auto 2px; display: block; filter: drop-shadow(0 16px 20px rgba(10,30,80,.25)); }
.tl-step h3 { font-size: 17.5px; line-height: 1.15; margin: 0 0 12px; min-height: 2.3em; }
.tl-step ul.check { text-align: left; margin: 0; }
.tl-step ul.check li { color: rgba(255,255,255,.92); font-size: 14px; padding-left: 28px; margin-bottom: 7px; }
.tl-step ul.check li::before { width: 19px; height: 19px; font-size: 11px; }
.blue-cta { margin-top: 44px; display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.blue-cta span { color: rgba(255,255,255,.85); font-size: 15px; }
.btn.white { background: #fff; color: #1d4fb8 !important; box-shadow: 0 16px 40px rgba(10,30,90,.3); }
@media (max-width: 1000px) {
  .tl { grid-template-columns: 1fr; gap: 14px; padding-left: 0; }
  .tl-line { left: 22px; right: auto; top: 22px; bottom: 22px; width: 3px; height: auto; }
  .tl-fill { transform-origin: top; transform: scaleY(0); }
  .tl.go .tl-fill { transform: scaleY(1); }
  .tl-dot { left: 50% !important; margin: -7px 0 0 -7px; top: 0; }
  .tl.go .tl-dot { animation: tldotv 4.2s cubic-bezier(.45,0,.4,1) forwards; }
  @keyframes tldotv { 0% { top: 0; opacity: 1; } 95% { opacity: 1; } 100% { top: 100%; opacity: 0; } }
  .tl-step { display: grid; grid-template-columns: 46px 64px 1fr; gap: 0 14px; align-items: center; text-align: left; padding: 14px 16px 14px 0; background: transparent; border: 0; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .tl.go .tl-step.you { background: transparent; color: #fff; }
  .tl-step.you h3 { color: #fff !important; } .tl-step.you ul.check li { color: rgba(255,255,255,.92) !important; }
  .tl-n { grid-row: span 2; margin: 0; align-self: start; }
  .tl-step img { width: 64px; height: 64px; grid-row: span 2; margin: 0; align-self: start; }
  .tl-step h3 { min-height: 0; margin: 4px 0 6px; font-size: 17px; }
  .tl-step ul.check { grid-column: 3; }
}

/* preventivatore */
.gift-grad { background: linear-gradient(100deg, #e9fbff, #7fe0d4 40%, #6f9cff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.gift li::before { background: var(--green); color: #fff; }
.gift .timer { position: absolute; left: 4%; bottom: 8%; z-index: 3; display: flex; align-items: center; gap: 10px; background: #fff; color: var(--ink); border-radius: 18px; padding: 12px 16px; box-shadow: 0 24px 50px rgba(0,0,0,.35); }
.gift .timer svg { width: 26px; height: 26px; color: var(--green); }
.gift .timer b { font-family: var(--head); font-weight: 400; font-size: 28px; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.gift .timer span { font-size: 12.5px; font-weight: 700; color: var(--ink2); max-width: 80px; line-height: 1.2; }
.gift .pic { position: relative; }

/* paure e risposte */
.fears { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.fear { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.fear .q, .fear .a { margin: 0; position: relative; padding-left: 36px; }
.fear .q { font-weight: 700; color: var(--ink); font-size: 16.5px; }
.fear .a { color: var(--ink2); font-size: 15.5px; padding-top: 14px; border-top: 1px dashed var(--line); }
.fear .q::before, .fear .a::before { content: ''; position: absolute; left: 0; top: 1px; width: 24px; height: 24px; border-radius: 50%; }
.fear .q::before { background: #fdecec url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e04646' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M7 7l10 10M17 7 7 17'/%3E%3C/svg%3E") center/12px no-repeat; }
.fear .a::before { top: 15px; 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.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E") center/13px no-repeat; }
@media (max-width: 960px) { .fears { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .fears { grid-template-columns: 1fr; } }

/* garanzie su fondo scuro */
.sec-dark .plist > div { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.1); }
.sec-dark .plist > div:hover { box-shadow: none; background: rgba(255,255,255,.08); }
.sec-dark .plist b { background: var(--green); width: 44px; height: 44px; border-radius: 50%; position: relative; }
.sec-dark .plist b::before { content: ''; width: 14px; height: 8px; border-left: 3px solid #fff; border-bottom: 3px solid #fff; transform: rotate(-45deg) translate(1px, -2px); }
.sec-dark .plist > div { grid-template-columns: 44px 1fr; }
.sec-dark .plist p { color: #aab6c4; }

/* confronto */
table.cmp th.us img { height: 22px; width: auto; display: block; }
table.cmp td i { display: inline-block; width: 18px; height: 18px; border-radius: 50%; vertical-align: -3px; margin-right: 9px; }
table.cmp td i.ok { 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; }
table.cmp td i.no { background: #fdecec url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e04646' stroke-width='3.4' stroke-linecap='round'%3E%3Cpath d='M7 7l10 10M17 7 7 17'/%3E%3C/svg%3E") center/10px no-repeat; }

/* per chi è */
.fit { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: center; }
.fit-lists { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 960px) { .fit { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .fit-lists { grid-template-columns: 1fr; } }

/* demo: carta blu gigante con il modulo */
section.sec-form { padding: 40px 0 96px; }
.form-card { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; padding: clamp(28px, 5vw, 64px); border-radius: 40px; color: #fff; background: radial-gradient(80% 90% at 100% 0%, #5fd0c4 0%, transparent 55%), radial-gradient(70% 80% at 0% 100%, #2a5fd8 0%, transparent 60%), linear-gradient(135deg, #2f74e6, #3aa7d6); box-shadow: 0 40px 90px rgba(40,90,190,.28); }
.form-card h2 { color: #fff; font-size: clamp(32px, 4vw, 50px); }
.form-card .tag { color: #dff8f4; }
.form-card .lead { color: rgba(255,255,255,.88); }
.next { list-style: none; counter-reset: n; padding: 0; margin: 22px 0; display: grid; gap: 14px; }
.next li { counter-increment: n; display: grid; grid-template-columns: 38px 1fr; gap: 2px 14px; }
.next li::before { content: counter(n); grid-row: span 2; width: 38px; height: 38px; border-radius: 50%; background: #fff; color: #1d4fb8; font-family: var(--head); font-size: 17px; display: grid; place-items: center; }
.next b { font-size: 17px; }
.next span { color: rgba(255,255,255,.82); font-size: 15px; }
.fc-free { display: flex; gap: 10px; align-items: center; font-weight: 600; margin: 0; }
.form-card form.lead-form { box-shadow: 0 30px 70px rgba(10,30,90,.35); }
.form-title { font-family: var(--head); font-size: 22px; letter-spacing: -0.04em; margin: 0 0 4px; color: var(--ink); }
@media (max-width: 900px) { .form-card { grid-template-columns: 1fr; border-radius: 28px; } section.sec-form { padding: 24px 0 56px; } }
@media (max-width: 520px) { .form-card { padding: 24px 16px; margin: 0 -8px; } }

/* il costo vero di una vendita: due scontrini */
.receipts-head { margin-top: 64px; }
.receipts-head h3 { font-size: clamp(24px, 2.8vw, 32px); letter-spacing: -0.04em; margin-bottom: 8px; }
.receipts-head p { color: var(--ink2); margin: 0 auto; max-width: 620px; }
.receipts { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 28px; }
.rc { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 24px 26px; display: flex; flex-direction: column; position: relative; }
.rc::after { content: ''; position: absolute; left: 22px; right: 22px; bottom: -7px; height: 14px; background: radial-gradient(circle at 7px 0, transparent 6px, #fff 6.5px) 0 0/14px 14px repeat-x; display: none; }
.rc ul { list-style: none; padding: 0; margin: 0 0 18px; flex: 1; }
.rc li { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.rc li span { color: var(--ink); font-size: 15.5px; }
.rc li small { display: block; color: var(--ink2); font-size: 13px; margin-top: 2px; }
.rc li b { font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }
.rc.bad li b { color: #c23535; }
.rc.good li b { color: #148a51; }
.rc-tot { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; border-radius: 16px; padding: 16px 18px; }
.rc-tot span { font-weight: 700; font-size: 15px; }
.rc-tot b { font-family: var(--head); font-weight: 400; font-size: clamp(26px, 3vw, 36px); letter-spacing: -0.05em; }
.rc.bad { border-color: #f3caca; }
.rc.bad .rc-tot { background: #fff1f1; color: #b42f2f; }
.rc.good { border-color: #bfe8d1; box-shadow: 0 24px 60px rgba(31,180,106,.12); }
.rc.good .rc-tot { background: var(--green); color: #fff; }
@media (max-width: 860px) { .receipts { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .rc { padding: 18px; } .rc li span { font-size: 14.5px; } }
.h-sub { max-width: 760px; margin: -12px auto 30px; color: var(--ink2); font-size: 16.5px; }
.h-sub b { color: var(--ink); }
.h-hero h1 { font-size: clamp(40px, 6.4vw, 82px); }

/* audit: simulazione, fondatore, condizioni, modulo */
.sim-chip { display: table; margin: 34px auto 14px; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #8a6a12; background: #fff6dc; border: 1px solid #f0dfa6; padding: 6px 12px; border-radius: 99px; }
section.founder-sec { padding: 56px 0; }
.founder { display: grid; grid-template-columns: 96px 1fr; gap: 24px; align-items: center; max-width: 880px; margin: 0 auto; text-decoration: none; color: var(--ink); background: #f6f8fb; border: 1px solid var(--line); border-radius: 28px; padding: 22px 28px; transition: box-shadow .3s, transform .3s; }
.founder:hover { box-shadow: 0 20px 50px rgba(40,70,110,.1); transform: translateY(-2px); }
.founder img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; object-position: top; }
.founder p { margin: 0; font-family: var(--head); font-size: clamp(18px, 2vw, 22px); line-height: 1.3; letter-spacing: -0.03em; }
.founder span { display: block; font-family: var(--font); font-size: 14px; color: var(--kicker); font-weight: 700; letter-spacing: 0; margin-top: 10px; }
@media (max-width: 560px) { .founder { grid-template-columns: 64px 1fr; padding: 18px; gap: 14px; } .founder img { width: 64px; height: 64px; } }
table.terms td:first-child { font-weight: 600; color: var(--ink); width: 26%; }
table.terms th:nth-child(2), table.terms td:nth-child(2) { background: rgba(97,204,191,.08); }
.form-reassure { margin: 0; font-size: 13px; color: var(--ink2); text-align: center; }

/* ===== v4 · riposizionamento ===== */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.pillar { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 24px 22px; box-shadow: 0 10px 30px rgba(20,40,90,.05); }
.pillar .tk { width: 28px; height: 28px; margin-bottom: 14px; }
.pillar h3 { font-size: 18px; margin: 0 0 8px; }
.pillar p { margin: 0; color: var(--mu); font-size: 15px; line-height: 1.5; }
@media (max-width: 1000px) { .pillars { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .pillars { grid-template-columns: 1fr; } }
table.cmp3 td.us, table.cmp3 th.us { background: rgba(31,180,106,.06); }
table.cmp3 td.us { font-weight: 600; }
table.cmp3 td:nth-child(2), table.cmp3 td:nth-child(3) { color: var(--mu); }
@media (max-width: 700px) { table.cmp3 { font-size: 13.5px; } table.cmp3 td, table.cmp3 th { padding: 10px 8px; } table.cmp3 td i { display: none; } }
.blue-note { max-width: 760px; margin: 34px auto 0; text-align: center; font-size: 14.5px; line-height: 1.55; color: rgba(255,255,255,.85); }
form.lead-form label small { font-weight: 400; color: var(--mu); }
.form-err { margin: 0; color: #c62f2f; background: #fdecec; border-radius: 12px; padding: 10px 14px; font-size: 14px; }
.form-fallback { background: #fff7e6; color: #6b4a00; border-radius: 14px; padding: 14px; font-size: 14.5px; line-height: 1.5; }
.form-fallback a { color: inherit; font-weight: 700; }
.plan .price small { display: block; margin-top: 6px; font-size: 15px; line-height: 1.4; }
.tiers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.tiers.two { grid-template-columns: 1fr 1fr; max-width: 640px; margin-left: auto; margin-right: auto; }
.tier { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 22px; display: grid; gap: 4px; text-align: center; }
.tier span { font-size: 14px; color: var(--mu); }
.tier b { font-size: clamp(34px, 4vw, 46px); line-height: 1.1; letter-spacing: -.02em; }
.tier small { font-size: 13.5px; color: var(--mu); }
.tier.plus { background: linear-gradient(135deg, rgba(97,204,191,.18), rgba(85,137,238,.16)), #fff; border-color: rgba(85,137,238,.3); }
@media (max-width: 900px) { .tiers { grid-template-columns: 1fr 1fr; } }
.example { max-width: 760px; margin: 22px auto 0; text-align: center; font-size: 15.5px; line-height: 1.55; }
table.terms2 td:first-child { width: 30%; font-weight: 600; }
.pillars.three { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .pillars.three { grid-template-columns: 1fr; } }
.guar { display: grid; grid-template-columns: 260px 1fr; gap: 40px; align-items: center; max-width: 980px; margin: 0 auto; }
.guar img { width: 100%; height: auto; }
.guar p { font-size: 17px; line-height: 1.55; }
@media (max-width: 800px) { .guar { grid-template-columns: 1fr; text-align: left; } .guar img { width: 160px; } }
.guar-list { margin: 14px 0 0; padding-left: 20px; display: grid; gap: 8px; color: var(--mu); font-size: 15px; line-height: 1.5; }
@media (max-width: 600px) {
  table.cmp3 th:nth-child(3), table.cmp3 td:nth-child(3) { display: none; }
  table.cmp3 { min-width: 0 !important; width: 100%; }
}
@media (max-width: 600px) { table.terms2 { min-width: 0; font-size: 14.5px; } table.terms2 td:first-child { width: 36%; } }
.tier b { white-space: nowrap; } @media (max-width: 600px) { .tier b { font-size: 30px; } .tier { padding: 18px 12px; } }
.nav nav a { white-space: nowrap; }

/* ===== v5 · home continua ===== */
.home section { padding: 84px 0; }
.home section.h-hero { padding-bottom: 56px; }
.home section.sec-blue { padding: 72px 0; }
@media (max-width: 640px) { .home section { padding: 56px 0; } .home section.sec-blue { padding: 52px 0; } }
.home .center .lead { max-width: 720px; margin-left: auto; margin-right: auto; }
/* timeline a 4 passaggi, testo corto */
.tl.tl4 { grid-template-columns: repeat(4, 1fr); gap: 18px; }
.tl.tl4 .tl-line { left: 12.5%; right: 12.5%; }
.tl4 .tl-step h3 { min-height: 0; margin: 4px 0 8px; font-size: 19px; }
.tl4 .tl-step p { margin: 0; font-size: 15px; line-height: 1.45; color: rgba(255,255,255,.9); }
.tl4 .tl-step.you p { color: var(--ink2); }
@media (max-width: 1000px) {
  .tl.tl4 { grid-template-columns: 1fr; }
  .tl4 .tl-step { grid-template-columns: 46px 64px 1fr; }
  .tl4 .tl-step img { grid-row: auto; }
  .tl4 .tl-step.you p { color: rgba(255,255,255,.9); }
}
/* lavoro prima del sopralluogo */
.work { display: grid; grid-template-columns: 1.1fr .9fr; gap: 20px; align-items: stretch; }
.work-list, .work-us { border-radius: 28px; padding: clamp(22px, 3vw, 34px); }
.work-list { background: #f5f7fa; border: 1px solid var(--line); }
.work-h { margin: 0 0 14px; font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--mu); }
.work-list ul { list-style: none; margin: 0; padding: 0; display: grid; }
.work-list li { display: grid; gap: 3px; padding: 14px 0 14px 30px; border-top: 1px dashed rgba(30,50,80,.14); position: relative; }
.work-list li:first-child { border-top: 0; padding-top: 4px; }
.work-list li::before { content: ''; position: absolute; left: 4px; top: 21px; width: 12px; height: 12px; border-radius: 4px; border: 2px solid #b9c3cf; }
.work-list li:first-child::before { top: 11px; }
.work-list b { font-size: 16.5px; }
.work-list span { font-size: 15px; color: var(--mu); line-height: 1.5; }
.work-us { background: radial-gradient(80% 90% at 100% 0%, rgba(97,204,191,.35), transparent 60%), linear-gradient(150deg, #1d3f8f, #2f74e6); color: #fff; display: flex; flex-direction: column; }
.work-logo { height: 24px; width: auto; align-self: flex-start; filter: brightness(0) invert(1); margin-bottom: 18px; }
.work-us h3 { color: #fff; font-size: clamp(22px, 2.4vw, 28px); line-height: 1.15; margin: 0 0 18px; }
.work-us ul.check li { color: rgba(255,255,255,.95); }
.work-end { margin: auto 0 0; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.25); font-family: var(--head); font-size: clamp(19px, 2vw, 23px); line-height: 1.25; letter-spacing: -0.02em; color: #fff; }
@media (max-width: 860px) { .work { grid-template-columns: 1fr; } }
/* confronto breve */
.vs3-head { margin-top: 64px; }
.h2s { font-size: clamp(26px, 3.2vw, 38px); }
.vs3 { display: grid; grid-template-columns: 1fr 1fr 1.15fr; gap: 14px; margin-top: 24px; }
.vs3 .v { border: 1px solid var(--line); border-radius: 22px; padding: 22px; background: #fff; }
.vs3 .v p { margin: 0; font-size: 15.5px; line-height: 1.5; color: var(--mu); }
.vs3 .v .v-t { font-weight: 800; color: var(--ink); margin-bottom: 8px; font-size: 16.5px; }
.vs3 .v.us { border-color: rgba(31,180,106,.45); background: linear-gradient(135deg, rgba(97,204,191,.12), rgba(85,137,238,.10)), #fff; box-shadow: 0 14px 34px rgba(30,80,160,.08); }
.vs3 .v.us p { color: var(--ink2); }
.vs3 .v.us .v-t img { height: 22px; width: auto; display: block; }
@media (max-width: 860px) { .vs3 { grid-template-columns: 1fr; } }
/* risultati */
.home .sim-chip { margin: 14px auto 0; }
.home .founder { margin-top: 36px; background: #fff; }
.home .founder span { font-weight: 600; }
/* piani senza prezzi */
.plan-h { font-size: clamp(22px, 2.3vw, 27px); line-height: 1.2; margin: 12px 0 10px; }
.plans-note { text-align: center; margin: 22px auto 0; font-weight: 600; color: var(--ink2); }
/* preventivatore compatto */
.pp-mini { display: grid; grid-template-columns: .95fr 1.05fr; gap: 36px; align-items: center; background: #f5f7fa; border: 1px solid var(--line); border-radius: 30px; padding: clamp(22px, 3.5vw, 40px); }
.pp-mini-pic img { width: 100%; height: auto; border-radius: 16px; border: 1px solid var(--line); box-shadow: 0 24px 50px rgba(20,40,90,.14); display: block; }
.pp-mini h3 { font-size: clamp(22px, 2.5vw, 30px); line-height: 1.15; margin: 10px 0 12px; }
.pp-mini p { color: var(--mu); margin: 0 0 14px; }
.link-arrow { font-weight: 700; color: #2f6fe0; text-decoration: none; }
.link-arrow:hover { text-decoration: underline; }
@media (max-width: 860px) { .pp-mini { grid-template-columns: 1fr; gap: 22px; } }
/* modulo: campi facoltativi a scomparsa */
form.lead-form details.opt summary { cursor: pointer; font-size: 14px; color: #2f6fe0; font-weight: 600; padding: 2px 0; }
form.lead-form details.opt[open] summary { margin-bottom: 10px; }
/* hero subito visibile (traffico da telefono) */
.js .h-hero .rv { opacity: 1 !important; transform: none !important; }
@media (max-width: 600px) {
  .tl4 .tl-step { grid-template-columns: 46px 1fr; }
  .tl4 .tl-step img { display: none; }
  .ccards.three .ccard-top { padding: 18px 20px 0; }
  .ccards.three .ccard-top img { width: 46px; height: 46px; }
  .ccards.three .ccard-top span { font-size: 11px; padding: 5px 9px; }
  .ccards.three .ccard h3 { font-size: 19px; margin: 14px 20px 0; }
  .ccards.three .ccard-num { font-size: 34px; margin: 14px 20px 6px; }
  .ccards.three .ccard-lbl { margin: 0 20px; font-size: 12px; }
  .ccards.three .ccard-sub { margin: 6px 20px 18px; font-size: 14.5px; }
  .ccards.three .ccard-cta { font-size: 12.5px; padding: 14px; }
  .home .sim-chip { font-size: 11px; }
}
