/* ---------- HERO ---------- */
.hero { position: relative; height: 100svh; min-height: 620px; overflow: hidden; display: flex; align-items: flex-end; }
.hero__media { position: absolute; inset: 0; will-change: transform; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; }
.hero__shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(20,12,7,.88) 0%, rgba(20,12,7,.55) 38%, rgba(20,12,7,0) 70%),
    linear-gradient(0deg, rgba(20,12,7,.85) 0%, rgba(20,12,7,0) 45%);
}
.hero__content { position: relative; z-index: 2; padding: 0 var(--gutter) clamp(56px, 10vh, 110px); max-width: 980px; }
.hero__status {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 22px; padding: 8px 14px 8px 12px;
  border-radius: 999px; background: rgba(246,236,223,.1); backdrop-filter: blur(10px); font-size: 14px; font-weight: 500;
  box-shadow: inset 0 0 0 1px rgba(246,236,223,.18);
}
.hero__status i { width: 8px; height: 8px; border-radius: 50%; background: #9ad16b; box-shadow: 0 0 0 0 rgba(154,209,107,.6); animation: pulse 2s infinite; }
.hero__status.is-closed i { background: var(--orange-2); animation: none; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(154,209,107,0); } 100% { box-shadow: 0 0 0 0 rgba(154,209,107,0); } }
.hero__title {
  margin: 0; font-family: var(--display); font-weight: 700; font-variation-settings: 'SOFT' 100, 'opsz' 144;
  font-size: clamp(84px, 17vw, 250px); line-height: .82; letter-spacing: -.05em;
}
.hero__title .line { display: block; overflow: hidden; padding: 0 .04em .06em 0; }
.hero__title .word { display: inline-block; }
.hero__title em { font-weight: 300; font-style: italic; color: var(--orange-2); font-size: .5em; margin-left: .08em; vertical-align: .55em; }
.hero__lead { font-size: clamp(18px, 2vw, 22px); max-width: 30ch; margin: 22px 0 30px; color: rgba(246,236,223,.85); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__scroll {
  position: absolute; right: var(--gutter); bottom: 112px; z-index: 2; /* encima del botón flotante "Reservar mesa" */ display: flex; flex-direction: column; align-items: center; gap: 12px;
  font-size: 12px; letter-spacing: .2em; text-transform: uppercase; writing-mode: vertical-rl; color: var(--muted-dark);
}
.hero__scroll i { width: 1px; height: 60px; background: linear-gradient(var(--paper), transparent); animation: drip 2s var(--ease) infinite; transform-origin: top; }
@keyframes drip { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
@media (max-width: 640px) {
  .hero__media img { object-position: 70% 50%; }
  .hero__shade { background: linear-gradient(0deg, rgba(20,12,7,.95) 0%, rgba(20,12,7,.55) 55%, rgba(20,12,7,.2) 100%); }
  .hero__scroll { display: none; }
  .hero__ctas .btn { flex: 1 1 100%; }
}

/* ---------- TICKER ---------- */
.ticker { background: var(--orange); color: var(--ink); overflow: hidden; padding: 18px 0; transform: rotate(-1.2deg) scale(1.02); margin: -12px 0; position: relative; z-index: 3; }
.ticker__track { display: flex; gap: 28px; width: max-content; animation: marquee 28s linear infinite; font-family: var(--display); font-style: italic; font-size: clamp(24px, 3vw, 40px); font-weight: 500; white-space: nowrap; }
.ticker__track b { font-style: normal; color: var(--paper); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- MANIFESTO ---------- */
.story { background: var(--paper); color: var(--ink); padding: clamp(110px, 16vw, 200px) var(--gutter) clamp(80px, 12vw, 160px); position: relative; }
.story .eyebrow { color: var(--orange); }
.story__grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(32px, 6vw, 96px); align-items: start; max-width: 1360px; margin: 0 auto; position: relative; }
.story__grid > .eyebrow { grid-column: 1 / -1; }
.story__text { margin: 0; font-family: var(--display); font-weight: 500; font-size: clamp(32px, 4.4vw, 64px); line-height: 1.08; letter-spacing: -.02em; }
.story__text .w { opacity: .14; transition: opacity .2s; }
.story__photo { margin: 0; grid-row: span 2; position: relative; }
.story__photo img { width: 100%; aspect-ratio: 3/4; object-fit: cover; border-radius: 220px 220px var(--radius) var(--radius); }
.story__photo figcaption { margin-top: 12px; font-size: 14px; color: var(--muted-light); font-style: italic; font-family: var(--display); }
.story__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; border-top: 1px solid var(--line-light); padding-top: 28px; }
.story__stats b { display: block; font-family: var(--display); font-size: clamp(44px, 5vw, 72px); line-height: 1; font-weight: 600; color: var(--orange); }
.story__stats span { font-size: 14px; color: var(--muted-light); }
.story__badge { position: absolute; right: 26%; top: -60px; width: 150px; height: 150px; display: grid; place-items: center; }
.story__badge svg { position: absolute; inset: 0; width: 100%; height: 100%; fill: var(--ink); font-size: 13.5px; font-weight: 600; letter-spacing: .14em; }
.story__badge span { width: 74px; height: 74px; border-radius: 50%; background: var(--orange); color: var(--paper); display: grid; place-items: center; font-family: var(--display); font-weight: 700; font-size: 38px; font-style: italic; }
@media (max-width: 860px) {
  .story__grid { grid-template-columns: 1fr; }
  .story__photo { grid-row: auto; max-width: 420px; }
  .story__badge { right: 0; top: -70px; width: 104px; height: 104px; }
  .story__badge svg { font-size: 15px; }
  .story__badge span { width: 58px; height: 58px; font-size: 30px; }
}

/* ---------- FIRMAS (horizontal) ---------- */
.signature { background: var(--ink); position: relative; }
.signature__pin { height: 100svh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; padding: 90px 0 120px; /* abajo deja sitio a la barra flotante */ }
.signature__head { padding: 0 var(--gutter); margin-bottom: clamp(24px, 4vh, 48px); }
.signature__track { display: flex; gap: clamp(16px, 2.4vw, 32px); padding: 0 var(--gutter); width: max-content; will-change: transform; }
.sig {
  position: relative; height: clamp(360px, calc(100svh - 380px), 620px); aspect-ratio: 4/5.2; flex: none; border-radius: var(--radius); overflow: hidden; background: var(--ink-2); display: flex; flex-direction: column; justify-content: flex-end;
}
.sig img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.sig:hover img { transform: scale(1.06); }
.sig::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(0deg, rgba(20,12,7,.95) 0%, rgba(20,12,7,.2) 50%, transparent 70%); }
.sig__body { position: relative; z-index: 2; padding: 22px; display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 6px 14px; }
.sig__n { grid-column: 1 / -1; font-family: var(--display); font-style: italic; color: var(--orange-2); font-size: 18px; }
.sig h3 { margin: 0; font-family: var(--display); font-weight: 600; font-size: clamp(24px, 2.2vw, 32px); line-height: 1.02; letter-spacing: -.015em; }
.sig__price { font-weight: 600; font-size: 15px; color: var(--muted-dark); grid-column: 1; }
.sig .add { grid-row: 2 / span 2; grid-column: 2; }
.sig--end { background: var(--orange); color: var(--ink); justify-content: center; align-items: flex-start; padding: 32px; aspect-ratio: 4/5.2; }
.sig--end::before { display: none; }
.sig--end p { font-family: var(--display); font-size: clamp(30px, 3vw, 44px); line-height: 1; font-weight: 600; margin: 0 0 24px; letter-spacing: -.02em; }
.sig--end .btn { background: var(--ink); color: var(--paper); }
@media (max-width: 860px) {
  .signature__pin { height: auto; padding: 90px 0 120px; }
  .signature__track { width: auto; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: none; }
  .signature__track::-webkit-scrollbar { display: none; }
  .sig { scroll-snap-align: start; width: 78vw; height: auto; }
}

/* ---------- CARTA ---------- */
.menu { background: var(--paper); color: var(--ink); padding: clamp(90px, 12vw, 160px) var(--gutter) clamp(80px, 10vw, 140px); }
.menu .eyebrow { color: var(--orange); }
.menu .display em { color: var(--orange); }
.menu__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; max-width: 1360px; margin: 0 auto 36px; }
.menu__hint { max-width: 30ch; color: var(--muted-light); margin: 0; }
/* barra de categorías: una cápsula flotante, centrada, con indicador que se desliza */
.menu__catsbar {
  position: sticky; top: 74px; z-index: 20; display: flex; justify-content: center;
  max-width: 1360px; margin: 0 auto 36px; pointer-events: none;
}
.menu__cats {
  position: relative; display: flex; gap: 2px; padding: 5px; border-radius: 999px; max-width: 100%;
  overflow-x: auto; scrollbar-width: none; pointer-events: auto;
  background: rgba(255, 250, 243, .78); backdrop-filter: blur(18px) saturate(1.6); -webkit-backdrop-filter: blur(18px) saturate(1.6);
  box-shadow: 0 14px 40px -18px rgba(60, 30, 10, .45), inset 0 0 0 1px rgba(27, 18, 12, .08);
}
.menu__cats::-webkit-scrollbar { display: none; }

.cat {
  position: relative; z-index: 1; flex: none; display: flex; align-items: center; gap: 9px;
  height: 46px; padding: 0 18px 0 6px; border: 0; border-radius: 999px; background: none;
  font-weight: 600; font-size: 14px; color: var(--ink); white-space: nowrap; transition: color .4s;
}
.cat:not(.is-on):hover { color: var(--orange); }
.cat.is-on { color: var(--paper); }
.cat img, .cat__ico { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; flex: none; }
.cat__ico { display: grid; place-items: center; background: var(--paper-2); }
.cat__ico svg { width: 18px; height: 18px; fill: none; stroke: var(--ink); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.cat small { font-size: 12px; font-weight: 600; opacity: .5; }
@media (max-width: 640px) {
  .menu__catsbar { margin-left: calc(var(--gutter) * -1); margin-right: calc(var(--gutter) * -1); padding: 0 10px; top: 70px; }
  .cat { height: 42px; padding-right: 14px; }
  .cat img, .cat__ico { width: 30px; height: 30px; }
  .cat small { display: none; }
}

.promo-strip {
  max-width: 1360px; margin: 0 auto 20px; display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-radius: var(--radius-sm);
  background: var(--ink); color: var(--paper); font-weight: 600; font-size: 15px;
}
.promo-strip b { color: var(--orange-2); font-family: var(--display); font-style: italic; font-size: 20px; font-weight: 500; }

/* botón + y stepper compartidos */
.add {
  width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--orange); color: #fff; display: grid; place-items: center;
  box-shadow: 0 8px 20px -8px rgba(224,97,28,.8), 0 0 0 4px #fffaf3; transition: transform .4s var(--ease), background-color .3s;
}
.sig .add { box-shadow: 0 8px 20px -8px rgba(224,97,28,.8); width: 52px; height: 52px; }
.add:hover { transform: rotate(90deg) scale(1.06); background: var(--orange-2); }
.add svg { width: 20px; height: 20px; stroke: currentColor; stroke-width: 2.4; fill: none; stroke-linecap: round; }
.stepper {
  display: inline-flex; align-items: center; height: 40px; border-radius: 999px; background: var(--ink); color: var(--paper);
  box-shadow: 0 0 0 4px #fffaf3; overflow: hidden;
}
.stepper button { width: 36px; height: 40px; background: none; border: 0; font-size: 18px; font-weight: 600; }
.stepper span { min-width: 18px; text-align: center; font-weight: 700; font-size: 14px; }

/* ---------- CLUB ---------- */
.club {
  background: radial-gradient(120% 90% at 85% 10%, #3a2415 0%, var(--ink) 60%); padding: clamp(90px, 12vw, 160px) var(--gutter);
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 100px); align-items: center;
}
.club__rules { list-style: none; padding: 0; margin: 36px 0 24px; display: grid; gap: 4px; }
.club__rules li { display: flex; align-items: baseline; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line-dark); font-size: 17px; }
.club__rules b { font-family: var(--display); font-size: 34px; font-weight: 600; color: var(--orange-2); min-width: 86px; }
.club__note { color: var(--muted-dark); font-size: 15px; max-width: 42ch; }
.club__card-wrap { perspective: 1200px; display: grid; gap: 22px; justify-items: center; }
@media (max-width: 960px) { .club { grid-template-columns: 1fr; } }

/* ---------- VISITA ---------- */
.visit { background: var(--paper); color: var(--ink); padding: clamp(90px, 12vw, 150px) var(--gutter); display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; }
.visit .eyebrow { color: var(--orange); }
.visit__city { font-size: 20px; color: var(--muted-light); margin: 12px 0 28px; }
.visit__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.visit__h { font-family: var(--display); font-weight: 600; font-size: 28px; margin: 34px 0 14px; }
.hours { list-style: none; margin: 0; padding: 0; }
.hours li { display: flex; justify-content: space-between; padding: 13px 0; border-bottom: 1px solid var(--line-light); font-size: 16px; gap: 16px; }
.hours li span:last-child { text-align: right; }
.hours li.is-today { font-weight: 700; color: var(--orange); }
.hours li.is-closed span:last-child { color: var(--muted-light); }
@media (max-width: 860px) { .visit { grid-template-columns: 1fr; gap: 8px; } }

/* ---------- GALERIA ---------- */
.gallery { background: var(--paper); padding: clamp(60px, 8vw, 110px) 0 0; overflow: hidden; display: grid; gap: clamp(10px, 1.4vw, 18px); }
.gallery__row { display: flex; gap: clamp(10px, 1.4vw, 18px); width: max-content; will-change: transform; }
.gallery__row:nth-child(2) { margin-left: -18vw; }
.gallery__row img { width: clamp(150px, 19vw, 280px); aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); }

/* la carta completa vive en el modal (packages/widgets/menu-modal.js); aquí queda un adelanto que lo abre */
.menu__catsbar { position: static; pointer-events: auto; }
.menu__open { display: flex; justify-content: center; margin-top: 4px; }
