:root {
	--primary: #0f766e;
	--primary-dark: #0b4f4a;
	--accent: #f59e0b;
	--bg: #f8fafc;
	--text: #0f172a;
	--muted: #64748b;
	--card: #ffffff;
}

* {
	box-sizing: border-box;
}

body {
	margin: 0;
	font-family: "Segoe UI", "Noto Sans KR", Arial, sans-serif;
	color: var(--text);
	background: var(--bg);
	line-height: 1.6;
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
}

a {
	color: inherit;
	text-decoration: none;
}

.container {
	width: min(1120px, 92%);
	margin: 0 auto;
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 30;
	background: rgba(255, 255, 255, 0.94);
	backdrop-filter: blur(6px);
	border-bottom: 1px solid #e2e8f0;
}

.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 14px 0;
}

.logo {
	font-size: 22px;
	font-weight: 800;
	color: var(--primary-dark);
}

.nav {
	display: flex;
	gap: 10px;
	align-items: center;
}

.menu-link {
	padding: 8px 10px;
	border-radius: 8px;
	font-size: 14px;
	color: #334155;
}

.menu-link:hover {
	background: #e2e8f0;
}

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 10px 16px;
	border-radius: 10px;
	font-weight: 700;
	border: 1px solid transparent;
}

.btn-primary {
	background: var(--primary);
	color: #fff;
}

.btn-outline {
	border-color: #cbd5e1;
	background: #fff;
}

.hero {
	padding: 44px 0 28px;
}

.hero-box {
	display: grid;
	grid-template-columns: 1.1fr 1fr;
	gap: 18px;
	background: linear-gradient(135deg, #ecfeff, #f8fafc);
	border: 1px solid #dbeafe;
	border-radius: 20px;
	padding: 20px;
}

.hero-title {
	font-size: 40px;
	font-weight: 800;
	line-height: 1.2;
	margin: 6px 0 10px;
}

.hero-badge {
	display: inline-block;
	padding: 6px 10px;
	background: #ccfbf1;
	color: var(--primary-dark);
	border-radius: 999px;
	font-size: 13px;
	font-weight: 700;
}

.hero-image {
	min-height: 320px;
	border-radius: 16px;
	background-size: cover;
	background-position: center;
	border: 1px solid #e2e8f0;
}

.section {
	padding: 16px 0 28px;
}

.page-hero {
	padding: 34px 0 18px;
}

.page-hero-box {
	background: #0f172a;
	color: #fff;
	border-radius: 18px;
	padding: 28px;
	border: 1px solid #1e293b;
}

.section-title {
	font-size: 28px;
	margin: 4px 0 8px;
}

.section-sub {
	color: var(--muted);
	margin-bottom: 14px;
}

.grid-3 {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 14px;
}

.grid-2 {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 14px;
}

.price-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 14px;
	align-items: start;
}

.price-card {
	background: var(--card);
	border: 1px solid #e2e8f0;
	border-radius: 14px;
	padding: 16px;
	content-visibility: auto;
	contain-intrinsic-size: 320px;
}

.price-note {
	margin: 6px 0 10px;
	color: var(--muted);
}

.price-highlight {
	margin: 10px 0 10px;
	padding: 10px 12px;
	border-radius: 12px;
	border: 1px solid #99f6e4;
	background: #f0fdfa;
}

.price-table-wrap {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	background: #fff;
}

.price-table {
	width: 100%;
	min-width: 560px;
	border-collapse: collapse;
}

.price-table th,
.price-table td {
	padding: 10px;
	border-bottom: 1px solid #e2e8f0;
	text-align: left;
	vertical-align: top;
	font-size: 14px;
}

.price-table th {
	background: #f8fafc;
	font-weight: 800;
	white-space: nowrap;
}

.price-policy ul {
	margin: 10px 0 0;
	padding-left: 20px;
}

.card {
	background: var(--card);
	border: 1px solid #e2e8f0;
	border-radius: 14px;
	padding: 16px;
	content-visibility: auto;
	contain-intrinsic-size: 280px;
}

.card h3 {
	margin-top: 0;
	margin-bottom: 8px;
}

.card ul {
	padding-left: 20px;
	margin: 8px 0 0;
}

.cta-strip {
	background: #0f766e;
	color: #fff;
	padding: 22px;
	border-radius: 14px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
}

.cta-strip .btn-outline {
	background: #ffffff;
	color: #0f766e;
	border-color: #ffffff;
	font-weight: 800;
	min-width: 140px;
}

.gallery-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 10px;
}

.gallery-item {
	border-radius: 12px;
	overflow: hidden;
	border: 1px solid #cbd5e1;
}

.gallery-item img {
	width: 100%;
	height: 210px;
	object-fit: cover;
	display: block;
	aspect-ratio: 4 / 3;
}

.muted {
	color: var(--muted);
}

.review-card {
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 14px;
	padding: 16px;
	margin-bottom: 12px;
}

.review-top {
	display: flex;
	justify-content: space-between;
	gap: 10px;
	flex-wrap: wrap;
}

.review-image {
	margin-top: 10px;
	width: 220px;
	max-width: 100%;
	height: auto;
	border-radius: 10px;
	border: 1px solid #dbeafe;
}

.pill {
	display: inline-block;
	padding: 4px 8px;
	font-size: 12px;
	font-weight: 700;
	border-radius: 999px;
	background: #fef3c7;
	color: #78350f;
}

.form-wrap {
	max-width: 840px;
	margin: 24px auto;
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 16px;
	padding: 20px;
}

.alert {
	padding: 10px 12px;
	border-radius: 10px;
	margin-bottom: 12px;
	border: 1px solid #cbd5e1;
	background: #f8fafc;
}

.alert-error {
	border-color: #fecaca;
	background: #fef2f2;
	color: #991b1b;
}

.table-wrap {
	overflow-x: auto;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	background: #fff;
}

table {
	width: 100%;
	border-collapse: collapse;
}

th, td {
	padding: 10px;
	border-bottom: 1px solid #e2e8f0;
	text-align: left;
	vertical-align: top;
	font-size: 14px;
}

th {
	background: #f8fafc;
	font-weight: 700;
}

.field {
	margin-top: 12px;
}

.field label {
	display: block;
	font-weight: 700;
	margin-bottom: 6px;
}

.field input,
.field textarea,
.field select {
	width: 100%;
	border: 1px solid #cbd5e1;
	border-radius: 10px;
	padding: 10px;
	font-size: 15px;
}

.field textarea {
	min-height: 160px;
}

.editor-box {
	width: 100%;
	min-height: 220px;
	border: 1px solid #cbd5e1;
	border-radius: 10px;
	padding: 10px;
	font-size: 15px;
	background: #fff;
	white-space: pre-wrap;
	text-align: center;
}

.editor-box:empty:before {
	content: attr(data-placeholder);
	color: #94a3b8;
}

.editor-image-block {
	display: block;
	margin: 10px 0;
	text-align: center;
}

.editor-image-block img {
	max-width: 100%;
	border-radius: 10px;
	border: 1px solid #dbeafe;
}

.editor-image-marker {
	display: inline-block;
	margin-top: 4px;
	font-size: 12px;
	color: #64748b;
}

.portfolio-content {
	text-align: center;
}

.portfolio-content p {
	margin: 10px 0;
}

.portfolio-content img {
	display: block;
	width: 100%;
	max-width: 780px;
	border-radius: 12px;
	border: 1px solid #dbeafe;
	margin: 8px 0 14px;
}

.footer {
	margin-top: 26px;
	padding: 18px 0 30px;
	border-top: 1px solid #e2e8f0;
	color: var(--muted);
	font-size: 14px;
}

@media (max-width: 900px) {
	.container {
		width: 94%;
	}
	.header-inner {
		flex-wrap: wrap;
		gap: 8px;
	}
	.nav {
		gap: 6px;
		flex-wrap: wrap;
	}
	.menu-link {
		padding: 6px 8px;
		font-size: 13px;
	}
	.btn {
		padding: 8px 12px;
	}
	.hero-box {
		grid-template-columns: 1fr;
		padding: 14px;
	}
	.grid-3 {
		grid-template-columns: 1fr;
	}
	.grid-2 {
		grid-template-columns: 1fr;
	}
	.price-grid {
		grid-template-columns: 1fr;
	}
	.price-table {
		min-width: 520px;
	}
	.gallery-grid {
		grid-template-columns: 1fr;
	}
	.gallery-item img {
		height: auto;
	}
	.hero-title {
		font-size: 31px;
	}
	.hero-image {
		min-height: 200px;
	}
	.form-wrap {
		padding: 14px;
	}
	.section-title {
		font-size: 24px;
	}
	.cta-strip {
		flex-direction: column;
		align-items: flex-start;
	}
}
