/* Ensutex 2026 — sistema visual editorial con producto animado libre */
:root {
  /* --ens-sky y --ens-sky-soft ya NO se definen acá: colisionaban con
     remontaje-cine.css (#87ceeb) y tokens-premium.css (#87CEEB), y quién
     ganaba dependía del orden de carga. Definición única en
     assets/css/premium-video.css (#E20613, rojo de marca). */
  --ens-red: #e20613;
  --ens-paper: #fdfbff;
  --ens-ink: #060605;
  --ens-ink-soft: #0d0c0b;
  --ens-muted: #a1a1aa;
  --ens-line: rgba(255, 255, 255, .12);
  --ens-ease: cubic-bezier(.22, 1, .36, 1);
}

body.ensutex-v3 {
  background: var(--ens-paper);
  color: #111113;
  font-family: var(--ens-font-body-family);
}

body.ensutex-v3 h1,
body.ensutex-v3 h2,
body.ensutex-v3 h3,
body.ensutex-v3 .font-display {
  font-family: var(--ens-font-display-family);
  letter-spacing: -.035em;
}

.ens-ambient {
  position: absolute;
  z-index: 0;
  inset: -7% -4%;
  overflow: hidden;
  opacity: .34;
  pointer-events: none;
}

.ens-ambient svg { width: 100%; height: 100%; }
.ens-ambient .ambient-line {
  fill: none;
  stroke: var(--ens-sky);
  stroke-width: 1.35;
  vector-effect: non-scaling-stroke;
}
.ens-ambient .ambient-line--fine { opacity: .45; stroke-dasharray: 7 12; }
.ens-ambient .ambient-node { fill: var(--ens-sky); opacity: .7; }
.ens-ambient .ambient-symbol { fill: none; stroke: var(--ens-red); stroke-width: 1.2; opacity: .55; transform-origin: center; }
.ens-ambient--folklore .ambient-line { stroke: #e20613; }
.ens-ambient--folklore .ambient-line--fine { stroke: var(--ens-sky); }
.ens-ambient--folklore .ambient-symbol { stroke: var(--ens-red); }
.ens-motion-hero > :not(.ens-ambient),
.ens-motion-section > :not(.ens-ambient),
.ens-client-section > :not(.ens-ambient) { position: relative; z-index: 1; }

.ens-motion-wrap {
  width: min(1240px, calc(100% - 2rem));
  margin-inline: auto;
}

.ens-motion-grid {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, transparent 4%, #000 24%, #000 72%, transparent 98%);
  pointer-events: none;
}

.ens-motion-hero {
  position: relative;
  display: grid;
  min-height: 100dvh;
  place-items: center;
  overflow: hidden;
  padding: calc(var(--nav-height, 80px) + 1.1rem) 1rem 1.5rem;
  background:
    radial-gradient(circle at 50% 58%, rgba(226, 6, 19, .14), transparent 28%),
    var(--ens-ink-soft);
  color: #fff;
  text-align: center;
  isolation: isolate;
}

.ens-motion-hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  width: min(1180px, 100%);
  flex-direction: column;
  align-items: center;
}

.ens-motion-eyebrow,
.ens-motion-kicker {
  margin: 0;
  color: var(--ens-sky);
  font-size: clamp(.66rem, 1vw, .78rem);
  font-weight: 800;
  letter-spacing: .23em;
  line-height: 1.4;
  text-transform: uppercase;
}

.ens-motion-hero__title {
  position: relative;
  z-index: 1;
  max-width: 1120px;
  margin: .5rem 0 0;
  color: #fff;
  font-size: clamp(2.5rem, 5.4vw, 4.4rem);
  font-weight: 800;
  line-height: .95;
  text-transform: uppercase;
  text-wrap: balance;
}

.ens-motion-hero__title .ens-hero-line {
  display: block;
  white-space: nowrap;
}

.ens-motion-hero__title .ens-hero-line--accent { color: var(--ens-sky); }

.ens-motion-hero__media {
  position: relative;
  z-index: 2;
  display: grid;
  width: min(640px, 78vw);
  min-height: 320px;
  place-items: center;
  margin: clamp(-1.4rem, -1.6vw, -.8rem) auto clamp(-.6rem, -1vw, -.4rem);
}

.ens-motion-glow {
  position: absolute;
  inset: 50% auto auto 50%;
  width: min(92%, 520px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(226, 6, 19, .2), transparent 67%);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.ens-motion-product {
  position: relative;
  z-index: 1;
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: contain;
  image-rendering: auto;
  filter: drop-shadow(0 28px 32px rgba(0, 0, 0, .46));
  transform: translate3d(0, 0, 0);
  transition: opacity .24s ease, filter .3s ease, transform .35s var(--ens-ease);
  will-change: transform;
}

.ens-motion-product--hero {
  width: min(640px, 100%);
  max-height: 430px;
}

.ens-motion-product[data-motion-state="loading"] { opacity: .72; }
.ens-motion-product[data-motion-state="playing"] { opacity: 1; }

.ens-motion-hero__lead {
  position: relative;
  z-index: 3;
  max-width: 620px;
  margin: 0;
  color: #f4f4f5;
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  font-weight: 700;
  line-height: 1.58;
  text-shadow: 0 2px 5px rgba(0, 0, 0, .98), 0 0 18px rgba(0, 0, 0, .82);
  text-wrap: pretty;
}

.ens-motion-chips {
  position: relative;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .55rem;
  margin-top: 1.25rem;
}

.ens-motion-chips span {
  min-height: 2.15rem;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 999px;
  padding: .48rem .85rem;
  background: rgba(255, 255, 255, .025);
  color: #f4f4f5;
  font-size: .74rem;
  font-weight: 700;
}

.ens-motion-chips strong {
  color: #fff;
  text-decoration: underline;
  text-decoration-color: var(--ens-red);
  text-underline-offset: 3px;
}

.ens-motion-actions {
  position: relative;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin-top: 1.25rem;
}

/* ── Hero WOW · entrada por etapas: COPY → PRODUCTO → CTA (rápida < 2.5s, CSS puro, sin JS) ── */
@keyframes ensHeroRise { from { opacity: 0; transform: translate3d(0, 16px, 0); } to { opacity: 1; transform: none; } }
@keyframes ensHeroWrite { from { opacity: 0; clip-path: inset(0 100% 0 0); } to { opacity: 1; clip-path: inset(0 0 0 0); } }
@keyframes ensHeroProduct { from { opacity: 0; transform: translate3d(0, 22px, 0) scale(.96); } to { opacity: 1; transform: none; } }

.ens-motion-hero__inner > * { opacity: 0; }
.ens-motion-hero .ens-motion-eyebrow { animation: ensHeroRise .45s var(--ens-ease, cubic-bezier(.34,1.35,.64,1)) .05s both; }
.ens-motion-hero .ens-motion-hero__title { animation: ensHeroWrite .6s ease-out .18s both; }
.ens-motion-hero .ens-motion-hero__media { animation: ensHeroProduct .7s var(--ens-ease, cubic-bezier(.34,1.35,.64,1)) .62s both; }
.ens-motion-hero .ens-motion-hero__lead { animation: ensHeroRise .5s ease-out .9s both; }
.ens-motion-hero .ens-motion-chips { animation: ensHeroRise .5s ease-out 1.02s both; }
.ens-motion-hero .ens-motion-actions { animation: ensHeroRise .5s ease-out 1.16s both; }

@media (prefers-reduced-motion: reduce) {
  .ens-motion-hero__inner > * { opacity: 1; }
  .ens-motion-hero .ens-motion-eyebrow,
  .ens-motion-hero .ens-motion-hero__title,
  .ens-motion-hero .ens-motion-hero__media,
  .ens-motion-hero .ens-motion-hero__lead,
  .ens-motion-hero .ens-motion-chips,
  .ens-motion-hero .ens-motion-actions { animation: none !important; clip-path: none !important; opacity: 1 !important; }
}

.ens-motion-button {
  display: inline-flex;
  min-height: 3.35rem;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  border-radius: 999px;
  padding: .9rem 1.8rem;
  font-size: .92rem;
  font-weight: 800;
  transition: transform .25s var(--ens-ease), box-shadow .25s ease, background .25s ease;
}

.ens-motion-button--primary {
  background: var(--ens-sky);
  color: #0d0c0b;
  box-shadow: 0 12px 36px rgba(226, 6, 19, .24);
}

.ens-motion-button:hover { transform: translateY(-2px); }

.ens-motion-link {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  border-bottom: 2px solid var(--ens-sky);
  color: #fff;
  font-size: .86rem;
  font-weight: 800;
}

.ens-motion-link--dark { color: #111113; }

.ens-motion-section {
  position: relative;
  overflow: hidden;
  padding: clamp(5rem, 9vw, 8rem) 0;
}

.ens-motion-section--dark,
.ens-motion-section--ink {
  background: var(--ens-ink);
  color: #fff;
}

.ens-motion-section--ink { background: var(--ens-ink-soft); }
.ens-motion-section--light { background: var(--ens-paper); color: #111113; }

/* Hero en modo claro: fondo blanco, texto oscuro, videos sobre blanco */
.ens-motion-hero--light {
  background:
    radial-gradient(circle at 50% 58%, rgba(226, 6, 19, .10), transparent 30%),
    var(--ens-paper);
  color: #111113;
}
.ens-motion-hero--light .ens-motion-grid {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, .045) 1px, transparent 1px),
    linear-gradient(rgba(0, 0, 0, .045) 1px, transparent 1px);
  background-size: 64px 64px;
}
.ens-motion-hero--light .ens-motion-hero__title { color: #111113; }
.ens-motion-hero--light .ens-hero-line--accent { color: #e20613; }
.ens-motion-hero--light .ens-motion-eyebrow { color: #e20613; }
.ens-motion-hero--light .ens-motion-hero__lead {
  color: #3f3f46;
  text-shadow: none;
}
.ens-motion-hero--light .ens-motion-chips span {
  border-color: rgba(0, 0, 0, .12);
  background: rgba(0, 0, 0, .025);
  color: #27272a;
}
.ens-motion-hero--light .ens-motion-link { color: #18181b; }
.ens-motion-hero--light .ens-motion-glow {
  background: radial-gradient(circle, rgba(226, 6, 19, .14), transparent 68%);
}
.ens-motion-hero--light .ens-motion-product {
  filter: drop-shadow(0 24px 30px rgba(0, 0, 0, .16));
}

.ens-motion-section__head {
  max-width: 820px;
}

.ens-motion-section__head h2,
.ens-motion-inspiration h2 {
  max-width: 840px;
  margin: .85rem 0 0;
  color: inherit;
  font-size: clamp(2.8rem, 5.4vw, 5.4rem);
  font-weight: 800;
  line-height: .98;
  text-transform: uppercase;
  text-wrap: balance;
}

.ens-motion-section__head > p:last-child,
.ens-motion-inspiration > div:first-child > p:not(.ens-motion-kicker) {
  max-width: 640px;
  margin-top: 1.2rem;
  color: #3f3f46;
  font-size: clamp(1rem, 1.5vw, 1.16rem);
  font-weight: 700;
  line-height: 1.65;
  text-shadow: 0 1px 0 rgba(255, 255, 255, .95), 0 2px 10px rgba(0, 0, 0, .12);
}

.ens-motion-section--dark .ens-motion-section__head > p:last-child,
.ens-motion-section--ink .ens-motion-section__head > p:last-child,
.ens-motion-section--dark .ens-motion-proof-copy span,
.ens-motion-section--ink .ens-motion-proof-copy span,
.ens-motion-section--dark .ens-motion-moment p,
.ens-motion-section--ink .ens-motion-moment p {
  color: #f4f4f5;
  font-weight: 700;
  text-shadow: 0 2px 5px rgba(0, 0, 0, .98), 0 0 16px rgba(0, 0, 0, .78);
}

.ens-motion-section--dark :is(h2, h3, strong, .ens-motion-kicker, .ens-motion-link),
.ens-motion-section--ink :is(h2, h3, strong, .ens-motion-kicker, .ens-motion-link) {
  text-shadow: 0 2px 5px rgba(0, 0, 0, .95), 0 0 14px rgba(0, 0, 0, .72);
}

.ens-motion-proof-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(340px, 1.1fr);
  gap: clamp(2rem, 7vw, 7rem);
  align-items: center;
  margin-top: clamp(3rem, 6vw, 5.5rem);
}

.ens-motion-proof-copy h3 {
  margin: 0 0 2rem;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  font-weight: 800;
  line-height: 1.05;
}

.ens-motion-proof-copy ul {
  display: grid;
  gap: 1.35rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ens-motion-proof-copy li {
  position: relative;
  display: grid;
  gap: .25rem;
  padding-left: 2.5rem;
}

.ens-motion-proof-copy li::before {
  content: "✓";
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  width: 1.75rem;
  aspect-ratio: 1;
  place-items: center;
  border-radius: 50%;
  background: var(--ens-sky-soft);
  color: var(--ens-sky);
  font-weight: 900;
}

.ens-motion-proof-copy strong { color: #fff; font-size: 1rem; }
.ens-motion-proof-copy span { color: #a1a1aa; line-height: 1.55; }

.ens-motion-free-stage {
  position: relative;
  display: grid;
  min-height: 620px;
  place-items: center;
}

.ens-motion-free-stage .ens-motion-product { max-height: 620px; }
.ens-motion-free-stage--light .ens-motion-glow { background: radial-gradient(circle, rgba(30, 28, 27, .10), rgba(226, 6, 19, .10) 40%, transparent 68%); width: min(94%, 560px); }
.ens-motion-free-stage--light .ens-motion-product { filter: drop-shadow(0 28px 34px rgba(0, 0, 0, .18)); }

/* ── Separación producto ↔ escena (capa ambiental sutil, para que se lea siempre) ── */
.ens-motion-hero .ens-motion-glow {
  background: radial-gradient(circle, rgba(255, 255, 255, .10), rgba(226, 6, 19, .22) 34%, transparent 68%);
  width: min(96%, 560px);
}
.ens-motion-hero .ens-motion-product,
.ens-motion-section--dark .ens-motion-product,
.ens-motion-section--ink .ens-motion-product {
  filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .55)) drop-shadow(0 0 30px rgba(226, 6, 19, .24));
}
.ens-motion-section--light .ens-motion-product {
  filter: drop-shadow(0 26px 30px rgba(0, 0, 0, .22)) drop-shadow(0 3px 12px rgba(0, 0, 0, .18));
}

.ens-motion-trio {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 3vw, 2rem);
  margin-top: clamp(3rem, 6vw, 5rem);
}

.ens-motion-moment {
  min-width: 0;
  border-top: 1px solid var(--ens-line);
  padding-top: 1.5rem;
  display: flex;
  flex-direction: column;
}

.ens-motion-moment__media {
  display: grid;
  height: clamp(230px, 23vw, 320px);
  place-items: center;
  margin-bottom: 1.6rem;
}

.ens-motion-moment__media .ens-motion-product { max-height: min(100%, 300px); width: auto; max-width: 92%; object-fit: contain; }
.ens-motion-moment > span { color: var(--ens-sky); font-size: .7rem; font-weight: 800; letter-spacing: .17em; text-transform: uppercase; }
.ens-motion-moment h3 { margin: .65rem 0 .45rem; color: #fff; font-size: 1.35rem; font-weight: 800; }
.ens-motion-moment p { margin: 0; color: #a1a1aa; line-height: 1.55; }

.ens-motion-inspiration {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(340px, 1.1fr);
  gap: clamp(2rem, 7vw, 7rem);
  align-items: center;
}

.ens-motion-inspiration .ens-motion-link { margin-top: 1.5rem; }

/* Resto del home: misma voz editorial, sin volver a montar marcos. */
.ensutex-home #proceso {
  background: var(--ens-paper) !important;
  padding-top: clamp(3rem, 5vw, 4.5rem) !important;
  padding-bottom: clamp(3rem, 5vw, 4.5rem) !important;
}

.ensutex-home :is(#proceso, #faq-proceso, #catalogo, #faq-catalogo) p {
  color: #3f3f46 !important;
  font-weight: 600;
  text-shadow: 0 1px 0 rgba(255, 255, 255, .96), 0 2px 10px rgba(0, 0, 0, .1);
}

.ensutex-home :is(#diseno-gratis, #faq-diseno, #faq) p {
  color: #f4f4f5 !important;
  font-weight: 700;
  text-shadow: 0 2px 5px rgba(0, 0, 0, .98), 0 0 16px rgba(0, 0, 0, .78);
}

.ensutex-home #proceso .group > div:first-child > div:first-child {
  border: 0 !important;
  box-shadow: none !important;
}

.ensutex-home #catalogo { background: #fff !important; }

/* Páginas interiores: tipografía y superficies coherentes. */
.ensutex-v3 main > section h1,
.ensutex-v3 main > section h2,
.ensutex-v3 main > section h3 { text-wrap: balance; }

.ensutex-catalog .catalog-page-hero {
  background:
    radial-gradient(circle at 50% 55%, rgba(226, 6, 19, .1), transparent 32%),
    var(--ens-paper) !important;
}

.ensutex-catalog #cat-grid [data-product-id] {
  border-radius: 0 !important;
}

.ensutex-sport main > section:first-child,
.ensutex-folk main > section:first-child {
  background: var(--ens-paper) !important;
}

.ens-page-hero {
  position: relative;
  min-height: calc(100dvh - 5rem);
  overflow: hidden;
  padding: clamp(5rem, 8vw, 8rem) 0;
  background: var(--ens-paper);
}

.ens-page-hero__grid {
  display: grid;
  min-height: 690px;
  grid-template-columns: minmax(0, .9fr) minmax(420px, 1.1fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.ens-page-hero__copy h1 {
  max-width: 720px;
  margin: 1rem 0 1.25rem;
  color: #0b0a09;
  font-size: clamp(3.2rem, 6.2vw, 6.5rem);
  font-weight: 800;
  line-height: .94;
  text-transform: uppercase;
}

.ens-page-hero__copy > p:not(.ens-motion-kicker) {
  max-width: 620px;
  color: #52525b;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  font-weight: 650;
  line-height: 1.65;
  text-shadow: 0 1px 0 rgba(255, 255, 255, .95), 0 2px 10px rgba(0, 0, 0, .1);
}

.ens-motion-actions--start { justify-content: flex-start; }

.ensutex-folk #deporte-carousel {
  overflow: visible !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.ensutex-folk #deporte-track img {
  background: transparent !important;
  filter: drop-shadow(0 24px 28px rgba(0, 0, 0, .2));
}

.ensutex-guide main > section:first-child {
  padding-top: clamp(7rem, 12vw, 10rem) !important;
  background: var(--ens-paper) !important;
}

@media (hover: hover) and (pointer: fine) {
  .ens-motion-free-stage:hover .ens-motion-product,
  .ens-motion-moment:hover .ens-motion-product {
    filter: drop-shadow(0 38px 42px rgba(0, 0, 0, .52));
    transform: translate3d(0, -7px, 0) scale(1.015);
  }
}

@media (max-width: 767px) {
  .ens-motion-wrap { width: min(100% - 2rem, 620px); }

  .ens-motion-hero {
    min-height: 100dvh;
    padding: calc(var(--nav-height-mobile, 64px) + 1.7rem) 1rem 2rem;
  }

  .ens-motion-eyebrow {
    max-width: 340px;
    font-size: .62rem;
    letter-spacing: .18em;
  }

  .ens-motion-hero__title {
    margin-top: .8rem;
    font-size: clamp(2.55rem, 11vw, 3.5rem);
    line-height: .92;
  }

  .ens-motion-hero__media {
    width: min(108vw, 430px);
    min-height: 230px;
    margin: -.7rem 0 -.45rem;
  }

  .ens-motion-product--hero {
    width: min(108vw, 430px);
    max-height: 242px;
  }

  .ens-motion-hero__lead {
    max-width: 355px;
    font-size: .92rem;
    line-height: 1.5;
  }

  .ens-motion-chips { gap: .42rem; margin-top: 1rem; }
  .ens-motion-chips span { min-height: 1.9rem; padding: .38rem .65rem; font-size: .66rem; }
  .ens-motion-actions { width: 100%; gap: .55rem; margin-top: 1rem; }
  .ens-motion-button { width: min(100%, 320px); min-height: 3.1rem; padding: .75rem 1.25rem; }
  .ens-motion-link { min-height: 2.4rem; font-size: .78rem; }

  .ens-motion-section { padding: 4.5rem 0; }
  .ens-motion-section__head h2,
  .ens-motion-inspiration h2 { font-size: clamp(2.45rem, 11vw, 3.6rem); }

  .ens-motion-proof-grid,
  .ens-motion-inspiration { grid-template-columns: 1fr; gap: 2.5rem; }
  .ens-motion-free-stage { min-height: 480px; }
  .ens-motion-free-stage .ens-motion-product { max-height: 480px; }

  .ens-motion-trio {
    display: flex;
    width: calc(100% + 1rem);
    gap: 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding-right: 1rem;
  }

  .ens-motion-trio::-webkit-scrollbar { display: none; }
  .ens-motion-moment { flex: 0 0 84%; scroll-snap-align: start; }
  .ens-motion-moment__media { height: 370px; }

  .ens-motion-inspiration > div:first-child { text-align: center; }
  .ens-motion-inspiration .ens-motion-link { justify-content: center; }
}

@media (max-width: 767px) {
  /* espacio inferior para que el CTA no lo tape el chatbot flotante */
  .ens-motion-hero { padding-bottom: 5rem; }
  .ens-motion-hero__lead { font-size: 1rem; line-height: 1.5; }
  .ens-motion-hero__media { margin-top: 0; margin-bottom: .2rem; }
}

@media (max-width: 390px) {
  .ens-motion-hero { padding-top: calc(var(--nav-height-mobile, 64px) + .8rem); }
  .ens-motion-hero__title { font-size: clamp(2rem, 8.5vw, 2.5rem); }
  .ens-motion-hero__media { min-height: 150px; }
  .ens-motion-product--hero { max-height: 168px; }
}

/* ── Galería viva (marquee que se mueve con el scroll) ── */
.ens-marquee { display: flex; flex-direction: column; gap: .85rem; width: 100%; max-width: 100%; overflow: hidden; contain: paint; }
.ens-marquee__row { display: flex; gap: .85rem; width: max-content; will-change: transform; }
.ens-marquee__tile { flex: 0 0 auto; width: clamp(148px, 18vw, 240px); aspect-ratio: 3 / 4; border-radius: 1rem; overflow: hidden; background: radial-gradient(circle at 50% 40%, #21201e, #0d0c0b 72%); box-shadow: 0 12px 30px rgba(0, 0, 0, .35); }
.ens-marquee__tile img { width: 100%; height: 100%; object-fit: contain; padding: 8%; display: block; }

/* Pasos del proceso (sección Magia, escena clara) */
.ens-magic-steps { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: 1.1rem; }
.ens-magic-steps li { display: flex; gap: 1rem; align-items: flex-start; }
.ens-magic-num { flex: 0 0 auto; width: 2.4rem; height: 2.4rem; display: grid; place-items: center; border-radius: 50%; background: var(--ens-red); color: #fff; font-weight: 900; font-size: .95rem; }
.ens-magic-steps strong { display: block; font-size: 1.05rem; color: #141211; margin-bottom: .15rem; }
.ens-magic-steps p { margin: 0; color: #52525b; font-size: .92rem; line-height: 1.5; }
@media (max-width: 900px) {
  .ens-motion-inspiration--reverse { display: flex; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  .ens-motion-product { transition: none !important; transform: none !important; will-change: auto; }
  .ens-motion-button { transition: none !important; }
  .ens-marquee__row { transform: none !important; }
}

/* Mockups 3D reales de clientes — interacción front/lateral/back */
.ens-client-section {
  position: relative;
  overflow: hidden;
  padding: clamp(5rem, 9vw, 8rem) 0;
  background: #fff;
}

.ens-client-layout {
  display: grid;
  grid-template-columns: minmax(0, .78fr) minmax(380px, 1.22fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
}

.ens-client-copy h2 {
  margin: .8rem 0 1rem;
  font-size: clamp(2.8rem, 5vw, 5rem);
  font-weight: 800;
  line-height: .96;
  text-transform: uppercase;
}

.ens-client-copy > p:not(.ens-motion-kicker) {
  color: #52525b;
  font-size: 1.05rem;
  font-weight: 650;
  line-height: 1.65;
  text-shadow: 0 1px 0 rgba(255, 255, 255, .95), 0 2px 10px rgba(0, 0, 0, .1);
}

.client-viewer {
  position: relative;
  min-height: 620px;
  outline: none;
  touch-action: pan-y pinch-zoom;
}

.client-viewer:focus-visible {
  outline: 3px solid var(--ens-sky);
  outline-offset: 8px;
}

.client-viewer__stage {
  position: relative;
  display: grid;
  min-height: 570px;
  place-items: center;
}

.client-viewer__stage::before {
  content: "";
  position: absolute;
  width: 76%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(226, 6, 19, .12), transparent 68%);
}

.client-viewer__frame {
  position: absolute;
  z-index: 1;
  width: min(100%, 560px);
  max-height: 560px;
  object-fit: contain;
  opacity: 0;
  filter: drop-shadow(0 28px 34px rgba(0, 0, 0, .2));
  transform: translate3d(18px, 0, 0) scale(.985);
  transition: opacity .28s ease, transform .34s var(--ens-ease);
  pointer-events: none;
}

.client-viewer__frame.is-active {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

.client-viewer__controls {
  position: relative;
  z-index: 3;
  display: flex;
  justify-content: center;
  gap: .55rem;
}

.client-viewer__controls button {
  min-width: 44px;
  min-height: 44px;
  border: 1px solid #d4d4d8;
  border-radius: 999px;
  background: #fff;
  color: #52525b;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.client-viewer__controls button[aria-pressed="true"] {
  border-color: var(--ens-sky);
  background: var(--ens-sky);
  color: #0d0c0b;
}

.ens-client-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.6rem);
  margin-top: clamp(4rem, 8vw, 7rem);
}

.ens-client-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  border-top: 1px solid #d4d4d8;
  padding-top: 1rem;
}

.ens-client-card__media {
  display: grid;
  height: clamp(260px, 25vw, 360px);
  place-items: center;
}

.ens-client-card__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 20px 22px rgba(0, 0, 0, .16));
  transition: transform .36s var(--ens-ease), filter .3s ease;
}

.ens-client-card span {
  margin-top: .8rem;
  color: var(--ens-sky);
  font-size: .66rem;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.ens-client-card h3 {
  margin: .35rem 0 0;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
}

.client-orbit {
  position: relative;
  min-height: 620px;
}

.client-orbit::before {
  content: "";
  position: absolute;
  inset: 10% 5%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(226, 6, 19, .13), transparent 68%);
}

.client-orbit img {
  position: absolute;
  width: min(68%, 430px);
  max-height: 580px;
  object-fit: contain;
  filter: drop-shadow(0 28px 34px rgba(0, 0, 0, .24));
  transition: transform .34s var(--ens-ease);
  will-change: transform;
}

.client-orbit img:nth-child(1) { z-index: 3; inset: 2% auto auto 24%; }
.client-orbit img:nth-child(2) { z-index: 2; width: 45%; inset: 26% auto auto 0; opacity: .94; }
.client-orbit img:nth-child(3) { z-index: 1; width: 42%; inset: 30% 0 auto auto; opacity: .9; }

@media (hover: hover) and (pointer: fine) {
  .ens-client-card:hover img { transform: translateY(-8px) scale(1.025); filter: drop-shadow(0 30px 30px rgba(0, 0, 0, .22)); }
}

@media (max-width: 900px) {
  .ens-client-layout { grid-template-columns: 1fr; }
  .ens-client-copy { text-align: center; }
  .ens-client-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
  .client-viewer { min-height: 520px; }
  .client-viewer__stage { min-height: 465px; }
  .client-viewer__frame { max-height: 455px; }
  .ens-client-gallery {
    display: flex;
    width: calc(100% + 1rem);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding-right: 1rem;
  }
  .ens-client-gallery::-webkit-scrollbar { display: none; }
  .ens-client-card { flex: 0 0 76%; scroll-snap-align: start; }
  .ens-client-card__media { height: 350px; }
  .client-orbit { min-height: 510px; }
  .client-orbit img:nth-child(1) { left: 18%; width: 72%; }
  .ens-page-hero { padding: 3.5rem 0; }
  .ens-page-hero__grid { min-height: auto; grid-template-columns: 1fr; }
  .ens-page-hero__copy { text-align: center; }
  .ens-page-hero__copy h1 { font-size: clamp(2.8rem, 12vw, 4.25rem); }
  .ens-motion-actions--start { justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  .client-viewer__frame,
  .client-orbit img,
  .ens-client-card__media img { transition: none !important; transform: none !important; }
}

/* ─────────────────────────────────────────────────────────────────────────
   VIDEOS DE PRODUCTO (jul-2026) — reemplazan las secuencias de frames.
   Se funden con la escena por el fondo propio del video (blanco→claro,
   gris/carbón→oscuro), con las texturas/glow ya existentes encima.
   ───────────────────────────────────────────────────────────────────────── */
/* Video como producto: hereda el tamaño de .ens-motion-product; sin caja.
   La máscara radial DISUELVE el borde rectangular del video (fondo de estudio)
   en la escena → el producto flota, sin cuadro ni recorte, en cualquier navegador. */
video.ens-motion-product {
  background: transparent !important;
  -webkit-mask-image: radial-gradient(ellipse 80% 86% at 50% 48%, #000 60%, rgba(0,0,0,.55) 78%, transparent 93%);
          mask-image: radial-gradient(ellipse 80% 86% at 50% 48%, #000 60%, rgba(0,0,0,.55) 78%, transparent 93%);
  -webkit-mask-mode: alpha;
          mask-mode: alpha;
}
/* Hero landscape: que el video NO monte sobre el título (era negativo para el PNG transparente). */
#hero-section .ens-motion-hero__media { margin-top: .6rem; margin-bottom: .2rem; }

/* Hero (video home, fondo blanco) sobre escena clara: sombra suave, sin halo pesado. */
#hero-section.ens-motion-hero--light .ens-motion-product--hero {
  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, .14)) !important;
}

/* Tríada: magic (carbón) e inspiration (gris) pasan a escena OSCURA para que el
   fondo del video se funda. Texto y links recalibrados para contraste. */
#motion-magic.ens-motion-section--dark .ens-magic-steps strong { color: #fff; }
#motion-magic.ens-motion-section--dark .ens-magic-steps p { color: #d4d4d8; }
#motion-magic.ens-motion-section--dark .ens-magic-num { background: var(--ens-red); color: #fff; }
#motion-inspiration.ens-motion-section--dark .ens-motion-inspiration > div:first-child > p:not(.ens-motion-kicker) {
  color: #d4d4d8;
  text-shadow: none;
}
#motion-magic.ens-motion-section--dark .ens-motion-link,
#motion-magic.ens-motion-section--dark .ens-motion-link--dark,
#motion-inspiration.ens-motion-section--dark .ens-motion-link,
#motion-inspiration.ens-motion-section--dark .ens-motion-link--dark { color: #fff; }
