/* Raviglie · stile minimale */
:root {
  --accent: #2EA3F2;        /* azzurro: dettagli, bordi, icone */
  --accent-strong: #0A76C4; /* azzurro scuro: bottoni e link (contrasto AA) */
  --accent-hover: #0969B0;
  --tint: #F2F8FE;          /* sfondi azzurro chiarissimo */
  --tint-2: #E3F1FC;
  --ink: #0E1726;
  --muted: #4A5566;
  --line: #E5ECF3;
  --bg: #FFFFFF;
  --radius: 14px;
  --max: 1080px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 120px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body { margin: 0; font-family: var(--font); font-size: 1.0625rem; line-height: 1.65; color: var(--ink); background: var(--bg); }
img, svg { display: block; max-width: 100%; }
a { color: var(--accent-strong); text-underline-offset: 3px; }
a:hover { color: var(--accent-hover); }
h1, h2, h3, h4 { line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 .6em; font-weight: 700; }
h1 { font-size: clamp(2.3rem, 5.4vw, 3.9rem); letter-spacing: -0.035em; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff; padding: .6rem 1rem; z-index: 100; }
.skip:focus { left: 1rem; top: 1rem; color: #fff; }
.muted { color: var(--muted); }
.accent { color: var(--accent-strong); }
.hp { position: absolute; left: -9999px; }

/* ---------- Bottoni ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; font: inherit; font-weight: 600; font-size: 1rem; line-height: 1; padding: .95rem 1.4rem; border-radius: 999px; border: 1.5px solid transparent; text-decoration: none; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.btn-primary { background: var(--accent-strong); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent-strong); }
.btn-lg { padding: 1.1rem 1.7rem; font-size: 1.05rem; }
.btn-block { width: 100%; }

/* ---------- Icona scudo ---------- */
.shield { width: 1.25em; height: 1.25em; flex: none; color: var(--accent-strong); }

/* ---------- Barra garanzia + header (sticky) ---------- */
.top { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); }
@supports (backdrop-filter: blur(8px)) { .top { background: rgba(255,255,255,.85); backdrop-filter: blur(10px); } }
.gbar { background: var(--accent-strong); color: #fff; font-size: .9rem; font-weight: 500; text-align: center; }
.gbar a { color: #fff; display: flex; align-items: center; justify-content: center; gap: .5rem; padding: .5rem 16px; text-decoration: none; }
.gbar a:hover { color: #fff; text-decoration: underline; }
.gbar .shield { color: #fff; width: 1.1em; height: 1.1em; }
.gbar .long { display: none; }
@media (min-width: 720px) { .gbar .long { display: inline; } .gbar .short { display: none; } }

.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: .6rem; font-weight: 700; font-size: 1.2rem; color: var(--ink); text-decoration: none; letter-spacing: -0.02em; }
.brand:hover { color: var(--ink); }
.brand img { width: 30px; height: 30px; }
.nav-links { display: flex; align-items: center; gap: 1.8rem; }
.nav-links a:not(.btn) { color: var(--muted); text-decoration: none; font-size: .95rem; }
.nav-links a:not(.btn):hover { color: var(--ink); }
.nav-links .btn { padding: .7rem 1.1rem; font-size: .95rem; }
.menu-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.menu-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; transition: transform .2s, opacity .2s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
  .menu-toggle { display: block; }
  .nav-links { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; background: #fff; border-bottom: 1px solid var(--line); padding: .5rem 24px 1.25rem; }
  .js .nav-links.open { display: flex; }
  .nav-links li a:not(.btn) { display: block; padding: .8rem 0; font-size: 1.05rem; color: var(--ink); border-bottom: 1px solid var(--line); }
  .nav-links .btn { margin-top: 1rem; width: 100%; padding: .95rem; }
  .no-js .nav-links { display: none; }
}

/* ---------- Sezioni ---------- */
.section { padding: clamp(72px, 11vw, 132px) 0; }
.section.tint { background: var(--tint); }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-strong); margin-bottom: 1rem; }
.head { max-width: 640px; margin-bottom: clamp(40px, 6vw, 64px); }
.head p { color: var(--muted); font-size: 1.12rem; margin: 0; }
.head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Hero ---------- */
.hero { padding: clamp(64px, 10vw, 128px) 0 clamp(64px, 9vw, 112px); }
.hero h1 { max-width: 880px; font-size: clamp(2.2rem, 3.9vw, 3.15rem); }
.hero .lead { font-size: clamp(1.1rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 640px; margin-bottom: 2.2rem; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.25rem; }
.gbadge { display: inline-flex; align-items: center; gap: .65rem; padding: .7rem 1.1rem .7rem .8rem; border-radius: 999px; background: var(--tint-2); color: var(--ink); text-decoration: none; font-weight: 600; font-size: .98rem; line-height: 1.25; border: 1.5px solid #BFE0F8; }
.gbadge:hover { color: var(--ink); border-color: var(--accent); }
.gbadge .seal { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--accent-strong); color: #fff; font-size: .72rem; font-weight: 800; letter-spacing: -.02em; flex: none; }
.gbadge small { display: block; font-weight: 400; color: var(--muted); font-size: .82rem; }
.hero-points { display: flex; flex-wrap: wrap; gap: .5rem 1.75rem; margin-top: 2.2rem; color: var(--muted); font-size: .95rem; }
.hero-points li { display: flex; align-items: center; gap: .45rem; }
.check { width: 1.05em; height: 1.05em; color: var(--accent); flex: none; }

/* ---------- Garanzia ---------- */
.guarantee { background: var(--tint); }
.g-center { max-width: 820px; text-align: center; }
.g-icon { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 1.25rem; border-radius: 50%; background: #fff; border: 1.5px solid #BFE0F8; color: var(--accent-strong); }
.g-icon svg { width: 30px; height: 30px; }
.guarantee h2 { font-size: clamp(2rem, 4.4vw, 3.1rem); }
.g-center .promise, .g-center .fine { margin-left: auto; margin-right: auto; }
.promise { font-size: clamp(1.2rem, 2vw, 1.5rem); line-height: 1.45; margin-bottom: 2rem; max-width: 640px; }
.fine { font-size: .85rem; color: var(--muted); margin: 1.25rem 0 0; max-width: 640px; }

/* ---------- Prima / dopo ---------- */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2.5vw, 28px); align-items: stretch; }
.compare .box { border-radius: 18px; padding: clamp(1.5rem, 3vw, 2.25rem); }
.compare .before { background: #F7F8FA; border: 1px solid var(--line); }
.compare .after { background: #fff; border: 2px solid var(--accent); box-shadow: 0 20px 50px -30px rgba(10,118,196,.4); }
.compare li { display: flex; gap: .7rem; align-items: flex-start; }
.compare li svg { width: 1.1em; height: 1.1em; flex: none; margin-top: .3rem; }
.cx { color: #9AA4B2; }
.compare h3 { font-size: 1rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 1.25rem; }
.compare .after h3 { color: var(--accent-strong); }
.compare li { padding: .85rem 0; border-top: 1px solid var(--line); }
.compare li:first-child { border-top: 0; padding-top: 0; }
.compare .before li { color: var(--muted); }
@media (max-width: 760px) { .compare { grid-template-columns: 1fr; } }

/* ---------- Griglie di testo ---------- */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(32px, 4vw, 48px) clamp(24px, 4vw, 56px); }
.grid p { color: var(--muted); margin: 0; }
.grid h3 { margin-bottom: .4rem; }
.ico { width: 26px; height: 26px; color: var(--accent); margin-bottom: 1rem; }
@media (max-width: 900px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid { grid-template-columns: 1fr; } }

/* ---------- Come funziona ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(24px, 3vw, 40px); counter-reset: s; }
.steps li { border-top: 2px solid var(--accent); padding-top: 1.25rem; }
.steps .n { display: block; font-size: .85rem; font-weight: 600; color: var(--accent-strong); margin-bottom: .6rem; }
.steps p { color: var(--muted); margin: 0; font-size: 1rem; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Prezzi ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 18px; padding: 2rem 1.75rem 1.75rem; background: #fff; }
.plan.featured { border: 2px solid var(--accent); }
.plan .tag { position: absolute; top: -13px; left: 1.75rem; background: var(--accent-strong); color: #fff; font-size: .78rem; font-weight: 600; padding: .3rem .75rem; border-radius: 999px; }
.plan h3 { font-size: 1.3rem; margin-bottom: .3rem; }
.plan .desc { color: var(--muted); font-size: .97rem; min-height: 3.2em; }
.plan .from { font-size: .85rem; color: var(--muted); margin: .5rem 0 0; }
.plan .price { font-size: 2.6rem; font-weight: 700; letter-spacing: -0.04em; line-height: 1.1; margin: 0; }
.plan .price.sm { font-size: 1.9rem; }
.plan .sub { font-size: .88rem; color: var(--muted); margin: .2rem 0 1.5rem; }
.plan ul { margin-bottom: 1.75rem; flex: 1; }
.plan li { display: flex; gap: .6rem; padding: .4rem 0; font-size: .97rem; }
.plan li .check { margin-top: .32rem; }
.plan-g { display: flex; align-items: center; gap: .55rem; margin: 1rem 0 0; padding: .75rem .9rem; border-radius: 10px; background: var(--tint); font-size: .9rem; font-weight: 600; line-height: 1.3; }
.plan-g small { display: block; font-weight: 400; color: var(--muted); }
.note { color: var(--muted); font-size: .88rem; max-width: 760px; margin: 2.5rem auto 0; text-align: center; }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; } .plan .desc { min-height: 0; } }

/* ---------- FAQ ---------- */
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 1.35rem 2.5rem 1.35rem 0; font-weight: 600; font-size: 1.08rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 4px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--accent-strong); border-bottom: 2px solid var(--accent-strong); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { color: var(--muted); margin: 0; padding: 0 2.5rem 1.5rem 0; }

/* ---------- Contatti ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(40px, 7vw, 96px); align-items: start; }
.contact .intro p { color: var(--muted); font-size: 1.1rem; }
.contact .intro ul { margin: 1.5rem 0 2rem; }
.contact .intro li { display: flex; gap: .6rem; padding: .35rem 0; }
.contact .intro li .check { margin-top: .35rem; }
.g-inline { display: flex; gap: 1rem; align-items: flex-start; padding: 1.25rem 1.35rem; border-radius: var(--radius); background: #fff; border: 1.5px solid #BFE0F8; }
.g-inline .seal { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--accent-strong); color: #fff; font-size: .78rem; font-weight: 800; flex: none; }
.g-inline p { margin: 0; font-size: .98rem; color: var(--ink); }
.form { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: clamp(1.5rem, 3vw, 2.25rem); }
.form h3 { font-size: 1.35rem; margin-bottom: .25rem; }
.form > p.muted { margin-bottom: 1.5rem; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
@media (max-width: 560px) { .row { grid-template-columns: 1fr; } }
.field { margin-bottom: 1rem; }
.field label { display: block; font-size: .9rem; font-weight: 600; margin-bottom: .35rem; }
input:not([type=checkbox]), select, textarea { width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: #fff; border: 1.5px solid #D5DEE8; border-radius: 10px; padding: .75rem .85rem; transition: border-color .15s, box-shadow .15s; }
textarea { min-height: 110px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(46,163,242,.2); }
input[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: #C2410C; }
input[type=checkbox][aria-invalid="true"] { outline: 2px solid #C2410C; outline-offset: 2px; }
.field .consent { display: flex; gap: .65rem; align-items: flex-start; font-size: .9rem; font-weight: 400 !important; color: var(--muted); }
.consent input { width: 18px; height: 18px; margin: .2rem 0 0; flex: none; accent-color: var(--accent-strong); }
.form-g { display: flex; align-items: center; justify-content: center; gap: .5rem; margin: 1rem 0 0; font-size: .92rem; font-weight: 600; }
.form-msg { display: none; color: #B42318; font-size: .92rem; margin: .75rem 0 0; }
.form-msg.show { display: block; }
.form-foot { font-size: .85rem; color: var(--muted); text-align: center; margin: .6rem 0 0; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 64px 0 32px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2.5rem; margin-bottom: 3rem; }
.footer p { color: var(--muted); max-width: 360px; margin-top: 1rem; }
.footer h4 { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 1rem; }
.footer li { padding: .25rem 0; }
.footer li a { color: var(--ink); text-decoration: none; }
.footer li a:hover { color: var(--accent-strong); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-top: 1.5rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .85rem; }
.footer-bottom a { color: var(--muted); }
@media (max-width: 700px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > div:first-child { grid-column: 1 / -1; } }

/* ---------- CTA mobile sticky ---------- */
.mcta { display: none; }
@media (max-width: 760px) {
  .mcta { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; flex-direction: column; gap: .4rem; padding: .7rem 16px calc(.7rem + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); transform: translateY(110%); transition: transform .25s; }
  .mcta.show { transform: none; }
  .mcta small { display: flex; align-items: center; justify-content: center; gap: .4rem; font-size: .82rem; font-weight: 600; }
  .mcta .shield { width: 1.05em; height: 1.05em; }
  .mcta .btn { width: 100%; padding: .9rem; }
  body.has-mcta { padding-bottom: 96px; }
}

/* ---------- Pagine legali / semplici ---------- */
.legal h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
.legal h2 { font-size: 1.3rem; margin-top: 2.5rem; }
.legal p, .legal li { color: #2A3444; }
.legal ul { list-style: disc; padding-left: 1.25rem; margin-bottom: 1em; }
.legal li { margin-bottom: .5rem; }
.ph { background: #FFF4D6; padding: 0 .25em; border-radius: 4px; }
.warn { background: var(--tint); border-left: 3px solid var(--accent); padding: 1rem 1.25rem; border-radius: 8px; margin: 1.5rem 0 2rem; }
.simple { min-height: 80vh; display: flex; align-items: center; text-align: center; }
.simple .container { max-width: 680px; }
.simple .lead { color: var(--muted); font-size: 1.15rem; }
.next { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; text-align: left; margin: 2.5rem 0; }
.next li { border-top: 2px solid var(--accent); padding-top: 1rem; }
.next b { display: block; }
.next span { color: var(--muted); font-size: .95rem; }
@media (max-width: 600px) { .next { grid-template-columns: 1fr; } }

/* ---------- Hero: layout e visual ---------- */
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(40px, 6vw, 72px); align-items: center; }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; } }
.hero-visual { display: flex; flex-direction: column; gap: 14px; max-width: 470px; width: 100%; margin-left: auto; }
@media (max-width: 960px) { .hero-visual { margin: 0 auto; } }
.mini { --t: #E3F1FC; --o: #D6EBFB; --d: #2EA3F2; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 0 0 .9rem; box-shadow: 0 18px 44px -26px rgba(14,23,38,.28); overflow: hidden; display: flex; flex-direction: column; gap: .5rem; }
.mini.c1 { margin-right: 40px; }
.mini.c2 { --t: #ECEBFD; --o: #E2E0FB; --d: #6D6AE8; margin-left: 40px; }
.mini.c3 { --t: #E2F5F1; --o: #D3EFE9; --d: #1FA58C; margin-right: 18px; }
@media (max-width: 560px) { .mini.c1, .mini.c2, .mini.c3 { margin-left: 0; margin-right: 0; } }
.mini-top { display: flex; align-items: center; gap: .5rem; padding: .65rem .9rem; background: var(--t); font-size: .85rem; margin-bottom: .2rem; }
.mini-top img { width: 24px; height: 24px; }
.mini-top b { font-weight: 700; }
.mini-top span { margin-left: auto; font-size: .76rem; color: var(--muted); white-space: nowrap; display: inline-flex; align-items: center; gap: .35rem; }
.mini-top span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--d); }
.mini .msg { margin: 0 .9rem; font-size: .88rem; padding: .55rem .8rem; max-width: 82%; }
.mini .msg.out { background: var(--o); }
.mini .handoff { margin-top: .1rem; }
.slot { position: relative; display: flex; flex-direction: column; align-items: flex-end; }
.slot .typing { position: absolute; top: 0; right: .9rem; background: var(--o); }
.typing { display: inline-flex; gap: 4px; padding: .65rem .85rem; border-radius: 14px; }
.typing span { width: 6px; height: 6px; border-radius: 50%; background: var(--d, var(--accent)); animation: dot 1s infinite; }
.typing span:nth-child(2) { animation-delay: .15s; } .typing span:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 0%, 60%, 100% { opacity: .3; transform: none; } 30% { opacity: 1; transform: translateY(-3px); } }
.msg { max-width: 85%; padding: .7rem .9rem; border-radius: 16px; font-size: .93rem; line-height: 1.45; }
.msg small { display: block; margin-top: .3rem; font-size: .72rem; color: var(--muted); }
.msg b { display: block; font-size: .82rem; margin-bottom: .25rem; }
.msg.in { align-self: flex-start; background: #fff; border: 1px solid var(--line); border-bottom-left-radius: 5px; }
.msg.out { align-self: flex-end; background: var(--tint-2); border-bottom-right-radius: 5px; }
.handoff { align-self: center; display: inline-flex; align-items: center; gap: .45rem; font-size: .8rem; font-weight: 600; color: var(--accent-strong); background: #fff; border: 1px dashed #9CCDF2; border-radius: 999px; padding: .35rem .8rem; }
.handoff svg { width: 15px; height: 15px; flex: none; }
.visual-note { text-align: center; font-size: .78rem; color: var(--muted); margin: .2rem 0 0; }

/* sequenza all'apertura: le tre conversazioni arrivano una dopo l'altra */
.js .hero-visual .mini, .js .hero-visual .msg, .js .hero-visual .handoff { opacity: 0; transform: translateY(10px); animation: pop .45s ease forwards; }
.js .hero-visual .typing { opacity: 0; animation: blink 1.1s ease forwards; }
.js .c1 { animation-delay: .1s !important; }  .js .s1 { animation-delay: .4s !important; }  .js .s2 { animation-delay: 1s !important; }  .js .s3 { animation-delay: 2.1s !important; }
.js .c2 { animation-delay: 2.8s !important; } .js .s4 { animation-delay: 3.1s !important; } .js .s5 { animation-delay: 3.7s !important; } .js .s6 { animation-delay: 4.8s !important; }
.js .c3 { animation-delay: 5.5s !important; } .js .s7 { animation-delay: 5.8s !important; } .js .s8 { animation-delay: 6.4s !important; } .js .s9 { animation-delay: 7.5s !important; } .js .s10 { animation-delay: 8.2s !important; }
@keyframes pop { to { opacity: 1; transform: none; } }
@keyframes blink { 0% { opacity: 0; } 15%, 85% { opacity: 1; } 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .js .hero-visual .mini, .js .hero-visual .msg, .js .hero-visual .handoff { animation: none; opacity: 1; transform: none; }
  .js .hero-visual .typing { display: none; }
  .typing span { animation: none; }
}

/* canali */
.channels { margin-top: clamp(48px, 7vw, 80px); padding-top: 28px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; }
.ch-label { font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.ch-list { display: flex; flex-wrap: wrap; gap: .75rem 1.75rem; }
.ch-list li { display: flex; align-items: center; gap: .55rem; font-size: .97rem; font-weight: 500; }
.ch-list img { width: 30px; height: 30px; }

/* ---------- Garanzia: risultati ---------- */
.results-title { font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0 0 1rem; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin: 0 0 2.25rem; padding: 1.5rem 0; border-top: 1px solid #CFE6F8; border-bottom: 1px solid #CFE6F8; }
.stats div { display: flex; flex-direction: column; }
.g-center .stats { max-width: 760px; margin-left: auto; margin-right: auto; }
.g-center .stats div + div { border-left: 1px solid #CFE6F8; }
.stats dd { order: 1; }
.stats dd { margin: 0; font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 700; letter-spacing: -0.04em; line-height: 1.05; color: var(--ink); }
.stats dt { order: 2; color: var(--muted); font-size: .95rem; margin-top: .3rem; }
@media (max-width: 480px) { .stats { gap: 1rem; } .stats dt { font-size: .85rem; } }

/* ---------- Esempi per settore (dashboard) ---------- */
.demo { display: grid; grid-template-columns: 250px 1fr; gap: 1.25rem; align-items: start; }
.demo-tabs { display: flex; flex-direction: column; gap: .35rem; }
.demo-tabs button { font: inherit; font-size: .97rem; text-align: left; padding: .8rem 1rem; border-radius: 12px; border: 1px solid transparent; background: transparent; color: var(--muted); cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.demo-tabs button:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.demo-tabs button:focus:not(:focus-visible) { outline: none; }
.demo-tabs button:hover { color: var(--ink); background: rgba(255,255,255,.7); }
.demo-tabs button[aria-selected="true"] { background: #fff; color: var(--ink); font-weight: 600; border-color: var(--line); box-shadow: inset 3px 0 0 var(--accent); }
.no-js .demo-tabs { display: none; }
.no-js .demo { grid-template-columns: 1fr; }
.demo-panels { min-width: 0; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.no-js .panel + .panel { margin-top: 1.25rem; }
.js .panel:not(.active) { display: none; }
.panel-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.1rem 1.4rem; border-bottom: 1px solid var(--line); }
.panel-top h3 { margin: 0; font-size: 1.05rem; }
.pill { display: inline-flex; align-items: center; gap: .4rem; font-size: .82rem; font-weight: 600; background: var(--tint-2); color: var(--ink); padding: .3rem .7rem .3rem .45rem; border-radius: 999px; white-space: nowrap; }
.pill img { width: 18px; height: 18px; }
.pill { background: #fff; border: 1px solid var(--line); }
.conv { display: flex; flex-direction: column; gap: .7rem; padding: 1.4rem; background: linear-gradient(#fff, var(--tint)); }
.conv .msg { max-width: 78%; }
.js .panel.active .conv > * { animation: pop .35s ease both; }
.js .panel.active .conv > :nth-child(2) { animation-delay: .12s; }
.js .panel.active .conv > :nth-child(3) { animation-delay: .24s; }
.js .panel.active .conv > :nth-child(4) { animation-delay: .36s; }
.js .panel.active .conv > :nth-child(5) { animation-delay: .48s; }
.handles { margin: 0; padding: 1rem 1.4rem; border-top: 1px solid var(--line); font-size: .9rem; color: var(--muted); }
.handles b { color: var(--ink); font-weight: 600; }
@media (max-width: 860px) {
  .demo { grid-template-columns: 1fr; }
  .demo-tabs { flex-direction: row; overflow-x: auto; gap: .4rem; padding-bottom: .4rem; margin: 0 -24px; padding-left: 24px; padding-right: 24px; scrollbar-width: none; }
  .demo-tabs::-webkit-scrollbar { display: none; }
  .demo-tabs button { white-space: nowrap; flex: none; padding: .6rem .95rem; border-radius: 999px; border-color: var(--line); background: #fff; }
  .demo-tabs button[aria-selected="true"] { background: var(--accent-strong); color: #fff; border-color: var(--accent-strong); box-shadow: none; }
  .conv { padding: 1rem; }
  .conv .msg { max-width: 90%; }
}
@media (prefers-reduced-motion: reduce) { .js .panel.active .conv > * { animation: none; } }

/* altre piattaforme */
.ch-more { color: var(--muted); }

/* ---------- Chi siamo ---------- */
.about { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(40px, 7vw, 96px); align-items: center; }
.about-copy p { color: var(--muted); font-size: 1.1rem; }
.team { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.team li { display: flex; flex-direction: column; align-items: center; text-align: center; gap: .8rem; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 1.5rem 1rem; }
.avatar { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--tint-2); color: var(--accent-strong); font-weight: 700; font-size: 1.15rem; letter-spacing: .02em; }
.team b { font-weight: 600; }
@media (max-width: 900px) { .about { grid-template-columns: 1fr; } }
.g-center .stats dd { font-size: clamp(1.9rem, 3.6vw, 2.6rem); }
.g-center .stats div { padding: 0 .75rem; }
@media (max-width: 560px) {
  .g-center .stats { grid-template-columns: 1fr; gap: 0; padding: 0; }
  .g-center .stats div { padding: 1rem 0; }
  .g-center .stats div + div { border-left: 0; border-top: 1px solid #CFE6F8; }
}

/* ---------- Icone del brand ---------- */
.bi { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--tint-2); color: var(--accent-strong); flex: none; }
.bi svg { width: 26px; height: 26px; }
.bi.sm { width: 40px; height: 40px; border-radius: 12px; margin-bottom: .9rem; }
.bi.sm svg { width: 22px; height: 22px; }
.bi.on-dark { background: rgba(255,255,255,.16); color: #fff; }
.eyebrow { display: inline-flex; align-items: center; gap: .5rem; }
.eb { width: 18px; height: 18px; color: var(--accent-strong); }
.head.center .eyebrow { justify-content: center; }

/* titolo hero: "Giorno e notte." sulla riga sotto */
.h1-line { display: block; }

/* ---------- Funzionalità: box ---------- */
.feats { gap: 1.25rem; }
.feats > div { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 1.75rem 1.6rem; transition: transform .2s, box-shadow .2s, border-color .2s; }
.feats > div:hover { transform: translateY(-3px); border-color: #BFE0F8; box-shadow: 0 18px 40px -26px rgba(10,118,196,.45); }
.feats .bi { margin-bottom: 1.1rem; }

/* ---------- Garanzia: pill ---------- */
.g-pill { display: inline-flex; align-items: center; gap: .45rem; margin: -.5rem 0 2rem; padding: .45rem 1rem; border-radius: 999px; background: #fff; border: 1px solid #BFE0F8; font-size: .92rem; font-weight: 600; }
.g-pill svg { width: 16px; height: 16px; color: var(--accent-strong); }

/* ---------- I nostri numeri ---------- */
.g-section { padding-bottom: 0; }
.numbers { position: relative; overflow: hidden; text-align: center; color: #fff; border-radius: 28px; padding: clamp(48px, 7vw, 88px) clamp(20px, 5vw, 64px); background: #0A6BB3; isolation: isolate; }
.numbers::before, .numbers::after { content: ""; position: absolute; z-index: -1; border-radius: 50%; filter: blur(60px); }
.numbers::before { width: 420px; height: 420px; right: -120px; top: -160px; background: #4CC0FF; opacity: .55; animation: drift 14s ease-in-out infinite alternate; }
.numbers::after { width: 360px; height: 360px; left: -120px; bottom: -180px; background: #7C8CFF; opacity: .35; animation: drift 18s ease-in-out infinite alternate-reverse; }
@keyframes drift { to { transform: translate(-60px, 40px) scale(1.1); } }
.numbers h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); margin-bottom: .6rem; }
.n-sub { color: rgba(255,255,255,.82); margin: 0 auto clamp(32px, 5vw, 48px); max-width: 560px; }
.n-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.n-grid li { display: flex; flex-direction: column; align-items: center; gap: .35rem; padding: 1.75rem 1rem; border-radius: 20px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); backdrop-filter: blur(6px); }
.n-grid .bi { margin-bottom: .6rem; }
.n-grid b { font-size: clamp(1.9rem, 3.2vw, 2.6rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.n-grid span:last-child { color: rgba(255,255,255,.85); font-size: .95rem; }
@media (max-width: 900px) { .n-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px) { .n-grid li { padding: 1.25rem .5rem; } .n-grid b { font-size: 1.65rem; } .n-grid span:last-child { font-size: .85rem; } }
@media (prefers-reduced-motion: reduce) { .numbers::before, .numbers::after { animation: none; } .feats > div { transition: none; } }

/* garanzia dentro il riquadro blu */
.numbers .g-icon { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.35); color: #fff; }
.numbers .eyebrow { color: rgba(255,255,255,.85); }
.numbers h2 { font-size: clamp(2rem, 4.4vw, 3.1rem); }
.numbers .promise { color: #fff; margin: 0 auto 2.5rem; max-width: 680px; }
.n-label { font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.75); margin: 0 0 1rem; }
.numbers .n-grid { margin-bottom: 2.5rem; }
.btn-white { background: #fff; color: var(--accent-strong); }
.btn-white:hover { background: var(--tint-2); color: var(--accent-hover); }
.numbers .fine { color: rgba(255,255,255,.75); margin: 1.25rem auto 0; max-width: 640px; }
.numbers h2 { margin-bottom: 1.1rem; }
.team small { display: block; margin-top: -.5rem; color: var(--muted); font-size: .9rem; }
img.avatar { width: 96px; height: 96px; object-fit: cover; padding: 0; border: 3px solid #fff; box-shadow: 0 0 0 1.5px #BFE0F8, 0 12px 28px -16px rgba(10,118,196,.5); }
.team .lead-member { grid-column: 1 / -1; padding: 2rem 1rem; }
.team .lead-member img.avatar { width: 136px; height: 136px; }
.team .lead-member b { font-size: 1.2rem; }

/* ---------- Prezzi: tre piani con colori graduali ---------- */
.plans { gap: 1.5rem; align-items: stretch; }
.plan { border-radius: 24px; padding: 2.25rem 1.9rem 1.9rem; overflow: hidden; transition: transform .2s, box-shadow .2s; }
.plan:hover { transform: translateY(-4px); }
.plan .check { flex: none; }

/* 1 · Essenziale: azzurro chiarissimo */
.plan.p1 { background: linear-gradient(180deg, #E8F4FD 0%, #FFFFFF 55%); border: 1px solid #CFE6F8; box-shadow: 0 20px 50px -36px rgba(10,118,196,.45); }
.plan.p1 .bi { background: #fff; }

/* 2 · Professionale: azzurro pieno */
.plan.p2 { background: radial-gradient(120% 70% at 100% 0%, rgba(91,192,255,.55) 0%, rgba(91,192,255,0) 60%), linear-gradient(165deg, #1580D4 0%, #0A63A8 100%); border: 0; color: #fff; box-shadow: 0 30px 60px -28px rgba(10,118,196,.65); transform: translateY(-10px); }
.plan.p2:hover { transform: translateY(-14px); }
.plan.p3 { background: radial-gradient(120% 70% at 100% 0%, rgba(124,140,255,.45) 0%, rgba(124,140,255,0) 60%), linear-gradient(165deg, #0B5C9E 0%, #102E5C 100%); border: 0; color: #fff; box-shadow: 0 30px 60px -30px rgba(16,46,92,.7); }
.plan.p2 .desc, .plan.p2 .from, .plan.p2 .sub,
.plan.p3 .desc, .plan.p3 .from, .plan.p3 .sub { color: rgba(255,255,255,.9); }
.plan.p2 .check, .plan.p3 .check { color: #BFE6FF; }
.plan.p2 .bi, .plan.p3 .bi { background: rgba(255,255,255,.16); color: #fff; }
.plan.p2 .tag { background: #fff; color: var(--accent-strong); box-shadow: 0 6px 16px -6px rgba(0,0,0,.25); top: 16px; left: auto; right: 1.4rem; }
.plan.p2 .plan-g, .plan.p3 .plan-g { background: rgba(255,255,255,.12); color: #fff; }
.plan.p2 .plan-g small, .plan.p3 .plan-g small { color: rgba(255,255,255,.75); }
.plan.p2 .plan-g .shield, .plan.p3 .plan-g .shield { color: #fff; }
.plan.p1 .plan-g { background: #fff; border: 1px solid #CFE6F8; }
.btn-outline-white { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn-outline-white:hover { background: rgba(255,255,255,.1); color: #fff; border-color: #fff; }
@media (max-width: 900px) { .plan.p2 { transform: none; } .plan.p2:hover { transform: translateY(-4px); } .plans { gap: 1.75rem; } }
@media (prefers-reduced-motion: reduce) { .plan, .plan:hover, .plan.p2, .plan.p2:hover { transition: none; } }

/* ---------- Come funziona: card con tinte graduali e tranquille ---------- */
.steps { gap: 1rem; }
.steps li { position: relative; overflow: hidden; border: 1px solid #DCEBF7; border-top: 0; border-radius: 20px; padding: 1.6rem 1.4rem 1.7rem; }
.steps li:nth-child(1) { background: linear-gradient(180deg, #F8FBFE, #FFFFFF); }
.steps li:nth-child(2) { background: linear-gradient(180deg, #EFF7FD, #FAFDFF); }
.steps li:nth-child(3) { background: linear-gradient(180deg, #E6F2FC, #F6FBFF); border-color: #D2E6F6; }
.steps li:nth-child(4) { background: linear-gradient(180deg, #DCEDFB, #F2F8FE); border-color: #C8E1F5; }
.steps li::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: #BFE0F8; }
.steps li:nth-child(2)::before { background: #9CCFF4; }
.steps li:nth-child(3)::before { background: #6FBAF0; }
.steps li:nth-child(4)::before { background: #3FA4EC; }
.steps li .bi { background: #fff; box-shadow: 0 6px 16px -10px rgba(10,118,196,.45); }

/* Funzionalità: icone blu e sfumatura bianca */
.feats > div { background: linear-gradient(180deg, #FFFFFF 0%, #FFFFFF 45%, #EEF6FD 100%); border-color: #DCEBF7; }
.feats .bi { width: 54px; height: 54px; border-radius: 16px; background: linear-gradient(145deg, #3AAEF5 0%, #0A76C4 100%); color: #fff; box-shadow: 0 10px 22px -12px rgba(10,118,196,.7), inset 0 1px 0 rgba(255,255,255,.35); }
.feats .bi svg { width: 28px; height: 28px; }
