/**
 * Thanh liên hệ đầu trang (.tdwh-tb) + giao diện biểu mẫu "Nhận tư vấn & báo giá" (Popup Maker #7319 / WPForms #7329).
 * Chỉ CSS + phần đầu chèn bằng contact.js; không sửa Popup Maker / WPForms. Nội dung: Quản lý trang chủ → Chữ & màu.
 */

/* ---------- Thanh liên hệ ---------- */
.tdwh-tb { background: #06153a; color: #dfe6f5; font: 500 13.5px/1 var(--hp-font, 'Be Vietnam Pro', system-ui, sans-serif); border-bottom: 1px solid rgba(255, 255, 255, .08); position: relative; z-index: 5; }
.tdwh-tb__in { max-width: 1400px; margin: 0 auto; padding: 0 28px; min-height: 38px; display: flex; align-items: center; gap: 22px; }
.tdwh-tb a { color: #dfe6f5; text-decoration: none; display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.tdwh-tb a:hover, .tdwh-tb a:focus-visible { color: #fff; }
.tdwh-tb a:focus-visible { outline: 2px solid #fff; outline-offset: 2px; border-radius: 4px; }
.tdwh-tb svg { width: 15px; height: 15px; flex: none; }
.tdwh-tb b { color: #fff; font-weight: 700; letter-spacing: .02em; }
.tdwh-tb__sp { flex: 1; }
.tdwh-tb .tdwh-tb__q { background: var(--hp-accent, #b43494); color: #fff; padding: 7px 14px; border-radius: 99px; font-weight: 700; }
.tdwh-tb .tdwh-tb__q:hover { color: #fff; filter: brightness(1.08); }
.tdwh-tb .tdwh-tb__m { display: none; }
@media (max-width: 921px) {
	.tdwh-tb__in { padding: 0 12px; min-height: 44px; gap: 8px; }
	.tdwh-tb .tdwh-tb__d { display: none; }
	.tdwh-tb .tdwh-tb__m { display: inline-flex; }
	.tdwh-tb .tdwh-tb__ico { width: 32px; height: 32px; justify-content: center; border-radius: 50%; background: rgba(255, 255, 255, .12); }
	.tdwh-tb .tdwh-tb__q { padding: 8px 12px; font-size: 12.5px; }
	.tdwh-tb__zl { font-size: 9.5px; font-weight: 800; letter-spacing: -.01em; }
}
@media print { .tdwh-tb { display: none; } }

/* ---------- Biểu mẫu báo giá ---------- */
#popmake-7319.pum-container { padding: 0 !important; border: 0 !important; border-radius: 20px !important; overflow: hidden; max-width: 760px; box-shadow: 0 30px 80px rgba(9, 30, 79, .35) !important; background: #fff !important; }
#popmake-7319 .pum-content { padding: 0; }
#popmake-7319 .tdwf-head { position: relative; padding: 24px 64px 22px 28px; background: linear-gradient(120deg, #091e4f 0%, #0b3a7a 60%, #6b2a7e 100%); color: #fff; font-family: 'Be Vietnam Pro', system-ui, sans-serif; }
#popmake-7319 .tdwf-eyebrow { margin: 0 0 6px; font-size: 11.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #f3b6dd; }
#popmake-7319 .tdwf-title { margin: 0; font-size: 24px; line-height: 1.25; font-weight: 800; color: #fff; }
#popmake-7319 .tdwf-sub { margin: 6px 0 14px; font-size: 14.5px; color: rgba(255, 255, 255, .82); }
#popmake-7319 .tdwf-contact { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
#popmake-7319 .tdwf-contact a { display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border-radius: 99px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .22); color: #fff; font-size: 13.5px; font-weight: 600; text-decoration: none; }
#popmake-7319 .tdwf-contact a:hover { background: rgba(255, 255, 255, .22); }
#popmake-7319 .tdwf-contact svg { width: 15px; height: 15px; flex: none; }
#popmake-7319 .pum-close { top: 16px !important; right: 16px !important; width: 36px !important; height: 36px !important; padding: 0 !important; border-radius: 50% !important; background: rgba(255, 255, 255, .16) !important; color: #fff !important; font-size: 0 !important; box-shadow: none !important; border: 0 !important; }
#popmake-7319 .pum-close::before { content: "×"; font-size: 26px; line-height: 36px; color: #fff; font-family: system-ui, sans-serif; }
#popmake-7319 .pum-close:hover { background: rgba(255, 255, 255, .3) !important; }
#popmake-7319 .wpforms-container { margin: 0 !important; padding: 22px 28px 24px; font-family: 'Be Vietnam Pro', system-ui, sans-serif; }
#popmake-7319 .wpforms-field-container { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
#popmake-7319 .wpforms-field { padding: 0 !important; margin: 0 !important; }
#popmake-7319 .wpforms-field-textarea, #popmake-7319 .wpforms-field-select { grid-column: 1 / -1; }
#popmake-7319 .wpforms-field-email { grid-column: 1 / -1; }
#popmake-7319 .wpforms-field-label { margin: 0 0 6px !important; font-size: 13.5px !important; font-weight: 700 !important; color: #091e4f !important; }
#popmake-7319 .wpforms-required-label { color: #b43494 !important; }
#popmake-7319 .wpforms-field input[type=text], #popmake-7319 .wpforms-field input[type=number], #popmake-7319 .wpforms-field input[type=email], #popmake-7319 .wpforms-field input[type=tel],
#popmake-7319 .wpforms-field select, #popmake-7319 .wpforms-field textarea {
	width: 100% !important; max-width: 100% !important; height: 46px !important; padding: 0 14px !important; border: 1.5px solid #d6dde8 !important; border-radius: 12px !important;
	background: #f8fafc !important; color: #0f1b33 !important; font: 500 15px/1.4 'Be Vietnam Pro', system-ui, sans-serif !important; box-shadow: none !important; transition: border-color .15s, box-shadow .15s, background .15s; }
#popmake-7319 .wpforms-field textarea { height: 104px !important; padding: 12px 14px !important; resize: vertical; }
#popmake-7319 .wpforms-field input:focus, #popmake-7319 .wpforms-field select:focus, #popmake-7319 .wpforms-field textarea:focus { outline: 0 !important; border-color: #b43494 !important; background: #fff !important; box-shadow: 0 0 0 4px rgba(180, 52, 148, .14) !important; }
#popmake-7319 .wpforms-field input::placeholder, #popmake-7319 .wpforms-field textarea::placeholder { color: #94a0b4; }
#popmake-7319 .wpforms-field input[type=number]::-webkit-inner-spin-button { -webkit-appearance: none; }
#popmake-7319 .wpforms-field input[type=number] { -moz-appearance: textfield; }
#popmake-7319 .wpforms-submit-container { margin: 18px 0 0 !important; padding: 0 !important; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
#popmake-7319 button.wpforms-submit { flex: 1 1 240px; height: 50px !important; padding: 0 24px !important; border: 0 !important; border-radius: 99px !important; background: linear-gradient(120deg, #b43494, #8e2a86) !important; color: #fff !important;
	font: 800 16px/1 'Be Vietnam Pro', system-ui, sans-serif !important; letter-spacing: .01em; box-shadow: 0 10px 24px rgba(180, 52, 148, .32) !important; cursor: pointer; transition: transform .15s, box-shadow .15s; }
#popmake-7319 button.wpforms-submit:hover { transform: translateY(-1px); box-shadow: 0 14px 30px rgba(180, 52, 148, .4) !important; }
#popmake-7319 .tdwf-note { flex: 1 1 220px; margin: 0; font-size: 12.5px; line-height: 1.45; color: #56627a; }
#popmake-7319 .tdwf-note a { color: #0b5fa5; }
#popmake-7319 .wpforms-error { color: #b32d2e !important; font-size: 12.5px !important; margin-top: 5px !important; }
#popmake-7319 .wpforms-field input.wpforms-error, #popmake-7319 .wpforms-field select.wpforms-error { border-color: #d63638 !important; }
#popmake-7319 .wpforms-confirmation-container-full { margin: 0 !important; border: 0 !important; border-radius: 14px; background: #e7f6ec !important; color: #136c33 !important; font-weight: 600; }
@media (max-width: 600px) {
	#popmake-7319.pum-container { border-radius: 18px !important; }
	#popmake-7319 .tdwf-head { padding: 20px 56px 18px 20px; }
	#popmake-7319 .tdwf-title { font-size: 20px; }
	#popmake-7319 .tdwf-sub { margin: 4px 0 10px; font-size: 13.5px; }
	#popmake-7319 .tdwf-contact { gap: 6px; }
	#popmake-7319 .tdwf-contact a { padding: 6px 10px; font-size: 13px; }
	#popmake-7319 .wpforms-container { padding: 18px 20px 20px; }
	#popmake-7319 .wpforms-field-container { grid-template-columns: 1fr; gap: 12px; }
	#popmake-7319 button.wpforms-submit { flex-basis: 100%; }
}
