/* ==========================================================================
   WebHub — Sviluppo app ("App Lab")
   Pagina autonoma: tema chiaro, GSAP + ScrollTrigger, Lenis, Swiper, Leaflet
   ========================================================================== */
.al {
    --bg: #f8fafc;
    --paper: #ffffff;
    --ink: #0f172a;
    --ink-2: #475569;
    --muted: #64748b;
    --line: #e2e8f0;
    --line-2: #f1f5f9;
    --o: #F79F34;
    --o2: #ea580c;
    --o-soft: #fff4e6;
    --v: #4f46e5;
    --v-soft: #eef0ff;
    --g: #16a34a;
    --r: 22px;
    --sh: 0 1px 2px rgba(15, 23, 42, .05), 0 12px 32px rgba(15, 23, 42, .07);
    --sh-lg: 0 2px 6px rgba(15, 23, 42, .06), 0 30px 70px rgba(15, 23, 42, .16);
    --f: 'Outfit', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --grad: linear-gradient(135deg, #F79F34 0%, #ea580c 100%);
}
.al * { box-sizing: border-box; }



.al img { max-width: 100%; display: block; }
.al a { color: inherit; text-decoration: none; }
.al button { font: inherit; }
.al b, .al strong { font-weight: 600; }
.al .wrap { width: min(1200px, 100% - 40px); margin-inline: auto; }
.al h1, .al h2, .al h3, .al h4 { margin: 0 0 .5em; line-height: 1.12; letter-spacing: -.02em; font-weight: 600; color: var(--ink); font-family: var(--f); }
.al .s { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.al .kick { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--o2); background: var(--o-soft); padding: 6px 14px; border-radius: 50px; }
.al .sec { padding: 130px 0; position: relative; }
.al .sec-head { max-width: 760px; margin-bottom: 60px; }
.al .sec-head h2 { font-size: clamp(34px, 4.6vw, 58px); margin-top: 18px; }
.al .sec-head p { font-size: 19px; color: var(--ink-2); margin: 0; }
.al .sec-head.center { margin-inline: auto; text-align: center; }
.al .btn { display: inline-flex; align-items: center; gap: 10px; padding: 16px 26px; border-radius: 99px; font-weight: 600; font-size: 16px; border: 0; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s; }
.al .btn:hover { transform: translateY(-2px); }
.al .btn-o { background: var(--grad); color: #fff; box-shadow: 0 10px 24px rgba(234, 88, 12, .28); }
.al .btn-o:hover { color: #fff; box-shadow: 0 14px 30px rgba(234, 88, 12, .36); }
.al .btn-l { background: var(--paper); color: var(--ink); border: 1px solid var(--line); }
.al .btn-l:hover { border-color: var(--o); color: var(--o2); }
.al .tag { display: inline-block; font-size: 12.5px; font-weight: 500; color: var(--ink-2); background: var(--paper); border: 1px solid var(--line); border-radius: 99px; padding: 4px 11px; }

/* ---------- Barra superiore e menu ---------- */




















/* ---------- Telefono ---------- */
.al .ph { position: relative; width: 280px; aspect-ratio: 9 / 19.2; border-radius: 46px; background: #fff; padding: 9px; border: 1px solid var(--line); box-shadow: var(--sh-lg); }
.al .ph::before { content: ''; position: absolute; top: 18px; left: 50%; width: 30%; height: 22px; transform: translateX(-50%); background: #0f172a; border-radius: 99px; z-index: 6; }
.al .ph-scr { position: relative; width: 100%; height: 100%; border-radius: 38px; overflow: hidden; background: #f3f4f6; isolation: isolate; }
.al .ph-scr > img { width: 100%; height: 100%; object-fit: cover; object-position: top; }

/* ---------- Hero ---------- */
.al .hero { padding: 70px 0 150px; position: relative; overflow: hidden; background: radial-gradient(900px 500px at 85% 0%, rgba(247, 159, 52, .16), transparent 60%), radial-gradient(700px 500px at 0% 100%, rgba(99, 102, 241, .07), transparent 60%), #fff; }
.al .hero::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(15, 23, 42, .07) 1px, transparent 1px); background-size: 26px 26px; mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%); pointer-events: none; }
.al .hero-txt { position: relative; z-index: 2; text-align: center; max-width: 980px; margin: 0 auto; }
/* Onde leggere animate sotto la hero */
.al .waves { position: absolute; left: 0; right: 0; bottom: 0; height: 48%; pointer-events: none; z-index: 0; overflow: hidden; }
.al .wv { position: absolute; left: 0; bottom: 0; width: 200%; height: 100%; }
.al .wv path { will-change: transform; }
.al .wv-1 { height: 78%; animation: wv 26s linear infinite; }
.al .wv-1 path { fill: rgba(247, 159, 52, .14); }
.al .wv-2 { height: 62%; animation: wv 34s linear infinite reverse; }
.al .wv-2 path { fill: rgba(99, 102, 241, .09); }
.al .wv-3 { height: 42%; animation: wv 20s linear infinite; }
.al .wv-3 path { fill: rgba(247, 159, 52, .16); }
.al .wv-l1, .al .wv-l2 { height: 96%; bottom: 60px; }
.al .wv-l1 { animation: wv 30s linear infinite; }
.al .wv-l2 { animation: wv 42s linear infinite reverse; }
.al .wv-l1 path, .al .wv-l2 path { fill: none; stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.al .wv-l1 path { stroke: rgba(234, 88, 12, .38); }
.al .wv-l2 path { stroke: rgba(99, 102, 241, .30); }
.al .waves::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 40px; background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #fff); }
@keyframes wv { to { transform: translateX(-50%); } }
.al .hero h1 { font-size: clamp(40px, 6.2vw, 80px); line-height: 1.06; letter-spacing: -.03em; margin: 22px 0 24px; }

.al .hero p.lead { font-size: clamp(17px, 1.6vw, 21px); color: var(--ink-2); max-width: 720px; margin: 0 auto 34px; }
.al .hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.al .hero-stores { display: flex; gap: 18px; justify-content: center; margin-top: 26px; color: var(--muted); font-size: 14px; font-weight: 500; flex-wrap: wrap; }
.al .hero-stores span { display: inline-flex; align-items: center; gap: 7px; }
.al .hero-stores i { font-size: 17px; color: var(--ink); }
.al .fan { position: relative; z-index: 2; height: 640px; margin-top: 60px; }
.al .fan .ph { position: absolute; left: 50%; top: 0; width: 270px; margin-left: -135px; will-change: transform; }
.al .fan .ph[data-i="0"] { transform: translate(-560px, 120px) rotate(-14deg); }
.al .fan .ph[data-i="1"] { transform: translate(-290px, 40px) rotate(-7deg); }
.al .fan .ph[data-i="2"] { transform: translate(0, 0); z-index: 3; }
.al .fan .ph[data-i="3"] { transform: translate(290px, 40px) rotate(7deg); }
.al .fan .ph[data-i="4"] { transform: translate(560px, 120px) rotate(14deg); }
.al .fan .ph[data-i="1"], .al .fan .ph[data-i="3"] { z-index: 2; }
.al .chip { position: absolute; z-index: 8; display: flex; align-items: center; gap: 10px; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 10px 14px; box-shadow: var(--sh); font-size: 13px; font-weight: 600; white-space: nowrap; }
.al .chip i { width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; font-size: 15px; }
.al .chip small { display: block; font-weight: 500; color: var(--muted); font-size: 11.5px; }
.al .chip.c1 { left: calc(50% - 470px); top: 40px; } .al .chip.c1 i { background: #dcfce7; color: var(--g); }
.al .chip.c2 { left: calc(50% + 160px); top: 330px; } .al .chip.c2 i { background: var(--o-soft); color: var(--o2); }
.al .chip.c3 { left: calc(50% - 330px); top: 470px; } .al .chip.c3 i { background: var(--v-soft); color: var(--v); }
.al .chip.c4 { left: calc(50% + 380px); top: 20px; } .al .chip.c4 i { background: #fef9c3; color: #a16207; }

/* ---------- Nastro ---------- */
.al .mq { border-block: 1px solid var(--line); background: var(--paper); overflow: hidden; padding: 22px 0; }
.al .mq-track { display: flex; gap: 48px; width: max-content; animation: mq 40s linear infinite; }
.al .mq-track span { font-size: 22px; font-weight: 500; letter-spacing: -.02em; color: var(--ink); display: inline-flex; align-items: center; gap: 48px; white-space: nowrap; }
.al .mq-track span::after { content: '✦'; color: var(--o); font-size: 16px; }
.al .mq-track span:nth-child(even) { color: var(--o2); }
@keyframes mq { to { transform: translateX(-50%); } }

/* ---------- Esploratore delle funzioni ---------- */
.al .xp { display: grid; grid-template-columns: 1fr 440px; gap: 70px; }
.al .xp-list { counter-reset: ch; }
.al .chap { min-height: 88vh; display: flex; flex-direction: column; justify-content: center; padding: 40px 0; opacity: .35; transition: opacity .5s; }
.al .chap.on { opacity: 1; }
.al .chap-n { font-size: 14px; font-weight: 600; letter-spacing: .14em; color: var(--o2); }
.al .chap h3 { font-size: clamp(30px, 3.4vw, 46px); margin: 8px 0 16px; }
.al .chap > p { font-size: 18.5px; color: var(--ink-2); max-width: 560px; margin: 0 0 22px; }
.al .chap ul { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 10px; max-width: 560px; }
.al .chap li { display: flex; gap: 12px; font-size: 16px; color: var(--ink-2); padding: 12px 16px; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; }
.al .chap li b { color: var(--ink); }
.al .chap li i { color: var(--o2); font-size: 18px; margin-top: 1px; }
.al .chap-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.al .chap-ph { display: none; }
.al .xp-stage { position: sticky; top: 110px; height: calc(100vh - 140px); min-height: 640px; display: flex; align-items: center; justify-content: center; }
.al .xp-stage .ph { width: 330px; }
.al .xp-stage .scr { position: absolute; inset: 0; opacity: 0; transform: scale(1.04); transition: opacity .6s, transform .8s cubic-bezier(.2, .8, .2, 1); }
.al .xp-stage .scr.on { opacity: 1; transform: none; }
.al .xp-stage .scr img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.al .xp-dots { position: absolute; right: -34px; top: 50%; transform: translateY(-50%); display: grid; gap: 10px; }
.al .xp-dots button { width: 10px; height: 10px; padding: 0; border-radius: 99px; border: 0; background: #cbd5e1; cursor: pointer; transition: height .3s, background .3s; }
.al .xp-dots button.on { height: 28px; background: var(--o); }
.al .map { width: 100%; height: 100%; position: relative; z-index: 0; }
.al .map .leaflet-control-attribution { font-size: 9px; }

/* sovrapposizioni animate sul telefono */
.al .ov { position: absolute; z-index: 5; pointer-events: none; opacity: 0; transition: opacity .4s; }
.al .on > .ov, .al .scr.on .ov { opacity: 1; }
.al .ov-card { left: 10px; right: 10px; background: rgba(255, 255, 255, .96); backdrop-filter: blur(10px); border: 1px solid rgba(15, 23, 42, .08); border-radius: 18px; padding: 12px 14px; box-shadow: 0 14px 30px rgba(15, 23, 42, .18); display: flex; gap: 11px; align-items: center; font-size: 12.5px; line-height: 1.35; }
.al .ov-card b { display: block; font-size: 13px; }
.al .ov-card .ic { width: 36px; height: 36px; flex: none; border-radius: 10px; display: grid; place-items: center; font-size: 17px; color: #fff; }
.al .ov-push { top: 46px; }
.al .scr.on .ov-push, .al .chap-ph .ov-push { animation: push 3.6s cubic-bezier(.2, .8, .2, 1) infinite; }
@keyframes push { 0% { transform: translateY(-140%); } 12%, 78% { transform: translateY(0); } 92%, 100% { transform: translateY(-140%); } }
.al .ov-sheet { left: 0; right: 0; bottom: 0; background: #fff; border-radius: 24px 24px 0 0; padding: 18px 18px 22px; box-shadow: 0 -12px 30px rgba(15, 23, 42, .16); font-size: 13px; }
.al .scr.on .ov-sheet, .al .chap-ph .ov-sheet { animation: sheet 4.2s cubic-bezier(.2, .8, .2, 1) infinite; }
@keyframes sheet { 0% { transform: translateY(105%); } 14%, 80% { transform: translateY(0); } 94%, 100% { transform: translateY(105%); } }
.al .ov-sheet .grab { width: 40px; height: 4px; background: #d1d5db; border-radius: 4px; margin: 0 auto 12px; }
.al .ov-sheet .row { display: flex; justify-content: space-between; padding: 6px 0; border-bottom: 1px solid #f1f1f1; }
.al .ov-sheet .pay { margin-top: 12px; background: #0f172a; color: #fff; border-radius: 12px; text-align: center; padding: 11px; font-weight: 600; position: relative; overflow: hidden; }
.al .ov-sheet .pay .ok { position: absolute; inset: 0; background: var(--g); display: grid; place-items: center; transform: translateY(100%); }
.al .scr.on .ov-sheet .pay .ok, .al .chap-ph .ov-sheet .pay .ok { animation: payok 4.2s infinite; }
@keyframes payok { 0%, 40% { transform: translateY(100%); } 48%, 100% { transform: translateY(0); } }
.al .ov-scan { inset: 0; }
.al .ov-scan::before { content: ''; position: absolute; left: 12%; right: 12%; top: 38%; height: 3px; background: linear-gradient(90deg, transparent, var(--o), transparent); box-shadow: 0 0 18px var(--o); animation: scan 2.2s ease-in-out infinite alternate; }
@keyframes scan { to { top: 68%; } }
.al .ov-badge { left: 50%; bottom: 26px; transform: translateX(-50%); background: var(--g); color: #fff; font-weight: 600; font-size: 13px; padding: 9px 16px; border-radius: 99px; box-shadow: 0 10px 24px rgba(22, 163, 74, .35); white-space: nowrap; }
.al .ov-face { inset: 0; display: grid; place-items: center; background: rgba(255, 255, 255, .55); backdrop-filter: blur(3px); }
.al .ov-face .fc { width: 110px; height: 110px; border-radius: 30px; background: #fff; display: grid; place-items: center; font-size: 52px; color: var(--v); box-shadow: var(--sh-lg); position: relative; }
.al .ov-face .fc::after { content: ''; position: absolute; inset: -10px; border-radius: 38px; border: 2px solid var(--v); animation: ring 1.8s ease-out infinite; }
@keyframes ring { from { opacity: 1; transform: scale(.9); } to { opacity: 0; transform: scale(1.25); } }
.al .ov-face small { position: absolute; bottom: 30%; font-weight: 600; font-size: 13px; color: var(--ink); }
.al .ov-sync { bottom: 30px; }
.al .ov-sync .ic { animation: spin 2.4s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.al .ov-chip { top: 54px; left: 12px; right: 12px; }

/* ---------- Architettura ---------- */
.al .arch-wrap { background: var(--paper); border: 1px solid var(--line); border-radius: 32px; padding: 40px; box-shadow: var(--sh); }
.al .arch-bar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 26px; }
.al .arch-bar b { margin-right: 6px; font-size: 15px; }
.al .arch-bar button { border: 1px solid var(--line); background: var(--bg); padding: 10px 16px; border-radius: 99px; font-weight: 600; font-size: 14.5px; cursor: pointer; transition: all .2s; }
.al .arch-bar button:hover { border-color: var(--o); }
.al .arch-bar button.on { background: var(--grad); color: #fff; border-color: transparent; }
.al .arch { position: relative; display: grid; grid-template-columns: 1fr 1.1fr 1fr; grid-template-rows: auto auto; gap: 56px 70px; padding: 10px; }
.al .arch svg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.al .arch svg path { fill: none; stroke: #cbd5e1; stroke-width: 1.6; stroke-dasharray: 5 7; animation: dash 1.4s linear infinite; }
.al .arch svg path.hot { stroke: var(--o); stroke-width: 2.4; }
@keyframes dash { to { stroke-dashoffset: -24; } }
.al .arch .col { display: grid; gap: 16px; align-content: center; position: relative; z-index: 2; }
.al .node { position: relative; background: var(--bg); border: 1px solid var(--line); border-radius: 18px; padding: 16px 18px; cursor: pointer; transition: border-color .25s, box-shadow .25s, transform .25s, background .25s; text-align: left; width: 100%; }
.al .node:hover { border-color: var(--o); }
.al .node.hot { border-color: var(--o); background: #fff; box-shadow: 0 0 0 5px rgba(249, 115, 22, .14); transform: translateY(-2px); }
.al .node .t { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15.5px; }
.al .node .t i { font-size: 19px; color: var(--o2); }
.al .node small { display: block; color: var(--muted); font-size: 13px; margin-top: 4px; line-height: 1.45; }
.al .node.core { background: var(--ink); border-color: var(--ink); color: #fff; padding: 26px 22px; text-align: center; }
.al .node.core .t { justify-content: center; font-size: 19px; }
.al .node.core .t i { color: var(--o); }
.al .node.core small { color: #cbd5e1; }
.al .node.core.hot { box-shadow: 0 0 0 6px rgba(249, 115, 22, .25); }
.al .arch .svc { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; position: relative; z-index: 2; }
.al .pkt { position: absolute; z-index: 4; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: var(--o); box-shadow: 0 0 0 6px rgba(249, 115, 22, .2), 0 0 20px var(--o); opacity: 0; pointer-events: none; }
.al .arch-cap { margin-top: 26px; display: flex; gap: 14px; align-items: flex-start; background: var(--bg); border: 1px solid var(--line); border-radius: 18px; padding: 18px 20px; min-height: 86px; }
.al .arch-cap .n { flex: none; width: 34px; height: 34px; border-radius: 10px; background: var(--o-soft); color: var(--o2); display: grid; place-items: center; font-weight: 600; }
.al .arch-cap p { margin: 0; color: var(--ink-2); font-size: 16px; }
.al .arch-cap b { color: var(--ink); }

/* ---------- Piattaforme (Swiper) ---------- */
.al .plat { overflow: hidden; }
.al .plat .swiper { padding: 30px 0 70px; overflow: visible; }
.al .plat .swiper-slide { width: 270px; }
.al .plat .swiper-slide .ph { width: 100%; box-shadow: var(--sh); }
.al .plat .swiper-slide .ph { transform: scale(.86) translateY(26px); opacity: .55; transition: transform .8s cubic-bezier(.2, .8, .2, 1), opacity .8s, box-shadow .8s; }
.al .plat .swiper-slide-active .ph { transform: none; opacity: 1; box-shadow: var(--sh-lg); }
.al .plat .swiper-slide-prev .ph, .al .plat .swiper-slide-next .ph { opacity: .85; transform: scale(.92) translateY(12px); }
.al .plat-cap { text-align: center; margin-top: 18px; opacity: .25; transition: opacity .4s; }
.al .swiper-slide-active .plat-cap { opacity: 1; }
.al .plat-cap b { display: block; font-size: 17px; }
.al .plat-cap a { font-size: 14px; color: var(--o2); font-weight: 600; }
.al .plat .swiper-pagination-bullet-active { background: var(--o); }
.al .plat-nav { display: flex; justify-content: center; gap: 12px; }
.al .plat-nav button { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line); background: var(--paper); font-size: 20px; cursor: pointer; transition: all .2s; }
.al .plat-nav button:hover { background: var(--grad); color: #fff; border-color: transparent; }

/* ---------- Componi la tua app ---------- */
.al .bld { display: grid; grid-template-columns: 1.15fr .85fr; gap: 60px; align-items: center; }
.al .bld-opts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.al .opt { position: relative; }
.al .opt input { position: absolute; opacity: 0; pointer-events: none; }
.al .opt label { display: flex; flex-direction: column; gap: 10px; height: 100%; padding: 16px; background: var(--paper); border: 1.5px solid var(--line); border-radius: 18px; cursor: pointer; transition: all .2s; font-weight: 600; font-size: 15px; user-select: none; }
.al .opt label i { font-size: 22px; color: var(--muted); transition: color .2s; }
.al .opt label small { font-weight: 500; color: var(--muted); font-size: 12.5px; line-height: 1.4; }
.al .opt label:hover { border-color: #cbd5e1; }
.al .opt input:checked + label { border-color: var(--o); box-shadow: 0 0 0 4px rgba(247, 159, 52, .16); }
.al .opt input:checked + label i { color: var(--o2); }
.al .opt input:focus-visible + label { outline: 3px solid var(--o); outline-offset: 2px; }
.al .bld-os { display: flex; gap: 8px; margin: 26px 0 0; flex-wrap: wrap; align-items: center; }
.al .bld-os b { font-size: 15px; margin-right: 6px; }
.al .bld-os label { padding: 9px 16px; border: 1.5px solid var(--line); border-radius: 99px; font-weight: 600; font-size: 14.5px; cursor: pointer; background: var(--paper); }
.al .bld-os input { position: absolute; opacity: 0; }
.al .bld-os input:checked + label { background: var(--grad); color: #fff; border-color: transparent; }
.al .bld-stage { display: flex; flex-direction: column; align-items: center; }
.al .bld-stage .ph { width: 300px; }
.al .home { position: absolute; inset: 0; background: linear-gradient(160deg, #fff7ed 0%, #eef0ff 100%); padding: 64px 20px 20px; display: flex; flex-direction: column; }
.al .home-h { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.al .home-h .lg { width: 38px; height: 38px; border-radius: 12px; background: var(--grad); display: grid; place-items: center; color: #fff; font-weight: 600; }
.al .home-h b { font-size: 15px; display: block; line-height: 1.2; }
.al .home-h small { font-size: 11.5px; color: var(--muted); }
.al .home-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px 10px; }
.al .app-ic { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 10.5px; font-weight: 600; text-align: center; color: var(--ink-2); }
.al .app-ic span { width: 56px; height: 56px; border-radius: 17px; display: grid; place-items: center; font-size: 24px; color: #fff; box-shadow: 0 6px 14px rgba(15, 23, 42, .15); }
.al .home-empty { margin: auto 0; text-align: center; color: var(--muted); font-size: 13px; }
.al .bld-sum { margin-top: 26px; text-align: center; }
.al .bld-sum p { margin: 0 0 14px; color: var(--ink-2); font-size: 15.5px; }
.al .bld-sum b { color: var(--ink); }

/* ---------- Metodo (scorrimento orizzontale) ---------- */
.al .hs { overflow: hidden; }
.al .hs-track { display: flex; gap: 24px; padding: 10px 0 10px max(20px, calc((100vw - 1200px) / 2)); width: max-content; }
.al .step { width: 400px; flex: none; background: var(--paper); border: 1px solid var(--line); border-radius: 28px; padding: 34px; display: flex; flex-direction: column; min-height: 420px; }
.al .step .no { font-size: 56px; font-weight: 600; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; letter-spacing: -.03em; }
.al .step h3 { font-size: 27px; margin: 18px 0 12px; }
.al .step p { color: var(--ink-2); margin: 0 0 20px; font-size: 16.5px; }
.al .step .get { margin-top: auto; padding-top: 18px; border-top: 1px dashed var(--line); font-size: 14.5px; color: var(--ink-2); }
.al .step .get b { display: block; color: var(--ink); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 4px; }
.al .step.end { background: var(--grad); color: #fff; border-color: transparent; justify-content: center; }
.al .step.end h3 { color: #fff; }
.al .step.end p { color: rgba(255, 255, 255, .9); }

/* ---------- Store e manutenzione ---------- */
.al .duo { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.al .panel { background: var(--paper); border: 1px solid var(--line); border-radius: 28px; padding: 38px; }
.al .panel h3 { font-size: 28px; margin: 14px 0 10px; }
.al .panel > p { color: var(--ink-2); margin: 0 0 20px; }
.al .panel ul { list-style: none; padding: 0; margin: 0; }
.al .panel li { display: flex; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line-2); font-size: 15.5px; color: var(--ink-2); }
.al .panel li i { color: var(--g); font-size: 17px; }
.al .panel .ico { display: flex; gap: 10px; font-size: 26px; }
.al .note { margin-top: 24px; background: var(--o-soft); border: 1px solid #fed7aa; border-radius: 18px; padding: 18px 22px; display: flex; gap: 12px; color: #7c2d12; font-size: 15px; }

/* ---------- OmniTool ---------- */
.al #omnitool, .al #componi, .al .hero { overflow: clip; }
.al .case { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.al .case-brand { display: flex; align-items: center; gap: 16px; margin: 22px 0; }
.al .case-brand img { width: 70px; height: 70px; border-radius: 18px; box-shadow: var(--sh); }
.al .case-brand b { font-size: 24px; display: block; }
.al .case-brand span { color: var(--muted); }
.al .nums { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; margin: 28px 0; }
.al .nums div { background: var(--paper); padding: 22px; }
.al .nums b { display: block; font-size: 40px; font-weight: 600; letter-spacing: -.04em; line-height: 1; }
.al .nums span { color: var(--muted); font-size: 14px; }
.al .case-sw { width: 300px; margin: 0 auto; }
.al .case-sw .swiper-slide { border-radius: 34px; overflow: hidden; border: 8px solid #fff; box-shadow: var(--sh-lg); aspect-ratio: 9 / 16.5; background: #fff; }
.al .case-sw .swiper-slide img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.al .case-hint { text-align: center; color: var(--muted); font-size: 13.5px; margin-top: 22px; }

/* ---------- FAQ ---------- */
.al .faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; }
.al .faq details { border-top: 1px solid var(--line); padding: 22px 0; }
.al .faq details:last-child { border-bottom: 1px solid var(--line); }
.al .faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 20px; font-weight: 600; font-size: 19px; letter-spacing: -.01em; }
.al .faq summary::-webkit-details-marker { display: none; }
.al .faq summary::after { content: '+'; font-size: 26px; line-height: 1; color: var(--o2); transition: transform .3s; }
.al .faq details[open] summary::after { transform: rotate(45deg); }
.al .faq details p { color: var(--ink-2); margin: 12px 0 0; font-size: 16.5px; }

/* ---------- Preventivo ---------- */
.al .form-wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; background: var(--paper); border: 1px solid var(--line); border-radius: 36px; padding: 56px; box-shadow: var(--sh); }
.al .form-wrap h2 { font-size: clamp(32px, 4vw, 50px); margin-top: 18px; }
.al .form-wrap .pts { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 14px; }
.al .form-wrap .pts li { display: flex; gap: 12px; color: var(--ink-2); }
.al .form-wrap .pts i { color: var(--o2); font-size: 19px; }
.al .fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.al .fgrid .full { grid-column: 1 / -1; }
.al .fgrid label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; color: var(--ink-2); }
.al .fgrid input, .al .fgrid select, .al .fgrid textarea { width: 100%; font: inherit; font-size: 15.5px; padding: 13px 15px; border: 1.5px solid var(--line); border-radius: 14px; background: var(--bg); color: var(--ink); transition: border-color .2s, background .2s; }
.al .fgrid input:focus, .al .fgrid select:focus, .al .fgrid textarea:focus { outline: none; border-color: var(--o); background: #fff; box-shadow: 0 0 0 4px rgba(247, 159, 52, .14); }
.al .fgrid textarea { resize: vertical; min-height: 110px; }
.al .form-wrap .btn-o { width: 100%; justify-content: center; margin-top: 18px; padding: 18px; }
.al .gdpr { font-size: 13px; color: var(--muted); text-align: center; margin: 12px 0 0; }
.al .form-feedback { margin-top: 14px; padding: 12px 16px; border-radius: 12px; font-size: 14.5px; }
.al .form-feedback.alert-success { background: #dcfce7; color: #166534; }
.al .form-feedback.alert-danger { background: #fee2e2; color: #991b1b; }

/* ---------- Footer chiaro ---------- */










/* ---------- Animazioni di comparsa (solo con JS attivo) ---------- */
.js .al [data-rv] { opacity: 0; transform: translateY(30px); }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
    
    .al .fan .ph[data-i="0"], .al .fan .ph[data-i="4"] { display: none; }
    .al .chip.c4 { display: none; }
    .al .chip.c1 { left: calc(50% - 400px); }
}
@media (max-width: 991px) {
    .al .sec { padding: 90px 0; }
    
    
    
    
    
    .al .xp { grid-template-columns: 1fr; }
    .al .xp-stage { display: none; }
    .al .chap { min-height: 0; opacity: 1; padding: 30px 0 50px; border-bottom: 1px solid var(--line); }
    .al .chap-ph { display: flex; justify-content: center; margin: 6px 0 26px; }
    .al .chap-ph .ph { width: 250px; }
    .al .chap-ph .ov { opacity: 1; }
    .al .arch { grid-template-columns: 1fr; gap: 26px; }
    .al .arch .svc { grid-template-columns: 1fr 1fr; }
    .al .arch-wrap { display: flex; flex-direction: column; }
    .al .arch-cap { order: 1; position: sticky; top: 84px; z-index: 6; margin: 0 0 22px; background: #fff; box-shadow: var(--sh); }
    .al .arch { order: 2; }
    .al .arch svg { display: none; }
    .al .bld, .al .case, .al .faq, .al .form-wrap, .al .duo { grid-template-columns: 1fr; }
    .al .bld-opts { grid-template-columns: repeat(2, 1fr); }
    .al .hs-track { flex-direction: column; width: auto; padding: 0 20px; }
    .al .step { width: auto; min-height: 0; }
    
    .al .fan { height: 560px; }
}
@media (max-width: 640px) {
    
    .al .waves { height: 45%; }
    .al .hero { padding-bottom: 110px; }
    
    
    
    .al .hero { padding-top: 40px; }
    .al .hero h1 { letter-spacing: -.04em; }
    .al .fan { height: 470px; margin-top: 40px; }
    .al .fan .ph { width: 220px; margin-left: -110px; }
    .al .fan .ph[data-i="1"] { transform: translate(-120px, 50px) rotate(-8deg); }
    .al .fan .ph[data-i="3"] { transform: translate(120px, 50px) rotate(8deg); }
    .al .chip { font-size: 12px; padding: 8px 11px; white-space: normal; max-width: 190px; }
    .al .chip.c1 { left: 4px; top: 10px; }
    .al .chip.c2 { left: auto; right: 4px; top: 300px; }
    .al .chip.c3 { left: 4px; top: 390px; }
    .al .mq-track span { font-size: 18px; }
    .al .arch-wrap, .al .panel { padding: 24px; border-radius: 24px; }
    .al .arch .svc { grid-template-columns: 1fr; }
    .al .bld-opts { grid-template-columns: 1fr 1fr; }
    .al .bld-stage .ph { width: 260px; }
    .al .form-wrap { padding: 28px 20px; border-radius: 26px; }
    .al .fgrid { grid-template-columns: 1fr; }
    
    .al .nums b { font-size: 32px; }
    .al .case-sw { width: 250px; }
    .al .plat .swiper-slide { width: 220px; }
}
@media (prefers-reduced-motion: reduce) {
    .al *, .al *::before, .al *::after { animation: none !important; transition: none !important; }
    .js .al [data-rv] { opacity: 1; transform: none; }
}

/* ==========================================================================
   Apertura: testo a sinistra, telefono che cambia a destra, sfondo animato
   ========================================================================== */
.al .hero { padding: 64px 0 100px; background: #fff; }
.al .hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.al .hero-grid .hero-txt { text-align: left; max-width: none; margin: 0; }
.al .hero-grid h1 { font-size: clamp(40px, 5.2vw, 72px); }
.al .hero-grid .lead { margin: 0 0 34px; max-width: 580px; }
.al .hero-grid .hero-cta, .al .hero-grid .hero-stores { justify-content: flex-start; }

/* macchie di colore sfumate */
.al .aurora { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.al .aurora span { position: absolute; border-radius: 50%; filter: blur(60px); animation: drift 18s ease-in-out infinite alternate; }
.al .aurora .b1 { width: 560px; height: 560px; left: -140px; top: -160px; background: radial-gradient(circle, rgba(247, 159, 52, .38), transparent 66%); }
.al .aurora .b2 { width: 640px; height: 640px; right: -120px; top: -40px; background: radial-gradient(circle, rgba(99, 102, 241, .22), transparent 66%); animation-duration: 24s; animation-delay: -6s; }
.al .aurora .b3 { width: 520px; height: 520px; left: 38%; top: 240px; background: radial-gradient(circle, rgba(251, 191, 36, .22), transparent 66%); animation-duration: 21s; animation-delay: -10s; }
@keyframes drift { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(50px, 30px) scale(1.1); } 100% { transform: translate(-30px, 50px) scale(.95); } }

/* anelli concentrici dietro al telefono */
.al .rings { position: absolute; z-index: 1; width: 1100px; height: 1100px; left: 72%; top: 44%; transform: translate(-50%, -50%); pointer-events: none; animation: spinr 90s linear infinite; }
.al .rings circle { fill: none; stroke: rgba(247, 159, 52, .22); stroke-width: 1.2; }
.al .rings circle:nth-child(2) { stroke-dasharray: 3 9; stroke: rgba(99, 102, 241, .22); }
.al .rings circle:nth-child(3) { stroke: rgba(247, 159, 52, .14); }
.al .rings circle:nth-child(4) { stroke-dasharray: 2 12; stroke: rgba(99, 102, 241, .14); }
@keyframes spinr { to { transform: translate(-50%, -50%) rotate(360deg); } }

/* icone delle funzioni che fluttuano */
.al .floaters { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.al .fl { position: absolute; width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; font-size: 22px; background: rgba(255, 255, 255, .85); backdrop-filter: blur(8px); border: 1px solid var(--line); box-shadow: 0 10px 26px rgba(15, 23, 42, .08); color: var(--o2); animation: bob 7s ease-in-out infinite; }
.al .fl:nth-child(even) { color: #6366f1; animation-duration: 8.5s; animation-delay: -2s; }
.al .fl1 { left: 2.5%; top: 16%; }
.al .fl2 { left: 5%; top: 62%; width: 44px; height: 44px; font-size: 19px; }
.al .fl3 { left: 53%; top: 7%; }
.al .fl4 { left: 51%; top: 74%; width: 44px; height: 44px; font-size: 19px; }
.al .fl5 { right: 4%; top: 13%; }
.al .fl6 { right: 2.5%; top: 52%; width: 44px; height: 44px; font-size: 19px; }
.al .fl7 { right: 22%; top: 3%; width: 40px; height: 40px; font-size: 17px; }
.al .fl8 { right: 12%; top: 80%; }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-14px) rotate(4deg); } }

/* telefono che cambia schermata */
.al .hero-dev { display: flex; flex-direction: column; align-items: center; position: relative; }
.al .hero-phone { position: relative; width: 320px; perspective: 1200px; }
.al .hero-phone .ph { width: 100%; transform: rotate(3deg); transform-style: preserve-3d; }
.al .hs-slide { position: absolute; inset: 0; opacity: 0; transform: scale(1.06); transition: opacity .7s ease, transform 1.1s cubic-bezier(.2, .8, .2, 1); }
.al .hs-slide.on { opacity: 1; transform: none; }
.al .hs-slide img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.al .hs-note { position: absolute; z-index: 7; display: flex; align-items: center; gap: 11px; min-width: 250px; background: rgba(255, 255, 255, .96); backdrop-filter: blur(10px); border: 1px solid var(--line); border-radius: 18px; padding: 12px 16px; box-shadow: 0 18px 40px rgba(15, 23, 42, .14); font-size: 13px; line-height: 1.35; opacity: 0; transform: translateY(16px) scale(.96); transition: opacity .5s ease, transform .6s cubic-bezier(.2, .8, .2, 1); pointer-events: none; }
.al .hs-note.on { opacity: 1; transform: none; }
.al .hs-note:nth-of-type(odd) { left: -120px; top: 24%; }
.al .hs-note:nth-of-type(even) { right: -110px; top: 62%; }
.al .hs-note .ic { width: 38px; height: 38px; flex: none; border-radius: 11px; display: grid; place-items: center; color: #fff; font-size: 18px; }
.al .hs-note b { display: block; font-size: 14px; color: var(--ink); }
.al .hs-note small { color: var(--muted); font-size: 12px; }
.al .hs-dots { display: flex; gap: 8px; margin-top: 30px; }
.al .hs-dots button { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 99px; background: #cbd5e1; cursor: pointer; transition: width .3s, background .3s; }
.al .hs-dots button.on { width: 26px; background: var(--grad); }

@media (max-width: 1180px) {
    .al .fl3, .al .fl4, .al .fl7 { display: none; }
    .al .hs-note:nth-of-type(odd) { left: -70px; }
    .al .hs-note:nth-of-type(even) { right: -60px; }
}
@media (max-width: 991px) {
    .al .hero { padding-bottom: 130px; }
    .al .hero-grid { grid-template-columns: 1fr; gap: 50px; }
    .al .hero-grid .hero-txt { text-align: center; }
    .al .hero-grid .lead { margin: 0 auto 34px; }
    .al .hero-grid .hero-cta, .al .hero-grid .hero-stores { justify-content: center; }
    .al .rings { left: 50%; top: 72%; width: 900px; height: 900px; }
    .al .fl1, .al .fl5 { display: none; }
}
@media (max-width: 640px) {
    .al .hero { padding-top: 36px; }
    .al .floaters { display: none; }
    .al .hero-phone { width: 250px; }
    .al .hs-note { min-width: 0; width: 220px; padding: 10px 12px; }
    .al .hs-note:nth-of-type(odd) { left: -34px; top: 18%; }
    .al .hs-note:nth-of-type(even) { right: -34px; top: 64%; }
    .al .aurora .b1 { width: 380px; height: 380px; }
    .al .aurora .b2 { width: 420px; height: 420px; }
}


/* Contenitore della pagina (dentro header e footer del sito) */
.al { font: 400 17px/1.6 var(--f); color: var(--ink); -webkit-font-smoothing: antialiased; }
:where(.al) p { font-size: inherit; line-height: inherit; color: inherit; }
.al .hero p.lead { font-weight: 400; }
.al .btn { line-height: 1.2; text-decoration: none; }
.al .fgrid input, .al .fgrid select { height: auto; line-height: 1.4; }
/* il tema mette overflow-x: hidden su html e body e blocca il telefono fisso */
html, body { overflow-x: clip !important; }

.al .btn { text-transform: none; letter-spacing: normal; }
