/*
 * Web Sitesi Tercümesi · w05 Çalışma düzeni (.bt-hs--ws-surec) — Figma 822:2661 (1440 × 661) / 822:2698 (390 × 1237).
 *
 * Bant: light. Akış aralığı 56 (≤1024: 32): başlık bloğu (en çok 780, aralık 18; giriş Body/Body 17/27.2 mürekkep) →
 * yol. Figma alt dolgusu 96 (üst 86.4): masaüstünde --hs-pad-bottom aynı oranla büyür (1440'ta 96).
 * Masaüstü yolu: 5 sütun (aralık 30, 1440'ta 216); y 27'de 2 px altın hat, ilk dairenin ortasından son dairenin
 * ortasına (sol/sağ = yarım sütun); 56 px daire (dışında 5 px bant rengi halka hattı keser, lacivert dolgu, altın numara;
 * son durak altın dolgu, lacivert numara), aralık 12, H3 17/23 (Figma kutusu) 600 lacivert, metin 15/23.25 soluk, ortalı.
 * Dosya simgesi (`token`): lacivert 8 köşe, dolgu 5/8, 10/12 600 altın tek aralıklı yazı; hareketsiz konumu hattın
 * %62.5'i (Figma: 3. ve 4. durağın ortası, x 700…746). Hareket: taşıyıcı hat boyunda bir kutudur, translateX(0…100 %)
 * ile kayar (yalnız transform/opacity); daireler simgenin üstünde kalır. Betik bölüm görünürken oynatır.
 * ≤1024 px dikey ray (Figma 390): satır = 44 px daire + altında 2 px altın çizgi (son durakta yok) | metin (üst 8,
 * alt 28, aralık 6); dosya simgesi gizli.
 * Figma'daki Geist Mono (numara, dosya simgesi) yerine sistem tek aralıklı yazı yığını (yeni web yazı tipi yok).
 */

/* ---------------------------------------------------------------- Bölüm akışı */

.bt-hs--ws-surec {
	--ws-surec-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
	--hs-pad-bottom: calc(var(--hs-pad-y) * 96 / 86.4);
}

.bt-hs--ws-surec .bt-hs__inner {
	display: flex;
	flex-direction: column;
	gap: 56px;
}

/* ---------------------------------------------------------------- Başlık bloğu */

.bt-hs--ws-surec .ws-surec__head {
	max-width: 780px;
	gap: 18px;
}

.bt-hs--ws-surec .ws-surec__kicker {
	min-height: 20px;
}

.bt-hs--ws-surec .ws-surec__h2 {
	color: var(--hs-navy-deep-900);
}

.bt-hs--ws-surec .ws-surec__intro {
	color: var(--hs-ink);
	font-size: var(--hs-fs-body);
	line-height: 27.2px;
}

/* ---------------------------------------------------------------- Yol (masaüstü: yatay) */

.bt-hs--ws-surec .ws-surec__path {
	--ws-surec-gap: 30px;
	--ws-surec-col: calc((100% - (var(--ws-surec-n, 5) - 1) * var(--ws-surec-gap)) / var(--ws-surec-n, 5));

	position: relative;
}

.bt-hs--ws-surec .ws-surec__rail {
	position: absolute;
	top: 0;
	right: 0;
	left: 0;
	z-index: 0;
	height: 56px;
	overflow: hidden;
	pointer-events: none;
}

.bt-hs--ws-surec .ws-surec__line {
	position: absolute;
	top: 27px;
	right: calc(var(--ws-surec-col) / 2);
	left: calc(var(--ws-surec-col) / 2);
	height: 2px;
	background: var(--hs-gold);
}

/* Taşıyıcı: hat uzunluğunda kutu; sol kenarı simgenin ortasıdır. translateX yüzdesi kutunun kendi genişliğine göredir,
   yani 0 → ilk daire, 100 % → son daire. */
.bt-hs--ws-surec .ws-surec__mover {
	position: absolute;
	top: 14px;
	left: calc(var(--ws-surec-col) / 2);
	width: calc(100% - var(--ws-surec-col));
	height: 22px;
	transform: translateX(62.5%);
}

.bt-hs--ws-surec .ws-surec__token {
	position: absolute;
	top: 0;
	left: 0;
	display: block;
	padding: 5px 8px;
	border-radius: 8px;
	background: var(--hs-navy);
	color: var(--hs-gold);
	font-family: var(--ws-surec-mono);
	font-size: 10px;
	font-weight: 600;
	line-height: 12px;
	white-space: nowrap;
	transform: translateX(-50%);
}

.bt-hs--ws-surec .ws-surec__list {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: repeat(var(--ws-surec-n, 5), minmax(0, 1fr));
	column-gap: var(--ws-surec-gap);
	row-gap: 32px;
}

.bt-hs--ws-surec .ws-surec__station {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	min-width: 0;
	text-align: center;
}

.bt-hs--ws-surec .ws-surec__num {
	display: flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	border-radius: var(--hs-radius-pill);
	box-shadow: 0 0 0 5px var(--hs-c-bg);
	background: var(--hs-navy);
	color: var(--hs-gold);
	font-family: var(--ws-surec-mono);
	font-size: 16px;
	font-weight: 600;
	line-height: 20px;
	font-variant-numeric: tabular-nums;
}

.bt-hs--ws-surec .ws-surec__station--last .ws-surec__num {
	background: var(--hs-gold);
	color: var(--hs-navy);
}

.bt-hs--ws-surec .ws-surec__body {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 12px;
	width: 100%;
	min-width: 0;
}

.bt-hs--ws-surec .ws-surec__title {
	color: var(--hs-navy);
	font-size: var(--hs-fs-h4);
	font-weight: 600;
	line-height: 23px;
	letter-spacing: 0;
}

.bt-hs--ws-surec .ws-surec__text {
	color: var(--hs-muted);
	font-size: var(--hs-fs-card-text);
	line-height: 23.25px;
}

/* Hareket: yalnız hareket tercihi kısıtlanmamışsa ve yatay düzende. Negatif gecikme döngüyü hareketsiz konumdan
   (%62.5) başlatır; betik bölüm görünürken [data-ws-surec-live] ile oynatır, görünmezken duraklatır. */
@media (prefers-reduced-motion: no-preference) and (min-width: 1025px) {
	.bt-hs--ws-surec .ws-surec__mover {
		animation: ws-surec-travel 16s linear -10s infinite;
		animation-play-state: paused;
	}

	.bt-hs--ws-surec [data-ws-surec-live] .ws-surec__mover {
		animation-play-state: running;
	}
}

@keyframes ws-surec-travel {
	0% {
		opacity: 0;
		transform: translateX(0);
	}

	5% {
		opacity: 1;
	}

	95% {
		opacity: 1;
	}

	100% {
		opacity: 0;
		transform: translateX(100%);
	}
}

/* ---------------------------------------------------------------- ≤1024 px: dikey ray (Figma 390) */

@media (max-width: 1024px) {
	.bt-hs--ws-surec {
		--hs-pad-bottom: var(--hs-pad-y);
	}

	.bt-hs--ws-surec .bt-hs__inner {
		gap: 32px;
	}

	.bt-hs--ws-surec .ws-surec__rail {
		display: none;
	}

	.bt-hs--ws-surec .ws-surec__list {
		grid-template-columns: minmax(0, 1fr);
		row-gap: 0;
		max-width: 780px;
	}

	.bt-hs--ws-surec .ws-surec__station {
		position: relative;
		flex-direction: row;
		align-items: flex-start;
		gap: 16px;
		text-align: start;
	}

	/* Daireden sonraki ray: dairenin altından satırın sonuna 2 px altın çizgi (son durakta yok). */
	.bt-hs--ws-surec .ws-surec__station::before {
		content: "";
		position: absolute;
		top: 44px;
		bottom: 0;
		left: 21px;
		width: 2px;
		background: var(--hs-gold);
	}

	.bt-hs--ws-surec .ws-surec__station--last::before {
		content: none;
	}

	.bt-hs--ws-surec .ws-surec__num {
		width: 44px;
		height: 44px;
		box-shadow: none;
		font-size: 13px;
		line-height: 16px;
	}

	.bt-hs--ws-surec .ws-surec__body {
		flex: 1 1 auto;
		gap: 6px;
		width: auto;
		padding: 8px 0 28px;
	}
}
