/* ============================================================
   RISTORANTE SICULA — style.css
   Design system completo · tutto in un file
   ============================================================ */

/* ============================================================
   1. RESET
   ============================================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Tahoma, sans-serif;
    background: #f5f1ea;
    color: #100e0b;
    font-size: 15px;
    line-height: 1.55;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }
button { font-family: inherit; }

/* ============================================================
   2. DESIGN TOKENS
   ============================================================ */
:root {
    --bg: #f5f1ea;
    --surface: #fdfbf7;
    --ink: #100e0b;
    --ink-70: #4a453d;
    --ink-50: #7a746a;
    --ink-30: #b8b2a7;
    --line: #e6dfd2;
    --line-strong: #d4cbb9;

    --gold: #a8842e;
    --gold-bright: #c9a344;
    --gold-soft: #f1e6cc;

    --ok: #2f6b4a;
    --ok-bg: #e6f0e9;
    --warn: #a86a12;
    --warn-bg: #fbf0dd;
    --info: #345d84;
    --info-bg: #e6eef5;
    --danger: #8f3232;
    --danger-bg: #f7e6e6;

    --r: 4px;
    --r-md: 6px;
    --r-lg: 8px;

    --shadow: 0 1px 2px rgba(16,14,11,.04), 0 8px 28px rgba(16,14,11,.06);
    --shadow-lift: 0 4px 12px rgba(16,14,11,.06), 0 20px 48px rgba(16,14,11,.10);
    --shadow-strong: 0 20px 60px rgba(16,14,11,.18);

    --ease: cubic-bezier(.2,.7,.2,1);
    --fast: 180ms;
    --med: 320ms;
    --slow: 500ms;
}

.serif,
h1, h2, h3, h4,
.value h3,
.dish h3,
.review__text,
.story__text h2,
.faq summary,
.dove__block .v,
.footer__col h4,
.brand__name b,
.panel__head h2,
.stage__title,
.strip__title {
    font-family: 'Fraunces', Georgia, 'Times New Roman', serif;
    font-optical-sizing: auto;
}

/* ============================================================
   3. TIPOGRAFIA BASE
   ============================================================ */
h1 {
    font-weight: 400;
    font-size: 2.5rem;
    line-height: 1.1;
    letter-spacing: -.02em;
    color: var(--ink);
}

h2 {
    font-weight: 400;
    font-size: 2rem;
    line-height: 1.15;
    letter-spacing: -.02em;
}

h3 {
    font-weight: 500;
    font-size: 1.15rem;
    line-height: 1.2;
    letter-spacing: -.01em;
}

.sottotitolo {
    color: var(--ink-50);
    font-size: .72rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
}

label {
    display: block;
    font-weight: 600;
    color: var(--ink-70);
    margin-bottom: 6px;
    font-size: .74rem;
    letter-spacing: .04em;
}

small {
    display: block;
    color: var(--ink-50);
    font-size: .7rem;
    margin-top: 4px;
    line-height: 1.4;
}

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

/* ============================================================
   4. LAYOUT GENERALE
   ============================================================ */
.container {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    padding: 40px;
    max-width: 750px;
    width: 100%;
    margin: 0 auto;
    box-shadow: var(--shadow);
}

.logo {
    text-align: center;
    margin-bottom: 30px;
}

.section-wrap {
    max-width: 1360px;
    margin: 0 auto;
    padding: 64px 24px;
}

.section-wrap.tight { padding: 40px 24px; }

.divider-line {
    width: 100%;
    height: 1px;
    background: var(--line);
    margin: 0;
}

.section-head {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 40px;
}

.section-head .kicker {
    font-size: .7rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 700;
    margin-bottom: 12px;
    display: block;
}

.section-head h2 {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    color: var(--ink);
}

.section-head h2 em {
    font-style: italic;
    color: var(--gold);
}

.section-head p {
    color: var(--ink-50);
    margin-top: 14px;
    font-size: .95rem;
    line-height: 1.6;
}

/* ============================================================
   5. TOPBAR
   ============================================================ */
.topbar {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(253,251,247,.85);
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid var(--line);
}

.topbar__in {
    max-width: 1360px;
    margin: 0 auto;
    padding: 14px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
    color: inherit;
}

.brand__mark {
    width: 40px;
    height: 40px;
    border-radius: var(--r);
    background: transparent;
    color: var(--surface);
    display: block;
    object-fit: contain;
    font-family: 'Fraunces', serif;
    font-weight: 600;
    font-size: 1.15rem;
    letter-spacing: -.02em;
}

.brand__name { line-height: 1.1; }

.brand__name b {
    font-weight: 500;
    font-size: 1.2rem;
    letter-spacing: -.01em;
    display: block;
    color: var(--ink);
}

.brand__name span {
    font-size: .68rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--ink-50);
    font-weight: 500;
    font-family: 'Inter', sans-serif;
}

.topnav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.topnav a {
    color: var(--ink-70);
    font-size: .85rem;
    padding: 8px 12px;
    border-radius: var(--r);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: background var(--fast) var(--ease), color var(--fast) var(--ease);
    font-weight: 500;
}

.topnav a:hover { background: var(--bg); color: var(--ink); }

.topnav a.cta {
    background: var(--ink);
    color: var(--surface);
    padding: 9px 16px;
    font-weight: 600;
}

.topnav a.cta:hover { background: #000; }

/* ============================================================
   6. STRIP (titolo + meta orari)
   ============================================================ */
.strip {
    max-width: 1360px;
    margin: 0 auto;
    padding: 28px 24px 8px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
}

.strip__title {
    font-weight: 400;
    font-size: clamp(1.6rem, 2.4vw, 2.1rem);
    letter-spacing: -.02em;
    line-height: 1.1;
    max-width: 22ch;
}

.strip__meta {
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
    font-size: .82rem;
}

.meta { display: flex; flex-direction: column; gap: 2px; }

.meta__k {
    font-size: .66rem;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--ink-50);
    font-weight: 600;
}

.meta__v { color: var(--ink); font-weight: 500; }
.meta__v.closed { color: var(--danger); }
.meta__v.open { color: var(--ok); }

/* ============================================================
   7. SHELL (mappa + form)
   ============================================================ */
.shell {
    max-width: 1360px;
    margin: 0 auto;
    padding: 24px 24px 80px;
    display: grid;
    grid-template-columns: minmax(0,1fr) 380px;
    gap: 28px;
    align-items: start;
}

/* ---- STAGE / MAPPA ---- */
.stage {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.stage__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid var(--line);
    gap: 16px;
    flex-wrap: wrap;
}

.stage__title {
    font-weight: 500;
    font-size: 1.05rem;
    letter-spacing: -.01em;
    display: flex;
    align-items: center;
    gap: 10px;
}

.stage__title small {
    color: var(--ink-50);
    font-family: 'Inter', sans-serif;
    font-size: .72rem;
    font-weight: 500;
    letter-spacing: .1em;
    text-transform: uppercase;
    margin: 0;
}

.legend { display: flex; gap: 4px; flex-wrap: wrap; }

.legend span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: .72rem;
    color: var(--ink-70);
    font-weight: 500;
    padding: 5px 10px;
    border-radius: var(--r);
    background: var(--bg);
}

.legend i {
    width: 8px;
    height: 8px;
    border-radius: 2px;
    display: block;
}

.legend .l-ok i { background: var(--ok); }
.legend .l-warn i { background: var(--warn); }
.legend .l-info i { background: var(--info); }
.legend .l-danger i { background: var(--danger); }

/* ---- STANZE ---- */
.rooms {
    display: flex;
    gap: 6px;
    padding: 12px 20px;
    border-bottom: 1px solid var(--line);
    overflow-x: auto;
    scrollbar-width: none;
}

.rooms::-webkit-scrollbar { display: none; }

.rooms__label {
    font-size: .68rem;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--ink-50);
    font-weight: 600;
    align-self: center;
    margin-right: 8px;
    flex-shrink: 0;
}

.rooms .room {
    flex-shrink: 0;
    padding: 7px 14px;
    border-radius: var(--r);
    font-size: .8rem;
    font-weight: 500;
    color: var(--ink-70);
    border: 1px solid transparent;
    background: transparent;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all var(--fast) var(--ease);
    font-family: inherit;
}

.rooms .room:hover { background: var(--bg); color: var(--ink); }

.rooms .room.active {
    background: var(--ink);
    color: var(--surface);
    border-color: var(--ink);
}

.rooms .room .star {
    font-size: .55rem;
    color: var(--gold);
    font-weight: 700;
}

.rooms .room.active .star { color: var(--gold-soft); }

/* ---- CANVAS MAPPA ---- */
.canvas {
    position: relative;
    width: 100%;
    min-height: 560px;
    background:
        linear-gradient(rgba(16,14,11,.025) 1px, transparent 1px) 0 0/32px 32px,
        linear-gradient(90deg, rgba(16,14,11,.025) 1px, transparent 1px) 0 0/32px 32px,
        var(--bg);
}

.canvas__inner {
    position: relative;
    width: 100%;
    min-height: 560px;
}

/* ---- TAVOLI ---- */
.tavolo {
    position: absolute;
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    padding: 6px;
    cursor: default;
    border: 1px solid rgba(255,255,255,.18);
    transition: transform var(--med) var(--ease), box-shadow var(--med) var(--ease);
    box-shadow: 0 2px 6px rgba(0,0,0,.10);
}

.tavolo:hover {
    transform: translateY(-3px) scale(1.04);
    box-shadow: 0 14px 32px rgba(0,0,0,.20);
    z-index: 10;
}

.tavolo__num {
    font-family: 'Fraunces', serif;
    font-weight: 500;
    font-size: 1rem;
    line-height: 1;
    letter-spacing: -.01em;
}

.tavolo__stato {
    font-size: .5rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    margin-top: 4px;
    opacity: .9;
    font-weight: 600;
}

.tavolo__cap {
    font-size: .52rem;
    margin-top: 3px;
    opacity: .85;
    background: rgba(0,0,0,.22);
    padding: 1px 7px;
    border-radius: 20px;
    font-weight: 500;
}

.tavolo__cliente {
    font-size: .52rem;
    margin-top: 3px;
    opacity: .95;
    max-width: 92%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 500;
}

.tavolo__uniti {
    position: absolute;
    top: -6px;
    right: -6px;
    background: var(--gold-soft);
    color: var(--ink);
    font-size: .55rem;
    font-weight: 700;
    padding: 1px 6px;
    border-radius: 20px;
    border: 1.5px solid var(--surface);
}

.tavolo.ok     { background: linear-gradient(180deg, #3a7a56, #2f6b4a); }
.tavolo.warn   { background: linear-gradient(180deg, #bd7d1e, #a86a12); }
.tavolo.info   { background: linear-gradient(180deg, #3f6a94, #345d84); }
.tavolo.danger {
    background: linear-gradient(180deg, #a03d3d, #8f3232);
    opacity: .9;
}

.tavolo.danger::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(
        45deg, transparent 0 6px, rgba(0,0,0,.08) 6px 12px);
    border-radius: inherit;
    pointer-events: none;
}

/* ---- LOADING / EMPTY ---- */
.state {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    color: var(--ink-50);
    z-index: 5;
}

.state__spin {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid var(--line-strong);
    border-top-color: var(--ink);
    animation: spin .8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.state__msg {
    font-size: .78rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    font-weight: 600;
}

.state--empty .state__icon {
    font-size: 2rem;
    opacity: .4;
}

/* ============================================================
   8. PANEL (form prenotazione)
   ============================================================ */
.panel {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow);
    position: sticky;
    top: 84px;
    overflow: hidden;
}

.panel__head {
    padding: 22px 24px 18px;
    border-bottom: 1px solid var(--line);
}

.panel__head h2 {
    font-weight: 500;
    font-size: 1.35rem;
    letter-spacing: -.015em;
    line-height: 1.2;
}

.panel__head p {
    color: var(--ink-50);
    font-size: .82rem;
    margin-top: 6px;
}

/* ---- SLOTS (fasce orarie) ---- */
.slots {
    padding: 18px 24px;
    border-bottom: 1px solid var(--line);
}

.slots__k {
    font-size: .66rem;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--ink-50);
    font-weight: 600;
    margin-bottom: 10px;
}

.slots__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
}

.slot {
    border: 1px solid var(--line);
    background: var(--surface);
    border-radius: var(--r);
    padding: 9px 6px;
    cursor: pointer;
    text-align: center;
    transition: all var(--fast) var(--ease);
    font-family: inherit;
    color: inherit;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.slot:hover { border-color: var(--ink); background: var(--bg); }

.slot.picked {
    background: var(--ink);
    color: var(--surface);
    border-color: var(--ink);
}

.slot__h {
    font-size: .8rem;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

.slot__l {
    font-size: .58rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    opacity: .65;
    font-weight: 500;
}

/* ---- NOTE ---- */
.note {
    margin: 18px 24px 0;
    background: var(--gold-soft);
    border-radius: var(--r);
    padding: 12px 14px;
    font-size: .78rem;
    color: var(--ink-70);
    line-height: 1.5;
}

.note strong { color: var(--ink); font-weight: 600; }

.note small {
    margin-top: 4px;
    color: var(--ink-50);
    font-size: .72rem;
}

/* ---- FORM GENERICO ---- */
.panel form { padding: 18px 24px 24px; }

.form-group { margin-bottom: 20px; }

.form-row {
    display: flex;
    gap: 20px;
}

.form-row .form-group { flex: 1; }

input,
textarea,
select {
    width: 100%;
    padding: 12px 15px;
    border: 1.5px solid var(--line);
    border-radius: var(--r);
    font-size: 1rem;
    transition: all var(--fast) var(--ease);
    background: var(--bg);
    color: var(--ink);
    font-family: inherit;
    font-weight: 500;
    outline: none;
}

input::placeholder,
textarea::placeholder {
    color: var(--ink-30);
    font-weight: 400;
}

input:focus,
textarea:focus,
select:focus {
    border-color: var(--ink);
    background: var(--surface);
    box-shadow: 0 0 0 3px rgba(16,14,11,.06);
}

textarea {
    resize: vertical;
    font-family: inherit;
    min-height: 60px;
}

/* ---- SEZIONI NUMERATE FORM ---- */
.section {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
}

.section:last-of-type { border-bottom: 0; }

.section__n {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--bg);
    color: var(--ink-70);
    display: grid;
    place-items: center;
    font-size: .72rem;
    font-weight: 700;
    border: 1px solid var(--line-strong);
}

.section__body { flex: 1; min-width: 0; }

.section__title {
    font-size: .78rem;
    font-weight: 600;
    color: var(--ink);
    letter-spacing: .02em;
    margin-bottom: 8px;
}

.section__title em {
    color: var(--danger);
    font-style: normal;
}

.field { margin-bottom: 10px; }
.field:last-child { margin-bottom: 0; }

.field label {
    font-size: .7rem;
    margin-bottom: 5px;
}

.field small { font-size: .68rem; }

.row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.permanenza {
    font-size: .72rem;
    color: var(--ink-50);
    line-height: 1.5;
    padding: 10px 12px;
    background: var(--bg);
    border-radius: var(--r);
    border: 1px dashed var(--line-strong);
}

/* ---- BOTTONE PRENOTA ---- */
.submit,
.btn {
    width: 100%;
    margin-top: 8px;
    padding: 14px 20px;
    background: var(--ink);
    color: var(--surface);
    border: none;
    border-radius: var(--r);
    font-family: inherit;
    font-size: .9rem;
    font-weight: 600;
    letter-spacing: .06em;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all var(--med) var(--ease);
}

.submit:hover,
.btn:hover {
    background: #000;
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(16,14,11,.20);
}

.submit:active,
.btn:active { transform: translateY(0); }

/* ---- FOOTER PANEL ---- */
.panel__foot {
    padding: 16px 24px 20px;
    border-top: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.panel__foot a {
    color: var(--ink-70);
    font-size: .8rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-radius: var(--r);
    transition: all var(--fast) var(--ease);
}

.panel__foot a:hover { background: var(--bg); color: var(--ink); }

.panel__foot a span:first-child {
    width: 20px;
    text-align: center;
    opacity: .7;
}

/* ---- INFO / LEGACY ---- */
.info {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 2px solid var(--bg);
    text-align: center;
    color: var(--ink-50);
    font-size: .9rem;
}

.info strong { color: var(--ink); }

/* ============================================================
   9. VALORI
   ============================================================ */
.values {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    overflow: hidden;
}

.value {
    background: var(--surface);
    padding: 32px 24px;
    text-align: center;
    transition: background var(--med) var(--ease);
}

.value:hover { background: var(--bg); }

.value__num {
    font-family: 'Fraunces', serif;
    font-size: .8rem;
    color: var(--gold);
    font-weight: 600;
    letter-spacing: .1em;
    margin-bottom: 16px;
    display: block;
}

.value__icon {
    font-size: 1.8rem;
    margin-bottom: 14px;
    display: block;
    opacity: .85;
}

.value h3 {
    font-weight: 500;
    font-size: 1.15rem;
    margin-bottom: 8px;
    letter-spacing: -.01em;
}

.value p {
    font-size: .82rem;
    color: var(--ink-50);
    line-height: 1.55;
}

/* ============================================================
   10. PIATTI FIRMA
   ============================================================ */
.dishes {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.dish {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    overflow: hidden;
    transition: transform var(--med) var(--ease), box-shadow var(--med) var(--ease);
}

.dish:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lift);
}

.dish__img {
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, var(--bg), var(--line));
    display: grid;
    place-items: center;
    font-size: 2.4rem;
    opacity: .5;
    position: relative;
    overflow: hidden;
}

.dish__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    inset: 0;
    opacity: 1;
}

.dish__body { padding: 20px 22px; }

.dish__head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 6px;
}

.dish h3 {
    font-weight: 500;
    font-size: 1.1rem;
    letter-spacing: -.01em;
}

.dish__price {
    font-family: 'Fraunces', serif;
    font-weight: 500;
    color: var(--gold);
    font-size: 1rem;
    flex-shrink: 0;
}

.dish p {
    font-size: .8rem;
    color: var(--ink-50);
    line-height: 1.55;
}

.dish__tag {
    display: inline-block;
    margin-top: 10px;
    font-size: .62rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--ink-50);
    border: 1px solid var(--line);
    padding: 3px 9px;
    border-radius: 20px;
    font-weight: 600;
}

.menu-cta {
    text-align: center;
    margin-top: 32px;
}

.menu-cta a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--ink);
    font-weight: 600;
    font-size: .88rem;
    border-bottom: 1px solid var(--ink);
    padding-bottom: 3px;
    transition: all var(--fast) var(--ease);
}

.menu-cta a:hover {
    color: var(--gold);
    border-color: var(--gold);
}

/* ============================================================
   11. GALLERY
   ============================================================ */
.gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 200px;
    gap: 10px;
}

.gallery__item {
    background: linear-gradient(135deg, var(--bg), var(--line));
    border-radius: var(--r-lg);
    overflow: hidden;
    position: relative;
    display: grid;
    place-items: center;
    font-size: 2rem;
    opacity: .7;
    transition: all var(--med) var(--ease);
}

.gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--med) var(--ease);
}

.gallery__item:hover img { transform: scale(1.05); }

.gallery__item.tall { grid-row: span 2; }
.gallery__item.wide { grid-column: span 2; }

/* ============================================================
   12. RECENSIONI
   ============================================================ */
.reviews {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.review {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    padding: 28px 26px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: all var(--med) var(--ease);
}

.review:hover {
    border-color: var(--gold);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lift);
}

.review__stars {
    color: var(--gold);
    letter-spacing: 3px;
    font-size: .95rem;
}

.review__text {
    font-size: 1.05rem;
    line-height: 1.5;
    color: var(--ink);
    font-weight: 400;
    font-style: italic;
    flex: 1;
}

.review__meta {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid var(--line);
}

.review__avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bg);
    color: var(--ink-70);
    display: grid;
    place-items: center;
    font-family: 'Fraunces', serif;
    font-weight: 600;
    font-size: .95rem;
}

.review__name {
    font-size: .82rem;
    font-weight: 600;
    color: var(--ink);
}

.review__src {
    font-size: .7rem;
    color: var(--ink-50);
    letter-spacing: .06em;
    text-transform: uppercase;
    font-weight: 500;
}

/* ============================================================
   13. STORIA
   ============================================================ */
.story {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.story__text .kicker {
    font-size: .7rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 700;
    margin-bottom: 14px;
    display: block;
}

.story__text h2 {
    font-weight: 400;
    font-size: clamp(1.6rem, 2.4vw, 2.2rem);
    letter-spacing: -.02em;
    line-height: 1.15;
    margin-bottom: 20px;
}

.story__text h2 em {
    font-style: italic;
    color: var(--gold);
}

.story__text p {
    color: var(--ink-70);
    line-height: 1.7;
    margin-bottom: 14px;
    font-size: .95rem;
}

.story__sig {
    font-family: 'Fraunces', serif;
    font-style: italic;
    color: var(--ink-50);
    font-size: 1.05rem;
    margin-top: 24px;
}

.story__img {
    aspect-ratio: 4/5;
    background: linear-gradient(135deg, var(--bg), var(--line));
    border-radius: var(--r-lg);
    display: grid;
    place-items: center;
    font-size: 3rem;
    opacity: .55;
    position: relative;
    overflow: hidden;
}

.story__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    inset: 0;
    opacity: 1;
}

/* ============================================================
   14. FAQ
   ============================================================ */
.faq {
    max-width: 780px;
    margin: 0 auto;
}

.faq details {
    border-bottom: 1px solid var(--line);
    padding: 20px 0;
}

.faq details:first-of-type { border-top: 1px solid var(--line); }

.faq summary {
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    font-weight: 500;
    font-size: 1.1rem;
    color: var(--ink);
    letter-spacing: -.01em;
    transition: color var(--fast) var(--ease);
}

.faq summary:hover { color: var(--gold); }
.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
    content: '+';
    font-family: 'Inter', sans-serif;
    font-size: 1.4rem;
    font-weight: 300;
    color: var(--ink-50);
    flex-shrink: 0;
    transition: transform var(--med) var(--ease);
}

.faq details[open] summary::after {
    transform: rotate(45deg);
    color: var(--gold);
}

.faq details p {
    margin-top: 12px;
    color: var(--ink-70);
    line-height: 1.7;
    font-size: .92rem;
    max-width: 90%;
}

/* ============================================================
   15. DOVE SIAMO
   ============================================================ */
.dove {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 40px;
    align-items: stretch;
}

.dove__info {
    display: flex;
    flex-direction: column;
    gap: 22px;
    justify-content: center;
}

.dove__block .k {
    font-size: .68rem;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--ink-50);
    font-weight: 600;
    margin-bottom: 6px;
    display: block;
}

.dove__block .v {
    font-size: 1.15rem;
    color: var(--ink);
    line-height: 1.4;
    font-weight: 400;
}

.dove__block .v a {
    color: inherit;
    border-bottom: 1px solid var(--line-strong);
    transition: border-color var(--fast) var(--ease);
}

.dove__block .v a:hover { border-color: var(--gold); }

.dove__map {
    border-radius: var(--r-lg);
    overflow: hidden;
    border: 1px solid var(--line);
    min-height: 400px;
    background: var(--bg);
    position: relative;
}

.dove__map iframe {
    width: 100%;
    height: 100%;
    border: 0;
    position: absolute;
    inset: 0;
    filter: grayscale(.3) contrast(.95);
}

/* ============================================================
   16. FOOTER
   ============================================================ */
.footer {
    background: var(--ink);
    color: var(--surface);
    margin-top: 40px;
}

.footer__in {
    max-width: 1360px;
    margin: 0 auto;
    padding: 56px 24px 32px;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
}

.footer__col h4 {
    font-weight: 500;
    font-size: 1rem;
    margin-bottom: 18px;
    letter-spacing: -.01em;
    color: var(--gold-soft);
}

.footer__col p,
.footer__col a {
    color: rgba(253,251,247,.65);
    font-size: .85rem;
    line-height: 1.9;
    display: block;
    transition: color var(--fast) var(--ease);
}

.footer__col a:hover { color: var(--gold-bright); }

.footer__brand {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}

.footer__brand .brand__mark {
    background: transparent;    
    color: var(--ink);
}

.footer__brand b {
    font-family: 'Fraunces', serif;
    font-weight: 500;
    font-size: 1.2rem;
    color: var(--surface);
    display: block;
    letter-spacing: -.01em;
}

.footer__brand span {
    font-size: .68rem;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: rgba(253,251,247,.5);
    font-weight: 500;
    font-family: 'Inter', sans-serif;
}

.footer__bottom {
    border-top: 1px solid rgba(253,251,247,.1);
    padding: 20px 24px;
    max-width: 1360px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    font-size: .78rem;
    color: rgba(253,251,247,.5);
}

.footer__bottom a {
    color: rgba(253,251,247,.65);
    margin-left: 18px;
    transition: color var(--fast) var(--ease);
}

.footer__bottom a:hover { color: var(--gold-bright); }

/* ============================================================
   17. RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
    .shell { grid-template-columns: 1fr; }
    .panel {
        position: relative;
        top: 0;
        max-width: 560px;
        margin: 0 auto;
        width: 100%;
    }
    .canvas,
    .canvas__inner { min-height: 460px; }

    .values { grid-template-columns: repeat(2, 1fr); }
    .dishes { grid-template-columns: repeat(2, 1fr); }
    .gallery { grid-template-columns: repeat(3, 1fr); }
    .gallery__item.wide { grid-column: span 2; }
    .reviews { grid-template-columns: 1fr; }
    .story { grid-template-columns: 1fr; gap: 32px; }
    .dove { grid-template-columns: 1fr; }
    .footer__in { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .strip {
        padding: 20px 16px 4px;
        gap: 20px;
    }
    .strip__meta { gap: 18px; }
    .shell {
        padding: 16px 12px 60px;
        gap: 20px;
    }
    .stage__head { padding: 14px 16px; }
    .rooms { padding: 10px 16px; }
    .canvas,
    .canvas__inner { min-height: 380px; }

    .panel__head,
    .slots,
    .panel form,
    .panel__foot {
        padding-left: 18px;
        padding-right: 18px;
    }
    .note {
        margin-left: 18px;
        margin-right: 18px;
    }

    .form-row { flex-direction: column; gap: 0; }
    .row-2 { grid-template-columns: 1fr; }
    .slots__grid { grid-template-columns: repeat(2, 1fr); }

    .topnav a:not(.cta) { display: none; }

    .container { padding: 25px; }
    h1 { font-size: 2rem; }

    .section-wrap { padding: 48px 16px; }
    .values { grid-template-columns: 1fr; }
    .dishes { grid-template-columns: 1fr; }
    .gallery {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 140px;
    }
    .gallery__item.tall { grid-row: span 1; }
    .gallery__item.wide { grid-column: span 2; }
    .footer__in { grid-template-columns: 1fr; gap: 28px; }
    .footer__bottom {
        flex-direction: column;
        text-align: center;
    }
    .footer__bottom a { margin: 0 8px; }
    .faq summary { font-size: 1rem; }
}

@media (max-width: 600px) {
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    .container { padding: 25px; }
    h1 { font-size: 2rem; }
}

@media (max-width: 420px) {
    .topbar__in { padding: 12px 14px; }
    .brand__name b { font-size: 1.05rem; }
    .canvas,
    .canvas__inner { min-height: 320px; }
    .tavolo__num { font-size: .78rem; }
    .tavolo__stato { font-size: .4rem; }
}

/* ============================================================
   18. PREFERENZE UTENTE
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ============================================================
   19. DARK MODE (opzionale, attivo se il sistema lo richiede)
   ============================================================ */
@media (prefers-color-scheme: dark) {
    /* Disattivato di default per non stravolgere l'identità visiva.
       Se vuoi attivarlo, scommenta il blocco qui sotto. */
    /*
    :root {
        --bg: #14120f;
        --surface: #1c1a16;
        --ink: #f5f1ea;
        --ink-70: #c9c3b8;
        --ink-50: #9a9285;
        --ink-30: #6a645a;
        --line: #2c2924;
        --line-strong: #3a3630;
        --gold-soft: #3a3020;
    }
    */
}
