:root {
  --purple: #2a3f2e;
  --purple-deep: #1c2d21;
  --cyan: #c4a35a;
  --orange: #c4a35a;
  --lime: #6b8f4e;
  --navy: #1c2d21;
  --cream: #f3ece0;
  --paper: rgba(255, 252, 247, 0.94);
  --ink: #1b2030;
  --muted: #5e6573;
  --line: rgba(42, 63, 46, 0.16);
  --shadow: 0 8px 22px rgba(22, 27, 44, 0.16);
  --radius: 14px;
  --hero-photo: url("../img/fondo.jpg");
  --font-serif: "Source Serif 4", Georgia, serif;
  --font-sans: "Manrope", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body { min-height: 100%; }

body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: #d9cbb3;
}

img { max-width: 100%; display: block; }
button, a { font-family: inherit; }

.app {
  max-width: 480px;
  margin: 0 auto;
  min-height: 100dvh;
  position: relative;
  overflow-x: hidden;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.18);
}

.shell {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  position: relative;
  background:
    url("../img/fondo.jpg?v=6") top center / 100% auto no-repeat,
    #efe4d2;
}

.panel {
  margin: 0 10px 8px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px 10px 12px;
  box-shadow: var(--shadow);
  flex: 0 0 auto;
}

.scape {
  flex: 1;
  min-height: 160px;
  margin-top: auto;
  background: url("../img/fondo.jpg?v=6") center bottom / cover no-repeat;
}

.shell--home .topbar {
  height: 248px;
}

.shell--home .scape {
  min-height: 88px;
  flex: 0.55;
}

.mid {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: safe center;
  min-height: 0;
  overflow-y: auto;
  padding: 8px 0;
}

.shell--center .panel {
  margin-top: 0;
  margin-bottom: 0;
}

.shell--center .topbar {
  height: 158px;
  flex-shrink: 0;
}

.langs {
  display: flex;
  justify-content: flex-end;
  gap: 5px;
  padding: 6px 10px 0;
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 5;
  pointer-events: none;
}

.langs button {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 1px solid rgba(22, 27, 44, 0.18);
  background: rgba(255, 252, 247, 0.94);
  color: var(--navy);
  border-radius: 999px;
  padding: 3px 8px 3px 4px;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  cursor: pointer;
}

.langs button svg {
  width: 18px;
  height: 13px;
  border-radius: 2px;
  display: block;
  box-shadow: 0 0 0 1px rgba(0,0,0,.12);
}

.langs button.is-on {
  background: var(--purple);
  color: #fff;
  border-color: var(--cyan);
}

.topbar {
  position: relative;
  height: 168px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-wrap {
  background: transparent;
  padding: 0;
  line-height: normal;
  margin: 0 auto;
  transform: translateX(28px);
  text-align: center;
}

.logo {
  width: 292px;
  height: auto;
  display: block;
  filter:
    drop-shadow(0 0 1px rgba(255, 252, 247, 0.95))
    drop-shadow(0 0 6px rgba(255, 248, 236, 0.95))
    drop-shadow(0 0 14px rgba(243, 234, 214, 0.85))
    drop-shadow(0 2px 8px rgba(40, 30, 18, 0.22));
}

.logo-caption {
  font-family: "Playfair Display", Georgia, serif;
  font-style: italic;
  font-weight: 700;
  font-size: 2.35rem;
  color: #24361f;
  letter-spacing: 0.08em;
  line-height: 1;
  margin-top: 2px;
  transform: translateX(-28px);
  text-shadow: 0 1px 10px rgba(255, 252, 247, 0.95);
}

.choice-stack {
  display: grid;
  gap: 10px;
}

.choice-card {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  min-height: 126px;
  background: linear-gradient(180deg, #fff, #f4eee4);
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--line);
}

.choice-card__copy {
  padding: 12px 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 8px;
  text-align: center;
}

.choice-card__copy .accent {
  margin: 0 auto;
}

.choice-card__copy .cta {
  margin: 0 auto;
}

.choice-card h2 {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  font-weight: 650;
  color: var(--purple);
  line-height: 1;
  letter-spacing: 0.02em;
}

.choice-card h2.small { font-size: 1.22rem; }

.cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--purple);
  color: #fff;
  border: 1px solid var(--cyan);
  border-radius: 999px;
  padding: 6px 9px 6px 12px;
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  font-weight: 700;
  width: max-content;
  text-transform: uppercase;
}

.cta svg { width: 18px; height: 18px; }

.choice-card__photo { min-height: 126px; }

.choice-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-title {
  text-align: center;
  margin: 0 0 8px;
}

.carta-title {
  text-align: center;
  margin: 2px 0 12px;
}

.carta-title p {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.05rem;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: #b08a4a;
  font-weight: 600;
}

.carta-title h1 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 3.15rem;
  font-weight: 700;
  font-style: italic;
  color: #24361f;
  letter-spacing: 0.04em;
  line-height: 0.88;
  margin-top: 2px;
}

.carta-title h1::first-letter {
  font-size: 1.12em;
}

.carta-title__leaf {
  width: 46px;
  height: 16px;
  margin: 4px auto 0;
  display: block;
}

.accent {
  width: 54px;
  height: 3px;
  margin: 6px auto 0;
  background: linear-gradient(90deg, #8a9a6a, #c4a35a, #6b8f4e);
  border-radius: 99px;
}

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

.cat-card {
  position: relative;
  height: 132px;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  color: white;
  box-shadow: 0 6px 14px rgba(22, 27, 44, 0.18);
}

.cat-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cat-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(22, 27, 44, 0.05) 30%, rgba(22, 27, 44, 0.72) 100%);
}

.cat-card__body {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 8px 6px 9px;
  text-align: center;
}

.cat-card h2 {
  font-family: var(--font-serif);
  font-size: 0.86rem;
  font-weight: 650;
  letter-spacing: 0.02em;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.55);
  margin-bottom: 5px;
  line-height: 1.15;
  max-width: 100%;
}

.cta--overlay {
  background: rgba(22, 27, 44, 0.78);
  border-color: var(--cyan);
  font-size: 0.52rem;
  padding: 4px 6px 4px 8px;
  gap: 5px;
}

.cta--overlay svg { width: 14px; height: 14px; }

.site-footer {
  margin: 0;
  padding: 10px 12px 14px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  background: rgba(255, 252, 247, 0.94);
  z-index: 2;
}

.foot-item {
  text-align: center;
  font-size: 0.72rem;
  color: var(--muted);
  text-decoration: none;
  line-height: 1.3;
}

.foot-item strong {
  display: block;
  color: var(--purple);
  letter-spacing: 0.08em;
  font-size: 0.64rem;
}

.foot-item .icon {
  width: 16px;
  height: 16px;
  margin: 0 auto 3px;
  color: var(--purple);
}

.toolbar { margin: 0 0 6px; }

.back {
  color: var(--purple);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 700;
}

.section-kicker {
  font-family: var(--font-serif);
  color: var(--purple);
  font-size: 1.35rem;
  text-align: center;
  margin-bottom: 8px;
}

.dish-list { display: grid; gap: 6px; }

.dish-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  align-items: start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px 10px;
}

.dish-row h3 {
  font-family: var(--font-serif);
  font-size: 1.02rem;
  color: var(--navy);
  line-height: 1.15;
}

.dish-row p {
  font-size: 0.74rem;
  color: var(--muted);
  margin-top: 2px;
}

.price-col { text-align: right; }

.price {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--purple);
  font-weight: 700;
  white-space: nowrap;
}

.price-col small,
.half {
  display: block;
  font-size: 0.7rem;
  color: var(--muted);
  margin-top: 2px;
}

.allergens {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 5px;
}

.alg {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--c, #888);
  box-shadow: 0 0 0 1px rgba(255,255,255,.4) inset;
}

.alg svg { width: 13px; height: 13px; }

.legend {
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}

.legend h4 {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 8px;
}

.legend-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 8px;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  color: var(--ink);
}

.note {
  margin-top: 8px;
  font-size: 0.72rem;
  color: var(--muted);
  text-align: center;
}

.menu-day {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px;
}

.menu-day header { text-align: center; margin-bottom: 8px; }
.menu-day header p { color: var(--muted); font-size: 0.8rem; }

.price-badge {
  display: inline-block;
  margin-top: 6px;
  background: var(--purple);
  color: #fff;
  border: 1px solid var(--cyan);
  border-radius: 999px;
  padding: 5px 12px;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
}

.course { margin-top: 10px; }

.course h3 {
  font-family: var(--font-serif);
  color: var(--purple);
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  border-bottom: 1px solid var(--cyan);
  padding-bottom: 3px;
  margin-bottom: 4px;
}

.course li {
  list-style: none;
  padding: 4px 0;
  font-size: 0.9rem;
  border-bottom: 1px dotted var(--line);
}

@media (min-width: 720px) {
  .app { max-width: 560px; }
}
