
/* KineCheck Agentes Fisicos — anatomical 3D renderer v1
   Pure CSS, no external runtime or third-party asset. */
header .wrap{gap:24px}
header nav{display:flex;align-items:center;gap:12px;white-space:nowrap}
header nav a{display:inline-flex;align-items:center;min-height:42px}
.anatomy-stage{width:300px;height:520px;isolation:isolate}
.anatomy-model{position:absolute;inset:10px 56px 8px;filter:drop-shadow(0 24px 24px #000a);transform:perspective(900px) rotateY(-4deg);transform-style:preserve-3d}
.anatomy-model:before{content:"";position:absolute;inset:4% 2% 1%;border-radius:50%;background:radial-gradient(ellipse at center,#63e2dc18 0,#63e2dc08 38%,transparent 70%);filter:blur(8px);z-index:-2}
.anatomy-model .part{position:absolute;background:linear-gradient(100deg,#17343a 0%,#39747a 20%,#9ad5d1 43%,#3e7e80 60%,#142e34 100%);border:1px solid #7edbd57d;box-shadow:inset 8px 0 14px #07191eb8,inset -5px 0 10px #a9fff31c,0 5px 12px #0007}
.anatomy-model .head{width:48px;height:58px;left:70px;top:3px;border-radius:48% 48% 45% 45%}
.anatomy-model .head:after{content:"";position:absolute;left:13px;right:13px;bottom:-17px;height:21px;border-radius:8px;background:linear-gradient(90deg,#17343a,#6ca9a6 45%,#1a3a40);border:1px solid #74c7c27a}
.anatomy-model .torso{left:37px;top:75px;width:116px;height:168px;clip-path:polygon(14% 0,86% 0,100% 26%,82% 72%,72% 100%,28% 100%,18% 72%,0 26%);border-radius:34% 34% 28% 28%}
.anatomy-model .torso:before,.anatomy-model .torso:after{content:"";position:absolute;top:18px;width:43px;height:62px;border-radius:55% 45% 50% 42%;background:radial-gradient(ellipse at 55% 30%,#b3e5df55,#4f8887 38%,#18383d 76%);border-bottom:1px solid #9eeae54d}
.anatomy-model .torso:before{left:11px;transform:rotate(-7deg)}.anatomy-model .torso:after{right:11px;transform:rotate(7deg)}
.anatomy-model .core{position:absolute;left:79px;top:151px;width:32px;height:91px;border-radius:42%;background:repeating-linear-gradient(180deg,#78b4b166 0 18px,#16363b 19px 21px);border-left:1px solid #8ad9d45c;border-right:1px solid #0a1e22;z-index:3}
.anatomy-model .pelvis{left:54px;top:226px;width:82px;height:58px;border-radius:28% 28% 44% 44%;clip-path:polygon(8% 0,92% 0,100% 55%,76% 100%,24% 100%,0 55%)}
.anatomy-model .arm{top:88px;width:28px;height:151px;border-radius:48% 48% 42% 42%;transform-origin:50% 10%}
.anatomy-model .arm.left{left:20px;transform:rotate(8deg)}.anatomy-model .arm.right{right:20px;transform:rotate(-8deg)}
.anatomy-model .forearm{top:211px;width:23px;height:104px;border-radius:44% 44% 38% 38%}
.anatomy-model .forearm.left{left:5px;transform:rotate(5deg)}.anatomy-model .forearm.right{right:5px;transform:rotate(-5deg)}
.anatomy-model .hand{top:303px;width:20px;height:48px;border-radius:45% 45% 58% 58%}
.anatomy-model .hand.left{left:2px;transform:rotate(3deg)}.anatomy-model .hand.right{right:2px;transform:rotate(-3deg)}
.anatomy-model .thigh{top:273px;width:48px;height:130px;border-radius:44% 44% 34% 34%}
.anatomy-model .thigh.left{left:48px;transform:rotate(2deg)}.anatomy-model .thigh.right{right:48px;transform:rotate(-2deg)}
.anatomy-model .knee{top:390px;width:39px;height:42px;border-radius:48%;background:radial-gradient(circle at 50% 35%,#b9e4dd88,#477c7b 38%,#142e34 76%)}
.anatomy-model .knee.left{left:53px}.anatomy-model .knee.right{right:53px}
.anatomy-model .shin{top:423px;width:34px;height:78px;border-radius:36% 36% 26% 26%}
.anatomy-model .shin.left{left:56px}.anatomy-model .shin.right{right:56px}
.anatomy-model .foot{top:489px;width:45px;height:22px;border-radius:45% 55% 35% 28%}
.anatomy-model .foot.left{left:47px;transform:rotate(-5deg)}.anatomy-model .foot.right{right:47px;transform:rotate(5deg)}
.anatomy-model .muscle-line{position:absolute;z-index:4;pointer-events:none;border-color:#b9f4ef55;border-style:solid}
.anatomy-model .clavicle{left:54px;top:101px;width:82px;height:25px;border-width:1px 0 0;border-radius:50%}
.anatomy-model .linea{left:94px;top:124px;height:118px;border-width:0 0 0 1px}
.anatomy-model .inguinal{left:62px;top:248px;width:67px;height:23px;border-width:1px 0 0;border-radius:50%}
.anatomy-model .clinical-glow{position:absolute;left:50%;top:51%;width:112px;height:330px;transform:translate(-50%,-50%);border-radius:50%;background:linear-gradient(90deg,transparent,#63e2dc0b,transparent);filter:blur(4px);pointer-events:none;z-index:5}
.anatomy-model .caption{position:absolute;left:50%;bottom:-24px;transform:translateX(-50%);font-size:.58rem;letter-spacing:.14em;text-transform:uppercase;color:#82b9bb;white-space:nowrap}
.p-neck{top:76px;left:145px}.p-shoulder{top:126px;left:90px}.p-elbow{top:211px;left:68px}.p-wrist{top:306px;right:57px}.p-lumbar{top:230px;left:145px}.p-hip{top:282px;left:108px}.p-knee{top:405px;right:93px}.p-ankle{top:478px;left:111px}
.l-neck{top:62px;right:0}.l-shoulder{top:112px;left:0}.l-elbow{top:192px;left:0}.l-wrist{top:286px;right:0}.l-lumbar{top:216px;right:0}.l-hip{top:272px;left:0}.l-knee{top:388px;right:0}.l-ankle{top:458px;left:0}
@media(max-width:780px){
 header{position:relative}
 header .wrap{padding:10px 14px;display:grid;grid-template-columns:minmax(0,1fr);gap:8px}
 .brand{display:block;width:min(210px,62vw)}
 .brand img{width:100%;max-height:52px}
 header nav{width:100%;justify-content:flex-start;gap:8px;overflow:visible;flex-wrap:wrap}
 header nav a{min-height:34px;padding:4px 9px;border:1px solid #2d666d;border-radius:9px;text-decoration:none;font-size:.82rem;background:#0b2a30}
 header nav .nav-sep{display:none}
 .hero{padding-top:32px}
 .bodymap{padding:16px 10px}
 .silhouette{height:555px;overflow:visible}
 .anatomy-stage{width:min(100%,340px);height:530px;margin:auto}
 .anatomy-model{inset:8px 78px 8px;transform:none}
 .anatomy-label{font-size:.68rem;padding:6px 8px}
 .l-neck{top:52px;right:2px}.l-shoulder{top:105px;left:2px}.l-elbow{top:176px;left:2px}.l-wrist{top:274px;right:2px}.l-lumbar{top:205px;right:2px}.l-hip{top:264px;left:2px}.l-knee{top:382px;right:2px}.l-ankle{top:452px;left:2px}
 .p-neck{top:70px;left:50%}.p-shoulder{top:119px;left:31%}.p-elbow{top:205px;left:24%}.p-wrist{top:300px;right:22%}.p-lumbar{top:226px;left:50%}.p-hip{top:279px;left:38%}.p-knee{top:401px;right:34%}.p-ankle{top:474px;left:38%}
}
@media(max-width:390px){
 .silhouette{height:535px}
 .anatomy-stage{width:100%}
 .anatomy-model{inset:8px 72px 8px}
 .anatomy-label{font-size:.63rem;padding:5px 7px}
 .anatomy-label.free-region:after{display:block;line-height:1.1;margin-top:2px}
}

/* v2: professional anatomical plate */
.anatomy-model{
  inset:8px 60px 12px;
  background:
    radial-gradient(ellipse at center,rgba(99,226,220,.12),transparent 66%),
    url("/agentes-fisicos/anatomy-clinical-plate.webp") center/contain no-repeat;
  filter:drop-shadow(0 18px 24px rgba(0,0,0,.62)) drop-shadow(0 0 16px rgba(99,226,220,.13));
  transform:none;
}
.anatomy-model .part,.anatomy-model .core,.anatomy-model .muscle-line,.anatomy-model .clinical-glow{display:none!important}
.anatomy-model:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(6,27,32,.12),transparent 22% 78%,rgba(6,27,32,.12));pointer-events:none}
.anatomy-model .caption{bottom:-20px}
@media(max-width:780px){
 .anatomy-model{inset:4px 76px 8px;background-size:contain}
 .anatomy-model .caption{bottom:-14px;font-size:.52rem}
}
@media(max-width:390px){
 .anatomy-model{inset:4px 68px 8px}
}
