.ksf-process {
  --ksf-navy: #123b5a;
  --ksf-navy-deep: #0c2e49;
  --ksf-orange: #f27927;
  --ksf-paper: #fbf7ef;
  --ksf-ink: #183b52;
  --ksf-cycle: 18s;
  position: relative;
  isolation: isolate;
  width: 100%;
  padding: clamp(26px, 3.4vw, 44px) clamp(14px, 3vw, 38px) 30px;
  overflow: hidden;
  color: var(--ksf-ink);
  background:
    radial-gradient(ellipse at 9% 12%, rgba(247, 217, 177, .24), transparent 36%),
    var(--ksf-paper);
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
}
.ksf-process *,
.ksf-process *::before,
.ksf-process *::after { box-sizing: border-box; }
.ksf-process::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  background-image: radial-gradient(rgba(30, 62, 81, .13) .45px, transparent .55px);
  background-size: 5px 5px;
  content: "";
  opacity: .16;
  pointer-events: none;
}
.ksf-process-inner {
  width: min(1220px, 100%);
  margin-inline: auto;
}
.ksf-heading {
  margin: 0 0 21px;
  text-align: center;
}
.ksf-eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin: 0 0 7px;
  color: #ba6526;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .16em;
  line-height: 1.2;
  text-transform: uppercase;
}
.ksf-eyebrow span {
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--ksf-orange);
}
.ksf-heading h2 {
  font-family: inherit;
  scroll-margin-top: 110px;
  margin: 0;
  color: var(--ksf-navy);
  font-size: clamp(25px, 3vw, 36px);
  font-weight: 700;
  letter-spacing: -.035em;
  line-height: 1.12;
  text-wrap: balance;
}
.ksf-steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 13px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}
.ksf-step {
  position: relative;
  display: flex;
  min-height: 54px;
  align-items: center;
  padding: 9px 11px 9px 41px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 8px 15px 8px 15px;
  background: var(--ksf-navy);
  box-shadow: 0 5px 13px rgba(15, 48, 71, .13);
  color: #fff;
}
.ksf-step:not(:last-child)::after {
  position: absolute;
  z-index: 2;
  top: 50%;
  right: -10px;
  width: 10px;
  height: 10px;
  transform: translate(50%, -50%) rotate(45deg);
  border-top: 3px solid #fff;
  border-right: 3px solid #fff;
  filter: drop-shadow(1px 1px 0 #f27927) drop-shadow(-1px -1px 0 #f27927);
  content: "";
}
.ksf-step-number {
  position: absolute;
  top: 50%;
  left: 7px;
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  transform: translateY(-50%);
  border: 2px solid rgba(255,255,255,.92);
  border-radius: 50%;
  background: var(--ksf-orange);
  box-shadow: 0 2px 6px rgba(12, 46, 73, .24);
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 19px;
  font-weight: 700;
  line-height: 1;
}
.ksf-step-name {
  display: block;
  font-size: clamp(11px, 1.12vw, 14px);
  font-weight: 750;
  line-height: 1.2;
  text-wrap: balance;
}
.ksf-visual { position: relative; }
.ksf-stage {
  position: relative;
  height: clamp(248px, 27vw, 326px);
  overflow: hidden;
  isolation: isolate;
  border: 1px solid rgba(29, 69, 84, .18);
  border-radius: 13px 28px 13px 28px;
  background: #b8d0d4;
  box-shadow: 0 16px 28px rgba(26, 51, 57, .16);
  --ksf-drive: 50vw;
  --ksf-exit: 140vw;
}
.ksf-landscape {
  position: absolute;
  z-index: -2;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 83%;
}
.ksf-stage::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(180deg, rgba(253,246,228,.24) 0%, rgba(255,248,224,.04) 52%, rgba(21,37,45,.04) 100%);
  content: "";
}
.ksf-reference-panels {
  position: absolute;
  inset: 0 0 28px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  overflow: hidden;
}
.ksf-reference-panels img {
  display: block;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  object-fit: cover;
  border-right: 2px solid rgba(255,255,255,.8);
}
.ksf-success-photo {
  position: absolute;
  z-index: 1;
  inset: 0;
  opacity: 0;
  animation: ksf-success-mark var(--ksf-cycle) linear infinite;
}
.ksf-stage.ksf-static .ksf-success-photo { animation: none !important; opacity: 1; }
.ksf-kecskemet {
  position: absolute;
  z-index: 0;
  bottom: 39px;
  left: 28%;
  width: min(37%, 430px);
  height: 59%;
  overflow: hidden;
  filter: drop-shadow(0 6px 8px rgba(24,43,45,.2));
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 73%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 73%, transparent 100%);
}
.ksf-kecskemet img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 48%;
  -webkit-mask-image: radial-gradient(ellipse, #000 35%, transparent 73%);
  mask-image: radial-gradient(ellipse, #000 35%, transparent 73%);
}
.ksf-kecskemet span {
  position: absolute;
  top: 8px;
  right: 9px;
  padding: 4px 8px;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 3px;
  background: rgba(14, 54, 79, .86);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  line-height: 1.1;
  text-transform: uppercase;
}
.ksf-phone {
  position: absolute;
  z-index: 2;
  bottom: 30px;
  left: 5%;
  width: clamp(46px, 5.2vw, 66px);
  filter: drop-shadow(0 7px 8px rgba(20, 42, 53, .3));
  opacity: 0;
  transform-origin: 50% 100%;
  animation: ksf-phone-arrive var(--ksf-cycle) linear infinite;
}
.ksf-phone img {
  display: block;
  width: 100%;
  height: auto;
}
.ksf-house {
  position: absolute;
  z-index: 1;
  left: 40%;
  top: 0;
  bottom: 28px;
  width: 20%;
  line-height: 0;
}
.ksf-house .ksf-house-art { display: block; width: 100%; height: 100%; object-fit: cover; }
.ksf-house-halo,
.ksf-success-halo {
  position: absolute;
  z-index: 1;
  inset: 9% 6% 7%;
  border-radius: 48%;
  opacity: 0;
  pointer-events: none;
}
.ksf-house-halo {
  background: radial-gradient(ellipse, rgba(238, 52, 41, .6), rgba(231, 69, 39, .27) 41%, transparent 73%);
  animation: ksf-fault-halo var(--ksf-cycle) linear infinite;
}
.ksf-success-halo {
  background: radial-gradient(ellipse, rgba(60, 194, 93, .58), rgba(59, 179, 86, .23) 43%, transparent 74%);
  animation: ksf-success-halo var(--ksf-cycle) linear infinite;
}
.ksf-house-window {
  position: absolute;
  z-index: 2;
  top: 45%;
  left: 66%;
  width: 16%;
  height: 14%;
  border: 2px solid rgba(255, 244, 207, .75);
  border-radius: 3px;
  background: rgba(255, 190, 78, .16);
  box-shadow: 0 0 0 1px rgba(55,62,53,.2);
  opacity: .55;
  animation: ksf-window-glow var(--ksf-cycle) linear infinite;
}
.ksf-error-mark,
.ksf-success-mark {
  position: absolute;
  z-index: 4;
  top: 38%;
  left: 50%;
  display: block;
  width: 34%;
  height: 36%;
  object-fit: contain;
  opacity: 0;
  transform: translate(-50%, -50%);
}
.ksf-error-mark {
  filter: drop-shadow(0 0 7px rgba(255, 42, 37, .78));
  animation: ksf-error-mark var(--ksf-cycle) linear infinite;
}
.ksf-success-mark {
  filter: drop-shadow(0 0 8px rgba(46, 229, 99, .75));
  animation: ksf-success-mark var(--ksf-cycle) linear infinite;
}
.ksf-heat {
  position: absolute;
  z-index: 3;
  top: 47%;
  left: 76%;
  display: flex;
  gap: 4px;
  opacity: 0;
  animation: ksf-heat-show var(--ksf-cycle) linear infinite;
}
.ksf-heat i {
  display: block;
  width: 4px;
  height: 17px;
  transform: scaleY(.55);
  border: 1.5px solid #f29c42;
  border-top-color: transparent;
  border-bottom-color: transparent;
  border-radius: 50%;
  animation: ksf-heat-wave .75s ease-in-out infinite alternate;
}
.ksf-heat i:nth-child(2) { animation-delay: .15s; }
.ksf-heat i:nth-child(3) { animation-delay: .3s; }
.ksf-repair-tool {
  position: absolute;
  z-index: 4;
  right: 28%;
  bottom: 73px;
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  border: 2px solid rgba(255,255,255,.94);
  border-radius: 50%;
  background: var(--ksf-orange);
  box-shadow: 0 4px 9px rgba(35, 47, 49, .28);
  opacity: 0;
  transform: rotate(-20deg);
  animation: ksf-repair var(--ksf-cycle) linear infinite;
}
.ksf-repair-tool span {
  position: relative;
  display: block;
  width: 4px;
  height: 15px;
  transform: rotate(42deg);
  border-radius: 3px;
  background: #fff;
}
.ksf-repair-tool span::before,
.ksf-repair-tool span::after {
  position: absolute;
  left: 50%;
  width: 8px;
  height: 6px;
  transform: translateX(-50%);
  border: 2px solid #fff;
  border-radius: 5px 5px 2px 2px;
  content: "";
}
.ksf-repair-tool span::before { top: -5px; }
.ksf-repair-tool span::after { bottom: -5px; }
.ksf-road {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  left: 0;
  height: 29px;
  border-top: 3px solid rgba(238, 235, 209, .78);
  background: linear-gradient(180deg, #5a6263, #39444a);
  box-shadow: 0 -2px 7px rgba(37, 57, 58, .12);
}
.ksf-road i {
  position: absolute;
  top: 12px;
  width: clamp(27px, 4vw, 51px);
  height: 3px;
  border-radius: 4px;
  background: rgba(255, 248, 224, .82);
}
.ksf-road i:nth-child(1) { left: 15%; }
.ksf-road i:nth-child(2) { left: 42%; }
.ksf-road i:nth-child(3) { left: 68%; }
.ksf-road i:nth-child(4) { left: 90%; }
.ksf-van {
  position: absolute;
  z-index: 5;
  left: 9%;
  bottom: 15px;
  width: clamp(150px, 16vw, 205px);
  aspect-ratio: 378 / 155;
  line-height: 0;
  filter: drop-shadow(0 5px 5px rgba(31, 49, 56, .26));
  opacity: 0;
  transform: translateX(-125%);
  animation: ksf-van-drive var(--ksf-cycle) cubic-bezier(.4, 0, .2, 1) infinite;
}
.ksf-van-photo {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.ksf-van-brand {
  position: absolute;
  z-index: 2;
  top: 27%;
  left: 25%;
  display: flex;
  width: 31%;
  height: 27%;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 1px 2px;
  border-radius: 1px;
  background: rgba(255, 255, 255, .96);
  color: #123b5a;
  font-family: system-ui, sans-serif;
  line-height: 1;
  text-align: center;
}
.ksf-van-brand b {
  display: block;
  font-size: clamp(5px, .52vw, 7px);
  font-weight: 900;
  white-space: nowrap;
}
.ksf-van-brand small {
  display: block;
  margin-top: 1px;
  font-size: clamp(2.5px, .28vw, 3.5px);
  font-weight: 800;
  letter-spacing: .04em;
  white-space: nowrap;
}
.ksf-wheel {
  position: absolute;
  z-index: 3;
  display: block;
  width: 8.5%;
  aspect-ratio: 1;
  border: 1px solid rgba(255,255,255,.48);
  border-radius: 50%;
  background-image: url("knowledge-images/process/van.webp");
  background-repeat: no-repeat;
  background-size: var(--ksf-vehicle-w, clamp(150px, 16vw, 205px)) auto;
  transform-box: border-box;
  transform-origin: center;
  animation: ksf-wheel-cycle var(--ksf-cycle) linear infinite;
}
.ksf-wheel-front {
  top: calc(78.71% - 4.25%);
  left: calc(21.96% - 4.25%);
  background-position: 19.36% 86.3%;
}
.ksf-wheel-rear {
  top: calc(80% - 4.25%);
  left: calc(74.6% - 4.25%);
  background-position: 76.9% 87.9%;
}
.ksf-motion-control {
  position: absolute;
  z-index: 7;
  top: 12px;
  right: 12px;
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  gap: 7px;
  padding: 6px 11px;
  border: 1px solid rgba(255,255,255,.84);
  border-radius: 999px;
  background: rgba(249, 252, 248, .94);
  box-shadow: 0 3px 11px rgba(26, 55, 67, .18);
  color: var(--ksf-navy);
  font: 750 11px/1 system-ui, sans-serif;
  cursor: pointer;
  transition: background-color .16s ease, border-color .16s ease;
}
.ksf-motion-control:hover { border-color: #f2a247; background: #fffaf2; }
.ksf-motion-control:focus-visible { outline: 3px solid #f39a3d; outline-offset: 3px; }
.ksf-control-icon {
  display: flex;
  width: 10px;
  height: 11px;
  align-items: stretch;
  gap: 2px;
}
.ksf-control-icon i { width: 3px; border-radius: 1px; background: currentColor; }
.ksf-motion-control[aria-pressed="true"] .ksf-control-icon {
  width: 10px;
  height: 10px;
}
.ksf-motion-control[aria-pressed="true"] .ksf-control-icon i:first-child {
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 8px solid currentColor;
  background: transparent;
}
.ksf-motion-control[aria-pressed="true"] .ksf-control-icon i:last-child { display: none; }
.ksf-caption {
  margin: 12px 0 0;
  color: #526b77;
  font-size: 12px;
  line-height: 1.45;
  text-align: center;
}
.ksf-stage.ksf-is-paused *,
.ksf-stage.ksf-is-paused *::before,
.ksf-stage.ksf-is-paused *::after { animation-play-state: paused !important; }
.ksf-stage.ksf-static .ksf-phone,
.ksf-stage.ksf-static .ksf-repair-tool { animation: none !important; opacity: 0; }
.ksf-stage.ksf-static .ksf-house-halo { animation: none !important; opacity: 0; }
.ksf-stage.ksf-static .ksf-success-halo { animation: none !important; opacity: .8; }
.ksf-stage.ksf-static .ksf-error-mark { animation: none !important; opacity: 0; }
.ksf-stage.ksf-static .ksf-success-mark { animation: none !important; opacity: 1; }
.ksf-stage.ksf-static .ksf-house-window { animation: none !important; background: #ffd77e; opacity: 1; }
.ksf-stage.ksf-static .ksf-heat { animation: none !important; opacity: 1; }
.ksf-stage.ksf-static .ksf-van { animation: none !important; transform: translateX(var(--ksf-drive)); opacity: 1; }
@keyframes ksf-phone-arrive {
  0%, 3% { opacity: 0; transform: rotate(0); }
  5% { opacity: 1; transform: rotate(-8deg); }
  6% { transform: rotate(8deg); }
  7% { transform: rotate(-6deg); }
  8% { transform: rotate(6deg); }
  9%, 18% { opacity: 1; transform: rotate(0); }
  22%, 100% { opacity: 0; transform: rotate(0); }
}
@keyframes ksf-van-drive {
  0%, 11% { opacity: 0; transform: translateX(-125%); }
  14% { opacity: 1; transform: translateX(0); }
  40%, 74% { opacity: 1; transform: translateX(var(--ksf-drive)); }
  84% { opacity: 1; transform: translateX(var(--ksf-exit)); }
  90%, 96% { opacity: 0; transform: translateX(var(--ksf-exit)); }
  100% { opacity: 0; transform: translateX(-125%); }
}
@keyframes ksf-wheel-cycle {
  0%, 12% { transform: rotate(0); }
  40% { transform: rotate(1140deg); }
  74% { transform: rotate(1140deg); }
  84% { transform: rotate(1800deg); }
  100% { transform: rotate(2160deg); }
}
@keyframes ksf-fault-halo {
  0%, 26% { opacity: 0; }
  32%, 59% { opacity: .82; }
  68%, 100% { opacity: 0; }
}
@keyframes ksf-success-halo {
  0%, 60% { opacity: 0; }
  70%, 91% { opacity: .85; }
  100% { opacity: 0; }
}
@keyframes ksf-error-mark {
  0%, 27% { opacity: 0; }
  33%, 60% { opacity: 1; }
  68%, 100% { opacity: 0; }
}
@keyframes ksf-success-mark {
  0%, 61% { opacity: 0; }
  70%, 91% { opacity: 1; }
  100% { opacity: 0; }
}
@keyframes ksf-window-glow {
  0%, 65% { opacity: .45; }
  71%, 92% { opacity: 1; }
  100% { opacity: .45; }
}
@keyframes ksf-heat-show {
  0%, 68% { opacity: 0; }
  73%, 91% { opacity: 1; }
  100% { opacity: 0; }
}
@keyframes ksf-heat-wave { to { transform: scaleY(1); } }
@keyframes ksf-repair {
  0%, 46% { opacity: 0; transform: rotate(-20deg) scale(.8); }
  51%, 66% { opacity: 1; transform: rotate(18deg) scale(1); }
  70%, 100% { opacity: 0; transform: rotate(-20deg) scale(.8); }
}
@media (max-width: 760px) {
  .ksf-process { padding: 25px 14px 23px; }
  .ksf-heading { margin-bottom: 17px; }
  .ksf-heading h2 { max-width: 580px; margin-inline: auto; font-size: clamp(24px, 6vw, 31px); }
  .ksf-eyebrow { font-size: 10px; }
  .ksf-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
    margin-bottom: 14px;
  }
  .ksf-step { min-height: 49px; padding: 8px 8px 8px 39px; border-radius: 7px 12px 7px 12px; }
  .ksf-step:nth-child(5) { grid-column: 1 / -1; }
  .ksf-step::after { display: none; }
  .ksf-step-number { left: 6px; width: 29px; height: 29px; font-size: 17px; }
  .ksf-step-name { font-size: clamp(12px, 3.3vw, 14px); }
  .ksf-stage {
    height: clamp(218px, 60vw, 280px);
    border-radius: 10px 21px 10px 21px;
    --ksf-drive: 30vw;
    --ksf-exit: 140vw;
  }
  .ksf-landscape { object-position: center 82%; }
  .ksf-kecskemet {
    bottom: 35px;
    left: 27%;
    width: 41%;
    height: 55%;
  }
  .ksf-kecskemet span { top: 5px; right: 5px; padding: 3px 6px; font-size: 8px; }
  .ksf-phone { left: 2%; bottom: 24px; width: clamp(39px, 11vw, 52px); }
  .ksf-reference-panels { right: 50%; bottom: 25px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ksf-reference-panels > span,
  .ksf-panel-repair,
  .ksf-panel-warm { display: none !important; }
  .ksf-house { left: 50%; bottom: 25px; width: 50%; }
  .ksf-house-window { border-width: 1px; }
  .ksf-van {
    left: 8%;
    bottom: 13px;
    width: clamp(105px, 32vw, 143px);
  }
  .ksf-wheel { background-size: var(--ksf-vehicle-w, clamp(105px, 32vw, 143px)) auto; }
  .ksf-van-brand { top: 27%; left: 25%; width: 31%; height: 27%; }
  .ksf-van-brand b { font-size: clamp(4px, 1.25vw, 6px); }
  .ksf-van-brand small { font-size: clamp(2px, .7vw, 3px); }
  .ksf-repair-tool { right: 22%; bottom: 60px; width: 26px; height: 26px; }
  .ksf-road { height: 25px; }
  .ksf-road i { top: 10px; width: 24px; height: 2px; }
  .ksf-road i:nth-child(2) { left: 40%; }
  .ksf-road i:nth-child(3) { left: 67%; }
  .ksf-motion-control { top: 8px; right: 8px; min-height: 29px; padding: 5px 8px; font-size: 10px; }
  .ksf-caption { margin-top: 10px; font-size: 11px; }
}
@media (max-width: 370px) {
  .ksf-process { padding-inline: 10px; }
  .ksf-steps { gap: 7px; }
  .ksf-step { padding-left: 35px; }
  .ksf-step-number { left: 5px; width: 26px; height: 26px; font-size: 16px; }
  .ksf-step-name { font-size: 11.5px; }
  .ksf-motion-control { gap: 5px; }
  .ksf-stage { height: 218px; }
}
@media (prefers-reduced-motion: reduce) {
  .ksf-stage .ksf-success-photo { animation: none !important; opacity: 1; }
  .ksf-stage .ksf-phone,
  .ksf-stage .ksf-house-halo,
  .ksf-stage .ksf-success-halo,
  .ksf-stage .ksf-error-mark,
  .ksf-stage .ksf-success-mark,
  .ksf-stage .ksf-house-window,
  .ksf-stage .ksf-heat,
  .ksf-stage .ksf-repair-tool,
  .ksf-stage .ksf-van,
  .ksf-stage .ksf-wheel { animation: none !important; }
  .ksf-stage .ksf-phone,
  .ksf-stage .ksf-repair-tool { opacity: 0; }
  .ksf-stage .ksf-success-halo { opacity: .8; }
  .ksf-stage .ksf-error-mark { opacity: 0; }
  .ksf-stage .ksf-success-mark { opacity: 1; }
  .ksf-stage .ksf-house-window { background: #ffd77e; opacity: 1; }
  .ksf-stage .ksf-heat { opacity: 1; }
  .ksf-stage .ksf-van { transform: translateX(var(--ksf-drive)); opacity: 1; }
  .ksf-motion-control { display: none; }
}
