/* Home del nuovo sito */
.ap-home { color: var(--ap-testo); font-family: var(--ap-font); font-size: 16px; line-height: 1.6; }
.ap-home a { color: var(--ap-verde-scuro); font-weight: 500; }
.ap-home a:hover { color: #07524b; }
.ap-home a.ap-btn-arancio { color: var(--ap-testo); }
.ap-home a.ap-btn-bordo { color: #fff; }
.ap-home h3 { font-family: var(--ap-titoli); }

/* Eroe con sfondo in movimento: quando ci sarà il video, va al posto di .ap-sfondo-video */
.ap-eroe { position: relative; overflow: hidden; background: var(--ap-petrolio); color: #fff; }
.ap-sfondo-video { position: absolute; inset: -6%; background-position: center; background-size: cover; background-repeat: no-repeat; animation: ap-deriva 22s ease-in-out infinite alternate; }
.ap-sfondo-a { background-image: url(/foodtime/images/cassa2/situazione_tavoli.webp); }
.ap-sfondo-b { background-image: url(/foodtime/images/cassa2/cassa_veloce.webp); animation: ap-deriva 22s ease-in-out infinite alternate-reverse, ap-dissolvi 16s ease-in-out infinite; }
.ap-velo { position: absolute; inset: 0; background: rgba(9, 33, 36, .86); }

.ap-eroe-griglia {
    position: relative;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr));
    gap: 56px;
    align-items: center;
    max-width: 1240px;
    margin: 0 auto;
    padding: 88px 24px 148px;
}

.ap-occhiello { margin: 0 0 14px; color: #6fe0d2; font-weight: 600; }

.ap-eroe h1 {
    margin: 0 0 20px;
    color: #fff;
    font-family: var(--ap-display);
    font-size: clamp(32px, 4.4vw, 52px);
    font-weight: 700;
    line-height: 1.14;
}

.ap-eroe-testo { max-width: 560px; margin: 0 0 28px; color: #e4eeec; font-size: 18px; }
.ap-azioni { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 20px; }
.ap-nota { margin: 0; color: #c9d9d7; font-size: 14px; }
.ap-onda { position: absolute; right: 0; bottom: -3px; left: 0; display: block; width: 100%; height: 90px; }

/* Mazzo di carte con le applicazioni: la prima scivola via e arriva la successiva */
.ap-mazzo { position: relative; width: min(100% - 44px, 400px); aspect-ratio: 4 / 5; margin: 26px 34px 0 auto; }
.ap-carta { position: absolute; inset: 0; display: block; overflow: hidden; border-radius: 18px; box-shadow: 0 22px 50px rgba(0, 0, 0, .45); transform: translate(40px, -26px) rotate(8deg) scale(.92); opacity: 0; transition: transform .8s cubic-bezier(.2, .7, .2, 1), opacity .8s ease; }
.ap-carta img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ap-carta-testo { position: absolute; right: 0; bottom: 0; left: 0; display: flex; flex-direction: column; gap: 4px; padding: 80px 22px 20px; background: linear-gradient(180deg, rgba(9, 33, 36, 0), rgba(9, 33, 36, .92) 55%); color: #e4eeec; font-size: 15px; line-height: 1.45; }
.ap-carta-testo strong { color: #fff; font-family: var(--ap-titoli); font-size: 24px; line-height: 1.2; }
.ap-carta-testo em { margin-top: 6px; color: #6fe0d2; font-size: 14px; font-style: normal; font-weight: 600; }
.ap-carta:focus-visible { outline: 3px solid var(--ap-arancio); outline-offset: 4px; }
.ap-carta[data-pos="0"] { z-index: 3; transform: none; opacity: 1; }
.ap-carta[data-pos="1"] { z-index: 2; transform: translate(22px, -14px) rotate(4deg) scale(.96); opacity: 1; }
.ap-carta[data-pos="2"] { z-index: 1; transform: translate(40px, -26px) rotate(8deg) scale(.92); opacity: .8; }
.ap-carta[data-pos="via"] { z-index: 4; transform: translate(-120%, 30px) rotate(-12deg); opacity: 0; }
.ap-carta:not([data-pos="0"]) { pointer-events: none; }
@media (max-width: 767px) { .ap-mazzo { margin: 26px auto 0; } }
@media (prefers-reduced-motion: reduce) { .ap-carta { transition: none; } }

/* Fascia clienti */
.ap-clienti { overflow: hidden; padding: 24px 0 8px; }
.ap-clienti-titolo { max-width: 1240px; margin: 0 auto 16px; padding: 0 24px; font-family: var(--ap-titoli); font-size: 24px; font-weight: 700; text-align: center; }
.ap-clienti-link { margin: 14px 0 0; text-align: center; }
.ap-marquee { display: flex; gap: 56px; width: max-content; color: var(--ap-testo-2); white-space: nowrap; animation: ap-scorri 60s linear infinite; }
.ap-marquee:hover { animation-play-state: paused; }

/* Blocchi */
.ap-blocco { max-width: 1240px; margin: 0 auto; padding: 72px 24px; }
.ap-titolo { margin: 0 0 12px; color: inherit; font-family: var(--ap-titoli); font-size: clamp(30px, 3.2vw, 40px); font-weight: 700; line-height: 1.15; }
.ap-centro { text-align: center; }
.ap-sottotitolo { max-width: 640px; margin: 0 auto 28px; text-align: center; }
.ap-griglia-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 24px; margin-top: 28px; }
.ap-griglia-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 16px; margin-top: 28px; }

.ap-card {
    padding: 30px;
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--ap-ombra);
    transition: transform .25s ease, box-shadow .25s ease;
}

.ap-card:hover { transform: translateY(-6px); box-shadow: 0 18px 36px rgba(14, 42, 46, .14); }
.ap-card h3 { margin: 0 0 8px; font-size: 25px; font-weight: 700; color: var(--ap-testo); }
.ap-card p { margin: 0; }

.ap-icona {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    margin-bottom: 16px;
    border-radius: 50%;
    background: var(--ap-verde-chiaro);
    color: var(--ap-verde-scuro);
    font-size: 24px;
}

.ap-icona-arancio { background: #ffecd0; color: #8a5200; }

/* Prova come funziona */
.ap-scuro { background: var(--ap-petrolio); color: #fff; }
.ap-scuro .ap-sottotitolo { color: #d5e3e1; }
.ap-prova-griglia { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 32px; align-items: start; }
.ap-prova-guida { padding: 24px; border: 1px solid #355257; border-radius: 20px; background: rgba(255, 255, 255, .05); color: #e4eeec; }
.ap-prova-passo { margin: 0; color: #6fe0d2; font-size: 13px; font-weight: 600; }
.ap-prova-guida h3 { margin: 4px 0 8px; color: #fff; font-family: var(--ap-titoli); font-size: 26px; font-weight: 700; line-height: 1.15; }
.ap-prova-testo { margin: 0 0 18px; font-size: 15px; line-height: 1.55; }
@media (min-width: 1100px) { .ap-prova-testo { min-height: 9.3em; } }
.ap-prova-leg-t { margin: 0 0 8px; color: #fff; font-size: 13px; font-weight: 600; }
.ap-prova-legenda { display: flex; flex-direction: column; gap: 6px; margin: 0 0 20px; padding: 0; list-style: none; }
.ap-prova-legenda li { display: flex; align-items: center; gap: 10px; font-size: 13px; }
.ap-prova-legenda span { flex: none; width: 22px; height: 6px; border-radius: 3px; }
.ap-prova-legenda b { margin-left: auto; font-family: var(--ap-titoli); font-size: 16px; }
.ap-prova-bottoni { display: flex; flex-wrap: wrap; gap: 8px; }
.ap-prova-ricomincia { min-height: 44px; padding: 6px 16px; border: 1px solid #6c8a8a; border-radius: 30px; background: transparent; color: #fff; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.ap-prova-ricomincia:hover { border-color: #fff; }
.ap-prova-rete { display: inline-flex; flex: 1; align-items: center; justify-content: center; gap: 8px; min-height: 44px; }
.ap-prova-tablet { padding: 12px; border: 1px solid #3a5a60; border-radius: 24px; background: #071a1d; box-shadow: 0 34px 70px rgba(0, 0, 0, .55); }
.ap-prova-schermo { position: relative; overflow: hidden; border-radius: 10px; background: #f4f6f8; }
.ap-prova-schermo > img { display: block; width: 100%; height: auto; }
.ap-visualmente-nascosto { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* La cassa dimostrativa: disegnata a 844 x 484 e scalata alla larghezza disponibile */
.ap-pc { position: absolute; top: 0; left: 0; display: flex; width: 844px; height: 484px; overflow: hidden; background: #f4f6f8; color: #1f2733; font-family: var(--ap-titoli); line-height: 1.15; text-align: left; transform-origin: 0 0; }
.ap-pc button { margin: 0; font-family: inherit; line-height: 1.15; cursor: pointer; }
.ap-pc button:focus-visible { outline: 2px solid #15b4a3; outline-offset: 1px; }
.ap-pc i { line-height: 1; }
.ap-pc-menu { display: flex; flex: none; flex-direction: column; align-items: center; gap: 8px; width: 54px; padding-top: 6px; background: #2b3444; color: #9aa5b4; }
.ap-pc-menu img { border-radius: 7px; }
.ap-pc-menu span { display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 7.5px; font-weight: 600; }
.ap-pc-menu i { font-size: 14px; }
.ap-pc-menu .ap-pc-attivo { color: #fff; }
.ap-pc-destra { display: flex; flex: 1; flex-direction: column; min-width: 0; }
.ap-pc-barra { display: flex; flex: none; align-items: center; gap: 10px; height: 40px; padding: 0 10px; background: #fff; }
.ap-pc-titolo { flex: 1; overflow: hidden; font-size: 15px; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.ap-pc-ora { font-size: 11px; font-weight: 700; text-align: center; }
.ap-pc-ora small { display: block; font-size: 8px; font-weight: 500; }
.ap-pc-rete { display: flex; align-items: center; gap: 4px; padding: 5px 9px; border-radius: 6px; background: #e8f6ec; color: #2e7d32; font-size: 9px; font-weight: 700; white-space: nowrap; }
.ap-pc-rete-off { background: #fff1e0; color: #c25e00; }
.ap-pc-indietro { flex: none; width: 44px; height: 28px; border: 0; border-radius: 6px; background: #2b3444; color: #fff; }

.ap-pc-griglia { display: grid; flex: 1; grid-template-columns: repeat(6, minmax(0, 1fr)); grid-auto-rows: 128px; gap: 5px; align-content: start; padding: 6px; overflow: auto; }
.ap-pc-tav { position: relative; display: flex; flex-direction: column; overflow: hidden; padding: 6px 7px 8px; border: 0; border-radius: 7px; color: #1f2733; text-align: left; transition: transform .15s ease, box-shadow .2s ease; }
.ap-pc-tav::after { content: ""; position: absolute; right: 0; bottom: 0; left: 0; height: 4px; background: var(--barra); }
.ap-pc-tav:hover { box-shadow: 0 6px 14px rgba(20, 30, 40, .14); transform: translateY(-2px); }
.ap-pc-tav strong { font-size: 15px; font-weight: 800; line-height: 1; }
.ap-pc-pallini { display: flex; gap: 2px; height: 7px; margin-top: 3px; }
.ap-pc-pallini i { width: 6px; height: 6px; border-radius: 50%; }
.ap-pc-coperti { height: 11px; font-size: 9px; }
.ap-pc-centro { display: flex; flex: 1; flex-direction: column; align-items: center; justify-content: center; font-size: 48px; font-weight: 400; line-height: 1; }
.ap-pc-con-conto .ap-pc-centro { font-size: 30px; }
.ap-pc-lungo .ap-pc-centro { font-size: 24px; }
.ap-pc-centro small { margin-top: 2px; color: #6b7280; font-size: 8px; }
.ap-pc-totale { height: 14px; color: #e5484d; font-size: 11px; font-weight: 800; text-align: right; }
.ap-pc-con-conto .ap-pc-totale { border-top: 1px solid #eceff2; }
.ap-pc-nuovo { animation: ap-pc-nuovo 1.4s ease-out 3; }
.ap-pc-invito { animation: ap-pc-invito 1.8s ease-in-out infinite; }
.ap-pc-sale { display: flex; flex: none; align-items: center; gap: 4px; height: 38px; padding: 0 6px; background: #eceff2; }
.ap-pc-sale button, .ap-pc-fsale button, .ap-pc-schede button { height: 28px; padding: 0 12px; border: 0; border-radius: 6px; background: transparent; color: #4a5563; font-size: 12px; font-weight: 600; }
.ap-pc-sale .ap-pc-attivo, .ap-pc-fsale .ap-pc-attivo, .ap-pc-schede .ap-pc-attivo { background: #2b3444; color: #fff; }

.ap-pc-velo { position: absolute; top: 40px; right: 0; bottom: 0; left: 54px; padding: 0; border: 0; background: rgba(70, 76, 84, .45); }
.ap-pc button.ap-pc-velo { cursor: default; }
.ap-pc-pannello { position: absolute; top: 40px; right: 0; bottom: 0; display: flex; flex-direction: column; width: 236px; background: #fff; animation: ap-pc-entra .25s ease-out; }
.ap-pc-dettaglio { width: 250px; border-top: 3px solid #4caf50; }
.ap-pc-testa { display: flex; align-items: center; padding: 8px 10px; border-bottom: 1px solid #e5e8eb; }
.ap-pc-testa strong { flex: 1; font-size: 17px; font-weight: 800; }
.ap-pc-x { width: 28px; height: 28px; border: 0; border-radius: 6px; background: #eef1f4; color: #1f2733; }
.ap-pc-voce { padding: 8px 10px; border: 0; background: #fff; color: #1f2733; font-size: 13px; text-align: left; }
.ap-pc-voce.ap-pc-attivo { background: #eef1f4; }
.ap-pc-spazio { flex: 1; }
.ap-pc-ordina { height: 34px; margin: 0 10px 6px; border: 0; border-radius: 5px; background: #a5d6a7; color: #0d2b12; font-size: 14px; font-weight: 800; }
.ap-pc-ordina.ap-pc-pronto { background: #4caf50; animation: ap-pc-invito 1.6s ease-in-out infinite; }
.ap-pc-display { display: flex; flex: none; align-items: center; justify-content: flex-end; height: 38px; margin: 0 6px 4px; padding: 0 10px; border: 1px solid #d9dee3; border-radius: 6px; background: #e9eded; font-size: 24px; font-weight: 800; }
.ap-pc-tastiera { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; padding: 0 6px 8px; }
.ap-pc-tastiera button { height: 36px; border: 0; border-radius: 6px; background: #fff; color: #1f2733; font-size: 20px; font-weight: 800; }
.ap-pc-tastiera button:active { background: #e6eaee; }
.ap-pc-tastiera .ap-pc-canc { background: #2b3444; color: #fff; font-size: 13px; }
.ap-pc-azioni { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; padding: 6px 10px 0; }
.ap-pc-azioni button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; height: 36px; border: 1px solid #e3e7eb; border-radius: 6px; background: #f7f9fa; color: #1f2733; font-size: 8px; font-weight: 700; }
.ap-pc-azioni i { font-size: 12px; }
.ap-pc-info { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 6px 10px; }
.ap-pc-info span { padding: 3px 6px; background: #f4f6f8; color: #6b7280; font-size: 7px; }
.ap-pc-info b { display: block; color: #1f2733; font-size: 13px; }
.ap-pc-righe { flex: 1; overflow: auto; }
.ap-pc-uscita { display: flex; align-items: center; gap: 6px; padding: 7px 10px 3px; border-bottom: 1px solid #e5e8eb; color: #5b6475; font-size: 10px; font-weight: 700; }
.ap-pc-pallino { width: 6px; height: 6px; border-radius: 50%; }
.ap-pc-riga { display: flex; gap: 6px; width: 100%; padding: 4px 10px; border: 0; background: transparent; color: #1f2733; font-size: 10px; font-weight: 600; text-align: left; }
.ap-pc-riga b { flex: none; width: 12px; font-weight: 800; }
.ap-pc-riga span:nth-of-type(1) { flex: 1; }
.ap-pc-piede { display: flex; align-items: flex-end; gap: 6px; padding: 6px 10px; border-top: 1px solid #e5e8eb; }
.ap-pc-piede > span { flex: 1; font-size: 12px; font-weight: 800; }
.ap-pc-piede b { display: block; font-size: 16px; }
.ap-pc-scuro { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; width: 52px; height: 40px; border: 0; border-radius: 6px; background: #2b3444; color: #fff; font-size: 9px; font-weight: 800; }
.ap-pc-scuro i { font-size: 14px; }
.ap-pc-scuro.ap-pc-verde { color: #7ee08a; }

/* Comanda */
.ap-pc-pieno { position: absolute; inset: 0; display: flex; flex-direction: column; background: #f4f6f8; animation: ap-pc-entra .25s ease-out; }
.ap-pc-corpo { display: flex; flex: 1; min-height: 0; }
.ap-pc-categorie { flex: none; width: 116px; padding-top: 4px; background: #eef1f2; }
.ap-pc-categorie button { display: flex; width: 100%; padding: 10px 8px 10px 12px; border: 0; border-left: 3px solid transparent; background: transparent; color: #1f2733; font-size: 11px; font-weight: 700; text-align: left; }
.ap-pc-categorie span { flex: 1; }
.ap-pc-categorie small { color: #6b7280; font-size: 9px; }
.ap-pc-categorie .ap-pc-attivo { border-left-color: #15b4a3; background: #e1f3ee; color: #0a7d6c; }
.ap-pc-prodotti { display: flex; flex: 1; flex-direction: column; gap: 6px; min-width: 0; padding: 6px; }
.ap-pc-cerca { display: flex; flex: none; align-items: center; gap: 5px; height: 26px; padding: 0 8px; border: 1px solid #dde2e6; border-radius: 6px; background: #eef1f2; color: #8a939c; font-size: 10px; }
.ap-pc-piatti { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 96px; gap: 5px; overflow: auto; }
.ap-pc-piatto { display: flex; flex-direction: column; overflow: hidden; padding: 0; border: 0; border-radius: 4px; background: #fff; transition: transform .15s ease; }
.ap-pc-piatto:hover { transform: translateY(-2px); }
.ap-pc-piatto:active { transform: scale(.97); }
.ap-pc-foto { display: flex; flex: 1; align-items: flex-end; justify-content: center; width: 100%; padding: 0 4px 4px; background-color: #e9eded; background-position: center; background-size: cover; color: #fff; font-size: 10px; font-weight: 700; text-align: center; text-shadow: 0 1px 2px rgba(0, 0, 0, .6); }
.ap-pc-prezzo { width: 100%; height: 18px; padding: 0 6px; background: #2b3035; color: #fff; font-size: 11px; font-weight: 800; line-height: 18px; text-align: right; }
.ap-pc-carrello { display: flex; flex: none; flex-direction: column; width: 190px; background: #fff; }
.ap-pc-conta { padding: 5px 7px; border-bottom: 1px solid #1f2733; font-size: 17px; }
.ap-pc-conta b { font-weight: 800; }
.ap-pc-intest { padding: 2px 5px; background: #000; color: #fff; font-size: 9.5px; font-weight: 700; }
.ap-pc-carrello .ap-pc-riga { padding: 5px 7px; font-size: 9.5px; font-weight: 700; }
.ap-pc button.ap-pc-togli:hover { background: #fdecec; }
.ap-pc-tot { display: flex; justify-content: space-between; padding: 5px 7px; border-top: 1px solid #e5e8eb; font-size: 13px; font-weight: 800; }
.ap-pc-uscite { display: flex; flex: none; flex-direction: column; gap: 3px; width: 46px; padding: 3px; background: #2b3444; }
.ap-pc-uscite button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; height: 40px; border: 0; border-radius: 5px; background: transparent; color: #fff; line-height: 1; }
.ap-pc-uscite b { font-size: 15px; font-weight: 800; }
.ap-pc-uscite small { padding-bottom: 2px; border-bottom: 2px solid transparent; font-size: 6.5px; }
.ap-pc-uscite .ap-pc-attivo { background: #3d4a5e; }
.ap-pc-uscite .ap-pc-attivo small { border-bottom-color: #fff; }
.ap-pc-uscite .ap-pc-blu { background: #2f8cf0; font-size: 7px; }
.ap-pc-uscite i { font-size: 13px; }
.ap-pc .ap-pc-conferma { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; height: 52px; border: 0; border-radius: 5px; background: #2b3444; color: #7ee08a; font-size: 7.5px; font-weight: 800; }
.ap-pc .ap-pc-conferma i { font-size: 17px; }
.ap-pc .ap-pc-conferma.ap-pc-pronto { background: #1f6b3a; animation: ap-pc-invito 1.6s ease-in-out infinite; }

/* Pagamento */
.ap-pc-sinistra { display: flex; flex: 1; flex-direction: column; gap: 6px; min-width: 0; padding: 6px; }
.ap-pc-schede { display: flex; flex-wrap: wrap; gap: 4px; }
.ap-pc-schede button { height: 24px; padding: 0 10px; font-size: 11px; }
.ap-pc-lista { display: flex; flex: 1; flex-direction: column; gap: 4px; min-height: 0; overflow: auto; }
.ap-pc-lista .ap-pc-righe { flex: none; border-radius: 4px; background: #fff; }
.ap-pc-pag { display: flex; align-items: center; gap: 6px; padding: 7px 8px; border-radius: 4px; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .08); font-size: 11px; font-weight: 700; }
.ap-pc-pag span { flex: 1; }
.ap-pc-xpag { width: 18px; height: 18px; padding: 0; border: 0; border-radius: 3px; background: #2b3035; color: #ff5a5f; font-size: 11px; }
.ap-pc-totali { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 18px; padding: 8px 10px; border-radius: 5px; background: #fff; font-size: 10.5px; font-weight: 700; }
.ap-pc-totali span { display: flex; justify-content: space-between; }
.ap-pc-totali b { font-weight: 500; }
.ap-pc-totali .ap-pc-verde-t { color: #1e7a34; font-size: 13px; }
.ap-pc-totali .ap-pc-rosso-t { color: #d1431a; font-size: 13px; }
.ap-pc-verde-t b, .ap-pc-rosso-t b { font-weight: 800; }
.ap-pc-strumenti { display: flex; flex: none; flex-direction: column; align-items: center; gap: 2px; width: 48px; padding-top: 4px; background: #eceff2; }
.ap-pc-strumenti button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; width: 44px; height: 38px; border: 0; background: transparent; color: #2b3444; font-size: 6.5px; font-weight: 700; }
.ap-pc-strumenti i { font-size: 13px; }
.ap-pc-cassa { display: flex; flex: none; flex-direction: column; width: 236px; background: #fff; }
.ap-pc-metodi { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.ap-pc-metodi button { height: 44px; border: 0; border-bottom: 2px solid #22327a; background: #eef1f4; color: #1f2733; font-size: 10.5px; font-weight: 800; }
.ap-pc-metodi button:active { background: #dfe4e9; }
.ap-pc-stampa-t { margin: 2px 0; font-size: 7.5px; font-style: italic; font-weight: 700; text-align: center; }
.ap-pc-stampe { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; padding: 0 5px; }
.ap-pc-stampe button { height: 22px; border: 1px solid #cfd5db; border-radius: 3px; background: #fff; color: #1f2733; font-size: 9px; font-weight: 700; }
.ap-pc-stampe .ap-pc-attivo { border-color: #2e7d32; background: #2e7d32; color: #fff; }
.ap-pc-cassa .ap-pc-display { height: 30px; margin: 5px; font-size: 20px; }
.ap-pc-cassa .ap-pc-tastiera { padding: 0 5px 5px; }
.ap-pc-cassa .ap-pc-tastiera button { height: 31px; font-size: 18px; }
.ap-pc-chiudi { display: flex; flex: none; flex-direction: column; justify-content: flex-end; width: 46px; padding: 3px; background: #2b3444; }
.ap-pc-chiudi .ap-pc-conferma { height: 56px; font-size: 8px; line-height: 1.1; }

/* Finestre e avvisi */
.ap-pc-ombra { position: absolute; inset: 0; z-index: 5; display: flex; align-items: center; justify-content: center; background: rgba(40, 46, 54, .55); }
.ap-pc-finestra { width: 320px; max-width: 92%; overflow: hidden; border-radius: 8px; background: #fff; animation: ap-pc-sale .2s ease-out; }
.ap-pc-finestra p { margin: 0; padding: 22px 12px; font-size: 15px; text-align: center; }
.ap-pc-larga { width: 560px; }
.ap-pc-ftesta { display: flex; align-items: center; padding: 9px 12px; background: #2b3444; color: #fff; font-size: 12px; font-weight: 700; }
.ap-pc-ftesta span { flex: 1; }
.ap-pc-fx { border: 0; background: transparent; color: #fff; }
.ap-pc-scelte { display: grid; grid-template-columns: repeat(6, 1fr); gap: 5px; padding: 10px; }
.ap-pc-scelte button { position: relative; overflow: hidden; height: 46px; border: 0; border-radius: 6px; color: #1f2733; font-size: 18px; font-weight: 700; }
.ap-pc-scelte button::after { content: ""; position: absolute; right: 0; bottom: 0; left: 0; height: 3px; background: var(--barra); }
.ap-pc-scelte .ap-pc-spento { opacity: .35; cursor: not-allowed; }
.ap-pc-fsale { display: flex; gap: 4px; padding: 6px 10px; background: #eef1f2; }
.ap-pc-fsale button { height: 26px; font-size: 11px; }
.ap-pc-fbottoni { display: flex; justify-content: flex-end; gap: 6px; padding: 8px; background: #eef1f2; }
.ap-pc-fbottoni button { height: 30px; padding: 0 16px; border: 1px solid #dde2e6; border-radius: 4px; background: #fff; color: #6b7280; font-size: 11px; font-weight: 700; }
.ap-pc-fbottoni .ap-pc-fsi { padding: 0 22px; border-color: #1b9e85; background: #1b9e85; color: #fff; }
.ap-pc-avviso { position: absolute; top: 48px; left: 50%; z-index: 6; max-width: 90%; padding: 8px 14px; border-radius: 8px; background: #0e2a2e; box-shadow: 0 6px 18px rgba(0, 0, 0, .25); color: #fff; font-family: var(--ap-font); font-size: 12px; text-align: center; transform: translateX(-50%); pointer-events: none; animation: ap-pc-sale .25s ease-out; }

@keyframes ap-pc-nuovo { 0% { box-shadow: 0 0 0 0 rgba(229, 72, 77, .7); } 70% { box-shadow: 0 0 0 12px rgba(229, 72, 77, 0); } 100% { box-shadow: 0 0 0 0 rgba(229, 72, 77, 0); } }
@keyframes ap-pc-invito { 0%, 100% { box-shadow: 0 0 0 0 rgba(21, 180, 163, 0); } 50% { box-shadow: 0 0 0 4px rgba(21, 180, 163, .55); } }
@keyframes ap-pc-entra { from { opacity: 0; transform: translateX(30px); } to { opacity: 1; transform: none; } }
@keyframes ap-pc-sale { from { opacity: 0; translate: 0 10px; } to { opacity: 1; translate: 0 0; } }

/* Schermo stretto (telefono): niente scala, disposizione verticale */
.ap-pc-stretto .ap-pc { position: relative; width: 100%; height: 620px; }
.ap-pc-stretto .ap-pc-menu, .ap-pc-stretto .ap-pc-ora, .ap-pc-stretto .ap-pc-strumenti { display: none; }
.ap-pc-stretto .ap-pc-barra { gap: 6px; padding: 0 6px; }
.ap-pc-stretto .ap-pc-titolo { font-size: 12px; }
.ap-pc-stretto .ap-pc-griglia { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 104px; }
.ap-pc-stretto .ap-pc-velo { left: 0; }
.ap-pc-stretto .ap-pc-pannello { left: 0; width: auto; }
.ap-pc-stretto .ap-pc-tastiera button { height: 42px; }
.ap-pc-stretto .ap-pc-voce { padding: 12px 10px; }
.ap-pc-stretto .ap-pc-ordina { height: 42px; }
.ap-pc-stretto .ap-pc-azioni button { height: 44px; font-size: 9px; }
.ap-pc-stretto .ap-pc-riga { font-size: 12px; }
.ap-pc-stretto .ap-pc-scuro { width: 64px; height: 46px; }
.ap-pc-stretto .ap-pc-comanda .ap-pc-corpo { flex-direction: column; }
.ap-pc-stretto .ap-pc-categorie { display: flex; gap: 4px; width: auto; padding: 4px; overflow-x: auto; }
.ap-pc-stretto .ap-pc-categorie button { flex: none; gap: 6px; width: auto; padding: 9px 10px; border-bottom: 3px solid transparent; border-left: 0; white-space: nowrap; }
.ap-pc-stretto .ap-pc-categorie .ap-pc-attivo { border-bottom-color: #15b4a3; }
.ap-pc-stretto .ap-pc-prodotti { min-height: 0; }
.ap-pc-stretto .ap-pc-piatti { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 92px; }
.ap-pc-stretto .ap-pc-foto { font-size: 12px; }
.ap-pc-stretto .ap-pc-carrello { width: auto; max-height: 150px; }
.ap-pc-stretto .ap-pc-carrello .ap-pc-riga { padding: 6px 8px; font-size: 12px; }
.ap-pc-stretto .ap-pc-uscite { flex-direction: row; width: auto; }
.ap-pc-stretto .ap-pc-uscite button { flex: 1; height: 44px; }
.ap-pc-stretto .ap-pc-uscite .ap-pc-spazio { display: none; }
.ap-pc-stretto .ap-pc-uscite .ap-pc-conferma { flex: 2; height: 44px; font-size: 10px; }
.ap-pc-stretto .ap-pc-pagamento .ap-pc-corpo { flex-direction: column; overflow-y: auto; }
.ap-pc-stretto .ap-pc-sinistra { flex: none; }
.ap-pc-stretto .ap-pc-lista { min-height: 34px; max-height: 120px; }
.ap-pc-stretto .ap-pc-cassa { width: auto; }
.ap-pc-stretto .ap-pc-metodi button { height: 42px; font-size: 12px; }
.ap-pc-stretto .ap-pc-stampe button { height: 30px; font-size: 11px; }
.ap-pc-stretto .ap-pc-cassa .ap-pc-tastiera button { height: 40px; }
.ap-pc-stretto .ap-pc-chiudi { position: sticky; bottom: 0; width: auto; padding: 4px; }
.ap-pc-stretto .ap-pc-chiudi .ap-pc-conferma { flex-direction: row; gap: 8px; height: 46px; font-size: 13px; }
.ap-pc-stretto .ap-pc-larga { width: 92%; }
.ap-pc-stretto .ap-pc-scelte { grid-template-columns: repeat(4, 1fr); }
.ap-pc-stretto .ap-pc-avviso { font-size: 13px; }

@media (max-width: 1099px) {
    .ap-prova-griglia { grid-template-columns: minmax(0, 1fr); gap: 24px; }
    .ap-prova-guida { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 0 28px; }
    .ap-prova-guida > :not(.ap-prova-leg-t):not(.ap-prova-legenda) { grid-column: 1; }
    .ap-prova-leg-t { grid-column: 2; grid-row: 1; }
    .ap-prova-legenda { grid-column: 2; grid-row: 2 / span 3; }
    .ap-prova-tablet { width: 100%; max-width: 920px; margin: 0 auto; }
}

@media (max-width: 767px) {
    .ap-prova-guida { display: block; padding: 18px; }
    .ap-prova-legenda { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 14px; }
    .ap-prova-tablet { padding: 6px; border-radius: 16px; }
    .ap-prova-schermo { border-radius: 8px; }
}

/* Tipi di locale */
.ap-home a.ap-tipo {
    display: block;
    padding: 24px 22px;
    border-radius: 16px;
    background: #f1f3f3;
    color: var(--ap-testo);
    font-family: var(--ap-titoli);
    font-size: 22px;
    font-weight: 700;
    text-decoration: none;
    transition: transform .25s ease, box-shadow .25s ease;
}

.ap-home a.ap-tipo:hover { transform: translateY(-6px); box-shadow: 0 18px 36px rgba(14, 42, 46, .14); }
.ap-home a.ap-tipo-verde { background: var(--ap-verde); color: var(--ap-petrolio); }
.ap-home a.ap-tipo-arancio { background: var(--ap-arancio); color: var(--ap-testo); }

/* Sistema */
.ap-chiaro { background: var(--ap-sfondo); }
.ap-griglia-3.ap-sistema { grid-template-columns: repeat(3, minmax(0, 1fr)); }

@media (max-width: 991px) {
    .ap-griglia-3.ap-sistema { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 575px) {
    .ap-griglia-3.ap-sistema { grid-template-columns: minmax(0, 1fr); }
}
.ap-home a.ap-voce { display: block; padding: 18px 0; border-top: 2px solid var(--ap-testo); color: var(--ap-testo); text-decoration: none; }
.ap-home a.ap-voce:hover h3 { color: var(--ap-verde-scuro); }
.ap-voce h3 { margin: 0 0 4px; font-size: 22px; font-weight: 700; }
.ap-voce p { margin: 0; color: var(--ap-testo-2); font-weight: 400; }

/* Caso cliente e assistenza */
.ap-due { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); gap: 44px; align-items: center; }
.ap-etichetta { margin: 0 0 8px; color: var(--ap-verde-scuro); font-weight: 600; }
.ap-assistenza h2 { margin: 0 0 8px; color: var(--ap-testo); font-family: var(--ap-titoli); font-size: 28px; font-weight: 700; }
.ap-assistenza p + p { margin-top: 12px; }

/* Quattro card in due righe, con la fascia dell'assistenza sotto */
.ap-griglia-3.ap-quattro { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ap-assistenza-fascia { display: flex; flex-wrap: wrap; gap: 16px 40px; justify-content: space-between; align-items: center; margin-top: 24px; background: var(--ap-petrolio); color: #e4eeec; }
.ap-assistenza-fascia > div { flex: 1 1 420px; min-width: 0; }
.ap-assistenza-fascia h3 { margin: 0 0 6px; color: #fff; font-size: 26px; }
.ap-assistenza-fascia p { margin: 0; }
.ap-home .ap-assistenza-fascia .ap-assistenza-contatti { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; }
.ap-home .ap-assistenza-contatti a { padding: 10px 20px; border: 1px solid rgba(255, 255, 255, .5); border-radius: 30px; color: #fff; font-weight: 600; white-space: nowrap; }
.ap-home .ap-assistenza-contatti a:hover { background: rgba(255, 255, 255, .12); color: #fff; }
@media (max-width: 767px) { .ap-griglia-3.ap-quattro { grid-template-columns: minmax(0, 1fr); } }

/* Domande frequenti */
.ap-home .section-head .title { color: var(--ap-testo); font-family: var(--ap-titoli); font-size: clamp(30px, 3.2vw, 40px); font-weight: 700; }
.ap-home .accordion { --bs-accordion-active-bg: var(--ap-verde-chiaro); --bs-accordion-active-color: var(--ap-testo); --bs-accordion-btn-focus-box-shadow: 0 0 0 3px rgba(21, 180, 163, .35); --bs-accordion-border-color: var(--ap-bordo); }
.ap-home .accordion-button { min-height: 52px; color: var(--ap-testo); font-family: var(--ap-font); font-size: 16px; font-weight: 600; }
.ap-home .accordion-button:not(.collapsed) { background: var(--ap-verde-chiaro); color: var(--ap-testo); box-shadow: none; }
.ap-home .accordion-body { color: var(--ap-testo-2); font-family: var(--ap-font); font-size: 16px; }

/* Eva a tutta larghezza */
.ap-eva-sala {
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    min-height: min(48vw, 800px);
    background: var(--ap-petrolio) url(/foodtime/images/eva/eva-sala.jpg) center right / cover no-repeat;
    color: #fff;
}

.ap-eva-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center right; opacity: 0; transition: opacity 1s ease; }
.ap-eva-video.ap-pronto { opacity: 1; }
.ap-eva-velo { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(9, 33, 36, .94) 0%, rgba(9, 33, 36, .82) 32%, rgba(9, 33, 36, .12) 58%, rgba(9, 33, 36, 0) 100%); }
.ap-eva-sala-griglia { position: relative; width: 100%; max-width: 1240px; margin: 0 auto; padding: 72px 24px; }
.ap-eva-sala-testo { max-width: 470px; }

.ap-eva-sala h2 {
    margin: 0 0 16px;
    color: #fff;
    font-family: var(--ap-display);
    font-size: clamp(28px, 3.2vw, 42px);
    font-weight: 700;
    line-height: 1.16;
}

.ap-eva-sala-testo > p { color: #e4eeec; }
.ap-eva-sala .ap-occhiello { color: #6fe0d2; }
.ap-domande { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 12px; }

.ap-domande button {
    min-height: 44px;
    padding: 8px 16px;
    border: 1px solid rgba(255, 255, 255, .35);
    border-radius: 30px;
    background: rgba(255, 255, 255, .08);
    color: #fff;
    font: inherit;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color .2s ease;
}

.ap-domande button:hover { background: rgba(255, 255, 255, .18); }
.ap-domande button[aria-selected="true"] { border-color: var(--ap-verde); background: var(--ap-verde); color: var(--ap-petrolio); font-weight: 600; }

.ap-risposta {
    margin-bottom: 20px;
    padding: 16px 18px;
    border: 1px solid rgba(111, 224, 210, .4);
    border-radius: 14px;
    background: rgba(9, 33, 36, .72);
    animation: ap-comparsa .35s ease both;
}

.ap-risposta[hidden] { display: none; }
.ap-risposta strong { display: block; color: #6fe0d2; font-family: var(--ap-titoli); font-size: 26px; font-weight: 700; line-height: 1.2; }
.ap-risposta p { margin: 4px 0 0; color: #e4eeec; }

@media (max-width: 991px) {
    .ap-eva-sala { display: block; min-height: 0; background: var(--ap-petrolio); }
    .ap-eva-sala::before { content: ""; display: block; aspect-ratio: 9 / 10; background: url(/foodtime/images/eva/eva-sala-telefono.jpg) center top / cover no-repeat; }
    .ap-eva-video, .ap-eva-velo { display: none; }
    .ap-eva-sala-griglia { padding: 28px 16px 44px; }
    .ap-eva-sala-testo { max-width: none; }
}

@media (prefers-reduced-motion: reduce) {
    .ap-eva-video { display: none; }
    .ap-risposta { animation: none; }
}

/* Ecosistema */
.ap-eco { background: radial-gradient(circle at 50% 40%, #153a3e, var(--ap-petrolio) 62%); color: #fff; }
.ap-eco .ap-occhiello { color: #6fe0d2; }
.ap-eco .ap-sottotitolo { color: #d5e3e1; }
.ap-eco-scena { display: grid; grid-template-columns: minmax(0, 1fr) 88px minmax(0, 2.25fr) 88px minmax(0, 1fr); align-items: stretch; margin-top: 8px; }
.ap-eco-pannello { box-sizing: border-box; padding: 20px; border-radius: 24px; opacity: 0; transform: translateY(26px) scale(.97); transition: opacity .6s ease, transform .7s cubic-bezier(.2, .8, .2, 1), box-shadow .6s ease; transition-delay: var(--d); }
.ap-eco-pannello h3 { margin: 0 0 14px; color: inherit; font-size: 27px; font-weight: 700; }
.ap-eco-sopra { margin: 0; font-size: 13px; font-weight: 600; opacity: .9; }
.ap-eco-clienti { background: linear-gradient(160deg, #FE9F10, #F46A3D); color: #1c1206; }
.ap-eco-cloud { padding: 18px 16px; border: 1px solid #2f6b6c; background: radial-gradient(circle at 50% 0%, rgba(21, 180, 163, .36), rgba(21, 180, 163, .04) 58%), #122f33; }
.ap-eco-locale { background: linear-gradient(200deg, #4F8DFF, #6C5CE7); color: #fff; }
.ap-eco-mod { opacity: 0; transform: translateY(18px) scale(.86); transition: opacity .45s ease, transform .55s cubic-bezier(.2, .9, .25, 1.25), box-shadow .3s ease; transition-delay: var(--d); }
.ap-eco-go .ap-eco-pannello, .ap-eco-go .ap-eco-mod { opacity: 1; transform: none; }
.ap-home a.ap-eco-mod { text-decoration: none; }
.ap-home a.ap-eco-mod:hover { box-shadow: 0 0 0 3px rgba(255, 255, 255, .55); }

.ap-home .ap-eco-carta { display: flex; gap: 12px; align-items: center; margin-bottom: 10px; padding: 14px; border-radius: 16px; background: rgba(255, 255, 255, .9); color: #1c1206; }
.ap-eco-carta i { width: 26px; font-size: 22px; text-align: center; }
.ap-eco-carta strong, .ap-eco-cassa strong, .ap-eco-eva strong { display: block; font-size: 15px; line-height: 1.25; }
.ap-eco-carta small, .ap-eco-cassa small, .ap-eco-eva small { font-size: 13px; }
.ap-eco-ordini { transition: opacity .5s ease; }

.ap-home .ap-eco-testa { display: flex; flex-direction: column; align-items: center; margin-bottom: 14px; color: #fff; text-align: center; }
.ap-eco-nuvola { display: flex; align-items: center; justify-content: center; width: 92px; height: 92px; border-radius: 50%; background: #15b4a3; color: #0e2a2e; font-size: 42px; animation: ap-respiro 4s ease-in-out infinite; }
.ap-eco-testa strong { margin-top: 8px; font-family: var(--ap-titoli); font-size: 27px; }
.ap-eco-testa small { color: #bfeee7; }
.ap-eco-tessere { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.ap-home a.ap-eco-tessera { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 6px; border-radius: 15px; background: var(--colore); color: #0e2a2e; font-size: 13px; font-weight: 600; line-height: 1.2; text-align: center; }
.ap-eco-tessera i { font-size: 22px; }
.ap-home a.ap-eco-eva { display: flex; gap: 14px; align-items: center; margin-top: 12px; padding: 16px 18px; border-radius: 18px; background: linear-gradient(90deg, rgba(255, 255, 255, .95), rgba(207, 247, 241, .95)); color: #0e2a2e; }
.ap-eco-eva i { font-size: 30px; }
.ap-eco-eva strong { font-family: var(--ap-titoli); font-size: 21px; }

.ap-home a.ap-eco-cassa { position: relative; display: flex; gap: 12px; align-items: center; margin-bottom: 10px; padding: 14px; border-radius: 16px; background: #fff; color: #18214a; }
.ap-eco-cassa i { font-size: 26px; }
.ap-eco-dispositivi { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.ap-eco-disp, .ap-home a.ap-eco-disp { display: flex; flex-direction: column; gap: 6px; padding: 14px 10px; border-radius: 15px; background: rgba(255, 255, 255, .2); color: #fff; font-size: 14px; font-weight: 600; }
.ap-eco-disp i { font-size: 20px; }
.ap-eco-largo { flex-direction: row; grid-column: 1 / -1; align-items: center; }
.ap-eco-onda { position: absolute; inset: 0; border: 3px solid #FE9F10; border-radius: 16px; opacity: 0; pointer-events: none; }
.ap-eco-rete { position: relative; overflow: hidden; height: 26px; margin: 14px 0 0; border-radius: 13px; background: rgba(254, 159, 16, .25); color: #fff; font-size: 12px; font-weight: 600; line-height: 26px; text-align: center; opacity: 0; transition: opacity .5s ease; }
.ap-eco-rete span { position: absolute; top: 9px; left: 0; width: 8px; height: 8px; border-radius: 50%; background: #FE9F10; box-shadow: 0 0 8px #FE9F10; animation: ap-giro-locale 2.4s linear infinite; }

/* Fili */
.ap-eco-filo-cella { display: flex; align-items: center; }
.ap-eco-filo { position: relative; width: 100%; height: 8px; }
.ap-eco-traccia, .ap-eco-luce { position: absolute; inset: 0; border-radius: 6px; }
.ap-eco-traccia { background: rgba(255, 255, 255, .12); }
.ap-eco-luce { background: linear-gradient(90deg, var(--da), var(--a)); box-shadow: 0 0 14px rgba(21, 180, 163, .6); transform: scaleX(0); transform-origin: 0 50%; transition: transform .8s cubic-bezier(.65, 0, .3, 1), opacity .4s ease; transition-delay: var(--d); }
.ap-eco-go .ap-eco-luce { transform: scaleX(1); }
.ap-eco-attacco { position: absolute; top: -6px; width: 20px; height: 20px; box-sizing: border-box; border: 3px solid #fff; border-radius: 50%; background: var(--ap-petrolio); opacity: 0; transform: scale(0); transition: opacity .3s ease, transform .4s cubic-bezier(.2, .9, .25, 1.4), background-color .3s ease, border-color .3s ease; transition-delay: calc(var(--d) + .7s); }
.ap-eco-sx { left: -10px; }
.ap-eco-dx { right: -10px; }
.ap-eco-go .ap-eco-attacco { opacity: 1; transform: scale(1); }
.ap-eco-attacco::before, .ap-eco-attacco::after { content: ""; position: absolute; top: 50%; left: 50%; width: 12px; height: 3px; margin: -1.5px 0 0 -6px; border-radius: 2px; background: #1c1206; opacity: 0; transition: opacity .3s ease; }
.ap-eco-attacco::before { transform: rotate(45deg); }
.ap-eco-attacco::after { transform: rotate(-45deg); }
.ap-eco-impulso { position: absolute; top: -3px; left: 0; width: 14px; height: 14px; border-radius: 50%; background: #fff; box-shadow: 0 0 14px #fff; opacity: 0; }
.ap-eco-go .ap-eco-impulso { animation: ap-eco-viaggio 1.6s linear infinite; animation-delay: calc(var(--d) + .9s); }
.ap-eco-go .ap-eco-secondo { animation-delay: calc(var(--d) + 1.7s); }
.ap-eco-scintilla { position: absolute; top: 1px; left: 47%; width: 6px; height: 6px; border-radius: 50%; background: #FE9F10; box-shadow: 0 0 10px #FE9F10; opacity: 0; }

.ap-eco-barra { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; max-width: 980px; margin: 28px auto 0; padding: 14px 20px; border: 1px solid #355257; border-radius: 18px; background: rgba(14, 42, 46, .7); opacity: 0; transform: translateY(10px); transition: opacity .5s ease, transform .5s ease; transition-delay: var(--d); }
.ap-eco-go .ap-eco-barra { opacity: 1; transform: none; }
.ap-eco-barra > i { color: #6fe0d2; font-size: 30px; }
.ap-eco-didascalia { flex: 1 1 320px; margin: 0; color: #e4eeec; font-size: 18px; font-weight: 500; }

/* Senza internet */
.ap-eco-off .ap-eco-filo-locale .ap-eco-luce { opacity: 0; transition-delay: 0s; }
.ap-eco-off .ap-eco-filo-locale .ap-eco-impulso { animation: none; opacity: 0; }
.ap-eco-off .ap-eco-filo-locale .ap-eco-traccia { background: repeating-linear-gradient(90deg, rgba(254, 159, 16, .6) 0 8px, transparent 8px 16px); }
.ap-eco-off .ap-eco-filo-locale .ap-eco-attacco { border-color: #FE9F10; background: #FE9F10; box-shadow: 0 0 18px rgba(254, 159, 16, .8); transform: scale(1.5); transition-delay: 0s; }
.ap-eco-off .ap-eco-filo-locale .ap-eco-attacco::before, .ap-eco-off .ap-eco-filo-locale .ap-eco-attacco::after { opacity: 1; }
.ap-eco-off .ap-eco-scintilla { animation: ap-eco-scintilla .7s ease-out 1 forwards; }
.ap-eco-off .ap-eco-locale { box-shadow: 0 0 0 4px #FE9F10, 0 0 60px rgba(254, 159, 16, .45); }
.ap-eco-off .ap-eco-ordini { opacity: .45; }
.ap-eco-off .ap-eco-rete { opacity: 1; }
.ap-eco-off .ap-eco-onda { animation: ap-eco-onda 2.1s ease-out infinite; }
.ap-eco-off .ap-eco-disp { animation: ap-eco-lavora 2.1s ease-in-out infinite; animation-delay: calc(var(--k) * .42s); }
.ap-eco-off .ap-eco-barra > i { color: #FE9F10; }

@keyframes ap-eco-viaggio { 0% { left: -6px; opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { left: calc(100% - 8px); opacity: 0; } }
@keyframes ap-eco-scintilla { 0% { opacity: 1; transform: translate(0, 0); } 100% { opacity: 0; transform: translate(var(--sx), var(--sy)); } }
@keyframes ap-eco-onda { 0% { opacity: .9; transform: scale(1); } 100% { opacity: 0; transform: scale(1.14); } }
@keyframes ap-eco-lavora { 0%, 100% { background-color: rgba(255, 255, 255, .2); box-shadow: none; } 18% { background-color: rgba(254, 159, 16, .55); box-shadow: 0 0 22px rgba(254, 159, 16, .7); } 40% { background-color: rgba(255, 255, 255, .2); box-shadow: none; } }
@keyframes ap-giro-locale { 0% { transform: translateX(0); opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { transform: translateX(220px); opacity: 0; } }
@keyframes ap-respiro { 0%, 100% { box-shadow: 0 0 0 12px rgba(21, 180, 163, .16), 0 0 40px rgba(21, 180, 163, .5); } 50% { box-shadow: 0 0 0 22px rgba(21, 180, 163, .07), 0 0 74px rgba(21, 180, 163, .8); } }

@media (max-width: 1199px) {
    .ap-eco-scena { grid-template-columns: minmax(0, 1fr) 56px minmax(0, 2fr) 56px minmax(0, 1fr); }
    .ap-eco-tessere { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 991px) {
    .ap-eco-scena { grid-template-columns: minmax(0, 1fr); }
    .ap-eco-filo-cella { justify-content: center; height: 76px; }
    .ap-eco-filo { width: 64px; transform: rotate(90deg); }
    .ap-eco-tessere { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 575px) {
    .ap-eco-tessere { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ap-eco-barra .ap-btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
    .ap-eco-pannello, .ap-eco-mod, .ap-eco-luce, .ap-eco-attacco, .ap-eco-barra { transition: none; }
    .ap-eco-nuvola, .ap-eco-rete span { animation: none; }
    .ap-eco-go .ap-eco-impulso, .ap-eco-off .ap-eco-onda, .ap-eco-off .ap-eco-disp, .ap-eco-off .ap-eco-scintilla { animation: none; }
}

/* Animazioni */
.ap-sale { animation: ap-sale .7s ease both; }
.ap-sale-2 { animation-delay: .15s; }
.ap-sale-3 { animation-delay: .3s; }
.ap-js .ap-rivela { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.ap-js .ap-rivela.ap-visibile { opacity: 1; transform: none; }
.ap-js a.ap-tipo.ap-rivela.ap-visibile:hover, .ap-js .ap-card.ap-rivela.ap-visibile:hover { transform: translateY(-6px); }

@keyframes ap-deriva { from { transform: scale(1) translate(0, 0); } to { transform: scale(1.1) translate(-2%, -2%); } }
@keyframes ap-dissolvi { 0%, 40% { opacity: 0; } 55%, 90% { opacity: 1; } 100% { opacity: 0; } }
@keyframes ap-scorri { to { transform: translateX(-50%); } }
@keyframes ap-sale { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes ap-fluttua { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes ap-comparsa { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

@media (max-width: 767px) {
    .ap-eroe-griglia { gap: 36px; padding: 48px 16px 112px; }
    .ap-blocco { padding: 48px 16px; }
    .ap-azioni .ap-btn { width: 100%; }
    .ap-sfondo-b { display: none; }
    .ap-sfondo-a { animation: none; }
}

@media (prefers-reduced-motion: reduce) {
    .ap-sfondo-video, .ap-eva, .ap-marquee, .ap-sale { animation: none; }
    .ap-sfondo-b { display: none; }
    .ap-marquee { flex-wrap: wrap; justify-content: center; width: auto; padding: 0 24px; white-space: normal; }
    .ap-marquee [aria-hidden="true"] { display: none; }
    .ap-js .ap-rivela { opacity: 1; transform: none; transition: none; }
    .ap-pc *, .ap-pc *::before { animation: none !important; transition: none !important; }
    .ap-card, .ap-home a.ap-tipo { transition: none; }
}
