/* Home — escena editorial camping v2 (amanecer en el lago) | gh3 */

.gh3-scene {
  --gh3-smooth: cubic-bezier(0.22, 1, 0.36, 1);

  position: relative;
  width: 100%;
  border-radius: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #0a0f14;
  overflow: hidden;
  box-shadow:
    0 0 48px rgba(251, 146, 60, 0.1),
    0 0 40px rgba(16, 185, 129, 0.08);
}

.gh3-scene--hero {
  max-width: none;
  margin-inline: 0;
  height: 100%;
  min-height: 100%;
}

.gh3-scene__svg {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 16rem;
}

.gh3-enter,
.gh3-mist,
.gh3-pine,
.gh3-flame-single,
.gh3-tent-reflect {
  will-change: transform;
}

.gh3-star,
.gh3-sun,
.gh3-shimmer,
.gh3-shimmer-reflect,
.gh3-fire-glow,
.gh3-scene__glow {
  will-change: transform, opacity;
}

.gh3-enter {
  opacity: 0;
  transform: translate3d(0, 16px, 0);
  animation: gh3EnterIn 1s var(--gh3-smooth) forwards;
}

.gh3-enter--sky { animation-delay: 0s; }
.gh3-enter--mountains { animation-delay: 0.1s; }
.gh3-enter--lake { animation-delay: 0.18s; }
.gh3-enter--shore { animation-delay: 0.26s; }
.gh3-enter--camp { animation-delay: 0.34s; }

@keyframes gh3EnterIn {
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.gh3-sun {
  transform-origin: 900px 92px;
  transform-box: fill-box;
  animation: gh3SunPulse 8s var(--gh3-smooth) infinite;
}

.gh3-star {
  transform-origin: center;
  animation: gh3StarFade 6s var(--gh3-smooth) infinite;
}

.gh3-star--2 { animation-delay: 1s; }
.gh3-star--3 { animation-delay: 2s; }

@keyframes gh3SunPulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.92;
  }
  50% {
    transform: scale(1.06);
    opacity: 1;
  }
}

@keyframes gh3StarFade {
  0%,
  100% {
    opacity: 0.15;
  }
  50% {
    opacity: 0.45;
  }
}

.gh3-mist {
  animation: gh3MistDrift 14s var(--gh3-smooth) infinite alternate;
}

.gh3-mist--2 {
  animation-delay: 2s;
}

@keyframes gh3MistDrift {
  0% {
    transform: translateX(0);
    opacity: 0.35;
  }
  100% {
    transform: translateX(24px);
    opacity: 0.55;
  }
}

.gh3-pine {
  transform-origin: center bottom;
  transform-box: fill-box;
  animation: gh3PineSway 6s var(--gh3-smooth) infinite;
}

.gh3-pine--2 { animation-delay: 1.2s; }

@keyframes gh3PineSway {
  0%,
  100% {
    transform: rotate(0deg);
  }
  50% {
    transform: rotate(0.8deg);
  }
}

.gh3-shimmer {
  transform-origin: center;
  animation: gh3ShimmerMove 5s var(--gh3-smooth) infinite;
}

.gh3-shimmer-reflect {
  transform-origin: center;
  animation: gh3ShimmerReflect 5s var(--gh3-smooth) infinite;
  animation-delay: 0.4s;
}

@keyframes gh3ShimmerMove {
  0%,
  100% {
    opacity: 0.3;
    transform: translateX(-12px) scaleX(0.95);
  }
  50% {
    opacity: 0.75;
    transform: translateX(16px) scaleX(1.05);
  }
}

@keyframes gh3ShimmerReflect {
  0%,
  100% {
    opacity: 0.15;
    transform: translateX(10px) scaleX(0.9);
  }
  50% {
    opacity: 0.4;
    transform: translateX(-14px) scaleX(1.08);
  }
}

.gh3-tent-reflect {
  transform-origin: 360px 286px;
  transform-box: fill-box;
  animation: gh3ReflectPulse 6s var(--gh3-smooth) infinite;
}

@keyframes gh3ReflectPulse {
  0%,
  100% {
    opacity: 0.28;
    transform: scaleY(0.92);
  }
  50% {
    opacity: 0.42;
    transform: scaleY(0.96);
  }
}

.gh3-fire-glow {
  transform-origin: 468px 272px;
  transform-box: fill-box;
  animation: gh3FireGlowSoft 3.2s var(--gh3-smooth) infinite;
}

.gh3-flame-single {
  transform-origin: 468px 278px;
  transform-box: fill-box;
  animation: gh3FlameSoft 2.8s var(--gh3-smooth) infinite;
}

@keyframes gh3FireGlowSoft {
  0%,
  100% {
    opacity: 0.5;
  }
  50% {
    opacity: 0.68;
  }
}

@keyframes gh3FlameSoft {
  0%,
  100% {
    transform: scaleY(1) scaleX(1);
  }
  50% {
    transform: scaleY(1.02) scaleX(0.99);
  }
}

.gh3-scene__glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(48px);
}

.gh3-scene__glow--sun {
  width: 38%;
  height: 70%;
  right: 6%;
  top: 0;
  background: radial-gradient(circle, rgba(251, 191, 36, 0.28), transparent 68%);
  animation: gh3SunPulse 8s var(--gh3-smooth) infinite;
}

.gh3-scene__glow--water {
  width: 50%;
  height: 40%;
  left: 20%;
  bottom: 8%;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.12), transparent 70%);
}

@media (prefers-reduced-motion: reduce) {
  .gh3-enter,
  .gh3-sun,
  .gh3-star,
  .gh3-mist,
  .gh3-pine,
  .gh3-shimmer,
  .gh3-shimmer-reflect,
  .gh3-tent-reflect,
  .gh3-fire-glow,
  .gh3-flame-single,
  .gh3-scene__glow {
    animation: none !important;
    opacity: 1;
    transform: none;
  }
}
