/* ==========================================================================
   landing.css — Landing pubblica (landing.php). Autonoma: non carica style.css.
   Mobile-first: base = telefono, poi min-width 600 / 900 / 1200px.
   Palette dalla brand board: oro #D4AF37, nero #0B0B0B, grigio #1E1E1E.
   ========================================================================== */

:root {
    --ink: #0b0b0b;
    --ink-2: #111111;
    --gunmetal: #1e1e1e;
    --gunmetal-2: #262626;
    --text: #ede6d6;
    --muted: #a39c8e;
    --gold: #d4af37;
    --gold-hi: #f1d98a;
    --gold-lo: #a8842a;
    --gold-grad: linear-gradient(135deg, #a8842a 0%, #e9c96a 42%, #c9a13f 62%, #a8842a 100%);
    --line: rgba(212, 175, 55, .18);
    --line-soft: rgba(237, 230, 214, .08);
    --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --sans: 'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --radius: 18px;
    --ease: cubic-bezier(.22, .8, .24, 1);
    --header-h: 64px;
    --gutter: 20px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 12px);
    -webkit-text-size-adjust: 100%;
}

body.lp {
    margin: 0;
    background: var(--ink);
    color: var(--text);
    font: 400 15px/1.65 var(--sans);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

:where(.lp) img { display: block; max-width: 100%; height: auto; }
:where(.lp) a { color: inherit; text-decoration: none; }
:where(.lp) ul, :where(.lp) ol { list-style: none; margin: 0; padding: 0; }
:where(.lp) figure { margin: 0; }
:where(.lp) button { font: inherit; color: inherit; }
.lp :focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.lp-ico { flex-shrink: 0; }

.lp-skip {
    position: absolute; left: 12px; top: -60px; z-index: 100;
    padding: 10px 16px; background: var(--gold); color: var(--ink); border-radius: 8px; font-weight: 600;
}
.lp-skip:focus { top: 12px; }

.lp-wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 var(--gutter); }
.lp-wrap--narrow { max-width: 780px; }

/* ── Tipografia ───────────────────────────────────────────────────────── */
.lp-eyebrow {
    display: inline-flex; align-items: center; gap: 12px;
    margin: 0 0 14px;
    font: 600 11px/1 var(--sans); letter-spacing: .32em; text-transform: uppercase;
    color: var(--gold);
}
.lp-eyebrow::before { content: ''; width: 28px; height: 1px; background: var(--gold-grad); }

.lp-h1, .lp-h2, .lp-h3 { font-family: var(--serif); font-weight: 600; margin: 0; letter-spacing: -.01em; }
.lp-h1 { font-size: clamp(2.2rem, 9.4vw, 4.4rem); line-height: 1.04; }
.lp-h2 { font-size: clamp(1.75rem, 6.8vw, 3rem); line-height: 1.1; }
.lp-h3 { font-size: 1.28rem; line-height: 1.25; }
.lp-h4 { margin: 0 0 4px; font: 600 .95rem/1.35 var(--sans); }
.lp-h1 em, .lp-h2 em {
    font-style: italic;
    background: var(--gold-grad);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lp-h1-kicker {
    display: block; margin-bottom: 14px;
    font: 500 .78rem/1.4 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--muted);
}
.lp-lead { margin: 20px 0 0; font-size: 1.02rem; color: #cfc7b6; max-width: 34em; }
.lp-sub { margin: 14px 0 0; color: var(--muted); max-width: 36em; }

/* ── Bottoni ──────────────────────────────────────────────────────────────
   Anatomia unica (markup da lpCta() in landing.php):
   [ etichetta  (icona in un cerchietto) ]. L'oro è l'azione principale,
   il ghost la secondaria. Altezza minima 52px: bersaglio comodo col pollice. */
.lp-btn {
    position: relative; overflow: hidden; isolation: isolate;
    display: inline-flex; align-items: center; justify-content: center; gap: 14px;
    min-height: 52px; padding: 0 28px;
    border-radius: 999px; border: 1px solid transparent;
    font: 600 .9rem/1 var(--sans); letter-spacing: .015em; white-space: nowrap;
    cursor: pointer; user-select: none; -webkit-tap-highlight-color: transparent;
    transition: transform .2s var(--ease), box-shadow .3s var(--ease), background-color .3s, border-color .3s, color .3s, filter .3s;
}
/* Con icona: cerchietto fisso al bordo destro, etichetta centrata. Il padding
   sinistro pareggia l'ingombro dell'icona (8 + 36 + 14), così il testo resta
   al centro anche quando il bottone è a tutta larghezza. */
.lp-btn--has-ico { padding: 0 8px 0 58px; justify-content: space-between; }
.lp-btn--has-ico .lp-btn-label { flex: 1; text-align: center; }
.lp-btn-ico {
    display: grid; place-items: center; flex-shrink: 0;
    width: 36px; height: 36px; border-radius: 50%;
    transition: transform .3s var(--ease), background-color .3s;
}
.lp-btn-ico .lp-ico { transition: transform .3s var(--ease); }
.lp-btn:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 4px; }
.lp-btn:active { transform: translateY(1px) scale(.985); }

/* Oro: metallo spazzolato, luce dall'alto, bordo più chiaro in cima */
.lp-btn--gold {
    color: #17120a;
    background: linear-gradient(180deg, #f2d98c 0%, #dcb74a 46%, #c49a34 100%);
    border-color: rgba(255, 233, 170, .6);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .55),
        inset 0 -1px 0 rgba(80, 56, 10, .25),
        0 1px 2px rgba(0, 0, 0, .4),
        0 10px 26px -12px rgba(212, 175, 55, .65);
}
.lp-btn--gold .lp-btn-ico { background: #17120a; color: var(--gold-hi); }
.lp-btn--gold::after { /* riflesso che attraversa il bottone al passaggio del mouse */
    content: ''; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(110deg, transparent 35%, rgba(255, 255, 255, .5) 50%, transparent 65%);
    transform: translateX(-120%);
}

/* Ghost: vetro scuro con filo dorato */
.lp-btn--ghost {
    color: var(--text);
    background: rgba(255, 255, 255, .035);
    border-color: rgba(237, 230, 214, .18);
    -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.lp-btn--ghost .lp-btn-ico { border: 1px solid var(--line); color: var(--gold); }

.lp-btn--sm { min-height: 40px; padding: 0 16px; font-size: .8rem; gap: 8px; }

@media (hover: hover) {
    .lp-btn--gold:hover {
        filter: brightness(1.06);
        transform: translateY(-1px);
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6), inset 0 -1px 0 rgba(80, 56, 10, .25), 0 2px 4px rgba(0, 0, 0, .4), 0 16px 34px -14px rgba(212, 175, 55, .85);
    }
    .lp-btn--gold:hover::after { transform: translateX(120%); transition: transform .9s var(--ease); }
    .lp-btn--ghost:hover { color: var(--gold-hi); border-color: rgba(212, 175, 55, .6); background: rgba(212, 175, 55, .08); }
    .lp-btn--ghost:hover .lp-btn-ico { background: rgba(212, 175, 55, .12); }
    .lp-btn:hover .lp-btn-ico .lp-ico { transform: translateX(2px); }
}

/* In caricamento dopo il tocco (landing.js): l'icona diventa uno spinner */
.lp-btn.is-busy { pointer-events: none; }
.lp-btn.is-busy:not(.lp-btn--has-ico) { opacity: .75; }
.lp-btn.is-busy .lp-btn-ico .lp-ico { opacity: 0; }
.lp-btn.is-busy .lp-btn-ico::after {
    content: ''; position: absolute; width: 16px; height: 16px; border-radius: 50%;
    border: 2px solid currentColor; border-right-color: transparent;
    animation: lp-spin .7s linear infinite;
}
.lp-btn-ico { position: relative; }
@keyframes lp-spin { to { transform: rotate(360deg); } }

.lp-cta-row { display: flex; flex-direction: column; gap: 12px; margin-top: 30px; }
.lp-cta-row--center { align-items: stretch; }

/* ── Header sticky ────────────────────────────────────────────────────── */
.lp-header {
    position: fixed; inset: 0 0 auto; z-index: 50;
    height: var(--header-h);
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 0 var(--gutter);
    padding-top: env(safe-area-inset-top);
    transition: background-color .35s, border-color .35s, backdrop-filter .35s;
    border-bottom: 1px solid transparent;
}
.lp-header.is-scrolled {
    background: rgba(11, 11, 11, .78);
    -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%);
    border-bottom-color: var(--line-soft);
}
.lp-brand { display: inline-flex; align-items: center; gap: 8px; min-width: 0; }
.lp-brand-word {
    font: 600 1.05rem/1 var(--serif); letter-spacing: .01em;
    color: var(--gold-hi); white-space: nowrap;
}
.lp-brand img { width: 40px; height: 40px; }
@media (min-width: 600px) {
    .lp-brand-word { font-size: .98rem; letter-spacing: .22em; text-transform: uppercase; }
    .lp-brand img { width: 44px; height: 44px; }
}
.lp-header-cta { display: flex; align-items: center; gap: 4px; flex-shrink: 0; }
.lp-link { display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px; font-weight: 600; font-size: .85rem; color: var(--text); border-radius: 999px; transition: color .2s; }
.lp-link:hover { color: var(--gold-hi); }

/* ── Hero ─────────────────────────────────────────────────────────────── */
.lp-hero {
    position: relative; overflow: hidden;
    padding: calc(var(--header-h) + 34px) 0 56px;
}
.lp-hero-glow {
    position: absolute; inset: -20% -30% auto; height: 110%; pointer-events: none;
    background:
        radial-gradient(60% 45% at 78% 38%, rgba(212, 175, 55, .16), transparent 70%),
        radial-gradient(40% 30% at 10% 10%, rgba(212, 175, 55, .07), transparent 70%);
}
.lp-hero-grid { position: relative; display: grid; gap: 48px; }

.lp-ticks { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 22px; font-size: .82rem; color: var(--muted); }
.lp-ticks li { display: inline-flex; align-items: center; gap: 6px; }
.lp-ticks .lp-ico { color: var(--gold); }

/* Mazzo di foto a ventaglio */
.lp-stack {
    position: relative; width: min(62vw, 300px); aspect-ratio: 4 / 5;
    margin: 0 auto 26px; cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}
.lp-stack-card {
    position: absolute; inset: 0; overflow: hidden;
    border-radius: var(--radius);
    border: 1px solid rgba(212, 175, 55, .35);
    box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .9);
    transition: transform .8s var(--ease), opacity .8s var(--ease), filter .8s var(--ease);
    will-change: transform;
}
.lp-stack-card img { width: 100%; height: 100%; object-fit: cover; }
.lp-stack-card::after { /* grading caldo + vignettatura per uniformare le foto */
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(120% 90% at 50% 35%, transparent 55%, rgba(0, 0, 0, .55)), linear-gradient(180deg, rgba(212, 175, 55, .06), transparent 40%);
}
.lp-stack-card[data-pos="0"] { z-index: 3; transform: rotate(0) translateY(0); }
.lp-stack-card[data-pos="1"] { z-index: 2; transform: rotate(-7deg) translate(-22%, 4%) scale(.9); filter: brightness(.55) saturate(.7); }
.lp-stack-card[data-pos="2"] { z-index: 1; transform: rotate(7deg) translate(22%, 4%) scale(.9); filter: brightness(.55) saturate(.7); }
.lp-stack-badge {
    position: absolute; z-index: 4; left: 50%; bottom: -18px; transform: translateX(-50%);
    display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
    padding: 9px 16px; border-radius: 999px;
    background: rgba(17, 17, 17, .92); border: 1px solid var(--line);
    font-size: .74rem; font-weight: 600; letter-spacing: .04em; color: var(--gold-hi);
    -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}

/* ── Nastro stili ─────────────────────────────────────────────────────── */
.lp-marquee {
    overflow: hidden; border-block: 1px solid var(--line);
    background: linear-gradient(90deg, var(--ink), var(--ink-2), var(--ink));
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
            mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.lp-marquee-track { display: flex; width: max-content; animation: lp-marquee 38s linear infinite; }
.lp-marquee span {
    display: inline-flex; align-items: center; gap: 28px; padding: 16px 0 16px 28px;
    font: 600 italic 1.05rem/1 var(--serif); color: var(--gold-hi); white-space: nowrap;
}
.lp-marquee span::after { content: '✦'; font-style: normal; font-size: .6rem; color: var(--gold-lo); }
@keyframes lp-marquee { to { transform: translateX(-50%); } }

/* ── Sezioni ──────────────────────────────────────────────────────────── */
.lp-section { position: relative; padding: 76px 0; }
.lp-section--alt {
    background:
        radial-gradient(70% 50% at 100% 0%, rgba(212, 175, 55, .05), transparent 60%),
        var(--ink-2);
    border-block: 1px solid var(--line-soft);
}
.lp-section-head { margin-bottom: 34px; }

/* ── Galleria: coverflow su telefono, griglia sfalsata da desktop ───── */
.lp-filters {
    display: flex; gap: 6px; margin: -8px 0 26px;
    overflow-x: auto; scrollbar-width: none;
}
.lp-filters::-webkit-scrollbar { display: none; }
.lp-chip {
    flex-shrink: 0; min-height: 40px; padding: 0 13px; cursor: pointer;
    border-radius: 999px; border: 1px solid var(--line); background: transparent;
    font-size: .82rem; font-weight: 600; letter-spacing: .03em; color: var(--muted);
    transition: all .25s var(--ease);
}
.lp-chip:hover { border-color: var(--gold); color: var(--text); }
.lp-chip[aria-pressed="true"] { background: var(--gold-grad); border-color: transparent; color: #141006; }

.lp-gallery {
    display: flex; gap: 14px;
    overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory; scrollbar-width: none;
    padding: 12px 14vw 26px;
    perspective: 1100px;
}
.lp-gallery::-webkit-scrollbar { display: none; }
.lp-shot {
    flex: 0 0 72vw; max-width: 340px; scroll-snap-align: center;
    transform: rotateY(var(--ry, 0deg)) scale(var(--sc, 1));
    opacity: var(--op, 1);
    transition: opacity .35s var(--ease);
}
.lp-shot[hidden] { display: none; }
.lp-shot.is-entering { animation: lp-pop .5s var(--ease) both; }
@keyframes lp-pop { from { opacity: 0; transform: translateY(14px) scale(.96); } }

.lp-shot-btn {
    position: relative; display: block; width: 100%; padding: 0; cursor: zoom-in;
    aspect-ratio: 4 / 5; overflow: hidden;
    border-radius: var(--radius); border: 1px solid rgba(212, 175, 55, .22); background: var(--gunmetal);
    box-shadow: 0 24px 50px -28px rgba(0, 0, 0, .95);
}
.lp-shot-btn img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.88) contrast(1.04); transition: transform .8s var(--ease), filter .5s; }
.lp-shot-btn::after {
    content: ''; position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(0deg, rgba(8, 8, 8, .92) 0%, rgba(8, 8, 8, .15) 42%, transparent 60%),
                radial-gradient(120% 80% at 50% 30%, transparent 60%, rgba(0, 0, 0, .45));
}
.lp-shot-btn:hover img { transform: scale(1.05); filter: saturate(1) contrast(1.06); }
.lp-shot-cap {
    position: absolute; z-index: 1; left: 16px; right: 16px; bottom: 16px;
    display: flex; flex-direction: column; gap: 4px; text-align: left;
    font: 600 1.02rem/1.25 var(--serif); color: #f5efe1;
}

.lp-progress { height: 2px; margin: 4px auto 0; max-width: 220px; background: var(--line-soft); border-radius: 2px; overflow: hidden; }
.lp-progress span { display: block; height: 100%; width: 10%; background: var(--gold-grad); transition: width .2s linear; }

.lp-inline-cta {
    display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center;
    margin-top: 44px; padding: 28px 22px;
    border: 1px solid var(--line); border-radius: calc(var(--radius) + 4px);
    background: linear-gradient(180deg, rgba(212, 175, 55, .07), rgba(212, 175, 55, .01));
}
.lp-inline-cta-text { display: grid; gap: 6px; }
.lp-inline-cta-title { margin: 0; font: 600 1.25rem/1.3 var(--serif); }
.lp-inline-cta-sub { margin: 0; font-size: .86rem; color: var(--muted); }
.lp-inline-cta .lp-btn { width: 100%; }

/* ── Servizi ──────────────────────────────────────────────────────────── */
.lp-services { display: grid; gap: 14px; }
.lp-service {
    display: grid; grid-template-columns: 104px 1fr; gap: 16px; align-items: center;
    padding: 12px; border-radius: var(--radius);
    background: var(--gunmetal); border: 1px solid var(--line-soft);
    transition: border-color .3s, transform .3s var(--ease);
}
.lp-service:hover { border-color: var(--line); transform: translateY(-3px); }
.lp-service-media { aspect-ratio: 4 / 5; overflow: hidden; border-radius: 12px; }
.lp-service-media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.85); }
.lp-service-body p { margin: 6px 0 0; font-size: .88rem; color: var(--muted); }

/* ── Come funziona ────────────────────────────────────────────────────── */
.lp-steps { display: grid; gap: 14px; counter-reset: step; }
.lp-step {
    position: relative; padding: 24px 22px 22px 22px;
    border-radius: var(--radius); background: var(--gunmetal); border: 1px solid var(--line-soft);
}
.lp-step-n {
    display: block; margin-bottom: 12px;
    font: 700 2.4rem/1 var(--serif);
    background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lp-step p { margin: 8px 0 0; color: var(--muted); font-size: .92rem; }

.lp-features { display: grid; gap: 4px; margin-top: 40px; }
.lp-feature {
    display: grid; grid-template-columns: 46px 1fr; gap: 14px; align-items: start;
    padding: 16px 4px; border-bottom: 1px solid var(--line-soft);
}
.lp-feature p { margin: 0; font-size: .86rem; color: var(--muted); }
.lp-feature-ico {
    display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px;
    color: var(--gold); border: 1px solid var(--line);
    background: radial-gradient(circle at 30% 20%, rgba(212, 175, 55, .16), transparent 70%);
}

/* ── FAQ ──────────────────────────────────────────────────────────────── */
.lp-faq { display: grid; gap: 10px; }
.lp-faq-item {
    border-radius: 14px; background: var(--gunmetal); border: 1px solid var(--line-soft);
    transition: border-color .3s;
}
.lp-faq-item[open] { border-color: var(--line); }
.lp-faq-item summary {
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    padding: 18px 18px; cursor: pointer; list-style: none;
    font-weight: 600; font-size: .95rem;
}
.lp-faq-item summary::-webkit-details-marker { display: none; }
.lp-faq-ico { color: var(--gold); transition: transform .3s var(--ease); }
.lp-faq-item[open] .lp-faq-ico { transform: rotate(45deg); }
.lp-faq-item p { margin: 0; padding: 0 18px 18px; color: var(--muted); font-size: .9rem; }

/* ── CTA finale ───────────────────────────────────────────────────────── */
.lp-final {
    position: relative; overflow: hidden; padding: 88px 0; text-align: center;
    background:
        radial-gradient(50% 60% at 50% 0%, rgba(212, 175, 55, .18), transparent 70%),
        var(--ink);
}
.lp-final-inner { display: flex; flex-direction: column; align-items: center; }
.lp-final-inner > img { margin-bottom: 22px; filter: drop-shadow(0 8px 24px rgba(212, 175, 55, .35)); }
.lp-final .lp-sub { margin-inline: auto; }
.lp-final .lp-cta-row { width: 100%; max-width: 360px; }

/* ── Footer ───────────────────────────────────────────────────────────── */
.lp-footer { padding: 56px 0 calc(28px + env(safe-area-inset-bottom)); background: #080808; border-top: 1px solid var(--line-soft); font-size: .86rem; }
.lp-footer-grid { display: grid; gap: 30px; }
.lp-footer-brand p { margin: 14px 0 0; color: var(--muted); max-width: 26em; }
.lp-footer-nav { display: grid; gap: 10px; }
.lp-footer-nav a { color: var(--muted); transition: color .2s; }
.lp-footer-nav a:hover { color: var(--gold-hi); }
.lp-footer-bottom {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px;
    margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line-soft);
    color: #6f6a60; font-size: .78rem;
}
.lp-credit { display: inline-flex; align-items: center; gap: 8px; opacity: .75; transition: opacity .2s; }
.lp-credit:hover { opacity: 1; }
.lp-credit img { height: 18px; width: auto; }

/* ── Lightbox ─────────────────────────────────────────────────────────── */
.lp-lightbox {
    width: 100%; max-width: 100%; height: 100%; max-height: 100%; margin: 0; padding: 0;
    border: 0; background: rgba(6, 6, 6, .985); color: var(--text);
    overscroll-behavior: contain;
}
.lp-lightbox[open] { display: grid; place-items: center; animation: lp-fade .3s var(--ease); }
.lp-lightbox::backdrop { background: rgba(0, 0, 0, .7); }
@keyframes lp-fade { from { opacity: 0; } }
.lp-lightbox figure { width: min(92vw, 520px); touch-action: pan-y; }
.lp-lightbox figure img {
    width: 100%; height: auto; max-height: 64svh; object-fit: contain;
    border-radius: var(--radius); border: 1px solid var(--line);
}
.lp-lightbox figcaption { margin-top: 14px; text-align: center; font: 600 1.1rem/1.3 var(--serif); color: var(--gold-hi); }
.lp-lb-close, .lp-lb-nav {
    position: absolute; display: grid; place-items: center; cursor: pointer;
    width: 46px; height: 46px; border-radius: 50%;
    background: rgba(30, 30, 30, .85); border: 1px solid var(--line);
}
.lp-lb-close { top: calc(14px + env(safe-area-inset-top)); right: 14px; }
.lp-lb-nav { top: 50%; transform: translateY(-50%); }
.lp-lb-prev { left: 10px; }
.lp-lb-next { right: 10px; }
.lp-lb-cta { position: absolute; left: 50%; bottom: calc(22px + env(safe-area-inset-bottom)); transform: translateX(-50%); white-space: nowrap; }

/* ── Comparsa allo scroll (solo con JS attivo) ───────────────────────── */
.js .rv { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .rv.is-in { opacity: 1; transform: none; }

/* ==========================================================================
   Breakpoint
   ========================================================================== */
@media (min-width: 420px) {
    .lp-cta-row { flex-direction: row; flex-wrap: wrap; }
    .lp-cta-row .lp-btn { flex: 1 1 auto; }
}

@media (min-width: 600px) {
    :root { --gutter: 32px; --header-h: 72px; }
    .lp-services { grid-template-columns: 1fr 1fr; }
    .lp-steps { grid-template-columns: repeat(3, 1fr); }
    .lp-features { grid-template-columns: 1fr 1fr; column-gap: 32px; }
    .lp-footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
    .lp-inline-cta { flex-direction: row; justify-content: space-between; text-align: left; padding: 26px 30px; }
    .lp-inline-cta .lp-btn { width: auto; flex-shrink: 0; }
    .lp-cta-row .lp-btn { flex: 0 0 auto; }
    .lp-final .lp-cta-row { justify-content: center; max-width: none; }
    .lp-stack { width: 300px; }
}

@media (min-width: 900px) {
    body.lp { font-size: 16px; }
    .lp-hero { min-height: min(100svh, 860px); display: flex; align-items: center; padding-bottom: 80px; }
    .lp-hero-grid { grid-template-columns: 1.15fr .85fr; align-items: center; gap: 40px; }
    .lp-stack { width: 340px; margin: 0 auto; }
    .lp-section { padding: 110px 0; }
    .lp-section-head { margin-bottom: 48px; }

    /* Griglia sfalsata: niente coverflow, le colonne pari scendono */
    .lp-gallery {
        display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
        max-width: 1180px; margin: 0 auto; padding: 0 var(--gutter) 60px;
        overflow: visible; perspective: none;
    }
    .lp-shot { max-width: none; transform: none; opacity: 1; }
    .lp-shot.is-low { translate: 0 44px; } /* una colonna sì e una no, assegnata da landing.js tra le foto visibili */
    .lp-progress { display: none; }

    .lp-services { grid-template-columns: repeat(4, 1fr); gap: 20px; }
    .lp-service { grid-template-columns: 1fr; align-items: start; padding: 14px 14px 22px; }
    .lp-service-body { padding: 4px 6px 0; }
    .lp-features { grid-template-columns: repeat(3, 1fr); column-gap: 40px; }
    .lp-lightbox figure { width: min(60vw, 560px); }
    .lp-lb-prev { left: 5vw; }
    .lp-lb-next { right: 5vw; }
}

@media (hover: hover) and (min-width: 900px) {
    .lp-shot-cap { transform: translateY(8px); opacity: .85; transition: transform .4s var(--ease), opacity .4s; }
    .lp-shot-btn:hover .lp-shot-cap { transform: none; opacity: 1; }
}

@media (min-width: 1200px) {
    .lp-stack { width: 380px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
    .lp-marquee-track { animation: none; }
    .js .rv { opacity: 1; transform: none; }
}
