/* ========================================================================
   8th Floor Rooftop — Trilussa Palace
   Color Palette: Warm Night + Champagne Gold
   ======================================================================== */

:root {
    --bg-night:       #1a1410;
    --bg-night-soft:  #2c2419;
    --bg-warm-medium: #3a2e1f;
    --bg-cream:       #f7f1e8;
    --bg-cream-soft:  #efe7d8;
    --gold:           #c9a961;
    --gold-dark:      #a98a3f;
    --gold-bright:    #e0c47c;
    --text-dark:      #2c2419;
    --text-on-dark:   #e8dcc8;
    --muted-dark:     #8a7a5e;
    --muted-light:    #b8a886;
    --border-cream:   #d8c8a8;
    --border-night:   #4a3e2c;
    --error:          #c44545;
    --success:        #5a8a4e;

    --font-serif: 'Didot', 'Bodoni 72', 'Bodoni Moda', 'Times New Roman', Times, serif;
    --font-sans:  'Times New Roman', Times, Georgia, serif;

    --shadow-sm: 0 2px 8px rgba(26, 20, 16, 0.08);
    --shadow-md: 0 8px 32px rgba(26, 20, 16, 0.15);
    --shadow-lg: 0 20px 60px rgba(26, 20, 16, 0.25);

    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--bg-cream);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

h1, h2, h3, h4 {
    font-family: var(--font-serif);
    font-weight: 400;
    line-height: 1.15;
    margin: 0 0 0.5em;
    letter-spacing: -0.01em;
}

.gold-text {
    color: var(--gold-dark);
}

.script-italic {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 400;
    color: var(--gold-dark);
}

/* ─── HEADER ─── */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(247, 241, 232, 0.0);
    /* NOTE: backdrop-filter would create a containing block, trapping the
       position:fixed mobile .nav inside the header rect. Keep it OFF here. */
    transition: background 0.3s ease, padding 0.3s ease;
    padding: 18px 0;
}

.site-header.scrolled {
    background: rgba(26, 20, 16, 0.92);
    padding: 12px 0;
    box-shadow: var(--shadow-sm);
}
/* Apply blur only on desktop where mobile slide-out nav is irrelevant. */
@media (min-width: 861px) {
    .site-header.scrolled { backdrop-filter: blur(12px); }
}

.header-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 24px;
}
@media (max-width: 860px) {
    .header-right { gap: 12px; }
}

.brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    color: var(--bg-cream);
    text-decoration: none;
    transition: color 0.2s ease;
}
.site-header:not(.scrolled) .brand {
    color: var(--bg-cream);
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.6);
}

.brand-line1 {
    font-family: var(--font-serif);
    font-size: 24px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    line-height: 1;
}
.brand-line1 .ord {
    font-size: 14px;
    vertical-align: super;
    letter-spacing: 0;
}
.brand-line2 {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 14px;
    color: var(--gold-bright);
    margin-top: 2px;
    letter-spacing: 0.05em;
}

.nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav a {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--bg-cream);
    transition: color 0.2s ease;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.6);
}
.site-header.scrolled .nav a {
    text-shadow: none;
}
.nav a:hover {
    color: var(--gold-bright);
}

.nav .cta {
    background: var(--gold);
    color: var(--bg-night);
    padding: 10px 22px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    text-shadow: none;
    transition: background 0.2s ease, transform 0.2s ease;
}
.nav .cta:hover {
    background: var(--gold-bright);
    color: var(--bg-night);
    transform: translateY(-1px);
}

.lang-switch {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    letter-spacing: 0.1em;
    color: var(--bg-cream);
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.6);
    text-transform: uppercase;
}
.site-header.scrolled .lang-switch {
    text-shadow: none;
}
.lang-switch a {
    opacity: 0.6;
    transition: opacity 0.2s ease;
    padding: 8px 6px;
    min-width: 28px;
    text-align: center;
}
.lang-switch a.active {
    opacity: 1;
    color: var(--gold-bright);
}
.lang-switch a:hover {
    opacity: 1;
}
/* Lang-switch sits in the header (always visible). On mobile, give a comfortable
   tap area for the small IT/EN labels. */
@media (max-width: 860px) {
    .lang-switch-header { gap: 2px; font-size: 13px; }
    .lang-switch-header a { padding: 10px 8px; min-width: 32px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
}

.menu-toggle {
    display: none;
    background: transparent;
    border: 0;
    color: var(--bg-cream);
    cursor: pointer;
    padding: 8px;
}

@media (max-width: 860px) {
    .nav {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: 320px;
        max-width: 80vw;
        background: var(--bg-night);
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 88px 32px 32px;
        transform: translateX(100%);
        transition: transform 0.3s ease;
        box-shadow: var(--shadow-lg);
        z-index: 90; /* below toggle so user can always close */
    }
    .nav.open {
        transform: translateX(0);
    }
    /* Lang-switch + toggle stay clickable on top of the slide-out panel */
    .lang-switch-header { position: relative; z-index: 110; }
    .menu-toggle { position: relative; z-index: 110; }
    .nav a {
        padding: 18px 0;
        border-bottom: 1px solid var(--border-night);
        text-shadow: none;
    }
    .nav .cta {
        margin-top: 16px;
        text-align: center;
    }
    .menu-toggle {
        display: block;
    }
}

/* ─── HERO ─── */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    overflow: hidden;
    color: var(--bg-cream);
    text-align: center;
    padding: clamp(150px, 22vh, 240px) 32px 80px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -2;
}
.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(26, 20, 16, 0.55) 0%, rgba(26, 20, 16, 0.35) 50%, rgba(26, 20, 16, 0.85) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-eyebrow {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 22px;
    color: var(--gold-bright);
    margin-bottom: 18px;
    letter-spacing: 0.06em;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(56px, 10vw, 120px);
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    line-height: 0.95;
    margin: 0 0 12px;
    text-shadow: 0 4px 32px rgba(0, 0, 0, 0.4);
}
.hero-title .ord {
    font-size: 0.45em;
    vertical-align: super;
    letter-spacing: 0;
}

.hero-script {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: clamp(28px, 4.5vw, 44px);
    color: var(--gold-bright);
    margin: 0 0 24px;
    letter-spacing: 0.02em;
}

.hero-tagline {
    font-family: var(--font-serif);
    font-size: clamp(15px, 2vw, 18px);
    color: rgba(247, 241, 232, 0.85);
    margin: 0 auto 32px;
    max-width: 580px;
    letter-spacing: 0.02em;
    font-style: italic;
}

.hero-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
    margin-bottom: 40px;
    font-size: 15px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0.92;
}
.hero-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
}
.hero-meta-divider {
    width: 4px;
    height: 4px;
    background: var(--gold);
    border-radius: 50%;
}

.btn {
    display: inline-block;
    padding: 16px 40px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border-radius: var(--radius-sm);
    border: 0;
    cursor: pointer;
    transition: all 0.25s ease;
    font-family: var(--font-sans);
}

.btn-gold {
    background: var(--gold);
    color: var(--bg-night);
}
.btn-gold:hover {
    background: var(--gold-bright);
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(201, 169, 97, 0.4);
}

.btn-outline-gold {
    background: transparent;
    color: var(--gold-bright);
    border: 1.5px solid var(--gold);
}
.btn-outline-gold:hover {
    background: var(--gold);
    color: var(--bg-night);
}

.btn-dark {
    background: var(--bg-night);
    color: var(--bg-cream);
}
.btn-dark:hover {
    background: var(--bg-night-soft);
    transform: translateY(-2px);
}

.btn-outline-dark {
    background: transparent;
    color: var(--bg-night);
    border: 1.5px solid var(--bg-night);
}
.btn-outline-dark:hover {
    background: var(--bg-night);
    color: var(--bg-cream);
    transform: translateY(-2px);
}

.about-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 18px;
}

.hero-tour-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
    color: var(--bg-cream);
    font-size: 13px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    text-decoration: none;
    padding: 10px 18px;
    border: 1px solid rgba(234, 224, 213, 0.45);
    border-radius: 999px;
    background: rgba(26, 20, 16, 0.18);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease, transform 0.25s ease;
}
.hero-tour-link:hover, .hero-tour-link:focus-visible {
    color: var(--bg-night);
    background: var(--bg-cream);
    border-color: var(--bg-cream);
    transform: translateY(-1px);
    outline: none;
}
.hero-tour-link svg {
    flex-shrink: 0;
}

/* ─── SECTIONS ─── */
section {
    padding: 96px 32px;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
}
.container-narrow {
    max-width: 780px;
    margin: 0 auto;
}

.section-eyebrow {
    font-family: var(--font-serif);
    font-style: italic;
    color: var(--gold-dark);
    font-size: 20px;
    margin-bottom: 8px;
    letter-spacing: 0.04em;
}

.section-title {
    font-size: clamp(36px, 5vw, 56px);
    margin-bottom: 24px;
    color: var(--text-dark);
}

.section-intro {
    font-size: 17px;
    line-height: 1.75;
    color: var(--muted-dark);
    max-width: 680px;
}

.section-divider {
    width: 60px;
    height: 1px;
    background: var(--gold);
    margin: 0 auto 32px;
}

.text-center {
    text-align: center;
}

/* ─── INFO STRIP (orari, capienza, location) ─── */
.info-strip {
    background: var(--bg-night);
    color: var(--bg-cream);
    padding: 64px 32px;
}
.info-strip .info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 48px;
    text-align: center;
    max-width: 1100px;
    margin: 0 auto;
}
.info-item h3 {
    font-size: 14px;
    font-family: var(--font-sans);
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold-bright);
    margin-bottom: 16px;
}
.info-item .info-value {
    font-family: var(--font-serif);
    font-size: 28px;
    color: var(--bg-cream);
    line-height: 1.3;
}
.info-item .info-sub {
    font-size: 13px;
    color: var(--muted-light);
    margin-top: 8px;
    letter-spacing: 0.04em;
}

/* ─── ABOUT (split image+text) ─── */
.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}
.split-reverse {
    direction: rtl;
}
.split-reverse > * {
    direction: ltr;
}
.split-image {
    position: relative;
}
.split-image img {
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-md);
    width: 100%;
    aspect-ratio: 4/5;
    object-fit: cover;
}
.split-text p {
    font-size: 17px;
    line-height: 1.8;
    color: var(--muted-dark);
    margin: 0 0 1em;
}
@media (max-width: 760px) {
    .split { grid-template-columns: 1fr; gap: 40px; }
    .split-reverse { direction: ltr; }
}

/* ─── MENU PREVIEW CARDS (dark variant for night-section) ─── */
.menu-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
    margin-top: 56px;
    text-align: left;
}
@media (min-width: 1100px) {
    .menu-cards { grid-template-columns: repeat(2, 1fr); gap: 36px; max-width: 1100px; margin-left: auto; margin-right: auto; }
}
.menu-card {
    background: linear-gradient(180deg, var(--bg-cream) 0%, var(--bg-cream-soft) 100%);
    padding: 36px 32px 32px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(168, 138, 63, 0.28);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22);
}
.menu-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, var(--gold-dark) 50%, transparent 100%);
    opacity: 0.85;
}
.menu-card:hover {
    transform: translateY(-6px);
    border-color: rgba(168, 138, 63, 0.55);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.4);
    background: linear-gradient(180deg, #fbf6ed 0%, var(--bg-cream) 100%);
}
.menu-card-eyebrow {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 16px;
    color: var(--gold-dark);
    letter-spacing: 0.04em;
    margin-bottom: 4px;
}
.menu-card-title {
    font-family: var(--font-serif);
    font-size: 32px;
    font-weight: 500;
    color: var(--text-dark);
    margin: 0 0 16px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.menu-card-divider {
    width: 48px;
    height: 1px;
    background: var(--gold-dark);
    margin-bottom: 24px;
    opacity: 0.85;
}
.menu-card-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.menu-card-list li {
    display: flex;
    align-items: baseline;
    gap: 8px;
    padding: 10px 0;
    font-size: 15px;
    color: var(--text-dark);
    border-bottom: 1px solid rgba(168, 138, 63, 0.18);
}
.menu-card-list li:last-child { border-bottom: 0; }
.menu-card-list .dish {
    flex: 0 0 auto;
}
.menu-card-list .leader {
    flex: 1 1 auto;
    border-bottom: 1px dotted rgba(168, 138, 63, 0.55);
    transform: translateY(-4px);
    height: 0;
    margin: 0 8px;
}
.menu-card-list .price {
    flex: 0 0 auto;
    font-family: var(--font-serif);
    font-size: 19px;
    font-weight: 500;
    color: var(--gold-dark);
    letter-spacing: 0.02em;
}
.menu-card-list .price::before {
    content: '€\00a0';
    font-size: 0.7em;
    opacity: 0.7;
    margin-right: 1px;
}

/* ─── GALLERY ─── */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 12px;
}
.gallery-grid a, .gallery-grid figure {
    overflow: hidden;
    border-radius: var(--radius-sm);
    aspect-ratio: 4/3;
    cursor: pointer;
    margin: 0;
    background: var(--bg-cream-soft);
}
.gallery-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.gallery-grid a:hover img, .gallery-grid figure:hover img {
    transform: scale(1.06);
}
/* Mobile: horizontal slideshow */
@media (max-width: 768px) {
    .gallery-grid {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        gap: 12px;
        padding: 0 10vw 4px;
        margin: 0 -16px;
        scrollbar-width: none;
    }
    .gallery-grid::-webkit-scrollbar { display: none; }
    .gallery-grid > a,
    .gallery-grid > figure {
        flex: 0 0 80vw;
        max-width: 80vw;
        scroll-snap-align: center;
        aspect-ratio: 4/3;
    }
}

/* ─── REVIEWS ─── */
.reviews-section {
    padding: 80px 0;
    background: linear-gradient(180deg, var(--bg-cream) 0%, var(--bg-cream-soft) 100%);
}
.reviews-aggregate {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 18px;
    font-size: 0.95rem;
    color: var(--text-dark);
}
.reviews-aggregate strong { font-weight: 700; }
.aggregate-stars {
    color: var(--gold);
    letter-spacing: 3px;
    font-size: 1.15rem;
    line-height: 1;
}
/* Horizontal slideshow — always (mobile + desktop) */
.reviews-grid {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    gap: 18px;
    padding: 8px 8vw 18px;
    margin: 0 -16px;
    scrollbar-width: none;
}
.reviews-grid::-webkit-scrollbar { display: none; }
.review-card {
    flex: 0 0 84vw;
    max-width: 84vw;
    scroll-snap-align: center;
    position: relative;
    background: #fdfaf3;
    border: 1px solid rgba(201, 169, 97, 0.20);
    border-radius: var(--radius-md, 12px);
    padding: 36px 28px 22px;
    box-shadow: 0 2px 14px rgba(44, 36, 25, 0.05);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}
@media (min-width: 720px) {
    .reviews-grid { padding: 8px 6vw 18px; gap: 22px; }
    .review-card { flex: 0 0 380px; max-width: 380px; }
}
@media (min-width: 1100px) {
    .reviews-grid { padding: 8px max(4vw, 24px) 18px; gap: 26px; }
    .review-card { flex: 0 0 400px; max-width: 400px; }
}
.review-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 22px rgba(44, 36, 25, 0.08);
}
.review-card::before {
    content: "\201C";
    position: absolute;
    top: -10px;
    left: 18px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 6rem;
    line-height: 1;
    color: var(--gold);
    opacity: 0.18;
    pointer-events: none;
}
.review-stars {
    color: var(--gold);
    letter-spacing: 2px;
    font-size: 1rem;
    margin-bottom: 14px;
    position: relative;
    z-index: 1;
}
.review-text {
    margin: 0 0 22px;
    font-size: 0.96rem;
    line-height: 1.65;
    color: var(--text-dark);
    quotes: none;
    position: relative;
    z-index: 1;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 8;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.review-meta {
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid rgba(44, 36, 25, 0.08);
}
.review-author {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}
.review-badge {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 2px 8px;
    border-radius: 999px;
    background: rgba(201, 169, 97, 0.15);
    color: var(--gold-dark);
    border: 1px solid rgba(201, 169, 97, 0.25);
}
.review-context {
    font-size: 0.74rem;
    text-transform: uppercase;
    letter-spacing: 0.10em;
    color: var(--gold-dark);
    margin-top: 6px;
}

/* ─── BOOKING FORM · "Lettera al Maître" ─── */
/* Editorial letter aesthetic on the warm-night ground.
   No card, hairline gold underlines, Roman-numeral field markers,
   slot times set in Didot like a vintage ticket strip. */

/* Booking surfaces — both standalone /prenota page and embedded #prenota
   section on the home share the warm-beige ground that hosts the wizard card.
   Colors lifted from trilussapalace.com/spa's section-config palette
   (#EAE0D5 ground, cream-gradient card). */
.booking-page,
.booking-section {
    background: #EAE0D5;
    color: var(--text-dark);
}
.booking-page  { padding: 140px 32px 100px; min-height: 100vh; }
.booking-section { padding: 96px 32px; }
@media (max-width: 640px) {
    .booking-section { padding: 56px 14px; }
    .booking-page    { padding: 110px 0 80px; }
}
@media (max-width: 420px) {
    .booking-section { padding: 48px 8px; }
    .booking-page    { padding: 100px 0 70px; }
}

/* ─── Booking layout — image side panel + wizard content ─── */
.booking-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    max-width: 1280px;
    margin: 0 auto;
}
.booking-aside {
    width: 100%;
    overflow: hidden;
    border-radius: 0;
}
.booking-aside picture,
.booking-aside img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.booking-content {
    /* container sized below per breakpoint */
}

@media (min-width: 861px) {
    .booking-layout {
        grid-template-columns: minmax(280px, 5fr) minmax(420px, 7fr);
        gap: 64px;
        align-items: start;
        padding: 0 16px;
    }
    .booking-aside {
        position: sticky;
        top: 96px;
        height: calc(100vh - 140px);
        max-height: 760px;
        border-radius: var(--radius-md);
        box-shadow: var(--shadow-md);
    }
    .booking-content {
        max-width: 720px;
    }
}
@media (max-width: 860px) {
    .booking-aside {
        height: 260px;
        margin-bottom: 36px;
    }
    .booking-content {
        padding: 0 14px;
    }
}
@media (max-width: 420px) {
    .booking-aside {
        height: 220px;
    }
    .booking-content {
        padding: 0 8px;
    }
}

/* ─── Wave divider — animated transition into booking section ─── */
/* Lifted from trilussapalace.com/spa's #configurator-section transition. */
.section-wave-divider { line-height: 0; margin: 0; padding: 0; overflow: hidden; }
.section-wave-divider svg {
    display: block;
    width: 200%;
    height: 140px;
    animation: waveFlow 8s ease-in-out infinite alternate;
}
@keyframes waveFlow {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-25%); }
}
@media (max-width: 900px) {
    .section-wave-divider svg { height: 100px; }
}
@media (prefers-reduced-motion: reduce) {
    .section-wave-divider svg { animation: none; }
}

.booking-form {
    position: relative;
    background: transparent;
    border: 0;
    padding: 0;
    border-radius: 0;
    max-width: 720px;
    margin: 0 auto;
}
.booking-form::before {
    content: '';
    position: absolute;
    inset: -10% -8% auto -8%;
    height: 70%;
    background: radial-gradient(ellipse at 50% 30%, rgba(201, 169, 97, 0.06), transparent 70%);
    pointer-events: none;
    z-index: 0;
}
.booking-form > * { position: relative; z-index: 1; }

/* Layout */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px;
    margin-bottom: 32px;
}
.form-row.three { grid-template-columns: 1fr 1fr 1fr; }
.booking-form .form-group { margin-bottom: 32px; }
.booking-form .form-row .form-group { margin-bottom: 0; }

.form-group {
    display: flex;
    flex-direction: column;
    position: relative;
}

/* Field labels — small caps editorial */
.form-group label {
    display: block;
    font-family: var(--font-sans);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--text-dark);
    margin-bottom: 14px;
}
.form-group label .req {
    color: var(--gold-dark);
    margin-left: 6px;
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 13px;
    letter-spacing: 0;
}

/* Defined-card inputs — soft border + cream fill for clear delineation */
.form-group input,
.form-group select,
.form-group textarea {
    padding: 14px 16px;
    border: 1.5px solid rgba(169, 138, 63, 0.30);
    border-radius: var(--radius-sm);
    background: rgba(255, 251, 244, 0.55);
    font-family: var(--font-serif);
    font-size: 19px;
    line-height: 1.3;
    color: var(--text-dark);
    transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(44, 36, 25, 0.42);
    font-style: italic;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold-dark);
    background: rgba(255, 251, 244, 0.95);
    box-shadow: 0 0 0 3px rgba(169, 138, 63, 0.14);
}
.form-group input:not(:placeholder-shown):not(:focus),
.form-group textarea:not(:placeholder-shown):not(:focus) {
    border-color: rgba(169, 138, 63, 0.55);
    background: rgba(255, 251, 244, 0.85);
}

/* Native date/time pickers — keep light UI */
.form-group input[type="date"]::-webkit-calendar-picker-indicator,
.form-group input[type="time"]::-webkit-calendar-picker-indicator {
    opacity: 0.55;
    cursor: pointer;
}

/* Custom select chevron */
.form-group select {
    background-image:
        linear-gradient(45deg, transparent 50%, var(--gold-dark) 50%),
        linear-gradient(135deg, var(--gold-dark) 50%, transparent 50%);
    background-position: right 18px center, right 12px center;
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
    padding-right: 38px;
    cursor: pointer;
}
.form-group select option {
    background: var(--bg-cream);
    color: var(--text-dark);
}

.form-group textarea {
    min-height: 92px;
    padding-top: 14px;
    resize: vertical;
}

.form-help {
    margin-top: 12px;
    color: var(--text-dark);
    opacity: 0.65;
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 14px;
    letter-spacing: 0.01em;
}

/* ─── Slot grid (chip layout, flat — filtered by occasion) ─── */
.slot-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(86px, 1fr));
    gap: 12px 14px;
    padding: 6px 0 8px;
}

/* ─── Occasion picker (sub-step 3a) ─── */
.occasion-picker {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 22px;
    padding: 8px 0 4px;
}
.occasion-picker-msg {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 16px;
    color: var(--muted-dark);
    margin: 0;
}
.occasion-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    width: 100%;
    max-width: 560px;
}
.occasion-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #FFFFFF;
    border: 1.5px solid var(--border-cream);
    border-radius: var(--radius-sm);
    padding: 30px 14px;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(26, 20, 16, 0.06);
    transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease, color 0.25s ease;
}
.occasion-card:hover, .occasion-card:focus-visible {
    background: #FFFCF7;
    border-color: var(--gold-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(168, 138, 63, 0.20);
    outline: none;
}
.occasion-card-name {
    font-family: var(--font-serif);
    font-size: 22px;
    color: var(--text-dark);
    transition: color 0.25s ease;
}
.occasion-card:hover .occasion-card-name,
.occasion-card:focus-visible .occasion-card-name { color: var(--gold-dark); }
.occasion-card-sub {
    font-family: var(--font-sans);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--muted-dark);
}

/* Context bar above filtered slots (sub-step 3b) */
.occasion-context {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin: 0 0 14px;
    flex-wrap: wrap;
}
.occasion-context-name {
    font-family: var(--font-serif);
    font-style: italic;
    color: var(--gold-dark);
    font-size: 18px;
    letter-spacing: 0.03em;
}
.occasion-context-sub {
    font-family: var(--font-sans);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--muted-dark);
    margin-left: 10px;
}
.occasion-change {
    background: #FFFFFF;
    border: 1.5px solid var(--border-cream);
    color: var(--text-dark);
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 13px;
    letter-spacing: 0.01em;
    cursor: pointer;
    padding: 8px 18px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 2px 6px rgba(26, 20, 16, 0.06);
    transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.occasion-change:hover, .occasion-change:focus-visible {
    background: #FFFCF7;
    border-color: var(--gold-dark);
    color: var(--gold-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(168, 138, 63, 0.18);
    outline: none;
}
.slot-btn {
    background: #FFFFFF;
    border: 1.5px solid var(--border-cream);
    color: var(--text-dark);
    font-family: var(--font-serif);
    font-size: 21px;
    font-weight: 400;
    letter-spacing: 0.01em;
    padding: 14px 6px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(26, 20, 16, 0.06);
    transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
    -webkit-font-feature-settings: 'tnum' 1, 'lnum' 1;
    font-feature-settings: 'tnum' 1, 'lnum' 1;
}
.slot-btn:hover:not(:disabled) {
    background: #FFFCF7;
    border-color: var(--gold-dark);
    color: var(--gold-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(168, 138, 63, 0.18);
}
.slot-btn.active {
    background: #FFFCF7;
    border-color: var(--gold-dark);
    color: var(--gold-dark);
    font-weight: 500;
    box-shadow: 0 4px 14px rgba(168, 138, 63, 0.22);
}
.slot-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    text-decoration: line-through;
    text-decoration-color: rgba(168, 138, 63, 0.4);
    text-decoration-thickness: 1px;
    background: rgba(255, 255, 255, 0.55);
    border-color: rgba(216, 200, 168, 0.45);
    box-shadow: none;
}

/* ─── Form messages — left rule, no box ─── */
.form-msg {
    padding: 12px 0 12px 18px;
    margin-bottom: 28px;
    border: 0;
    border-left: 2px solid var(--gold);
    border-radius: 0;
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 16px;
    background: transparent;
    color: var(--text-dark);
}
.form-msg.error   { border-left-color: var(--error); color: var(--error); }
.form-msg.success { border-left-color: var(--success); color: var(--success); }
.form-msg.info    { border-left-color: var(--gold-dark); color: var(--gold-dark); }
.form-msg.hidden  { display: none; }

/* ─── Consent — privacy + marketing dual-checkbox (gold theme) ─── */
.consent-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 18px 0 0;
    margin-top: 8px;
    border-top: 1.5px solid rgba(44, 36, 25, 0.28);
}
.consent-item {
    display: flex !important;
    align-items: center;
    gap: 14px;
    cursor: pointer;
    user-select: none;
    min-height: 44px;
    padding: 6px 0;
    font-weight: 400 !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
}
.consent-item::before { content: none !important; }
.consent-checkbox {
    position: relative;
    flex-shrink: 0;
    width: 22px;
    height: 22px;
}
.consent-checkbox input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}
.consent-checkmark {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border: 1.5px solid var(--gold-dark);
    background: transparent;
    transition: background 0.2s ease, box-shadow 0.2s ease;
}
.consent-checkbox input:checked ~ .consent-checkmark {
    background: var(--gold-dark);
    border-color: var(--gold-dark);
}
.consent-checkbox input:checked ~ .consent-checkmark::after {
    content: '';
    width: 5px;
    height: 10px;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(45deg) translate(-1px, -1px);
}
.consent-checkbox input:focus-visible ~ .consent-checkmark {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
}
.consent-label {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 15px;
    line-height: 1.55;
    color: var(--text-dark);
}
.consent-label a {
    color: var(--gold-dark);
    text-decoration: underline;
    text-decoration-color: rgba(168, 138, 63, 0.5);
    text-underline-offset: 3px;
}
.consent-required {
    color: #b94a3b;
    font-weight: 700;
    font-style: normal;
    margin-left: 2px;
}
.consent-optional {
    font-size: 0.82em;
    color: rgba(44, 36, 25, 0.62);
    font-style: italic;
    margin-left: 4px;
}
.consent-item.shake { animation: consentShake 0.5s ease; }
.consent-item.shake .consent-checkmark {
    border-color: #b94a3b;
    box-shadow: 0 0 0 3px rgba(185, 74, 59, 0.15);
}
@keyframes consentShake {
    0%, 100% { transform: translateX(0); }
    15%, 45%, 75% { transform: translateX(-6px); }
    30%, 60%, 90% { transform: translateX(6px); }
}

/* ─── Submit area — ornament + statement CTA ─── */
.submit-area {
    margin-top: 44px;
    text-align: center;
}
.submit-area::before {
    content: '· ❖ ·';
    display: block;
    color: var(--gold-dark);
    font-size: 14px;
    letter-spacing: 0.6em;
    margin-bottom: 26px;
    opacity: 0.7;
}
.btn-submit {
    width: auto;
    min-width: 280px;
    padding: 17px 52px;
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 19px;
    font-weight: 400;
    letter-spacing: 0.04em;
    background: var(--text-dark);
    border: 1.5px solid var(--text-dark);
    color: var(--bg-cream);
    border-radius: 0;
    cursor: pointer;
    transition: background 0.4s ease, color 0.4s ease, letter-spacing 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease, transform 0.4s ease;
    text-transform: none;
    position: relative;
    overflow: hidden;
}
.btn-submit:hover:not(:disabled):not(.btn-success) {
    background: transparent;
    color: var(--text-dark);
    letter-spacing: 0.07em;
}
.btn-submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
}
.btn-submit.btn-success {
    background: var(--text-dark);
    border-color: var(--text-dark);
    color: var(--bg-cream);
    opacity: 1;
    pointer-events: none;
    transform: scale(1.02);
}
.btn-submit.btn-success .submit-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}
.submit-check svg {
    width: 26px;
    height: 26px;
    flex: 0 0 auto;
}
.submit-check .check-circle {
    fill: none;
    stroke: var(--bg-cream);
    stroke-width: 2.5;
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    animation: submit-check-circle 0.55s cubic-bezier(0.65, 0, 0.45, 1) 0.05s forwards;
}
.submit-check .check-tick {
    fill: none;
    stroke: var(--bg-cream);
    stroke-width: 3.4;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    animation: submit-check-tick 0.4s cubic-bezier(0.65, 0, 0.45, 1) 0.5s forwards;
}
.submit-check .check-label {
    font-style: italic;
    letter-spacing: 0.06em;
    opacity: 0;
    animation: submit-check-label 0.4s ease-out 0.7s forwards;
}
@keyframes submit-check-circle { to { stroke-dashoffset: 0; } }
@keyframes submit-check-tick   { to { stroke-dashoffset: 0; } }
@keyframes submit-check-label  { to { opacity: 1; } }
.submit-meta {
    margin-top: 22px !important;
    font-family: var(--font-serif) !important;
    font-style: italic !important;
    font-size: 12px !important;
    color: var(--muted-dark) !important;
    letter-spacing: 0.04em;
}
.submit-meta .req { color: var(--gold-dark); }

/* ─── Mobile ─── */
@media (max-width: 640px) {
    .form-row, .form-row.three { grid-template-columns: 1fr; gap: 28px; }
    .booking-form { padding: 0; }
    .form-group input,
    .form-group select,
    .form-group textarea { font-size: 17px; }
    .form-group label { font-size: 10px; letter-spacing: 0.2em; }
    .slot-grid { grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: 10px 10px; padding: 4px 0; }
    .slot-btn { font-size: 19px; padding: 12px 4px; }
    .occasion-cards { grid-template-columns: 1fr; gap: 10px; max-width: 360px; }
    .occasion-card { padding: 22px 14px; }
    .occasion-card-name { font-size: 20px; }
    .btn-submit { width: 100%; min-width: 0; padding: 16px 24px; }
}

/* ─── MENU PAGE ─── */
.menu-page {
    background: var(--bg-cream);
    padding: 140px 32px 80px;
}
.menu-page-title {
    text-align: center;
    margin-bottom: 64px;
}
.menu-section {
    margin-bottom: 72px;
}
.menu-section-title {
    text-align: center;
    font-size: 32px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold-dark);
    margin-bottom: 8px;
}
.menu-item {
    text-align: center;
    padding: 24px 0;
    border-bottom: 1px solid var(--border-cream);
}
.menu-item:last-child { border-bottom: 0; }
.menu-item-name {
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 16px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 6px;
    color: var(--text-dark);
}
.menu-item-name .allergens {
    font-weight: 400;
    color: var(--muted-dark);
    font-size: 13px;
    text-transform: none;
    letter-spacing: 0.02em;
}
.menu-item-desc {
    font-size: 14px;
    color: var(--muted-dark);
    margin-bottom: 8px;
    line-height: 1.5;
    font-style: italic;
}
.menu-item-price {
    font-family: var(--font-serif);
    font-size: 22px;
    color: var(--gold-dark);
}
.menu-item-supplement {
    font-size: 13px;
    color: var(--muted-dark);
    margin-top: 4px;
}
.menu-allergens-footer {
    background: var(--bg-cream-soft);
    padding: 32px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-cream);
    text-align: center;
    font-size: 13px;
    color: var(--muted-dark);
    margin-top: 48px;
}
.menu-allergens-footer strong {
    color: var(--text-dark);
}

/* ─── FOOTER ─── */
.site-footer {
    background: var(--bg-night);
    color: var(--text-on-dark);
    padding: 80px 32px 40px;
    text-align: center;
}
.footer-brand {
    font-family: var(--font-serif);
    font-size: 36px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--bg-cream);
    margin-bottom: 4px;
}
.footer-brand .ord { font-size: 0.5em; vertical-align: super; }
.footer-script {
    font-family: var(--font-serif);
    font-style: italic;
    color: var(--gold-bright);
    font-size: 18px;
    margin-bottom: 32px;
}
.footer-info {
    display: flex;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
    margin-bottom: 40px;
    font-size: 14px;
    color: var(--muted-light);
}
.footer-info a {
    color: var(--text-on-dark);
    transition: color 0.2s ease;
}
.footer-info a:hover { color: var(--gold-bright); }
.footer-bottom {
    border-top: 1px solid var(--border-night);
    padding-top: 24px;
    font-size: 12px;
    color: var(--muted-light);
    letter-spacing: 0.04em;
}

/* ─── UTILS ─── */
.spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    vertical-align: middle;
    margin-right: 8px;
}
@keyframes spin { to { transform: rotate(360deg); } }

.hidden { display: none !important; }

/* ─── CONFIRMATION / MANAGE PAGES ─── */
.standalone-card {
    max-width: 640px;
    margin: 140px auto 80px;
    padding: 0 32px;
}
.standalone-card .card-inner {
    background: #5a4530;
    padding: 56px 48px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(201, 169, 97, 0.45);
    text-align: center;
    box-shadow: 0 12px 32px rgba(58, 46, 31, 0.28);
    color: var(--bg-cream);
}
.standalone-card .card-inner h1,
.standalone-card .card-inner p,
.standalone-card .card-inner strong { color: var(--bg-cream); }
.standalone-card h1 {
    font-size: 40px;
    margin-bottom: 16px;
}
.standalone-card .info-row {
    display: flex;
    justify-content: space-between;
    padding: 14px 0;
    border-bottom: 1px solid rgba(201, 169, 97, 0.25);
    text-align: left;
}
.standalone-card .info-row:last-child { border: 0; }
.standalone-card .info-label {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--gold-bright);
    opacity: 0.75;
}
.standalone-card .info-value {
    font-weight: 600;
    color: var(--bg-cream);
}

/* ========================================================================
   WIZARD — multi-step booking flow (Data → Persone → Orario → Form)
   Editorial chrome (Roman numerals, hairline gold) on cream ground.
   ======================================================================== */

.wizard-shell {
    max-width: 720px;
    margin: 0 auto;
    position: relative;
    background: transparent;
    padding: 0;
    border-radius: 0;
    border: none;
    box-shadow: none;
}

/* Dynamic page headline (replaces the static "Prenota un tavolo" h1).
   Morphs to show the current step's question. */
.wizard-headline {
    transition: opacity 0.22s ease, transform 0.22s ease;
}
.wizard-headline.headline-swap {
    opacity: 0;
    transform: translateY(-4px);
}

/* ─── Progress bar ─── */
.wizard-progress {
    margin-bottom: 36px;
}
.progress-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.progress-step {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 4px;
    color: rgba(44, 36, 25, 0.35);
    transition: color 0.4s ease;
    cursor: default;
    user-select: none;
}
.progress-step.completed {
    color: var(--gold-dark);
    cursor: pointer;
}
.progress-step.active {
    color: var(--text-dark);
}
.progress-num {
    font-family: var(--font-serif);
    font-style: normal;
    font-size: 18px;
    line-height: 1;
    width: 36px;
    height: 36px;
    border: 2px solid #E8E0D8;
    background: #FFFFFF;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    -webkit-font-feature-settings: 'tnum' 1, 'lnum' 1;
    font-feature-settings: 'tnum' 1, 'lnum' 1;
}
.progress-step.active .progress-num {
    background: linear-gradient(135deg, #E8D4C4 0%, #D4C0B0 100%);
    border-color: var(--gold-dark);
    color: var(--text-dark);
    box-shadow: 0 4px 12px rgba(226, 201, 171, 0.35);
}
.progress-step.completed .progress-num {
    background: #FFFFFF;
    border-color: var(--gold-dark);
    color: var(--gold-dark);
}
.progress-label {
    font-family: var(--font-sans);
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-weight: 500;
}
.progress-arrow {
    flex: 0 0 28px;
    height: 2px;
    background: #E8E0D8;
    border-radius: 1px;
    transition: background 0.4s ease;
}
.progress-arrow.completed {
    background: linear-gradient(90deg, #E2C9AB, #C4AC8E);
}

@media (max-width: 640px) {
    .progress-step { gap: 6px; padding: 6px 2px; }
    .progress-num { width: 32px; height: 32px; font-size: 18px; }
    .progress-label { font-size: 9.5px; letter-spacing: 0.14em; }
    .progress-arrow { flex-basis: 16px; }
}
@media (max-width: 460px) {
    .progress-label { display: none; }
    .progress-arrow { flex-basis: 24px; }
}

/* ─── Selection summary chips (above slides) ─── */
.wizard-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-bottom: 24px;
}
.wizard-summary.hidden { display: none; }
.summary-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #F5F0EB, #E8E0D8);
    border: 1px solid #D4C0B0;
    color: var(--text-dark);
    padding: 6px 14px;
    font-family: var(--font-serif);
    font-size: 13.5px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.25s ease;
}
.summary-chip:hover {
    border-color: #E2C9AB;
    background: linear-gradient(135deg, #FFFCF9, #F5EDE5);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(226, 201, 171, 0.2);
}

/* ─── Slides viewport ─── */
.wizard-viewport {
    position: relative;
}
/* When result panel is open, all slides are hidden — collapse viewport. */
.wizard-shell:has(> .wizard-result:not(.hidden)) .wizard-viewport,
.wizard-shell:has(> .wizard-result:not(.hidden)) .wizard-nav { display: none; }
.wizard-slide {
    /* Override global `section { padding: 96px 32px }` */
    padding: 0;
    transition: opacity 0.32s ease, transform 0.32s ease;
}
/* Same for the wizard-result section + its inner bookingForm wrapper */
.wizard-result { padding: 0; }
.booking-form-inline { padding: 0; }
.wizard-slide.fade-out {
    opacity: 0;
    transform: translateY(8px);
    pointer-events: none;
}
.wizard-slide.fade-in {
    opacity: 0;
    transform: translateY(8px);
}
.step-title {
    font-family: var(--font-serif);
    font-size: clamp(26px, 4vw, 34px);
    font-weight: 400;
    text-align: center;
    color: var(--text-dark);
    margin: 0 0 32px;
    letter-spacing: 0.01em;
}

/* ─── Date strip ─── (SPA configurator-inspired day cards) */
.cal-month-label {
    font-family: var(--font-serif);
    font-size: clamp(18px, 2.4vw, 22px);
    font-weight: 400;
    letter-spacing: 0.04em;
    color: var(--text-dark);
    text-align: center;
    margin: 0 0 14px;
    line-height: 1.2;
    -webkit-font-feature-settings: 'tnum' 1, 'lnum' 1;
    font-feature-settings: 'tnum' 1, 'lnum' 1;
}
.cal-strip-wrap {
    display: flex;
    align-items: stretch;
    gap: 8px;
    padding: 8px 0;
}
.cal-nav {
    background: #FFFFFF;
    border: 1.5px solid #E8E0D8;
    color: var(--gold-dark);
    font-family: var(--font-serif);
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    width: 40px;
    border-radius: 12px;
    transition: all 0.2s ease;
    flex: 0 0 auto;
    align-self: center;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.cal-nav:hover:not(:disabled) { border-color: #E2C9AB; background: #FFFCF9; color: var(--gold-bright); }
.cal-nav:disabled { opacity: 0.25; cursor: not-allowed; }
.cal-nav[hidden] { display: none; }
.cal-strip {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 8px;
    flex: 1 1 auto;
    min-width: 0;
}
.cal-day {
    background: #FFFFFF;
    border: 1.5px solid var(--border-cream);
    border-radius: 14px;
    padding: 12px 4px;
    cursor: pointer;
    text-align: center;
    color: var(--text-dark);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    font-family: var(--font-serif);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    user-select: none;
    box-shadow: 0 2px 8px rgba(26, 20, 16, 0.07);
}
.cal-day:hover:not(:disabled):not(.cal-day-selected) {
    border-color: var(--gold);
    background: #FFFCF7;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(168, 138, 63, 0.20);
}
.cal-day:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    background: transparent;
    border-color: rgba(232, 224, 216, 0.5);
}
.cal-day-wd {
    display: block;
    font-family: var(--font-sans);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--muted-dark);
    margin-bottom: 4px;
}
.cal-day-num {
    display: block;
    font-size: 22px;
    font-weight: 400;
    line-height: 1;
    -webkit-font-feature-settings: 'tnum' 1, 'lnum' 1;
    font-feature-settings: 'tnum' 1, 'lnum' 1;
}
.cal-day-mo { display: none; }
.cal-day-today .cal-day-num { font-style: italic; color: var(--gold-dark); }
.cal-day-selected {
    background: #FFFFFF !important;
    border-color: var(--gold-dark) !important;
    color: var(--text-dark) !important;
    box-shadow: 0 8px 24px rgba(168, 138, 63, 0.22), inset 0 0 0 1px rgba(226, 201, 171, 0.35);
    transform: scale(1.06);
}
.cal-day-selected .cal-day-num {
    color: var(--gold-dark) !important;
    font-weight: 500;
}
.cal-day-selected .cal-day-wd,
.cal-day-selected .cal-day-mo { color: var(--gold-dark); opacity: 0.7; }

@media (max-width: 540px) {
    .cal-strip-wrap { gap: 6px; align-items: stretch; }
    .cal-strip {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 6px;
    }
    .cal-day {
        flex: 0 1 calc(25% - 5px);
        max-width: calc(25% - 5px);
        padding: 14px 4px;
        border-radius: 12px;
    }
    .cal-nav { width: 32px; height: auto; font-size: 18px; align-self: stretch; }
    .cal-day-num { font-size: 22px; }
    .cal-day-wd { font-size: 10px; letter-spacing: 0.12em; }
    .cal-month-label { font-size: 17px; margin-bottom: 10px; }
}
@media (max-width: 420px) {
    .cal-strip { gap: 5px; }
    .cal-strip-wrap { gap: 5px; }
    .cal-day { flex: 0 1 calc(25% - 4px); max-width: calc(25% - 4px); padding: 12px 2px; }
    .cal-nav { width: 28px; font-size: 16px; }
    .cal-day-num { font-size: 20px; }
}

/* ─── Pax counter ─── */
.pax-selector {
    display: inline-flex;
    align-items: center;
    gap: 32px;
    background: #FFFFFF;
    border: 1.5px solid var(--border-cream);
    border-radius: 999px;
    box-shadow: 0 4px 14px rgba(26, 20, 16, 0.07);
    padding: 14px 36px;
    margin: 0 auto 18px;
    width: fit-content;
}
.pax-btn {
    width: 48px;
    height: 48px;
    border: 1.5px solid var(--gold-dark);
    background: transparent;
    color: var(--gold-dark);
    font-family: var(--font-serif);
    font-size: 28px;
    line-height: 1;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.25s ease, color 0.25s ease, transform 0.2s ease;
}
.pax-btn:hover:not(:disabled) {
    background: var(--gold-dark);
    color: var(--bg-cream);
    transform: scale(1.05);
}
.pax-btn:active { transform: scale(0.95); }
.pax-btn:disabled { opacity: 0.3; cursor: not-allowed; }
.pax-display {
    font-family: var(--font-serif);
    font-size: 56px;
    line-height: 1;
    color: var(--text-dark);
    min-width: 64px;
    text-align: center;
    -webkit-font-feature-settings: 'tnum' 1, 'lnum' 1;
    font-feature-settings: 'tnum' 1, 'lnum' 1;
}
#step-pax { text-align: center; }
.pax-hint {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 14px;
    color: var(--muted-dark);
    margin: 0 0 28px;
}
.pax-hint-warn {
    color: var(--gold-dark);
    background: rgba(201, 169, 97, 0.08);
    padding: 10px 18px;
    border-left: 2px solid var(--gold-dark);
    display: inline-block;
    text-align: left;
    margin-top: 8px;
}
.pax-hint.hidden { display: none !important; }

.step-actions {
    display: flex;
    justify-content: center;
    margin-top: 8px;
}
.continue-btn {
    background: var(--text-dark);
    border: 1.5px solid var(--text-dark);
    color: var(--bg-cream);
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 17px;
    padding: 13px 38px;
    cursor: pointer;
    transition: background 0.3s ease, color 0.3s ease, letter-spacing 0.3s ease, border-color 0.3s ease;
    border-radius: 0;
    letter-spacing: 0.02em;
}
.continue-btn:hover:not(:disabled) {
    background: transparent;
    color: var(--text-dark);
    letter-spacing: 0.05em;
}
.continue-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

/* ─── Slot grid (step 3) ─── */
#step-slot { text-align: center; }
#step-slot .slot-grid {
    margin-top: 24px;
}
.slot-msg {
    font-family: var(--font-serif);
    font-style: italic;
    color: var(--muted-dark);
    margin: 0 0 12px;
    min-height: 20px;
}
.slot-msg.error { color: var(--error); }

/* ─── Wizard back button ─── */
.wizard-nav {
    display: flex;
    justify-content: center;
    margin-top: 32px;
    min-height: 32px;
}
.wizard-back {
    background: #FFFFFF;
    border: 1.5px solid var(--border-cream);
    color: var(--text-dark);
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 14px;
    letter-spacing: 0.02em;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 22px;
    border-radius: 999px;
    box-shadow: 0 2px 6px rgba(26, 20, 16, 0.06);
    transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.wizard-back:hover, .wizard-back:focus-visible {
    background: #FFFCF7;
    border-color: var(--gold-dark);
    color: var(--gold-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(168, 138, 63, 0.18);
    outline: none;
}
.wizard-back[hidden] { display: none; }

/* ─── Result panel + summary ─── */
.wizard-result {
    margin-top: 32px;
}
.wizard-result.hidden { display: none; }
.result-summary {
    text-align: center;
    margin-bottom: 48px;
    padding-bottom: 36px;
    border-bottom: 1px solid rgba(44, 36, 25, 0.18);
}
.result-eyebrow {
    font-family: var(--font-serif);
    font-style: italic;
    color: var(--gold-dark);
    font-size: 18px;
    margin-bottom: 6px;
    letter-spacing: 0.04em;
}
.result-title {
    font-family: var(--font-serif);
    font-size: clamp(28px, 4vw, 38px);
    font-weight: 400;
    color: var(--text-dark);
    margin: 0 0 16px;
}
.result-summary .section-divider { margin-bottom: 28px; }
.summary-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    list-style: none;
    margin: 0 0 20px;
    padding: 0;
}
.summary-grid li {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}
.summary-label {
    font-family: var(--font-sans);
    font-size: 10.5px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--muted-dark);
}
.summary-value {
    font-family: var(--font-serif);
    font-size: 19px;
    color: var(--text-dark);
    -webkit-font-feature-settings: 'tnum' 1, 'lnum' 1;
    font-feature-settings: 'tnum' 1, 'lnum' 1;
}
.summary-edit {
    background: transparent;
    border: 0;
    color: var(--gold-dark);
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 13px;
    cursor: pointer;
    text-decoration: underline;
    text-decoration-color: rgba(168, 138, 63, 0.5);
    text-underline-offset: 4px;
    padding: 4px 8px;
    transition: color 0.25s ease;
}
.summary-edit:hover { color: var(--gold-bright); }

@media (max-width: 540px) {
    .summary-grid { grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
    .summary-value { font-size: 17px; }
}

/* ─── Inline form within result ─── */
.booking-form-inline { padding-top: 8px; }
.booking-form-inline::before { display: none; }

/* ─── Scroll reveal — variants triggered by IntersectionObserver ──── */
.reveal,
.reveal-zoom,
.reveal-left,
.reveal-right,
.reveal-stagger {
    will-change: opacity, transform;
}
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.85s cubic-bezier(0.22, 0.61, 0.36, 1),
                transform 0.85s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.reveal.in-view {
    opacity: 1;
    transform: translateY(0);
}
.reveal-zoom {
    opacity: 0;
    transform: scale(0.94) translateY(14px);
    transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.reveal-zoom.in-view {
    opacity: 1;
    transform: none;
}
.reveal-left {
    opacity: 0;
    transform: translateX(-44px);
    transition: opacity 0.9s ease, transform 0.95s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.reveal-left.in-view {
    opacity: 1;
    transform: none;
}
.reveal-right {
    opacity: 0;
    transform: translateX(44px);
    transition: opacity 0.9s ease, transform 0.95s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.reveal-right.in-view {
    opacity: 1;
    transform: none;
}
.reveal-stagger > * {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.7s ease,
                transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
    transition-delay: calc(var(--idx, 0) * 70ms);
}
.reveal-stagger.in-view > * {
    opacity: 1;
    transform: none;
}
.reveal-delay-1 { transition-delay: 0.10s; }
.reveal-delay-2 { transition-delay: 0.20s; }
.reveal-delay-3 { transition-delay: 0.30s; }
@media (prefers-reduced-motion: reduce) {
    .reveal,
    .reveal-zoom,
    .reveal-left,
    .reveal-right,
    .reveal-stagger,
    .reveal-stagger > *,
    .reveal-delay-1,
    .reveal-delay-2,
    .reveal-delay-3 {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}

/* ─── MENU PREVIEW BUTTONS (above occasion picker) ────────────────── */
.occasion-menu-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin: 8px 0 28px;
    flex-wrap: wrap;
}
.btn-menu-preview {
    background: transparent;
    border: 1px solid rgba(168, 138, 63, 0.55);
    color: var(--gold-dark);
    padding: 10px 20px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
    font-family: inherit;
    line-height: 1.2;
}
.btn-menu-preview:hover,
.btn-menu-preview:focus-visible {
    background: rgba(168, 138, 63, 0.1);
    border-color: var(--gold-dark);
    outline: none;
}

/* ─── MENU MODALS (native <dialog>) ────────────────────────────────── */
.menu-modal {
    border: none;
    padding: 36px 28px 32px;
    border-radius: 8px;
    max-width: 600px;
    width: 92vw;
    max-height: 92vh;
    background: var(--bg-cream);
    color: var(--text-dark);
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5);
    overflow-y: auto;
    text-align: center;
    position: fixed;
    inset: 0;
    margin: auto;
}
.menu-modal::backdrop {
    background: rgba(26, 20, 16, 0.66);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}
.menu-modal[open] {
    animation: menuModalIn 0.22s ease-out;
}
@keyframes menuModalIn {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}
.menu-modal-close {
    position: absolute;
    top: 8px;
    right: 12px;
    background: transparent;
    border: none;
    width: 36px;
    height: 36px;
    font-size: 28px;
    color: var(--gold-dark);
    cursor: pointer;
    line-height: 1;
    border-radius: 50%;
    transition: background 0.2s ease;
    padding: 0;
    font-family: inherit;
}
.menu-modal-close:hover { background: rgba(168, 138, 63, 0.12); }
.menu-modal-eyebrow {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 15px;
    color: var(--gold-dark);
    letter-spacing: 0.04em;
    margin-top: 4px;
}
.menu-modal-title {
    font-family: var(--font-serif);
    font-size: 30px;
    font-weight: 500;
    margin: 6px 0 6px;
    color: var(--text-dark);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.menu-modal-times {
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold-dark);
    margin: 0 0 18px;
    opacity: 0.85;
}
.menu-modal-divider {
    width: 60px;
    height: 1px;
    background: var(--gold);
    margin: 0 auto 24px;
}
.menu-modal-set {
    margin: 4px 0 28px;
    padding: 22px 18px;
    background: rgba(168, 138, 63, 0.07);
    border: 1px solid rgba(168, 138, 63, 0.22);
    border-radius: 6px;
}
.menu-modal-set-eyebrow {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 18px;
    color: var(--gold-dark);
    margin-bottom: 10px;
    letter-spacing: 0.02em;
}
.menu-modal-set-desc {
    font-size: 13px;
    line-height: 1.55;
    color: var(--text-dark);
    margin: 0;
}
.menu-modal-section {
    margin: 28px 0 0;
    text-align: left;
}
.menu-modal-list-title {
    font-family: var(--font-serif);
    font-size: 17px;
    font-weight: 500;
    color: var(--gold-dark);
    text-align: center;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin: 0 0 12px;
}
.menu-modal-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.menu-modal-list li {
    display: flex;
    align-items: baseline;
    gap: 8px;
    padding: 9px 0;
    font-size: 14px;
    color: var(--text-dark);
    border-bottom: 1px solid rgba(168, 138, 63, 0.16);
}
.menu-modal-list li:last-child { border-bottom: 0; }
.menu-modal-list .dish { flex: 0 1 auto; }
.menu-modal-list .leader {
    flex: 1 1 auto;
    border-bottom: 1px dotted rgba(168, 138, 63, 0.5);
    transform: translateY(-3px);
    height: 0;
    margin: 0 6px;
    min-width: 12px;
}
.menu-modal-list .price {
    flex: 0 0 auto;
    font-family: var(--font-serif);
    font-size: 17px;
    font-weight: 500;
    color: var(--gold-dark);
    letter-spacing: 0.02em;
}
.menu-modal-list .price::before {
    content: '€\00a0';
    font-size: 0.7em;
    opacity: 0.7;
    margin-right: 1px;
}
.menu-modal-cta {
    margin: 28px 0 0;
    text-align: center;
}
.menu-modal-cta a {
    color: var(--gold-dark);
    text-decoration: none;
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-bottom: 1px solid var(--gold-dark);
    padding-bottom: 2px;
}
.menu-modal-cta a:hover { opacity: 0.7; }

/* Body lock when modal is open (Safari fallback — Chrome handles via dialog) */
body:has(.menu-modal[open]) { overflow: hidden; }

@media (max-width: 600px) {
    .menu-modal {
        padding: 28px 18px 24px;
        max-height: 96vh;
    }
    .menu-modal-title { font-size: 24px; }
    .menu-modal-set-eyebrow { font-size: 16px; }
    .menu-modal-list li { font-size: 13px; }
}

/* ─── Iubenda US privacy widget (CCPA/USPR) — hidden ───────────────── */
.iub__us-widget__wrapper,
.iub__us-widget,
[class*="iub__us-widget"] {
    display: none !important;
}

/* ─── Footer iubenda legal links (Privacy + Cookie modals) ─────────── */
.site-footer .iubenda-legal-links {
    margin-top: 20px;
    padding: 16px 0 0;
    border-top: 1px solid var(--border-night);
    font-size: 12px;
    color: var(--muted-light);
    letter-spacing: 0.04em;
    text-align: center;
}
.site-footer .iubenda-legal-links a {
    color: var(--muted-light);
    text-decoration: none;
    transition: color 0.2s ease;
}
.site-footer .iubenda-legal-links a:hover {
    color: var(--gold-bright);
}
.site-footer .iubenda-legal-links .sep {
    margin: 0 8px;
    opacity: 0.5;
}
.site-footer .footer-bottom {
    border-top: none;
    padding-top: 0;
    margin-top: 0;
}
.site-footer .footer-meta-line {
    border-top: 1px solid var(--border-night);
    padding-top: 24px;
    margin-top: 0;
}

/* ─── Iubenda transparency-policy alert icon (yellow corner badge) ─── */
.iubenda-tp-alert-btn,
.iubenda-tp-alert,
[class*="iubenda-tp-alert"] {
    display: none !important;
}

/* ─── Wizard step transitions — direction-aware ────────────────────── */
.wizard-slide {
    transition: opacity 0.34s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.34s cubic-bezier(0.4, 0, 0.2, 1);
}
.wizard-slide.slide-out-fwd {
    opacity: 0;
    transform: translateX(-32px);
    pointer-events: none;
}
.wizard-slide.slide-in-fwd {
    opacity: 0;
    transform: translateX(32px);
}
.wizard-slide.slide-out-back {
    opacity: 0;
    transform: translateX(32px);
    pointer-events: none;
}
.wizard-slide.slide-in-back {
    opacity: 0;
    transform: translateX(-32px);
}

/* ─── Wizard button press feedback ─────────────────────────────────── */
.cal-day:active:not(:disabled),
.occasion-card:active,
.slot-btn:active:not(:disabled),
.continue-btn:active:not(:disabled),
.btn-menu-preview:active,
.wizard-back:active,
.summary-edit:active,
.btn-submit:active:not(:disabled),
.occasion-change:active {
    transform: scale(0.96);
    transition: transform 0.08s ease;
}

/* ─── Selection-confirmation gold pulse ────────────────────────────── */
@keyframes selectPulse {
    0%   { box-shadow: 0 0 0 0 rgba(168, 138, 63, 0.55); }
    70%  { box-shadow: 0 0 0 14px rgba(168, 138, 63, 0); }
    100% { box-shadow: 0 0 0 0 rgba(168, 138, 63, 0); }
}
.cal-day.select-flash,
.pax-btn.select-flash,
.occasion-card.select-flash,
.slot-btn.select-flash,
.continue-btn.select-flash {
    animation: selectPulse 0.46s ease-out;
}

/* ─── Modal modal entrance polish ──────────────────────────────────── */
.menu-modal[open] {
    animation: menuModalIn 0.32s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (prefers-reduced-motion: reduce) {
    .wizard-slide,
    .wizard-slide.slide-out-fwd,
    .wizard-slide.slide-in-fwd,
    .wizard-slide.slide-out-back,
    .wizard-slide.slide-in-back {
        transition: opacity 0.16s ease;
        transform: none !important;
    }
    .cal-day,
    .pax-btn,
    .occasion-card,
    .slot-btn,
    .continue-btn,
    .btn-menu-preview,
    .wizard-back,
    .summary-edit,
    .btn-submit,
    .occasion-change {
        transform: none !important;
        animation: none !important;
    }
    .menu-modal[open] {
        animation: none !important;
    }
}
