/* 메인 캐러셀 전체 영역 */
.mf-hero-carousel {
	position: relative;
	width: 100%;
	overflow: hidden;
	background-color: #f8fafc;
}

.mf-hero-slide {
	position: relative;
	width: 100%;
	min-height: 540px;
	display: flex;
	align-items: center;
}

/* DB 연동 배경 이미지 */
.mf-hero-bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: right center;
	z-index: 1;
}

/* 모바일·태블릿 화면에서 텍스트 가독성을 높이는 좌측 그라데이션 오버레이 */
.mf-hero-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(248, 250, 252, 0.92) 0%, rgba(248, 250, 252, 0.65) 48%, rgba(248, 250, 252, 0) 75%);
	z-index: 2;
}

/* 텍스트 콘텐츠 컨테이너 */
.mf-hero-container {
	position: relative;
	z-index: 3;
	width: 100%;
	max-width: 1280px;
	margin: 0 auto;
	padding: 80px 24px;
}

.mf-hero-content {
	max-width: 620px;
}

/* 상단 영문 태그 */
.mf-hero-badge {
	display: inline-block;
	padding: 6px 14px;
	margin-bottom: 18px;
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	color: #1d4ed8;
	background-color: rgba(29, 78, 216, 0.08);
	border: 1px solid rgba(29, 78, 216, 0.2);
	border-radius: 999px;
}

/* 메인 헤드라인 */
.mf-hero-title {
	margin: 0 0 20px;
	font-size: 2.75rem;
	font-weight: 800;
	line-height: 1.28;
	letter-spacing: -0.02em;
	color: #0f172a;
	word-break: keep-all;
}

.mf-hero-title .accent {
	color: #1d4ed8;
}

/* 서브 설명 */
.mf-hero-desc {
	margin: 0 0 34px;
	font-size: 1.0625rem;
	font-weight: 400;
	line-height: 1.65;
	color: #334155;
	word-break: keep-all;
}

/* CTA 버튼 */
.mf-hero-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 14px 28px;
	font-size: 1rem;
	font-weight: 600;
	color: #ffffff;
	background-color: #1d4ed8;
	border-radius: 8px;
	text-decoration: none;
	transition: background-color 0.2s ease, transform 0.2s ease;
}

.mf-hero-btn:hover,
.mf-hero-btn:focus {
	color: #ffffff;
	background-color: #1e40af;
	transform: translateY(-2px);
}

/* 히어로 슬라이드 표시 규칙 (다른 CSS가 덮어써도 동작하도록 고정) */
.mf-hero-carousel .carousel-item { display: none; float: none; margin-right: 0; transition: none; }
.mf-hero-carousel .carousel-item.active { display: block; animation: mfHeroFade .6s ease; }
@keyframes mfHeroFade { from { opacity: 0; } to { opacity: 1; } }


/* 캐러셀 좌우 화살표 및 인디케이터 가시성·클릭 우선순위 보강 */
.mf-hero-carousel .carousel-indicators {
	z-index: 20;
}

.mf-hero-carousel .carousel-indicators [data-bs-target] {
	background-color: #1d4ed8;
}

.mf-hero-carousel .carousel-control-prev,
.mf-hero-carousel .carousel-control-next {
	width: 56px;
	height: 56px;
	top: 50%;
	transform: translateY(-50%);
	background-color: rgba(15, 23, 42, 0.45);
	border-radius: 50%;
	z-index: 20;
	opacity: 0.9;
	transition: background-color 0.2s ease, opacity 0.2s ease;
}

.mf-hero-carousel .carousel-control-prev {
	left: 20px;
}

.mf-hero-carousel .carousel-control-next {
	right: 20px;
}

.mf-hero-carousel .carousel-control-prev:hover,
.mf-hero-carousel .carousel-control-next:hover {
	background-color: #1d4ed8;
	opacity: 1;
}

.mf-hero-carousel .carousel-control-prev-icon,
.mf-hero-carousel .carousel-control-next-icon {
	width: 1.5rem;
	height: 1.5rem;
	background-color: transparent;
}

/* 모바일 반응형 */
@media (max-width: 768px) {
	.mf-hero-slide {
		min-height: 440px;
	}
	.mf-hero-overlay {
		background: linear-gradient(180deg, rgba(248, 250, 252, 0.94) 0%, rgba(248, 250, 252, 0.85) 65%, rgba(248, 250, 252, 0.55) 100%);
	}
	.mf-hero-title {
		font-size: 1.875rem;
	}
	.mf-hero-desc {
		font-size: 0.95rem;
	}
}

/* ==========================================================================
[섹션 3] 3대 핵심 사업 인포그래픽 영역 (몰드커스텀 · 몰드렌탈 · 하드웨어)
========================================================================== */
.mf-biz-section {
	padding: 96px 0;
	background-color: #ffffff;
}

.mf-sec-header {
	text-align: center;
	margin-bottom: 56px;
}

.mf-sec-eyebrow {
	display: inline-block;
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	color: #1d4ed8;
	margin-bottom: 10px;
}

.mf-sec-title {
	margin: 0;
	font-size: 2.125rem;
	font-weight: 800;
	color: #0f172a;
	letter-spacing: -0.02em;
	word-break: keep-all;
}

.mf-biz-card {
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	padding: 36px 28px;
	background-color: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 16px;
	transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.mf-biz-card:hover {
	transform: translateY(-6px);
	background-color: #ffffff;
	border-color: #1d4ed8;
	box-shadow: 0 16px 32px rgba(15, 23, 42, 0.08);
}

.mf-biz-sys {
	display: inline-block;
	font-size: 0.8125rem;
	font-weight: 700;
	color: #1d4ed8;
	margin-bottom: 8px;
}

.mf-biz-name {
	margin: 0 0 8px;
	font-size: 1.5rem;
	font-weight: 800;
	color: #0f172a;
}

.mf-biz-sub {
	margin: 0 0 28px;
	font-size: 0.95rem;
	color: #475569;
}

/* 카드 내부 인포그래픽 도식 박스 */
.mf-infographic-box {
	padding: 22px 16px;
	margin-bottom: 24px;
	background-color: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
}

.mf-biz-card:hover .mf-infographic-box {
	background-color: #f8fafc;
}

/* System 01: 프로세스 흐름도 */
.mf-flow-steps {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 6px;
	text-align: center;
	margin-bottom: 16px;
}

.mf-flow-node {
	flex: 1;
	padding: 10px 6px;
	background-color: #eff6ff;
	border: 1px solid #bfdbfe;
	border-radius: 8px;
	font-size: 0.8125rem;
	font-weight: 700;
	color: #1e3a8a;
}

.mf-flow-node i {
	display: block;
	font-size: 1.125rem;
	color: #1d4ed8;
	margin-bottom: 6px;
}

.mf-flow-arrow {
	color: #94a3b8;
	font-size: 0.875rem;
}

.mf-stat-highlight {
	padding: 10px 12px;
	background-color: #0f172a;
	color: #c8e636;
	border-radius: 8px;
	text-align: center;
	font-size: 0.9375rem;
	font-weight: 700;
}

/* System 02 & 03: 아이콘 그리드 */
.mf-icon-grid-3 {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 10px;
	text-align: center;
}

.mf-icon-grid-2 {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 12px;
	text-align: center;
}

.mf-icon-item {
	padding: 12px 6px;
	background-color: #f8fafc;
	border-radius: 8px;
	border: 1px solid #f1f5f9;
}

.mf-icon-circle {
	width: 42px;
	height: 42px;
	margin: 0 auto 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background-color: #eff6ff;
	color: #1d4ed8;
	font-size: 1.125rem;
}

.mf-icon-label {
	display: block;
	font-size: 0.8125rem;
	font-weight: 700;
	color: #0f172a;
	margin-bottom: 2px;
}

.mf-icon-caption {
	display: block;
	font-size: 0.725rem;
	color: #64748b;
}

.mf-biz-more {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	width: 100%;
	padding: 12px 16px;
	font-size: 0.9375rem;
	font-weight: 700;
	color: #1d4ed8;
	background-color: #eff6ff;
	border-radius: 8px;
	text-decoration: none;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.mf-biz-more:hover {
	background-color: #1d4ed8;
	color: #ffffff;
}

/* ==========================================================================
[섹션 4] 최근 게시물 미니리스트 영역 (공지사항 & 견적문의)
========================================================================== */
.mf-board-section {
	padding: 80px 0;
	background-color: #f1f5f9;
}

.mf-board-box {
	height: 100%;
	padding: 32px;
	background-color: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 16px;
	box-shadow: 0 4px 16px rgba(15, 23, 42, 0.03);
}

.mf-board-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-bottom: 16px;
	margin-bottom: 16px;
	border-bottom: 2px solid #0f172a;
}

.mf-board-title {
	margin: 0;
	font-size: 1.375rem;
	font-weight: 800;
	color: #0f172a;
}

.mf-board-title span {
	margin-left: 8px;
	font-size: 0.8125rem;
	font-weight: 600;
	color: #64748b;
	letter-spacing: 0.05em;
}

.mf-board-more {
	font-size: 0.875rem;
	font-weight: 600;
	color: #475569;
	text-decoration: none;
}

.mf-board-more:hover {
	color: #1d4ed8;
}

.mf-board-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.mf-board-item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 13px 4px;
	border-bottom: 1px solid #f1f5f9;
}

.mf-board-item:last-child {
	border-bottom: none;
	padding-bottom: 0;
}

.mf-board-link {
	display: flex;
	align-items: center;
	gap: 8px;
	min-width: 0;
	flex: 1;
	color: #1e293b;
	font-size: 0.95rem;
	text-decoration: none;
}

.mf-board-link:hover {
	color: #1d4ed8;
}

.mf-board-subj {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.mf-badge-notice {
	flex-shrink: 0;
	padding: 2px 8px;
	font-size: 0.75rem;
	font-weight: 700;
	color: #1d4ed8;
	background-color: #eff6ff;
	border-radius: 4px;
}

.mf-badge-status {
	flex-shrink: 0;
	padding: 2px 8px;
	font-size: 0.75rem;
	font-weight: 700;
	border-radius: 4px;
}

.mf-badge-wait {
	color: #475569;
	background-color: #f1f5f9;
}

.mf-badge-done {
	color: #15803d;
	background-color: #dcfce7;
}

.mf-board-date {
	flex-shrink: 0;
	font-size: 0.8125rem;
	color: #94a3b8;
}

.mf-board-empty {
	padding: 48px 0;
	text-align: center;
	color: #94a3b8;
	font-size: 0.9375rem;
}

/* ==========================================================================
[섹션 5] 상담 유도 라임 CTA 영역 (Call To Action)
========================================================================== */
.mf-cta-section {
	padding: 72px 0;
	background-color: #c8e636;
}

.mf-cta-eyebrow {
	display: inline-block;
	font-size: 0.8125rem;
	font-weight: 800;
	letter-spacing: 0.1em;
	color: #1e293b;
	margin-bottom: 8px;
}

.mf-cta-title {
	margin: 0 0 12px;
	font-size: 2.125rem;
	font-weight: 800;
	color: #0f172a;
	letter-spacing: -0.02em;
	word-break: keep-all;
}

.mf-cta-desc {
	margin: 0;
	font-size: 1.05rem;
	font-weight: 500;
	color: #1e293b;
	word-break: keep-all;
}

.mf-cta-actions {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 12px;
	flex-wrap: wrap;
}

.mf-cta-btn-tel {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 15px 26px;
	font-size: 1.05rem;
	font-weight: 800;
	color: #0f172a;
	background-color: #ffffff;
	border: 2px solid #0f172a;
	border-radius: 10px;
	text-decoration: none;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.mf-cta-btn-tel:hover {
	background-color: #0f172a;
	color: #ffffff;
}

.mf-cta-btn-ask {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 15px 28px;
	font-size: 1.05rem;
	font-weight: 700;
	color: #ffffff;
	background-color: #0f172a;
	border: 2px solid #0f172a;
	border-radius: 10px;
	text-decoration: none;
	transition: background-color 0.2s ease, transform 0.2s ease;
}

.mf-cta-btn-ask:hover {
	background-color: #1e293b;
	color: #c8e636;
	transform: translateY(-2px);
}

@media (max-width: 991px) {
	.mf-cta-actions {
		justify-content: flex-start;
		margin-top: 24px;
	}
}

@media (max-width: 768px) {
	.mf-biz-section,
	.mf-board-section {
		padding: 60px 0;
	}
	.mf-sec-title,
	.mf-cta-title {
		font-size: 1.625rem;
	}
}