:root {
    --wood: #16222c;
    --wood2: #0b131a;
    --steel: #7e93a6;
    --pearl: #eef2f5;
    --blue: #22506a;
    --ink: #1b2429;
    --accent:  rgba(0, 8, 129, 0.94);
    --logoF: "EngrvrsOldEng Bd BT", Garamond, serif; 
    /* --body: Garamond, "Times New Roman", serif */
    --serif: Georgia, serif
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    background: var(--pearl);
    color: var(--ink);
    font-family: Arial, sans-serif;
    line-height: 1.7
}

.demo {
    background: var(--accent);
    color: #fff;
    padding: 6px;
    text-align: center;
    font-size: 9px;
    letter-spacing: .17em;
    font-weight: bold
}

header {
    height: 82px;
    position: fixed;
    top: 24px;
    left: 0;
    width: 100%;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5vw;
    color: #fff;
    transition: .3s
}

header.stick {
    top: 0;
    background: #0b131aee;
    backdrop-filter: blur(10px)
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: inherit;
    text-decoration: none;
    letter-spacing: .12em;
    font-size: 1.2rem;

}

.logo i {
    width: 45px;
    height: 45px;
    display: grid;
    place-items: center;
    border: 1px solid var(--steel);
    color: var(--pearl);
    font: italic 1.4rem var(--serif)
}

.logo small {
    display: block;
    color: var(--pearl);
    font-size: 1rem;
    font-family: var(--serif)
}

.logo-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1;
}

.logo-text strong {
    font-family: "EngrvrsOldEng", serif;
    font-weight: 700;
    font-style: normal;
}

.logo-text small {
    display: block;
    margin-top: 5px;
    line-height: 1;
    font-weight: 400;
    letter-spacing: 2px;
}

.logo-text small:first-of-type {
    font-size: 1.3rem; /* Gioielli */
    opacity: .85;

}

.logo-text small:last-of-type {
    margin-top: 3px;
    font-size: 1rem; /* Trieste */
    letter-spacing: 2px;
    opacity: .65;
}

.menu {
    display: none;
    border: 0;
    background: none;
    color: #fff;
    text-transform: uppercase
}

nav {
    display: flex;
    gap: 27px
}

nav a {
    color: inherit;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: .15em;
    font-size: 0.8rem;
}

.hero {
    height: 100svh;
    min-height: 700px;
    position: relative;
    color: #fff;
    display: flex;
    align-items: center;
    overflow: hidden
}

.hero>img,
.boutique>img,
.consultation>img,
.trieste>img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover
}

.hero>img {
    animation: zoom 16s ease-out both
}

@keyframes zoom {
    to {
        transform: scale(1.05)
    }
}

.shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, #0b131aeb 0%, #0b131a8a 48%, transparent 78%)
}

.hero-copy {
    position: relative;
    margin-left: 8vw;
    max-width: 800px
}

.hero-copy>p{
    text-transform: uppercase;
    letter-spacing: .25em;
    color: var(--pearl);
    font-size: .68rem;
    font-weight: bold;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: .25em;
    color: var(--steel);
    font-size: .68rem;
    font-weight: bold;
}

.hero h1 {
    font: clamp(4.2rem, 8.5vw, 8.5rem)/.86 var(--serif);
    margin: .2em 0
}

.hero h1 em {
    font-weight: normal;
    color: #dbe4ea;
}

.hero-copy>p:last-of-type {
    font: 1.2rem/1.7 var(--serif);
    max-width: 560px
}

.btn {
    display: inline-block;
    background: var(--accent);
    color: #fff;
    padding: 14px 20px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: .1em;
    font-size: .66rem;
    margin-right: 20px;
}

.line {
    color: #fff;
    text-underline-offset: 7px
}

.line.dark {
    color: var(--wood2)
}

.vertical {
    position: absolute;
    right: 2vw;
    bottom: 8vh;
    writing-mode: vertical-rl;
    text-transform: uppercase;
    letter-spacing: .22em;
    font-size: .6rem
}

.pad {
    padding: 110px 8vw
}

.story {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 8vw
}

.story h2,
.boutique h2,
.center h2,
.atelier h2,
.consultation h2,
.trieste h2,
.contact h2 {
    font: clamp(3rem, 6vw, 6rem)/.96 var(--serif);
    margin: .15em 0
}

.story>div:last-child {
    font: 1.12rem/1.85 var(--serif)
}

.boutique,
.consultation,
.trieste {
    height: 85vh;
    position: relative;
    color: #fff;
    display: flex;
    align-items: center
}

.boutique:after,
.consultation:after,
.trieste:after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, #0b131ae0, transparent)
}

.boutique>div,
.consultation>div,
.trieste>div {
    position: relative;
    z-index: 1;
    margin-left: 8vw;
    max-width: 650px
}

.center {
    text-align: center
}

.collection-grid {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 12px;
    margin-top: 60px
}

.collection-grid article {
    height: 520px;
    position: relative;
    overflow: hidden;
    color: #fff
}

.collection-grid .big {
    grid-row: span 2;
    height: 1052px
}

.collection-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .55s
}

.collection-grid article:hover img {
    transform: scale(1.03)
}

.collection-grid article:after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent, #0b131adb)
}

.collection-grid div {
    position: absolute;
    z-index: 1;
    left: 35px;
    bottom: 30px;
    right: 30px
}

.collection-grid small {
    color: #cdd9e3;
    text-transform: uppercase;
    letter-spacing: .18em;
}

.collection-grid h3 {
    font: 2.7rem var(--serif);
    margin: .15em 0
}

.atelier {
    display: grid;
    grid-template-columns: 1.08fr .92fr;
    align-items: center;
    background: #fff
}

.atelier>img {
    width: 100%;
    height: 750px;
    object-fit: cover
}

.atelier>div {
    padding: 85px
}

.services {
    background: #d7dee4
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-top: 60px;
    border-top: 1px solid #3e4d5855
}

.service-grid article {
    padding: 35px 25px;
    border-right: 1px solid #3e4d5855
}

.service-grid b {
    color: var(--accent)
}

.service-grid h3 {
    font: 1.6rem var(--serif)
}

.contact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 7vw;
    align-items: center
}

.contact>img {
    width: 100%;
    height: 650px;
    object-fit: cover
}

.address {
    font: 1.3rem var(--serif)
}

.phone {
    display: block;
    color: inherit;
    text-decoration: none;
    font: 2rem var(--serif)
}

#hours {
    white-space: pre-line;
    margin: 25px 0;
}

.actions {
    display: flex;
    align-items: center;
    margin: 35px 0
}

.contact small {
    color: #7a8892;
}

footer {
    padding: 35px 5vw;
    background: var(--wood2);
    color: #a8b3bc;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: .72rem;
}

.reveal {
    opacity: 0;
    transform: translateY(25px);
    transition: .8s
}

.reveal.show {
    opacity: 1;
    transform: none
}

@media(max-width:850px) {
    .menu {
        display: block
    }

    nav {
        display: none;
        position: absolute;
        right: 20px;
        top: 70px;
        background: var(--wood2);
        padding: 25px;
        flex-direction: column
    }

    nav.open {
        display: flex
    }

    .story,
    .atelier,
    .contact {
        grid-template-columns: 1fr
    }

    .collection-grid {
        grid-template-columns: 1fr 1fr
    }

    .collection-grid .big {
        height: 650px;
        grid-row: auto;
        grid-column: span 2
    }

    .atelier>img,
    .contact>img {
        height: 520px
    }

    .services .service-grid {
        grid-template-columns: 1fr 1fr
    }

    .atelier>div {
        padding: 75px 7vw
    }

    .pad {
        padding: 80px 7vw
    }
}

@media(max-width:520px) {
    .collection-grid {
        display: flex;
        overflow-x: auto
    }

    .collection-grid article,
    .collection-grid .big {
        min-width: 82vw;
        height: 520px
    }

    .service-grid {
        grid-template-columns: 1fr !important
    }

    .hero-copy {
        margin: 0 7vw
    }

    .hero h1 {
        font-size: 4rem
    }

    .actions {
        align-items: flex-start;
        flex-direction: column;
        gap: 18px
    }

    footer {
        align-items: flex-start;
        flex-direction: column;
        gap: 20px
    }
}

.contact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.contact-content {
    max-width: 620px;
}

.contact-intro {
    max-width: 520px;
    margin: 20px 0 40px;
    line-height: 1.7;
    opacity: .8;
}

.contact-details {
    display: grid;
    gap: 24px;
    margin-bottom: 40px;
}

.contact-item {
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, .12);
}

.contact-label {
    display: block;
    margin-bottom: 7px;
    font-size: .75rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    opacity: .6;
}

.contact-item p,
.contact-item a {
    margin: 0;
    color: inherit;
    text-decoration: none;
    line-height: 1.6;
}

.contact-item a:hover {
    opacity: .65;
}

.actions {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.contact-social {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 35px;
    padding-top: 25px;
    border-top: 1px solid rgba(0, 0, 0, .12);
}

.contact-social > span {
    font-size: .8rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    opacity: .55;
}

.facebook-link {
    color: inherit;
    text-decoration: none;
    font-weight: 500;
}

.facebook-link:hover {
    opacity: .6;
}

.contact-image {
    height: 100%;
    min-height: 520px;
}

.contact-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

@media (max-width: 800px) {
    .contact {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .contact-image {
        min-height: 360px;
    }

    .actions {
        align-items: flex-start;
        flex-direction: column;
    }
}

@font-face {
    font-family: "EngrvrsOldEng";
    src: url("../assets/fonts/engrvrsoldeng-bd-bt-bold.ttf") ;

}

/* .logo span {
    font-family: "EngrvrsOldEng", serif;
    font-weight: 700;
} */

/* GIOIELLI + TRIESTE */
.logo-text small {
    font-family: Garamond, "Times New Roman", serif;
    font-weight: normal;
    font-style: normal;
}

.jewelry-carousel {
    position: relative;
    width: 100%;
    margin-top: 70px;
    padding: 30px 0 75px;
    overflow: hidden;
}

.jewelry-stage {
    position: relative;
    width: 100%;
    height: 620px;
}

.jewelry-slide {
    position: absolute;

    width: 500px;
    height: 500px;

    top: 50%;
    left: 50%;

    overflow: hidden;

    transform-origin: center center;

    transition:
        transform 900ms cubic-bezier(.22, 1, .36, 1),
        opacity 700ms ease,
        filter 700ms ease;

    opacity: 0;
    pointer-events: none;
}

.jewelry-slide img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
}


/* ========================================
   IMMAGINE CENTRALE
   ======================================== */

.jewelry-slide.position-center {
    transform:
        translate(-50%, -50%)
        scale(1);

    opacity: 1;

    z-index: 5;

    filter: none;
}


/* ========================================
   IMMAGINE SINISTRA
   ======================================== */

.jewelry-slide.position-left {
    transform:
        translate(calc(-50% - 430px), -50%)
        scale(.72);

    opacity: .55;

    z-index: 2;

    filter: brightness(.72);
}


/* ========================================
   IMMAGINE DESTRA
   ======================================== */

.jewelry-slide.position-right {
    transform:
        translate(calc(-50% + 430px), -50%)
        scale(.72);

    opacity: .55;

    z-index: 2;

    filter: brightness(.72);
}


/* ========================================
   FRECCE
   ======================================== */

.jewelry-arrow {
    position: absolute;

    top: 50%;

    transform: translateY(-50%);

    z-index: 10;

    width: 50px;
    height: 50px;

    border: 1px solid rgba(0, 0, 0, .18);

    background: rgba(255, 255, 255, .85);

    color: #000;

    border-radius: 50%;

    font-size: 18px;

    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: center;

    transition:
        background .3s ease,
        color .3s ease,
        transform .3s ease;
}

.jewelry-arrow:hover {
    background: rgba(0, 8, 129, .94);
    color: #fff;

    transform:
        translateY(-50%)
        scale(1.06);
}

.jewelry-prev {
    left: 30px;
}

.jewelry-next {
    right: 30px;
}


/* ========================================
   CONTATORE
   ======================================== */

.jewelry-counter {
    position: absolute;

    bottom: 20px;
    left: 50%;

    transform: translateX(-50%);

    display: flex;
    gap: 7px;

    font-size: .68rem;

    letter-spacing: .15em;

    color: var(--accent);
}

.jewelry-current {
    font-weight: 700;
}


/* ========================================
   MOBILE
   ======================================== */

@media (max-width: 900px) {

    .jewelry-stage {
        height: 520px;
    }

    .jewelry-slide {
        width: 300px;
        height: 400px;
    }

    .jewelry-slide.position-left {
        transform:
            translate(calc(-50% - 270px), -50%)
            scale(.68);
    }

    .jewelry-slide.position-right {
        transform:
            translate(calc(-50% + 270px), -50%)
            scale(.68);
    }

}


@media (max-width: 600px) {

    .jewelry-carousel {
        margin-top: 45px;
    }

    .jewelry-stage {
        height: 460px;
    }

    .jewelry-slide {
        width: 250px;
        height: 340px;
    }

    /*
     * Su smartphone mostriamo ancora
     * una porzione delle immagini laterali.
     */

    .jewelry-slide.position-left {
        transform:
            translate(calc(-50% - 190px), -50%)
            scale(.55);

        opacity: .4;
    }

    .jewelry-slide.position-right {
        transform:
            translate(calc(-50% + 190px), -50%)
            scale(.55);

        opacity: .4;
    }

    .jewelry-arrow {
        width: 42px;
        height: 42px;
    }

    .jewelry-prev {
        left: 10px;
    }

    .jewelry-next {
        right: 10px;
    }

}


/* =========================
   GALLERY
========================= */

.collection-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-top: 45px;
}

.gallery-item {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
    overflow: hidden;
}

.gallery-item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition:
        transform 0.6s ease,
        filter 0.6s ease;
}

/* effetto hover desktop */
.gallery-item:hover img {
    transform: scale(1.06);
    filter: brightness(0.82);
}

.gallery-item::after {
    content: "＋";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) scale(0.7);
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,.8);
    border-radius: 50%;
    color: #fff;
    font-size: 25px;
    opacity: 0;
    transition: .35s ease;
    pointer-events: none;
}

.gallery-item:hover::after {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}


/* =========================
   LIGHTBOX
========================= */

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 40px;

    background: rgba(0, 0, 0, .94);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition:
        opacity .3s ease,
        visibility .3s ease;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.lightbox-image {
    max-width: 90vw;
    max-height: 90vh;

    width: auto;
    height: auto;

    object-fit: contain;

    box-shadow: 0 20px 70px rgba(0,0,0,.5);

    transform: scale(.94);
    transition: transform .35s ease;
}

.lightbox.active .lightbox-image {
    transform: scale(1);
}


/* pulsanti */

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;

    border: 0;
    background: transparent;

    color: #fff;
    cursor: pointer;

    z-index: 2;

    transition: opacity .25s ease, transform .25s ease;
}

.lightbox-close {
    top: 20px;
    right: 28px;

    font-size: 42px;
    line-height: 1;
}

.lightbox-prev,
.lightbox-next {
    top: 50%;
    transform: translateY(-50%);

    width: 55px;
    height: 70px;

    font-size: 38px;
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

.lightbox-close:hover {
    transform: scale(1.1);
}

.lightbox-prev:hover {
    transform: translateY(-50%) translateX(-3px);
}

.lightbox-next:hover {
    transform: translateY(-50%) translateX(3px);
}


/* =========================
   TABLET
========================= */

@media (max-width: 900px) {

    .collection-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .gallery-item::after {
        display: none;
    }

    .lightbox {
        padding: 20px;
    }

    .lightbox-image {
        max-width: 88vw;
        max-height: 82vh;
    }
}


/* =========================
   MOBILE
========================= */

@media (max-width: 600px) {

    .collection-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
        margin-top: 30px;
    }

    .gallery-item {
        aspect-ratio: 1 / 1;
    }

    .lightbox {
        padding: 15px;
    }

    .lightbox-image {
        max-width: 94vw;
        max-height: 82vh;
    }

    .lightbox-close {
        top: 10px;
        right: 15px;
        font-size: 36px;
    }

    .lightbox-prev,
    .lightbox-next {
        width: 42px;
        height: 55px;
        font-size: 28px;
    }

    .lightbox-prev {
        left: 2px;
    }

    .lightbox-next {
        right: 2px;
    }
}

/* =========================================================
   RESPONSIVE PATCH — MOBILE / TABLET
   Mantiene il layout desktop e corregge i principali problemi
   di overflow, proporzioni, spaziature e touch.
   ========================================================= */

/* Base: evita overflow orizzontale accidentale */
html,
body {
    max-width: 100%;
    overflow-x: clip;
}

img {
    max-width: 100%;
}

/* Le immagini full-bleed devono ancorarsi davvero ai 4 lati */
.hero > img,
.boutique > img,
.consultation > img,
.trieste > img {
    inset: 0;
}

/* Touch target più comodi senza alterare il look desktop */
button,
a {
    -webkit-tap-highlight-color: transparent;
}

/* =========================
   TABLET
   ========================= */

@media (max-width: 850px) {
    header {
        height: 68px;
        top: 12px;
        padding-left: 5vw;
        padding-right: 5vw;
    }

    header.stick {
        top: 0;
    }

    .logo {
        gap: 9px;
        font-size: 1rem;
        min-width: 0;
    }

    .logo i {
        width: 38px;
        height: 38px;
        flex: 0 0 38px;
        font-size: 1.15rem;
    }

    .logo-text {
        min-width: 0;
    }

    .logo-text small:first-of-type {
        font-size: 1rem;
    }

    .logo-text small:last-of-type {
        font-size: .82rem;
        letter-spacing: 1.5px;
    }

    .menu {
        min-width: 44px;
        min-height: 44px;
        padding: 8px;
        display: grid;
        place-items: center;
        font-size: .65rem;
        letter-spacing: .12em;
    }

    nav {
        right: 5vw;
        top: 62px;
        width: min(260px, calc(100vw - 10vw));
        padding: 18px 20px;
        gap: 16px;
        border: 1px solid rgba(255,255,255,.08);
        box-shadow: 0 15px 40px rgba(0,0,0,.25);
    }

    nav a {
        font-size: .72rem;
        padding: 5px 0;
    }

    .hero {
        min-height: 620px;
    }

    .hero-copy {
        margin-left: 7vw;
        margin-right: 7vw;
        max-width: 700px;
    }

    .hero h1 {
        font-size: clamp(3.4rem, 9vw, 5.8rem);
        line-height: .9;
    }

    .hero-copy > p:last-of-type {
        max-width: 560px;
        font-size: clamp(1rem, 2vw, 1.15rem);
    }

    .vertical {
        right: 1.5vw;
        bottom: 5vh;
    }

    .pad {
        padding: clamp(70px, 9vw, 100px) 7vw;
    }

    .story h2,
    .boutique h2,
    .center h2,
    .atelier h2,
    .consultation h2,
    .trieste h2,
    .contact h2 {
        font-size: clamp(2.8rem, 7vw, 5rem);
    }

    .story > div:last-child {
        font-size: 1.05rem;
    }

    .boutique,
    .consultation,
    .trieste {
        height: 70vh;
        min-height: 500px;
    }

    .boutique > div,
    .consultation > div,
    .trieste > div {
        margin-left: 7vw;
        margin-right: 7vw;
        max-width: 650px;
    }

    .collection-grid article {
        height: 420px;
    }

    .collection-grid .big {
        height: 700px;
    }

    .collection-grid h3 {
        font-size: 2.2rem;
    }

    .atelier > img {
        height: 500px;
    }

    .atelier > div {
        padding: 65px 7vw;
    }

    .service-grid article {
        padding: 28px 22px;
    }

    .contact {
        gap: 50px;
    }

    .contact-image {
        min-height: 400px;
    }
}


/* =========================
   SMARTPHONE
   ========================= */

@media (max-width: 600px) {
    body {
        line-height: 1.6;
    }

    .demo {
        padding: 5px 8px;
        font-size: 8px;
        letter-spacing: .11em;
    }

    header {
        height: 60px;
        top: 8px;
        padding-left: 5vw;
        padding-right: 4vw;
    }

    .logo {
        gap: 7px;
        max-width: calc(100vw - 70px);
    }

    .logo i {
        width: 34px;
        height: 34px;
        flex-basis: 34px;
        font-size: 1rem;
    }

    .logo-text small:first-of-type {
        font-size: .86rem;
    }

    .logo-text small:last-of-type {
        font-size: .7rem;
        letter-spacing: 1px;
        margin-top: 2px;
    }

    nav {
        top: 58px;
        right: 4vw;
        width: min(250px, 92vw);
        padding: 16px 18px;
    }

    .hero {
        height: 100svh;
        min-height: 560px;
    }

    .shade {
        background: linear-gradient(
            180deg,
            #0b131aa8 0%,
            #0b131a70 42%,
            #0b131adf 100%
        );
    }

    .hero-copy {
        width: auto;
        margin: 0 8vw;
        padding-top: 35px;
    }

    .hero-copy > p,


    .hero h1 {
        margin: .25em 0 .35em;
        font-size: clamp(3rem, 15vw, 4.4rem);
        line-height: .88;
        overflow-wrap: normal;
    }

    .hero-copy > p:last-of-type {
        margin-top: 20px;
        font-size: 1rem;
        line-height: 1.55;
    }

    .btn {
        padding: 13px 17px;
        margin-right: 0;
        font-size: .62rem;
    }

    .vertical {
        display: none;
    }

    .pad {
        padding: 65px 7vw;
    }

    .story h2,
    .boutique h2,
    .center h2,
    .atelier h2,
    .consultation h2,
    .trieste h2,
    .contact h2 {
        font-size: clamp(2.55rem, 13vw, 4rem);
        line-height: .92;
    }

    .story > div:last-child {
        font-size: 1rem;
        line-height: 1.7;
    }

    .boutique,
    .consultation,
    .trieste {
        height: auto;
        min-height: 560px;
    }

    .boutique > div,
    .consultation > div,
    .trieste > div {
        margin: 0 8vw;
        padding: 70px 0;
    }

    .collection-grid {
        display: flex;
        width: calc(100% + 14vw);
        margin-left: -7vw;
        gap: 10px;
        padding: 0 7vw 12px;
        overflow-x: auto;
        overscroll-behavior-x: contain;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
    }

    .collection-grid::-webkit-scrollbar {
        display: none;
    }

    .collection-grid article,
    .collection-grid .big {
        flex: 0 0 82vw;
        width: 82vw;
        min-width: 82vw;
        height: 480px;
        scroll-snap-align: center;
        grid-column: auto;
    }

    .collection-grid div {
        left: 24px;
        right: 22px;
        bottom: 22px;
    }

    .collection-grid h3 {
        font-size: 2rem;
    }

    .atelier {
        grid-template-columns: 1fr;
    }

    .atelier > img {
        height: min(95vw, 440px);
    }

    .atelier > div {
        padding: 55px 7vw;
    }

    .service-grid {
        grid-template-columns: 1fr !important;
        margin-top: 35px;
    }

    .service-grid article {
        padding: 25px 0;
        border-right: 0;
        border-bottom: 1px solid #3e4d5855;
    }

    .service-grid article:last-child {
        border-bottom: 0;
    }

    .contact {
        grid-template-columns: 1fr;
        gap: 38px;
    }

    .contact-content {
        max-width: none;
    }

    .contact-intro {
        margin: 16px 0 30px;
        font-size: 1rem;
    }

    .contact-details {
        gap: 18px;
        margin-bottom: 30px;
    }

    .contact-item {
        padding-bottom: 16px;
    }

    .phone {
        font-size: 1.55rem;
    }

    .actions {
        width: 100%;
        align-items: stretch;
        flex-direction: column;
        gap: 14px;
        margin: 28px 0;
    }

    .actions .btn,
    .actions a {
        width: 100%;
        text-align: center;
        margin-right: 0;
    }

    .contact-social {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
        margin-top: 28px;
        padding-top: 20px;
    }

    .contact-image {
        min-height: 0;
        height: min(90vw, 380px);
    }

    .contact-image img {
        height: 100%;
    }

    footer {
        padding: 28px 7vw;
        gap: 14px;
        line-height: 1.5;
    }

    /* Jewelry carousel: niente immagini laterali fuori schermo */
    .jewelry-carousel {
        margin-top: 30px;
        padding: 15px 0 55px;
    }

    .jewelry-stage {
        height: min(112vw, 430px);
        min-height: 350px;
    }

    .jewelry-slide {
        width: min(68vw, 270px);
        height: min(88vw, 350px);
    }

    .jewelry-slide.position-left {
        transform:
            translate(calc(-50% - 42vw), -50%)
            scale(.52);
        opacity: .28;
    }

    .jewelry-slide.position-right {
        transform:
            translate(calc(-50% + 42vw), -50%)
            scale(.52);
        opacity: .28;
    }

    .jewelry-arrow {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .jewelry-prev {
        left: 5px;
    }

    .jewelry-next {
        right: 5px;
    }

    .jewelry-counter {
        bottom: 10px;
        font-size: .62rem;
    }

    /* Gallery */
    .collection-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 7px;
        margin-top: 25px;
    }

    /* Lightbox */
    .lightbox {
        padding: 10px;
    }

    .lightbox-image {
        max-width: calc(100vw - 20px);
        max-height: 78svh;
    }

    .lightbox-close {
        top: max(8px, env(safe-area-inset-top));
        right: 10px;
        font-size: 34px;
        padding: 8px;
    }

    .lightbox-prev,
    .lightbox-next {
        width: 40px;
        height: 50px;
        font-size: 26px;
    }

    .lightbox-prev {
        left: 0;
    }

    .lightbox-next {
        right: 0;
    }
}


/* =========================
   TELEFONI MOLTO PICCOLI
   ========================= */

@media (max-width: 380px) {
    .hero {
        min-height: 530px;
    }

    .hero h1 {
        font-size: 2.9rem;
    }

    .hero-copy > p:last-of-type {
        font-size: .92rem;
    }

    .collection-grid article,
    .collection-grid .big {
        flex-basis: 86vw;
        width: 86vw;
        min-width: 86vw;
        height: 450px;
    }

    .jewelry-stage {
        min-height: 330px;
    }

    .jewelry-slide {
        width: 64vw;
        height: 82vw;
    }

    .jewelry-slide.position-left {
        transform:
            translate(calc(-50% - 39vw), -50%)
            scale(.48);
    }

    .jewelry-slide.position-right {
        transform:
            translate(calc(-50% + 39vw), -50%)
            scale(.48);
    }
}


/* Accessibilità: chi preferisce meno movimento */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}

/* =========================================================
   NAVBAR RESPONSIVE — CLEAN VERSION
   ========================================================= */

header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

nav {
    display: flex;
    align-items: center;
    gap: 27px;
}

.menu {
    display: none;
}

@media (max-width: 850px) {

    header {
        height: 68px;
        top: 12px;
        padding: 0 5vw;
    }

    header.stick {
        top: 0;
    }

    .logo {
        min-width: 0;
        max-width: calc(100% - 58px);
    }

    .logo-text {
        min-width: 0;
    }

    .logo-text strong {
        white-space: nowrap;
    }

    .logo-text small:first-of-type {
        font-size: 1rem;
    }

    .logo-text small:last-of-type {
        font-size: .82rem;
        letter-spacing: 1.5px;
    }

    /* Hamburger */
    .menu {
        position: relative;
        display: flex;
        flex: 0 0 44px;
        width: 44px;
        height: 44px;
        min-width: 44px;
        min-height: 44px;
        padding: 0;
        margin: 0;
        border: 1px solid rgba(255,255,255,.28);
        border-radius: 50%;
        background: rgba(11,19,26,.38);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        color: #fff;
        font-size: 0;
        cursor: pointer;
        align-items: center;
        justify-content: center;
        z-index: 1001;
        transition: background .25s ease, border-color .25s ease, transform .25s ease;
    }

    .menu::before,
    .menu::after,
    .menu span {
        content: "";
        position: absolute;
        left: 50%;
        width: 17px;
        height: 1px;
        background: currentColor;
        transition: transform .25s ease, opacity .2s ease, top .25s ease;
    }

    .menu::before {
        top: 14px;
        transform: translateX(-50%);
    }

    .menu span {
        top: 21px;
        transform: translateX(-50%);
    }

    .menu::after {
        top: 28px;
        transform: translateX(-50%);
    }

    .menu:hover {
        background: rgba(11,19,26,.7);
        border-color: rgba(255,255,255,.55);
    }

    .menu:active {
        transform: scale(.94);
    }

    .menu[aria-expanded="true"]::before {
        top: 21px;
        transform: translateX(-50%) rotate(45deg);
    }

    .menu[aria-expanded="true"] span {
        opacity: 0;
    }

    .menu[aria-expanded="true"]::after {
        top: 21px;
        transform: translateX(-50%) rotate(-45deg);
    }

    /* Mobile navigation */
    nav {
        position: absolute;
        top: calc(100% + 10px);
        left: 5vw;
        right: 5vw;
        width: auto;
        max-height: calc(100svh - 95px);
        overflow-y: auto;

        display: flex;
        flex-direction: column;
        gap: 0;

        padding: 8px;
        margin: 0;

        background: rgba(11,19,26,.97);
        border: 1px solid rgba(255,255,255,.12);
        border-radius: 14px;

        box-shadow:
            0 20px 60px rgba(0,0,0,.32),
            0 5px 20px rgba(0,0,0,.18);

        backdrop-filter: blur(18px);
        -webkit-backdrop-filter: blur(18px);

        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(-8px);
        transform-origin: top center;

        transition:
            opacity .25s ease,
            visibility .25s ease,
            transform .25s ease;
    }

    nav.open {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
    }

    nav a {
        display: flex;
        align-items: center;
        width: 100%;
        min-height: 52px;
        padding: 0 15px;
        color: rgba(255,255,255,.9);
        font-size: .72rem;
        letter-spacing: .15em;
        text-decoration: none;
        border-radius: 9px;
        transition: background .2s ease, color .2s ease, padding-left .2s ease;
    }

    nav a + a {
        border-top: 1px solid rgba(255,255,255,.07);
    }

    nav a:hover,
    nav a:focus-visible {
        color: #fff;
        background: rgba(255,255,255,.07);
        padding-left: 19px;
        outline: none;
    }
}

@media (max-width: 600px) {

    header {
        height: 60px;
        top: 8px;
        padding: 0 4vw 0 5vw;
    }

    .logo {
        gap: 7px;
        max-width: calc(100% - 55px);
    }

    .logo-text small:first-of-type {
        font-size: .86rem;
    }

    .logo-text small:last-of-type {
        font-size: .7rem;
        letter-spacing: 1px;
        margin-top: 2px;
    }

    .menu {
        flex-basis: 42px;
        width: 42px;
        height: 42px;
        min-width: 42px;
        min-height: 42px;
    }

    nav {
        top: calc(100% + 8px);
        left: 4vw;
        right: 4vw;
        max-height: calc(100svh - 82px);
        padding: 7px;
        border-radius: 13px;
    }

    nav a {
        min-height: 50px;
        padding: 0 14px;
        font-size: .68rem;
        letter-spacing: .13em;
    }
}

@media (max-width: 380px) {

    .logo {
        max-width: calc(100% - 50px);
    }

    .menu {
        flex-basis: 40px;
        width: 40px;
        height: 40px;
        min-width: 40px;
        min-height: 40px;
    }

    nav {
        left: 3vw;
        right: 3vw;
    }

    nav a {
        min-height: 48px;
        font-size: .65rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .menu,
    .menu::before,
    .menu::after,
    .menu span,
    nav,
    nav a {
        transition: none !important;
    }
}


/* =========================================================
   FOOTER — LUXURY
   ========================================================= */

.site-footer {
    position: relative;
    width: 100%;
    padding: 70px 5vw 28px;
    background: var(--wood2);
    color: rgba(255,255,255,.88);
    border-top: 1px solid rgba(255,255,255,.08);
}

.footer-inner {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

/* LOGO */

.footer-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #fff;
    transition: opacity .3s ease, transform .3s ease;
}

.footer-logo:hover {
    opacity: .82;
    transform: translateY(-2px);
}

.footer-logo .logo-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.footer-logo .logo-text strong {
    font-family: "EngrvrsOldEng", serif;
    font-size: 1.5rem;
    font-weight: 700;
    font-style: normal;
    letter-spacing: .025em;
}

.footer-logo .logo-text small {
    font-family: Garamond, "Times New Roman", serif;
    font-weight: normal;
    font-style: normal;
    line-height: 1.15;
}

.footer-logo .logo-text small:first-of-type {
    margin-top: 8px;
    font-size: 1.05rem;
}

.footer-logo .logo-text small:last-of-type {
    margin-top: 3px;
    font-size: .78rem;
    opacity: .62;
}

/* LINE */

.footer-divider {
    width: 100%;
    height: 1px;
    margin: 55px 0 22px;
    background: rgba(255,255,255,.12);
}

/* BOTTOM */

.footer-bottom {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 20px;
}

.footer-bottom p {
    margin: 0;
    font-family: Arial, sans-serif;
    font-size: .68rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: rgba(255,255,255,.52);
}

.footer-location {
    text-align: center;
}

.footer-back-top {
    justify-self: end;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 50%;
    color: rgba(255,255,255,.8);
    text-decoration: none;
    font-family: Georgia, serif;
    font-size: 1rem;
    transition:
        background .25s ease,
        border-color .25s ease,
        transform .25s ease;
}

.footer-back-top:hover {
    background: rgba(255,255,255,.08);
    border-color: rgba(255,255,255,.45);
    transform: translateY(-3px);
}

/* MOBILE */

@media (max-width: 600px) {

    .site-footer {
        padding: 55px 5vw 24px;
    }

    .footer-logo {
        width: 100%;
        justify-content: center;
    }

    .footer-logo .logo-text {
        align-items: center;
    }

    .footer-divider {
        margin: 42px 0 20px;
    }

    .footer-bottom {
        grid-template-columns: 1fr;
        justify-items: center;
        gap: 12px;
    }

    .footer-bottom p {
        text-align: center;
        font-size: .62rem;
    }

    .footer-back-top {
        justify-self: center;
        margin-top: 8px;
    }
}

