/* 86gems – tông màu theo web cũ: xám than + trắng/xám nhạt + đỏ đậm, font Montserrat */
:root {
  --ink: #2d2d2d; --ink2: #3a3a3a; --text: #444; --red: #b30000; --red2: #8f0000; --green: #627d47; --gold: #f0a500;
  --bg: #ffffff; --alt: #f7f7f7; --line: #e5e5e5; --mut: #777; --zalo: #0068ff;
  --r: 4px; --sh: 0 2px 10px rgba(0, 0, 0, .08);
  --f: 'Montserrat', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 15.5px/1.7 var(--f); }
a { color: var(--red); text-decoration: none; }
a:hover { color: var(--red2); }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { line-height: 1.3; color: #333; font-family: var(--f); }
h1, h2 { font-weight: 600; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }

/* nút: đỏ đậm, góc vuông, chữ in hoa như web cũ */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 26px; border-radius: 2px; font: 700 14px/1 var(--f); text-transform: uppercase; letter-spacing: .02em; border: 2px solid transparent; cursor: pointer; transition: background .15s, color .15s, transform .1s; white-space: nowrap; }
.btn:active { transform: scale(.98); }
.btn.ruby, .btn.zalo { background: var(--red); color: #fff; }
.btn.ruby:hover, .btn.zalo:hover { background: var(--red2); color: #fff; }
.btn.ghost { border-color: #555; color: #333; background: transparent; }
.btn.ghost:hover { background: #333; border-color: #333; color: #fff; }

/* header xám than */
.hdr { position: sticky; top: 0; z-index: 50; background: var(--ink); color: #fff; box-shadow: 0 1px 8px rgba(0, 0, 0, .25); }
.hdr-in { display: flex; align-items: center; gap: 16px; min-height: 70px; }
.logo { display: flex; align-items: center; gap: 10px; color: #fff; }
.logo:hover { color: #fff; }
.logo img { width: 46px; height: 46px; }
.logo span { font: 600 21px/1 var(--f); letter-spacing: .03em; }
.logo small { display: block; font: 400 11px/1.4 var(--f); color: #bbb; letter-spacing: .03em; margin-top: 4px; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 2px; }
.nav a { color: #ddd; padding: 10px 12px; font-weight: 500; font-size: 13.5px; text-transform: uppercase; letter-spacing: .03em; }
.nav a:hover, .nav a.on { color: #fff; }
.nav a.on { box-shadow: inset 0 -2px 0 var(--red); }
.nav .btn { margin-left: 10px; padding: 10px 16px; font-size: 13px; color: #fff; box-shadow: none; }
.mnu-t, .mnu-b { display: none; }

/* banner: ảnh nền + khung trắng như web cũ */
.hero { position: relative; background: #eee var(--hero) center right / cover no-repeat; min-height: 560px; display: flex; align-items: center; }
.hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255, 255, 255, .55) 0%, rgba(255, 255, 255, 0) 55%); }
.hero-in { position: relative; padding-top: 48px; padding-bottom: 48px; }
.hero-card { background: rgba(255, 255, 255, .96); max-width: 540px; padding: 34px 32px 30px; box-shadow: 0 4px 24px rgba(0, 0, 0, .12); border-left: 4px solid var(--red); }
.eyebrow { margin: 0 0 6px; font-size: 18px; font-weight: 500; text-transform: uppercase; color: #555; }
.hero h1 { font-size: clamp(24px, 3vw, 31px); font-weight: 600; text-transform: uppercase; margin: 0 0 14px; color: #444; }
.cta { display: flex; flex-wrap: wrap; gap: 10px; }
.hero .cta { margin-top: 22px; }
.ticks { list-style: none; padding: 0; margin: 0; }
.ticks li { position: relative; padding: 8px 0 8px 28px; border-bottom: 1px solid var(--line); }
.ticks li::before { content: '✔'; position: absolute; left: 0; top: 8px; color: var(--green); font-weight: 700; }

/* khối */
.sec { padding-top: 52px; padding-bottom: 8px; }
.sec-h { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 20px; border-bottom: 2px solid #f0f0f0; padding-bottom: 10px; position: relative; }
.sec-h::after { content: ''; position: absolute; left: 0; bottom: -2px; width: 70px; height: 2px; background: var(--red); }
.sec-h h2 { margin: 0; font-size: clamp(20px, 2.4vw, 26px); text-transform: uppercase; color: #444; }
.sec-h a { font-weight: 600; white-space: nowrap; font-size: 14px; color: #555; }
.sec-h a:hover { color: var(--red); }
.ttl { font-size: clamp(24px, 3.2vw, 32px); margin: 6px 0 14px; text-transform: uppercase; color: #444; }
.intro { color: var(--mut); max-width: 760px; }
.crumb { font-size: 13.5px; color: var(--mut); padding-top: 16px; }
.crumb a { color: var(--mut); } .crumb a:hover { color: var(--red); }

/* lưới */
.cgrid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.ccard { background: #fff; border: 1px solid var(--line); overflow: hidden; color: #333; transition: box-shadow .15s; text-align: center; }
.ccard:hover { box-shadow: var(--sh); color: var(--red); }
.ccard img, .ccard .noimg { width: 100%; aspect-ratio: 1; object-fit: cover; }
.ccard span { display: block; padding: 10px 8px 12px; }
.ccard b { display: block; font-size: 14px; font-weight: 600; text-transform: uppercase; } .ccard small { color: var(--mut); }
.pgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.pcard { background: #fff; overflow: hidden; color: inherit; display: flex; flex-direction: column; transition: box-shadow .15s; border: 1px solid var(--line); }
.pcard:hover { box-shadow: 0 6px 20px rgba(0, 0, 0, .12); color: inherit; }
.pcard img, .pcard .noimg { width: 100%; aspect-ratio: 1; object-fit: cover; background: #f1f1f1; }
.pc-b { padding: 12px 14px 16px; display: flex; flex-direction: column; gap: 4px; flex: 1; text-align: center; }
.pc-b small { color: #999; font-size: 11.5px; text-transform: uppercase; letter-spacing: .05em; }
.pc-b b { font-weight: 500; font-size: 14.5px; line-height: 1.45; color: #333; }
.pc-b em { margin-top: auto; font-style: normal; color: var(--red); font-weight: 600; font-size: 14px; }
.bgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.bcard { background: #fff; overflow: hidden; color: inherit; display: flex; flex-direction: column; border: 1px solid var(--line); transition: box-shadow .15s; }
.bcard:hover { box-shadow: 0 6px 20px rgba(0, 0, 0, .1); color: inherit; }
.bcard img, .bcard .noimg { width: 100%; aspect-ratio: 16/10; object-fit: cover; background: #f1f1f1; }
.bc-b { padding: 14px 16px 18px; display: flex; flex-direction: column; gap: 6px; }
.bc-b small { color: #999; font-size: 12.5px; }
.bc-b b { font: 600 17px/1.4 var(--f); color: #333; }
.bc-b span { color: #666; font-size: 14px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.noimg { background: linear-gradient(135deg, #eee, #ddd); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 22px; }
.chips a { padding: 7px 14px; background: #fff; border: 1px solid #ddd; color: #444; font-size: 13px; font-weight: 500; text-transform: uppercase; }
.chips a.on, .chips a:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.pager { display: flex; gap: 6px; justify-content: center; margin: 28px 0 0; flex-wrap: wrap; }
.pager a, .pager span { min-width: 40px; height: 40px; display: grid; place-items: center; background: #fff; border: 1px solid #ddd; color: #444; font-weight: 600; }
.pager span { background: var(--red); color: #fff; border-color: var(--red); }

/* điều khiến khách chọn 86Gems */
.why { background: var(--alt); margin-top: 56px; padding: 52px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.why h2 { text-align: center; margin: 0 0 30px; font-size: clamp(20px, 2.6vw, 26px); text-transform: uppercase; color: #444; }
.wgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.wgrid div { padding: 24px; background: #fff; border-top: 3px solid var(--red); box-shadow: var(--sh); }
.wgrid b { display: block; font-size: 16px; font-weight: 600; text-transform: uppercase; margin: 0 0 8px; color: #333; }
.wgrid p { margin: 0; color: #666; font-size: 14.5px; }

/* kết quả đạt được */
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; padding-bottom: 20px; }
.stats h2 { font-size: clamp(22px, 2.8vw, 30px); text-transform: uppercase; color: #444; margin: 0 0 14px; }
.stats .ticks { margin-bottom: 22px; font-size: 16px; }
.stats-i img { width: 100%; box-shadow: 0 4px 18px rgba(0, 0, 0, .15); border: 4px solid #fff; }

/* FAQ */
.faq h2 { font-size: clamp(20px, 2.6vw, 26px); text-transform: uppercase; color: #444; }
.faq details { background: #fff; border: 1px solid var(--line); margin-bottom: 8px; }
.faq summary { cursor: pointer; padding: 14px 18px; font-weight: 600; color: #333; list-style: none; position: relative; padding-right: 44px; }
.faq summary::after { content: '+'; position: absolute; right: 18px; top: 10px; font-size: 22px; color: var(--red); }
.faq details[open] summary::after { content: '–'; }
.faq details > div { padding: 0 18px 14px; color: #555; }

/* form báo giá */
.quote { background: var(--ink); color: #ddd; margin-top: 60px; padding: 52px 0; }
.quote-in { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.quote h2 { color: #fff; margin: 0 0 10px; font-size: clamp(22px, 3vw, 30px); text-transform: uppercase; }
.quote .or { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.quote .btn.ghost { border-color: #fff; color: #fff; }
.quote .btn.ghost:hover { background: #fff; color: #333; }
.qform { background: #fff; padding: 22px; display: grid; gap: 10px; box-shadow: 0 10px 40px rgba(0, 0, 0, .3); }
.qform input, .qform textarea { width: 100%; padding: 12px 14px; border: 1px solid #ddd; background: #fff; font: 400 14.5px var(--f); color: #222; outline: none; border-radius: 2px; }
.qform input:focus, .qform textarea:focus { border-color: #999; }
.qform .btn { width: 100%; }
.hp { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; }
.msg { margin: 0; font-weight: 600; min-height: 1.4em; }
.msg.ok { color: var(--green); } .msg.err { color: var(--red); }

/* sản phẩm */
.prod { display: grid; grid-template-columns: 1.05fr .95fr; gap: 36px; padding-top: 18px; }
.gal-main img { width: 100%; aspect-ratio: 1; object-fit: cover; background: #f1f1f1; border: 1px solid var(--line); }
.gal-th { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; margin-top: 10px; }
.gal-th button { padding: 0; border: 2px solid transparent; overflow: hidden; cursor: pointer; background: none; }
.gal-th button.on { border-color: var(--red); }
.gal-th img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.prod-i .cat { color: #999; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; font-size: 12.5px; }
.prod-i h1 { font-size: clamp(22px, 2.8vw, 30px); margin: 6px 0 12px; color: #333; }
.price { font-size: 17px; padding: 12px 16px; background: var(--alt); border-left: 4px solid var(--red); }
.price b { color: var(--red); } .price span { color: var(--mut); font-size: 13.5px; }
.prod-i .cta { margin: 18px 0 10px; }
.prod-i .ticks { font-size: 14.5px; }

/* bài viết */
.post { max-width: 820px; }
.post header small { color: #999; }
.post h1 { font-size: clamp(24px, 3.4vw, 34px); margin: 6px 0 18px; color: #333; }
.cover img { width: 100%; max-height: 460px; object-fit: cover; }
.toc { background: var(--alt); border: 1px solid var(--line); padding: 12px 18px; margin: 22px 0; }
.toc summary { font-weight: 600; cursor: pointer; color: #333; text-transform: uppercase; font-size: 14px; }
.toc ol { margin: 10px 0 4px; padding-left: 20px; }
.toc li.h3 { margin-left: 16px; list-style: circle; font-size: 14.5px; }
.art { font-size: 16px; line-height: 1.85; color: #444; }
.art h2 { font-size: clamp(20px, 2.6vw, 24px); margin: 1.6em 0 .5em; }
.art h3 { font-size: 19px; margin: 1.4em 0 .4em; font-weight: 600; }
.art h4 { font-size: 17px; }
.art img { margin: 14px auto; height: auto; }
.art figure { margin: 18px 0; } .art figcaption { text-align: center; color: var(--mut); font-size: 14px; }
.art blockquote { margin: 18px 0; padding: 12px 18px; border-left: 4px solid var(--red); background: var(--alt); }
.art a { text-decoration: underline; text-underline-offset: 3px; }
.tbl { overflow-x: auto; margin: 16px 0; }
.art table { border-collapse: collapse; width: 100%; background: #fff; font-size: 14.5px; }
.art td, .art th { border: 1px solid var(--line); padding: 8px 10px; }
.art th { background: var(--alt); }
.embed { width: 100%; aspect-ratio: 16/9; border: 0; }
.ctabox { margin: 36px 0 0; padding: 22px; background: var(--alt); border: 1px solid var(--line); border-top: 3px solid var(--red); }
.ctabox b { font: 600 19px var(--f); color: #333; text-transform: uppercase; } .ctabox p { margin: 6px 0 14px; }

/* liên hệ */
.contact { display: grid; grid-template-columns: 1fr 1.2fr; gap: 20px; align-items: stretch; }
.ccards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cc { background: #fff; border: 1px solid var(--line); padding: 18px; color: #333; }
.cc i { font-style: normal; font-size: 24px; } .cc b { display: block; margin: 6px 0 2px; text-transform: uppercase; font-size: 14px; } .cc span { color: #666; font-size: 14.5px; }
.map { width: 100%; min-height: 320px; border: 0; }
.contact + .faq { margin-top: 36px; }
.nf { text-align: center; padding-bottom: 40px; } .nf .cta { justify-content: center; margin: 16px 0 30px; } .nf .bgrid { text-align: left; }

/* footer xám than */
.ftr { background: #222; color: #bbb; padding-top: 44px; font-size: 14.5px; }
main > :last-child:not(.quote) { margin-bottom: 56px; }
.ftr-in { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 28px; }
.ftr h4 { color: #fff; margin: 0 0 12px; font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.ftr p { margin: 0 0 8px; }
.ftr a { color: #ddd; } .ftr a:hover { color: #fff; }
.copy { text-align: center; padding: 18px; margin-top: 30px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: 13px; color: #888; }
.fab { position: fixed; right: 14px; bottom: 16px; z-index: 60; display: flex; flex-direction: column; gap: 10px; }
.fab a { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 13px; box-shadow: 0 6px 16px rgba(0, 0, 0, .25); }
.fab .fz { background: var(--zalo); animation: ping 2.4s infinite; }
.fab .fc { background: var(--red); font-size: 22px; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(0, 104, 255, .5); } 70% { box-shadow: 0 0 0 14px rgba(0, 104, 255, 0); } 100% { box-shadow: 0 0 0 0 rgba(0, 104, 255, 0); } }

/* responsive */
@media (max-width: 1024px) {
  .cgrid { grid-template-columns: repeat(3, 1fr); }
  .pgrid { grid-template-columns: repeat(3, 1fr); }
  .ftr-in { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .mnu-b { display: grid; gap: 5px; margin-left: auto; padding: 10px; cursor: pointer; }
  .mnu-b i { display: block; width: 24px; height: 2px; background: #fff; transition: transform .2s, opacity .2s; }
  .nav { position: absolute; top: 70px; left: 0; right: 0; flex-direction: column; align-items: stretch; background: var(--ink); padding: 8px 16px 16px; gap: 2px; display: none; box-shadow: 0 12px 20px rgba(0, 0, 0, .25); }
  .nav a.on { box-shadow: inset 3px 0 0 var(--red); }
  .nav .btn { margin: 8px 0 0; }
  .mnu-t:checked ~ .nav { display: flex; }
  .mnu-t:checked ~ .mnu-b i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .mnu-t:checked ~ .mnu-b i:nth-child(2) { opacity: 0; }
  .mnu-t:checked ~ .mnu-b i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .hero { min-height: 0; display: block; background: #f3f3f3; }
  .hero::before { display: none; }
  .hero-in { padding-top: 0; padding-bottom: 0; }
  .hero-in::before { content: ''; display: block; height: 46vw; margin: 0 -16px; background: var(--hero) 72% center / cover no-repeat; }
  .hero-card { max-width: none; margin: 0 -16px; border-left: 0; border-top: 4px solid var(--red); padding: 24px 18px; box-shadow: none; }
  .prod, .quote-in, .contact, .stats { grid-template-columns: 1fr; }
  .wgrid { grid-template-columns: 1fr; }
  .bgrid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  body { font-size: 15px; }
  .logo small { display: none; }
  .hero-in::before { height: 56vw; }
  .cgrid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .pgrid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .pc-b { padding: 10px 8px 12px; } .pc-b b { font-size: 13.5px; }
  .bgrid { grid-template-columns: 1fr; }
  .ccards { grid-template-columns: 1fr; }
  .ftr-in { grid-template-columns: 1fr; }
  .art { font-size: 15.5px; }
  .cta .btn { flex: 1 1 auto; }
  .sec-h { flex-direction: column; gap: 4px; }
}

/* ghi chú trong bài (giá tham khảo…) */
.art .note { background: #fff8e6; border-left: 4px solid var(--gold); padding: 12px 16px; font-size: 14.5px; color: #555; }
