/* ============================================
   DELMAS TACOS — Design tokens
   ============================================ */
:root {
  --black: #0E0C0B;
  --surface: #1A1614;
  --surface-2: #221C19;
  --orange: #E8650A;
  --orange-bright: #FF7A1A;
  --amber: #F4A340;
  --cream: #FAF6F0;
  --muted: #9A8F84;
  --line: rgba(250,246,240,0.10);

  --font-display: 'League Spartan', 'Arial Black', 'Helvetica Neue', sans-serif;
  --font-script: 'Permanent Marker', 'Brush Script MT', cursive;
  --font-body: 'Inter', -apple-system, 'Segoe UI', Roboto, sans-serif;

  --container: 1180px;
  --radius: 14px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--cream);
  font-family: var(--font-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

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

:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
}

/* subtle grain texture overlay for warmth */
.grain-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ============================================
   Grill-mark motif (signature element)
   Diagonal cross-hatch lines echo the seared
   tortilla grill marks — used as a recurring
   divider / texture throughout the page.
   ============================================ */
.grill-pattern {
  background-image:
    repeating-linear-gradient(45deg, var(--orange) 0, var(--orange) 2px, transparent 2px, transparent 22px),
    repeating-linear-gradient(-45deg, var(--orange) 0, var(--orange) 2px, transparent 2px, transparent 22px);
}

.hero-grill-divider {
  height: 14px;
  background-image:
    repeating-linear-gradient(45deg, var(--orange) 0, var(--orange) 2px, transparent 2px, transparent 16px),
    repeating-linear-gradient(-45deg, var(--orange) 0, var(--orange) 2px, transparent 2px, transparent 16px);
  opacity: 0.85;
}

/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 100px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  border: 2px solid transparent;
  cursor: pointer;
  white-space: nowrap;
}
.btn-primary {
  background: var(--orange);
  color: var(--cream);
  box-shadow: 0 6px 0 #A8470A, 0 10px 24px rgba(232,101,10,0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  background: var(--orange-bright);
  box-shadow: 0 8px 0 #A8470A, 0 14px 28px rgba(232,101,10,0.4);
}
.btn-primary:active { transform: translateY(2px); box-shadow: 0 2px 0 #A8470A; }
.btn-ghost {
  border-color: rgba(250,246,240,0.35);
  color: var(--cream);
  background: rgba(250,246,240,0.04);
}
.btn-ghost:hover { border-color: var(--cream); background: rgba(250,246,240,0.1); }
.btn-lg { padding: 18px 40px; font-size: 1.05rem; }

/* ============================================
   NAV
   ============================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(14,12,11,0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
}
.nav-logo-img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
}
.nav-logo-text {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: 0.01em;
}
.nav-logo-text em {
  font-style: normal;
  color: var(--orange);
}
.nav-links {
  display: flex;
  gap: 28px;
}
.nav-links a {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--muted);
  transition: color 0.15s ease;
  position: relative;
}
.nav-links a:hover { color: var(--cream); }
.nav-cta {
  background: var(--orange);
  color: var(--cream);
  padding: 10px 22px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 0.88rem;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  transition: background 0.15s ease;
}
.nav-cta:hover { background: var(--orange-bright); }

.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-burger span {
  display: block;
  height: 2px;
  background: var(--cream);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
  display: none;
  flex-direction: column;
  padding: 8px 24px 20px;
  border-top: 1px solid var(--line);
  background: var(--black);
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  padding: 14px 0;
  font-weight: 600;
  font-size: 1rem;
  border-bottom: 1px solid var(--line);
  color: var(--cream);
}
.nav-mobile-cta {
  margin-top: 16px;
  text-align: center;
  background: var(--orange);
  padding: 14px;
  border-radius: 100px;
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  border-bottom: none !important;
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg-img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 30%;
  filter: saturate(1.05);
}
.hero-scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(14,12,11,0.55) 0%, rgba(14,12,11,0.75) 55%, var(--black) 100%),
    radial-gradient(ellipse at center, rgba(14,12,11,0.3) 0%, rgba(14,12,11,0.8) 75%);
}
.hero-content {
  position: relative;
  z-index: 1;
  padding: 140px 24px 60px;
  max-width: 760px;
}
.hero-eyebrow {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 18px;
}
.hero-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 0.95;
  margin-bottom: 14px;
}
.hero-title-script {
  font-family: var(--font-script);
  font-size: clamp(3rem, 9vw, 5.5rem);
  color: var(--cream);
  transform: rotate(-3deg);
  margin-bottom: -0.1em;
}
.hero-title-bold {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(3.2rem, 11vw, 7rem);
  color: var(--orange);
  letter-spacing: 0.01em;
  text-shadow: 0 6px 0 rgba(0,0,0,0.25);
}
.hero-tagline {
  font-size: clamp(1.05rem, 2.4vw, 1.35rem);
  color: var(--cream);
  font-weight: 500;
  margin-bottom: 36px;
  letter-spacing: 0.01em;
}
.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================
   INTRO STRIP
   ============================================ */
.intro {
  background: var(--orange);
  padding: 36px 24px;
}
.intro-inner {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}
.intro-text {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--black);
  font-weight: 500;
  line-height: 1.6;
}
.intro-text strong { font-weight: 800; }

/* ============================================
   SECTION HEAD (shared)
   ============================================ */
.section-head {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
  margin-bottom: 48px;
}
.section-eyebrow {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 10px;
}
.section-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 4.5vw, 2.8rem);
  color: var(--cream);
}
.section-sub {
  margin-top: 12px;
  color: var(--muted);
  font-size: 1rem;
}

/* ============================================
   MENU
   ============================================ */
.menu {
  padding: 100px 24px 90px;
  max-width: var(--container);
  margin: 0 auto;
}
.menu-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.menu-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
}
.menu-card-featured {
  grid-column: span 2;
  background: linear-gradient(135deg, var(--surface-2), var(--surface));
  border-color: rgba(232,101,10,0.3);
  position: relative;
}
.menu-card-featured::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  border-radius: var(--radius) var(--radius) 0 0;
  background-image: repeating-linear-gradient(45deg, var(--orange) 0, var(--orange) 2px, transparent 2px, transparent 10px);
}
.menu-card-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--cream);
  margin-bottom: 6px;
}
.menu-card-note {
  color: var(--muted);
  font-size: 0.88rem;
  margin-bottom: 20px;
}
.menu-list { display: flex; flex-direction: column; gap: 4px; }
.menu-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px dashed var(--line);
}
.menu-list li:last-child { border-bottom: none; }
.menu-item-name {
  font-weight: 600;
  font-size: 1rem;
  color: var(--cream);
}
.menu-item-name em {
  font-style: normal;
  font-weight: 400;
  color: var(--muted);
  font-size: 0.85rem;
  display: block;
  margin-top: 2px;
}
.menu-item-price {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--amber);
  white-space: nowrap;
  font-size: 1.05rem;
}
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}
.tag {
  background: var(--surface-2);
  border: 1px solid var(--line);
  color: var(--cream);
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 0.88rem;
  font-weight: 500;
}

/* ============================================
   GALLERY
   ============================================ */
.gallery {
  padding: 90px 24px;
  max-width: var(--container);
  margin: 0 auto;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 180px;
  gap: 14px;
}
.gallery-item {
  border-radius: 10px;
  overflow: hidden;
  position: relative;
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-item:hover img { transform: scale(1.08); }

/* Intentional asymmetric layout for 7 photos across a 6-col grid:
   a large lead shot, two standard pairs, then a wide closing pair. */
.gallery-grid > .gallery-item:nth-child(1) { grid-column: span 3; grid-row: span 2; }
.gallery-grid > .gallery-item:nth-child(2) { grid-column: span 3; grid-row: span 1; }
.gallery-grid > .gallery-item:nth-child(3) { grid-column: span 3; grid-row: span 1; }
.gallery-grid > .gallery-item:nth-child(4) { grid-column: span 2; grid-row: span 1; }
.gallery-grid > .gallery-item:nth-child(5) { grid-column: span 2; grid-row: span 1; }
.gallery-grid > .gallery-item:nth-child(6) { grid-column: span 2; grid-row: span 1; }
.gallery-grid > .gallery-item:nth-child(7) { grid-column: span 6; grid-row: span 1; }
.gallery-grid > .gallery-item:nth-child(7) img { object-position: center 35%; }

/* ============================================
   LOCATIONS
   ============================================ */
.locations {
  padding: 90px 24px 100px;
  max-width: var(--container);
  margin: 0 auto;
}
.locations-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.location-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px;
  position: relative;
  overflow: hidden;
}
.location-card::after {
  content: "";
  position: absolute;
  bottom: 0; right: 0;
  width: 90px; height: 90px;
  background-image:
    repeating-linear-gradient(45deg, var(--orange) 0, var(--orange) 2px, transparent 2px, transparent 14px),
    repeating-linear-gradient(-45deg, var(--orange) 0, var(--orange) 2px, transparent 2px, transparent 14px);
  opacity: 0.15;
  mask-image: radial-gradient(circle at bottom right, black 0%, transparent 70%);
}
.location-city {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--orange);
  margin-bottom: 16px;
}
.location-addr {
  color: var(--cream);
  font-size: 1rem;
  line-height: 1.65;
  margin-bottom: 14px;
}
.location-landmark {
  color: var(--muted);
  font-size: 0.9rem;
}
.location-hours {
  font-size: 0.92rem;
  color: var(--amber);
  font-weight: 600;
  margin-bottom: 14px;
}
.location-phone {
  display: inline-block;
  font-weight: 700;
  color: var(--cream);
  border-bottom: 2px solid var(--orange);
  padding-bottom: 2px;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--surface);
  border-top: 1px solid var(--line);
}
.footer-cta {
  text-align: center;
  padding: 90px 24px 70px;
  border-bottom: 1px solid var(--line);
}
.footer-eyebrow { color: var(--orange); margin-bottom: 14px; letter-spacing: 0.2em; }
.footer-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.2rem, 6vw, 3.2rem);
  margin-bottom: 32px;
}
.footer-grid {
  max-width: var(--container);
  margin: 0 auto;
  padding: 60px 24px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
}
.footer-logo {
  width: 56px; height: 56px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 16px;
}
.footer-desc { color: var(--muted); font-size: 0.92rem; line-height: 1.6; max-width: 320px; }
.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--orange);
  margin-bottom: 16px;
}
.footer-col { display: flex; flex-direction: column; }
.footer-col a {
  color: var(--cream);
  padding: 6px 0;
  font-size: 0.95rem;
  transition: color 0.15s ease;
}
.footer-col a:hover { color: var(--amber); }
.footer-bottom {
  text-align: center;
  padding: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.85rem;
}

/* ============================================
   FLOATING WHATSAPP
   ============================================ */
.float-whatsapp {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 58px; height: 58px;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
  z-index: 900;
  transition: transform 0.2s ease;
}
.float-whatsapp:hover { transform: scale(1.08); }

/* ============================================
   SCROLL REVEAL
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 900px) {
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: flex; }
  .menu-grid { grid-template-columns: 1fr; }
  .menu-card-featured { grid-column: span 1; }
  .locations-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 160px;
  }
  .gallery-grid > .gallery-item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
  .gallery-grid > .gallery-item:nth-child(2) { grid-column: span 2; grid-row: span 1; }
  .gallery-grid > .gallery-item:nth-child(3) { grid-column: span 2; grid-row: span 1; }
  .gallery-grid > .gallery-item:nth-child(4) { grid-column: span 1; grid-row: span 1; }
  .gallery-grid > .gallery-item:nth-child(5) { grid-column: span 1; grid-row: span 1; }
  .gallery-grid > .gallery-item:nth-child(6) { grid-column: span 2; grid-row: span 1; }
  .gallery-grid > .gallery-item:nth-child(7) { grid-column: span 2; grid-row: span 1; }
}

@media (max-width: 540px) {
  .hero-content { padding: 120px 20px 50px; }
  .menu, .gallery, .locations { padding-left: 20px; padding-right: 20px; }
  .menu-card { padding: 24px; }
  .footer-cta { padding: 70px 20px 50px; }
}
