:root {
  --bg: #f6f7f9;
  --panel: #ffffff;
  --ink: #17202a;
  --muted: #657083;
  --line: rgba(23, 32, 42, 0.12);
  --brand: #0f766e;
  --brand-2: #0ea5a3;
  --gold: #d59b28;
  --dark: #0d1b2a;
  --shadow: 0 20px 60px rgba(14, 28, 42, 0.13);
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", "Noto Sans Thai", "Noto Sans", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, select { font: inherit; }
.container { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.section { padding: 76px 0; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-wrap {
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 12px; min-width: 210px; }
.brand-mark {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.5px;
  box-shadow: 0 10px 26px rgba(15, 118, 110, 0.28);
}
.brand strong { display: block; font-size: 18px; line-height: 1.1; }
.brand small { display: block; color: var(--muted); margin-top: 2px; font-size: 12px; }
.main-nav { display: flex; gap: 22px; margin-left: auto; }
.main-nav a { color: #314155; font-weight: 600; font-size: 14px; }
.main-nav a:hover { color: var(--brand); }
.language-box { display: flex; align-items: center; gap: 8px; margin-left: 4px; }
.language-box label { color: var(--muted); font-size: 13px; }
.language-box select {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 12px;
  background: #fff;
  color: var(--ink);
  outline: none;
}
.nav-toggle { display: none; border: 0; background: transparent; font-size: 26px; cursor: pointer; }

.hero {
  min-height: 680px;
  display: grid;
  align-items: center;
  background:
    radial-gradient(circle at 12% 18%, rgba(14, 165, 163, 0.13), transparent 32%),
    radial-gradient(circle at 84% 28%, rgba(213, 155, 40, 0.18), transparent 34%),
    linear-gradient(180deg, #fff 0%, #f2f6f8 100%);
}
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 54px; align-items: center; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--brand);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 13px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--gold); border-radius: 10px; }
.hero h1 { font-size: clamp(36px, 5vw, 64px); line-height: 1.08; margin: 18px 0 22px; letter-spacing: -1.8px; }
.hero p { font-size: 18px; color: var(--muted); margin: 0 0 30px; max-width: 650px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 800;
  border: 1px solid transparent;
}
.btn.primary { background: var(--brand); color: #fff; box-shadow: 0 14px 34px rgba(15, 118, 110, 0.25); }
.btn.ghost { background: #fff; border-color: var(--line); color: var(--ink); }
.hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 34px; max-width: 560px; }
.hero-stats div { background: rgba(255,255,255,0.76); border: 1px solid var(--line); border-radius: 18px; padding: 16px; }
.hero-stats strong { display: block; font-size: 28px; color: var(--brand); line-height: 1; }
.hero-stats span { color: var(--muted); font-size: 13px; }
.hero-visual { position: relative; }
.hero-visual img { width: 100%;
aspect-ratio: 4 / 3;
object-fit: contain;
object-position: center center;
background: #fff;
border-radius: 30px;
box-shadow: var(--shadow);
border: 10px solid #fff;
padding: 10px; }
.float-card {
  position: absolute;
  background: rgba(13, 27, 42, 0.86);
  color: #fff;
  border-radius: 16px;
  padding: 12px 16px;
  font-weight: 800;
  box-shadow: 0 20px 40px rgba(13, 27, 42, 0.2);
}
.top-card { top: 28px; left: -24px; }
.bottom-card { bottom: 26px; right: -18px; background: rgba(15, 118, 110, 0.9); }

.trust-strip { padding: 28px 0; background: var(--dark); color: #fff; }
.strip-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.strip-grid div { padding: 18px 20px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); border-radius: 18px; }
.strip-grid span { display: block; color: rgba(255,255,255,0.66); font-size: 13px; }
.strip-grid strong { display: block; margin-top: 3px; font-size: 16px; }

.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 28px; margin-bottom: 28px; }
.section-head.center { display: block; text-align: center; max-width: 760px; margin-left: auto; margin-right: auto; }
.section-head h2 { margin: 8px 0 0; font-size: clamp(28px, 4vw, 44px); line-height: 1.16; letter-spacing: -0.8px; }
.section-head p { color: var(--muted); max-width: 620px; margin: 0; }
.center p { margin: 12px auto 0; }

.filter-row { display: flex; gap: 10px; flex-wrap: wrap; margin: 0 0 26px; }
.filter-btn {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
  border-radius: 999px;
  padding: 9px 15px;
  cursor: pointer;
  font-weight: 700;
}
.filter-btn.active { background: var(--brand); color: #fff; border-color: var(--brand); }
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.product-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(14, 28, 42, 0.07);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.product-img { width: 100%;
aspect-ratio: 4 / 3;
object-fit: contain;
object-position: center center;
background: #fff;
padding: 14px; }
.product-body { padding: 20px; }
.product-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.pill { display: inline-flex; align-items: center; border-radius: 999px; background: rgba(15,118,110,0.1); color: var(--brand); padding: 5px 10px; font-weight: 800; font-size: 12px; }
.product-body h3 { margin: 0 0 10px; font-size: 21px; line-height: 1.24; }
.product-body p { margin: 0 0 14px; color: var(--muted); }
.product-body ul, .modal-body ul { margin: 0; padding-left: 18px; color: #3e4b5d; }
.product-action { margin-top: 16px; border: 0; background: var(--dark); color: #fff; border-radius: 12px; padding: 10px 14px; font-weight: 800; cursor: pointer; }

.solutions { background: #fff; }
.solution-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 34px; }
.solution-card { border: 1px solid var(--line); border-radius: 20px; padding: 22px; background: linear-gradient(180deg, #fff, #f8fafb); }
.solution-card .icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 14px; background: rgba(213,155,40,0.14); font-size: 22px; margin-bottom: 12px; }
.solution-card h3 { margin: 0 0 8px; }
.solution-card p { margin: 0; color: var(--muted); font-size: 14px; }

.about-grid { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: 54px; align-items: center; }
.about-media { display: grid; grid-template-columns: 1fr 0.82fr; gap: 16px; align-items: end; }
.about-media img { width: 100%;
border-radius: 24px;
box-shadow: var(--shadow);
aspect-ratio: 3 / 4;
object-fit: contain;
object-position: center center;
background: #fff;
padding: 12px; }
.about-media img:last-child { aspect-ratio: 4/3; margin-bottom: 32px; }
.about-copy h2 { font-size: clamp(28px, 4vw, 46px); line-height: 1.15; margin: 12px 0 18px; }
.about-copy p { color: var(--muted); }
.check-list { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.check-list li { padding-left: 30px; position: relative; font-weight: 700; color: #344154; }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 21px; height: 21px; display: grid; place-items: center; border-radius: 50%; background: var(--brand); color: #fff; font-size: 13px; }

.process { background: linear-gradient(180deg, #f6f7f9, #ffffff); }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 32px; }
.process-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 22px; position: relative; overflow: hidden; }
.process-card .num { font-size: 42px; font-weight: 900; color: rgba(15,118,110,0.13); line-height: 1; }
.process-card h3 { margin: 8px 0; }
.process-card p { color: var(--muted); margin: 0; font-size: 14px; }

.contact { background: var(--dark); color: #fff; }
.contact .eyebrow { color: #6ee7df; }
.contact-grid { display: grid; grid-template-columns: 1fr 0.82fr; gap: 38px; align-items: center; }
.contact h2 { font-size: clamp(28px, 4vw, 46px); margin: 12px 0 14px; line-height: 1.15; }
.contact p { color: rgba(255,255,255,0.7); max-width: 700px; }
.contact-card { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.14); border-radius: 24px; padding: 26px; }
.contact-item { display: flex; justify-content: space-between; gap: 18px; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,0.12); }
.contact-item:last-child { border-bottom: 0; }
.contact-item span { color: rgba(255,255,255,0.62); }
.contact-item strong { text-align: right; }

.site-footer { background: #08111d; color: rgba(255,255,255,0.72); padding: 28px 0; }
.footer-grid { display: flex; justify-content: space-between; gap: 18px; align-items: center; }
.footer-grid strong { color: #fff; }
.footer-grid p { margin: 4px 0 0; }
.footer-grid a { color: #fff; font-weight: 800; }

.modal { position: fixed; inset: 0; z-index: 80; display: none; }
.modal.open { display: block; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(8, 17, 29, 0.7); }
.modal-panel {
  position: relative;
  z-index: 1;
  width: min(920px, calc(100% - 30px));
  max-height: calc(100vh - 44px);
  overflow: auto;
  margin: 22px auto;
  background: #fff;
  border-radius: 28px;
  box-shadow: 0 30px 100px rgba(0,0,0,0.3);
}
.modal-close { position: absolute; top: 12px; right: 14px; z-index: 2; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(13,27,42,0.78); color: #fff; font-size: 26px; cursor: pointer; }
.modal-panel img { width: 100%;
max-height: 72vh;
object-fit: contain;
object-position: center center;
background: #fff;
padding: 16px; }
.modal-body { padding: 28px; }
.modal-body h3 { margin: 12px 0; font-size: 30px; }
.modal-body p { color: var(--muted); }

@media (max-width: 980px) {
  .nav-toggle { display: block; margin-left: auto; }
  .main-nav { position: absolute; top: 76px; left: 16px; right: 16px; display: none; flex-direction: column; gap: 0; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); padding: 10px; }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px; }
  .language-box { margin-left: 0; }
  .hero-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .solution-grid, .process-grid, .strip-grid { grid-template-columns: repeat(2, 1fr); }
  .section-head { display: block; }
  .section-head p { margin-top: 12px; }
}

@media (max-width: 680px) {
  .section { padding: 54px 0; }
  .nav-wrap { flex-wrap: wrap; padding: 10px 0; }
  .brand { min-width: auto; }
  .language-box { width: 100%; justify-content: space-between; }
  .language-box select { flex: 1; }
  .hero-stats, .product-grid, .solution-grid, .process-grid, .strip-grid { grid-template-columns: 1fr; }
  .hero-visual img { width: 100%;
aspect-ratio: 4 / 3;
object-fit: contain;
object-position: center center;
background: #fff;
border-radius: 30px;
box-shadow: var(--shadow);
border: 10px solid #fff;
padding: 10px; }
  .float-card { position: static; margin-top: 10px; display: inline-flex; }
  .about-media { grid-template-columns: 1fr; }
  .about-media img:last-child { margin-bottom: 0; }
  .contact-item { display: block; }
  .contact-item strong { display: block; text-align: left; margin-top: 4px; }
  .footer-grid { display: block; }
}




/* 产品详情多图相册 */
.modal-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(116px, 1fr));
  gap: 10px;
  margin: 18px 0;
}

.modal-thumb {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 12px;
  padding: 6px;
  cursor: pointer;
}

.modal-thumb img {
  width: 100%;
  aspect-ratio: 4 / 3;
  max-height: none;
  object-fit: contain;
  object-position: center center;
  background: #fff;
  padding: 0;
  border-radius: 8px;
}

.modal-thumb.active {
  border-color: var(--brand);
  box-shadow: 0 0 0 2px rgba(15,118,110,0.14);
}

/* 完整显示图片：禁止产品图、首页图、详情图被裁切 */
.hero-visual img,
.product-card img,
.about-media img,
.modal-panel img {
  object-fit: contain !important;
  object-position: center center !important;
  background-color: #fff;
}


/* 公司简介增强版 */
.company-profile { background: linear-gradient(180deg, #ffffff 0%, #f6f7f9 100%); }
.company-profile .section-head { align-items: flex-end; }
.company-profile .section-head p { max-width: 560px; }
.company-profile-grid { align-items: stretch; }
.company-profile-media { grid-template-columns: 1fr; align-content: start; }
.factory-card { position: relative; border-radius: 26px; overflow: hidden; background: #fff; box-shadow: var(--shadow); border: 1px solid var(--line); }
.factory-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: contain; object-position: center center; background: #fff; padding: 10px; }
.factory-card span { position: absolute; left: 16px; bottom: 16px; display: inline-flex; background: rgba(13,27,42,0.78); color: #fff; border-radius: 999px; padding: 8px 14px; font-size: 13px; font-weight: 800; }
.credential-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 16px; }
.credential-grid figure { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 12px; box-shadow: 0 12px 34px rgba(14,28,42,0.08); }
.credential-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; object-position: center center; background: #fff; padding: 6px; border-radius: 14px; }
.credential-grid figcaption { margin-top: 8px; text-align: center; font-size: 13px; font-weight: 800; color: #344154; }
.profile-copy { background: #fff; border: 1px solid var(--line); border-radius: 26px; padding: 30px; box-shadow: 0 16px 46px rgba(14,28,42,0.09); }
.profile-copy p { margin: 0 0 12px; color: #4b586a; }
.about-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 26px; }
.about-stat-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 20px; box-shadow: 0 12px 34px rgba(14,28,42,0.08); }
.about-stat-card strong { display: block; color: var(--brand); font-size: 28px; line-height: 1.1; margin-bottom: 8px; }
.about-stat-card span { color: #344154; font-weight: 800; }
@media (max-width: 980px) {
  .credential-grid, .about-stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 680px) {
  .credential-grid, .about-stats { grid-template-columns: 1fr; }
  .profile-copy { padding: 22px; }
}


/* SEO keyword cloud */
.seo-section {
  background: linear-gradient(180deg, #ffffff 0%, #f6f9fc 100%);
  border-top: 1px solid rgba(21, 62, 99, 0.08);
  border-bottom: 1px solid rgba(21, 62, 99, 0.08);
}
.keyword-cloud {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  max-width: 1080px;
  margin: 10px auto 0;
}
.keyword-tag {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(24, 91, 146, 0.16);
  background: #fff;
  color: #164467;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 14px;
  line-height: 1.2;
  box-shadow: 0 8px 22px rgba(15, 63, 104, 0.06);
}
.keyword-tag:hover {
  transform: translateY(-1px);
  border-color: rgba(24, 91, 146, 0.32);
}
