/**
 * BBC YAPI MÜHENDİSLİK — ERP Nedir Sayfası
 * ----------------------------------------------------------------------------
 * Bu stil daha önce page-erp-nedir.php içinde satır içi olarak basılıyordu:
 * 97 satır CSS her sayfa görüntülemesinde yeniden indiriliyor ve tarayıcıda
 * önbelleklenemiyordu. Şablon artık bbc_enqueue_template_style() ile bu
 * dosyayı sürümlenmiş olarak kuyruğa alır.
 */

/* ---------- Hero üst blok (eyebrow / başlık / breadcrumb) ---------- */
	.erp-nedir-hero { background: var(--ink-900); color: var(--text-inverse); padding: 88px 0 0; position: relative; overflow: hidden; }
	.erp-nedir-hero::before {
		content: ""; position: absolute; inset: 0;
		background: radial-gradient( 900px 420px at 88% -12%, rgba(245,166,35,0.16), transparent 60% );
		pointer-events: none;
	}
	.erp-nedir-hero .container { position: relative; }
	.erp-nedir-breadcrumb { font-size: 12px; color: rgba(255,255,255,0.55); margin-bottom: 20px; }
	.erp-nedir-breadcrumb a { color: rgba(255,255,255,0.75); }
	.erp-nedir-breadcrumb a:hover { color: var(--amber-500); }
	.erp-nedir-hero h1 {
		font-family: var(--font-display); font-weight: 900; line-height: 1.08; text-transform: uppercase;
		font-size: clamp(28px, 4.6vw, 48px); max-width: 20ch; margin-bottom: 18px;
	}
	.erp-nedir-hero h1 span { color: var(--amber-500); }
	.erp-nedir-lead { max-width: 62ch; color: rgba(255,255,255,0.78); font-size: 16px; line-height: 1.65; margin-bottom: 28px; }
	.erp-nedir-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 56px; }
	.erp-mini-note { font-size: 12.5px; color: rgba(255,255,255,0.5); margin-top: -16px; margin-bottom: 40px; }

	/* ---------- Sorun (eskiden/şimdi) ---------- */
	.problem-conclusion { text-align: center; margin-top: 2.75rem; font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; color: var(--text-heading); }
	.problem-conclusion span { color: var(--brand-primary); }

	/* ---------- Nasıl çalışır (zaman çizelgesi) ---------- */
	.day-timeline.process-steps-grid { grid-template-columns: repeat(3, 1fr); row-gap: 3rem; }
	.day-timeline .step-badge { font-family: var(--font-mono); letter-spacing: 0; padding: 2px 7px; }
	.timeline-note { text-align: center; font-size: 13.5px; font-style: italic; color: rgba(255,255,255,0.55); margin-top: -1.75rem; margin-bottom: 2.5rem; }

	/* ---------- Modüller ---------- */
	.erp-module-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 2.75rem; }
	@media (max-width: 992px) { .erp-module-grid { grid-template-columns: repeat(2, 1fr); } }
	@media (max-width: 640px) { .erp-module-grid { grid-template-columns: 1fr; } }
	.erp-module-card {
		background: var(--surface-card); border: 1px solid var(--border-card); border-radius: 8px;
		padding: 22px; display: flex; flex-direction: column;
		opacity: 0; transform: translateY(14px); transition: opacity 600ms var(--ease-default), transform 600ms var(--ease-default);
	}
	.erp-module-card.animated { opacity: 1; transform: translateY(0); }
	.erp-module-card .module-card-icon { width: 42px; height: 42px; background: var(--brand-primary-soft); color: var(--brand-primary); border-radius: 6px; display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
	.erp-module-card h4 { font-family: var(--font-display); font-size: 17px; font-weight: 700; color: var(--text-heading); margin-bottom: 6px; }
	.erp-module-card p { font-size: 13.5px; line-height: 1.55; color: var(--text-muted); margin-bottom: 16px; }
	.erp-module-demo { margin-top: auto; padding-top: 14px; border-top: 1px dashed var(--border-hairline); }

	.md-progress-row { display: flex; align-items: center; gap: 10px; }
	.md-progress-row .progress-track { flex: 1; }
	.erp-module-card:not(.animated) .progress-fill { width: 0 !important; }
	.erp-module-card:not(.animated) .md-mini-bar { height: 0 !important; }

	.md-week { display: flex; gap: 4px; }
	.md-week span { flex: 1; text-align: center; font-family: var(--font-mono); font-size: 11px; font-weight: 700; padding: 6px 0; border-radius: 3px; color: #fff; }
	.md-g { background: #22C55E; } .md-i { background: #F59E0B; } .md-r { background: var(--brand-primary); } .md-c { background: var(--neutral-600); }
	.md-caption { display: block; font-size: 11px; color: var(--text-muted); margin-top: 8px; }

	.md-steps { display: flex; align-items: center; justify-content: space-between; }
	.md-steps span { font-size: 11px; font-weight: 700; color: var(--text-muted); position: relative; padding-top: 16px; text-align: center; flex: 1; }
	.md-steps span::before { content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 9px; height: 9px; border-radius: 50%; background: var(--brand-primary); }

	.md-bars { display: flex; align-items: flex-end; gap: 5px; height: 34px; }
	.md-mini-bar { width: 10px; border-radius: 2px 2px 0 0; background: var(--brand-primary); align-self: flex-end; height: var(--h); transition: height 900ms var(--ease-default) 150ms; }
	.md-mini-bar.expense { background: var(--neutral-600); }

	.md-hk-row { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--text-muted); padding: 2px 0; }
	.md-hk-row b { font-family: var(--font-mono); color: var(--text-heading); }
	.md-hk-row.net { border-top: 1px solid var(--border-hairline); margin-top: 4px; padding-top: 6px; font-weight: 700; }
	.md-hk-row.net b { color: var(--brand-primary); }

	.md-ring { --p: 68; width: 46px; height: 46px; border-radius: 50%; display: flex; align-items: center; justify-content: center; position: relative; background: conic-gradient(var(--brand-primary) calc(var(--p) * 1%), var(--neutral-200) 0); flex-shrink: 0; }
	.md-ring::after { content: ""; position: absolute; inset: 4px; border-radius: 50%; background: var(--surface-card); }
	.md-ring span { position: relative; z-index: 1; font-family: var(--font-mono); font-size: 10.5px; font-weight: 700; color: var(--text-heading); }

	/* ---------- Roller ---------- */
	.role-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: 2.5rem; }
	@media (max-width: 992px) { .role-grid { grid-template-columns: repeat(2, 1fr); } }
	@media (max-width: 576px) { .role-grid { grid-template-columns: 1fr; } }
	.role-card { background: var(--surface-alt); border: 1px solid var(--border-card); border-radius: 8px; padding: 18px; }
	.role-card .module-card-icon { width: 36px; height: 36px; margin-bottom: 10px; }
	.role-card h4 { font-family: var(--font-display); font-size: 14.5px; font-weight: 700; color: var(--text-heading); margin-bottom: 5px; }
	.role-card p { font-size: 12.5px; line-height: 1.5; color: var(--text-muted); margin: 0; }

	/* ---------- Neden BBC Yapı ---------- */
	.why-stats-row { display: flex; justify-content: center; gap: 3.5rem; margin: 2.5rem 0 3rem; flex-wrap: wrap; }
	.why-stat { text-align: center; }
	.why-stat .num { font-family: var(--font-display); font-size: 2.4rem; font-weight: 900; color: var(--brand-primary); }
	.why-stat .lbl { font-size: 12.5px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.06em; }
	.why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.75rem 2.5rem; }
	@media (max-width: 768px) { .why-grid { grid-template-columns: 1fr; } .why-stats-row { gap: 2rem; } }
	.why-item { display: flex; gap: 1rem; }
	.why-item .module-card-icon { flex-shrink: 0; }
	.why-item h4 { font-family: var(--font-display); font-size: 15.5px; font-weight: 700; color: var(--text-heading); margin-bottom: 4px; }
	.why-item p { font-size: 13.5px; color: var(--text-muted); line-height: 1.55; margin: 0; }

	/* ---------- Kapanış ---------- */
	.erp-nedir-cta { background: var(--ink-900); color: var(--text-inverse); border-radius: var(--radius-card); padding: 40px clamp(24px,4vw,52px); display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
	.erp-nedir-cta h3 { font-family: var(--font-display); font-weight: 800; font-size: 22px; max-width: 26ch; }
	.erp-nedir-cta p { margin-top: 8px; color: rgba(255,255,255,0.7); font-size: 14px; max-width: 44ch; }
	.erp-nedir-cta .cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
