/* Tacos El Vaquero — tacoselvaquero.com.mx (rediseño 2026-11-08, BIT-1165)
   Paleta tomada del menú impreso: rojo El Vaquero, negro carbón, crema. */
:root {
  --gutter: clamp(1rem, 4vw, 3rem);
  --negro: #121010;
  --carbon: #1c1716;
  --carbon-2: #262020;
  --crema: #f6efe6;
  --crema-tenue: rgba(246, 239, 230, .68);
  --linea: rgba(246, 239, 230, .14);
  --rojo: #e3262f;
  --rojo-osc: #b51820;
  --oro: #f2b33d;
  --radio: 14px;
  --ancho: 1120px;
  --barra-alto: 64px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--barra-alto) + 12px); }
body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  background: var(--negro);
  color: var(--crema);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
strong { color: #fff; }

/* Contenedor común: barra y portada comparten la misma sangría */
.contenedor { width: min(var(--ancho), 100% - 2 * var(--gutter)); margin-inline: auto; }

/* Botones */
.btn {
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center;
  gap: .1rem; padding: .85rem 1.6rem; border-radius: 999px;
  font-weight: 800; text-decoration: none; text-transform: uppercase; letter-spacing: .07em; font-size: .9rem;
  border: 2px solid transparent; transition: background .2s, color .2s, transform .2s, border-color .2s;
  text-align: center;
}
.btn small { font-size: .7rem; font-weight: 600; letter-spacing: .04em; text-transform: none; opacity: .85; }
.btn--rojo { background: var(--rojo); color: #fff; }
.btn--rojo:hover { background: var(--rojo-osc); transform: translateY(-2px); }
.btn--linea { border-color: var(--crema); color: var(--crema); }
.btn--linea:hover { background: var(--crema); color: var(--negro); }
.btn--chico { padding: .55rem 1.1rem; font-size: .8rem; }
.btn--grande { padding: 1.05rem 2rem; font-size: 1.05rem; width: 100%; max-width: 420px; }
:focus-visible { outline: 3px solid var(--oro); outline-offset: 3px; }

/* Barra superior */
.barra {
  position: sticky; top: 0; z-index: 20; height: var(--barra-alto);
  background: rgba(18, 16, 16, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--linea);
}
.barra__inner { height: 100%; display: flex; align-items: center; justify-content: flex-end; gap: 1.5rem; }
.barra__marca { display: flex; align-items: center; gap: .6rem; text-decoration: none; font-weight: 900; text-transform: uppercase; letter-spacing: .06em; }
.barra__marca img { height: 44px; width: auto; }
.barra__enlaces { display: flex; gap: 1.6rem; margin-left: auto; }
.barra__enlaces a { text-decoration: none; font-size: .85rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--crema-tenue); }
.barra__enlaces a:hover { color: var(--crema); }
@media (max-width: 820px) {
  .barra { display: none; }   /* en el celular manda la barra fija de abajo */
  html { scroll-padding-top: 12px; }
}

/* Hero */
.hero {
  position: relative; min-height: min(92vh, 860px);
  display: flex; align-items: center; justify-content: center; text-align: center;
  padding: 3.5rem 0 3rem;
  background:
    radial-gradient(ellipse at 20% 110%, rgba(227, 38, 47, .22), transparent 55%),
    linear-gradient(100deg, rgba(18, 16, 16, .62) 0%, rgba(18, 16, 16, .22) 50%, rgba(18, 16, 16, 0) 100%),
    linear-gradient(rgba(18, 16, 16, 0), rgba(18, 16, 16, .45)),
    url("fondo-hero-2f9cf299.jpg") center / cover no-repeat;
}
.hero__grid { display: grid; gap: 2.5rem; align-items: center; }
.hero__contenido { max-width: 820px; margin: 0 auto; }
.hero__col-fotos { display: flex; flex-direction: column; gap: 1rem; align-items: center; width: 100%; }
.sello.sello--hero { display: inline-flex; flex-direction: row; align-items: stretch; margin: 0; }
.sello.sello--hero .sello__usda { border-radius: 10px 0 0 10px; border-right: 0; border-bottom: 2px solid #fff; display: flex; align-items: center; font-size: .8rem; padding: .35rem .7rem; }
.sello.sello--hero .sello__prime { border-radius: 0 10px 10px 0; display: flex; align-items: center; font-size: 1.05rem; padding: .35rem .8rem; }
.sello__texto { align-self: center; margin-left: .9rem; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--crema-tenue); }
.hero__fotos { display: grid; grid-template-columns: repeat(3, 1fr); gap: .7rem; max-width: 720px; margin: 0 auto; width: 100%; }
.hero__foto { display: block; border-radius: 16px; overflow: hidden; box-shadow: 0 18px 40px rgba(0, 0, 0, .55); }
.hero__foto img { width: 100%; height: 100%; object-fit: cover; display: block; aspect-ratio: 3 / 4; }

.sello { display: inline-flex; flex-direction: column; align-items: stretch; margin-bottom: 1rem; font-weight: 900; letter-spacing: .12em; line-height: 1; }
.sello__usda { background: #111; color: #fff; border: 2px solid #fff; border-bottom: 0; border-radius: 8px 8px 0 0; padding: .35rem .9rem; font-size: .85rem; }
.sello__prime { background: var(--rojo); color: #fff; border: 2px solid #fff; border-radius: 0 0 14px 14px; padding: .4rem .9rem .5rem; font-size: 1.15rem; }
.sello--chico { margin: 0; vertical-align: middle; }
.sello--chico .sello__usda { font-size: .58rem; padding: .22rem .55rem; border-width: 1.5px; border-radius: 5px 5px 0 0; }
.sello--chico .sello__prime { font-size: .78rem; padding: .22rem .55rem .3rem; border-width: 1.5px; border-radius: 0 0 9px 9px; }
.hero h1 { font-size: clamp(2.6rem, 9vw, 5.4rem); font-weight: 900; text-transform: uppercase; line-height: .95; letter-spacing: .01em; }
.hero__logo { display: block; width: min(300px, 62vw); height: auto; margin: 0 auto; opacity: .62; }
.hero h1 span { display: block; margin-top: 1.1rem; font-size: clamp(1.7rem, 4.2vw, 2.9rem); font-weight: 900; letter-spacing: .02em; line-height: 1.05; color: var(--crema); }
.hero__lema { margin-top: 1rem; font-size: clamp(1.1rem, 3.5vw, 1.5rem); font-style: italic; color: var(--crema-tenue); }
.hero__datos { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; margin-top: 1.6rem; }
.hero__datos li { border: 1px solid var(--linea); background: rgba(0, 0, 0, .35); border-radius: 999px; padding: .3rem .85rem; font-size: .84rem; color: var(--crema-tenue); }
.hero__datos strong { color: var(--oro); }
.hero__botones { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; margin-top: 2rem; }
.hero__idioma { margin-top: 1rem; font-size: .85rem; }
.hero__idioma a { color: var(--crema-tenue); text-underline-offset: 3px; }
.hero__abierto { margin-top: 1.2rem; font-weight: 700; font-size: .95rem; }
.hero__abierto.si::before, .hero__abierto.no::before { content: ""; display: inline-block; width: .6rem; height: .6rem; border-radius: 50%; margin-right: .5rem; vertical-align: middle; }
.hero__abierto.si::before { background: #3ecf6e; box-shadow: 0 0 0 4px rgba(62, 207, 110, .2); }
.hero__abierto.no::before { background: var(--rojo); }

@media (min-width: 1024px) {
  .hero { text-align: left; padding: 3.25rem 0 3rem; }
  .hero__grid { grid-template-columns: 1.02fr 1fr; gap: clamp(2.5rem, 5vw, 5rem); }
  .hero__contenido { margin: 0; }
  .hero__logo { margin: 0; width: min(280px, 100%); }
  .hero__lema { margin-top: .7rem; }
  .hero__datos { margin-top: 1.2rem; }
  .hero__botones { margin-top: 1.5rem; }
  .hero__datos, .hero__botones { justify-content: flex-start; }
  .hero__col-fotos { align-items: flex-start; }
  .hero__fotos { grid-template-columns: 1.3fr 1fr; grid-template-rows: 1fr 1fr; height: min(580px, 64vh); max-width: none; }
  .hero__foto--a { grid-row: 1 / 3; }
  .hero__foto--a img, .hero__foto--b img, .hero__foto--c img { aspect-ratio: auto; height: 100%; }
  .hero__foto--b { transform: translateY(-.6rem); }
  .hero__foto--c { transform: translateY(.6rem); }
}
/* Laptops bajos (1366×768, 1280×720): que logo, bajada y botones quepan sin hacer scroll */
@media (min-width: 1024px) and (max-height: 820px) {
  .hero { min-height: auto; padding-top: 2.5rem; padding-bottom: 2.5rem; }
  .hero__logo { width: min(220px, 100%); }
  .hero__datos { display: none; }
  .hero__botones { margin-top: 1.1rem; }
  .hero__fotos { height: min(460px, 58vh); }
}

/* Secciones */
.seccion { max-width: var(--ancho); margin: 0 auto; padding: clamp(3.5rem, 8vw, 6rem) clamp(1rem, 4vw, 2rem); }
.eyebrow { color: var(--rojo); font-weight: 800; text-transform: uppercase; letter-spacing: .2em; font-size: .78rem; margin-bottom: .5rem; }
h2 { font-size: clamp(1.8rem, 5vw, 2.8rem); font-weight: 900; text-transform: uppercase; line-height: 1.05; margin-bottom: 1.2rem; }
h3 { font-size: 1.25rem; font-weight: 900; text-transform: uppercase; letter-spacing: .06em; }

/* La carne */
.carne { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.carne__texto p { color: var(--crema-tenue); margin-bottom: 1rem; font-size: 1.05rem; }
.puntos { list-style: none; display: grid; gap: .6rem; margin-top: 1.5rem; }
.puntos li { display: flex; align-items: center; gap: .9rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; }
.puntos span { color: var(--rojo); font-size: .8rem; border: 2px solid var(--rojo); border-radius: 50%; width: 2.3rem; height: 2.3rem; display: grid; place-items: center; flex: none; }
.carne__fotos { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; }
.carne__fotos img { aspect-ratio: 9 / 16; object-fit: cover; border-radius: var(--radio); width: 100%; }
.carne__fotos picture { display: block; }
.carne__fotos > :nth-child(2) { transform: translateY(1.5rem); }
@media (max-width: 820px) { .carne { grid-template-columns: 1fr; } .carne__fotos > :nth-child(2) { transform: none; } }

/* Menú */
.menu { border-top: 1px solid var(--linea); }
.menu__intro { color: var(--crema-tenue); margin: -.4rem 0 2rem; }
.menu__rejilla { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.2rem; align-items: start; }
.menu__tarjeta { background: var(--carbon); border: 1px solid var(--linea); border-radius: var(--radio); padding: 1.5rem 1.4rem; }
.menu__tarjeta--destacada { grid-column: 1 / -1; background: linear-gradient(135deg, #2a1010, var(--carbon) 55%); border-color: rgba(227, 38, 47, .55); }
.menu__tabla { width: 100%; border-collapse: collapse; margin-top: .4rem; }
.menu__tabla th { text-align: left; font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--crema-tenue); padding: .2rem 0 .6rem; border-bottom: 1px solid var(--linea); }
.menu__tabla td { padding: .65rem 0; border-bottom: 1px dashed var(--linea); vertical-align: baseline; }
.menu__tabla td:first-child { font-weight: 700; }
.menu__tabla td:nth-child(2) { color: var(--crema-tenue); font-size: .9rem; }
.menu__tabla th:last-child, .menu__tabla td:last-child { text-align: right; }
.menu__tabla tr:last-child td { border-bottom: 0; }
.menu__tabla .precio { font-size: 1.2rem; }
.menu__tarjeta h3 { display: flex; align-items: center; gap: .8rem; flex-wrap: wrap; margin-bottom: .3rem; }
.mini-sello { background: var(--rojo); color: #fff; font-size: .68rem; letter-spacing: .14em; padding: .25rem .6rem; border-radius: 6px; }
.menu__nota { color: var(--crema-tenue); font-size: .9rem; margin-bottom: .8rem; }
.menu__lista { list-style: none; }
.menu__rejilla { grid-template-columns: repeat(3, 1fr); }
.menu__tarjeta--ancha { grid-column: 1 / -1; }
.menu__grupos { display: grid; grid-template-columns: 1fr 1fr; gap: 0 2.5rem; }
.menu__grupos h4 { border-top: 0; margin-top: .4rem; padding-top: 0; }
@media (max-width: 960px) { .menu__rejilla { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .menu__rejilla, .menu__grupos { grid-template-columns: 1fr; } .menu__grupos > div + div h4 { border-top: 1px solid var(--linea); padding-top: .8rem; margin-top: 1rem; } }
.menu__lista li { display: flex; align-items: baseline; gap: .5rem; padding: .55rem 0; border-bottom: 1px dashed var(--linea); break-inside: avoid; }
.menu__lista li:last-child { border-bottom: 0; }
.plato { font-weight: 700; }
.plato small { display: block; font-weight: 500; font-size: .8rem; color: var(--crema-tenue); }
.puntos-guia { flex: 1; }
.precio { font-weight: 900; color: var(--oro); white-space: nowrap; font-variant-numeric: tabular-nums; }
.menu__tarjeta--destacada .precio { font-size: 1.2rem; }
.menu__tarjeta h4 { display: flex; justify-content: space-between; gap: 1rem; margin: 1rem 0 .2rem; padding-top: .8rem; border-top: 1px solid var(--linea); text-transform: uppercase; letter-spacing: .06em; font-size: .9rem; }
.menu__tarjeta h4:first-of-type { border-top: 0; margin-top: .4rem; padding-top: 0; }
.menu__lista--grupo li { padding: .35rem 0; }
.menu__avisos { list-style: none; margin-top: 1rem; padding: .8rem 1rem; border-left: 3px solid var(--rojo); background: rgba(227, 38, 47, .08); border-radius: 0 8px 8px 0; font-size: .9rem; }
.menu__avisos li + li { margin-top: .2rem; }

/* Galería */
.galeria { display: grid; grid-template-columns: repeat(4, 1fr); gap: .6rem; padding-top: 0; }
.galeria img { aspect-ratio: 9 / 14; object-fit: cover; border-radius: var(--radio); width: 100%; }
@media (max-width: 820px) { .galeria { grid-template-columns: repeat(2, 1fr); } }

/* Reseñas */
.resenas { border-top: 1px solid var(--linea); text-align: center; }
.resenas__resumen { margin-bottom: 2rem; }
.resenas__nota { display: flex; align-items: center; justify-content: center; gap: .8rem; font-size: clamp(3rem, 9vw, 4.5rem); font-weight: 900; line-height: 1; }
.estrellas { font-size: 1.6rem; color: var(--oro); letter-spacing: .1em; }
.resenas__cuantas { color: var(--crema-tenue); margin-top: .4rem; }
.cita { max-width: 760px; margin: 0 auto 2.2rem; padding: 1.2rem 1.5rem; border-left: 3px solid var(--rojo); background: var(--carbon); border-radius: 0 var(--radio) var(--radio) 0; text-align: left; }
.cita p { font-size: 1.1rem; font-style: italic; line-height: 1.5; }
.cita footer { margin-top: .6rem; font-size: .85rem; color: var(--crema-tenue); }
.cita a { color: var(--crema); text-decoration-color: var(--rojo); text-underline-offset: 3px; }
.resenas__lista { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1rem; text-align: left; }
.resena { background: var(--carbon); border: 1px solid var(--linea); border-radius: var(--radio); padding: 1.3rem; display: flex; flex-direction: column; gap: .7rem; }
.resena__cabeza { display: flex; align-items: center; gap: .7rem; }
.resena__foto { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; flex: none; background: var(--carbon-2); display: grid; place-items: center; font-weight: 900; color: var(--oro); }
.resena__autor { font-weight: 800; text-decoration: none; }
.resena__autor:hover { text-decoration: underline; }
.resena__meta { font-size: .8rem; color: var(--crema-tenue); }
.resena__estrellas { color: var(--oro); letter-spacing: .08em; }
.resena__texto { color: var(--crema); font-size: .95rem; display: -webkit-box; -webkit-line-clamp: 7; -webkit-box-orient: vertical; overflow: hidden; }
.resena__pie { margin-top: auto; font-size: .75rem; color: var(--crema-tenue); }
.resenas__botones { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; margin-top: 2rem; }
.resenas__fuente { margin-top: 1rem; font-size: .75rem; color: var(--crema-tenue); }

/* Visítanos */
.visitanos { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(2rem, 5vw, 3.5rem); align-items: stretch; border-top: 1px solid var(--linea); }
.direccion { font-size: 1.35rem; font-weight: 800; line-height: 1.35; margin-bottom: .8rem; }
.ficha { color: var(--crema-tenue); margin-bottom: .8rem; }
.ficha a, .carne__texto a { color: var(--crema); text-decoration-color: var(--rojo); text-underline-offset: 3px; }
.unica { color: var(--crema-tenue); font-size: .95rem; margin-bottom: 1.4rem; padding: .7rem 1rem; border: 1px solid var(--linea); border-radius: 10px; }
.horario { width: 100%; border-collapse: collapse; margin-top: 1.6rem; }
.horario th, .horario td { padding: .6rem 0; border-bottom: 1px solid var(--linea); text-align: left; font-weight: 600; }
.horario td { text-align: right; }
.horario tr.hoy th, .horario tr.hoy td { color: var(--oro); }
.horario tr.hoy th::after { content: " · hoy"; font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; }
.servicios { margin-top: 1rem; color: var(--crema-tenue); font-size: .9rem; }
.visitanos__mapa { min-height: 380px; border-radius: var(--radio); overflow: hidden; border: 1px solid var(--linea); background: var(--carbon); }
.visitanos__mapa iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; filter: grayscale(.25) contrast(1.05); }
@media (max-width: 820px) { .visitanos { grid-template-columns: 1fr; } }

/* Preguntas */
.faq { border-top: 1px solid var(--linea); max-width: 860px; }
.faq__grupo + .faq__grupo { margin-top: 2.2rem; }
.faq__grupo-titulo { color: var(--rojo); font-size: .8rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; margin-bottom: .3rem; }
.faq__item summary h3 { display: inline; font-size: 1rem; font-weight: 800; text-transform: none; letter-spacing: 0; }
.faq__item p a { color: var(--crema); text-decoration-color: var(--rojo); text-underline-offset: 3px; }
.faq__item { border-bottom: 1px solid var(--linea); }
.faq__item summary { cursor: pointer; list-style: none; padding: 1.1rem 2rem 1.1rem 0; font-weight: 800; position: relative; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; position: absolute; right: .2rem; top: .9rem; font-size: 1.4rem; color: var(--rojo); transition: transform .2s; }
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p { color: var(--crema-tenue); padding-bottom: 1.1rem; }

/* Redes y pie */
.redes { text-align: center; border-top: 1px solid var(--linea); }
.redes__lista { display: flex; justify-content: center; gap: .8rem; flex-wrap: wrap; }
.redes__lista a { display: flex; align-items: center; gap: .55rem; padding: .7rem 1.3rem; border: 2px solid var(--linea); border-radius: 999px; text-decoration: none; font-weight: 700; transition: border-color .2s, background .2s; }
.redes__lista a:hover { border-color: var(--rojo); background: rgba(227, 38, 47, .12); }
.redes__lista svg { width: 20px; height: 20px; fill: currentColor; }
.pie { text-align: center; padding: 2rem 1rem 6rem; color: var(--crema-tenue); font-size: .85rem; border-top: 1px solid var(--linea); }
.pie p + p { margin-top: .3rem; }
.pie__logo { height: 72px; width: auto; margin: 0 auto 1rem; opacity: .9; }

/* Barra fija del celular */
.movil-barra { display: none; }
@media (max-width: 820px) {
  .movil-barra {
    display: grid; grid-template-columns: 2fr 1fr; gap: .6rem; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
    padding: .7rem 1rem calc(.7rem + env(safe-area-inset-bottom)); background: rgba(18, 16, 16, .96); border-top: 1px solid var(--linea);
  }
  .movil-barra .btn { padding: .8rem 1rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
@media print { .barra, .movil-barra, .visitanos__mapa, .redes { display: none; } body { background: #fff; color: #000; } }
