@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,700;0,9..40,800;1,9..40,400&display=swap');
@font-face { font-family: 'Helios Extended'; src: url('assets/fonts/heliosext.otf') format('opentype'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Helios Extended'; src: url('assets/fonts/heliosext_bold.otf') format('opentype'); font-weight: 500 700; font-style: normal; font-display: swap; }

/* Stile allineato a www.infissipro.it (pagine lv-) */
:root {
  --page: #eef1f5; --card: #fff; --ink: #18212b; --ink2: #56606a; --mu: #625d5f; --line: #dce5eb;
  --g1: #61ccbf; --g2: #5589ee; --gtext: #10202a; --blue: #5589ee; --kicker: #397d78;
  --ok: #1b8a57; --okbg: #dcf3e6; --bad: #c62f2f; --badbg: #fadcdc;
  --grad: linear-gradient(90deg, var(--g1), var(--g2));
  --btn: linear-gradient(135deg, #55c5bb, #5589ee);
  --head: 'Helios Extended', 'Archivo', system-ui, sans-serif;
  --font: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --sh: 0 10px 30px rgba(40,70,110,.10);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--font); color: var(--ink); font-size: 17px; line-height: 1.55;
  background:
    radial-gradient(48vw 48vw at 92% -6%, rgba(85,137,238,.22), transparent 62%),
    radial-gradient(42vw 42vw at -8% 18%, rgba(97,204,191,.26), transparent 62%),
    radial-gradient(40vw 40vw at 70% 55%, rgba(167,150,255,.12), transparent 62%),
    var(--page);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--head); font-weight: 400; color: var(--ink); margin: 0 0 18px; }
h1 { font-size: clamp(40px, 5.4vw, 66px); line-height: .98; letter-spacing: -0.055em; }
h2 { font-size: clamp(30px, 3.6vw, 44px); line-height: 1.04; letter-spacing: -0.045em; }
h3 { font-size: clamp(19px, 1.6vw, 22px); line-height: 1.2; letter-spacing: -0.035em; }
p { margin: 0 0 14px; }
strong { font-weight: 700; }
.wrap { max-width: 1140px; margin: 0 auto; padding: 0 22px; }
.narrow { max-width: 780px; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tag { display: inline-block; font-family: var(--font); font-weight: 800; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--kicker); margin-bottom: 14px; }
.lead { font-size: clamp(17px, 1.9vw, 20px); color: var(--ink2); }
.small { font-size: 14px; color: var(--ink2); }

/* nav (vetro come il sito) */
.nav { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.66); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); border-bottom: 1px solid rgba(30,50,80,.08); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 70px; gap: 16px; }
.nav img { height: 28px; width: auto; }
.nav nav { display: flex; gap: 6px; align-items: center; font-size: 14.5px; }
.nav nav a:not(.btn) { text-decoration: none; color: #14181c; padding: 8px 14px; border-radius: 99px; }
.nav nav a:not(.btn):hover { background: rgba(20,30,45,.07); }
.nav nav a.active { background: rgba(20,30,45,.07); font-weight: 500; }
.nav nav .btn { margin-left: 8px; }
@media (max-width: 760px) { .nav nav a:not(.btn) { display: none; } }

/* bottoni */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; font-family: var(--font); font-weight: 800; font-size: 16px; padding: 0 26px; border-radius: 999px; background: var(--btn); color: var(--gtext) !important; text-decoration: none; border: 0; cursor: pointer; transition: transform .2s cubic-bezier(.2,.7,.2,1), box-shadow .2s; box-shadow: 0 14px 34px rgba(74,132,214,.2); white-space: nowrap; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 18px 40px rgba(74,132,214,.3); }
.btn.sm { min-height: 40px; padding: 0 18px; font-size: 14px; box-shadow: 0 8px 20px rgba(74,132,214,.18); }
.btn.ghost { background: #fff; border: 1px solid var(--line); box-shadow: none; color: var(--ink) !important; }

/* sezioni: niente fasce grigie, come il sito */
section { padding: 96px 0; }
section.soft { background: rgba(255,255,255,.38); border-top: 1px solid rgba(255,255,255,.7); border-bottom: 1px solid rgba(30,50,80,.05); }
section.dark { background: #18212b; color: #fff; }
section.dark h2 { color: #fff; }
section.dark .lead, section.dark p { color: #b8c2cb; }
section.dark .tag { color: var(--g1); }

.hero { padding: 84px 0 88px; }
.hero .wrap { display: grid; grid-template-columns: 1.2fr .9fr; gap: 56px; align-items: center; }
.hero .lead { max-width: 600px; margin-bottom: 26px; }
.hero .proof { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 24px; font-size: 15px; color: var(--ink2); }
.hero .proof span::before { content: '✓ '; color: var(--ok); font-weight: 700; }
.hero-card { background: rgba(255,255,255,.72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid rgba(255,255,255,.9); border-radius: 24px; padding: 26px; box-shadow: 0 30px 80px rgba(40,70,110,.14), inset 0 1px 0 rgba(255,255,255,.95); }
.hero-card .row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.hero-card .row:last-of-type { border-bottom: 0; }
.hero-card .row strong { font-weight: 500; }
.hero-card .pill { font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 99px; background: var(--okbg); color: var(--ok); white-space: nowrap; }
.hero-card .head { font-family: var(--head); font-size: 19px; letter-spacing: -0.035em; margin-bottom: 6px; }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; } .hero { padding: 56px 0 64px; } }

.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 900px) { .grid3, .grid4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .grid2, .grid3, .grid4 { grid-template-columns: 1fr; } section { padding: 68px 0; } }

.card { background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 28px; }
.card p { color: var(--ink2); }
.card .num { font-family: var(--head); font-size: 40px; letter-spacing: -0.05em; line-height: 1; margin-bottom: 14px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; display: inline-block; }
.card.hl { background: linear-gradient(135deg, rgba(97,204,191,.20), rgba(85,137,238,.18)), #fff; border-color: rgba(85,137,238,.30); }
.card.hl p { color: var(--ink2); }
.card.bad { border-color: #f0d2d2; }
.label { display: inline-block; font-size: 12.5px; font-weight: 700; padding: 4px 12px; border-radius: 99px; margin-bottom: 14px; background: var(--okbg); color: var(--ok); }
.label.bad { background: var(--badbg); color: var(--bad); }
.label.blue { background: rgba(85,137,238,.12); color: #2a54aa; }

ul.check, ul.cross { list-style: none; padding: 0; margin: 0 0 12px; }
ul.check li, ul.cross li { position: relative; padding-left: 32px; margin-bottom: 10px; color: var(--ink2); }
ul.check li::before { content: '✓'; position: absolute; left: 0; top: 2px; width: 21px; height: 21px; border-radius: 99px; background: var(--grad); color: #fff; font-size: 12px; font-weight: 800; display: grid; place-items: center; }
ul.cross li::before { content: '×'; position: absolute; left: 4px; top: -2px; color: var(--bad); font-weight: 800; font-size: 20px; }

.steps { counter-reset: s; display: grid; gap: 14px; }
.step { display: grid; grid-template-columns: 56px 1fr; gap: 18px; align-items: start; background: #fff; border-radius: 24px; padding: 22px; border: 1px solid var(--line); }
.step p { color: var(--ink2); margin: 0; }
.step::before { counter-increment: s; content: counter(s); font-family: var(--head); font-size: 22px; width: 48px; height: 48px; border-radius: 16px; background: var(--grad); color: #fff; display: grid; place-items: center; }
.step .who { font-weight: 800; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--kicker); margin-bottom: 4px; }
.step h3 { margin-bottom: 8px; }

.table-wrap { overflow-x: auto; border-radius: 24px; border: 1px solid var(--line); background: #fff; }
table { width: 100%; border-collapse: collapse; font-size: 16px; min-width: 520px; }
th, td { text-align: left; padding: 15px 20px; border-bottom: 1px solid var(--line); vertical-align: top; }
td { color: var(--ink2); }
td strong { color: var(--ink); }
th { font-weight: 800; font-size: 12.5px; text-transform: uppercase; letter-spacing: .07em; color: var(--kicker); background: #f6f8fa; }
tr:last-child td { border-bottom: 0; }
td.us, th.us { background: rgba(97,204,191,.10); color: var(--ink); font-weight: 500; }
th.us { background: rgba(97,204,191,.18); }

.price { font-family: var(--head); font-size: 46px; letter-spacing: -0.05em; line-height: 1; margin: 6px 0 10px; }
.price small { font-family: var(--font); font-size: 15px; letter-spacing: 0; color: var(--ink2); }
.plan { display: flex; flex-direction: column; }
.plan .btn { margin-top: auto; align-self: flex-start; }

.quote { font-family: var(--head); font-size: clamp(22px, 3vw, 30px); letter-spacing: -0.04em; line-height: 1.2; }

details { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 18px 22px; margin-bottom: 10px; }
details summary { font-weight: 500; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
details summary::-webkit-details-marker { display: none; }
details summary::after { content: '+'; font-size: 22px; line-height: 1; color: var(--blue); }
details[open] summary::after { content: '–'; }
details p { margin: 12px 0 0; color: var(--ink2); }

/* modulo */
.cta-box { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
@media (max-width: 900px) { .cta-box { grid-template-columns: 1fr; } }
form.lead-form { background: #fff; color: var(--ink); border-radius: 24px; padding: 28px; display: grid; gap: 12px; box-shadow: 0 30px 80px rgba(0,0,0,.25); }
form.lead-form label { font-size: 14px; font-weight: 500; display: grid; gap: 6px; }
form.lead-form input, form.lead-form select { font: inherit; font-size: 16px; padding: 13px 14px; border: 1px solid var(--line); border-radius: 14px; background: #fff; color: var(--ink); width: 100%; }
form.lead-form input:focus, form.lead-form select:focus { outline: none; border-color: var(--g2); box-shadow: 0 0 0 4px rgba(85,137,238,.24); }
form.lead-form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 520px) { form.lead-form .row2 { grid-template-columns: 1fr; } }
form.lead-form .consent { font-weight: 400; font-size: 13px; color: var(--mu); display: flex; gap: 10px; align-items: flex-start; }
form.lead-form .consent input { width: auto; margin-top: 3px; }
form.lead-form .btn { width: 100%; }
.form-ok { display: none; background: var(--okbg); color: var(--ok); padding: 14px; border-radius: 14px; font-weight: 700; }

footer { padding: 40px 0 48px; background: #2c292a; color: #aeb4ba; font-size: 14px; }
footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: center; }
footer img { height: 22px; width: auto; }
footer a { color: #fff; }

.mt { margin-top: 40px; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; max-width: 720px; }
.grid2 > *, .grid3 > *, .grid4 > *, .cta-box > * { min-width: 0; }
@media (max-width: 520px) { .nav .btn.sm { padding: 0 14px; font-size: 13px; } .nav img { height: 24px; } form.lead-form .btn { white-space: normal; } }
.plan .label, .card .label { align-self: flex-start; }
