:root{--ink:#eaf5f6;--muted:#9fbdc7;--aqua:#76dfdd;--deep:#082d45;--board:#143b3a}*{box-sizing:border-box}html{min-height:100%}body{margin:0;min-height:100vh;color:var(--ink);font-family:'DM Sans',sans-serif;background:linear-gradient(130deg,rgba(4,30,49,.9),rgba(5,40,56,.78)),radial-gradient(circle at 20% 35%,#3b8295,#123b53 50%,#08283f)}button{font:inherit}.topbar{height:78px;padding:0 clamp(24px,5vw,88px);display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid rgba(255,255,255,.12);background:rgba(4,24,39,.55)}.brand{display:flex;align-items:center;gap:12px;color:#fff;text-decoration:none}.brand-drop{width:44px;height:44px;border-radius:15px;display:grid;place-items:center;background:#a2ece2;color:#074153;font-size:27px}.brand strong,.brand small{display:block}.brand strong{font-family:Fraunces,serif;font-size:21px}.brand small{margin-top:2px;color:#9bcad0;font-size:10px;font-weight:700;letter-spacing:.2em}.top-tag{color:#b1cfd5;font-size:13px}.experience{min-height:calc(100vh - 78px);position:relative;overflow:hidden;padding:48px clamp(24px,5vw,88px) 24px}.experience>*:not(.ambient){position:relative;z-index:1}.ambient{position:absolute;border:1px solid rgba(130,220,220,.13);border-radius:50%;pointer-events:none}.ambient-one{width:520px;height:520px;right:-180px;top:-260px}.ambient-two{width:700px;height:700px;left:-400px;bottom:-450px}.intro{max-width:720px;margin-bottom:26px}.kicker{font-size:11px;font-weight:700;letter-spacing:.24em;color:var(--aqua)}.kicker span{display:inline-block;width:8px;height:8px;margin-right:8px;border-radius:50%;background:var(--aqua)}h1{margin:12px 0 10px;font:700 clamp(34px,3.7vw,58px)/1.06 Fraunces,serif;letter-spacing:-.025em}h1 em{font-style:normal;color:#80ddd7}.intro p{margin:0;max-width:640px;color:#c6dce0;font-size:15px;line-height:1.6}.classroom{display:grid;grid-template-columns:minmax(215px,310px) minmax(0,1fr);gap:24px;align-items:stretch;max-width:1380px;min-height:420px;margin:auto}.esther-side{position:relative;min-height:420px;display:flex;align-items:flex-end;justify-content:center}.esther-halo{position:absolute;bottom:35px;width:260px;height:260px;border-radius:50%;background:radial-gradient(circle,#8be6dd55 0,#8be6dd10 62%,transparent 70%)}.esther-side img{position:relative;z-index:1;display:block;max-height:520px;height:clamp(360px,42vw,520px);max-width:100%;object-fit:contain;object-position:bottom;filter:drop-shadow(0 24px 30px rgba(0,0,0,.28))}.esther-label{position:absolute;z-index:2;bottom:12px;left:50%;transform:translateX(-50%);white-space:nowrap;padding:9px 14px;border:1px solid #ffffff3b;border-radius:99px;background:#082b40df;box-shadow:0 9px 25px #001b2c55;color:#e9fbf8;font-size:10px;font-weight:700;letter-spacing:.14em}.live-dot{display:inline-block;width:7px;height:7px;margin-right:8px;border-radius:50%;background:#77e4d1}.board-wrap{align-self:center;border:8px solid #ba8555;border-radius:16px;background:#a16b41;box-shadow:0 22px 60px #001a2f99, inset 0 2px #e1ad78;overflow:hidden}.board-top,.board-footer{display:flex;align-items:center;justify-content:space-between;gap:15px;background:#113b3b;color:#9ed5d3}.board-top{height:44px;padding:0 24px;border-bottom:1px solid #ffffff19;font-size:12px;font-weight:700;letter-spacing:.15em}.board-label{color:#d7eae2}.board{min-height:330px;padding:40px clamp(26px,4vw,58px);display:flex;align-items:center;justify-content:space-between;gap:28px;background:radial-gradient(circle at 25% 20%,#22534d,#123c3b 68%,#0b3031);outline:none}.board-copy{max-width:680px}.era{display:flex;align-items:center;gap:10px;color:#8cdbcc;font-size:12px;font-weight:700;letter-spacing:.22em}.era-line{display:inline-block;width:24px;height:1px;background:#8cdbcc}.board h2{margin:17px 0 20px;color:#fffdf4;font:600 clamp(26px,3vw,44px)/1.15 Fraunces,serif}.chalk-rule{width:68px;height:3px;border-radius:6px;background:#f4cc91;box-shadow:0 0 8px #f4cc9155}.board .lead{max-width:660px;margin:22px 0 0;color:#deeee8;font-size:clamp(17px,1.7vw,24px);line-height:1.5}.board-decoration{flex:none;width:170px;height:170px;border:2px solid #a4dbcb55;border-radius:50%;display:flex;flex-direction:column;align-items:center;justify-content:center;transform:rotate(-12deg);color:#a4dbcb}.chalk-drop{font:100px/1 Fraunces,serif}.chalk-caption{font-size:11px;letter-spacing:.3em}.board-footer{min-height:70px;padding:10px 20px;border-top:1px solid #ffffff19}.step-dots{display:flex;gap:8px}.step-dots button{width:10px;height:10px;padding:0;border:0;border-radius:50%;background:#7caeab;cursor:pointer}.step-dots button.active{width:28px;border-radius:8px;background:#e8cf9e}.board-controls{display:flex;gap:10px}.board-controls button{border:0;border-radius:11px;padding:12px 17px;cursor:pointer;font-size:13px;font-weight:700}.back-btn{background:#ffffff17;color:#e3f1ec}.back-btn:disabled{opacity:.4;cursor:default}.next-btn{background:#e9c994;color:#203d3a}.next-btn span{margin-left:12px}.page-footer{max-width:1380px;margin:24px auto 0;display:flex;justify-content:space-between;color:#a7c3c9;font-size:12px}@media(max-width:900px){.experience{padding-top:28px}.classroom{grid-template-columns:180px minmax(0,1fr);gap:8px}.esther-side img{height:360px}.board-decoration{display:none}.board{min-height:300px}.intro{margin-bottom:10px}}@media(max-width:650px){.topbar{height:66px;padding:0 18px}.top-tag{display:none}.experience{padding:25px 14px 20px}.intro{padding:0 7px}.intro p{font-size:14px}.classroom{display:flex;flex-direction:column;gap:0}.esther-side{min-height:150px;height:150px;justify-content:flex-end;padding-right:20px}.esther-side img{height:190px}.esther-halo{width:160px;height:160px;right:25px;bottom:-10px}.esther-label{left:auto;right:130px;bottom:18px;transform:none;font-size:9px}.board-wrap{width:100%;border-width:6px}.board{min-height:300px;padding:30px 24px}.board-top{padding:0 17px}.board h2{font-size:29px}.board .lead{font-size:18px}.board-footer{padding:10px;gap:7px}.board-controls button{padding:11px;font-size:12px}.page-footer{padding:0 5px;font-size:10px}}
:root{--ink:#fff8ed;--muted:#ebd8bd;--aqua:#f2c77e;--deep:#422714;--board:#143b3a}
body{background:#362111 url('../assets/img/pleno-aviles.png') center center/cover fixed no-repeat}
.topbar{background:rgba(36,20,11,.86);border-bottom-color:rgba(255,228,187,.25)}
.brand-drop{background:#f0c777;color:#4d2d15}.brand small,.top-tag{color:#eed5af}
.experience{background:linear-gradient(90deg,rgba(35,19,10,.68),rgba(35,19,10,.28) 45%,rgba(35,19,10,.44));min-height:calc(100vh - 78px)}
.ambient{display:none}.intro{max-width:730px;margin-bottom:18px}.kicker{color:#f6d69c}.kicker span{background:#f6d69c}
h1{color:#fff7eb;text-shadow:0 3px 18px #2a160d}h1 em{color:#ffdb9b}.intro p{color:#fff4e5;max-width:650px;text-shadow:0 2px 10px #2a160d}
.classroom{grid-template-columns:minmax(225px,310px) minmax(0,1fr)}.esther-halo{background:radial-gradient(circle,#f3c77766 0,#f3c77712 62%,transparent 70%)}
.esther-label{background:#3b221adf;color:#fff2d9}.live-dot{background:#f2cb89}
.board-wrap{background:#88552f;border-color:#9c6739;box-shadow:0 25px 70px #201107cc,inset 0 2px #ebbc78}
.board-top,.board-footer{background:#113b3b}.board{min-height:400px;padding-top:34px;padding-bottom:34px}
.board-copy{max-width:690px}.board h2{margin:13px 0 16px;font-size:clamp(25px,2.9vw,42px)}.board .lead{margin-top:18px;font-size:clamp(16px,1.35vw,20px);line-height:1.45}.board .detail{color:#d3e5dd;font-size:clamp(14px,1.12vw,17px);line-height:1.48;margin:16px 0 0;max-width:670px}
.board-decoration{width:145px;height:145px;word-break:break-word;text-align:center}.chalk-key{display:block;max-width:130px;font:600 25px/1.1 Fraunces,serif}.chalk-caption{margin-top:12px}.step-dots{flex-wrap:wrap;max-width:300px}.step-dots button{flex:none}
.page-footer{color:#fff2de;text-shadow:0 2px 8px #2d170a;gap:20px}
@media(max-width:900px){.classroom{grid-template-columns:175px minmax(0,1fr)}.board-decoration{display:none}.board{min-height:410px}}
@media(max-width:650px){body{background-position:center top}.experience{background:linear-gradient(180deg,rgba(35,19,10,.7),rgba(35,19,10,.46))}.intro{margin-bottom:6px}.classroom{display:flex}.esther-side{height:145px;min-height:145px}.esther-side img{height:185px}.board{min-height:390px;padding:25px 20px}.board h2{font-size:27px}.board .lead{font-size:17px}.board .detail{font-size:14px}.board-footer{flex-direction:column;align-items:stretch}.step-dots{max-width:none;justify-content:center}.board-controls{justify-content:space-between}.page-footer{display:block;line-height:1.5}.page-footer span{display:block}}
@media(min-width:901px){.experience{padding-top:18px}.intro{max-width:none;margin-bottom:10px}.intro h1{font-size:32px;margin:5px 0}.intro h1 br{display:none}.intro p{max-width:none;font-size:13px}.classroom{min-height:0}.esther-side{min-height:0;height:455px}.esther-side img{height:475px}.board{min-height:330px;padding-top:24px;padding-bottom:24px}.board h2{font-size:32px}.board .lead{font-size:17px}.board .detail{font-size:14px}.page-footer{margin-top:10px}}
.step-dots{gap:6px;max-width:330px}.chalk-key{font-size:20px;overflow-wrap:anywhere}
/* Mantener pizarra y controles completos en ventanas de escritorio. */
@media(min-width:651px){
  .topbar{height:64px;padding-inline:clamp(20px,4vw,64px)}
  .experience{height:calc(100dvh - 64px);min-height:0;padding:12px clamp(20px,4vw,64px);display:flex;flex-direction:column}
  .intro{flex:none;max-width:none;margin:0 0 10px}
  .intro h1{font-size:clamp(25px,2.6vw,33px);line-height:1.05;margin:3px 0}.intro h1 br{display:none}
  .intro p{max-width:none;font-size:13px;line-height:1.3}.kicker{font-size:10px}
  .classroom{flex:1;min-height:0;height:auto;max-height:450px;grid-template-columns:clamp(150px,21vw,280px) minmax(0,1fr);gap:14px;align-items:stretch}
  .esther-side{height:100%;min-height:0}.esther-side img{height:100%;max-height:100%;max-width:100%}
  .board-wrap{height:100%;align-self:stretch;min-height:0;display:grid;grid-template-rows:40px minmax(0,1fr) 64px}
  .board-top{height:auto}.board{min-height:0;height:auto;overflow-y:auto;gap:16px;padding:20px clamp(20px,3vw,42px)}
  .board h2{font-size:clamp(25px,2.5vw,34px);margin:10px 0 12px}.board .lead{font-size:clamp(15px,1.35vw,18px);line-height:1.4;margin-top:15px}.board .detail{font-size:clamp(13px,1.05vw,15px);line-height:1.4;margin-top:12px}
  .board-decoration{width:120px;height:120px}.chalk-key{font-size:17px}.chalk-caption{font-size:9px}
  .board-footer{height:auto;min-height:0}.page-footer{flex:none;margin:8px auto 0;font-size:11px}
}
@media(min-width:651px) and (max-height:690px){
  .topbar{height:54px}.experience{height:calc(100dvh - 54px);padding-top:8px;padding-bottom:8px}
  .brand strong{font-size:18px}.brand-drop{width:36px;height:36px}
  .intro h1{font-size:25px}.intro p{font-size:12px}.classroom{max-height:410px}
  .board-wrap{grid-template-rows:36px minmax(0,1fr) 56px}.board{padding-top:14px;padding-bottom:14px}
  .board h2{font-size:26px}.board .lead{font-size:15px}.board .detail{font-size:13px}
}
@media(max-width:650px){
  .topbar{height:58px;padding:0 14px}.brand strong{font-size:17px}.brand-drop{width:36px;height:36px}
  .experience{min-height:calc(100dvh - 58px);padding:14px 12px 18px}
  .intro{margin-bottom:4px}.intro h1{font-size:clamp(25px,7vw,32px);line-height:1.08;margin:5px 0}.intro p{font-size:12px;line-height:1.4}
  .esther-side{height:112px;min-height:112px;justify-content:flex-end;padding-right:14px}.esther-side img{height:145px}.esther-halo{width:130px;height:130px;right:18px}.esther-label{right:115px;bottom:9px;padding:7px 9px}
  .board-wrap{align-self:stretch}.board{min-height:0;display:block;padding:23px 22px 26px}
  .board h2{font-size:clamp(25px,7vw,30px);margin:12px 0 15px}.board .lead{font-size:16px;line-height:1.42;margin-top:16px}.board .detail{font-size:14px;line-height:1.46;margin-top:13px}
  .board-footer{padding:10px 12px;gap:10px}.step-dots{gap:5px}.step-dots button{width:8px;height:8px}.step-dots button.active{width:22px}
  .board-controls{gap:8px}.board-controls button{min-height:40px;padding:9px 12px}
  .page-footer{margin-top:11px;font-size:10px}
}
/* El estrado es el plano de apoyo visual de Esther y de la pizarra. */
@media(min-width:651px){
  .classroom{transform:translateY(38px)}
  .esther-side{overflow:visible}
  .esther-side img{height:calc(100% + 48px);max-height:none;transform:translateY(12px);filter:drop-shadow(0 24px 14px rgba(17,9,5,.7))}
  .esther-side::after{content:"";position:absolute;z-index:0;left:10%;right:10%;bottom:-12px;height:23px;border-radius:50%;background:rgba(17,8,3,.65);filter:blur(8px)}
  .esther-label{display:none}
  .board-wrap{position:relative;overflow:visible;box-shadow:0 24px 12px -15px rgba(18,8,2,.9),0 12px 34px rgba(16,7,2,.72),inset 0 2px #ebbc78}
  .board-wrap::after{content:"";position:absolute;z-index:-1;left:-8px;right:-8px;bottom:-12px;height:16px;border-radius:0 0 9px 9px;background:linear-gradient(#9a6437,#5c3219);box-shadow:0 9px 10px rgba(18,8,2,.8)}
  .board-top{border-radius:7px 7px 0 0}.board-footer{border-radius:0 0 7px 7px}
}
@media(min-width:651px) and (max-height:690px){.classroom{transform:translateY(22px)}.esther-side img{height:calc(100% + 34px);transform:translateY(8px)}}
@media(max-width:650px){
  .board-wrap{box-shadow:0 14px 18px rgba(22,9,3,.75),0 5px 0 #6d3d20}
  .esther-side img{filter:drop-shadow(0 13px 8px rgba(18,9,4,.7))}
  .esther-side::after{content:"";position:absolute;right:8px;bottom:-2px;width:135px;height:15px;border-radius:50%;background:rgba(18,8,3,.65);filter:blur(6px)}
}
@media(min-width:651px){
  .classroom{transform:translateY(55px)}
  .esther-side img{transform:translateY(20px)}
  .esther-side::after{bottom:-25px}
  .page-footer{display:none}
}
@media(min-width:651px) and (max-width:900px){.top-tag{display:none}}
@media(min-width:651px) and (max-height:690px){.classroom{transform:translateY(24px)}.esther-side img{transform:translateY(8px)}}
/* Esther ocupa más espacio sin reducir la legibilidad de la pizarra. */
@media(min-width:901px){
  .classroom{grid-template-columns:clamp(260px,26vw,350px) minmax(0,1fr)}
  .esther-side img{height:calc(100% + 92px);max-width:none;width:auto}
}
@media(min-width:651px) and (max-width:900px){
  .classroom{grid-template-columns:clamp(185px,27vw,240px) minmax(0,1fr)}
  .esther-side img{height:calc(100% + 65px);max-width:none;width:auto}
}
@media(max-width:650px){
  .esther-side{height:145px;min-height:145px}
  .esther-side img{height:185px;max-width:none}
  .esther-halo{width:150px;height:150px}
  .esther-label{right:132px}
}
.board-cta{display:inline-flex;align-items:center;justify-content:center;gap:16px;margin-top:25px;padding:14px 22px;border-radius:12px;background:#f2cd8c;color:#203d39;font-weight:800;font-size:17px;text-decoration:none;box-shadow:0 7px 0 #aa7b48,0 15px 23px rgba(0,0,0,.28);transition:transform .15s,box-shadow .15s}
.board-cta:hover,.board-cta:focus-visible{transform:translateY(3px);box-shadow:0 4px 0 #aa7b48,0 9px 15px rgba(0,0,0,.24)}
.board-cta:focus-visible{outline:3px solid #fff;outline-offset:4px}
@media(max-width:650px){.board-cta{margin-top:20px;padding:13px 20px;font-size:16px}}
.fact-list{display:grid;gap:6px;margin:12px 0 0;padding-left:20px;color:#f1f6ed;font-size:14px;line-height:1.34}
.fact-list li{padding-left:3px}.fact-list li::marker{color:#f2cd8c}
.document,.takeaway{font-size:12px;line-height:1.35;margin:12px 0 0;color:#d5e7dd}
.document strong{color:#f2cd8c}.takeaway{padding-left:12px;border-left:3px solid #f2cd8c;color:#fff6e7}
.board{scrollbar-width:thin;scrollbar-color:#b8a578 #17413f}
@media(max-width:650px){.fact-list{font-size:13px;line-height:1.4;gap:8px}.document,.takeaway{font-size:12px;line-height:1.45}}
@media(min-width:651px){
  .board.has-facts{padding-top:12px;padding-bottom:12px}
  .board.has-facts h2{font-size:27px;margin:7px 0 9px}
  .board.has-facts .fact-list{font-size:13px;line-height:1.28;gap:4px;margin-top:9px}
  .board.has-facts .document,.board.has-facts .takeaway{font-size:11px;line-height:1.3;margin-top:8px}
}
