/* ================================================================
   HERO — Intentando Coleccionar (mockup A: vitrina viva + FX premium)
   ================================================================ */

:root {
  --void: #0a0908;
  --charcoal: #151312;
  --bone: #f3efe8;
  --smoke: #6f6a63;
  --brand-red: #e0262c;
  --brand-red-deep: #b61d22;
  --brass: #b08d4a;

  --font-poster: "Anton", Impact, sans-serif;
  --font-tag: "Permanent Marker", cursive;
  --font-body: "Work Sans", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

body {
  --ink: var(--void);
  --ink-soft: var(--charcoal);
  --paper: #f3efe8;
  --muted: var(--smoke);
  --red: var(--brand-red);
  --red-deep: var(--brand-red-deep);
  --display: var(--font-poster);
  --heading: var(--font-body);
  --body: var(--font-body);
  --brand: var(--font-tag);
}

/* ---------- NAV glass premium (home) ---------- */
.site-header {
  background: transparent;
}

.site-header--light:not(.is-stuck) {
  height: auto;
  padding-top: 0.65rem;
}

.site-header--light:not(.is-stuck) .nav-inner {
  width: min(calc(100% - 1.5rem), var(--max));
  padding: 0.75rem 1.15rem;
  background: linear-gradient(180deg, rgba(10, 9, 8, 0.5), rgba(10, 9, 8, 0.2));
  backdrop-filter: blur(14px) saturate(1.25);
  -webkit-backdrop-filter: blur(14px) saturate(1.25);
  border: 1px solid rgba(243, 239, 232, 0.12);
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.site-header.is-stuck {
  background: rgba(10, 9, 8, 0.82);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  border-bottom-color: rgba(243, 239, 232, 0.08);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  height: var(--nav-h);
  padding-top: 0;
}

.site-header.is-stuck .nav-inner {
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  backdrop-filter: none;
}

.brand__name {
  font-family: var(--font-tag);
  font-size: clamp(1.05rem, 2.4vw, 1.25rem);
  letter-spacing: 0.02em;
  color: var(--bone);
  text-transform: none;
  text-shadow: none;
}

.brand__tag {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 0.58rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brand-red);
}

.nav-desktop a {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: rgba(243, 239, 232, 0.62);
}

.nav-desktop a:hover,
.nav-desktop a[aria-current="page"] {
  color: var(--bone);
}

.nav-cta {
  background: var(--brand-red) !important;
  font-family: var(--font-mono) !important;
  letter-spacing: 0.12em !important;
  box-shadow: 0 0 20px rgba(224, 38, 44, 0.35) !important;
}

.nav-cta:hover {
  background: var(--brand-red-deep) !important;
}

/* ---------- HERO LAYOUT ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  min-height: 100dvh;
  display: grid;
  align-items: end;
  background: var(--void);
  color: var(--bone);
  overflow: hidden;
  isolation: isolate;
  padding: calc(var(--nav-h) + 3.25rem) var(--pad-x) clamp(2.5rem, 6vw, 4rem);
}

/* ---------- FX stack ---------- */
.hero__fx {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero__fx-media {
  position: absolute;
  inset: -6%;
  will-change: transform;
  transform: scale(1.12) translate3d(0, 0, 0);
  transition: transform 1.6s var(--ease);
}

html.is-ready .hero__fx-media {
  transform: scale(1.04) translate3d(0, 0, 0);
  animation: hero-ken 22s ease-in-out infinite alternate;
}

.hero__fx-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
  filter: saturate(1.12) contrast(1.08) brightness(0.92);
  transform: translate3d(var(--px, 0px), var(--py, 0px), 0) scale(1.05);
  transition: filter 1.2s var(--ease);
}

@media (min-width: 768px) {
  .hero__fx-media img {
    object-position: center 35%;
  }
}

@media (min-width: 1100px) {
  .hero__fx-media img {
    object-position: 58% 40%;
  }
}

@keyframes hero-ken {
  from {
    transform: scale(1.04) translate3d(-1%, 0, 0);
  }
  to {
    transform: scale(1.12) translate3d(1.5%, -1.5%, 0);
  }
}

.hero__fx-glow {
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(ellipse 50% 45% at 70% 35%, rgba(224, 38, 44, 0.28), transparent 55%),
    radial-gradient(ellipse 40% 35% at 20% 70%, rgba(176, 141, 74, 0.16), transparent 50%);
  animation: hero-glow 5.5s ease-in-out infinite;
  mix-blend-mode: screen;
}

@keyframes hero-glow {
  0%,
  100% {
    opacity: 0.55;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.06);
  }
}

.hero__fx-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    115deg,
    transparent 30%,
    rgba(255, 255, 255, 0.07) 46%,
    rgba(255, 245, 220, 0.14) 50%,
    rgba(255, 255, 255, 0.05) 54%,
    transparent 70%
  );
  background-size: 220% 100%;
  animation: hero-shine 7s ease-in-out infinite;
  mix-blend-mode: soft-light;
}

@keyframes hero-shine {
  0%,
  20% {
    background-position: 120% 0;
    opacity: 0;
  }
  40% {
    opacity: 1;
  }
  70%,
  100% {
    background-position: -40% 0;
    opacity: 0;
  }
}

.hero__fx-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(10, 9, 8, 0.62) 0%,
      rgba(10, 9, 8, 0.2) 38%,
      rgba(10, 9, 8, 0.55) 62%,
      rgba(10, 9, 8, 0.92) 100%
    ),
    linear-gradient(90deg, rgba(10, 9, 8, 0.55) 0%, transparent 42%, rgba(10, 9, 8, 0.25) 100%);
}

@media (max-width: 700px) {
  .hero__fx-veil {
    background:
      linear-gradient(
        180deg,
        rgba(10, 9, 8, 0.7) 0%,
        rgba(10, 9, 8, 0.35) 35%,
        rgba(10, 9, 8, 0.55) 55%,
        rgba(10, 9, 8, 0.95) 100%
      ),
      radial-gradient(ellipse at 50% 40%, transparent 20%, rgba(10, 9, 8, 0.45) 100%);
  }
}

.hero__fx-vignette {
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 120px 40px rgba(0, 0, 0, 0.55);
}

.hero__fx-grain {
  position: absolute;
  inset: 0;
  opacity: 0.4;
  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)' opacity='0.5'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
  animation: hero-grain 0.4s steps(2) infinite;
}

@keyframes hero-grain {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(-1%, 1%);
  }
}

/* ---------- Content ---------- */
.hero__content {
  position: relative;
  z-index: 2;
  max-width: 42rem;
}

.hero__brand {
  font-family: var(--font-tag);
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  margin: 0 0 1rem;
  color: #fff;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.4);
}

.hero__title {
  margin: 0 0 1rem;
  font-family: var(--font-poster);
  font-weight: 400;
  font-size: clamp(2.8rem, 9vw, 5.8rem);
  line-height: 0.92;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.hero__line {
  display: block;
  opacity: 0;
  transform: translateY(1.1rem);
  animation: hero-line-in 0.75s var(--ease-out) forwards;
  color: var(--bone);
}

.hero__line:nth-child(1) {
  animation-delay: 0.15s;
}
.hero__line:nth-child(2) {
  animation-delay: 0.28s;
}
.hero__line:nth-child(3) {
  animation-delay: 0.42s;
}

.hero__line--outline {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--bone);
}

@keyframes hero-line-in {
  to {
    opacity: 1;
    transform: none;
  }
}

.hero__lead {
  max-width: 28rem;
  margin: 0 0 1.75rem;
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  font-weight: 400;
  line-height: 1.55;
  color: rgba(243, 239, 232, 0.88);
}

.hero__actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 0;
}

.hero-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.15rem;
  padding: 0.9rem 1.6rem;
  overflow: hidden;
  isolation: isolate;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 2px;
  transition:
    color 0.35s ease,
    border-color 0.35s ease,
    transform 0.35s var(--ease),
    background 0.35s ease;
}

.hero-btn:hover {
  transform: translateY(-2px);
}

.hero-btn--solid {
  background: var(--brand-red);
  color: var(--bone);
  border: 1px solid var(--brand-red);
  box-shadow: 0 0 24px rgba(224, 38, 44, 0.3);
}

.hero-btn--solid:hover {
  background: #ff2d35;
  border-color: #ff2d35;
}

.hero-btn--outline {
  background: transparent;
  color: var(--bone);
  border: 1px solid rgba(243, 239, 232, 0.35);
  backdrop-filter: blur(6px);
}

.hero-btn--outline:hover {
  background: rgba(243, 239, 232, 0.1);
}

/* Scroll cue */
.hero > .hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 1.35rem;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--smoke);
  text-decoration: none;
}

.hero__scroll-line {
  width: 1px;
  height: 2.4rem;
  background: linear-gradient(to bottom, var(--brand-red), transparent);
  animation: scroll-tick 1.8s ease-in-out infinite;
}

@keyframes scroll-tick {
  0%,
  100% {
    opacity: 0.35;
    transform: scaleY(0.75);
  }
  50% {
    opacity: 1;
    transform: scaleY(1);
  }
}

/* Marquee accent (home) */
.marquee--accent {
  border-top: 2px solid var(--brand-red);
  border-bottom: 1px solid rgba(247, 247, 245, 0.06);
}

.marquee--accent .marquee__item strong {
  color: var(--brand-red);
}

/* Statement band */
.statement-band__inner {
  text-align: center;
  max-width: 40rem;
  margin-inline: auto;
}

.statement-band__inner .display {
  margin-bottom: 1rem;
}

.statement-band__inner .lead {
  margin-bottom: 1.5rem;
}

/* CTA band con visual (mockup A) — solo home */
.cta-band--visual {
  text-align: left;
}

.cta-band__grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.cta-band--visual .cta-band__inner {
  max-width: none;
  margin-inline: 0;
}

.cta-band--visual .cta-notes {
  justify-content: flex-start;
}

.cta-band__visual {
  position: relative;
  overflow: hidden;
  border-radius: 3px;
  aspect-ratio: 5 / 4;
  box-shadow:
    0 0 0 1px rgba(243, 239, 232, 0.14),
    0 30px 70px rgba(0, 0, 0, 0.45);
}

.cta-band__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease);
}

.cta-band__visual:hover img {
  transform: scale(1.05);
}

.cta-band__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(200deg, transparent 55%, rgba(10, 9, 8, 0.72));
  pointer-events: none;
}

.cta-band__visual-tag {
  position: absolute;
  left: 1rem;
  bottom: 0.9rem;
  z-index: 1;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bone);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
}

@media (min-width: 800px) {
  .cta-band__grid {
    grid-template-columns: 1.4fr 1fr;
    gap: 3rem;
  }
}

/* Hide legacy hero pieces if any remain */
.hero__media,
.hero__scrim,
.hero__bg,
.hero__bg-photo,
.hero__atmosphere,
.hero__warm,
.hero__wordmark,
.hero__grid,
.hero__stage,
.hero__metrics,
.hero__eyebrow {
  display: none !important;
}

@media (min-width: 640px) {
  .hero__actions {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .hero-btn {
    min-width: 12.5rem;
  }
}

@media (min-width: 960px) {
  .hero {
    padding-bottom: 4rem;
  }

  .hero__title {
    font-size: clamp(3.4rem, 6vw, 5.8rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__fx-media,
  .hero__fx-glow,
  .hero__fx-shine,
  .hero__fx-grain,
  .hero__line,
  .hero__scroll-line {
    animation: none !important;
  }

  html.is-ready .hero__fx-media {
    transform: scale(1.04);
  }

  .hero__line {
    opacity: 1;
    transform: none;
  }

  .hero__fx-media img {
    transform: none;
  }
}
