/* ============================================================
   DON TACOS — TAQUERÍA PREMIUM | STYLESHEET
   ============================================================ */

/* ---------- CSS VARIABLES ---------- */
:root {
  --black:       #0a0a0a;
  --dark:        #111111;
  --dark2:       #181818;
  --dark3:       #222222;
  --red:         #c8102e;
  --red-glow:    rgba(200,16,46,.25);
  --gold:        #c9a84c;
  --gold-light:  #e8c87a;
  --white:       #f5f0e8;
  --white-dim:   rgba(245,240,232,.7);
  --white-faint: rgba(245,240,232,.12);
  --radius:      12px;
  --radius-lg:   20px;
  --transition:  .35s cubic-bezier(.4,0,.2,1);
}

/* ---------- RESET ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--black);
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  line-height: 1.65;
  overflow-x: hidden;
}
img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { border: none; background: none; cursor: pointer; font-family: inherit; }

/* ---------- TYPOGRAPHY ---------- */
h1,h2,h3 { font-family: 'Bebas Neue', sans-serif; letter-spacing: .04em; line-height: 1.05; }
em { font-family: 'Playfair Display', serif; font-style: italic; color: var(--gold); }

/* ---------- LAYOUT HELPERS ---------- */
.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.section-header { text-align: center; margin-bottom: 64px; }
.section-tag {
  display: inline-block;
  font-size: .75rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--gold);
  padding: 4px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
}
.section-title {
  font-size: clamp(2.8rem, 6vw, 5rem);
  color: var(--white);
  margin-bottom: 16px;
}
.section-sub {
  color: var(--white-dim);
  max-width: 560px;
  margin: 0 auto;
  font-size: 1rem;
}
.hidden { display: none !important; }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: 100px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: .95rem;
  letter-spacing: .05em;
  transition: var(--transition);
  cursor: pointer;
  white-space: nowrap;
}
.btn-primary {
  background: var(--red);
  color: #fff;
  box-shadow: 0 0 28px var(--red-glow);
}
.btn-primary:hover {
  background: #e8102e;
  box-shadow: 0 0 48px rgba(200,16,46,.45);
  transform: translateY(-2px);
}
.btn-outline {
  border: 1.5px solid rgba(245,240,232,.35);
  color: var(--white);
  background: transparent;
}
.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}
.btn.small { padding: 10px 22px; font-size: .85rem; }
.btn.large { padding: 18px 44px; font-size: 1.05rem; }

/* ============================================================
   NAVBAR
   ============================================================ */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 18px 0;
  transition: var(--transition);
}
#navbar.scrolled {
  background: rgba(10,10,10,.95);
  backdrop-filter: blur(16px);
  padding: 12px 0;
  box-shadow: 0 1px 0 rgba(255,255,255,.05);
}
.nav-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo img { height: 52px; width: auto; }
.logo-text-fallback {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.8rem;
  letter-spacing: .1em;
  color: var(--white);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-links a {
  font-size: .875rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--white-dim);
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--gold); }
.nav-cta {
  background: var(--red) !important;
  color: #fff !important;
  padding: 10px 24px !important;
  border-radius: 100px !important;
  font-size: .85rem !important;
}
.nav-cta:hover { opacity: .85; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 4px; }
.nav-toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--white); border-radius: 2px;
  transition: var(--transition);
}

/* ============================================================
   HERO
   ============================================================ */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(0,0,0,.88) 0%,
    rgba(10,10,10,.65) 50%,
    rgba(0,0,0,.8) 100%
  );
}
.hero-grain {
  position: absolute;
  inset: 0;
  opacity: .04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 200px;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  padding-top: 100px;
}
.hero-badge {
  display: inline-block;
  font-size: .75rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(201,168,76,.35);
  padding: 6px 18px;
  border-radius: 100px;
  margin-bottom: 28px;
  animation: fadeUp .8s ease both .2s;
}
.hero-title {
  font-size: clamp(3.5rem, 10vw, 8.5rem);
  line-height: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
  animation: fadeUp .8s ease both .35s;
}
.hero-line3.accent { color: var(--red); }
.hero-sub {
  color: var(--white-dim);
  font-size: 1rem;
  letter-spacing: .1em;
  margin: 20px 0 40px;
  animation: fadeUp .8s ease both .5s;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeUp .8s ease both .65s;
}
.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: .65rem;
  letter-spacing: .2em;
  color: var(--white-dim);
  animation: fadeUp .8s ease both .9s;
}
.scroll-line {
  width: 1px; height: 48px;
  background: linear-gradient(to bottom, rgba(245,240,232,.4), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

/* ============================================================
   TICKER / BANNER
   ============================================================ */
.banners {
  overflow: hidden;
  background: var(--red);
  padding: 14px 0;
  border-top: 1px solid rgba(255,255,255,.08);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.banner-track {
  display: flex;
  white-space: nowrap;
  animation: ticker 28s linear infinite;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.1rem;
  letter-spacing: .15em;
  color: #fff;
  gap: 32px;
  width: max-content;
}
.dot { color: rgba(255,255,255,.5); }

/* ============================================================
   MENÚ
   ============================================================ */
.section-menu {
  padding: 100px 0;
  background: var(--dark);
}
.menu-tabs {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 52px;
}
.tab {
  padding: 10px 28px;
  border-radius: 100px;
  font-size: .8rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--white-dim);
  border: 1.5px solid var(--white-faint);
  transition: var(--transition);
}
.tab:hover { border-color: var(--gold); color: var(--gold); }
.tab.active {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
  box-shadow: 0 0 24px var(--red-glow);
}
.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}
.menu-card {
  background: var(--dark2);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.06);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}
.menu-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0,0,0,.5), 0 0 0 1px rgba(201,168,76,.15);
}
.menu-card-img {
  position: relative;
  height: 220px;
  background: var(--dark3);
  overflow: hidden;
}
.menu-card-img.no-img::before {
  content: '🍖';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  opacity: .25;
}
.menu-card-img img {
  transition: transform .6s ease;
}
.menu-card:hover .menu-card-img img { transform: scale(1.06); }
.menu-card-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--red);
  color: #fff;
  font-size: .65rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 100px;
}
.menu-card-badge.special {
  background: var(--gold);
  color: var(--black);
}
.menu-card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.menu-card-body h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.5rem;
  letter-spacing: .05em;
  margin-bottom: 8px;
  color: var(--white);
}
.menu-card-body p {
  color: var(--white-dim);
  font-size: .88rem;
  line-height: 1.6;
  flex: 1;
}
.menu-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,.07);
}
.price {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.5rem;
  letter-spacing: .04em;
  color: var(--gold);
}
.card-btn {
  padding: 8px 20px;
  background: var(--red);
  color: #fff;
  border-radius: 100px;
  font-size: .78rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  transition: var(--transition);
}
.card-btn:hover {
  background: #e8102e;
  box-shadow: 0 0 20px var(--red-glow);
}
.menu-footer-cta {
  text-align: center;
  margin-top: 60px;
  padding: 0 24px;
}
.menu-footer-cta p {
  color: var(--white-dim);
  margin-bottom: 20px;
}

/* ============================================================
   GALERÍA
   ============================================================ */
.section-galeria {
  padding: 100px 0 0;
  background: var(--black);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto;
  gap: 6px;
  margin-top: 60px;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
  background: var(--dark2);
  cursor: pointer;
}
.gallery-item.tall { grid-row: span 2; aspect-ratio: auto; }
.gallery-item.wide { grid-column: span 2; }
.gallery-item img { transition: transform .6s ease; }
.gallery-item:hover img { transform: scale(1.07); }
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.7) 0%, transparent 50%);
  opacity: 0;
  transition: opacity .35s ease;
  display: flex;
  align-items: flex-end;
  padding: 20px;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay span {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.2rem;
  letter-spacing: .08em;
  color: #fff;
}
.gallery-item.empty-gallery::after {
  content: '📸';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  opacity: .2;
}

/* ============================================================
   NOSOTROS
   ============================================================ */
.section-nosotros {
  padding: 120px 0;
  background: var(--dark);
}
.nosotros-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.nosotros-img-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  background: var(--dark2);
}
.nosotros-img-wrap.no-img-nosotros::before {
  content: '🍖';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  opacity: .15;
}
.nosotros-img-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid rgba(201,168,76,.2);
  border-radius: var(--radius-lg);
  pointer-events: none;
}
.nosotros-badge {
  position: absolute;
  bottom: 28px;
  right: -20px;
  background: var(--red);
  padding: 20px 28px;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: 0 8px 32px rgba(0,0,0,.4);
}
.badge-num {
  display: block;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.2rem;
  line-height: 1;
  color: #fff;
}
.badge-txt {
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.8);
}
.nosotros-content .section-title.left { text-align: left; font-size: clamp(2.5rem,5vw,4rem); }
.nosotros-content .section-tag { display: inline-block; margin-bottom: 16px; }
.nosotros-content p {
  color: var(--white-dim);
  margin-bottom: 18px;
  line-height: 1.75;
}
.nosotros-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 36px;
}
.feat {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.feat-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  margin-top: 2px;
}
.feat strong { display: block; font-size: .9rem; color: var(--white); font-weight: 500; margin-bottom: 2px; }
.feat span { font-size: .8rem; color: var(--white-dim); }

/* ============================================================
   UBICACIÓN
   ============================================================ */
.section-ubicacion {
  padding: 100px 0;
  background: var(--black);
}
.ubicacion-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
  align-items: start;
  margin-top: 16px;
}
.info-block {
  margin-bottom: 40px;
}
.info-block h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.3rem;
  letter-spacing: .06em;
  color: var(--gold);
  margin-bottom: 12px;
}
.info-block p { color: var(--white-dim); line-height: 1.8; margin-bottom: 16px; }
.horarios { display: flex; flex-direction: column; gap: 8px; }
.horarios li {
  display: flex;
  justify-content: space-between;
  color: var(--white-dim);
  font-size: .9rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,.05);
}
.horarios li span:first-child { color: var(--white); }
.horarios li.highlight-day span:first-child { color: var(--gold); }
.closed { color: rgba(200,16,46,.7) !important; }
.birria-note {
  margin-top: 14px;
  font-size: .8rem;
  color: var(--gold);
  background: rgba(201,168,76,.08);
  border: 1px solid rgba(201,168,76,.2);
  padding: 10px 14px;
  border-radius: var(--radius);
}
.ubicacion-mapa {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.08);
  height: 480px;
}
.ubicacion-mapa iframe {
  width: 100%; height: 100%; border: 0;
  filter: invert(90%) hue-rotate(180deg);
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.section-cta {
  position: relative;
  padding: 120px 0;
  text-align: center;
  overflow: hidden;
}
.cta-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.cta-content {
  position: relative;
  z-index: 2;
}
.cta-content h2 {
  font-size: clamp(3rem, 7vw, 6rem);
  margin-bottom: 20px;
}
.cta-content p {
  color: var(--white-dim);
  max-width: 480px;
  margin: 0 auto 36px;
}

/* ============================================================
   FOOTER
   ============================================================ */
#footer {
  background: var(--dark2);
  border-top: 1px solid rgba(255,255,255,.06);
}
.footer-top {
  max-width: 1240px;
  margin: 0 auto;
  padding: 60px 24px;
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 48px;
}
.footer-brand img { height: 56px; width: auto; margin-bottom: 16px; }
.footer-logo-text {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2rem;
  letter-spacing: .1em;
  margin-bottom: 12px;
  display: block;
}
.footer-brand p { color: var(--white-dim); font-size: .85rem; line-height: 1.7; margin-bottom: 20px; }
.footer-socials { display: flex; gap: 14px; }
.footer-socials a {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.12);
  display: flex; align-items: center; justify-content: center;
  color: var(--white-dim);
  transition: var(--transition);
}
.footer-socials a:hover { border-color: var(--gold); color: var(--gold); background: rgba(201,168,76,.1); }
.footer-links h4, .footer-horarios h4 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1rem;
  letter-spacing: .15em;
  color: var(--gold);
  margin-bottom: 20px;
}
.footer-links ul { display: flex; flex-direction: column; gap: 12px; }
.footer-links a { color: var(--white-dim); font-size: .88rem; transition: color var(--transition); }
.footer-links a:hover { color: var(--gold); }
.footer-horarios ul { display: flex; flex-direction: column; gap: 8px; }
.footer-horarios li {
  display: flex;
  justify-content: space-between;
  color: var(--white-dim);
  font-size: .82rem;
  gap: 12px;
}
.footer-horarios li span:first-child { color: var(--white); }
.closed-sm { color: rgba(200,16,46,.6) !important; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 24px;
  text-align: center;
  color: var(--white-dim);
  font-size: .78rem;
  line-height: 1.8;
}

/* ============================================================
   FLOATING WHATSAPP
   ============================================================ */
.float-wa {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 24px rgba(37,211,102,.4);
  transition: transform var(--transition), box-shadow var(--transition);
}
.float-wa:hover {
  transform: scale(1.1) translateY(-4px);
  box-shadow: 0 8px 36px rgba(37,211,102,.55);
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes scrollPulse {
  0%,100% { opacity: .4; transform: scaleY(1); }
  50%      { opacity: 1; transform: scaleY(1.2); }
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   RESPONSIVE — TABLET
   ============================================================ */
@media (max-width: 1024px) {
  .nosotros-inner { grid-template-columns: 1fr; gap: 48px; }
  .nosotros-badge { right: 20px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: span 2; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .ubicacion-grid { grid-template-columns: 1fr; }
  .ubicacion-mapa { height: 360px; }
}

/* ============================================================
   RESPONSIVE — MOBILE
   ============================================================ */
@media (max-width: 768px) {
  /* Nav */
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed;
    inset: 0;
    background: rgba(10,10,10,.98);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 40px;
    transform: translateY(-100%);
    transition: transform var(--transition);
    z-index: 900;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { font-size: 1.1rem; }
  .nav-cta { padding: 14px 36px !important; font-size: 1rem !important; }

  /* Hero */
  .hero-title { font-size: clamp(2.6rem, 12vw, 5rem); }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { justify-content: center; }

  /* Sections */
  .section-menu, .section-galeria, .section-nosotros,
  .section-ubicacion, .section-cta { padding: 72px 0; }

  /* Menu grid */
  .menu-grid { grid-template-columns: 1fr; padding: 0 16px; }

  /* Gallery */
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 4px;
  }
  .gallery-item.tall { grid-row: span 1; aspect-ratio: 1; }
  .gallery-item.wide { grid-column: span 2; }

  /* Nosotros */
  .nosotros-features { grid-template-columns: 1fr; }
  .nosotros-badge { right: 12px; bottom: 12px; }

  /* Footer */
  .footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer-brand { grid-column: span 1; }

  /* Float WA */
  .float-wa { bottom: 20px; right: 20px; width: 52px; height: 52px; }
}

@media (max-width: 480px) {
  .hero-title { font-size: clamp(2.2rem, 10vw, 3.5rem); }
  .section-title { font-size: clamp(2rem, 9vw, 3rem); }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item.wide, .gallery-item.tall { grid-column: span 1; }
  .container { padding: 0 16px; }
}
