/* =========================================================
   BUFFALO · Hamburguesería artesanal (web demo)
   Estudio Web GT
   ---------------------------------------------------------
   Para cambiar la marca entera, edita las variables de :root
   ========================================================= */

:root {
  /* Paleta */
  --carbon: #121010;
  --carbon-2: #1b1715;
  --carbon-3: #2a2320;
  --red: #c62b1f;
  --burgundy: #7a1616;
  --mustard: #e8a630;
  --cream: #f3e9d8;
  --cream-2: #e8dbc3;
  --ink: #1a1412;

  --text-light: #f3e9d8;
  --text-muted: rgba(243, 233, 216, 0.72);
  --text-dark-muted: #5b4c43;

  /* Tipografía */
  --font-display: 'Anton', 'Impact', 'Arial Narrow', sans-serif;
  --font-label: 'Oswald', 'Arial Narrow', sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* Medidas */
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 18px;
  --header-h: 72px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--carbon);
  color: var(--text-light);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

/* Grano sutil de película sobre toda la web */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img, svg, video, iframe { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 400; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }

:focus-visible {
  outline: 3px solid var(--mustard);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection { background: var(--mustard); color: var(--ink); }

/* Scrollbar personalizada */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--carbon); }
::-webkit-scrollbar-thumb { background: var(--burgundy); border-radius: 10px; border: 2px solid var(--carbon); }
html { scrollbar-color: var(--burgundy) var(--carbon); }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 200;
  background: var(--mustard);
  color: var(--ink);
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
}
.skip-link:focus { top: 16px; }

/* ---------- Tipos reutilizables ---------- */
.eyebrow {
  font-family: var(--font-label);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: .8rem;
  color: var(--mustard);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: .75rem;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: currentColor;
  flex: none;
}
.eyebrow--dark { color: var(--burgundy); }
.eyebrow--cream { color: var(--cream); }

.title {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 7vw, 5.2rem);
  line-height: .95;
  text-transform: uppercase;
  letter-spacing: .01em;
  color: var(--ink);
  margin-bottom: 1.5rem;
}
.title--light { color: var(--cream); }

.accent { color: var(--mustard); }
.accent--red { color: var(--red); }

.section { padding: clamp(80px, 12vw, 150px) 0; position: relative; }
.section--cream { background: var(--cream); color: var(--ink); }
.section--dark { background: var(--carbon); }
.section--red { background: var(--burgundy); }

.section-head { margin-bottom: clamp(40px, 6vw, 64px); }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6em;
  min-height: 52px;
  padding: 0 28px;
  border-radius: 999px;
  font-family: var(--font-label);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform .3s var(--ease), background-color .3s, color .3s, border-color .3s, box-shadow .3s;
}
.btn:hover { transform: translateY(-3px); }
.btn .i { width: 20px; height: 20px; }

.btn--red { background: var(--red); color: #fff; box-shadow: 0 10px 30px -10px rgba(198, 43, 31, .8); }
.btn--red:hover { background: #dd3426; }
.btn--ghost { border-color: rgba(243, 233, 216, .5); color: var(--cream); background: rgba(18, 16, 16, .25); backdrop-filter: blur(6px); }
.btn--ghost:hover { border-color: var(--cream); background: var(--cream); color: var(--ink); }
.btn--cream { background: var(--cream); color: var(--ink); }
.btn--cream:hover { background: #fff; }
.btn--outline-cream { border-color: var(--cream); color: var(--cream); }
.btn--outline-cream:hover { background: var(--cream); color: var(--red); }
.btn--lg { min-height: 60px; padding: 0 34px; font-size: 1.05rem; }

/* =========================================================
   NAVEGACIÓN
   ========================================================= */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-h);
  transition: background-color .4s, box-shadow .4s, backdrop-filter .4s;
}
.site-header.is-solid {
  background: rgba(18, 16, 16, .82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(243, 233, 216, .08);
}
.header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--mustard);
  position: relative;
  z-index: 60;
}
.logo__mark { width: 40px; height: 40px; }
.logo__text {
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: .06em;
  color: var(--cream);
  line-height: 1;
  display: flex;
  flex-direction: column;
}
.logo__text small {
  font-family: var(--font-label);
  font-size: .6rem;
  letter-spacing: .38em;
  color: var(--mustard);
  margin-top: 3px;
  text-transform: uppercase;
}

.site-nav { display: flex; align-items: center; gap: 32px; }
.site-nav ul { display: flex; gap: 28px; }
.site-nav ul a {
  font-family: var(--font-label);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .9rem;
  text-decoration: none;
  color: var(--cream);
  position: relative;
  padding: 6px 0;
}
.site-nav ul a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--mustard);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .35s var(--ease);
}
.site-nav ul a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__cta { min-height: 44px; padding: 0 22px; font-size: .9rem; }

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 0;
  background: transparent;
  cursor: pointer;
  position: relative;
  z-index: 60;
}
.nav-toggle span {
  position: absolute;
  left: 12px;
  width: 24px;
  height: 2px;
  background: var(--cream);
  transition: transform .35s var(--ease), opacity .2s;
}
.nav-toggle span:nth-child(1) { top: 16px; }
.nav-toggle span:nth-child(2) { top: 23px; }
.nav-toggle span:nth-child(3) { top: 30px; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: fixed;
    inset: 0;
    z-index: 55;
    flex-direction: column;
    justify-content: center;
    gap: 40px;
    background: var(--carbon);
    opacity: 0;
    visibility: hidden;
    transition: opacity .4s, visibility .4s;
  }
  .site-nav ul { flex-direction: column; align-items: center; gap: 18px; }
  .site-nav ul a { font-family: var(--font-display); font-size: 2.4rem; letter-spacing: .04em; }
  .nav-open .site-nav { opacity: 1; visibility: visible; }
  .nav-open { overflow: hidden; }
  .nav-open .site-header { background: transparent; backdrop-filter: none; }
}

/* =========================================================
   1. HERO
   ========================================================= */
/* Alto = proporción de la foto (1408x768) para que la hamburguesa se vea entera */
.hero {
  position: relative;
  height: clamp(640px, 54.5vw, 100svh);
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}
/* La foto (fondo negro) va a la derecha y se funde con el fondo por la izquierda */
.hero { background: #0d0b0b; }
.hero__media {
  position: absolute;
  inset: 0 0 0 30%;
  z-index: -2;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 22%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 22%);
}
.hero__media img,
.hero__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
}
.hero__shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(18,16,16,.8) 0%, rgba(18,16,16,.1) 22%, rgba(18,16,16,.15) 55%, rgba(18,16,16,.92) 100%),
    linear-gradient(90deg, rgba(13,11,11,.9) 0%, rgba(13,11,11,.6) 32%, rgba(13,11,11,0) 52%);
}
/* Sombra suave para que el texto se lea sobre la foto */
.hero__eyebrow, .hero__title, .hero__text { text-shadow: 0 2px 18px rgba(0, 0, 0, .65); }
/* Centrado bajo la cabecera, con aire para el logo y la dirección */
.hero__content {
  padding-top: calc(var(--header-h) + 36px);
  padding-bottom: 64px;
}
.hero__eyebrow { margin-bottom: 1.4rem; }
.hero__title {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: clamp(3.2rem, 7vw, 6.4rem);
  line-height: .9;
  letter-spacing: .005em;
  margin-bottom: 1.6rem;
  color: var(--cream);
}
/* El padding superior deja sitio a las tildes (CARÁCTER) dentro de la máscara */
.hero__line { display: block; overflow: hidden; padding: .14em 0 .04em; margin-top: -.14em; }
/* CARÁCTER baja un poco para que la tilde no tope con "carne y" */
.hero__line:last-child { margin-top: .06em; }
.hero__line > span { display: inline-block; }
.hero__text {
  max-width: 34rem;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: var(--text-muted);
  margin-bottom: 2rem;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero__scroll {
  position: absolute;
  right: var(--gutter);
  bottom: 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-family: var(--font-label);
  text-transform: uppercase;
  letter-spacing: .3em;
  font-size: .7rem;
  text-decoration: none;
  color: var(--text-muted);
  writing-mode: vertical-rl;
}
.hero__scroll i {
  width: 2px;
  height: 56px;
  background: linear-gradient(var(--mustard), transparent);
  animation: scrollHint 2s var(--ease) infinite;
  transform-origin: top;
}
@keyframes scrollHint {
  0% { transform: scaleY(0); }
  50% { transform: scaleY(1); }
  100% { transform: scaleY(1); opacity: 0; }
}
@media (max-width: 600px) { .hero__scroll { display: none; } }

/* Móvil: foto completa arriba y textos debajo */
@media (max-width: 767px) {
  .hero {
    height: auto;
    flex-direction: column;
    align-items: stretch;
    padding-top: var(--header-h);
  }
  .hero__media {
    position: relative;
    inset: auto;
    z-index: 0;
    aspect-ratio: 1599 / 1066;
    -webkit-mask-image: none;
    mask-image: none;
  }
  .hero__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(18,16,16,.35) 0%, transparent 25%, transparent 65%, var(--carbon) 100%);
  }
  .hero__shade { display: none; }
  .hero__content { padding-top: 20px; padding-bottom: 56px; }
}

/* Hero con vídeo (si se activa) */
.hero.has-video { align-items: center; }

/* ---------- Cinta ---------- */
.marquee {
  background: var(--mustard);
  color: var(--ink);
  overflow: hidden;
  padding: 14px 0;
  transform: rotate(-1.5deg);
  margin: -14px -10px 0;
  position: relative;
  z-index: 3;
  box-shadow: 0 10px 40px -10px rgba(0,0,0,.6);
}
.marquee__track {
  display: flex;
  width: max-content;
  gap: 28px;
  align-items: center;
  animation: marquee 28s linear infinite;
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: clamp(1.3rem, 3vw, 2rem);
  letter-spacing: .03em;
  white-space: nowrap;
}
.marquee__track b { color: var(--red); font-size: .8em; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* =========================================================
   2. HISTORIA
   ========================================================= */
.story {
  background:
    radial-gradient(circle at 85% 10%, rgba(232,166,48,.18), transparent 45%),
    var(--cream);
}
.story__grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(40px, 7vw, 100px);
  align-items: center;
}
.story__copy p { color: var(--text-dark-muted); font-size: 1.08rem; max-width: 34rem; }
.story__sign {
  font-family: var(--font-label);
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--burgundy) !important;
  margin-top: 1.5rem;
}
.story__media { margin: 0; position: relative; }
.story__img {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 5 / 4;
  position: relative;
  box-shadow: 0 40px 80px -30px rgba(26, 20, 18, .55);
}
/* Foto completa en altura (sin recorte vertical) para que se vea todo el pan */
.story__img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 0;
}
.story__badge {
  position: absolute;
  left: -28px;
  bottom: 40px;
  width: 128px;
  height: 128px;
  border-radius: 50%;
  background: var(--red);
  color: var(--cream);
  display: grid;
  place-content: center;
  text-align: center;
  transform: rotate(-10deg);
  box-shadow: 0 20px 40px -12px rgba(122, 22, 22, .7);
}
.story__badge strong {
  font-family: var(--font-label);
  font-weight: 500;
  letter-spacing: .3em;
  text-transform: uppercase;
  font-size: .7rem;
}
.story__badge span { font-family: var(--font-display); font-size: 2.2rem; line-height: 1; }

@media (max-width: 860px) {
  .story__grid { grid-template-columns: 1fr; }
  .story__img { aspect-ratio: 4 / 3.6; }
  .story__badge { left: auto; right: 16px; bottom: -36px; width: 104px; height: 104px; }
  .story__badge span { font-size: 1.8rem; }
}

/* =========================================================
   3. HAMBURGUESA ESTRELLA
   ========================================================= */
.star {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  background:
    radial-gradient(ellipse at 50% 60%, rgba(198, 43, 31, .28), transparent 60%),
    var(--carbon-2);
  overflow: hidden;
  padding: calc(var(--header-h) + 10px) 0 30px;
}
.star__inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr 1fr;
  grid-template-areas: "head stage list";
  align-items: center;
  gap: 32px;
}
.star__head { grid-area: head; }
.star__head .title { margin-bottom: .6rem; }
.star__price {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--mustard);
}
.star__price small {
  font-family: var(--font-body);
  font-size: .95rem;
  color: var(--text-muted);
}
.star__stage {
  grid-area: stage;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.burger {
  width: 100%;
  height: auto;
  aspect-ratio: 320 / 440;
  max-height: 78vh;
  overflow: visible;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .55));
}
.star__glow {
  position: absolute;
  inset: 20% 10%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 166, 48, .35), transparent 65%);
  filter: blur(20px);
}

/* Vídeo real de la hamburguesa abriéndose (assets/estampida.mp4).
   "lighten" hace que el fondo negro del vídeo se funda con la sección. */
.star__video {
  position: relative;
  z-index: 1;
  width: 100%;
  max-height: 78vh;
  object-fit: contain;
  mix-blend-mode: lighten;
}
.star__video[hidden] { display: none; }
.star__stage.has-video .burger { display: none; }

/* Sin animaciones: la hamburguesa se muestra ya separada */
html:not(.anim) .burger-layer { transform: translateY(calc(var(--o) * 1px)); }

.ingredients { grid-area: list; counter-reset: ing; display: grid; gap: 12px; }
.ingredient {
  counter-increment: ing;
  position: relative;
  padding-left: 44px;
  opacity: .32;
  transition: opacity .4s, transform .4s var(--ease);
}
.ingredient::before {
  content: counter(ing, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 2px;
  font-family: var(--font-label);
  font-size: .8rem;
  color: var(--mustard);
  letter-spacing: .1em;
}
.ingredient strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: 1.3rem;
  letter-spacing: .03em;
  line-height: 1.2;
}
.ingredient span { display: block; color: var(--text-muted); font-size: .9rem; line-height: 1.4; }
.ingredient.is-on, html:not(.anim) .ingredient { opacity: 1; }
.ingredient.is-on { transform: translateX(6px); }

/* Móvil y tablet: título arriba, hamburguesa ocupando todo el centro, ingredientes abajo */
@media (max-width: 960px) {
  .star {
    height: 100vh;
    height: 100svh;
    min-height: 560px;
    align-items: stretch;
    padding-top: calc(var(--header-h) + 12px);
    padding-bottom: 20px;
  }
  .star__inner {
    height: 100%;
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(0, 1fr) auto;
    grid-template-areas: "head" "stage" "list";
    gap: 10px;
  }
  .star__head { text-align: center; }
  .star__head .eyebrow { justify-content: center; margin-bottom: .4rem; }
  .star__head .eyebrow::before { display: none; }
  .star__head .title { font-size: clamp(2.2rem, 9vw, 3.4rem); margin-bottom: .1rem; }
  .star__price { font-size: 1.4rem; margin: 0; }
  .star__stage { min-height: 0; height: 100%; }
  .burger, .star__video { width: auto; height: 100%; max-width: 100%; max-height: 100%; }
  .ingredients { grid-template-columns: 1fr 1fr; gap: 6px 14px; }
  .ingredient { padding-left: 26px; }
  .ingredient::before { font-size: .7rem; }
  .ingredient strong { font-size: .95rem; }
  .ingredient span { display: none; }
}
@media (max-width: 960px) and (max-height: 640px) {
  .star__head .eyebrow { display: none; }
}

/* =========================================================
   4. MENÚ
   ========================================================= */
.menu {
  background:
    radial-gradient(circle at 0% 0%, rgba(122, 22, 22, .35), transparent 40%),
    var(--carbon);
}
.tabs {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: none;
  margin-bottom: 40px;
  padding: 4px;
}
.tabs::-webkit-scrollbar { display: none; }
.tab {
  flex: none;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1.5px solid rgba(243, 233, 216, .25);
  background: transparent;
  color: var(--cream);
  font-family: var(--font-label);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: .9rem;
  cursor: pointer;
  transition: background-color .3s, color .3s, border-color .3s;
}
.tab:hover { border-color: var(--mustard); }
.tab[aria-selected="true"] { background: var(--mustard); border-color: var(--mustard); color: var(--ink); }

.menu__panel {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr));
  gap: 22px;
}
.menu__panel[hidden] { display: none; }
.menu__panel:focus-visible { outline-offset: 8px; }

.dish {
  background: var(--carbon-2);
  border: 1px solid rgba(243, 233, 216, .08);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .45s var(--ease), border-color .45s, box-shadow .45s;
}
.dish:hover {
  transform: translateY(-8px);
  border-color: rgba(232, 166, 48, .5);
  box-shadow: 0 30px 60px -25px rgba(0, 0, 0, .8);
}
.dish__img { aspect-ratio: 16 / 9; overflow: hidden; }
.dish__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.dish:hover .dish__img img { transform: scale(1.06); }
.dish__body {
  padding: 22px 24px 24px;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas: "tag tag" "name price" "desc desc";
  align-items: baseline;
  gap: 6px 16px;
  flex: 1;
}
.dish h3 {
  grid-area: name;
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 1.6rem;
  letter-spacing: .02em;
  line-height: 1.1;
}
.dish p { grid-area: desc; color: var(--text-muted); margin: 0; font-size: .95rem; line-height: 1.55; }
.price {
  grid-area: price;
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--mustard);
}
.tag {
  grid-area: tag;
  justify-self: start;
  font-family: var(--font-label);
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 4px;
}
.tag--fav { background: var(--mustard); color: var(--ink); }
.tag--new { background: var(--cream); color: var(--ink); }
.tag--hot { background: var(--red); color: #fff; }

/* =========================================================
   5. POR QUÉ BUFFALO
   ========================================================= */
.why {
  background:
    radial-gradient(circle at 100% 100%, rgba(198, 43, 31, .55), transparent 55%),
    var(--burgundy);
  overflow: hidden;
}
.why::before {
  content: "BUFFALO";
  position: absolute;
  right: -2vw;
  top: 40px;
  font-family: var(--font-display);
  font-size: 22vw;
  line-height: 1;
  color: rgba(243, 233, 216, .05);
  pointer-events: none;
}
.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-bottom: clamp(56px, 8vw, 90px);
  position: relative;
}
.feature {
  padding: 30px 26px;
  border-radius: var(--radius);
  background: rgba(18, 16, 16, .28);
  border: 1px solid rgba(243, 233, 216, .12);
  transition: transform .45s var(--ease), background-color .45s;
}
.feature:hover { transform: translateY(-6px); background: rgba(18, 16, 16, .45); }
.feature__icon {
  width: 46px;
  height: 46px;
  fill: none;
  stroke: var(--mustard);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  margin-bottom: 20px;
}
.feature h3 {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 1.5rem;
  letter-spacing: .02em;
  margin-bottom: .4rem;
}
.feature p { color: var(--text-muted); margin: 0; font-size: .95rem; }

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin: 0;
  border-top: 1px solid rgba(243, 233, 216, .2);
  padding-top: 40px;
  position: relative;
}
.stat { display: flex; flex-direction: column-reverse; }
.stat dt {
  font-family: var(--font-label);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .8rem;
  color: var(--text-muted);
}
.stat dd {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  line-height: 1;
  color: var(--cream);
}

@media (max-width: 960px) {
  .features { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); row-gap: 32px; }
}
@media (max-width: 520px) {
  .features { grid-template-columns: 1fr; }
}

/* =========================================================
   6. GALERÍA
   ========================================================= */
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: clamp(170px, 20vw, 250px);
  gap: 14px;
}
.g-item {
  margin: 0;
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  background: var(--carbon-3);
}
.g-item--wide { grid-column: span 2; grid-row: span 2; }
.g-item--tall { grid-row: span 2; }
.g-item > img,
.g-item .ph {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .9s var(--ease);
}
.g-item figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 40px 18px 16px;
  background: linear-gradient(transparent, rgba(18, 16, 16, .9));
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 1.3rem;
  letter-spacing: .03em;
  transform: translateY(100%);
  transition: transform .5s var(--ease);
}
.g-item:hover > img,
.g-item:hover .ph { transform: scale(1.07); }
.g-item:hover figcaption,
.g-item:focus-within figcaption { transform: none; }

@media (hover: none) {
  .g-item figcaption { transform: none; font-size: 1.05rem; padding: 30px 14px 12px; }
}
@media (max-width: 760px) {
  .gallery__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 42vw; gap: 10px; }
  .g-item--wide { grid-column: span 2; grid-row: span 1; }
}

/* ---------- Placeholders de foto ---------- */
.ph {
  display: grid;
  place-items: center;
  text-align: center;
  padding: 16px;
  position: relative;
}
.ph::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(45deg, rgba(255,255,255,.04) 0 2px, transparent 2px 14px);
}
.ph span {
  position: relative;
  font-family: var(--font-label);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .72rem;
  color: rgba(243, 233, 216, .85);
  border: 1px dashed rgba(243, 233, 216, .4);
  padding: 6px 10px;
  border-radius: 6px;
  background: rgba(18, 16, 16, .35);
}
.ph--warm { background: radial-gradient(circle at 30% 30%, #a5642a, #5a2a14 60%, #2a1510); }
.ph--fire { background: radial-gradient(circle at 50% 100%, #f0a03a, #c62b1f 45%, #3a0f0b 85%); }
.ph--dark { background: linear-gradient(160deg, #3a2a22, #1b1715 60%, #7a1616 130%); }

/* =========================================================
   7. RESEÑAS
   ========================================================= */
.reviews {
  background:
    radial-gradient(circle at 10% 90%, rgba(198, 43, 31, .12), transparent 45%),
    var(--cream);
  text-align: center;
}
.reviews .eyebrow { justify-content: center; }
.carousel { max-width: 860px; margin: 0 auto; }
.carousel__viewport { overflow: hidden; }
.carousel__track {
  display: flex;
  transition: transform .7s var(--ease);
}
.review {
  flex: 0 0 100%;
  margin: 0;
  padding: 0 clamp(4px, 4vw, 40px);
}
.review__stars { color: var(--red); letter-spacing: .3em; font-size: 1.2rem; margin-bottom: 1rem; }
.review p {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: clamp(1.6rem, 4vw, 2.8rem);
  line-height: 1.12;
  color: var(--ink);
  margin-bottom: 1.4rem;
}
.review footer {
  font-family: var(--font-label);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .85rem;
  color: var(--burgundy);
}
.review footer span { color: var(--text-dark-muted); }
.carousel__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}
.carousel__btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1.5px solid var(--ink);
  background: transparent;
  color: var(--ink);
  font-size: 1.2rem;
  cursor: pointer;
  transition: background-color .3s, color .3s;
}
.carousel__btn:hover { background: var(--ink); color: var(--cream); }
.carousel__dots { display: flex; gap: 6px; }
.carousel__dots button {
  width: 32px;
  height: 32px;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 0;
  position: relative;
}
.carousel__dots button::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 10px; height: 10px;
  margin: -5px 0 0 -5px;
  border-radius: 999px;
  background: rgba(26, 20, 18, .25);
  transition: width .4s var(--ease), margin .4s var(--ease), background-color .3s;
}
.carousel__dots button[aria-current="true"]::after { width: 26px; margin-left: -13px; background: var(--red); }

/* =========================================================
   8. UBICACIÓN
   ========================================================= */
.location__grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: stretch;
}
.info-block { padding: 18px 0; border-top: 1px solid rgba(243, 233, 216, .12); }
.info-block h3 {
  font-family: var(--font-label);
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: .8rem;
  color: var(--mustard);
  margin-bottom: .4rem;
}
.info-block p { margin: 0; font-size: 1.1rem; }
.info-block a { text-decoration: none; border-bottom: 1px solid var(--mustard); }
.hours { width: 100%; border-collapse: collapse; font-size: 1rem; }
.hours th { text-align: left; font-weight: 400; color: var(--text-muted); padding: 4px 0; }
.hours td { text-align: right; font-weight: 600; padding: 4px 0; }
.location__map {
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 420px;
  border: 1px solid rgba(243, 233, 216, .12);
  background: var(--carbon-3);
}
.location__map iframe {
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;
  filter: grayscale(.35) contrast(1.05);
}
@media (max-width: 860px) {
  .location__grid { grid-template-columns: 1fr; }
  .location__map, .location__map iframe { min-height: 320px; }
}

/* =========================================================
   9. LLAMADA A LA ACCIÓN
   ========================================================= */
.cta {
  position: relative;
  overflow: hidden;
  background: var(--red);
  padding: clamp(90px, 14vw, 170px) 0;
  text-align: center;
  isolation: isolate;
}
.cta__bg {
  position: absolute;
  top: 50%;
  left: 0;
  z-index: -1;
  transform: translateY(-50%);
  white-space: nowrap;
  font-family: var(--font-display);
  font-size: 30vw;
  line-height: 1;
  color: rgba(18, 16, 16, .12);
  pointer-events: none;
}
.cta__title {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: clamp(3.6rem, 14vw, 10rem);
  line-height: .88;
  color: var(--cream);
  margin-bottom: 1.4rem;
}
.cta__title span { color: var(--carbon); }
.cta p { font-size: 1.15rem; max-width: 32rem; margin: 0 auto 2.2rem; color: rgba(255, 255, 255, .88); }
.cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }

/* =========================================================
   10. FOOTER + FIRMA
   ========================================================= */
.site-footer { background: var(--carbon); padding-top: 80px; }
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
}
.footer__brand p { color: var(--text-muted); margin: 18px 0 22px; }
.social { display: flex; gap: 10px; }
.social a {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid rgba(243, 233, 216, .2);
  transition: background-color .3s, border-color .3s, color .3s;
}
.social a:hover { background: var(--mustard); border-color: var(--mustard); color: var(--ink); }
.social svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.footer__links h3 {
  font-family: var(--font-label);
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: .8rem;
  color: var(--mustard);
  margin-bottom: 16px;
}
.footer__links li { margin-bottom: 8px; }
.footer__links a { text-decoration: none; color: var(--text-muted); transition: color .3s; cursor: pointer; }
.footer__links a:hover { color: var(--cream); }
.footer__legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  border-top: 1px solid rgba(243, 233, 216, .1);
  padding-top: 22px;
  padding-bottom: 22px;
  font-size: .85rem;
  color: rgba(243, 233, 216, .55);
}
.footer__legal p { margin: 0; }
.footer__legal a { color: inherit; }

.signature {
  background: #0a0909;
  border-top: 2px solid var(--mustard);
  padding: 18px 0 calc(18px + env(safe-area-inset-bottom));
  font-size: .9rem;
  color: var(--text-muted);
}
.signature__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
}
.signature p { margin: 0; }
.signature strong { color: var(--cream); }
.signature__links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.signature__links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--mustard);
  text-decoration: none;
  font-weight: 600;
  min-height: 32px;
  cursor: pointer;
}
.signature__links a:hover { text-decoration: underline; }
.signature .i { width: 18px; height: 18px; }

@media (max-width: 760px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .signature__inner { flex-direction: column; text-align: center; }
  .signature__links { justify-content: center; }
}

/* ---------- WhatsApp flotante ---------- */
.wa-float {
  position: fixed;
  right: 18px;
  bottom: calc(18px + env(safe-area-inset-bottom));
  z-index: 45;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 12px 30px -8px rgba(0, 0, 0, .6);
  cursor: pointer;
  transition: transform .3s var(--ease);
}
.wa-float::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid #25d366;
  animation: ping 2.4s var(--ease) infinite;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 32px; height: 32px; }
@keyframes ping {
  0% { transform: scale(1); opacity: .8; }
  80%, 100% { transform: scale(1.6); opacity: 0; }
}

/* =========================================================
   ESTADOS INICIALES DE ANIMACIÓN
   (solo si la clase .anim está activa; JS la quita si GSAP no carga)
   ========================================================= */
.anim [data-reveal],
.anim .hero__eyebrow,
.anim .hero__text,
.anim .hero__actions,
.anim .hero__line > span,
.anim .menu__panel .dish { opacity: 0; }

/* ---------- Reducir movimiento ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .marquee__track { animation: none; }
}
