/* =========================================================
   Mentor layout v1.2.0
   - Container and section structure
   - Header and navigation
   - Sub page hero
   - Footer and fixed actions
   - Responsive layout
========================================================= */

/* =========================================================
   Container
========================================================= */
.wrap {
	width: min(1280px, calc(100% - 64px));
	margin: 0 auto;
}

/* =========================================================
   Section Common
========================================================= */
.section {
	padding: 90px 0;
}
.section-head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 34px;
}
.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 10px;
	color: var(--blue);
	font-size: 14px;
	font-weight: 900;
}
.section h2 {
	font-size: 38px;
	line-height: 1.18;
	letter-spacing: -1.2px;
}
.section-desc {
	max-width: 560px;
	margin-top: 12px;
	color: var(--text);
	font-size: 17px;
	line-height: 1.75;
}
.point {
	color: var(--orange);
}

.section-head.is-center {
	display: block;
	text-align: center;
}

.section-head.is-center .section-desc {
	margin-left: auto;
	margin-right: auto;
}

.section-cta {
	display: flex;
	justify-content: center;
	margin-top: 34px;
}

/* =========================================================
   Header
========================================================= */
#siteHeader.header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1000;
	background: var(--ml-surface-glass);
	backdrop-filter: blur(16px);
	border-bottom: 1px solid rgba(var(--ml-line-rgb), .8);
}
.header-inner {
	height: 76px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}
.logo {
	display: inline-flex;
	align-items: center;
	flex-shrink: 0;
	color: var(--dark);
	font-size: 24px;
	font-weight: 900;
	letter-spacing: -0.8px;
}
.logo span {
	color: var(--blue);
}

/* =========================================================
   Global Navigation
========================================================= */
.nav {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 30px;
	min-width: 0;
	color: var(--dark);
	font-size: 15px;
	font-weight: 800;
}
.nav a {
	position: relative;
	white-space: nowrap;
	transition: .2s;
}
.nav a:hover {
	color: var(--blue);
}
.nav a::after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: -10px;
	width: 0;
	height: 2px;
	border-radius: 999px;
	background: var(--blue);
	transform: translateX(-50%);
	transition: .2s;
}
.nav a:hover::after {
	width: 100%;
}

/* =========================================================
   Header CTA
========================================================= */
.header-cta {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 10px;
	flex-shrink: 0;
}

.header-agreement-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 46px;
	padding: 0 15px;
	border: 1px solid var(--ml-primary-line);
	border-radius: 12px;
	color: var(--ml-primary-deep);
	background: var(--ml-primary-tint);
	font-size: 13px;
	font-weight: 900;
	white-space: nowrap;
	transition: .2s;
}

.header-agreement-link:hover {
	border-color: var(--ml-primary);
	color: var(--ml-white);
	background: var(--ml-primary);
}

/* =========================================================
   Mobile Menu Button
========================================================= */
.hamb {
	display: none;
	width: 44px;
	height: 44px;
	border: 0;
	border-radius: 12px;
	background: var(--ml-white);
	color: var(--ml-dark);
	font-size: 22px;
}

.hamb,
.hamb:hover,
.hamb:focus,
.hamb:active {
	background: transparent;
	border: 0;
	box-shadow: none;
	outline: none;
}

.hamb {
	padding: 0;
	appearance: none;
	-webkit-appearance: none;
	-webkit-tap-highlight-color: transparent;
}

.hamb svg {
	width: 22px;
	height: 22px;
	stroke-width: 2.5;
}

.hamb-lines {
	position: relative;
	display: block;
	width: 25px;
	height: 20px;
}

.hamb-lines span {
	position: absolute;
	left: 0;
	width: 100%;
	height: 3px;
	border-radius: 999px;
	background: currentColor;
	transition:
		top .25s ease,
		transform .25s ease,
		opacity .2s ease;
}

.hamb-lines span:nth-child(1) {
	top: 0;
}

.hamb-lines span:nth-child(2) {
	top: 8px;
}

.hamb-lines span:nth-child(3) {
	top: 16px;
}

/* 메뉴가 열리면 X 표시 */
.hamb[aria-expanded="true"] .hamb-lines span:nth-child(1) {
	top: 8px;
	transform: rotate(45deg);
}

.hamb[aria-expanded="true"] .hamb-lines span:nth-child(2) {
	opacity: 0;
}

.hamb[aria-expanded="true"] .hamb-lines span:nth-child(3) {
	top: 8px;
	transform: rotate(-45deg);
}

@media (max-width: 980px) {
	.mobile-nav > a {
		padding: 8px 0;
		font-size: 20px;
		line-height: 1.4;
		font-weight: 900;
	}
}
/* =========================================================
   Mobile Navigation
========================================================= */
.mobile-nav {
	display: none;
}

.mobile-reservation-links {
	display: none;
}
.mobile-nav-backdrop {
	display: none;
}

@media (max-width: 980px) {
	.mobile-nav-backdrop {
		position: fixed;
		top: 76px;
		right: 0;
		bottom: 0;
		left: 0;
		z-index: 998;
		display: none;
		background: rgba(var(--ml-black-rgb), .18);
	}

	.mobile-nav-backdrop.is-open {
		display: block;
	}

	.mobile-nav {
		z-index: 999;
	}

	body.mobile-menu-open {
		overflow: hidden;
	}
}

@media (max-width: 640px) {
	.mobile-nav-backdrop {
		top: 66px;
	}
}
/* =========================================================
   Sub Hero
========================================================= */
.sub-hero {
	padding: 116px 0 100px;
}

.sub-hero-box {
	position: relative;
	min-height: 190px;
	padding: 42px 48px;
	border: 1px solid rgba(var(--ml-line-rgb), .9);
	border-radius: 28px;
	background:
		radial-gradient(circle at 88% 28%, rgba(var(--ml-primary-rgb), .16), transparent 30%),
		radial-gradient(circle at 12% 90%, rgba(var(--orange-rgb), .08), transparent 26%),
		linear-gradient(135deg, var(--ml-primary-tint) 0%, var(--ml-primary-soft) 54%, var(--ml-white) 100%);
	box-shadow: 0 24px 70px rgba(var(--ml-shadow-rgb), .08);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 36px;
	overflow: hidden;
}

.sub-kicker {
	display: inline-flex;
	align-items: center;
	margin-bottom: 12px;
	color: var(--blue);
	font-size: 14px;
	line-height: 1;
	font-weight: 900;
	letter-spacing: .4px;
}

.sub-hero h1 {
	color: var(--dark);
	font-size: 42px;
	line-height: 1.16;
	font-weight: 900;
	letter-spacing: -1.4px;
}

.sub-hero p {
	margin-top: 14px;
	color: var(--text);
	font-size: 17px;
	line-height: 1.7;
	font-weight: 700;
}

.sub-hero-icon {
	width: 92px;
	height: 92px;
	border-radius: 28px;
	background: rgba(var(--ml-white-rgb), .72);
	color: var(--blue);
	display: grid;
	place-items: center;
	flex: 0 0 auto;
	box-shadow: inset 0 0 0 1px rgba(var(--ml-primary-rgb), .12);
}

.sub-hero-icon svg {
	width: 46px;
	height: 46px;
	stroke-width: 1.9;
}

/* =========================================================
   Footer
========================================================= */
#siteFooter.footer {
	background: var(--ml-footer-bg);
	color: var(--ml-footer-text);
	padding: 70px 0 110px;
}
.footer-inner {
	display: block;
}
.footer-top {
	display: grid;
	grid-template-columns: 1.35fr .75fr .9fr .85fr;
	gap: 44px;
	align-items: flex-start;
}

/* Footer Brand */
.footer-brand strong {
	display: block;
	color: var(--ml-white);
	font-size: 32px;
	line-height: 1.2;
	font-weight: 900;
	letter-spacing: -1.2px;
}
.footer-slogan {
	margin-top: 18px;
	color: var(--ml-footer-muted);
	font-size: 16px;
	line-height: 1.8;
}

/* Footer Column Title */
.footer-title {
	display: block;
	margin: 0 0 18px;
	color: var(--ml-white);
	font-size: 17px;
	line-height: 1.4;
	font-weight: 900;
	letter-spacing: -0.4px;
}

/* Footer Menu */
.footer-menu ul {
	display: grid;
	gap: 10px;
}
.footer-menu a {
	color: var(--ml-footer-muted);
	font-size: 15px;
	font-weight: 700;
	transition: .2s;
}
.footer-menu a:hover {
	color: var(--ml-white);
}

/* Family Site */
.footer-family ul {
	display: grid;
	gap: 10px;
}
.family-link {
	display: block;
	padding: 14px 16px;
	border: 1px solid var(--ml-footer-line);
	border-radius: 16px;
	background: var(--ml-footer-panel);
	color: var(--ml-white);
	font-size: 15px;
	font-weight: 900;
	transition: .2s;
}
.family-link span {
	display: block;
	margin-top: 4px;
	color: var(--ml-footer-muted);
	font-size: 13px;
	line-height: 1.45;
	font-weight: 600;
}
.family-link:hover {
	border-color: rgba(var(--ml-primary-rgb), .65);
	background: rgba(var(--ml-primary-rgb), .15);
}

/* Footer Contact */
.footer-contact p {
	margin-bottom: 12px;
}
.footer-contact p span {
	display: block;
	margin-bottom: 2px;
	color: var(--ml-footer-muted);
	font-size: 13px;
	font-weight: 700;
}
.footer-contact p a {
	color: var(--ml-white);
	font-size: 20px;
	line-height: 1.35;
	font-weight: 900;
}
.footer-kakao {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 42px;
	margin-top: 8px;
	padding: 0 16px;
	border-radius: 999px;
	background: var(--ml-kakao);
	color: var(--ml-kakao-text);
	font-size: 14px;
	font-weight: 900;
}

/* Footer Policy */
.footer-policy {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 22px;
	margin-top: 48px;
	padding-top: 26px;
	border-top: 1px solid var(--ml-footer-line);
}
.footer-policy a {
	color: var(--ml-white);
	font-size: 14px;
	font-weight: 800;
	transition: .2s;
}
.footer-policy a:hover {
	color: var(--ml-primary-light);
}
.footer-policy a:not(:last-child)::after {
	content: "";
	display: inline-block;
	width: 1px;
	height: 11px;
	margin-left: 22px;
	background: rgba(var(--ml-white-rgb), .22);
	vertical-align: -1px;
}

/* Footer Company */
.footer-bottom {
	margin-top: 20px;
}

.footer-company {
	display: flex;
	flex-wrap: wrap;
	gap: 5px 18px;
	width: 100%;
	max-width: none;
}

.footer-company p {
	margin: 0;
	color: var(--ml-footer-muted);
	font-size: 14px;
	line-height: 1.5;
}

.footer-company b {
	margin-right: 6px;
	color: var(--ml-footer-text);
	font-weight: 800;
}
.footer-company a {
	color: var(--ml-footer-muted);
	transition: .2s;
}
.footer-company a:hover {
	color: var(--ml-white);
}
.footer-copy {
	margin: 10px 0 0;
	color: var(--ml-footer-muted);
	font-size: 13px;
	line-height: 1.5;
}

.footer-copy-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	margin-top: 18px;
}

.footer-login-links {
	display: flex;
	align-items: center;
	gap: 7px;
	flex-shrink: 0;
}

.footer-login-links a {
	padding: 5px 8px;
	border: 1px solid rgba(var(--ml-white-rgb), .16);
	border-radius: 7px;
	color: var(--ml-footer-muted);
	font-size: 11px;
	font-weight: 700;
	line-height: 1;
	transition: .2s;
}

.footer-login-links a:hover {
	border-color: rgba(var(--ml-white-rgb), .34);
	color: var(--ml-white);
}

.footer-quick-links {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 22px;
}
.footer-quick-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	height: 42px;
	padding: 0 15px;
	border: 1px solid rgba(var(--ml-white-rgb), .18);
	border-radius: 999px;
	background: rgba(var(--ml-white-rgb), .08);
	color: var(--ml-white);
	font-size: 14px;
	font-weight: 800;
	text-decoration: none;
	transition: .18s ease;
}
.footer-quick-link:hover {
	background: var(--ml-white);
	color: var(--ml-dark);
	transform: translateY(-1px);
}
.footer-quick-link i,
.footer-quick-link svg {
	width: 17px;
	height: 17px;
	stroke-width: 2.5;
}
.footer-quick-instagram:hover {
	color: #db2777;
}
.footer-quick-facebook:hover {
	color: var(--ml-primary);
}
.footer-quick-blog:hover {
	color: #16a34a;
}
.footer-quick-site:hover {
	color: var(--ml-dark);
}

/* =========================================================
   Floating CTA
========================================================= */
.floating,
.floating-cta {
	position: fixed;
	right: 24px;
	bottom: 24px;
	z-index: 900;
	display: grid;
	gap: 10px;
}
.floating a,
.floating-cta a {
	height: 54px;
	padding: 0 20px;
	border-radius: 999px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 900;
	box-shadow: var(--shadow);
}
.float-reserve,
.floating-reserve {
	background: var(--orange);
	color: var(--ml-white);
}
.float-call,
.floating-call {
	background: var(--ml-dark);
	color: var(--ml-white);
}

/* =========================================================
   Mobile Bottom CTA
========================================================= */
.mobile-bottom {
	display: none;
}

/* =========================================================
   Responsive
========================================================= */

@media (max-width: 1120px) {
	.nav {
		gap: 22px;
		font-size: 14px;
	}
}

@media (max-width: 980px) {
	.mobile-nav > a {
		padding: 5px 0;
		font-size: 24px;
		line-height: 1.15;
		font-weight: 900;
		letter-spacing: -.04em;
	}
	
	.section {
		padding: 70px 0;
	}
	.section-head {
		display: block;
	}
	.section h2 {
		font-size: 30px;
	}
	.nav,
	.header-cta {
		display: none;
	}
	.hamb {
		display: grid;
		place-items: center;
	}
	.mobile-nav {
		position: fixed;
		top: 76px;
		left: 0;
		right: 0;
		z-index: 999;
		display: none;
		padding: 18px 20px;
		background: var(--ml-white);
		border-bottom: 1px solid var(--line);
		box-shadow: 0 18px 40px rgba(var(--ml-shadow-rgb), .08);
	}
	.mobile-nav.open {
		display: grid;
		gap: 7px;
	}
	.mobile-nav a {
		color: var(--dark);
		font-weight: 900;
	}
	.mobile-reservation-links {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 8px;
		margin-top: 8px;
		padding-top: 14px;
		border-top: 1px solid var(--line);
	}
	.mobile-reservation-links a {
		display: flex;
		align-items: center;
		justify-content: center;
		height: 42px;
		border-radius: 12px;
		font-size: 14px;
		font-weight: 900;
	}
	.mobile-reservation-links .mobile-agreement-link {
		border: 1px solid var(--ml-primary-line);
		color: var(--ml-primary-deep);
		background: var(--ml-primary-tint);
	}
	.mobile-reservation-links .mobile-reserve-link {
		color: var(--ml-white);
		background: var(--ml-primary);
	}
	.floating,
	.floating-cta {
		display: none;
	}
	.mobile-bottom {
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 1200;
		display: grid;
		grid-template-columns: 1fr 1fr 1.2fr;
		gap: 8px;
		padding: 10px;
		background: var(--ml-white);
		border-top: 1px solid var(--line);
	}
	.mobile-bottom a {
		height: 48px;
		border-radius: 14px;
		display: flex;
		align-items: center;
		justify-content: center;
		font-weight: 900;
	}
	.mobile-bottom .call {
		background: var(--ml-dark);
		color: var(--ml-white);
	}
	.mobile-bottom .talk {
		background: var(--ml-kakao);
		color: var(--ml-kakao-text);
	}
	.mobile-bottom .res {
		background: var(--blue);
		color: var(--ml-white);
	}
	.footer {
		padding: 58px 0 96px;
	}
	.footer-top {
		grid-template-columns: 1fr 1fr;
		gap: 34px;
	}
	.footer-brand {
		grid-column: 1 / -1;
	}
	.sub-hero {
		padding: 96px 0 28px;
	}
	.sub-hero-box {
		padding: 34px;
		border-radius: 24px;
	}
	.sub-hero h1 {
		font-size: 34px;
	}
}

/* =========================================================
   Mobile Line Break
========================================================= */
@media (max-width: 767px) {
	br.desktop-br {
		display: none;
	}
}

@media (max-width: 640px) {
	.wrap {
		width: min(100% - 28px, 1280px);
	}
	.header-inner {
		height: 66px;
	}
	.logo {
		font-size: 21px;
	}
	.mobile-nav {
		top: 66px;
	}
	.section {
		padding: 58px 0;
	}
	.footer-top {
		grid-template-columns: 1fr;
		gap: 32px;
	}
	.footer-brand strong {
		font-size: 26px;
	}
	.footer-slogan {
		font-size: 15px;
	}
	.footer-cta {
		display: grid;
		grid-template-columns: 1fr;
	}
	.footer-btn {
		width: 100%;
	}
	.footer-policy {
		display: grid;
		gap: 12px;
	}
	.footer-policy a:not(:last-child)::after {
		display: none;
	}
	.footer-company {
		display: grid;
		gap: 6px;
	}
	.footer-copy-row {
		align-items: flex-start;
		flex-direction: column;
		gap: 12px;
	}
	.sub-hero {
		padding: 84px 0 22px;
	}
	.sub-hero-box {
		min-height: auto;
		padding: 28px 24px;
		border-radius: 22px;
		align-items: flex-start;
	}
	.sub-hero h1 {
		font-size: 30px;
	}
	.sub-hero p {
		font-size: 15px;
	}
	.sub-hero-icon {
		display: none;
	}
}
