/* ============ Assoluto — landing Mobilifici: regole specifiche di pagina ============ */
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.skip { position: absolute; left: -999px; top: var(--space-2); background: var(--surface-0); color: var(--ink); padding: var(--space-2) var(--space-4); z-index: 100; }
.skip:focus { left: var(--space-2); }

.as-header { position: sticky; top: 0; z-index: 50; }
.as-header__logo img { height: 48px; }
@media (max-width: 767px) { .as-header__inner { justify-content: center; } .as-header__logo img { height: 48px; } }
@media (max-width: 767px) { .as-header { position: static; } }

/* --- hero --- */
.hero__grid { display: grid; gap: var(--space-7); align-items: center; }
@media (min-width: 1024px) { .hero__grid { grid-template-columns: 7fr 5fr; gap: var(--space-8); } }
.hero__figure { margin: 0; }
.hero__figure img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; filter: saturate(.85); }
@media (max-width: 1023px) { .hero__figure img { aspect-ratio: 16 / 9; } }

.credit { font-size: 12px; line-height: 1.4; color: var(--ink-muted); margin-top: var(--space-2); letter-spacing: .02em; }
.credit--section { margin-top: var(--space-6); }

/* --- fatti e numeri (solo dati già presenti, mai inventati) --- */
.fact { display: grid; gap: var(--space-1); }
.fact__num { font-family: var(--font-display); font-size: 40px; line-height: 1.1; font-weight: 300; color: var(--gold); }
.fact__label { font-size: 14px; color: var(--ink-secondary); }
.fact__num--text { font-size: 30px; }
.fact__barrato { color: var(--ink-muted); text-decoration-thickness: 2px; text-decoration-color: var(--gold); margin-right: var(--space-2); }
.badge { display: inline-block; padding: 4px 10px; margin-right: var(--space-2); font-family: var(--font-display); font-size: 12px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--ink); background: var(--gold-soft); border-radius: var(--radius-sm); vertical-align: middle; }
@media (max-width: 767px) { .fact__num { font-size: 32px; } }

/* --- approccio --- */
.approccio { align-items: center; }
.approccio__figure { margin: 0; }
.approccio__figure img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; filter: saturate(.85); }
.approccio__text { margin-top: var(--space-5); }
.pillars { list-style: none; margin: var(--space-6) 0 0; padding: var(--space-4) 0 0; border-top: var(--stroke-hairline) solid var(--border-hairline); display: flex; flex-wrap: wrap; gap: var(--space-4) var(--space-6); font-family: var(--font-display); font-size: 18px; font-weight: 400; }
.pillars span { color: var(--gold-text); font-size: 12px; letter-spacing: .1em; margin-right: var(--space-2); }
.approccio__cards { margin-top: var(--space-7); }

/* --- esempi --- */
.esempi { display: grid; gap: var(--space-5); margin-top: var(--space-7); }
@media (min-width: 640px) { .esempi { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .esempi { grid-template-columns: repeat(4, 1fr); } }
.esempio {
    margin: 0;
    background: var(--surface-0);
    border: var(--stroke-hairline) solid var(--border-hairline);
    display: grid;
    grid-template-rows: auto 1fr;
}
.esempio__img { aspect-ratio: 4 / 5; overflow: hidden; border-bottom: var(--stroke-hairline) solid var(--border-hairline); }
.esempio__img img { width: 100%; height: 100%; object-fit: cover; object-position: top; filter: saturate(.85); }
.esempio figcaption {
    padding: var(--space-5);
    display: grid;
    gap: var(--space-1);
    align-content: start;
    font-size: 14px;
    color: var(--ink-secondary);
}
.esempio figcaption strong { font-family: var(--font-display); font-size: 22px; font-weight: 500; color: var(--ink); line-height: 1.2; }
.esempio__num { font-family: var(--font-display); font-size: 12px; letter-spacing: .28em; color: var(--gold-text); }

/* --- titoli: dimensione e parola chiave in oro --- */
@media (min-width: 1024px) { .as-display-lg { font-size: 48px; line-height: 1.1; } }
.as-display-xl em, .as-display-lg em { font-style: normal; color: var(--gold); }

/* --- risultati --- */
.risultati .as-card { background: var(--surface-0); }
.stats { display: grid; gap: var(--space-5); margin-top: var(--space-7); }
@media (min-width: 768px) { .stats { grid-template-columns: 2fr 1fr 1fr; } }
.stat { border-top: var(--stroke-accent) solid var(--gold); padding-top: var(--space-4); display: grid; gap: var(--space-2); align-content: start; }
.stat__label { font-size: 14px; font-weight: 600; letter-spacing: .02em; }
.stat__row { display: flex; align-items: baseline; gap: var(--space-3); flex-wrap: wrap; font-family: var(--font-display); font-weight: 300; line-height: 1; }
.stat__num { font-size: 72px; color: var(--gold); letter-spacing: -.01em; }
.stat__num small { font-size: 18px; font-family: var(--font-text); color: var(--ink-secondary); margin-right: 4px; }
.stat__from { font-size: 36px; color: var(--ink-secondary); }
.stat__arrow { font-size: 28px; color: var(--ink-muted); }
.stat__unit { font-size: 16px; font-family: var(--font-text); color: var(--ink-secondary); }
.stat__note { font-size: 14px; color: var(--ink-muted); }
@media (max-width: 767px) { .stat__num { font-size: 56px; } .stat__from { font-size: 28px; } }
.risultati .risultato { margin-top: var(--space-6); }
.risultati__cta { margin-top: var(--space-6); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-4); padding-top: var(--space-5); border-top: var(--stroke-hairline) solid var(--border-hairline); }
.risultati__cta .as-body-lg { max-width: none; }
@media (max-width: 767px) { .risultati__cta .as-btn { width: 100%; white-space: normal; line-height: 1.3; text-align: center; } }
.offerta__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-5); }
.risultati { margin-top: var(--space-6); }
.risultati__intro { margin-top: var(--space-5); }
.risultato { margin: 0; }
.risultato__label { font-size: 14px; font-weight: 600; letter-spacing: .02em; color: var(--ink); }
.risultato figcaption { display: grid; gap: var(--space-1); }
.bars { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-5); align-items: end; height: 180px; padding-top: var(--space-4); border-bottom: var(--stroke-hairline) solid var(--border-hairline); }
.bar { display: grid; grid-template-rows: auto 1fr auto; height: 100%; gap: var(--space-2); text-align: center; }
.bar__val { align-self: end; font-family: var(--font-display); font-size: 18px; }
.bar__fill { align-self: end; height: var(--h); background: var(--border-strong); transition: height var(--duration-base) var(--ease-out); }
.bar__fill--gold { background: var(--gold); }
.bar__cap { font-size: 12px; color: var(--ink-muted); letter-spacing: .04em; }
.tbl { width: 100%; border-collapse: collapse; font-size: 15px; table-layout: fixed; }
.tbl--query th[scope="row"] { width: 46%; }
.tbl caption { caption-side: bottom; text-align: left; padding-top: var(--space-3); }
.tbl th, .tbl td { text-align: left; padding: var(--space-3) var(--space-2); border-bottom: var(--stroke-hairline) solid var(--border-hairline); }
.tbl thead th { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-muted); font-weight: 600; }
.tbl tbody th { font-weight: 400; color: var(--ink-secondary); }
.tbl td { font-family: var(--font-display); font-size: 24px; font-weight: 300; color: var(--ink); }
.tbl--query td { font-size: 20px; }
.tbl--query { table-layout: auto; }
.tbl--query tbody th { color: var(--ink); font-weight: 400; }
.tbl--query td:nth-child(2) { color: var(--ink-secondary); }
.tbl--query td:nth-child(3) { color: var(--gold-text); font-weight: 400; }
@media (max-width: 767px) { .tbl--query { font-size: 14px; } .tbl--query thead th { font-size: 10px; letter-spacing: .03em; padding-left: 4px; padding-right: 4px; } .tbl--query td { padding-left: 4px; padding-right: 4px; } .tbl--query th[scope="row"] { width: 54%; } .tbl--query th:nth-child(3), .tbl--query td:nth-child(3), .tbl--query th:nth-child(4), .tbl--query td:nth-child(4) { width: 23%; } .tbl--query td { font-size: 18px; } .tbl--query th:nth-child(2), .tbl--query td:nth-child(2) { display: none; } }

/* --- sistema --- */
.sistema__figure { margin: var(--space-6) 0 0; display: none; }
@media (min-width: 1024px) { .sistema__figure { display: block; } }
.sistema__figure img { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; filter: saturate(.85); }

/* --- offerta --- */
.prezzo { display: flex; align-items: baseline; gap: var(--space-3); margin-top: var(--space-6); font-family: var(--font-display); }
.prezzo__da, .prezzo__per { font-size: 18px; color: var(--ink-secondary); }
.prezzo__num { font-size: 72px; line-height: 1; font-weight: 300; color: var(--gold); letter-spacing: -.01em; }
@media (max-width: 767px) { .prezzo__num { font-size: 56px; } }
.prezzo__plus { margin-top: var(--space-5); display: grid; gap: var(--space-2); justify-items: start; font-size: 17px; line-height: 1.6; color: var(--ink-secondary); }
.prezzo__plus strong { font-size: 18px; }
.prezzo__plus strong { color: var(--ink); font-weight: 600; }
.offerta__text { display: grid; gap: var(--space-5); align-content: center; }
.offerta__text .offerta__actions { justify-self: start; }
.offerta .as-list li { color: var(--ink-secondary); }

/* --- contatto --- */
.contatto__text { margin-top: var(--space-5); }
.req { font-style: normal; color: var(--gold-text); }
.as-field { align-content: start; }
.as-form__done { align-content: start; gap: var(--space-3); border-color: var(--success); }

/* --- footer --- */
.footer__brand { display: grid; gap: var(--space-5); }

/* --- barra CTA mobile --- */
.sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; }
.sticky[hidden] { display: none; }
@media (min-width: 768px) { .sticky { display: none; } }

[hidden] { display: none !important; }

/* ============ Animazione dell'hero ============ */
.hero--anim .as-eyebrow {
    opacity: 0;
    animation: heroFade .6s var(--ease-out) .15s forwards;
}

    .hero--anim .as-eyebrow::before {
        width: 0;
        animation: heroLine .7s var(--ease-out) .15s forwards;
    }

.hero__word {
    display: inline-block;
    overflow: hidden;
    vertical-align: bottom;
    padding-bottom: .08em;
    margin-bottom: -.08em;
}

    .hero__word > span {
        display: inline-block;
    }

.hero--anim .hero__word > span {
    transform: translateY(110%);
    animation: heroWord .8s cubic-bezier(.2,.7,.1,1) forwards;
    animation-delay: calc(.35s + var(--i) * 70ms);
}

.hero--anim .as-body-lg, .hero--anim .as-hero__actions, .hero--anim .as-hero__note {
    opacity: 0;
    transform: translateY(14px);
    animation: heroUp .7s var(--ease-out) forwards;
}

.hero--anim .as-body-lg {
    animation-delay: 1s;
}

.hero--anim .as-hero__actions {
    animation-delay: 1.15s;
}

.hero--anim .as-hero__note {
    animation-delay: 1.3s;
}

.hero__media {
    position: relative;
    overflow: hidden;
}

.hero__figure img {
    transform-origin: 60% 50%;
}

.hero--anim .hero__figure img {
    clip-path: inset(0 100% 0 0);
    transform: scale(1.12);
    animation: heroPhoto 1.3s cubic-bezier(.2,.7,.1,1) .45s forwards, heroDrift 22s ease-in-out 1.75s infinite alternate;
}

.hero__media::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 2px;
    background: var(--gold);
    opacity: 0;
    pointer-events: none;
}

.hero--anim .hero__media::after {
    animation: heroSweep 1.3s cubic-bezier(.2,.7,.1,1) .45s forwards;
}

.hero--anim .hero__figure .credit {
    opacity: 0;
    animation: heroFade .6s var(--ease-out) 1.6s forwards;
}

@keyframes heroFade {
    to {
        opacity: 1;
    }
}

@keyframes heroLine {
    to {
        width: 32px;
    }
}

@keyframes heroWord {
    to {
        transform: translateY(0);
    }
}

@keyframes heroUp {
    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes heroPhoto {
    0% {
        clip-path: inset(0 100% 0 0);
        transform: scale(1.12);
    }

    60% {
        clip-path: inset(0 0 0 0);
    }

    100% {
        clip-path: inset(0 0 0 0);
        transform: scale(1);
    }
}

@keyframes heroDrift {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.05);
    }
}

@keyframes heroSweep {
    0% {
        left: 0;
        opacity: 1;
    }

    85% {
        opacity: 1;
    }

    100% {
        left: 100%;
        opacity: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero--anim .as-eyebrow, .hero--anim .as-body-lg, .hero--anim .as-hero__actions, .hero--anim .as-hero__note, .hero--anim .hero__figure .credit {
        opacity: 1;
        transform: none;
        animation: none;
    }

        .hero--anim .as-eyebrow::before {
            width: 32px;
            animation: none;
        }

    .hero--anim .hero__word > span {
        transform: none;
        animation: none;
    }

    .hero--anim .hero__figure img {
        clip-path: none;
        transform: none;
        animation: none;
    }

    .hero--anim .he