/* ============ Global ============ */
* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --blue: #0b3d91;
  --blue-dark: #082b66;
  --blue-light: #e8f0fb;
  --red: #c8102e;
  --orange: #f5a623;
  --text: #222;
  --gray: #666;
  --bg-gray: #f5f7fa;
}
body {
  font-family: "Segoe UI", "Helvetica Neue", Arial, "PingFang SC", sans-serif;
  color: var(--text);
  line-height: 1.6;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
.container { max-width: 1180px; margin: 0 auto; padding: 0 20px; }

/* ============ Top bar ============ */
.topbar {
  background: var(--blue-dark);
  color: #cdd8ee;
  font-size: 13px;
  padding: 6px 0;
}
.topbar .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px; }
.topbar a { color: #fff; margin-left: 14px; }
.topbar a:hover { color: var(--orange); }

/* ============ Header / Nav ============ */
header.site-header {
  background: #fff;
  border-bottom: 1px solid #e5e9f0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,.05);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo-mark {
  width: 46px; height: 46px; background: var(--blue); color: #fff;
  border-radius: 8px; display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 20px;
}
.logo-mark-img {
  width: 54px; height: 54px; object-fit: contain; flex: none;
  border-radius: 8px; background: #fff;
}
.logo-text b { font-size: 19px; color: var(--blue); letter-spacing: .5px; display: block; line-height: 1.15; }
.logo-text span { font-size: 11px; color: var(--gray); text-transform: uppercase; }
nav.main-nav ul { list-style: none; display: flex; gap: 4px; }
nav.main-nav a {
  display: block; padding: 10px 16px; font-weight: 600; font-size: 15px;
  color: #333; border-radius: 6px; transition: .2s;
}
nav.main-nav a:hover, nav.main-nav a.active { color: var(--blue); background: var(--blue-light); }
.btn {
  display: inline-block; background: var(--red); color: #fff;
  padding: 12px 26px; border-radius: 6px; font-weight: 700; font-size: 15px;
  border: none; cursor: pointer; transition: .2s;
}
.btn:hover { background: #a30d25; transform: translateY(-2px); }
.btn-outline { background: transparent; border: 2px solid #fff; }
.btn-outline:hover { background: rgba(255,255,255,.15); transform: translateY(-2px); }
.header-cta { white-space: nowrap; }

/* ============ Hero ============ */
.hero {
  background: linear-gradient(115deg, var(--blue-dark) 0%, var(--blue) 55%, #1450b4 100%);
  color: #fff; padding: 90px 0 100px; position: relative; overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; right: -80px; top: -80px;
  width: 420px; height: 420px; border-radius: 50%;
  border: 60px solid rgba(255,255,255,.06);
}
.hero h1 { font-size: 42px; max-width: 680px; line-height: 1.25; margin-bottom: 18px; }
.hero p { font-size: 18px; max-width: 600px; color: #d4e0f5; margin-bottom: 30px; }
.hero .btn + .btn { margin-left: 12px; }

/* ============ Section ============ */
section.section { padding: 70px 0; }
section.section.alt { background: var(--bg-gray); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 46px; }
.section-head h2 { font-size: 32px; color: var(--blue); margin-bottom: 12px; }
.section-head .sub { color: var(--gray); font-size: 16px; }
.eyebrow { display: inline-block; color: var(--red); font-weight: 700; text-transform: uppercase; font-size: 13px; letter-spacing: 2px; margin-bottom: 8px; }

/* ============ Grids & cards ============ */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.card {
  background: #fff; border-radius: 10px; overflow: hidden;
  border: 1px solid #e8ecf3; transition: .25s;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 14px 30px rgba(11,61,145,.14); }
.card-body { padding: 22px; }
.card h3 { font-size: 18px; color: var(--blue); margin-bottom: 8px; }
.card p { color: var(--gray); font-size: 14px; }

.thumb {
  height: 170px; display: flex; align-items: center; justify-content: center;
  font-size: 52px; color: #fff;
}
.thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.case-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 6px; }
.case-gallery img { width: 100%; height: 250px; object-fit: cover; display: block; border-radius: 10px; border: 1px solid #e6ebf2; }
.seo-note { margin-top: 30px; font-size: 13px; line-height: 1.75; color: #64748b; max-width: 980px; }
.t-blue { background: linear-gradient(135deg,#1450b4,#0b3d91); }
.t-teal { background: linear-gradient(135deg,#0e7c86,#0b3d91); }
.t-navy { background: linear-gradient(135deg,#27346b,#0b3d91); }
.t-steel { background: linear-gradient(135deg,#4a6572,#22313f); }
.t-red { background: linear-gradient(135deg,#c8102e,#7a0a1c); }
.t-slate { background: linear-gradient(135deg,#33415c,#0b3d91); }
.t-cyan { background: linear-gradient(135deg,#0e7490,#164e63); }
.t-amber { background: linear-gradient(135deg,#b45309,#7c2d12); }

/* advantages */
.adv-card { text-align: center; padding: 34px 22px; }
.adv-icon {
  width: 68px; height: 68px; margin: 0 auto 16px; border-radius: 50%;
  background: var(--blue-light); color: var(--blue);
  display: flex; align-items: center; justify-content: center; font-size: 30px;
}

/* stats */
.stats { background: var(--blue); color: #fff; padding: 46px 0; }
.stats .grid-4 { text-align: center; }
.stat b { font-size: 38px; display: block; }
.stat span { color: #c3d3ef; font-size: 14px; }

/* page hero (inner pages) */
.page-hero {
  background: #fff; color: var(--blue); padding: 56px 0; text-align: center;
  border-bottom: 1px solid #e6ebf2;
}
.page-hero h1 { font-size: 34px; margin-bottom: 8px; }
.page-hero p { color: #5a6b82; }
.breadcrumb { font-size: 13px; margin-top: 10px; color: #8296b0; }
.breadcrumb a { color: var(--blue); }

/* products list */
.cat-card { display: flex; flex-direction: column; }
.cat-card ul { list-style: none; padding: 0 22px 20px; }
.cat-card ul li {
  padding: 6px 0 6px 18px; position: relative; font-size: 14px; color: #444;
  border-bottom: 1px dashed #eef1f6;
}
.cat-card ul li::before { content: ""; position: absolute; left: 0; color: var(--red); }
.cat-card .card-body p { min-height: 42px; }
.cat-num { font-size: 13px; color: #9aa7bd; font-weight: 700; }
.cat-card { scroll-margin-top: 70px; }

/* sticky category nav on products page */
.cat-nav { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid #e6ebf2; box-shadow: 0 2px 10px rgba(11,61,145,.06); }
.cat-nav .container { display: flex; flex-wrap: wrap; gap: 6px; padding: 10px 0; }
.cat-nav a { font-size: 13px; color: #3a4a63; padding: 7px 13px; border-radius: 20px; white-space: nowrap; border: 1px solid #e6ebf2; transition: .2s; }
.cat-nav a:hover, .cat-nav a.active { background: var(--blue); color: #fff; border-color: var(--blue); }

/* product card media + action buttons */
.cat-card .thumb { padding: 0; overflow: hidden; }
.cat-card .thumb img { width: 100%; height: 172px; object-fit: cover; display: block; transition: transform .3s ease; }
.cat-card:hover .thumb img { transform: scale(1.05); }
.cat-actions { display: flex; gap: 10px; padding: 0 22px 22px; margin-top: auto; }
.cat-actions .btn { flex: 1; text-align: center; font-size: 13px; padding: 11px 8px; }
.btn-outline { background: #fff; color: var(--blue); border: 1.5px solid var(--blue); }
.btn-outline:hover { background: var(--blue); color: #fff; }

/* products page: category table + promo image */
.cat-overview { padding: 54px 0 26px; }
.cat-overview-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 36px; align-items: center; }
.cat-table-card { background: #fff; border: 1px solid #e6ebf2; border-radius: 12px; padding: 28px 30px 18px; box-shadow: 0 10px 26px rgba(11,61,145,.08); }
.cat-table-card h2 { font-size: 24px; color: var(--blue); margin-bottom: 6px; }
.cat-table-sub { color: var(--gray); font-size: 14px; margin-bottom: 14px; }
.cat-table { width: 100%; border-collapse: collapse; }
.cat-table td { padding: 10px 10px; border-bottom: 1px solid #eef1f6; }
.cat-table tr:last-child td { border-bottom: none; }
.cat-table tbody tr { transition: background .15s; }
.cat-table tbody tr:hover { background: var(--blue-light); }
.cat-num-badge { display: inline-flex; width: 34px; height: 34px; align-items: center; justify-content: center; background: var(--blue); color: #fff; border-radius: 8px; font-weight: 700; font-size: 13px; }
.cat-table td a { font-weight: 600; color: #1f2d3d; font-size: 15px; display: block; }
.cat-table td a:hover { color: var(--blue); }
.cat-arrow { color: #9aa7bd; text-align: right; width: 36px; }
.cat-promo img { width: 100%; border-radius: 12px; box-shadow: 0 14px 30px rgba(11,61,145,.16); display: block; border: 1px solid #e6ebf2; }
@media (max-width: 700px) { .cat-overview-grid { grid-template-columns: 1fr; } .cat-promo { order: -1; } }

/* product detail page */
.prod-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 44px; align-items: center; }.prod-img { width: 100%; border-radius: 12px; box-shadow: 0 14px 30px rgba(11,61,145,.16); display: block; }
.spec-table { width: 100%; border-collapse: collapse; margin-top: 20px; font-size: 14px; overflow: hidden; border-radius: 8px; }
.spec-table th, .spec-table td { border: 1px solid #e6ebf2; padding: 12px 16px; text-align: left; vertical-align: top; }
.spec-table thead th { background: var(--blue); color: #fff; font-weight: 600; }
.spec-table tbody tr:nth-child(even) { background: #f7f9fc; }
.spec-table td:first-child { font-weight: 600; color: #1f2d3d; width: 34%; }
.prod-feat { list-style: none; padding: 0; margin: 14px 0 0; }
.prod-feat li { padding: 7px 0 7px 22px; position: relative; color: #444; border-bottom: 1px dashed #eef1f6; }
.prod-feat li::before { content: "✔"; position: absolute; left: 0; color: var(--blue); }
.back-link { display: inline-block; margin-bottom: 18px; color: var(--blue); font-weight: 600; }

/* timeline / about */
.about-cols { display: grid; grid-template-columns: 1.1fr 1fr; gap: 46px; align-items: center; }
.about-visual {
  background: #fff; border: 2px solid var(--blue); border-radius: 12px;
  color: #1f2d3d; padding: 46px 36px; box-shadow: 0 10px 26px rgba(11,61,145,.10);
}
.about-visual h3 { font-size: 22px; margin-bottom: 18px; color: var(--blue); }
.about-visual ul { list-style: none; }
.about-visual ul li { padding: 9px 0 9px 24px; position: relative; border-bottom: 1px solid #eef1f6; color: var(--gray); }
.about-visual ul li::before { content: ""; position: absolute; left: 4px; top: 16px; width: 8px; height: 8px;
  border-radius: 50%; background: var(--blue); }

/* milestones timeline */
.timeline { position: relative; max-width: 900px; margin: 0 auto; padding: 6px 0; }
.timeline::before { content:""; position:absolute; left: 27px; top: 10px; bottom: 10px; width: 2px;
  background: linear-gradient(180deg, var(--blue), var(--orange)); }
.tl-item { position: relative; padding: 0 0 28px 72px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-dot { position: absolute; left: 17px; top: 5px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--blue); border: 4px solid #fff; box-shadow: 0 0 0 2px var(--blue); }
.tl-year { font-size: 22px; font-weight: 800; color: var(--blue); letter-spacing:.5px; }
.tl-card { background:#fff; border:1px solid #e6ebf2; border-left:4px solid var(--blue); border-radius:10px;
  padding: 14px 20px; margin-top: 8px; box-shadow: 0 6px 18px rgba(11,61,145,.07); }
.tl-card p { color: var(--gray); margin: 0; }

/* cert cards */
.cert-img { display: block; height: 150px; overflow: hidden; background: #fff; }
.cert-img img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }
.cert-card { display: flex; flex-direction: column; }

/* About Us certificate gallery (4 per row, image + caption) */
.about-cert-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.about-cert-fig {
  margin: 0; background: #fff; border: 1px solid #e6ebf2; border-radius: 10px; overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}
.about-cert-fig:hover { transform: translateY(-5px); box-shadow: 0 14px 30px rgba(11,61,145,.16); }
.about-cert-fig a { display: flex; align-items: center; justify-content: center; height: 220px; overflow: hidden; background: #fafbfd; padding: 12px; }
.about-cert-fig img { max-width: 100%; max-height: 100%; object-fit: contain; display: block; }
.about-cert-fig figcaption {
  padding: 12px 14px; font-size: 14px; font-weight: 600; color: #1f2d3d; text-align: center;
  border-top: 1px solid #eef1f6; line-height: 1.35;
}
.about-cert-more { text-align: center; margin-top: 26px; color: var(--gray); font-size: 15px; }
.about-cert-more a { color: var(--blue); font-weight: 700; }
@media (max-width: 900px) { .about-cert-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .about-cert-grid { grid-template-columns: 1fr; } }

/* About Us single certificate overview image */
.cert-overview {
  margin: 0 auto; max-width: 960px; background: #fff; border: 1px solid #e6ebf2;
  border-radius: 12px; overflow: hidden; box-shadow: 0 14px 30px rgba(11,61,145,.12);
  transition: transform .2s ease, box-shadow .2s ease;
}
.cert-overview:hover { transform: translateY(-4px); box-shadow: 0 18px 38px rgba(11,61,145,.18); }
.cert-overview a { display: block; }
.cert-overview img { width: 100%; height: auto; display: block; }
.cert-overview figcaption {
  padding: 14px 18px; font-size: 14px; color: var(--gray); text-align: center;
  border-top: 1px solid #eef1f6; background: #fafbfd;
}

/* certificate gallery */
.cert-group { margin-bottom: 38px; }
.cert-group:last-child { margin-bottom: 0; }
.cert-group h3 { color: var(--blue); font-size: 20px; margin-bottom: 14px; }
.cert-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; }
.cert-cell {
  background: #fff; border: 1px solid #e6ebf2; border-radius: 10px; padding: 12px;
  margin: 0; text-align: center; transition: .25s;
}
.cert-cell:hover { transform: translateY(-4px); box-shadow: 0 12px 26px rgba(11,61,145,.12); }
.cert-cell a { display: flex; align-items: center; justify-content: center; height: 280px; overflow: hidden; }
.cert-cell img { max-width: 100%; max-height: 100%; object-fit: contain; }
.cert-cell figcaption { margin-top: 10px; font-size: 13px; color: var(--gray); line-height: 1.4; }
.cert-note { color: var(--gray); font-size: 14px; margin-top: 12px; }
.cert-badge {
  height: 150px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg,#eef3fb,#f6f9fd); font-size: 44px; color: var(--blue);
  font-weight: 800; letter-spacing: 2px; border-bottom: 3px solid var(--blue);
  box-shadow: inset 0 0 0 1px rgba(11,61,145,.08);
}

/* news */
.news-meta { font-size: 13px; color: #98a3b5; margin-bottom: 8px; }

/* cases */
.case-tag {
  display: inline-block; background: var(--blue-light); color: var(--blue);
  font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 20px; margin-bottom: 10px;
}

/* CTA band */
.cta-band {
  background: linear-gradient(100deg, var(--red), #8f0c22);
  color: #fff; text-align: center; padding: 58px 20px;
}
.cta-band h2 { font-size: 30px; margin-bottom: 12px; }
.cta-band p { color: #ffd9de; margin-bottom: 24px; }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; }
.info-item { display: flex; gap: 14px; margin-bottom: 22px; }
.info-icon {
  width: 46px; height: 46px; flex: none; border-radius: 10px;
  background: var(--blue-light); color: var(--blue);
  display: flex; align-items: center; justify-content: center; font-size: 20px;
}
.info-item b { display: block; color: var(--blue); margin-bottom: 2px; }
form.inquiry .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
form.inquiry label { font-size: 13px; font-weight: 700; color: #444; display: block; margin: 12px 0 5px; }
form.inquiry input, form.inquiry select, form.inquiry textarea {
  width: 100%; padding: 11px 13px; border: 1px solid #d7deea; border-radius: 6px;
  font-size: 14px; font-family: inherit; background: #fff;
}
form.inquiry input:focus, form.inquiry textarea:focus, form.inquiry select:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(11,61,145,.12);
}
.form-note { font-size: 12px; color: #98a3b5; margin-top: 10px; }

.map-wrap { border-radius: 10px; overflow: hidden; border: 1px solid #e2e7f0; margin-top: 34px; }
.map-wrap iframe { width: 100%; height: 380px; border: 0; display: block; }

/* footer */
footer.site-footer { background: #fff; color: #3c4a5d; padding: 56px 0 0; font-size: 14px; border-top: 1px solid #e6ebf2; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 34px; padding-bottom: 40px; }
.footer-grid h4 { color: var(--blue); font-size: 16px; margin-bottom: 16px; }
.footer-grid ul { list-style: none; }
.footer-grid ul li { padding: 5px 0; }
.footer-grid a { color: #3c4a5d; }
.footer-grid a:hover { color: var(--blue); }
.footer-bottom { border-top: 1px solid #e6ebf2; padding: 18px 0; text-align: center; font-size: 13px; color: #7a8aa0; }

/* floating whatsapp */
.wa-float {
  position: fixed; right: 22px; bottom: 26px; z-index: 200;
  background: #25d366; color: #fff; width: 58px; height: 58px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 28px;
  box-shadow: 0 8px 20px rgba(37,211,102,.45); transition: .2s;
}
.wa-float:hover { transform: scale(1.1); }

/* ============ Product center: category sidebar + model grid ============ */
.pc-section { background: #fff; }
.pc-layout { display: grid; grid-template-columns: 260px 1fr; gap: 32px; align-items: start; }
.pc-side { position: sticky; top: 20px; }
.pc-side-card { background: var(--bg-gray); border: 1px solid #e6ebf2; border-radius: 12px; padding: 20px 18px; }
.pc-side-title { font-size: 15px; color: var(--blue); font-weight: 600; margin-bottom: 14px; }
.pc-nav { list-style: none; }
.pc-nav a { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 8px; font-size: 14px; color: #33415c; transition: .2s; }
.pc-nav a:hover { background: var(--blue-light); color: var(--blue); }
.pc-num { font-size: 12px; font-weight: 600; color: var(--blue); background: #fff; border: 1px solid #d7e3f7; border-radius: 6px; padding: 1px 6px; }
.pc-name { flex: 1; line-height: 1.35; }
.pc-count { font-size: 12px; color: #8a97ab; }
.pc-side-help { display: block; margin-top: 14px; font-size: 13px; color: var(--red); }
.pc-cat { scroll-margin-top: 20px; padding-bottom: 34px; margin-bottom: 34px; border-bottom: 1px solid #eef1f6; }
.pc-cat:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.pc-cat-head { margin-bottom: 18px; }
.pc-cat-head h2 { color: var(--blue); font-size: 24px; margin: 6px 0 6px; }
.pc-cat-head p { color: var(--gray); max-width: 820px; }
.pc-cat-link { display: inline-block; margin-top: 8px; font-size: 14px; color: var(--red); font-weight: 600; }
.pc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.pc-card { display: flex; flex-direction: column; background: #fff; border: 1px solid #e6ebf2; border-radius: 10px; overflow: hidden; transition: .2s; }
.pc-card:hover { border-color: var(--blue); box-shadow: 0 6px 18px rgba(11,61,145,.12); transform: translateY(-2px); }
.pc-card-img { display: block; background: #fff; border-bottom: 1px solid #eef1f6; }
.pc-card-img img { width: 100%; height: 170px; object-fit: contain; }
.pc-card-body { display: block; padding: 12px 14px 14px; }
.pc-card-model { display: block; font-size: 14px; font-weight: 600; color: var(--blue); }
.pc-card-type { display: block; font-size: 13px; color: var(--gray); margin-top: 2px; min-height: 36px; }
.pc-card-more { display: block; font-size: 12px; color: var(--red); margin-top: 6px; }
@media (max-width: 980px) {
  .pc-layout { grid-template-columns: 1fr; }
  .pc-side { position: static; }
  .pc-nav { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px; }
}
@media (max-width: 700px) {
  .pc-grid { grid-template-columns: repeat(2, 1fr); }
  .pc-nav { grid-template-columns: 1fr; }
}
@media (max-width: 480px) { .pc-grid { grid-template-columns: 1fr; } }

/* responsive */
@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .about-cols, .contact-grid, .prod-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 32px; }
  nav.main-nav { display: none; }
  .header-cta { display: none; }
}
@media (max-width: 560px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .case-gallery { grid-template-columns: 1fr; }
  .case-gallery img { height: auto; }
  .footer-grid { grid-template-columns: 1fr; }
  form.inquiry .row { grid-template-columns: 1fr; }
}
