@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,500;0,9..144,600;0,9..144,700;1,9..144,500&family=Montserrat:wght@400;500;600;700;800&display=swap');

#opo-res *{margin:0;padding:0;box-sizing:border-box}
#opo-res{
  --navy:#1D2757; --blue:#3D6CF5; --green:#22c55e;
  --ink:#2c3457; --muted:#6b7396; --line:#eceff7; --card:#f6f8fc;
  --blue-soft:#eef2fb; --amber:#c98a12; --amber-soft:#fdf6e8; --amber-line:#efdcae;
  --serif:'Fraunces',Georgia,serif; --sans:'Montserrat',-apple-system,sans-serif;
  font-family:var(--sans); color:var(--ink); line-height:1.78;
  background:#fff; max-width:820px; margin:0 auto; position:relative; -webkit-font-smoothing:antialiased;
}
#opo-res .wrap{padding:0 30px}

#opo-res .t3-progress{position:sticky;top:0;height:3px;width:100%;z-index:40}
#opo-res .t3-progress i{display:block;height:100%;width:0;background:var(--blue);transition:width .1s linear}

/* HERO */
#opo-res .hero{text-align:center;padding:54px 30px 8px}
#opo-res .cat{font-size:12px;letter-spacing:.18em;text-transform:uppercase;font-weight:800;color:var(--navy)}
#opo-res .hero h1{font-family:var(--serif);font-weight:600;font-size:clamp(34px,7vw,52px);line-height:1.12;letter-spacing:-.015em;color:var(--navy);margin:20px 0 0}
#opo-res .hero h1 span{color:var(--blue)}
#opo-res .hero .sub{max-width:560px;margin:20px auto 0;color:var(--muted);font-size:16.5px;line-height:1.7}
#opo-res .meta{display:flex;align-items:center;justify-content:center;gap:10px;margin-top:22px;color:var(--muted);font-size:13px;font-weight:500}
#opo-res .meta .ddot{width:4px;height:4px;border-radius:50%;background:#c3cade}

#opo-res .feat-img{margin:30px 30px 0;height:200px;border-radius:24px;
  background:radial-gradient(130% 130% at 80% 10%,#5b87ff,#3D6CF5 60%,#345fe0);
  display:flex;align-items:center;justify-content:center;position:relative;overflow:hidden}
#opo-res .feat-img::after{content:"";position:absolute;right:-40px;bottom:-60px;width:200px;height:200px;border-radius:50%;background:rgba(255,255,255,.10)}
#opo-res .feat-img svg{width:64px;height:64px;stroke:#fff;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;position:relative;z-index:1}
#opo-res .feat-photo{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:none;z-index:2}

/* Índice */
#opo-res .toc{margin:30px 0 0;background:var(--card);border:1px solid var(--line);border-radius:20px;overflow:hidden}
#opo-res .toc>button{width:100%;background:none;border:0;cursor:pointer;display:flex;align-items:center;gap:11px;
  padding:20px 24px;font-family:var(--sans);font-size:12px;font-weight:800;letter-spacing:.13em;text-transform:uppercase;color:var(--navy)}
#opo-res .toc .ico{width:18px;height:18px;stroke:var(--navy);fill:none;stroke-width:2;stroke-linecap:round}
#opo-res .toc .chev{margin-left:auto;width:20px;height:20px;stroke:var(--muted);fill:none;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round;transition:.3s}
#opo-res .toc.open .chev{transform:rotate(180deg)}
#opo-res .toc .list{max-height:0;overflow:hidden;transition:max-height .45s ease}
#opo-res .toc.open .list{max-height:520px}
#opo-res .toc .list .inner{padding:0 24px 18px}
#opo-res .toc a{display:block;padding:11px 0;color:var(--ink);text-decoration:none;font-size:14.5px;font-weight:500;border-top:1px solid var(--line);transition:.15s;cursor:pointer}
#opo-res .toc a:first-child{border-top:0}
#opo-res .toc a:hover{color:var(--blue);padding-left:6px}

/* cuerpo */
#opo-res section{padding:18px 0 0}
#opo-res h2{font-family:var(--serif);font-weight:600;font-size:clamp(26px,5vw,33px);color:var(--navy);margin:46px 0 18px;line-height:1.18;letter-spacing:-.01em}
#opo-res h3{font-family:var(--serif);font-weight:600;font-size:clamp(19px,3.6vw,23px);color:var(--navy);margin:34px 0 14px;line-height:1.25}
#opo-res h4{font-size:14.5px;font-weight:800;color:var(--navy);margin:20px 0 9px}
#opo-res p{font-size:16px;color:var(--ink);margin-bottom:18px;line-height:1.78}
#opo-res strong,#opo-res b{color:var(--navy);font-weight:700}
#opo-res .hl{color:var(--blue);font-weight:600}
#opo-res .rev{opacity:0;transform:translateY(16px);transition:.6s cubic-bezier(.2,.7,.2,1)}
#opo-res .rev.in{opacity:1;transform:none}

#opo-res .blist{list-style:none;margin:0 0 18px;display:grid;gap:12px}
#opo-res .blist li{position:relative;padding-left:26px;font-size:15.5px;color:var(--ink);line-height:1.6}
#opo-res .blist li::before{content:"";position:absolute;left:4px;top:9px;width:7px;height:7px;border-radius:50%;background:var(--blue)}
#opo-res .blist li b{color:var(--navy)}

/* arrow list (cascada / →) */
#opo-res .arrow{list-style:none;margin:0 0 18px;display:grid;gap:11px}
#opo-res .arrow li{background:var(--card);border:1px solid var(--line);border-radius:13px;padding:14px 16px;font-size:15px;line-height:1.55}
#opo-res .arrow li b{color:var(--navy)}

/* definición */
#opo-res .def{background:var(--card);border:1px solid var(--line);border-radius:16px;padding:18px 20px;margin:6px 0 16px}
#opo-res .def .q{font-weight:700;color:var(--navy);font-size:15px;margin-bottom:6px}
#opo-res .def p{margin:0;font-size:15.5px;line-height:1.65}

/* cajones */
#opo-res .call{border-radius:16px;padding:20px 22px;margin:24px 0;border:1px solid var(--line)}
#opo-res .call .ct{display:flex;align-items:center;gap:9px;font-size:11px;font-weight:800;letter-spacing:.1em;text-transform:uppercase;margin-bottom:12px}
#opo-res .call .ct svg{width:16px;height:16px;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
#opo-res .call p,#opo-res .call li{font-size:15px;color:var(--ink);margin-bottom:6px}
#opo-res .call p:last-child,#opo-res .call li:last-child{margin-bottom:0}
#opo-res .call .lead{font-weight:700;color:var(--navy)}
#opo-res .call ul{list-style:none;display:grid;gap:7px;margin:0}
#opo-res .call .ans{display:block;margin-top:7px;font-weight:700;color:var(--navy)}
#opo-res .call .dash li{padding-left:17px;position:relative}
#opo-res .call .dash li::before{content:"–";position:absolute;left:0;font-weight:800;opacity:.7}
#opo-res .call.blue{background:var(--blue-soft);border-color:#dbe4fb;border-left:4px solid var(--blue)}
#opo-res .call.blue .ct{color:var(--blue)} #opo-res .call.blue .ct svg{stroke:var(--blue)}
#opo-res .call.key{background:var(--blue-soft);border-color:#d7def0;border-left:4px solid var(--navy)}
#opo-res .call.key .ct{color:var(--navy)} #opo-res .call.key .ct svg{stroke:var(--navy)}
#opo-res .call.amber{background:var(--amber-soft);border-color:var(--amber-line);border-left:4px solid var(--amber)}
#opo-res .call.amber .ct{color:var(--amber)} #opo-res .call.amber .ct svg{stroke:var(--amber)}
#opo-res .call.amber p,#opo-res .call.amber li{color:#5d4d2a}
#opo-res .call.amber .lead,#opo-res .call.amber .ans{color:#6e4d12}
#opo-res .call.amber .dash li::before{color:var(--amber)}
#opo-res .call.blue .dash li::before,#opo-res .call.key .dash li::before{color:var(--blue)}

/* acordeón principios */
#opo-res .acc{background:var(--card);border:1px solid var(--line);border-radius:14px;overflow:hidden;margin-bottom:9px}
#opo-res .acc>button{width:100%;text-align:left;background:none;border:0;cursor:pointer;display:flex;align-items:center;gap:13px;
  padding:15px 17px;font-family:var(--sans);font-weight:700;font-size:13.5px;color:var(--navy);letter-spacing:.01em;line-height:1.35}
#opo-res .acc .anum{flex:0 0 auto;width:28px;height:28px;border-radius:8px;background:#fff;border:1px solid var(--line);color:var(--blue);font-family:var(--serif);font-weight:600;font-size:14px;display:flex;align-items:center;justify-content:center}
#opo-res .acc .atitle{flex:1}
#opo-res .acc .achev{flex:0 0 auto;width:17px;height:17px;stroke:var(--muted);fill:none;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round;transition:.3s}
#opo-res .acc.open .achev{transform:rotate(180deg)}
#opo-res .acc.open>button{color:var(--blue)}
#opo-res .acc.open .anum{background:var(--blue);border-color:var(--blue);color:#fff}
#opo-res .acc .body{max-height:0;overflow:hidden;transition:max-height .35s ease}
#opo-res .acc .body .inner{padding:0 17px 16px 58px}
#opo-res .acc .body .inner p{margin:0 0 9px;font-size:14.5px;line-height:1.6}
#opo-res .acc .body .inner p:last-child{margin-bottom:0}
#opo-res .acc .body .inner .mini{list-style:none;display:grid;gap:7px;margin:4px 0 0}
#opo-res .acc .body .inner .mini li{position:relative;padding-left:20px;font-size:14px;color:var(--ink);line-height:1.55}
#opo-res .acc .body .inner .mini li::before{content:"";position:absolute;left:2px;top:8px;width:6px;height:6px;border-radius:50%;background:var(--blue)}
#opo-res .acc .body .inner .mini li b{color:var(--navy)}

/* tags palabras clave */
#opo-res .tags{display:flex;flex-wrap:wrap;gap:8px;margin:2px 0 0}
#opo-res .tags .tag{background:#fff;border:1px solid #dbe4fb;color:var(--navy);font-size:12.5px;font-weight:600;padding:7px 13px;border-radius:30px}

/* datos clave */
#opo-res .data{display:grid;grid-template-columns:repeat(2,1fr);gap:13px;margin:6px 0 18px}
#opo-res .dt{background:var(--card);border:1px solid var(--line);border-radius:14px;padding:16px 17px}
#opo-res .dt .k{font-size:11px;text-transform:uppercase;letter-spacing:.08em;color:var(--muted);font-weight:700}
#opo-res .dt .v{font-size:15px;color:var(--navy);font-weight:700;margin-top:5px;line-height:1.4}

/* quién hace qué */
#opo-res .roles{list-style:none;display:grid;gap:9px;margin:0 0 18px}
#opo-res .roles li{display:flex;gap:12px;background:var(--card);border:1px solid var(--line);border-radius:12px;padding:12px 15px;font-size:14.5px;align-items:baseline}
#opo-res .roles li .r{flex:0 0 auto;min-width:108px;font-weight:800;color:var(--blue);font-size:13px;text-transform:uppercase;letter-spacing:.03em}
#opo-res .roles li .w{color:var(--ink)}

/* MINIJUEGO */
#opo-res .game{background:var(--card);border:1px solid var(--line);border-radius:20px;padding:26px 24px;margin:30px 0}
#opo-res .game .gtop{display:flex;align-items:center;gap:11px;margin-bottom:14px}
#opo-res .gtag{display:inline-block;background:var(--navy);color:#fff;font-size:10.5px;font-weight:800;letter-spacing:.1em;text-transform:uppercase;padding:6px 13px;border-radius:30px}
#opo-res .game .gprog{margin-left:auto;font-size:12.5px;font-weight:800;color:var(--blue);background:#fff;border:1px solid #d9e3fb;padding:6px 13px;border-radius:30px}
#opo-res .game h4{font-family:var(--serif);font-weight:600;font-size:21px;color:var(--navy);margin:0 0 6px}
#opo-res .game .ghelp{font-size:14px;color:var(--muted);margin:0 0 18px;line-height:1.6}
#opo-res .gcols{display:grid;grid-template-columns:1fr 1.3fr;gap:12px}
#opo-res .gcol .ch{font-size:10.5px;letter-spacing:.12em;text-transform:uppercase;font-weight:800;color:var(--muted);margin-bottom:10px;text-align:center}
#opo-res .gcol .stack{display:grid;gap:10px}
#opo-res .gchip{border:1.5px solid var(--line);background:#fff;border-radius:12px;padding:13px 12px;cursor:pointer;
  font-family:var(--sans);font-weight:600;font-size:13px;color:var(--ink);transition:.16s;text-align:center;line-height:1.45;user-select:none}
#opo-res .gcol.key-col .gchip{font-weight:700;color:var(--navy)}
#opo-res .gchip:hover:not(.locked){border-color:#cdd9f7;background:#f3f6ff}
#opo-res .gchip.sel{border-color:var(--blue);background:#eef3ff;box-shadow:0 0 0 3px rgba(61,108,245,.12)}
#opo-res .gchip.locked{background:#effbf4;border-color:#abe6c8;color:#1c7a4a;cursor:default}
#opo-res .gchip.locked::after{content:" ✓";font-weight:800;color:var(--green)}
#opo-res .gchip.bad{border-color:#f3b1b1;background:#fdeded;animation:t3shake .35s}
@keyframes t3shake{0%,100%{transform:translateX(0)}25%{transform:translateX(-5px)}75%{transform:translateX(5px)}}
#opo-res .gdone{display:none;margin-top:18px;text-align:center;background:#fff;border:1px solid #abe6c8;border-radius:14px;padding:18px}
#opo-res .gdone.show{display:block;animation:t3pop .4s}
@keyframes t3pop{0%{transform:scale(.94);opacity:0}100%{transform:scale(1);opacity:1}}
#opo-res .gdone .gb{font-family:var(--serif);font-weight:600;font-size:19px;color:var(--navy)}
#opo-res .gdone p{font-size:13.5px;color:var(--muted);margin:6px 0 0}
#opo-res .greset{margin-top:15px;background:none;border:0;color:var(--muted);font-family:var(--sans);font-weight:600;font-size:12.5px;cursor:pointer;text-decoration:underline}

/* repaso exprés numerado */
#opo-res .recap{list-style:none;counter-reset:r;display:grid;gap:12px;margin:6px 0 0}
#opo-res .recap li{counter-increment:r;position:relative;padding-left:46px;font-size:15px;color:var(--ink);line-height:1.6;min-height:32px}
#opo-res .recap li::before{content:counter(r);position:absolute;left:0;top:0;width:32px;height:32px;border-radius:10px;background:var(--blue-soft);color:var(--navy);font-family:var(--serif);font-weight:600;display:flex;align-items:center;justify-content:center;font-size:15px}
#opo-res .recap li b{color:var(--navy)}

/* CTA */
#opo-res .cta{margin:48px 0 0;background:var(--navy);color:#fff;border-radius:22px;padding:44px 30px;text-align:center;position:relative;overflow:hidden}
#opo-res .cta .circle{position:absolute;right:-50px;top:-30px;width:240px;height:240px;border-radius:50%;background:radial-gradient(circle at 30% 30%,#5b87ff,#3D6CF5);opacity:.9}
#opo-res .cta h4{font-family:var(--serif);font-weight:600;font-size:26px;color:#fff;position:relative;z-index:2;line-height:1.2;margin:0}
#opo-res .cta p{color:#c3cdec;font-size:15px;margin:11px auto 22px;max-width:420px;position:relative;z-index:2}
#opo-res .cta a{display:inline-block;background:#fff;color:var(--navy);text-decoration:none;font-weight:700;font-size:14.5px;padding:15px 32px;border-radius:40px;transition:.2s;position:relative;z-index:2}
#opo-res .cta a:hover{transform:translateY(-2px)}
#opo-res .src{padding:28px 30px 36px;text-align:center;color:#aab2cf;font-size:11.5px}

@media(max-width:560px){
  #opo-res .data{grid-template-columns:1fr}
  #opo-res .gcols{grid-template-columns:1fr}
  #opo-res .hero{padding:42px 22px 6px} #opo-res .wrap{padding:0 22px}
  #opo-res .feat-img{margin:26px 22px 0;height:170px}
  #opo-res .acc .body .inner{padding-left:17px}
}