/* =========================================================
   NORTE 33 — limpio, restaurante primero
   ========================================================= */

:root {
  --white: #ffffff;
  --canvas: #f7f7f5;
  --ink: #111111;
  --ink-soft: #3a3a3a;
  --mute: #8a8a8a;
  --line: rgba(0, 0, 0, 0.07);
  --flame: #ff3b00;
  --flame-soft: #ff5c2a;
  --accent-tint: rgba(255, 59, 0, 0.1);

  --font-brand: "Bebas Neue", sans-serif;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Sora", system-ui, sans-serif;

  --section-y: clamp(2.4rem, 4.5vw, 3.75rem);
  --header-h: 3.6rem;
  --content-w: 1120px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --blur: 18px;
  --radius: 1.15rem;
  --pill: 999px;
}

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

::selection {
  background: rgba(255, 59, 0, 0.18);
  color: var(--ink);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 0.75rem);
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--canvas);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Blur de ambiente */
.ambient {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  --nudge-x: calc((var(--light-x, 0.5) - 0.5) * 7vw);
  --nudge-y: calc((var(--light-y, 0.4) - 0.4) * 6vh + var(--light-scroll, 0) * -10vh);
}

.ambient__orb {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(255, 59, 0, 0.42) 0%,
    rgba(255, 120, 40, 0.18) 42%,
    transparent 70%
  );
  filter: blur(72px);
  opacity: 0.62;
  will-change: transform;
  mix-blend-mode: multiply;
  translate: var(--nudge-x) var(--nudge-y);
}

.ambient__orb--a {
  width: min(50vw, 440px);
  height: min(50vw, 440px);
  top: -12%;
  left: 4%;
  animation: orb-a 9s ease-in-out infinite alternate;
}

.ambient__orb--b {
  width: min(42vw, 360px);
  height: min(42vw, 360px);
  top: 35%;
  right: -8%;
  opacity: 0.5;
  animation: orb-b 11s ease-in-out infinite alternate;
  translate: calc(var(--nudge-x) * -0.7) calc(var(--nudge-y) * 0.85);
}

.ambient__orb--c {
  width: min(48vw, 400px);
  height: min(48vw, 400px);
  bottom: 0;
  left: 28%;
  opacity: 0.45;
  animation: orb-c 10s ease-in-out infinite alternate;
  translate: calc(var(--nudge-x) * 0.45) calc(var(--nudge-y) * -0.6);
}

.ambient__orb--fuchsia {
  width: min(34vw, 280px);
  height: min(34vw, 280px);
  top: 48%;
  left: 38%;
  opacity: 0.55;
  mix-blend-mode: screen;
  background: radial-gradient(
    circle,
    rgba(236, 72, 180, 0.55) 0%,
    rgba(219, 39, 160, 0.22) 45%,
    transparent 72%
  );
  filter: blur(64px);
  animation: orb-fuchsia 7.5s ease-in-out infinite;
  translate: calc(var(--nudge-x) * 0.3) calc(var(--nudge-y) * 0.5);
}

.ambient__pointer {
  position: absolute;
  width: 280px;
  height: 280px;
  left: 0;
  top: 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 59, 0, 0.26), transparent 68%);
  filter: blur(56px);
  opacity: 0.5;
  mix-blend-mode: multiply;
  transform: translate3d(-140px, -140px, 0);
}

.ambient__haze {
  position: absolute;
  left: 10%;
  right: 10%;
  height: 42%;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(60px);
  opacity: 0.55;
}

.ambient__haze--top {
  top: -8%;
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.75), transparent 70%);
}

.ambient__haze--mid {
  top: 38%;
  height: 36%;
  background: radial-gradient(ellipse at center, rgba(255, 90, 40, 0.12), transparent 68%);
  animation: haze-drift 18s ease-in-out infinite alternate;
}

@keyframes haze-drift {
  from { transform: translate3d(-3%, 0, 0) scale(1); }
  to { transform: translate3d(4%, 4%, 0) scale(1.05); }
}


@keyframes orb-a {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(10%, 14%, 0) scale(1.12); }
}
@keyframes orb-b {
  from { transform: translate3d(0, 0, 0) scale(1.05); }
  to   { transform: translate3d(-14%, 10%, 0) scale(0.9); }
}
@keyframes orb-c {
  from { transform: translate3d(0, 0, 0) scale(0.96); }
  to   { transform: translate3d(8%, -12%, 0) scale(1.1); }
}
@keyframes orb-fuchsia {
  0%   { transform: translate3d(-18%, -12%, 0) scale(0.92); }
  25%  { transform: translate3d(22%, 8%, 0) scale(1.08); }
  50%  { transform: translate3d(8%, 18%, 0) scale(0.95); }
  75%  { transform: translate3d(-20%, 10%, 0) scale(1.1); }
  100% { transform: translate3d(-18%, -12%, 0) scale(0.92); }
}

/* Header + brand que llega del hero */
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: var(--header-h);
  padding: 0.35rem 1rem;
  /* cristal sutil pero legible sobre el hero */
  backdrop-filter: blur(28px) saturate(175%);
  -webkit-backdrop-filter: blur(28px) saturate(175%);
  background: rgba(247, 247, 245, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    0 10px 32px rgba(0, 0, 0, 0.08);
  transition:
    background 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease;
}

.site-header.is-scrolled,
.site-header.is-compact {
  background: rgba(247, 247, 245, 0.82);
  border-bottom-color: rgba(255, 255, 255, 0.6);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.75),
    0 12px 34px rgba(0, 0, 0, 0.1);
}

.site-header__brand {
  position: absolute;
  left: 1rem;
  top: 50%;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  opacity: 0;
  transform: translate(-6px, -50%) scale(0.92);
  pointer-events: none;
  transition:
    opacity 0.45s var(--ease-out),
    transform 0.45s var(--ease-out);
}

.site-header.is-compact .site-header__brand {
  opacity: 1;
  transform: translate(0, -50%) scale(1);
  pointer-events: auto;
}

.site-header__mark {
  width: 2.2rem;
  height: auto;
}

.site-header__word {
  width: min(10.5rem, 32vw);
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
}

.site-nav__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.1rem;
}


.site-nav__link {
  display: block;
  padding: 0.65rem 0.95rem;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(17, 17, 17, 0.62);
  position: relative;
  transition: color 0.25s;
}

.site-nav__link::after {
  content: "";
  position: absolute;
  left: 0.85rem;
  right: 0.85rem;
  bottom: 0.2rem;
  height: 1.5px;
  background: var(--flame);
  transform: scaleX(0);
  transition: transform 0.28s var(--ease-out);
}

.site-nav__link:hover,
.site-nav__link.is-active {
  color: var(--ink);
}

.site-nav__link.is-active::after,
.site-nav__link:hover::after {
  transform: scaleX(1);
}

/* Carrusel limpio + logo al centro */
.hero {
  position: relative;
  z-index: 1;
  background: #0a0a0a;
}

.carousel {
  position: relative;
  width: 100%;
  height: min(78svh, 760px);
  min-height: 420px;
  overflow: hidden;
}

.carousel__track {
  position: absolute;
  inset: 0;
}

.carousel__slide {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateX(8%);
  transition:
    opacity 1.05s var(--ease-out),
    visibility 1.05s,
    transform 1.15s var(--ease-out);
}

.carousel[data-dir="prev"] .carousel__slide {
  transform: translateX(-8%);
}

.carousel__slide.is-active {
  z-index: 2;
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.carousel__slide.is-exit {
  z-index: 1;
  opacity: 0;
  visibility: visible;
  transition:
    opacity 1.05s var(--ease-out),
    visibility 1.05s,
    transform 1.15s var(--ease-out);
}

.carousel[data-dir="next"] .carousel__slide.is-exit {
  transform: translateX(-10%);
}

.carousel[data-dir="prev"] .carousel__slide.is-exit {
  transform: translateX(10%);
}

.carousel__slide picture {
  display: block;
  width: 100%;
  height: 100%;
}

.carousel__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transform: scale(1.06);
  filter: saturate(0.88) contrast(1.12) brightness(0.9) sepia(0.14);
  transition:
    transform 9s linear,
    filter 0.9s var(--ease-out);
}

.carousel__slide.is-active img {
  transform: scale(1);
}

.media-blur {
  background-image: var(--lqip);
  background-size: cover;
  background-position: center;
}

.media-blur [data-lqip-img] {
  opacity: 0;
  filter: blur(18px) saturate(1.05);
  transform: scale(1.04);
  transition:
    opacity 0.7s var(--ease-out),
    filter 0.9s var(--ease-out),
    transform 0.9s var(--ease-out);
}

.media-blur.is-loaded [data-lqip-img] {
  opacity: 1;
  filter: none;
  transform: scale(1);
}

.carousel__slide.media-blur.is-loaded [data-lqip-img] {
  filter: saturate(0.88) contrast(1.12) brightness(0.9) sepia(0.14);
}

.carousel__slide.is-active.media-blur.is-loaded img {
  transform: scale(1);
}

.carousel__veil {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    radial-gradient(ellipse 62% 55% at 50% 40%, rgba(0, 0, 0, 0.42), transparent 74%),
    linear-gradient(180deg, rgba(12, 8, 6, 0.48) 0%, rgba(18, 10, 6, 0.28) 38%, rgba(8, 4, 2, 0.9) 100%);
}

.carousel__grain {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0.22;
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.carousel__grade {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(125deg, rgba(255, 92, 28, 0.22) 0%, transparent 42%, rgba(40, 16, 8, 0.28) 100%),
    radial-gradient(ellipse 90% 70% at 70% 80%, rgba(255, 120, 40, 0.18), transparent 60%);
  mix-blend-mode: soft-light;
  opacity: 0.9;
}

.carousel__brand {
  position: absolute;
  inset: 0 auto auto 50%;
  top: 40%;
  z-index: 4;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  width: min(700px, 93vw);
  pointer-events: none;
  filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.35));
  opacity: 0;
}

.carousel__brand.is-in {
  animation: brand-enter 0.95s var(--ease-out) both;
}

.carousel__brand.is-away {
  opacity: 0 !important;
  transform: translate(-50%, calc(-50% - 18px)) scale(0.9) !important;
  filter: blur(8px) !important;
  transition:
    opacity 0.45s var(--ease-out),
    transform 0.45s var(--ease-out),
    filter 0.45s var(--ease-out);
  animation: none !important;
  pointer-events: none;
}

@keyframes brand-enter {
  from {
    opacity: 0;
    transform: translate(-50%, calc(-50% + 18px));
    filter: blur(14px) drop-shadow(0 12px 28px rgba(0, 0, 0, 0.35));
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%);
    filter: blur(0) drop-shadow(0 12px 28px rgba(0, 0, 0, 0.35));
  }
}

.carousel__mark-wrap {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: clamp(200px, 33vw, 280px);
  margin-bottom: -0.15rem;
  pointer-events: auto;
  cursor: inherit;
  user-select: none;
  -webkit-user-select: none;
}

.carousel__mark {
  grid-area: 1 / 1;
  width: 128%;
  max-width: none;
  height: auto;
  filter: none;
  opacity: 0;
  transform: translate3d(0, 0, 0);
  transition: opacity 0.08s linear;
  pointer-events: none;
}

.carousel__mark.is-active {
  opacity: 1;
}

.carousel__mark--fart.is-active {
  opacity: 1;
}

.carousel__mark-wrap.is-farting .carousel__mark.is-active {
  animation: cow-fart-wiggle 0.52s var(--ease-out);
}

@keyframes cow-fart-wiggle {
  0% { transform: translate3d(0, 0, 0) rotate(0deg); }
  18% { transform: translate3d(-4px, 1px, 0) rotate(-2.4deg); }
  36% { transform: translate3d(5px, -1px, 0) rotate(2.2deg); }
  54% { transform: translate3d(-3px, 0, 0) rotate(-1.4deg); }
  72% { transform: translate3d(2px, 1px, 0) rotate(0.8deg); }
  100% { transform: translate3d(0, 0, 0) rotate(0deg); }
}

.carousel__wordmark {
  width: min(620px, 90vw);
  height: auto;
  margin-top: 0;
}

.carousel__tagline {
  display: none; /* el wordmark ya incluye el subtítulo */
}

.carousel__tagline {
  margin: 0.15rem 0 0;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
}

.carousel__ui {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 0 1.1rem 1.35rem;
}

.carousel__controls {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.carousel__btn {
  width: 2.25rem;
  height: 2.25rem;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  cursor: pointer;
  backdrop-filter: blur(10px);
  transition: background 0.25s, border-color 0.25s, transform 0.25s;
}

.carousel__btn:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.55);
  transform: scale(1.04);
}

.carousel__btn svg {
  display: block;
}

.carousel__dots {
  display: flex;
  gap: 0.4rem;
  align-items: center;
}

.carousel__dot {
  width: 0.55rem;
  height: 0.2rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: background 0.3s, width 0.35s var(--ease-out), transform 0.25s;
}

.carousel__dot.is-active {
  width: 1.55rem;
  background: var(--flame);
  transform: none;
}

.carousel__cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
}

/* Botones */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.45rem;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid transparent;
  border-radius: var(--pill);
  cursor: pointer;
  transition:
    transform 0.3s var(--ease-out),
    background 0.3s,
    color 0.3s,
    box-shadow 0.3s,
    border-color 0.3s;
}

.btn--flame {
  background: var(--flame);
  color: var(--white);
}

.btn--flame:hover {
  background: var(--flame-soft);
  box-shadow: 0 10px 28px rgba(255, 59, 0, 0.28);
  transform: translateY(-1px);
}

.btn:active {
  transform: scale(0.98);
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}

.btn--ghost:hover {
  background: rgba(0, 0, 0, 0.04);
}

.btn--glass {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.btn--glass:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: #fff;
}

/* Status pill sobre el hero */
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.15rem;
  padding: 0.42rem 0.85rem;
  border-radius: var(--pill);
  background: rgba(10, 10, 10, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.status-pill__dot {
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: var(--mute);
}

.status-pill.is-open .status-pill__dot {
  background: #3dff8b;
  box-shadow: 0 0 0 3px rgba(61, 255, 139, 0.22);
  animation: status-pulse 2s ease-in-out infinite;
}

.status-pill.is-closed .status-pill__dot {
  background: var(--flame);
}

.status-pill__sep {
  opacity: 0.35;
}

.status-pill__hours {
  font-weight: 500;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.62);
}

@keyframes status-pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(61, 255, 139, 0.18); }
  50% { box-shadow: 0 0 0 5px rgba(61, 255, 139, 0.08); }
}

/* Secciones */
.section {
  position: relative;
  z-index: 1;
  padding: var(--section-y) 1.2rem;
}

.section__inner {
  width: min(var(--content-w), 100%);
  margin: 0 auto;
}

.section__eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--flame);
}

.section__title {
  margin: 0 0 0.7rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.8vw, 3rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.section__lede {
  margin: 0 0 1.25rem;
  max-width: 30rem;
  color: var(--mute);
  font-size: 1.02rem;
}

.about {
  background: transparent;
  overflow: clip;
}

.about__layout {
  display: grid;
  gap: 1.75rem;
  align-items: start;
}

/* Editorial: texto contenido + foto edge-to-edge (sangra al borde derecho
   y crece hacia la izquierda para verse más imponente) */
@media (min-width: 900px) {
  .about {
    padding-right: 0;
    padding-left: clamp(1.15rem, 2.4vw, 2rem);
  }

  .about__layout {
    width: 100%;
    max-width: none;
    margin: 0;
    padding-left: 0;
    grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.35fr);
    gap: clamp(1.25rem, 2.5vw, 2.25rem);
    align-items: stretch;
  }

  .about__static {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 0;
    padding-block: clamp(1.25rem, 3vh, 2.5rem);
    padding-right: 0.5rem;
    max-width: 36rem;
    height: 100%;
  }
}

.about__copy p {
  margin: 0 0 1rem;
  color: var(--ink-soft);
}

.about__copy p:first-child {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  color: var(--ink);
  line-height: 1.45;
}

.about__quote {
  margin: 1.5rem 0 0;
  padding: 0 0 0 1rem;
  border-left: 2px solid var(--flame);
}

.about__quote p {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.2vw, 1.4rem);
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink);
}

.about__quote cite {
  font-style: normal;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mute);
}

.about__copy--more {
  margin-top: 1.35rem;
}

.about__copy--more p:last-child {
  margin-bottom: 0;
}

.about__visual {
  position: relative;
  display: grid;
  gap: 0;
  justify-items: stretch;
  align-content: start;
}

/* Story frame — foto editorial grande B/N */
.story-stash {
  position: relative;
  width: 100%;
  max-width: none;
  aspect-ratio: 4 / 5;
  margin: 0;
  padding: 0;
  border: 0;
  background: #141414;
  border-radius: 0;
  overflow: hidden;
  cursor: pointer;
  touch-action: manipulation;
  box-shadow: none;
}

@media (min-width: 900px) {
  .story-stash {
    aspect-ratio: auto;
    min-height: min(86vh, 820px);
    height: 100%;
  }

  .about__visual {
    /* crece un poco hacia el texto y sangra al borde derecho */
    margin-left: clamp(-1.25rem, -2vw, -0.5rem);
  }

  /* Meta sobre la foto — contraste alto */
  .story-stash__meta {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 5;
    width: auto;
    max-width: none;
    padding: 5rem 1.35rem 1.35rem;
    background: linear-gradient(
      180deg,
      transparent 0%,
      rgba(0, 0, 0, 0.72) 48%,
      rgba(0, 0, 0, 0.92) 100%
    );
    pointer-events: none;
  }

  .story-stash__index {
    color: #ff6a33;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.45);
  }

  .story-stash__title {
    color: #fff;
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45);
  }

  .story-stash__text {
    color: rgba(255, 255, 255, 0.92);
    max-width: 28rem;
    text-shadow: 0 1px 12px rgba(0, 0, 0, 0.5);
  }

  .story-stash__hint {
    color: rgba(255, 255, 255, 0.7);
  }
}

@media (max-width: 899px) {
  .about__visual {
    margin-inline: -1.2rem;
    width: calc(100% + 2.4rem);
  }

  .story-stash {
    aspect-ratio: 5 / 6;
    min-height: 58vw;
  }

  /* En mobile también overlay legible sobre la foto */
  .story-stash__meta {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 5;
    width: auto;
    padding: 3.5rem 1.1rem 1.15rem;
    background: linear-gradient(
      180deg,
      transparent 0%,
      rgba(0, 0, 0, 0.75) 50%,
      rgba(0, 0, 0, 0.92) 100%
    );
    pointer-events: none;
  }

  .story-stash__index {
    color: #ff6a33;
  }

  .story-stash__title {
    color: #fff;
  }

  .story-stash__text {
    color: rgba(255, 255, 255, 0.92);
  }

  .story-stash__hint {
    color: rgba(255, 255, 255, 0.7);
  }
}

.story-stash:focus-visible {
  outline: 2px solid var(--flame);
  outline-offset: 6px;
}

.story-stash__card {
  position: absolute;
  inset: 0;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: scale(1.03);
  transition:
    opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0.55s;
  /* fuerza B/N aunque LQIP quite otros filters */
  filter: grayscale(1) contrast(1.08);
}

.story-stash__card.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
  transform: scale(1);
}

.story-stash__card.is-leaving {
  opacity: 0;
  visibility: visible;
  z-index: 3;
  transform: scale(1.06);
  transition-duration: 0.45s;
}

.story-stash__card img,
.story-stash__card picture {
  width: 100%;
  height: 100%;
  display: block;
}

.story-stash__card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  filter: grayscale(1) contrast(1.08) !important;
}

.story-stash__card.media-blur {
  background-image: var(--lqip);
  background-size: cover;
  background-position: center;
  background-color: #1a1a1a;
  /* LQIP de fondo también en B/N */
  -webkit-filter: grayscale(1) contrast(1.08);
  filter: grayscale(1) contrast(1.08);
}

.story-stash__card.media-blur.is-active {
  /* el filter del card grisaría el content; en active movemos grayscale a la img */
  -webkit-filter: none;
  filter: none;
}

.story-stash__card.media-blur [data-lqip-img] {
  opacity: 0;
  filter: grayscale(1) blur(14px) contrast(1.05) !important;
  transform: scale(1.04);
  transition:
    opacity 0.7s var(--ease-out),
    filter 0.9s var(--ease-out),
    transform 0.9s var(--ease-out);
}

.story-stash__card.media-blur.is-loaded [data-lqip-img] {
  opacity: 1;
  filter: grayscale(1) contrast(1.08) !important;
  transform: scale(1);
}

.story-stash__meta {
  width: auto;
  max-width: none;
  text-align: left;
  transition: opacity 0.28s ease, transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

.story-stash__meta.is-swapping {
  opacity: 0;
  transform: translateY(6px);
}

.story-stash__index {
  margin: 0 0 0.35rem;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #ff6a33;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.45);
}

.story-stash__title {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.6vw, 1.75rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #fff;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.5);
}

.story-stash__text {
  margin: 0;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.5;
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.55);
}

.story-stash__hint {
  margin: 0.75rem 0 0;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

/* Menú */
.menu {
  background: transparent;
}

.menu-filters {
  margin: 0 0 1.5rem;
}

.menu-filters[hidden] {
  display: none;
}

.menu-filters__track {
  position: relative;
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.15rem;
  padding: 0.28rem;
  max-width: 100%;
  border-radius: var(--pill);
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(255, 59, 0, 0.12);
  box-shadow: 0 6px 18px rgba(17, 17, 17, 0.04);
}

.menu-filters__liquid {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 0;
  width: 0;
  height: 0;
  border-radius: var(--pill);
  background: var(--flame);
  opacity: 0;
  pointer-events: none;
  transform: translate3d(0, 0, 0);
  box-shadow: 0 8px 20px rgba(255, 59, 0, 0.28);
  will-change: transform, width, height;
}

.menu-filters__liquid.is-ready {
  opacity: 1;
}

.menu-filters__btn {
  position: relative;
  z-index: 1;
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--ink-soft);
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.5rem 0.95rem;
  border-radius: var(--pill);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition:
    color 0.35s var(--ease-out),
    transform 0.22s var(--ease-out);
}

.menu-filters__btn:hover {
  color: var(--flame);
}

.menu-filters__btn.is-active {
  color: #fff;
}

.menu-filters__btn.is-active:hover {
  color: #fff;
}

.menu-filters__btn:active {
  transform: scale(0.97);
}

.menu-board {
  display: flex;
  flex-direction: column;
  gap: 2.25rem;
  view-transition-name: menu-board;
}

.menu-category.is-filtered-out {
  display: none;
}

.menu-board__loading,
.menu-board__error {
  color: var(--mute);
}

.menu-category__title {
  margin: 0 0 0.35rem;
  font-family: var(--font-brand);
  font-size: clamp(1.45rem, 3vw, 1.7rem);
  letter-spacing: 0.08em;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--line);
}

.menu-item {
  display: grid;
  gap: 0.35rem;
  padding: 1.15rem 0.2rem 1.15rem 0.55rem;
  border-bottom: 1px solid var(--line);
  border-left: 2px solid transparent;
  opacity: 0;
  transform: translateY(12px);
  transition:
    background 0.3s,
    padding 0.35s var(--ease-out),
    border-color 0.3s,
    box-shadow 0.35s var(--ease-out),
    opacity 0.55s var(--ease-out),
    transform 0.55s var(--ease-out);
  transition-delay: var(--stagger, 0ms);
}

.menu-item.is-in {
  opacity: 1;
  transform: translateY(0);
}

.menu-item:hover {
  background: rgba(255, 248, 242, 0.9);
  padding-left: 0.85rem;
  border-left-color: var(--flame);
  box-shadow:
    inset 0 0 0 1px rgba(255, 59, 0, 0.04),
    0 10px 28px rgba(255, 59, 0, 0.07);
}

.menu-item__price {
  margin: 0.2rem 0 0;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
  width: fit-content;
  transition: transform 0.45s var(--ease-out), color 0.35s;
}

.menu-item__head {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.5rem 0.7rem;
  min-width: 0;
}

.menu-item__name {
  margin: 0;
  font-size: clamp(1.05rem, 2.2vw, 1.18rem);
  font-weight: 600;
  line-height: 1.25;
  min-width: 0;
}

.menu-item__sku {
  font-family: var(--font-brand);
  font-size: 1rem;
  letter-spacing: 0.06em;
  color: var(--mute);
  min-width: 1.75rem;
  flex-shrink: 0;
  transition: transform 0.45s var(--ease-out), color 0.35s;
}

.menu-item:hover .menu-item__sku {
  transform: translateX(-5px);
  color: var(--flame);
}

.menu-item:hover .menu-item__price {
  transform: translateX(7px);
  color: var(--flame);
}

.menu-item__glyph {
  width: 1.3rem;
  height: 1.3rem;
  color: var(--flame);
  flex-shrink: 0;
}

.menu-item__glyph svg {
  width: 100%;
  height: 100%;
  display: block;
}

.menu-item.is-highlight .menu-item__name::after {
  content: "Firma";
  margin-left: 0.5rem;
  padding: 0.18rem 0.5rem;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--flame);
  background: var(--accent-tint);
  border-radius: var(--pill);
  vertical-align: middle;
}

.menu-item__desc {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--mute);
  max-width: 40rem;
}

.heat-meter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.08rem;
  margin-left: auto;
  flex-shrink: 0;
  padding: 0.3rem 0.55rem;
  min-height: 1.7rem;
  background: rgba(255, 59, 0, 0.08);
  border-radius: var(--pill);
  line-height: 1;
}

.heat-meter--mild,
.heat-meter--flavor {
  gap: 0.35rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  background: rgba(0, 0, 0, 0.05);
}

.heat-meter--inferno {
  background: rgba(123, 44, 191, 0.1);
}

.heat-meter--flavor .heat-label {
  white-space: nowrap;
  font-size: 0.68rem;
}

.heat-flame {
  font-size: 1.05rem;
  line-height: 1;
  color: var(--flame);
}

.heat-flame.is-inferno {
  color: #7b2cbf;
}

@media (max-width: 560px) {
  .menu-item__head {
    flex-wrap: wrap;
  }

  .heat-meter {
    margin-left: 0;
  }

  .menu-item__name {
    font-size: 1.05rem;
  }

  .menu-item__desc {
    font-size: 0.9rem;
  }
}

/* Ubicación — proporción equilibrada:
   columnas cercanas 1:1, mapa a la misma altura del texto (sin forzar vh) */
.location {
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(8px);
}

.location__layout {
  display: grid;
  gap: 1.5rem;
  align-items: start;
}

.location__info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
}

.location__info .section__title {
  margin-bottom: 1rem;
}

.location__name {
  margin: 0 0 0.4rem;
  font-family: var(--font-brand);
  font-size: 1.55rem;
  letter-spacing: 0.06em;
  line-height: 1;
}

.location__address {
  margin: 0 0 1.2rem;
  font-size: 1.02rem;
  line-height: 1.55;
  color: var(--ink-soft);
}

.location__meta {
  display: grid;
  gap: 0.65rem;
  width: 100%;
  margin: 0 0 1.35rem;
  padding: 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.location__meta li {
  display: grid;
  grid-template-columns: 5.25rem minmax(0, 1fr);
  column-gap: 0.7rem;
  align-items: baseline;
}

.location__meta li > span:first-child {
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mute);
}

.location__meta-val {
  color: var(--ink-soft);
}

.location__meta a.location__meta-val:hover {
  color: var(--flame);
}

.location__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.location__map {
  position: relative;
  width: 100%;
  aspect-ratio: 5 / 4;
  min-height: 260px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255, 59, 0, 0.12);
  background:
    radial-gradient(120% 90% at 70% 20%, rgba(255, 59, 0, 0.1), transparent 55%),
    linear-gradient(165deg, #faf6f1 0%, #f3e8dc 100%);
  isolation: isolate;
}

.location__map::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background: linear-gradient(
    90deg,
    rgba(247, 247, 245, 0.12) 0%,
    transparent 14%
  );
}

.location__map-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

@media (min-width: 900px) {
  .location__layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: clamp(1.5rem, 3vw, 2.25rem);
    align-items: stretch;
  }

  .location__info {
    justify-content: center;
    padding-block: 0.35rem;
  }

  .location__map-wrap {
    height: 100%;
    min-height: 0;
  }

  .location__map {
    aspect-ratio: auto;
    min-height: 0;
    flex: 1;
    height: auto;
    align-self: stretch;
  }
}

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

  .location__info {
    order: 1;
  }

  .location__map-wrap {
    order: 2;
  }

  .location__map {
    aspect-ratio: 16 / 11;
    min-height: 260px;
  }
}

.location__map-canvas .maplibregl-canvas {
  outline: none;
}

.location__map-canvas .maplibregl-ctrl-group {
  overflow: hidden;
  border: 1px solid rgba(255, 59, 0, 0.16);
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(17, 17, 17, 0.08);
  background: rgba(255, 250, 246, 0.94);
}

.location__map-canvas .maplibregl-ctrl-group button {
  width: 32px;
  height: 32px;
  background-color: transparent;
}

.location__map-canvas .maplibregl-ctrl-group button + button {
  border-top-color: rgba(255, 59, 0, 0.12);
}

.location__map-canvas .maplibregl-ctrl-group button:hover {
  background-color: rgba(255, 59, 0, 0.08);
}

.location__map-canvas .maplibregl-ctrl-icon {
  filter: invert(28%) sepia(82%) saturate(2200%) hue-rotate(3deg) brightness(1.05);
}


.location__map-canvas .maplibregl-ctrl-attrib,
.location__map-canvas .maplibregl-ctrl-logo {
  display: none !important;
}

.location__map-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  min-width: 0;
  height: 100%;
}

.location__map-credit {
  margin: 0;
  padding: 0 0.15rem;
  font-size: 0.58rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(138, 138, 138, 0.55);
  text-align: right;
}

.location__map-canvas .maplibregl-popup-content {
  padding: 0.55rem 0.75rem;
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink);
  background: #fffaf6;
  box-shadow: 0 10px 28px rgba(196, 90, 40, 0.18);
  border: 1px solid rgba(255, 59, 0, 0.14);
}

.location__map-canvas .maplibregl-popup-tip {
  border-top-color: #fffaf6;
}

.location__marker {
  width: 28px;
  height: 28px;
  position: relative;
  cursor: pointer;
  z-index: 2;
}

.location__marker::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 16px;
  height: 16px;
  border-radius: 50% 50% 50% 0;
  background: var(--flame);
  transform: translate(-50%, -60%) rotate(-45deg);
  box-shadow:
    0 0 0 7px rgba(255, 59, 0, 0.16),
    0 8px 18px rgba(255, 59, 0, 0.35);
}

.location__marker::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 42%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #fff;
  transform: translate(-50%, -50%);
}

.location__map-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 0.55rem;
  padding: 1.5rem;
  color: var(--mute);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
  background:
    radial-gradient(100% 80% at 50% 30%, rgba(255, 59, 0, 0.07), transparent 60%),
    var(--canvas);
}

.location__map-fallback[hidden] {
  display: none;
}

.location__map-fallback p {
  margin: 0;
  color: var(--ink-soft);
  font-weight: 500;
}

.location__map-fallback-hint {
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.72rem;
  color: var(--mute);
  max-width: 16rem;
  line-height: 1.45;
}

.location__map-fallback-hint code {
  font-size: 0.68rem;
  color: var(--flame);
}

.location__pin {
  width: 12px;
  height: 12px;
  border-radius: 50% 50% 50% 0;
  background: var(--flame);
  transform: rotate(-45deg);
  box-shadow: 0 0 0 7px var(--accent-tint);
  margin-bottom: 0.35rem;
}

/* WhatsApp FAB — fijo esquina inferior derecha */
.whatsapp-fab {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  left: auto;
  top: auto;
  z-index: 60;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.75rem 1rem;
  border-radius: var(--pill);
  background: color-mix(in srgb, #25d366 88%, white 12%);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  overflow: hidden;
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    0 12px 30px rgba(37, 211, 102, 0.35);
  transition:
    transform 0.25s var(--ease-out),
    box-shadow 0.25s;
}

.whatsapp-fab i {
  font-size: 1.2rem;
  line-height: 1;
}

.whatsapp-fab:hover {
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.45),
    0 16px 34px rgba(37, 211, 102, 0.42);
}

.whatsapp-fab:active {
  transform: scale(0.98);
}

.site-footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid transparent;
  padding: 1.35rem 1.2rem 1.5rem;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.site-footer__stack {
  width: min(var(--content-w), 100%);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.15rem;
  text-align: center;
}

.site-footer__brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  font-size: 0.74rem;
  color: var(--mute);
}

.site-footer__brand p {
  margin: 0;
}

.site-footer__brand img {
  width: 2rem;
  height: auto;
}

.site-footer__credit {
  margin: 0.2rem 0 0;
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  color: var(--mute);
}

.social {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.85rem;
}

.site-footer__whisper {
  margin: -0.15rem 0 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(138, 138, 138, 0.55);
  user-select: none;
}

.site-footer__whisper i {
  font-size: 0.72rem;
  color: rgba(255, 59, 0, 0.45);
  line-height: 1;
}

.social__link {
  width: 3.15rem;
  height: 3.15rem;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  padding: 0;
  transition:
    transform 0.28s var(--ease-out),
    color 0.25s,
    border-color 0.25s,
    background 0.25s,
    box-shadow 0.3s ease;
}

.social__link i {
  font-size: 1.45rem;
  line-height: 1;
}

.social__link:hover {
  transform: translateY(-3px);
  color: var(--flame);
  border-color: rgba(255, 59, 0, 0.28);
}

.social__link--crypto {
  border-color: rgba(247, 147, 26, 0.4);
  background:
    radial-gradient(circle at 35% 30%, rgba(255, 220, 140, 0.45), transparent 55%),
    rgba(247, 147, 26, 0.12);
  color: #c27300;
}

.social__link--crypto:hover,
.social__link--crypto.is-open {
  color: #f0b429;
  border-color: rgba(255, 196, 70, 0.75);
  background:
    radial-gradient(circle at 35% 28%, rgba(255, 236, 170, 0.7), transparent 52%),
    rgba(247, 147, 26, 0.22);
  transform: translateY(-3px) scale(1.06);
  box-shadow:
    0 0 0 1px rgba(255, 200, 80, 0.35),
    0 0 18px rgba(247, 170, 40, 0.45),
    0 0 36px rgba(247, 147, 26, 0.22),
    0 10px 22px rgba(120, 70, 0, 0.12);
  filter: drop-shadow(0 0 6px rgba(255, 200, 80, 0.35));
}

.crypto-panel {
  display: grid;
  grid-template-rows: 0fr;
  width: min(var(--content-w), 100%);
  margin: 0 auto;
  opacity: 0;
  transition:
    grid-template-rows 0.45s var(--ease-out),
    opacity 0.35s ease,
    margin 0.35s ease;
}

.crypto-panel.is-open {
  grid-template-rows: 1fr;
  opacity: 1;
  margin-top: 1rem;
}

.crypto-panel__inner {
  overflow: hidden;
  min-height: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  transform: translateY(-8px) scale(0.985);
  transition: transform 0.45s var(--ease-out);
}

.crypto-panel.is-open .crypto-panel__inner {
  transform: translateY(0) scale(1);
  padding: 1.15rem 1.2rem 1.25rem;
}

.crypto-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.35rem;
}

.crypto-panel__title {
  margin: 0;
  font-family: var(--font-brand);
  font-size: 1.25rem;
  letter-spacing: 0.06em;
}

.crypto-panel__close {
  width: 2rem;
  height: 2rem;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.05);
  color: var(--mute);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.crypto-panel__close:hover {
  background: rgba(0, 0, 0, 0.08);
  color: var(--ink);
}

.crypto-panel__hint {
  margin: 0 0 0.75rem;
  font-size: 0.86rem;
  color: var(--mute);
}

.crypto-panel__chains {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.55rem;
}

.crypto-pill {
  appearance: none;
  border: 1px solid transparent;
  padding: 0.38rem 0.7rem;
  border-radius: var(--pill);
  font: inherit;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition:
    background 0.2s,
    border-color 0.2s,
    color 0.2s,
    box-shadow 0.2s,
    transform 0.2s;
}

.crypto-pill--btc {
  color: #c27300;
  background: rgba(247, 147, 26, 0.14);
  border-color: rgba(247, 147, 26, 0.22);
}

.crypto-pill--usdt {
  color: #0f8a72;
  background: rgba(38, 161, 123, 0.14);
  border-color: rgba(38, 161, 123, 0.22);
}

.crypto-pill--eth {
  color: #4a5ad8;
  background: rgba(98, 126, 234, 0.14);
  border-color: rgba(98, 126, 234, 0.22);
}

.crypto-pill:hover {
  transform: translateY(-1px);
}

.crypto-pill.is-active {
  box-shadow: 0 0 0 2px rgba(17, 17, 17, 0.08);
}

.crypto-pill--btc.is-active {
  background: rgba(247, 147, 26, 0.28);
  border-color: rgba(247, 147, 26, 0.55);
}

.crypto-pill--usdt.is-active {
  background: rgba(38, 161, 123, 0.28);
  border-color: rgba(38, 161, 123, 0.55);
}

.crypto-pill--eth.is-active {
  background: rgba(98, 126, 234, 0.28);
  border-color: rgba(98, 126, 234, 0.55);
}

.crypto-panel__network {
  margin: 0 0 0.45rem;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: var(--mute);
}

.crypto-panel__addr {
  display: block;
  margin-bottom: 0.75rem;
  padding: 0.7rem 0.85rem;
  background: #111;
  color: #f3ebe0;
  border-radius: 0.55rem;
  font-size: 0.76rem;
  word-break: break-all;
}

.about,
.menu,
.location {
  position: relative;
  isolation: isolate;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.section-breath {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.section-breath__orb {
  position: absolute;
  width: min(70%, 520px);
  height: min(70%, 520px);
  top: 8%;
  left: 6%;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(255, 59, 0, 0.22) 0%,
    rgba(255, 140, 60, 0.1) 45%,
    transparent 70%
  );
  filter: blur(70px);
  opacity: 0.55;
  mix-blend-mode: multiply;
  translate:
    calc((var(--breath-x, 0.5) - 0.5) * 18%)
    calc((var(--breath-y, 0.5) - 0.5) * 14% + var(--light-scroll, 0) * -6%);
  transition: translate 0.7s var(--ease-out);
  animation: breath-soft 16s ease-in-out infinite alternate;
}

.section-breath__orb--soft {
  width: min(55%, 420px);
  height: min(55%, 420px);
  top: auto;
  bottom: -8%;
  left: auto;
  right: 4%;
  opacity: 0.4;
  animation-duration: 22s;
  animation-direction: alternate-reverse;
  translate:
    calc((var(--breath-x, 0.5) - 0.5) * -14%)
    calc((var(--breath-y, 0.5) - 0.5) * 10% + var(--light-scroll, 0) * 4%);
}

@keyframes breath-soft {
  from { scale: 1; }
  to { scale: 1.12; }
}

.about > .section__inner,
.menu > .section__inner {
  position: relative;
  z-index: 1;
}

.is-vt-section {
  view-transition-name: section-focus;
}

@supports (view-transition-name: none) {
  ::view-transition-old(menu-board),
  ::view-transition-new(menu-board) {
    animation-duration: 0.42s;
    animation-timing-function: var(--ease-out);
  }

  ::view-transition-old(section-focus),
  ::view-transition-new(section-focus) {
    animation-duration: 0.38s;
    animation-timing-function: var(--ease-out);
  }
}


/* Perf: skip offscreen work (no filter sections) */
.location,
.site-footer {
  content-visibility: auto;
  contain-intrinsic-size: 1px 720px;
}

@media (max-width: 800px) {
  .ambient__orb--c {
    opacity: 0.4;
  }
}

/* Reveal */
[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  filter: blur(8px);
  transition:
    opacity 0.8s var(--ease-out),
    transform 0.8s var(--ease-out),
    filter 0.8s var(--ease-out);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  [data-reveal] {
    opacity: 1;
    transform: none;
    filter: none;
  }
  .ambient__orb {
    animation: none !important;
  }
  .ambient__pointer {
    display: none;
  }
  .section-breath__orb {
    animation: none !important;
    transition: none !important;
  }
  .media-blur [data-lqip-img] {
    opacity: 1 !important;
    filter: none !important;
    transform: none !important;
  }
  .story-stash__card.media-blur [data-lqip-img],
  .story-stash__card img {
    filter: grayscale(1) contrast(1.08) !important;
  }
  .carousel__slide.media-blur [data-lqip-img],
  .carousel__slide img {
    filter: saturate(0.88) contrast(1.12) brightness(0.9) sepia(0.14) !important;
    transition: none !important;
  }


  .carousel__brand.is-in {
    animation: none !important;
    opacity: 1;
    filter: none;
    transform: translate(-50%, -50%);
  }

  .menu-item {
    opacity: 1;
    transform: none;
  }

  .story-stash__card.is-leaving {
    transition: none !important;
    opacity: 0 !important;
    transform: none !important;
  }
  .story-stash__card,
  .story-stash__card img {
    filter: grayscale(1) contrast(1.08) !important;
  }
}

@media (max-width: 640px) {
  /* Header nav: una línea con scroll horizontal */
  .site-header {
    justify-content: flex-start;
    padding: 0.3rem 0.55rem 0.3rem 0.65rem;
    gap: 0.35rem;
  }

  .site-header.is-compact {
    padding-left: 3.1rem;
  }

  .site-header__word {
    display: none;
  }

  .site-header__brand {
    left: 0.55rem;
  }

  .site-nav {
    flex: 1;
    min-width: 0;
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    mask-image: linear-gradient(90deg, #000 85%, transparent);
  }

  .site-nav::-webkit-scrollbar {
    display: none;
  }

  .site-nav__list {
    flex-wrap: nowrap;
    justify-content: flex-start;
    width: max-content;
    gap: 0;
    padding-right: 0.75rem;
  }

  .site-nav__link {
    padding: 0.55rem 0.65rem;
    font-size: 0.66rem;
    letter-spacing: 0.06em;
    white-space: nowrap;
  }

  .site-nav__link::after {
    left: 0.55rem;
    right: 0.55rem;
  }

  .nav-extra {
    display: none;
  }

  /* Filtros del menú: una línea con scroll */
  .menu-filters {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin: 0 -1.2rem 1.35rem;
    padding: 0 1.2rem 0.15rem;
  }

  .menu-filters::-webkit-scrollbar {
    display: none;
  }

  .menu-filters__track {
    flex-wrap: nowrap;
    width: max-content;
    max-width: none;
  }

  .menu-filters__btn {
    flex: 0 0 auto;
    white-space: nowrap;
    padding: 0.48rem 0.85rem;
    font-size: 0.68rem;
  }

  /* WhatsApp siempre fijo abajo a la derecha en teléfono */
  .whatsapp-fab {
    position: fixed !important;
    right: max(0.85rem, env(safe-area-inset-right)) !important;
    bottom: max(0.85rem, env(safe-area-inset-bottom)) !important;
    left: auto !important;
    top: auto !important;
    z-index: 60;
    transform: none;
  }

  .site-footer {
    padding-bottom: max(5.5rem, calc(env(safe-area-inset-bottom) + 4.5rem));
  }

  .carousel {
    height: min(70svh, 560px);
    min-height: 360px;
  }

  .carousel__brand {
    top: 40%;
    width: min(92vw, 460px);
  }

  .carousel__mark-wrap {
    width: clamp(170px, 44vw, 230px);
  }

  .carousel__wordmark {
    width: min(88vw, 440px);
  }

  .btn {
    padding: 0.78rem 1.2rem;
    font-size: 0.68rem;
  }
}
