:root {
  --azul: #2d408f;
  --beige: #fff0df;
  --ink: #0a1030;
  --navy: #0b1230;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: "paralucent", sans-serif;
  font-weight: 300;
  background: var(--azul);
  color: var(--beige);
  overflow-x: hidden;
}

img { user-select: none; -webkit-user-drag: none; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; z-index: 50;
  top: 0; left: 0; right: 0;
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 28px;
}
.nav__back {
  color: var(--beige); text-decoration: none;
  font-weight: 700; font-size: 12px; letter-spacing: 0.22em;
  background: rgba(10, 16, 48, 0.35);
  border: 1px solid rgba(255, 240, 223, 0.25);
  backdrop-filter: blur(10px);
  border-radius: 999px;
  padding: 10px 18px;
  transition: background 0.3s ease;
}
.nav__back:hover { background: rgba(10, 16, 48, 0.6); }
.nav__logo {
  width: 92px;
  /* Sin esto se funde con lo que haya detrás al hacer scroll (fotos claras, tarjetas beige) */
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.6)) drop-shadow(0 0 16px rgba(0, 0, 0, 0.4));
}
.nav__chip {
  font-weight: 300; font-size: 12px; letter-spacing: 0.2em;
  background: rgba(10, 16, 48, 0.35);
  border: 1px solid rgba(255, 240, 223, 0.25);
  backdrop-filter: blur(10px);
  border-radius: 999px;
  padding: 10px 18px;
}
.nav__chip b { font-weight: 700; margin-right: 8px; }

/* ---------- Hero ---------- */
.chero {
  min-height: 100vh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  padding: 120px 24px 80px;
  position: relative;
}
.chero__code { font-weight: 700; font-size: 13px; letter-spacing: 0.3em; opacity: 0.85; }
.chero__title {
  font-weight: 700;
  font-size: clamp(56px, 11vw, 150px);
  line-height: 0.95;
  letter-spacing: 0.01em;
  margin-top: 18px;
}
.chero__title--art {
  width: min(560px, 82vw);
  aspect-ratio: var(--ratio, 892 / 750);
  background-color: var(--beige);
  -webkit-mask: var(--art, url("assets/collections/art-cc04.png")) center / contain no-repeat;
  mask: var(--art, url("assets/collections/art-cc04.png")) center / contain no-repeat;
  margin-top: 30px;
}
.chero__title-img {
  margin-top: 30px;
  display: flex; justify-content: center;
}
.chero__title-img img { width: min(640px, 88vw); }
.chero__quote {
  font-weight: 700; font-size: 13px; letter-spacing: 0.28em;
  margin-top: 24px;
  text-transform: uppercase;
}
.chero__body {
  max-width: 560px;
  font-size: clamp(15px, 1.8vw, 18px);
  line-height: 1.6;
  margin-top: 26px;
  opacity: 0.9;
}
.chero__scroll {
  position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
  display: flex; align-items: center; gap: 12px;
  font-weight: 700; font-size: 11px; letter-spacing: 0.34em;
}
.chero__scroll span {
  display: block; width: 1px; height: 40px;
  background: linear-gradient(var(--beige), transparent);
  animation: drop 1.6s ease-in-out infinite;
}
@keyframes drop { 0% { transform: scaleY(0); transform-origin: top; } 60% { transform: scaleY(1); } 100% { opacity: 0; } }

/* ---------- Film (a sangre, fundido con el fondo) ---------- */
.film { padding: 6vh 0 10vh; }
.film__box {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
}
.film__frame {
  position: absolute; inset: 0;
  overflow: hidden;
  -webkit-mask: linear-gradient(180deg, transparent 0%, #000 16%, #000 84%, transparent 100%);
  mask: linear-gradient(180deg, transparent 0%, #000 16%, #000 84%, transparent 100%);
}
.film__frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.film__btn {
  position: absolute; bottom: 14%;
  width: 68px; height: 68px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 240, 223, 0.95);
  color: #2d3a86;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: transform 0.25s ease, background 0.25s ease;
  box-shadow: 0 14px 40px rgba(4, 8, 24, 0.35);
}
.film__btn svg { width: 26px; height: 26px; }
.film__btn--play { left: 5vw; }
.film__btn--mute { right: 5vw; }
.film__btn:hover { transform: scale(1.08); background: var(--beige); }

/* ---------- Manifiesto ---------- */
.manifest { padding: 6vh 24px 14vh; display: flex; justify-content: center; }
.manifest__text {
  max-width: 820px;
  text-align: center;
  font-weight: 300;
  font-size: clamp(20px, 3vw, 34px);
  line-height: 1.45;
}
.manifest__text b { font-weight: 700; }

/* ---------- Shop (scroll horizontal) ---------- */
.shop { position: relative; }
.shop__viewport {
  height: 100vh;
  display: flex; flex-direction: column; justify-content: center;
  overflow: hidden;
}
.shop__heading {
  font-weight: 700;
  font-size: clamp(34px, 6vw, 76px);
  letter-spacing: 0.02em;
  padding: 0 6vw;
  margin-bottom: 40px;
}
.shop__track {
  display: flex; gap: 28px;
  padding: 0 6vw;
  width: max-content;
  will-change: transform;
}
.prod {
  width: min(420px, 78vw);
  min-height: min(560px, 62vh);
  border-radius: 30px;
  padding: 30px;
  display: flex; flex-direction: column;
  flex-shrink: 0;
  box-shadow: 0 30px 80px rgba(4, 8, 24, 0.35);
}
.prod--beige { background: var(--beige); color: var(--ink); }
.prod--azul { background: linear-gradient(160deg, #3a55a8, #24356f); color: var(--beige); }
.prod--navy { background: linear-gradient(160deg, #131b45, #0a1030); color: var(--beige); }
.prod__chip {
  font-weight: 700; font-size: 11px; letter-spacing: 0.26em;
  opacity: 0.7;
}
.prod__art {
  flex: 1;
  min-height: 220px;
  max-height: 300px;
  margin: 20px 0;
  border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  font-weight: 700; font-size: 10px; letter-spacing: 0.24em; line-height: 2;
  border: 1.5px dashed currentColor;
  opacity: 0.5;
}
.prod__art img {
  max-width: 118%; max-height: 118%;
  object-fit: contain;
  filter: drop-shadow(0 18px 30px rgba(4, 8, 24, 0.3));
  will-change: transform;
  opacity: 0.5;
  transition: opacity 0.45s ease;
}
.prod__art img:hover, .prod:hover .prod__art img { opacity: 1; }
@media (hover: none) { .prod__art img { opacity: 1; } }
.prod__art:has(img) { border: none; opacity: 1; overflow: visible; }
.prod__name { font-weight: 700; font-size: clamp(20px, 2.2vw, 26px); letter-spacing: 0.03em; text-transform: uppercase; }
.prod__meta { font-weight: 700; font-size: 11px; letter-spacing: 0.22em; margin-top: 8px; opacity: 0.75; text-transform: uppercase; }
.prod__desc { font-weight: 300; font-size: 13px; line-height: 1.5; margin-top: 8px; opacity: 0.85; }

.prod--end {
  background: transparent;
  border: 1.5px dashed rgba(255, 240, 223, 0.4);
  box-shadow: none;
  align-items: center; justify-content: center; gap: 26px;
}
.prod__endtext {
  font-weight: 700; font-size: clamp(22px, 2.4vw, 30px); letter-spacing: 0.08em;
  text-align: center; line-height: 1.4;
}
.prod__cta {
  font-weight: 700; font-size: 12px; letter-spacing: 0.2em;
  color: var(--azul); background: var(--beige);
  text-decoration: none;
  border-radius: 999px;
  padding: 14px 26px;
  transition: transform 0.3s ease;
}
.prod__cta:hover { transform: translateY(-2px); }

/* ---------- Party / bento ---------- */
.party { padding: 16vh 5vw 10vh; background: var(--navy); border-radius: 48px 48px 0 0; }
.party__heading {
  font-weight: 700;
  font-size: clamp(34px, 6vw, 76px);
  letter-spacing: 0.02em;
}
.party__sub { font-weight: 300; font-size: 13px; letter-spacing: 0.3em; margin-top: 10px; opacity: 0.7; }
.party__heading--second { margin-top: 14vh; }

/* ---------- Reels (historia Instagram) ---------- */
.reels {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.reel {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  background: radial-gradient(140% 100% at 50% 0%, #1b2557, #0a0f2b);
  aspect-ratio: 9 / 15;
}
.reel iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0;
}
.reel__thumb {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.reel__shade {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10, 15, 43, 0.1) 0%, rgba(10, 15, 43, 0.8) 100%);
}
.reel__cap {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  font-weight: 700; font-size: 11px; letter-spacing: 0.26em;
  color: var(--beige);
  background: rgba(10, 16, 48, 0.75);
  backdrop-filter: blur(8px);
  border-radius: 999px;
  padding: 7px 14px;
  pointer-events: none;
}
/* Placeholder: no se carga el iframe de Instagram (pesado + rompe el tema oscuro)
   hasta que el usuario pulsa play — ahorra peso y mantiene la estética. */
.reel__play {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0; padding: 0;
  background: transparent;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.reel__play::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 42%, rgba(255, 240, 223, 0.14), transparent 60%);
}
.reel__play svg {
  position: relative; z-index: 1;
  width: 60px; height: 60px;
  padding: 18px;
  border-radius: 50%;
  color: var(--ink);
  background: var(--beige);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  transition: transform 0.25s ease;
}
.reel:hover .reel__play svg { transform: scale(1.08); }
.reel__ig {
  position: absolute; bottom: 12px; left: 12px; right: 12px; z-index: 2;
  display: flex; align-items: center; gap: 6px;
  font-weight: 700; font-size: 10px; letter-spacing: 0.16em;
  color: rgba(255, 240, 223, 0.75);
  pointer-events: none;
}
@media (max-width: 1000px) { .reels { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .reels { grid-template-columns: 1fr; } }

.party__body {
  max-width: 640px;
  font-weight: 300;
  font-size: clamp(15px, 1.8vw, 18px);
  line-height: 1.6;
  margin-top: 22px;
  opacity: 0.9;
}
.bento {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  grid-auto-flow: dense;
  gap: 18px;
}
.bento__item {
  border-radius: 24px;
  overflow: hidden;
  position: relative;
}
.bento__item img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform 0.6s cubic-bezier(0.2, 0.6, 0.2, 1);
}
.bento__item:hover img { transform: scale(1.05); }
.b-2x2 { grid-column: span 2; grid-row: span 2; }
.b-2x1 { grid-column: span 2; }
.b-1x2 { grid-row: span 2; }

.bento__dl {
  position: absolute; top: 12px; right: 12px;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: rgba(255, 240, 223, 0.92);
  color: var(--azul);
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.25s ease;
}
.bento__item:hover .bento__dl { opacity: 1; }
.bento__dl:hover { transform: scale(1.1); }
@media (hover: none) { .bento__dl { opacity: 0.85; } }

/* ---------- Lightbox ---------- */
.bento__item img { cursor: zoom-in; }
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(6, 10, 30, 0.94);
  backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox__img {
  max-width: min(88vw, 1400px);
  max-height: 82vh;
  border-radius: 14px;
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.6);
}
.lightbox__close {
  position: absolute; top: 20px; right: 26px;
  background: none; border: none;
  color: var(--beige);
  font-size: 44px; line-height: 1;
  cursor: pointer;
  opacity: 0.8;
  transition: opacity 0.25s ease;
}
.lightbox__close:hover { opacity: 1; }
.lightbox__nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 56px; height: 56px;
  border-radius: 50%;
  border: 1px solid rgba(255, 240, 223, 0.35);
  background: rgba(10, 16, 48, 0.55);
  color: var(--beige);
  font-size: 22px;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease;
}
.lightbox__nav:hover { background: rgba(10, 16, 48, 0.9); transform: translateY(-50%) scale(1.08); }
.lightbox__nav--prev { left: 26px; }
.lightbox__nav--next { right: 26px; }
.lightbox__dl {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  font-weight: 700; font-size: 12px; letter-spacing: 0.2em;
  color: var(--azul); background: var(--beige);
  text-decoration: none;
  border-radius: 999px;
  padding: 13px 26px;
  transition: transform 0.25s ease;
}
.lightbox__dl:hover { transform: translateX(-50%) translateY(-2px); }
.lightbox__count {
  position: absolute; top: 28px; left: 50%; transform: translateX(-50%);
  font-weight: 700; font-size: 12px; letter-spacing: 0.24em;
  opacity: 0.75;
}
@media (max-width: 720px) {
  .lightbox__nav { width: 44px; height: 44px; }
  .lightbox__nav--prev { left: 10px; }
  .lightbox__nav--next { right: 10px; }
  .lightbox__img { max-width: 94vw; }
}

/* ---------- Footer ---------- */
.cfoot {
  min-height: 70vh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  gap: 24px;
  padding: 80px 24px 60px;
  background: var(--navy);
  position: relative;
}
.cfoot__quote {
  max-width: 760px;
  font-weight: 300;
  font-size: clamp(18px, 2.4vw, 26px);
  line-height: 1.5;
  font-style: italic;
  opacity: 0.92;
}
.cfoot__logo { width: min(50vw, 380px); }
.cfoot__next { font-weight: 700; font-size: 13px; letter-spacing: 0.32em; }
.cfoot__cta {
  font-weight: 700; font-size: 13px; letter-spacing: 0.18em;
  color: var(--azul); background: var(--beige);
  text-decoration: none;
  border-radius: 999px;
  padding: 15px 30px;
  transition: transform 0.3s ease;
}
.cfoot__cta:hover { transform: translateY(-2px); }
.cfoot__back {
  color: var(--beige);
  font-weight: 700; font-size: 12px; letter-spacing: 0.2em;
  text-decoration: none;
  opacity: 0.75;
  transition: opacity 0.3s ease;
}
.cfoot__back:hover { opacity: 1; }
.cfoot__credit { position: absolute; bottom: 22px; font-size: 11px; letter-spacing: 0.3em; opacity: 0.55; }

/* ---------- Responsive ---------- */
@media (max-width: 720px) {
  .nav { padding: 14px 16px; }
  .nav__logo { width: 56px; }
  .bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
  .prod { padding: 22px; }
  .shop__heading { margin-bottom: 24px; }
}
/* Por debajo de ~400px las dos píldoras del nav no caben con el nombre completo:
   se queda solo el código (CC/0X), igual que hace el HUD del mapa */
@media (max-width: 400px) {
  .nav__chip-name { display: none; }
  .nav__chip b { margin-right: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .chero__scroll span { animation: none; }
  .bento__item img { transition: none; }
}

/* ---------- Tarjetas de producto → ficha de la tienda (Odoo) ---------- */
.prod { position: relative; }
.prod__link { position: absolute; inset: 0; z-index: 3; border-radius: inherit; }
.prod__buy, .prod__sold {
  align-self: flex-start;
  margin-top: 16px;
  font-weight: 700; font-size: 11px; letter-spacing: 0.18em;
  border: 1.5px solid currentColor; border-radius: 999px;
  padding: 9px 16px;
  transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
}
.prod:hover .prod__buy { transform: translateY(-2px); background: currentColor; }
.prod--beige:hover .prod__buy { color: var(--beige); background: var(--ink); border-color: var(--ink); }
.prod--azul:hover .prod__buy, .prod--navy:hover .prod__buy { color: var(--ink); background: var(--beige); border-color: var(--beige); }
.prod--soldout .prod__art, .prod--soldout .prod__name, .prod--soldout .prod__meta, .prod--soldout .prod__desc { opacity: 0.45; }
.prod--soldout .prod__art img { opacity: 0.45 !important; filter: grayscale(1); }
.prod__sold { opacity: 0.9; cursor: default; border-style: dashed; }
