.hero-con-retrato{background:#151515 url('./imagenes/paisaje.webp') center bottom/100% auto no-repeat}.hero-con-retrato::after{background:linear-gradient(180deg,#151515 41%,transparent 81%,#151515 100%)}.hero-retrato{position:absolute;z-index:-1;right:5%;top:5%;width:min(35vw,510px);aspect-ratio:1;object-fit:cover;object-position:center 31%;border-radius:50%;border:2px solid #dbb96e;box-shadow:0 0 34px #c9925159}.hero-editar-retrato{position:absolute;right:5%;top:5%;width:44px;height:44px;border-radius:50%;border:1px solid #e3c582;background:#252016;color:#ffe5a4;font-size:23px;cursor:pointer}.hero-editor{position:fixed;inset:0;margin:auto;width:min(420px,calc(100% - 2rem));padding:1.5rem;background:#221e19;color:#fff3d4;border:1px solid #b69a61;border-radius:14px}.hero-editor::backdrop{background:#0009;backdrop-filter:blur(4px)}.hero-editor input{display:block;width:100%;margin-top:.6rem}.hero-editor button{padding:.55rem .8rem;cursor:pointer}.hero-editor h2{margin:0 0 1rem}@media(max-width:700px){.hero-con-retrato{background-size:auto 180px}.hero-con-retrato::after{background:linear-gradient(180deg,#151515 70%,transparent)}.hero-retrato{width:min(59vw,230px);right:50%;top:20px;transform:translateX(50%)}}

.hero-retrato{z-index:0;overflow:hidden}.hero-retrato[hidden]{display:none}.hero-retrato img,.hero-muestra img{width:100%;height:100%;display:block;object-fit:cover;object-position:center 31%}.hero-inner{position:relative;z-index:1}.hero-editar-retrato{z-index:2}.hero-editor{width:min(760px,calc(100% - 2rem));max-height:calc(100% - 2rem);overflow:auto}.hero-editor-cuerpo{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:1.5rem}.hero-muestra{aspect-ratio:1;width:min(100%,260px);border:1px solid #d4ad64;border-radius:50%;overflow:hidden;margin:0 auto 1rem;background:#151515}.hero-editor label{display:block}.hero-editor input[type=range]{accent-color:#d7ab62;margin:.3rem 0 .65rem}.hero-controles label span{display:flex;justify-content:space-between;gap:.5rem}.hero-controles output{color:#e2be79}.hero-editor-pie{display:flex;justify-content:flex-end;gap:.6rem}.hero-editor button{color:#fce9bf;background:#30271d;border:1px solid #846e46;border-radius:7px}.hero-editor button[type=submit]{background:#d8b577;color:#22180d}.hero-editor [role=status]:empty{display:none}@media(max-width:600px){.hero-editor-cuerpo{grid-template-columns:1fr;gap:1rem}.hero-muestra{width:min(46vw,170px)}}

.hero-editor-pie{display:flex;justify-content:center;align-items:stretch;gap:clamp(.3rem,1.7vw,.75rem);margin-top:1.15rem;padding-top:1rem;border-top:1px solid #ac8c4c44}.hero-editor-pie button{padding:.65rem clamp(.45rem,1.5vw,.95rem);font-size:clamp(.76rem,2.8vw,1rem)}.hero-editor label.hero-archivo{display:flex;position:relative;align-items:center;gap:.65rem;border:1px solid #8a714a;border-radius:9px;background:#181510;padding:.45rem;cursor:pointer}.hero-archivo:hover,.hero-archivo:focus-within{border-color:#e1bd76;outline:1px solid #e1bd76}.hero-editor .hero-archivo input{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer}.hero-archivo-boton{padding:.55rem .65rem;border-radius:6px;background:#d8b577;color:#21180d;line-height:1.1;white-space:nowrap}.hero-archivo-nombre{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#e5d4ae;font-size:.86rem}.hero-archivo-formatos{display:block;margin-top:.5rem;color:#cfbd95;font-size:.8rem}

.hero-editar-retrato{display:grid;place-items:center;padding:0;background:#211b13;color:#efd392;border-color:#aa8951}.hero-editar-retrato:hover{background:#3b2d1b;border-color:#efd392}.hero-editar-retrato svg{display:block;pointer-events:none}

.hero-editar-contenido{position:absolute;z-index:2;top:5%;right:calc(5% + 54px);padding:.45rem .7rem;border:1px solid #aa8951;border-radius:7px;background:#211b13;color:#efd392;font:600 .83rem system-ui;text-decoration:none}.hero-editar-contenido:hover{background:#3b2d1b;color:#ffe5a4}

.hero-editar-contenido{box-sizing:border-box;display:grid;place-items:center;width:44px;height:44px;padding:0;border-radius:50%}.hero-editar-contenido svg{display:block}
