/* Sito di IP Centrex Connectivia CallPulse.
   Stessa identità della brochure del servizio (Offerte Connectivia\Brochure CallPulse):
   Montserrat, rosso del logo, blu notte, battito e costellazione, riquadri morbidi.
   Misure di riferimento: 1440, 1024, 768 e 375 px. */

:root {
  --red: #FF1734;
  --red-d: #C8102E;          /* rosso per testi piccoli su chiaro (contrasto AA) */
  --red-h: #E00F2C;
  --navy: #11142A;
  --navy2: #1B2042;
  --deep: #0A0C1C;
  --text: #0F1330;
  --text2: #3B4263;
  --mute: #6B7291;
  --bg: #F4F5F9;
  --line: #E5E7EF;
  --pink: #FFE8EB;
  --soft: #D9DBE8;           /* testo su scuro */
  --soft2: #C9CCE0;
  --ok: #16A34A;
  --ok-bg: #E3F6EC;
  --amber: #F5A524;
  --grey: #A3A9BF;
  --danger: #C22B2B;
  --danger-bg: #FDE8E8;

  --font: Montserrat, "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --r-sm: 8px;
  --r: 12px;
  --r-lg: 16px;
  --shadow: 0 2px 10px rgba(15, 19, 48, .05);
  --shadow-lg: 0 18px 44px rgba(15, 19, 48, .16);

  --max: 1200px;
  --gutter: 40px;
  --header-h: 80px;
  --section: 112px;
  --gap: 20px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { container-type: inline-size; margin: 0; background: #fff; color: var(--text); font: 400 16px/1.65 var(--font); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { margin: 0; color: var(--navy); font-weight: 800; letter-spacing: -.02em; text-wrap: balance; }
p { margin: 0; }
a { color: var(--red-d); text-underline-offset: 3px; }
a:hover { color: var(--red); }
b, strong { font-weight: 700; color: var(--navy); }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.icon { width: 1em; height: 1em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: 16px; top: -60px; z-index: 50; background: #fff; color: var(--navy); padding: 10px 16px; border-radius: var(--r-sm); }
.skip:focus { top: 12px; }

/* Pulsanti ------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 46px; padding: 0 22px; border: 1.5px solid transparent; border-radius: 999px;
  font: 700 15px/1 var(--font); text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s, box-shadow .15s, transform .15s;
}
.btn .icon { font-size: 18px; transition: transform .15s; }
.btn:hover .icon { transform: translateX(3px); }
.btn--lg { height: 54px; padding: 0 28px; font-size: 16px; }
.btn--red { background: var(--red); color: #fff; box-shadow: 0 10px 26px rgba(255, 23, 52, .35); }
.btn--red:hover { background: var(--red-h); color: #fff; box-shadow: 0 12px 30px rgba(255, 23, 52, .45); }
.btn--ghost { border-color: rgba(255, 255, 255, .35); background: rgba(255, 255, 255, .06); color: #fff; }
.btn--ghost:hover { border-color: #fff; color: #fff; }
.btn--white { background: #fff; color: var(--red); }
.btn--white:hover { background: var(--navy); color: #fff; }

/* Etichette e titoli ---------------------------------------------------- */
.kicker { margin-bottom: 14px; font-size: 13px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--red); }
.kicker--wide { letter-spacing: .32em; }
.head { position: relative; max-width: 860px; margin-bottom: 56px; }
/* la barra rossa sul bordo sinistro dello schermo, come in ogni pagina della brochure */
.head::before { content: ""; position: absolute; top: -4px; left: calc(-1 * (100cqw - min(100cqw, var(--max) + 2 * var(--gutter))) / 2 - var(--gutter)); width: 7px; height: 104px; background: var(--red); }
.head h2 { font-size: clamp(30px, 3.4vw, 46px); line-height: 1.1; }
.lead { margin-top: 20px; font-size: 18px; line-height: 1.7; color: var(--text2); }
.sub { display: flex; align-items: center; gap: 12px; margin: 72px 0 28px; font-size: 22px; font-weight: 800; }
.sub::before { content: ""; width: 22px; height: 4px; border-radius: 2px; background: var(--red); flex: none; }
.sub--plain { margin: 0 0 16px; font-size: 17px; }
.sub--plain::before { display: none; }
.note { margin-top: 16px; font-size: 14px; line-height: 1.6; color: var(--mute); }
.note--icon { display: flex; gap: 8px; }
.note--icon .icon { font-size: 18px; color: var(--red); margin-top: 1px; }
.more { margin-top: 40px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none; }
.link-arrow .icon { font-size: 18px; transition: transform .15s; }
.link-arrow:hover .icon { transform: translateX(3px); }

/* Testata, sopra l'apertura scura --------------------------------------- */
.site-header { position: absolute; top: 0; left: 0; right: 0; z-index: 20; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.site-header__in { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
/* il nome a due livelli: CallPulse, sotto «L'IP Centrex di Connectivia» */
.site-header__logo { display: flex; flex-direction: column; align-items: flex-start; gap: 5px; text-decoration: none; }
.site-header__logo img { height: 34px; width: auto; }
.site-header__logo span { padding-left: 2px; color: var(--soft); font-size: 11.5px; font-weight: 600; letter-spacing: .04em; white-space: nowrap; }
.site-header__toggle { display: none; }
.site-nav { display: flex; align-items: center; gap: 40px; }
.site-nav ul { display: flex; gap: 34px; margin: 0; padding: 0; list-style: none; }
.site-nav ul a { position: relative; display: block; padding: 8px 0; color: var(--soft); font-size: 15px; font-weight: 600; text-decoration: none; }
.site-nav ul a:hover, .site-nav ul a[aria-current] { color: #fff; }
.site-nav ul a[aria-current]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; border-radius: 2px; background: var(--red); }

/* Aperture scure: sfumatura, costellazione, battito ----------------------- */
.hero { position: relative; overflow: hidden; background: var(--deep); color: var(--soft); }
.darkbg { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__in { position: relative; padding-top: calc(var(--header-h) + 88px); }
.hero h1 { color: #fff; font-size: clamp(36px, 4.4vw, 60px); line-height: 1.08; letter-spacing: -.03em; }
.hero h1 span { color: var(--red); }
.hero--cover h1 { font-size: clamp(40px, 5.6vw, 78px); line-height: 1.04; }
.hero__lead { max-width: 640px; margin-top: 24px; font-size: 18px; line-height: 1.7; color: var(--soft); }
.hero--cover .hero__lead { font-size: 19px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.ecg-strip { position: relative; display: block; width: 100%; margin-top: 24px; overflow: hidden; }
/* il disegno resta a grandezza reale e centrato: le punte non si tagliano mai */
.ecg-strip svg { position: absolute; top: 0; left: 50%; max-width: none; transform: translateX(-50%); }
.ecg-run { stroke-dasharray: 40 960; stroke-dashoffset: 1000; opacity: .9; animation: ecg-run 3.6s linear infinite; }
@keyframes ecg-run { to { stroke-dashoffset: 0; } }
.node-ring { transform-box: fill-box; transform-origin: center; animation: ring 2.4s ease-out infinite; }
@keyframes ring { 0% { transform: scale(.6); opacity: 1; } 100% { transform: scale(1.8); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .ecg-run { display: none; } .node-ring { animation: none; } html { scroll-behavior: auto; } }

/* Sezioni --------------------------------------------------------------- */
.section { padding-block: var(--section); }
.section--alt { background: var(--bg); }

/* Schermata dell'app in cornice ------------------------------------------- */
.frame { position: relative; margin: 0; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-lg); }
.frame__bar { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; background: var(--bg); border-bottom: 1px solid var(--line); }
.frame__bar i { width: 9px; height: 9px; border-radius: 50%; background: #D3D7E3; }
.frame__bar i:first-child { background: var(--red); }
.frame__bar span { display: flex; align-items: center; gap: 6px; margin-left: 14px; padding: 2px 12px; border: 1px solid var(--line); border-radius: 7px; background: #fff; color: var(--mute); font-size: 12px; white-space: nowrap; overflow: hidden; }
.frame__bar span img { width: 10px; height: 10px; }
.frame__shot { position: relative; display: block; overflow: hidden; }
.frame__shot > img { position: absolute; max-width: none; height: auto; }
.pin { position: absolute; display: flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; background: var(--red); color: #fff; font-size: 14px; font-weight: 800; box-shadow: 0 0 0 6px rgba(255, 23, 52, .22); }
.pin--static { position: static; flex: none; }
.frame + .frame, .frame + .two, .two + .frame, .phones + .frame { margin-top: 40px; }

/* Tappe sull'asse del battito ------------------------------------------------- */
.pulse { position: relative; }
.pulse__line { position: absolute; left: 0; right: 0; top: var(--pulse-top, 0px); width: 100%; height: 120px; overflow: visible; }
.pulse ol { position: relative; display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.pulse li { display: flex; flex-direction: column; align-items: center; text-align: center; }
.pulse__dot { display: flex; align-items: center; justify-content: center; width: 66px; height: 66px; border: 2.5px solid var(--red); border-radius: 50%; background: #fff; color: var(--red); font-size: 28px; }
.pulse h3 { margin-top: 74px; font-size: 19px; line-height: 1.25; }
.pulse p { margin-top: 6px; max-width: 220px; font-size: 14.5px; line-height: 1.55; color: var(--text2); }
.pulse__top { order: 9; margin-top: 10px; font-size: 12px; font-weight: 700; letter-spacing: .15em; color: var(--red); }
.pulse .is-last .pulse__dot { background: var(--navy); border-color: var(--navy); color: #fff; }
/* giornata: l'ora sopra la tappa, la tappa finale in rosso */
.day { padding: 36px 28px 40px; border-radius: var(--r-lg); background: var(--bg); }
.pulse--day { --pulse-top: 38px; }
.pulse--day .pulse__top { order: -1; margin: 0 0 12px; font-size: 20px; font-weight: 800; letter-spacing: 0; color: var(--navy); }
.pulse--day .is-last .pulse__top { color: var(--red); }
.pulse--day .is-last .pulse__dot { background: var(--red); border-color: var(--red); }
.pulse--day .pulse__line path { stroke-opacity: .55; }

/* Numeri in evidenza -------------------------------------------------------- */
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); margin: 64px 0 0; padding: 0; list-style: none; }
.kpis li { position: relative; overflow: hidden; padding: 26px 26px 28px; border-radius: var(--r); background: var(--navy); }
.kpis li::after { content: ""; position: absolute; right: -24px; top: -24px; width: 84px; height: 84px; border-radius: 50%; background: var(--red); opacity: .18; }
.kpis b { display: block; color: #fff; font-size: 42px; font-weight: 800; line-height: 1.05; letter-spacing: -.02em; }
.kpis span { display: block; margin-top: 8px; color: var(--soft2); font-size: 14.5px; line-height: 1.5; }


/* Riquadri con icona ----------------------------------------------------------- */
.badge { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; flex: none; border-radius: 10px; background: var(--pink); color: var(--red); font-size: 22px; }
.cards { display: grid; gap: var(--gap); margin: 0; padding: 0; list-style: none; }
.cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { position: relative; padding: 24px 24px 26px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; box-shadow: var(--shadow); }
.card h3 { margin-top: 18px; font-size: 18px; line-height: 1.3; }
.card p { margin-top: 8px; color: var(--text2); font-size: 15px; line-height: 1.6; }
.cards--row .card { display: flex; gap: 18px; align-items: flex-start; }
.cards--row .card h3 { margin-top: 0; }
.cards--row .card p { margin-top: 6px; }
.card__n { position: absolute; right: 20px; top: 12px; color: var(--pink); font-size: 40px; font-weight: 800; line-height: 1; }
.cards--pins { margin-top: 28px; }
.cards--pins .card h3 { margin-top: 16px; }

/* Chiusura: Perché Connectivia e Mettilo alla prova --------------------------------- */
.closing { position: relative; overflow: hidden; padding: var(--section) 0 96px; background: var(--deep); color: var(--soft2); }
.closing__in, .closing__cta { position: relative; }
.closing h2 { color: #fff; font-size: clamp(34px, 4vw, 54px); line-height: 1.1; }
.why { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; margin: 44px 0 0; padding: 0; list-style: none; }
.why .icon { font-size: 30px; color: var(--red); }
.why h3 { margin-top: 14px; color: #fff; font-size: 19px; }
.why p { margin-top: 8px; font-size: 15px; line-height: 1.6; }
.closing .ecg-strip { margin-top: 40px; }
.cta { display: flex; align-items: center; justify-content: space-between; gap: 32px; margin-top: 8px; padding: 34px 40px; border-radius: var(--r-lg); background: var(--red); box-shadow: 0 18px 44px rgba(255, 23, 52, .35); }
.cta__t { color: #fff; font-size: clamp(26px, 2.6vw, 34px); }
.cta p { margin-top: 6px; color: #FFE1E5; font-size: 17px; max-width: 560px; }

/* Piè di pagina: Made by Connectivia -------------------------------------------------- */
.site-footer { background: #fff; }
/* chiusura come la brochure: «MADE BY» sopra, il logo Connectivia sotto, al centro */
.site-footer__in { display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 24px; padding-block: 40px 28px; }
.site-footer__made { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.site-footer__made img { height: 24px; width: auto; }
.site-footer__made span { padding-left: .3em; color: var(--mute); font-size: 11.5px; font-weight: 700; letter-spacing: .3em; text-transform: uppercase; }
.site-footer__nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 32px; }
.site-footer__nav a { color: var(--navy); font-size: 15px; font-weight: 600; text-decoration: none; }
.site-footer__nav a:hover { color: var(--red); }
.site-footer__legal { justify-self: stretch; text-align: center; line-height: 1.7; padding-top: 22px; border-top: 1px solid var(--line); color: var(--mute); font-size: 13px; }
.site-footer__legal img { display: inline-block; width: 14px; height: 14px; margin-right: 4px; vertical-align: -2px; }
.site-footer__legal a { color: var(--mute); }

/* Funzionalità: indice della pagina --------------------------------------------------- */
.subnav { position: sticky; top: 0; z-index: 10; background: rgba(255, 255, 255, .96); border-bottom: 1px solid var(--line); backdrop-filter: blur(8px); }
.subnav ul { display: flex; gap: 8px; margin: 0; padding: 12px 0; list-style: none; overflow-x: auto; scrollbar-width: none; }
.subnav ul::-webkit-scrollbar { display: none; }
.subnav a { display: block; padding: 8px 16px; border-radius: 999px; color: var(--text2); font-size: 14.5px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.subnav a:hover { background: var(--pink); color: var(--red-d); }
.section[id] { scroll-margin-top: 66px; }

/* Il viaggio di una chiamata -------------------------------------------------------- */
.journey__path { display: grid; grid-template-columns: 1.1fr 1fr 1.15fr 1.15fr; gap: 34px; align-items: center; margin: 0; padding: 0; list-style: none; }
.journey__box { position: relative; display: flex; align-items: center; gap: 14px; padding: 18px 18px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; box-shadow: var(--shadow); color: var(--red); font-size: 24px; }
.journey__box span, .journey__fork span, .flow span:last-child, .hub li span:last-child { display: flex; flex-direction: column; color: var(--mute); font-size: 13.5px; line-height: 1.4; }
.journey__box b, .journey__fork b, .flow b, .hub b { color: var(--navy); font-size: 16px; }
.journey__box--dark { background: var(--navy); border-color: var(--navy); color: #fff; }
.journey__box--dark b { color: #fff; }
.journey__box--dark span { color: var(--soft); }
.journey__box::after { content: ""; position: absolute; right: -28px; top: 50%; width: 22px; height: 2px; background: var(--navy); }
.journey__box::before { content: ""; position: absolute; right: -30px; top: calc(50% - 5px); border: 6px solid transparent; border-left: 8px solid var(--navy); border-right: 0; }
.journey__fork ul { display: grid; gap: 10px; margin: 0; padding: 0 0 0 18px; list-style: none; border-left: 2px solid var(--navy); }
.journey__fork li { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--red); font-size: 20px; }
.journey__fork b { font-size: 15px; }
.journey__fork span { font-size: 12.5px; }
.journey__band { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 18px; align-items: center; margin-top: 28px; padding: 16px 22px; border-radius: var(--r); background: var(--pink); }
.journey__band svg { width: 100%; height: 40px; }
.journey__band p { display: flex; flex-direction: column; color: var(--text2); font-size: 14px; }
.journey__band b { font-size: 17px; }

.hood { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 36px; margin-top: 72px; padding: 36px 40px; border-radius: var(--r-lg); background: var(--navy); }
.hood .kicker { color: #FF7A8C; }
.hood h3 { color: #fff; font-size: 28px; }
.hood p { color: var(--soft); font-size: 15.5px; line-height: 1.7; }
.hood p + p { margin-top: 12px; }
.hood b { color: #fff; }

/* Tempo reale: le schede degli interni --------------------------------------------- */
.blf { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)) minmax(0, 1.2fr); gap: 14px; margin: 32px 0 0; padding: 0; list-style: none; }
.blf li { position: relative; display: flex; flex-direction: column; padding: 14px 14px 14px 20px; overflow: hidden; border: 1px solid var(--line); border-radius: 10px; background: #fff; font-size: 14px; line-height: 1.4; }
.blf li::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; }
.blf b { display: flex; align-items: center; gap: 8px; font-size: 17px; }
.blf b i { width: 8px; height: 8px; border-radius: 50%; background: var(--red); }
.blf em { color: var(--mute); font-size: 13px; font-style: normal; font-weight: 600; }
.blf--free::before { background: var(--ok); }
.blf--busy { background: #FDE3E6 !important; }
.blf--busy::before, .blf--ring::before { background: var(--red); }
.blf--busy em, .blf--ring em { color: var(--red-d); }
.blf--ring { border-color: var(--red) !important; box-shadow: 0 0 0 4px rgba(255, 23, 52, .14), 0 0 0 9px rgba(255, 23, 52, .06); animation: ring-card 1.2s ease-in-out infinite; }
@keyframes ring-card { 50% { box-shadow: 0 0 0 2px rgba(255, 23, 52, .1), 0 0 0 4px rgba(255, 23, 52, 0); } }
.blf--away::before { background: var(--amber); }
.blf--off::before { background: var(--grey); }
.blf--queue { background: var(--red) !important; border-color: var(--red) !important; color: #fff; }
.blf--queue::before { display: none; }
.blf--queue b { color: #fff; font-size: 16px; }
.blf--queue em { color: #FFD0D6; }
@media (prefers-reduced-motion: reduce) { .blf--ring { animation: none; } }

/* Statistiche ------------------------------------------------------------------------ */
.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; }
.pts { margin: 0; padding: 0; list-style: none; }
.pts li { position: relative; padding-left: 22px; color: var(--text2); font-size: 15.5px; line-height: 1.6; }
.pts li + li { margin-top: 12px; }
.pts li::before { content: ""; position: absolute; left: 0; top: .5em; width: 9px; height: 9px; border-radius: 2px; background: var(--red); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.tags li { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--bg); color: var(--navy); font-size: 14px; font-weight: 600; }
.tags i { padding: 2px 7px; border-radius: 8px; background: var(--red); color: #fff; font-size: 10px; font-style: normal; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.flow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; margin: 0; padding: 0; list-style: none; }
.flow li { position: relative; display: flex; gap: 16px; align-items: center; padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; box-shadow: var(--shadow); }
.flow li + li::before { content: ""; position: absolute; left: -40px; top: 50%; width: 26px; height: 2px; background: var(--red); }
.flow li + li::after { content: ""; position: absolute; left: -16px; top: calc(50% - 6px); border: 7px solid transparent; border-left: 9px solid var(--red); border-right: 0; }
.flow__i { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; flex: none; border-radius: 50%; background: var(--pink); color: var(--red); font-size: 22px; }
.flow--dark { background: var(--navy) !important; border-color: var(--navy) !important; }
.flow--dark .flow__i { background: var(--red); color: #fff; }
.flow--dark b { color: #fff; }
.flow--dark span:last-child { color: var(--soft) !important; }
.flow + .note { margin-top: 18px; }

/* Configurazione --------------------------------------------------------------------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; align-items: start; margin-top: 56px; }
.perimeter dl { margin: 0; }
.perimeter dl div { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.perimeter dt { color: var(--navy); font-size: 15px; font-weight: 800; line-height: 1.35; }
.perimeter dd { margin: 0; color: var(--text2); font-size: 14.5px; line-height: 1.5; }

/* Telefoni --------------------------------------------------------------------------- */
.phones { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 40px; align-items: center; }
.phones .sub { margin-top: 0; }
.wizard { margin: 0; padding: 0; list-style: none; }
.wizard li { position: relative; display: flex; gap: 18px; align-items: flex-start; padding-bottom: 26px; }
.wizard li:not(:last-child)::before { content: ""; position: absolute; left: 27px; top: 58px; bottom: 4px; width: 2px; background: var(--red); }
.wizard li:nth-child(3)::before { background: repeating-linear-gradient(var(--red) 0 4px, transparent 4px 9px); }
.wizard__i { display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; flex: none; border: 2.5px solid var(--red); border-radius: 50%; background: #fff; color: var(--red); font-size: 24px; }
.wizard .is-last .wizard__i { background: var(--red); color: #fff; }
.wizard li > span:last-child { display: flex; flex-direction: column; padding-top: 2px; color: var(--text2); font-size: 15px; }
.wizard em { color: var(--red); font-size: 12px; font-style: normal; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.wizard b { font-size: 20px; }
.phones__ph { margin: 0; text-align: center; }
.deskphone { width: 100%; max-width: 400px; height: auto; margin: 0 auto; display: block; }
.phones__ph figcaption { max-width: 340px; margin: 12px auto 0; color: var(--mute); font-size: 13.5px; line-height: 1.5; }

/* Governo e sicurezza ------------------------------------------------------------------ */
.orgs { margin-bottom: 40px; }
.orgs__top { display: flex; align-items: center; gap: 16px; padding: 16px 22px; border-radius: var(--r); background: var(--navy); }
.orgs__top p { display: flex; flex-direction: column; flex: 1; color: var(--soft2); font-size: 14px; }
.orgs__top b { color: #fff; font-size: 18px; }
.orgs__tag { display: inline-flex; align-items: center; gap: 8px; padding: 9px 18px; border-radius: 999px; background: var(--red); color: #fff; font-size: 14px; font-weight: 700; }
.orgs__tag .icon { font-size: 18px; }
.orgs ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); margin: 0; padding: 22px 0 0; list-style: none; }
.orgs ul li { position: relative; padding: 22px 22px 20px; border: 1px solid var(--line); border-top: 4px solid var(--red); border-radius: 0 0 var(--r) var(--r); background: #fff; box-shadow: var(--shadow); }
.orgs ul li::before { content: ""; position: absolute; left: 50%; top: -26px; width: 2px; height: 22px; background: var(--navy); }
.orgs h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; font-size: 18px; }
.orgs h3 .icon { color: var(--red); font-size: 22px; }
.orgs ul p { display: flex; align-items: center; gap: 10px; color: var(--text2); font-size: 14.5px; line-height: 1.9; }
.orgs ul p .icon { color: var(--mute); font-size: 16px; }
.hub { position: relative; display: grid; grid-template-columns: 1fr 180px 1fr; align-items: center; min-height: 300px; padding: 30px 40px; border-radius: var(--r-lg); background: var(--bg); }
.hub__lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.hub__core { position: relative; grid-column: 2; grid-row: 1 / 3; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; width: 150px; height: 150px; margin: 0 auto; border-radius: 50%; background: var(--navy); box-shadow: 0 0 0 22px rgba(255, 23, 52, .08); }
.hub__core img { width: 56px; height: 56px; }
.hub__core b { color: #fff; font-size: 14px; }
.hub ul { display: contents; }
.hub li { position: relative; display: flex; align-items: center; gap: 14px; max-width: 300px; padding: 14px 18px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; }
.hub li:nth-child(1) { grid-column: 1; grid-row: 1; }
.hub li:nth-child(2) { grid-column: 1; grid-row: 2; }
.hub li:nth-child(3) { grid-column: 3; grid-row: 1; justify-self: end; }
.hub li:nth-child(4) { grid-column: 3; grid-row: 2; justify-self: end; }
.hub li:nth-child(odd) { margin-bottom: 40px; }
.hub li:nth-child(even) { margin-top: 40px; }
.hub__i { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; flex: none; border-radius: 50%; background: var(--pink); color: var(--red); font-size: 20px; }

/* Per chi è ------------------------------------------------------------------------- */
.profiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); margin: 0; padding: 0; list-style: none; }
.profile { padding: 32px 32px 34px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; box-shadow: var(--shadow); }
.profile h3 { margin-top: 20px; font-size: 24px; }
.profile__lead { margin: 10px 0 20px; color: var(--text2); font-size: 16px; line-height: 1.65; }
.cmp-wrap { overflow: hidden; border-radius: var(--r); background: #fff; box-shadow: var(--shadow); }
.cmp { width: 100%; border-collapse: collapse; font-size: 15.5px; line-height: 1.45; }
.cmp th, .cmp td { padding: 16px 22px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
.cmp thead th { border-bottom: 2px solid var(--navy); color: var(--mute); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.cmp thead th.us { border-bottom-color: var(--navy); background: var(--navy); color: #fff; font-size: 15px; letter-spacing: 0; text-transform: none; }
.cmp thead th.us img { display: inline-block; vertical-align: -3px; margin-right: 6px; }
.cmp tbody th { width: 24%; color: var(--navy); font-weight: 800; }
.cmp tbody td { color: var(--mute); }
.cmp td.us { color: var(--navy); font-weight: 600; background: #FFF5F6; }
.cmp td.us .icon { display: inline-block; margin: -3px 10px 0 0; vertical-align: middle; color: var(--red); stroke-width: 3; }
.cmp tbody tr:last-child > * { border-bottom: 0; }

/* Contatti --------------------------------------------------------------------------- */
.contact { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: start; }
.contact__aside { padding-top: 40px; }
.contact__aside h2 { font-size: 28px; }
.mini-steps { margin: 28px 0 0; padding: 0; list-style: none; }
.mini-steps li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 16px; align-items: start; }
.mini-steps li + li { margin-top: 20px; }
.mini-steps__n { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: var(--red); color: #fff; font-weight: 800; box-shadow: 0 0 0 5px rgba(255, 23, 52, .18); }
.mini-steps p { padding-top: 7px; color: var(--text2); }
.contact__form { padding: 40px; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; box-shadow: var(--shadow-lg); }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.field { margin-bottom: 20px; }
.field label { display: block; margin-bottom: 6px; color: var(--navy); font-size: 14px; font-weight: 700; }
.field input[type=text], .field input[type=email], .field input[type=tel], .field select, .field textarea {
  display: block; width: 100%; height: 50px; padding: 0 16px; border: 1px solid #D3D7E3; border-radius: 10px;
  background: var(--bg); color: var(--text); font: 500 16px/1.4 var(--font); transition: border-color .15s, background-color .15s, box-shadow .15s;
}
.field select { appearance: none; padding-right: 44px; background: var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FF1734' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center / 18px; }
.tel { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 8px; }
.field textarea { height: auto; min-height: 140px; padding: 14px 16px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #9AA0B8; font-weight: 400; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--red); background-color: #fff; box-shadow: 0 0 0 4px rgba(255, 23, 52, .14); }
.field [aria-invalid=true] { border-color: var(--danger); background-color: #fff; }
.field__err { margin-top: 6px; color: var(--danger); font-size: 13.5px; font-weight: 600; }
.field abbr { color: var(--red); text-decoration: none; }
.field--check { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 4px 12px; align-items: start; }
.field--check input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--red); }
.field--check label { margin: 0; color: var(--text2); font-size: 14.5px; font-weight: 500; }
.field--check .field__err { grid-column: 2; margin-top: 0; }
.form__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__actions { margin-top: 8px; }
.alert { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 24px; padding: 16px 20px; border-radius: 10px; }
.alert--ok { margin-bottom: 0; background: var(--ok-bg); }
.alert--ok > .icon { font-size: 26px; color: var(--ok); stroke-width: 3; }
.alert--ok h2 { font-size: 21px; }
.alert--ok p { margin-top: 4px; color: var(--text2); }
.alert--err { background: var(--danger-bg); color: var(--danger); font-size: 15px; font-weight: 600; }

.prose { max-width: calc(780px + 2 * var(--gutter)); margin-inline: 0; }
.prose h2 { margin: 40px 0 12px; font-size: 22px; }
.prose p { color: var(--text2); font-size: 17px; line-height: 1.75; }

/* In sede: telefoni, SBC e dove installarlo ---------------------------------------- */
.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); margin: 0; padding: 0; list-style: none; }
.product { display: flex; flex-direction: column; padding: 18px 18px 24px; border: 1px solid var(--line); border-top: 5px solid var(--red); border-radius: 4px 4px var(--r) var(--r); background: #fff; box-shadow: var(--shadow); }
.product__img, .sbc-card__img { position: relative; display: grid; place-items: center; height: 240px; padding: 18px; border-radius: 10px; background: var(--bg); }
.product__img img, .sbc-card__img img { max-width: 92%; max-height: 100%; width: auto; height: auto; object-fit: contain; mix-blend-mode: multiply; }
.product__tag { position: absolute; top: 12px; right: 12px; z-index: 1; padding: 5px 12px; border-radius: 999px; background: var(--red); color: #fff; font-size: 12px; font-weight: 700; }
.product__tag--dark { background: var(--navy); }
.product h3, .sbc-card h3 { margin-top: 18px; font-size: 22px; }
.product__role { margin-top: 4px; color: var(--mute); font-size: 14px; }
.checks { margin: 14px 0 0; padding: 0; list-style: none; }
.checks li { display: flex; gap: 10px; align-items: flex-start; color: var(--text2); font-size: 14.5px; line-height: 1.5; }
.checks li + li { margin-top: 8px; }
.checks .icon { flex: none; width: 20px; height: 20px; margin-top: 1px; padding: 4px; border-radius: 50%; background: var(--red); color: #fff; stroke-width: 3.5; }
.sbc-card { display: grid; grid-template-columns: 380px minmax(0, 1fr); gap: 32px; align-items: center; margin-top: var(--gap); padding: 18px 32px 18px 18px; border: 1px solid var(--line); border-left: 5px solid var(--red); border-radius: 4px var(--r) var(--r) 4px; background: #fff; box-shadow: var(--shadow); }
.sbc-card__img { height: 320px; }
.sbc-card .kicker { margin-bottom: 0; }
.sbc-card h3 { margin-top: 8px; font-size: 28px; }
.mini-flow { display: flex; align-items: center; gap: 10px; margin: 22px 0 4px; padding: 0; list-style: none; color: var(--navy); font-size: 13px; font-weight: 700; }
.mini-flow li { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 8px; background: var(--bg); white-space: nowrap; }
.mini-flow .icon { font-size: 15px; color: var(--red); }
.mini-flow__sbc { background: var(--navy) !important; color: #fff; }
.mini-flow__sbc .icon { color: #fff; }
.mini-flow__cloud { background: var(--pink) !important; }
.mini-flow__tunnel { position: relative; flex: 1; min-width: 60px; height: 3px; padding: 0 !important; background: var(--red) !important; border-radius: 2px; }
.mini-flow__tunnel span { position: absolute; left: 50%; top: -20px; transform: translateX(-50%); color: var(--red); font-size: 11.5px; }
.sbc-art { display: block; width: 100%; height: auto; }
.sbc-ways .card { display: flex; flex-direction: column; }
.sbc-ways__tag { margin-top: 18px; color: var(--red) !important; font-size: 12px !important; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.sbc-ways .card h3 { margin-top: 6px; }
.lead--sub { max-width: 860px; margin: -8px 0 28px; }
.schema-fig { margin: 0; padding: 28px; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; box-shadow: var(--shadow); }
.schema { display: block; width: 100%; height: auto; }
.schema--v { display: none; max-width: 420px; margin: 0 auto; }

/* Percorso della chiamata: legenda dei richiami sotto la schermata */
.legend { display: flex; flex-wrap: wrap; gap: 12px 32px; margin: 24px 0 40px; padding: 0; list-style: none; }
.legend li { display: flex; align-items: center; gap: 10px; color: var(--text2); font-size: 15px; }
.legend .pin { width: 26px; height: 26px; font-size: 12.5px; box-shadow: 0 0 0 4px rgba(255, 23, 52, .2); }
/* sui fondi grigi lo schema dell'ecosistema va su bianco */
.section--alt .hub { background: #fff; border: 1px solid var(--line); }

/* Datasheet ------------------------------------------------------------------------- */
.hero__actions .btn .icon { font-size: 18px; }
.cta__actions { display: flex; flex-direction: column; align-items: center; gap: 12px; flex: none; }
.cta__dl { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-size: 14.5px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.cta__dl:hover { color: #FFE1E5; }
.cta__dl .icon { font-size: 17px; }
.dl-card { display: flex; gap: 14px; align-items: center; margin-top: 28px; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; box-shadow: var(--shadow); color: inherit; text-decoration: none; transition: border-color .15s; }
.dl-card:hover { border-color: var(--red); color: inherit; }
.dl-card span:last-child { display: flex; flex-direction: column; color: var(--mute); font-size: 14px; }
.dl-card b { color: var(--navy); font-size: 16px; }

/* Home: la dashboard in grande, prima del racconto del servizio --------------------------- */
.showcase { margin-bottom: var(--section); }

/* Le cinque leve portano alle sezioni di Funzionalità ----------------------------------- */
.pulse .is-link { position: relative; }
.pulse .is-link a { color: inherit; text-decoration: none; }
.pulse .is-link a::after { content: ""; position: absolute; inset: -8px; border-radius: var(--r); }
.pulse .is-link:hover .pulse__dot { background: var(--red); color: #fff; }
.pulse .is-link:hover h3 a { color: var(--red); }
.pulse__dot { transition: background-color .15s, color .15s; }

/* Il modello: canoni fissi, niente prezzi online ------------------------------------------ */
.fees { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); margin: 0; padding: 0; list-style: none; }
.fees li { padding: 24px 24px 26px; border: 1px solid var(--line); border-top: 4px solid var(--red); border-radius: 4px 4px var(--r) var(--r); background: #fff; box-shadow: var(--shadow); }
.fees h3 { margin-top: 18px; font-size: 19px; }
.fees p { margin-top: 6px; color: var(--text2); font-size: 15px; }
.fees__free { background: var(--navy) !important; border-color: var(--navy) !important; border-top-color: var(--red) !important; }
.fees__free h3 { color: #fff; }
.fees__free p { color: var(--soft); }
.fees__big { display: flex; align-items: center; height: 46px; color: var(--red); font-size: 52px; font-weight: 800; line-height: 1; }
.ask { display: flex; align-items: center; justify-content: space-between; gap: 32px; margin-top: var(--gap); padding: 24px 28px; border-radius: var(--r); background: var(--pink); }
.ask p { max-width: 640px; color: var(--navy); font-size: 17px; font-weight: 600; }

/* Le pagine interne chiudono con il solo invito ------------------------------------------- */
.closing--short { padding-top: 16px; }
.closing--short .ecg-strip { margin-top: 0; }

/* Home: richiamo ai prezzi ---------------------------------------------------------------- */
.ask__actions { display: flex; align-items: center; gap: 28px; flex: none; }

/* Prezzi: cosa c'è dentro il canone, e la richiesta ---------------------------------------- */
.inside { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); }
.inside__col { padding: 28px 30px 30px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; box-shadow: var(--shadow); }
.inside .sub--plain { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; font-size: 19px; }
.inside .sub--plain .icon { font-size: 22px; color: var(--red); }
.inside .checks li + li { margin-top: 12px; }
.request { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 48px; align-items: center; padding: 40px 44px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.request h2 { font-size: clamp(28px, 3vw, 40px); line-height: 1.12; }
.request .lead { margin: 14px 0 20px; }
.request__box { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.request__dl { color: var(--red-d); }
.request__dl:hover { color: var(--red); }

/* Fino a 1180 px ----------------------------------------------------------------------- */
@media (max-width: 1180px) {
  :root { --section: 96px; --gutter: 32px; }
  .cards--4, .fees { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .why { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 48px; }
  .blf { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .journey__path { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 34px; }
  .journey__box:nth-child(2)::after, .journey__box:nth-child(2)::before { display: none; }
  .journey__fork { grid-column: 2; }
  .journey__fork ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .journey__path > .journey__box:nth-child(3) { grid-column: 1; grid-row: 2; }
  .phones { grid-template-columns: minmax(0, 1fr) 340px; }
  .sbc-card { grid-template-columns: 300px minmax(0, 1fr); gap: 24px; padding-right: 24px; }
  .sbc-card__img { height: 280px; }
  .split { grid-template-columns: minmax(0, 1fr); }
  .hood { grid-template-columns: minmax(0, 1fr); gap: 16px; }
}

/* Fino a 900 px: menu a comparsa, una colonna ----------------------------------------- */
@media (max-width: 900px) {
  :root { --gutter: 24px; --section: 80px; --header-h: 68px; }
  .js .site-header__toggle { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 14px; margin-right: -14px; background: none; border: 0; color: #fff; font: 700 15px/1 var(--font); cursor: pointer; }
  .site-header__toggle .icon { font-size: 24px; }
  .site-header__in { flex-wrap: wrap; }
  .site-nav { flex-direction: column; align-items: stretch; gap: 0; width: 100%; padding: 8px 0 24px; }
  .js .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; padding: 8px var(--gutter) 24px; background: var(--deep); border-bottom: 1px solid rgba(255, 255, 255, .1); box-shadow: 0 20px 40px rgba(0, 0, 0, .4); }
  .js .site-nav.is-open { display: flex; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav ul a { padding: 15px 0; font-size: 17px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
  .site-nav ul a[aria-current]::after { left: -14px; right: auto; top: 15px; bottom: 15px; width: 3px; height: auto; }
  .site-nav .btn { margin-top: 20px; }
  .no-js .site-header { position: relative; background: var(--deep); }
  .no-js .site-header__in { height: auto; padding-top: 16px; }
  .no-js .hero__in { padding-top: 56px; }

  .hero__in { padding-top: calc(var(--header-h) + 56px); }
  .head { margin-bottom: 40px; }
  .head::before { height: 80px; }
  .sub { margin-top: 56px; }
  .cards--3, .cards--2, .profiles, .orgs ul { grid-template-columns: minmax(0, 1fr); }
  .two { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .flow { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .flow li + li::before { left: 50%; top: -28px; width: 2px; height: 20px; }
  .flow li + li::after { left: calc(50% - 6px); top: -12px; border: 7px solid transparent; border-top: 9px solid var(--red); border-bottom: 0; }
  .phones { grid-template-columns: minmax(0, 1fr); }
  .products { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .products .product:last-child { grid-column: 1 / -1; }
  .sbc-card { grid-template-columns: minmax(0, 1fr); padding: 18px 18px 24px; }
  .sbc-card__img { height: 260px; }
  .phones__ph { max-width: 420px; margin: 0 auto; }
  .orgs__top { flex-wrap: wrap; }
  .orgs ul li::before { display: none; }
  .hub { grid-template-columns: minmax(0, 1fr); gap: 12px; padding: 28px 24px; }
  .hub__lines { display: none; }
  .hub__core { grid-column: 1; grid-row: auto; margin-bottom: 20px; }
  .hub li, .hub li:nth-child(n) { grid-column: 1; grid-row: auto; justify-self: stretch; max-width: none; margin: 0; }
  .cta { flex-direction: column; align-items: flex-start; padding: 30px; }
  .cta__actions { align-items: flex-start; }
  .site-footer__in { grid-template-columns: minmax(0, 1fr); }
  .contact { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .inside, .request { grid-template-columns: minmax(0, 1fr); }
  .request { gap: 28px; padding: 32px 28px; }
  .request__box { align-items: flex-start; }
  .ask { flex-direction: column; align-items: flex-start; }
  .contact__aside { padding-top: 0; }
  .subnav .wrap { padding-right: 0; }
  .subnav ul { padding-right: var(--gutter); -webkit-mask-image: linear-gradient(to right, #000 88%, transparent); mask-image: linear-gradient(to right, #000 88%, transparent); }
  /* le tappe del battito diventano una colonna con il filo rosso a sinistra */
  .pulse__line { display: none; }
  .pulse ol { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .pulse li { display: grid; grid-template-columns: 66px minmax(0, 1fr); grid-template-areas: "dot top" "dot t" "dot p"; column-gap: 20px; align-items: start; text-align: left; position: relative; padding-bottom: 28px; }
  .pulse li:not(:last-child)::before { content: ""; position: absolute; left: 32px; top: 66px; bottom: 0; width: 2px; background: var(--red); opacity: .5; }
  .pulse__dot { grid-area: dot; }
  .pulse h3 { grid-area: t; margin-top: 0; }
  .pulse p { grid-area: p; max-width: none; }
  .pulse__top, .pulse--day .pulse__top { grid-area: top; order: 0; margin: 0 0 2px; font-size: 12px; letter-spacing: .15em; }
  .pulse--day .pulse__top { font-size: 16px; letter-spacing: 0; }
  .pulse li:not(:has(.pulse__top)) h3 { margin-top: 18px; }
  .day { padding: 28px 22px 4px; }
}

/* Smartphone (fino a 640 px) --------------------------------------------------------- */
@media (max-width: 640px) {
  :root { --gutter: 16px; --section: 64px; --gap: 14px; }
  .site-header__logo img { height: 26px; }
  .site-header__logo { gap: 3px; }
  .site-header__logo span { font-size: 10.5px; }
  .hero__in { padding-top: calc(var(--header-h) + 40px); }
  .hero h1 { font-size: 34px; }
  .hero--cover h1 { font-size: 38px; }
  .hero__lead, .hero--cover .hero__lead { margin-top: 18px; font-size: 16.5px; }
  .hero__actions { flex-direction: column; align-items: stretch; margin-top: 28px; gap: 12px; }
  .head h2 { font-size: 28px; }
  .head h2 br, .hero h1 br { display: none; }
  .head::before { width: 5px; height: 64px; }
  .lead { margin-top: 16px; font-size: 16px; }
  .sub { margin: 48px 0 20px; font-size: 19px; }
  .pin { width: 24px; height: 24px; font-size: 12px; box-shadow: 0 0 0 4px rgba(255, 23, 52, .22); }
  .frame__bar { height: 28px; padding: 0 10px; }
  .frame__bar span { font-size: 11px; margin-left: 8px; }
  .kpis { grid-template-columns: minmax(0, 1fr); gap: 12px; margin-top: 48px; }
  .kpis li { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 16px; align-items: center; padding: 20px; }
  .kpis b { font-size: 32px; }
  .kpis span { margin-top: 0; }
  .cards--4, .why, .fees { grid-template-columns: minmax(0, 1fr); }
  .ask { flex-direction: column; align-items: stretch; padding: 22px 20px; }
  .ask .btn { width: 100%; }
  .ask__actions { flex-direction: column-reverse; align-items: stretch; gap: 16px; width: 100%; }
  .request { padding: 24px 20px; }
  .request__box { align-items: stretch; }
  .request__box .btn { width: 100%; }
  .inside__col { padding: 22px 20px; }
  .cta__actions { align-self: stretch; align-items: center; }
  .card { padding: 20px; }
  .cards--row .card { gap: 14px; }
  .blf { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .blf--queue { grid-column: 1 / -1; }
  .journey__path { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .journey__path > .journey__box:nth-child(3), .journey__fork { grid-column: 1; grid-row: auto; }
  .journey__box::after, .journey__box:nth-child(2)::after { display: block; right: auto; left: 32px; top: auto; bottom: -24px; width: 2px; height: 16px; }
  .journey__box::before, .journey__box:nth-child(2)::before { display: block; right: auto; left: 27px; top: auto; bottom: -30px; border: 6px solid transparent; border-top: 8px solid var(--navy); border-bottom: 0; }
  .journey__fork ul { grid-template-columns: minmax(0, 1fr); }
  .journey__band { grid-template-columns: 28px minmax(0, 1fr); }
  .journey__band svg { display: none; }
  .hood { padding: 28px 22px; margin-top: 56px; }
  .hood h3 { font-size: 24px; }
  .perimeter dl div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .legend { flex-direction: column; gap: 10px; margin-bottom: 32px; }
  .products { grid-template-columns: minmax(0, 1fr); }
  .product__img { height: 210px; }
  .sbc-card__img { height: 220px; }
  .sbc-card h3 { font-size: 24px; }
  .mini-flow { flex-wrap: wrap; row-gap: 26px; }
  .mini-flow__tunnel { flex-basis: 100%; order: 3; }
  .mini-flow__tunnel span { top: -14px; }
  .mini-flow__cloud { order: 4; }
  .schema--h { display: none; }
  .schema--v { display: block; }
  .lead--sub { margin-top: -4px; }
  .schema-fig { padding: 14px; }
  .orgs__tag { width: 100%; justify-content: center; }
  .profile { padding: 24px 20px; }
  .profile h3 { font-size: 21px; }
  .cmp thead { display: none; }
  .cmp tbody tr { display: block; padding: 16px 18px; border-bottom: 1px solid var(--line); }
  .cmp tbody tr:last-child { border-bottom: 0; }
  .cmp tbody th, .cmp tbody td { display: block; width: auto; padding: 0; border: 0; background: none; }
  .cmp tbody td { margin-top: 8px; font-size: 14.5px; }
  .cmp tbody td::before { content: attr(data-l); display: block; color: var(--mute); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
  .cmp td.us { padding: 10px 12px; border-radius: 8px; background: #FFF5F6; }
  .cmp td.us::before { color: var(--red-d); }
  .closing { padding-bottom: 64px; }
  .why { gap: 28px; margin-top: 32px; }
  .cta { padding: 24px 22px; }
  .cta .btn { width: 100%; }
  .contact__form { padding: 22px 18px; }
  .form__row { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .form__actions .btn { width: 100%; }
  .site-footer__nav { gap: 0 24px; }
  .site-footer__nav a { padding: 10px 0; }
}

/* Sul telefono la costellazione resta dietro al testo: più tenue */
@media (max-width: 640px) {
  .hero .darkbg g, .closing .darkbg g { opacity: .35; }
}
