/* ===== Reset & base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #0a0a0a;
  --bg-elev: #141414;
  --bg-elev-2: #1c1c1c;
  --gold: #D4AF37;
  --gold-light: #E8C66A;
  --gold-soft: rgba(212, 175, 55, 0.25);
  --gold-line: rgba(212, 175, 55, 0.4);
  --text: #f5f0e1;
  --text-dim: #a8a298;
  --text-faint: #6e6960;
  --shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
  --radius: 14px;
  --radius-sm: 10px;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  font-size: 15px;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  padding-bottom: calc(96px + var(--safe-bottom));
  background-image:
    radial-gradient(ellipse at top, rgba(212, 175, 55, 0.07), transparent 60%),
    radial-gradient(ellipse at 50% 120%, rgba(212, 175, 55, 0.04), transparent 50%);
  background-attachment: fixed;
}

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

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gold-soft);
}
.site-header__inner {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px 12px;
  max-width: 720px;
  margin: 0 auto;
}
.site-header__logo {
  width: 56px; height: 56px;
  flex-shrink: 0;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(212, 175, 55, 0.35)) brightness(1.05);
}
.site-header__title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 1px;
  line-height: 1.1;
}
.site-header__subtitle {
  font-size: 11px;
  color: var(--text-dim);
  letter-spacing: 2.5px;
  text-transform: uppercase;
  margin-top: 2px;
}

/* ===== Tabs ===== */
.tabs {
  position: sticky;
  top: 80px;
  z-index: 40;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gold-soft);
}
.tabs__scroller {
  display: flex;
  gap: 6px;
  padding: 10px 14px;
  max-width: 720px;
  margin: 0 auto;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-snap-type: x mandatory;
}
.tabs__scroller::-webkit-scrollbar { display: none; }
.tab {
  flex-shrink: 0;
  padding: 9px 16px;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dim);
  background: transparent;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  scroll-snap-align: start;
  letter-spacing: 0.5px;
}
.tab:hover { color: var(--gold-light); }
.tab.is-active {
  color: var(--bg);
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  border-color: var(--gold);
  box-shadow: 0 2px 12px rgba(212, 175, 55, 0.35);
}

/* ===== Student offer banner ===== */
.student-offer {
  max-width: 720px;
  margin: 14px auto 4px;
  padding: 0 16px;
}
.student-offer__inner {
  position: relative;
  background:
    linear-gradient(135deg, rgba(212, 175, 55, 0.18), rgba(212, 175, 55, 0.04) 60%),
    linear-gradient(180deg, #1a1611, #141008);
  border: 1px solid var(--gold-line);
  border-radius: var(--radius);
  padding: 16px 18px 14px;
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.12);
  overflow: hidden;
}
.student-offer__inner::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 0% 0%, rgba(212, 175, 55, 0.15), transparent 40%),
    radial-gradient(circle at 100% 100%, rgba(212, 175, 55, 0.1), transparent 40%);
  pointer-events: none;
}
.student-offer__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: #1a1408;
  font-family: 'Playfair Display', serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: 999px;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}
.student-offer__items {
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
  z-index: 1;
}
.student-offer__item {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 10px;
  padding: 8px 0;
  border-top: 1px dashed rgba(212, 175, 55, 0.25);
}
.student-offer__item:first-child { border-top: none; padding-top: 0; }
.student-offer__deal {
  font-family: 'Inter', sans-serif;
  font-size: 13.5px;
  color: var(--text);
  font-weight: 500;
  flex: 1;
  min-width: 160px;
}
.student-offer__sep {
  color: var(--gold);
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 700;
  padding: 0 2px;
}
.student-offer__bonus {
  font-family: 'Playfair Display', serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.3px;
}
.student-offer__note {
  margin-top: 10px;
  font-size: 11px;
  color: var(--text-faint);
  text-align: center;
  letter-spacing: 0.5px;
  font-style: italic;
  position: relative;
  z-index: 1;
}

/* ===== Main / categories ===== */
main {
  max-width: 720px;
  margin: 0 auto;
  padding: 8px 16px 32px;
}

.category {
  scroll-margin-top: 140px;
  padding-top: 18px;
}
.category__title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 26px;
  font-weight: 700;
  color: var(--gold);
  text-align: center;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 6px;
  margin-top: 12px;
}
.category__deco {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 22px;
  color: var(--gold);
  opacity: 0.7;
}
.category__deco::before,
.category__deco::after {
  content: "";
  width: 50px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.section { margin-bottom: 32px; }
.section__title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 17px;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 12px 16px;
  background: var(--bg-elev);
  border: 1px solid var(--gold-line);
  border-radius: var(--radius-sm);
  text-align: center;
  margin-bottom: 14px;
  position: relative;
}
.section__subtitle {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 400;
  color: var(--text-dim);
  letter-spacing: 0.5px;
  text-transform: none;
  font-style: italic;
  margin-top: 4px;
}

.items {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

/* ===== Item card ===== */
.item {
  display: grid;
  grid-template-columns: 92px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 12px;
  background: var(--bg-elev);
  border: 1px solid var(--gold-soft);
  border-radius: var(--radius);
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.item:hover {
  border-color: var(--gold-line);
  transform: translateY(-1px);
}
.item__photo-wrap {
  width: 92px;
  height: 92px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--bg-elev-2);
  position: relative;
  flex-shrink: 0;
  border: 1px solid var(--gold-soft);
}
.item__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: var(--bg-elev-2);
}
.item__body {
  min-width: 0;
}
.item__name {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.2;
  margin-bottom: 4px;
}
.item__desc {
  font-size: 12.5px;
  color: var(--text-dim);
  line-height: 1.35;
}
.item__price {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--gold);
  white-space: nowrap;
  letter-spacing: 0.3px;
}
.item__price small {
  font-size: 11px;
  font-weight: 400;
  color: var(--text-dim);
  display: block;
  text-align: right;
  margin-top: 1px;
  letter-spacing: 0.5px;
}

/* Two-price item (Tacos seul/menu) */
.item__prices {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}
.item__price-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.item__price-label {
  font-size: 10px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}
.item__price-row .item__price { font-size: 15px; }

/* ===== Footer / call CTA ===== */
.cta-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 60;
  padding: 12px 16px calc(12px + var(--safe-bottom));
  background: linear-gradient(180deg, rgba(10, 10, 10, 0.6), rgba(10, 10, 10, 0.98) 40%);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  justify-content: center;
  pointer-events: none;
}
.cta-call {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--bg);
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 6px 24px rgba(212, 175, 55, 0.4), 0 2px 6px rgba(0, 0, 0, 0.5);
  transition: transform 0.15s ease;
}
.cta-call:active { transform: scale(0.97); }
.cta-call svg { width: 18px; height: 18px; }

/* ===== Bottom sheet ===== */
.sheet-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.sheet-backdrop.is-open { opacity: 1; pointer-events: auto; }

.sheet {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 101;
  background: var(--bg-elev);
  border-top: 1px solid var(--gold-line);
  border-radius: 22px 22px 0 0;
  padding: 24px 20px calc(28px + var(--safe-bottom));
  transform: translateY(100%);
  transition: transform 0.3s cubic-bezier(0.32, 0.72, 0, 1);
  max-width: 720px;
  margin: 0 auto;
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.5);
}
.sheet.is-open { transform: translateY(0); }
.sheet__grip {
  width: 40px;
  height: 4px;
  background: var(--text-faint);
  border-radius: 2px;
  margin: 0 auto 16px;
}
.sheet__title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 19px;
  color: var(--gold);
  text-align: center;
  margin-bottom: 4px;
  letter-spacing: 1px;
}
.sheet__subtitle {
  font-size: 12px;
  color: var(--text-dim);
  text-align: center;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}
.sheet__btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 16px 18px;
  margin-bottom: 10px;
  background: var(--bg);
  border: 1px solid var(--gold-soft);
  border-radius: var(--radius);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.sheet__btn:hover { border-color: var(--gold-line); background: var(--bg-elev-2); }
.sheet__btn-label { display: flex; flex-direction: column; align-items: flex-start; }
.sheet__btn-kind { font-size: 11px; color: var(--text-dim); text-transform: uppercase; letter-spacing: 1px; }
.sheet__btn-number { color: var(--gold); font-family: 'Playfair Display', serif; font-size: 16px; margin-top: 2px; }
.sheet__close {
  background: transparent;
  border: 1px solid var(--text-faint);
  color: var(--text-dim);
  margin-top: 8px;
  justify-content: center;
}

/* ===== Footer info ===== */
.foot-info {
  text-align: center;
  padding: 24px 16px 8px;
  color: var(--text-faint);
  font-size: 12px;
  border-top: 1px solid var(--gold-soft);
  margin-top: 24px;
}
.foot-info__line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 4px 0;
}
.foot-info__brand {
  font-family: 'Playfair Display', serif;
  color: var(--gold);
  letter-spacing: 1.5px;
  font-size: 13px;
  margin-bottom: 8px;
}

/* Larger screens */
@media (min-width: 640px) {
  body { font-size: 16px; }
  .items { grid-template-columns: 1fr 1fr; }
  .item { grid-template-columns: 96px 1fr auto; }
  .category__title { font-size: 30px; }
  .site-header__title { font-size: 24px; }
  .site-header__logo { width: 60px; height: 60px; }
  .tabs { top: 88px; }
  .category { scroll-margin-top: 150px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
