:root {
  --color-primary: #17130f;
  --color-secondary: #6f5a3f;
  --color-accent: #c44b2f;
  --color-background: #f5efe2;
  --color-surface: #fffaf0;
  --color-surface-soft: #eee3cf;
  --color-text: #211d18;
  --color-muted: #6f695f;
  --color-border: rgba(36, 28, 18, 0.16);
  --color-border-strong: rgba(36, 28, 18, 0.26);
  --shadow-soft: 0 16px 38px rgba(42, 31, 19, 0.12);
  --radius-small: 4px;
  --radius-medium: 6px;
  --radius-large: 8px;
  --header-height: 74px;
  --font-body: Inter, "Segoe UI", Arial, sans-serif;
  --font-display: Georgia, "Times New Roman", serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 156px;
}

body {
  min-width: 320px;
  margin: 0;
  padding-bottom: calc(92px + env(safe-area-inset-bottom));
  color: var(--color-text);
  font-family: var(--font-body);
  background:
    repeating-linear-gradient(0deg, rgba(48, 34, 18, 0.024) 0 1px, transparent 1px 18px),
    repeating-linear-gradient(90deg, rgba(48, 34, 18, 0.018) 0 1px, transparent 1px 24px),
    var(--color-background);
  letter-spacing: 0;
}

body.intro-open {
  overflow: hidden;
}

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid rgba(196, 75, 47, 0.45);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  left: 12px;
  top: 12px;
  z-index: 80;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  transform: translateY(-160%);
  padding: 10px 12px;
  color: var(--color-surface);
  background: var(--color-primary);
  border-radius: var(--radius-medium);
}

.skip-link:focus {
  transform: translateY(0);
}

.intro-screen {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: grid;
  place-items: center;
  padding: 18px;
  background:
    linear-gradient(rgba(245, 239, 226, 0.94), rgba(245, 239, 226, 0.98)),
    var(--color-background);
}

.intro-screen[hidden] {
  display: none;
}

.intro-card {
  width: min(520px, 100%);
  padding: clamp(24px, 7vw, 44px);
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-large);
  color: var(--color-text);
  text-align: center;
  background:
    linear-gradient(180deg, rgba(255, 250, 240, 0.96), rgba(238, 227, 207, 0.88)),
    var(--color-surface);
  box-shadow: var(--shadow-soft);
  animation: introIn 620ms ease both;
}

.intro-card h1 {
  margin: 8px 0 10px;
  font-family: var(--font-display);
  font-size: clamp(3.6rem, 15vw, 6rem);
  line-height: 0.9;
  font-weight: 700;
}

.intro-card p:not(.eyebrow) {
  max-width: 360px;
  margin: 0 auto;
  color: var(--color-muted);
  line-height: 1.55;
}

.intro-mark {
  margin: 0 auto 16px;
}

.intro-actions,
.hero-actions,
.header-actions,
.menu-status {
  display: flex;
  align-items: center;
  gap: 10px;
}

.intro-actions {
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 22px;
}

.intro-screen.is-leaving {
  pointer-events: none;
  animation: introOut 420ms ease both;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 10px clamp(14px, 4vw, 42px);
  border-bottom: 1px solid var(--color-border);
  background: rgba(245, 239, 226, 0.92);
  backdrop-filter: blur(18px);
  transition: min-height 180ms ease, padding 180ms ease, box-shadow 180ms ease;
}

.site-header.is-compact {
  min-height: 64px;
  box-shadow: 0 8px 24px rgba(42, 31, 19, 0.08);
}

.brand {
  min-width: 0;
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
}

.brand-mark {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid rgba(255, 250, 240, 0.22);
  border-radius: var(--radius-large);
  color: var(--color-surface);
  background: var(--color-primary);
  font-weight: 900;
}

.site-header.is-compact .brand-mark {
  width: 46px;
  height: 46px;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 4vw, 1.9rem);
  line-height: 1;
}

.brand small {
  margin-top: 3px;
  color: var(--color-muted);
  font-size: 0.82rem;
}

.language-switcher {
  display: flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: rgba(255, 250, 240, 0.84);
}

.lang-btn,
.icon-btn,
.clear-search,
.favorite-btn,
.to-top {
  min-width: 44px;
  min-height: 44px;
  border: 0;
  color: var(--color-text);
  cursor: pointer;
  background: transparent;
}

.lang-btn {
  border-radius: 999px;
  color: var(--color-muted);
  font-weight: 900;
}

.lang-btn.is-active {
  color: var(--color-surface);
  background: var(--color-primary);
}

.language-switcher {
  position: relative;
}

.lang-trigger,
.lang-option {
  min-width: 44px;
  min-height: 44px;
  border: 0;
  color: var(--color-text);
  cursor: pointer;
  background: transparent;
}

.lang-trigger {
  min-width: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  padding: 0 12px;
  color: var(--color-surface);
  background: var(--color-primary);
  font-weight: 900;
}

.lang-trigger::after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}

.lang-trigger-name {
  color: rgba(255, 250, 242, 0.82);
  font-size: 0.82rem;
}

.language-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 75;
  width: max-content;
  min-width: 178px;
  max-width: calc(100vw - 24px);
  display: grid;
  gap: 4px;
  padding: 6px;
  border: 1px solid rgba(18, 60, 74, 0.26);
  border-radius: var(--radius-large);
  background:
    linear-gradient(180deg, rgba(255, 250, 242, 0.98), rgba(244, 239, 229, 0.98)),
    var(--color-surface);
  box-shadow: var(--shadow-soft);
}

.language-menu[hidden] {
  display: none;
}

.language-menu--right {
  right: 0;
  left: auto;
}

.lang-option {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  border-radius: var(--radius-medium);
  padding: 0 12px;
  text-align: left;
  font-weight: 850;
}

.lang-option.is-active {
  color: var(--color-surface);
  background: var(--color-primary);
}

.icon-btn {
  display: grid;
  place-items: center;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: rgba(255, 250, 240, 0.82);
  font-weight: 900;
}

.hero {
  width: min(1160px, calc(100% - 28px));
  margin: 18px auto 12px;
}

.hero-inner {
  position: relative;
  overflow: hidden;
  padding: clamp(22px, 6vw, 50px);
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-large);
  background:
    linear-gradient(135deg, rgba(255, 250, 240, 0.96), rgba(238, 227, 207, 0.86)),
    var(--color-surface);
  box-shadow: var(--shadow-soft);
}

.hero-inner::before,
.hero-inner::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  height: 1px;
  background: var(--color-border-strong);
}

.hero-inner::before {
  top: 16px;
}

.hero-inner::after {
  bottom: 16px;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--color-accent);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
}

.hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(3.4rem, 13vw, 7.8rem);
  line-height: 0.9;
  font-weight: 700;
}

.hero-copy {
  max-width: 650px;
  margin: 14px 0 0;
  color: var(--color-muted);
  font-size: clamp(1rem, 2vw, 1.18rem);
  line-height: 1.58;
}

.hero-actions {
  flex-wrap: wrap;
  margin-top: 20px;
}

.primary-action,
.review-cta,
.floating-review {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 0;
  border-radius: 999px;
  padding: 0 18px;
  color: var(--color-surface);
  cursor: pointer;
  text-decoration: none;
  background: var(--color-primary);
  font-weight: 900;
  box-shadow: 0 12px 26px rgba(42, 31, 19, 0.16);
  transition: transform 150ms ease, background-color 150ms ease, opacity 150ms ease;
}

.primary-action:active,
.review-cta:active,
.floating-review:active,
.icon-btn:active,
.favorite-btn:active,
.filter-chip:active,
.category-link:active {
  transform: translateY(1px);
}

.hero-note {
  color: var(--color-muted);
  font-size: 0.92rem;
}

.tools {
  position: sticky;
  top: var(--header-height);
  z-index: 35;
  border-top: 1px solid rgba(255, 250, 240, 0.72);
  border-bottom: 1px solid var(--color-border);
  background: rgba(245, 239, 226, 0.95);
  backdrop-filter: blur(18px);
}

.tools-inner {
  width: min(1160px, calc(100% - 20px));
  display: grid;
  gap: 9px;
  margin: 0 auto;
  padding: 10px 0 11px;
}

.search-box {
  display: grid;
  gap: 5px;
}

.search-box > span:first-child {
  color: var(--color-muted);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.search-control {
  position: relative;
  display: block;
}

.search-control input {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-large);
  padding: 0 50px 0 14px;
  color: var(--color-text);
  background: var(--color-surface);
}

.clear-search {
  position: absolute;
  right: 2px;
  top: 50%;
  transform: translateY(-50%);
  border-radius: var(--radius-medium);
  color: var(--color-muted);
  font-size: 1.2rem;
}

.menu-status {
  justify-content: space-between;
  min-height: 34px;
  color: var(--color-muted);
  font-size: 0.88rem;
}

.filter-chip {
  min-height: 44px;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  padding: 0 12px;
  color: var(--color-muted);
  cursor: pointer;
  background: var(--color-surface);
  font-weight: 800;
}

.filter-chip.is-active {
  color: var(--color-surface);
  border-color: var(--color-primary);
  background: var(--color-primary);
}

.category-nav {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 0 0 4px;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
}

.category-nav::-webkit-scrollbar {
  height: 4px;
}

.category-nav::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(36, 28, 18, 0.24);
}

.category-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  scroll-snap-align: start;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  padding: 0 13px;
  color: var(--color-muted);
  text-decoration: none;
  background: var(--color-surface);
  font-size: 0.88rem;
  font-weight: 850;
  transition: color 150ms ease, background-color 150ms ease, border-color 150ms ease, transform 150ms ease;
}

.category-link span {
  color: var(--color-accent);
  font-family: var(--font-display);
  font-size: 0.86rem;
  font-weight: 700;
}

.category-link.is-active {
  color: var(--color-surface);
  border-color: var(--color-primary);
  background: var(--color-primary);
}

.category-link.is-active span {
  color: var(--color-surface);
}

.menu-shell,
.reviews-section {
  width: min(1160px, calc(100% - 28px));
  margin: 18px auto 30px;
}

.menu-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 18px;
  margin-bottom: 14px;
  padding: 0 2px 12px;
  border-bottom: 1px solid var(--color-border-strong);
}

.menu-heading h2,
.reviews-card h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 6vw, 3.6rem);
  line-height: 0.98;
  font-weight: 700;
}

.menu-intro {
  max-width: 390px;
  margin: 0;
  color: var(--color-muted);
  line-height: 1.5;
}

.menu-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  align-items: start;
}

.menu-category {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-large);
  background: rgba(255, 250, 240, 0.76);
  box-shadow: 0 8px 24px rgba(42, 31, 19, 0.06);
}

.category-head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: center;
  padding: 15px 16px;
  border-bottom: 1px solid var(--color-border);
  background:
    linear-gradient(90deg, rgba(196, 75, 47, 0.09), transparent),
    var(--color-surface-soft);
}

.category-marker {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-medium);
  color: var(--color-accent);
  font-family: var(--font-display);
  font-weight: 700;
  background: rgba(255, 250, 240, 0.72);
}

.category-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 4vw, 2rem);
  line-height: 1;
  font-weight: 700;
}

.category-count {
  display: inline-block;
  margin-top: 4px;
  color: var(--color-muted);
  font-size: 0.88rem;
}

.product-list {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
}

.product {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: start;
  padding: 14px 14px 14px 16px;
  border-top: 1px solid var(--color-border);
}

.product:first-child {
  border-top: 0;
}

.product-main {
  min-width: 0;
}

.product-line {
  display: grid;
  grid-template-columns: minmax(0, auto) minmax(20px, 1fr) auto;
  align-items: end;
  gap: 8px;
}

.product-name {
  min-width: 0;
  font-weight: 820;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.product-dots {
  height: 1px;
  border-bottom: 1px dotted rgba(36, 28, 18, 0.38);
  transform: translateY(-5px);
}

.product-price {
  color: #454039;
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 1rem;
  font-weight: 850;
  white-space: nowrap;
}

.product-description {
  margin: 6px 0 0;
  color: var(--color-muted);
  line-height: 1.48;
}

.product-prices {
  display: grid;
  gap: 5px;
  margin-top: 8px;
}

.price-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: baseline;
}

.price-label {
  min-width: 0;
  color: var(--color-muted);
  font-size: 0.84rem;
  font-weight: 820;
  overflow-wrap: anywhere;
}

mark {
  border-radius: var(--radius-small);
  padding: 0 2px;
  color: inherit;
  background: rgba(196, 75, 47, 0.18);
}

.product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag {
  display: inline-flex;
  margin-top: 8px;
  border-radius: 999px;
  padding: 4px 8px;
  color: #8a3b23;
  background: rgba(196, 75, 47, 0.12);
  font-size: 0.76rem;
  font-weight: 900;
}

.favorite-btn {
  display: grid;
  place-items: center;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--color-muted);
  font-size: 1.18rem;
  transition: color 150ms ease, background-color 150ms ease, border-color 150ms ease, transform 150ms ease;
}

.favorite-btn[aria-pressed="true"] {
  color: var(--color-accent);
  border-color: rgba(196, 75, 47, 0.22);
  background: rgba(196, 75, 47, 0.1);
}

.empty {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 20px;
  color: var(--color-muted);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-large);
  background: var(--color-surface);
}

.empty strong {
  color: var(--color-text);
}

.allergen-note {
  display: grid;
  gap: 5px;
  margin-top: 14px;
  padding: 14px 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-large);
  color: var(--color-muted);
  background: rgba(255, 250, 240, 0.7);
}

.allergen-note strong {
  color: var(--color-text);
}

.reviews-card {
  display: grid;
  gap: 12px;
  padding: clamp(20px, 4vw, 34px);
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-large);
  background:
    linear-gradient(135deg, rgba(255, 250, 240, 0.96), rgba(238, 227, 207, 0.88)),
    var(--color-surface);
  box-shadow: var(--shadow-soft);
}

.review-stars {
  color: var(--color-accent);
  font-size: clamp(1.2rem, 3vw, 1.55rem);
  line-height: 1;
}

.reviews-card p:not(.eyebrow) {
  max-width: 660px;
  margin: 0;
  color: var(--color-muted);
  font-size: 1.03rem;
  line-height: 1.58;
}

.review-cta {
  width: max-content;
  max-width: 100%;
  margin-top: 4px;
}

.floating-review {
  position: fixed;
  right: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom));
  z-index: 55;
  opacity: 0;
  pointer-events: none;
  transform: translateY(14px);
}

.floating-review.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.to-top {
  position: fixed;
  right: 16px;
  bottom: calc(82px + env(safe-area-inset-bottom));
  z-index: 54;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: var(--color-surface);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  background: var(--color-primary);
  box-shadow: 0 12px 26px rgba(42, 31, 19, 0.16);
  font-size: 1.15rem;
  font-weight: 900;
  transition: opacity 160ms ease, transform 160ms ease;
}

.to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: calc(84px + env(safe-area-inset-bottom));
  z-index: 60;
  max-width: min(92vw, 420px);
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--color-surface);
  background: var(--color-primary);
  box-shadow: var(--shadow-soft);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 10px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.site-footer {
  display: grid;
  gap: 7px;
  padding: 24px 16px 36px;
  color: rgba(255, 250, 240, 0.78);
  text-align: center;
  background: var(--color-primary);
}

.site-footer strong {
  color: var(--color-surface);
  font-family: var(--font-display);
  font-size: 1.5rem;
}

.site-footer a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-surface);
  font-weight: 850;
}

.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 360ms ease, transform 360ms ease;
  transition-delay: calc(min(var(--stagger-index, 0), 5) * 35ms);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

body.is-switching-language .menu-content {
  opacity: 0.72;
  transition: opacity 180ms ease;
}

@media (min-width: 860px) {
  .menu-content {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tools-inner {
    grid-template-columns: minmax(260px, 0.75fr) auto;
    align-items: end;
  }

  .category-nav {
    grid-column: 1 / -1;
  }
}

@media (min-width: 1240px) {
  .menu-content {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  :root {
    --header-height: 72px;
  }

  html {
    scroll-padding-top: 152px;
  }

  .site-header {
    padding: 9px 10px;
  }

  .brand {
    gap: 9px;
  }

  .brand-mark {
    width: 48px;
    height: 48px;
  }

  .brand small {
    display: none;
  }

  .header-actions {
    gap: 6px;
  }

  .hero,
  .menu-shell,
  .reviews-section {
    width: calc(100% - 16px);
  }

  .hero {
    margin-top: 10px;
  }

  .hero-inner {
    padding: 24px 18px 28px;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .tools-inner {
    width: calc(100% - 16px);
  }

  .menu-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .product {
    padding: 14px 10px 14px 14px;
  }

  .product-line {
    grid-template-columns: minmax(0, auto) minmax(12px, 1fr) auto;
    gap: 6px;
  }

  .price-row {
    gap: 8px;
  }

  .floating-review {
    right: 14px;
    left: 14px;
    width: auto;
  }

  .review-cta {
    width: 100%;
  }
}

@media (max-width: 390px) {
  .language-switcher {
    gap: 2px;
    padding: 3px;
  }

  .product-line {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .product-dots {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@keyframes introIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes introOut {
  to {
    opacity: 0;
    transform: translateY(-8px);
  }
}

/* Identidad portuaria: capa visual final */
:root {
  --color-primary: #123c4a;
  --color-secondary: #2f6f78;
  --color-accent: #c7573c;
  --color-background: #f4efe5;
  --color-surface: #fffaf2;
  --color-surface-soft: #e8ddc9;
  --color-sand: #d7c4a3;
  --color-wood: #86644a;
  --color-text: #25231f;
  --color-muted: #6f6b63;
  --color-border: rgba(37, 35, 31, 0.14);
  --color-border-strong: rgba(18, 60, 74, 0.32);
  --shadow-soft: 0 14px 30px rgba(18, 60, 74, 0.12);
  --font-body: "Segoe UI", Inter, Arial, sans-serif;
  --font-display: Georgia, "Times New Roman", serif;
}

body {
  background:
    radial-gradient(circle at 18% 8%, rgba(47, 111, 120, 0.10), transparent 28%),
    radial-gradient(circle at 90% 2%, rgba(199, 87, 60, 0.08), transparent 26%),
    repeating-linear-gradient(0deg, rgba(18, 60, 74, 0.025) 0 1px, transparent 1px 19px),
    linear-gradient(135deg, rgba(255, 250, 242, 0.64), rgba(244, 239, 229, 0.9)),
    var(--color-background);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.42;
  background:
    radial-gradient(circle at 22px 18px, rgba(134, 100, 74, 0.12) 0 1px, transparent 1.5px),
    radial-gradient(circle at 84px 68px, rgba(18, 60, 74, 0.08) 0 1px, transparent 1.5px);
  background-size: 116px 94px;
}

.site-header {
  position: sticky;
  border-bottom: 1px solid rgba(18, 60, 74, 0.22);
  background:
    linear-gradient(90deg, rgba(255, 250, 242, 0.96), rgba(244, 239, 229, 0.9)),
    var(--color-background);
}

.site-header::after,
.tools::before,
.footer-coastline {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  height: 4px;
  pointer-events: none;
  background:
    repeating-linear-gradient(90deg, rgba(18, 60, 74, 0.36) 0 12px, transparent 12px 18px),
    linear-gradient(var(--color-sand), var(--color-sand));
  opacity: 0.42;
}

.site-header::after {
  bottom: -3px;
}

.brand-mark {
  position: relative;
  border: 2px solid rgba(255, 250, 242, 0.88);
  border-radius: 50%;
  color: var(--color-surface);
  background:
    linear-gradient(90deg, transparent 0 42%, rgba(255, 250, 242, 0.16) 42% 58%, transparent 58%),
    var(--color-primary);
  box-shadow: inset 0 0 0 2px rgba(199, 87, 60, 0.26);
}

.brand-mark::after {
  content: "";
  position: absolute;
  inset: 7px;
  border: 1px solid rgba(255, 250, 242, 0.24);
  border-radius: 50%;
}

.brand strong {
  color: var(--color-primary);
}

.brand small {
  color: var(--color-wood);
}

.intro-screen {
  background:
    linear-gradient(rgba(244, 239, 229, 0.9), rgba(244, 239, 229, 0.98)),
    repeating-linear-gradient(135deg, rgba(18, 60, 74, 0.05) 0 1px, transparent 1px 16px),
    var(--color-background);
}

.intro-card,
.hero-inner,
.reviews-card {
  border-color: rgba(18, 60, 74, 0.28);
  background:
    linear-gradient(180deg, rgba(255, 250, 242, 0.96), rgba(242, 231, 211, 0.9)),
    repeating-linear-gradient(90deg, rgba(134, 100, 74, 0.045) 0 1px, transparent 1px 28px),
    var(--color-surface);
}

.intro-card {
  position: relative;
  overflow: hidden;
}

.intro-card::before {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  top: 16px;
  height: 5px;
  background: repeating-linear-gradient(90deg, rgba(18, 60, 74, 0.28) 0 14px, transparent 14px 21px);
}

.intro-card h1,
.hero h1,
.menu-heading h2,
.reviews-card h2,
.site-footer strong {
  color: var(--color-primary);
  text-wrap: balance;
}

.port-identity {
  width: max-content;
  max-width: 100%;
  margin: 10px 0 0;
  padding: 6px 10px;
  border: 1px solid rgba(18, 60, 74, 0.20);
  border-radius: var(--radius-small);
  color: var(--color-primary);
  background: rgba(215, 196, 163, 0.34);
  font-size: 0.84rem;
  font-weight: 900;
}

.intro-card .port-identity {
  margin: 8px auto 14px;
}

.intro-card p.port-identity {
  color: var(--color-primary);
}

.hero-inner {
  min-height: clamp(260px, 38vw, 430px);
  display: grid;
  align-content: end;
  isolation: isolate;
}

.hero-inner::before,
.hero-inner::after {
  background: rgba(18, 60, 74, 0.26);
}

.harbour-scene {
  position: absolute;
  inset: 18px 20px auto auto;
  width: min(48vw, 520px);
  height: 150px;
  z-index: 0;
  color: var(--color-secondary);
  opacity: 0.88;
}

.hero-inner > :not(.harbour-scene) {
  position: relative;
  z-index: 1;
}

.harbour-line,
.harbour-boat,
.harbour-buoy {
  position: absolute;
  display: block;
}

.harbour-line-top {
  left: 0;
  right: 0;
  top: 58px;
  height: 2px;
  background:
    linear-gradient(90deg, transparent, currentColor 9%, currentColor 88%, transparent),
    repeating-linear-gradient(90deg, transparent 0 18px, rgba(199, 87, 60, 0.42) 18px 20px);
}

.harbour-line-top::before {
  content: "";
  position: absolute;
  left: 5%;
  right: 8%;
  top: -25px;
  height: 32px;
  border-top: 2px solid currentColor;
  border-radius: 58% 42% 0 0;
  transform: rotate(-1.5deg);
}

.harbour-boat {
  bottom: 34px;
  width: 86px;
  height: 30px;
  border-bottom: 3px solid var(--color-primary);
  border-left: 3px solid transparent;
  border-right: 3px solid transparent;
  transform: skewX(-14deg);
}

.harbour-boat::before {
  content: "";
  position: absolute;
  left: 24px;
  top: -42px;
  width: 1px;
  height: 45px;
  background: var(--color-primary);
}

.harbour-boat::after {
  content: "";
  position: absolute;
  left: 25px;
  top: -35px;
  width: 40px;
  height: 33px;
  border-left: 2px solid var(--color-primary);
  border-bottom: 2px solid var(--color-primary);
  transform: skewX(18deg);
}

.harbour-boat-one {
  right: 118px;
}

.harbour-boat-two {
  right: 10px;
  bottom: 20px;
  width: 60px;
  opacity: 0.72;
  transform: scale(0.82) skewX(-14deg);
}

.harbour-buoy {
  right: 96px;
  bottom: 12px;
  width: 18px;
  height: 36px;
  border: 2px solid var(--color-accent);
  border-radius: 999px;
  background:
    linear-gradient(var(--color-accent) 0 34%, transparent 34% 66%, var(--color-accent) 66%),
    rgba(255, 250, 242, 0.82);
  transform: rotate(7deg);
}

.eyebrow {
  color: var(--color-accent);
}

.primary-action,
.review-cta,
.floating-review,
.to-top {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(0, 0, 0, 0.06)),
    var(--color-primary);
  box-shadow: 0 12px 24px rgba(18, 60, 74, 0.18);
}

.primary-action:hover,
.review-cta:hover,
.floating-review:hover,
.to-top:hover {
  background-color: #0f3240;
}

.tools {
  border-top: 0;
  border-bottom-color: rgba(18, 60, 74, 0.24);
  background:
    linear-gradient(180deg, rgba(255, 250, 242, 0.96), rgba(244, 239, 229, 0.95)),
    var(--color-background);
}

.tools {
  position: sticky;
}

.tools::before {
  top: -2px;
}

.search-control input,
.filter-chip,
.category-link,
.language-switcher,
.icon-btn {
  background: rgba(255, 250, 242, 0.88);
  border-color: rgba(18, 60, 74, 0.22);
}

.search-control input:focus {
  border-color: rgba(199, 87, 60, 0.72);
  box-shadow: 0 0 0 4px rgba(199, 87, 60, 0.12);
  outline: 0;
}

.category-link {
  border-radius: var(--radius-small);
  box-shadow: inset 0 -2px 0 rgba(134, 100, 74, 0.08);
  white-space: nowrap;
}

.category-link span {
  color: var(--color-wood);
}

.category-link.is-active {
  color: var(--color-surface);
  border-color: var(--color-primary);
  background: var(--color-primary);
  box-shadow: inset 0 -2px 0 rgba(199, 87, 60, 0.45);
}

.menu-heading {
  border-bottom: 0;
  position: relative;
}

.menu-heading::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 6px;
  background:
    linear-gradient(90deg, rgba(18, 60, 74, 0.42), transparent 70%),
    repeating-linear-gradient(90deg, rgba(134, 100, 74, 0.42) 0 10px, transparent 10px 16px);
  opacity: 0.64;
}

.menu-category {
  --category-accent: var(--color-secondary);
  --category-wash: rgba(47, 111, 120, 0.08);
  position: relative;
  border-color: rgba(18, 60, 74, 0.18);
  background:
    linear-gradient(180deg, rgba(255, 250, 242, 0.92), rgba(255, 250, 242, 0.74)),
    var(--color-surface);
  box-shadow: none;
}

.menu-category::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: var(--category-accent);
  opacity: 0.84;
}

.category-head {
  position: relative;
  align-items: start;
  background:
    linear-gradient(90deg, var(--category-wash), transparent),
    rgba(232, 221, 201, 0.58);
}

.category-head::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: -2px;
  height: 3px;
  background: repeating-linear-gradient(90deg, var(--category-accent) 0 13px, transparent 13px 19px);
  opacity: 0.28;
}

.category-marker {
  border-color: color-mix(in srgb, var(--category-accent) 42%, transparent);
  color: var(--category-accent);
  background:
    linear-gradient(180deg, rgba(255, 250, 242, 0.86), rgba(215, 196, 163, 0.22));
}

.category-title {
  color: var(--color-primary);
}

.menu-category--entrantes {
  --category-accent: #c7573c;
  --category-wash: rgba(199, 87, 60, 0.10);
}

.menu-category--platos-principales,
.menu-category--papas {
  --category-accent: #86644a;
  --category-wash: rgba(134, 100, 74, 0.12);
}

.menu-category--bebidas,
.menu-category--cervezas,
.menu-category--cafes {
  --category-accent: #2f6f78;
  --category-wash: rgba(47, 111, 120, 0.11);
}

.menu-category--vinos-blancos,
.menu-category--vinos-tintos,
.menu-category--vinos-rosados {
  --category-accent: #123c4a;
  --category-wash: rgba(18, 60, 74, 0.10);
}

.product {
  border-top-color: rgba(37, 35, 31, 0.12);
}

.product:nth-child(even) {
  background: rgba(215, 196, 163, 0.08);
}

.product-name {
  color: #1f2422;
}

.product-price {
  color: var(--color-primary);
}

.product-dots {
  border-bottom-color: rgba(18, 60, 74, 0.30);
}

.favorite-btn {
  color: rgba(18, 60, 74, 0.64);
}

.favorite-btn[aria-pressed="true"] {
  color: var(--color-accent);
  border-color: rgba(199, 87, 60, 0.28);
  background: rgba(199, 87, 60, 0.10);
}

.port-break {
  position: relative;
  min-height: 132px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  overflow: hidden;
  padding: 20px;
  border: 1px solid rgba(18, 60, 74, 0.20);
  border-radius: var(--radius-large);
  color: var(--color-primary);
  background:
    linear-gradient(135deg, rgba(18, 60, 74, 0.10), transparent 45%),
    repeating-linear-gradient(90deg, rgba(134, 100, 74, 0.08) 0 1px, transparent 1px 18px),
    rgba(255, 250, 242, 0.74);
}

.port-break::after {
  content: "";
  position: absolute;
  right: -16px;
  bottom: 18px;
  width: 170px;
  height: 62px;
  border-top: 2px solid rgba(18, 60, 74, 0.32);
  border-bottom: 2px solid rgba(18, 60, 74, 0.18);
  border-radius: 50%;
  transform: rotate(-3deg);
}

.port-break-mark {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border: 2px solid rgba(199, 87, 60, 0.52);
  border-radius: 50%;
  color: var(--color-accent);
  background: rgba(255, 250, 242, 0.82);
  font-weight: 950;
}

.port-break strong {
  display: block;
  margin-bottom: 5px;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 4vw, 1.9rem);
  line-height: 1.05;
}

.port-break p {
  max-width: 520px;
  margin: 0;
  color: var(--color-muted);
  line-height: 1.48;
}

.allergen-note {
  border-style: dashed;
  background:
    linear-gradient(90deg, rgba(199, 87, 60, 0.08), transparent),
    rgba(255, 250, 242, 0.72);
}

.reviews-card {
  position: relative;
  overflow: hidden;
}

.reviews-card::after {
  content: "";
  position: absolute;
  right: 20px;
  bottom: 20px;
  width: 76px;
  height: 76px;
  border: 2px solid rgba(18, 60, 74, 0.14);
  border-radius: 50%;
  box-shadow: inset 0 0 0 12px rgba(199, 87, 60, 0.08);
}

.floating-review {
  border: 1px solid rgba(255, 250, 242, 0.34);
}

.site-footer {
  position: relative;
  overflow: hidden;
  color: rgba(255, 250, 242, 0.78);
  background:
    linear-gradient(180deg, #123c4a, #0d2d38),
    var(--color-primary);
}

.site-footer::after {
  content: "";
  position: absolute;
  right: -34px;
  bottom: -34px;
  width: 136px;
  height: 136px;
  border: 2px solid rgba(255, 250, 242, 0.12);
  border-radius: 50%;
  box-shadow: inset 0 0 0 18px rgba(199, 87, 60, 0.08);
}

.site-footer strong {
  color: var(--color-surface);
}

.footer-coastline {
  position: static;
  width: min(460px, 100%);
  height: 5px;
  margin: 0 auto 8px;
  background:
    repeating-linear-gradient(90deg, rgba(255, 250, 242, 0.72) 0 18px, transparent 18px 25px),
    linear-gradient(rgba(215, 196, 163, 0.42), rgba(215, 196, 163, 0.42));
}

@media (min-width: 860px) {
  .port-break {
    grid-column: 1 / -1;
  }
}

@media (max-width: 859px) {
  html {
    scroll-padding-top: 128px;
  }

  .tools-inner {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 7px;
    padding: 8px 0 9px;
  }

  .search-box {
    gap: 0;
  }

  .search-box > span:first-child,
  #resultsCount {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .search-control input {
    min-height: 44px;
  }

  .menu-status {
    min-height: 44px;
    justify-content: flex-end;
  }

  .category-nav {
    grid-column: 1 / -1;
    padding-bottom: 0;
    scrollbar-width: none;
  }

  .category-nav::-webkit-scrollbar {
    display: none;
  }

  .category-link {
    min-height: 44px;
    padding: 0 11px;
  }
}

@media (max-width: 680px) {
  html {
    scroll-padding-top: 128px;
  }

  .tools-inner {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 7px;
    padding: 8px 0 9px;
  }

  .search-box {
    gap: 0;
  }

  .search-box > span:first-child,
  #resultsCount {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .search-control input {
    min-height: 44px;
  }

  .menu-status {
    min-height: 44px;
    justify-content: flex-end;
  }

  .category-nav {
    grid-column: 1 / -1;
    padding-bottom: 0;
    scrollbar-width: none;
  }

  .category-nav::-webkit-scrollbar {
    display: none;
  }

  .category-link {
    min-height: 44px;
    padding: 0 11px;
  }

  .hero-inner {
    min-height: 310px;
  }

  .harbour-scene {
    inset: 14px 12px auto auto;
    width: 72vw;
    height: 118px;
    opacity: 0.54;
  }

  .hero-copy {
    max-width: 100%;
  }

  .port-break {
    min-height: 118px;
    padding: 17px 15px;
  }

  .port-break::after {
    right: -48px;
    bottom: 10px;
  }
}

@media (max-width: 390px) {
  .brand-mark {
    width: 44px;
    height: 44px;
    font-size: 0.92rem;
  }

  .port-identity {
    font-size: 0.78rem;
  }

  .port-break {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .lang-trigger {
    padding: 0 10px;
  }

  .lang-trigger-name {
    display: none;
  }

  .language-menu--right {
    right: -4px;
  }
}
