:root {
  --navy: #1f4a2c;
  --navy-2: #2a5a37;
  --sea: #2f6b3d;
  --sand: #fbf6ec;
  --sand-2: #f3eadb;
  --ink: #2a211c;
  --brass: #e2b65a;
  --brass-2: #a8812f;
  --coral: #b8282e;
  --muted-dark: #b3c4b4;
  --muted-light: #6d7068;
  --line-dark: rgba(239, 230, 214, .12);
  --line-light: #dccfb9;
  --serif: "Cormorant Garamond", Georgia, serif;
  --display: "Playfair Display", Georgia, serif;
  --sans: "Inter", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { font-family: var(--sans); background: var(--sand); color: var(--ink); line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img, iframe { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -.01em; }
h2 { font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.05; margin-bottom: 1.2rem; font-variation-settings: "opsz" 144; }
em { font-style: italic; }

.container { max-width: 1160px; margin: 0 auto; padding: 0 1.25rem; }
.section { padding: 6rem 0; }
.page-top { padding-top: 9rem; min-height: 100vh; }
.page-dark { background: var(--navy); color: var(--sand); }
.eyebrow { font-size: .72rem; font-weight: 600; letter-spacing: .28em; text-transform: uppercase; color: var(--brass-2); margin-bottom: 1rem; display: flex; align-items: center; gap: .75rem; }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.page-dark .eyebrow, .hero .eyebrow, .wine-teaser .eyebrow { color: var(--brass); }
.lead { font-size: 1.15rem; max-width: 620px; margin-bottom: 1.5rem; color: var(--muted-light); }
.page-dark .lead, .wine-teaser .lead { color: var(--muted-dark); }
.muted { color: var(--muted-dark); }
.small { font-size: .8rem; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: .5rem; padding: .95rem 1.8rem; border-radius: 999px; font-weight: 600; font-size: .95rem; text-decoration: none; border: 1.5px solid transparent; transition: transform .25s, background .25s, color .25s, border-color .25s; }
.btn:hover { transform: translateY(-2px); }
.btn-brass { background: var(--brass); color: var(--navy); }
.btn-brass:hover { background: #d9b67f; }
.btn-line { border-color: rgba(239, 230, 214, .5); color: var(--sand); }
.btn-line:hover { background: var(--sand); color: var(--navy); }
.btn-navy { background: var(--navy); color: var(--sand); }
.btn-navy:hover { background: var(--sea); }
.link-arrow { font-weight: 600; text-decoration: none; color: var(--navy); border-bottom: 1.5px solid var(--brass); padding-bottom: .2rem; white-space: nowrap; }
.link-arrow::after { content: " →"; }

/* ---------- Nav ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; display: flex; align-items: center; gap: 2rem; padding: 1.1rem 2rem; color: var(--sand); transition: background .35s, padding .35s, box-shadow .35s; }
.nav.solid { background: rgba(31, 74, 44, .94); backdrop-filter: blur(10px); padding: .7rem 2rem; box-shadow: 0 1px 0 var(--line-dark); }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; }
.brand-mark { width: 30px; height: 34px; color: var(--brass); }
.brand-name { font-family: var(--serif); font-size: 1.55rem; line-height: 1; letter-spacing: .02em; }
.brand-name small { display: block; font-family: var(--sans); font-size: .58rem; letter-spacing: .26em; text-transform: uppercase; color: var(--brass); margin-top: .3rem; }
.nav-links { display: flex; gap: 1.9rem; margin-left: auto; }
.nav-links a { text-decoration: none; font-size: .92rem; font-weight: 500; opacity: .8; position: relative; padding: .3rem 0; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 1.5px; background: var(--brass); transition: right .3s; }
.nav-links a:hover, .nav-links a.current { opacity: 1; }
.nav-links a:hover::after, .nav-links a.current::after { right: 0; }
.nav-right { display: flex; align-items: center; gap: 1rem; }
.lang-switch { display: flex; gap: .1rem; border: 1px solid var(--line-dark); border-radius: 999px; padding: .2rem; }
.lang-switch button { background: none; border: 0; color: var(--sand); font: 600 .68rem var(--sans); letter-spacing: .05em; padding: .35rem .5rem; border-radius: 999px; cursor: pointer; opacity: .6; }
.lang-switch button:hover { opacity: 1; }
.lang-switch button.active { background: var(--brass); color: var(--navy); opacity: 1; }
.nav-toggle { display: none; width: 40px; height: 40px; background: none; border: 0; cursor: pointer; position: relative; }
.nav-toggle span { position: absolute; left: 9px; right: 9px; height: 1.5px; background: var(--sand); transition: transform .3s, top .3s; }
.nav-toggle span:first-child { top: 15px; }
.nav-toggle span:last-child { top: 24px; }
.nav-toggle[aria-expanded="true"] span:first-child { top: 20px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { top: 20px; transform: rotate(-45deg); }

/* ---------- Open / closed badges ---------- */
.open-status { display: inline-flex; align-items: center; gap: .7rem; padding: .6rem 1.2rem .6rem .95rem; border-radius: 999px; font-size: .95rem; font-weight: 600; text-decoration: none; border: 1px solid; margin-bottom: 2rem; backdrop-filter: blur(6px); }
.open-status.open { color: #8ff0b8; border-color: rgba(61, 220, 132, .45); background: rgba(61, 220, 132, .1); box-shadow: 0 0 34px rgba(61, 220, 132, .18); }
.open-status.closed { color: #f3b7a2; border-color: rgba(208, 100, 63, .5); background: rgba(208, 100, 63, .1); }
.open-mini { display: inline-flex; align-items: center; gap: .45rem; padding: .35rem .8rem; border-radius: 999px; font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; }
.open-mini.open { background: #3ddc84; color: #06240f; }
.open-mini.closed { background: rgba(208, 100, 63, .22); color: #f3b7a2; }
.pulse { position: relative; width: 9px; height: 9px; border-radius: 50%; background: currentColor; flex-shrink: 0; }
.open .pulse { background: #3ddc84; }
.open-mini.open .pulse { background: #06240f; }
.open .pulse::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: inherit; animation: ping 1.8s cubic-bezier(0, 0, .2, 1) infinite; }
@keyframes ping { 75%, 100% { transform: scale(2.8); opacity: 0; } }

/* ---------- Pages ---------- */
.page:not(.active) { display: none !important; }
.page.active .container, .page.active .hero-inner { animation: rise .7s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden; color: var(--sand); padding: 8rem 2rem 9rem;
  background:
    radial-gradient(ellipse 60% 50% at 80% 30%, rgba(201, 163, 107, .18), transparent 70%),
    radial-gradient(ellipse 70% 60% at 10% 90%, rgba(29, 58, 83, .9), transparent 70%),
    var(--navy);
  }
.hero-rope { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--brass); opacity: .06; }
.hero-inner { position: relative; z-index: 1; max-width: 1160px; margin: 0 auto; width: 100%; display: grid; grid-template-columns: 1.35fr 1fr; gap: 3rem; align-items: center; }
.hero-title { font-size: clamp(3.2rem, 8.4vw, 7.2rem); line-height: .95; letter-spacing: -.03em; font-weight: 350; font-variation-settings: "opsz" 144; margin-bottom: 1.8rem; }
.hero-title em { display: block; color: var(--brass); font-weight: 300; }
.hero-sub { font-size: 1.15rem; max-width: 520px; color: #c9d3dd; margin-bottom: 2.4rem; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-anchor { position: relative; justify-self: center; width: min(380px, 80%); aspect-ratio: 1; display: grid; place-items: center; }
.anchor-ring { position: absolute; inset: 0; border-radius: 50%; border: 1px dashed rgba(201, 163, 107, .35); animation: spin 60s linear infinite; }
.anchor-ring::before { content: ""; position: absolute; inset: 11%; border-radius: 50%; border: 1px solid rgba(201, 163, 107, .18); }
.anchor-big { position: relative; z-index: 1; width: 58%; height: 64%; color: var(--brass); transform-origin: 50% 12%; animation: sway 6s ease-in-out infinite; filter: drop-shadow(0 20px 40px rgba(0, 0, 0, .45)); }

/* Animated sea inside the inner circle. The back wave sits behind the anchor, the front wave
   (semi-transparent, with a brass crest) passes over it so the anchor's arms look under water. */
.sea, .bubbles { position: absolute; inset: 11%; border-radius: 50%; overflow: hidden; pointer-events: none; }
.sea svg { position: absolute; left: 0; bottom: 0; width: 200%; }
.sea-back svg { height: 44%; animation: drift 9s linear infinite; }
.sea-back path { fill: #1d3a53; }
.sea-back { background: radial-gradient(ellipse 70% 30% at 50% 100%, rgba(201, 163, 107, .12), transparent 70%); }
.sea-front { z-index: 2; }
.sea-front svg { height: 38%; animation: drift 6s linear infinite reverse; }
.sea-front .fill { fill: rgba(31, 74, 44, .62); }
.sea-front .crest { fill: none; stroke: var(--brass); stroke-opacity: .7; stroke-width: 2.5; vector-effect: non-scaling-stroke; }
.bubbles { z-index: 3; }
.bubbles i { position: absolute; bottom: 4%; width: 7px; height: 7px; border-radius: 50%; border: 1px solid rgba(201, 163, 107, .7); opacity: 0; animation: bubble 6s ease-in infinite; }
.bubbles i:nth-child(1) { left: 30%; animation-delay: 0s; }
.bubbles i:nth-child(2) { left: 44%; width: 5px; height: 5px; animation-delay: 1.4s; }
.bubbles i:nth-child(3) { left: 58%; animation-delay: 2.6s; }
.bubbles i:nth-child(4) { left: 67%; width: 4px; height: 4px; animation-delay: 3.5s; }
.bubbles i:nth-child(5) { left: 38%; width: 9px; height: 9px; animation-delay: 4.3s; }
.bubbles i:nth-child(6) { left: 52%; width: 4px; height: 4px; animation-delay: 5.1s; }
@keyframes bubble {
  0% { bottom: 4%; opacity: 0; transform: translateX(0); }
  15% { opacity: .9; }
  50% { transform: translateX(6px); }
  100% { bottom: 40%; opacity: 0; transform: translateX(-4px); }
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes sway { 0%, 100% { transform: rotate(-4deg); } 50% { transform: rotate(4deg); } }
.waves { position: absolute; left: 0; bottom: -1px; width: 200%; height: 90px; }
.wave { fill: var(--sand); }
.wave-back { opacity: .35; animation: drift 18s linear infinite; }
.wave-front { animation: drift 11s linear infinite reverse; }
@keyframes drift { to { transform: translateX(-50%); } }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; border-bottom: 1px solid var(--line-light); padding: 1.3rem 0 1.6rem; background: var(--sand); }
.marquee-track { display: flex; width: max-content; animation: marquee 50s linear infinite; }
.marquee-track span { font-family: var(--serif); font-style: italic; font-size: clamp(1.4rem, 3vw, 2.1rem); white-space: nowrap; padding: 0 1.4rem; color: var(--navy); }
.marquee-track i { color: var(--brass); font-style: normal; align-self: center; font-size: 1rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Specials ---------- */
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; margin-bottom: 2.5rem; }
.section-head h2 { margin-bottom: 0; }
.special-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(205px, 1fr)); gap: 1rem; }
.special { position: relative; background: #fbf7f0; border: 1px solid var(--line-light); border-radius: 22px; padding: 2rem 1.6rem 1.6rem; display: flex; flex-direction: column; gap: .7rem; transition: transform .35s, box-shadow .35s; overflow: hidden; }
.special:hover { transform: translateY(-6px); box-shadow: 0 24px 50px -24px rgba(31, 74, 44, .35); }
.special .num { font-family: var(--serif); font-style: italic; color: var(--brass-2); font-size: 1rem; }
.special h3 { font-size: 1.55rem; line-height: 1.15; }
.special p { color: var(--muted-light); font-size: .93rem; flex: 1; }
.special .price { align-self: flex-start; background: var(--navy); color: var(--sand); border-radius: 999px; padding: .35rem .9rem; font-weight: 600; font-size: .9rem; }
.special svg { position: absolute; right: -18px; bottom: -22px; width: 110px; height: 120px; color: var(--sand-2); z-index: 0; }
.special > *:not(svg) { position: relative; z-index: 1; }

/* ---------- Photo mosaic ---------- */
.mosaic-section { padding-top: 0; }
.mosaic { display: grid; grid-template-columns: 1.3fr 1fr 1fr; grid-template-rows: 230px 230px; gap: .9rem; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; border-radius: 20px; transition: transform .6s, filter .6s; filter: saturate(.95); }
.mosaic img:first-child { grid-row: span 2; }
.mosaic img:nth-child(4):last-child { grid-column: span 2; }
.mosaic img:hover { transform: scale(1.02); filter: saturate(1.1); }

/* ---------- Reviews ---------- */
.reviews { padding-top: 1rem; }
.reviews-inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 3rem; align-items: center; background: #fbf7f0; border: 1px solid var(--line-light); border-radius: 28px; padding: 3rem; }
.reviews-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.5rem; }
.reviews-actions .btn span:first-child { color: var(--brass); }
.btn-outline { border-color: var(--line-light); color: var(--ink); background: transparent; }
.btn-outline:hover { border-color: var(--navy); }
.btn .ico { width: 18px; height: 18px; }
.rating-card { text-align: center; }
.rating-num { font-family: var(--serif); font-weight: 300; font-size: 5.5rem; line-height: 1; color: var(--navy); }
.stars { position: relative; display: inline-block; font-size: 1.7rem; letter-spacing: .15em; line-height: 1; margin: .5rem 0; }
.stars-bg { color: var(--line-light); }
.stars-fg { position: absolute; left: 0; top: 0; overflow: hidden; white-space: nowrap; color: var(--brass); }
.rating-count { color: var(--muted-light); font-size: .9rem; }

/* ---------- Socials ---------- */
.socials { display: flex; justify-content: center; gap: .6rem; margin: 0 0 1.4rem; }
.socials a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-dark); display: grid; place-items: center; color: var(--sand); transition: background .2s, color .2s, border-color .2s; }
.socials a:hover { background: var(--brass); border-color: var(--brass); color: var(--navy); }
.socials svg { width: 19px; height: 19px; }

/* ---------- Review prompt (table mode, after asking for the bill) ---------- */
.review-prompt { position: fixed; left: .75rem; right: .75rem; bottom: 5.4rem; margin: 0 auto; max-width: 520px; z-index: 62; background: var(--sand); border-radius: 22px; padding: 1.3rem 1.3rem 1.2rem; box-shadow: 0 20px 50px rgba(0, 0, 0, .35); text-align: center; animation: rise .45s cubic-bezier(.2, .8, .2, 1) both; }
.review-prompt p { font-family: var(--serif); font-size: 1.15rem; line-height: 1.35; margin: 0 1.4rem 1rem; }
.review-prompt .btn { justify-content: center; }
.review-prompt .btn span:first-child { color: var(--navy); }
.rp-close { position: absolute; top: .6rem; right: .7rem; width: 32px; height: 32px; border-radius: 50%; border: 0; background: transparent; font-size: 1.3rem; cursor: pointer; color: var(--muted-light); }

/* ---------- Wine teaser ---------- */
.wine-teaser { background: var(--navy); color: var(--sand); position: relative; overflow: hidden; }
.teaser-inner { display: grid; grid-template-columns: 1.3fr 1fr; gap: 3rem; align-items: center; }
.teaser-stats { display: grid; gap: 1rem; }
.teaser-stats div { display: flex; align-items: baseline; gap: 1.2rem; border-bottom: 1px solid var(--line-dark); padding: 1rem 0; }
.teaser-stats strong { font-family: var(--serif); font-weight: 300; font-size: 3.6rem; line-height: 1; color: var(--brass); min-width: 2.2ch; }
.teaser-stats span { color: var(--muted-dark); }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: 1.2fr 1fr; gap: 4rem; align-items: center; }
.about-text p + p { margin-top: 1rem; }
.about-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.stat { background: #fbf7f0; border: 1px solid var(--line-light); border-radius: 20px; padding: 1.5rem; }
.stat strong { display: block; font-family: var(--serif); font-weight: 300; font-size: 2.6rem; line-height: 1.05; color: var(--navy); }
.stat span { font-size: .88rem; color: var(--muted-light); }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: .9rem; margin-top: 4rem; }
.gallery a { display: block; aspect-ratio: 4 / 5; border-radius: 18px; overflow: hidden; background: var(--sand-2); }
.gallery a:nth-child(3n + 1) { aspect-ratio: 4 / 3; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.gallery a:hover img { transform: scale(1.06); }

/* ---------- Menu ---------- */
.tabs { display: flex; gap: .5rem; margin: 2rem 0 3rem; overflow-x: auto; scrollbar-width: none; position: sticky; top: 64px; z-index: 5; background: var(--sand); padding: .6rem 0; }
.tab { background: none; border: 1px solid var(--line-light); color: var(--ink); padding: .65rem 1.3rem; border-radius: 999px; font: 500 .92rem var(--sans); cursor: pointer; white-space: nowrap; transition: background .2s, color .2s; }
.tab:hover { border-color: var(--navy); }
.tab.active { background: var(--navy); border-color: var(--navy); color: var(--sand); }
.menu-group { margin-bottom: 3.5rem; }
.menu-group-title { font-size: clamp(1.8rem, 3.5vw, 2.4rem); font-style: italic; color: var(--navy); border-bottom: 1px solid var(--line-light); padding-bottom: .8rem; margin-bottom: .5rem; }
.menu-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; column-gap: 3.5rem; }
.menu-list li { padding: 1.1rem 0; border-bottom: 1px dashed var(--line-light); }
.menu-row { display: flex; align-items: baseline; gap: .6rem; }
.menu-row .name { font-family: var(--serif); font-size: 1.22rem; }
.menu-row .dots { flex: 1; border-bottom: 1px dotted #bfae93; transform: translateY(-5px); min-width: 1rem; }
.menu-row .price { font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.menu-row .unit { font-size: .75rem; color: var(--muted-light); font-weight: 500; }
.menu-desc { font-size: .9rem; color: var(--muted-light); margin-top: .25rem; max-width: 46ch; }
.note { margin-top: 1rem; font-size: .85rem; color: var(--muted-light); }

/* Search + allergens */
.menu-tools { display: flex; gap: .6rem; align-items: center; margin-top: 1.5rem; }
.search { flex: 1; max-width: 420px; display: flex; align-items: center; gap: .5rem; border: 1px solid var(--line-light); border-radius: 999px; padding: 0 1rem; background: #fbf7f0; }
.search span { color: var(--muted-light); font-size: 1.2rem; }
.search input { flex: 1; border: 0; background: transparent; padding: .75rem 0; font: 1rem var(--sans); color: var(--ink); outline: none; min-width: 0; }
.al-toggle { display: inline-flex; align-items: center; gap: .45rem; border: 1px solid var(--line-light); background: transparent; border-radius: 999px; padding: .72rem 1.1rem; font: 500 .92rem var(--sans); cursor: pointer; color: var(--ink); white-space: nowrap; }
.al-toggle::before { content: "⚠"; color: var(--brass-2); }
.al-toggle[aria-expanded="true"] { border-color: var(--navy); }
.al-toggle b { background: var(--coral); color: #fff; border-radius: 999px; font-size: .72rem; padding: .05rem .45rem; }
.al-panel { margin-top: .8rem; padding: 1rem 1.1rem; border-radius: 18px; background: #fbf7f0; border: 1px solid var(--line-light); font-size: .85rem; color: var(--muted-light); }
.al-chips { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .6rem; }
.al-chip { border: 1px solid var(--line-light); background: #fff; border-radius: 999px; padding: .4rem .8rem; font: 500 .82rem var(--sans); cursor: pointer; color: var(--ink); }
.al-chip.on { background: var(--coral); border-color: var(--coral); color: #fff; text-decoration: line-through; }
.al-chip.clear { border-style: dashed; color: var(--muted-light); }
.al-line { display: flex; flex-wrap: wrap; gap: .3rem; align-items: center; margin-top: .45rem; }
.al-label { font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--brass-2); margin-right: .15rem; }
.al-pill { font-size: .72rem; border: 1px solid var(--line-light); border-radius: 999px; padding: .1rem .5rem; color: var(--muted-light); background: #fbf7f0; }
.search-none { padding: 2rem 0; color: var(--muted-light); }
.menu-list li.has-photo { display: grid; grid-template-columns: 84px 1fr; column-gap: 1rem; }
.menu-list li.has-photo > :not(.dish-photo) { grid-column: 2; }
.dish-photo { grid-row: 1 / span 4; width: 84px; height: 84px; object-fit: cover; border-radius: 14px; }
.special.with-photo { padding-top: 0; }
.special-photo { order: -1; max-width: none; width: calc(100% + 3.2rem); margin: 0 -1.6rem .6rem; height: 170px; object-fit: cover; }

/* ---------- Wine page ---------- */
.glass { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1rem; margin: 3rem 0 4.5rem; }
.glass-card { border: 1px solid var(--line-dark); border-radius: 20px; padding: 1.4rem; display: flex; flex-direction: column; gap: .6rem; background: rgba(255, 255, 255, .02); }
.glass-card .kind { display: flex; align-items: center; gap: .55rem; font-family: var(--serif); font-size: 1.25rem; }
.glass-card .price { font-family: var(--serif); font-weight: 300; font-size: 2.2rem; color: var(--brass); line-height: 1; }
.glass-card small { color: var(--muted-dark); font-size: .75rem; letter-spacing: .15em; text-transform: uppercase; }
.dot { width: 11px; height: 11px; border-radius: 50%; flex-shrink: 0; background: #8a8a8a; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2); }
.dot.tinto { background: #7a1f2b; }
.dot.branco { background: #e4d08c; }
.dot.rose { background: #e89aa0; }
.dot.espumante { background: radial-gradient(circle at 30% 30%, #fff8d8, #e0c46a); }
.dot.verde { background: #b9cf6a; }
.regions { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 3rem 3.5rem; }
.region h3 { font-size: 2rem; font-style: italic; color: var(--brass); margin-bottom: .4rem; display: flex; align-items: baseline; justify-content: space-between; border-bottom: 1px solid var(--line-dark); padding-bottom: .6rem; }
.region h3 small { font-family: var(--sans); font-style: normal; font-size: .7rem; letter-spacing: .2em; color: var(--muted-dark); text-transform: uppercase; }
.wine { display: grid; grid-template-columns: auto 1fr auto; gap: .2rem .8rem; align-items: baseline; padding: .9rem 0; border-bottom: 1px dashed var(--line-dark); }
.wine .dot { align-self: center; }
.wine .name { font-family: var(--serif); font-size: 1.12rem; }
.wine .price { font-weight: 600; white-space: nowrap; }
.wine .grapes { grid-column: 2 / 4; font-size: .83rem; color: var(--muted-dark); }

/* ---------- Visit ---------- */
.visit { display: grid; grid-template-columns: 1fr 1.1fr; gap: 4rem; align-items: start; }
.info { list-style: none; margin: 1.5rem 0 2.2rem; }
.info > li { padding: 1rem 0; border-bottom: 1px solid var(--line-light); }
.info strong { display: block; font-size: .7rem; letter-spacing: .22em; text-transform: uppercase; color: var(--brass-2); margin-bottom: .3rem; }
.info a { margin-right: 1rem; }
.hours { list-style: none; }
.hours li { display: flex; justify-content: space-between; max-width: 320px; padding: .12rem 0; }
.hours li.is-today { font-weight: 600; color: var(--navy); }
.hours li.is-today span:first-child::before { content: "✦ "; color: var(--coral); }
.closures { margin-top: .8rem; font-size: .92rem; }
.closures:empty { display: none; }
.closures strong { color: var(--coral); }
.map { border-radius: 26px; overflow: hidden; aspect-ratio: 1; border: 1px solid var(--line-light); box-shadow: 0 30px 60px -30px rgba(31, 74, 44, .4); }
.map iframe { width: 100%; height: 100%; border: 0; filter: saturate(.7) contrast(1.05); }

/* ---------- Footer ---------- */
.footer { background: var(--navy); color: var(--sand); text-align: center; padding: 4rem 1.25rem 3rem; }
.footer-anchor { width: 38px; height: 44px; color: var(--brass); margin: 0 auto 1rem; }
.footer-name { font-family: var(--serif); font-size: 2.2rem; line-height: 1; }
.footer-tag { color: var(--brass); font-size: .72rem; letter-spacing: .26em; text-transform: uppercase; margin: .6rem 0 1.4rem; }
.footer p { margin-bottom: .3rem; }
.footer a { text-decoration: none; }

/* ---------- Table mode (QR / NFC) ---------- */
.table-bar { position: fixed; left: .75rem; right: .75rem; bottom: 1rem; margin: 0 auto; z-index: 60; max-width: 640px; display: flex; align-items: center; gap: .75rem; padding: .55rem .55rem .55rem 1rem; border-radius: 999px; background: rgba(31, 74, 44, .96); backdrop-filter: blur(10px); color: var(--sand); box-shadow: 0 18px 50px -12px rgba(0, 0, 0, .55), 0 0 0 1px rgba(201, 163, 107, .25); animation: rise .6s cubic-bezier(.2, .7, .2, 1) both; }
.table-label { display: flex; align-items: center; gap: .55rem; }
.table-label svg { width: 22px; height: 26px; color: var(--brass); }
.table-label span { display: flex; flex-direction: column; line-height: 1.05; }
.table-label small { font-size: .6rem; letter-spacing: .22em; text-transform: uppercase; color: var(--brass); }
.table-label b { font-family: var(--serif); font-size: 1.6rem; font-weight: 500; }
.table-actions { display: flex; gap: .45rem; margin-left: auto; }
.tb-btn { display: inline-flex; align-items: center; gap: .45rem; border: 1px solid rgba(239, 230, 214, .25); background: transparent; color: var(--sand); border-radius: 999px; padding: .7rem 1.05rem; font: 600 .85rem var(--sans); cursor: pointer; transition: background .2s, transform .15s; white-space: nowrap; }
.tb-btn:active { transform: scale(.96); }
.tb-btn:hover { background: rgba(239, 230, 214, .08); }
.tb-bill { background: var(--brass); border-color: var(--brass); color: var(--navy); }
.tb-bill:hover { background: #d9b67f; }
.tb-btn.sent { opacity: .55; }
.tb-btn:disabled { opacity: .6; }
body.table-mode .footer { padding-bottom: 7rem; }
body.table-mode .tabs { top: 58px; }
.toast { position: fixed; left: 1rem; right: 1rem; bottom: 5.6rem; margin: 0 auto; width: fit-content; z-index: 61; max-width: calc(100% - 2rem); background: #1f9d55; color: #fff; padding: .8rem 1.3rem; border-radius: 14px; font-weight: 600; box-shadow: 0 12px 30px rgba(0, 0, 0, .3); animation: rise .35s ease both; text-align: center; }
.toast.error { background: var(--coral); }

/* ---------- Language picker ---------- */
.lang-btn { display: none; align-items: center; gap: .35rem; background: transparent; border: 1px solid var(--line-dark); color: var(--sand); border-radius: 999px; padding: .38rem .7rem; font: 700 .72rem var(--sans); letter-spacing: .06em; cursor: pointer; }
.lang-btn svg { width: 16px; height: 16px; color: var(--brass); }
.lang-overlay { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 1.25rem; background: radial-gradient(ellipse at 50% 20%, rgba(201, 163, 107, .18), transparent 60%), var(--navy); animation: fade .3s ease; }
.lang-card { width: 100%; max-width: 420px; text-align: center; color: var(--sand); }
.lang-anchor { width: 44px; height: 50px; color: var(--brass); animation: sway 6s ease-in-out infinite; transform-origin: 50% 12%; }
.lang-hello { font-family: var(--serif); font-size: 1.15rem; line-height: 1.5; margin: 1rem 0 .4rem; color: #d7dde4; }
.lang-table { font-family: var(--serif); font-size: 3rem; line-height: 1; color: var(--brass); margin-bottom: .2rem; }

.lang-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; margin-top: 1.5rem; }
.lang-choice { display: flex; align-items: center; gap: .6rem; padding: 1rem 1.1rem; border-radius: 16px; border: 1px solid rgba(239, 230, 214, .2); background: rgba(255, 255, 255, .04); color: var(--sand); font: 600 1.02rem var(--sans); cursor: pointer; text-align: left; transition: background .2s, border-color .2s, transform .15s; }
.lang-choice:hover { background: rgba(255, 255, 255, .09); }
.lang-choice:active { transform: scale(.97); }
.lang-choice.current { border-color: var(--brass); background: rgba(201, 163, 107, .15); }
.lang-choice .flag { display: inline-flex; width: 30px; height: 20px; border-radius: 4px; overflow: hidden; box-shadow: 0 0 0 1px rgba(255, 255, 255, .15); flex-shrink: 0; }
.lang-choice .flag svg { width: 100%; height: 100%; }

/* ---------- Order from the table ---------- */
.add-btn { flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid var(--navy); background: transparent; color: var(--navy); font-size: 1.15rem; line-height: 1; cursor: pointer; margin-left: .5rem; transition: background .2s, color .2s, transform .15s; }
.add-btn:hover { background: var(--navy); color: var(--sand); }
.add-btn.pop { animation: pop .35s ease; }
@keyframes pop { 50% { transform: scale(1.25); background: var(--brass); border-color: var(--brass); color: var(--navy); } }
.page-dark .add-btn { border-color: var(--brass); color: var(--brass); }
.page-dark .add-btn:hover { background: var(--brass); color: var(--navy); }
.wine { grid-template-columns: auto 1fr auto auto; }
.wine .grapes { grid-column: 2 / 5; }
.glass-card { position: relative; }
.glass-card .add-btn { position: absolute; top: 1rem; right: 1rem; margin: 0; }
.tb-cart { background: var(--sand); border-color: var(--sand); color: var(--navy); margin-left: .45rem; }
.tb-cart:hover { background: #fff; }
.tb-cart.closed { background: transparent; border-color: rgba(239, 230, 214, .3); color: rgba(239, 230, 214, .75); }
.tb-cart.closed b, .tb-cart.closed .tb-icon { display: none !important; }
.tb-cart b { background: var(--navy); color: var(--sand); border-radius: 999px; min-width: 1.5em; padding: 0 .4em; text-align: center; font-size: .78rem; }
body.ordering .table-actions .tb-btn span:not(.tb-icon) { display: none; }
body.ordering .table-actions .tb-btn .tb-icon { display: inline !important; }
body.ordering .table-actions .tb-btn { padding: .7rem .8rem; }

.drawer { position: fixed; inset: 0; z-index: 70; }
.drawer-backdrop { position: absolute; inset: 0; background: rgba(31, 74, 44, .55); backdrop-filter: blur(3px); animation: fade .25s ease; }
@keyframes fade { from { opacity: 0; } }
.sheet { position: absolute; left: 0; right: 0; bottom: 0; margin: 0 auto; max-width: 640px; max-height: 88vh; display: flex; flex-direction: column; background: var(--sand); border-radius: 26px 26px 0 0; box-shadow: 0 -20px 60px rgba(0, 0, 0, .35); animation: slideUp .35s cubic-bezier(.2, .8, .2, 1); }
@keyframes slideUp { from { transform: translateY(100%); } }
body.drawer-open { overflow: hidden; }
.sheet-head { display: flex; align-items: center; justify-content: space-between; padding: 1.2rem 1.4rem .6rem; }
.sheet-head h2 { font-size: 1.9rem; margin: 0; }
.sheet-close { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line-light); background: transparent; font-size: 1.4rem; cursor: pointer; color: var(--ink); }
.sheet-body { overflow-y: auto; padding: 0 1.4rem 1rem; flex: 1; }
.cart-line { display: grid; grid-template-columns: auto 1fr auto; gap: .8rem; align-items: start; padding: .9rem 0; border-bottom: 1px dashed var(--line-light); }
.qty { display: flex; align-items: center; gap: .35rem; background: #fbf7f0; border: 1px solid var(--line-light); border-radius: 999px; padding: .15rem; }
.qty button { width: 30px; height: 30px; border-radius: 50%; border: 0; background: transparent; font-size: 1.1rem; cursor: pointer; color: var(--navy); }
.qty button:hover { background: var(--sand-2); }
.qty b { min-width: 1.2em; text-align: center; }
.line-info { display: flex; flex-direction: column; gap: .35rem; min-width: 0; }
.line-name { font-family: var(--serif); font-size: 1.1rem; line-height: 1.2; }
.line-note { border: 0; border-bottom: 1px dotted #bfae93; background: transparent; font: .85rem var(--sans); color: var(--muted-light); padding: .15rem 0; outline: none; }
.line-price { font-weight: 600; white-space: nowrap; padding-top: .2rem; }
.cart-empty { color: var(--muted-light); padding: 1.5rem 0; text-align: center; }
.cart-note { display: block; margin-top: 1rem; font-size: .8rem; font-weight: 600; color: var(--muted-light); }
.cart-note textarea { display: block; width: 100%; margin-top: .35rem; border: 1px solid var(--line-light); border-radius: 12px; background: #fbf7f0; padding: .6rem .75rem; font: .92rem var(--sans); resize: vertical; }
.my-orders { margin-top: 1.5rem; }
.my-orders h3 { font-size: 1.2rem; font-style: italic; margin-bottom: .6rem; }
.my-order { border-radius: 14px; padding: .8rem 1rem; margin-bottom: .6rem; background: #fbf7f0; border: 1px solid var(--line-light); display: grid; grid-template-columns: 1fr auto; gap: .2rem .8rem; }
.mo-status { font-weight: 700; font-size: .9rem; }
.mo-items { grid-column: 1; font-size: .85rem; color: var(--muted-light); }
.mo-total { grid-row: 1 / 3; grid-column: 2; align-self: center; font-weight: 600; }
.my-order.novo .mo-status { color: var(--brass-2); }
.my-order.novo .mo-status::before { content: "⏳ "; }
.my-order.aceite { border-color: #9fd9b5; background: #eef8f1; }
.my-order.aceite .mo-status { color: #1f7d45; }
.my-order.aceite .mo-status::before { content: "✓ "; }
.my-order.recusado .mo-status { color: var(--coral); }
.my-order.servido { opacity: .6; }
.sheet-foot { padding: 1rem 1.4rem 1.3rem; border-top: 1px solid var(--line-light); background: #fbf7f0; }
.sheet-total { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: .8rem; }
.sheet-total b { font-family: var(--serif); font-size: 1.8rem; font-weight: 500; }
.sheet-send { width: 100%; justify-content: center; font-size: 1.05rem; padding: 1.05rem; border: 0; cursor: pointer; }
.sheet-send:disabled { opacity: .5; cursor: default; transform: none; }
.sheet-pay { text-align: center; font-size: .78rem; color: var(--muted-light); margin-top: .6rem; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .nav { gap: 1rem; padding: .9rem 1.25rem; }
  .nav.solid { padding: .6rem 1.25rem; }
  .nav-toggle { display: block; }
  .nav-links { position: fixed; inset: 0; z-index: -1; flex-direction: column; justify-content: center; align-items: center; gap: 1.4rem; background: var(--navy); margin: 0; opacity: 0; pointer-events: none; transition: opacity .35s; }
  .nav-links.open { opacity: 1; pointer-events: auto; }
  .nav-links a { font-family: var(--serif); font-size: 2.2rem; opacity: 1; }
  .nav-right { margin-left: auto; }
  .hero-inner, .teaser-inner, .about, .visit, .reviews-inner { grid-template-columns: 1fr; }
  .reviews-inner { padding: 2rem 1.4rem; gap: 1.5rem; margin: 0 1rem; }
  .rating-card { order: -1; }
  .hero { padding: 7rem 1.25rem 8rem; }
  .hero-anchor { order: -1; width: 150px; justify-self: start; margin-bottom: -1rem; }
  .mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: 190px 150px 150px; }
  .mosaic img:first-child { grid-column: span 2; grid-row: span 1; }
  .menu-list { grid-template-columns: 1fr; }
  .section { padding: 4.5rem 0; }
  .page-top { padding-top: 7.5rem; }
}
@media (max-width: 560px) {
  .lang-btn { display: inline-flex; }
  .menu-tools { flex-wrap: wrap; }
  .search { max-width: none; flex-basis: 100%; }
  .dish-photo { width: 68px; height: 68px; }
  .menu-list li.has-photo { grid-template-columns: 68px 1fr; column-gap: .8rem; }
  .table-bar { padding-left: .8rem; gap: .5rem; }
  .table-label svg { display: none; }
  .tb-btn { padding: .65rem .8rem; font-size: .78rem; }
  .tb-btn .tb-icon { display: none; }
  .tb-cart { margin-left: .3rem; }
  .tb-cart #cartTotal { display: none; }
  .nav-links .lang-switch { margin-top: 1.5rem; }
  .nav-links .lang-switch button { font-size: .9rem; padding: .55rem .75rem; }
  .brand-name small { display: none; }
  .open-mini .label { display: none; }
  .open-mini { padding: .45rem; }
  .lang-switch button { padding: .3rem .38rem; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .regions { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}


/* =====================================================================
   Basílico theme — "sera in trattoria": evening food photos, printed-menu
   typography (centred, small caps, thin rules), square corners, polaroids,
   red-and-white gingham. Deliberately unlike the rounded, illustrated Pepe Verde.
   ===================================================================== */
:root { --paper: #fffdf8; --rule: #e3d7c3; --red: #b8282e; --red-dark: #8a1c21; --basil: #2f7a3a; --espresso: #1d1714; --hand: "Caveat", "Segoe Print", cursive; }
h2 { font-family: var(--display); font-weight: 700; letter-spacing: -.01em; line-height: 1.05; color: var(--navy); }
.page-dark h2 { color: var(--sand); }
.eyebrow { color: var(--red); letter-spacing: .32em; }
.eyebrow::before { width: 34px; }

/* Centred section headings with a basil sprig under the title, like a printed menu */
.section-head { flex-direction: column; align-items: center; text-align: center; gap: 1rem; }
.section-head .eyebrow { justify-content: center; }
.section-head .eyebrow::after { content: ""; width: 34px; height: 1px; background: currentColor; }
.section-head h2::after { content: ""; display: block; width: 120px; height: 24px; margin: 1rem auto 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 24'%3E%3Cpath d='M0 12h44M76 12h44' stroke='%23d9cbb3' stroke-width='1'/%3E%3Cg fill='%232f7a3a'%3E%3Cpath d='M60 16c-5-4-5-11 0-15 5 4 5 11 0 15z'/%3E%3Cpath d='M58 18c-5 1-10-2-11-7 5-1 10 2 11 7z'/%3E%3Cpath d='M62 18c5 1 10-2 11-7-5-1-10 2-11 7z'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat; }
.link-arrow { color: var(--red); border-bottom-color: var(--red); text-transform: uppercase; letter-spacing: .14em; font-size: .74rem; }

/* Square, letter-spaced buttons */
.btn { border-radius: 2px; text-transform: uppercase; letter-spacing: .16em; font-size: .76rem; padding: 1.05rem 1.8rem; }
.btn-brass { background: var(--red); color: #fff; }
.btn-brass:hover { background: var(--red-dark); }
.btn-navy { background: var(--navy); }
.btn-outline { border-color: var(--rule); }

/* Nav: light text over the dark hero; once scrolled (or on inner pages) a paper bar with a double rule */
.nav { color: var(--sand); }
.nav.solid { background: rgba(255, 253, 248, .97); color: var(--navy); box-shadow: 0 1px 0 var(--rule), 0 4px 0 -1px var(--paper), 0 5px 0 -1px var(--rule); }
.brand-name { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 1.3rem; letter-spacing: .1em; color: inherit; }
.nav.solid .brand-name { color: var(--red); }
.brand-name small { color: var(--brass); font-family: var(--sans); text-transform: uppercase; letter-spacing: .42em; }
.nav.solid .brand-name small { color: var(--basil); }
.brand-mark { color: #8fd18a; }
.nav.solid .brand-mark { color: var(--basil); }
.nav-links a { text-transform: uppercase; letter-spacing: .16em; font-size: .72rem; font-weight: 600; white-space: nowrap; }
.nav-links a::after { background: var(--red); }
.lang-switch { border-radius: 2px; border-color: rgba(251, 246, 236, .3); }
.nav.solid .lang-switch { border-color: var(--rule); }
.lang-switch button { color: inherit; border-radius: 1px; }
.lang-switch button.active, .nav.solid .lang-switch button.active { background: var(--red); color: #fff; }
.nav-toggle span { background: currentColor; }
.lang-btn { color: inherit; border-color: currentColor; border-radius: 2px; }
.open-mini { border-radius: 2px; }

/* Hero: the restaurant's own photos crossfading slowly behind the name */
.hero { min-height: 100svh; justify-content: center; text-align: center; color: var(--sand); background: var(--espresso); padding: 7rem 1.25rem 7rem; }
.hero-slides { position: absolute; inset: 0; overflow: hidden; }
.hero-slides .slide { position: absolute; inset: -3%; background: center / cover no-repeat; opacity: 0; transform: scale(1.02); transition: opacity 2s ease, transform 9s linear; }
.hero-slides .slide.on { opacity: 1; transform: scale(1.1); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(ellipse 75% 65% at 50% 50%, rgba(22, 16, 12, .5), rgba(22, 16, 12, .86)); }
.hero-inner { z-index: 2; display: flex; flex-direction: column; align-items: center; max-width: 780px; }
.hero-mark { width: 52px; height: 58px; color: #8fd18a; margin-bottom: .5rem; transform-origin: 50% 95%; animation: sway 7s ease-in-out infinite; filter: drop-shadow(0 6px 14px rgba(0, 0, 0, .4)); }
.hero-word { font-family: var(--display); font-weight: 900; text-transform: uppercase; letter-spacing: .12em; margin-right: -.12em; font-size: clamp(3.2rem, 12vw, 8.4rem); line-height: .92; color: #fff; text-shadow: 0 12px 50px rgba(0, 0, 0, .45); }
.hero-trat { display: flex; align-items: center; gap: 1rem; font-size: clamp(.68rem, 1.6vw, .85rem); font-weight: 600; letter-spacing: .5em; margin: 1.1rem -.5em 2.2rem 0; text-transform: uppercase; color: var(--brass); }
.hero-trat::before, .hero-trat::after { content: ""; width: 42px; height: 1px; background: currentColor; opacity: .7; }
.hero-title { font-family: var(--display); font-style: italic; font-weight: 500; font-size: clamp(1.45rem, 3.4vw, 2.3rem); line-height: 1.25; letter-spacing: 0; color: var(--sand); margin-bottom: 1rem; }
.hero-title em { display: inline; color: inherit; font-weight: inherit; }
.hero-title em::before { content: " "; }
.hero-sub { color: rgba(251, 246, 236, .78); margin: 0 auto 2.4rem; max-width: 560px; }
.hero-actions { justify-content: center; }
.hero .btn-line { border-color: rgba(251, 246, 236, .6); color: var(--sand); }
.hero .btn-line:hover { background: var(--sand); color: var(--espresso); }
.hero .open-status { border-radius: 2px; margin-bottom: 2.2rem; background: rgba(22, 16, 12, .4); }
/* Red-and-white gingham, like a trattoria tablecloth */
.tovaglia { position: absolute; left: 0; right: 0; bottom: 0; height: 30px; z-index: 2;
  background:
    linear-gradient(90deg, rgba(184, 40, 46, .55) 50%, transparent 0) 0 0 / 22px 22px,
    linear-gradient(rgba(184, 40, 46, .55) 50%, transparent 0) 0 0 / 22px 22px,
    #fffaf3; }

/* Marquee: a tomato-red band */
.marquee { background: var(--red); border-bottom: 0; padding: 1rem 0 1.15rem; }
.marquee-track span { font-family: var(--display); font-style: italic; color: #fff; }
.marquee-track i { color: var(--brass); }

/* "Novo no menu" as polaroids taped to the wall, captions handwritten */
.special-grid { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 2.6rem 2rem; padding: 1rem .5rem 0; }
.special { background: #fff; border: 0; border-radius: 2px; padding: .85rem .85rem 1.3rem; overflow: visible; gap: .4rem; transform: rotate(-1.6deg);
  box-shadow: 0 22px 40px -22px rgba(40, 25, 15, .5), 0 2px 6px rgba(40, 25, 15, .08); }
.special:nth-child(2) { transform: rotate(1.3deg); }
.special:nth-child(3) { transform: rotate(-.5deg); }
.special:nth-child(4) { transform: rotate(1.8deg); }
.special:hover { transform: rotate(0) translateY(-6px); box-shadow: 0 30px 50px -24px rgba(40, 25, 15, .55); }
.special::before { content: ""; position: absolute; top: -13px; left: 50%; width: 92px; height: 26px; z-index: 3; transform: translateX(-50%) rotate(-3deg); background: rgba(240, 225, 190, .75); box-shadow: 0 1px 2px rgba(0, 0, 0, .08); }
.special.with-photo { padding-top: .85rem; }
.special-photo { width: 100%; margin: 0 0 .8rem; height: 240px; }
.special .num, .special svg { display: none; }
.special h3 { font-family: var(--hand); font-weight: 700; font-size: 1.85rem; line-height: 1.05; color: var(--ink); }
.special p { font-size: .86rem; }
.special .price { position: absolute; top: 1.4rem; right: 1.4rem; width: 62px; height: 62px; border-radius: 50%; display: grid; place-items: center; padding: 0; background: var(--red); color: #fff; font-size: .82rem; transform: rotate(10deg); box-shadow: 0 6px 14px rgba(0, 0, 0, .25); }
.special:not(.with-photo) .price { position: static; width: auto; height: auto; border-radius: 2px; padding: .3rem .7rem; transform: none; }

.mosaic { gap: .5rem; }
.mosaic img { border-radius: 2px; }

/* Reviews: centred, no card */
.reviews-inner { grid-template-columns: 1fr; text-align: center; background: transparent; border: 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); border-radius: 0; padding: 3.5rem 1rem; gap: 1.5rem; }
.reviews-inner .eyebrow { justify-content: center; }
.reviews-inner .eyebrow::after { content: ""; width: 34px; height: 1px; background: currentColor; }
.reviews-actions { justify-content: center; }
.rating-card { order: -1; }
.stat strong, .rating-num { color: var(--red); }

/* Pasta section: paper background, the animated plate next to the text */
.wine-teaser { background: var(--paper); color: var(--ink); border-top: 1px solid var(--rule); }
.wine-teaser h2 { color: var(--navy); }
.wine-teaser .eyebrow { color: var(--red); }
.wine-teaser .lead { color: var(--muted-light); }
.teaser-inner { grid-template-columns: 1fr 1.1fr; gap: 4rem; }
.teaser-stats { grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin: 1.8rem 0 2.2rem; }
.teaser-stats div { flex-direction: column; align-items: flex-start; gap: .25rem; border-bottom: 0; border-top: 2px solid var(--red); padding: .8rem 0 0; }
.teaser-stats strong { font-family: var(--display); font-weight: 700; font-size: 2.8rem; color: var(--red); }
.teaser-stats span { color: var(--muted-light); font-size: .85rem; line-height: 1.3; }
.hero-plate { position: relative; justify-self: center; width: min(460px, 100%); aspect-ratio: 1; }
.plate { width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 30px 40px rgba(60, 40, 20, .28)); }
.plate .rim { transform-box: view-box; transform-origin: 200px 200px; animation: spin 90s linear infinite; }
.plate .pasta { transform-box: view-box; transform-origin: 200px 205px; animation: twirl 26s ease-in-out infinite; }
@keyframes twirl { 0%, 100% { transform: rotate(-4deg); } 50% { transform: rotate(4deg); } }
.plate .basil { transform-box: view-box; transform-origin: 206px 198px; animation: basil 6s ease-in-out infinite; }
@keyframes basil { 0%, 100% { transform: rotate(-3deg) scale(1); } 50% { transform: rotate(4deg) scale(1.03); } }
.steam { position: absolute; left: 50%; top: -4%; width: 40%; height: 42%; transform: translateX(-50%); pointer-events: none; z-index: 2; }
.steam i { position: absolute; bottom: 0; width: 14px; height: 70%; border-radius: 50%; border-left: 3px solid rgba(120, 110, 90, .28); animation: steam 4.5s ease-in-out infinite; opacity: 0; }
.steam i:nth-child(1) { left: 20%; }
.steam i:nth-child(2) { left: 48%; animation-delay: 1.5s; }
.steam i:nth-child(3) { left: 76%; animation-delay: 3s; }
@keyframes steam { 0% { transform: translateY(20px) scaleY(.6); opacity: 0; } 30% { opacity: .9; } 100% { transform: translateY(-50px) scaleY(1.1) skewX(-12deg); opacity: 0; } }

/* About / visit */
.stat { border-radius: 2px; background: var(--paper); }
.gallery { gap: .5rem; }
.gallery a, .map { border-radius: 2px; }
.info strong { color: var(--red); }

/* Menu page: a printed carta on paper with a double frame */
#menu > .container { max-width: 1080px; background: var(--paper); border: 1px solid var(--rule); outline: 1px solid var(--rule); outline-offset: -10px; padding: 3.5rem 3rem 3rem; box-shadow: 0 30px 60px -40px rgba(40, 25, 15, .35); }
#menu > .container > .eyebrow { justify-content: center; }
#menu > .container > .eyebrow::after { content: ""; width: 34px; height: 1px; background: currentColor; }
#menu > .container > h2 { text-align: center; }
#menu > .container > h2::after { content: ""; display: block; width: 120px; height: 24px; margin: .9rem auto 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 24'%3E%3Cpath d='M0 12h44M76 12h44' stroke='%23d9cbb3' stroke-width='1'/%3E%3Cg fill='%232f7a3a'%3E%3Cpath d='M60 16c-5-4-5-11 0-15 5 4 5 11 0 15z'/%3E%3Cpath d='M58 18c-5 1-10-2-11-7 5-1 10 2 11 7z'/%3E%3Cpath d='M62 18c5 1 10-2 11-7-5-1-10 2-11 7z'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat; }
.menu-tools { justify-content: center; }
.search, .al-toggle, .al-panel, .al-chip { border-radius: 2px; }
.search { background: #fff; }
.tabs { justify-content: safe center; gap: 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); background: var(--paper); padding: 0; }
.tab { border: 0; border-radius: 0; background: none; padding: 1rem 1.05rem; font: 600 .72rem var(--sans); text-transform: uppercase; letter-spacing: .15em; color: var(--muted-light); position: relative; }
.tab:hover { color: var(--ink); }
.tab.active { background: none; color: var(--red); }
.tab.active::after { content: ""; position: absolute; left: 1.05rem; right: 1.05rem; bottom: -1px; height: 2px; background: var(--red); }
.menu-group-title { display: flex; align-items: center; gap: 1.2rem; font-family: var(--display); font-weight: 700; font-style: italic; color: var(--navy); border-bottom: 0; text-align: center; }
.menu-group-title::before, .menu-group-title::after { content: ""; flex: 1; height: 1px; background: var(--rule); }
.menu-list li { border-bottom: 0; }
.menu-row .name { font-family: var(--serif); font-weight: 700; font-size: 1.22em; }
.menu-row .price { font-family: var(--display); font-weight: 700; color: var(--red); }
.dish-photo { border-radius: 50%; box-shadow: 0 0 0 3px #fff, 0 0 0 4px var(--rule); }
.add-btn { border-radius: 2px; border-color: var(--red); color: var(--red); }
.add-btn:hover { background: var(--red); color: #fff; }

/* Footer: paper, with the gingham along the top */
.footer { position: relative; background: var(--paper); color: var(--navy); padding-top: 5rem; }
.footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 22px;
  background: linear-gradient(90deg, rgba(184, 40, 46, .55) 50%, transparent 0) 0 0 / 22px 22px, linear-gradient(rgba(184, 40, 46, .55) 50%, transparent 0) 0 0 / 22px 22px, #fffaf3; }
.footer-anchor { color: var(--basil); }
.footer-name { font-family: var(--display); font-weight: 900; text-transform: uppercase; letter-spacing: .12em; color: var(--red); }
.footer-tag { color: var(--basil); }
.footer .muted { color: var(--muted-light); }
.socials a { border-color: var(--rule); color: var(--navy); }
.socials a:hover { background: var(--red); border-color: var(--red); color: #fff; }

/* Table mode, language screen, drawer: espresso and red instead of the green bar */
.table-bar { background: rgba(29, 23, 20, .96); border-radius: 6px; }
.tb-btn { border-radius: 3px; }
.tb-bill { background: var(--red); border-color: var(--red); color: #fff; }
.tb-bill:hover { background: var(--red-dark); }
.lang-overlay { background: radial-gradient(ellipse at 50% 20%, rgba(184, 40, 46, .25), transparent 60%), var(--espresso); }
.lang-choice, .lw-go { border-radius: 4px; }
.lang-card .lw-go { background: var(--red); color: #fff; }
.lang-hello { font-family: var(--display); font-style: italic; }
.lw-num, .lang-table, .table-label b { font-family: var(--display); }
.lang-anchor, .lang-table, .lw-num, .table-label small, .table-label svg { color: #8fd18a; }

@media (max-width: 980px) {
  .nav-links { color: var(--sand); background: var(--espresso); }
  .nav-links a { font-family: var(--display); font-size: 1.9rem; text-transform: none; letter-spacing: 0; }
  .teaser-inner { gap: 2rem; }
  .hero-plate { width: min(320px, 80vw); }
  #menu > .container { padding: 2.4rem 1.1rem 2rem; outline-offset: -6px; margin: 0 .6rem; }
}
@media (max-width: 560px) {
  .section-head { align-items: center; }
  .teaser-stats { gap: .8rem; }
  .teaser-stats strong { font-size: 2.2rem; }
  .special-photo { height: 210px; }
  .hero-trat { letter-spacing: .3em; margin-right: -.3em; gap: .7rem; white-space: nowrap; }
  .hero-trat::before, .hero-trat::after { width: 22px; }
}

/* Open/closed badge: a pasta pot on the boil (flame, steam, rattling lid) when open; cold and covered when closed */
.pot { width: 30px; height: 25px; flex-shrink: 0; overflow: visible; }
.open-mini .pot { width: 22px; height: 18px; }
.pot-body { fill: #b8282e; transition: fill .4s; }
.pot-band { fill: #fff; opacity: .35; }
.pot-lid { fill: #8a1c21; transform-box: fill-box; transform-origin: 50% 100%; }
.pot-handles { stroke: #8a1c21; stroke-width: 2.6; stroke-linecap: round; fill: none; }
.steam-s path { fill: none; stroke: #b9b2aa; stroke-width: 1.7; stroke-linecap: round; opacity: 0; }
.fire path { transform-box: fill-box; transform-origin: 50% 100%; }
.fire .f1, .fire .f3 { fill: #f6a623; } .fire .f2 { fill: #ff7a1a; }
.open .steam-s .s1 { animation: potSteam 2.4s ease-out infinite; }
.open .steam-s .s2 { animation: potSteam 2.4s ease-out infinite .8s; }
.open .steam-s .s3 { animation: potSteam 2.4s ease-out infinite 1.6s; }
.open .pot-lid { animation: rattle 1.6s ease-in-out infinite; }
.open .fire .f1 { animation: flicker .9s ease-in-out infinite; }
.open .fire .f2 { animation: flicker .7s ease-in-out infinite .2s; }
.open .fire .f3 { animation: flicker 1.1s ease-in-out infinite .1s; }
.closed .fire { display: none; }
.closed .pot-body { fill: #9b8f88; }
.closed .pot-lid { fill: #7c726c; }
.closed .pot-handles { stroke: #7c726c; }
@keyframes potSteam { 0% { opacity: 0; transform: translateY(5px); } 30% { opacity: .9; } 100% { opacity: 0; transform: translateY(-7px); } }
@keyframes rattle { 0%, 70%, 100% { transform: translateY(0) rotate(0); } 76% { transform: translateY(-1.6px) rotate(-3deg); } 84% { transform: translateY(-.8px) rotate(3deg); } 92% { transform: translateY(-1.2px) rotate(-2deg); } }
@keyframes flicker { 0%, 100% { transform: scaleY(1) scaleX(1); } 30% { transform: scaleY(1.25) scaleX(.9); } 60% { transform: scaleY(.85) scaleX(1.08); } }
.open-mini.open { background: #fdeceb; color: #8a1c21; }
.open-mini.closed { background: rgba(251, 246, 236, .14); color: var(--sand); }
.nav.solid .open-mini.closed { background: rgba(31, 74, 44, .07); color: var(--muted-light); }
.hero .open-status { gap: .6rem; font-size: .95rem; padding: .45rem 1.2rem .45rem .6rem; }
.hero .open-status.open { color: #ffd9cf; border-color: rgba(255, 170, 150, .5); box-shadow: 0 0 30px rgba(184, 40, 46, .3); }
.hero .open-status.closed { color: rgba(251, 246, 236, .85); border-color: rgba(251, 246, 236, .35); }
.hero .open-status .pot { width: 46px; height: 38px; }

/* Wine rows inside the menu: small colour dot before the name */
.menu-row .name .dot { display: inline-block; width: 10px; height: 10px; margin-right: .45rem; vertical-align: .1em; }

/* ---------- Table mode: menu only, buttons always say what they do ---------- */
body.table-mode .nav-links,
body.table-mode .nav-toggle { display: none !important; }
body.table-mode .brand { pointer-events: none; }
body.ordering .table-actions .tb-btn span:not(.tb-icon) { display: inline; }
.table-actions .tb-btn .tb-icon { display: inline !important; }
@media (max-width: 700px) {
  /* Two rows: table number + order button on top, the two call buttons with text below */
  .table-bar { flex-wrap: wrap; border-radius: 22px; padding: .6rem .6rem .6rem 1rem; row-gap: .5rem; }
  .table-bar .tb-cart { flex: 1; justify-content: center; margin-left: 0; }
  .table-actions { order: 3; flex-basis: 100%; margin-left: 0; }
  .table-actions[hidden] { display: none; }
  .table-actions .tb-btn { flex: 1; justify-content: center; padding: .7rem .6rem; font-size: .82rem; }
  body.table-mode .footer { padding-bottom: 11rem; }
  body.table-mode .toast { bottom: 8.6rem; }
}

/* Table welcome ("You're seated at table 7") after choosing the language */
.lang-card [hidden] { display: none !important; }
.lang-welcome { animation: fade .35s ease; }
.lw-sat { font-family: var(--serif); font-size: 1.3rem; color: #d7dde4; margin-top: 1rem; }
.lw-num { font-family: var(--serif); font-size: 5.5rem; line-height: 1; color: var(--brass); margin: .2rem 0 1rem; }
.lw-hint { font-size: 1rem; line-height: 1.55; color: rgba(239, 230, 214, .8); max-width: 340px; margin: 0 auto 1.8rem; }
.lw-go { width: 100%; padding: 1rem 1.2rem; border-radius: 999px; border: 0; background: var(--brass); color: var(--navy); font: 700 1.05rem var(--sans); cursor: pointer; transition: transform .15s; }
.lw-go:active { transform: scale(.97); }

/* The table number is shown only once, on the welcome screen; the bar holds just the buttons */
.table-bar { justify-content: center; padding-left: .55rem; }
.table-actions { margin-left: 0; }

/* About page: today's hours, one shift per line, and a link to the full week */
.stat-hours strong { font-size: 1.9rem; line-height: 1.15; }
.stat-hours .shift { display: block; white-space: nowrap; font-size: inherit; color: inherit; }
.stat-link { display: inline-block; margin-top: .6rem; font-size: .82rem; font-weight: 600; color: var(--coral); text-decoration: none; }
.stat-link::after { content: " →"; }

/* Phones: the blur on the solid nav made the full-screen menu stick inside the bar (fixed children of a
   filtered parent are positioned against it). The bar is nearly opaque anyway, so drop the blur there.
   The globe button already picks the language, so the PT/EN/... row is not repeated in the menu. */
@media (max-width: 980px) {
  .nav.solid { backdrop-filter: none; -webkit-backdrop-filter: none; }
}
@media (max-width: 560px) {
  #langSwitch { display: none; }
}

/* Phones: all menu sections visible at once (3 × 3 grid) instead of a strip you have to swipe sideways */
@media (max-width: 560px) {
  .tabs { display: grid; grid-template-columns: repeat(3, 1fr); overflow: visible; }
  .tab { padding: .75rem .2rem; font-size: .64rem; letter-spacing: .08em; text-align: center; }
  .tab.active { background: #fdeceb; }
  .tab.active::after { left: 20%; right: 20%; }
}
