/* ═══════════════════════════════════════════════════════════════
   THE ROOF — Cocktails & Dining
   Font:   Blacklist (heading) · Campton (body) — caricati via PHP
   Design: minimalista, ispirato ai menu originali
   ═══════════════════════════════════════════════════════════════ */

/* ─── Variabili ────────────────────────────────────────────────── */
:root {
  --orange:    #C8581A;
  --dark:      #111111;
  --mid:       #6B6560;
  --light:     #AFA9A2;
  --bg:        #FFFFFF;
  --bg-off:    #F9F7F5;
  --rule:      #E2DDD8;
  --rule-dark: #C8C2BB;
  --divider:   #111111;
  --header-bg: #EDE5D5;

  --f-title: 'Blacklist', Georgia, serif;
  --f-body:  'Campton', 'Helvetica Neue', Arial, sans-serif;

  --logo-h:  26px;
  --max-w:   660px;
  --hh:      72px;          /* altezza header (logo + lang switcher) */

  /* tipografia (sovrascritta da PHP se impostata in admin) */
  --size-title: 1.2rem;
  --size-name:  1.1rem;
  --size-desc:  0.88rem;
  --size-price: 1rem;
  --gap:     1.25rem;
  --section-gap: 3.5rem;
}

/* ─── Reset ────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { font-size: 16px; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body  { font-family: var(--f-body); font-weight: 300;
        background: var(--bg); color: var(--dark);
        line-height: 1.6; -webkit-font-smoothing: antialiased; }
ul    { list-style: none; }
img   { display: block; max-width: 100%; height: auto; }
a     { color: inherit; text-decoration: none; }
button{ cursor: pointer; background: none; border: none;
        font-family: var(--f-body); padding: 0; }

.wrap { max-width: var(--max-w); margin: 0 auto; padding: 0 1.25rem; }

/* ═══════════════════════════════════════════════════════════════
   HEADER
   ═══════════════════════════════════════════════════════════════ */
.site-header {
  position:        sticky;
  top:             0;
  z-index:         200;
  height:          var(--hh);
  background:      var(--header-bg, #EDE5D5);
  border-bottom:   1px solid rgba(0,0,0,.08);
  display:         flex;
  align-items:     center;
  justify-content: space-between;
  padding:         0 1.25rem;
}

.header-svr-link      { display: flex; align-items: center; }
.header-svr-logo      { height: var(--svr-logo-h, 22px); width: auto; display: block; }
.header-svr-placeholder { display: block; width: 1px; }

.header-back {
  display:        inline-flex;
  align-items:    center;
  gap:            0.3rem;
  text-decoration:none;
  font-family:    var(--f-body);
  font-size:      0.62rem;
  font-weight:    400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color:          var(--dark, #111);
  transition:     opacity .2s;
}
.header-back:hover { opacity: 0.6; }
.header-back-arrow { font-size: 1.2rem; line-height: 1; margin-top: -2px; }

/* Switch lingua — ITA / ENG pill scorrevole ────────────────────── */
.lang-switcher {
  position:        relative;
  display:         flex;
  align-items:     center;
  gap:             0;
  background:      rgba(0,0,0,0.07);
  border-radius:   20px;
  padding:         3px;
}

.lang-indicator {
  position:        absolute;
  top:             3px;
  left:            3px;
  height:          calc(100% - 6px);
  background:      var(--dark);
  border-radius:   16px;
  transition:      transform 0.28s cubic-bezier(.4,0,.2,1),
                   width    0.28s cubic-bezier(.4,0,.2,1);
  pointer-events:  none;
  z-index:         0;
}

.lang-btn {
  position:               relative;
  z-index:                1;
  -webkit-appearance:     none;
  appearance:             none;
  border:                 none;
  outline:                none;
  background:             transparent;
  margin:                 0;
  padding:                0.28rem 0.55rem;
  border-radius:          14px;
  cursor:                 pointer;
  -webkit-tap-highlight-color: transparent;
  font-family:            var(--f-title);
  font-size:              var(--size-lang, 0.58rem);
  font-weight:            700;
  letter-spacing:         0.14em;
  color:                  var(--dark);
  opacity:                0.55;
  line-height:            1;
  transition:             opacity .2s, color .2s;
  white-space:            nowrap;
}

.lang-btn.active             { opacity: 1; color: var(--bg); }
.lang-btn:hover:not(.active) { opacity: 0.6; }

/* ═══════════════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════════════ */
.hero {
  position:      relative;
  text-align:    center;
  background:    var(--bg);
  border-bottom: 1px solid var(--rule);
  overflow:      hidden;
}

/* Versione senza immagine: padding compatto con sfondo header */
.hero:not(.hero--has-bg) {
  padding:    2rem 1.25rem;
  background: var(--header-bg, #EDE5D5);
}

/* Logo nell'hero */
.hero-logo-link { display: inline-flex; align-items: center; }
.hero-logo-img  { display: block; width: auto; }

/* Titolo testuale nell'hero (es. "Menu SPA") */
.hero-title {
  display:        inline-block;
  position:       relative;
  z-index:        1;
  font-family:    var(--f-title, var(--f-body));
  font-size:      2rem;
  font-weight:    600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color:          var(--dark, #111);
}

/* Versione con immagine di sfondo */
.hero--has-bg {
  padding:             4rem 1.25rem 3.5rem;
  background-size:     cover;
  background-position: center;
  background-repeat:   no-repeat;
}

/* Home: hero più alta, testo in alto (sopra il logo dello sfondo) */
.hero--home { min-height: 46vh; }
.hero--home .hero-content { justify-content: flex-start; }
.hero--home .hero-text { margin: 0; }

.hero-overlay {
  position:   absolute;
  inset:      0;
  background: rgba(255,255,255,0.62); /* sovrascritto da inline style via PHP */
  z-index:    0;
}

.hero-content {
  position: relative;
  z-index:  1;
}

.hero-season {
  font-family:    var(--f-body);
  font-weight:    300;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  /* font-size e color gestiti via inline style da admin */
}

/* ═══════════════════════════════════════════════════════════════
   TAB BAR
   ═══════════════════════════════════════════════════════════════ */
.menu-tabs {
  position:   sticky;
  top:        var(--hh);
  z-index:    100;
  background: var(--bg);
  border-bottom: 1px solid var(--rule);
  display:    flex;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.menu-tabs::-webkit-scrollbar { display: none; }

.tab-btn {
  flex:           0 0 auto;
  font-family:    var(--f-body);
  font-size:      0.72rem;
  font-weight:    500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color:          var(--tab-inactive, var(--light));
  padding:        1rem 1.1rem;
  border-bottom:  2px solid transparent;
  margin-bottom:  -1px;
  white-space:    nowrap;
  transition:     color .2s, border-color .2s;
  min-height:     48px;
  -webkit-tap-highlight-color: transparent;
}

.tab-btn:hover              { color: var(--mid); }
.tab-btn.active             { color: var(--dark); border-color: var(--orange); font-weight: 500; }

/* ═══════════════════════════════════════════════════════════════
   PANNELLI TAB
   ═══════════════════════════════════════════════════════════════ */
.tab-panel          { display: none; padding: 2.5rem 0 5rem; }
.tab-panel.active,
.tab-panel:not([hidden]) { display: block; }

/* Intestazione pagina (vini, bevande) */
.page-hd {
  text-align:    center;
  padding:       0 1.25rem 2rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--rule);
}

.page-hd-it {
  font-family:    var(--f-title);
  font-size:      1.8rem;
  font-weight:    400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color:          var(--dark);
}

.page-hd-en {
  font-family:    var(--f-body);
  font-size:      0.65rem;
  font-weight:    300;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color:          var(--light);
  margin-top:     0.3rem;
}

/* ═══════════════════════════════════════════════════════════════
   INTESTAZIONE SEZIONE (comune a piatti / vini / bevande)
   ═══════════════════════════════════════════════════════════════ */
.menu-section,
.wine-section,
.bevanda-section { margin-bottom: var(--section-gap); }

.section-hd {
  display:         flex;
  align-items:     baseline;
  justify-content: space-between;
  gap:             1rem;
  padding-bottom:  0.6rem;
  margin-bottom:   1.5rem;
  border-bottom:   1px solid var(--divider);
}

.section-hd-titles { flex: 1; }

.section-title-it {
  font-family:    var(--f-title);
  font-size:      var(--size-title, 1.2rem);
  font-weight:    500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color:          var(--dark);
  line-height:    1.1;
}

.section-title-en {
  font-family:    var(--f-body);
  font-size:      0.6rem;
  font-weight:    300;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color:          var(--light);
  margin-top:     0.2rem;
}

/* Prezzo di sezione (es. €18 / tutti gli antipasti) */
.section-price-wrap { text-align: right; flex-shrink: 0; }

.section-price-label {
  display:        block;
  font-family:    var(--f-body);
  font-size:      0.58rem;
  font-weight:    300;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color:          var(--light);
  margin-bottom:  0.1rem;
}

.section-price-val {
  font-family: var(--f-body);
  font-size:   1.5rem;
  font-weight: 500;
  color:       var(--orange);
  line-height: 1;
}

/* ═══════════════════════════════════════════════════════════════
   LISTA PIATTI
   ═══════════════════════════════════════════════════════════════ */
.dishes-list { display: flex; flex-direction: column; }

.dish-item {
  display:       flex;
  align-items:   flex-start;
  gap:           0.75rem;
  padding:       1rem 0;
  border-bottom: 1px solid var(--rule);
}
.dish-item:last-child { border-bottom: none; }

.dish-photo {
  width:         var(--dish-photo, 84px);
  height:        var(--dish-photo, 84px);
  flex-shrink:   0;
  border-radius: 10px;
  overflow:      hidden;
  background:    var(--rule);
  cursor:        pointer;
}

/* ── Lightbox foto prodotti ──────────────────────────────────────── */
html.agape-lb-lock, html.agape-lb-lock body { overflow: hidden; }
.agape-lightbox {
  position:        fixed;
  inset:           0;
  z-index:         10000;
  display:         none;
  align-items:     center;
  justify-content: center;
  background:      #ffffff;
  padding:         24px;
}
.agape-lightbox.is-open { display: flex; }
.agape-lightbox-img {
  max-width:     100%;
  max-height:    100%;
  width:         auto;
  height:        auto;
  object-fit:    contain;
  border-radius: 8px;
}
.agape-lightbox-close {
  position:   absolute;
  top:        calc(10px + env(safe-area-inset-top, 0px));
  right:      14px;
  width:      44px;
  height:     44px;
  padding:    0;
  border:     none;
  background: transparent;
  font-size:  2.4rem;
  line-height: 1;
  color:      #111111;
  cursor:     pointer;
  -webkit-tap-highlight-color: transparent;
}
.dish-photo img {
  width:      100%;
  height:     100%;
  object-fit: cover;
  display:    block;
}

.dish-body  { flex: 1; min-width: 0; }

.dish-name-it {
  font-family: var(--f-body);
  font-size:   var(--size-name, 1.1rem);
  font-weight: 500;
  color:       var(--dark);
  line-height: 1.3;
}

.dish-name-en {
  font-family:    var(--f-body);
  font-size:      0.68rem;
  font-weight:    300;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color:          var(--light);
  margin-top:     0.2rem;
}

.dish-subtitle { margin-top: 0.2rem; }
.subtitle-it, .subtitle-en {
  font-family: var(--f-body);
  font-size:   0.82rem;
  font-weight: 400;
  color:       var(--mid);
  line-height: 1.4;
}
.subtitle-en { color: var(--light); }

.dish-desc   { margin-top: 0.35rem; }

.desc-it {
  font-family: var(--f-body);
  font-size:   var(--size-desc, 0.88rem);
  font-weight: 300;
  color:       var(--mid);
  line-height: 1.55;
}

.desc-en {
  font-family: var(--f-body);
  font-size:   var(--size-desc, 0.88rem);
  font-weight: 300;
  color:       var(--light);
  line-height: 1.5;
  margin-top:  0.15rem;
}

.dish-price {
  font-family:  var(--f-body);
  font-size:    var(--size-price, 1rem);
  font-weight:  500;
  color:        var(--orange);
  white-space:  nowrap;
  flex-shrink:  0;
  padding-top:  0.1rem;
}

/* ── Badge senza glutine / senza lattosio ─── */
.dish-badges {
  display:    flex;
  flex-wrap:  wrap;
  gap:        0.25rem;
  margin-top: 0.4rem;
}
.dish-badge {
  display:        inline-flex;
  align-items:    center;
  font-family:    var(--f-body);
  font-size:      0.6rem;
  font-weight:    500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color:          var(--mid);
  background:     var(--rule);
  border-radius:  3px;
  padding:        0.1rem 0.38rem;
  line-height:    1.4;
  white-space:    nowrap;
}
.badge-gf  { border-left: 2px solid #7a9a4a; }
.badge-lf  { border-left: 2px solid #4a7a9a; }

/* ── Nota senza glutine sotto i Primi ─── */
.section-gf-note {
  font-family:  var(--f-body);
  font-size:    0.8rem;
  font-weight:  300;
  color:        var(--mid);
  text-align:   center;
  padding:      0.75rem 1rem;
  margin-top:   0.25rem;
  border-top:   1px dashed var(--rule);
  line-height:  1.55;
  font-style:   italic;
}

/* ═══════════════════════════════════════════════════════════════
   SWITCH LINGUA — nascondi/mostra IT o EN
   ═══════════════════════════════════════════════════════════════ */

/* Classi generiche riutilizzabili ovunque (tab, allergens, ecc.) */
body.lang-it .lang-en-el { display: none; }
body.lang-en .lang-it-el { display: none; }

body.lang-it .dish-name-en,
body.lang-it .desc-en,
body.lang-it .subtitle-en,
body.lang-it .bevanda-subtitle.en,
body.lang-it .bevanda-desc.en,
body.lang-it .section-title-en,
body.lang-it .page-hd-en           { display: none; }

body.lang-en .dish-name-it,
body.lang-en .desc-it,
body.lang-en .subtitle-it,
body.lang-en .bevanda-subtitle.it,
body.lang-en .bevanda-desc.it,
body.lang-en .section-title-it,
body.lang-en .page-hd-it           { display: none; }

/* Nomi sempre visibili (es. gelati: hanno solo il nome italiano) */
body.lang-en .dish-name-it.dish-name-keep { display: block; }

/* EN — stessi stili delle classi italiane corrispondenti */
body.lang-en .dish-name-en {
  font-family:    var(--f-body);
  font-size:      var(--size-name, 1.1rem);
  font-weight:    500;
  color:          var(--dark);
  line-height:    1.3;
  text-transform: none;
  letter-spacing: 0;
  margin-top:     0;
}
body.lang-en .desc-en {
  font-family: var(--f-body);
  font-size:   var(--size-desc, 0.88rem);
  font-weight: 300;
  color:       var(--mid);
  line-height: 1.55;
  margin-top:  0;
}
body.lang-en .subtitle-en,
body.lang-en .bevanda-subtitle.en { color: var(--mid); }
body.lang-en .section-title-en {
  font-family:    var(--f-title);
  font-size:      var(--size-title, 1.2rem);
  font-weight:    500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color:          var(--dark);
  line-height:    1.1;
}
body.lang-en .bevanda-desc.en {
  font-family: var(--f-body);
  font-size:   0.75rem;
  font-weight: 300;
  color:       var(--mid);
  margin-top:  0.2rem;
  line-height: 1.5;
}

/* ═══════════════════════════════════════════════════════════════
   CARTA DEI VINI
   ═══════════════════════════════════════════════════════════════ */
.wine-list { display: flex; flex-direction: column; }

.wine-item {
  display:       flex;
  align-items:   flex-start;
  gap:           0.75rem;
  padding:       1rem 0;
  border-bottom: 1px solid var(--rule);
}
.wine-item:last-child { border-bottom: none; }

.wine-info { flex: 1; min-width: 0; }

.wine-cantina {
  font-family:    var(--f-body);
  font-size:      0.6rem;
  font-weight:    500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color:          var(--orange);
  margin-bottom:  0.15rem;
}

.wine-name {
  font-family: var(--f-body);
  font-size:   var(--size-name, 1.1rem);
  font-weight: 500;
  color:       var(--dark);
  line-height: 1.3;
}

.wine-annata {
  font-family: var(--f-body);
  font-size:   0.72rem;
  font-weight: 300;
  color:       var(--mid);
  margin-left: 0.35rem;
}

.wine-uve {
  font-family: var(--f-body);
  font-size:   0.72rem;
  font-weight: 300;
  color:       var(--light);
  margin-top:  0.18rem;
}

.wine-meta {
  display:        flex;
  flex-direction: column;
  align-items:    flex-end;
  gap:            0.15rem;
  flex-shrink:    0;
}

.wine-grad {
  font-family: var(--f-body);
  font-size:   0.62rem;
  font-weight: 300;
  color:       var(--light);
}

.wine-price {
  font-family: var(--f-body);
  font-size:   var(--size-price, 1rem);
  font-weight: 500;
  color:       var(--orange);
}

.wine-calice {
  font-family: var(--f-body);
  font-size:   0.62rem;
  font-weight: 300;
  color:       var(--mid);
}

/* ═══════════════════════════════════════════════════════════════
   BEVANDE
   ═══════════════════════════════════════════════════════════════ */
.bevande-list { display: flex; flex-direction: column; }

.bevanda-item {
  display:         flex;
  align-items:     flex-start;
  justify-content: space-between;
  gap:             0.75rem;
  padding:         0.75rem 0;
  border-bottom:   1px solid var(--rule);
}
.bevanda-item:last-child { border-bottom: none; }

.bevanda-info { flex: 1; min-width: 0; }

.bevanda-name {
  font-family: var(--f-body);
  font-size:   var(--size-name, 1.1rem);
  font-weight: 500;
  color:       var(--dark);
}

.bevanda-abv {
  font-family: var(--f-body);
  font-size:   0.6rem;
  font-weight: 300;
  color:       var(--light);
  margin-left: 0.3rem;
}

.bevanda-subtitle {
  font-family: var(--f-body);
  font-size:   0.75rem;
  font-weight: 400;
  color:       var(--mid);
  margin-top:  0.15rem;
  line-height: 1.4;
}
.bevanda-subtitle.en { color: var(--light); }

.bevanda-desc {
  font-family: var(--f-body);
  font-size:   0.75rem;
  font-weight: 300;
  color:       var(--mid);
  margin-top:  0.2rem;
  line-height: 1.5;
}
.bevanda-desc.en { color: var(--light); }

.bevanda-price-wrap {
  display:        flex;
  flex-direction: column;
  align-items:    flex-end;
  gap:            0.1rem;
  flex-shrink:    0;
}

.bevanda-price {
  font-family: var(--f-body);
  font-size:   var(--size-price, 1rem);
  font-weight: 500;
  color:       var(--orange);
}

.bevanda-nota {
  font-family: var(--f-body);
  font-size:   0.6rem;
  font-weight: 300;
  color:       var(--light);
}

/* ═══════════════════════════════════════════════════════════════
   ALLERGENI — badge per-piatto, asterischi, legenda, note
   ═══════════════════════════════════════════════════════════════ */

/* Badge numerati sotto il piatto */
.dish-allergeni {
  display:     flex;
  flex-wrap:   wrap;
  align-items: center;
  gap:         0.3rem;
  margin-top:  0.45rem;
}

.allergene-num {
  display:         inline-flex;
  align-items:     center;
  justify-content: center;
  width:           18px;
  height:          18px;
  border:          1px solid var(--orange, #C8581A);
  border-radius:   50%;
  font-family:     var(--f-body);
  font-size:       0.62rem;
  font-weight:     500;
  line-height:     1;
  color:           var(--orange, #C8581A);
  flex-shrink:     0;
}

/* Asterischi abbattuto / surgelato */
.dish-aster {
  font-size:   0.95rem;
  line-height: 1;
  margin-left: 0.1rem;
}
.aster-abb { color: var(--orange, #C8581A); }
.aster-sur { color: var(--dark, #111); }

/* Prezzi multipli con etichetta */
.dish-prezzi {
  margin-top: 0.55rem;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.dish-prezzo-row { display: flex; align-items: baseline; gap: 0.6rem; }
.pz-prezzo {
  font-family: var(--f-body);
  font-weight: 500;
  color: var(--orange);
  font-size: var(--size-price, 1rem);
  min-width: 3.4em;
}
.pz-label {
  font-family: var(--f-body);
  font-weight: 500;
  color: var(--dark);
  font-size: 0.85rem;
}

/* Allergeni dettagliati per componente */
.dish-alg-dett {
  margin-top: 0.55rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.dish-alg-row { display: flex; align-items: center; flex-wrap: wrap; gap: 0.3rem; }
.alg-nota {
  font-family: var(--f-body);
  font-size: 0.78rem;
  font-weight: 300;
  color: var(--mid);
}
.allergene-num.alg-sym {
  width: auto;
  padding: 0 5px;
  border-radius: 9px;
  font-size: 0.55rem;
  letter-spacing: 0.03em;
}
.allergene-icon {
  width: 22px;
  height: 22px;
  object-fit: contain;
  display: inline-block;
  vertical-align: middle;
}

/* ── Footer legenda allergeni ─── */
.allergeni-footer {
  margin-top:  2.5rem;
  padding-top: 1.5rem;
  border-top:  1px solid var(--rule, #E2DDD8);
}

.allergeni-foot-label {
  font-family:    var(--f-title, var(--f-body));
  font-size:      0.95rem;
  font-weight:    500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color:          var(--dark);
  margin:         0 0 0.9rem;
}

.allergeni-legend {
  list-style: none;
  margin:     0 0 1.25rem;
  padding:    0;
  display:    grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap:        0.5rem 1.25rem;
}
@media (min-width: 640px) {
  .allergeni-legend { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.allergeni-legend li {
  display:     flex;
  align-items: center;
  gap:         0.45rem;
}

.allergene-name {
  display:        flex;
  flex-direction: column;
  font-family:    var(--f-body);
  line-height:    1.25;
}
.allergene-name .al-it {
  font-size:   0.78rem;
  font-weight: 400;
  color:       var(--mid);
}
.allergene-name .al-en {
  font-size:   0.68rem;
  font-weight: 300;
  font-style:  italic;
  color:       var(--light);
}

.allergeni-note {
  font-family: var(--f-body);
  font-size:   0.72rem;
  font-weight: 300;
  color:       var(--mid);
  line-height: 1.5;
  margin:      0.45rem 0 0;
}
.allergeni-note .dish-aster { margin-right: 0.25rem; }
.allergeni-note .al-en {
  display:     block;
  margin-left: 1.2rem;
  font-style:  italic;
  color:       var(--light);
}

/* ═══════════════════════════════════════════════════════════════
   LANDING — due CTA (Menu Agape / Menu SPA)
   ═══════════════════════════════════════════════════════════════ */
.landing-cta { padding: 1.5rem 1.25rem 3rem; }
.landing-cta-inner {
  max-width: var(--max-w, 680px);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.cta-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  text-align: center;
  text-decoration: none;
  padding: 2.25rem 1.5rem;
  border: 1px solid var(--rule, #E2DDD8);
  border-radius: 14px;
  background: #fff;
  transition: transform 0.12s ease, box-shadow 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}
.cta-card:active { transform: scale(0.99); }
.cta-card:hover { box-shadow: 0 8px 26px rgba(0,0,0,0.10); }
.cta-card--spa { background: var(--header-bg, #EDE5D5); }
.cta-card--photo {
  position: relative;
  min-height: 240px;
  justify-content: flex-end;
  overflow: hidden;
  border-color: transparent;
  background-size: cover;
  background-position: center;
}
.cta-card--photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.6), rgba(0,0,0,0.05) 60%);
}
.cta-card--photo .cta-title,
.cta-card--photo .cta-sub { position: relative; z-index: 1; color: #fff; }

/* Testo editabile sotto il logo (hero) */
.hero-text {
  margin: 0 0 0.9rem;
  text-align: center;
  font-family: var(--f-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--dark, #111);
}

/* Switch lingua dentro la copertina della home (in alto a destra) */
.hero-lang {
  position: absolute;
  top: calc(0.9rem + env(safe-area-inset-top, 0px));
  right: 1rem;
  z-index: 3;
}

/* Carosello Eventi rooftop */
.eventi-wrap { position: relative; }
.eventi-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: rgba(17, 17, 17, 0.55);
  color: #fff;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  -webkit-tap-highlight-color: transparent;
}
.eventi-prev { left: 0.35rem; }
.eventi-next { right: 0.35rem; }
.eventi-arrow:active { background: rgba(17, 17, 17, 0.8); }
.eventi-arrow svg { width: 22px; height: 22px; display: block; }

.eventi-carousel {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  justify-content: safe center;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 0.5rem 0 1rem;
  scrollbar-width: none;
}
.eventi-carousel::-webkit-scrollbar { display: none; }
/* Colonna a larghezza fissa; l'altezza segue la locandina così l'immagine
   viene mostrata INTERA, senza tagli (ogni locandina al suo formato). */
.evento-slide {
  flex: 0 0 min(82vw, 380px);
  scroll-snap-align: center;
  cursor: pointer;
}
.evento-slide img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
}
.eventi-empty { text-align: center; color: var(--mid, #6B6560); padding: 2rem 0; }
.cta-title {
  font-family: var(--f-title, var(--f-body));
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--dark, #111);
}
.cta-sub {
  font-family: var(--f-body);
  font-size: 0.82rem;
  font-weight: 300;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mid, #6B6560);
}
@media (min-width: 640px) {
  .landing-cta-inner { flex-direction: row; }
  .cta-card { flex: 1; }
}
@media (max-width: 639px) {
  .cta-title { font-size: 1.8rem; }
  .cta-sub   { font-size: 0.95rem; }
}

/* ═══════════════════════════════════════════════════════════════
   SPA — carta servizi
   ═══════════════════════════════════════════════════════════════ */
.spa-wrap { padding-bottom: 2.5rem; }
.spa-hd { text-align: center; padding: 1.5rem 0 0.25rem; }
.spa-page-title {
  font-family: var(--f-title, var(--f-body));
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dark, #111);
  margin: 0;
}
.spa-durata {
  font-family: var(--f-body);
  font-size: 0.72rem;
  font-weight: 300;
  letter-spacing: 0.04em;
  color: var(--light, #AFA9A2);
  white-space: nowrap;
}

/* ═══════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════ */
.site-footer {
  background: var(--footer-bg, #111111);
  padding:    3.5rem 1.25rem 2.5rem;
  text-align: center;
}

.footer-inner {
  max-width:      var(--max-w);
  margin:         0 auto;
  display:        flex;
  flex-direction: column;
  align-items:    center;
  text-align:     center;
  gap:            0;
}

/* ── Blocco contatti (footer stile sito) ─────────────────────────── */
.footer-contacts { margin-bottom: 1.75rem; }
.footer-heading {
  font-family:    var(--f-body);
  font-size:      0.8rem;
  font-weight:    500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color:          var(--footer-text, rgba(255,255,255,.85));
  margin:         0 0 0.9rem;
}
.footer-address {
  font-family: var(--f-body);
  font-size:   0.95rem;
  font-weight: 300;
  line-height: 1.6;
  color:       var(--footer-text, rgba(255,255,255,.8));
  margin:      0 0 0.7rem;
}
.footer-line {
  display:         block;
  font-family:     var(--f-body);
  font-size:       0.95rem;
  font-weight:     300;
  color:           var(--footer-text, rgba(255,255,255,.8));
  text-decoration: none;
  line-height:     1.7;
}
.footer-line:hover { color: #fff; }

/* ── Social a cerchi ─────────────────────────────────────────────── */
.footer-social {
  display:         flex;
  flex-wrap:       wrap;
  justify-content: center;
  gap:             0.85rem;
  margin:          0.4rem 0 1.75rem;
}
.footer-social-circle {
  width:           46px;
  height:          46px;
  flex-shrink:     0;
  border-radius:   50%;
  background:      var(--footer-divider, rgba(255,255,255,.14));
  color:           var(--footer-text, rgba(255,255,255,.85));
  display:         flex;
  align-items:     center;
  justify-content: center;
  transition:      background .2s, transform .2s;
  -webkit-tap-highlight-color: transparent;
}
.footer-social-circle:hover { background: rgba(255,255,255,.24); transform: scale(1.06); }
.footer-social-circle svg { width: 20px; height: 20px; display: block; }

/* Riga loghi: Agape + SVR affiancati */
.footer-logos {
  display:         flex;
  align-items:     center;
  justify-content: center;
  gap:             2.5rem;
  margin-bottom:   1.75rem;
}

.footer-logo-agape {
  height:  auto;
  width:   var(--agape-logo-w, 110px);
  opacity: 0.75;
}

.footer-divider {
  width:         40px;
  height:        1px;
  background:    var(--footer-divider, rgba(255,255,255,.15));
  margin-bottom: 1.75rem;
}

/* Social links — icone grandi, testo sotto */
.footer-social-links {
  display:         flex;
  flex-direction:  row;
  justify-content: center;
  gap:             2.5rem;
  margin-bottom:   1.75rem;
}

.footer-social-link {
  display:        flex;
  flex-direction: column;
  align-items:    center;
  gap:            0.5rem;
  font-family:    var(--f-body);
  font-size:      0.6rem;
  font-weight:    300;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color:          var(--footer-text-dim, rgba(255,255,255,.35));
  text-decoration:none;
  transition:     color .2s;
}
.footer-social-link:hover { color: var(--footer-text, rgba(255,255,255,.8)); }

.footer-social-icon {
  width:      40px;
  height:     40px;
  flex-shrink:0;
  opacity:    0.5;
  transition: opacity .2s, transform .2s;
}
.footer-social-link:hover .footer-social-icon {
  opacity:   1;
  transform: scale(1.1);
}

.footer-logo-svr {
  height:        48px;
  width:         auto;
  opacity:       0.55;
  margin-bottom: 0;
}

/* ═══════════════════════════════════════════════════════════════
   SEZIONE ALLERGENI (in fondo al tab cibo)
   ═══════════════════════════════════════════════════════════════ */
.allergens-section {
  background:    var(--bg-off);
  border-top:    1px solid var(--rule);
  margin-top:    3rem;
}

.allergens-inner {
  max-width:  var(--max-w);
  margin:     0 auto;
  padding:    2rem 1.25rem;
}

.allergens-label {
  font-family:    var(--f-title);
  font-size:      0.7rem;
  font-weight:    400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color:          var(--dark);
  margin-bottom:  0.75rem;
}

.allergens-text {
  font-family: var(--f-body);
  font-size:   0.68rem;
  font-weight: 300;
  color:       var(--mid);
  line-height: 1.7;
  margin-bottom: 0.5rem;
}

.allergens-blast {
  font-family: var(--f-body);
  font-size:   0.62rem;
  font-weight: 300;
  font-style:  italic;
  color:       var(--light);
  line-height: 1.65;
  margin-top:  0.5rem;
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE — tablet ≥ 580px
   ═══════════════════════════════════════════════════════════════ */
@media (min-width: 580px) {
  :root { --section-gap: 4.5rem; }

  .site-header { padding: 0 2rem; }
  .hero--has-bg { padding: 6rem 2rem 5rem; }
  .menu-tabs .tab-btn { padding: 1.1rem 1.5rem; font-size: 0.68rem; }

  .section-title-it,
  body.lang-en .section-title-en { font-size: 1.3rem; }
  .page-hd-it,
  body.lang-en .page-hd-en       { font-size: 2.1rem; }

  .footer-social-links { gap: 3.5rem; }
}

/* ── desktop ≥ 900px ─────────────────────────────────────────── */
@media (min-width: 900px) {
  :root { --max-w: 780px; --section-gap: 5rem; }
  .menu-tabs { justify-content: center; }
  .tab-btn   { padding: 1.1rem 2rem; }
}

/* ═══════════════════════════════════════════════════════════════
   STAMPA
   ═══════════════════════════════════════════════════════════════ */
@media print {
  .site-header, .menu-tabs, .site-footer { display: none !important; }
  .tab-panel    { display: block !important; page-break-before: always; }
  .tab-panel.active { page-break-before: avoid; }
  .hero-logo    { width: 140px; }
  body          { font-size: 10pt; background: #fff; }
  .agape-splash { display: none !important; }
}

/* ═══════════════════════════════════════════════════════════════
   HOME "DA SITO": splash d'ingresso + striscia lingue
   ═══════════════════════════════════════════════════════════════ */
html.splash-lock, html.splash-lock body { overflow: hidden; }

.agape-splash {
  position:            fixed;
  inset:               0;
  z-index:             9999;
  background-color:    var(--header-bg, #EDE5D5);
  background-repeat:   no-repeat;
  background-position: center;
  display:             flex;
  align-items:         center;
  justify-content:     center;
  opacity:             1;
  transition:          opacity 0.65s ease;
}
.agape-splash--cover   { background-size: cover; }
.agape-splash--contain { background-size: contain; }
.agape-splash.is-hidden { opacity: 0; pointer-events: none; }

.agape-splash-logo {
  width:      min(60vw, 260px);
  height:     auto;
  max-height: 40vh;
  object-fit: contain;
}

/* Striscia verde in alto con il selettore lingua */
.home-topbar {
  display:         flex;
  align-items:     center;
  justify-content: flex-end;
  background:      var(--footer-bg, #5b6a3c);
  padding:         calc(0.55rem + env(safe-area-inset-top, 0px)) 1.1rem 0.55rem;
}
.home-topbar .lang-switcher { background: rgba(255,255,255,0.16); }
.home-topbar .lang-indicator { background: #fff; }
.home-topbar .lang-btn { color: #fff; }
.home-topbar .lang-btn.active { color: var(--footer-bg, #5b6a3c); opacity: 1; }
