/* Bảo Hiểm Vững Tâm (baohiem3) — trang chủ y hệt mockup Astra đợt 6 (10-02): đỏ mận #d31146 + cam #e88c30, nền trắng/xám rất nhạt.
   Mockup rộng 793px -> x1.816. Toàn bộ chữ Be Vietnam Pro. Logo header/footer cùng màu đỏ mận (ghi chú duyệt: mockup footer vẽ cam). */
:root { --bh-r: #d31146; --bh-r2: #c40f40; --bh-o: #e88c30; --bh-ink: #1f1f1f; --bh-text: #444; --bh-muted: #6f6f6f; --bh-line: #e6e6e8; }
body, p, li, a, input, select, textarea, button, td, th, h1, h2, h3, h4, summary, .nav > li > a, #logo a { font-family: "Be Vietnam Pro", sans-serif !important; }
body { background: #fff; color: var(--bh-text); }

/* ---------- header: logo khiên tim + chữ 2 dòng, menu, nút đỏ ---------- */
#header .header-main { background: #fff !important; box-shadow: 0 1px 0 #ececec; }
#header .header-bg-color { background: #fff !important; }
#header .header-main .header-inner { max-width: 1440px; padding: 0 80px 0 80px !important; }
#header #logo { width: auto !important; margin: 0 !important; top: 0 !important; }
#header #logo a { position: relative; top: 0 !important; margin: 0 !important; display: flex; flex-direction: column; justify-content: center; min-height: 70px; padding-left: 82px; font-size: 0 !important; color: transparent !important; text-transform: none !important; white-space: nowrap; background: url(icons/logo.png) 0 50% / 64px 70px no-repeat; }
#header #logo a::before { content: "Bảo Hiểm"; color: #2a2a2a; font-size: 24px; font-weight: 600; line-height: 1.05; }
#header #logo a::after { content: "Vững Tâm"; color: var(--bh-r); font-size: 37px; font-weight: 700; line-height: 1.05; letter-spacing: -.01em; }
#header .header-main .flex-left { flex: 1 1 auto; }
#header .header-main .flex-left .header-nav-main { padding-left: 110px; flex-wrap: nowrap; }
#header .header-nav-main { flex-wrap: nowrap !important; }
#header .header-nav-main > li { margin: 0 18px !important; }
#header .header-nav-main > li > a { color: #333 !important; font-size: 16.5px !important; font-weight: 500 !important; text-transform: none !important; letter-spacing: 0 !important; padding: 8px 0 !important; white-space: nowrap; display: inline-flex !important; flex-wrap: nowrap !important; align-items: center; }
#header .header-nav-main > li > a::before, #header .header-nav-main > li > a::after { display: none !important; }
#header .header-nav-main .icon-angle-down { font-size: 13px; margin-left: 6px; opacity: .8; }
#header .header-button-1 a { background: var(--bh-r) !important; border: 0 !important; color: #fff !important; min-height: 56px; padding: 0 38px !important; border-radius: 4px !important; font-size: 18px !important; font-weight: 600 !important; text-transform: none !important; letter-spacing: 0 !important; display: inline-flex !important; align-items: center; white-space: nowrap; box-shadow: 0 6px 14px rgba(211, 17, 70, .2); }
.mobile-nav .icon-menu { color: var(--bh-r) !important; }

/* ---------- khung chung ---------- */
.bh-sec .col, .bh-hero .col, .bh-footer .col { padding: 0 !important; }
.bh-sec .row, .bh-hero .row, .bh-footer .row { max-width: none !important; margin: 0 !important; }
.bh-w { max-width: 1296px; margin: 0 auto; }
.bh-c { text-align: center; }
.bh-h2 { color: var(--bh-r) !important; font-size: 44px !important; font-weight: 700 !important; line-height: 1.2 !important; letter-spacing: -.02em; margin: 0 !important; }
.bh-sub { color: #555; font-size: 20px; margin-top: 6px; }
.bh-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; }
.bh-btn { display: inline-flex; align-items: center; justify-content: center; gap: 16px; min-height: 58px; padding: 0 40px; background: var(--bh-r); color: #fff !important; font-size: 18px; font-weight: 600; border-radius: 5px; border: 0; white-space: nowrap; box-shadow: 0 8px 18px rgba(211, 17, 70, .18); text-transform: none; letter-spacing: 0; }
.bh-btn img { width: 22px; height: 22px; }
.bh-btn-lg { min-height: 64px; padding: 0 44px; font-size: 20px; }
.bh-btn-o { background: var(--bh-o); box-shadow: 0 8px 18px rgba(232, 140, 48, .2); }
.bh-more { display: inline-flex; align-items: center; gap: 10px; color: var(--bh-r) !important; font-size: 18px; font-weight: 600; }
.bh-more img { width: 20px; height: 20px; }

/* ---------- hero ---------- */
.section.bh-hero { min-height: 454px; padding: 0 !important; align-items: center !important; }
.bh-hero .section-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255, 255, 255, .78) 0%, rgba(255, 255, 255, .45) 34%, rgba(255, 255, 255, 0) 50%); }
.bh-hero-in { padding: 40px 0 50px; }
.bh-hero h1 { color: var(--bh-r) !important; font-size: 65px !important; font-weight: 800 !important; line-height: 1.17 !important; letter-spacing: -.025em; margin: 0 0 16px !important; }
.bh-lead { color: #3a3a3a; font-size: 23px; line-height: 1.55; margin-bottom: 32px; }

/* ---------- giai đoạn ---------- */
.section.bh-stage { padding: 22px 0 22px !important; }
.bh-stage-in { display: grid; grid-template-columns: auto repeat(4, minmax(0, 1fr)); align-items: center; gap: 22px; }
.bh-stage-q { color: var(--bh-ink); font-size: 21.5px; font-weight: 600; padding-right: 18px; white-space: nowrap; }
.bh-chip { display: flex; align-items: center; justify-content: center; gap: 16px; height: 66px; border: 1.5px solid #e2e2e4; border-radius: 6px; color: #444 !important; font-size: 18px; background: #fff; white-space: nowrap; }
.bh-chip img { width: 30px; height: 30px; }
.bh-chip.on { border-color: var(--bh-r); background: #fff0f3; color: var(--bh-r) !important; box-shadow: 0 0 0 2px rgba(211, 17, 70, .12); }

/* ---------- giải pháp bảo vệ + quy trình bồi thường ---------- */
.section.bh-sol { padding: 34px 0 30px !important; }
.bh-sol-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px 24px; margin-top: 26px; }
.bh-sc { background: #fff; border: 1px solid #ececee; border-radius: 6px; padding: 22px 22px 20px 44px; box-shadow: 0 2px 8px rgba(0, 0, 0, .025); }
.bh-sc > img { width: 80px; height: 80px; display: block; margin: 0 0 8px -6px; }
.bh-sc h3 { color: var(--bh-ink) !important; font-size: 20.5px !important; font-weight: 600 !important; margin: 0 0 8px !important; line-height: 1.35 !important; letter-spacing: -.01em; white-space: nowrap; }
.bh-sc > div { color: #6a6a6a; font-size: 16.5px; line-height: 1.55; margin-bottom: 10px; }
.bh-claim { margin-top: 40px; }
@media (min-width: 850px) { .bh-claim .bh-h2 { font-size: 40px !important; } .bh-why .bh-h2 { font-size: 37px !important; } .bh-blog .bh-faq-h { font-size: 36px !important; } }
.bh-steps { display: grid; grid-template-columns: minmax(0, 1fr) 96px minmax(0, 1fr) 96px minmax(0, 1fr); align-items: center; gap: 26px; margin: 22px 0 0; padding: 0 40px; }
.bh-st { display: flex; align-items: flex-start; gap: 26px; }
.bh-st > b { flex: 0 0 auto; width: 62px; height: 62px; border-radius: 50%; background: var(--bh-r); color: #fff; font-size: 28px; font-weight: 600; display: flex; align-items: center; justify-content: center; }
.bh-st h3 { color: var(--bh-ink) !important; font-size: 19.5px !important; font-weight: 600 !important; margin: 4px 0 6px !important; }
.bh-st div div { color: #6a6a6a; font-size: 16.5px; line-height: 1.55; }
.bh-st-line { display: block; height: 2px; background: var(--bh-r); opacity: .85; }
.bh-note { color: #777; font-size: 15px; font-style: italic; margin-top: 18px; }

/* ---------- tư vấn ---------- */
.section.bh-consult { padding: 30px 0 30px !important; }
.bh-cs-in { display: grid; grid-template-columns: minmax(0, 713fr) minmax(0, 583fr); gap: 0; align-items: start; }
.bh-cs-img { height: 492px; overflow: hidden; background: #ece6e3; border-radius: 4px; }
.bh-cs-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bh-cs-txt { padding-left: 96px; }
.bh-eye { color: var(--bh-o); font-size: 17px; font-weight: 600; text-transform: uppercase; letter-spacing: .02em; margin-top: 8px; }
.bh-cs-txt .bh-h2 { font-size: 42px !important; line-height: 1.15 !important; margin: 6px 0 10px !important; }
.bh-cs-lead { color: #555; font-size: 19px; margin-bottom: 18px; }
.bh-form { margin: 0 !important; }
.bh-form label { display: block; color: #555; font-size: 15px; font-weight: 400; margin: 0 0 12px; }
.bh-form input[type=text], .bh-form input[type=tel], .bh-form select { display: block; width: 100%; height: 48px !important; margin: 6px 0 0 !important; border: 1px solid #dcdcde !important; border-radius: 4px !important; box-shadow: none !important; font-size: 15.5px !important; padding: 0 16px !important; background-color: #fff; }
.bh-form .bh-err, .bh-form label.bh-err { border-color: var(--bh-r) !important; color: var(--bh-r); }
.bh-g2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.bh-agree { display: flex !important; align-items: center; gap: 14px; }
.bh-agree input { width: 24px; height: 24px; margin: 0 !important; }
.bh-btn-full { width: 100%; min-height: 56px; margin: 2px 0 0 !important; font-size: 18px; }
.bh-ok { margin-top: 12px; color: var(--bh-r); font-size: 15px; }

/* ---------- vì sao chọn ---------- */
.section.bh-why { padding: 28px 0 32px !important; }
.bh-why-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; margin-top: 22px; padding-left: 40px; }
.bh-wi { display: flex; gap: 28px; }
.bh-wi > i { flex: 0 0 auto; width: 56px; height: 56px; border-radius: 50%; background: var(--bh-r) url(icons/check-w.png) center / 30px no-repeat; }
.bh-wi h3 { color: var(--bh-ink) !important; font-size: 21px !important; font-weight: 600 !important; margin: 2px 0 6px !important; }
.bh-wi div div { color: #6a6a6a; font-size: 16.5px; line-height: 1.55; }

/* ---------- cơ hội nghề nghiệp ---------- */
.section.bh-career { padding: 0 !important; }
.bh-car-in { display: flex; align-items: center; gap: 34px; min-height: 132px; padding: 0 0 0 46px; }
.bh-car-ic { width: 76px; height: 76px; }
.bh-car-txt { flex: 1 1 auto; }
.bh-car-txt h2 { color: var(--bh-r) !important; font-size: 28.5px !important; font-weight: 700 !important; margin: 0 0 6px !important; letter-spacing: -.01em; }
.bh-car-txt div { color: #555; font-size: 19.5px; }
.bh-career .bh-btn { min-height: 58px; padding: 0 40px; font-size: 18px; }

/* ---------- điều bạn quan tâm + hỏi đáp ---------- */
.section.bh-blog { padding: 30px 0 30px !important; }
.bh-more-h { font-size: 18px; margin-bottom: 8px; white-space: nowrap; }
.bh-po-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 20px; }
.bh-po { border: 1px solid #ececee; border-radius: 6px; overflow: hidden; }
.bh-po-img { display: block; aspect-ratio: 413 / 226; overflow: hidden; background: #ece6e3; }
.bh-po-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bh-po-b { padding: 16px 26px 18px; }
.bh-po-k { display: block; color: var(--bh-o); font-size: 16px; font-weight: 600; text-transform: uppercase; }
.bh-po h3 { margin: 6px 0 10px !important; font-size: 19.5px !important; font-weight: 500 !important; line-height: 1.4 !important; }
.bh-po h3 a { color: var(--bh-ink) !important; }
.bh-faq-h { margin-top: 38px !important; }
.bh-faq { margin-top: 18px; }
.bh-faq details { border: 1px solid #e6e6e8; border-radius: 6px; margin-bottom: 12px; background: #fff; }
.bh-faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 52px; padding: 0 28px; color: #2a2a2a; font-size: 17px; font-weight: 600; }
.bh-faq summary::-webkit-details-marker { display: none; }
.bh-faq summary::after { content: ""; flex: 0 0 auto; width: 32px; height: 32px; border-radius: 50%; background: #555 url(icons/plus-w.png) center / 18px no-repeat; }
.bh-faq details[open] summary { color: var(--bh-r); }
.bh-faq details[open] summary::after { background: var(--bh-r) url(icons/minus-w.png) center / 18px no-repeat; }
.bh-faq details > div { padding: 0 28px 16px; color: #6a6a6a; font-size: 15.5px; line-height: 1.55; }

/* ---------- footer ---------- */
.section.bh-footer { padding: 36px 0 0 !important; border-top: 6px solid var(--bh-r); }
.bh-ft { max-width: 1296px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 432fr) minmax(0, 268fr) minmax(0, 330fr) minmax(0, 266fr); }
.bh-ft-logo { display: inline-flex; align-items: center; gap: 22px; }
.bh-ft-logo img { width: 74px; height: 82px; object-fit: contain; }
.bh-ft-logo span { display: flex; flex-direction: column; color: var(--bh-r); font-size: 42px; font-weight: 700; line-height: 1.05; letter-spacing: -.01em; }
.bh-ft-logo small { color: #fff; font-size: 27px; font-weight: 500; }
.bh-ft-tag { color: #e6e6e6; font-size: 18px; margin-top: 14px; }
.bh-ft-col h4 { color: #fff !important; font-size: 18.5px !important; font-weight: 600 !important; margin: 4px 0 14px !important; }
.bh-ft-col > a:not([href^="tel"]):not([href^="mailto"]) { display: block; color: #d4d4d6 !important; font-size: 16.5px; margin-bottom: 8px; }
.bh-ft-ct a, .bh-ft-addr { display: flex; align-items: flex-start; gap: 18px; color: #e6e6e6 !important; font-size: 18px; line-height: 1.5; margin-bottom: 8px; white-space: nowrap; }
.bh-ft-ct img { width: 28px; height: 28px; flex: 0 0 auto; margin-top: 1px; }
.bh-ft-ct a.bh-ft-phone { color: #f39a2f !important; font-size: 29px; font-weight: 700; line-height: 1.1; align-items: center; }
.bh-ft-bot { max-width: 1296px; margin: 20px auto 0; padding: 18px 0 22px; border-top: 1px solid #50555a; text-align: center; color: #d4d4d6; font-size: 17px; }
#footer .absolute-footer { display: none !important; }

/* ---------- mobile ---------- */
@media (max-width: 849px) {
  #header .header-main .header-inner { padding: 0 10px !important; }
  #header #logo a { min-height: 50px; padding-left: 50px; background-size: 40px 44px; } #header #logo a::before { font-size: 15px; } #header #logo a::after { font-size: 23px; }
  .bh-w { padding: 0 16px; }
  .bh-h2 { font-size: 30px !important; }
  .bh-head { flex-wrap: wrap; gap: 6px 16px; } .bh-more-h { font-size: 15px; margin: 0; }
  .section.bh-hero { min-height: 0; padding-top: 250px !important; background-color: #FFF4F6 !important; }
  .bh-hero .section-bg { top: 0; bottom: auto; height: 250px; }
  .bh-hero .section-bg::after { display: none; }
  .bh-hero .section-bg img.bg { object-position: 72% 30% !important; }
  .bh-hero-in { padding: 24px 16px 32px; }
  .bh-hero h1 { font-size: 36px !important; }
  .bh-lead { font-size: 17px; margin-bottom: 22px; } .bh-lead br { display: none; }
  .bh-btn-lg { min-height: 54px; font-size: 17px; padding: 0 28px; }
  .bh-stage-in { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .bh-stage-q { grid-column: 1 / -1; font-size: 18px; padding: 0; }
  .bh-chip { height: 52px; gap: 10px; font-size: 15px; } .bh-chip img { width: 24px; height: 24px; }
  .section.bh-sol { padding: 36px 0 30px !important; }
  .bh-sub { font-size: 17px; }
  .bh-sol-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; margin-top: 22px; }
  .bh-sc { padding: 22px 20px; } .bh-sc h3 { white-space: normal; } .bh-sc > img { width: 56px; height: 56px; margin-left: 0; } .bh-sc h3 { font-size: 19px !important; } .bh-sc > div { font-size: 16px; } .bh-sc > div br { display: none; }
  .bh-claim { margin-top: 40px; }
  .bh-steps { grid-template-columns: minmax(0, 1fr); gap: 18px; padding: 0; }
  .bh-st-line { display: none; }
  .bh-st > b { width: 48px; height: 48px; font-size: 22px; } .bh-st { gap: 16px; } .bh-st h3 { font-size: 18px !important; } .bh-st div div { font-size: 16px; }
  .section.bh-consult { padding: 36px 0 30px !important; }
  .bh-cs-in { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .bh-cs-img { height: 240px; }
  .bh-cs-txt { padding: 0; }
  .bh-cs-txt .bh-h2 { font-size: 32px !important; }
  .bh-cs-lead { font-size: 17px; }
  .bh-g2 { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .bh-why-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; padding: 0; }
  .bh-wi { gap: 16px; } .bh-wi > i { width: 44px; height: 44px; background-size: 24px; } .bh-wi h3 { font-size: 18.5px !important; } .bh-wi div div { font-size: 16px; } .bh-wi div div br { display: none; }
  .bh-car-in { flex-direction: column; align-items: flex-start; gap: 16px; padding: 32px 16px; min-height: 0; }
  .bh-car-ic { width: 60px; height: 60px; }
  .bh-car-txt h2 { font-size: 25px !important; } .bh-car-txt div { font-size: 17px; }
  .bh-po-grid { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .bh-faq-h { margin-top: 40px !important; }
  .bh-faq summary { font-size: 16px; padding: 12px 16px; } .bh-faq details > div { padding: 0 16px 16px; font-size: 15.5px; }
  .bh-ft { grid-template-columns: minmax(0, 1fr); gap: 26px; padding: 0 16px; }
  .bh-ft-logo img { width: 60px; height: 66px; } .bh-ft-logo span { font-size: 34px; } .bh-ft-logo small { font-size: 22px; }
  .bh-ft-ct a, .bh-ft-addr { white-space: normal; font-size: 16.5px; } .bh-ft-ct a.bh-ft-phone { font-size: 26px; }
  .bh-ft-bot { margin: 22px 16px 0; }
}
@media (min-width: 850px) and (max-width: 1399px) {
  .bh-w, .bh-ft, .bh-ft-bot { padding-left: 30px; padding-right: 30px; }
  #header .header-main .header-inner { padding: 0 24px !important; }
  #header .header-main .flex-left .header-nav-main { padding-left: 30px; }
  #header .header-button-1 a { padding: 0 22px !important; font-size: 16px !important; }
  .bh-stage-in { gap: 12px; } .bh-chip { font-size: 15px; gap: 10px; }
  .bh-cs-txt { padding-left: 46px; } .bh-sc h3 { white-space: normal; }
  .bh-ft-ct a, .bh-ft-addr { white-space: normal; font-size: 16px; } .bh-ft-ct a.bh-ft-phone { font-size: 24px; }
  .bh-ft-logo span { font-size: 36px; } .bh-ft-logo small { font-size: 24px; }
}
@media (min-width: 850px) and (max-width: 1199px) {
  #header #logo a { font-size: 0 !important; padding-left: 52px; min-height: 56px; background-size: 44px 48px; } #header #logo a::before { font-size: 16px; } #header #logo a::after { font-size: 25px; }
  #header .header-main .flex-left .header-nav-main { padding-left: 18px; }
  .bh-stage-in { grid-template-columns: repeat(4, minmax(0, 1fr)); } .bh-stage-q { grid-column: 1 / -1; }
  .bh-steps { padding: 0; grid-template-columns: minmax(0, 1fr) 30px minmax(0, 1fr) 30px minmax(0, 1fr); gap: 12px; }
}
/* _midwidth: header Flatsome ở 850-1399px (laptop nhỏ/tablet ngang) — menu dựng theo mockup 1440 tràn phải; dùng chung mọi site */
@media (min-width: 850px) and (max-width: 1399px) {
  #header .header-nav-main > li, #header .header-bottom-nav > li { margin-left: 6px !important; margin-right: 6px !important; }
  #header .header-nav-main > li > a, #header .header-bottom-nav > li > a { font-size: 14px !important; }
  #header .header-search-form { max-width: 300px !important; width: 300px !important; margin-left: 20px !important; }
}
@media (min-width: 850px) and (max-width: 1199px) {
  #logo { width: auto !important; max-width: 210px !important; } #logo a { font-size: 21px !important; }
  #header .header-main .flex-right .header-button-1, #header .header-main .flex-right li.html, #header .header-search-form, #top-bar .flex-right { display: none !important; }
  #header .header-nav-main > li, #header .header-bottom-nav > li { margin-left: 3px !important; margin-right: 3px !important; }
  #header .header-nav-main > li > a, #header .header-bottom-nav > li > a { font-size: 13px !important; }
  #header .flex-col { min-width: 0; } #header .header-inner, #header .header-bottom .container { overflow: hidden; }
}
.col-inner a[href^="mailto"], .col-inner a[href^="tel"] { overflow-wrap: anywhere; }
