/* Paylaşımlı buzlu section arka plan overlay — index + hizmet sayfaları */

:root {
  --section-frost-gradient:
    radial-gradient(ellipse 52% 68% at 10% 24%, rgba(255, 255, 255, 0.24) 0%, rgba(255, 255, 255, 0) 70%),
    radial-gradient(ellipse 46% 60% at 90% 76%, rgba(210, 232, 255, 0.2) 0%, rgba(210, 232, 255, 0) 68%),
    linear-gradient(165deg, rgba(255, 255, 255, 0.14) 0%, rgba(17, 56, 89, 0.44) 48%, rgba(8, 36, 62, 0.62) 100%);
  --section-frost-filter: blur(36px) saturate(142%) brightness(1.08);
  --section-frost-noise-svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.78' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

#hizmetler.cap-acc .cap-acc__blue-sky::before,
#duyurular.home-feed::before,
.home-impact::before,
.calc-bottom-row .process-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: var(--section-frost-gradient);
  backdrop-filter: var(--section-frost-filter);
  -webkit-backdrop-filter: var(--section-frost-filter);
}

#hizmetler.cap-acc .cap-acc__blue-sky::after,
#duyurular.home-feed::after,
.home-impact::after,
.calc-bottom-row .process-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0.08;
  mix-blend-mode: soft-light;
  background-image:
    var(--section-frost-noise-svg),
    radial-gradient(circle at 18% 12%, rgba(255, 255, 255, 0.18), transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), transparent 32%, rgba(0, 0, 0, 0.06));
  background-repeat: repeat, no-repeat, no-repeat;
  background-size: 220px 220px, auto, auto;
}

.calc-bottom-row .process-hero::before {
  opacity: 0;
  transition: opacity 1.1s ease;
}

.calc-bottom-row .process-hero.reveal.is-visible::before {
  opacity: 1;
}

html.is-low-power #hizmetler.cap-acc .cap-acc__blue-sky::before,
html.is-low-power .home-impact::before,
html.is-low-power #duyurular.home-feed::before,
html.is-low-power .calc-bottom-row .process-hero::before {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

html.is-low-power #hero .hero-knockout-video.is-poster-fallback,
html.is-reduced-motion #hero .hero-knockout-video.is-poster-fallback {
  visibility: hidden;
}

html.is-low-power .service-hero::before,
html.is-reduced-motion .service-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: url('../img/home/abkant-bukum.webp') center center / cover no-repeat;
}

html.is-low-power .service-hero .hero-video,
html.is-reduced-motion .service-hero .hero-video {
  visibility: hidden;
}
