/* ═══════════════════════════════════════════════════════════════
   Yum! Ramen — Milano Niguarda
   Concept: «Aperti da poco. Già cinque stelle.» Il locale è nuovo,
   ha 5,0 su 247 recensioni e la sala è vuota il venerdì sera: il
   sito serve a farli trovare, non a costruire fiducia.
   Palette e motivo dal LORO logo reale (onde seigaiha verdi, sole
   rosso, oro) — non da una galleria.
   ═══════════════════════════════════════════════════════════════ */

/* ── plumbing (reset tecnico canonico) ─────────────────────────── */
[hidden] { display: none !important; }
img { max-width: 100%; height: auto; }

.js .reveal { opacity: 0; }
.js .reveal.in-view { opacity: 1; }
html:not(.js) .reveal { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
  .hero__testo > *, .hero__foto { opacity: 1 !important; transform: none !important; }
}

/* ── design system ─────────────────────────────────────────────── */
:root {
  --nero:    #14110F;
  --nero-2:  #1E1A17;
  --legno:   #3B2A22;
  --rosso:   #D93636;
  --rosso-d: #B72A2A;
  --verde:   #1F7A4D;
  --verde-l: #5FBF8B;
  --oro:     #E8B84B;
  --panna:   #F7F3EA;
  --panna-d: #E4DED2;
  --grigio:  #A79E92;

  --serif: 'Shippori Mincho', Georgia, serif;
  --sans:  'Zen Kaku Gothic New', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --wrap: 1180px;
  --gut: clamp(20px, 5vw, 60px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--nero);
  color: var(--panna);
  font-family: var(--sans);
  font-size: clamp(16px, 1.05vw, 17.5px);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.2; margin: 0; }
p { margin: 0 0 1.1em; }
a { color: inherit; }
::selection { background: var(--rosso); color: var(--panna); }

.occhiello {
  font-size: .7rem; letter-spacing: .26em; text-transform: uppercase;
  color: var(--verde-l); font-weight: 700; margin-bottom: .8rem;
}
.btn {
  display: inline-block; padding: .92em 1.9em; border-radius: 4px;
  font-size: .85rem; letter-spacing: .05em; font-weight: 700;
  text-decoration: none; transition: background .25s, color .25s, border-color .25s;
}
.btn--rosso { background: var(--rosso); color: var(--panna); }
.btn--rosso:hover { background: var(--rosso-d); }
.btn--linea { border: 1.5px solid var(--panna-d); color: var(--panna); }
.btn--linea:hover { background: var(--panna); color: var(--nero); }

/* ── onde seigaiha: il motivo del loro logo, come divisore ─────── */
.onde-div {
  height: 46px;
  background-repeat: repeat-x;
  background-size: 120px 46px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='46' viewBox='0 0 120 46'%3E%3Cg fill='none' stroke='%231F7A4D' stroke-width='1.4'%3E%3Cpath d='M0 40 a30 30 0 0 1 60 0 a30 30 0 0 1 60 0'/%3E%3Cpath d='M0 26 a30 30 0 0 1 60 0 a30 30 0 0 1 60 0'/%3E%3Cpath d='M0 12 a30 30 0 0 1 60 0 a30 30 0 0 1 60 0'/%3E%3C/g%3E%3C/svg%3E");
  opacity: .5;
}

/* ── intro ─────────────────────────────────────────────────────── */
#intro {
  position: fixed; inset: 0; z-index: 200; background: var(--nero);
  display: grid; place-items: center; transition: opacity .6s ease;
}
#intro.hide { opacity: 0; pointer-events: none; }
.intro__wrap { text-align: center; }
.intro__onde { width: min(64vw, 300px); display: block; margin: 0 auto .6rem; }
.intro__onde .onda { stroke-dasharray: 300; stroke-dashoffset: 300; animation: ondaDraw 1.3s ease forwards; }
.intro__onde .onda:nth-child(2) { animation-delay: .16s; }
.intro__onde .onda:nth-child(3) { animation-delay: .32s; }
@keyframes ondaDraw { to { stroke-dashoffset: 0; } }
.intro__sole { opacity: 0; animation: soleIn .7s .5s ease forwards; }
@keyframes soleIn { from { opacity: 0; transform: scale(.4); transform-origin: 120px 34px; } to { opacity: 1; transform: scale(1); } }
.intro__nome {
  font-family: var(--serif); font-size: clamp(1.6rem, 6vw, 2.6rem); color: var(--panna);
  opacity: 0; animation: nomeIn .8s .75s ease forwards; display: block;
}
@keyframes nomeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ── header ────────────────────────────────────────────────────── */
#site-header {
  position: sticky; top: 0; z-index: 90;
  display: flex; align-items: center; gap: 1.5rem;
  padding: .78rem var(--gut);
  /* niente backdrop-filter su header/nav */
  background: rgba(20,17,15,.97);
  border-bottom: 1px solid rgba(247,243,234,.14);
}
.brand { display: flex; align-items: baseline; gap: .35rem; text-decoration: none; margin-right: auto; font-family: var(--serif); font-size: 1.2rem; }
.brand__yum { color: var(--rosso); font-weight: 700; }
.brand__ramen { color: var(--verde-l); }
#mainNav { display: flex; gap: 1.6rem; }
#mainNav a {
  text-decoration: none; font-size: .84rem; font-weight: 500; color: var(--panna-d);
  padding: .3rem 0; border-bottom: 2px solid transparent; transition: color .2s, border-color .2s;
}
#mainNav a:hover { color: var(--oro); border-bottom-color: var(--oro); }
.head-actions { display: flex; align-items: center; gap: .7rem; }
.lang {
  background: none; border: 1px solid rgba(247,243,234,.34); color: var(--panna-d);
  font-family: var(--sans); font-size: .72rem; font-weight: 700;
  padding: .42em .78em; border-radius: 4px; cursor: pointer; transition: border-color .2s, color .2s;
}
.lang:hover { border-color: var(--oro); color: var(--oro); }
.cta-head {
  background: var(--rosso); color: var(--panna); text-decoration: none;
  padding: .58em 1.2em; border-radius: 4px; font-size: .8rem; font-weight: 700; transition: background .25s;
}
.cta-head:hover { background: var(--rosso-d); }
#burger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; position: relative; z-index: 96; }
#burger span { display: block; width: 24px; height: 2px; background: var(--panna); transition: transform .3s, opacity .3s; }
#burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
#burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
#burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── HERO ──────────────────────────────────────────────────────── */
.hero {
  max-width: var(--wrap); margin: 0 auto;
  padding: clamp(2.4rem, 6vw, 4.4rem) var(--gut) clamp(2rem, 5vw, 3.4rem);
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(1.6rem, 4vw, 3.4rem); align-items: center;
}
.hero__kicker { font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: var(--verde-l); margin-bottom: 1rem; }
.hero__h { font-size: clamp(2.2rem, 6vw, 3.9rem); margin-bottom: 1.3rem; }
.hero__l1 { display: block; color: var(--panna); }
.hero__l2 { display: block; color: var(--oro); }
.hero__voto { display: flex; align-items: baseline; gap: .6rem; flex-wrap: wrap; margin-bottom: 1.1rem; }
.hero__num { font-family: var(--serif); font-size: 2.4rem; color: var(--oro); font-weight: 700; line-height: 1; }
.hero__stelle { color: var(--oro); letter-spacing: .1em; }
.hero__rec { font-size: .88rem; color: var(--grigio); }
.hero__lead { color: var(--panna-d); max-width: 44ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.5rem; }
.hero__foto { margin: 0; }
.hero__foto img { width: 100%; border-radius: 50%; border: 3px solid rgba(232,184,75,.5); display: block; }

/* ── MANIFESTO underrated ──────────────────────────────────────── */
.manifesto {
  max-width: var(--wrap); margin: 0 auto;
  padding: clamp(3rem, 7vw, 5rem) var(--gut);
  display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(1.6rem, 4vw, 3.4rem); align-items: center;
}
.manifesto__q { margin: 0; border-left: 3px solid var(--rosso); padding-left: clamp(1rem, 2.4vw, 1.8rem); }
.manifesto__q p { font-family: var(--serif); font-size: clamp(1.2rem, 2.7vw, 1.8rem); line-height: 1.5; color: var(--panna); }
.manifesto__q em { color: var(--oro); font-style: italic; }
.manifesto__q cite { font-style: normal; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--grigio); }
.manifesto__testo p { color: var(--panna-d); }
.numeri { list-style: none; padding: 0; margin: 1.8rem 0 0; display: flex; flex-wrap: wrap; gap: clamp(1.2rem, 3vw, 2.6rem); }
.numeri li { display: flex; flex-direction: column; }
.numeri strong { font-family: var(--serif); font-size: 2rem; color: var(--verde-l); line-height: 1; }
.numeri span { font-size: .76rem; color: var(--grigio); max-width: 16ch; margin-top: .3rem; }

/* ── CARTA ─────────────────────────────────────────────────────── */
.carta { background: var(--nero-2); padding: clamp(3rem, 7vw, 5rem) var(--gut); }
.carta__head { max-width: var(--wrap); margin: 0 auto clamp(1.8rem, 4vw, 2.6rem); }
.carta__head h2 { font-size: clamp(1.8rem, 4.4vw, 2.8rem); margin-bottom: .8rem; }
.carta__head p { color: var(--panna-d); max-width: 62ch; }
.carta__grid {
  max-width: var(--wrap); margin: 0 auto;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(258px, 1fr)); gap: clamp(1rem, 2.2vw, 1.5rem);
}
.piatto { background: rgba(247,243,234,.05); border-top: 2px solid var(--verde); padding: 1.4rem; }
.piatto h3 { font-size: 1.16rem; color: var(--oro); margin-bottom: .5rem; }
.piatto p { font-size: .92rem; color: var(--panna-d); margin: 0; }
.prezzi { max-width: var(--wrap); margin: clamp(1.8rem, 4vw, 2.6rem) auto 0; }
.prezzi h3 { font-size: 1.2rem; margin-bottom: 1rem; }
.prezzi ul { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 0 clamp(1.4rem, 4vw, 3rem); }
.prezzi li { display: flex; justify-content: space-between; gap: 1rem; padding: .6em 0; border-bottom: 1px dotted rgba(247,243,234,.2); font-size: .93rem; }
.prezzi b { color: var(--oro); font-family: var(--serif); }
.prezzi__nota { font-size: .82rem; color: var(--grigio); margin: 0; }

/* ── A TAVOLA ──────────────────────────────────────────────────── */
.tavola {
  max-width: var(--wrap); margin: 0 auto;
  padding: clamp(3rem, 7vw, 5rem) var(--gut);
  display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(1.6rem, 4vw, 3.4rem); align-items: center;
}
.tavola__testo h2 { font-size: clamp(1.7rem, 4vw, 2.6rem); margin-bottom: 1.1rem; }
.tavola__testo p { color: var(--panna-d); }
.omaggi { list-style: none; padding: 0; margin: 1.4rem 0; }
.omaggi li { padding: .55em 0 .55em 1.7rem; position: relative; border-bottom: 1px solid rgba(247,243,234,.1); font-size: .95rem; }
.omaggi li::before {
  content: ''; position: absolute; left: 0; top: 1em; width: 9px; height: 9px;
  border-radius: 50%; background: var(--rosso);
}
.tavola__foto { margin: 0; }
.tavola__foto button { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; line-height: 0; }
.tavola__foto img { width: 100%; border-radius: 12px; background: var(--panna); }

/* ── RECENSIONI ────────────────────────────────────────────────── */
.voci { background: var(--legno); padding: clamp(3rem, 7vw, 5rem) var(--gut); }
.voci__head { max-width: var(--wrap); margin: 0 auto clamp(1.6rem, 3.4vw, 2.4rem); }
.voci__head h2 { font-size: clamp(1.7rem, 4vw, 2.6rem); }
.voci__grid { max-width: var(--wrap); margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(262px, 1fr)); gap: clamp(1rem, 2.2vw, 1.5rem); }
.voce { margin: 0; background: rgba(20,17,15,.5); border-radius: 10px; padding: 1.4rem; }
.voce p { font-family: var(--serif); font-size: 1rem; line-height: 1.6; color: var(--panna); }
.voce cite { font-style: normal; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--oro); font-weight: 700; }

/* ── DOVE ──────────────────────────────────────────────────────── */
.dove {
  max-width: var(--wrap); margin: 0 auto;
  padding: clamp(3rem, 7vw, 5rem) var(--gut);
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.6rem, 4vw, 3.4rem); align-items: start;
}
.dove__info h2 { font-size: clamp(1.7rem, 4vw, 2.6rem); margin-bottom: .9rem; }
.dove__info p { color: var(--panna-d); }
.stato { font-size: .9rem; font-weight: 700; color: var(--verde-l) !important; }
.orari { list-style: none; padding: 0; margin: 0 0 1.2rem; }
.orari li { display: flex; justify-content: space-between; gap: 1rem; padding: .5em .55em; font-size: .9rem; border-bottom: 1px solid rgba(247,243,234,.1); }
.orari li span:first-child { text-transform: capitalize; }
.orari li.is-today { background: rgba(232,184,75,.16); border-radius: 5px; font-weight: 700; }
.solo-cena { color: var(--oro); }
.dove__modi { font-size: .9rem; }
.dove__foto { margin: 1.4rem 0 0; }
.dove__foto button { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; line-height: 0; }
.dove__foto img { width: 100%; border-radius: 12px; }
.dove__mappa iframe { width: 100%; height: clamp(320px, 46vh, 460px); display: block; border-radius: 12px; border: 1px solid rgba(247,243,234,.18); }

/* ── FAQ ───────────────────────────────────────────────────────── */
.faq { max-width: 860px; margin: 0 auto; padding: 0 var(--gut) clamp(3rem, 7vw, 5rem); }
.faq h2 { font-size: clamp(1.6rem, 3.8vw, 2.4rem); margin-bottom: 1.4rem; }
.faq details { border-bottom: 1px solid rgba(247,243,234,.14); }
.faq summary { cursor: pointer; padding: 1em 2em 1em 0; font-weight: 500; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+'; position: absolute; right: .2em; top: 50%; transform: translateY(-50%);
  font-family: var(--serif); font-size: 1.4rem; color: var(--oro); transition: transform .25s;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 1.5rem 1.2em 0; color: var(--grigio); font-size: .93rem; margin: 0; }

/* ── footer ────────────────────────────────────────────────────── */
footer { background: var(--nero-2); text-align: center; padding: clamp(2.4rem, 6vw, 3.6rem) var(--gut) 5.5rem; border-top: 1px solid rgba(247,243,234,.12); }
.foot__nome { font-family: var(--serif); font-size: 1.3rem; color: var(--oro); margin-bottom: .5rem; }
.foot__riga { font-size: .88rem; margin: 0 0 .3rem; color: var(--panna-d); }
.foot__riga a { color: var(--verde-l); }
.foot__nota { font-size: .74rem; color: var(--grigio); margin-top: 1.3rem; }

/* ── action bar ────────────────────────────────────────────────── */
#actionBar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 80; display: none;
  background: rgba(20,17,15,.98); border-top: 1px solid rgba(232,184,75,.34);
  transform: translateY(102%); transition: transform .3s;
}
#actionBar.is-visible { transform: translateY(0); }
#actionBar a { flex: 1; text-align: center; padding: .95rem .4rem; text-decoration: none; color: var(--panna); font-size: .78rem; font-weight: 700; }
#actionBar a + a { border-left: 1px solid rgba(247,243,234,.16); }

/* ── lightbox ──────────────────────────────────────────────────── */
#lightbox {
  position: fixed; inset: 0; z-index: 300; background: rgba(20,17,15,.95);
  display: flex; align-items: center; justify-content: center; padding: 4vw;
}
#lightbox img { max-width: 100%; max-height: 88vh; border-radius: 10px; }
#lightboxClose { position: absolute; top: 1.1rem; right: 1.5rem; background: none; border: 0; color: var(--panna); font-size: 2.4rem; line-height: 1; cursor: pointer; }

/* ── responsive ────────────────────────────────────────────────── */
@media (max-width: 960px) {
  #burger { display: flex; }
  #mainNav {
    position: fixed; inset: 0 0 0 auto; width: min(76vw, 310px);
    background: rgba(20,17,15,.995);
    flex-direction: column; justify-content: center; gap: 1.5rem; padding: 2rem;
    transform: translateX(100%); transition: transform .32s ease;
    border-left: 1px solid rgba(247,243,234,.16);
  }
  #mainNav.nav-open { transform: translateX(0); }
  #mainNav a { font-size: 1.05rem; }
  .cta-head { display: none; }
  .hero, .manifesto, .tavola, .dove { grid-template-columns: 1fr; }
  .hero__foto { order: -1; max-width: 460px; margin-inline: auto; }
  #actionBar { display: flex; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .hero__cta { flex-direction: column; }
  .hero__cta .btn { width: 100%; text-align: center; }
  .numeri { gap: 1.2rem; }
  .prezzi li { font-size: .9rem; }
}
