/*
 * Jeanne Laumier — Alta Gioielleria
 * Foglio di stile principale
 * Generato da MVItalia · mvitalia.com
 * ─────────────────────────────────────
 */

/* ════════════════════════════════════
   JL-NAV — logo centrato, split sx/dx
   ════════════════════════════════════ */
.jl-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9000;
    height: var(--nh);
    background: rgba(253,250,245,.8);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: 1px solid transparent;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    border-bottom: 1px solid rgba(168,130,74,.15);
    backdrop-filter: blur(50px);
    -webkit-backdrop-filter: blur(50px);
    align-items: center;
    padding: 0 clamp(1.5rem,4vw,4rem);
    /* opacity : 0;*/
    transition: background .4s var(--ease) /*, opacity .4s var(--ease)*/;
}

    .jl-nav.scrolled {
        background: rgba(253,250,245,1);
        /*opacity : 1;*/
    }

.jl-nav-l, .jl-nav-r {
    display: flex;
    align-items: center;
    gap: clamp(.8rem,1.8vw,1.8rem);
    list-style: none;
    margin: 0;
    padding: 0;
}

.jl-nav-l {
    justify-content: flex-end;
    padding-right: clamp(.8rem,2vw,2rem)
}

.jl-nav-r {
    justify-content: flex-start;
    padding-left: clamp(.8rem,2vw,2rem)
}


    .jl-nav-l a, .jl-nav-r a {
        font-family: 'Jost',sans-serif;
        font-size: clamp(.75rem, 1.2vw, 0.9rem);
        font-weight: 400;
        letter-spacing: .14em;
        text-transform: uppercase;
        color: #5A4E42;
        text-decoration: none;
        position: relative;
        padding-bottom: 2px;
        white-space: nowrap;
        transition: color .25s;
    }


.jl-lang-panel a {
    text-decoration: none;
    position: relative;
    white-space: nowrap;
    font-size: clamp(.75rem, 1.2vw, 0.9rem);
    font-weight: 400;
    letter-spacing: .14em;
    transition: color .25s;
}

    .jl-lang-panel a .jl-lang-tag {
        color: var(--gl);
        font-size: 12px;
    }

    .jl-lang-panel a .jl-lang-name {
        font-size: clamp(.45rem, 1.2vw, 0.7rem);
        /* text-transform: lowercase; */
        margin: 0px 5px;
    }

.jl-nav-l a::after, .jl-nav-r a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: #A8824A;
    transition: width .3s ease;
}

.jl-nav-l a:hover, .jl-nav-r a:hover {
    color: #A8824A
}

    .jl-nav-l a:hover::after, .jl-nav-r a:hover::after {
        width: 100%
    }

.jl-logo {
    display: block;
}

    .jl-logo img {
        width: 250px;
        height: auto;
    }

/* dropdown collezioni */
.jl-drop {
    position: relative;
    list-style: none
}

.jl-drop-menu {
    position: absolute;
    top: calc(100% + 1rem);
    left: 50%;
    transform: translateX(-50%) translateY(-4px);
    background: rgba(253,250,245,.98);
    border: 1px solid rgba(168,130,74,.22);
    min-width: 155px;
    list-style: none;
    padding: .45rem 0;
    margin: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity .22s,transform .22s ease;
    z-index: 100;
}


.jl-drop:hover .jl-drop-menu,
.jl-drop:focus-within .jl-drop-menu {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.jl-drop-menu li a {
    display: block;
    padding: .45rem 1.2rem;
    font-size: .75rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #7A6A5A;
    text-decoration: none;
    transition: color .2s,padding-left .2s;
}

    .jl-drop-menu li a::after {
        display: none
    }

    .jl-drop-menu li a:hover {
        color: #A8824A;
        padding-left: 1.5rem
    }
/* separatore verticale */
.jl-sep {
    width: 1px;
    height: 14px;
    background: rgba(168,130,74,.22);
    flex-shrink: 0
}
/* selettore lingua */
.jl-lang {
    position: relative;
    list-style: none
}

.jl-lang-btn {
    display: flex;
    align-items: center;
    gap: .3rem;
    background: none;
    border: 1px solid rgba(168,130,74,.28);
    border-radius: 2rem;
    padding: .28rem .65rem;
    font-family: 'Jost',sans-serif;
    font-size: clamp(.6rem, 1.1vw, 0.7rem);
    font-weight: 400;
    letter-spacing: .14em;
    color: #7A6A5A;
    cursor: none !important;
    white-space: nowrap;
    transition: border-color .25s,color .25s,background .25s;
}

    .jl-lang-btn svg {
        width: 11px;
        height: 11px;
        stroke: currentColor;
        fill: none;
        stroke-width: 1.4;
        flex-shrink: 0;
        transition: transform .3s
    }

.jl-lang:hover .jl-lang-btn, .jl-lang:focus-within .jl-lang-btn {
    border-color: #A8824A;
    color: #A8824A;
    background: rgba(168,130,74,.06);
}

    .jl-lang:hover .jl-lang-btn svg, .jl-lang:focus-within .jl-lang-btn svg {
        transform: rotate(180deg)
    }

.jl-lang-panel {
    position: absolute;
    top: calc(100% + .9rem);
    right: 0;
    background: rgba(253, 250, 245, .98);
    border: 1px solid rgba(168, 130, 74, .22);
    min-width: 120px;
    padding: .5rem;
    list-style: none;
    margin: 0;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-4px);
    transition: opacity .22s, transform .22s ease;
    z-index: 100;
}

.jl-lang:hover .jl-lang-panel, .jl-lang:focus-within .jl-lang-panel {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.jl-lang-panel button {
    display: flex;
    align-items: center;
    gap: .55rem;
    width: 100%;
    padding: .48rem .8rem;
    background: none;
    border: none;
    font-family: 'Jost',sans-serif;
    font-size: .65rem;
    letter-spacing: .1em;
    color: #7A6A5A;
    cursor: none !important;
    text-align: left;
    transition: color .2s,background .2s;
    border-radius: 2px;
}

    .jl-lang-panel button:hover {
        color: #A8824A;
        background: rgba(168,130,74,.07)
    }

    .jl-lang-panel button[aria-current="true"] {
        color: #A8824A;
        font-weight: 500
    }


        .jl-lang-panel button[aria-current="true"] .jl-lang-code {
            color: #A8824A
        }
/* hamburger */
.jl-hb {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    padding: .5rem;
    cursor: none !important;
    grid-column: 3;
    justify-self: end;
}

    .jl-hb span {
        display: block;
        width: 22px;
        height: 1px;
        background: #1C1814;
        transition: transform .35s,opacity .35s
    }

    .jl-hb[aria-expanded="true"] span:nth-child(1) {
        transform: translateY(6px) rotate(45deg)
    }

    .jl-hb[aria-expanded="true"] span:nth-child(2) {
        opacity: 0
    }

    .jl-hb[aria-expanded="true"] span:nth-child(3) {
        transform: translateY(-6px) rotate(-45deg)
    }
/* mobile menu */
.jl-mm {
    display: flex;
    position: fixed;
    inset: 0;
    z-index: 8999;
    background: #FDFAF5;
    flex-direction: column;
    overflow-y: auto;
    transform: translateY(-100%);
    visibility: hidden;
    pointer-events: none;
    transition: transform .5s ease, visibility 0s linear 0.4s;
}

    .jl-mm.open {
        transform: translateY(0);
        visibility: visible;
        pointer-events: auto;
        transition: transform .5s ease, visibility 0s linear 0s;
    }

.jl-mm-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--nh);
    padding: 0 clamp(1.5rem,6vw,3rem);
    border-bottom: 1px solid rgba(168,130,74,.12);
    flex-shrink: 0;
}

.jl-mm-logo {
    font-family: 'Cormorant Garamond',serif;
    font-size: 1.1rem;
    font-weight: 300;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: #1C1814;
    text-decoration: none;
}

    .jl-mm-logo em {
        font-style: italic;
        color: #A8824A
    }

.jl-mm-close {
    background: none;
    border: none;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #7A6A5A;
    cursor: none !important;
    transition: color .25s;
}

    .jl-mm-close:hover {
        color: #A8824A
    }

    .jl-mm-close svg {
        width: 18px;
        height: 18px;
        stroke: currentColor;
        fill: none;
        stroke-width: 1.5;
    }

.jl-mm-body {
    flex: 1;
    padding: clamp(2rem,6vh,3.5rem) clamp(1.5rem,6vw,3rem)
}

    .jl-mm-body a {
        display: flex;
        align-items: center;
        justify-content: space-between;
        font-family: 'Cormorant Garamond',serif;
        font-size: clamp(1.8rem,6vw,2.6rem);
        font-weight: 300;
        color: #5A4E42;
        text-decoration: none;
        border-bottom: 1px solid rgba(168,130,74,.1);
        padding: .65rem 0;
        transition: color .25s,padding-left .3s;
        line-height: 1.1;
    }

        .jl-mm-body a:hover {
            color: #A8824A;
            padding-left: .5rem
        }

.jl-mm-arr {
    font-size: .9rem;
    color: rgba(168,130,74,.35);
    flex-shrink: 0;
    transition: transform .3s,color .25s
}

.jl-mm-body a:hover .jl-mm-arr {
    color: #A8824A;
    transform: translateX(4px)
}

.jl-mm-sub {
    display: none;
    flex-direction: column;
    padding: .4rem 0 .5rem 1.4rem;
    border-bottom: 1px solid rgba(168,130,74,.1)
}

    .jl-mm-sub.open {
        display: flex
    }

    .jl-mm-sub a {
        font-family: 'Jost',sans-serif;
        font-size: .82rem;
        letter-spacing: .1em;
        text-transform: uppercase;
        color: #7A6A5A;
        border-bottom: none;
        padding: .38rem 0;
        transition: color .2s;
    }

        .jl-mm-sub a:hover {
            color: #A8824A;
            padding-left: .3rem
        }

.jl-mm-foot {
    border-top: 1px solid rgba(168,130,74,.12);
    padding: clamp(1.2rem,3vh,2rem) clamp(1.5rem,6vw,3rem);
    flex-shrink: 0
}

.jl-mm-foot-lbl {
    font-size: .58rem;
    letter-spacing: .3em;
    text-transform: uppercase;
    color: #A8824A;
    display: block;
    margin-bottom: .8rem
}

.jl-mm-langs {
    display: flex;
    gap: .5rem;
    flex-wrap: wrap
}

.jl-mm-lang {
    display: flex;
    align-items: center;
    gap: .45rem;
    padding: .5rem .9rem;
    border: 1px solid rgba(168,130,74,.22);
    background: none;
    font-family: 'Jost',sans-serif;
    font-size: .68rem;
    letter-spacing: .1em;
    color: #7A6A5A;
    cursor: none !important;
    text-decoration: none;
    transition: border-color .25s,color .25s,background .25s;
    border-radius: 2rem;
}

    .jl-mm-lang:hover {
        border-color: #A8824A;
        color: #A8824A
    }

    .jl-mm-lang[aria-current="true"] {
        border-color: #A8824A;
        color: #A8824A;
        background: rgba(168,130,74,.07);
        font-weight: 500;
        text-decoration: none;
    }


/* responsive */
@media(max-width:991px) {
    .jl-nav-l, .jl-nav-r {
        display: none
    }

    .jl-hb {
        display: flex
    }

    .jl-nav {
        grid-template-columns: auto 1fr auto
    }

    .jl-logo {
        grid-column: 2;
        justify-self: center
    }
}

@media(min-width:992px) {
    .jl-hb {
        display: none
    }
}

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

:root {
    --c0: #FAFAF8;
    --c1: #F2EDE6;
    --c2: #E8E0D5;
    --c3: #D6C9B8;
    --g: #A8824A;
    --gl: #C9A96E;
    --gd: #7A5F34;
    --gp: #F0E6D0;
    --ink: #1C1814;
    --ink2: #4A3F32;
    --ink3: #8A7A6A;
    --glass: rgba(250,250,248,.72);
    --glassb: rgba(168,130,74,.18);
    --nh: 68px;
    --nh-start: 102px;
    --ease: cubic-bezier(.22, 1, .36, 1);
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    background: var(--c0);
    color: var(--ink);
    font-family: 'Jost',sans-serif;
    font-weight: 300;
    line-height: 1.7;
    cursor: none;
    scroll-behavior: smooth;
}
/* SKIP */
.skip {
    position: absolute;
    top: -100%;
    left: 1rem;
    z-index: 9999;
    padding: .7rem 1.4rem;
    background: var(--g);
    color: var(--c0);
    font-size: .8rem;
    text-decoration: none;
    transition: top .2s
}

    .skip:focus {
        top: 0
    }

.text-danger {
    font-size: 12px !important;
    margin-left: 12px;
}

.text-shadow {
    text-shadow: 1px 0px #000;
}
/* CURSOR */
#cur-thread {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 99999;
    pointer-events: none;
    mix-blend-mode: difference;
}

@media (hover: none) {
    #cur-thread {
        display: none;
    }
}

/*.cur-img {
    position: fixed;
    top: 0;
    left: 0;
    width: 20px;
    height: 20px;
    pointer-events: none;
    z-index: 99999;
    opacity: 0;
    transform: translate(-50%, -50%) scale(.6);
    transition: opacity .25s var(--ease), transform .25s var(--ease);
    will-change: transform, opacity;
}

    .cur-img.cur-active {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }

@media (hover: none) {
    .cur-img {
        display: none;
    }
}*/
/* ripple clicks */
.ripple {
    position: fixed;
    pointer-events: none;
    z-index: 9997;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 1px solid rgba(168,130,74,.5);
    animation: rippleOut .7s var(--ease) forwards;
    transform: translate(-50%,-50%)
}

@keyframes rippleOut {
    to {
        transform: translate(-50%,-50%) scale(3.5);
        opacity: 0
    }
}

/* FOCUS */
:focus-visible {
    outline: 2px solid var(--g);
    outline-offset: 3px;
    border-radius: 2px
}

body * {
    cursor: none
}

a, button, input, select, textarea, [role="button"] {
    cursor: none
}

.tipo-card, .pietra-card, .taglio-card, .upload-area {
    cursor: none !important;
    pointer-events: auto !important
}

    .tipo-card input[type="radio"], .pietra-card input[type="radio"], .taglio-card input[type="radio"] {
        pointer-events: auto !important
    }

    .tipo-card *, .pietra-card *, .taglio-card * {
        pointer-events: none
    }

.tipo-card, .pietra-card, .taglio-card {
    pointer-events: auto !important
}


.mm-lang-btn .lflag {
    font-size: 1rem
}

/* ═══════════════════════════════════ HERO ═══════*/
#home {
    position: relative;
    height: calc(100svh + 600px); /* 400px = RANGE, deve combaciare col JS */
    min-height: 1000px;
}

.hero-sticky {
    position: sticky;
    top: 0;
    height: 100svh;
    min-height: 600px;
    max-height: 100svh;
    /* overflow: hidden;*/
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.hero-media {
    position: absolute;
    inset: 0;
    z-index: 0;
    /*padding-top: 68px;*/
    /*overflow: hidden;*/
}

    .hero-media video {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: rgba(0, 0, 0, 0.1);
    /* background: rgba(253, 250, 245, .2);*/
}

.hero-inner {
    position: relative;
    z-index: 3;
    padding: 0 clamp(2rem, 7vw, 7rem);
    max-width: min(820px, 92vw);
    opacity: 0;
    transform: translateY(700px);
    will-change: transform, opacity;
    pointer-events: none;
}

.h-label {
    display: block;
    font-size: clamp(.7rem, 1.2vw, .8rem);
    letter-spacing: .38em;
    text-transform: uppercase;
    color: var(--g);
    margin-bottom: 1.6rem;
}

h1 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 300;
    font-size: clamp(4rem, 9vw, 8.5rem);
    line-height: .9;
    letter-spacing: -.02em;
    color: var(--ink);
    text-shadow: 1px 0 rgba(255, 255, 255, 1);
}

    h1 em {
        display: block;
        font-style: italic;
        color: var(--g);
        font-size: .58em;
        letter-spacing: .02em;
        margin-top: .18em;
        text-shadow: inherit;
    }

.h-body {
    max-width: 440px;
    margin-top: 1.8rem;
    font-size: clamp(1rem, 1.8vw, 1.15rem);
    color: var(--ink2);
    line-height: 1.7;
}

.h-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2.2rem;
}

.bp {
    position: relative;
    overflow: hidden;
    display: block;
    padding: .85rem 2rem;
    background: var(--g);
    color: var(--c0);
    font-size: .7rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    font-weight: 400;
    text-decoration: none;
    box-shadow: 0 1px 2px rgba(28, 24, 20, .25), 0 4px 8px rgba(28, 24, 20, .18), 0 10px 20px rgba(122, 95, 52, .22);
    transition: transform .5s var(--ease), box-shadow .5s var(--ease), background-color .5s;
    z-index: 1;
}

    .bp::before,
    .bp::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: var(--gl);
        z-index: -1;
        transition: transform .4s var(--ease);
    }

    .bp::before {
        clip-path: polygon(0 0, 100% 0, 0 100%);
        transform: translate(-100%, -100%) scale(1.02);
        transform-origin: top left;
    }

    .bp::after {
        clip-path: polygon(100% 0, 100% 100%, 0 100%);
        transform: translate(100%, 100%) scale(1.02);
        transform-origin: bottom right;
    }

    .bp:hover::before,
    .bp:hover::after {
        transform: translate(0, 0) scale(1.02);
    }

    .bp:hover {
        box-shadow: 0 2px 4px rgba(28, 24, 20, .3), 0 8px 16px rgba(28, 24, 20, .2), 0 16px 32px rgba(122, 95, 52, .28);
    }

    .bp:active {
        box-shadow: 0 1px 2px rgba(28, 24, 20, .25);
        filter: brightness(.85);
        transform: scale(.98);
    }

.bg {
    position: relative;
    display: block;
    padding: .84rem 2rem;
    border: 1px solid rgba(168, 130, 74, .4);
    color: var(--g);
    font-size: .7rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    background: rgba(250, 250, 248, .8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(8px);
    text-decoration: none;
    cursor: none;
    overflow: hidden;
    z-index: 1;
    box-shadow: 0 1px 2px rgba(28, 24, 20, .25), 0 4px 8px rgba(28, 24, 20, .18), 0 10px 20px rgba(122, 95, 52, .22);
    transition: border-color .5s, background 5s, color .5s var(--ease), box-shadow .5s var(--ease), transform .5s var(--ease);
}

    .bg::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: var(--gl);
        z-index: -1;
        clip-path: polygon(105% 105%, 105% -5%, -5% 105%);
        transform: scale(0);
        transform-origin: bottom right;
        transition: transform .5s var(--ease);
    }

    .bg:hover {
        border-color: var(--gl);
        background: rgba(240,230,208,.5);
        color: var(--c0);
        box-shadow: 0 2px 4px rgba(28, 24, 20, .3), 0 8px 16px rgba(28, 24, 20, .2), 0 16px 32px rgba(122, 95, 52, .28);
    }

        .bg:hover::before {
            transform: scale(2.5);
        }

    .bg:active {
        box-shadow: 0 1px 2px rgba(28, 24, 20, .25);
        transform: translateY(0) scale(.98);
        border-color: var(--gl) !important;
    }

.scroll-hint {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .6rem;
    opacity: 0;
    animation: slideIn 1s 1.8s var(--ease) forwards;
}

@media(max-width : 991px) {
    .scroll-hint {
        left: 44%;
    }
}

.sh-line {
    width: 1px;
    height: 44px;
    background: #ffffff;
    transform-origin: bottom;
    animation: lineGrow 2s ease-in-out infinite alternate;
}

@keyframes lineGrow {
    from {
        transform: scaleY(.3);
    }

    to {
        transform: scaleY(1);
    }
}

.sh-text {
    font-size: .75rem;
    letter-spacing: .25em;
    text-transform: uppercase;
    color: #ffffff;
}

@media (prefers-reduced-motion: reduce) {
    .hero-inner {
        opacity: 1 !important;
        transform: none !important;
        pointer-events: auto !important;
        transition: none !important;
    }
}

@media(max-width : 991px) {
    .hero-inner {
        transform: translateY(250px);
    }

    #home {
        height: calc(100svh + 50px);
    }
}
/* parallax data attribute — applicato via JS */
[data-pax] {
    will-change: transform
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px)
    }

    to {
        opacity: 1;
        transform: none
    }
}

/* ══════ WAVE DIVISORE ══════ */
.wave {
    width: 100%;
    overflow: hidden;
    line-height: 0;
    position: relative;
    z-index: 1;
    background: transparent
}

    .wave svg {
        display: block;
        width: 100%
    }

/* ══════ SEZIONE BASE ══════ */
section {
    position: relative;
    z-index: 1
}

.si {
    max-width: 1320px;
    margin: 0 auto;
    padding: clamp(5rem,9vw,9rem) clamp(1.5rem,5vw,5rem)
}

.s-label {
    display: block;
    font-size: .75rem;
    letter-spacing: .32em;
    text-transform: uppercase;
    color: #fff5e0;
    margin-bottom: 1rem
}

.s-h {
    font-family: 'Cormorant Garamond',serif;
    font-weight: 300;
    font-size: clamp(2.4rem,5vw,4rem);
    line-height: 1.05;
    color: var(--ink)
}

    .s-h em {
        font-style: italic;
        color: var(--g)
    }

.s-rule {
    width: 40px;
    height: 1px;
    background: var(--g);
    margin: 1.5rem 0;
    display: block
}

/* REVEAL */
.rv {
    opacity: 0;
    transform: translateY(30px) translateZ(0);
    transition: opacity .95s var(--ease),transform .95s var(--ease)
}

    .rv.vis {
        opacity: 1;
        transform: translateY(0) translateZ(0)
    }

.d1 {
    transition-delay: .1s
}

.d2 {
    transition-delay: .2s
}

.d3 {
    transition-delay: .35s
}

.d4 {
    transition-delay: .5s
}

/* ══════ COLLEZIONI ══════ */
#collezioni {
    background: var(--c1);
    padding: 0
}

.coll-intro {
    padding: clamp(4rem,8vw,8rem) clamp(1.5rem,5vw,5rem) clamp(2rem,4vw,3rem)
}

.coll-panels {
    position: relative;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 0px;
}

.cp {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    background: var(--c2);
    min-height: 400px;
    text-decoration: none;
}

    .cp:hover {
        background: var(--c2);
    }

.cp-media {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform .8s var(--ease);
    background: var(--c2);
}

    .cp-media img {
        max-width: 62%;
        max-height: 55%;
        width: auto;
        height: auto;
        object-fit: contain;
        filter: saturate(.55) brightness(1.02);
        transition: filter .8s var(--ease), transform .8s var(--ease);
    }

.cp:hover .cp-media {
    transform: scale(1.05);
}

    .cp:hover .cp-media img {
        filter: saturate(1) brightness(1);
    }

.cp-ov {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, #fafaf8, rgba(242, 237, 230, .25) 45%, transparent 75%);
    opacity: .55;
    transition: opacity .6s var(--ease);
}

.cp:hover .cp-ov {
    opacity: .3;
    cursor: none !important;
}

.cp::before,
.cp::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 50px;
    border: 1px solid #D4AF37;
    opacity: 0;
    transition: opacity .5s var(--ease), transform .5s var(--ease);
    z-index: 2;
    pointer-events: none;
}

.cp::before {
    top: 14px;
    left: 14px;
    border-right: none;
    border-bottom: none;
    transform: translate(6px, 6px);
}

.cp::after {
    bottom: 14px;
    right: 14px;
    border-left: none;
    border-top: none;
    transform: translate(-6px, -6px);
}

.cp:hover::before,
.cp:hover::after {
    opacity: .85;
    transform: translate(0, 0);
}

.cp-info {
    position: relative;
    z-index: 1;
    padding: 1.6rem;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .5rem;
    text-align: center;
}

.cp-gem {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-bottom: 0;
    box-shadow: 0 0 8px currentColor, 0 0 0 1px rgba(0,0,0,.12) inset;
    transition: box-shadow .4s var(--ease), transform .4s var(--ease);
    flex-shrink: 0;
}

    .cp-gem:hover,
    .cp:hover .cp-gem {
        box-shadow: 0 0 14px currentColor, 0 0 0 1px rgba(0,0,0,.2) inset;
        transform: scale(1.15);
    }

.cp-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    font-weight: 300;
    color: var(--ink);
    display: block;
    line-height: 1.2;
    letter-spacing: .01em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    transition: color .6s var(--ease), letter-spacing .6s var(--ease);
}

.cp:hover .cp-name {
    color: var(--ink);
    letter-spacing: .05em;
}

.cp-name::after {
    content: '';
    display: block;
    width: 0;
    height: 1px;
    background: #D4AF37;
    margin: .5rem auto 0;
    transition: width .6s var(--ease);
}

.cp:hover .cp-name::after {
    width: 50px;
}

.cp-tag {
    font-size: .6rem;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: var(--g);
    display: block;
    margin-top: 0;
    opacity: 0;
    transform: translateY(4px);
    transition: opacity .5s .1s, transform .5s .1s;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.cp:hover .cp-tag {
    opacity: 1;
    transform: none;
}

/* dot colori */
.gc1 {
    color: #C9C9C1;
    background: #C9C9C1;
}
/* grigio chiaro */
.gc2 {
    color: #B4BB6E;
    background: #B4BB6E;
}
/* blu */
.gc3 {
    color: #FFFFFF;
    background: #FFFFFF;
}
/* bianco */
.gc4 {
    color: #D4AF37;
    background: #D4AF37;
}
/* gold */
.gc5 {
    color: #87CEEB;
    background: rgba(135, 206, 235, .35);
}



/* ══════ TABLET: 2 colonne, grid come su mobile ══════ */
@media(max-width:991px) {
    .coll-panels {
        grid-template-columns: repeat(2, 1fr);
    }

    .cp {
        min-height: 320px;
    }

    .cp-info {
        padding: 1.3rem;
        gap: .4rem;
    }

    .cp-name {
        font-size: clamp(1rem, 2.5vw, 1.3rem);
    }

    .cp-tag {
        opacity: 1;
        transform: none;
    }
}

@media(max-width:540px) {
    .coll-panels {
        grid-template-columns: repeat(2, 1fr);
    }

    .cp {
        min-height: 260px;
    }

        .cp::before,
        .cp::after {
            width: 28px;
            height: 28px;
        }

    .cp-media img {
        max-width: 70%;
        max-height: 45%;
    }

    .cp-info {
        padding: 1rem .8rem;
        gap: .35rem;
    }

    .cp-gem {
        width: 6px;
        height: 6px;
    }

    .cp-name {
        font-size: .95rem;
        white-space: normal;
        line-height: 1.15;
    }

        .cp-name::after {
            margin: .35rem auto 0;
        }

    .cp-tag {
        font-size: .55rem;
        letter-spacing: .1em;
        white-space: normal;
    }
}
/* ══════ ARTICOLI COLLEZIONE ══════ */
#articolo-collezione {
    padding: 50px 0px;
}

.ac-grid {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    padding: 4rem clamp(1.5rem, 4vw, 4rem);
    margin: 0 auto;
    max-width: 1250px;
}

.ac-empty-state {
    text-align: center;
}

.ac-empty-text {
    font-size: clamp(1rem, 2vw, 1.15rem);
    color: #7A6A5A;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}


.ac-empty-cta {
    display: inline-flex;
    padding: .8rem 2rem;
    border: 1px solid #A8824A;
    color: #A8824A;
    text-decoration : none;
    letter-spacing : .08em;
    text-transform : uppercase;
    font-size : .75rem;
    border-radius : 4px;
    transition : background .3s var(--ease), color .3s var(--ease);
}

    .ac-empty-cta:hover {
        background: #A8824A;
        color: #fff;
    }

.ac-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 5rem;
    cursor: none !important;
    text-decoration: none;
    min-height: 420px;
}

    /* Riga dispari (1ª, 3ª, ...): immagine colonna 1, testo colonna 2 (ordine naturale del markup) */
    .ac-card .ac-articolo {
        grid-column: 1;
        grid-row: 1;
        justify-self: center;
    }

    .ac-card .ac-info {
        grid-column: 2;
        grid-row: 1;
        justify-self: center;
    }

    /* Righe pari (2ª, 4ª, ...): inverto le colonne — testo a sinistra, immagine a destra */
    .ac-card:nth-child(even) .ac-articolo {
        grid-column: 2;
        justify-self: center;
    }

    .ac-card:nth-child(even) .ac-info {
        grid-column: 1;
        justify-self: center;
    }

.ac-articolo {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.ac-img-base {
    position: relative;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform .6s var(--ease);
}

.ac-card:hover .ac-img-base {
    transform: scale(1.05);
}

.ac-info {
    padding: 1rem 2rem;
}

.ac-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 300;
    color: var(--gd);
    display: block;
    line-height: 1.25;
    letter-spacing: .01em;
    text-transform: uppercase;
}

.ac-info::after {
    content: '';
    display: block;
    width: 40px;
    height: 1px;
    background: var(--gd);
    opacity: .5;
    margin: 1.2rem 0;
}

.ac-desc, .ac-desc p {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.15rem;
    font-weight: 300;
    line-height: 1.75;
    color: var(--ink);
    opacity: .75;
    display: block;
    max-width: 46ch;
    letter-spacing: .01em;
}

    .ac-desc p:not(:last-child) {
        margin-bottom: 1rem;
    }


.ac-gallery-dots {
    display: flex;
    gap: 5px;
    margin-top: 12px;
    flex-wrap: wrap;
}


.ac-dot-wrapper {
    position: relative;
    display: inline-block;
    cursor: none;
}

.ac-dot-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px; /* area di hover reale, anche per il JS */
    height: 30px;
    cursor: none;
    /*background: rgba(255,0,0,.2);*/ /*/ /* decommenta per debug visivo */
}

.ac-dot {
    width: 15px; /* solo il dot visibile resta piccolo */
    height: 15px;
    border-radius: 50%;
    background-color: var(--c2, #ccc);
    border: 1px solid rgba(0,0,0,0.2);
    transition: transform 0.2s ease, background-color 0.2s ease;
    pointer-events: none;
}


.ac-dot-wrapper:hover .ac-dot {
    transform: scale(1.2);
    background-color: var(--c1, #333);
}


.ac-preview-box {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    width: 100px;
    height: 100px;
    background: #fff;
    border: 2px solid #fff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    border-radius: 4px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 10;
}


.ac-dot-wrapper:hover .ac-preview-box {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}


.ac-preview-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}


.ac-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(15,13,10,.88);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .45s var(--ease);
}

    .ac-lightbox.open {
        opacity: 1;
        pointer-events: auto
    }

.ac-lb-inner {
    position: relative;
    max-height: 75svh;
    max-width: min(1000px, 90vw);
    opacity: 0;
    transform: scale(.96) translateY(8px);
    transition: opacity .45s .05s var(--ease), transform .45s .05s var(--ease);
}

.ac-lightbox.open .ac-lb-inner {
    opacity: 1;
    transform: none
}

.ac-lb-img {
    display: block;
    max-width: 100%;
    max-height: 100svh;
    object-fit: contain;
    box-shadow: 0 20px 80px rgba(0, 0, 0, .5), 0 0 0 1px rgba(201, 169, 110, .15);
}

.ac-lb-close {
    position: absolute;
    top: -.8rem;
    right: -.8rem;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(168,130,74,.9);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: none !important;
    transition: background .25s,transform .25s;
}

    .ac-lb-close:hover {
        background: var(--gl);
        transform: scale(1.1)
    }

    .ac-lb-close svg {
        width: 14px;
        height: 14px;
        stroke: #0F0D0A;
        fill: none;
        stroke-width: 2
    }

/* frecce navigazione */
.ac-lb-prev, .ac-lb-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: rgba(168,130,74,.15);
    border: 1px solid rgba(168,130,74,.3);
    border-radius: 50%;
    cursor: none !important;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .25s,border-color .25s;
    color: rgba(240,230,208,.8);
}

.ac-lb-prev {
    left: -50px
}

.ac-lb-next {
    right: -50px
}

    .ac-lb-prev:hover, .ac-lb-next:hover {
        background: rgba(168,130,74,.35);
        border-color: var(--g);
    }

    .ac-lb-prev svg, .ac-lb-next svg {
        width: 16px;
        height: 16px;
        stroke: currentColor;
        fill: none;
        stroke-width: 1.5;
    }
/* contatore */
.ac-lb-counter {
    position: absolute;
    bottom: -3.8rem;
    left: 0;
    right: 0;
    text-align: center;
    font-size: .62rem;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: rgba(168,130,74,.5);
}

@media(max-width:600px) {
    .ac-lb-prev {
        left: -16px;
        top: auto;
        bottom: -56px;
        transform: none
    }

    .ac-lb-next {
        right: -16px;
        top: auto;
        bottom: -56px;
        transform: none
    }
}

@media (max-width: 768px) {
    .ac-card {
        grid-template-columns: 1fr;
    }

    .ac-preview-box {
        display: none;
    }

    .ac-card .ac-articolo,
    .ac-card:nth-child(even) .ac-articolo {
        grid-column: 1;
        grid-row: 1;
    }

    .ac-card .ac-info,
    .ac-card:nth-child(even) .ac-info {
        grid-column: 1;
        grid-row: 2;
    }
}

/* ═══════════ DOT RICHIESTA PRODOTTO ═══════════ */
.ac-request-dot {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: var(--gd);
    border: 1px solid #93897ff7;
    margin-top: 12px;
    margin-left: 12px;
    transition: background .2s ease;
}

    .ac-request-dot:hover {
        background: var(--gold, #b8935f);
    }

    .ac-request-dot svg {
        padding: 1px;
    }

/* riga contenitore dots + request-dot */
.ac-gallery-row {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

/* ═══════════ MODALE RICHIESTA PRODOTTO ═══════════ */
.arq-overlay {
    position: fixed;
    inset: 0;
    z-index: 9998;
    background: rgba(0,0,0,.6);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 30px 15px;
}

    .arq-overlay.open {
        display: flex;
    }

body.arq-modal-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
}

.arq-panel {
    position: relative;
    width: min(560px, 100%);
    max-height: 90vh;
    overflow-y: auto;
    background: #1a1a1a;
    border-radius: 4px;
    padding: clamp(1.5rem, 4vw, 2.5rem);
    color: #fff;
}

.arq-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, .3);
    cursor: none !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .arq-close svg {
        width: 14px;
        height: 14px;
        stroke: #fff;
        fill: none;
        stroke-width: 2;
    }

.arq-title {
    font-size: 1.4rem;
    margin: 0 0 6px;
}

.arq-subtitle {
    font-size: .85rem;
    color: rgba(255,255,255,.6);
    margin: 0 0 22px;
}

.arq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.arq-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

    .arq-field.full {
        grid-column: 1 / -1;
    }

    .arq-field label {
        font-size: .7rem;
        letter-spacing: .1em;
        /*text-transform: uppercase;*/
        color: rgba(255,255,255,.7);
    }

    .arq-field input,
    .arq-field textarea {
        background: rgba(255,255,255,.06);
        border: 1px solid rgba(255,255,255,.18);
        border-radius: 3px;
        padding: 10px 12px;
        color: #fff;
        font-size: .95rem;
        font-family: inherit;
    }

    .arq-field textarea {
        resize: vertical;
        min-height: 90px;
    }

        .arq-field input:focus,
        .arq-field textarea:focus {
            outline: none;
            border-color: var(--gold, #b8935f);
        }

.arq-error {
    font-size: .72rem;
    color: #e57373;
    min-height: 14px;
}

.arq-submit-row {
    margin-top: 22px;
    display: flex;
    justify-content: flex-end;
}

.arq-submit-btn {
    background: var(--gold, #b8935f);
    color: #111;
    border: none;
    padding: 12px 28px;
    font-size: .8rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    cursor: none !important;
    border-radius: 2px;
    transition: opacity .2s ease;
}

    .arq-submit-btn:hover {
        opacity: .85;
    }

    .arq-submit-btn:disabled {
        opacity: .5;
        cursor: not-allowed;
    }

#preloader_collezione {
    position: fixed;
    inset: 0;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #F7F3EC;
    overflow: hidden;
    transition: transform .9s cubic-bezier(.65,0,.35,1);
    will-change: transform;
}

    #preloader_collezione.jl-exit {
        transform: translateX(-100%);
    }

    #preloader_collezione img {
        width: clamp(180px, 50vw, 300px);
        height: auto;
        transform: translateX(-350%);
        opacity: 0;
        animation: jl-img-in 1s cubic-bezier(.16,1,.3,1) .15s forwards;
        will-change: transform, opacity;
    }

@keyframes jl-img-in {
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

body.jl-preloading {
    overflow: hidden;
}

@media(max-width : 991px) {
    .arq-close {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 560px) {
    .arq-grid {
        grid-template-columns: 1fr;
    }
}

/* ══════ FULLSCREEN IMMAGINE SEZIONE ══════ */
#image-section {
    position: relative;
    height: 75vh;
    min-height: 500px;
    overflow: hidden;
}

.is-media {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden
}

    .is-media img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transform: scale(1.12);
        transition: transform 1.5s ease-out;
    }

    .is-media.in-view img {
        transform: scale(1)
    }

.is-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(to right, rgba(250,250,248,.72) 0%, rgba(250,250,248,.42) 40%, rgba(250,250,248,.1) 100%);
}

.is-glass {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background: radial-gradient(ellipse 50% 60% at 72% 48%, rgba(168,130,74,.1) 0%,transparent 70%);
}

.is-content {
    position: relative;
    z-index: 3;
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0 clamp(2rem,7vw,7rem);
}

.is-card {
    background: var(--glass);
    backdrop-filter: blur(18px) saturate(1.3);
    -webkit-backdrop-filter: blur(18px) saturate(1.3);
    border: 1px solid var(--glassb);
    padding: clamp(2rem,4vw,3.5rem);
    max-width: 480px;
}

.is-label {
    font-size: .75rem;
    letter-spacing: .28em;
    text-transform: uppercase;
    color: var(--g);
    display: block;
    margin-bottom: .8rem
}

.is-h {
    font-family: 'Cormorant Garamond',serif;
    font-weight: 300;
    font-size: clamp(1.8rem,3.5vw,3rem);
    line-height: 1.1;
    color: var(--ink)
}

    .is-h em {
        font-style: italic;
        color: var(--g)
    }

.is-p {
    margin-top: 1rem;
    font-size: 1.1rem;
    color: var(--ink2);
    line-height: 1.85
}

.is-link {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    margin-top: 1.5rem;
    font-size: .75rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    cursor: none;
    color: var(--g);
    text-decoration: none;
    transition: gap .3s
}

    .is-link:hover {
        gap: .9rem
    }

.is-arrow {
    width: 28px;
    height: 1px;
    background: var(--g);
    display: inline-block;
    position: relative;
    top: 1px
}

}

/* ══════ PARALLAX LAYER GLOBALE ══════ */
/* Ogni layer si muove a velocità diverse via JS */
.px-layer {
    will-change: transform;
    transform: translateZ(0)
}

/* ══════ ATELIER ══════ */
#atelier {
    background: var(--c0)
}

.aw {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(3rem,7vw,8rem);
    align-items: start;
    margin-top: 3rem
}

.av {
    position: sticky;
    top: calc(var(--nh)+2rem);
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center
}

.av-rings {
    position: absolute;
    inset: 0
}

.ar {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 1px solid rgba(168,130,74,.18);
    animation: spin 30s linear infinite
}

    .ar:nth-child(2) {
        inset: 13%;
        animation-duration: 22s;
        animation-direction: reverse
    }

    .ar:nth-child(3) {
        inset: 26%;
        animation-duration: 16s
    }

    .ar::before {
        content: '';
        position: absolute;
        width: 5px;
        height: 5px;
        background: rgba(168,130,74,.4);
        border-radius: 50%;
        top: -2.5px;
        left: calc(50% - 2.5px)
    }

.av-gem {
    position: relative;
    z-index: 1;
    width: 90px;
    height: 90px
}

@keyframes spin {
    from {
        transform: rotate(0)
    }

    to {
        transform: rotate(360deg)
    }
}
/* forma */
label.fl {
    display: block;
    font-size: .62rem;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: var(--g);
    margin-bottom: .4rem;
    margin-top: 1rem
}

.fi, .fse, .fta {
    width: 100%;
    padding: .82rem 1rem;
    background: var(--c1);
    border: 1px solid var(--c2);
    color: var(--ink);
    font-family: 'Jost',sans-serif;
    font-size: .87rem;
    outline: none;
    transition: border-color .3s;
    border-radius: 0;
    -webkit-appearance: none
}

    .fi:focus, .fse:focus, .fta:focus {
        border-color: var(--g)
    }

    .fi::placeholder, .fta::placeholder {
        color: var(--ink3)
    }

.fta {
    height: 108px;
    resize: vertical
}

.fse {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath fill='%23A8824A' d='M5 6L0 0h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem
}

.fu2 {
    border: 1px dashed rgba(168,130,74,.3);
    padding: 1.1rem;
    text-align: center;
    position: relative;
    transition: border-color .3s
}

    .fu2:hover {
        border-color: var(--g)
    }

    .fu2 input {
        position: absolute;
        opacity: 0;
        width: 1px;
        height: 1px
    }

    .fu2 lbl {
        font-size: .78rem;
        color: var(--ink3)
    }

        .fu2 lbl span {
            color: var(--g)
        }

.fr2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem
}

.qbox {
    margin-top: 1.2rem;
    padding: .85rem 1rem;
    background: rgba(168,130,74,.07);
    border-left: 2px solid rgba(168,130,74,.3)
}

    .qbox p {
        font-size: .78rem;
        color: var(--ink2);
        line-height: 1.6
    }

    .qbox strong {
        color: var(--g)
    }

/* ══════ PRESS ══════ */
#press {
    background: var(--c1);
    overflow: hidden
}

.pm {
    overflow: hidden;
    padding: 1.4rem 0;
    margin-top: 2.5rem;
    border-top: 1px solid var(--c2);
    border-bottom: 1px solid var(--c2)
}

.pmt {
    display: flex;
    gap: 3.5rem;
    animation: mq 26s linear infinite;
    width: max-content
}

    .pmt:hover {
        animation-play-state: paused
    }

.pg2 {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(min(240px,100%),1fr));
    gap: 1.5rem;
    margin-top: 2.8rem
}

.pc2 {
    padding: 1.8rem;
    background: var(--c0);
    border: 1px solid var(--c2);
    transition: border-color .3s,transform .4s var(--ease)
}

    .pc2:hover {
        border-color: rgba(168,130,74,.4);
        transform: translateY(-4px)
    }

.ps2 {
    font-size: .6rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--g);
    display: block;
    margin-bottom: .65rem
}

.pq2 {
    font-family: 'Cormorant Garamond',serif;
    font-size: 1rem;
    font-style: italic;
    color: var(--ink2);
    line-height: 1.65
}

@keyframes mq {
    from {
        transform: translateX(0)
    }

    to {
        transform: translateX(-50%)
    }
}

/* PARALLAX IMAGES SECTION */
#parallax-imgs {
    position: relative;
    height: 60vh;
    min-height: 400px;
    overflow: hidden;
    background: var(--c2);
}

.pi-layer {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    will-change: transform;
}

    .pi-layer img {
        position: relative;
        width: stretch;
        opacity: .45;
    }

.pi-content {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 1rem;
    text-align: center;
    padding: 2rem;
}

.pi-title {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 300;
    font-size: clamp(3rem, 6vw, 5rem);
    color: #FFF;
    line-height: .95;
}

    .pi-title em {
        font-style: italic;
        color: var(--g)
    }


@media(max-width : 991px) {
    .pi-layer img {
        height: 100%;
        inset: 10% 0%;
        width: auto;
    }
}
/* ══════ STORIE ══════ */
#storie {
    background: var(--c0)
}

.stg {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(min(290px,100%),1fr));
    gap: 2rem;
    margin-top: 3rem
}

.stc {
    text-decoration: none;
    display: block
}

.stimg {
    aspect-ratio: 4/3;
    background: var(--c1);
    overflow: hidden;
    margin-bottom: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: background .4s
}

    .stimg svg {
        width: 54px;
        height: 54px;
        opacity: .12;
        transition: transform .7s var(--ease),opacity .5s
    }

.stc:hover .stimg svg {
    transform: scale(1.14);
    opacity: .24
}

.st-line {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: rgba(168,130,74,.5);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .5s var(--ease)
}

.stc:hover .st-line {
    transform: scaleX(1)
}

.st-cat {
    font-size: .6rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--g);
    display: block;
    margin-bottom: .35rem
}

.st-tit {
    font-family: 'Cormorant Garamond',serif;
    font-size: 1.1rem;
    font-weight: 300;
    color: var(--ink);
    line-height: 1.3;
    margin-bottom: .45rem;
    transition: color .25s
}

.stc:hover .st-tit {
    color: var(--g)
}

.st-ex {
    font-size: .82rem;
    color: var(--ink3);
    line-height: 1.7
}

/* ══════ FOOTER ══════ */


.fb em {
    font-style: italic;
    color: var(--g)
}

.fl2 a {
    color: rgba(168,130,74,.7);
    text-decoration: none
}

    .fl2 a:hover {
        color: var(--g)
    }




/* GLASSMORPHISM CARD GALLEGGIANTE */
.glass-float {
    background: var(--glass);
    backdrop-filter: blur(16px) saturate(1.3);
    -webkit-backdrop-filter: blur(16px) saturate(1.3);
    border: 1px solid var(--glassb);
    box-shadow: 0 4px 30px rgba(168,130,74,.06), inset 0 1px 0 rgba(255,255,255,.5);
}


/* ══════ LA MAISON ══════ */
#maison {
    background: var(--c0);
    overflow: hidden
}

/* HERO LA MAISON — split verticale testo + immagine */
.lm-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 100svh;
}

.lm-hero-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(6rem,12vh,10rem) clamp(2rem,5vw,5rem) clamp(4rem,8vh,6rem);
    position: relative;
}

.lm-hero-right {
    position: relative;
    overflow: hidden;
}

.lm-hero-right-img {
    position: absolute;
    inset: 0;
    background: var(--c2);
    display: flex;
    align-items: center;
    justify-content: center;
}

    .lm-hero-right-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transform: scale(1);
        transition: transform 1.8s var(--ease);
        filter: sepia(0.12) contrast(1.05);
    }

    .lm-hero-right-img.revealed img {
        transform: scale(0.92)
    }
/* overlay leggero sul lato immagine */
.lm-hero-right::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(to right,rgba(250,250,248,.15) 0%,transparent 40%);
    pointer-events: none;
}
/* linea oro verticale divisore */
.lm-hero-left::after {
    content: '';
    position: absolute;
    right: 0;
    top: 10%;
    bottom: 10%;
    width: 5px;
    background: linear-gradient(to bottom, transparent, var(--g), transparent);
    opacity: .35;
}

.lm-eyebrow-tag {
    display: inline-flex;
    align-items: center;
    gap: .8rem;
    margin-bottom: 2rem;
}

    .lm-eyebrow-tag::before {
        content: '';
        width: 32px;
        height: 1px;
        background: var(--g);
        flex-shrink: 0;
    }

    .lm-eyebrow-tag span {
        font-size: .75rem;
        letter-spacing: .32em;
        text-transform: uppercase;
        color: var(--g);
    }

.lm-hero-title {
    font-family: 'Cormorant Garamond',serif;
    font-weight: 300;
    font-size: clamp(3rem,6vw,6rem);
    line-height: .9;
    letter-spacing: -.02em;
    color: var(--ink);
    margin-bottom: .6rem;
}

    .lm-hero-title em {
        display: block;
        font-style: italic;
        color: var(--g);
        font-size: .55em;
        letter-spacing: .06em;
        margin-top: .2em;
    }

.lm-hero-quote {
    font-family: 'Cormorant Garamond',serif;
    font-style: italic;
    font-size: clamp(1rem,1.8vw,1.25rem);
    color: var(--ink2);
    line-height: 1.7;
    margin-top: 1.5rem;
    max-width: 420px;
    border-left: 2px solid rgba(168,130,74,.3);
    padding-left: 1.2rem;
}

/* STORIA DI FAMIGLIA — parallax orizzontale invertito */
.lm-storia {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 80vh;
    background: var(--c1);
}

.lm-storia-img {
    position: relative;
    overflow: hidden;
    order: -1;
    min-height: 500px;
    width: auto;
    height: 800px;
}

    .lm-storia-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        position: absolute;
        inset: 0;
        filter: sepia(0.08) contrast(1.04);
        transform: scale(1.06);
        transition: transform 2s var(--ease);
    }

    .lm-storia-img.revealed img {
        transform: scale(0.92)
    }
/* cornice oro sull'immagine */
.lm-storia-frame {
    position: absolute;
    inset: 1.5rem;
    z-index: 1;
    border: 1px solid rgba(168,130,74,.25);
    pointer-events: none;
}

    .lm-storia-frame::before {
        content: '';
        position: absolute;
        top: -6px;
        left: -6px;
        right: -6px;
        bottom: -6px;
        border: 1px solid rgba(168,130,74,.1);
    }

.lm-storia-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(4rem,8vw,7rem) clamp(2rem,5vw,5rem);
}

.lm-storia-h {
    font-family: 'Cormorant Garamond',serif;
    font-weight: 300;
    font-size: clamp(1.8rem,3.5vw,3rem);
    color: var(--ink);
    line-height: 1.05;
    margin-bottom: 1.5rem;
}

    .lm-storia-h em {
        font-style: italic;
        color: var(--g)
    }

.lm-storia-p {
    font-size: 1.1rem;
    color: var(--ink2);
    line-height: 1.7;
    margin-bottom: 1.2rem;
}

.lm-storia-emph {
    font-family: 'Cormorant Garamond',serif;
    font-size: 1.1rem;
    font-style: italic;
    color: var(--ink);
    border-left: 2px solid rgba(168,130,74,.4);
    padding-left: 1.1rem;
    margin: 1.5rem 0;
    line-height: 1.6;
}

/* NUMERO FONDAZIONE ANIMATO */
.lm-anno {
    display: inline-flex;
    align-items: baseline;
    gap: .5rem;
    margin-top: 2rem;
}

.lm-anno-n {
    font-family: 'Cormorant Garamond',serif;
    font-size: 5rem;
    font-weight: 300;
    color: rgba(168,130,74,.15);
    line-height: 1;
    letter-spacing: -.03em;
}

.lm-anno-label {
    font-size: .65rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--ink3)
}

/* GIULIA RASTELLO — sezione immersiva */
.lm-giulia {
    position: relative;
    min-height: 90vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    background: var(--c0);
}

.lm-giulia-bg {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 55%;
    overflow: hidden;
}

    .lm-giulia-bg img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: top center;
        filter: sepia(0.1) contrast(1.06);
        transform: scale(1.06);
        transition: transform 2s var(--ease);
    }

    .lm-giulia-bg.revealed img {
        transform: scale(1)
    }
    /* gradiente che fonde immagine con sfondo */
    .lm-giulia-bg::before {
        content: '';
        position: absolute;
        inset: 0;
        z-index: 1;
        background: linear-gradient(to right,var(--c0) 0%,rgba(250,250,248,.85) 30%,rgba(250,250,248,.3) 60%,transparent 100%);
    }

.lm-giulia-content {
    position: relative;
    z-index: 1;
    max-width: 52%;
    padding: clamp(5rem,10vh,8rem) clamp(2rem,5vw,5rem);
}

.lm-gia-badge {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    padding: .4rem .9rem;
    border: 1px solid rgba(168,130,74,.3);
    background: rgba(168,130,74,.06);
    margin-bottom: 2rem;
}

    .lm-gia-badge span {
        font-size: .7rem;
        letter-spacing: .2em;
        text-transform: uppercase;
        color: var(--g)
    }

.lm-giulia-name {
    font-family: 'Cormorant Garamond',serif;
    font-weight: 300;
    font-size: clamp(2.5rem,5vw,4.5rem);
    line-height: .9;
    color: var(--ink);
    margin-bottom: .5rem;
}

    .lm-giulia-name em {
        display: block;
        font-style: italic;
        color: var(--g);
        font-size: .55em;
        letter-spacing: .06em
    }

.lm-giulia-p {
    font-size: 1.1rem;
    color: var(--ink2);
    line-height: 1.9;
    max-width: 420px;
    margin-top: 1.2rem;
}

.lm-giulia-emph {
    font-family: 'Cormorant Garamond',serif;
    font-size: 1.08rem;
    font-style: italic;
    color: var(--ink);
    margin-top: 1.5rem;
    line-height: 1.65;
    max-width: 400px;
}
/* Titoli GIA */
.lm-titoli {
    display: flex;
    flex-direction: column;
    gap: .7rem;
    margin-top: 2rem;
}

.lm-titolo {
    display: flex;
    align-items: center;
    gap: .8rem;
}

    .lm-titolo::before {
        content: '';
        width: 6px;
        height: 6px;
        background: var(--g);
        border-radius: 50%;
        flex-shrink: 0;
    }

.lm-titolo-t {
    font-size: 0.9rem;
    color: var(--ink2);
    letter-spacing: .05em
}

    .lm-titolo-t strong {
        font-weight: 400;
        color: var(--g)
    }

/* VALORI — blocco immersivo dark */
.lm-valori {
    position: relative;
    overflow: hidden;
    background: #0F0D0A;
    padding: clamp(5rem,10vw,9rem) clamp(1.5rem,5vw,5rem);
}
    /* texture oro: punti luminosi random via SVG pattern */
    .lm-valori::before {
        content: '';
        position: absolute;
        inset: 0;
        pointer-events: none;
        z-index: 0;
        background-image: radial-gradient(1px 1px at 15% 20%, rgba(201,169,110,.35) 0%, transparent 100%), radial-gradient(1px 1px at 40% 60%, rgba(201,169,110,.2) 0%, transparent 100%), radial-gradient(1.5px 1.5px at 65% 35%, rgba(201,169,110,.3) 0%, transparent 100%), radial-gradient(1px 1px at 80% 75%, rgba(201,169,110,.25) 0%, transparent 100%), radial-gradient(2px 2px at 25% 80%, rgba(201,169,110,.15) 0%, transparent 100%), radial-gradient(1px 1px at 90% 15%, rgba(201,169,110,.3) 0%, transparent 100%), radial-gradient(1.5px 1.5px at 55% 90%, rgba(201,169,110,.2) 0%, transparent 100%), radial-gradient(1px 1px at 72% 50%, rgba(201,169,110,.18) 0%, transparent 100%);
    }
    /* riga oro orizzontale decorativa */
    .lm-valori::after {
        content: '';
        position: absolute;
        left: clamp(1.5rem,5vw,5rem);
        right: clamp(1.5rem,5vw,5rem);
        top: 0;
        height: 1px;
        background: linear-gradient(to right,transparent,rgba(168,130,74,.6),rgba(201,169,110,.9),rgba(168,130,74,.6),transparent);
        z-index: 1;
    }

.lm-valori-head {
    position: relative;
    z-index: 2;
    text-align: center;
    margin-bottom: clamp(3rem,6vw,5rem);
}

    .lm-valori-head .s-label {
        color: var(--gl);
        letter-spacing: .35em
    }

    .lm-valori-head .s-h {
        color: #F5EDD8
    }

        .lm-valori-head .s-h em {
            color: var(--gl)
        }

/* GRIGLIA: 3 card verticali separate da linee oro */
.lm-valori-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    gap: 0;
}
    /* linee verticali divisorie */
    .lm-valori-grid::before, .lm-valori-grid::after {
        content: '';
        position: absolute;
        top: 10%;
        bottom: 10%;
        width: 1px;
        background: linear-gradient(to bottom,transparent,rgba(168,130,74,.4),rgba(201,169,110,.6),rgba(168,130,74,.4),transparent);
    }

    .lm-valori-grid::before {
        left: 33.33%
    }

    .lm-valori-grid::after {
        left: 66.66%
    }

.lm-val {
    padding: clamp(2.5rem,4vw,3.5rem) clamp(2rem,3.5vw,3rem);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
    /* riflesso luce al hover — si muove da sinistra a destra */
    .lm-val::before {
        content: '';
        position: absolute;
        top: -50%;
        left: -80%;
        width: 60%;
        height: 200%;
        background: linear-gradient(105deg,transparent 40%,rgba(201,169,110,.06) 50%,transparent 60%);
        transition: left .8s var(--ease);
        pointer-events: none;
    }

    .lm-val:hover::before {
        left: 120%
    }

/* gemma SVG centrale — ruota lentamente */
.lm-val-gem {
    width: clamp(80px,10vw,120px);
    height: clamp(80px,10vw,120px);
    margin-bottom: 2rem;
    position: relative;
    flex-shrink: 0;
}

    .lm-val-gem svg {
        width: 100%;
        height: 100%;
        animation: gemSpin 25s linear infinite;
        transform-origin: center;
        filter: drop-shadow(0 0 12px rgba(168,130,74,.15));
        transition: filter .5s;
    }

.lm-val:hover .lm-val-gem svg {
    filter: drop-shadow(0 0 22px rgba(201,169,110,.35));
    animation-duration: 12s;
}
/* cerchio di luce pulsante dietro la gemma */
.lm-val-gem::before {
    content: '';
    position: absolute;
    inset: -20%;
    border-radius: 50%;
    background: radial-gradient(circle,rgba(168,130,74,.08) 0%,transparent 70%);
    animation: auraBreath 4s ease-in-out infinite;
}

.lm-val:hover .lm-val-gem::before {
    background: radial-gradient(circle,rgba(201,169,110,.18) 0%,transparent 70%);
}

/* numero decorativo sotto la gemma */
.lm-val-num {
    font-family: 'Cormorant Garamond',serif;
    font-size: .7rem;
    letter-spacing: .4em;
    color: rgba(201,169,110,.3);
    margin-bottom: 1rem;
    text-transform: uppercase;
}
/* label categoria */
.lm-val-cat {
    font-size: .7rem;
    letter-spacing: .25em;
    text-transform: uppercase;
    color: var(--gl);
    margin-bottom: .6rem;
    opacity: .8;
}
/* titolo */
.lm-val-title {
    font-family: 'Cormorant Garamond',serif;
    font-size: clamp(1.4rem,2.5vw,2rem);
    font-weight: 300;
    color: #F5EDD8;
    line-height: 1.1;
    margin-bottom: 1.2rem;
}

    .lm-val-title em {
        display: block;
        font-style: italic;
        color: var(--gl);
        font-size: .72em;
        margin-top: .2em;
        letter-spacing: .04em;
    }
/* linea oro orizzontale sotto il titolo */
.lm-val-rule {
    width: 32px;
    height: 1px;
    background: linear-gradient(to right,transparent,var(--g),transparent);
    margin: 0 auto 1.2rem;
    flex-shrink: 0;
    transition: width .5s var(--ease);
}

.lm-val:hover .lm-val-rule {
    width: 60px
}

.lm-val-p {
    font-size: 1rem;
    color: rgba(212, 200, 180, .75);
    line-height: 1.7;
    max-width: fit-content;
}

/* animazioni keyframes */
@keyframes gemSpin {
    from {
        transform: rotate(0deg)
    }

    to {
        transform: rotate(360deg)
    }
}

@keyframes auraBreath {
    0%,100% {
        transform: scale(1);
        opacity: .7
    }

    50% {
        transform: scale(1.15);
        opacity: 1
    }
}

@media(max-width:991px) {
    .lm-hero, .lm-storia {
        grid-template-columns: 1fr
    }

    .lm-hero-left::after {
        display: none
    }

    .lm-hero-right {
        min-height: 55vw;
        position: relative
    }

    .lm-hero-right-img {
        position: relative;
        height: auto;
    }

    .lm-storia-img {
        order: 0;
        min-height: 400px;
        height: auto;
    }

    .lm-giulia-bg {
        width: 100%;
        opacity: .25
    }

    .lm-giulia-content {
        max-width: 100%
    }

    .lm-giulia-bg::before {
        background: rgba(250,250,248,.7)
    }

    .lm-valori-grid {
        grid-template-columns: 1fr
    }

        .lm-valori-grid::before, .lm-valori-grid::after {
            display: none
        }

    .lm-val {
        border-bottom: 1px solid rgba(168,130,74,.2)
    }
}

@media(max-width:640px) {
    .lm-hero-title {
        font-size: clamp(2.5rem,10vw,4rem)
    }

    .lm-anno-n {
        font-size: 3.5rem
    }
}


/* MARQUEE NOMI */
.pm {
    overflow: hidden;
    padding: 1.4rem 0;
    border-top: 1px solid var(--c2);
    border-bottom: 1px solid var(--c2)
}

.pmt {
    display: flex;
    gap: 3.5rem;
    animation: mq 26s linear infinite;
    width: max-content
}

    .pmt:hover {
        animation-play-state: paused
    }

.pmi {
    font-family: 'Cormorant Garamond',serif;
    font-size: 1.2rem;
    font-weight: 300;
    font-style: italic;
    color: var(--c3);
    letter-spacing: .1em;
    white-space: nowrap;
    transition: color .3s;
    cursor: none
}

    .pmi:hover {
        color: var(--g)
    }

/* GRIGLIA COPERTINE */
.press-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 1rem;
    margin-top: 3rem;
}

@media(max-width:991px) {
    .press-grid {
        grid-template-columns: repeat(3,1fr)
    }
}

@media(max-width:600px) {
    .press-grid {
        grid-template-columns: repeat(2,1fr)
    }
}

.press-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3/4;
    background: var(--c2);
    cursor: zoom-in;
}

/* overlay scuro su ogni card */
.press-item-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(to top,rgba(15,13,10,.75) 0%,rgba(15,13,10,.1) 50%,transparent 100%);
    transition: opacity .4s;
}

/* nome testata in basso */
.press-item-name {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
    padding: .9rem 1rem;
    font-family: 'Cormorant Garamond',serif;
    font-size: 1rem;
    font-weight: 300;
    font-style: italic;
    letter-spacing: .1em;
    color: rgba(240,230,208,.85);
    transform: translateY(4px);
    transition: transform .35s var(--ease),color .3s;
}

.press-item:hover .press-item-name {
    transform: none;
    color: var(--gl)
}

/* l'immagine vera */
.press-item-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.05);
    transition: transform .8s var(--ease);
}

.press-item:hover .press-item-img {
    transform: scale(1)
}

/* DISSOLVENZA COPERTINA — lightbox sovrapposto */
.press-lightbox {
    position: fixed;
    inset: 0;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(15,13,10,.88);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .45s var(--ease);
}

    .press-lightbox.open {
        opacity: 1;
        pointer-events: auto
    }

.press-lb-inner {
    position: relative;
    max-height: 75svh;
    max-width: min(500px,90vw);
    opacity: 0;
    transform: scale(.96) translateY(8px);
    transition: opacity .45s .05s var(--ease),transform .45s .05s var(--ease);
}

.press-lightbox.open .press-lb-inner {
    opacity: 1;
    transform: none
}

.press-lb-img {
    display: block;
    max-width: 100%;
    max-height: 75svh;
    object-fit: contain;
    box-shadow: 0 20px 80px rgba(0,0,0,.5),0 0 0 1px rgba(201,169,110,.15);
}

.press-lb-name {
    position: absolute;
    bottom: -2.2rem;
    left: 0;
    right: 0;
    text-align: center;
    font-family: 'Cormorant Garamond',serif;
    font-size: 1rem;
    font-style: italic;
    color: rgba(240,230,208,.7);
    letter-spacing: .12em;
}

.press-lb-close {
    position: absolute;
    top: -.8rem;
    right: -.8rem;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(168,130,74,.9);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: none !important;
    transition: background .25s,transform .25s;
}

    .press-lb-close:hover {
        background: var(--gl);
        transform: scale(1.1)
    }

    .press-lb-close svg {
        width: 14px;
        height: 14px;
        stroke: #0F0D0A;
        fill: none;
        stroke-width: 2
    }

/* frecce navigazione */
.press-lb-prev, .press-lb-nav-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: rgba(168,130,74,.15);
    border: 1px solid rgba(168,130,74,.3);
    border-radius: 50%;
    cursor: none !important;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .25s,border-color .25s;
    color: rgba(240,230,208,.8);
}

.press-lb-prev {
    left: -56px
}

.press-lb-nav-next {
    right: -56px
}

    .press-lb-prev:hover, .press-lb-nav-next:hover {
        background: rgba(168,130,74,.35);
        border-color: var(--g);
    }

    .press-lb-prev svg, .press-lb-nav-next svg {
        width: 16px;
        height: 16px;
        stroke: currentColor;
        fill: none;
        stroke-width: 1.5;
    }
/* contatore */
.press-lb-counter {
    position: absolute;
    bottom: -3.8rem;
    left: 0;
    right: 0;
    text-align: center;
    font-size: .62rem;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: rgba(168,130,74,.5);
}

@media(max-width:600px) {
    .press-lb-prev {
        left: -16px;
        top: auto;
        bottom: -56px;
        transform: none
    }

    .press-lb-nav-next {
        right: -16px;
        top: auto;
        bottom: -56px;
        transform: none
    }
}


/* ══════ STORIE PREZIOSE — carousel orizzontale ══════ */
#storie {
    background: #0F0D0A;
    overflow: hidden;
    position: relative;
}

    #storie::before {
        content: '';
        position: absolute;
        inset: 0;
        pointer-events: none;
        z-index: 0;
        background-image: radial-gradient(1px 1px at 8% 15%,rgba(201,169,110,.15) 0%,transparent 100%), radial-gradient(1.5px 1.5px at 28% 70%,rgba(201,169,110,.1) 0%,transparent 100%), radial-gradient(1px 1px at 52% 30%,rgba(201,169,110,.12) 0%,transparent 100%), radial-gradient(1px 1px at 78% 85%,rgba(201,169,110,.1) 0%,transparent 100%), radial-gradient(2px 2px at 92% 20%,rgba(201,169,110,.08) 0%,transparent 100%), radial-gradient(1px 1px at 35% 90%,rgba(201,169,110,.12) 0%,transparent 100%), radial-gradient(1.5px 1.5px at 68% 55%,rgba(201,169,110,.08) 0%,transparent 100%);
    }

    #storie::after {
        content: '';
        position: absolute;
        left: clamp(1.5rem,5vw,5rem);
        right: clamp(1.5rem,5vw,5rem);
        top: 0;
        height: 1px;
        background: linear-gradient(to right,transparent,rgba(168,130,74,.3),rgba(201,169,110,.6),rgba(168,130,74,.3),transparent);
        z-index: 1;
    }

/* INTESTAZIONE */
.storie-head {
    position: relative;
    z-index: 2;
    max-width: 1320px;
    margin: 0 auto;
    padding: clamp(5rem,9vw,8rem) clamp(1.5rem,5vw,5rem) 0;
}

    .storie-head .s-label {
        color: var(--gl);
        letter-spacing: .35em;
    }

    .storie-head .s-h {
        color: #F5EDD8;
    }

        .storie-head .s-h em {
            color: var(--gl);
        }

.storie-head-sub {
    font-size: 1.1rem;
    color: rgba(212, 200, 180, .5);
    max-width: 420px;
    line-height: 1.7;
    margin-top: .8rem;
}

.storie-carousel-outer {
    position: relative;
    z-index: 2;
    padding: clamp(3rem,5vw,4rem) 0 clamp(4rem,7vw,6rem);
    overflow: hidden;
}

/* traccia scorrevole */
.storie-track {
    display: flex;
    align-items: stretch;
    gap: clamp(1.2rem,2.5vw,2rem);
    transition: transform 1.2s cubic-bezier(0.25, 1, 0.5, 1); /* Transizione più morbida per lo scroll */
    will-change: transform;
    touch-action: pan-y;
}

/* CARD singola */
.storia-card {
    flex: 0 0 clamp(300px,65vw,820px);
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: clamp(280px,38vh,480px);
    border: 1px solid rgba(168,130,74,.08);
    background: #14110E;
    position: relative;
    overflow: hidden;
    /* Rallentata a 1.2s con un ease-out molto elegante per l'effetto seta */
    transition: opacity 1.2s cubic-bezier(0.25, 1, 0.5, 1), transform 1.2s cubic-bezier(0.25, 1, 0.5, 1), filter 1.2s cubic-bezier(0.25, 1, 0.5, 1), border-color 1.2s ease;
}

    .storia-card:not(.active) {
        opacity: .75;
        transform: scale(.97);
        filter: blur(2px);
    }

    .storia-card.active {
        opacity: 1;
        transform: scale(1);
        filter: blur(0);
        border-color: rgb(168 130 74 / 60%);
    }
/* ── VISUAL lato sinistro ── */
.scard-visual {
    position: relative;
    background: #0D0B09;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-right: 1px solid rgba(168,130,74,.08);
}

    /* Trasformato da flash di luce tagliente a bagliore radiale d'atmosfera dorata */
    .scard-visual::after {
        content: '';
        position: absolute;
        inset: 0;
        background: radial-gradient(circle at center, rgba(201,169,110,0.12) 0%, transparent 70%);
        opacity: 0;
        z-index: 2;
        pointer-events: none;
        transition: opacity 1.5s ease;
    }

.scard-gem {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .scard-gem img {
        width: auto;
        height: 200px;
        position: relative;
        z-index: 1;
        display: block;
        opacity: .4;
        transform: scale(1.02); /* Stato iniziale quasi statico */
        transition: opacity 1.5s cubic-bezier(0.25, 1, 0.5, 1), transform 1.5s cubic-bezier(0.25, 1, 0.5, 1);
    }

/* Quando la card è attiva, il gioiello si svela delicatamente */
.storia-card.active .scard-gem img {
    opacity: .85;
    transform: scale(1.05);
}

/* Hover sulla card attiva: l'immagine sale impercettibilmente (effetto esposizione) e si accende la luce d'atmosfera */
.storia-card.active:hover .scard-visual::after {
    opacity: 1;
}

.storia-card.active:hover .scard-gem img {
    opacity: 1;
    transform: scale(1.08) translateY(-4px); /* Micro-sollevamento aristocratico */
}

.scard-num {
    position: absolute;
    bottom: .6rem;
    right: 1rem;
    font-family: 'Cormorant Garamond',serif;
    font-size: clamp(4rem,8vw,7.5rem);
    font-weight: 300;
    color: rgba(201,169,110,.03);
    line-height: 1;
    letter-spacing: -.04em;
    pointer-events: none;
    transition: color 1.2s ease;
    z-index: 3;
}

.storia-card.active:hover .scard-num {
    color: rgba(201,169,110,.4);
}

/* Linea bottom: ora si espande simmetricamente dal centro verso i lati */
.scard-line {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px; /* Ridotta a 1px per massima finezza */
    background: linear-gradient(to right,transparent,rgba(201,169,110,0.6),transparent);
    transform: scaleX(0);
    transform-origin: center; /* Apertura simmetrica regale */
    transition: transform 1.2s cubic-bezier(0.25, 1, 0.5, 1);
    z-index: 3;
}

.storia-card.active:hover .scard-line {
    transform: scaleX(1);
}

/* ── TESTO lato destro ── */
.scard-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: .9rem;
    padding: clamp(2rem,4vw,3.5rem) clamp(1.8rem,3.5vw,3rem);
}

.scard-cat {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
}

.scard-cat-dot {
    width: 4px; /* Ridotto leggermente per eleganza */
    height: 4px;
    border-radius: 50%;
    background: var(--g);
    flex-shrink: 0;
    box-shadow: 0 0 4px rgba(168,130,74,.3);
}

.scard-cat-txt {
    font-size: .6rem;
    letter-spacing: .28em;
    text-transform: uppercase;
    color: var(--gl);
}

.scard-title {
    font-family: 'Cormorant Garamond',serif;
    font-weight: 300;
    font-size: clamp(1.5rem,2.8vw,2.2rem);
    line-height: 1.15;
    color: #F5EDD8;
    text-decoration: none;
    display: block;
    transition: color .5s ease;
}

    .scard-title em {
        display: block;
        font-style: italic;
        color: var(--gl);
        font-size: .72em;
        margin-top: .25em;
    }

.scard-excerpt, .scard-excerpt p {
    font-size: 1rem;
    color: rgba(212, 200, 180, .6);
    line-height: 1.7;
}

.scard-cta {
    display: inline-flex;
    align-items: center;
    gap: .7rem;
    font-size: .63rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    cursor: none;
    color: rgba(168,130,74,.45);
    text-decoration: none;
    transition: color .5s ease, gap .6s cubic-bezier(0.25, 1, 0.5, 1);
    width: fit-content;
}

.scard-cta-line {
    width: 28px;
    height: 1px;
    background: currentColor;
    position: relative;
    top: 1px;
    transition: width .6s cubic-bezier(0.25, 1, 0.5, 1);
}

    .scard-cta-line::after {
        content: '';
        position: absolute;
        right: 0;
        top: -3px;
        width: 6px;
        height: 6px;
        border-top: 1px solid currentColor;
        border-right: 1px solid currentColor;
        transform: rotate(45deg);
    }

.storia-card.active .scard-cta:hover {
    color: var(--gl);
    gap: 1.2rem;
}

    .storia-card.active .scard-cta:hover .scard-cta-line {
        width: 40px;
    }

/* ── CONTROLLI NAVIGAZIONE ── */
.storie-nav {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    padding-bottom: clamp(3rem,5vw,4rem);
}

.storie-nav-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(168,130,74,.15);
    background: rgba(168,130,74,0);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(212,200,180,.5);
    cursor: none !important;
    transition: border-color .4s, background .4s, color .4s, transform .4s;
}

    .storie-nav-btn:hover {
        border-color: var(--g);
        background: rgba(168,130,74,.05);
        color: var(--gl);
        transform: scale(1.05);
    }

    .storie-nav-btn:disabled {
        opacity: .15;
        transform: none;
    }

    .storie-nav-btn svg {
        width: 18px;
        height: 18px;
        stroke: currentColor;
        fill: none;
        stroke-width: 1.2; /* Linea dell'icona più sottile e chic */
        stroke-linecap: round;
        stroke-linejoin: round;
    }

/* dots */
.storie-dots {
    display: flex;
    gap: .6rem;
    align-items: center;
}

.storie-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: rgba(168,130,74,.2);
    border: none;
    cursor: none;
    transition: background .4s, transform .4s;
}

    .storie-dot.active {
        background: var(--g);
        transform: scale(1.3);
    }

/* GHOST per offset iniziale */
.storie-ghost {
    flex: 0 0 calc(50vw - clamp(150px,32.5vw,410px) - clamp(.6rem,1.25vw,1rem));
    pointer-events: none;
}

@media(max-width:700px) {
    .storia-card {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .scard-visual {
        min-height: 200px;
        border-right: none;
        border-bottom: 1px solid rgba(168,130,74,.08);
    }
}

/* ══════════════════════════════════════════════════ */
/* NUDO ED EDITORIALE: DETTAGLIO STORIA      */
/* ══════════════════════════════════════════════════ */

/* Sfondo chiaro luxury per il corpo principale */
.luxury-blog-page {
    background-color: #FBFBFA;
    color: #1C1A17;
}

#ds-hero {
    padding: clamp(3rem, 8vw, 10rem) 0 2rem;
    position: relative;
}

.ds-hero-container {
    max-width: 1500px;
    margin: 0 auto;
    display: flex;
    gap: clamp(2rem, 4vw, 4rem);
    align-items: flex-start;
    padding: 0 1.5rem;
}


.ds-hero-box-wrapper {
    flex: 0 0 66.666%;
    width: 66.666%;
}

.ds-hero-box {
    background: #FFFFFF;
    padding: clamp(2.5rem, 5vw, 4.5rem);
    border: 1px solid rgba(168,130,74,0.12);
    box-shadow: 0 20px 50px rgba(0,0,0,0.03);
}

.ds-hero-media {
    flex: 0 0 33.333%;
    width: 33.333%;
    position: sticky;
    top: 4rem;
}

.ds-hero-img {
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    object-fit: cover;
}

.ds-back {
    display: flex;
    align-items: center;
    gap: .5rem;
    color: rgba(28, 26, 23, 0.4);
    font-size: .75rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    text-decoration: none;
    margin-bottom: 2rem;
    transition: color .4s ease;
    cursor: none;
}

    .ds-back:hover {
        color: var(--gl, #A8824A);
    }

.ds-cat {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: .65rem;
    letter-spacing: .25em;
    text-transform: uppercase;
    color: var(--gl, #A8824A);
    margin-bottom: 1rem;
}

.ds-cat-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: currentColor;
}

.ds-h {
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    line-height: 1.15;
    margin: 0 0 2.5rem 0;
}

    .ds-h em {
        color: var(--gl, #A8824A);
        font-size: .7em;
        margin-top: .4rem;
    }

.luxury-editorial {
    font-size: 1.1rem;
    line-height: 1.75;
    color: rgba(28, 26, 23, 0.75);
    letter-spacing: 0.01em;
}
/* Capolettera Luxury sul primo paragrafo della descrizione */
.ds-hero-description > p:first-of-type::first-letter {
    font-family: 'Cormorant Garamond', serif;
    font-size: 5rem;
    float: left;
    line-height: 0.8;
    margin-top: 0.15rem;
    margin-right: 0.8rem;
    font-weight: 300;
    color: var(--gl, #A8824A);
}

.ds-hero-description p {
    margin-bottom: 1.6rem;
}

    .ds-hero-description p:last-of-type {
        margin-bottom: 0;
    }

/* Sezioni Intestazioni della Gallery */
.si-editorial {
    text-align: center;
    max-width: 1100px;
    margin: 0 auto clamp(2.5rem, 5vw, 4rem);
    padding: 0 1.5rem;
}

.s-label-ed {
    display: block;
    font-size: .75rem;
    letter-spacing: .35em;
    text-transform: uppercase;
    color: var(--gl, #A8824A);
    margin-bottom: .6rem;
}

.s-h-ed {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 300;
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    color: #1C1A17;
}

    .s-h-ed em {
        font-style: italic;
        color: var(--gl, #A8824A);
    }

/* ── GALLERY ORIZZONTALE GESTITA ── */
#ds_gallery {
    padding: clamp(4rem, 6vw, 7rem) 0;
    border-top: 1px solid rgba(168,130,74,.1);
}

.ds-gallery-editorial-grid {
    display: grid;
    gap: clamp(0.55rem, 5vw, 0.75rem);
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 250px;
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 1rem;
}

.ds-gallery-img-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.ds-gallery-item-ed {
    display: block;
    overflow: hidden;
    height: 100%;
}

    .ds-gallery-item-ed:nth-child(4n+1) {
        grid-row: span 2;
    }


.ds-gallery-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(0.25, 1, 0.5, 1);
}

.ds-gallery-item-ed:hover img {
    transform: scale(1.03);
}

/* ── ALTRE STORIE CORRELATE (SFONDO SCURO DI STACCO) ── */
#ds-altre {
    padding: clamp(5rem, 8vw, 9rem) 0;
    background: #0F0D0A;
    color: #F5EDD8;
    border-top: 1px solid rgba(168,130,74,.15);
}

    #ds-altre .s-h-ed {
        color: #F5EDD8;
    }

.ds-altre-swiper {
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 1rem;
    overflow: hidden;
}

.ds-altre-card-ed {
    display: block;
    height: auto;
    text-decoration: none;
    color: inherit;
    background: #161310;
    border: 1px solid rgba(168,130,74,.1);
    transition: border-color .4s ease, transform .4s ease;
}

    .ds-altre-card-ed:hover {
        border-color: rgba(168,130,74,.3);
        transform: translateY(-4px);
    }

.ds-altre-media-ed {
    aspect-ratio: 16/10;
    overflow: hidden;
}

    .ds-altre-media-ed img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        transition: transform 1s cubic-bezier(0.25, 1, 0.5, 1);
    }

.ds-altre-card-ed:hover .ds-altre-media-ed img {
    transform: scale(1.03);
}

.ds-altre-info-ed {
    padding: 1.5rem;
    text-align: center;
}

.ds-altre-cat-ed {
    display: block;
    font-size: .75rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--gl, #A8824A);
    margin-bottom: .5rem;
}

.ds-altre-title-ed {
    display: block;
    font-family: 'Cormorant Garamond', serif;
    font-weight: 300;
    font-size: 1.7rem;
    color: #F5EDD8;
    line-height: 1.3;
}

/* ── ADATTAMENTO RESPONSIVE FLUIDO ── */
@media(max-width: 991px) {
    .ds-hero-container {
        flex-direction: column-reverse;
        gap: 2rem;
    }

    .ds-hero-box-wrapper, .ds-hero-media {
        flex: 0 0 100%;
        width: 100%;
    }

    .ds-hero-media {
        position: relative;
        top: 0;
    }

    .ds-hero-img {
        aspect-ratio: 16/10;
    }

    .ds-gallery-item-ed:nth-child(4n+1) {
        grid-column: span 1;
        grid-row: span 1;
    }
}

@media(max-width: 650px) {
    .ds-gallery-editorial-grid {
        grid-template-columns: 1fr;
    }

    .ds-hero-box {
        padding: 2rem 1.5rem;
    }
}

.jl-footer {
    background: #0A0806;
    color: rgba(212,200,180,.85);
    font-family: 'Jost', sans-serif;
    font-weight: 300;
    position: relative;
    overflow: hidden;
}
    /* linea oro in cima */
    .jl-footer::before {
        content: '';
        position: absolute;
        top: 0;
        left: 5%;
        right: 5%;
        height: 1px;
        background: linear-gradient(to right, transparent, rgba(168,130,74,.45) 30%, rgba(201,169,110,.8) 50%, rgba(168,130,74,.45) 70%, transparent);
    }
    /* puntini */
    .jl-footer::after {
        content: '';
        position: absolute;
        inset: 0;
        pointer-events: none;
        background-image: radial-gradient(1px 1px at 10% 30%, rgba(201,169,110,.18) 0%, transparent 100%), radial-gradient(1px 1px at 45% 65%, rgba(201,169,110,.12) 0%, transparent 100%), radial-gradient(1.5px 1.5px at 80% 25%, rgba(201,169,110,.16) 0%, transparent 100%), radial-gradient(1px 1px at 65% 80%, rgba(201,169,110,.1) 0%, transparent 100%);
    }

/* ── CORPO PRINCIPALE ── */
.jl-ft-main {
    position: relative;
    z-index: 1;
    max-width: 1280px;
    margin: 0 auto;
    padding: clamp(3.5rem,7vw,6rem) clamp(1.5rem,5vw,5rem) 0;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: clamp(2rem,5vw,5rem);
}

/* COLONNA 1 — brand */
.jl-ft-brand {
}

.jl-ft-logo {
    display: block;
    margin-bottom: .6rem;
}

    .jl-ft-logo img {
        width: 200px;
        height: auto;
    }

.jl-ft-tagline {
    font-size: .65rem;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: #C4A06E;
    display: block;
    margin-bottom: 1.6rem;
}
/* separatore corto */
.jl-ft-rule {
    width: 36px;
    height: 1px;
    background: linear-gradient(to right, var(--g), transparent);
    margin-bottom: 1.4rem;
}

.jl-ft-desc {
    font-size: .925rem;
    line-height: 1.85;
    color: rgba(212,200,180,.82);
    max-width: 260px;
    margin-bottom: 1.8rem;
}
/* social */
.jl-ft-social {
    display: flex;
    gap: .55rem;
    margin-bottom: 0;
}

.jl-ft-soc {
    width: 36px;
    height: 36px;
    border: 1px solid rgba(168,130,74,.4);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #C4A06E;
    border-radius: 50%;
    transition: border-color .3s, color .3s, background .3s;
}

    .jl-ft-soc:hover {
        border-color: #E0C496;
        color: #E0C496;
        background: rgba(168,130,74,.12);
    }

    .jl-ft-soc svg {
        width: 14px;
        height: 14px;
        fill: currentColor;
    }

/* COLONNE 2–4 — nav links */
.jl-ft-col {
}

.jl-ft-col-title {
    font-size: .725rem;
    letter-spacing: .3em;
    text-transform: uppercase;
    color: #C4A06E;
    display: block;
    margin-bottom: 1.2rem;
}

.jl-ft-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: .65rem;
}

    .jl-ft-links a {
        font-size: .905rem;
        color: rgba(212,200,180,.82);
        text-decoration: none;
        transition: color .25s;
        display: flex;
        align-items: center;
        gap: .5rem;
    }

        .jl-ft-links a::before {
            content: '';
            width: 0;
            height: 1px;
            background: var(--g);
            flex-shrink: 0;
            transition: width .3s ease;
        }

        .jl-ft-links a:hover {
            color: #F0E8D6;
        }

            .jl-ft-links a:hover::before {
                width: 14px;
            }

/* ── STRISCIA INFERIORE ── */
.jl-ft-bar {
    position: relative;
    z-index: 1;
    max-width: 1280px;
    margin: 0 auto;
    padding: clamp(1.5rem,3vw,2rem) clamp(1.5rem,5vw,5rem);
    border-top: 1px solid rgba(168,130,74,.1);
    margin-top: clamp(2.5rem,5vw,4rem);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.jl-ft-copy {
    font-size: .8rem;
    letter-spacing: .08em;
    color: #C4A06E;
}

    .jl-ft-copy em {
        font-style: normal;
        color: #E0C496;
    }

.jl-ft-legal {
    display: flex;
    gap: 1.4rem;
    list-style: none;
    margin: 0;
    margin-bottom: 1rem;
    padding: 0;
}

    .jl-ft-legal a {
        font-size: .65rem;
        letter-spacing: .1em;
        text-transform: uppercase;
        color: #C4A06E;
        text-decoration: none;
        transition: color .25s;
    }

        .jl-ft-legal a:hover {
            color: #E0C496;
        }

.jl-ft-credit {
    font-size: .755rem;
    letter-spacing: .08em;
    color: #C4A06E;
}

    .jl-ft-credit a {
        color: #C4A06E;
        text-decoration: none;
        transition: color .25s;
    }

        .jl-ft-credit a:hover {
            color: #E0C496;
        }


/* RESPONSIVE */
@media(max-width:991px) {
    .jl-ft-main {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .jl-ft-bar {
        flex-direction: column;
        align-items: flex-start; /* centra tutti i figli, non più flex-start */
        text-align: center;
        gap: .8rem;
    }

        /* il blocco "Powered by MVitalia" resta ultimo (order:2 inline) e va centrato */
        .jl-ft-bar .tp-copyright-area {
            width: 100%;
            order: 2;
        }

    .tp-copyright-left {
        display: flex;
        justify-content: center;
    }

    /* i link legali stanno su una riga, e vanno a capo solo se non c'entrano */
    .jl-ft-legal {
        justify-content: center;
        flex-wrap: wrap;
        row-gap: .5rem;
    }
}

@media(prefers-reduced-motion:reduce) {
    * {
        animation: none !important;
        transition: none !important
    }

    h1, .h-label, .h-body, .h-btns, .scroll-hint, .hero-gem {
        opacity: 1;
        transform: none
    }

    .rv {
        opacity: 1;
        transform: none
    }

    .pmt {
        animation: none
    }

    .ar {
        animation: none
    }

    body {
        cursor: auto
    }

    #cur {
        display: none
    }

    .vs-media video, .vs-media img {
        transform: scale(1)
    }
}

/* RESPONSIVE */

@media(max-width:800px) {
    .aw,
    .av {
        display: none
    }
}

@media(max-width:700px) {
    .nm, .ls {
        display: none
    }

    .hb {
        display: flex
    }
}

@media(max-width:540px) {
    .fr2 {
        grid-template-columns: 1fr
    }
}

@media(forced-colors:active) {
    .bp, .bg {
        border: 2px solid ButtonText
    }

    body {
        cursor: auto
    }

    #cur {
        display: none
    }
}





/* ═══════════════════════════════════════
   CONTATTI v2 — luxury dark (da pagina allegata)
   prefisso: ct2-
   ═══════════════════════════════════════ */
#contatti {
    background: radial-gradient(circle at 42% 42%, rgba(217,179,106,.13), transparent 28%), linear-gradient(120deg,#050609 0%,#0d1117 46%,#07090c 100%);
    position: relative;
    overflow: hidden;
    padding-top: 100px;
}
    /* riga oro in cima */
    #contatti::before {
        content: '';
        position: absolute;
        left: 5%;
        right: 5%;
        top: 0;
        height: 1px;
        background: linear-gradient(to right, transparent, rgba(168,130,74,.45) 30%, rgba(201,169,110,.8) 50%, rgba(168,130,74,.45) 70%, transparent);
        z-index: 1;
    }

.ct2-page {
    width: min(1480px,100%);
    margin: 0 auto;
    padding: clamp(5rem,5vw,5rem) clamp(1.5rem,5vw,4rem);
    display: grid;
    grid-template-columns: .82fr 1.18fr;
    gap: clamp(2rem,5vw,6rem);
    align-items: center;
    position: relative;
    z-index: 2;
}

/* ── INTRO SX ── */
.ct2-intro {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 2;
}

.ct2-label {
    color: #f3d18c;
    letter-spacing: .36em;
    text-transform: uppercase;
    font-size: .75rem;
    margin-bottom: 2rem;
    animation: ct2FadeUp .9s ease both;
}

.ct2-h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(3rem,5.5vw,5.5rem);
    line-height: .9;
    font-weight: 300;
    color: #f8f3ec;
    margin-bottom: 2rem;
    animation: ct2FadeUp .9s ease both .12s;
}

    .ct2-h1 em {
        color: #d9b36a;
        font-style: italic;
    }

.ct2-intro-text {
    max-width: 370px;
    color: rgba(248,243,236,.66);
    line-height: 1.9;
    font-size: 1rem;
    animation: ct2FadeUp .9s ease both .24s;
}

.ct2-gold-rule {
    width: 70px;
    height: 1px;
    background: #d9b36a;
    margin: 2.5rem 0;
    animation: ct2LineIn .9s ease both .36s;
}

/* MOTIVI */
.ct2-reasons {
    display: grid;
    gap: 1.2rem;
    max-width: 400px;
    animation: ct2FadeUp .9s ease both .48s;
}

.ct2-reason {
    display: grid;
    grid-template-columns: 58px 1fr;
    gap: 1rem;
    align-items: center;
}

.ct2-icon {
    width: 58px;
    height: 58px;
    border: 1px solid rgba(220,178,104,.36);
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #f3d18c;
    background: rgba(255,255,255,.025);
    box-shadow: inset 0 0 22px rgba(217,179,106,.05);
    flex-shrink: 0;
}

    .ct2-icon svg {
        width: 22px;
        height: 22px;
        stroke: currentColor;
        fill: none;
        stroke-width: 1.45;
    }

.ct2-reason h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.2rem;
    font-weight: 300;
    color: #fff2dc;
}

.ct2-reason p {
    color: rgba(248,243,236,.6);
    font-size: .82rem;
    margin-top: 2px;
}

/* PHONE CARD */
.ct2-phone-card {
    width: min(400px,100%);
    margin-top: 2.5rem;
    border: 1px solid rgba(220,178,104,.36);
    background: rgba(17,18,21,.62);
    backdrop-filter: blur(18px);
    border-radius: 18px;
    padding: 1.4rem 1.6rem;
    display: grid;
    grid-template-columns: 54px 1fr;
    gap: 1.2rem;
    align-items: center;
    animation: ct2FadeUp .9s ease both .6s;
}

    .ct2-phone-card strong {
        font-family: 'Cormorant Garamond', serif;
        color: #f3d18c;
        font-size: 1.15rem;
        font-weight: 300;
        display: block;
    }

    .ct2-phone-card a {
        display: block;
        color: #fff;
        text-decoration: none;
        margin: 4px 0 2px;
        font-size: 1rem;
        font-weight: 400;
    }

    .ct2-phone-card span {
        color: rgba(248,243,236,.55);
        font-size: .8rem;
    }

/* ORBIT */
.ct2-orbit {
    position: absolute;
    right: -52px;
    top: 5%;
    width: 240px;
    height: 680px;
    pointer-events: none;
    z-index: 0;
}

.ct2-orbit-line {
    position: absolute;
    inset: 0;
    border-right: 2px solid rgba(217,179,106,.75);
    border-radius: 0 100% 100% 0;
    filter: drop-shadow(0 0 8px rgba(217,179,106,.2));
}

.ct2-orbit-logo,
.ct2-orbit-dot {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(220,178,104,.36);
    background: rgba(17,18,21,.88);
    display: grid;
    place-items: center;
    color: #f3d18c;
    box-shadow: 0 0 30px rgba(217,179,106,.18);
    animation: ct2Float 5s ease-in-out infinite;
}

.ct2-orbit-logo {
    width: 80px;
    height: 80px;
    right: -40px;
    top: 43%;
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    background: radial-gradient(circle, rgba(217,179,106,.22), rgba(17,18,21,.88) 72%);
}

.ct2-orbit-dot {
    width: 56px;
    height: 56px;
    right: -28px;
}

    .ct2-orbit-dot svg {
        width: 22px;
        height: 22px;
        stroke: currentColor;
        fill: none;
        stroke-width: 1.45;
    }

.ct2-dot-1 {
    top: 12%;
    animation-delay: .4s;
}

.ct2-dot-2 {
    top: 68%;
    animation-delay: .8s;
}

.ct2-dot-3 {
    top: 82%;
    animation-delay: 1.2s;
}

/* ── FORM ZONE DX ── */
.ct2-form-zone {
    position: relative;
    z-index: 3;
    animation: ct2FadeLeft 1s ease both .2s;
}

.ct2-form-panel {
    border: 1px solid rgba(220,178,104,.36);
    background: rgba(18,22,28,.68);
    backdrop-filter: blur(22px) saturate(1.2);
    border-radius: 26px;
    padding: clamp(1.8rem,4vw,3.5rem);
    box-shadow: 0 30px 100px rgba(0,0,0,.44), inset 0 1px 0 rgba(255,255,255,.06);
    position: relative;
    overflow: hidden;
    transition: transform .2s ease;
}

    .ct2-form-panel::before {
        content: '';
        position: absolute;
        inset: 0;
        background: radial-gradient(circle at 20% 0%, rgba(217,179,106,.08), transparent 34%);
        pointer-events: none;
    }

.ct2-form-top {
    display: flex;
    justify-content: space-between;
    gap: 1.2rem;
    align-items: flex-start;
    margin-bottom: 2.5rem;
    position: relative;
}

.ct2-form-title {
    color: #f3d18c;
    letter-spacing: .42em;
    text-transform: uppercase;
    font-size: clamp(.75rem,1.5vw,1rem);
    font-weight: 300;
}

.ct2-step {
    color: rgba(248,243,236,.42);
    font-size: .8rem;
    text-align: right;
}

.ct2-dots {
    display: flex;
    justify-content: flex-end;
    gap: .8rem;
    margin-top: 1rem;
}

    .ct2-dots span {
        width: 13px;
        height: 13px;
        border-radius: 50%;
        background: rgba(255,255,255,.16);
        transition: background .3s;
    }

        .ct2-dots span.active {
            background: #f3d18c;
            box-shadow: 0 0 20px rgba(217,179,106,.5);
        }

/* GRIGLIA CAMPI */
.ct2-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
    position: relative;
}

.ct2-field {
    position: relative;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 12px;
    background: rgba(255,255,255,.025);
    transition: .35s ease;
    overflow: hidden;
}

    .ct2-field.full {
        grid-column: 1 / -1;
    }

    .ct2-field:focus-within {
        border-color: rgba(217,179,106,.72);
        box-shadow: 0 0 0 1px rgba(217,179,106,.18), 0 0 28px rgba(217,179,106,.08);
        transform: translateY(-2px);
    }

    .ct2-field label {
        display: block;
        padding: 1.1rem 1.3rem 0;
        letter-spacing: .22em;
        text-transform: uppercase;
        font-size: .7rem;
        color: rgba(255,255,255,.75);
    }


    .ct2-field input, .ct2-field select, .ct2-field textarea {
        width: 100%;
        border: none;
        outline: none;
        background: transparent;
        color: #f8f3ec;
        font-family: 'Jost', sans-serif;
        font-size: .9rem;
        -webkit-appearance: none;
        appearance: none;
        resize: none;
        padding: .82rem 1rem;
        transition: border-color .3s;
        border-radius: 0;
    }

        .ct2-field input::placeholder,
        .ct2-field textarea::placeholder {
            color: rgba(255,255,255,.32);
            background: transparent !important;
        }

    .ct2-field select {
        color: rgba(255,255,255,.5);
    }

        .ct2-field select option {
            color: rgba(0,0,0,.5);
        }

    .ct2-field textarea {
        min-height: 140px;
    }

.ct2-counter {
    position: absolute;
    right: 1rem;
    bottom: .8rem;
    color: rgba(255,255,255,.3);
    font-size: .75rem;
}

/* SUBMIT */
.ct2-submit-row {
    display: flex;
    justify-content: flex-end;
    margin-top: 1.6rem;
}

.ct2-next-btn {
    min-width: 200px;
    border: 1px solid rgba(220,178,104,.36);
    border-radius: 100px;
    background: linear-gradient(90deg, rgba(217,179,106,.72), rgba(217,179,106,.08));
    color: #fff8e8;
    padding: 1.1rem 2.2rem;
    font-family: 'Jost', sans-serif;
    letter-spacing: .32em;
    text-transform: uppercase;
    font-size: .75rem;
    cursor: none !important;
    transition: .35s ease;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 12px 35px rgba(217,179,106,.12);
}

    .ct2-next-btn:hover {
        transform: translateY(-3px);
        box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 18px 52px rgba(217,179,106,.22);
        background: linear-gradient(90deg, rgba(217,179,106,.92), rgba(217,179,106,.16));
    }

/* INFO BAR */
.ct2-info-bar {
    margin-top: 1.4rem;
    border: 1px solid rgba(217,179,106,.23);
    background: rgba(17,18,21,.66);
    border-radius: 18px;
    padding: 1.4rem 1.6rem;
    display: grid;
    grid-template-columns: 1fr 1fr 1.1fr;
    gap: 1.5rem;
    backdrop-filter: blur(18px);
}

.ct2-info-item {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: .9rem;
    align-items: start;
}

.ct2-info-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(220,178,104,.36);
    color: #f3d18c;
    display: grid;
    place-items: center;
    flex-shrink: 0;
}

    .ct2-info-icon svg {
        width: 20px;
        height: 20px;
        stroke: currentColor;
        fill: none;
        stroke-width: 1.45;
    }

.ct2-info-item h4,
.ct2-qr h4 {
    color: rgba(255,255,255,.85);
    letter-spacing: .22em;
    text-transform: uppercase;
    font-size: .65rem;
    font-weight: 400;
    margin-bottom: .4rem;
}

.ct2-info-item p,
.ct2-info-item a,
.ct2-qr p {
    color: rgba(248,243,236,.6);
    font-size: .8rem;
    line-height: 1.6;
    text-decoration: none;
}

.ct2-info-item a {
    color: #f3d18c;
}

.ct2-qr {
    display: flex;
    gap: 1rem;
    align-items: center;
}
/* QR code simulato */
.ct2-qr-box {
    width: 76px;
    height: 76px;
    flex: 0 0 auto;
    border-radius: 8px;
    border: 6px solid #e7e1d7;
    background: repeating-linear-gradient( 0deg, transparent, transparent 6px, rgba(255,255,255,.08) 6px, rgba(255,255,255,.08) 7px ), repeating-linear-gradient( 90deg, transparent, transparent 6px, rgba(255,255,255,.08) 6px, rgba(255,255,255,.08) 7px ), #0b0d10;
    box-shadow: inset 0 0 0 4px #0b0d10;
    position: relative;
}
    /* angoli QR */
    .ct2-qr-box::before,
    .ct2-qr-box::after {
        content: '';
        position: absolute;
        width: 20px;
        height: 20px;
        border: 3px solid #d9b36a;
    }

    .ct2-qr-box::before {
        top: 4px;
        left: 4px;
        border-right: none;
        border-bottom: none;
    }

    .ct2-qr-box::after {
        bottom: 4px;
        right: 4px;
        border-left: none;
        border-top: none;
    }

/* SUCCESSO */
.ct2-success {
    display: none;
    margin-top: 1.2rem;
    color: #f3d18c;
    border-left: 2px solid #d9b36a;
    padding-left: .9rem;
    font-size: .88rem;
    animation: ct2FadeUp .45s ease both;
}

    .ct2-success.show {
        display: block;
    }

/* ANIMAZIONI */
@keyframes ct2FadeUp {
    from {
        opacity: 0;
        transform: translateY(22px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes ct2FadeLeft {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes ct2LineIn {
    from {
        transform: scaleX(0);
        transform-origin: left;
        opacity: 0;
    }

    to {
        transform: scaleX(1);
        opacity: 1;
    }
}

@keyframes ct2Float {
    0%,100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }
}

@keyframes gem-glint {
    0% {
        left: -75%;
    }

    100% {
        left: 135%;
    }
}
/* RESPONSIVE */
@media(max-width:1100px) {
    .ct2-page {
        grid-template-columns: 1fr;
    }

    .ct2-orbit {
        display: none;
    }

    .ct2-phone-card {
        margin-top: 2rem;
    }
}

@media(max-width:991px) {
    #contatti {
        padding-top: 50px;
    }
}

@media(max-width:700px) {
    .ct2-grid {
        grid-template-columns: 1fr;
    }

    .ct2-info-bar {
        grid-template-columns: 1fr;
    }

    .ct2-submit-row {
        justify-content: stretch;
    }

    .ct2-next-btn {
        width: 100%;
    }

    .ct2-form-top {
        flex-direction: column;
    }

    .ct2-dots {
        justify-content: flex-start;
    }
}



/* ── ATELIER CONFIGURATORE ── */
#atelier {
    background: var(--c0);
    padding: 0
}

.at-hero {
    position: relative;
    padding: clamp(4rem,8vw,7rem) clamp(1.5rem,5vw,5rem) 0;
    text-align: center;
}

.at-hero-label {
    display: block;
    font-size: .62rem;
    letter-spacing: .32em;
    text-transform: uppercase;
    color: var(--g);
    margin-bottom: 1rem
}

.at-hero-h {
    font-family: 'Cormorant Garamond',serif;
    font-weight: 300;
    font-size: clamp(2.5rem,6vw,5rem);
    line-height: .95;
    color: var(--ink)
}

    .at-hero-h em {
        font-style: italic;
        color: var(--g);
        display: block;
        font-size: .6em;
        margin-top: .15em;
        letter-spacing: .04em
    }

.at-hero-sub {
    max-width: 520px;
    margin: 1rem auto 0;
    font-size: 1.1rem;
    color: var(--ink3);
    line-height: 1.7;
}
/* BARRA STEP */
.at-steps-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 3rem clamp(1rem,4vw,4rem) 0;
    max-width: 900px;
    margin: 0 auto;
}

.at-step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .5rem;
    flex: 1;
    position: relative;
}

    .at-step-item:not(:last-child)::after {
        content: '';
        position: absolute;
        top: 18px;
        left: 50%;
        right: 0;
        width: 100%;
        height: 1px;
        background: var(--c2);
        z-index: 0;
        transition: background .5s;
    }

    .at-step-item.done:not(:last-child)::after {
        background: var(--g)
    }

.at-step-num {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--c2);
    background: var(--c0);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .72rem;
    letter-spacing: .08em;
    color: var(--ink3);
    position: relative;
    z-index: 1;
    transition: background .4s,border-color .4s,color .4s;
}

.at-step-item.active .at-step-num {
    background: var(--g);
    border-color: var(--g);
    color: var(--c0);
}

.at-step-item.done .at-step-num {
    background: var(--gp);
    border-color: var(--g);
    color: var(--gd);
}

.at-step-label {
    font-size: .6rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--ink3);
    white-space: nowrap;
    transition: color .3s
}

.at-step-item.active .at-step-label {
    color: var(--g)
}

/* PANNELLO STEP */
.at-panels {
    max-width: 1100px;
    margin: 0 auto;
    padding: 2.5rem clamp(1rem,4vw,4rem) clamp(3rem,6vw,6rem)
}

.at-panel {
    display: none;
    animation: panelIn .5s var(--ease) both
}

    .at-panel.active {
        display: block
    }

@keyframes panelIn {
    from {
        opacity: 0;
        transform: translateY(18px)
    }

    to {
        opacity: 1;
        transform: none
    }
}

/* TITOLO STEP */
.step-title {
    font-family: 'Cormorant Garamond',serif;
    font-weight: 300;
    font-size: clamp(1.5rem,3vw,2.2rem);
    color: var(--ink);
    margin-bottom: .4rem;
}

.step-sub {
    font-size: 1rem;
    color: var(--ink3);
    margin-bottom: 2rem;
    line-height: 1.6
}

/* STEP 1: TIPOLOGIA — card grandi visive */
.tipo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(min(210px,100%),1fr));
    gap: 1.2rem;
}

.tipo-card {
    position: relative;
    border: 1px solid var(--c2);
    padding: 2rem 1.4rem 1.4rem;
    background: var(--c0);
    display: flex;
    flex-direction: column;
    cursor: none;
    align-items: center;
    gap: 1rem;
    cursor: none;
    transition: border-color .35s,transform .4s var(--ease),background .3s;
}

    .tipo-card:hover {
        border-color: rgba(168,130,74,.45);
        transform: translateY(-4px);
        background: var(--c1)
    }

    .tipo-card.sel {
        border-color: var(--g);
        background: var(--gp);
    }

    .tipo-card input[type="radio"] {
        position: absolute;
        opacity: 0;
        width: 1px;
        height: 1px
    }

.tipo-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center
}

    .tipo-icon svg {
        width: 100%;
        height: 100%;
        transition: transform .5s var(--ease);
        pointer-events: none;
        user-select: none
    }

.tipo-card:hover .tipo-icon svg, .tipo-card.sel .tipo-icon svg {
    transform: scale(1.08) rotate(3deg)
}

.tipo-name {
    font-family: 'Cormorant Garamond',serif;
    font-size: 1.2rem;
    font-weight: 300;
    color: var(--ink);
    letter-spacing: .08em
}

.tipo-desc {
    font-size: .72rem;
    color: var(--ink3);
    text-align: center;
    line-height: 1.6
}

.tipo-check {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 1px solid var(--c2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: .3rem;
    transition: border-color .3s,background .3s;
}

.tipo-card.sel .tipo-check {
    background: var(--g);
    border-color: var(--g)
}

.tipo-check::after {
    content: '✓';
    font-size: .65rem;
    color: transparent;
    transition: color .2s
}

.tipo-card.sel .tipo-check::after {
    color: var(--c0)
}

/* STEP 2: PIETRE */
.pietre-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill,minmax(min(160px,100%),1fr));
    gap: 1rem;
}

.pietra-card {
    border: 1px solid var(--c2);
    padding: 1.4rem 1rem;
    background: var(--c0);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .7rem;
    cursor: none !important;
    position: relative;
    transition: border-color .3s,transform .35s var(--ease),background .3s;
}

    .pietra-card:hover {
        border-color: rgba(168,130,74,.4);
        transform: translateY(-3px);
        background: var(--c1)
    }

    .pietra-card.sel {
        border-color: var(--g);
        background: var(--gp)
    }

    .pietra-card input {
        position: absolute;
        opacity: 0;
        width: 1px;
        height: 1px
    }

.pietra-gem {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.pietra-dot {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    box-shadow: 0 2px 12px rgba(0,0,0,.12);
    transition: transform .4s var(--ease),box-shadow .4s;
}

.pietra-card:hover .pietra-dot, .pietra-card.sel .pietra-dot {
    transform: scale(1.15);
    box-shadow: 0 4px 20px rgba(0,0,0,.2)
}

.pietra-shine {
    position: absolute;
    top: 6px;
    left: 10px;
    width: 8px;
    height: 4px;
    background: rgba(255,255,255,.7);
    border-radius: 50%;
    transform: rotate(-30deg);
}

.pietra-name {
    font-size: 1rem;
    color: var(--ink2);
    text-align: center;
    font-family: 'Cormorant Garamond', serif;
    letter-spacing: .06em;
}

.pietra-origin {
    font-size: .7rem;
    color: var(--ink3);
    text-align: center;
}

.pietra-sel-badge {
    position: absolute;
    top: .5rem;
    right: .5rem;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--g);
    display: none;
    align-items: center;
    justify-content: center;
    font-size: .55rem;
    color: var(--c0);
}

.pietra-card.sel .pietra-sel-badge {
    display: flex
}

/* STEP 3: TAGLIO */
.tagli-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill,minmax(min(150px,100%),1fr));
    gap: 1rem;
}

.taglio-card {
    border: 1px solid var(--c2);
    padding: 1.8rem 1rem 1.2rem;
    background: var(--c0);
    cursor: none !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .6rem;
    position: relative;
    transition: border-color .3s,transform .35s var(--ease),background .3s;
}

    .taglio-card:hover {
        border-color: rgba(168,130,74,.4);
        transform: translateY(-3px);
        background: var(--c1)
    }

    .taglio-card.sel {
        border-color: var(--g);
        background: var(--gp)
    }

    .taglio-card input {
        position: absolute;
        opacity: 0;
        width: 1px;
        height: 1px
    }

.taglio-svg {
    width: 64px;
    height: 64px;
    transition: transform .5s var(--ease)
}

.taglio-card:hover .taglio-svg, .taglio-card.sel .taglio-svg {
    transform: rotate(15deg) scale(1.08)
}

.taglio-name {
    font-family: 'Cormorant Garamond',serif;
    font-size: 1rem;
    font-weight: 300;
    color: var(--ink);
    letter-spacing: .08em
}

.taglio-desc {
    font-size: .7rem;
    color: var(--ink3);
    text-align: center;
    line-height: 1.5;
}

.taglio-card.sel .taglio-name {
    color: var(--gd)
}

/* STEP 4: CONTATTI + UPLOAD */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem
}

.c-field {
    display: flex;
    flex-direction: column;
    gap: .4rem
}

.c-label {
    font-size: .62rem;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: var(--g)
}

.c-inp {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #dfdfdf;
    border-radius: 4px;
    font-size: 15px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    box-sizing: border-box;
}

    .c-inp:focus {
        outline: none;
        border-color: #999999;
        box-shadow: 0 0 0 2px rgba(0,0,0,0.05);
    }

.c-ta {
    height: 100px;
    resize: vertical;
    padding: 10px 15px;
    border: 1px solid #dfdfdf;
    border-radius: 4px;
    font-size: 15px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    box-sizing: border-box;
}

    .c-ta:focus {
        outline: none;
        border-color: #999999;
        box-shadow: 0 0 0 2px rgba(0,0,0,0.05);
    }

.c-sel {
    /* rimuove lo stile nativo del select in tutti i browser */
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    /* freccia custom */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath fill='%23A8824A' d='M5 6L0 0h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 10px 6px;
    /* spazio per la freccia + reset base */
    padding: 0.6rem 2.5rem 0.6rem 1rem;
    width: 100%;
    box-sizing: border-box;
    /* pulizia stile default */
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
}

    /* Firefox aggiunge una freccina interna extra da rimuovere */
    .c-sel::-ms-expand {
        display: none;
    }

    /* opzionale: stile su focus */
    .c-sel:focus {
        outline: none;
        border-color: #A8824A;
    }

.upload-area {
    grid-column: 1/-1;
    border: 1px dashed rgba(168,130,74,.35);
    padding: 2rem;
    text-align: center;
    cursor: none !important;
    transition: border-color .3s,background .3s;
    position: relative;
    background: var(--c1);
}

    .upload-area:hover {
        border-color: var(--g);
        background: var(--gp)
    }

    .upload-area input {
        position: absolute;
        inset: 0;
        opacity: 0;
    }

    .upload-area.has-file {
        border-color: var(--g);
        background: rgba(168,130,74,.07)
    }

.upload-icon {
    width: 40px;
    height: 40px;
    margin: 0 auto .8rem;
    opacity: .4
}

.upload-text {
    font-size: .82rem;
    color: var(--ink2)
}

    .upload-text span {
        color: var(--g)
    }

.upload-hint {
    font-size: .68rem;
    color: var(--ink3);
    margin-top: .3rem
}

.upload-preview {
    display: none;
    max-height: 120px;
    max-width: 100%;
    margin: .8rem auto 0;
    border: 1px solid var(--c2);
}

.upload-loading {
    display: none;
    width: 20px;
    height: 20px;
    margin: 8px 20px;
}

.upload-filename {
    font-size: .75rem;
    color: var(--g);
    margin-top: .5rem;
    display: none
}

.privacy-row {
    display: flex;
    align-items: center;
    gap: .65rem;
    flex-direction: row;
    grid-column: 1 / -1;
    margin-top: .3rem;
    width: calc(100% - 50px);
}

    .privacy-row input {
        accent-color: var(--g);
        flex-shrink: 0
    }

    .privacy-row label {
        font-size: .76rem;
        color: var(--ink3);
        line-height: 1.5
    }

    .privacy-row a {
        color: #bba794;
        text-decoration: none;
    }

        .privacy-row a:hover {
            color: var(--ink3);
        }

.qbox2 {
    grid-column: 1/-1;
    padding: .8rem 1rem;
    background: rgba(168,130,74,.07);
    border-left: 2px solid rgba(168,130,74,.3)
}

    .qbox2 p {
        font-size: .78rem;
        color: var(--ink2);
        line-height: 1.6
    }

    .qbox2 strong {
        color: var(--g)
    }

/* RIEPILOGO */
.riepilogo {
    background: var(--c1);
    border: 1px solid var(--c2);
    padding: 1.4rem;
    margin-bottom: 1.5rem;
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: .8rem;
}

.riel {
    font-size: .75rem;
    letter-spacing: .15em;
    text-transform: uppercase;
    padding-right: 10px;
    color: var(--g);
}

.riev {
    font-family: 'Cormorant Garamond',serif;
    font-size: 1.05rem;
    color: var(--ink)
}

    .riev.empty {
        color: var(--ink3);
        font-style: italic;
        font-size: .82rem
    }

/* NAVIGAZIONE */
.at-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--c2);
    cursor: none;
}

.at-back {
    background: none;
    border: none;
    font-size: .7rem;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: var(--ink3);
    display: flex;
    align-items: center;
    gap: .5rem;
    cursor: none !important;
    transition: color .25s;
}

    .at-back:hover {
        color: var(--g)
    }

    .at-back::before {
        content: '←';
        font-size: .9rem
    }

.at-next {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    padding: .85rem 2rem;
    background: var(--g);
    color: var(--c0);
    font-size: .7rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    border: none;
    cursor: none !important;
    transition: background .3s,transform .25s var(--ease);
}

    .at-next:hover {
        background: var(--gl);
        transform: translateY(-2px)
    }

    .at-next:disabled {
        background: var(--c3);
        transform: none
    }

.at-next-arrow {
    width: 22px;
    height: 1px;
    background: currentColor;
    position: relative;
    top: 1px;
    transition: width .3s var(--ease);
}

.at-next:hover .at-next-arrow {
    width: 30px
}

.at-next-arrow::after {
    content: '';
    position: absolute;
    right: 0;
    top: -3px;
    width: 6px;
    height: 6px;
    border-top: 1px solid currentColor;
    border-right: 1px solid currentColor;
    transform: rotate(45deg);
}


/* SUCCESSO */
.at-success {
    display: none;
    text-align: center;
    padding: 4rem 2rem;
    animation: panelIn .6s var(--ease);
}

    .at-success.show {
        display: block
    }

.at-success-gem {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    animation: gemPulse 2s ease-in-out infinite;
}

@keyframes gemPulse {
    0%,100% {
        transform: scale(1)
    }

    50% {
        transform: scale(1.06)
    }
}

.at-success h3 {
    font-family: 'Cormorant Garamond',serif;
    font-size: 2rem;
    font-weight: 300;
    color: var(--ink);
    margin-bottom: .6rem
}

.at-success p {
    font-size: .9rem;
    color: var(--ink3);
    line-height: 1.8;
    max-width: 440px;
    margin: 0 auto
}

@media(max-width:640px) {
    .tipo-grid {
        grid-template-columns: 1fr 1fr
    }

    .pietre-grid {
        grid-template-columns: repeat(3,1fr)
    }

    .tagli-grid {
        grid-template-columns: 1fr 1fr 1fr
    }

    .contact-grid {
        grid-template-columns: 1fr
    }

    .riepilogo {
        grid-template-columns: 1fr
    }

    .at-steps-bar {
        gap: 0
    }

    .at-step-label {
        display: none
    }
}
