:root {
  color-scheme: light;
  --navy: #102539;
  --paper: #fffdf8;
  --surface: #fff;
  --ink: #18293a;
  --muted: #51606c;
  --line: #e1dcd2;
  --rust: #a44120;
  --orange: #ffad72;
  --serif: Georgia, 'Times New Roman', serif;
  font-family: 'Segoe UI', Arial, sans-serif;
  background: var(--paper);
  color: var(--ink);
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; line-height: 1.55; }
h1, h2, h3, h4, p, figure, dl, dd { margin: 0; }
button, input, select, textarea { font: inherit; }
button, summary { cursor: pointer; }
button:disabled { cursor: default; }
a { color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #1b77b0; outline-offset: 4px; }
.wrap { width: min(100% - 3rem, 70rem); margin-inline: auto; }
.skip { position: absolute; z-index: 3; inset: .5rem auto auto .5rem; padding: .5rem 1rem; background: white; transform: translateY(-160%); }
.skip:focus { transform: none; }

.public-header, .public-footer { background: var(--navy); color: white; }
.public-page { background: #fcf8ef; }
.public-header { border-bottom: 1px solid #e8c59130; }
.public-logo { display: block; width: clamp(6.5rem, 13vw, 9rem); height: auto; }
.header-inner, .footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: .85rem; }
.wordmark { display: grid; align-content: center; line-height: 1.05; white-space: nowrap; }
.wordmark span { font-family: var(--serif); color: #ffd1ac; font-size: .9rem; margin-bottom: .24rem; }
.wordmark strong { font-size: 1.1rem; letter-spacing: .08em; }
.public-nav, .language { display: flex; align-items: center; }
.public-nav { gap: clamp(.6rem, 3vw, 1.75rem); }
.public-nav > a { text-decoration: none; font-size: .95rem; font-weight: 600; }
.public-nav > a:hover, .footer-inner a:hover { text-decoration: underline; }
.language { padding: .15rem; gap: .15rem; border: 1px solid #ffffff70; border-radius: 2rem; }
.language button { background: transparent; color: white; border: 0; padding: .35rem .53rem; border-radius: 2rem; font-size: .875rem; font-weight: 700; min-height: 2.25rem; }
.language [aria-pressed="true"] { color: var(--navy); background: #e9c995; }
.public-header :focus-visible, .public-footer :focus-visible { outline-color: var(--orange); }
.menu-hero { color: #fffaf0; background: radial-gradient(ellipse at 50% 0%, #203d55 0, var(--navy) 76%); border-bottom: 2px solid #cda469; }
.hero-inner { display: grid; justify-items: center; padding-block: clamp(2.35rem, 5.5vw, 4.7rem); text-align: center; }
.location { color: #e9c995; font-weight: 650; font-size: .875rem; text-transform: uppercase; letter-spacing: .16em; }
.hero-inner h1 { font: 500 clamp(3rem, 7vw, 5.7rem)/1.05 var(--serif); letter-spacing: -.046em; margin-block: .55rem .85rem; }
.hero-rule { width: 2.8rem; height: 1px; background: #d4ad75; margin-block: .1rem .75rem; }
.hero-description { color: #eadcc6; font: italic 400 clamp(1.15rem, 2.5vw, 1.45rem)/1.4 var(--serif); }
.public-content { max-width: 57rem; padding-block: clamp(1.75rem, 5vw, 3.1rem) 4rem; }
.public-content, .menu-tabs [data-menu="nicaraguense"] { --cuisine-accent: #214f76; --cuisine-tint: #eaf1f7; }
.public-content[data-active-menu="mexicano"], .menu-tabs [data-menu="mexicano"] { --cuisine-accent: #275c47; --cuisine-tint: #eaf2ec; }
.menu-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .45rem; padding: .35rem; background: #f0e9dc; border: 1px solid #e4dac8; border-radius: 1.1rem; }
.menu-tabs button { min-height: 3.25rem; border: 1px solid transparent; background: #fffaf2; color: var(--cuisine-accent); border-radius: .8rem; padding: .48rem; font-weight: 700; box-shadow: 0 1px 2px #2e2b2220; }
.menu-tabs [aria-selected="true"] { color: white; background: var(--cuisine-accent); box-shadow: 0 3px 8px #152c3940; }
.menu-tabs [aria-selected="false"] { border-color: #867d6d; }
.menu-tabs [aria-selected="false"]:hover { background: var(--cuisine-tint); border-color: var(--cuisine-accent); }
.category-links { display: flex; flex-wrap: wrap; gap: .45rem .65rem; margin-block: 1.15rem 2.35rem; }
.category-links a { border: 1px solid var(--line); border-radius: 2rem; padding: .35rem .78rem; text-decoration: none; font-size: .875rem; font-weight: 650; color: var(--navy); }
.public-content .category-links a:hover { border-color: var(--cuisine-accent); color: var(--cuisine-accent); background: var(--cuisine-tint); }
.category { scroll-margin-top: 1.5rem; }
.category + .category { margin-top: 2.6rem; }
.category-heading, .shared-heading, .gallery-section h2 { font: 500 clamp(1.85rem, 5vw, 2.75rem)/1.15 var(--serif); letter-spacing: -.04em; }
.category-heading { padding-bottom: .8rem; border-bottom: 2px solid var(--rust); }
.public-content .category-heading { color: var(--navy); border-bottom-color: var(--cuisine-accent); }
.dish-list { margin: 0; padding: 0; list-style: none; }
.dish { display: flex; justify-content: space-between; align-items: baseline; gap: .55rem 1.1rem; padding: .9rem 0; border-bottom: 1px solid var(--line); }
.dish-details { min-width: 0; overflow-wrap: anywhere; }
.dish-name { font-size: 1.05rem; font-weight: 700; line-height: 1.4; }
.public-page .menu-code {
  display: inline-block;
  margin-inline-end: .3em;
  padding: .10em .39em;
  border-radius: .3em;
  background: var(--cuisine-tint, #eaf1f7);
  color: var(--cuisine-accent, #102539);
  font-size: .82em;
  font-weight: 750;
  line-height: 1.25;
  white-space: nowrap;
}
.dish-details p { max-width: 62ch; margin-top: .27rem; color: var(--muted); }
.price { color: var(--rust); font-weight: 750; font-variant-numeric: tabular-nums; white-space: nowrap; }
.public-content .price { color: var(--cuisine-accent); }
.variants { display: grid; gap: .2rem; flex-shrink: 0; min-width: 8.5rem; }
.variant { display: flex; justify-content: space-between; gap: .8rem; }
.variant dt { color: var(--muted); }
.unavailable { display: inline-block; color: #76462d; background: #f8eae0; padding: .15rem .45rem; border-radius: .25rem; margin-top: .4rem; }
.callout { margin-top: 1rem; padding: .9rem 1rem; background: #f8f0e4; border-left: 3px solid var(--rust); }
.callout p { margin-top: .2rem; color: var(--muted); }
.shared-section { scroll-margin-top: 1.5rem; margin-top: 3.25rem; }
.shared-heading { margin-bottom: 1.1rem; }
.shared-section .category-heading { font-size: 1.45rem; }
.notice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
.notice { border: 1px solid var(--line); background: var(--surface); padding: 1rem; border-radius: .45rem; }
.notice h3 { font-size: 1.05rem; }
.notice p { margin-top: .35rem; color: var(--muted); }
.gallery-section { background: #f2eee5; padding-block: 3rem; }
.gallery-section h2 { margin-bottom: 1.25rem; }
.gallery-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.15rem; }
.gallery-photo { display: grid; grid-template-rows: auto 1fr; overflow: hidden; border: 1px solid var(--line); border-radius: .55rem; background: var(--surface); }
.gallery-photo img { display: block; width: 100%; height: auto; }
.gallery-photo figcaption { padding: .65rem .85rem; font-weight: 650; }
.footer-inner { padding-block: 1.5rem; }

@media (max-width: 64rem) {
  .gallery-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 44rem) {
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 32rem) {
  .wrap { width: calc(100% - 2rem); }
  .header-inner { gap: .6rem; }
  .public-header .header-inner { padding-block: .45rem; }
  .public-logo { width: 5.8rem; }
  .public-nav { gap: .55rem; }
  .public-nav > a { font-size: .875rem; }
  .wordmark strong { font-size: .94rem; }
  .hero-inner { padding-block: 1.45rem 1.6rem; }
  .hero-inner h1 { font-size: clamp(2.5rem, 11vw, 3rem); margin-block: .4rem .55rem; }
  .hero-rule { margin-block: .05rem .55rem; }
  .category-links { margin-bottom: 1.7rem; }
  .dish:has(.variants) { flex-direction: column; align-items: stretch; }
  .variants { max-width: 17rem; }
  .notice-grid { grid-template-columns: 1fr; }
  .gallery-grid { gap: .65rem; }
  .gallery-photo figcaption { padding: .5rem; }
  .footer-inner { flex-wrap: wrap; }
}
