:root {
  --bg: #070708;
  --panel: #0c0c0f;
  --panel2: #101017;
  --text: #e9e9ee;
  --muted: #b7b7c2;
  --line: rgba(255, 255, 255, .08);

  --fire1: #ff7a18;
  --fire2: #ffb347;
  --ember: #ff3b30;

  --radius: 18px;
  --shadow: 0 18px 60px rgba(0, 0, 0, .55);
  --shadow2: 0 10px 30px rgba(0, 0, 0, .45);

  --max: 1120px;
  --pad: clamp(16px, 3vw, 28px);
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  /* ✅ anti overflow-x */
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(var(--max), 100%);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.bg {
  position: fixed;
  inset: 0;
  z-index: -1;
}

.bg__vignette {
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(60% 55% at 50% 20%, rgba(255, 122, 24, .10), transparent 60%),
    radial-gradient(45% 35% at 20% 80%, rgba(255, 59, 48, .10), transparent 60%),
    radial-gradient(55% 45% at 85% 70%, rgba(255, 179, 71, .08), transparent 60%),
    radial-gradient(80% 80% at 50% 50%, rgba(0, 0, 0, .55), rgba(0, 0, 0, .85));
  filter: saturate(1.1);
}

.bg__grain {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.7' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='.22'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
  opacity: .25;
  pointer-events: none;
}

.bg__embers {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .35;
  background:
    radial-gradient(6px 6px at 10% 20%, rgba(255, 122, 24, .8), transparent 60%),
    radial-gradient(5px 5px at 30% 80%, rgba(255, 59, 48, .7), transparent 60%),
    radial-gradient(4px 4px at 70% 25%, rgba(255, 179, 71, .7), transparent 60%),
    radial-gradient(5px 5px at 90% 70%, rgba(255, 122, 24, .8), transparent 60%);
  animation: floatEmbers 8s ease-in-out infinite alternate;
}

@keyframes floatEmbers {
  from {
    transform: translateY(0px) translateX(0px);
    filter: blur(.2px);
  }

  to {
    transform: translateY(-14px) translateX(10px);
    filter: blur(.6px);
  }
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: rgba(7, 7, 8, .55);
  border-bottom: 1px solid var(--line);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px var(--pad);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 120px;
}

.brand__logo {
  height: 42px;
  width: auto;
  filter: drop-shadow(0 6px 18px rgba(0, 0, 0, .55));
}

.nav--desktop {
  display: flex;
  gap: 18px;
  align-items: center;
}

.nav__link {
  font-weight: 500;
  color: rgba(233, 233, 238, .88);
  padding: 10px 10px;
  border-radius: 12px;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}

.nav__link:hover {
  background: rgba(255, 255, 255, .06);
  color: #fff;
  transform: translateY(-1px);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid transparent;
  font-weight: 600;
  letter-spacing: .2px;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease, color .18s ease;
  user-select: none;
  white-space: nowrap;
}

.btn:active {
  transform: translateY(1px) scale(.99);
}

.btn--primary {
  background: linear-gradient(135deg, rgba(255, 122, 24, 1), rgba(255, 59, 48, .95));
  box-shadow: 0 18px 40px rgba(255, 59, 48, .18);
  color: #0b0b0c;
}

.btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 22px 55px rgba(255, 59, 48, .22);
}

.btn--ghost {
  background: rgba(255, 255, 255, .04);
  border-color: rgba(255, 255, 255, .10);
  color: rgba(233, 233, 238, .95);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, .07);
  border-color: rgba(255, 255, 255, .16);
  transform: translateY(-1px);
}

.btn--full {
  width: 100%;
}

.burger{
  width:46px;
  height:42px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);

  display:none;
  flex-direction: column;   /* ✅ CLAVE */
  align-items: center;
  justify-content: center;
  gap:6px;

  cursor: pointer;
}

.burger span{
  display:block;
  width:20px;
  height:2px;
  background: rgba(233,233,238,.95);
  border-radius:2px;
}

/* Mobile nav */
.mobileNav {
  position: fixed;
  inset: 0;
  z-index: 60;
}

.mobileNav__panel {
  position: absolute;
  top: 70px;
  right: 12px;
  left: 12px;
  background: rgba(12, 12, 15, .88);
  border: 1px solid rgba(255, 255, 255, .10);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 14px;
  transform-origin: top right;
  animation: pop .18s ease-out;
}

@keyframes pop {
  from {
    transform: scale(.98) translateY(-8px);
    opacity: 0;
  }

  to {
    transform: scale(1) translateY(0);
    opacity: 1;
  }
}

.mobileNav__link {
  display: block;
  padding: 14px 12px;
  border-radius: 14px;
  color: rgba(233, 233, 238, .95);
  font-weight: 600;
  border: 1px solid transparent;
  transition: background .18s ease, border-color .18s ease;
}

.mobileNav__link:hover {
  background: rgba(255, 255, 255, .06);
  border-color: rgba(255, 255, 255, .10);
}

.mobileNav__cta {
  margin-top: 10px;
  display: grid;
  gap: 10px;
}

.mobileNav__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .35);
  border: 0;
}

/* Hero */
.hero {
  position: relative;
  padding: 34px 0 10px;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 26px;
  align-items: start;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .10);
  color: rgba(233, 233, 238, .9);
  margin: 0 0 16px;
}

.badge__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--fire2), var(--ember));
  box-shadow: 0 0 18px rgba(255, 59, 48, .25);
}

.hero__title {
  font-family: Cinzel, serif;
  font-size: clamp(34px, 4.2vw, 56px);
  line-height: 1.02;
  margin: 0 0 14px;
  letter-spacing: .4px;
}

.accent {
  background: linear-gradient(90deg, var(--fire1), var(--fire2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__subtitle {
  color: rgba(233, 233, 238, .78);
  font-size: 16.5px;
  line-height: 1.6;
  margin: 0 0 18px;
  max-width: 56ch;
}

.hero__cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 16px 0 18px;
}

.hero__trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 18px;
}

.trustCard {
  background: rgba(16, 16, 23, .55);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 16px;
  padding: 14px;
  box-shadow: var(--shadow2);
}

.trustCard__kicker {
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .6px;
  text-transform: uppercase;
  color: rgba(255, 179, 71, .92);
}

.trustCard__text {
  margin-top: 8px;
  color: rgba(233, 233, 238, .78);
  font-size: 13.5px;
  line-height: 1.45;
}

.heroCard {
  position: relative;
  background: linear-gradient(180deg, rgba(16, 16, 23, .70), rgba(12, 12, 15, .70));
  border: 1px solid rgba(255, 255, 255, .10);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.heroCard__glow {
  position: absolute;
  inset: -20%;
  background: radial-gradient(35% 35% at 25% 25%, rgba(255, 122, 24, .22), transparent 60%),
    radial-gradient(35% 35% at 70% 70%, rgba(255, 59, 48, .18), transparent 60%);
  filter: blur(10px);
  pointer-events: none;
}

.heroCard__top {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 14px 10px;
}

.heroCard__label {
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .6px;
  text-transform: uppercase;
  color: rgba(233, 233, 238, .84);
}

.heroCard__pill {
  font-weight: 800;
  font-size: 12px;
  background: rgba(255, 179, 71, .12);
  border: 1px solid rgba(255, 179, 71, .25);
  color: rgba(255, 179, 71, .98);
  padding: 8px 10px;
  border-radius: 999px;
}

.heroCard__media {
  position: relative;
  height: 340px;
  background:
    radial-gradient(90% 60% at 10% 0%, rgba(255, 122, 24, .20), transparent 60%),
    radial-gradient(70% 60% at 80% 80%, rgba(255, 59, 48, .18), transparent 60%),
    linear-gradient(180deg, rgba(0, 0, 0, .2), rgba(0, 0, 0, .6));
  background-image: url("logo.jpg");
  /* nombre de tu imagen */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.media__overlay {
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='900' height='600'%3E%3Cdefs%3E%3CradialGradient id='g' cx='50%25' cy='35%25'%3E%3Cstop offset='0%25' stop-color='%23ff7a18' stop-opacity='.35'/%3E%3Cstop offset='55%25' stop-color='%23000000' stop-opacity='.0'/%3E%3Cstop offset='100%25' stop-color='%23000000' stop-opacity='.0'/%3E%3C/radialGradient%3E%3C/defs%3E%3Crect width='900' height='600' fill='url(%23g)'/%3E%3C/svg%3E") center/cover no-repeat;
  mix-blend-mode: screen;
  opacity: .5;
}

.media__content {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  padding: 14px;
  border-radius: 18px;
  background: rgba(0, 0, 0, .35);
  border: 1px solid rgba(255, 255, 255, .10);
  backdrop-filter: blur(10px);
}

.media__content h3 {
  margin: 0 0 6px;
  font-family: Cinzel, serif;
  letter-spacing: .5px;
}

.media__content p {
  margin: 0;
  color: rgba(233, 233, 238, .80);
  line-height: 1.5;
}

.heroCard__bottom {
  position: relative;
  padding: 12px 14px 14px;
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  color: rgba(233, 233, 238, .78);
}

.miniLink {
  font-weight: 700;
  font-size: 13px;
}

.miniLink:hover {
  color: #fff;
}

.dotSep {
  opacity: .35;
}

.hero__fade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 80px;
  background: linear-gradient(180deg, transparent, rgba(7, 7, 8, 1));
}

/* Sections */
.section {
  padding: 64px 0;
}

.section--tight {
  padding: 46px 0;
}

.sectionHead {
  text-align: center;
  margin-bottom: 22px;
}

.sectionHead--left {
  text-align: left;
}

.sectionTitle {
  margin: 0;
  font-family: Cinzel, serif;
  font-size: clamp(26px, 3.2vw, 38px);
  letter-spacing: .4px;
}

.sectionSubtitle {
  margin: 10px auto 0;
  color: rgba(233, 233, 238, .72);
  line-height: 1.6;
  max-width: 68ch;
}

.grid3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.card {
  background: rgba(16, 16, 23, .52);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow2);
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 179, 71, .22);
  background: rgba(16, 16, 23, .62);
}

.card__icon {
  font-size: 22px;
  margin-bottom: 10px;
}

.card__title {
  margin: 0 0 6px;
  font-weight: 800;
}

.card__text {
  margin: 0;
  color: rgba(233, 233, 238, .72);
  line-height: 1.55;
}

/* Menu */
.menuControls {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  margin: 18px 0 18px;
}

.chips {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.chip {
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .10);
  color: rgba(233, 233, 238, .88);
  padding: 10px 12px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}

.chip:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, .06);
}

.chip.isActive {
  background: rgba(255, 179, 71, .12);
  border-color: rgba(255, 179, 71, .30);
  color: rgba(255, 179, 71, .98);
}

.search {
  position: relative;
  min-width: min(420px, 100%);
  flex: 1 1 320px;
}

.search__icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  opacity: .7;
}

.search input {
  width: 100%;
  padding: 13px 44px 13px 38px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, .10);
  background: rgba(12, 12, 15, .55);
  color: rgba(233, 233, 238, .92);
  outline: none;
}

.search input:focus {
  border-color: rgba(255, 179, 71, .30);
  box-shadow: 0 0 0 6px rgba(255, 179, 71, .08);
}

.search__clear {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  width: 30px;
  height: 30px;
  border-radius: 10px;
  background: rgba(255, 255, 255, .06);
  color: rgba(233, 233, 238, .85);
  cursor: pointer;
}

.search__clear:hover {
  background: rgba(255, 255, 255, .10);
}

.menuGrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.menuItem {
  background: rgba(16, 16, 23, .50);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 18px;
  padding: 16px;
  box-shadow: var(--shadow2);
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
  display: flex;
  flex-direction: column;
  min-height: 180px;
}

.menuItem:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 122, 24, .25);
  background: rgba(16, 16, 23, .62);
}

.menuItem__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
}

.menuItem__name {
  margin: 0;
  font-weight: 900;
  letter-spacing: .2px;
}

.menuItem__price {
  font-weight: 900;
  color: rgba(255, 179, 71, .98);
  white-space: nowrap;
}

.menuItem__desc {
  margin: 10px 0 0;
  color: rgba(233, 233, 238, .72);
  line-height: 1.55;
  flex: 1;
}

.tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.tag {
  font-size: 12px;
  font-weight: 800;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .08);
  color: rgba(233, 233, 238, .78);
}

.tag--hot {
  border-color: rgba(255, 59, 48, .25);
  background: rgba(255, 59, 48, .10);
}

.tag--share {
  border-color: rgba(255, 179, 71, .25);
  background: rgba(255, 179, 71, .10);
}

.menuNote {
  margin-top: 18px;
  padding: 16px;
  border-radius: 18px;
  border: 1px dashed rgba(255, 179, 71, .25);
  background: rgba(255, 179, 71, .06);
}

.menuNote__title {
  font-weight: 900;
  color: rgba(255, 179, 71, .98);
}

.menuNote__text {
  margin-top: 6px;
  color: rgba(233, 233, 238, .78);
  line-height: 1.6;
}

/* Gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 12px;
}

.gItem {
  border: 1px solid rgba(255, 255, 255, .10);
  border-radius: 18px;

  height: 180px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform .18s ease, border-color .18s ease, filter .18s ease;
}

.gItem:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 179, 71, .22);
  filter: saturate(1.1);
}

.gItem span {
  position: absolute;
  left: 12px;
  bottom: 12px;
  font-weight: 900;
  background: rgba(0, 0, 0, .35);
  border: 1px solid rgba(255, 255, 255, .10);
  padding: 8px 10px;
  border-radius: 14px;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
}

.lightbox__panel {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(960px, calc(100% - 24px));
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: var(--shadow);
  background: rgba(0, 0, 0, .55);
}

.lightbox__panel img {
  width: 100%;
  height: auto;
  display: block;
}

.lightbox__close {
  position: absolute;
  right: 10px;
  top: 10px;
  width: 40px;
  height: 40px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(0, 0, 0, .45);
  color: #fff;
  cursor: pointer;
}

.lightbox__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(0, 0, 0, .45);
}

/* Split */
.split {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 18px;
  align-items: start;
}

.mapCard {
  background: rgba(16, 16, 23, .52);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow2);
}

.mapCard__frame {
  aspect-ratio: 16/10;
  width: 100%;
  overflow: hidden;
}

.mapCard__frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.mapCard__actions {
  display: flex;
  gap: 10px;
  padding: 12px;
  flex-wrap: wrap;
}

.hours {
  background: rgba(16, 16, 23, .52);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 18px;
  box-shadow: var(--shadow2);
  overflow: hidden;
}

.hours__row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  color: rgba(233, 233, 238, .84);
}

.hours__row:last-child {
  border-bottom: 0;
}

.hours__row strong {
  color: rgba(255, 179, 71, .95);
}

.ctaCard {
  margin-top: 14px;
  padding: 16px;
  border-radius: 18px;
  border: 1px solid rgba(255, 179, 71, .20);
  background: radial-gradient(120% 100% at 20% 0%, rgba(255, 122, 24, .20), transparent 60%),
    rgba(16, 16, 23, .45);
  box-shadow: var(--shadow2);
}

.ctaCard h3 {
  margin: 0 0 6px;
  font-family: Cinzel, serif;
  letter-spacing: .3px;
}

.ctaCard p {
  margin: 0;
  color: rgba(233, 233, 238, .78);
  line-height: 1.6;
}

.ctaCard__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.tiny {
  margin-top: 10px !important;
  font-size: 12px;
  opacity: .75;
}

code {
  background: rgba(255, 255, 255, .06);
  padding: 2px 6px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, .10);
}

/* Footer */
.footer {
  border-top: 1px solid var(--line);
  padding: 26px 0;
  background: rgba(7, 7, 8, .55);
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.footer__logo {
  height: 34px;
  width: auto;
  opacity: .95;
}

.footer__brand p {
  margin: 10px 0 0;
  color: rgba(233, 233, 238, .68);
}

.footer__links {
  display: flex;
  gap: 14px;
}

.footer__links a {
  color: rgba(233, 233, 238, .72);
  font-weight: 700;
}

.footer__links a:hover {
  color: #fff;
}

/* Floating WA */
.waFloat {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 56px;
  height: 56px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(16, 16, 23, .70);
  box-shadow: var(--shadow2);
  display: grid;
  place-items: center;
  z-index: 90;
  overflow: hidden;
}

.waFloat:hover {
  transform: translateY(-2px);
}

.waFloat__icon {
  font-size: 22px;
}

.waFloat__ring {
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle, rgba(34, 197, 94, .25), transparent 55%);
  animation: ring 1.8s ease-in-out infinite;
}

@keyframes ring {
  from {
    transform: scale(.65);
    opacity: .35;
  }

  to {
    transform: scale(1.2);
    opacity: .0;
  }
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .6s ease, transform .6s ease;
}

.reveal.isVisible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 980px) {
  .hero__grid {
    grid-template-columns: 1fr;
  }

  .hero__trust {
    grid-template-columns: 1fr;
  }

  .grid3 {
    grid-template-columns: 1fr;
  }

  .menuGrid {
    grid-template-columns: 1fr;
  }

  .split {
    grid-template-columns: 1fr;
  }

  .nav--desktop {
    display: none;
  }

  .btn--desktop {
    display: none;
  }

  .burger {
    display: inline-flex;
  }
}

.gItem {
  background: rgba(16, 16, 23, .35);
  /* ya no dependemos del placeholder */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  /* marco elegante */
}

.gItem img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  /* ✅ SIEMPRE COMPLETA */
  object-position: center;
  border-radius: 14px;
  filter: saturate(1.05) contrast(1.02);
}


.gItem span {
  position: relative;
  z-index: 1;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
}

.gItem {
  position: relative;
  border: 1px solid rgba(255, 255, 255, .10);
  border-radius: 18px;
  overflow: hidden;
  cursor: pointer;
  background: rgba(16, 16, 23, .55);
  box-shadow: var(--shadow2);
  aspect-ratio: 1 / 1;
  /* cuadrados, se apilan normal */
  transition: transform .18s ease, border-color .18s ease, filter .18s ease;
}

.gItem:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 179, 71, .22);
  filter: saturate(1.05);
}

/* Fondo blur (rellena “barras” de contain) */
.gItem .gBg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: blur(14px) saturate(1.1);
  transform: scale(1.08);
  opacity: .55;
}


/* Imagen real sin recortar */
.gItem img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  /* ✅ siempre completa */
  object-position: center;
  padding: 10px;
  /* marco elegante */
  z-index: 1;
}

/* Numerito */
.gItem span {
  position: absolute;
  left: 12px;
  bottom: 12px;
  z-index: 2;
  font-weight: 900;
  background: rgba(0, 0, 0, .35);
  border: 1px solid rgba(255, 255, 255, .10);
  padding: 8px 10px;
  border-radius: 14px;
}

.gItem {
  appearance: none;
  -webkit-appearance: none;
  border: 1px solid rgba(255, 255, 255, .10);
  background: rgba(16, 16, 23, .55);
  padding: 0;
  /* ✅ importante */
  margin: 0;
  /* ✅ importante */
  font: inherit;
  color: inherit;
  text-align: left;
  cursor: pointer;

  position: relative;
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  box-shadow: var(--shadow2);
  transition: transform .18s ease, border-color .18s ease, filter .18s ease;
  display: block;
  /* ✅ evita rarezas */
  width: 100%;
}

.lightbox__panel {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(1100px, calc(100% - 24px));
  max-height: calc(100vh - 24px);
  /* ✅ limita alto del panel */
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: var(--shadow);
  background: rgba(0, 0, 0, .25);
  /* más claro */
}

.lightbox__panel img {
  width: 100%;
  height: auto;
  max-height: calc(100vh - 24px);
  /* ✅ la imagen no se sale */
  object-fit: contain;
  /* ✅ siempre completa */
  display: block;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 999;
}

/* ✅ Backdrop SIEMPRE detrás */
.lightbox__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(0, 0, 0, .45);
  z-index: 0;
  /* 👈 clave */
}

/* ✅ Panel SIEMPRE arriba */
.lightbox__panel {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(1200px, calc(100% - 32px));
  max-height: calc(100vh - 32px);
  z-index: 1;
  /* 👈 clave */

  background: transparent;
  border: none;
  box-shadow: none;
  overflow: visible;
}

/* ✅ Imagen sin filtros, sin “oscurecer” */
.lightbox__panel img {
  display: block;
  max-width: 100%;
  max-height: calc(100vh - 32px);
  width: auto;
  height: auto;
  object-fit: contain;

  filter: none !important;
  opacity: 1 !important;
  mix-blend-mode: normal !important;
}

/* ✅ Botón cerrar arriba de todo */
.lightbox__close {
  position: absolute;
  right: 10px;
  top: 10px;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, .18);
  background: rgba(0, 0, 0, .35);
  color: #fff;
  cursor: pointer;
  z-index: 2;
  /* 👈 clave */
}

.lightbox__panel {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(1200px, calc(100% - 32px));
  height: calc(100vh - 32px);
  /* 👈 importante */

  z-index: 1;
  background: transparent;
  border: none;
  box-shadow: none;

  /* ✅ CENTRADO REAL */
  display: flex;
  align-items: center;
  justify-content: center;
}