/* V5.20 — Yeni karakter görselleri mevcut bölümlere entegre edilir; ayrı sahne/section oluşturulmaz. */
.template-kids .home520-services{
  overflow:visible!important;
}
.template-kids .home520-services .home54-services-heading{
  position:relative;
  z-index:8;
}
.template-kids .home520-services-character-scene{
  position:relative;
  z-index:7;
  width:min(600px,82vw);
  margin:10px auto -58px;
  display:flex;
  justify-content:center;
  align-items:flex-end;
  pointer-events:none;
  isolation:isolate;
}
.template-kids .home520-services-character-scene img{
  position:relative;
  z-index:3;
  display:block;
  width:100%;
  height:auto;
  max-height:390px;
  object-fit:contain;
  object-position:center bottom;
  filter:drop-shadow(0 22px 24px rgba(32,63,91,.16));
  transform-origin:50% 100%;
}
.template-kids.animations-enabled .home520-services-character-scene img{
  animation:home520SceneFloat 6.8s ease-in-out infinite;
}
.template-kids .home520-services-character-scene::after{
  content:"";
  position:absolute;
  z-index:1;
  left:50%;
  bottom:31px;
  width:68%;
  height:58px;
  transform:translateX(-50%);
  border-radius:50%;
  background:radial-gradient(ellipse at center,rgba(52,130,183,.18),rgba(52,130,183,0) 72%);
  filter:blur(7px);
}
.template-kids .home520-services .home513-hanging-services{
  position:relative;
  z-index:6;
}
.template-kids .home520-scene-bubble,
.template-kids .home520-scene-star{
  position:absolute;
  z-index:2;
  pointer-events:none;
}
.template-kids .home520-scene-bubble{
  width:18px;
  height:18px;
  border-radius:50%;
  border:1px solid rgba(255,255,255,.9);
  background:radial-gradient(circle at 30% 25%,#fff 0 17%,rgba(65,177,231,.28) 48%,rgba(246,83,151,.15) 72%,transparent 76%);
  box-shadow:0 8px 18px rgba(42,112,157,.12);
}
.template-kids .home520-scene-bubble.is-one{left:7%;top:38%;width:25px;height:25px}
.template-kids .home520-scene-bubble.is-two{right:9%;top:23%;width:14px;height:14px}
.template-kids .home520-scene-star{
  color:var(--accent);
  line-height:1;
  font-size:26px;
  filter:drop-shadow(0 6px 10px rgba(255,201,40,.28));
}
.template-kids .home520-scene-star.is-one{left:15%;top:17%;rotate:-10deg}
.template-kids .home520-scene-star.is-two{right:15%;top:49%;color:var(--secondary);font-size:21px;rotate:9deg}
.template-kids.animations-enabled .home520-scene-bubble.is-one{animation:home520Bubble 4.8s ease-in-out infinite}
.template-kids.animations-enabled .home520-scene-bubble.is-two{animation:home520Bubble 4.1s ease-in-out -1.6s infinite}
.template-kids.animations-enabled .home520-scene-star{animation:home520Spark 3.2s ease-in-out infinite}
.template-kids.animations-enabled .home520-scene-star.is-two{animation-delay:-1.3s}

html[data-theme='night'] .template-kids .home520-services-character-scene img{
  filter:drop-shadow(0 22px 27px rgba(0,0,0,.3));
}
html[data-theme='night'] .template-kids .home520-services-character-scene::after{
  background:radial-gradient(ellipse at center,rgba(66,175,229,.24),rgba(66,175,229,0) 72%);
}

@keyframes home520SceneFloat{
  0%,100%{transform:translate3d(0,0,0) rotate(-.18deg)}
  50%{transform:translate3d(0,-5px,0) rotate(.18deg)}
}
@keyframes home520Bubble{
  0%,100%{transform:translate3d(0,7px,0) scale(.82);opacity:.35}
  50%{transform:translate3d(7px,-12px,0) scale(1.08);opacity:.9}
}
@keyframes home520Spark{
  0%,100%{transform:scale(.78) rotate(-8deg);opacity:.4}
  50%{transform:scale(1.13) rotate(8deg);opacity:1}
}

@media (max-width:920px){
  .template-kids .home520-services-character-scene{
    width:min(430px,92vw);
    margin:6px auto -39px;
  }
  .template-kids .home520-services-character-scene img{
    max-height:285px;
    filter:drop-shadow(0 14px 18px rgba(32,63,91,.14));
  }
  .template-kids .home520-scene-bubble.is-one{left:2%;top:42%}
  .template-kids .home520-scene-bubble.is-two{right:3%;top:24%}
}
@media (max-width:560px){
  .template-kids .home520-services-character-scene{
    width:min(345px,96vw);
    margin:2px auto -27px;
  }
  .template-kids .home520-services-character-scene img{max-height:230px}
  .template-kids .home520-scene-star.is-one{left:5%;top:20%}
  .template-kids .home520-scene-star.is-two{right:6%;top:51%}
}
@media (prefers-reduced-motion:reduce){
  .template-kids .home520-services-character-scene img,
  .template-kids .home520-scene-bubble,
  .template-kids .home520-scene-star{animation:none!important;transform:none!important}
}
.template-kids.animations-disabled .home520-services-character-scene img,
.template-kids.animations-disabled .home520-scene-bubble,
.template-kids.animations-disabled .home520-scene-star{animation:none!important;transform:none!important}


/* V5.21 — Tedavi kartı karakterlerin arasına alınır; kartı birlikte tutuyormuş hissi güçlendirilir. */
.template-kids .home521-services-hold-stage{
  position:relative;
  display:flex;
  flex-direction:column;
  align-items:center;
  margin-top:6px;
  isolation:isolate;
}
.template-kids .home521-services-hold-stage.has-character-scene{
  padding-top:4px;
}
.template-kids .home521-services-character-scene{
  width:min(680px,86vw);
  margin:0 auto;
  z-index:9;
}
.template-kids .home521-services-hold-stage.has-character-scene .home521-held-services-shell{
  width:min(100%,1200px);
  margin-top:-104px;
  z-index:7;
}
.template-kids .home521-services-hold-stage.has-character-scene .home521-held-services-shell::after{
  content:"";
  position:absolute;
  left:50%;
  top:-44px;
  width:min(470px,62%);
  height:92px;
  transform:translateX(-50%);
  border-radius:50%;
  background:radial-gradient(ellipse at center, rgba(255,255,255,.9) 0%, rgba(255,255,255,.42) 28%, rgba(255,255,255,0) 74%);
  pointer-events:none;
  z-index:-1;
}
.template-kids .home521-services-hold-stage.has-character-scene .home520-services-character-scene::after{
  bottom:20px;
  width:62%;
  height:46px;
  opacity:.65;
}
.template-kids .home521-services-hold-stage.is-card-only .home521-held-services-shell{
  width:100%;
  margin-top:0;
}
.template-kids.animations-enabled .reveal-section:not(.is-visible) .home521-services-character-scene{
  opacity:0;
  transform:translate3d(0,28px,0) scale(.965);
}
.template-kids.animations-enabled .reveal-section.is-visible .home521-services-character-scene{
  opacity:1;
  transform:translate3d(0,0,0) scale(1);
  transition:opacity .68s ease, transform .82s cubic-bezier(.21,.78,.24,1.03);
}
.template-kids.animations-enabled .reveal-section:not(.is-visible) .home521-held-services-shell{
  opacity:0;
  transform:translate3d(0,34px,0) scale(.985);
}
.template-kids.animations-enabled .reveal-section.is-visible .home521-held-services-shell{
  opacity:1;
  transform:translate3d(0,0,0) scale(1);
  transition:opacity .74s ease .08s, transform .86s cubic-bezier(.2,.82,.21,1.03) .08s;
}

@media (max-width:1180px){
  .template-kids .home521-services-character-scene{width:min(620px,88vw)}
  .template-kids .home521-services-hold-stage.has-character-scene .home521-held-services-shell{margin-top:-90px}
}
@media (max-width:920px){
  .template-kids .home521-services-character-scene{width:min(480px,94vw)}
  .template-kids .home521-services-hold-stage.has-character-scene .home521-held-services-shell{
    width:100%;
    margin-top:-52px;
  }
  .template-kids .home521-services-hold-stage.has-character-scene .home521-held-services-shell::after{
    top:-26px;
    width:min(300px,72%);
    height:56px;
  }
}
@media (max-width:560px){
  .template-kids .home521-services-character-scene{width:min(355px,96vw)}
  .template-kids .home521-services-hold-stage.has-character-scene .home521-held-services-shell{margin-top:-34px}
}
@media (prefers-reduced-motion:reduce){
  .template-kids .home521-services-character-scene,
  .template-kids .home521-held-services-shell{opacity:1!important;transform:none!important;transition:none!important}
}
.template-kids.animations-disabled .home521-services-character-scene,
.template-kids.animations-disabled .home521-held-services-shell{opacity:1!important;transform:none!important;transition:none!important}
