/* V4.3 — film-to-ROI page flow and refined three-step cinematic header.
   Additive, intentionally scoped: preserve V4.2 player, video, and all other page sections. */

/* Preserve the exact ROI gradient previously supplied by the
   .home-question + .premium-section.alt adjacency rule. */
body.page-home .zl-film-section + .premium-section.alt.roi-section {
  background:linear-gradient(180deg,#ffffff 0%,#f4f8fb 100%)!important;
}
body.page-home .zl-film-section + .roi-section .premium-intro-grid {
  margin-bottom:30px!important;
}

/* The three-part journey now leads the introduction instead of appearing
   below it, with a fine emerald spine and a balanced editorial rhythm. */
body.page-home .zl-film-head-aside {
  position:relative;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  justify-content:center;
  gap:clamp(18px,2vw,27px);
  padding:10px 0 10px clamp(21px,2.8vw,36px);
  border-left:1px solid rgba(122,246,187,.26);
}
body.page-home .zl-film-head-aside::before {
  content:"";
  position:absolute;
  left:-2px;
  top:0;
  height:min(84px,42%);
  width:3px;
  border-radius:999px;
  background:linear-gradient(180deg,rgba(139,255,205,.98),rgba(44,221,146,.45));
  box-shadow:0 0 18px rgba(77,234,158,.38);
  pointer-events:none;
}
body.page-home .zl-film-head-aside p {
  max-width:545px;
  margin:0;
  color:#d6eee7;
  font-size:clamp(1.04rem,1.37vw,1.2rem);
  line-height:1.65;
  letter-spacing:-.005em;
  text-wrap:pretty;
}
body.page-home .zl-film-mini-flow {
  box-sizing:border-box;
  display:inline-flex;
  flex-wrap:nowrap;
  align-items:center;
  justify-content:flex-start;
  gap:clamp(8px,.85vw,15px);
  margin:0;
  padding:clamp(13px,1.12vw,17px) clamp(13px,1.25vw,20px);
  border:1px solid rgba(132,248,196,.38);
  border-radius:16px;
  background:linear-gradient(125deg,rgba(22,112,87,.4),rgba(7,54,65,.59));
  box-shadow:0 12px 35px rgba(0,10,25,.14),inset 0 1px rgba(228,255,242,.09);
  color:#f4fff9;
  font-size:clamp(.69rem,.83vw,.84rem);
  font-weight:810;
  letter-spacing:.045em;
  text-transform:uppercase;
}
body.page-home .zl-film-mini-flow span {
  display:inline-flex;
  align-items:center;
  gap:7px;
  color:#f0fff7;
  font-weight:820;
  white-space:nowrap;
}
body.page-home .zl-film-mini-flow span::before {
  content:"";
  display:inline-block;
  flex:0 0 7px;
  width:7px;
  height:7px;
  border-radius:50%;
  background:#75f9b1;
  box-shadow:0 0 0 3px rgba(91,224,157,.13),0 0 13px rgba(87,244,166,.65);
}
body.page-home .zl-film-mini-flow i {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  color:#7cf1b9;
  font-size:1.15rem;
  font-weight:600;
  line-height:1;
  font-style:normal;
  filter:drop-shadow(0 0 6px rgba(79,239,156,.32));
}
@media(max-width:1190px) and (min-width:761px){
  body.page-home .zl-film-head-aside {
    padding-left:20px;
    gap:16px;
  }
  body.page-home .zl-film-mini-flow {
    font-size:.68rem;
    gap:8px;
    padding:12px 13px;
  }
}
@media(max-width:760px){
  body.page-home .zl-film-head-aside {
    margin-top:clamp(20px,5vw,30px);
    padding:0;
    border-left:0;
    gap:18px;
    align-items:stretch;
  }
  body.page-home .zl-film-head-aside::before{display:none;}
  body.page-home .zl-film-mini-flow {
    display:flex;
    width:100%;
    justify-content:space-between;
    padding:14px clamp(10px,3.6vw,18px);
    border-radius:14px;
    gap:clamp(4px,1.6vw,9px);
    font-size:clamp(.61rem,2.6vw,.75rem);
    letter-spacing:.013em;
  }
  body.page-home .zl-film-mini-flow span{gap:5px;}
  body.page-home .zl-film-mini-flow span::before {
    width:6px;height:6px;flex-basis:6px;
    box-shadow:0 0 0 2px rgba(91,224,157,.1),0 0 8px rgba(87,244,166,.38);
  }
  body.page-home .zl-film-mini-flow i{font-size:1rem;}
  body.page-home .zl-film-head-aside p {
    margin:0;
    font-size:clamp(.96rem,3.7vw,1.045rem);
    line-height:1.62;
  }
}
@media(max-width:370px){
  body.page-home .zl-film-mini-flow {
    padding:12px 8px;
    gap:4px;
    font-size:.61rem;
  }
  body.page-home .zl-film-mini-flow span{gap:4px;}
}
@media(prefers-reduced-motion:reduce){
  body.page-home .zl-film-mini-flow,
  body.page-home .zl-film-mini-flow *{transition:none!important;}
}

/* Tablet cinema header: do not force a three-step journey into a narrow column. */
@media (min-width:761px) and (max-width:899px) {
  body.page-home .zl-film-head {
    display:grid;
    grid-template-columns:minmax(0,1fr);
    gap:23px;
  }
  body.page-home .zl-film-head-aside {
    padding:0;
    margin:0;
    border-left:0;
    gap:17px;
    align-items:flex-start;
  }
  body.page-home .zl-film-head-aside::before {display:none;}
  body.page-home .zl-film-mini-flow {
    max-width:100%;
    gap:12px;
    font-size:.76rem;
    padding:14px 18px;
  }
  body.page-home .zl-film-head-aside p {
    max-width:680px;
    margin:0;
    font-size:1.06rem;
    line-height:1.58;
  }
}
