﻿:root {
  --paper: #fbf8f1;
  --paper-soft: #f1e8d8;
  --white: #fffdf8;
  --sand: #d7c2a1;
  --sand-deep: #987c55;
  --ink: #182629;
  --muted: #5d7075;
  --blue: #2d83a0;
  --blue-deep: #103d55;
  --blue-grey: #dce9e9;
  --line: rgba(24, 38, 41, 0.14);
  --shadow: 0 24px 70px rgba(16, 61, 85, 0.13);
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Avenir Next", "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

[data-lang-content] {
  display: none;
}

html[lang="ca"] [data-lang-content="ca"],
html[lang="es"] [data-lang-content="es"],
html[lang="en"] [data-lang-content="en"] {
  display: inline;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.logo {
  border-radius: 50%;
  object-fit: cover;
  background: #e6e5e0;
}

.logo--home {
  width: clamp(112px, 17vw, 150px);
  height: clamp(112px, 17vw, 150px);
  margin: 0 auto 22px;
  box-shadow: 0 18px 52px rgba(0, 0, 0, 0.24);
}

.logo--header {
  width: 52px;
  height: 52px;
}

.home {
  position: relative;
  display: grid;
  min-height: 100svh;
  place-items: center;
  overflow: hidden;
  padding: 28px;
  background: var(--blue-deep);
}

.home__image {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(16, 61, 85, 0.12), rgba(16, 61, 85, 0.56)),
    linear-gradient(90deg, rgba(24, 38, 41, 0.34), rgba(24, 38, 41, 0.06)),
    var(
        --home-image-url,
        url("https://images.unsplash.com/photo-1507525428034-b723cf961d3e?auto=format&fit=crop&w=1900&q=78")
      )
      center / cover;
  transform: scale(1.03);
}

.home__content {
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
  text-align: center;
  animation: liftIn 820ms ease both;
}

.home__place,
.section-kicker {
  margin: 0 0 16px;
  color: var(--blue);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.home__place {
  color: rgba(255, 253, 248, 0.86);
}

.brand-title {
  margin: 0;
  color: var(--white);
  font-family: var(--serif);
  font-size: clamp(4.2rem, 13vw, 9rem);
  font-weight: 400;
  line-height: 0.88;
  text-transform: uppercase;
  text-shadow: 0 12px 42px rgba(0, 0, 0, 0.22);
}

.home__copy {
  width: min(650px, 100%);
  margin: 28px auto 36px;
  color: rgba(255, 253, 248, 0.91);
  font-family: var(--serif);
  font-size: clamp(1.24rem, 3vw, 2rem);
  line-height: 1.35;
}

.sample-notice {
  width: fit-content;
  margin: 0 auto 26px;
  padding: 8px 13px;
  border: 1px solid rgba(255, 253, 248, 0.5);
  border-radius: 999px;
  color: var(--white);
  background: rgba(24, 38, 41, 0.42);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.language-choice,
.language-switcher {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.language-choice {
  justify-content: center;
}

.language-choice a,
.language-switcher a {
  display: inline-grid;
  min-height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 253, 248, 0.44);
  border-radius: 999px;
  padding: 0 20px;
  color: var(--white);
  background: rgba(255, 253, 248, 0.08);
  font-size: 0.84rem;
  font-weight: 800;
  transition:
    background 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.language-choice a:hover,
.language-choice a:focus-visible {
  color: var(--blue-deep);
  background: var(--white);
  border-color: var(--white);
  transform: translateY(-1px);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: 78px;
  padding: 14px clamp(18px, 5vw, 64px);
  border-bottom: 1px solid rgba(16, 61, 85, 0.1);
  background: rgba(251, 248, 241, 0.9);
  backdrop-filter: blur(18px);
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--blue-deep);
  font-family: var(--serif);
  font-size: 1.45rem;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-content: center;
  justify-items: center;
  gap: 4px;
  place-items: center;
  border: 1px solid rgba(16, 61, 85, 0.16);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.74);
  cursor: pointer;
}

.nav-toggle span[aria-hidden="true"] {
  display: block;
  width: 18px;
  height: 1px;
  background: var(--blue-deep);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(12px, 2.2vw, 26px);
  color: var(--blue-deep);
  font-size: 0.86rem;
  font-weight: 800;
}

.main-nav > a {
  position: relative;
  white-space: nowrap;
}

.main-nav > a::after {
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 1px;
  background: var(--blue);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.main-nav > a:hover::after,
.main-nav > a:focus-visible::after,
.main-nav > a.is-active::after {
  transform: scaleX(1);
}

.language-switcher {
  gap: 7px;
}

.language-switcher a {
  min-height: 34px;
  padding: 0 12px;
  color: var(--blue-deep);
  border-color: rgba(16, 61, 85, 0.18);
  background: rgba(255, 253, 248, 0.72);
  font-size: 0.74rem;
}

.language-switcher a:hover,
.language-switcher a:focus-visible {
  color: var(--white);
  background: var(--blue-deep);
  border-color: var(--blue-deep);
}

.page-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(260px, 0.55fr);
  gap: clamp(28px, 6vw, 78px);
  align-items: end;
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(48px, 8vw, 92px) 0 34px;
}

.page-hero h1,
.section--contact-page h1 {
  margin: 0;
  color: var(--blue-deep);
  font-family: var(--serif);
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 400;
  line-height: 0.95;
}

.page-hero p:not(.section-kicker),
.section--contact-page p:not(.section-kicker),
.contact-details {
  color: var(--muted);
  font-size: clamp(1rem, 1.7vw, 1.18rem);
}

.page-hero figure {
  position: relative;
  min-height: 340px;
  margin: 0;
  overflow: hidden;
  border-radius: 6px;
  box-shadow: var(--shadow);
}

.page-hero figure::after {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 253, 248, 0.52);
  content: "";
  pointer-events: none;
}

.page-hero figure img {
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
}

.page-hero--daily {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  padding-bottom: clamp(30px, 5vw, 56px);
}

.section {
  padding: clamp(48px, 8vw, 92px) 0;
}

.section--menu {
  padding-top: clamp(46px, 7vw, 86px);
}

.section-title {
  margin: 0 0 clamp(34px, 6vw, 64px);
  color: var(--blue-deep);
  font-family: var(--serif);
  font-size: clamp(3.2rem, 10vw, 8rem);
  font-weight: 400;
  line-height: 0.9;
  text-align: center;
}

.section-title::after {
  display: block;
  width: min(180px, 38vw);
  height: 1px;
  margin: clamp(18px, 4vw, 30px) auto 0;
  background: linear-gradient(90deg, transparent, var(--sand-deep), transparent);
  content: "";
}

.menu-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(430px, 100%);
  min-height: 54px;
  margin: clamp(42px, 7vw, 76px) auto 0;
  padding: 0 22px;
  border: 1px solid rgba(16, 61, 85, 0.18);
  border-radius: 999px;
  color: var(--white);
  background: var(--blue-deep);
  font-weight: 800;
  text-align: center;
  box-shadow: 0 18px 48px rgba(16, 61, 85, 0.16);
  transition:
    background 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.menu-cta:hover,
.menu-cta:focus-visible {
  color: var(--blue-deep);
  background: var(--white);
  transform: translateY(-1px);
}

.section--daily-page {
  background:
    linear-gradient(180deg, rgba(220, 233, 233, 0.42), rgba(255, 253, 248, 0.9)),
    url("https://images.unsplash.com/photo-1414235077428-338989a2e8c0?auto=format&fit=crop&w=1600&q=76")
      center / cover;
}

.section--contact-page {
  min-height: calc(100svh - 144px);
  background:
    linear-gradient(90deg, var(--white), rgba(251, 248, 241, 0.72)),
    url("https://images.unsplash.com/photo-1500530855697-b586d89ba3ee?auto=format&fit=crop&w=1600&q=76")
      center / cover;
}

.section__inner {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
}

.menu-list {
  display: grid;
  gap: clamp(38px, 6vw, 58px);
}

.menu-category {
  display: grid;
  grid-template-columns: minmax(170px, 0.28fr) minmax(0, 1fr);
  gap: clamp(22px, 4vw, 48px);
  padding-top: 30px;
  border-top: 1px solid var(--line);
}

.menu-category__title {
  margin: 0;
  color: var(--blue-deep);
  font-family: var(--serif);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 400;
  line-height: 1;
}

.dish-list,
.daily-list {
  display: grid;
  gap: 0;
}

.dish {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  padding: 21px 0;
  border-bottom: 1px solid rgba(24, 38, 41, 0.1);
}

.dish--with-image {
  grid-template-columns: 104px minmax(0, 1fr) auto;
  align-items: start;
}

.dish__image {
  width: 104px;
  aspect-ratio: 1;
  border-radius: 6px;
  object-fit: cover;
  box-shadow: 0 12px 28px rgba(16, 61, 85, 0.12);
}

.dish__name {
  margin: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(1.16rem, 2.1vw, 1.55rem);
  font-weight: 400;
  line-height: 1.25;
}

.dish__description {
  max-width: 62ch;
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.dish__price {
  color: var(--blue-deep);
  font-family: var(--serif);
  font-size: 1.25rem;
  white-space: nowrap;
}

.allergen-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.allergen-icon {
  display: inline-grid;
  width: 31px;
  height: 31px;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(45, 131, 160, 0.34);
  border-radius: 50%;
  color: var(--blue-deep);
  background: rgba(255, 253, 248, 0.76);
  cursor: pointer;
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1;
  transition:
    background 160ms ease,
    border-color 160ms ease,
    transform 160ms ease;
}

.allergen-icon:hover,
.allergen-icon:focus-visible {
  background: var(--white);
  border-color: rgba(16, 61, 85, 0.28);
  transform: translateY(-1px);
}

.allergen-legend {
  margin-top: clamp(44px, 7vw, 74px);
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid rgba(16, 61, 85, 0.12);
  border-radius: 6px;
  background: rgba(255, 253, 248, 0.78);
}

.allergen-legend h2 {
  margin: 0 0 20px;
  color: var(--blue-deep);
  font-family: var(--serif);
  font-size: clamp(1.35rem, 3vw, 2rem);
  font-weight: 400;
}

.legend-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(145px, 1fr));
  gap: 10px 16px;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.price-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  padding: 12px 17px;
  border-radius: 999px;
  color: var(--white);
  background: var(--blue-deep);
  box-shadow: var(--shadow);
}

.price-badge span {
  color: rgba(255, 253, 248, 0.76);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.price-badge strong {
  font-family: var(--serif);
  font-size: 1.38rem;
  font-weight: 400;
}

.daily-title-block {
  display: grid;
  justify-items: center;
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(46px, 7vw, 86px) 0 clamp(22px, 4vw, 36px);
  text-align: center;
}

.daily-title-block .section-title {
  margin-bottom: clamp(18px, 3vw, 28px);
}

.daily-layout {
  display: block;
}

.daily-includes {
  position: sticky;
  top: 104px;
  display: grid;
  gap: 12px;
}

.include-item {
  padding: 16px;
  border: 1px solid rgba(16, 61, 85, 0.11);
  border-radius: 6px;
  color: var(--blue-deep);
  background: rgba(255, 253, 248, 0.88);
  font-weight: 800;
  box-shadow: 0 12px 34px rgba(16, 61, 85, 0.07);
}

.daily-card {
  padding: clamp(24px, 4vw, 38px);
  border-radius: 6px;
  background: rgba(255, 253, 248, 0.91);
  box-shadow: var(--shadow);
  width: min(860px, 100%);
  margin: 0 auto;
}

.daily-group + .daily-group {
  margin-top: 28px;
}

.daily-group h2 {
  margin: 0 0 8px;
  color: var(--sand-deep);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.daily-group .dish {
  padding: 16px 0;
}

.daily-group .dish__name {
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(250px, 0.62fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 68px);
  align-items: start;
}

.section--contact-page h1 {
  font-size: clamp(2.8rem, 7vw, 6rem);
}

.contact-details {
  display: grid;
  gap: 8px;
  margin-top: 22px;
  font-style: normal;
}

.contact-details a {
  width: fit-content;
  color: var(--blue-deep);
  font-weight: 800;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.instagram-link {
  display: inline-grid;
  width: 46px;
  height: 46px;
  place-items: center;
  margin-top: 24px;
  border: 1px solid rgba(16, 61, 85, 0.18);
  border-radius: 50%;
  background: rgba(255, 253, 248, 0.7);
  box-shadow: 0 14px 34px rgba(16, 61, 85, 0.1);
  transition:
    background 180ms ease,
    opacity 180ms ease,
    transform 180ms ease;
}

.instagram-link img {
  width: 22px;
  height: 22px;
  opacity: 0.72;
}

.instagram-link:hover,
.instagram-link:focus-visible {
  background: var(--white);
  transform: translateY(-1px);
}

.instagram-link:hover img,
.instagram-link:focus-visible img {
  opacity: 1;
}

.whatsapp-link {
  display: inline-grid;
  min-height: 46px;
  place-items: center;
  margin-top: 24px;
  padding: 0 18px;
  border: 1px solid rgba(16, 61, 85, 0.18);
  border-radius: 999px;
  color: var(--white);
  background: var(--blue-deep);
  font-size: 0.82rem;
  font-weight: 800;
  box-shadow: 0 14px 34px rgba(16, 61, 85, 0.1);
  transition:
    background 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.whatsapp-link:hover,
.whatsapp-link:focus-visible {
  color: var(--blue-deep);
  background: var(--white);
  transform: translateY(-1px);
}

.hours-panel {
  margin-top: 34px;
  padding-top: 26px;
  border-top: 1px solid rgba(16, 61, 85, 0.14);
}

.hours-panel h2 {
  margin: 0 0 12px;
  color: var(--blue-deep);
  font-family: var(--serif);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 400;
}

.hours-list {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  color: var(--muted);
  list-style: none;
}

.loading-state,
.empty-state {
  width: min(680px, 100%);
  margin: 0 auto;
  padding: 24px;
  border: 1px solid rgba(16, 61, 85, 0.12);
  border-radius: 6px;
  color: var(--muted);
  background: rgba(255, 253, 248, 0.78);
  text-align: center;
}

.allergen-tooltip {
  position: absolute;
  z-index: 30;
  max-width: min(220px, calc(100vw - 32px));
  padding: 8px 11px;
  border: 1px solid rgba(16, 61, 85, 0.16);
  border-radius: 6px;
  color: var(--blue-deep);
  background: var(--white);
  box-shadow: 0 14px 38px rgba(16, 61, 85, 0.15);
  font-size: 0.82rem;
  font-weight: 800;
  pointer-events: none;
  transform: translate(-50%, calc(-100% - 8px));
}

.map-panel {
  min-height: 430px;
  overflow: hidden;
  border: 1px solid rgba(16, 61, 85, 0.14);
  border-radius: 6px;
  box-shadow: var(--shadow);
}

.map-panel iframe {
  display: block;
  width: 100%;
  height: 430px;
  border: 0;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 24px clamp(18px, 5vw, 64px);
  color: var(--muted);
  background: var(--white);
  border-top: 1px solid rgba(16, 61, 85, 0.1);
  font-size: 0.84rem;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 600ms ease,
    transform 600ms ease;
}

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

@keyframes liftIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 900px) {
  .site-header {
    align-items: center;
    flex-direction: row;
    min-height: 72px;
  }

  .nav-toggle {
    display: inline-grid;
  }

  .nav-toggle[aria-expanded="true"] span[aria-hidden="true"]:nth-of-type(2) {
    transform: translateY(5px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] span[aria-hidden="true"]:nth-of-type(3) {
    opacity: 0;
  }

  .nav-toggle[aria-expanded="true"] span[aria-hidden="true"]:nth-of-type(4) {
    transform: translateY(-5px) rotate(-45deg);
  }

  .main-nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 18px;
    left: 18px;
    display: grid;
    justify-content: stretch;
    gap: 0;
    padding: 10px;
    border: 1px solid rgba(16, 61, 85, 0.12);
    border-radius: 8px;
    background: rgba(255, 253, 248, 0.98);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition:
      opacity 180ms ease,
      transform 180ms ease;
    visibility: hidden;
  }

  .site-header.is-menu-open .main-nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    visibility: visible;
  }

  .main-nav > a,
  .language-switcher a {
    display: flex;
    align-items: center;
    min-height: 46px;
    padding: 0 12px;
    border-radius: 6px;
  }

  .main-nav > a::after {
    display: none;
  }

  .main-nav > a:hover,
  .main-nav > a:focus-visible,
  .main-nav > a.is-active {
    background: rgba(220, 233, 233, 0.44);
  }

  .language-switcher {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 8px 0 0;
  }

  .page-hero,
  .page-hero--daily,
  .daily-layout,
  .contact-grid,
  .menu-category {
    grid-template-columns: 1fr;
  }

  .page-hero {
    padding-top: 42px;
  }

  .page-hero figure,
  .page-hero figure img {
    min-height: 260px;
  }
}

@media (max-width: 620px) {
  .home {
    padding: 22px;
  }

  .home__copy {
    margin-top: 22px;
    font-size: 1.22rem;
  }

  .language-choice a {
    flex: 1 1 auto;
    padding: 0 14px;
  }

  .site-brand span {
    font-size: 1.28rem;
  }

  .language-switcher {
    width: 100%;
  }

  .language-switcher a {
    flex: 0 1 auto;
  }

  .dish {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .dish--with-image {
    grid-template-columns: 78px minmax(0, 1fr);
  }

  .dish--with-image .dish__price {
    grid-column: 2;
  }

  .dish__image {
    width: 78px;
  }

  .dish__price {
    justify-self: start;
  }

  .daily-includes,
  .legend-grid {
    grid-template-columns: 1fr;
  }

  .daily-card,
  .allergen-legend {
    padding: 22px;
  }

  .site-footer {
    flex-direction: column;
  }
}
