/* ==========================================================
   Birria La 66 — paleta tomada del logo y del menú
   ========================================================== */
:root {
  --maroon: #74280f;       /* fondo del logo */
  --maroon-dark: #4a1808;
  --orange: #c75727;       /* círculo del logo */
  --orange-bright: #d25302;/* títulos del menú */
  --cream: #f1deb6;        /* fondo del menú */
  --cream-light: #faf1de;
  --bandana: #c8483a;      /* paliacate del toro */
  --blond: #f2d64b;        /* copete del toro */
  --ink: #1a0f0a;          /* letras del logo */
  --white: #fffaf2;

  --font-display: "Rye", Georgia, serif;
  --font-head: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "Barlow", system-ui, sans-serif;

  --radius: 14px;
  --shadow: 0 10px 30px rgba(26, 15, 10, .25);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; }

.wrap { width: min(1140px, 100% - 32px); margin-inline: auto; }

.eyebrow {
  font-family: var(--font-head);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .9rem;
  color: var(--orange-bright);
  margin: 0 0 .4rem;
}

h1, h2, h3 { line-height: 1.05; margin: 0; }
h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--maroon);
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .85rem 1.5rem;
  border-radius: 999px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  text-decoration: none;
  border: 2px solid transparent;
  transition: transform .15s ease, background .2s ease, color .2s ease;
}
.btn svg { width: 20px; height: 20px; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--orange); color: var(--white); box-shadow: 0 6px 0 var(--maroon-dark); }
.btn-primary:hover { background: var(--orange-bright); }
.btn-ghost { border-color: var(--cream); color: var(--cream); }
.btn-ghost:hover { background: var(--cream); color: var(--maroon); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(74, 24, 8, .96);
  backdrop-filter: blur(6px);
  border-bottom: 3px solid var(--orange);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand {
  display: flex; align-items: center; gap: .6rem;
  text-decoration: none;
  font-family: var(--font-display);
  color: var(--cream);
  font-size: 1.3rem;
}
.brand img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }

.nav-links { list-style: none; display: flex; gap: 1.6rem; margin: 0; padding: 0; align-items: center; }
.nav-links a {
  font-family: var(--font-head);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  text-decoration: none;
  color: var(--cream);
}
.nav-links a:hover { color: var(--blond); }
.nav-links .nav-cta {
  background: var(--orange);
  padding: .45rem 1rem;
  border-radius: 999px;
  color: var(--white);
}
.nav-links .nav-cta:hover { background: var(--orange-bright); color: var(--white); }

.nav-toggle {
  display: none;
  background: none; border: 0; padding: 8px; cursor: pointer;
}
.nav-toggle span { display: block; width: 26px; height: 3px; margin: 5px 0; background: var(--cream); border-radius: 2px; transition: .2s; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(circle at 75% 45%, rgba(199, 87, 39, .55), transparent 55%),
    var(--maroon);
  color: var(--cream);
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: 2rem;
  padding: 4.5rem 0 5.5rem;
}
.hero .eyebrow { color: var(--blond); }
.hero h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(3.4rem, 10vw, 6.5rem);
  color: var(--white);
  text-shadow: 5px 5px 0 var(--ink);
  margin-bottom: 1.2rem;
}
.lead { font-size: 1.2rem; max-width: 34ch; margin: 0 0 2rem; color: var(--cream-light); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }
.hero-logo img {
  width: min(440px, 100%);
  height: auto;
  margin-inline: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
  border: 6px solid var(--cream);
  box-shadow: 0 0 0 10px var(--orange), var(--shadow);
}

/* tira de cuadros rojos y blancos, como los manteles */
.checker {
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 28px;
  background:
    conic-gradient(var(--bandana) 25%, var(--white) 0 50%, var(--bandana) 0 75%, var(--white) 0)
    0 0 / 28px 28px;
}

/* ---------- Secciones ---------- */
section { padding: 5rem 0; }
.section-head { text-align: center; margin-bottom: 2.5rem; }
.section-head.light h2 { color: var(--cream); }
.section-head.light .eyebrow { color: var(--blond); }

/* ---------- Menú ---------- */
.menu-section { background: var(--cream); }

.menu-original { margin: 0 auto 3rem; max-width: 960px; }
.menu-zoom {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  outline: 4px solid var(--maroon);
  outline-offset: 0;
}
.menu-zoom img { width: 100%; height: auto; }
.zoom-hint {
  position: absolute; right: 12px; bottom: 12px;
  background: rgba(26, 15, 10, .8); color: var(--cream);
  font-family: var(--font-head); font-weight: 600; letter-spacing: .05em;
  padding: .3rem .8rem; border-radius: 999px; font-size: .9rem;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.25rem;
}
.menu-card {
  background: var(--cream-light);
  border: 3px solid var(--ink);
  border-radius: var(--radius);
  padding: 1.4rem 1.4rem 1.2rem;
  box-shadow: 6px 6px 0 var(--orange);
}
.menu-card h3 {
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--orange-bright);
  font-size: 1.8rem;
  margin-bottom: .8rem;
}
.menu-card h3.sub { font-size: 1.4rem; margin-top: 1.2rem; }
.menu-card ul { list-style: none; margin: 0; padding: 0; }
.menu-card li {
  display: flex; justify-content: space-between; align-items: baseline; gap: .8rem;
  padding: .4rem 0;
  border-bottom: 1px dashed rgba(26, 15, 10, .25);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.15rem;
  text-transform: uppercase;
}
.menu-card li:last-child { border-bottom: 0; }
.menu-card li span { display: flex; flex-direction: column; }
.menu-card li small {
  font-size: .8rem; font-weight: 500; letter-spacing: .04em; color: #6b4a36;
}
.menu-card li b { color: var(--orange-bright); white-space: nowrap; font-weight: 800; }
.tag {
  font-style: italic;
  font-weight: 800;
  color: #2d8fd5;
  letter-spacing: .02em;
}
.menu-note { margin: .9rem 0 0; font-size: .95rem; line-height: 1.5; }
.menu-note strong { color: var(--orange-bright); font-family: var(--font-head); text-transform: uppercase; letter-spacing: .05em; }

.order-banner {
  margin: 3rem auto 0;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .4rem 1.2rem;
  width: fit-content; max-width: 100%;
  padding: 1rem 2rem;
  background: var(--orange-bright);
  color: var(--white);
  text-decoration: none;
  border-radius: 10px;
  transform: rotate(-1.5deg);
  box-shadow: 8px 8px 0 var(--ink);
  transition: transform .2s ease;
}
.order-banner:hover { transform: rotate(0) scale(1.03); }
.order-label { font-family: var(--font-head); font-weight: 800; text-transform: uppercase; letter-spacing: .12em; font-size: 1.3rem; color: var(--ink); }
.order-number { font-family: var(--font-head); font-weight: 800; font-size: clamp(2rem, 7vw, 3.2rem); line-height: 1; }

/* ---------- Galería ---------- */
.gallery-section { background: var(--maroon); }
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.shot {
  position: relative;
  padding: 0; border: 0; background: none;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  cursor: zoom-in;
  box-shadow: var(--shadow);
}
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.shot:hover img { transform: scale(1.06); }
.shot span {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 2rem 1rem .9rem;
  background: linear-gradient(transparent, rgba(26, 15, 10, .85));
  color: var(--white);
  font-family: var(--font-head); font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
  text-align: left;
  font-size: 1.1rem;
}

/* ---------- Ubicación / Redes ---------- */
.visit-section { background: var(--cream); }
.visit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.visit-card {
  background: var(--orange);
  color: var(--white);
  border-radius: var(--radius);
  padding: 2.2rem;
  box-shadow: 8px 8px 0 var(--maroon);
}
.visit-card h2 { color: var(--white); text-shadow: 3px 3px 0 var(--ink); margin-bottom: .6rem; }
.visit-card .eyebrow { color: var(--blond); }
.visit-card p { margin: 0 0 1.5rem; }
.visit-card .btn-primary { background: var(--maroon); box-shadow: 0 6px 0 var(--ink); }
.visit-card .btn-primary:hover { background: var(--maroon-dark); }

.socials { list-style: none; margin: 0; padding: 0; display: grid; gap: .75rem; }
.socials a {
  display: flex; align-items: center; gap: 1rem;
  padding: .75rem 1rem;
  background: var(--cream-light);
  color: var(--ink);
  border-radius: 12px;
  text-decoration: none;
  transition: transform .15s ease, background .2s ease;
}
.socials a:hover { transform: translateX(4px); background: var(--white); }
.socials svg { width: 30px; height: 30px; color: var(--maroon); flex: none; }
.socials span { display: flex; flex-direction: column; line-height: 1.25; }
.socials b { font-family: var(--font-head); text-transform: uppercase; letter-spacing: .06em; font-size: 1.1rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--cream); padding: 2.5rem 0 1.5rem; }
.footer-inner { display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap; }
.footer-inner img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }
.footer-inner p { margin: 0; }
.footer-brand { font-family: var(--font-display); font-size: 1.4rem; color: var(--orange); }
.footer-inner a { color: var(--blond); }
.footer-social { list-style: none; display: flex; gap: .6rem; margin: 0 0 0 auto; padding: 0; }
.footer-social a {
  display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--maroon); color: var(--cream);
  transition: background .2s ease;
}
.footer-social a:hover { background: var(--orange); }
.footer-social svg { width: 20px; height: 20px; }
.copyright { text-align: center; margin: 2rem 0 0; font-size: .85rem; opacity: .6; }

/* ---------- Lightbox ---------- */
.lightbox {
  border: 0; padding: 0; background: transparent;
  max-width: 95vw; max-height: 92vh;
}
.lightbox::backdrop { background: rgba(26, 15, 10, .9); }
.lightbox img { max-width: 95vw; max-height: 92vh; border-radius: 10px; object-fit: contain; }
.lightbox-close {
  position: fixed; top: 14px; right: 18px;
  width: 46px; height: 46px; border-radius: 50%;
  border: 0; background: var(--orange); color: var(--white);
  font-size: 2rem; line-height: 1; cursor: pointer;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .visit-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: var(--maroon-dark);
    border-bottom: 3px solid var(--orange);
    max-height: 0; overflow: hidden;
    transition: max-height .3s ease;
  }
  .nav-links.open { max-height: 400px; }
  .nav-links li { width: 100%; text-align: center; }
  .nav-links a { display: block; padding: 1rem; }
  .nav-links .nav-cta { border-radius: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

  .hero-inner { grid-template-columns: 1fr; text-align: center; padding: 3rem 0 4.5rem; }
  .hero-logo { order: -1; }
  .hero-logo img { width: min(260px, 75%); }
  .lead { margin-inline: auto; }
  .hero-actions { justify-content: center; }

  section { padding: 3.5rem 0; }
  .visit-card { padding: 1.6rem; }
  .footer-social { margin: 0; }
}

@media (max-width: 420px) {
  .gallery { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
