/*
Theme Name: MKCGI BIZ Child
Theme URI: https://biz.mkcgi.com
Description: MKCGI BIZ 사이트 맞춤 커스텀(프리텐다드 폰트, 히어로 타이포 크기) 차일드 테마.
Author: MKCGI
Template: mkcbiz
Version: 1.0.1
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mkbiz-child
*/

@import url("../mkcbiz/style.css");
@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable-dynamic-subset.min.css");

:root {
	--mk-font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont,
		"Segoe UI", "Apple SD Gothic Neo", "Malgun Gothic", "Helvetica Neue", Arial,
		sans-serif;
	--mk-sub-accent: #18a058;
	--mk-sub-accent-deep: #0f7a42;
	--mk-sub-accent-soft: rgba(24, 160, 88, 0.14);
}

.mk-header {
	border-bottom-color: var(--mk-line);
}

.mk-hero {
	isolation: isolate;
	background-color: #f8fbff;
}

.mk-hero::before,
.mk-hero::after {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
}

.mk-hero::before {
	z-index: -2;
	background-image: url("assets/hero-small-business-bg.png");
	background-size: cover;
	background-position: center right;
	filter: blur(3px);
	transform: scale(1.025);
	opacity: 0.9;
}

.mk-hero::after {
	z-index: -1;
	background:
		linear-gradient(90deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.84) 38%, rgba(255, 255, 255, 0.42) 68%, rgba(255, 255, 255, 0.18) 100%),
		linear-gradient(180deg, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0.24) 48%, rgba(238, 244, 255, 0.58) 100%);
}

.mk-hero__title {
	font-size: clamp(2.6rem, 1.2rem + 6vw, 4.4rem);
	line-height: 1.1;
	letter-spacing: -0.03em;
}

.mk-pill {
	font-size: 17px;
}

.mk-hero__badges .mk-pill {
	background: var(--mk-sub-accent-soft);
	border-color: rgba(24, 160, 88, 0.22);
	color: var(--mk-sub-accent-deep);
}

.mk-hero__badges .mk-pill--dot::before {
	background: var(--mk-sub-accent);
	box-shadow: 0 0 0 4px rgba(24, 160, 88, 0.16);
}

.mk-hero__actions .mk-btn--ghost {
	background: rgba(236, 253, 245, 0.86);
	border-color: rgba(24, 160, 88, 0.32);
	color: var(--mk-sub-accent-deep);
	box-shadow: 0 10px 26px rgba(15, 122, 66, 0.08);
}

.mk-hero__actions .mk-btn--ghost:hover {
	border-color: rgba(24, 160, 88, 0.66);
	box-shadow: 0 14px 32px rgba(24, 160, 88, 0.18);
}

.mk-nav a {
	font-size: 17px;
}

.mk-nav ul {
	gap: clamp(1.2rem, 2.6vw, 2.25rem);
}

.mk-nav a.mk-btn,
.mk-nav__cta-ul a.mk-btn {
	color: #fff;
}
.mk-nav a.mk-btn:hover,
.mk-nav__cta-ul a.mk-btn:hover {
	color: #fff;
}

@media (min-width: 901px) {
	.mk-header__inner {
		display: grid;
		grid-template-columns: minmax(220px, 1fr) auto minmax(220px, 1fr);
	}

	.mk-brand {
		justify-self: start;
	}

	.mk-nav {
		display: contents;
	}

	.mk-nav > ul:not(.mk-nav__cta-ul) {
		grid-column: 2;
		justify-self: center;
	}

	.mk-nav__cta-ul {
		grid-column: 3;
		justify-self: end;
		margin-left: 0;
	}
}

.mk-mock__bar {
	padding-top: 14px;
	padding-bottom: 2px;
}

.mk-mock__frame {
	background: rgba(255, 255, 255, 0.2);
	border-color: rgba(255, 255, 255, 0.74);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
}

.mk-feed__item,
.mk-count {
	background: rgba(255, 255, 255, 0.68);
	border-color: rgba(47, 107, 255, 0.12);
}

.mk-upload {
	background: rgba(238, 244, 255, 0.56);
}

.mk-mock__chip {
	background: rgba(255, 255, 255, 0.78);
	border-color: rgba(255, 255, 255, 0.78);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
}

.mk-mock__chip--br {
	color: #92400e;
}

.mk-feed__body h4 {
	font-size: 17px;
}

.mk-hero__text {
	color: var(--mk-text);
	font-size: 17px;
	font-weight: 780;
}

.mk-showcase .mk-ex {
	color: var(--mk-text);
	text-decoration: none;
}

.mk-showcase .mk-ex:hover {
	text-decoration: none;
}

.mk-showcase .mk-ex__media {
	position: relative;
	aspect-ratio: 16 / 9;
	background: #eef4ff;
}

.mk-showcase .mk-ex__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.mk-showcase .mk-ex__view {
	position: absolute;
	right: 0.7rem;
	bottom: 0.7rem;
	display: inline-flex;
	align-items: center;
	gap: 0.3rem;
	padding: 0.42rem 0.8rem;
	border-radius: 999px;
	background: rgba(12, 18, 32, 0.74);
	color: #fff;
	font-size: 0.82rem;
	font-weight: 750;
	line-height: 1;
	letter-spacing: 0.01em;
	backdrop-filter: blur(4px);
	-webkit-backdrop-filter: blur(4px);
	pointer-events: none;
}

.mk-showcase .mk-ex__view::after {
	content: "↗";
	font-size: 0.9em;
	font-weight: 800;
}

@media (max-width: 480px) {
	.mk-showcase .mk-ex__view {
		right: 0.5rem;
		bottom: 0.5rem;
		padding: 0.36rem 0.68rem;
		font-size: 0.78rem;
	}
}

.mk-video-intro {
	padding: clamp(2.6rem, 6vw, 4.5rem) 0;
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 1) 0%, rgba(238, 244, 255, 0.62) 100%);
	border-bottom: 1px solid rgba(47, 107, 255, 0.10);
}

.mk-video-intro__panel {
	display: grid;
	grid-template-columns: minmax(14rem, 1fr) minmax(0, 2fr);
	align-items: center;
	gap: clamp(1.3rem, 3vw, 2.4rem);
	padding: clamp(1.1rem, 2.6vw, 1.6rem);
	border: 1px solid rgba(47, 107, 255, 0.14);
	border-radius: 22px;
	background: rgba(255, 255, 255, 0.88);
	box-shadow: 0 18px 48px rgba(31, 64, 148, 0.10);
	color: var(--mk-text);
}

.mk-video-intro__copy {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

.mk-video-intro__copy .mk-head__eyebrow {
	margin-bottom: 0.85rem;
}

.mk-video-intro__copy h2 {
	max-width: 10em;
	margin-bottom: 0.7rem;
	font-size: clamp(1.62rem, 1.2rem + 1.7vw, 2.35rem);
	line-height: 1.18;
	font-weight: 850;
	color: var(--mk-text);
	word-break: keep-all;
}

.mk-video-intro__copy p {
	max-width: 18em;
	margin-bottom: 0;
	color: var(--mk-text-soft);
	font-size: 0.98rem;
	line-height: 1.7;
	word-break: keep-all;
}

.mk-video-intro__button {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	margin-top: 1.3rem;
	padding: 0.82rem 1.35rem;
	border-radius: 999px;
	background: var(--mk-accent-grad);
	color: #fff;
	font-size: 1rem;
	font-weight: 780;
	box-shadow: 0 10px 26px rgba(47, 107, 255, 0.28);
}

.mk-video-intro__button:hover {
	text-decoration: none;
	box-shadow: 0 14px 32px rgba(47, 107, 255, 0.34);
	transform: translateY(-1px);
}

.mk-video-intro__button::before {
	content: "";
	width: 0;
	height: 0;
	border-top: 0.38rem solid transparent;
	border-bottom: 0.38rem solid transparent;
	border-left: 0.58rem solid currentColor;
}

.mk-video-intro__media {
	position: relative;
	display: block;
	overflow: hidden;
	aspect-ratio: 16 / 9;
	width: 100%;
	max-width: 720px;
	margin-left: auto;
	border-radius: 18px;
	background: #0c1220;
	box-shadow: 0 14px 36px rgba(12, 18, 32, 0.14);
}

.mk-video-intro__media video,
.mk-video-intro__media iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
	object-fit: cover;
}

@media (max-width: 820px) {
	.mk-video-intro__panel {
		grid-template-columns: 1fr;
		border-radius: 18px;
	}

	.mk-video-intro__copy h2,
	.mk-video-intro__copy p {
		max-width: none;
	}

	.mk-video-intro__media {
		margin-left: 0;
		border-radius: 14px;
	}
}

@media (max-width: 720px) {
	.mk-hero::before {
		background-position: 68% center;
		filter: blur(5px);
		opacity: 0.66;
		transform: scale(1.045);
	}

	.mk-hero::after {
		background:
			linear-gradient(180deg, rgba(255, 255, 255, 0.88) 0%, rgba(255, 255, 255, 0.76) 44%, rgba(238, 244, 255, 0.88) 100%),
			linear-gradient(90deg, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0.62) 100%);
	}
}

/* 문제 섹션 헤더: 52ch 제한 제거 → 넓은 화면에서 한 줄 */
.mk-section#problem .mk-head {
	max-width: none;
}
@media (min-width: 900px) {
	.mk-section#problem .mk-head > h2,
	.mk-section#problem .mk-head > p.mk-head__text {
		white-space: nowrap;
	}
}

/* 신뢰 스트립 배경: 가운데만 블루 틴트, 끝은 흰색 */
.mk-trust {
	padding-top: 60px;
	padding-bottom: 60px;
	background-color: #ffffff;
	background-image: radial-gradient(
		ellipse 90% 150% at 50% 50%,
		rgba(238, 244, 255, 1) 0%,
		rgba(245, 248, 254, 0.95) 45%,
		rgba(255, 255, 255, 0) 75%
	);
	border-block: 1px solid rgba(47, 107, 255, 0.10);
}
.mk-trust__label {
	color: var(--mk-accent-deep);
	margin-bottom: 0.6rem;
}

/* 신뢰 스트립: 라벨 아래 한 줄 설명 */
.mk-trust__sub {
	margin: 0 auto 1.7rem;
	max-width: 58ch;
	text-align: center;
	color: var(--mk-text-soft);
	font-size: clamp(0.9rem, 0.88rem + 0.15vw, 1rem);
	line-height: 1.65;
	font-weight: 500;
}

/* 신뢰 스트립: 라벨 아래 한 줄 설명 */
.mk-trust__label {
	margin-bottom: 0.6rem;
}
.mk-trust__sub {
	margin: 0 auto 1.7rem;
	max-width: 58ch;
	text-align: center;
	color: var(--mk-text-soft);
	font-size: clamp(0.9rem, 0.88rem + 0.15vw, 1rem);
	line-height: 1.65;
	font-weight: 500;
}

/* 왜 MKCGI BIZ 섹션: 두 줄 제목 + 작은 설명글 */
.mk-section#why {
	position: relative;
	overflow: hidden;
	padding-block: clamp(6rem, 11vw, 9rem);
	background-color: #e1e1e1;
}

.mk-section#why::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image: url("assets/why-server-operations-bg3.webp");
	background-size: cover;
	background-position: center right;
	opacity: 0.22;
	pointer-events: none;
}

.mk-section#why::after {
	content: "";
	position: absolute;
	inset: 0;
	background:
		linear-gradient(90deg, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0) 18%, rgba(255, 255, 255, 0) 82%, rgba(255, 255, 255, 0.8) 100%);
	pointer-events: none;
}

.mk-section#why .mk-wrap {
	position: relative;
	z-index: 2;
	max-width: 96rem;
}
.mk-section#why .mk-head {
	max-width: none;
}
.mk-section#why .mk-head__eyebrow {
	color: var(--mk-accent);
}
.mk-section#why .mk-head__eyebrow::before,
.mk-section#why .mk-head--center .mk-head__eyebrow::after {
	background: var(--mk-accent);
}
.mk-section#why .mk-head > h2 {
	font-size: clamp(2rem, 1rem + 3.4vw, 3.1rem);
	line-height: 1.22;
	color: var(--mk-text);
}
.mk-section#why .mk-head__text {
	max-width: 76rem;
	margin-inline: auto;
	font-size: clamp(0.98rem, 0.94rem + 0.3vw, 1.1rem);
	line-height: 1.75;
	color: var(--mk-text-soft);
}

/* WHY 카드 6개 → 3x2 배열 (넓은 화면) */
.mk-section#why .mk-grid--3 {
	width: 100%;
	max-width: 900px;
	margin-inline: auto;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}
.mk-section#why .mk-card {
	background: rgba(255, 255, 255, 0.9);
	border-color: rgba(47, 107, 255, 0.12);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	box-shadow: 0 16px 44px rgba(15, 23, 42, 0.1);
}
.mk-section#why .mk-card--soft {
	background: rgba(238, 244, 255, 0.88);
}
@media (min-width: 720px) and (max-width: 1024px) {
	.mk-section#why .mk-grid--3 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}
@media (max-width: 719px) {
	.mk-section#why {
		padding-block: 4.5rem;
	}

	.mk-section#why::before {
		background-position: 62% center;
		opacity: 0.16;
	}

	.mk-section#why .mk-grid--3 {
		grid-template-columns: 1fr;
	}
}

.mk-footer {
	margin-top: 0;
}

.mk-footer__grid {
	align-items: start;
	gap: clamp(2rem, 5vw, 4.5rem);
}

@media (min-width: 760px) {
	.mk-footer__grid {
		grid-template-columns: 1.35fr 1fr 0.9fr;
	}
}

.mk-footer__slogan {
	max-width: 34ch;
}

.mk-footer__contact li {
	color: var(--mk-text-soft);
	font-size: var(--mk-fs--1);
	font-weight: 600;
	line-height: 1.65;
}

.mk-footer__contact b {
	color: var(--mk-text);
	font-weight: 800;
}

.mk-footer__info a {
	display: inline-flex;
	padding-block: 0.12rem;
}

.mk-footer {
	padding-bottom: clamp(1.5rem, 3.5vw, 2.25rem);
}

.mk-footer__bar {
	justify-content: center;
	text-align: center;
	margin-top: 1.3rem;
	padding-top: 0.9rem;
}

.mk-content .mk-form .mk-form__field {
	display: block;
	margin-bottom: 1.15rem;
	font-size: var(--mk-fs-0);
	font-weight: 600;
	color: var(--mk-text-soft);
}

.mk-content .mk-form .mk-form__field > span {
	display: block;
	margin-bottom: 0.4rem;
	font-size: var(--mk-fs--1);
}

.mk-content .mk-form input[type="text"],
.mk-content .mk-form input[type="email"],
.mk-content .mk-form input[type="tel"],
.mk-content .mk-form textarea,
.mk-content .mk-form select {
	width: 100%;
	max-width: 34rem;
	margin-top: 0.15rem;
	padding: 0.78rem 1rem;
	font: inherit;
	font-size: var(--mk-fs-0);
	color: var(--mk-text);
	background: #fff;
	border: 1px solid var(--mk-line-strong);
	border-radius: 12px;
	outline: none;
	transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.mk-content .mk-form textarea {
	min-height: 11rem;
	resize: vertical;
	line-height: 1.6;
}

.mk-content .mk-form input:focus,
.mk-content .mk-form textarea:focus,
.mk-content .mk-form select:focus {
	border-color: var(--mk-accent);
	box-shadow: 0 0 0 3px var(--mk-accent-soft);
}

.mk-content .mk-form .mk-btn {
	margin-top: 0.4rem;
	border: none;
}

.mk-content .mk-form .mk-btn:hover {
	transform: none;
}

.mk-content .mk-form .wpcf7-form-control-wrap {
	display: block;
}

.mk-content .mk-form .wpcf7-not-valid-tip {
	margin-top: 0.3rem;
	font-size: var(--mk-fs--1);
	font-weight: 600;
	color: #d9363e;
}

.mk-content .mk-form .wpcf7-response-output {
	margin: 1.2rem 0 0;
	padding: 0.9rem 1.1rem;
	font-size: var(--mk-fs--1);
	font-weight: 600;
	line-height: 1.5;
	border-radius: 12px;
	border: 1px solid var(--mk-good);
	background: rgba(24, 160, 88, 0.08);
	color: var(--mk-good);
}

.mk-content .mk-form .wpcf7-response-output.wpcf7-validation-errors,
.mk-content .mk-form .wpcf7-response-output.wpcf7-mail-sent-ng {
	border-color: #d9363e;
	background: rgba(217, 54, 62, 0.07);
	color: #d9363e;
}

/* 문의하기 페이지: 제목·콘텐츠 중앙 정렬 (mk-head--center 방식) */
#mk-contact-form .mk-reveal.is-visible,
#mk-contact-form .mk-content {
	margin-inline: auto;
	text-align: center;
}

#mk-contact-form .mk-content .mk-form {
	text-align: left;
}

/* 문의하기 히어로: 상단 5rem, 하단 1rem */
.mk-contact-hero {
	padding-top: 5rem;
	padding-bottom: 1rem;
}

/* 문의하기 폼: 라벨 좌측 + 입력박스 같은 줄(테이블형) */
#mk-contact-form .mk-content .mk-form .mk-form__field {
	display: grid;
	grid-template-columns: 8.5rem 1fr;
	align-items: center;
	column-gap: 1rem;
}

#mk-contact-form .mk-content .mk-form .mk-form__field > br {
	display: none;
}

#mk-contact-form .mk-content .mk-form .mk-form__field > span:not(.wpcf7-form-control-wrap) {
	grid-column: 1;
	margin-bottom: 0;
	text-align: left;
}

#mk-contact-form .mk-content .mk-form .mk-form__field > .wpcf7-form-control-wrap {
	grid-column: 2;
	grid-row: 1;
	margin-bottom: 0;
}

#mk-contact-form .mk-content .mk-form .mk-form__field:has(textarea) {
	align-items: flex-start;
}

#mk-contact-form .mk-content .mk-form .mk-btn {
	display: block;
	margin: 0.4rem auto 0;
}

#mk-contact-form .mk-content .mk-form input[type="text"],
#mk-contact-form .mk-content .mk-form input[type="email"],
#mk-contact-form .mk-content .mk-form input[type="tel"],
#mk-contact-form .mk-content .mk-form textarea,
#mk-contact-form .mk-content .mk-form select {
	margin-inline: 0;
}
