/* IVO Home 2026 - stili della home. Stessi colori, angoli e carattere (Inter) di header e footer. */

:root {
	--ivo-ink: #1E0F2E;
	--ivo-soft: #66587A;
	--ivo-paper: #FBF8FD;
	--ivo-mist: #EFE2F6;
	--ivo-violet: #57007a;
	--ivo-magenta: #a701e4;
	--ivo-lime: #71e01d;
	--ivo-orchid: #cc99cc;
	--ivo-night: #170a22;
	--ivo-line: rgba(87, 0, 122, 0.14);
	--ivo-card: radial-gradient(70% 60% at 100% 0%, rgba(154, 0, 212, 0.6) 0%, transparent 55%), linear-gradient(135deg, #1c0830 0%, #4b0a6e 58%, #8a00c2 100%);
	--ivo-ease: cubic-bezier(0.2, 0.8, 0.2, 1);
	--ivo-r: 40px;
}

body.ivo-home { background: var(--ivo-paper); }
body.ivo-home #page, body.ivo-home .site-content, body.ivo-home #content, body.ivo-home .ast-container { background: transparent; }
body.ivo-home .site-content > .ast-container, body.ivo-home #primary { padding: 0; margin: 0; max-width: none; width: 100%; }

.ivo-main { font-family: "Inter", system-ui, -apple-system, sans-serif; color: var(--ivo-ink); background: var(--ivo-paper); overflow: hidden; -webkit-font-smoothing: antialiased; }
.ivo-main, .ivo-main *, .ivo-main *::before, .ivo-main *::after { box-sizing: border-box; }
:where(.ivo-main) :where(h1, h2, h3, p, figure, ol, ul) { margin: 0; padding: 0; }
:where(.ivo-main) :where(ol, ul) { list-style: none; }
:where(.ivo-main) a { text-decoration: none; }
:where(.ivo-main) img { max-width: 100%; height: auto; }
.ivo-main a:focus-visible, .ivo-main button:focus-visible, .ivo-main input:focus-visible { outline: 3px solid var(--ivo-orchid); outline-offset: 3px; }
.ivo-main .screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.ivo-wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.ivo-sec { padding-top: 140px; }
.ivo-ppl { padding-bottom: 140px; }

/* ---- Titoli: rivelati da una maschera ---- */
.ivo-display { font-size: clamp(60px, 9.6vw, 148px); font-weight: 800; line-height: 0.92; letter-spacing: -0.05em; margin-bottom: 36px; }
.ivo-title { font-size: clamp(40px, 5.6vw, 80px); font-weight: 800; line-height: 0.98; letter-spacing: -0.045em; color: var(--ivo-ink); max-width: 820px; }
.ivo-title--dark { color: #fff; font-size: clamp(40px, 5.2vw, 76px); margin-bottom: 28px; }
.ivo-title--wide { margin-bottom: 56px; }
.ivo-ln { display: block; overflow: hidden; padding-bottom: 0.1em; margin-bottom: -0.1em; }
.ivo-ln > span { display: block; }
.ivo-dot { color: var(--ivo-lime); }
.js [data-reveal] .ivo-ln > span { transform: translateY(108%); transition: transform 0.95s var(--ivo-ease) calc(var(--i, 0) * 0.1s); }
.js [data-reveal].is-in .ivo-ln > span { transform: none; }

.ivo-lead { font-size: 18px; line-height: 1.55; color: var(--ivo-soft); max-width: 340px; }
.ivo-lead--hero { font-size: 20px; color: rgba(255, 255, 255, 0.78); max-width: 500px; margin-bottom: 40px; }
.ivo-lead--dark { font-size: 19px; line-height: 1.6; color: rgba(255, 255, 255, 0.74); max-width: 480px; margin-bottom: 34px; }
.ivo-sech { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-bottom: 56px; }

/* ---- Pulsanti ---- */
.ivo-main .ivo-btn { display: inline-flex; align-items: center; gap: 12px; height: 56px; padding: 0 28px; border: 0; border-radius: 999px; font: 700 16px/1 "Inter", sans-serif; letter-spacing: -0.01em; cursor: pointer; transition: transform 0.25s, filter 0.25s; }
.ivo-main .ivo-btn:hover { transform: translateY(-2px); filter: brightness(1.06); }
.ivo-main .ivo-btn--white { background: #fff; color: var(--ivo-violet); }
.ivo-main .ivo-btn--dark { background: var(--ivo-night); color: #fff; }
.ivo-main .ivo-btn--magenta { background: var(--ivo-magenta); color: #fff; }

/* ---- Hero ---- */
.ivo-hero { position: relative; margin: 88px auto 0; width: calc(100% - 56px); max-width: 1400px; min-height: 820px; color: #fff; isolation: isolate; }
.ivo-hero__bg {
	position: absolute; inset: 0; z-index: -1; overflow: hidden;
	border-radius: var(--ivo-r) var(--ivo-r) 0 var(--ivo-r);
	background: radial-gradient(70% 60% at 100% 0%, rgba(154, 0, 212, 0.6) 0%, transparent 55%), radial-gradient(60% 55% at 0% 100%, rgba(116, 227, 31, 0.12) 0%, transparent 60%), linear-gradient(135deg, #1c0830 0%, #4b0a6e 58%, #8a00c2 100%);
	-webkit-mask-image: linear-gradient(#000, #000), url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%22132%22 height=%22132%22 viewBox=%220 0 132 132%22%3E%3Cg transform=%22rotate%28180 66.0 66.0%29%22%3E%3Cpath d=%22M0 0H132A28 28 0 0 0 104 28V68A36 36 0 0 1 68 104H28A28 28 0 0 0 0 132Z%22/%3E%3C/g%3E%3C/svg%3E");
	        mask-image: linear-gradient(#000, #000), url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%22132%22 height=%22132%22 viewBox=%220 0 132 132%22%3E%3Cg transform=%22rotate%28180 66.0 66.0%29%22%3E%3Cpath d=%22M0 0H132A28 28 0 0 0 104 28V68A36 36 0 0 1 68 104H28A28 28 0 0 0 0 132Z%22/%3E%3C/g%3E%3C/svg%3E");
	-webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
	-webkit-mask-position: 0 0, 100% 100%; mask-position: 0 0, 100% 100%;
	-webkit-mask-size: 100% 100%, 132px 132px; mask-size: 100% 100%, 132px 132px;
	-webkit-mask-composite: source-out; mask-composite: subtract;
}
.ivo-hero__art { position: absolute; inset: 0; will-change: transform; }
.ivo-contours { position: absolute; right: -6%; top: 0; width: 78%; height: 100%; fill: none; stroke: rgba(255, 255, 255, 0.13); stroke-width: 1.4; }
.ivo-hero__dot { position: absolute; left: 67%; top: 48%; width: 22px; height: 22px; }
.ivo-hero__dot b { position: absolute; inset: 0; border-radius: 50%; background: var(--ivo-lime); box-shadow: 0 0 0 7px rgba(113, 224, 29, 0.18), 0 0 38px 6px rgba(113, 224, 29, 0.55); }
.ivo-ping { position: absolute; left: 0; top: 0; width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--ivo-lime); animation: ivo-ping 4.8s cubic-bezier(0.2, 0.6, 0.3, 1) infinite; }
.ivo-ping--2 { animation-delay: 1.6s; }
.ivo-ping--3 { animation-delay: 3.2s; }
@keyframes ivo-ping { 0% { transform: scale(1); opacity: 0.7; } 100% { transform: scale(15); opacity: 0; } }

.ivo-hero__in { padding-top: 128px; padding-bottom: 140px; }
.ivo-cover { display: flex; align-items: center; gap: 8px; max-width: 560px; padding: 8px 8px 8px 28px; border-radius: 999px; background: #fff; box-shadow: 0 30px 60px -24px rgba(8, 0, 16, 0.6); }
.ivo-main .ivo-cover__in { flex: 1; min-width: 0; height: 48px; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; font: 500 17px/1 "Inter", sans-serif; color: var(--ivo-ink); }
.ivo-main .ivo-cover__in:focus-visible { outline: none; }
.ivo-main .ivo-cover:focus-within { box-shadow: 0 30px 60px -24px rgba(8, 0, 16, 0.6), 0 0 0 3px var(--ivo-orchid); }
.ivo-main .ivo-cover__btn { flex: none; height: 52px; padding: 0 28px; border: 0; border-radius: 999px; background: var(--ivo-magenta); color: #fff; font: 700 16px/1 "Inter", sans-serif; cursor: pointer; transition: filter 0.25s; }
.ivo-main .ivo-cover__btn:hover { filter: brightness(1.08); }
.ivo-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.ivo-main .ivo-pill { display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border-radius: 999px; background: rgba(255, 255, 255, 0.1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2); color: #fff; font-size: 15px; font-weight: 600; transition: background 0.25s; }
.ivo-main .ivo-pill:hover { background: rgba(255, 255, 255, 0.18); color: #fff; }
.ivo-pill b { color: var(--ivo-lime); font-weight: 700; }
.ivo-main .ivo-hero__go { position: absolute; right: 14px; bottom: 14px; width: 76px; height: 76px; border-radius: 50%; background: var(--ivo-lime); color: var(--ivo-night); display: grid; place-items: center; transition: transform 0.3s var(--ivo-ease); }
.ivo-main .ivo-hero__go:hover { transform: translateY(4px); color: var(--ivo-night); }

/* ---- Offerte ---- */
.ivo-g2 { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); gap: 20px; }
.ivo-offer { position: relative; overflow: hidden; display: flex; flex-direction: column; min-height: 640px; padding: 44px; border-radius: var(--ivo-r); }
.ivo-offer--fibra { color: #fff; background: var(--ivo-card); }
.ivo-offer--fwa { background: var(--ivo-mist); }
.ivo-offer__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ivo-offer__name { font-size: 36px; font-weight: 800; letter-spacing: -0.035em; }
.ivo-chip { padding: 8px 16px; border-radius: 999px; background: #fff; color: var(--ivo-violet); font-size: 14px; font-weight: 600; }
.ivo-chip--dark { background: rgba(255, 255, 255, 0.12); color: #e3aeff; }
.ivo-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 14px; margin-top: 44px; }
.ivo-price__from { font-size: 20px; font-weight: 600; color: var(--ivo-soft); }
.ivo-price__n { font-size: clamp(84px, 9vw, 128px); font-weight: 800; letter-spacing: -0.055em; line-height: 0.9; }
.ivo-price__u { font-size: 22px; font-weight: 700; line-height: 1.15; white-space: nowrap; }
@media (max-width: 640px){ .ivo-price { gap: 6px 12px; } .ivo-price__n { font-size: clamp(64px, 19vw, 96px); } }
@media (min-width: 981px) and (max-width: 1280px){ .ivo-price__n { font-size: clamp(72px, 7.4vw, 104px); } }
.ivo-offer--fibra .ivo-price__from { color: rgba(255, 255, 255, 0.7); }
.ivo-offer--fwa .ivo-price__n { color: var(--ivo-violet); }
.ivo-offer__lead { margin-top: 22px; font-size: 22px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.3; }
.ivo-offer__foot { display: flex; flex-direction: column; gap: 22px; margin-top: auto; padding-top: 40px; }
.ivo-offer--fwa .ivo-offer__foot { gap: 10px; padding-top: 34px; }
.ivo-offer__foot > .ivo-btn { align-self: flex-start; margin-top: 10px; }
.ivo-speed__t { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; }
.ivo-speed__t span { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; }
.ivo-speed__t small { font-size: 15px; color: rgba(255, 255, 255, 0.7); }
.ivo-bar { height: 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.14); overflow: hidden; }
.ivo-bar i { display: block; height: 10px; width: var(--w); border-radius: 999px; background: var(--ivo-lime); transform-origin: 0 50%; }
.ivo-bar--up i { background: var(--ivo-orchid); }
.js .ivo-g2[data-reveal] .ivo-bar i { transform: scaleX(0); transition: transform 1.4s var(--ivo-ease) 0.3s; }
.js .ivo-g2[data-reveal].is-in .ivo-bar i { transform: none; }
.js .ivo-g2[data-reveal].is-in .ivo-bar--up i { transition-delay: 0.5s; }
.ivo-prof { display: flex; align-items: center; gap: 16px; padding: 14px 20px; border-radius: 999px; background: #fff; }
.ivo-prof span { font-size: 17px; font-weight: 700; }
.ivo-prof .on { fill: var(--ivo-magenta); }
.ivo-prof .off { fill: #d9b8e8; }
.ivo-offer__note { margin-top: 8px; font-size: 15px; line-height: 1.5; color: var(--ivo-soft); }

/* ---- Assistenza (sezione scura con foto e telefono) ---- */
.ivo-care { position: relative; margin: 140px auto 0; width: calc(100% - 56px); max-width: 1400px; border-radius: var(--ivo-r); overflow: hidden; color: #fff; background: radial-gradient(90% 70% at 90% 100%, rgba(167, 1, 228, 0.45) 0%, transparent 60%), var(--ivo-night); }
.ivo-care__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 56px; align-items: center; padding-top: 110px; padding-bottom: 110px; }
.ivo-care__act { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.ivo-care__hours { font-size: 15px; color: rgba(255, 255, 255, 0.7); }
.ivo-care__stage { position: relative; min-height: 620px; width: 100%; }
.ivo-care__photo { position: absolute; top: 0; right: 0; bottom: 0; left: 130px; overflow: hidden; border-radius: var(--ivo-r); }
.ivo-care__photo img { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 62% 30%; }
.ivo-care__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(87, 0, 122, 0.14) 0%, rgba(23, 10, 34, 0.42) 100%); }
.ivo-phone { position: absolute; left: 0; bottom: -40px; width: 292px; padding: 12px; border-radius: 52px; background: #2a1640; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.75), inset 0 0 0 1.5px rgba(255, 255, 255, 0.14); }
.ivo-phone__screen { display: flex; flex-direction: column; gap: 0; min-height: 520px; overflow: hidden; border-radius: 42px; background: #EFE7DD; color: #111B21; }
.ivo-chat__bar { display: flex; align-items: center; gap: 10px; padding: 18px 16px 12px; background: #075E54; color: #fff; }
.ivo-chat__avatar { flex: none; width: 38px; height: 38px; padding: 6px; border-radius: 50%; background: #fff; object-fit: contain; }
.ivo-chat__who { font-size: 15.5px; font-weight: 600; line-height: 1.25; }
.ivo-chat__who small { display: block; font-size: 12px; font-weight: 400; color: rgba(255, 255, 255, 0.78); }
.ivo-chat__list { flex: 1; display: flex; flex-direction: column; gap: 6px; margin: 0; padding: 14px 12px 10px; list-style: none; background-color: #EFE7DD; background-image: radial-gradient(rgba(7, 94, 84, 0.07) 1.2px, transparent 1.4px); background-size: 18px 18px; }
.ivo-chat__list > li { list-style: none; margin: 0; }
.ivo-msg { position: relative; max-width: 84%; padding: 7px 10px 6px 10px; font-size: 14px; line-height: 1.4; box-shadow: 0 1px 0.5px rgba(11, 20, 26, 0.13); }
.ivo-msg::after { content: attr(data-t); float: right; margin: 6px 0 -3px 10px; font-size: 10.5px; line-height: 1; color: rgba(17, 27, 33, 0.5); }
.ivo-msg--user { align-self: flex-end; background: #D9FDD3; color: #111B21; border-radius: 10px 0 10px 10px; }
.ivo-msg--user::after { content: attr(data-t) " \2713\2713"; letter-spacing: 0.02em; }
.ivo-msg--ivo { align-self: flex-start; background: #fff; color: #111B21; border-radius: 0 10px 10px 10px; }
.ivo-msg--user::before, .ivo-msg--ivo::before { content: ""; position: absolute; top: 0; width: 8px; height: 10px; }
.ivo-msg--user::before { right: -7px; background: #D9FDD3; clip-path: polygon(0 0, 100% 0, 0 100%); }
.ivo-msg--ivo::before { left: -7px; background: #fff; clip-path: polygon(0 0, 100% 0, 100% 100%); }
.ivo-typing { align-self: flex-start; display: flex; gap: 5px; padding: 12px 14px; border-radius: 0 10px 10px 10px; background: #fff; box-shadow: 0 1px 0.5px rgba(11, 20, 26, 0.13); }
.ivo-typing i { width: 7px; height: 7px; border-radius: 50%; background: #9aa5ab; }
.ivo-chat__input { display: flex; align-items: center; gap: 8px; padding: 8px 10px 14px; background: #EFE7DD; }
.ivo-chat__field { flex: 1; padding: 10px 16px; border-radius: 999px; background: #fff; font-size: 13.5px; color: rgba(17, 27, 33, 0.45); }
.ivo-chat__send { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: #25D366; color: #fff; font-size: 15px; }
/* la conversazione si scrive da sola quando la sezione entra in vista */
.js .ivo-care__stage .ivo-msg, .js .ivo-care__stage .ivo-typing { opacity: 0; transform: translateY(12px) scale(0.98); }
.js .ivo-care__stage.is-in .ivo-msg, .js .ivo-care__stage.is-in .ivo-typing { opacity: 1; transform: none; transition: opacity 0.5s, transform 0.6s var(--ivo-ease); transition-delay: calc(0.5s + var(--i) * 0.9s); }

/* ---- Imprese ---- */
.ivo-bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.ivo-bcard { display: flex; flex-direction: column; justify-content: flex-end; min-height: 210px; padding: 32px 36px; border-radius: var(--ivo-r); }
.ivo-bcard h3 { margin-bottom: 8px; font-size: 26px; font-weight: 800; letter-spacing: -0.03em; }
.ivo-bcard p { font-size: 15.5px; line-height: 1.5; color: #4a3d5c; max-width: 420px; }
.ivo-bcard--0 { grid-column: span 2; grid-row: span 2; min-height: 440px; padding: 40px; }
.ivo-bcard--0 h3 { font-size: 40px; margin-bottom: 14px; }
.ivo-bcard--0 p { font-size: 17px; max-width: 380px; }
.ivo-bcard--3, .ivo-bcard--4, .ivo-bcard--5 { grid-column: span 2; }
.ivo-bcard--night { color: #fff; background: var(--ivo-card); }
.ivo-bcard--night p { color: rgba(255, 255, 255, 0.78); }
.ivo-bcard--mist { background: var(--ivo-mist); }
.ivo-bcard--paper { background: #fff; box-shadow: inset 0 0 0 1.5px var(--ivo-line); }
.ivo-bcard--magenta { color: #fff; background: var(--ivo-magenta); }
.ivo-bcard--magenta p { color: #fff; }
.ivo-biz__cta { margin-top: 32px; }

/* ---- Persone ---- */
.ivo-shot { position: relative; height: 480px; margin-bottom: 20px; overflow: hidden; border-radius: var(--ivo-r); }
.ivo-shot img { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 36%; }
.ivo-shot::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(23, 10, 34, 0) 35%, rgba(23, 10, 34, 0.72) 100%); }
.ivo-shot__cap { position: absolute; left: 0; bottom: 0; z-index: 1; max-width: 680px; padding: 44px; font-size: clamp(28px, 3.6vw, 52px); font-weight: 800; line-height: 1.02; letter-spacing: -0.04em; color: #fff; }
.ivo-g3 { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 20px; }
.ivo-hours { display: flex; flex-direction: column; justify-content: space-between; gap: 28px; min-height: 300px; padding: 36px 40px; border-radius: var(--ivo-r); background: #fff; box-shadow: inset 0 0 0 1.5px var(--ivo-line); }
.ivo-hours__top { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.ivo-hours__chip { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: rgba(110, 24, 160, 0.08); color: var(--ivo-violet); font-size: 14px; font-weight: 700; }
.ivo-hours__chip i { width: 8px; height: 8px; border-radius: 50%; background: var(--ivo-lime, #b8f23a); box-shadow: 0 0 0 3px rgba(184, 242, 58, 0.35); }
.ivo-hours__big { margin: 0; white-space: nowrap; font-size: clamp(34px, 3.8vw, 54px); font-weight: 800; letter-spacing: -0.035em; line-height: 1; color: var(--ivo-violet); }
.ivo-hours__t { margin-top: 0; }
.ivo-hours__dash { display: inline-block; margin: 0 0.16em; font-size: 0.62em; font-weight: 700; letter-spacing: 0; vertical-align: 0.14em; opacity: 0.6; }
.ivo-hours__t { margin-bottom: 6px; font-size: 20px; font-weight: 700; letter-spacing: -0.02em; }
.ivo-hours__s { font-size: 16px; line-height: 1.5; color: var(--ivo-soft); }
.ivo-col { display: flex; flex-direction: column; gap: 12px; }
.ivo-main .ivo-lk { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--ivo-line); color: var(--ivo-violet); font-size: 16px; font-weight: 700; transition: background 0.25s, color 0.25s; }
.ivo-main .ivo-lk:hover { background: var(--ivo-violet); color: #fff; }
.ivo-main .ivo-lk--big { flex: 1; padding: 28px 32px; border-radius: var(--ivo-r); font-size: 22px; letter-spacing: -0.02em; }

/* ---- Telefono e tablet ---- */
@media (max-width: 900px) {
	.ivo-sec { padding-top: 96px; }
	.ivo-sech { flex-direction: column; align-items: flex-start; gap: 20px; }
	.ivo-g2, .ivo-g3, .ivo-care__grid { grid-template-columns: 1fr; }
	.ivo-care { margin-top: 96px; }
	.ivo-care__grid { padding-top: 72px; padding-bottom: 72px; gap: 40px; }
	.ivo-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ivo-bcard--0, .ivo-bcard--3, .ivo-bcard--4, .ivo-bcard--5 { grid-column: span 2; grid-row: auto; }
	.ivo-hero { min-height: 720px; }
	.ivo-hero__dot { left: 62%; top: 30%; }
	.ivo-hero__in { padding-top: 96px; padding-bottom: 120px; }
	.ivo-offer { min-height: 0; padding: 32px; }
}
@media (max-width: 700px) {
	.ivo-care__stage { min-height: 0; }
	.ivo-care__photo { position: relative; left: 0; height: 320px; }
	.ivo-phone { position: relative; left: auto; bottom: auto; margin: -70px auto 0; }
}
@media (max-width: 560px) {
	.ivo-hero, .ivo-care { width: calc(100% - 28px); }
	.ivo-bento { grid-template-columns: 1fr; }
	.ivo-bcard--0, .ivo-bcard--3, .ivo-bcard--4, .ivo-bcard--5 { grid-column: auto; }
	.ivo-cover { flex-direction: column; align-items: stretch; padding: 10px; border-radius: 32px; }
	.ivo-main .ivo-cover__in { padding: 0 16px; }
	.ivo-main .ivo-cover__btn { width: 100%; }
	.ivo-shot { height: 360px; }
	.ivo-shot__cap, .ivo-hours { padding: 28px; }
}

/* ---- Chi preferisce meno movimento ---- */
@media (prefers-reduced-motion: reduce) {
	.js [data-reveal] .ivo-ln > span { transform: none; transition: none; }
	.js .ivo-g2[data-reveal] .ivo-bar i { transform: none; transition: none; }
	.js .ivo-care__stage .ivo-msg, .js .ivo-care__stage .ivo-typing { opacity: 1; transform: none; transition: none; }
	.ivo-ping { animation: none; opacity: 0.25; transform: scale(5); }
	.ivo-hero__art { transform: none !important; }
}
@media (min-width: 981px){ .ivo-offer--fwa .ivo-price__n { font-size: clamp(64px, 6.8vw, 100px); } }

/* ---- Compatibilità Astra (specificità alta, solo sulla home) ---- */
body.ivo-home #content, body.ivo-home #content > .ast-container, body.ivo-home #primary, body.ivo-home .site-content { display: block; width: 100%; max-width: none; margin: 0; padding: 0; float: none; }
body.ivo-home .ivo-main { display: block; flex: 1 1 100%; width: 100%; max-width: none; margin: 0; padding: 0; }
body.ivo-home .ivo-main h1, body.ivo-home .ivo-main h2, body.ivo-home .ivo-main h3, body.ivo-home .ivo-main h4 { color: inherit; font-family: inherit; }
body.ivo-home .ivo-main a { box-shadow: none; }

/* ---- Pulsante WhatsApp (verde) ---- */
.ivo-main .ivo-btn--wa { background: #25d366; color: #07210f; }
.ivo-main .ivo-btn--wa i { font-size: 22px; line-height: 1; }
.ivo-main .ivo-btn--wa:hover { color: #07210f; }

/* ---- Illustrazioni fotoniche nelle tile ---- */
.ivo-offer--fibra, .ivo-bcard--night, .ivo-bcard--magenta { --art-a: #71e01d; --art-b: #cc99cc; --art-n: #71e01d; }
.ivo-bcard--magenta { --art-b: #ffffff; }
.ivo-bcard--mist, .ivo-bcard--paper { --art-a: #a701e4; --art-b: #57007a; --art-n: #71e01d; }
.ivo-art { display: block; pointer-events: none; overflow: visible; }
.ivo-art .a-l { fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ivo-art .a-d { fill: none; stroke-width: 1.4; stroke-linecap: round; opacity: 0.4; }
.ivo-art .a-n { fill: var(--art-n); }
.ivo-art .a-p { fill: none; stroke: var(--art-n); stroke-width: 2.6; stroke-linecap: round; stroke-dasharray: 14 520; animation: ivo-flow 4s linear infinite; animation-delay: var(--dl, 0s); }
.ivo-art .a-w { fill: none; stroke-width: 1.7; stroke-linecap: round; opacity: 0.2; animation: ivo-wave 3.4s ease-in-out infinite; animation-delay: var(--dl, 0s); }
.ivo-art .a-bars path { fill: none; stroke-width: 3.4; stroke-linecap: round; transform-box: fill-box; transform-origin: center; animation: ivo-eq 1.8s ease-in-out infinite; animation-delay: calc(var(--i, 0) * -0.22s); }
.ivo-offer--fibra .ivo-art, .ivo-bcard--night .ivo-art, .ivo-bcard--magenta .ivo-art { filter: drop-shadow(0 0 5px rgba(113, 224, 29, 0.28)); }
@keyframes ivo-flow { from { stroke-dashoffset: 534; } to { stroke-dashoffset: 0; } }
@keyframes ivo-wave { 0%, 100% { opacity: 0.15; } 45% { opacity: 1; } }
@keyframes ivo-eq { 0%, 100% { transform: scaleY(0.4); } 50% { transform: scaleY(1); } }
@media (prefers-reduced-motion: reduce) { .ivo-art .a-p, .ivo-art .a-w, .ivo-art .a-bars path { animation: none; } .ivo-art .a-p { stroke-dasharray: none; opacity: 0; } .ivo-art .a-w { opacity: 0.7; } }

/* Fibra: l'illustrazione riempie lo spazio tra prezzo e velocità */
.ivo-offer--fibra .ivo-art--fibra { order: 2; width: 100%; height: auto; margin: auto 0; padding: 26px 0; }
.ivo-offer--fibra .ivo-offer__foot { order: 3; margin-top: 0; }

/* Imprese: illustrazione in alto a destra, testo in basso a sinistra */
.ivo-bcard { position: relative; overflow: hidden; min-height: 280px; }
.ivo-bcard > h3, .ivo-bcard > p { position: relative; z-index: 1; }
.ivo-bcard--0 { min-height: 580px; }
.ivo-bcard .ivo-art { position: absolute; z-index: 0; height: auto; }
.ivo-art--connessioni { top: 20px; right: 8px; width: min(84%, 470px); }
.ivo-art--sicurezza, .ivo-art--web { top: 24px; right: 24px; width: 96px; }
.ivo-art--wifi, .ivo-art--voip, .ivo-art--cloud { top: 22px; right: 30px; width: 250px; }
.ivo-bcard--3, .ivo-bcard--4, .ivo-bcard--5 { min-height: 300px; }
@media (max-width: 980px) {
	.ivo-offer--fibra .ivo-art--fibra { padding: 22px 0; }
	.ivo-bcard--0 { min-height: 460px; }
	.ivo-bcard--3, .ivo-bcard--4, .ivo-bcard--5 { min-height: 280px; }
}
@media (max-width: 640px) {
	.ivo-art--wifi, .ivo-art--voip, .ivo-art--cloud { width: 190px; right: 20px; }
	.ivo-art--connessioni { width: 86%; }
}

/* ---- Pagine interne: documenti e 404 ---- */
.ivo-hero--page { min-height: 0; }
.ivo-hero--page .ivo-hero__in { padding-top: 110px; padding-bottom: 100px; }
.ivo-display--page { font-size: clamp(52px, 8vw, 116px); }
.ivo-hero--page .ivo-lead--hero { max-width: 560px; margin-bottom: 0; }
.ivo-sec.ivo-docs { padding-top: 90px; }
.ivo-docgroup { margin-bottom: 56px; }
.ivo-docgroup__t { margin-bottom: 18px; font-size: clamp(24px, 2.6vw, 32px); font-weight: 800; letter-spacing: -0.035em; }
.ivo-doclist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.ivo-main .ivo-doc { display: flex; align-items: center; gap: 20px; padding: 22px 26px; border-radius: var(--ivo-r); background: #fff; box-shadow: inset 0 0 0 1.5px var(--ivo-line); color: var(--ivo-ink); transition: background 0.25s, color 0.25s, transform 0.25s; }
.ivo-main .ivo-doc:hover { background: var(--ivo-violet); color: #fff; transform: translateY(-2px); }
.ivo-doc__ico { flex: none; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--ivo-mist); color: var(--ivo-violet); transition: background 0.25s, color 0.25s; }
.ivo-doc:hover .ivo-doc__ico { background: rgba(255, 255, 255, 0.16); color: #fff; }
.ivo-doc__txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.ivo-doc__txt strong { font-size: 20px; font-weight: 800; letter-spacing: -0.025em; }
.ivo-doc__txt small { font-size: 14px; color: var(--ivo-soft); transition: color 0.25s; }
.ivo-doc:hover .ivo-doc__txt small { color: rgba(255, 255, 255, 0.78); }
.ivo-doc__go { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--ivo-lime); color: var(--ivo-night); }
.ivo-docs__empty { padding: 36px 40px; border-radius: var(--ivo-r); background: var(--ivo-mist); font-size: 19px; line-height: 1.5; color: var(--ivo-ink); }
.ivo-docs__content { margin-bottom: 56px; font-size: 17px; line-height: 1.65; max-width: 760px; }
.ivo-docs__content p { margin: 0 0 1em; }
.ivo-docs__help { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 36px 40px; border-radius: var(--ivo-r); background: var(--ivo-mist); }
.ivo-docs__help .ivo-docgroup__t { margin-bottom: 6px; }
.ivo-docs__help p { font-size: 17px; color: var(--ivo-soft); }

/* 404 */
.ivo-404chip { margin-bottom: 26px; }
.ivo-404act { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 40px; }
.ivo-hero--404 .ivo-hero__bg { --art-a: #71e01d; --art-b: #cc99cc; --art-n: #71e01d; }
.ivo-hero--404 .ivo-art--rotta { position: absolute; right: 2%; top: 56%; width: min(34%, 520px); height: auto; transform: translateY(-50%); filter: drop-shadow(0 0 6px rgba(113, 224, 29, 0.3)); }
.ivo-hero--404 .ivo-hero__in { padding-bottom: 130px; }

/* FWA: antenna al posto dell'elenco dei profili */
.ivo-offer--fwa { --art-a: #a701e4; --art-b: #57007a; --art-n: #71e01d; }
.ivo-offer--fwa .ivo-offer__lead { order: 1; }
.ivo-offer--fwa .ivo-art--antenna { order: 2; width: 100%; max-width: 380px; height: auto; margin: auto 0; padding: 26px 0; align-self: center; }
.ivo-offer--fwa .ivo-offer__foot { order: 3; margin-top: 0; padding-top: 0; }

@media (max-width: 980px) {
	.ivo-doclist { grid-template-columns: 1fr; }
	.ivo-hero--page .ivo-hero__in { padding-top: 84px; padding-bottom: 130px; }
	.ivo-display--page { font-size: clamp(38px, 10.2vw, 116px); }
	.ivo-hero--404 .ivo-hero__in { padding-bottom: 250px; }
	.ivo-hero--404 .ivo-art--rotta { right: 4%; top: auto; bottom: 36px; width: 84%; transform: none; }
	.ivo-docs__help { flex-direction: column; align-items: flex-start; }
}
.ivo-404chip { display: inline-block; }

/* Hero: azioni */
.ivo-hero__act { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }

/* ---- Pagina Fibra: piani e box "hai già la fibra" ---- */
.ivo-plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.ivo-plan { display: flex; flex-direction: column; gap: 26px; padding: 36px; border-radius: var(--ivo-r); background: #fff; box-shadow: inset 0 0 0 1.5px var(--ivo-line); color: var(--ivo-ink); }
.ivo-plan--night { background: var(--ivo-card); color: #fff; box-shadow: none; }
.ivo-plan--mist { background: var(--ivo-mist); box-shadow: none; }
.ivo-plan__top { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.ivo-plan__name { font-size: 30px; font-weight: 800; letter-spacing: -0.035em; line-height: 1.05; }
.ivo-plan--paper .ivo-chip { background: var(--ivo-mist); }
.ivo-price--plan { margin-top: 0; gap: 12px; flex-wrap: nowrap; align-items: flex-end; }
.ivo-price--plan .ivo-price__n { font-size: clamp(56px, 5.3vw, 76px); letter-spacing: -0.05em; }
.ivo-plan--paper .ivo-price__n, .ivo-plan--mist .ivo-price__n { color: var(--ivo-violet); }
.ivo-plan__speed { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ivo-plan__speed p { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; border-radius: 22px; background: rgba(87, 0, 122, 0.07); }
.ivo-plan--night .ivo-plan__speed p { background: rgba(255, 255, 255, 0.1); }
.ivo-plan--mist .ivo-plan__speed p { background: rgba(255, 255, 255, 0.7); }
.ivo-plan__speed strong { font-size: 32px; font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
.ivo-plan__speed span { font-size: 13.5px; line-height: 1.3; color: var(--ivo-soft); }
.ivo-plan--night .ivo-plan__speed span { color: rgba(255, 255, 255, 0.7); }
.ivo-plan__list { display: flex; flex-direction: column; gap: 12px; margin: 0; padding: 0; list-style: none; }
.ivo-plan__list li { display: flex; align-items: flex-start; gap: 10px; font-size: 15.5px; line-height: 1.4; }
.ivo-plan__list svg { flex: none; margin-top: 1px; color: var(--ivo-violet); }
.ivo-plan--night .ivo-plan__list svg { color: var(--ivo-lime); }
.ivo-plan > .ivo-btn { align-self: flex-start; margin-top: auto; }
.ivo-plans__note { max-width: 720px; margin-top: 28px; font-size: 14.5px; line-height: 1.55; color: var(--ivo-soft); }
.ivo-plans__note a { color: var(--ivo-violet); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.ivo-sec--end { padding-bottom: 28px; }
.ivo-already { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 48px; padding: 56px; border-radius: var(--ivo-r); overflow: hidden; color: #fff; background: radial-gradient(90% 80% at 95% 100%, rgba(167, 1, 228, 0.45) 0%, transparent 60%), var(--ivo-night); }
.ivo-already__copy { max-width: 560px; }
.ivo-already__copy .ivo-title { font-size: clamp(34px, 4.2vw, 56px); }
.ivo-already__copy .ivo-lead--dark { margin: 18px 0 0; max-width: 520px; }
.ivo-already__act { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; flex: none; }
.ivo-already__hours { font-size: 14.5px; color: rgba(255, 255, 255, 0.7); }
@media (max-width: 1080px) { .ivo-plans { grid-template-columns: 1fr; } .ivo-plan > .ivo-btn { margin-top: 6px; } }
@media (max-width: 900px) { .ivo-already { flex-direction: column; align-items: flex-start; padding: 36px 28px; gap: 28px; } }
@media (max-width: 560px) { .ivo-plan { padding: 28px 24px; } }
.ivo-plan__act { display: flex; align-items: center; gap: 10px; margin: 0; padding-top: 22px; border-top: 1.5px solid var(--ivo-line); font-size: 15px; }
.ivo-plan__actl { color: var(--ivo-soft); }
.ivo-plan__actv { font-size: 20px; font-weight: 800; letter-spacing: -0.03em; color: var(--ivo-violet); }
.ivo-plan--night .ivo-plan__act { border-top-color: rgba(255, 255, 255, 0.18); }
.ivo-plan--night .ivo-plan__actl { color: rgba(255, 255, 255, 0.72); }
.ivo-plan--night .ivo-plan__actv { color: var(--ivo-lime); }
.ivo-tipwrap { position: relative; display: inline-flex; }
.ivo-info { display: grid; place-items: center; width: 22px; height: 22px; padding: 0; border: 1.5px solid currentColor; border-radius: 50%; background: transparent; color: var(--ivo-violet); font: italic 700 13px/1 "Inter", serif; cursor: pointer; transition: background 0.2s, color 0.2s; }
.ivo-plan--night .ivo-info { color: #fff; }
.ivo-info:hover, .ivo-info:focus-visible, .ivo-info[aria-expanded="true"] { background: var(--ivo-violet); color: #fff; outline: none; }
.ivo-plan--night .ivo-info:hover, .ivo-plan--night .ivo-info:focus-visible, .ivo-plan--night .ivo-info[aria-expanded="true"] { background: #fff; color: var(--ivo-violet); }
.ivo-tip { position: absolute; z-index: 5; left: -8px; bottom: calc(100% + 12px); width: 300px; max-width: calc(100vw - 72px); padding: 16px 18px; border-radius: 18px; background: var(--ivo-night); color: #fff; font-size: 13.5px; line-height: 1.5; text-align: left; box-shadow: 0 20px 40px -16px rgba(23, 10, 34, 0.6); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity 0.2s, transform 0.2s, visibility 0s 0.2s; pointer-events: none; }
.ivo-plan--night .ivo-tip { background: #fff; color: var(--ivo-ink); }
.ivo-tip::after { content: ""; position: absolute; left: 14px; top: 100%; border: 7px solid transparent; border-top-color: var(--ivo-night); }
.ivo-plan--night .ivo-tip::after { border-top-color: #fff; }
.ivo-tipwrap:hover .ivo-tip, .ivo-info:focus-visible + .ivo-tip, .ivo-info[aria-expanded="true"] + .ivo-tip { opacity: 1; visibility: visible; transform: none; transition: opacity 0.2s, transform 0.2s; }
.ivo-plans--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 1080px) { .ivo-plans--two { grid-template-columns: 1fr; } }
/* ---- Pagina Wireless: come funziona ---- */
.ivo-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; }
.ivo-step { display: flex; flex-direction: column; gap: 14px; padding: 36px; border-radius: var(--ivo-r); background: #fff; box-shadow: inset 0 0 0 1.5px var(--ivo-line); }
.ivo-step__n { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--ivo-lime); color: var(--ivo-night); font-size: 20px; font-weight: 800; }
.ivo-step__t { font-size: 24px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; }
.ivo-step p { margin: 0; font-size: 16px; line-height: 1.55; color: var(--ivo-soft); }
@media (max-width: 900px) { .ivo-steps { grid-template-columns: 1fr; } .ivo-step { padding: 28px 24px; } }
.ivo-plan__act--fee { padding-top: 22px; }
.ivo-plan__act--fee + .ivo-plan__act { padding-top: 0; border-top: 0; margin-top: -14px; }
.ivo-plan__actn { font-size: 13.5px; color: var(--ivo-soft); }
.ivo-plan--night .ivo-plan__actn { color: rgba(255, 255, 255, 0.72); }

/* ---- Lavora con noi: profili ---- */
.ivo-roles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; }
.ivo-role { background: var(--ivo-mist); border-radius: var(--ivo-r); padding: 32px 30px 36px; }
.ivo-role__t { margin: 0 0 10px; font-size: 22px; line-height: 1.2; letter-spacing: -.01em; color: var(--ivo-night); }
.ivo-role p { margin: 0; color: var(--ivo-ink); opacity: .8; line-height: 1.55; }
@media (max-width: 900px) { .ivo-roles { grid-template-columns: 1fr; } .ivo-role { padding: 26px 24px 28px; } }
.ivo-main .ivo-btn--ghost { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.5); }
.ivo-main .ivo-btn--ghost:hover { background: rgba(255,255,255,.12); color: #fff; }
