/* ============================================================================
   MS Digital Consulting — LANDING (lean, conversion, wow)
   Riusa token/btn/eyebrow/reveal di v3.css. Carica DOPO v3.css.
   ========================================================================== */

body { background: var(--paper); }

/* Header minimale --------------------------------------------------------- */
.lp-head { position: fixed; inset: 0 0 auto 0; z-index: 100; height: 70px; display: flex; align-items: center; background: rgba(255,255,255,.92); -webkit-backdrop-filter: saturate(140%) blur(12px); backdrop-filter: saturate(140%) blur(12px); border-bottom: 1px solid transparent; transition: box-shadow .3s var(--ease), border-color .3s var(--ease); }
.lp-head.is-stuck { box-shadow: 0 8px 30px rgba(14,27,42,.07); border-bottom-color: var(--line); }
.lp-head .container { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.lp-head .brand__img { height: 46px; width: auto; display: block; }
.lp-nav { display: flex; align-items: center; gap: 1.6rem; }
.lp-nav a { color: var(--ink); font-weight: 500; font-size: .96rem; position: relative; white-space: nowrap; }
.lp-nav a::after { content: ""; position: absolute; left: 0; bottom: -3px; height: 2px; width: 0; background: var(--amber); transition: width .25s var(--ease); }
.lp-nav a:hover::after, .lp-nav .current-menu-item > a::after { width: 100%; }
.lp-nav .btn { padding-block: .6rem; }
.lp-toggle { display: none; }
@media (max-width: 760px) {
  .lp-nav__links { display: none; }
}

/* Hero scuro + aurora ----------------------------------------------------- */
.lp-hero { position: relative; background: var(--ink); color: var(--on-dark); overflow: hidden; padding: calc(70px + clamp(3rem,8vw,6rem)) 0 clamp(4rem,9vw,7rem); text-align: center; }
.lp-aurora { position: absolute; inset: -25%; z-index: 0; pointer-events: none; filter: blur(70px); opacity: .5; }
.lp-aurora span { position: absolute; border-radius: 50%; mix-blend-mode: screen; display: block; }
.lp-aurora .a1 { width: 52vw; height: 52vw; background: #0F9A93; top: -12%; left: -8%; animation: drift1 17s ease-in-out infinite; }
.lp-aurora .a2 { width: 46vw; height: 46vw; background: #E96A1B; bottom: -18%; right: -6%; animation: drift2 19s ease-in-out infinite; }
.lp-aurora .a3 { width: 40vw; height: 40vw; background: #1E6FB0; top: 18%; left: 42%; animation: drift3 23s ease-in-out infinite; }
@keyframes drift1 { 0%,100%{transform:translate(0,0) scale(1)} 50%{transform:translate(8%,12%) scale(1.1)} }
@keyframes drift2 { 0%,100%{transform:translate(0,0) scale(1)} 50%{transform:translate(-10%,-8%) scale(1.15)} }
@keyframes drift3 { 0%,100%{transform:translate(0,0) scale(1)} 50%{transform:translate(-6%,10%) scale(.9)} }
.lp-hero .container { position: relative; z-index: 1; max-width: 900px; }
.lp-hero .eyebrow { color: var(--amber); justify-content: center; }
.lp-hero .eyebrow::before { background: var(--amber); }
.lp-hero h1 { font-family: var(--display); font-weight: 600; color: #fff; font-size: clamp(2.6rem,6.2vw,5.1rem); line-height: 1.02; letter-spacing: -.025em; margin-top: 1.2rem; }
.lp-hero h1 .hl { color: var(--amber); }
.kin { display: inline-block; opacity: 0; transform: translateY(26px); animation: kinIn .75s var(--ease) both; animation-delay: calc(var(--i,0) * .08s); }
@keyframes kinIn { to { opacity: 1; transform: none; } }
.lp-hero .lead { color: var(--on-dark); opacity: .82; margin: 1.5rem auto 0; max-width: 58ch; font-size: var(--fs-lead); }
.lp-hero__cta { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-top: 2.3rem; opacity: 0; animation: kinIn .8s var(--ease) .55s both; }
.btn--glow { animation: glow 2.6s ease-in-out infinite; }
@keyframes glow { 0%,100%{ box-shadow: 0 12px 30px rgba(233,106,27,.34) } 50%{ box-shadow: 0 14px 48px rgba(233,106,27,.6) } }
.lp-hero__trust { display: flex; gap: clamp(1.6rem,5vw,3.6rem); justify-content: center; flex-wrap: wrap; margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--line-dark); opacity: 0; animation: kinIn .8s var(--ease) .7s both; }
.lp-stat .n { font-family: var(--display); font-weight: 600; font-size: clamp(1.9rem,3.2vw,2.7rem); color: #fff; line-height: 1; letter-spacing: -.02em; }
.lp-stat .n small { font-size: .5em; color: var(--amber); }
.lp-stat .l { display: block; color: var(--on-dark-mut); font-size: .84rem; margin-top: .4rem; }

/* Marquee ----------------------------------------------------------------- */
.marquee { background: var(--bone); border-block: 1px solid var(--line); overflow: hidden; padding: 1rem 0; }
.marquee__track { display: flex; gap: 3rem; width: max-content; animation: scroll 30s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item { display: inline-flex; align-items: center; gap: .65rem; font-weight: 600; color: var(--ink-70); font-size: 1.02rem; white-space: nowrap; }
.marquee__item::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--teal); flex: none; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* Statement --------------------------------------------------------------- */
.lp-statement { text-align: center; }
.lp-statement h2 { max-width: 18ch; margin: 0 auto; }
.lp-statement .lead { margin: 1.2rem auto 0; }

/* Services condensate ----------------------------------------------------- */
.lp-svc { display: grid; gap: 1.1rem; grid-template-columns: 1fr; }
@media (min-width: 760px) { .lp-svc { grid-template-columns: 1fr 1fr; } }
.lp-card { position: relative; padding: clamp(1.5rem,3vw,2rem); border: 1px solid var(--line); border-radius: var(--r); background: var(--paper); overflow: hidden; transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease); }
.lp-card::after { content: ""; position: absolute; inset: 0; background: radial-gradient(420px circle at var(--mx,50%) var(--my,0%), rgba(233,106,27,.10), transparent 60%); opacity: 0; transition: opacity .3s var(--ease); pointer-events: none; }
.lp-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--gold); }
.lp-card:hover::after { opacity: 1; }
.lp-card__num { font-family: var(--display); font-weight: 600; color: var(--amber-d); font-size: 1.4rem; }
.lp-card h3 { margin: .5rem 0 .4rem; font-size: 1.2rem; }
.lp-card p { color: var(--muted); font-size: .96rem; }

/* Why (3 punti) ----------------------------------------------------------- */
.lp-why { display: grid; gap: 1.4rem; grid-template-columns: 1fr; }
@media (min-width: 760px) { .lp-why { grid-template-columns: repeat(3,1fr); } }
.lp-why__item { text-align: center; padding: 1rem; }
.lp-why__ic { width: 52px; height: 52px; border-radius: 15px; background: var(--teal-soft); color: var(--teal-d); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 1rem; }
.lp-why__ic svg { width: 26px; height: 26px; }
.lp-why__item h3 { font-size: 1.15rem; }
.lp-why__item p { color: var(--muted); font-size: .95rem; margin-top: .4rem; }

/* Final CTA (scuro + aurora) --------------------------------------------- */
.lp-final { position: relative; background: var(--ink); color: var(--on-dark); text-align: center; overflow: hidden; }
.lp-final .container { position: relative; z-index: 1; }
.lp-final h2 { color: #fff; max-width: 20ch; margin: 0 auto; }
.lp-final p { color: var(--on-dark-mut); max-width: 52ch; margin: 1.2rem auto 0; font-size: var(--fs-lead); }
.lp-final .btn { margin-top: 2.2rem; }

/* Footer mini ------------------------------------------------------------- */
.lp-foot { background: var(--ink-2); color: var(--on-dark-mut); text-align: center; padding: 2rem 0; font-size: .9rem; }
.lp-foot a { color: var(--on-dark); }

/* Barra CTA sticky -------------------------------------------------------- */
.lp-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 95; background: rgba(14,27,42,.97); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: #fff; transform: translateY(115%); transition: transform .4s var(--ease); box-shadow: 0 -12px 40px rgba(14,27,42,.28); }
.lp-bar.is-visible { transform: none; }
.lp-bar .container { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: .75rem; }
.lp-bar__txt { font-weight: 600; }
.lp-bar__txt small { display: block; color: var(--on-dark-mut); font-weight: 500; font-size: .8rem; }
@media (max-width: 600px) { .lp-bar__txt small { display: none; } }

@media (prefers-reduced-motion: reduce) {
  .lp-aurora span, .btn--glow, .marquee__track { animation: none !important; }
  .kin, .lp-hero__cta, .lp-hero__trust { opacity: 1 !important; transform: none !important; animation: none !important; }
}
