/* Tacos La Bala — Design DNA (v2, corrected to real brand)
   Mood: authentic taqueria — deep red talavera-tile storefront wall, bold white rounded
   logotype, a bullet-shaped mascot in a red hat and boots (the name IS "the bullet").
   Color: true taqueria red as the dominant canvas (not a dark charcoal backdrop), mustard
   gold + cactus green as festive accents, warm charcoal reserved for contrast panels only.
   Type: Baloo 2 (display, chunky rounded weight — matches the real hand-painted sign
   lettering) + Archivo (body) + JetBrains Mono (tabular price numerals only).
   Pattern: talavera diamond-lattice texture on red sections, echoing the real storefront wall.
   Signature element: bullet mascot (hat + mustache + boots on a bullet-shaped body, arms out
   holding tacos) + papel picado banner dividers.
*/

:root {
  --canvas: oklch(19% 0.025 35);
  --canvas-alt: oklch(24% 0.03 35);
  --panel: oklch(27% 0.033 35);
  --ink: oklch(95% 0.015 85);
  --ink-soft: oklch(78% 0.02 80);
  --ink-faint: oklch(62% 0.02 75);
  --red: oklch(52% 0.19 25);
  --red-dark: oklch(38% 0.16 25);
  --red-deep: oklch(30% 0.15 25);
  --red-shadow: oklch(15% 0.02 35);
  --mustard: oklch(76% 0.15 75);
  --mustard-dark: oklch(60% 0.15 65);
  --green: oklch(55% 0.13 148);
  --green-dark: oklch(40% 0.1 148);
  --cream: oklch(95% 0.02 85);
  --silver: oklch(88% 0.01 80);
  --silver-shadow: oklch(72% 0.015 80);
  --line: oklch(36% 0.03 40);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Archivo', sans-serif;
  background:
    radial-gradient(circle at 1px 1px, oklch(30% 0.03 35 / 0.5) 1.4px, transparent 1.4px) 0 0/26px 26px,
    var(--canvas);
  color: var(--ink);
  line-height: 1.6;
}

/* ---- Talavera diamond-lattice texture, for red sections ---- */
.talavera {
  background-color: var(--red-deep);
  background-image:
    repeating-linear-gradient(45deg, oklch(100% 0 0 / 0.05) 0 1.5px, transparent 1.5px 34px),
    repeating-linear-gradient(-45deg, oklch(100% 0 0 / 0.05) 0 1.5px, transparent 1.5px 34px),
    radial-gradient(circle at 50% 50%, oklch(100% 0 0 / 0.06) 3px, transparent 3.5px);
  background-size: 34px 34px, 34px 34px, 34px 34px;
}

/* ---- Serape stripe band: reused top-of-nav and above footer ---- */
.serape {
  height: 9px;
  width: 100%;
  background: repeating-linear-gradient(
    90deg,
    var(--red) 0 40px,
    var(--mustard) 40px 80px,
    var(--cream) 80px 100px,
    var(--green) 100px 140px,
    var(--red-dark) 140px 160px
  );
}

h1, h2, h3, .display {
  font-family: 'Baloo 2', sans-serif;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--ink);
  line-height: 1.08;
}

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

.mono { font-family: 'JetBrains Mono', monospace; font-variant-numeric: tabular-nums; }

.container { max-width: 1160px; margin: 0 auto; padding: 0 32px; }

/* ---- Nav ---- */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 32px;
  max-width: 1160px;
  margin: 0 auto;
  gap: 20px;
}

.nav-brand { display: flex; align-items: center; gap: 12px; }
.nav-brand .badge { width: 40px; height: 40px; flex-shrink: 0; }
.nav-brand-text { font-family: 'Baloo 2', sans-serif; font-weight: 800; font-size: 17px; line-height: 1.15; color: var(--ink); }
.nav-brand-text span { display: block; color: var(--mustard); font-size: 11px; letter-spacing: 0.12em; font-family: 'Archivo', sans-serif; font-weight: 700; }

.nav-links { display: flex; gap: 30px; font-size: 15px; }
.nav-links a { color: var(--ink-soft); transition: color 0.2s ease-out; font-weight: 600; }
.nav-links a:hover { color: var(--mustard); }

.nav-cta {
  background: var(--red);
  color: var(--ink) !important;
  padding: 11px 20px;
  border-radius: 3px;
  font-size: 14px;
  font-weight: 700;
  transition: background 0.2s ease-out, transform 0.2s ease-out;
  white-space: nowrap;
}
.nav-cta:hover { background: var(--red-dark); transform: translateY(-1px); }

/* ---- Hero: asymmetric 70/30, channel sign bleeds off the right ---- */
.hero {
  max-width: 1160px;
  margin: 12px auto 0;
  padding: 28px 32px 0;
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 24px;
  align-items: center;
}

.hero-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--mustard);
  margin-bottom: 18px;
}

.hero-copy h1 {
  font-size: clamp(34px, 5vw, 54px);
  margin-bottom: 20px;
}
.hero-copy h1 .accent { color: var(--red); }

.hero-copy .sub {
  font-size: 17.5px;
  color: var(--ink-soft);
  max-width: 480px;
  margin-bottom: 30px;
}

.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

.btn-primary {
  background: var(--red);
  color: var(--ink);
  padding: 14px 26px;
  border-radius: 3px;
  font-weight: 700;
  font-size: 15px;
  display: inline-block;
  transition: background 0.2s ease-out, transform 0.2s ease-out;
}
.btn-primary:hover { background: var(--red-dark); transform: translateY(-1px); }

.btn-secondary {
  border: 1.5px solid var(--line);
  padding: 14px 26px;
  border-radius: 3px;
  font-weight: 700;
  font-size: 15px;
  color: var(--ink);
  display: inline-block;
  transition: border-color 0.2s ease-out, color 0.2s ease-out;
}
.btn-secondary:hover { border-color: var(--mustard); color: var(--mustard); }

/* ---- Channel sign panel (right side of hero) ---- */
.sign-panel {
  background: var(--red-deep);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 34px 20px 26px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.channel-tacos {
  font-family: 'Baloo 2', sans-serif;
  font-weight: 800;
  font-size: clamp(38px, 6.5vw, 58px);
  color: var(--cream);
  letter-spacing: 0.01em;
  text-shadow: 0 4px 0 var(--red-dark), 0 10px 18px rgba(0,0,0,0.5);
  position: relative;
  z-index: 1;
}
.channel-labala {
  font-family: 'Baloo 2', sans-serif;
  font-weight: 800;
  font-size: clamp(24px, 4vw, 36px);
  color: var(--cream);
  letter-spacing: 0.01em;
  margin-top: -4px;
  text-shadow: 0 3px 0 var(--red-dark), 0 8px 16px rgba(0,0,0,0.5);
  position: relative;
  z-index: 1;
}
.channel-tagline {
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 12px;
  color: var(--mustard);
  margin-top: 10px;
  position: relative;
  z-index: 1;
}
.sign-mascot { width: 92px; height: 92px; margin: 18px auto 0; position: relative; z-index: 1; }

.hero-mascot { width: 190px; height: 230px; margin: 18px auto 0; position: relative; z-index: 1; }

/* ---- Mascot badge (reused in nav/footer): mini bullet head ---- */
.badge .bg { fill: none; }
.badge .bullet-body { fill: var(--silver); }
.badge .bullet-shadow { fill: var(--silver-shadow); }
.badge .hat { fill: var(--red); }
.badge .hat-shadow { fill: var(--red-dark); }
.badge .stache { fill: oklch(20% 0.01 35); }
.badge .eyes { fill: oklch(20% 0.01 35); }

/* ---- Hero mascot: the bullet character — hat, mustache, boots, arms out with tacos ---- */
.hero-mascot .bullet-body { fill: var(--silver); }
.hero-mascot .bullet-shine { fill: var(--cream); opacity: 0.5; }
.hero-mascot .bullet-case { fill: var(--mustard-dark); }
.hero-mascot .case-line { stroke: var(--silver-shadow); stroke-width: 1.5; opacity: 0.6; }
.hero-mascot .hat { fill: var(--red); }
.hero-mascot .hat-shadow { fill: var(--red-dark); }
.hero-mascot .hat-band { fill: var(--red-dark); }
.hero-mascot .stache { fill: oklch(18% 0.01 35); }
.hero-mascot .eyes { fill: oklch(18% 0.01 35); }
.hero-mascot .nose { fill: var(--mustard); }
.hero-mascot .arm { fill: var(--mustard); }
.hero-mascot .hand { fill: var(--mustard); }
.hero-mascot .leg { fill: var(--mustard); }
.hero-mascot .boot { fill: var(--red); }
.hero-mascot .boot-shadow { fill: var(--red-dark); }
.hero-mascot .taco-shell { fill: var(--mustard-dark); }
.hero-mascot .taco-fill { fill: var(--green); }
.hero-mascot .taco-fill2 { fill: var(--red); }

/* ---- Signature element: papel picado banner ---- */
.picado {
  display: flex;
  width: 100%;
  overflow: hidden;
  height: 42px;
  margin: 8px 0;
}
.picado .flag {
  flex: 1 0 auto;
  width: 42px;
  height: 42px;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  -webkit-mask-image:
    radial-gradient(circle 3.5px at 50% 24%, transparent 3px, black 3.5px),
    radial-gradient(circle 2.5px at 32% 44%, transparent 2px, black 2.5px),
    radial-gradient(circle 2.5px at 68% 44%, transparent 2px, black 2.5px),
    radial-gradient(circle 2px at 50% 58%, transparent 1.5px, black 2px);
  mask-image:
    radial-gradient(circle 3.5px at 50% 24%, transparent 3px, black 3.5px),
    radial-gradient(circle 2.5px at 32% 44%, transparent 2px, black 2.5px),
    radial-gradient(circle 2.5px at 68% 44%, transparent 2px, black 2.5px),
    radial-gradient(circle 2px at 50% 58%, transparent 1.5px, black 2px);
}
.picado .flag:nth-child(5n+1) { background: var(--red); }
.picado .flag:nth-child(5n+2) { background: var(--mustard); }
.picado .flag:nth-child(5n+3) { background: var(--cream); }
.picado .flag:nth-child(5n+4) { background: var(--green); }
.picado .flag:nth-child(5n+5) { background: var(--red-dark); }

/* ---- Sections ---- */
section { padding: 76px 0; }
.section-alt { background-color: var(--red-deep); background-image: repeating-linear-gradient(45deg, oklch(100% 0 0 / 0.045) 0 1.5px, transparent 1.5px 34px), repeating-linear-gradient(-45deg, oklch(100% 0 0 / 0.045) 0 1.5px, transparent 1.5px 34px), radial-gradient(circle at 50% 50%, oklch(100% 0 0 / 0.05) 3px, transparent 3.5px); background-size: 34px 34px, 34px 34px, 34px 34px; }
.section-alt .section-label { color: var(--cream); }
.section-alt .section-head p, .section-alt .info-band p { color: oklch(90% 0.03 60 / 0.85); }
.section-panel { background: var(--panel); }

.section-label {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 12.5px;
  color: var(--mustard);
  font-weight: 700;
  margin-bottom: 12px;
}

.section-head h2 { font-size: clamp(26px, 3.4vw, 36px); margin-bottom: 14px; max-width: 640px; }
.section-head p { color: var(--ink-soft); font-size: 16.5px; max-width: 560px; }

/* ---- Standout plates: one featured + mixed list (asymmetric, not 3 equal cards) ---- */
.plates-layout {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 22px;
  margin-top: 44px;
}
.plate-featured {
  background: linear-gradient(160deg, var(--red-dark), var(--red-shadow));
  border-radius: 10px;
  padding: 34px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 320px;
  border: 1px solid var(--line);
}
.plate-featured .tag { color: var(--mustard); font-size: 12.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 14px; display: block; }
.plate-featured h3 { font-size: 24px; margin-bottom: 10px; }
.plate-featured p { color: var(--ink-soft); font-size: 15px; }
.plate-featured .price { color: var(--mustard); font-size: 20px; margin-top: 14px; }

.plates-list { display: flex; flex-direction: column; gap: 0; }
.plate-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}
.plate-row:last-child { border-bottom: 1px solid var(--line); }
.plate-row h4 { font-family: 'Archivo', sans-serif; font-weight: 700; font-size: 16.5px; color: var(--ink); }
.plate-row p { font-size: 13.5px; color: var(--ink-faint); margin-top: 4px; }
.plate-row .price { color: var(--mustard); font-size: 16px; white-space: nowrap; }

/* ---- Info band (breakfast hours / locations) ---- */
.info-band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 46px 0;
  text-align: center;
}
.info-band .big-stat {
  font-family: 'Baloo 2', sans-serif; font-weight: 800;
  font-size: clamp(30px, 5vw, 46px);
  color: var(--mustard);
  margin-bottom: 10px;
}
.info-band p { color: var(--ink-soft); font-size: 15px; max-width: 520px; margin: 0 auto; }

/* ---- CTA band ---- */
.cta-band {
  background: linear-gradient(120deg, var(--mustard) 0%, var(--mustard) 60%, var(--green) 60%, var(--green) 100%);
  color: var(--red-shadow);
  text-align: center;
  padding: 68px 32px;
  border-radius: 10px;
}
.cta-band h2 { color: var(--red-shadow); font-size: clamp(24px, 3.4vw, 34px); margin-bottom: 14px; }
.cta-band p { color: oklch(30% 0.05 65); margin-bottom: 26px; font-size: 16px; }
.cta-band .btn-primary { background: var(--red-shadow); color: var(--ink); }
.cta-band .btn-primary:hover { background: oklch(10% 0.01 35); }

/* ---- Footer ---- */
footer {
  padding: 40px 32px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--ink-faint);
  text-align: center;
}
footer .foot-brand { display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 10px; }
footer .foot-brand .badge { width: 26px; height: 26px; }
footer .foot-brand span { font-family: 'Baloo 2', sans-serif; font-size: 14px; color: var(--ink-soft); }

/* ---- Inner page header ---- */
.page-header {
  padding: 52px 32px 34px;
  max-width: 820px;
  margin: 0 auto;
}
.page-header h1 { font-size: clamp(30px, 4.2vw, 42px); margin-bottom: 14px; }
.page-header p { font-size: 17px; color: var(--ink-soft); }

/* ---- Menu page: fixed category rail + content ---- */
.menu-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 48px;
  max-width: 1160px;
  margin: 0 auto 60px;
  padding: 0 32px;
  align-items: start;
}
.menu-rail {
  position: sticky;
  top: 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-left: 2px solid var(--line);
  padding-left: 18px;
}
.menu-rail a {
  padding: 9px 0;
  color: var(--ink-faint);
  font-size: 14.5px;
  font-weight: 600;
  transition: color 0.2s ease-out, border-color 0.2s ease-out;
  border-left: 2px solid transparent;
  margin-left: -20px;
  padding-left: 18px;
}
.menu-rail a:hover { color: var(--mustard); border-color: var(--mustard); }

.menu-section { margin-bottom: 56px; scroll-margin-top: 24px; }
.menu-section-head { margin-bottom: 22px; }
.menu-section-head h2 { font-size: clamp(24px, 3vw, 30px); }
.menu-section-head .note { color: var(--ink-faint); font-size: 14px; margin-top: 8px; max-width: 620px; }

.menu-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 40px; }
.menu-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.menu-item .name { font-size: 15px; color: var(--ink); }
.menu-item .name small { display: block; color: var(--ink-faint); font-size: 12.5px; margin-top: 2px; }
.menu-item .price { color: var(--mustard); font-size: 14.5px; white-space: nowrap; }

.combo-table { width: 100%; border-collapse: collapse; margin-top: 8px; }
.combo-table th {
  text-align: left;
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--mustard);
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
}
.combo-table td {
  padding: 12px;
  font-size: 14.5px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
}
.combo-table td:first-child { color: var(--ink); font-weight: 600; }
.combo-table td.price { color: var(--mustard); }

.featured-note {
  background: var(--panel);
  border-radius: 8px;
  padding: 20px 24px;
  font-size: 14.5px;
  color: var(--ink-soft);
  margin-bottom: 24px;
}

/* ---- Locations page ---- */
.locations-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 1160px;
  margin: 0 auto 60px;
  padding: 0 32px;
}
.location-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 30px;
  background: var(--panel);
}
.location-card h3 { font-size: 19px; margin-bottom: 10px; }
.location-card p { color: var(--ink-soft); font-size: 15px; }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; }
  .sign-panel { order: -1; }
  .plates-layout, .locations-grid { grid-template-columns: 1fr; }
  .menu-layout { grid-template-columns: 1fr; }
  .menu-rail {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
    border-left: none;
    border-bottom: 2px solid var(--line);
    padding-left: 0;
    padding-bottom: 16px;
    margin-bottom: 8px;
  }
  .menu-rail a { margin-left: 0; padding-left: 0; padding-right: 14px; border-left: none; }
  .menu-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
}
