:root {
  --gold: #a78963;
  --gold-soft: #dfc89f;
  --ink: #201b17;
  --ink-2: #3a332d;
  --paper: #fffaf0;
  --cream: #f2eadc;
  --green: #465d3b;
  --green-soft: #dfe8d5;
  --line: rgba(32, 27, 23, 0.14);
  --shadow: 0 24px 70px rgba(32, 27, 23, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(32, 27, 23, 0.06), transparent 34%),
    linear-gradient(180deg, #f8f2e8, #fffaf0);
  font-family:
    Raleway, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
}

a {
  color: inherit;
}

.equilibrio-page {
  width: min(1240px, calc(100% - 28px));
  min-height: 100vh;
  margin: 0 auto;
  padding: clamp(18px, 3vw, 34px) 0;
}

.equilibrio-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(360px, 1.14fr);
  min-height: clamp(310px, 38vh, 430px);
  overflow: hidden;
  border-radius: 8px;
  background: var(--ink);
  box-shadow: var(--shadow);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(28px, 5vw, 58px);
  color: #fff;
}

.kicker {
  margin: 0 0 10px;
  color: var(--gold-soft);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.kicker--dark {
  color: var(--gold);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: "Libre Baskerville", Georgia, "Times New Roman", serif;
  letter-spacing: 0;
}

h1 {
  max-width: 430px;
  margin-bottom: 16px;
  font-size: clamp(2.45rem, 4.4vw, 4.7rem);
  font-style: italic;
  line-height: 1;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(1.55rem, 2.7vw, 2.25rem);
  line-height: 1.05;
}

h3 {
  margin-bottom: 0;
  font-size: clamp(2rem, 3.4vw, 3rem);
  font-style: italic;
  line-height: 1;
}

.hero-text {
  max-width: 520px;
  margin-bottom: 22px;
}

.hero-text p {
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(0.92rem, 1.1vw, 1.04rem);
  line-height: 1.48;
}

.hero-text p:last-child {
  margin-bottom: 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 900;
  text-decoration: none;
}

.button--light {
  color: var(--ink);
  background: var(--gold-soft);
}

.button--ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.24);
}

.hero-photo {
  position: relative;
  min-height: 100%;
  margin: 0;
  background: #111;
}

.hero-photo img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: clamp(310px, 38vh, 430px);
  object-fit: cover;
}

.hero-photo::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(32, 27, 23, 0.48), transparent 34%);
  content: "";
  pointer-events: none;
}

.menu-panel {
  margin-top: clamp(14px, 2vw, 22px);
  padding: clamp(18px, 2.4vw, 28px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 250, 240, 0.92);
  box-shadow: 0 14px 42px rgba(32, 27, 23, 0.08);
}

.menu-panel__head,
.selected-day {
  display: flex;
  gap: 18px;
  align-items: end;
  justify-content: space-between;
}

.today-note {
  margin: 0;
  color: var(--ink-2);
  font-size: 0.95rem;
  font-weight: 800;
  text-align: right;
}

.day-tabs {
  display: grid;
  grid-template-columns: repeat(5, minmax(72px, 1fr));
  gap: 8px;
  margin: 18px 0;
  overflow-x: auto;
  padding-bottom: 4px;
}

.day-tab {
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  background: #fffdf8;
  cursor: pointer;
  font: inherit;
  font-weight: 950;
  letter-spacing: 0;
  transition:
    background 180ms ease,
    color 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;
}

.day-tab:hover {
  transform: translateY(-1px);
  border-color: rgba(167, 137, 99, 0.52);
}

.day-tab[aria-selected="true"] {
  color: #fff;
  background: var(--green);
  border-color: var(--green);
}

.day-tab.is-today:not([aria-selected="true"]) {
  border-color: var(--gold);
  box-shadow: inset 0 0 0 2px rgba(167, 137, 99, 0.18);
}

.quick-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.quick-legend span {
  padding: 7px 11px;
  border-radius: 999px;
  color: var(--green);
  background: var(--green-soft);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.meal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.meal-card {
  display: flex;
  min-height: 290px;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #fffdf8;
}

.meal-card__head {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  padding: 16px 16px 12px;
  border-bottom: 1px solid var(--line);
}

.meal-type {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 950;
  text-transform: uppercase;
}

.meal-type svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.meal-price {
  color: var(--gold);
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 1.45rem;
  font-weight: 900;
}

.meal-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 16px;
}

.meal-title {
  margin: 0 0 14px;
  font-size: clamp(1.02rem, 1.4vw, 1.18rem);
  font-weight: 900;
  line-height: 1.35;
}

.macro-list {
  display: grid;
  gap: 8px;
  margin-top: auto;
}

.macro {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 10px;
  align-items: start;
  padding-top: 8px;
  border-top: 1px solid rgba(32, 27, 23, 0.09);
  color: var(--ink-2);
  font-size: 0.9rem;
  line-height: 1.35;
}

.macro strong {
  color: var(--green);
  font-size: 0.78rem;
  text-transform: uppercase;
}

@media (max-width: 980px) {
  .equilibrio-hero {
    grid-template-columns: 1fr;
  }

  .hero-photo {
    order: -1;
  }

  .hero-photo img {
    min-height: 280px;
  }

  .meal-grid {
    grid-template-columns: 1fr;
  }

  .meal-card {
    min-height: auto;
  }
}

@media (max-width: 640px) {
  .equilibrio-page {
    width: min(100% - 18px, 1240px);
    padding-top: 9px;
  }

  .hero-copy {
    padding: 24px 20px;
  }

  .hero-photo img {
    min-height: 220px;
  }

  .menu-panel {
    padding: 16px 12px;
  }

  .menu-panel__head,
  .selected-day {
    align-items: stretch;
    flex-direction: column;
  }

  .today-note {
    text-align: left;
  }

  .day-tabs {
    grid-template-columns: repeat(5, 72px);
    margin-right: -12px;
    margin-left: -12px;
    padding-inline: 12px;
  }

  .quick-legend {
    justify-content: flex-start;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .macro {
    grid-template-columns: 1fr;
    gap: 3px;
  }
}
