/* MR. FOX Digital v1.2.38 — Timeline cinematográfica centrada, 5 personajes PNG.
   Carga solo en Quiénes somos; no modifica home, header, footer ni ecommerce. */
.mf-story-journey{
  position:relative;
  overflow:clip;
  padding:clamp(78px,7vw,125px) 0 clamp(92px,9vw,155px);
  background:
    radial-gradient(ellipse at 50% 23%,rgba(30,75,129,.14),transparent 52%),
    radial-gradient(ellipse at 70% 78%,rgba(167,35,173,.08),transparent 47%),
    linear-gradient(155deg,#030a19,#071128 58%,#030815);
}
/* Ya NO hay un título fijo a la izquierda que estrangule los capítulos. */
.mf-story-journey .mf-story-journey__intro{
  display:block!important;
  width:min(1600px,calc(100% - 84px))!important;
  max-width:none!important;
  margin-inline:auto;
}
.mf-story-journey .mf-story-journey__heading{
  position:relative!important;
  top:auto!important;
  width:min(980px,100%);
  margin:0 auto clamp(48px,6vw,95px);
  text-align:center;
  z-index:1;
}
.mf-story-journey .mf-story-journey__heading::after{
  content:"";display:block;width:160px;height:2px;margin:28px auto 0;
  background:linear-gradient(90deg,transparent,#2ce7f8 30%,#ed43e3 74%,transparent);
  box-shadow:0 0 19px rgba(40,222,246,.38);
}
.mf-story-journey .mf-story-journey__heading h2{
  font-size:clamp(2.45rem,4.7vw,5.4rem)!important;
  line-height:1.08!important;
  letter-spacing:-.04em;
  max-width:100%;
  margin:19px auto 27px!important;
  text-wrap:balance;
  overflow-wrap:normal;
}
.mf-story-journey .mf-story-journey__heading>p:last-of-type{
  max-width:740px!important;margin:0 auto!important;
  font-size:clamp(.96rem,1.13vw,1.15rem)!important;
  line-height:1.85!important;
}
.mf-story-journey .mf-story-journey__signal{margin-top:26px;justify-content:center}
.mf-story-journey .mf-story-journey__events{
  position:relative!important;
  display:flex!important;
  flex-direction:column!important;
  gap:clamp(26px,4.2vw,68px)!important;
  padding:0!important;
  max-width:none!important;
  width:100%!important;
}
.mf-story-journey .mf-story-journey__track{
  position:absolute;left:50%!important;top:12px!important;bottom:12px!important;
  transform:translateX(-50%)!important;width:3px!important;height:auto!important;
  background:rgba(53,126,168,.23)!important;
  z-index:0;
  overflow:hidden;
  border-radius:20px;
}
.mf-story-journey .mf-story-journey__track-fill{
  display:block;width:100%;height:var(--mf-story-progress,0%);
  background:linear-gradient(#19e8f6,#bc7cff,#fb3bda);
  box-shadow:0 0 17px rgba(33,230,255,.65);
}
/* Cada fila ocupa TODO el ancho: personaje | línea central | tarjeta. */
.mf-story-journey .mf-story-chapter{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) clamp(66px,6vw,105px) minmax(0,1fr)!important;
  grid-template-rows:minmax(0,auto);
  align-items:center!important;
  gap:0!important;
  min-height:clamp(495px,39vw,650px);
  padding:0!important;
  margin:0!important;
  border:0!important;
  border-radius:0!important;
  background:none!important;
  box-shadow:none!important;
  isolation:isolate;
}
.mf-story-journey .mf-story-chapter:hover{filter:none}
.mf-story-journey .mf-story-chapter__dot{
  display:block!important;
  width:18px!important;height:18px!important;
  position:absolute!important;
  left:50%!important;top:50%!important;
  transform:translate(-50%,-50%)!important;
  z-index:5!important;
  background:#030a19!important;
  border:3px solid #19e8f6!important;
  box-shadow:0 0 0 7px rgba(19,225,242,.08),0 0 22px rgba(30,232,248,.62)!important;
  border-radius:50%!important;
}
.mf-story-journey .mf-story-chapter:nth-of-type(even) .mf-story-chapter__dot{
  border-color:#f34bdd!important;
  box-shadow:0 0 0 7px rgba(251,59,218,.08),0 0 22px rgba(251,59,218,.5)!important;
}
.mf-story-journey .mf-story-chapter--right .mf-story-chapter__visual,
.mf-story-journey .mf-story-chapter--left .mf-story-chapter__card{grid-column:1!important;grid-row:1!important}
.mf-story-journey .mf-story-chapter--left .mf-story-chapter__visual,
.mf-story-journey .mf-story-chapter--right .mf-story-chapter__card{grid-column:3!important;grid-row:1!important}
.mf-story-journey .mf-story-chapter__visual{
  display:flex!important;
  flex-direction:column;
  justify-content:flex-end!important;
  align-items:center!important;
  position:relative!important;
  min-width:0;
  min-height:clamp(490px,39vw,650px)!important;
  padding:12px 15px 0!important;
  overflow:visible!important;
}
/* Las figuras son PNG sin fondo: jamás ilustraciones rectangulares. */
.mf-story-journey .mf-story-chapter__visual::before{display:none!important}
.mf-story-journey .mf-story-chapter__art-aura{
  pointer-events:none;position:absolute;width:min(80%,430px);height:66%;bottom:9%;left:50%;
  transform:translateX(-50%);border-radius:50%;
  background:radial-gradient(ellipse,rgba(39,226,249,.16) 0%,rgba(216,40,240,.15) 38%,transparent 73%);
  filter:blur(23px);
}
.mf-story-journey .mf-story-chapter__visual-frame{
  position:relative!important;
  z-index:2;
  display:flex!important;
  align-items:flex-end!important;
  justify-content:center!important;
  width:100%!important;
  max-width:630px!important;
  height:clamp(455px,37vw,618px)!important;
  animation:mf-story-persona-float 7s ease-in-out infinite;
  transform-origin:center bottom;
  will-change:transform;
}
.mf-story-journey .mf-story-chapter__visual-frame picture{
  width:100%;height:100%;display:flex;align-items:flex-end;justify-content:center;
}
.mf-story-journey .mf-story-chapter__visual img{
  display:block!important;
  width:auto!important;
  max-width:100%!important;
  height:100%!important;
  max-height:none!important;
  object-fit:contain!important;
  object-position:center bottom!important;
  filter:drop-shadow(0 15px 25px rgba(0,0,0,.24)) drop-shadow(0 0 13px rgba(236,51,214,.18));
  animation:none!important;
}
.mf-story-journey .mf-story-chapter__visual-label{
  position:relative!important;left:auto!important;bottom:auto!important;
  z-index:3!important;
  display:inline-block;
  max-width:95%;
  margin-top:4px;
  padding:6px 15px;
  color:#8ae6f8!important;
  background:rgba(3,10,25,.76);
  border:1px solid rgba(30,225,244,.19);
  border-radius:999px;
  font-size:.65rem!important;
  font-weight:900;
  line-height:1.35;
  letter-spacing:.16em!important;
  text-align:center;
  text-wrap:balance;
}
.mf-story-journey .mf-story-chapter__card{
  position:relative!important;
  min-width:0!important;
  width:100%;
  max-width:690px;
  margin:0;
  padding:clamp(30px,3vw,53px)!important;
  border-radius:4px 4px 22px 4px!important;
  border:1px solid rgba(43,167,202,.38)!important;
  background:linear-gradient(145deg,rgba(10,27,54,.96),rgba(3,12,29,.99))!important;
  box-shadow:0 26px 64px rgba(0,3,14,.22),inset 0 1px 0 rgba(255,255,255,.035)!important;
  transition:border-color .3s ease,box-shadow .3s ease,transform .3s ease!important;
}
.mf-story-journey .mf-story-chapter--left .mf-story-chapter__card{
  justify-self:end;border-radius:4px 4px 4px 22px!important;
}
.mf-story-journey .mf-story-chapter--right .mf-story-chapter__card{justify-self:start}
.mf-story-journey .mf-story-chapter__card::before{
  display:block!important;
  content:"";
  position:absolute;
  top:50%;width:clamp(33px,3vw,52px);height:2px;
  background:linear-gradient(90deg,#19e8f6,#fb3bda);
  box-shadow:0 0 15px rgba(32,227,245,.38);
  pointer-events:none;
}
.mf-story-journey .mf-story-chapter--right .mf-story-chapter__card::before{left:calc(-1*clamp(33px,3vw,52px));right:auto}
.mf-story-journey .mf-story-chapter--left .mf-story-chapter__card::before{right:calc(-1*clamp(33px,3vw,52px));left:auto}
.mf-story-journey .mf-story-chapter__card:hover{
  transform:translateY(-5px)!important;
  border-color:rgba(50,234,247,.7)!important;
  box-shadow:0 28px 75px rgba(0,3,14,.34),0 0 30px rgba(26,215,244,.09)!important;
}
.mf-story-journey .mf-story-chapter__year{font-size:clamp(3.2rem,4.6vw,5.35rem)!important;line-height:1!important}
.mf-story-journey .mf-story-chapter__top{margin-bottom:clamp(15px,2vw,26px)!important}
.mf-story-journey .mf-story-chapter h3{
  font-size:clamp(1.4rem,1.95vw,2.05rem)!important;
  line-height:1.22!important;
  margin:0 0 18px!important;
  text-wrap:balance;
}
.mf-story-journey .mf-story-chapter p{
  font-size:clamp(.98rem,1.08vw,1.13rem)!important;
  line-height:1.85!important;
  overflow-wrap:break-word;
}
.mf-story-journey .mf-story-chapter__underline{margin-top:30px!important;width:58px!important;height:3px!important}
.mf-story-journey .mf-story-chapter--rookie .mf-story-chapter__visual-frame{animation-duration:6.2s}
.mf-story-journey .mf-story-chapter--builder .mf-story-chapter__visual-frame{animation-duration:7.5s;animation-delay:-1.1s}
.mf-story-journey .mf-story-chapter--creator .mf-story-chapter__visual-frame{animation-duration:6.7s;animation-delay:-2.2s}
.mf-story-journey .mf-story-chapter--rebuild .mf-story-chapter__visual-frame{animation-duration:8.2s;animation-delay:-1.7s}
.mf-story-journey .mf-story-chapter--present .mf-story-chapter__visual-frame{animation-duration:6.9s;animation-delay:-2.8s}
.mf-story-journey .mf-story-chapter--present .mf-story-chapter__visual img{
  filter:drop-shadow(0 19px 28px rgba(0,0,0,.28)) drop-shadow(0 0 15px rgba(251,59,218,.25))!important;
}
@keyframes mf-story-persona-float{0%,100%{transform:translateY(0) rotate(0)}50%{transform:translateY(-12px) rotate(.42deg)}}


/* Orientación narrativa: cada MR. FOX mira hacia su tarjeta. */
.mf-story-journey .mf-story-chapter--left .mf-story-chapter__visual img{transform:scaleX(-1)!important;transform-origin:center bottom!important}
.mf-story-journey .mf-story-chapter--left .mf-story-chapter__visual-frame picture{transform:none!important}

/* En tablet y móvil dejamos de comprimir textos; personajes arriba y tarjetas abajo. */
@media(max-width:1099px){
  .mf-story-journey .mf-story-journey__intro{width:min(880px,calc(100% - 42px))!important}
  .mf-story-journey .mf-story-journey__heading{margin-bottom:56px}
  .mf-story-journey .mf-story-journey__events{gap:32px!important;padding:0 0 0 36px!important}
  .mf-story-journey .mf-story-journey__track{left:11px!important;transform:none!important;top:20px!important;bottom:20px!important}
  .mf-story-journey .mf-story-chapter{
    display:flex!important;flex-direction:column!important;
    gap:0!important;min-height:0!important;
    align-items:stretch!important;
  }
  .mf-story-journey .mf-story-chapter__dot{
    left:-25px!important;top:50%!important;transform:translate(-50%,-50%)!important;
  }
  .mf-story-journey .mf-story-chapter__visual{
    order:1!important;grid-column:auto!important;grid-row:auto!important;
    min-height:370px!important;padding:8px 0 0!important;
  }
  .mf-story-journey .mf-story-chapter__visual-frame{height:365px!important}
  .mf-story-journey .mf-story-chapter__card{
    order:2!important;grid-column:auto!important;grid-row:auto!important;
    margin-top:16px!important;max-width:100%!important;
    border-radius:8px 8px 20px 8px!important;
  }
  .mf-story-journey .mf-story-chapter__card::before{display:none!important}
  .mf-story-journey .mf-story-chapter--left .mf-story-chapter__card{border-radius:8px 8px 20px 8px!important}
  .mf-story-journey .mf-story-chapter__visual-label{margin-top:8px}
}
@media(max-width:600px){
  .mf-story-journey{padding:74px 0 95px}
  .mf-story-journey .mf-story-journey__intro{width:calc(100% - 26px)!important}
  .mf-story-journey .mf-story-journey__heading h2{font-size:clamp(2rem,8.6vw,3rem)!important}
  .mf-story-journey .mf-story-journey__heading>p:last-of-type{font-size:.93rem!important}
  .mf-story-journey .mf-story-journey__events{padding-left:19px!important;gap:36px!important}
  .mf-story-journey .mf-story-journey__track{left:3px!important}
  .mf-story-journey .mf-story-chapter__dot{left:-16px!important;width:13px!important;height:13px!important;border-width:2px!important}
  .mf-story-journey .mf-story-chapter__visual{min-height:306px!important}
  .mf-story-journey .mf-story-chapter__visual-frame{height:310px!important}
  .mf-story-journey .mf-story-chapter__card{padding:25px 22px!important;margin-top:15px!important}
  .mf-story-journey .mf-story-chapter__year{font-size:2.9rem!important}
  .mf-story-journey .mf-story-chapter h3{font-size:1.25rem!important}
  .mf-story-journey .mf-story-chapter p{font-size:.92rem!important;line-height:1.74!important}
  .mf-story-journey .mf-story-chapter__visual-label{font-size:.54rem!important;letter-spacing:.1em!important}
}
@media(prefers-reduced-motion:reduce){
  .mf-story-journey .mf-story-chapter__visual-frame{animation:none!important;will-change:auto!important}
  .mf-story-journey .mf-story-chapter__card{transition:none!important}
}
