:root {
    --ink: #090a10;
    --ink-soft: #12131c;
    --midnight: #0c112b;
    --blue: #172b71;
    --gold: #c8a24b;
    --gold-light: #ecd28a;
    --ivory: #f3efe7;
    --muted: #aaa8ad;
    --line: rgba(200, 162, 75, .34);
    --mouse-x: 50%;
    --mouse-y: 50%
}

@keyframes quietReveal {
    0% {
        opacity: 0;
        transform: translateY(10px)
    }

    100% {
        opacity: 1;
        transform: translateY(0)
    }
}

* {
    box-sizing: border-box;
    margin: 0
}

html {
    scroll-behavior: smooth
}

body {
    position: relative;
    background: var(--ink);
    color: var(--ivory);
    font: 400 16px/1.7 Manrope, sans-serif
}

body::before {
    content: '';
    position: fixed;
    left: var(--mouse-x);
    top: var(--mouse-y);
    width: 340px;
    height: 340px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(185, 205, 255, .18) 0%, rgba(185, 205, 255, .08) 18%, rgba(185, 205, 255, 0) 58%);
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 0
}

main,
header,
footer {
    position: relative;
    z-index: 1
}

a {
    color: inherit;
    text-decoration: none
}

img {
    display: block;
    width: 100%;
    max-width: 100%;
    object-fit: cover
}

.eyebrow {
    color: var(--gold);
    font: 500 .68rem Montserrat, sans-serif;
    letter-spacing: .3em;
    text-transform: uppercase
}

.wrap {
    width: min(1160px, calc(100% - 56px));
    margin: auto
}

header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(9, 10, 16, .9);
    border-bottom: 1px solid rgba(200, 162, 75, .18);
    backdrop-filter: blur(16px)
}

nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    width: min(1300px, calc(100% - 56px));
    margin: auto;
    padding: 17px 0
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border: 1px solid var(--gold);
    border-radius: 50%;
    color: var(--gold);
    font: 600 1.15rem 'Cormorant Garamond', serif
}

.brand-name {
    font: 600 1.3rem 'Cormorant Garamond', serif;
    letter-spacing: .1em
}

.nav-links {
    display: flex;
    gap: 27px;
    color: #d6d1c7;
    font-size: .75rem;
    letter-spacing: .1em;
    text-transform: uppercase
}

.nav-links a {
    transition: color .2s
}

.nav-links a:hover,
.nav-links a[aria-current=page] {
    color: var(--gold)
}

.nav-cta,
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--gold);
    padding: 11px 19px;
    color: var(--gold);
    font: 500 .7rem Montserrat, sans-serif;
    letter-spacing: .16em;
    text-transform: uppercase;
    transition: .25s
}

.nav-cta:hover,
.button:hover {
    background: var(--gold);
    color: var(--ink)
}

.hero {
    position: relative;
    min-height: 690px;
    display: grid;
    align-items: center;
    overflow: hidden;
    background: var(--midnight)
}

.hero:before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(7, 8, 15, .95) 0%, rgba(7, 8, 15, .54) 47%, rgba(7, 8, 15, .12)), linear-gradient(0deg, rgba(7, 8, 15, .82), transparent 48%)
}

.hero-photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-position: center 47%;
    opacity: .92
}

.hero-content {
    position: relative;
    padding: 120px 0 78px;
    max-width: 630px
}

.hero h1,
.page-title {
    font: 600 clamp(4rem, 9vw, 8rem)/.78 'Cormorant Garamond', serif;
    letter-spacing: -.045em
}

.hero h1 em {
    color: var(--gold);
    font-weight: 500
}

.hero .eyebrow {
    margin-bottom: 25px
}

.lead {
    max-width: 48ch;
    margin: 28px 0 35px;
    color: #dad5cd;
    font-weight: 300
}

.hero-details {
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
    margin-top: 43px;
    padding-top: 22px;
    border-top: 1px solid var(--line);
    font-size: .8rem;
    color: #c7c1b7
}

.hero-details > div {
    flex: 1 1 140px;
    text-align: justify
}

.hero-details strong {
    display: block;
    text-align: left;
    color: var(--gold);
    font: 500 .65rem Montserrat, sans-serif;
    letter-spacing: .16em;
    text-transform: uppercase
}

.intro,
.dark-section,
.page-hero,
.content {
    position: relative;
    overflow: hidden;
    padding: 120px 0;
    animation: quietReveal .9s ease-out both
}

section,
section * {
    transition: background-color .8s ease, border-color .8s ease, color .8s ease, transform .8s ease, box-shadow .8s ease
}

.intro {
    background: linear-gradient(180deg, #fbfaf7 0%, #f3efe7 28%, #edf2fb 62%, #dde7fb 100%);
    border-top: 1px solid rgba(200, 162, 75, .18);
    border-bottom: 1px solid rgba(200, 162, 75, .18);
    box-shadow: inset 0 1px 0 rgba(200, 162, 75, .12), inset 0 -1px 0 rgba(21, 38, 79, .08);
    color: var(--ink)
}

.section-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: min(10vw, 140px);
    align-items: center
}

.section-grid.reverse > div:first-child {
    order: 2
}

.section-grid.reverse > div:last-child {
    order: 1
}

.section-title {
    font: 600 clamp(2.8rem, 5vw, 4.5rem)/.92 'Cormorant Garamond', serif;
    letter-spacing: -.035em
}

.intro p {
    max-width: 48ch;
    margin: 25px 0;
    color: #5d5955
}

.accent-line {
    width: 50px;
    height: 1px;
    margin: 25px 0;
    background: var(--gold)
}

.image-frame {
    position: relative;
    padding: 0 18px 18px 0
}

.image-frame:after {
    content: '';
    position: absolute;
    z-index: 0;
    inset: 18px 0 0 18px;
    border: 1px solid var(--gold)
}

.image-frame img {
    position: relative;
    z-index: 1;
    aspect-ratio: 1;
    filter: saturate(.88) contrast(1.06)
}

.dark-section {
    background: linear-gradient(180deg, rgba(8, 11, 20, .98) 0%, rgba(16, 22, 38, .98) 25%, rgba(18, 28, 60, .96) 52%, rgba(9, 12, 18, 1) 100%), radial-gradient(circle at 10% 12%, rgba(150, 177, 255, .16) 0, transparent 24%), radial-gradient(circle at 90% 30%, rgba(200, 162, 75, .12) 0, transparent 18%), var(--ink-soft);
    border-top: 1px solid rgba(200, 162, 75, .22);
    border-bottom: 1px solid rgba(200, 162, 75, .22);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04), inset 0 -1px 0 rgba(200, 162, 75, .14)
}

.section-head {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: end;
    margin-bottom: 43px
}

.section-head h2 {
    font: 600 clamp(2.8rem, 5vw, 4.5rem)/.92 'Cormorant Garamond', serif
}

.gallery {
    display: grid;
    grid-template-columns: 1.25fr .88fr .88fr;
    gap: 18px
}

.gallery figure {
    position: relative;
    min-height: 400px;
    overflow: hidden;
    background: #000
}

.gallery img {
    height: 100%;
    transition: transform .5s
}

.gallery figure:hover img {
    transform: scale(1.04)
}

.gallery figcaption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 35px 22px 18px;
    background: linear-gradient(transparent, rgba(0, 0, 0, .88));
    font: 500 .69rem Montserrat, sans-serif;
    letter-spacing: .18em;
    text-transform: uppercase
}

.gallery figure:first-child {
    min-height: 500px
}

.gallery figure:first-child img {
    object-position: center
}

.page-hero {
    min-height: 360px;
    display: grid;
    align-items: end;
    background: linear-gradient(115deg, rgba(8, 9, 16, .9), rgba(8, 9, 16, .3)), var(--midnight);
    background-size: cover;
    background-position: center
}

.page-hero.atmosfera {
    background-image: linear-gradient(115deg, rgba(8, 9, 16, .92), rgba(8, 9, 16, .28)), url('assets/images/interno.jpg')
}

.page-hero.menu {
    background-image: linear-gradient(115deg, rgba(8, 9, 16, .92), rgba(8, 9, 16, .28)), url('assets/images/roll-2.jpg')
}

.page-hero.social {
    background-image: linear-gradient(115deg, rgba(8, 9, 16, .92), rgba(8, 9, 16, .28)), url('assets/images/roll-1.jpg')
}

.page-title {
    font-size: clamp(3.4rem, 7vw, 6.5rem);
    margin-top: 20px
}

.content {
    padding: 92px 0;
    background: linear-gradient(180deg, #dde7fb 0%, #f7f3ee 26%, #f2efe8 46%, #e8edf9 100%);
    border-top: 1px solid rgba(200, 162, 75, .18);
    border-bottom: 1px solid rgba(200, 162, 75, .18);
    box-shadow: inset 0 1px 0 rgba(200, 162, 75, .12), inset 0 -1px 0 rgba(18, 32, 63, .08);
    color: var(--ink)
}

.content p {
    color: #5d5955
}

.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    margin-top: 55px;
    background: transparent
}

.stat {
    padding: 27px;
    background: transparent
}

.stat strong {
    display: block;
    color: #fff;
    font: 600 2.6rem/.9 'Cormorant Garamond', serif
}

.stat span {
    display: block;
    margin-top: 10px;
    font-size: .73rem;
    color: #fff
}

.menu-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px
}

.menu-card {
    padding: 40px;
    border: 1px solid var(--line);
    background: linear-gradient(145deg, #151621, #090a10)
}

.menu-card h3 {
    margin: 12px 0 6px;
    font: 600 2.2rem 'Cormorant Garamond', serif
}

.price {
    margin: 20px 0;
    color: var(--gold);
    font: 500 3.6rem/.8 'Cormorant Garamond', serif
}

.menu-card ul {
    padding: 0;
    list-style: none;
    color: #c9c4bc;
    font-size: .88rem
}

.menu-card li {
    padding: 10px 0;
    border-top: 1px solid rgba(255, 255, 255, .12)
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 35px
}

.tags span {
    padding: 7px 10px;
    border: 1px solid var(--line);
    color: var(--gold-light);
    font: .65rem Montserrat, sans-serif;
    letter-spacing: .12em
}

.contact-grid {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 70px
}

.contact-list {
    margin: 25px 0 35px;
    padding: 0;
    list-style: none
}

.contact-list li {
    padding: 15px 0;
    border-top: 1px solid #d7cfc1
}

.contact-list a {
    color: #53400f
}

.hours {
    width: 100%;
    border-collapse: collapse;
    font-size: .86rem
}

.hours td {
    padding: 11px 0;
    border-top: 1px solid #d7cfc1
}

.hours td:last-child {
    text-align: right
}

.map-frame {
    width: 100%;
    min-height: 420px;
    border: 0;
    filter: grayscale(1) contrast(1.1)
}

.social-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px
}

.social-card {
    display: block;
    padding: 42px;
    background: linear-gradient(145deg, #171826, #090a10);
    border: 1px solid var(--line)
}

.social-card h3 {
    font: 600 2.3rem 'Cormorant Garamond', serif
}

.social-card p {
    margin: 14px 0 27px;
    color: #c7c1b7
}

.social-card small {
    color: var(--gold);
    font: .68rem Montserrat, sans-serif;
    letter-spacing: .15em
}

footer {
    padding: 34px 0;
    background: #06070b;
    color: #aaa59c;
    font-size: .75rem
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap
}

.fbrand {
    color: var(--gold);
    font: 600 1.1rem 'Cormorant Garamond', serif;
    letter-spacing: .1em
}

.legal-content {
    max-width: 760px
}

.legal-updated {
    display: inline-block;
    margin-bottom: 30px;
    color: var(--gold);
    font: 500 .72rem Montserrat, sans-serif;
    letter-spacing: .12em;
    text-transform: uppercase
}

.legal-content h2 {
    margin-top: 40px;
    font: 600 1.6rem 'Cormorant Garamond', serif
}

.legal-content h2:first-of-type {
    margin-top: 0
}

.legal-content p,
.legal-content li {
    color: #5d5955;
    font-size: .95rem
}

.legal-content ul {
    padding-left: 20px;
    margin: 12px 0
}

@media(max-width:800px) {
    .nav-links {
        display: none
    }

    .wrap,
    nav {
        width: min(100% - 36px, 1160px)
    }

    .hero {
        min-height: 620px
    }

    .hero-content {
        padding-bottom: 50px
    }

    .section-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 46px
    }

    .gallery {
        grid-template-columns: 1fr;
        gap: 12px
    }

    .gallery figure,
    .gallery figure:first-child {
        min-height: 360px
    }

    .stats {
        grid-template-columns: 1fr 1fr
    }

    .menu-list,
    .social-cards {
        grid-template-columns: 1fr
    }

    .page-hero,
    .intro,
    .dark-section,
    .content {
        padding: 76px 0
    }
}

@media(max-width:480px) {
    .nav-cta {
        padding: 9px;
        font-size: .59rem
    }

    .hero h1 {
        font-size: 4.2rem
    }

    .stats {
        grid-template-columns: 1fr
    }

    .hero-details {
        gap: 16px
    }
}
/*---riquadro dietro al testo---*/
.text-panel {
    display: inline-block;
    justify-self: center;
    width: min(800px, calc(100% - 56px));
    padding: 24px 28px;
    background: radial-gradient(ellipse at center, rgba(9, 10, 16, .62) 0%, rgba(9, 10, 16, .36) 58%, transparent 100%);
    border: 0;
    border-radius: 24px;
    overflow: hidden;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px)
}
 
.hero-content .text-panel {
    display: inline-block;
    width: fit-content;
    max-width: 100%
}
 
@media(max-width:480px) {
    .text-panel {
        padding: 18px 16px
    }
}