@font-face {
  font-family: "Nanque DS";
  src: url("assets/hero/fonts/nanque%2094_0.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  /* This TTF has empty accented glyphs. Let the existing typeface render them. */
  unicode-range: U+0020-007E;
}

/* This file is loaded only by Home. No grain/noise or background overlays. */
.hero.hero-carousel {
  isolation: isolate;
  overflow: hidden;
  background: #050505 url("assets/hero/backgrounds/Capa%2011-FONDO.png") center / cover no-repeat;
  min-height: 800px;
  min-height: max(800px, 100svh);
}
.hero-carousel__background-test {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: #050505 center / cover no-repeat;
  will-change: opacity;
}
.hero-carousel__background-test img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Experimental UI palette: no position, typography or player rules. */
.hero-carousel.hero-theme-test .hero-carousel__title,
.hero-carousel.hero-theme-test .hero-carousel__pagination strong,
.hero-carousel.hero-theme-test .hero__catalogue a {
  color: var(--hero-fg);
}
.hero-carousel.hero-theme-test .hero-carousel__subtitle,
.hero-carousel.hero-theme-test .eyebrow,
.hero-carousel.hero-theme-test .hero-carousel__pagination {
  color: var(--hero-muted);
}
.hero-carousel.hero-theme-test .hero-carousel__arrow,
.hero-carousel.hero-theme-test .button--secondary {
  color: var(--hero-fg);
  border-color: var(--hero-border);
  background: transparent;
}
.hero-carousel.hero-theme-test .button--primary,
.hero-carousel.hero-theme-test .button--primary:hover,
.hero-carousel.hero-theme-test .button--secondary:hover {
  color: var(--hero-inverse);
  background: var(--hero-fg);
  border-color: var(--hero-fg);
}
.hero-carousel.hero-theme-test .hero-carousel__pagination::before {
  background: var(--hero-accent);
}
.hero-carousel.hero-theme-test .hero-carousel__arrow:focus-visible {
  outline-color: var(--hero-fg);
}
/* GSAP interpolates variables; do not add a second delayed CSS color tween. */
.hero-carousel.hero-theme-changing .hero-carousel__copy,
.hero-carousel.hero-theme-changing .hero-carousel__bottom {
  text-shadow: 0 1px 2px rgba(0,0,0,.65), 0 -1px 1px rgba(255,255,255,.65);
}
.hero-carousel.hero-theme-test .button,
.hero-carousel.hero-theme-test .hero__catalogue a {
  transition-property: transform;
}
.hero-carousel__inner {
  position: relative;
  width: min(calc(100% - var(--page-gutter) * 2), var(--content-max));
  min-height: inherit;
  margin-inline: auto;
  padding-top: var(--header-height);
  display: grid;
  grid-template-rows: 1fr auto;
}
.hero-carousel__stage {
  position: relative;
  min-height: 640px;
  height: min(76svh, 850px);
  align-self: center;
  isolation: isolate;
}
.hero-carousel__visual {
  --hero-image-size: min(100%, 810px);
  position: absolute;
  z-index: 2;
  left: 28%;
  width: 55%;
  top: 0;
  height: 100%;
  pointer-events: none;
}
.hero-carousel__image,
.hero-carousel__player {
  position: absolute;
  width: var(--hero-image-size);
  aspect-ratio: 1;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.hero-carousel__player { z-index: 3; }
.hero-carousel__image {
  height: auto;
  padding: 6.14%;
  object-fit: contain;
  opacity: 0;
  filter: blur(2.5px) brightness(.62) saturate(.85);
  transition: transform 650ms cubic-bezier(.16, 1, .3, 1), opacity 650ms ease, filter 650ms ease;
}
.hero-carousel__image[data-state="active"] { z-index: 2; opacity: 1; filter: none; }
.hero-carousel__image[data-state="prev"] { z-index: 1; opacity: .29; transform: translate(calc(-50% - 38%), -50%) scale(.77); }
.hero-carousel__image[data-state="next"] { z-index: 1; opacity: .29; transform: translate(calc(-50% + 38%), -50%) scale(.77); }
.hero-carousel__image[data-state="side-2-prev"],
.hero-carousel__image[data-state="side-2-next"] { z-index: 0; opacity: .21; filter: blur(3px) brightness(.62) saturate(.85); }
.hero-carousel__image[data-state="side-2-prev"] { transform: translate(calc(-50% - 64%), -50%) scale(.63); }
.hero-carousel__image[data-state="side-2-next"] { transform: translate(calc(-50% + 64%), -50%) scale(.63); }
.hero-carousel__image[data-state="side-3-prev"],
.hero-carousel__image[data-state="side-3-next"] { z-index: -1; opacity: .12; filter: blur(3.5px) brightness(.62) saturate(.85); }
.hero-carousel__image[data-state="side-3-prev"] { transform: translate(calc(-50% - 84%), -50%) scale(.50); }
.hero-carousel__image[data-state="side-3-next"] { transform: translate(calc(-50% + 84%), -50%) scale(.50); }
.hero-carousel__image[data-state="far-prev"] { z-index: -2; transform: translate(calc(-50% - 105%), -50%) scale(.40); }
.hero-carousel__image[data-state="far-next"] { z-index: -2; transform: translate(calc(-50% + 105%), -50%) scale(.40); }
.hero-carousel__fallback,
.hero-carousel__canvas {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}
.hero-carousel__fallback { object-fit: contain; padding: 6.14%; }
.hero-carousel__canvas { visibility: hidden; }
.hero-carousel__visual .hero-carousel__transition-canvas {
  inset: auto;
  top: 0;
  left: -60%;
  width: 220%;
  height: 100%;
  z-index: 4;
}
.hero-carousel.is-transitioning .hero-carousel__transition-canvas { visibility: visible; }
.hero-carousel.is-transitioning .hero-carousel__player { visibility: hidden; }
.hero-carousel__copy {
  position: absolute;
  z-index: 4;
  left: 0;
  top: 28%;
  width: 38%;
  pointer-events: none;
}
.hero-carousel__copy .eyebrow { flex-wrap: wrap; gap: 10px; font-size: 9px; margin-bottom: 28px; }
.hero-carousel__title {
  margin: 0;
  font: 400 clamp(42px, 4.8vw, 77px)/1.06 "Nanque DS", "Barlow Condensed", sans-serif;
  letter-spacing: -.03em;
  text-transform: uppercase;
  color: #fff;
}
.hero-carousel__title span { display: block; }
.hero-carousel__title span + span { margin-top: 7px; }
.hero-carousel__subtitle { max-width: 305px; font-size: 14px; line-height: 1.65; color: rgba(255,255,255,.68); margin: 26px 0 0; }
.hero-carousel__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; pointer-events: auto; }
.hero-carousel__actions .button { min-width: 160px; padding: 16px 20px; font-size: 10px; min-height: 48px; }
.hero-carousel__arrow {
  position: absolute;
  z-index: 6;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  padding: 12px;
  border: 1px solid rgba(255,255,255,.38);
  border-radius: 50%;
  color: white;
  background: rgba(5,5,5,.15);
  cursor: pointer;
  pointer-events: auto;
  transition: border-color 200ms, background 200ms;
}
.hero-carousel__arrow--prev { left: 19%; }
.hero-carousel__arrow--next { right: 19%; }
.hero-carousel__arrow svg { width: 26px; fill: none; stroke: currentColor; stroke-width: 1.2; transition: transform 220ms ease; }
.hero-carousel__arrow:not(:disabled):hover { border-color: #fff; background: rgba(255,255,255,.08); }
.hero-carousel__arrow--prev:not(:disabled):hover svg { transform: translateX(-3px); }
.hero-carousel__arrow--next:not(:disabled):hover svg { transform: translateX(3px); }
.hero-carousel__arrow:disabled { cursor: default; opacity: .45; }
.hero-carousel__arrow:focus-visible { outline: 2px solid white; outline-offset: 6px; }
.hero-carousel__bottom { position: relative; z-index: 5; display: flex; justify-content: space-between; gap: 20px; align-items: center; padding-block: 20px 30px; }
.hero-carousel .hero__catalogue { position: static; animation: none; flex-wrap: wrap; }
.hero-carousel__pagination { display: flex; gap: 16px; align-items: center; font-size: 10px; letter-spacing: .15em; color: rgba(255,255,255,.55); }
.hero-carousel__pagination::before { content: ""; width: 45px; height: 1px; background: rgba(255,255,255,.35); }
.hero-carousel__pagination strong { color: white; font-weight: 500; }
.hero-carousel__sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (min-width: 1600px) {
  .hero-carousel__copy { left: 2%; }
  .hero-carousel__visual { --hero-image-size: min(100%, 860px); }
}
@media (max-width: 1100px) {
  .hero-carousel__visual { left: 28%; width: 62%; }
  .hero-carousel__copy { width: 36%; top: 27%; }
  .hero-carousel__title { font-size: clamp(39px, 5vw, 56px); }
  .hero-carousel__arrow--prev { left: 16%; }
  .hero-carousel__arrow--next { right: 16%; }
  .hero-carousel__subtitle { max-width: 260px; }
}
@media (max-width: 900px) and (min-width: 761px) {
  .hero-carousel__image[data-state="prev"] { opacity: .13; }
  .hero-carousel__image[data-state^="side-3"] { opacity: 0; }
}
@media (max-width: 760px) {
  .hero.hero-carousel { min-height: 940px; min-height: max(940px, 100svh); }
  .hero-carousel__inner { width: calc(100% - 40px); }
  .hero-carousel__stage { display: flex; flex-direction: column; align-items: center; height: auto; min-height: 800px; }
  .hero-carousel__copy { position: relative; top: auto; left: auto; width: 100%; padding-top: 32px; text-align: center; }
  .hero-carousel__copy .eyebrow { justify-content: center; margin-bottom: 20px; }
  .hero-carousel__title { font-size: clamp(36px, 8vw, 60px); }
  .hero-carousel__title span + span { margin-top: 0; }
  .hero-carousel__subtitle { margin: 15px auto 0; max-width: 330px; font-size: 13px; }
  .hero-carousel__actions { justify-content: center; margin-top: 18px; }
  .hero-carousel__actions .button { width: auto; min-width: 140px; font-size: 9px; padding-inline: 14px; }
  .hero-carousel__visual { position: relative; order: 1; flex: 0 0 auto; left: auto; top: auto; width: min(140%, 600px); height: auto; aspect-ratio: 1; margin-top: 30px; }
  .hero-carousel__image[data-state="prev"], .hero-carousel__image[data-state="next"] { opacity: 0; }
  .hero-carousel__image[data-state^="side-"] { opacity: 0; }
  .hero-carousel__arrow { width: 44px; height: 44px; padding: 10px; }
  .hero-carousel__arrow--prev { left: 15%; }
  .hero-carousel__arrow--next { right: 15%; }
  .hero-carousel__bottom { flex-direction: column-reverse; gap: 18px; padding-block: 15px 28px; }
  .hero-carousel .hero__catalogue { justify-content: center; max-width: none; font-size: 8px; gap: 5px 9px; }
}
@media (max-width: 390px) {
  .hero-carousel__stage { min-height: 760px; }
  .hero-carousel__title { font-size: 34px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-carousel:not([data-full-motion="true"]) *, .hero-carousel:not([data-full-motion="true"]) *::before { animation: none !important; transition: none !important; }
  .hero-carousel[data-full-motion="true"] .hero-carousel__image { transition-duration: 650ms !important; }
}
