/* ============================================================
   estimate.css — AI 견적문의  (Figma 206:1110)
   ============================================================ */
 
.es {
	position: relative;
	max-width: var(--design-w);
	margin: 0 auto;
	padding: calc(var(--header-h) + 50px) var(--gutter) 130px;
	overflow: hidden;
	background-color: #f8f9ff;
	background-image: url("../img/estimate/bg-glow.svg");
	background-repeat: no-repeat;
	background-position: center -40px;
	background-size: min(1920px, 140%) auto;
}
.es:has(.es__bg) { background-image: none; }
body:has(.es) { background: #f8f9ff; }

/* 온라인 견적 등 — span 블러 배경용 */
.es__bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.es__bg span { position: absolute; border-radius: 50%; filter: blur(80px); }
.es__bg span:nth-child(1) { left: -6%; top: 2%;  width: 38%; height: 40%; background: rgba(97, 54, 217, .18); }
.es__bg span:nth-child(2) { right: -8%; top: 12%; width: 42%; height: 46%; background: rgba(237, 53, 164, .14); }
.es__bg span:nth-child(3) { left: 30%; top: 40%;  width: 44%; height: 40%; background: rgba(11, 15, 247, .10); }
.es > * { position: relative; z-index: 1; }

/* ---------- 히어로 (Figma 206:1139 ~ 212:664) ---------- */
.es-hero {
	position: relative;
	max-width: 1080px;
	margin: 0 auto;
	text-align: center;
	min-height: clamp(110px, 20vw, 14em);
}
.es-hero__deco {
	position: absolute;
	right: max(-40px, calc(50% - 560px));
	top: -20px;
	width: 229px;
	height: 320px;
	pointer-events: none;
}
.es-hero__orb {
	display: block;
	width: 229px;
	height: 320px;
	object-fit: contain;
}
.es-hero__ai {
	position: absolute;
	left: 50%;
	top: 81px;
	font-family: var(--font-num);
	font-size: 52px;
	font-weight: 900;
	line-height: 1.4;
	color: var(--c-white);
	opacity: .5;
	transform: translateX(-50%);
}
.es-hero__spark {
	position: absolute;
	right: -80px;
	top: 62px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 105px;
	height: 105px;
}
.es-hero__spark-bg {
	position: absolute;
	inset: 0;
	border-radius: 15px;
	background: linear-gradient(163deg, #7175ec 12%, #ed35a4 150%);
	box-shadow: 5px 1px 13px rgba(242, 142, 186, .2);
}
.es-hero__spark img {
	position: relative;
	z-index: 1;
	width: 66px;
	height: 60px;
	object-fit: contain;
}

.es-hero__title {
	margin: 0;
	font-size: clamp(28px, 2.917vw, 42px);
	font-weight: 800;
	line-height: 1.2;
	color: #000;
}
.es-hero__lead {
	margin: 25px 0 0;
	font-size: clamp(16px, 1.667vw, 24px);
	font-weight: 500;
	line-height: 1.4;
	color: #000;
}

.es-hero__points {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 20px 50px;
	margin: 72px auto 0;
	padding: 0;
	list-style: none;
	max-width: 640px;
}
.es-hero__points li {
	display: flex;
	align-items: center;
	gap: 15px;
	text-align: left;
}
.es-hero__ico {
	display: flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 55px;
	height: 55px;
	border-radius: 15px;
	background: linear-gradient(180deg, #5016ca 0%, #b510ef 100%);
	box-shadow:
		2px 2px 3px rgba(0, 0, 0, .05),
		7px 7px 5px rgba(0, 0, 0, .04),
		17px 17px 7px rgba(0, 0, 0, .03);
}
.es-hero__ico img {
	width: 30px;
	height: 30px;
	object-fit: contain;
}

.es-hero__txt {
	display: flex;
	flex-direction: column;
	gap: 2px;
}
.es-hero__txt em {
	font-style: normal;
	font-size: clamp(18px, 1.806vw, 26px);
	font-weight: 700;
	line-height: 1.4;
	color: #000;
}
.es-hero__txt span {
	font-size: clamp(13px, 1.111vw, 16px);
	font-weight: 500;
	line-height: 1.4;
	color: #333;
}

.es-steps {
	display: flex;
	flex-wrap: nowrap;
	justify-content: flex-end;
	align-items: center;
	gap: 20px;
	margin: 62px auto 0;
	padding: 0;
	list-style: none;

	max-width: 100%;
}
.es-steps__i {
	position: relative;
	display: flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border: 1px solid #ddd;
	border-radius: 300px;
	background: var(--c-white);
	color: #999;
	font-family: var(--font-num);
	font-size: 14px;
	font-weight: 700;
	line-height: 1.4;
	transition: background .25s ease, color .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.es-steps__i:not(:last-child)::after {
	content: "";
	position: absolute;
	left: calc(100% + 1px);
	top: 50%;
	width: 18px;
	height: 1px;
	background: #ddd;
}
.es-steps__i.is-on {
	border-color: transparent;
	background: var(--c-blue);
	color: var(--c-white);
	box-shadow:
		4px 1px 9px rgba(0, 0, 0, .07),
		16px 4px 17px rgba(0, 0, 0, .06),
		36px 9px 22px rgba(0, 0, 0, .04);
}

/* ---------- 단계 ---------- */
.es-form { max-width: 1080px; margin: 64px auto 0; }
.es-step {
	display: none;
	margin-top: 43px;
}
.es-step.is-open {
	display: block;
	animation: es-in .5s cubic-bezier(.22, .8, .24, 1) both;
}
@keyframes es-in {
	from { opacity: 0; transform: translateY(22px); }
	to   { opacity: 1; transform: none; }
}
.es-step__title {
	margin: clamp(30px, 5vw, 56px) 0 clamp(10px, 1.6vw, 15px);
	font-size: clamp(18px, 1.667vw, 24px);
	font-weight: 800;
	line-height: 1.35;
	color: #000;
}
.es-note {
	margin: 0 0 12px;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.6;
	color: #6136d9;
}
/* 제목 옆에 붙는 안내문 (페이지 구성 등) */
.es-step > .es-step__title:has(+ .es-note) {
	display: inline;
	margin-right: 12px;
	margin-bottom: 0;
}
.es-step > .es-step__title + .es-note {
	display: inline;
	margin: 0;
}
.es-step > .es-note + .es-card { margin-top: 15px; }

.es-card {
	padding: 28px 38px;
	border: 0;
	border-radius: 8px;
	background: var(--c-white);
	box-shadow:
		0 10px 22px rgba(0, 0, 0, .03),
		0 40px 40px rgba(0, 0, 0, .03),
		0 91px 55px rgba(0, 0, 0, .02);
}
.es-card--grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px 44px;
}
.es-card--pages {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	justify-items: center;
	gap: 24px;
	padding: 23px 38px;
}
.es-card--pages .es-field { width: 100%; max-width: 250px; }
.es-card--row, .es-card__row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px 37px;
	min-height: 24px;
	
}
.es-card__row--wrap { gap: 14px 26px; }

.es-label {
	display: block;
	margin-bottom: 7px;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.6;
	color: #000;
}
.es-label.is-req {color: #6136d9;}
.es-label.is-req::after {
	content: "";
	display: inline-block;
	width: 5px;
	height: 5px;
	margin: 0 0 8px 5px;
	border-radius: 50%;
	background: #6136d9;
	vertical-align: middle;
}
.es input[type="text"], .es input[type="tel"], .es input[type="number"], .es select {
	width: 100%;
	height: 50px;
	padding: 0 clamp(13px, 2vw, 20px);
	border: 1px solid #e1e1e1;
	border-radius: 4px;
	background: var(--c-white);
	font-family: inherit;
	font-size: 14px;
	color: #000;
	transition: border-color .2s ease, box-shadow .2s ease;
}
.es input::placeholder { color: #999; }
.es input:focus-visible, .es select:focus-visible {
	outline: none;
	border-color: #6136d9;
	box-shadow: 0 0 0 3px rgba(97, 54, 217, .14);
}
.es-email {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 22px minmax(0, 1fr) 145px;
	gap: 6px;
	align-items: center;
}
.es-email__at { text-align: center; font-size: 16px; font-weight: 600; }

/* 타일 선택 — 100×100 / 선택 시 핑크 4px 보더 */
.es-tiles {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 14px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.es-tiles--wide { gap: 13px; }
.es-tiles li { width: 100px; }
.es-tiles--wide li { width: 120px; }
.es-tile { display: block; cursor: pointer; }
.es-tile input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.es-tile__box {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	height: 100px;
	padding: 10px 8px;
	border: 1px solid #e1e1e1;
	border-radius: 4px;
	background-color: var(--c-white);
	text-align: center;
	box-sizing: border-box;
	transition: border-color .25s ease, box-shadow .25s ease, color .25s ease, background .25s ease, filter .25s ease;
}
.es-tile__ico {
	display: block;
	flex: none;
	width: 24px;
	height: 24px;
	object-fit: contain;
	/* 기본: 검은색 SVG 그대로 */
	filter: none;
}
.es-tile__box em {
	font-style: normal;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.2;
	color: #000;
	max-width: 90%;
	text-align: center;
}
.es-tile__box img + em { min-height:2.4em ;}
.es-tile:hover .es-tile__box {
	box-shadow:
		1px 1px 3px rgba(0, 0, 0, .05),
		4px 4px 6px rgba(0, 0, 0, .04);
}
/* 선택: 아이콘·폰트 #6136D9 / 아웃라인 4px 선형 그라데이션 ED35A4 → 6136D9 */
.es-tile input:checked + .es-tile__box {
	border: 4px solid transparent;
	padding: 7px 5px;
	background-color: transparent;
	background-image:
		linear-gradient(var(--c-white), var(--c-white)),
		linear-gradient(90deg, #ed35a4 0%, #6136d9 100%);
	background-origin: border-box;
	background-clip: padding-box, border-box;
	box-shadow:
		1px 1px 3px rgba(0, 0, 0, .05),
		4px 4px 6px rgba(0, 0, 0, .04),
		10px 10px 8px rgba(0, 0, 0, .03);
}
.es-tile input:checked + .es-tile__box .es-tile__ico {
	/* 검정 아이콘 → #6136D9 */
	filter: brightness(0) saturate(100%) invert(22%) sepia(95%) saturate(3200%) hue-rotate(247deg) brightness(90%) contrast(98%);
}
.es-tile input:checked + .es-tile__box em { color: #6136d9; }
.es-tile input:focus-visible + .es-tile__box { outline: 2px solid rgba(97, 54, 217, .35); outline-offset: 2px; }

/* 체크 · 라디오 — 26×26, 선택 #6136d9 */
.es-check {
	display: inline-flex;
	align-items: center;
	gap: 11px;
	font-size: 14px;
	line-height: 1.6;
	color: #000;
	cursor: pointer;
}
.es-check input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.es-check__box {
	position: relative;
	flex: none;
	width: 26px;
	height: 26px;
	border: 1px solid #ddd;
	border-radius: 4px;
	background: var(--c-white);
	transition: background .2s ease, border-color .2s ease;
}
.es-check input[type="radio"] + .es-check__box { border-radius: 300px; }
.es-check__box::after {
	content: "";
	position: absolute;
	left: 8px;
	top: 4px;
	width: 7px;
	height: 13px;
	border: solid var(--c-white);
	border-width: 0 2px 2px 0;
	transform: rotate(45deg) scale(.4);
	opacity: 0;
	transition: transform .2s cubic-bezier(.2, 1.3, .4, 1), opacity .15s ease;
}
.es-check input:checked + .es-check__box { background: #6136d9; border-color: #6136d9; }
.es-check input:checked + .es-check__box::after { transform: rotate(45deg) scale(1); opacity: 1; }
.es-check input:focus-visible + .es-check__box { box-shadow: 0 0 0 3px rgba(97, 54, 217, .25); }

/* 기능 */
.es-card--feat { padding: 24px 38px; }
.es-feat {
	display: grid;
	grid-template-columns: 110px minmax(0, 1fr);
	gap: 14px;
	align-items: start;
	padding: 20px 0;
}
.es-feat + .es-feat { border-top: 1px solid #eceef7; }
.es-feat__name {
	margin: 2px 0 0;
	font-size: 18px;
	font-weight: 600;
	line-height: 1.6;
	color: #000;
}
.es-feat__list { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; }
.es-mini {
	width: 60px !important;
	height: 26px !important;
	padding: 0 6px !important;
	border-radius: 4px !important;
	font-size: 14px !important;
}

/* 유지보수 상세 */
.es-sub { margin-top: 24px; padding-top: 22px; border-top: 1px solid #eceef7; }
.es-manday { display: flex; flex-wrap: wrap; gap: 14px 26px; margin-bottom: 20px; padding: 10px 20px; background: #F8F9FF;}
.es-manday__i { display: flex; align-items: center; gap: 10px; font-size: clamp(13px, 1.3vw, 16.1px); font-weight: 600; }

.es-roles { margin: 0; padding: 0 0 0 18px; list-style: disc; }
.es-roles li { font-size: clamp(13px, 1.3vw, 16.1px); line-height: 1.9; color: #44454f; }
.es-roles em { font-style: normal; font-weight: 700; color: #0a090b; margin-right: 8px; }

.es-help { margin: 18px 0 0; font-size: clamp(13px, 1.3vw, 16.1px); color: #44454f; }
.es-help em { font-style: normal; font-weight: 700; color: #0a090b; margin-right: 10px; }
.es-help a { color: #6136d9; text-decoration: underline; }

/* ---------- 버튼 (Figma 213:1267) ---------- */
.es-cta { display: flex; justify-content: center; margin-top: 50px; }
.es-cta--pair { gap: 20px; flex-wrap: wrap; }
.es-go {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	width: min(500px, 100%);
	height: 80px;
	border: 0;
	border-radius: 8px;
	background: linear-gradient(270deg, #ed35a4 0%, #6136d9 100%);
	background-size: 200% 100%;
	background-position: 0% 0%;
	box-shadow: 0 4px 20px rgba(0, 0, 0, .1), 0 0 0 4px rgba(152, 49, 211, .06);
	color: var(--c-white);
	font-family: inherit;
	font-size: 16px;
	font-weight: 800;
	line-height: 28px;
	cursor: pointer;
	transition: background-position .6s cubic-bezier(.65, 0, .35, 1), transform .3s ease, box-shadow .3s ease;
}
.es-cta--pair .es-go { width: min(320px, 100%); }
.es-go svg { width: 31px; height: 31px; }
.es-go:hover { background-position: 100% 0%; transform: translateY(-3px); }
.es-go--ghost {
	background: var(--c-white);
	border: 1px solid #6136d9;
	box-shadow: none;
	color: #6136d9;
}
.es-go--ghost:hover {
	border-color: #6136d9;
	color: #6136d9;
	background: rgba(97, 54, 217, .04);
	transform: translateY(-3px);
}

/* ---------- 결과 ---------- */
.es-result { max-width: 1080px; margin: 60px auto 0; }
.es-sum {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
	margin: 0 0 56px;
	padding: 0;
	list-style: none;
}
.es-sum__i {
	padding: 34px 24px;
	border-radius: 8px;
	background: var(--c-white);
	box-shadow:
		0 10px 22px rgba(0, 0, 0, .03),
		0 40px 40px rgba(0, 0, 0, .03),
		0 91px 55px rgba(0, 0, 0, .02);
	text-align: center;
}
.es-sum__label {
	margin: 0 0 12px;
	font-size: 16px;
	font-weight: 600;
	color: #000;
}
.es-sum__num { margin: 0; display: flex; align-items: baseline; justify-content: center; gap: 4px; }
.es-sum__num strong {
	font-family: var(--font-num);
	font-size: clamp(36px, 3.75vw, 54px);
	font-weight: 800;
	line-height: 1.6;
	color: var(--c-blue);
	background: none;
	-webkit-background-clip: unset;
	        background-clip: unset;
}
.es-sum__num em {
	font-style: normal;
	font-size: 24px;
	font-weight: 400;
	color: #000;
}
.es-sum__note { margin: 8px 0 0; font-size: 14px; color: #666; }
.es-sum__i:last-child .es-sum__note {
	font-family: var(--font-num);
	font-size: 16px;
	font-weight: 800;
	color: var(--c-blue);
}

.es-recap {
	display: grid;
	grid-template-columns: 150px minmax(0, 1fr);
	gap: 0;
	margin: 0;
}
.es-recap dt {
	padding: 17px 0;
	border-top: 1px solid #eceef7;
	font-size: clamp(11.5px, 1.278vw, 18.4px);
	font-weight: 700;
	color: #0a090b;
}
.es-recap dd {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 15px 0;
	border-top: 1px solid #eceef7;
}
.es-recap dt:first-of-type, .es-recap dd:first-of-type { border-top: 0; }
.es-chip {
	display: inline-flex;
	align-items: center;
	height: 34px;
	padding: 0 20px;
	border-radius:4px;
	background:#B3A0FF;
	color: #fff;
	font-size: clamp(13px, 1.3vw, 16.1px);
	font-weight: 600;
}
.es-disclaimer {
	margin: 34px 0 0;
	font-size: clamp(13px, 1.3vw, 16.1px);
	line-height: 1.7;
	color: #6a6b78;
	text-align: center;
}
.es-disclaimer strong { color: #0a090b; }

/* ---------- 계산 중 (Figma 380:431 Contact 6) ---------- */
.es-loading {
	position: fixed;
	inset: 0;
	z-index: 300;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(0, 0, 0, .75);
}
.es-loading[hidden] { display: none; }
.es-loading__inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: min(579px, 86vw);
	text-align: center;
}
.es-loading__pct {
	margin: 0;
	color: #ff0097;
	font-family: var(--font-num);
	line-height: 1.6;
	white-space: nowrap;
}
.es-loading__pct strong {
	font-size: clamp(42px, 5vw, 72px);
	font-weight: 800;
}
.es-loading__pct em {
	font-style: normal;
	font-size: clamp(42px, 5vw, 72px);
	font-weight: 300;
}
.es-loading__bar {
	position: relative;
	width: 100%;
	height: 20px;
	margin-top: 12px;
	overflow: visible;
	background: rgba(255, 255, 255, .12);
}
.es-loading__fill {
	display: block;
	height: 100%;
	width: 0%;
	background: linear-gradient(90deg, #ffb347 0%, #ed35a4 35%, #6136d9 70%, #ff0097 100%);
	background-size: min(579px, 86vw) 100%;
	background-repeat: no-repeat;
}
.es-loading__glow {
	position: absolute;
	top: 50%;
	left: 0;
	width: 84px;
	height: 20px;
	margin-top: -10px;
	margin-left: -42px;
	border-radius: 50%;
	background: #ff0097;
	filter: blur(28px);
	opacity: .9;
	pointer-events: none;
	transform: translateX(0);
	will-change: transform;
}
.es-loading__msg {
	margin: 36px 0 0;
	font-size: clamp(18px, 2vw, 24px);
	font-weight:700;
	line-height: 1.6;
	color: var(--c-white);
}

@media (prefers-reduced-motion: reduce) {
	.es-loading__fill,
	.es-loading__glow { transition: none; }
}

/* ---------- 인쇄(= PDF 저장) ---------- */
@media print {
	.site-header, .site-footer, .es-hero, .es-cta, .es-loading { display: none !important; }
	.es { background-image: none; }
	.es { padding: 0; }
	.es-sum__i, .es-card { box-shadow: none; border: 1px solid #ddd; }
	.es-sum__num strong { color: var(--c-blue); }
}

/* ---------- 반응형 ---------- */
@media (max-width: 900px) {
	.es-hero__deco { display: none; }
	.es-card { padding: 22px; }
	.es-card--grid, .es-card--pages { grid-template-columns: minmax(0, 1fr); }
	.es-card--pages .es-field { max-width: none; }
	.es-email { grid-template-columns: minmax(0, 1fr) 18px minmax(0, 1fr); }
	.es-email select { grid-column: 1 / -1; }
	.es-feat { grid-template-columns: minmax(0, 1fr); }
	.es-sum { grid-template-columns: minmax(0, 1fr); gap: 18px; }
	.es-recap { grid-template-columns: minmax(0, 1fr); }
	.es-recap dd { padding-top: 0; border-top: 0; }
	.es-go { height: 66px; }
	.es-hero__points { gap: 18px 28px; margin-top: 40px; }
	.es-hero__points li {flex-direction: column; text-align: center;}
	.es-steps { gap: 12px; padding: 0 4px; justify-content: center; flex-wrap: wrap;}
	.es-steps__i:not(:last-child)::after { width: 10px; }
}
@media (prefers-reduced-motion: reduce) {
	.es-step.is-open { animation: none; }
}

/* ---------- 온라인 견적문의(2단계) — Figma 222:254 / 223:997 ---------- */
.es--online .es-form { margin-top: 48px; }
.es-hero--sm .es-hero__title {
	font-size: clamp(28px, 2.917vw, 42px);
	line-height: 1.6;
}
.es-hero--sm .es-hero__lead { margin-top: 14px; }

/* 히어로 장식: 오브 + 계산기 + 말풍선 */
.es-hero__deco--online {
	width: 229px;
	height: 320px;
	right: max(-20px, calc(50% - 540px));
	top: -10px;
}
.es-hero__deco--online .es-hero__orb {
	width: 229px;
	height: auto;
}
.es-hero__calc {
	position: absolute;
	right: -46px;
	top: 52px;
	width: 120px;
	height: 139px;
	object-fit: contain;
	filter: drop-shadow(0 8px 20px rgba(97, 54, 217, .25));
}
.es-hero__bubble {
	position: absolute;
	left: 88px;
	top: 78px;
	width: 58px;
	height: 58px;
	object-fit: contain;
	opacity: .85;
}

/* 제목 + 단계 한 줄 */
.es-bar {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 16px 24px;
	margin-bottom:clamp(8px, 1.6vw, 1em);
}
.es-bar .es-step__title {
	margin: 0;
	font-size: clamp(18px, 1.389vw, 20px);
	font-weight: 800;
	line-height: 1.6;
}
.es-bar .es-steps { margin: 0; }
.es-steps--two { gap: 20px; justify-content: flex-end; }


.es--online .es-label--block { margin: 0 0 12px; }

.es-card--online1 { gap: 24px 40px; }
.es-field--full { grid-column: 1 / -1; }

.es-cta--end { justify-content: flex-end; }
.es-go--sm {
	width: 200px;
	height: auto;
	min-height: 60px;
	padding: 16px 24px;
	font-size: 16px;
	font-weight: 700;
}


.es-page { animation: es-in .45s cubic-bezier(.22, .8, .24, 1) both; }
.es-page[hidden] { display: none; }

@media (max-width: 1100px) {
	.es-hero__deco--online { display: none; }
}
@media (max-width: 900px) {

	.es-cta--end { justify-content: stretch; }
	.es-go--sm { width: 100%; }
}
.es-card--stack { display: grid; gap: 26px; margin-top: 20px; }
.es-card--agree {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	padding: 16px 24px;
}
.es-check em { font-style: normal; font-weight: 700; color: #6136d9; }
.es-agree__more { display: inline-flex; align-items: center; gap: 6px; font-size: clamp(13px, 1.3vw, 16.1px); color: #0a090b; }
.es-agree__more svg { width: 22px; height: 22px; }
.es-agree__more:hover { color: #6136d9; text-decoration: underline; }

.es-subrow {
	display: grid;
	grid-template-columns: 120px minmax(0, 1fr);
	gap: 14px;
	align-items: center;
	margin-top: 14px;
	padding: 14px 18px;
	border-radius: 8px;
	background: #f6f6fd;
}
.es-subrow[hidden] { display: none; }
.es-subrow__name { margin: 0; font-size: clamp(13px, 1.3vw, 17.3px); font-weight: 700; color: #0a090b; }
.es-subrow__list { display: flex; flex-wrap: wrap; gap: 12px 24px; }

.es-urls { display: flex; flex-direction: column; gap: 10px; }
.es-url-row {
	display: flex;
	align-items: center;
	gap: clamp(5px, 1.4vw, 16px);
}
.es-url {
	display: grid;
	flex: 1;
	min-width: 0;
	grid-template-columns:3em minmax(0, 1fr);
	gap: 10px;
	align-items: center;
}
.es-url span { font-size: clamp(13px, 1.3vw, 16.1px); font-weight: 600; color: #44454f; }
/* 피그마 223:1163 / 223:1228 — 30×30 원형 +/- */
.es-url-btn {
	display: inline-flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	cursor: pointer;
	transition: transform .2s ease, opacity .2s ease;
}
.es-url-btn img { display: block; width: 30px; height: 30px; }
.es-url-btn:hover { transform: scale(1.08); }
.es-url-btn:focus-visible { outline: 2px solid rgba(97, 54, 217, .35); outline-offset: 2px; }
.es-url-btn[hidden] { display: none !important; }
.es-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }

.es textarea {
	width: 100%;
	min-height: 150px;
	padding: 14px 16px;
	border: 1px solid #e1e1e1;
	border-radius: 4px;
	background: var(--c-white);
	font-family: inherit;
	font-size: clamp(13px, 1.3vw, 16.1px);
	line-height: 1.7;
	resize: vertical;
}
.es textarea:focus-visible { outline: none; border-color: #6136d9; box-shadow: 0 0 0 3px rgba(97, 54, 217, .14); }
.es input[type="date"] { width: 100%; height: 50px; padding: 0 14px; border: 1px solid #e1e1e1; border-radius: 4px; font-family: inherit; font-size: clamp(13px, 1.3vw, 16.1px); }

.es-file { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.es-file__btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	height: 40px;
	padding: 0 18px;
	border-radius: 4px;
	background: #0a090b;
	color: var(--c-white);
	font-size: clamp(12px, 1.3vw, 17.3px);
	font-weight: 600;
	cursor: pointer;
	transition: background .2s ease;
}
.es-file__btn:hover { background: #2b2a30; }
.es-file__btn svg { width: 20px; height: 20px; }
.es-file__btn input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.es-file__names { margin: 0; font-size: clamp(13px, 1.3vw, 16.1px); color: #666; }

.es-code { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 10px; }
.es-code__num {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 50px;
	border-radius: 4px;
	background: #0a090b;
	color: var(--c-white);
	font-family: var(--font-num);
	font-size: clamp(11.5px, 1.278vw, 18.4px);
	font-weight: 800;
	letter-spacing: .18em;
	user-select: none;
}

@media (max-width: 900px) {
	.es-subrow { grid-template-columns: minmax(0, 1fr); }
	.es-two { grid-template-columns: minmax(0, 1fr); }

}

/* ---------- 산출 표 ---------- */
.es-result__for { margin: 0 0 26px; font-size: clamp(11.5px, 1.6vw, 18.4px); font-weight: 600; color: #6136d9; text-align: center; }
.es-card--table { padding: 10px 24px 22px; }
.es-table { width: 100%; border-collapse: collapse; font-size: clamp(10.8px, 1.6vw, 17.3px); }
.es-table th, .es-table td { padding: 14px 10px; border-bottom: 1px solid #eceef7; text-align: left; }
.es-table th { font-weight: 700; color: #6a6b78; font-size: clamp(13px, 1.3vw, 16.1px); }
/* 숫자 칸(.num)은 오른쪽으로 붙는데 머리글만 왼쪽이라, 제목이 제 숫자줄에서
   멀찍이 떨어져 보였다. 머리글도 제 칸을 따라가게 한다 — 첫 칸만 왼쪽이다.
   (두 표 모두 첫 칸이 이름, 나머지가 숫자다) */
.es-table th:not(:first-child) { text-align: right; }
/* 칸 너비도 못박는다. 내용에 따라 저 혼자 늘었다 줄었다 하면 줄마다 숫자가
   다른 자리에 서서 들쭉날쭉해 보인다. */
.es-table--roles { table-layout: fixed; }
.es-table--roles th:nth-child(1) { width: 20%; }
.es-table--roles th:nth-child(2) { width: 11%; }
.es-table--roles th:nth-child(3) { width: 11%; }
.es-table--roles th:nth-child(4) { width: 21%; }
.es-table--roles th:nth-child(5) { width: 20%; }
.es-table--roles th:nth-child(6) { width: 17%; }
.es-table td { color: #14141e; }
.es-table .num { text-align: right; font-family: var(--font-num); font-variant-numeric: tabular-nums; }
.es-table tfoot td, .es-table tr.sum td {
	border-bottom: 0;
	border-top: 2px solid #dcdcec;
	font-weight: 800;
	color: #0a090b;
}
.es-table__note { margin: 14px 0 0; font-size: clamp(10px, 1.038vw, 15px); color: #8a8b9a; }
.es-hint-mm { margin: 14px 0 0; font-size: clamp(10px, 1.038vw, 15px); font-weight: 600; color: #6136d9; }

@media (max-width: 700px) {

	.es-table th, .es-table td { padding: 10px 6px; }
	.es-table th:nth-child(3), .es-table td:nth-child(3) { display: none; }
}

/* 인쇄(= PDF 저장) 때는 표가 잘 보이도록 */
@media print {
	.es-result__for { color: #000; }
	.es-card--table { padding: 0; border: 0; }
	.es-table th, .es-table td { border-bottom: 1px solid #ccc; }
	.es-table tfoot td, .es-table tr.sum td { border-top: 2px solid #666; }
}

/* ---------- 이벤트 할인 표시 ---------- */
.es-sum__was {
	margin: 0 0 2px;
	font-size: clamp(12.2px, 1.358vw, 19.5px);
	font-weight: 600;
	color: #9a9bb0;
	text-decoration: line-through;
}
.es-sum__was[hidden] { display: none; }
.es-sum__off {
	display: inline-flex;
	align-items: center;
	margin: 10px 0 0;
	padding: 6px 16px;
	border-radius: 300px;
	background: linear-gradient(120deg, #ed35a4 0%, #6136d9 100%);
	color: var(--c-white);
	font-size: clamp(10px, 1.038vw, 15px);
	font-weight: 800;
}
.es-sum__off[hidden] { display: none; }
.es-sum__i--price .es-sum__num strong {
	color: var(--c-blue);
	background: none;
	-webkit-background-clip: unset;
	        background-clip: unset;
}
/* 금액 산출표에서 할인 줄 */
.es-table tr.off td { color: #d62f8f; font-weight: 700; }
.es-table tr.off td.num { color: #d62f8f; }

@media print {
	.es-sum__off { background: none; color: #d62f8f; padding: 0; }
	.es-sum__i--price .es-sum__num strong { color: var(--c-blue); }
	.es-table tr.off td { color: #d62f8f; }
}

/* ---------- 접수 완료 / 실패 ---------- */
.es-done {
	max-width: 640px;
	margin: 60px auto 0;
	padding: 60px 40px;
	border-radius: 18px;
	background: var(--c-white);
	box-shadow: 0 20px 50px rgba(30, 30, 90, .1);
	text-align: center;
}
.es-done__mark {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 78px;
	height: 78px;
	margin-bottom: 26px;
	border-radius: 50%;
	color: var(--c-white);
}
.es-done__mark svg { width: 38px; height: 38px; }
.es-done__mark--ok { background: linear-gradient(140deg, #6136d9 0%, #ed35a4 100%); }
.es-done__mark--no { background: #e0455a; }
.es-done__title {
	margin: 0;
	font-size: clamp(22px, 2.555vw, 36.8px);
	font-weight: 800;
	line-height: 1.4;
	color: #0a090b;
}
.es-done__lead {
	margin: 16px 0 0;
	font-size: clamp(11.5px, 1.278vw, 18.4px);
	line-height: 1.7;
	color: #55565f;
}
.es-done__lead a { color: #6136d9; font-weight: 700; }
.es-done .es-cta { margin-top: 36px; }
