@charset "utf-8";
/* Nghiền Công Nghiệp — stylesheet dựa trên bố cục muban2, responsive, không dùng thư viện ngoài */
:root {
  --blue-dark: #0a3559;
  --blue: #1a6bab;
  --amber: #ef8b1f;
  --amber-soft: #f0a63c;
  --ink: #24292e;
  --grey: #5b6770;
  --grey-light: #9aa5ad;
  --line: #e3e7ea;
  --bg-soft: #f5f7f9;
  --radius: 3px;
  --maxw: 1140px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: "Segoe UI", "TUI Aviator", Roboto, "Noto Sans", Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.72;
  color: var(--ink);
  background: #fff;
}
img { display: block; max-width: 100%; height: auto; border: 0; }
ul, ol { list-style: none; }
a { color: var(--blue-dark); text-decoration: none; }
a:hover { color: var(--amber); }
h1, h2, h3, h4 { line-height: 1.32; font-weight: 700; color: var(--blue-dark); }
h1 { font-size: 32px; }
h2 { font-size: 24px; }
h3 { font-size: 19px; }
p { margin: 0 0 14px; color: var(--grey); }
p:last-child { margin-bottom: 0; }
strong { color: var(--blue-dark); }
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 18px; }
.clear { clear: both; }
.skip { position: absolute; left: -9999px; top: 0; background: #fff; padding: 8px 14px; z-index: 99; }
.skip:focus { left: 8px; }
.eyebrow { display: block; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--amber); font-weight: 700; margin-bottom: 8px; }
.lead { font-size: 18px; color: var(--grey); margin-bottom: 22px; }
.more { display: inline-block; font-weight: 700; font-size: 14px; color: var(--blue-dark); border-bottom: 2px solid var(--amber); padding-bottom: 2px; }
.more:hover { color: var(--amber); }

/* ---------- header + nav ---------- */
#header { background: var(--blue-dark); }
.nav { padding: 16px 0; position: relative; }
.nav .logo { display: block; float: left; }
.nav .logo img { height: 40px; width: auto; }
.nav ul { float: right; display: block; }
.nav li { float: left; }
.nav li a {
  display: block; color: #e9eef2; font-size: 15px; font-weight: 600;
  line-height: 46px; padding: 0 12px; border-bottom: 3px solid transparent;
  white-space: nowrap;
}
.nav li a:hover, .nav li a.active { color: #fff; border-bottom-color: var(--amber); background: none; }
#pull { display: none; float: right; color: #fff; font-weight: 700; line-height: 46px; padding: 0 12px; border: 1px solid rgba(255,255,255,.35); font-size: 14px; letter-spacing: .08em; }
#pull:hover { color: #fff; border-color: var(--amber); }

/* ---------- banner carousel ---------- */
.carousel { background: #0d2233; overflow: hidden; position: relative; }
.slides { position: relative; }
.slide { display: none; }
.slide.on { display: block; }
.slide-in { display: flex; align-items: center; gap: 34px; padding: 34px 0 40px; }
.slide-img { flex: 0 0 58%; max-width: 58%; }
.slide-img img { width: 100%; border-radius: var(--radius); }
.slide-text { flex: 1 1 auto; color: #dbe4ea; }
.slide-text h2 { color: #fff; font-size: 30px; margin-bottom: 14px; }
.slide-text h2 a { color: #fff; }
.slide-text p { color: #bcccda; font-size: 16px; margin-bottom: 20px; }
.slide-text .more { color: #fff; border-bottom-color: var(--amber-soft); background: rgba(255,255,255,.06); padding: 9px 16px; border: 1px solid rgba(240,166,60,.6); border-radius: var(--radius); }
.slide-text .more:hover { background: var(--amber); color: #fff; border-color: var(--amber); }
.dots { position: absolute; bottom: 14px; left: 0; right: 0; text-align: center; }
.dots button { width: 11px; height: 11px; border-radius: 50%; background: rgba(255,255,255,.35); border: 0; margin: 0 4px; cursor: pointer; padding: 0; }
.dots button.on { background: var(--amber); }
.arrows button {
  position: absolute; top: 45%; width: 40px; height: 40px; border: 0; cursor: pointer;
  background: rgba(0,0,0,.35); color: #fff; font-size: 20px; line-height: 40px; border-radius: 50%;
  opacity: 0; transition: opacity .25s;
}
.carousel:hover .arrows button { opacity: .85; }
.arrows .prev { left: 12px; }
.arrows .next { right: 12px; }

/* ---------- home sections ---------- */
#content { padding: 46px 0 10px; }
.sec { padding: 0 0 46px; }
.sec-head { border-bottom: 3px solid var(--line); padding-bottom: 12px; margin-bottom: 26px; }
.sec-head h2 { font-size: 26px; }
.sec-head p { margin: 6px 0 0; }
.col_top { display: flex; gap: 34px; padding-bottom: 44px; margin-bottom: 44px; border-bottom: 6px solid var(--bg-soft); }
.col_left { flex: 0 0 30%; }
.col_left h1, .col_left h2 { font-size: 25px; margin-bottom: 12px; }
.col_left p { margin-bottom: 16px; }
.col_left ul li { padding-left: 22px; position: relative; margin-bottom: 9px; font-weight: 600; color: var(--ink); }
.col_left ul li::before { content: ""; position: absolute; left: 0; top: 11px; width: 10px; height: 10px; background: var(--amber); border-radius: 2px; }
.col_right { flex: 1 1 auto; }
.stats { display: flex; gap: 12px; margin: 0 0 26px; }
.stats li { flex: 1; background: var(--bg-soft); border-top: 3px solid var(--amber); padding: 14px 12px; text-align: center; }
.stats b { display: block; font-size: 26px; color: var(--blue-dark); line-height: 1.2; }
.stats span { font-size: 13px; color: var(--grey); }

.cardgrid { display: flex; flex-wrap: wrap; gap: 22px; }
.cardgrid li { flex: 0 0 calc((100% - 44px) / 3); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.cardgrid.four li { flex: 0 0 calc((100% - 66px) / 4); }
.cardgrid.two li { flex: 0 0 calc((100% - 22px) / 2); }
.cardgrid img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.cardgrid .txt { padding: 14px 16px 16px; display: flex; flex-direction: column; flex: 1; }
.cardgrid h3 { font-size: 17px; margin-bottom: 8px; }
.cardgrid h3 a { color: var(--blue-dark); }
.cardgrid p { font-size: 14px; color: var(--grey); margin-bottom: 12px; }
.meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.meta span { font-size: 12px; background: var(--bg-soft); color: var(--grey); padding: 3px 8px; border-radius: 2px; }
.cardgrid .more { margin-top: auto; align-self: flex-start; }
.cardgrid li:hover { border-color: var(--amber-soft); }
.cardgrid li:hover img { filter: saturate(1.08); }

.wide { display: flex; gap: 26px; background: var(--bg-soft); border-radius: var(--radius); overflow: hidden; }
.wide li { flex: 1 1 50%; display: flex; gap: 18px; padding: 18px; }
.wide img { flex: 0 0 42%; width: 42%; object-fit: cover; border-radius: var(--radius); }
.wide .txt { flex: 1; }
.wide h3 { font-size: 18px; margin-bottom: 8px; }
.wide p { font-size: 14px; margin-bottom: 10px; }

/* ---------- inner page layout ---------- */
.crumbs { font-size: 14px; color: var(--grey-light); margin-bottom: 22px; }
.crumbs a { color: var(--grey); }
.crumbs span { margin: 0 6px; }
.page-head { background: linear-gradient(120deg, var(--blue-dark) 0%, #12507d 60%, #1a6bab 100%); color: #fff; padding: 34px 0; margin-bottom: 40px; }
.page-head h1 { color: #fff; font-size: 34px; margin-bottom: 8px; }
.page-head .eyebrow { color: var(--amber-soft); }
.page-head p { color: #cadbe8; font-size: 17px; margin: 0; max-width: 900px; }
.page-head .crumbs a, .page-head .crumbs span { color: #9fb8cb; }
.inner { display: flex; gap: 40px; align-items: flex-start; }
.left_content { flex: 1 1 auto; min-width: 0; }
.right_sidebar { flex: 0 0 286px; width: 286px; }
.side-box { border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 24px; }
.side-box h2 { font-size: 17px; padding: 14px 16px; background: var(--blue-dark); color: #fff; border-radius: var(--radius) var(--radius) 0 0; }
.side-tree { border-top: 0; }
.side-tree > li { border-bottom: 1px solid var(--line); }
.side-tree .drop { display: block; padding: 11px 34px 11px 16px; font-weight: 600; font-size: 15px; color: var(--ink); background: var(--bg-soft) no-repeat; position: relative; cursor: pointer; }
.side-tree .drop::after { content: "+"; position: absolute; right: 14px; top: 9px; color: var(--amber); font-size: 18px; line-height: 1; }
.side-tree .drop:hover { color: var(--blue); }
.side-tree .sub { display: none; padding: 4px 0 8px; }
.side-tree .sub li { border: 0; }
.side-tree .sub a { display: block; padding: 5px 16px 5px 26px; font-size: 14px; color: var(--grey); position: relative; }
.side-tree .sub a::before { content: "›"; position: absolute; left: 14px; color: var(--amber-soft); }
.side-tree .sub a:hover { color: var(--blue); background: var(--bg-soft); }
.side-tree li.open .sub { display: block; }
.side-tree li.open .drop::after { content: "−"; }
.side-promo { padding: 18px 16px; }
.side-promo img { width: 100%; border-radius: var(--radius); margin-bottom: 12px; }
.side-promo p { font-size: 14px; margin-bottom: 12px; }

/* article body */
.topimg { margin-bottom: 26px; }
.topimg img { width: 100%; border-radius: var(--radius); }
.product_top h1 { margin-bottom: 10px; }
.content_text { margin-top: 34px; }
.content_text_bd { border-top: 4px solid var(--bg-soft); padding-top: 28px; }
.content_text h2 { margin-bottom: 14px; }
.content_text h3 { margin: 22px 0 10px; }
.content_text p { margin-bottom: 14px; }
.content_text ul, .content_text ol { margin: 0 0 18px; padding-left: 0; }
.content_text ul li { position: relative; padding-left: 24px; margin-bottom: 8px; color: var(--grey); }
.content_text ul li::before { content: ""; position: absolute; left: 4px; top: 11px; width: 8px; height: 8px; background: var(--amber); border-radius: 50%; }
.content_text ol { counter-reset: step; }
.content_text ol li { position: relative; padding-left: 40px; margin-bottom: 10px; color: var(--grey); counter-increment: step; }
.content_text ol li::before { content: counter(step); position: absolute; left: 0; top: 2px; width: 26px; height: 26px; background: var(--blue-dark); color: #fff; font-size: 13px; font-weight: 700; text-align: center; line-height: 26px; border-radius: var(--radius); }
.spec_strip { display: flex; flex-wrap: wrap; gap: 14px; margin: 22px 0 28px; }
.spec_strip div { flex: 1 1 calc(50% - 14px); background: var(--bg-soft); border-left: 3px solid var(--amber); padding: 12px 14px; }
.spec_strip dt, .spec_strip b { display: block; font-size: 13px; color: var(--grey-light); letter-spacing: .06em; text-transform: uppercase; }
.spec_strip span, .spec_strip strong { font-size: 17px; color: var(--blue-dark); font-weight: 700; }
#parameter { overflow-x: auto; margin: 8px 0 22px; }
.para_table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 620px; }
.para_table th, .para_table td { border: 1px solid var(--line); padding: 9px 10px; text-align: center; color: var(--grey); }
.para_table th { background: var(--blue-dark); color: #fff; font-weight: 600; }
.para_table tbody th { background: transparent; color: var(--blue-dark); font-weight: 600; text-align: left; white-space: nowrap; }
.para_table tbody tr:nth-child(even) { background: var(--bg-soft); }
.para_table caption { caption-side: top; text-align: left; font-weight: 700; color: var(--blue-dark); padding-bottom: 10px; }

/* faq / GEO */
.faq { margin-top: 8px; }
.faq details { border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 10px; background: #fff; }
.faq summary { cursor: pointer; padding: 13px 16px; font-weight: 600; color: var(--blue-dark); list-style: none; position: relative; padding-right: 40px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 16px; top: 12px; color: var(--amber); font-size: 20px; }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 16px 14px; margin: 0; }
.keypoints { background: var(--bg-soft); border-left: 4px solid var(--blue); padding: 18px 20px; border-radius: var(--radius); margin: 26px 0; }
.keypoints h2 { font-size: 19px; margin-bottom: 10px; }
.keypoints ul li { margin-bottom: 7px; padding-left: 22px; position: relative; color: var(--grey); font-size: 15px; }
.keypoints ul li::before { content: "✓"; position: absolute; left: 0; color: var(--amber); font-weight: 700; }

/* lists (case / solution / material) */
.list { display: flex; flex-wrap: wrap; gap: 24px; }
.list > li { flex: 0 0 calc((100% - 48px) / 3); }
.list.two > li { flex: 0 0 calc((100% - 24px) / 2); }
.list .cell { border: 1px solid var(--line); border-radius: var(--radius); height: 100%; display: flex; flex-direction: column; overflow: hidden; }
.list img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; }
.list .txt { padding: 14px 16px 16px; display: flex; flex-direction: column; flex: 1; }
.list h3 { font-size: 17px; margin-bottom: 8px; }
.list p { font-size: 14px; margin-bottom: 10px; }
.list .more { margin-top: auto; align-self: flex-start; }
.list .cell:hover { border-color: var(--amber-soft); }
.pager { margin: 32px 0 10px; text-align: center; }
.pager a, .pager span { display: inline-block; padding: 7px 13px; border: 1px solid var(--line); margin: 0 3px; font-size: 14px; color: var(--grey); }
.pager .on { background: var(--blue-dark); color: #fff; border-color: var(--blue-dark); }

/* related + footer */
.related { margin-top: 40px; border-top: 4px solid var(--bg-soft); padding-top: 26px; }
.sitemap-list { columns: 2; gap: 34px; margin-bottom: 26px; }
.sitemap-list h2 { font-size: 18px; margin-bottom: 8px; }
.sitemap-list ul { margin-bottom: 16px; break-inside: avoid; }
.sitemap-list li { margin-bottom: 5px; font-size: 15px; }
.sitemap-list a { color: var(--grey); }
.sitemap-list a:hover { color: var(--blue); }
#footer { background: #16202b; color: #97a5b1; padding: 44px 0 0; margin-top: 40px; }
.footer_link { display: flex; flex-wrap: wrap; gap: 34px; padding-bottom: 34px; }
.f_col { flex: 1 1 220px; }
.f_col_3 { flex: 2 1 380px; }
.f_col h2 { color: #fff; font-size: 17px; margin-bottom: 14px; }
.f_col p { color: #97a5b1; font-size: 14px; }
.f_col li { margin-bottom: 8px; font-size: 14px; }
.f_col a { color: #b9c6d1; }
.f_col a:hover { color: var(--amber-soft); }
.ft-bot { border-top: 1px solid #232f3c; padding: 16px 0 22px; font-size: 13px; color: #788796; }
.ft-bot .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
#totop { position: fixed; right: 18px; bottom: 22px; width: 42px; height: 42px; background: var(--blue-dark); color: #fff; border: 0; border-radius: var(--radius); font-size: 18px; cursor: pointer; opacity: 0; visibility: hidden; transition: .25s; }
#totop.show { opacity: .9; visibility: visible; }
#totop:hover { background: var(--amber); }

/* ---------- responsive ---------- */
@media all and (max-width: 1180px) {
  .col_top { flex-wrap: wrap; }
  .col_left { flex: 1 1 100%; }
  .inner { gap: 26px; }
  .right_sidebar { flex: 0 0 250px; width: 250px; }
  .list > li { flex: 0 0 calc((100% - 24px) / 2); }
  .cardgrid li, .cardgrid.four li { flex: 0 0 calc((100% - 22px) / 2); }
}
@media all and (max-width: 900px) {
  .inner { flex-wrap: wrap; }
  .left_content { flex: 1 1 100%; order: 2; }
  .right_sidebar { flex: 1 1 100%; width: 100%; order: 1; }
  .wide { flex-wrap: wrap; }
  .wide li { flex: 1 1 100%; }
  h1 { font-size: 27px; }
  .page-head h1 { font-size: 27px; }
  .slide-in { padding: 24px 0 34px; }
}
@media all and (max-width: 1080px) {
  #pull { display: block; }
  .nav ul { display: none; float: none; width: 100%; background: rgba(0,0,0,.22); margin-top: 12px; }
  .nav ul.open { display: block; }
  .nav li { float: none; width: 100%; }
  .nav li a { line-height: 44px; padding: 0 16px; border-bottom: 1px solid rgba(255,255,255,.1); }
  .nav .logo { float: left; }
}
@media all and (max-width: 767px) {
  body { font-size: 15px; }
  .slide-in { flex-direction: column; align-items: stretch; gap: 18px; }
  .slide-img { flex: 0 0 auto; max-width: 100%; width: 100%; }
  .slide-text h2 { font-size: 22px; }
  .col_top, .sec { padding-bottom: 28px; margin-bottom: 28px; }
  .stats { flex-wrap: wrap; }
  .stats li { flex: 1 1 calc(50% - 12px); }
  .spec_strip div { flex: 1 1 100%; }
  .cardgrid li, .cardgrid.four li, .cardgrid.two li, .list > li, .list.two > li { flex: 1 1 100%; }
  .sitemap-list { columns: 1; }
  #content { padding-top: 26px; }
  .wide li { flex-direction: column; }
  .wide img { flex: none; width: 100%; }
  .footer_link { gap: 22px; }
}
@media all and (max-width: 520px) {
  h1, h2 { font-size: 22px; }
  .sec-head h2 { font-size: 21px; }
  .page-head { padding: 24px 0; margin-bottom: 24px; }
  .dots { bottom: 8px; }
  .ft-bot .wrap { display: block; }
}
@media print {
  #header, #footer, .carousel, .right_sidebar, #totop { display: none; }
}
