/* ============================================
   SUPRA — Menu Page Styles
   ============================================ */

.page-menu { padding-top: 80px; }

/* ===== HERO ===== */
.menu-hero {
  position: relative;
  padding: 80px 20px 60px;
  text-align: center;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.menu-hero::before, .menu-hero::after {
  content: '';
  position: absolute;
  width: 300px; height: 300px;
  background: radial-gradient(circle, var(--gold), transparent 70%);
  opacity: 0.08;
  border-radius: 50%;
  pointer-events: none;
}
.menu-hero::before { top: -100px; left: -100px; }
.menu-hero::after { bottom: -100px; right: -100px; }

.menu-hero-inner { position: relative; z-index: 2; max-width: 900px; margin: 0 auto; }

.menu-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold-2);
  margin-bottom: 24px;
  font-weight: 500;
}
.menu-hero-eyebrow .eyebrow-mark { width: 40px; height: 1px; background: currentColor; opacity: 0.6; }

.menu-hero-title {
  font-family: var(--font-geo);
  font-weight: 300;
  font-size: clamp(48px, 8vw, 110px);
  line-height: 0.95;
  letter-spacing: -0.02em;
  margin-bottom: 30px;
}
.menu-hero-title em {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--gold-2);
}
.menu-hero-title .mh-line {
  display: block;
  overflow: hidden;
}
.menu-hero-title .mh-line span {
  display: inline-block;
  animation: mhLineUp 1.1s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.menu-hero-title .mh-line:nth-child(1) span { animation-delay: 0.15s; }
.menu-hero-title .mh-line:nth-child(2) span { animation-delay: 0.3s; }
@keyframes mhLineUp {
  from { transform: translateY(110%); }
  to { transform: translateY(0); }
}

.menu-hero-sub {
  font-size: 16px;
  color: var(--ink-70);
  max-width: 620px;
  margin: 0 auto 40px;
  line-height: 1.75;
  animation: fadeIn 1s ease 0.6s both;
}
.menu-hero-decor {
  color: var(--gold);
  width: 240px;
  margin: 0 auto;
  animation: fadeIn 1s ease 0.8s both;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ===== PACKAGE TABS ===== */
.menu-full { padding: 60px 0 100px; background: var(--cream); }

.package-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-bottom: 80px;
  background: var(--paper);
  border: 1px solid var(--line);
  position: sticky;
  top: 74px;
  z-index: 50;
  transition: box-shadow 0.4s;
}
.package-tabs.stuck { box-shadow: 0 10px 30px var(--shadow-soft); }

.package-tab {
  padding: 26px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  border-right: 1px solid var(--line);
  color: var(--ink-70);
  transition: all 0.5s var(--ease);
  position: relative;
  overflow: hidden;
}
.package-tab:last-child { border-right: 0; }
.package-tab::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}
.package-tab:hover { color: var(--ink); background: var(--cream); }
.package-tab.active {
  background: var(--espresso);
  color: #f5efe4;
}
.package-tab.active .pt-label-num,
.package-tab.active .pt-label-name { color: #f5efe4; }
.package-tab.active::before { transform: scaleX(1); }
.pt-label-num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 11px;
  letter-spacing: 0.4em;
  opacity: 0.5;
}
.pt-price {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 32px;
  color: var(--gold-2);
  line-height: 1;
  margin: 6px 0 2px;
}
.package-tab.active .pt-price { color: var(--gold); }
.pt-label-name {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
}

/* ===== PACKAGE PANELS ===== */
.package-panel { display: none; }
.package-panel.active {
  display: block;
  animation: panelFade 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes panelFade {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.package-header {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 60px;
  padding: 50px 60px;
  background: var(--paper);
  margin-bottom: 60px;
  border: 1px solid var(--line);
  align-items: center;
  position: relative;
  overflow: hidden;
}
.package-header::before {
  content: '';
  position: absolute;
  top: 20px; right: 20px;
  width: 60px; height: 60px;
  border: 1px solid var(--gold);
  opacity: 0.3;
}
.package-header::after {
  content: '';
  position: absolute;
  bottom: 20px; left: 20px;
  width: 40px; height: 40px;
  border: 1px solid var(--gold);
  opacity: 0.3;
}
.package-header.vip {
  background: linear-gradient(135deg, #1a1410 0%, #2b2119 100%);
  color: #f5efe4;
  border-color: var(--gold);
}
.package-header.vip::before, .package-header.vip::after { border-color: var(--gold); opacity: 0.5; }
.package-header.vip h2 { color: #f5efe4; }
.package-header.vip p { color: rgba(245, 239, 228, 0.75); }
.package-header.vip .ph-badge { background: var(--gold); color: var(--espresso); }
.package-header.vip .ph-currency, .package-header.vip .ph-num { color: var(--gold); }
.package-header.vip .ph-per { color: rgba(245, 239, 228, 0.5); }

.ph-left { display: flex; flex-direction: column; gap: 20px; }
.ph-badge {
  align-self: flex-start;
  padding: 8px 18px;
  border-radius: 999px;
  background: var(--espresso);
  color: #f5efe4;
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-weight: 500;
}
.ph-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  font-family: var(--font-geo);
}
.ph-currency { font-size: 42px; color: var(--gold-2); }
.ph-num { font-size: 130px; line-height: 0.9; font-weight: 400; color: var(--ink); }
.ph-per {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-70);
  margin-left: 10px;
}

.ph-right h2 {
  font-family: var(--font-geo);
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 500;
  line-height: 1.1;
  margin-bottom: 16px;
  color: var(--ink);
}
.ph-right p {
  color: var(--ink-70);
  font-size: 15.5px;
  line-height: 1.75;
  max-width: 520px;
}

/* ===== SECTION TITLE within panel ===== */
.dishes-section-title {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 60px 0 30px;
}
.dishes-section-title::before, .dishes-section-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--line);
}
.dishes-section-title span {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 22px;
  color: var(--gold-2);
  padding: 0 8px;
  letter-spacing: 0.02em;
}

/* ===== DISHES GRID ===== */
.dishes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.dish-card {
  background: var(--paper);
  overflow: hidden;
  border: 1px solid transparent;
  transition: transform 0.5s var(--ease), border-color 0.5s var(--ease), box-shadow 0.5s var(--ease);
  position: relative;
  display: flex;
  flex-direction: column;
  opacity: 1;
}
/* Animate in only when explicitly triggered via JS class */
.package-panel.animate-in .dish-card {
  animation: dishIn 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: calc(var(--i, 0) * 55ms);
}
@keyframes dishIn {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}
.dish-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
  box-shadow: 0 20px 40px var(--shadow-soft);
}
.dish-image {
  aspect-ratio: 4 / 3;
  background-size: cover;
  background-position: center;
  transition: transform 0.8s var(--ease);
}
.dish-card:hover .dish-image { transform: scale(1.06); }
.dish-body {
  padding: 24px 24px 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
  position: relative;
}
.dish-num {
  position: absolute;
  top: -18px; right: 20px;
  width: 36px; height: 36px;
  background: var(--gold);
  color: var(--espresso);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 13px;
  font-weight: 500;
}
.dish-body h3 {
  font-family: var(--font-geo);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.25;
  margin-bottom: 4px;
  color: var(--ink);
  padding-right: 24px;
}
.dish-sub {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 14px;
  color: var(--gold-2);
  margin-bottom: 12px;
}
.dish-desc {
  color: var(--ink-70);
  font-size: 13.5px;
  line-height: 1.65;
}
.dish-tag {
  align-self: flex-start;
  padding: 3px 10px;
  background: var(--gold);
  color: var(--espresso);
  font-size: 9px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  margin-bottom: 10px;
  font-weight: 600;
}
.dish-card.premium { border-color: rgba(201, 169, 97, 0.3); }
.dish-card.premium .dish-num { background: var(--ink); color: var(--gold); }

/* ===== SIGNATURE DISH ===== */
.signature-dish {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 60px;
  background: var(--espresso);
  color: #f5efe4;
  overflow: hidden;
  position: relative;
}
.signature-image {
  aspect-ratio: 4/3;
  background-size: cover;
  background-position: center;
}
.signature-text {
  padding: 60px 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.signature-mark {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 12px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.signature-text h3 {
  font-family: var(--font-geo);
  font-size: clamp(30px, 3vw, 44px);
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: 20px;
}
.signature-text h3 .or {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 22px;
  color: var(--gold);
  display: block;
  margin-top: 6px;
}
.signature-text p {
  color: rgba(245, 239, 228, 0.75);
  font-size: 15px;
  line-height: 1.8;
  max-width: 460px;
}

/* ===== BEVERAGES SECTION ===== */
.beverages-section {
  padding: 110px 0;
  background: var(--paper);
  position: relative;
}
.beverages-section .dishes-section-title { margin: 50px 0 26px; }
.drinks-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}
.drink-card {
  flex: 0 1 calc((100% - 60px) / 4);
  background: var(--cream);
  border: 1px solid var(--line);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.5s var(--ease), border-color 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.drinks-grid.five .drink-card { flex-basis: calc((100% - 80px) / 5); }
.drink-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
  box-shadow: 0 20px 40px var(--shadow-soft);
}
.drink-image {
  aspect-ratio: 1 / 1;
  background-size: cover;
  background-position: center;
  transition: transform 0.8s var(--ease);
}
.drink-card:hover .drink-image { transform: scale(1.05); }
.drink-body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
  position: relative;
  background: var(--cream);
}
.drink-body h4 {
  font-family: var(--font-geo);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--ink);
}
.drink-meta {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}
.drink-vol {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 14px;
  color: var(--ink-70);
}
.drink-price {
  margin-left: auto;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 22px;
  font-weight: 500;
  color: var(--gold-2);
}
.drinks-note {
  text-align: center;
  margin-top: 22px;
  font-size: 14px;
  color: var(--ink-70);
}
.drinks-note b { color: var(--gold-2); font-weight: 600; }

/* ===== DESSERTS SECTION ===== */
.desserts-section {
  padding: 110px 0 130px;
  background: var(--espresso);
  color: #f5efe4;
  position: relative;
  overflow: hidden;
}
.desserts-section::before,
.desserts-section::after {
  content: '';
  position: absolute;
  width: 400px; height: 400px;
  background: radial-gradient(circle, var(--gold), transparent 70%);
  opacity: 0.06;
  border-radius: 50%;
  pointer-events: none;
}
.desserts-section::before { top: -150px; left: -150px; }
.desserts-section::after { bottom: -150px; right: -150px; }
.desserts-section .container { position: relative; z-index: 2; }
.desserts-section .section-title.light { color: #f5efe4; }
.desserts-section .eyebrow { color: var(--gold); }

.dessert-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1040px;
  margin: 20px auto 0;
}
.dessert-photo {
  border: 1px solid rgba(240, 230, 210, 0.12);
  background: rgba(240, 230, 210, 0.03);
  overflow: hidden;
  transition: transform 0.6s var(--ease), border-color 0.6s var(--ease);
}
.dessert-photo:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
}
.dessert-photo-image {
  aspect-ratio: 4 / 3;
  background-size: cover;
  background-position: center;
  transition: transform 0.8s var(--ease);
}
.dessert-photo:hover .dessert-photo-image { transform: scale(1.05); }
.dessert-photo-body {
  padding: 20px 22px 24px;
  text-align: center;
  position: relative;
}
.dessert-num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 12px;
  letter-spacing: 0.4em;
  color: var(--gold);
}
.dessert-photo-body h4 {
  font-family: var(--font-geo);
  font-size: 22px;
  font-weight: 500;
  color: #f5efe4;
  margin: 6px 0;
  line-height: 1.2;
}
.dessert-photo-body p {
  font-size: 13px;
  color: rgba(245, 239, 228, 0.65);
  line-height: 1.6;
}
.signature-weight {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.6em;
  color: var(--gold);
  white-space: nowrap;
}

@media (max-width: 1000px) {
  .drink-card, .drinks-grid.five .drink-card { flex-basis: calc((100% - 40px) / 3); }
}
@media (max-width: 700px) {
  .beverages-section, .desserts-section { padding: 70px 0; }
  .drinks-grid { gap: 12px; }
  .drink-card, .drinks-grid.five .drink-card { flex-basis: calc((100% - 12px) / 2); }
  .drink-body { padding: 14px 14px 16px; }
  .drink-body h4 { font-size: 15px; }
  .drink-price { font-size: 19px; }
  .dessert-gallery { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .dessert-photo-body { padding: 14px 12px 18px; }
  .dessert-photo-body h4 { font-size: 18px; }
}

/* ===== MENU CTA ===== */
.menu-cta {
  padding: 100px 0;
  background: var(--paper);
  text-align: center;
}
.menu-cta-inner {
  max-width: 720px;
  margin: 0 auto;
}
.menu-cta .section-title { margin-bottom: 40px; }
.menu-cta .cta-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ===== Responsive ===== */
@media (max-width: 1000px) {
  .dishes-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .menu-hero { padding: 60px 20px 40px; }
  .package-tabs { position: static; }
  .package-tab { padding: 18px 10px; }
  .pt-price { font-size: 24px; }
  .package-header {
    grid-template-columns: 1fr;
    padding: 30px;
    gap: 24px;
  }
  .ph-num { font-size: 90px; }
  .signature-dish { grid-template-columns: 1fr; }
  .signature-text { padding: 40px 30px; }
}
@media (max-width: 600px) {
  .dishes-grid { grid-template-columns: 1fr; }
  .package-tabs { grid-template-columns: repeat(2, 1fr); }
  .package-tab { border-bottom: 1px solid var(--line); }
  .package-tab:nth-child(2) { border-right: 0; }
  .pt-label-num { display: none; }
}
