/* XD LuxHome - pop-up dang ky tu van. Obsidian & Champagne Gold. */

.xpop{
	position:fixed;inset:0;z-index:99999;
	display:flex;align-items:center;justify-content:center;
	padding:24px 20px;
}
.xpop[hidden]{display:none}

.xpop-veil{
	position:absolute;inset:0;
	background:rgba(11,12,15,.78);
	backdrop-filter:blur(3px);
	opacity:0;transition:opacity .32s ease;
}
.xpop.is-on .xpop-veil{opacity:1}

.xpop *,.xpop *::before,.xpop *::after{box-sizing:border-box}

.xpop-box{
	position:relative;
	width:100%;max-width:900px;max-height:calc(100vh - 48px);
	overflow-y:auto;
	display:grid;grid-template-columns:1.05fr .95fr;
	background:#0B0C0F;
	border:1px solid rgba(203,161,53,.28);
	border-radius:2px;
	box-shadow:0 18px 40px -20px rgba(0,0,0,.8);
	opacity:0;transform:translateY(14px);
	transition:opacity .34s ease,transform .34s ease;
}
.xpop.is-on .xpop-box{opacity:1;transform:none}

/* Nut dong */
.xpop-x{
	position:absolute;top:10px;right:10px;z-index:2;
	width:36px;height:36px;padding:0;
	display:flex;align-items:center;justify-content:center;
	background:transparent;border:0;border-radius:2px;
	color:#9AA0AA;cursor:pointer;transition:color .2s ease;
}
.xpop-x:hover{color:#E8D5A3}
.xpop-x svg{width:18px;height:18px}

/* Cot noi dung uu dai */
.xpop-say{padding:44px 36px 40px;border-right:1px solid rgba(232,213,163,.18)}

.xpop-eyebrow{
	margin:0 0 14px;
	font-family:Manrope,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;
	font-size:11px;font-weight:600;letter-spacing:.18em;text-transform:uppercase;
	color:#A8842A;
}
.xpop-h{
	margin:0 0 14px;
	font-family:"Playfair Display",Georgia,serif;
	font-weight:400;font-size:31px;line-height:1.18;letter-spacing:-.01em;
	color:#F7F5F0;
}
.xpop-sub{
	margin:0 0 24px;max-width:34em;
	font-family:Manrope,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;
	font-size:14px;line-height:1.7;color:#9AA0AA;
}

.xpop-list{margin:0;padding:0;list-style:none;border-top:1px solid rgba(232,213,163,.18)}
.xpop-list li{
	display:flex;align-items:flex-start;gap:12px;
	padding:13px 0;
	border-bottom:1px solid rgba(232,213,163,.18);
	font-family:Manrope,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;
	font-size:14px;line-height:1.55;color:#F7F5F0;
}
.xpop-list .xp-ico{flex:0 0 auto;width:19px;height:19px;margin-top:1px;color:#CBA135}

.xpop-tel{
	margin:22px 0 0;
	font-family:Manrope,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;
	font-size:13px;color:#9AA0AA;
}
.xpop-tel a{color:#E8D5A3;text-decoration:none;border-bottom:1px solid rgba(232,213,163,.4)}
.xpop-tel a:hover{color:#CBA135}

/* Cot bieu mau */
.xpop-act{padding:44px 36px 40px;background:#14161B;display:flex;flex-direction:column;justify-content:center}

.xpop-hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}

.xpop-f{display:block;margin:0 0 16px}
.xpop-f span{
	display:block;margin:0 0 7px;
	font-family:Manrope,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;
	font-size:12px;font-weight:600;letter-spacing:.04em;color:#9AA0AA;
}
.xpop-f input,.xpop-f select{
	box-sizing:border-box;
	width:100%;height:48px;padding:0 14px;
	background:#0B0C0F;
	border:1px solid rgba(232,213,163,.22);border-radius:2px;
	font-family:Manrope,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;
	font-size:15px;color:#F7F5F0;
	transition:border-color .2s ease;
	-webkit-appearance:none;appearance:none;
}
.xpop-f select{
	background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%23CBA135' stroke-width='1.3'/%3E%3C/svg%3E");
	background-repeat:no-repeat;background-position:right 14px center;background-size:11px;
	padding-right:36px;
}
.xpop-f input:focus,.xpop-f select:focus{outline:0;border-color:#CBA135}
.xpop-f input::placeholder{color:#8A8F99}

.xpop-err{
	margin:0 0 14px;padding:10px 12px;
	background:rgba(168,132,42,.12);border-left:2px solid #CBA135;
	font-family:Manrope,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;
	font-size:13px;line-height:1.5;color:#E8D5A3;
}
.xpop-err[hidden]{display:none}

.xpop-btn{
	display:block;width:100%;height:52px;padding:0 20px;margin:4px 0 0;
	background:linear-gradient(135deg,#CBA135,#A8842A);
	border:0;border-radius:2px;cursor:pointer;
	font-family:Manrope,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;
	font-size:13px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;
	color:#0B0C0F;
	transition:filter .2s ease;
}
.xpop-btn:hover{filter:brightness(1.08)}
.xpop-btn[disabled]{opacity:.6;cursor:default}
.xpop-btn-line{
	background:transparent;border:1px solid #CBA135;color:#E8D5A3;margin-top:22px;
}
.xpop-btn-line:hover{filter:none;background:rgba(203,161,53,.1)}

.xpop-note{
	margin:14px 0 0;
	font-family:Manrope,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;
	font-size:12px;line-height:1.6;color:#8A8F99;
}

/* Trang thai da gui */
.xpop-done{text-align:center}
.xpop-done[hidden]{display:none}
.xpop-tick{width:44px;height:44px;color:#CBA135;margin:0 0 18px}
.xpop-done-h{
	margin:0 0 10px;
	font-family:"Playfair Display",Georgia,serif;
	font-weight:400;font-size:23px;line-height:1.25;color:#F7F5F0;
}
.xpop-done-p{
	margin:0;
	font-family:Manrope,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;
	font-size:14px;line-height:1.7;color:#9AA0AA;
}

/* Mobile: xep doc, phan uu dai truoc bieu mau */
@media (max-width:860px){
	.xpop{padding:0;align-items:flex-end}
	.xpop-box{
		grid-template-columns:1fr;max-width:none;
		max-height:92vh;border-left:0;border-right:0;border-bottom:0;
		transform:translateY(28px);
	}
	.xpop-say{padding:30px 20px 22px;border-right:0}
	.xpop-h{font-size:25px;margin-bottom:12px}
	.xpop-sub{font-size:13.5px;margin-bottom:18px}
	.xpop-act{padding:24px 20px 30px}
	.xpop-list li{padding:10px 0;font-size:13.5px}
	.xpop-tel{display:none}
}

@media (prefers-reduced-motion:reduce){
	.xpop-veil,.xpop-box{transition:none}
	.xpop-box{transform:none}
}
