/* Hizmetler · T0 küresel koreografi */
.hzfx-reveal.hzfx-reveal {
  opacity: 0;
  transform: translate3d(0, 18px, 0);
  transition:
    opacity 650ms cubic-bezier(.2, .7, .2, 1),
    transform 650ms cubic-bezier(.2, .7, .2, 1);
  transition-delay: var(--hzfx-delay-desktop, 0ms);
  will-change: opacity, transform;
}

.hzfx-reveal.hzfx-in {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.hzfx-progress {
  position: absolute;
  z-index: 1;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  background: var(--grad);
  pointer-events: none;
  transform: scaleX(0);
  transform-origin: left center;
  will-change: transform;
}

@media (max-width: 860px) {
  .hzfx-reveal.hzfx-reveal {
    transition-delay: var(--hzfx-delay-mobile, 0ms);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hzfx-reveal.hzfx-reveal,
  .hzfx-reveal.hzfx-in {
    opacity: 1;
    transform: none;
    transition: none;
    transition-delay: 0ms;
    will-change: auto;
  }

  .hzfx-progress {
    will-change: auto;
  }
}

/* T3 · YODA değer akışı sahnesi */
.hzfx-flow-card {
  margin: 0 0 22px;
  padding: 20px 20px 15px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--hair);
  border-radius: 18px;
}

.hzfx-flow-toggle {
  display: flex;
  width: 100%;
  gap: 4px;
  padding: 4px;
  background: var(--soft);
  border: 1px solid var(--hair);
  border-radius: 12px;
}

.hzfx-flow-toggle-btn {
  flex: 1 1 50%;
  min-height: 36px;
  padding: 7px 10px;
  color: var(--ink-2);
  font-family: var(--f-d);
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.2;
  background: transparent;
  border: 0;
  border-radius: 9px;
  cursor: pointer;
}

.hzfx-flow-status {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hzfx-flow-toggle-btn.hzfx-selected {
  color: #fff;
  background: var(--navy);
}

.hzfx-flow-toggle-btn:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

.hzfx-flow-scene {
  display: block;
  width: 100%;
  height: auto;
  margin-top: 4px;
}

.hzfx-flow-track {
  color: var(--hair-2);
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  marker-end: url(#hzfxFlowArrow);
}

.hzfx-flow-pull-line {
  color: var(--blue);
  opacity: 0;
  transition: opacity 250ms cubic-bezier(.2, .7, .2, 1);
}

.hzfx-flow-waste {
  fill: #D38A19;
  opacity: 1;
  transition: opacity 400ms cubic-bezier(.2, .7, .2, 1);
}

.hzfx-flow-ping {
  fill: none;
  stroke: #D38A19;
  stroke-width: 2;
  transform-box: fill-box;
  transform-origin: center;
  animation: hzfx-flow-ping 1.8s cubic-bezier(.2, .7, .2, 1) infinite;
}

@keyframes hzfx-flow-ping {
  0% { opacity: .5; transform: scale(.72); }
  80%, 100% { opacity: 0; transform: scale(1.9); }
}

.hzfx-flow-particles {
  fill: var(--blue);
  opacity: 0;
  transition: opacity 250ms cubic-bezier(.2, .7, .2, 1);
}

.hzfx-flow-particles circle {
  will-change: transform;
}

.hzfx-flow-slow {
  fill: var(--muted);
  opacity: 1;
}

.hzfx-flow-fast {
  fill: url(#gBrand);
}

.hzfx-flow-static {
  display: none;
  fill: var(--muted);
}

.hzfx-flow-stations circle {
  fill: #fff;
  stroke: var(--hair-2);
  stroke-width: 1.5;
}

.hzfx-flow-stations text {
  fill: var(--ink);
  font-family: var(--f-d);
  font-size: 12px;
  font-weight: 600;
  text-anchor: middle;
}

.hzfx-flow-stations .hzfx-flow-label {
  fill: var(--ink-2);
  font-size: 11px;
  font-weight: 500;
}

.hzfx-flow-card.hzfx-flow-lean .hzfx-flow-waste,
.hzfx-flow-card.hzfx-flow-lean .hzfx-flow-slow {
  opacity: 0;
}

.hzfx-flow-card.hzfx-flow-lean .hzfx-flow-fast,
.hzfx-flow-card.hzfx-flow-lean .hzfx-flow-pull-line {
  opacity: 1;
}

.hzfx-flow-card.hzfx-flow-lean .hzfx-flow-static {
  fill: url(#gBrand);
}

.hzfx-flow-card.hzfx-flow-static-mode .hzfx-flow-ping,
.hzfx-flow-card.hzfx-flow-static-mode .hzfx-flow-particles {
  display: none;
}

.hzfx-flow-card.hzfx-flow-static-mode .hzfx-flow-static {
  display: block;
}

.hzfx-flow-card figcaption {
  color: var(--ink-2);
  font-size: 11.5px;
  line-height: 1.45;
  text-align: center;
}

@media (max-width: 860px) {
  .hzfx-flow-card {
    padding: 16px 14px 14px;
  }

  .hzfx-flow-toggle-btn {
    min-height: 40px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hzfx-flow-ping {
    display: none;
    animation: none;
  }

  .hzfx-flow-particles {
    display: none;
    transition: none;
  }

  .hzfx-flow-particles circle {
    will-change: auto;
  }

  .hzfx-flow-static {
    display: block;
  }

  .hzfx-flow-waste,
  .hzfx-flow-pull-line {
    transition: none;
  }
}

/* T2 · DDX radar skor kartı */
.hzfx-radar-card {
  margin: 0 0 22px;
  padding: 20px 20px 15px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--hair);
  border-radius: 18px;
}

.hzfx-radar {
  display: block;
  width: 100%;
  height: auto;
}

.hzfx-radar-grid polygon,
.hzfx-radar-grid line {
  fill: none;
  stroke: var(--hair-2);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}

.hzfx-radar-data {
  fill: rgba(31, 43, 221, .10);
  stroke: url(#gBrand);
  stroke-width: 2.2;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.hzfx-radar-dot {
  fill: var(--navy);
  stroke: #fff;
  stroke-width: 2;
  opacity: 0;
  transform: scale(0);
  transform-box: fill-box;
  transform-origin: center;
  transition:
    opacity 150ms cubic-bezier(.2, .7, .2, 1),
    transform 150ms cubic-bezier(.2, .7, .2, 1);
}

.hzfx-radar-complete .hzfx-radar-dot {
  opacity: 1;
  transform: scale(1);
}

.hzfx-radar-labels {
  fill: var(--muted);
  font-family: var(--f-d);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: .01em;
}

.hzfx-radar-card figcaption {
  margin-top: 3px;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.45;
  text-align: center;
}

@media (max-width: 860px) {
  .hzfx-radar-card {
    padding: 16px 14px 14px;
  }

  .hzfx-radar-labels {
    font-size: 11px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hzfx-radar-dot {
    opacity: 1;
    transform: scale(1);
    transition: none;
  }
}

/* T1 · Işık Yolu */
.hz-journey.hzfx-journey::before {
  background: var(--hair-2);
  opacity: 1;
}

.hzfx-journey-line {
  position: absolute;
  z-index: 1;
  top: 22px;
  right: 10%;
  left: 10%;
  height: 3px;
  border-radius: 999px;
  background: var(--grad);
  pointer-events: none;
  opacity: .92;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 1.4s cubic-bezier(.2, .7, .2, 1);
  will-change: transform;
}

.hzfx-journey.hzfx-journey-active .hzfx-journey-line {
  transform: scaleX(1);
}

.hzfx-journey-spark {
  position: absolute;
  z-index: 3;
  top: 18px;
  left: calc(10% - 5px);
  width: 10px;
  height: 10px;
  border: 2px solid rgba(255, 255, 255, .92);
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 1px rgba(31, 43, 221, .18);
  pointer-events: none;
  opacity: 0;
  transform: translate3d(0, 0, 0);
  will-change: opacity, transform;
}

.hzfx-journey-spark::before {
  content: "";
  position: absolute;
  top: 1px;
  right: 7px;
  width: 12px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(20, 210, 240, 0), rgba(31, 43, 221, .35));
}

.hzfx-journey .hz-jstep {
  z-index: 2;
}

.hzfx-journey .hz-jstep i {
  overflow: hidden;
  transform: scale(1);
  transition: transform 350ms cubic-bezier(.2, .7, .2, 1);
}

.hzfx-node-fill {
  position: absolute;
  z-index: 0;
  inset: -2px;
  border-radius: 50%;
  background: var(--navy);
  opacity: 0;
  transform: scale(.76);
  transition:
    opacity 350ms cubic-bezier(.2, .7, .2, 1),
    transform 350ms cubic-bezier(.2, .7, .2, 1);
}

.hzfx-node-number {
  position: relative;
  z-index: 1;
}

.hzfx-journey .hz-jstep b {
  opacity: .56;
  transition: opacity 350ms cubic-bezier(.2, .7, .2, 1);
}

.hzfx-journey .hz-jstep.hzfx-on i {
  color: #fff;
  transform: scale(1.035);
}

.hzfx-journey .hz-jstep.hzfx-on .hzfx-node-fill {
  opacity: 1;
  transform: scale(1);
}

.hzfx-journey .hz-jstep.hzfx-on b {
  opacity: 1;
}

@media (max-width: 860px) {
  .hzfx-journey-line,
  .hzfx-journey-spark {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hzfx-journey-line {
    transform: scaleX(1);
    transition: none;
    will-change: auto;
  }

  .hzfx-journey-spark {
    display: none;
  }

  .hzfx-journey .hz-jstep i,
  .hzfx-node-fill,
  .hzfx-journey .hz-jstep b {
    transition: none;
    will-change: auto;
  }
}
