/* Zimula2 V5.8 — Hero con simulador ilustrativo integrado. Sin Coach o Zimu flotante. */
.hero .hero-stage.z8-hero-stage{
  position:relative;
  isolation:isolate;
  height:auto;
  min-height:535px;
  width:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:8px 0 18px;
  box-sizing:border-box;
}
.z8-hero-stage,.z8-hero-stage *{box-sizing:border-box}
.z8-ambient{
  position:absolute;
  z-index:-1;
  pointer-events:none;
  width:78%;
  height:68%;
  border-radius:50%;
  filter:blur(60px);
  opacity:.7
}
.z8-ambient--one{top:6%;right:-8%;background:radial-gradient(ellipse,#3764e57a,transparent 70%)}
.z8-ambient--two{bottom:0;left:-14%;background:radial-gradient(ellipse,#11c3e75c,transparent 70%)}
.z8-window{
  position:relative;
  z-index:1;
  width:100%;
  max-width:720px;
  overflow:hidden;
  border-radius:28px;
  border:1px solid rgba(172,218,255,.42);
  background:linear-gradient(145deg,#fbfdff 0%,#eff5ff 100%);
  box-shadow:0 45px 90px rgba(1,13,42,.45),0 0 0 7px rgba(117,180,255,.075),inset 0 1px 0 rgba(255,255,255,.92);
  transform:perspective(1400px) rotateY(-1.2deg);
  transition:transform .35s ease,box-shadow .35s ease;
}
.z8-window:hover{transform:perspective(1400px) rotateY(0) translateY(-3px);box-shadow:0 53px 98px rgba(1,13,42,.47),0 0 0 7px rgba(117,180,255,.09)}
.z8-window-bar{
  display:flex;
  align-items:center;
  min-height:56px;
  padding:10px 19px;
  gap:14px;
  background:linear-gradient(112deg,#0e2551,#173d7c);
  border-bottom:1px solid rgba(174,220,255,.22)
}
.z8-window-traffic{display:flex;align-items:center;gap:5px}
.z8-window-traffic i{width:8px;height:8px;border-radius:50%;background:#62ddec;box-shadow:0 0 12px #51d9fc35}
.z8-window-traffic i:nth-child(2){background:#689bff}
.z8-window-traffic i:nth-child(3){background:#9b83ff}
.z8-window-identity{display:flex;align-items:center;gap:8px;color:#fff}
.z8-window-logo{
  width:30px;height:30px;display:grid;place-items:center;
  border:1px solid rgba(192,232,255,.2);
  border-radius:10px;
  background:linear-gradient(150deg,#20bfe5,#6557ef);
  font-weight:900;font-size:15px
}
.z8-window-identity>span:last-child{display:flex;flex-direction:column;gap:1px}
.z8-window-identity strong{font-size:11px;letter-spacing:.01em}
.z8-window-identity small{font-size:8px;color:#b4ccea}
.z8-window-live{
  display:inline-flex;align-items:center;gap:7px;
  margin-left:auto;white-space:nowrap;
  color:#c5e5ff;font-size:9px;font-weight:900;letter-spacing:.075em;
  padding:8px 10px;border:1px solid rgba(158,216,255,.25);
  background:rgba(142,207,255,.085);border-radius:40px
}
.z8-window-live i{width:6px;height:6px;background:#64ecdc;border-radius:50%;box-shadow:0 0 8px #55ecd9aa}
.z8-exam{padding:20px 24px 20px;color:#122950}
.z8-exam-top{
  display:grid;grid-template-columns:minmax(0,1fr) 118px;
  align-items:center;gap:14px;margin-bottom:17px
}
.z8-exam-subject{
  display:inline-flex;gap:5px;align-items:center;
  padding:6px 10px;border-radius:40px;
  border:1px solid #cee4fd;background:#eaf5ff;
  font-size:8px;font-weight:900;letter-spacing:.09em;color:#2b74ce
}
.z8-exam-subject span{color:#4c88f7}
.z8-exam-intro h3{
  margin:9px 0 5px;color:#102751;
  font-size:20px;font-weight:850;line-height:1.17;letter-spacing:-.035em
}
.z8-exam-intro p{margin:0;color:#6b7f9c;font-size:10px;line-height:1.45}
.z8-exam-progress{
  display:flex;flex-direction:column;justify-content:center;gap:9px;
  padding:12px;border:1px solid #d6e6fa;background:#fff;border-radius:16px;
  box-shadow:0 8px 17px rgba(41,88,159,.05)
}
.z8-exam-progress>div:first-child{display:flex;flex-direction:column;gap:2px}
.z8-exam-progress span{font-size:8px;color:#758eae;font-weight:900;letter-spacing:.09em}
.z8-exam-progress strong{font-size:22px;line-height:1.05;color:#246bce;font-weight:900}
.z8-exam-progress strong em{font-style:normal;color:#98adc7;font-size:12px}
.z8-exam-track{height:6px;background:#e3eafa;border-radius:40px;overflow:hidden}
.z8-exam-track span{display:block;width:80%;height:100%;border-radius:40px;background:linear-gradient(90deg,#28ccdf,#6c6af5)}
.z8-question-card{
  border:1px solid #d8e5f7;
  border-radius:21px;
  padding:19px 18px 17px;
  background:#fff;
  box-shadow:0 13px 27px rgba(22,67,134,.07)
}
.z8-question-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}
.z8-question-number{font-size:9px;color:#2b74cf;font-weight:900;letter-spacing:.08em}
.z8-question-label{font-size:9px;color:#8398b2;font-weight:800}
.z8-question-card h4{font-size:16px;line-height:1.32;font-weight:850;letter-spacing:-.025em;color:#122d5b;margin:9px 0 15px}
.z8-answer-list{display:grid;gap:8px}
.z8-answer{
  display:flex;gap:10px;align-items:center;min-height:37px;
  padding:6px 10px;
  border:1px solid #e0e9f6;border-radius:11px;
  background:#fff;color:#556e8e;
  font-size:10px;line-height:1.35
}
.z8-answer-letter{
  display:grid;place-items:center;flex:0 0 23px;
  width:23px;height:23px;border-radius:8px;background:#edf4ff;color:#4d7dbe;font-size:10px;font-weight:900
}
.z8-answer--correct{
  border-color:#6cdec7;
  background:linear-gradient(95deg,#e9fbf6,#f3fcff);
  color:#16856e;font-weight:800
}
.z8-answer--correct .z8-answer-letter{background:#c9f4e8;color:#0e9276}
.z8-answer-check{
  margin-left:auto;flex:0 0 23px;display:grid;place-items:center;
  width:23px;height:23px;border-radius:50%;
  background:#18aa8d;color:#fff;font-size:13px;font-weight:900
}
.z8-feedback{
  margin-top:11px;display:flex;align-items:center;gap:12px;min-height:72px;
  padding:12px 14px;
  border:1px solid #bfe6ea;border-radius:17px;
  background:linear-gradient(112deg,#ddf9f3 0%,#e7f7ff 60%,#eef1ff);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.75);
}
.z8-feedback-icon{
  flex:0 0 41px;display:grid;place-items:center;
  width:41px;height:41px;border-radius:13px;
  background:linear-gradient(135deg,#17bfae,#3c9be4);
  color:#fff;font-size:22px;font-weight:850;
  box-shadow:0 8px 17px rgba(9,149,174,.22)
}
.z8-feedback-content{min-width:0;display:flex;flex-direction:column;gap:3px}
.z8-feedback-content>span{font-size:8px;letter-spacing:.12em;color:#138c87;font-weight:900}
.z8-feedback-content strong{font-size:12px;color:#123d61;font-weight:900}
.z8-feedback-content p{color:#5b8396;font-size:10px;line-height:1.38;margin:0}
.z8-feedback-spark{margin-left:auto;align-self:flex-start;font-size:20px;color:#5f8cf5;opacity:.78}
.z8-exam-bottom{
  display:flex;align-items:center;justify-content:space-between;gap:12px;
  margin-top:15px;padding:0 2px
}
.z8-exam-bottom>span{display:flex;align-items:center;gap:7px;color:#7189a8;font-size:9px;font-weight:700}
.z8-exam-bottom>span i{width:7px;height:7px;border-radius:50%;background:#5cc9de}
.z8-exam-bottom a{
  display:inline-flex;align-items:center;gap:10px;text-decoration:none;
  color:#fff;background:linear-gradient(105deg,#139ce0,#6263ea);
  font-size:10px;font-weight:850;border-radius:11px;
  padding:11px 13px;box-shadow:0 9px 21px rgba(58,106,223,.2);
  transition:transform .2s,filter .2s
}
.z8-exam-bottom a:hover{transform:translateY(-2px);filter:brightness(1.07)}
.z8-exam-bottom a:focus-visible{outline:3px solid #55c9eb;outline-offset:3px}
.z8-exam-bottom a span{font-size:17px;line-height:.6}
/* Reducir peso visual sin hacer el texto diminuto en tamaños intermedios */
@media(max-width:1220px) and (min-width:901px){
  .z8-exam{padding:17px}
  .z8-exam-top{grid-template-columns:minmax(0,1fr) 100px;gap:8px}
  .z8-exam-intro h3{font-size:17px}
  .z8-exam-progress{padding:9px}
  .z8-window-bar{padding:9px 13px}
  .z8-question-card{padding:16px 13px}
  .z8-question-card h4{font-size:14px}
  .z8-answer{font-size:9px}
  .z8-feedback{padding:10px}
  .z8-feedback-content strong{font-size:11px}
}
@media(max-width:900px){
  .hero .hero-stage.z8-hero-stage{min-height:0;height:auto;margin-top:26px;padding:6px 0 20px}
  .z8-window{max-width:720px;transform:none}
  .z8-window:hover{transform:translateY(-2px)}
}
@media(max-width:600px){
  .hero .hero-stage.z8-hero-stage{min-height:0;height:auto;margin-top:25px;padding:5px 0 12px}
  .z8-window{border-radius:20px;box-shadow:0 24px 58px rgba(2,16,47,.32);transform:none}
  .z8-window-bar{padding:9px 10px;min-height:48px;gap:8px}
  .z8-window-traffic{gap:3px}
  .z8-window-traffic i{width:6px;height:6px}
  .z8-window-logo{width:25px;height:25px;font-size:12px;border-radius:8px}
  .z8-window-identity{gap:6px}
  .z8-window-identity strong{font-size:10px}
  .z8-window-identity small{font-size:7px}
  .z8-window-live{font-size:7px;padding:7px;gap:5px}
  .z8-exam{padding:13px 11px 14px}
  .z8-exam-top{grid-template-columns:minmax(0,1fr) 77px;gap:8px;margin-bottom:11px}
  .z8-exam-subject{font-size:7px;letter-spacing:.02em;padding:5px 7px}
  .z8-exam-intro h3{font-size:16px;margin:7px 0 4px}
  .z8-exam-intro p{font-size:9px}
  .z8-exam-progress{padding:9px 7px;gap:5px;border-radius:11px}
  .z8-exam-progress span{font-size:7px}
  .z8-exam-progress strong{font-size:18px}
  .z8-exam-progress strong em{font-size:10px}
  .z8-question-card{padding:13px 10px;border-radius:14px}
  .z8-question-card h4{font-size:14px;margin:8px 0 12px}
  .z8-question-number,.z8-question-label{font-size:8px}
  .z8-answer-list{gap:6px}
  .z8-answer{padding:6px 7px;min-height:35px;gap:8px;font-size:9px;border-radius:10px}
  .z8-answer-letter{width:22px;height:22px;flex-basis:22px}
  .z8-answer-check{width:20px;height:20px;flex-basis:20px}
  .z8-feedback{min-height:0;padding:10px 9px;gap:8px;margin-top:9px;border-radius:13px}
  .z8-feedback-icon{width:33px;height:33px;flex-basis:33px;border-radius:10px;font-size:18px}
  .z8-feedback-content>span{font-size:7px}
  .z8-feedback-content strong{font-size:10px}
  .z8-feedback-content p{font-size:9px}
  .z8-feedback-spark{font-size:13px}
  .z8-exam-bottom{margin-top:10px;align-items:center}
  .z8-exam-bottom>span{font-size:8px}
  .z8-exam-bottom a{font-size:9px;padding:9px 10px;gap:5px}
}
@media(prefers-reduced-motion:reduce){.z8-window,.z8-exam-bottom a{transition:none}}
