/*
 * otocekicim — sayfa-hizmetler.css
 *
 * Hizmetler arşivi (/hizmetler/) ve "Hizmetler" sayfa şablonu.
 * Ölçüler prototipten birebir: Hizmetler.dc.html / _tools/out/D-Hizmetler.txt
 *
 * Yalnız .otc-hz-* sınıfları tanımlanır; temel.css'teki paylaşılan sınıflar
 * (kart, düğme, kap, sayfa başı) burada yeniden tanımlanmaz (K8).
 * HEX yazılmaz, 100vw ve !important kullanılmaz (K3, K5, K32).
 */

/* ---------------------------------------------------------- 1. Kart ızgarası */

/* Prototip: padding:80px 0 96px */
.otc-hz-liste {
	padding: 80px 0 96px;
}

/* Prototip: repeat(auto-fit, minmax(min(100%,320px), 1fr)); gap:24px */
.otc-hz-izgara {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
	gap: 24px;
}

/* -------------------------------------------- 2. "Hangi hizmet size uygun?" */

.otc-hz-uygun {
	padding: 88px 0;
	border-top: 1px solid var(--otc-cizgi);
	border-bottom: 1px solid var(--otc-cizgi);
}

/* Prototip: repeat(auto-fit, minmax(min(100%,380px), 1fr)); gap:48px */
.otc-hz-uygun-izgara {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
	gap: 48px;
	align-items: start;
}

.otc-hz-uygun-metin {
	display: flex;
	flex-direction: column;
	gap: 14px;
	min-width: 0;
}

/* .otc-eyebrow 12px'tir; bu bantta prototip 13px kullanır. */
.otc-hz-uygun-etiket {
	font-size: 13px;
}

/* .otc-h2 clamp(26px,2.8vw,36px); bu bantta prototip bir kademe büyüktür. */
.otc-hz-uygun-baslik {
	font-size: clamp(28px, 3vw, 40px);
}

.otc-hz-uygun-ozet {
	font-size: 17px;
	line-height: 1.6;
	color: var(--otc-gri);
	text-wrap: pretty;
}

.otc-hz-uygun-btn {
	align-self: flex-start;
	padding: 14px 22px;
}

/* ---------------------------------------------------------- 3. Durum kartları */

.otc-hz-durumlar {
	display: flex;
	flex-direction: column;
	gap: 10px;
	min-width: 0;
}

.otc-hz-durum {
	display: flex;
	align-items: flex-start;
	gap: 16px;
	padding: 20px 22px;
	background: var(--otc-beyaz);
	border: 1px solid var(--otc-cizgi);
	border-radius: var(--otc-r-orta);
}

/* Küçük turuncu metin AA altındadır → --otc-turuncu-metin (K30). */
.otc-hz-durum-etiket {
	flex: none;
	padding-top: 3px;
	font-size: 13px;
	font-weight: 700;
	color: var(--otc-turuncu-metin);
}

.otc-hz-durum-metin {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
}

.otc-hz-durum-baslik {
	font-size: 16px;
	font-weight: 700;
	text-wrap: pretty;
}

.otc-hz-durum-ozet {
	font-size: 14.5px;
	line-height: 1.5;
	color: var(--otc-gri);
	text-wrap: pretty;
}

/* ---------------------------------------------------------- 4. Kırılımlar */

/* 760px — iki sütunlu bant tek sütuna iner (K31). */
@media (max-width: 759.98px) {

	.otc-hz-liste {
		padding: 48px 0 56px;
	}

	.otc-hz-uygun {
		padding: 56px 0;
	}

	.otc-hz-uygun-izgara {
		grid-template-columns: minmax(0, 1fr);
		gap: 32px;
	}
}

/* 560px — yatay CTA satırları dikeye döner (K31). */
@media (max-width: 559.98px) {

	.otc-hz-uygun-btn {
		align-self: stretch;
		justify-content: center;
	}

	.otc-hz-durum {
		flex-direction: column;
		gap: 8px;
		padding: 18px;
	}

	.otc-hz-durum-etiket {
		padding-top: 0;
	}
}
