/* ==========================================================================
   Vetrina lookbook: ogni blocco è una pagina intera, foto a tutta larghezza
   ========================================================================== */

html[data-theme-locked],
html[data-theme-locked] body,
body.is-landing {
    background: #090909;
    color: #F6F1EA;
}

html[data-theme-locked] {
    scroll-snap-type: y proximity;
}

.land {
    --chalk: #F6F1EA;
    --mute: rgb(246 241 234 / 78%);
    --rock: #FF4C1F;
    --gold: #FFC44D;
    --display: "Oswald", Impact, sans-serif;
    --sub: "Source Serif 4", Georgia, "Times New Roman", serif;
    --text: "Figtree", "Segoe UI", sans-serif;
    color: var(--chalk);
    font-family: var(--text);
}

.land a { color: inherit; }

.land-top {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 20;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: calc(1.4rem + env(safe-area-inset-top)) clamp(1.6rem, 4.5vw, 4rem) 0;
    pointer-events: none;
}

.land-top a,
.land-top button,
.land-top__menu,
.land-top__actions {
    pointer-events: auto;
}

.land-top__brand {
    justify-self: start;
    line-height: 0;
}

.land-top__brand .brand-mark {
    height: 42px;
    max-width: 210px;
    filter: drop-shadow(0 2px 12px rgb(0 0 0 / 75%));
}

.land-top__in {
    color: var(--chalk);
    text-decoration: none;
    font-family: var(--text);
    font-size: 0.88rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    padding: 0.45rem 0.95rem;
    border: 1px solid rgb(246 241 234 / 38%);
    background: transparent;
    cursor: pointer;
    text-shadow: 0 1px 10px rgb(0 0 0 / 70%);
}

.land-top__in:hover {
    background: rgb(246 241 234 / 10%);
}

.land-top__menu {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
}

.land-top__menu a {
    color: var(--chalk);
    text-decoration: none;
    font-family: var(--text);
    font-size: 0.88rem;
    font-weight: 500;
    text-shadow: 0 1px 10px rgb(0 0 0 / 70%);
    opacity: 0.86;
}

.land-top__menu a:hover { opacity: 1; }

.land-top__actions {
    justify-self: end;
    display: flex;
    align-items: center;
    gap: 0.55rem;
}

.land-top__toggle { display: none; }

.land-page {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: grid;
    align-items: center;
    justify-items: center;
    overflow: hidden;
    scroll-snap-align: start;
    scroll-snap-stop: always;
}

.land-page > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(0.85) contrast(1.05);
}

.land-page__veil {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at center, rgb(9 9 9 / 42%) 0%, rgb(9 9 9 / 70%) 72%),
        linear-gradient(180deg, rgb(9 9 9 / 35%) 0%, rgb(9 9 9 / 20%) 40%, rgb(9 9 9 / 55%) 100%);
}

.land-page__veil--heavy {
    background:
        linear-gradient(90deg, rgb(9 9 9 / 82%) 0%, rgb(9 9 9 / 55%) 52%, rgb(9 9 9 / 35%) 100%),
        linear-gradient(180deg, rgb(9 9 9 / 25%) 0%, rgb(9 9 9 / 70%) 100%);
}

.land-page__copy,
.land-page__pay {
    position: relative;
    z-index: 1;
    width: min(1480px, calc(100% - 4rem));
    margin: 0 auto;
    padding: calc(5.5rem + env(safe-area-inset-top)) 0 calc(2.5rem + env(safe-area-inset-bottom));
    text-align: center;
}

.land-page__copy--wide { width: min(1480px, calc(100% - 4rem)); }

.land-page__copy > p:first-child,
.land-page__pay > div > p:first-child {
    margin: 0 0 0.8rem;
    font-family: var(--sub);
    font-size: 1.05rem;
    font-style: normal;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: none;
    color: var(--chalk);
    text-shadow: 0 1px 2px rgb(0 0 0 / 90%), 0 6px 18px rgb(0 0 0 / 70%);
}

.land-page h1,
.land-page h2 {
    margin: 0 0 1.5rem;
    font-family: var(--display);
    font-weight: 700;
    letter-spacing: 0.02em;
    line-height: 0.92;
    text-transform: uppercase;
    text-shadow: 0 3px 0 rgb(0 0 0 / 85%), 0 12px 32px rgb(0 0 0 / 55%);
}

.land-page h1 {
    font-size: clamp(3.6rem, 12vw, 8.2rem);
    color: var(--rock);
}

.land-page--hero .land-page__copy {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.6rem;
    width: min(1680px, calc(100% - 4rem));
    min-height: 100dvh;
    padding-top: calc(4rem + env(safe-area-inset-top));
    padding-bottom: calc(3rem + env(safe-area-inset-bottom));
}

.land-page--hero .land-page__copy > p:first-child,
.land-page--hero h1 {
    margin: 0;
    width: 100%;
    max-width: none;
}

.land-page--hero h1 {
    display: flex;
    flex-direction: column;
    gap: 0.28em;
    font-size: clamp(4.2rem, 16vw, 13.5rem);
    line-height: 0.95;
}

.land-page--hero h1 span { display: block; }

.land-page--hero .land-page__lead {
    max-width: 46rem;
    font-size: 1.7rem;
}

.land-page--hero .land-go {
    width: auto;
    min-width: 0;
    margin-top: 0.4rem;
}

.land-page h2 {
    font-size: clamp(2.8rem, 8vw, 6rem);
    color: var(--gold);
}

.land-page__lead {
    margin: 0 auto 2.2rem;
    max-width: 44rem;
    color: var(--chalk);
    font-family: var(--sub);
    font-size: 1.55rem;
    font-style: normal;
    font-weight: 600;
    line-height: 1.45;
    text-shadow: 0 1px 2px rgb(0 0 0 / 90%), 0 8px 22px rgb(0 0 0 / 70%);
}

.land-page__list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0 2.5rem;
    width: 100%;
    margin: 2.2rem auto 0;
    padding: 0;
    list-style: none;
    text-align: left;
}

.land-page__list li {
    padding: 1.1rem 0;
    border-top: 1px solid rgb(246 241 234 / 22%);
    color: var(--chalk);
    font-family: var(--sub);
    font-style: normal;
    font-size: 1.12rem;
    font-weight: 500;
    text-shadow: 0 1px 2px rgb(0 0 0 / 90%), 0 6px 16px rgb(0 0 0 / 65%);
}

.land-page__list b {
    display: block;
    margin-bottom: 0.45rem;
    color: var(--gold);
    font-family: var(--display);
    font-size: 0.78rem;
    font-style: normal;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    text-shadow: 0 1px 10px rgb(0 0 0 / 75%);
}

.land-go {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.65rem 1.2rem;
    border: 0;
    background: var(--rock);
    color: #140800;
    font: 700 0.82rem/1 var(--display);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
}

.land-go:hover { background: var(--gold); }

.land-go:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.land-grid {
    display: grid;
    grid-template-columns: 2.4rem repeat(4, minmax(0, 1fr));
    gap: 0.5rem;
    width: 100%;
    max-width: none;
    margin: 2rem auto 0;
}

.land-grid > * {
    min-height: 2.6rem;
    display: grid;
    place-items: center;
    border: 1px solid rgb(246 241 234 / 22%);
    font-size: 0.78rem;
    font-style: normal;
}

.land-grid span { color: var(--mute); border: 0; min-height: auto; padding-bottom: 0.35rem; }
.land-grid em { font-weight: 600; background: rgb(246 241 234 / 14%); }
.land-grid .casa { background: rgb(196 92 38 / 35%); }
.land-grid .prova { background: rgb(176 137 46 / 35%); }

.land-page--pay { align-items: center; }

.land-form,
.land-form label {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.land-form { gap: 0; }

.land-form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
}

.land-form span {
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--mute);
}

.land-form em { font-style: normal; color: rgb(246 241 234 / 45%); }

.land-form input {
    width: 100%;
    padding: 0.75rem 0;
    border: 0;
    border-bottom: 1px solid rgb(246 241 234 / 35%);
    border-radius: 0;
    background: transparent;
    color: var(--chalk);
    font: 400 1rem var(--text);
}

.land-form input::placeholder { color: rgb(246 241 234 / 35%); }

.land-form input:focus {
    outline: none;
    border-bottom-color: var(--chalk);
}

.land-form input[name="codice_fiscale"],
.land-form input[name="provincia"] {
    text-transform: uppercase;
}

.land-page__copy .land-form__note {
    margin-top: 1rem;
    text-shadow: 0 1px 10px rgb(0 0 0 / 70%);
}

.land-form__note {
    margin: 0.75rem 0 0;
    color: var(--mute);
    font-size: 0.85rem;
}

.land-form__note a { text-decoration: underline; }

.land-modal.modal {
    background: rgb(0 0 0 / 72%);
    padding: 1rem;
}

.land-modal .modal__dialog {
    width: min(100%, 480px);
    background: #111;
    border: 1px solid rgb(246 241 234 / 18%);
    border-radius: 0;
    color: var(--chalk);
    box-shadow: 0 24px 60px rgb(0 0 0 / 55%);
}

.land-modal__head,
.land-modal__body,
.land-modal__actions {
    padding: 1.15rem 1.25rem;
}

.land-modal__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    border-bottom: 1px solid rgb(246 241 234 / 14%);
}

.land-modal__head h2 {
    margin: 0;
    font-family: var(--display);
    font-size: 1.35rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.land-modal__head p {
    margin: 0.35rem 0 0;
    color: var(--mute);
    font-size: 0.88rem;
}

.land-modal__chiudi {
    flex-shrink: 0;
    border: 0;
    background: transparent;
    color: var(--chalk);
    font-size: 1.2rem;
    line-height: 1;
    cursor: pointer;
}

.land-modal__body { display: flex; flex-direction: column; gap: 0.9rem; }

.land-modal__label {
    margin: 0.65rem 0 0;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold);
}

.land-modal__body > .land-modal__label:first-of-type { margin-top: 0; }

.land-modal__actions {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    border-top: 1px solid rgb(246 241 234 / 14%);
}

.land-modal__actions .land-go { flex: 1; margin-top: 0; width: auto; }

.land-modal__note {
    padding: 0 1.25rem 1.15rem;
    margin: 0;
}

.land-annulla {
    border: 0;
    background: transparent;
    color: var(--mute);
    font: 500 0.88rem var(--text);
    cursor: pointer;
    text-decoration: underline;
}

html:not(.js) .land-modal.modal {
    position: static;
    display: block;
    padding: 1.25rem 0 0;
    background: transparent;
    opacity: 1;
    visibility: visible;
}

html:not(.js) .land-modal .modal__dialog {
    width: 100%;
    max-height: none;
    transform: none;
    background: transparent;
    border: 0;
    box-shadow: none;
}

html:not(.js) .land-modal__head,
html:not(.js) .land-modal__body,
html:not(.js) .land-modal__actions {
    padding-left: 0;
    padding-right: 0;
}

html:not(.js) .land-modal__chiudi,
html:not(.js) .land-annulla { display: none; }

@media (max-width: 860px) {
    .land-top {
        grid-template-columns: 1fr auto;
    }

    .land-top__toggle { display: inline-flex; }

    html.js .land-top__menu {
        position: fixed;
        inset: 0;
        z-index: 19;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        gap: 1.1rem;
        padding: calc(5.5rem + env(safe-area-inset-top)) 1.5rem 2rem;
        background: rgb(9 9 9 / 92%);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity 180ms ease, visibility 180ms ease;
    }

    html.js .land-top__menu.is-open {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    html.js .land-top__menu a {
        font-family: var(--display);
        font-size: clamp(2rem, 8vw, 2.8rem);
        font-weight: 600;
        letter-spacing: 0.06em;
        text-transform: uppercase;
        opacity: 1;
    }

    html:not(.js) .land-top {
        grid-template-columns: 1fr;
        justify-items: start;
        gap: 0.75rem;
    }

    html:not(.js) .land-top__menu {
        flex-wrap: wrap;
        justify-content: flex-start;
        gap: 0.85rem 1.1rem;
    }

    html:not(.js) .land-top__actions { justify-self: start; }

    .land-page__copy,
    .land-page__pay {
        width: min(100%, calc(100% - 2rem));
    }

    .land-page__pay {
        grid-template-columns: minmax(0, 1fr);
        gap: 2rem;
        text-align: center;
    }

    .land-page__pay .land-page__lead { margin-left: auto; }

    .land-page__list {
        grid-template-columns: 1fr;
        gap: 0;
        text-align: center;
        margin-top: 1.2rem;
    }

    .land-page h1 { font-size: 3.1rem; }
    .land-page--hero h1 { font-size: clamp(3.4rem, 18vw, 5.2rem); }
    .land-page--hero .land-page__lead { font-size: 1.28rem; }
    .land-page h2 { font-size: 2.4rem; }
    .land-form__row { grid-template-columns: 1fr; }
}
