/* Máy Văn Phòng Thành Đạt (photocopy) — trang chủ theo mockup (đợt 9). Xanh lá #008e46 + cốm #86bb46. Tiền tố td- */
:root { --c1: #008e46; --c1d: #007639; --c2: #86bb46; --ink: #16231b; --mu: #5b665f; --ft: #0a7f41; --line: #e2e8e4; --hf: "Be Vietnam Pro", Inter, sans-serif; --bf: Inter, sans-serif; --r: 8px; --rb: 4px; }
.td-tb { font-size: 13.5px; color: #4b544e; } .td-tb a { color: #4b544e !important; }
#header #logo a { display: block; width: 262px; height: 66px; background: url("icons/logo.png") left center / contain no-repeat; font-size: 0 !important; color: transparent !important; }
#header .header-nav-main > li { margin: 0 14px; }
#header .header-nav-main > li > a { font-size: 16px; font-weight: 600; color: var(--c1) !important; padding: 0; }
#header .header-nav-main > li > a:hover { color: var(--c1d) !important; }
#header .header-button-1 .button { background: var(--c1) !important; border-color: var(--c1) !important; color: #fff !important; min-height: 48px; line-height: 48px; padding: 0 28px; border-radius: 4px !important; font-size: 15.5px; font-weight: 600; text-transform: none; letter-spacing: 0; }
.td-sec h2, .td-h2 { font-size: 36px; line-height: 1.2; font-weight: 700; letter-spacing: -.015em; margin: 0; color: #16231b; }
.td-c { text-align: center; }
.td-sub { text-align: center; color: var(--c1); font-size: 18px; margin: 8px 0 0; }
.td-sec .b9-all { color: var(--c1) !important; }
/* hero */
.td-hero-sec { padding: 34px 0 28px !important; }
.td-hero-sec .section-bg .bg { filter: blur(16px) saturate(.8); opacity: .55; transform: scale(1.08); }
.td-hero-sec .section-bg { background: #eef3ef; overflow: hidden; }
.td-h1 { text-align: center; font-size: 50px; line-height: 1.2; font-weight: 800; letter-spacing: -.02em; margin: 0; color: #141c17; }
.td-h1 span { color: var(--c1); }
.td-hero-s { text-align: center; color: var(--c1); font-size: 19px; margin: 6px 0 22px; }
.td-dual { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.td-dual > div { background: #fff; border-radius: 6px; overflow: hidden; display: flex; flex-direction: column; align-items: center; padding-bottom: 22px; box-shadow: 0 10px 26px rgba(20,40,30,.08); }
.td-dual img { width: 100%; aspect-ratio: 668 / 404; object-fit: cover; display: block; margin-bottom: 16px; }
.td-dual b { font-size: 26px; font-family: var(--hf); color: #16231b; }
.td-dual span { font-size: 16px; color: var(--mu); margin: 4px 0 16px; }
.td-dual em { font-style: normal; font-size: 14.5px; color: var(--c1); background: #eaf6ee; border: 1px solid #b8e0c6; border-radius: 4px; padding: 3px 12px; margin: 6px 0 14px; }
.td-dual .b9-btn { min-width: 236px; min-height: 48px; }
/* ưu điểm */
.td-com-sec { padding: 26px 0 30px !important; }
.td-com { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.td-com > div { display: flex; flex-direction: column; align-items: center; gap: 12px; border-left: 1px solid #e2e8e4; text-align: center; }
.td-com > div:first-child { border-left: 0; }
.td-com img { width: 66px; height: 66px; }
.td-com span { font-size: 18px; font-weight: 600; color: #16231b; }
/* bảng giá */
.td-price-sec { padding: 32px 0 32px !important; }
.td-tbl { width: 100%; border-collapse: collapse; margin: 26px 0 26px; background: #fff; }
.td-tbl th { background: var(--c1); color: #fff; font-weight: 600; font-size: 16px; padding: 14px; text-align: center; border: 0; text-transform: none; letter-spacing: 0; }
.td-tbl td { text-align: center; padding: 12px; font-size: 16px; color: #222; border-bottom: 1px solid #e6ebe8; }
.td-tbl td:first-child { font-weight: 600; }
.td-tbl td:last-child { color: var(--c1); font-weight: 700; }
.td-reg { min-width: 268px; min-height: 52px; font-size: 17px; }
/* SP */
.td-prod-sec { padding: 32px 0 22px !important; }
.td-prod { --gap: 26px; --pc-ar: 300 / 290; --pc-pad: 6px; }
.td-prod .b9-pc { text-align: center; }
.td-prod .b9-pc-t { font-size: 16.5px; font-weight: 700; }
.td-prod .b9-pc-img img { mix-blend-mode: multiply; }
.td-prod .b9-pc-p { font-size: 24px; font-weight: 800; }
.td-prod .b9-pc-btn a { min-height: 42px; font-size: 14.5px; border-radius: 4px; }
/* quy trình */
.td-step-sec { padding: 26px 0 30px !important; }
.td-step { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); position: relative; margin-top: 10px; min-height: 160px; align-items: center; }
.td-step::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; background: var(--c1); }
.td-step > div { position: relative; display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; padding-top: 76px; }
.td-step > div.up { padding-top: 0; padding-bottom: 76px; }
.td-step > div:not(.up) { flex-direction: column; }
.td-step i { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 48px; height: 48px; border-radius: 50%; background: var(--c1); color: #fff; font-style: normal; font-weight: 700; font-size: 17px; display: flex; align-items: center; justify-content: center; }
.td-step span { font-size: 16px; color: #2d3631; max-width: 180px; }
/* dịch vụ */
.td-svc-sec { padding: 30px 0 36px !important; }
.td-svc { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.td-svc a { color: #16231b; display: flex; flex-direction: column; }
.td-svc img { width: 100%; aspect-ratio: 434 / 246; object-fit: cover; display: block; border-radius: 4px; margin-bottom: 14px; }
.td-svc b { font-size: 21px; font-family: var(--hf); }
.td-svc em { font-style: normal; color: var(--c1); font-size: 15.5px; font-weight: 600; margin-top: 6px; display: inline-flex; gap: 6px; align-items: center; }
/* FAQ + phản hồi */
.td-faq-sec { padding: 34px 0 40px !important; }
.td-faq { margin-top: 20px; display: flex; flex-direction: column; gap: 10px; }
.td-faq details { background: #fff; border-radius: 6px; padding: 0 20px; }
.td-faq summary { list-style: none; cursor: pointer; padding: 16px 30px 16px 0; font-size: 16px; font-weight: 600; color: #16231b; position: relative; }
.td-faq summary::-webkit-details-marker { display: none; }
.td-faq summary::after { content: "+"; position: absolute; right: 0; top: 11px; font-size: 22px; }
.td-faq details[open] summary { color: var(--c1); } .td-faq details[open] summary::after { content: "–"; color: var(--c1); }
.td-faq details > div { color: var(--mu); font-size: 15px; padding: 0 0 16px; }
.td-tes { margin-top: 20px; display: flex; flex-direction: column; gap: 16px; }
.td-tes > div { background: #fff; border-radius: 6px; padding: 22px 26px; display: flex; gap: 22px; align-items: center; }
.td-tes img { width: 110px; height: 110px; border-radius: 50%; object-fit: cover; flex: none; }
.td-tes .b9-ic { width: 26px; height: 26px; color: var(--c1); float: left; margin: 0 12px 0 0; }
.td-tes p { font-size: 16px; color: #2d3631; margin: 0 0 10px; overflow: hidden; line-height: 1.55; }
.td-tes b { font-size: 16px; padding-left: 38px; }
/* tin */
.td-news-sec { padding: 34px 0 40px !important; }
.td-news { --gap: 22px; --po-ar: 434 / 218; }
.td-news .b9-po { border: 0; }
.td-news .b9-po-b { padding: 14px 0 0; }
.td-news .b9-po-t { font-size: 21px; }
#footer .b9-ft { --ft: #0a7f41; --ftlogo: 54px; }
.b9-ft-soc .b9-ic { --b9-ib: #0a7f41; }
@media (min-width: 850px) and (max-width: 1199px) { #header .header-nav-main > li { margin: 0 6px; } .td-step span { font-size: 14px; } }
@media (max-width: 849px) {
  #header #logo a { width: 170px; height: 44px; background-position: center; } #top-bar { display: none; }
  .td-sec h2, .td-h2 { font-size: 27px; }
  .td-h1 { font-size: 30px; } .td-hero-s { font-size: 16px; }
  .td-dual { grid-template-columns: minmax(0, 1fr); gap: 14px; } .td-dual b { font-size: 22px; }
  .td-com { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 0; } .td-com > div:nth-child(3) { border-left: 0; } .td-com img { width: 46px; height: 46px; } .td-com span { font-size: 14.5px; padding: 0 8px; }
  .td-tbl { display: block; overflow-x: auto; white-space: nowrap; } .td-tbl th, .td-tbl td { font-size: 14px; padding: 10px; }
  .td-prod { --nm: 2; }
  .td-step { grid-template-columns: minmax(0, 1fr); min-height: 0; gap: 14px; } .td-step::before { left: 23px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .td-step > div, .td-step > div.up { padding: 0 0 0 66px; flex-direction: row; text-align: left; min-height: 48px; justify-content: flex-start; } .td-step i { left: 24px; }
  .td-svc { grid-template-columns: minmax(0, 1fr); }
  .td-tes > div { flex-direction: column; text-align: center; } .td-tes b { padding: 0; }
  .td-news { --nm: 1; }
}
/* _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; }
