/* =====================================================
   JTX - Trục vít & xy lanh máy ép nhựa
   style.css - toàn bộ trang dùng chung file này
   Đổi màu sắc: chỉ cần sửa biến :root bên dưới.
   中文注解（.zh/.zh-inline）默认隐藏，页脚切换显示；
   导出 PDF / 打印时一律隐藏中文。
   ===================================================== */
:root{
  --brand:#123B31;          /* 深墨绿 - 页眉/页脚/主按钮 */
  --brand-2:#0C2A22;
  --accent:#0F6E56;         /* 品牌绿 - 与报价单一致 */
  --accent-soft:#EAF3DE;
  --bg:#FFFFFF;
  --bg2:#F7F6F2;
  --bg3:#EFEDE6;
  --tx:#1F1F1D;
  --tx2:#57554F;
  --tx3:#8A8880;
  --line:#E3E1DA;
  --line2:#CFCCC3;
  --radius:12px;
  --shadow:0 10px 30px rgba(18,59,49,.10);
  --maxw:1140px;
}
*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  margin:0; background:var(--bg); color:var(--tx);
  font-family:system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans","PingFang SC","Microsoft YaHei",sans-serif;
  font-size:15.5px; line-height:1.7;
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%; display:block;}
a{color:var(--accent); text-decoration:none;}
a:hover{text-decoration:underline;}
.wrap{max-width:var(--maxw); margin:0 auto; padding:0 22px;}

/* ---------- 中文注解 ---------- */
.zh{display:block; color:var(--tx3); font-size:11.5px; font-weight:400; line-height:1.5; margin-top:2px;}
.zh-inline{color:var(--tx3); font-size:11.5px; font-weight:400;}
/* 默认：客户视图 = 纯越南语（body 自带 vi-only） */
body.vi-only .zh, body.vi-only .zh-inline, body.vi-only .internal{display:none;}
/* 打印一律隐藏中文注解与内部块 */
@media print{ .zh,.zh-inline,.internal{display:none !important;} }
.internal{border:1px dashed var(--line2); background:#FFFDF5; border-radius:10px; padding:14px 16px; margin:14px 0; font-size:13.5px; color:var(--tx2);}

/* ---------- 页眉 ---------- */
.site-head{
  position:sticky; top:0; z-index:50; background:rgba(255,255,255,.96);
  backdrop-filter:blur(8px); border-bottom:1px solid var(--line);
}
.nav-row{display:flex; align-items:center; gap:28px; height:66px;}
.logo{display:flex; align-items:baseline; gap:10px; color:var(--tx); text-decoration:none;}
.logo:hover{text-decoration:none;}
.logo .mark{
  font-size:22px; font-weight:800; letter-spacing:.5px; color:#fff;
  background:var(--brand); padding:4px 10px; border-radius:8px;
}
.logo .logo-sub{font-size:12px; color:var(--tx3); letter-spacing:.3px;}
#mainNav{margin-left:auto; display:flex; align-items:center; gap:4px; flex-wrap:wrap;}
#mainNav a{
  color:var(--tx2); font-size:14px; padding:8px 12px; border-radius:8px; white-space:nowrap;
}
#mainNav a:hover{background:var(--bg2); color:var(--tx); text-decoration:none;}
#mainNav a.active{color:var(--accent); font-weight:600;}
#mainNav a.nav-cta{
  background:var(--accent); color:#fff; font-weight:600; margin-left:8px;
}
#mainNav a.nav-cta:hover{background:var(--brand);}
.burger{display:none; margin-left:auto; background:none; border:1px solid var(--line2); border-radius:8px; font-size:20px; padding:4px 12px; cursor:pointer; color:var(--tx);}

/* ---------- Hero ---------- */
.hero{
  background:linear-gradient(135deg,var(--brand-2) 0%,var(--brand) 55%,#175947 100%);
  color:#fff; padding:72px 0 78px; position:relative; overflow:hidden;
}
.hero::after{
  content:""; position:absolute; inset:0; opacity:.10; pointer-events:none;
  background-image:repeating-linear-gradient(60deg, transparent 0 22px, rgba(255,255,255,.55) 22px 23px);
}
.hero .wrap{position:relative; z-index:1;}
.hero .kicker{
  display:inline-block; background:rgba(255,255,255,.14); border:1px solid rgba(255,255,255,.25);
  color:#DCEEE4; font-size:12.5px; letter-spacing:1px; padding:4px 14px; border-radius:999px; margin-bottom:18px;
}
.hero h1{font-size:38px; line-height:1.25; margin:0 0 14px; font-weight:700; max-width:760px;}
.hero h1 .zh{color:rgba(255,255,255,.55);}
.hero .sub{font-size:16.5px; color:#C9DAD2; max-width:720px; margin:0 0 26px;}
.hero .sub .zh{color:rgba(255,255,255,.45);}
.hero-cta{display:flex; gap:14px; flex-wrap:wrap; margin-bottom:30px;}
.btn{
  display:inline-block; padding:12px 26px; border-radius:10px; font-weight:600; font-size:15px;
  border:1px solid transparent; cursor:pointer; font-family:inherit;
}
.btn-green{background:var(--accent); color:#fff;}
.btn-green:hover{background:#0C5A47; text-decoration:none; color:#fff;}
.btn-ghost{border-color:rgba(255,255,255,.45); color:#fff; background:transparent;}
.btn-ghost:hover{background:rgba(255,255,255,.10); text-decoration:none; color:#fff;}
.btn-dark{background:var(--brand); color:#fff;}
.btn-dark:hover{background:var(--brand-2); text-decoration:none; color:#fff;}
.btn-line{border-color:var(--accent); color:var(--accent); background:#fff;}
.btn-line:hover{background:var(--accent-soft); text-decoration:none;}
.hero-points{display:grid; grid-template-columns:repeat(4,1fr); gap:14px; max-width:980px;}
.hero-points .pt{
  background:rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.18);
  border-radius:10px; padding:12px 15px; font-size:13.5px; color:#EAF2EE;
}
.hero-points .pt .zh{color:rgba(255,255,255,.5);}

/* ---------- 区块通用 ---------- */
section{padding:58px 0;}
section.alt{background:var(--bg2);}
.sec-kicker{
  color:var(--accent); font-weight:700; letter-spacing:1.6px; font-size:12.5px;
  text-transform:uppercase; margin:0 0 8px;
}
h2.sec-title{font-size:27px; font-weight:700; margin:0 0 10px; letter-spacing:-.2px;}
h2.sec-title .zh{font-size:13px; color:var(--tx3); font-weight:400;}
.sec-lead{color:var(--tx2); max-width:780px; margin:0 0 30px; font-size:15.5px;}
.sec-lead .zh{font-size:12px;}
h3{font-size:17px; margin:22px 0 8px;}

/* ---------- 卡片 ---------- */
.grid{display:grid; gap:18px;}
.grid-3{grid-template-columns:repeat(3,1fr);}
.grid-4{grid-template-columns:repeat(4,1fr);}
.grid-2{grid-template-columns:repeat(2,1fr);}
.card{
  background:var(--bg); border:1px solid var(--line); border-radius:var(--radius);
  padding:22px 22px 20px; transition:box-shadow .18s ease, transform .18s ease;
  display:flex; flex-direction:column;
}
.card:hover{box-shadow:var(--shadow); transform:translateY(-2px);}
.card h3{margin:12px 0 6px; font-size:16.5px;}
.card h3 .zh{font-size:12px; color:var(--tx3); font-weight:400;}
.card p{margin:0 0 10px; color:var(--tx2); font-size:14px;}
.card .thumb{border-radius:9px; overflow:hidden; border:1px solid var(--line); aspect-ratio:4/3; background:var(--bg2);}
.card .thumb img{width:100%; height:100%; object-fit:cover;}
.card .more{margin-top:auto; font-weight:600; font-size:14px;}
.card .tag{
  display:inline-block; font-size:11.5px; color:var(--accent); background:var(--accent-soft);
  border-radius:6px; padding:2px 9px; font-weight:600; align-self:flex-start;
}

/* ---------- 数字/能力 ---------- */
.stats{display:grid; grid-template-columns:repeat(4,1fr); gap:18px;}
.stat{background:#fff; border:1px solid var(--line); border-radius:var(--radius); padding:24px 20px; text-align:center;}
.stat .num{font-size:30px; font-weight:800; color:var(--accent); letter-spacing:-.5px;}
.stat .lbl{font-size:13.5px; color:var(--tx2); margin-top:4px;}
.stat .lbl .zh{font-size:11px;}

/* ---------- 表格 ---------- */
.tbl-wrap{overflow-x:auto; border:1px solid var(--line); border-radius:var(--radius); background:#fff;}
table{width:100%; border-collapse:collapse; font-size:14px; min-width:560px;}
th,td{text-align:left; padding:11px 14px; border-bottom:1px solid var(--line); vertical-align:top;}
th{background:var(--bg2); font-weight:600; color:var(--tx2); font-size:12.5px; white-space:nowrap;}
tr:last-child td{border-bottom:none;}
td.k{font-weight:600; white-space:nowrap;}
td .zh, th .zh{font-size:11px;}
.tbl-note{font-size:12.5px; color:var(--tx3); margin:8px 2px 0;}

/* ---------- 步骤 ---------- */
.steps{counter-reset:step; display:grid; grid-template-columns:repeat(3,1fr); gap:18px;}
.step{
  background:#fff; border:1px solid var(--line); border-radius:var(--radius); padding:20px;
  counter-increment:step; position:relative;
}
.step::before{
  content:counter(step); width:34px; height:34px; border-radius:50%;
  background:var(--accent); color:#fff; font-weight:700; font-size:16px;
  display:flex; align-items:center; justify-content:center; margin-bottom:12px;
}
.step h3{margin:0 0 6px; font-size:16px;}
.step p{margin:0; color:var(--tx2); font-size:14px;}
.step p .zh{font-size:11.5px;}
.steps-8{grid-template-columns:repeat(4,1fr);}
.steps-8 .step{padding:16px;}
.steps-8 .step::before{width:28px; height:28px; font-size:14px;}

/* ---------- 理由 ---------- */
.why{display:grid; grid-template-columns:repeat(2,1fr); gap:16px;}
.why .w{display:flex; gap:14px; background:#fff; border:1px solid var(--line); border-radius:var(--radius); padding:18px;}
.why .w .ic{
  flex:0 0 40px; width:40px; height:40px; border-radius:10px; background:var(--accent-soft);
  color:var(--accent); font-weight:800; display:flex; align-items:center; justify-content:center; font-size:17px;
}
.why h3{margin:0 0 4px; font-size:15.5px;}
.why p{margin:0; color:var(--tx2); font-size:13.5px;}
.why p .zh{font-size:11.5px;}

/* ---------- 提示框 ---------- */
.note-band{
  background:var(--accent-soft); border:1px solid #C0DD97; border-radius:10px;
  padding:14px 18px; font-size:14px; color:#27500A; margin:22px 0;
}
.note-band .zh{color:#4E7A33;}
.warn-band{
  background:#FAEEDA; border:1px solid #FAC775; border-radius:10px;
  padding:14px 18px; font-size:14px; color:#633806; margin:22px 0;
}

/* ---------- FAQ ---------- */
.faq{max-width:860px;}
details{
  background:#fff; border:1px solid var(--line); border-radius:10px; padding:0 18px; margin-bottom:10px;
}
details summary{
  cursor:pointer; font-weight:600; font-size:15px; padding:15px 0; list-style:none;
  display:flex; justify-content:space-between; align-items:center; gap:12px;
}
details summary::-webkit-details-marker{display:none;}
details summary::after{content:"+"; color:var(--accent); font-size:20px; font-weight:400;}
details[open] summary::after{content:"-";}
details .a{padding:0 0 16px; color:var(--tx2); font-size:14px; margin:0;}
details .a .zh{font-size:12px;}

/* ---------- CTA band ---------- */
.cta-band{
  background:linear-gradient(120deg,var(--brand) 0%,#175947 100%);
  color:#fff; border-radius:16px; padding:40px 44px; display:flex; flex-wrap:wrap; gap:24px; align-items:center; justify-content:space-between;
}
.cta-band h2{margin:0 0 6px; font-size:24px;}
.cta-band h2 .zh{color:rgba(255,255,255,.55); font-size:13px; font-weight:400;}
.cta-band p{margin:0; color:#C9DAD2; font-size:14.5px;}
.cta-band .zh{color:rgba(255,255,255,.45);}

/* ---------- 页脚 ---------- */
footer.site-foot{background:var(--brand-2); color:#B9CCC4; margin-top:0; padding:52px 0 30px; font-size:14px;}
.foot-grid{display:grid; grid-template-columns:2fr 1fr 1.3fr; gap:36px; margin-bottom:34px;}
.foot-grid h4{color:#fff; font-size:14px; margin:0 0 12px; letter-spacing:.5px;}
.foot-grid h4 .zh{color:rgba(255,255,255,.4); font-size:11px;}
.foot-grid a{color:#B9CCC4; display:block; padding:3px 0; font-size:13.5px;}
.foot-grid a:hover{color:#fff;}
.foot-grid p{margin:0 0 8px; font-size:13.5px;}
.foot-grid .zh{color:rgba(255,255,255,.35); font-size:11px;}
.foot-grid .zh-inline{color:rgba(255,255,255,.35); font-size:11px;}
.foot-brand .mark{font-size:20px; font-weight:800; letter-spacing:.5px; color:#fff; background:rgba(255,255,255,.12); padding:4px 10px; border-radius:8px; display:inline-block; margin-bottom:12px;}
.foot-bottom{
  border-top:1px solid rgba(255,255,255,.14); padding-top:18px; display:flex; flex-wrap:wrap; gap:12px;
  align-items:center; justify-content:space-between; font-size:12.5px; color:#7E948B;
}
.lang-toggle{
  background:transparent; border:1px solid rgba(255,255,255,.3); color:#B9CCC4;
  border-radius:7px; padding:3px 12px; font-size:12px; cursor:pointer; font-family:inherit;
}
.lang-toggle:hover{background:rgba(255,255,255,.1); color:#fff;}

/* ---------- 浮动联系按钮 ---------- */
.fabs{position:fixed; right:20px; bottom:22px; z-index:60; display:flex; flex-direction:column; gap:10px;}
.fab{
  display:flex; align-items:center; gap:8px; padding:10px 16px; border-radius:999px;
  font-weight:700; font-size:13.5px; box-shadow:0 6px 18px rgba(0,0,0,.18);
}
.fab-zalo{background:#0068FF; color:#fff;}
.fab-zalo:hover{text-decoration:none; background:#0057d6; color:#fff;}
.fab-mail{background:#fff; color:var(--tx); border:1px solid var(--line2);}
.fab-mail:hover{text-decoration:none; background:var(--bg2);}

/* ---------- 表单 ---------- */
.rfq{display:grid; grid-template-columns:1.2fr 1fr; gap:30px; align-items:start;}
.form-card{background:#fff; border:1px solid var(--line); border-radius:var(--radius); padding:26px;}
.form-card label{display:block; font-weight:600; font-size:13.5px; margin:14px 0 5px;}
.form-card label .zh{font-weight:400;}
.form-card label .req{color:#A32D2D;}
.form-card input,.form-card select,.form-card textarea{
  width:100%; padding:10px 12px; border:1px solid var(--line2); border-radius:8px;
  font-size:14.5px; font-family:inherit; background:#fff; color:var(--tx);
}
.form-card input:focus,.form-card select:focus,.form-card textarea:focus{
  outline:2px solid rgba(15,110,86,.35); border-color:var(--accent);
}
.form-card .row2{display:grid; grid-template-columns:1fr 1fr; gap:14px;}
.form-actions{display:flex; gap:12px; flex-wrap:wrap; margin-top:20px;}
.contact-list{list-style:none; margin:0; padding:0;}
.contact-list li{
  display:flex; gap:12px; align-items:flex-start; padding:14px 0; border-bottom:1px dashed var(--line);
}
.contact-list li:last-child{border-bottom:none;}
.contact-list .ic{flex:0 0 38px; width:38px; height:38px; border-radius:9px; background:var(--accent-soft); color:var(--accent); display:flex; align-items:center; justify-content:center; font-size:17px; font-weight:700;}
.contact-list b{display:block; font-size:14.5px;}
.contact-list span.d{color:var(--tx2); font-size:13.5px;}
.contact-list .zh{font-size:11.5px;}

/* ---------- 面包屑 ---------- */
.crumbs{font-size:12.5px; color:var(--tx3); padding:18px 0 0;}
.crumbs a{color:var(--tx3);}
.crumbs .zh-inline{font-size:11px;}
.page-head{padding:40px 0 6px;}
.page-head h1{font-size:32px; margin:0 0 8px; font-weight:700;}
.page-head h1 .zh{font-size:13px; color:var(--tx3); font-weight:400;}
.page-head .lead{color:var(--tx2); max-width:800px; margin:0;}
.page-head .lead .zh{font-size:12px;}

/* ---------- 响应式 ---------- */
@media (max-width:960px){
  .grid-3,.grid-4{grid-template-columns:repeat(2,1fr);}
  .hero-points{grid-template-columns:repeat(2,1fr);}
  .stats{grid-template-columns:repeat(2,1fr);}
  .steps,.steps-8{grid-template-columns:repeat(2,1fr);}
  .rfq{grid-template-columns:1fr;}
  .foot-grid{grid-template-columns:1fr 1fr;}
}
@media (max-width:860px){
  .burger{display:block;}
  #mainNav{
    display:none; position:absolute; top:66px; left:0; right:0; background:#fff;
    border-bottom:1px solid var(--line); padding:10px 22px 16px; flex-direction:column; align-items:stretch; gap:2px;
  }
  #mainNav.open{display:flex;}
  #mainNav a{padding:11px 10px; font-size:15px;}
  #mainNav a.nav-cta{margin-left:0; text-align:center; margin-top:8px;}
  .nav-row{height:62px;}
  .hero{padding:52px 0 58px;}
  .hero h1{font-size:29px;}
  .why{grid-template-columns:1fr;}
}
@media (max-width:620px){
  .grid-3,.grid-4,.grid-2{grid-template-columns:1fr;}
  .hero-points{grid-template-columns:1fr;}
  .steps,.steps-8{grid-template-columns:1fr;}
  .foot-grid{grid-template-columns:1fr;}
  .cta-band{padding:30px 24px;}
  section{padding:44px 0;}
  .page-head h1{font-size:26px;}
  body{font-size:15px;}
}

/* ---------- 打印 ---------- */
@media print{
  body{font-size:12px; line-height:1.5;}
  .site-head,.fabs,.lang-toggle,.burger,#mainNav,.hero-cta,.form-actions{display:none !important;}
  .hero{background:#fff !important; color:#111 !important; padding:18px 0;}
  .hero h1,.hero .sub{color:#111 !important;}
  .hero .sub .zh,.hero h1 .zh{color:#666 !important;}
  .hero-points .pt{background:#F3F3EF; border-color:#DDD; color:#222;}
  .hero-points .pt .zh{color:#888;}
  .cta-band{background:#F3F3EF !important; color:#111 !important;}
  .cta-band h2,.cta-band p{color:#111 !important;}
  footer.site-foot{background:#fff !important; color:#333 !important;}
  .foot-grid h4{color:#111 !important;}
  .foot-grid a,.foot-grid p{color:#333 !important;}
  .foot-bottom{border-top-color:#DDD; color:#555;}
  .stat .num{color:#0F6E56;}
  .card,.step,.w,.stat,details{break-inside:avoid; box-shadow:none;}
  table{min-width:0;}
  section{padding:22px 0;}
  a{color:inherit; text-decoration:none;}
}

/* ---------- 真实照片区（实拍图已换入） ---------- */
.photo-band{max-width:var(--maxw); margin:0 auto; padding:0 22px; position:relative; z-index:2;}
.photo-band img{
  display:block; width:100%; height:380px; object-fit:cover; border-radius:16px;
  box-shadow:0 14px 34px rgba(10,35,28,.22); margin-top:-46px;
}
.photo-trio{display:grid; grid-template-columns:repeat(3,1fr); gap:16px; margin:26px 0 4px;}
.photo-trio figure{margin:0;}
.photo-trio img{display:block; width:100%; height:210px; object-fit:cover; border-radius:12px; border:1px solid rgba(18,59,49,.12);}
.photo-trio figcaption{font-size:13px; color:#5A6E66; margin-top:8px;}
@media (max-width:820px){
  .photo-band img{height:220px; margin-top:-30px; border-radius:12px;}
  .photo-trio{grid-template-columns:1fr;}
  .photo-trio img{height:200px;}
}
@media print{
  .photo-band img{height:auto; margin-top:0; box-shadow:none; border-radius:0;}
  .photo-trio img{height:140px;}
}
