/* ===== Bảo Hiểm Tận Tâm – màu & chữ ===== */
:root {
	--global-palette1: #005cab;  /* xanh Bảo Việt – màu chính */
	--global-palette2: #00468a;  /* xanh đậm – hover */
	--global-palette3: #0f2440;  /* chữ tiêu đề */
	--global-palette4: #24364f;  /* chữ đậm */
	--global-palette5: #4b5b70;  /* chữ thường */
	--global-palette6: #8a97a8;  /* chữ phụ */
	--global-palette7: #dce6f2;  /* viền */
	--global-palette8: #eef6fb;  /* nền xanh nhạt */
	--global-palette9: #ffffff;
	--tt-accent: #f39c12;        /* cam – nút kêu gọi */
	--tt-accent-dark: #d9820a;
	--tt-sky: #0093d9;
	--tt-radius: 12px;
	--tt-shadow: 0 10px 30px rgba(0, 70, 138, .10);
	--global-body-font-family: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
	--global-heading-font-family: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
}
body { font-family: var(--global-body-font-family); color: var(--global-palette5); font-size: 17px; line-height: 1.65; }
h1, h2, h3, h4 { font-family: var(--global-heading-font-family); color: var(--global-palette3); letter-spacing: -.01em; }
a { color: var(--global-palette1); }

/* ===== Đầu trang ===== */
.site-header .site-title { font-weight: 800; color: var(--global-palette1); font-size: 22px; }
.site-header .site-description { display: none; }
.site-header .header-button, .site-header .button.header-button {
	background: var(--tt-accent); border-color: var(--tt-accent); color: #fff; border-radius: 999px; font-weight: 700; padding: .6em 1.3em;
}
.site-header .header-button:hover { background: var(--tt-accent-dark); border-color: var(--tt-accent-dark); color: #fff; }
.tt-topbar { font-size: 14px; }
.tt-topbar a { color: #fff; font-weight: 600; text-decoration: none; }
.site-top-header-wrap .site-header-row-container-inner { background: var(--global-palette1); color: #e8f1fb; }
.main-navigation .primary-menu-container > ul > li.menu-item > a { font-weight: 600; color: var(--global-palette4); }
.main-navigation .primary-menu-container > ul > li.menu-item > a:hover { color: var(--global-palette1); }

/* ===== Khung chung ===== */
.tt-wrap { max-width: 1200px; margin-left: auto; margin-right: auto; padding-left: 20px; padding-right: 20px; }
.tt-section { padding: 72px 0; }
.tt-section--tint { background: var(--global-palette8); }
.tt-eyebrow { display: inline-block; font-size: 14px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--tt-sky); margin-bottom: 8px; }
.tt-section h2 { font-size: clamp(26px, 3.2vw, 36px); line-height: 1.25; margin: 0 0 12px; }
.tt-lead { font-size: 18px; max-width: 760px; }
.tt-center { text-align: center; }
.tt-center .tt-lead { margin-left: auto; margin-right: auto; }

.tt-btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 26px; border-radius: 999px; font-weight: 700; text-decoration: none; transition: background .2s, transform .2s; }
.tt-btn--accent { background: var(--tt-accent); color: #fff; }
.tt-btn--accent:hover { background: var(--tt-accent-dark); color: #fff; transform: translateY(-1px); }
.tt-btn--ghost { border: 2px solid rgba(255,255,255,.7); color: #fff; }
.tt-btn--ghost:hover { background: rgba(255,255,255,.12); color: #fff; }
.tt-btn--blue { background: var(--global-palette1); color: #fff; }
.tt-btn--blue:hover { background: var(--global-palette2); color: #fff; }

/* ===== Hero ===== */
.tt-hero { background: linear-gradient(135deg, #004a8f 0%, #005cab 55%, #0093d9 100%); color: #e8f1fb; padding: 64px 0 72px; }
.tt-hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.tt-hero__badge { display: inline-flex; align-items: center; gap: 10px; background: rgba(255,255,255,.95); border-radius: 999px; padding: 6px 16px 6px 10px; color: var(--global-palette1); font-size: 14px; font-weight: 600; margin-bottom: 20px; }
.tt-hero__badge img { height: 18px; width: auto; }
.tt-hero h1 { color: #fff; font-size: clamp(30px, 4.2vw, 46px); line-height: 1.18; margin: 0 0 18px; }
.tt-hero h1 span { color: #ffd27a; }
.tt-hero__lead { font-size: 18px; color: #e3eefb; margin-bottom: 22px; max-width: 620px; }
.tt-checks { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 10px; }
.tt-checks li { position: relative; padding-left: 32px; color: #fff; }
.tt-checks li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%; background: #ffd27a; color: #004a8f; font-weight: 800; font-size: 13px; display: grid; place-items: center; }
.tt-hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }

/* ===== Form báo giá ===== */
.tt-form { background: #fff; color: var(--global-palette5); border-radius: 16px; padding: 28px; box-shadow: 0 20px 50px rgba(0, 30, 70, .25); scroll-margin-top: 90px; }
.tt-form h2 { font-size: 22px; margin: 0 0 4px; color: var(--global-palette3); }
.tt-form__sub { font-size: 15px; margin: 0 0 16px; }
.tt-form .wpcf7-form p { margin: 0 0 10px; }
.tt-form input[type=text], .tt-form input[type=tel], .tt-form input[type=email], .tt-form input[type=number], .tt-form select {
	width: 100%; border: 1px solid var(--global-palette7); border-radius: 10px; padding: 11px 14px; font-size: 15px; background: #fbfdff;
}
.tt-form input:focus, .tt-form select:focus { border-color: var(--global-palette1); outline: none; box-shadow: 0 0 0 3px rgba(0, 92, 171, .15); }
.tt-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tt-form .wpcf7-acceptance { font-size: 13px; }
.tt-form .wpcf7-submit { width: 100%; background: var(--tt-accent); border: 0; color: #fff; font-weight: 700; font-size: 17px; border-radius: 999px; padding: 14px; cursor: pointer; }
.tt-form .wpcf7-submit:hover { background: var(--tt-accent-dark); }
.tt-form .wpcf7-spinner { display: block; margin: 8px auto 0; }
.tt-form__zalo { margin-top: 10px; font-weight: 600; }

/* ===== Thẻ ===== */
.tt-grid { display: grid; gap: 22px; margin-top: 36px; }
.tt-grid--4 { grid-template-columns: repeat(4, 1fr); }
.tt-grid--3 { grid-template-columns: repeat(3, 1fr); }
.tt-grid--2 { grid-template-columns: repeat(2, 1fr); }
.tt-card { background: #fff; border: 1px solid var(--global-palette7); border-radius: var(--tt-radius); padding: 26px; box-shadow: var(--tt-shadow); }
.tt-card h3 { font-size: 19px; margin: 12px 0 8px; }
.tt-card p { margin: 0; font-size: 16px; }
.tt-icon { width: 48px; height: 48px; border-radius: 12px; background: var(--global-palette8); color: var(--global-palette1); display: grid; place-items: center; font-size: 24px; }
.tt-num { width: 44px; height: 44px; border-radius: 50%; background: var(--global-palette1); color: #fff; font-weight: 800; display: grid; place-items: center; }

/* Phạm vi bảo hiểm */
.tt-cover { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.tt-cover__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.tt-cover__list li { background: #fff; border-left: 4px solid var(--global-palette1); border-radius: 10px; padding: 16px 18px; box-shadow: var(--tt-shadow); }
.tt-cover__list strong { color: var(--global-palette3); display: block; }
.tt-note { font-size: 14px; color: var(--global-palette6); margin-top: 14px; }
.tt-fit { background: var(--global-palette1); color: #e8f1fb; border-radius: 16px; padding: 30px; }
.tt-fit h3 { color: #fff; margin-top: 0; }
.tt-fit ul { margin: 0 0 20px; padding-left: 20px; }
.tt-fit li { margin-bottom: 8px; }

/* Sản phẩm */
.tt-product { display: flex; flex-direction: column; }
.tt-product__tag { font-size: 13px; font-weight: 700; color: var(--tt-sky); text-transform: uppercase; letter-spacing: .04em; }
.tt-product__price { margin-top: auto !important; padding-top: 14px; font-size: 15px !important; }
.tt-product__price b { color: var(--global-palette1); font-size: 20px; }

/* Hỏi đáp */
.tt-faq { max-width: 860px; margin: 32px auto 0; }
.tt-faq details { background: #fff; border: 1px solid var(--global-palette7); border-radius: 12px; padding: 0 22px; margin-bottom: 12px; }
.tt-faq summary { cursor: pointer; font-weight: 700; color: var(--global-palette3); padding: 18px 0; list-style: none; position: relative; padding-right: 30px; }
.tt-faq summary::after { content: "+"; position: absolute; right: 0; top: 14px; font-size: 24px; color: var(--global-palette1); }
.tt-faq details[open] summary::after { content: "–"; }
.tt-faq details p { margin: 0 0 18px; }

/* Dải kêu gọi */
.tt-cta { background: linear-gradient(135deg, #004a8f, #0093d9); color: #fff; border-radius: 20px; padding: 44px; display: flex; gap: 24px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.tt-cta h2 { color: #fff; margin: 0 0 6px; font-size: clamp(24px, 3vw, 32px); }
.tt-cta p { margin: 0; color: #e3eefb; }

/* ===== Chân trang ===== */
.tt-footer-info { background: #0f2440; color: #c3cfdd; padding: 56px 0 24px; font-size: 15px; }
.tt-footer-info__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; }
.tt-footer-info a { color: #fff; }
.tt-footer-info ul { list-style: none; margin: 0; padding: 0; }
.tt-footer-info li { margin-bottom: 8px; }
.tt-footer-info__brand { color: #fff; font-size: 22px; font-weight: 800; margin: 0 0 10px; }
.tt-footer-info__title { color: #fff; font-weight: 700; margin: 0 0 12px; }
.tt-footer-info__logo { background: #fff; padding: 8px 12px; border-radius: 8px; height: 41px; width: auto; margin-top: 8px; }
.tt-footer-info__note { border-top: 1px solid rgba(255,255,255,.12); margin-top: 32px; padding-top: 18px; font-size: 13px; color: #8fa1b7; }
.site-footer .site-bottom-footer-inner-wrap, .site-footer .footer-html { font-size: 13px; }

/* ===== Nút nổi ===== */
.tt-float { position: fixed; right: 18px; bottom: 22px; display: grid; gap: 12px; z-index: 999; }
.tt-float__btn { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 13px; text-decoration: none; box-shadow: 0 8px 20px rgba(0,0,0,.2); }
.tt-float__btn--zalo { background: #0068ff; }
.tt-float__btn--call { background: var(--tt-accent); animation: tt-pulse 2s infinite; }
.tt-float__btn:hover { color: #fff; transform: scale(1.05); }
@keyframes tt-pulse { 0% { box-shadow: 0 0 0 0 rgba(243,156,18,.55); } 70% { box-shadow: 0 0 0 16px rgba(243,156,18,0); } 100% { box-shadow: 0 0 0 0 rgba(243,156,18,0); } }
.tt-mbar { display: none; }

/* ===== Điện thoại & máy tính bảng ===== */
@media (max-width: 1024px) {
	.tt-grid--4 { grid-template-columns: repeat(2, 1fr); }
	.tt-grid--3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
	.tt-hero__grid, .tt-cover, .tt-footer-info__grid { grid-template-columns: 1fr; gap: 32px; }
	.tt-section { padding: 52px 0; }
	.tt-hero { padding: 40px 0 52px; }
}
@media (max-width: 600px) {
	body { font-size: 16px; padding-bottom: 60px; }
	.tt-grid--4, .tt-grid--3, .tt-grid--2, .tt-form__row { grid-template-columns: 1fr; }
	.tt-form { padding: 22px 18px; }
	.tt-cta { padding: 30px 22px; }
	.tt-float { display: none; }
	.tt-mbar { display: grid; grid-template-columns: 1fr 1fr 1.2fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 999; background: #fff; box-shadow: 0 -4px 16px rgba(0,0,0,.12); }
	.tt-mbar a { text-align: center; padding: 16px 4px; font-weight: 700; font-size: 15px; text-decoration: none; color: var(--global-palette1); }
	.tt-mbar a + a { border-left: 1px solid var(--global-palette7); }
	.tt-mbar a.is-primary { background: var(--tt-accent); color: #fff; }
}

/* ===== Trang sản phẩm (Bước 4) ===== */
.tt-phero { background: linear-gradient(135deg, #004a8f 0%, #005cab 60%, #0093d9 100%); color: #e3eefb; padding: 36px 0 48px; }
.tt-phero h1 { color: #fff; font-size: clamp(28px, 3.6vw, 42px); line-height: 1.2; margin: 8px 0 14px; max-width: 860px; }
.tt-phero__lead { font-size: 18px; max-width: 760px; margin: 0 0 14px; }
.tt-phero__price { font-size: 17px; margin: 0 0 22px; color: #fff; }
.tt-phero__price b { color: #ffd27a; font-size: 26px; }
.tt-crumb { font-size: 14px; margin-bottom: 18px; color: #bcd3ee; }
.tt-crumb a { color: #fff; text-decoration: none; }
.tt-crumb a:hover { text-decoration: underline; }
.tt-crumb span { margin: 0 4px; }
.tt-product__tag--light { color: #ffd27a; }
.tt-pbody { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 48px; padding-top: 48px; padding-bottom: 56px; align-items: start; }
.tt-pside { position: sticky; top: 100px; }
.tt-pside .tt-form { box-shadow: var(--tt-shadow); border: 1px solid var(--global-palette7); }
.tt-pside .tt-form__row { grid-template-columns: 1fr; gap: 0; }
.tt-psec { margin-bottom: 40px; }
.tt-psec h2 { font-size: clamp(22px, 2.6vw, 28px); margin: 0 0 14px; }
.tt-psec--note { background: var(--global-palette8); border-radius: var(--tt-radius); padding: 22px 24px; }
.tt-psec--note h2 { font-size: 20px; }
.tt-hl { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tt-hl li { background: #fff; border: 1px solid var(--global-palette7); border-radius: 10px; padding: 14px 16px 14px 44px; position: relative; color: var(--global-palette4); font-weight: 500; }
.tt-hl li::before { content: "✓"; position: absolute; left: 14px; top: 14px; width: 20px; height: 20px; border-radius: 50%; background: var(--global-palette1); color: #fff; font-size: 12px; font-weight: 800; display: grid; place-items: center; }
.tt-list { margin: 0; padding-left: 20px; }
.tt-list li { margin-bottom: 8px; }
.tt-cover__list--2col { grid-template-columns: 1fr 1fr; }
.tt-table-wrap { overflow-x: auto; border: 1px solid var(--global-palette7); border-radius: var(--tt-radius); }
.tt-table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 640px; }
.tt-table th, .tt-table td { padding: 11px 12px; border-bottom: 1px solid var(--global-palette7); text-align: right; white-space: nowrap; }
.tt-table thead th { background: var(--global-palette1); color: #fff; font-weight: 700; text-align: center; }
.tt-table tbody th { text-align: left; white-space: normal; color: var(--global-palette3); font-weight: 600; background: #fbfdff; }
.tt-table tbody tr:nth-child(even) td { background: #f7fafd; }
.tt-faq--left { margin: 0; max-width: none; }
.tt-card--link { text-decoration: none; color: inherit; transition: transform .2s, box-shadow .2s; }
.tt-card--link:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(0, 70, 138, .16); color: inherit; }
.tt-card--link h3 { color: var(--global-palette1); }
.tt-fit__more { display: block; margin-top: 14px; color: #fff; font-weight: 600; }
.tt-fit__more:hover { color: #ffd27a; }
@media (max-width: 1024px) {
	.tt-pbody { grid-template-columns: 1fr; }
	.tt-pside { position: static; }
	.tt-pside .tt-form__row { grid-template-columns: 1fr 1fr; gap: 10px; }
}
@media (max-width: 600px) {
	.tt-hl, .tt-cover__list--2col, .tt-pside .tt-form__row { grid-template-columns: 1fr; }
	.tt-pbody { padding-top: 32px; }
}
/* Bảng gọn hơn để đủ 5 cột trên máy tính */
.tt-pbody { grid-template-columns: minmax(0, 1fr) 330px; gap: 36px; }
.tt-table { font-size: 14px; min-width: 600px; }
.tt-table th, .tt-table td { padding: 9px 8px; }
.tt-table tbody th { width: 30%; }
