.studio-estela {
  --accent:#f44f89;
  --accent-hover:#ff9cbe;
  --accent-glow:#f44f8970;
  --estela-top:49%;
  --estela-left:44%;
  --estela-angle:-12deg;
  --estela-width:128vw;
  --estela-enter-x:-70px;
  --estela-enter-y:40px;
  --estela-enter-turn:4deg;
  --estela-sway-x:20px;
  --estela-sway-y:18px;
  --estela-duration:24s;
  --estela-trail-delay:-6s;
}

.studio-estela[data-estela-section="productos"] {
  --estela-top:58%;
  --estela-left:40%;
  --estela-angle:-16deg;
}

.studio-estela[data-estela-section="proyectos"] {
  --estela-top:34%;
  --estela-left:64%;
  --estela-angle:14deg;
  --estela-width:136vw;
  --estela-enter-x:90px;
  --estela-enter-y:-35px;
  --estela-enter-turn:-5deg;
  --estela-sway-x:28px;
  --estela-sway-y:-10px;
  --estela-duration:28s;
  --estela-trail-delay:-8s;
}

.studio-estela[data-estela-section="estudio"] {
  --estela-top:60%;
  --estela-left:34%;
  --estela-angle:-28deg;
  --estela-width:140vw;
  --estela-enter-x:-35px;
  --estela-enter-y:75px;
  --estela-enter-turn:5deg;
  --estela-sway-x:12px;
  --estela-sway-y:24px;
  --estela-duration:30s;
  --estela-trail-delay:-10s;
}

.studio-estela[data-estela-section="contacto"] {
  --estela-top:61%;
  --estela-left:49%;
  --estela-angle:-20deg;
  --estela-width:134vw;
}

.interior-field {
  position:fixed;
  inset:0;
  z-index:-1;
  overflow:hidden;
  pointer-events:none;
  background:var(--base);
}

.interior-field::before {
  content:"";
  position:absolute;
  inset:0;
  background:radial-gradient(ellipse at 82% 29%,#315cb226,transparent 51%),
    radial-gradient(ellipse at 18% 73%,#2447781a,transparent 54%);
}

.interior-field .home-estela {
  --estela-blue:#6489ea;
  --estela-pink:#d477bd;
  --estela-opacity:.225;
  position:absolute;
  top:var(--estela-top);
  left:var(--estela-left);
  width:max(1120px,var(--estela-width));
  height:auto;
  overflow:visible;
  opacity:var(--estela-opacity);
  filter:blur(clamp(6px,.56vw,12px));
  transform:translate(-50%,-50%) rotate(var(--estela-angle));
}

:root:not([data-theme="light"]) .studio-estela {
  --base:#0b1426;
  --panel:#101c33;
  --line:#2a3b59;
}

:root:not([data-theme="light"]) .studio-estela :is(.project-card,.hero-frame) {
  background:var(--panel);
  border-color:var(--line);
}

:root:not([data-theme="light"]) .studio-estela :is(.experience,.callout,.studio-purpose,.footer) {
  background:linear-gradient(115deg,#192b4c,var(--panel) 72%);
  border-color:var(--line);
}

.studio-estela .studio-purpose::after {
  border-color:var(--accent);
}

:root[data-theme="light"] .studio-estela {
  --accent:#a22853;
  --accent-hover:#782144;
}

:root[data-theme="light"] .interior-field::before {
  background:radial-gradient(ellipse at 82% 29%,#f44f891b,transparent 46%),
    radial-gradient(ellipse at 18% 73%,#a38abe1a,transparent 48%);
}

:root[data-theme="light"] .interior-field .home-estela {
  --estela-blue:#6673ba;
  --estela-pink:#b65a9b;
  --estela-opacity:.17;
}

@media (max-width:800px) {
  .studio-estela[data-estela-section="productos"] { --estela-top:53%; --estela-left:48%; }
  .studio-estela[data-estela-section="proyectos"] { --estela-top:37%; --estela-left:76%; }
  .studio-estela[data-estela-section="estudio"] { --estela-top:61%; --estela-left:25%; }
  .studio-estela[data-estela-section="contacto"] { --estela-top:55%; --estela-left:32%; }
}

@media (prefers-reduced-motion:no-preference) {
  .interior-field .home-estela { animation:interior-estela-enter 1.9s cubic-bezier(.22,.61,.36,1) both; }
  .interior-field .estela-band { animation:interior-estela-sway var(--estela-duration) ease-in-out infinite alternate; }
  .interior-field .estela-band + .estela-band { animation-direction:alternate-reverse; }
  .interior-field .estela-trails .estela-band { animation-delay:var(--estela-trail-delay); }
}

@keyframes interior-estela-enter {
  from {
    opacity:0;
    transform:translate(calc(-50% + var(--estela-enter-x)),calc(-50% + var(--estela-enter-y))) rotate(calc(var(--estela-angle) + var(--estela-enter-turn)));
  }
  to {
    opacity:var(--estela-opacity);
    transform:translate(-50%,-50%) rotate(var(--estela-angle));
  }
}

@keyframes interior-estela-sway {
  from { translate:calc(var(--estela-sway-x) * -1) var(--estela-sway-y); }
  to { translate:var(--estela-sway-x) calc(var(--estela-sway-y) * -1); }
}
