/*
 * dev47: DECORATIVE BACKGROUND, extracted from user-supplied exact CSS for
 * the existing Proyectos realizados hero (Texto pegado(6).txt).
 * Only the background layers, NOT the hero headings/content.
 * Applied solely to three WordPress plugin pages: project, professional board, professional registration.
 * Explicitly excluded from the paint calculator and original Proyectos realizados page.
 */
body.ehp-design-page.ehp-projects-reference-bg .site-content {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: linear-gradient(to bottom, #014037, #002b25);
}
body.ehp-design-page.ehp-projects-reference-bg .site-content > .ehp-projects-scene {
  position: absolute;
  z-index: 0;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  user-select: none;
}
body.ehp-design-page.ehp-projects-reference-bg .site-content > :not(.ehp-projects-scene) {
  position: relative;
  z-index: 1;
}
/* Decorative elements copied at exact sizes, gradients, opacity, blends, and timing. */

  .ehp-projects-scene,
  .ehp-projects-scene * {
    box-sizing: border-box;
  }

  .ehp-projects-scene {
    position: relative;
    width: 100%;
    min-height: 0;
    height: 100%;
    overflow: hidden;
    background: linear-gradient(to bottom, #014037, #002b25);
    color: #f0f4f4;
    font-family: "Inter", sans-serif;
    isolation: isolate;
  }

  .ehp-projects-scene__bg,
  .ehp-projects-scene__section,
  .ehp-projects-scene__glow,
  .ehp-projects-scene__skew,
  .ehp-projects-scene__topline,
  .ehp-projects-scene__vline-left,
  .ehp-projects-scene__vline-right,
  .ehp-projects-scene__hline,
  .ehp-projects-scene__orbit,
  .ehp-projects-scene__blob-1,
  .ehp-projects-scene__blob-2,
  .ehp-projects-scene__blob-3,
  .ehp-projects-scene__rim-1,
  .ehp-projects-scene__rim-2,
  .ehp-projects-scene__texture-1,
  .ehp-projects-scene__texture-2,
  .ehp-projects-scene__texture-3,
  .ehp-projects-scene__texture-4,
  .ehp-projects-scene__texture-5,
  .ehp-projects-scene__grid,
  .ehp-projects-scene__vignette-1,
  .ehp-projects-scene__vignette-2,
  .ehp-projects-scene__vignette-3,
  .ehp-projects-scene__noise {
    position: absolute;
    inset: 0;
    pointer-events: none;
  }

  .ehp-projects-scene__bg {
    z-index: 0;
    overflow: hidden;
  }

  .ehp-projects-scene__texture-1 {
    opacity: 0.25;
    mix-blend-mode: overlay;
    background: url("https://www.transparenttextures.com/patterns/stardust.png");
  }

  .ehp-projects-scene__texture-2 {
    opacity: 0.15;
    mix-blend-mode: soft-light;
    background: url("https://www.transparenttextures.com/patterns/carbon-fibre.png");
  }

  .ehp-projects-scene__texture-3 {
    opacity: 0.12;
    mix-blend-mode: multiply;
    background: url("https://www.transparenttextures.com/patterns/black-leather.png");
  }

  .ehp-projects-scene__texture-4 {
    opacity: 0.10;
    mix-blend-mode: overlay;
    background: url("https://www.transparenttextures.com/patterns/asfalt-light.png");
  }

  .ehp-projects-scene__texture-5 {
    opacity: 0.06;
    mix-blend-mode: soft-light;
    background: url("https://www.transparenttextures.com/patterns/diagonal-stripes.png");
  }

  .ehp-projects-scene__grid {
    opacity: 0.80;
    background-image: radial-gradient(rgba(255,255,255,0.08) 1.2px, transparent 1.2px);
    background-size: 40px 40px;
  }

  .ehp-projects-scene__vignette-1 {
    background: radial-gradient(circle at center, transparent 0%, rgba(0,0,0,0.45) 100%);
  }

  .ehp-projects-scene__vignette-2 {
    background: linear-gradient(to top, rgba(0,0,0,0.40), transparent, rgba(0,0,0,0.20));
  }

  .ehp-projects-scene__vignette-3 {
    background: linear-gradient(to bottom, rgba(0,0,0,0.20), transparent, transparent);
  }

  .ehp-projects-scene__blob-1 {
    top: -10%;
    right: -10%;
    width: 1200px;
    height: 1200px;
    inset: auto;
    border-radius: 50%;
    background: rgba(2, 90, 77, 0.40);
    filter: blur(200px);
    animation: ehpSceneBlob1 20s linear infinite;
  }

  .ehp-projects-scene__blob-2 {
    bottom: -15%;
    left: -10%;
    width: 1000px;
    height: 1000px;
    inset: auto;
    border-radius: 50%;
    background: rgba(1, 51, 51, 0.60);
    filter: blur(180px);
    animation: ehpSceneBlob2 25s linear infinite;
  }

  .ehp-projects-scene__blob-3 {
    top: 20%;
    left: 30%;
    width: 600px;
    height: 600px;
    inset: auto;
    border-radius: 50%;
    background: rgba(75, 83, 32, 0.20);
    filter: blur(150px);
  }

  .ehp-projects-scene__vline-left {
    left: 10%;
    width: 1px;
    background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.15), transparent);
  }

  .ehp-projects-scene__vline-right {
    left: auto;
    right: 10%;
    width: 1px;
    background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.15), transparent);
  }

  .ehp-projects-scene__hline {
    top: 40%;
    bottom: auto;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.10), transparent);
  }

  .ehp-projects-scene__orbit {
    top: 15%;
    left: 15%;
    right: auto;
    bottom: auto;
    width: 256px;
    height: 256px;
    border: 1px solid rgba(197,160,89,0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: ehpSceneOrbit 14s ease-in-out infinite;
  }

  .ehp-projects-scene__orbit::before {
    content: "";
    width: 128px;
    height: 128px;
    border: 1px solid rgba(197,160,89,0.10);
    border-radius: 50%;
  }

  .ehp-projects-scene__noise {
    opacity: 0.06;
    mix-blend-mode: overlay;
    background: url("https://www.transparenttextures.com/patterns/asfalt-light.png");
  }

  .ehp-projects-scene__section {
    position: relative;
    z-index: 1;
    min-height: 0;
    height: 100%;
    padding: 0;
    overflow: hidden;
  }

  .ehp-projects-scene__glow {
    background: radial-gradient(circle at top right, rgba(196,164,132,0.25), transparent 75%);
  }

  .ehp-projects-scene__skew {
    left: auto;
    right: 0;
    width: 50%;
    background: rgba(255,255,255,0.03);
    transform: skewX(-12deg) translateX(25%);
  }

  .ehp-projects-scene__topline {
    bottom: auto;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(197,160,89,0.70), transparent);
  }

  .ehp-projects-scene__container {
    position: relative;
    z-index: 2;
    max-width: 1280px;
    margin: 0 auto;
  }

  .ehp-projects-scene__rim-1 {
    top: -64px;
    right: -96px;
    bottom: -64px;
    left: -96px;
    background: rgba(255,255,255,0.03);
    filter: blur(120px);
    border-radius: 100px;
  }

  .ehp-projects-scene__rim-2 {
    top: -32px;
    right: -48px;
    bottom: -32px;
    left: -48px;
    background: rgba(197,160,89,0.02);
    filter: blur(48px);
    border-radius: 100px;
  }


  @keyframes ehpSceneBlob1 {
    0% { transform: scale(1) rotate(0deg) translateX(0); }
    50% { transform: scale(1.1) rotate(5deg) translateX(20px); }
    100% { transform: scale(1) rotate(0deg) translateX(0); }
  }

  @keyframes ehpSceneBlob2 {
    0% { transform: scale(1) rotate(0deg) translateX(0); }
    50% { transform: scale(1.2) rotate(-5deg) translateX(-20px); }
    100% { transform: scale(1) rotate(0deg) translateX(0); }
  }

  @keyframes ehpSceneOrbit {
    0% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-40px) rotate(15deg); }
    100% { transform: translateY(0) rotate(0deg); }
  }


/* Decoration is non-interactive and does not impose the reference page's hero min-height. */
.ehp-projects-scene__section { position:absolute; inset:0; width:100%; height:100%; }
.ehp-projects-scene__container { height:100%; }
@media (max-width: 767px) {
  .ehp-projects-scene__vline-left,
  .ehp-projects-scene__vline-right,
  .ehp-projects-scene__hline,
  .ehp-projects-scene__skew { display: none; }
}
@media (max-width: 1024px) {
  .ehp-projects-scene__orbit { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .ehp-projects-scene__blob-1,
  .ehp-projects-scene__blob-2,
  .ehp-projects-scene__orbit { animation: none; }
}
