/* implantaBIM · Prueba de nivel Revit. Mismo sistema visual que /100dias. */
@font-face{font-family:"Inter";font-style:normal;font-display:swap;font-weight:100 900;src:url('fonts/inter-latin-opsz-normal.woff2') format('woff2')}
:root{--ink:#0b053d;--text:#1d1b2e;--text-2:#5f5c72;--text-3:#8c899c;--line:#e6e3ee;--gray:#f5f5f7;--violet:#6e0fff;--violet-2:#8a45ff;--violet-deep:#4b06b8;--yellow:#ffcd57;--green-d:#067a46;--red-d:#b42318;--lav:#ece5ff;--f:-apple-system,BlinkMacSystemFont,"Inter","Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;--r-xl:32px;--r-lg:24px;--r-md:16px;--lift:0 1px 1px rgba(11,5,61,.04),0 4px 8px -2px rgba(11,5,61,.06),0 16px 32px -12px rgba(11,5,61,.14),0 40px 80px -32px rgba(11,5,61,.22);--ease:cubic-bezier(.25,.8,.25,1)}
html{scroll-behavior:smooth;scroll-padding-top:84px}
body.ibe-body{margin:0;background:var(--ink);overflow-x:hidden;font-family:var(--f)}
.ibe{font-family:var(--f);font-size:17px;line-height:1.47;letter-spacing:-.011em;color:var(--text);background:#fff;-webkit-font-smoothing:antialiased;font-optical-sizing:auto;overflow-x:clip}
.ibe *,.ibe *::before,.ibe *::after{box-sizing:border-box}
.ibe :where(h1,h2,h3,h4,p,ol,ul,figure){margin:0}
.ibe :where(ol,ul){padding:0;list-style:none}
.ibe img{max-width:100%;height:auto;display:block}
.ibe a{color:inherit}
.ibe button{font:inherit;letter-spacing:inherit;color:inherit;cursor:pointer}
.ibe :focus-visible{outline:3px solid var(--violet);outline-offset:3px;border-radius:8px}
.ibe-hero :focus-visible,.ibe-footer :focus-visible,.ibe-result :focus-visible{outline-color:var(--yellow)}
.ibe b,.ibe strong{font-weight:600}
.ibe [hidden]{display:none!important}
.ibe-wrap{width:100%;max-width:1200px;margin:0 auto;padding:0 24px}
.ibe-narrow{max-width:860px}
.ibe-skip{position:absolute;left:12px;top:-60px;z-index:50;background:var(--yellow);color:var(--ink);padding:10px 14px;border-radius:10px;font-weight:600;text-decoration:none}
.ibe-skip:focus{top:12px}
.ibe h2{font-size:clamp(34px,4.6vw,56px);line-height:1.07;font-weight:600;letter-spacing:-.028em}
.ibe h3{font-weight:600;letter-spacing:-.02em}

/* Botones */
.ibe-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:50px;padding:0 24px;border-radius:999px;border:0;font-size:17px;font-weight:500;letter-spacing:-.01em;text-decoration:none;transition:transform .25s var(--ease),background-color .2s,box-shadow .2s}
.ibe-btn:hover{transform:scale(1.03)}.ibe-btn:active{transform:scale(.98)}
.ibe .ibe-btn--yellow{background:var(--yellow);color:var(--ink)}.ibe .ibe-btn--yellow:hover{background:#ffd776}
.ibe .ibe-btn--ghost{color:#fff;box-shadow:inset 0 0 0 1.5px rgba(255,255,255,.3)}.ibe .ibe-btn--ghost:hover{box-shadow:inset 0 0 0 1.5px rgba(255,255,255,.75)}
.ibe .ibe-btn--violet{background:var(--violet);color:#fff}.ibe .ibe-btn--violet:hover{background:var(--violet-2)}

/* Portada */
.ibe-hero{position:relative;background:var(--ink);color:#fff;padding:40px 0 110px;overflow:hidden;isolation:isolate}
.ibe-hero__grid{position:absolute;inset:0;z-index:-2;opacity:.5;background-image:repeating-linear-gradient(30deg,rgba(255,255,255,.05) 0 1px,transparent 1px 64px),repeating-linear-gradient(150deg,rgba(255,255,255,.05) 0 1px,transparent 1px 64px),repeating-linear-gradient(90deg,rgba(255,255,255,.035) 0 1px,transparent 1px 64px);-webkit-mask-image:radial-gradient(ellipse at 70% 30%,#000 10%,transparent 70%);mask-image:radial-gradient(ellipse at 70% 30%,#000 10%,transparent 70%)}
.ibe-hero__glow{position:absolute;z-index:-1;width:900px;height:900px;right:-260px;top:-380px;background:radial-gradient(circle,rgba(110,15,255,.55),rgba(193,15,255,.12) 45%,transparent 68%)}
.ibe-hero__inner{position:relative;z-index:1}
.ibe-logo{display:inline-block}.ibe-logo img{height:28px;width:auto}.ibe-logo--sm img{height:22px}
.ibe-hero__title{margin-top:clamp(56px,9vw,104px);font-size:clamp(46px,7.2vw,100px);line-height:1.02;font-weight:700;letter-spacing:-.035em}
.ibe-hl{color:var(--yellow)}
.ibe-hero__lead{margin-top:26px;max-width:28em;font-size:clamp(19px,1.7vw,24px);line-height:1.38;letter-spacing:-.015em;color:rgba(255,255,255,.72)}
.ibe-hero__facts{display:flex;flex-wrap:wrap;gap:8px;margin-top:28px}
.ibe-hero__facts li{padding:7px 14px;border-radius:999px;background:rgba(255,255,255,.08);font-size:15px;color:rgba(255,255,255,.8)}
.ibe-hero__facts b{color:#fff}
.ibe-hero__actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:36px}
.ibe-hero__big{position:absolute;right:-1vw;bottom:-30px;z-index:0;font-size:clamp(200px,32vw,520px);line-height:.8;font-weight:800;letter-spacing:-.06em;color:transparent;-webkit-text-stroke:1.5px rgba(255,255,255,.12);pointer-events:none;user-select:none}

/* Navegación */
.ibe-nav{position:sticky;top:0;z-index:30;background:rgba(255,255,255,.82);-webkit-backdrop-filter:saturate(180%) blur(18px);backdrop-filter:saturate(180%) blur(18px);box-shadow:0 1px 0 var(--line)}
body.admin-bar .ibe-nav{top:32px}
.ibe-nav .ibe-wrap{display:flex;gap:6px;padding-top:8px;padding-bottom:8px;overflow-x:auto;scrollbar-width:none}
.ibe-nav a{display:inline-flex;align-items:center;gap:8px;height:40px;padding:0 18px;border-radius:999px;text-decoration:none;font-size:15px;font-weight:500;color:var(--text-2);white-space:nowrap;transition:background-color .2s,color .2s}
.ibe-nav a:hover{color:var(--text)}
.ibe-nav a.is-on{background:var(--ink);color:#fff}
.ibe-nav__count{font-size:12px;font-weight:600;padding:2px 7px;border-radius:6px;background:var(--lav);color:var(--violet-deep)}
.ibe-nav a.is-on .ibe-nav__count{background:rgba(255,255,255,.18);color:#fff}

/* Secciones */
.ibe-sec{padding:96px 0}
.ibe-sec--gray{background:var(--gray)}
.ibe-sec h2{margin-bottom:32px}
.ibe-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:18px}
.ibe-head h2{margin:0}
.ibe-count{font-size:15px;color:var(--text-2);font-weight:500}
.ibe-lead2{margin:18px 0 28px;color:var(--text-2);font-size:19px;line-height:1.4}
.ibe-note{margin-top:24px;max-width:46em;color:var(--text-2);font-size:15px}
.ibe-notice{margin:24px 0;padding:16px 18px;border-radius:14px;background:#fff4d6}

/* Formato */
.ibe-parts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;counter-reset:p}
.ibe-parts li{padding:26px;border-radius:var(--r-lg);background:var(--gray)}
.ibe-parts b{display:block;font-size:48px;line-height:1;font-weight:700;letter-spacing:-.04em;color:var(--violet)}
.ibe-parts small{font-size:15px;font-weight:500;letter-spacing:0;margin-left:5px;color:var(--text-3)}
.ibe-parts h3{margin:18px 0 4px;font-size:21px}
.ibe-parts p{color:var(--text-2);font-size:15px}

/* Test */
progress#quiz-progress{display:block;width:100%;height:6px;border:0;border-radius:6px;accent-color:var(--violet);-webkit-appearance:none;appearance:none;background:#e6e3ee}
progress#quiz-progress::-webkit-progress-bar{background:#e6e3ee;border-radius:6px}
progress#quiz-progress::-webkit-progress-value{background:var(--violet);border-radius:6px;transition:width .4s var(--ease)}
progress#quiz-progress::-moz-progress-bar{background:var(--violet);border-radius:6px}
.ibe-q{padding:30px;margin-top:14px;border-radius:var(--r-lg);background:#fff;box-shadow:inset 0 0 0 1.5px var(--line);scroll-margin-top:90px}
.ibe-q__h{display:flex;gap:14px;align-items:flex-start;margin-bottom:20px}
.ibe-q__n{flex:none;width:40px;height:40px;border-radius:12px;display:grid;place-items:center;background:var(--lav);color:var(--violet-deep);font-weight:600;font-size:15px}
.ibe-q h3{font-size:21px;line-height:1.3;padding-top:6px}
.ibe-opts{display:grid;gap:10px}
.ibe-opt{width:100%;display:flex;align-items:flex-start;gap:14px;padding:16px 18px;border:0;border-radius:var(--r-md);background:var(--gray);text-align:left;font-size:16px;line-height:1.45;transition:background-color .2s,transform .2s var(--ease)}
.ibe-opt:hover:not(:disabled){background:var(--lav);transform:translateX(3px)}
.ibe-opt:disabled{cursor:default}
.ibe-opt__l{flex:none;width:26px;height:26px;border-radius:8px;display:grid;place-items:center;background:#fff;font-size:13px;font-weight:600;color:var(--text-2)}
.ibe-opt__t{flex:1;padding-top:2px}
.ibe-opt__r{font-size:13px;font-weight:600;white-space:nowrap;padding-top:4px}
.ibe-opt.is-ok{background:#e3f6e8;color:var(--green-d)}
.ibe-opt.is-ko{background:#fee4e2;color:var(--red-d)}
.ibe-opt.is-ok .ibe-opt__l,.ibe-opt.is-ko .ibe-opt__l{background:currentColor}
.ibe-opt.is-ok .ibe-opt__l span,.ibe-opt.is-ko .ibe-opt__l span{color:#fff}
.ibe-fb{margin-top:18px;padding:16px 18px;border-radius:14px;background:var(--gray);font-size:15px}
.ibe-fb strong{display:block;margin-bottom:4px}
.ibe-fb.is-ok strong{color:var(--green-d)}.ibe-fb.is-ko strong{color:var(--red-d)}
.ibe-next{display:inline-flex;margin-top:12px;font-weight:600;color:var(--violet-deep);text-underline-offset:3px}
.ibe-result{margin-top:24px;padding:36px;border-radius:var(--r-xl);background:var(--ink);color:#fff;box-shadow:var(--lift);animation:ibe-fade .4s var(--ease)}
.ibe-result__score{font-size:clamp(56px,9vw,96px);line-height:.95;font-weight:700;letter-spacing:-.04em;color:var(--yellow)}
.ibe-result__score small{font-size:.35em;letter-spacing:0;color:rgba(255,255,255,.6);margin-left:8px}
.ibe-result h3{margin-top:14px;font-size:28px;line-height:1.2}
.ibe-result p{margin-top:8px;color:rgba(255,255,255,.72)}
.ibe-result__actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:24px;align-items:center}
.ibe-link{background:none;border:0;padding:8px 4px;text-decoration:underline;text-underline-offset:4px;font-size:15px}

/* Práctica */
.ibe-model{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,6fr);gap:40px;align-items:center;padding:28px;margin-bottom:44px;border-radius:var(--r-xl);background:#fff;box-shadow:var(--lift)}
.ibe-model img{width:100%;border-radius:var(--r-lg);background:var(--gray)}
.ibe-model figcaption{margin-top:8px;font-size:13px;color:var(--text-3)}
.ibe-model__k{font-size:15px;font-weight:600;color:var(--violet)}
.ibe-model h3{margin-top:6px;font-size:28px;line-height:1.2;overflow-wrap:anywhere}
.ibe-model p{margin-top:12px;color:var(--text-2)}
.ibe-model__links{display:flex;flex-wrap:wrap;gap:12px 24px;align-items:center;margin-top:24px}
.ibe-model__links a:not(.ibe-btn){font-size:15px;color:var(--violet-deep);text-underline-offset:3px}
.ibe-tabs{display:inline-flex;flex-wrap:wrap;gap:4px;padding:4px;border-radius:999px;background:var(--gray)}
.ibe-tab{display:inline-flex;align-items:center;gap:8px;height:44px;padding:0 22px;border:0;border-radius:999px;background:transparent;font-weight:500;font-size:15px;color:var(--text-2);transition:background-color .2s,color .2s,box-shadow .2s}
.ibe-tab[aria-checked="true"]{background:#fff;color:var(--text);box-shadow:0 1px 3px rgba(11,5,61,.12),0 4px 12px -4px rgba(11,5,61,.18)}
.ibe-tab em{font-style:normal;font-size:12px;font-weight:600;padding:2px 8px;border-radius:6px;background:var(--lav);color:var(--violet-deep)}
.ibe-exercise{margin-top:28px}
.ibe-ex{padding:36px;border-radius:var(--r-xl);background:var(--gray);animation:ibe-fade .35s var(--ease)}
.ibe-ex__top{display:flex;flex-wrap:wrap;align-items:flex-start;justify-content:space-between;gap:16px}
.ibe-ex__k{font-size:15px;font-weight:600;color:var(--violet)}
.ibe-ex h3{margin-top:4px;font-size:32px;line-height:1.15}
.ibe-ex__zone{margin-top:8px;color:var(--text-2);font-size:15px}
.ibe-timer{display:inline-flex;align-items:center;gap:10px;min-height:46px;padding:0 20px;border:0;border-radius:999px;background:var(--ink);color:#fff;font-weight:500;font-size:15px;font-variant-numeric:tabular-nums}
.ibe-timer.is-run{background:var(--violet)}.ibe-timer.is-end{background:var(--red-d)}
.ibe-state{margin-top:26px;padding:22px 24px;border-radius:var(--r-md);background:#fff;box-shadow:inset 4px 0 0 var(--yellow);font-size:18px;line-height:1.5}
.ibe-ex h4{margin:30px 0 12px;font-size:19px;font-weight:600}
.ibe-todo{display:grid;gap:8px}
.ibe-todo label{display:flex;gap:14px;align-items:flex-start;padding:14px 16px;border-radius:var(--r-md);background:#fff;font-size:16px;cursor:pointer}
.ibe-todo input{flex:none;width:22px;height:22px;margin:1px 0 0;accent-color:var(--violet)}
.ibe-todo input:checked+span{color:var(--text-3);text-decoration:line-through}
.ibe-rubric{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.ibe-rubric div{padding:18px;border-radius:var(--r-md);background:#fff}
.ibe-rubric b{display:block;font-size:30px;line-height:1;letter-spacing:-.03em;color:var(--violet)}
.ibe-rubric p{margin-top:8px;font-size:14px;color:var(--text-2);line-height:1.4}
.ibe-help{margin-top:22px;font-size:15px;color:var(--text-2)}
.ibe-help a{color:var(--violet-deep);text-underline-offset:3px}

/* Pie */
.ibe-footer{background:var(--ink);color:rgba(255,255,255,.7);padding:40px 0}
.ibe-footer__inner{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:24px 32px}
.ibe-social{display:flex;gap:18px;font-size:14px}
.ibe-social a,.ibe-legal a{text-decoration:none}
.ibe-social a:hover,.ibe-legal a:hover{color:#fff;text-decoration:underline;text-underline-offset:3px}
.ibe-legal{display:flex;flex-wrap:wrap;gap:8px 22px;font-size:14px}
.ibe-legal span{color:rgba(255,255,255,.4)}

@keyframes ibe-fade{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
@media(max-width:899px){.ibe-parts{grid-template-columns:repeat(2,minmax(0,1fr))}.ibe-model{grid-template-columns:minmax(0,1fr);gap:24px;padding:20px}.ibe-rubric{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.ibe{font-size:16px}.ibe-wrap{padding:0 16px}.ibe-hero{padding:28px 0 90px}.ibe-logo img{height:22px}.ibe-hero__title{font-size:42px;margin-top:56px}.ibe-hero__actions .ibe-btn{flex:1 1 100%}.ibe-hero__big{bottom:-10px;right:-10vw}.ibe-sec{padding:64px 0}.ibe-sec h2{margin-bottom:24px}.ibe-q{padding:20px 16px}.ibe-q h3{font-size:18px}.ibe-opt{padding:14px;font-size:15px}.ibe-result{padding:26px 20px;border-radius:24px}.ibe-ex{padding:24px 18px;border-radius:24px}.ibe-ex h3{font-size:26px}.ibe-state{font-size:16px;padding:18px}.ibe-tabs{display:flex;flex-direction:column;border-radius:24px;width:100%}.ibe-tab{justify-content:space-between;width:100%}.ibe-model__links .ibe-btn{width:100%}.ibe-model h3{font-size:22px}.ibe-rubric b{font-size:26px}body.admin-bar .ibe-nav{top:0}}
@media print{.ibe-hero,.ibe-nav,.ibe-footer,.ibe-timer{display:none!important}.ibe-sec{padding:20px 0}}
