/* ============================================================
   TUHAO — Turbine & Generator, Engineered to Endure
   Corporate website theme — Blue / White
   ============================================================ */

:root {
  /* Brand blues */
  --c-blue:        #0A4DA3;   /* primary */
  --c-blue-dark:   #073A7A;
  --c-blue-mid:    #1565C0;
  --c-blue-light:  #2E7BD6;
  --c-blue-50:     #EEF4FC;   /* light tint */
  --c-blue-100:    #DCE9F8;

  /* Neutrals */
  --c-ink:    #16202E;   /* headings / strong text */
  --c-body:   #43505F;   /* body text */
  --c-muted:  #6B7787;   /* secondary text */
  --c-line:   #E4EAF2;   /* borders */
  --c-bg:     #FFFFFF;
  --c-bg-soft:#F6F9FD;   /* section alt bg */

  /* Status */
  --c-gold:   #C8972E;   /* subtle accent for certifications */

  /* Effects */
  --shadow-sm: 0 1px 3px rgba(16,32,46,.08);
  --shadow:    0 6px 24px rgba(10,77,163,.10);
  --shadow-lg: 0 18px 48px rgba(10,77,163,.16);
  --radius:    0;
  --radius-sm: 0;
  --maxw:      1200px;

  --font: "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC",
          "Microsoft YaHei", system-ui, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--c-body);
  background: var(--c-bg);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--c-blue); text-decoration: none; transition: color .2s; }
a:hover { color: var(--c-blue-light); }
h1, h2, h3, h4 { color: var(--c-ink); line-height: 1.25; font-weight: 700; margin: 0 0 .5em; }
h1 { font-size: clamp(28px, 4vw, 44px); }
h2 { font-size: clamp(24px, 3vw, 34px); }
h3 { font-size: 20px; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--c-blue-light); outline-offset: 2px; border-radius: 4px; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px; border-radius: 999px;
  font-weight: 600; font-size: 15px; cursor: pointer;
  border: 1.5px solid transparent; transition: all .2s ease;
  text-decoration: none; line-height: 1;
}
.btn-primary { background: var(--c-blue); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--c-blue-dark); color: #fff; transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--c-blue); border-color: var(--c-blue); }
.btn-outline:hover { background: var(--c-blue-50); color: var(--c-blue-dark); }
.btn-light { background: #fff; color: var(--c-blue); }
.btn-light:hover { background: var(--c-blue-50); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn-ghost:hover { background: rgba(255,255,255,.12); color:#fff; }
.btn-sm { padding: 9px 18px; font-size: 14px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--c-line);
  transition: box-shadow .25s;
}
.site-header.scrolled { box-shadow: var(--shadow); }
.header-inner { display: flex; align-items: center; gap: 28px; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-logo { height: 42px; width: auto; }
.brand-name { display: flex; flex-direction: column; line-height: 1.1; font-weight: 800; color: var(--c-ink); font-size: 20px; letter-spacing: .5px; }
.brand-name small { font-weight: 500; font-size: 11px; color: var(--c-muted); letter-spacing: .3px; }
.nav { margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav-item { position: relative; }
.nav-link {
  display: block; padding: 10px 16px; border-radius: 8px;
  font-weight: 600; font-size: 15px; color: var(--c-ink);
}
.nav-link:hover { background: var(--c-blue-50); color: var(--c-blue); }
.nav-item.has-sub:hover .nav-sub { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-sub {
  position: absolute; top: 100%; left: 0; min-width: 250px;
  background: #fff; border: 1px solid var(--c-line); border-radius: 0;
  box-shadow: var(--shadow); padding: 8px; opacity: 0; visibility: hidden;
  transform: translateY(8px); transition: all .2s ease; z-index: 50;
}
.nav-sub a { display: block; padding: 9px 14px; border-radius: 8px; color: var(--c-body); font-size: 14px; font-weight: 500; }
.nav-sub a:hover { background: var(--c-blue-50); color: var(--c-blue); }
.header-cta { margin-left: 8px; }
.nav-toggle { display: none; background: none; border: 0; font-size: 26px; color: var(--c-ink); cursor: pointer; margin-left: auto; }

/* ---------- Hero ---------- */
.hero {
  position: relative; color: #fff; overflow: hidden;
  min-height: 100dvh; display: flex; align-items: center;
}
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center right; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(7,40,85,.96) 0%, rgba(7,40,85,.86) 34%, rgba(7,40,85,.42) 60%, rgba(7,40,85,0) 100%);
}
.hero-inner { position: relative; z-index: 2; padding: 110px 0; }
.hero-inner > * { max-width: 600px; }
.hero-media-flag { display: inline-block; margin-top: 26px; font-size: 12.5px; letter-spacing: .4px; color: #BFE0FF; background: rgba(7,40,85,.45); border: 1px solid rgba(255,255,255,.18); padding: 7px 14px; }
.hero h1 { color: #fff; font-size: clamp(34px, 5.5vw, 60px); margin-bottom: .35em; font-weight: 800; line-height: 1.1; letter-spacing: -1px; }
.hero .eyebrow { color: #8DC6FF; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; font-size: 13px; margin-bottom: 16px; display: block; }
.hero p.lead { font-size: clamp(16px, 2vw, 19px); color: #D7E9FF; max-width: 560px; margin-bottom: 34px; line-height: 1.7; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero .btn-light { background: #fff; color: var(--c-blue-dark); }
.hero .btn-ghost { border-color: rgba(255,255,255,.55); }
.hero .btn-ghost:hover { background: rgba(255,255,255,.12); }

/* ---------- Stats strip ---------- */
.stats-strip { background: linear-gradient(120deg, var(--c-blue-dark), var(--c-blue)); color: #fff; padding: 58px 0; }
.stats-strip .stat-card { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); color: #fff; box-shadow: none; }
.stats-strip .stat-card b { color: #fff; }
.stats-strip .stat-card span { color: #C9E2FF; }

/* ---------- Sections ---------- */
section { padding: 84px 0; }
.section-soft { background: var(--c-bg-soft); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 52px; }
.section-head .eyebrow { color: var(--c-blue); font-weight: 700; letter-spacing: 2px; text-transform: uppercase; font-size: 13px; }
.section-head h2 { margin: .3em 0 .4em; }
.section-head p { color: var(--c-muted); font-size: 17px; }

/* ---------- Stat strip ---------- */
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat-card {
  background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius);
  padding: 30px 24px; text-align: center; box-shadow: var(--shadow-sm);
}
.stat-card b { display: block; font-size: 38px; color: var(--c-blue); font-weight: 800; line-height: 1.1; }
.stat-card span { color: var(--c-muted); font-size: 14px; }

/* ---------- Card grids ---------- */
.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .25s, box-shadow .25s;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

.family-card .thumb { aspect-ratio: 16/10; overflow: hidden; background: var(--c-blue-50); }
.family-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.family-card:hover .thumb img { transform: scale(1.06); }
.family-card .body { padding: 22px 22px 26px; }
.family-card h3 { margin-bottom: .35em; }
.family-card p { color: var(--c-muted); font-size: 14.5px; margin-bottom: 14px; }
.family-card .more { font-weight: 700; color: var(--c-blue); font-size: 14px; }

/* product card */
.product-card .thumb { aspect-ratio: 4/3; overflow: hidden; background: var(--c-blue-50); }
.product-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.product-card:hover .thumb img { transform: scale(1.06); }
.product-card .body { padding: 18px 20px 22px; }
.product-card .cat-tag { display: inline-block; font-size: 12px; font-weight: 700; color: var(--c-blue); background: var(--c-blue-50); padding: 3px 10px; border-radius: 999px; margin-bottom: 10px; }
.product-card h3 { font-size: 17px; margin-bottom: 8px; }
.product-card p { color: var(--c-muted); font-size: 14px; margin: 0; }

/* ---------- Breadcrumb ---------- */
.breadcrumb { padding: 18px 0; font-size: 14px; color: var(--c-muted); background: var(--c-bg-soft); border-bottom: 1px solid var(--c-line); }
.breadcrumb a { color: var(--c-muted); }
.breadcrumb a:hover { color: var(--c-blue); }
.breadcrumb span { color: var(--c-ink); font-weight: 600; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; color: #fff; overflow: hidden; padding: 110px 0 90px; background-size: cover; background-position: center; }
.page-hero-overlay { position: absolute; inset: 0; background: linear-gradient(120deg, rgba(5,26,55,.92), rgba(10,77,163,.55)); }
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; margin-bottom: .25em; font-size: clamp(30px, 4.5vw, 48px); font-weight: 800; letter-spacing: -0.5px; }
.page-hero p { color: #D7E9FF; max-width: 640px; font-size: 17px; margin: 0; line-height: 1.6; }
.page-hero .eyebrow { color: #8DC6FF; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; font-size: 13px; margin-bottom: 14px; display: block; }

/* ---------- Product detail ---------- */
.detail-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: start; }
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.gallery .g-item { aspect-ratio: 4/3; border-radius: var(--radius-sm); overflow: hidden; background: var(--c-blue-50); border: 1px solid var(--c-line); }
.gallery .g-item:first-child { grid-column: 1 / -1; aspect-ratio: 16/9; }
.gallery img { width: 100%; height: 100%; object-fit: cover; cursor: pointer; transition: transform .3s; }
.gallery img:hover { transform: scale(1.04); }
.detail-info h1 { margin-bottom: .25em; }
.detail-info .lead { color: var(--c-muted); font-size: 17px; }
.spec-table { width: 100%; border-collapse: collapse; margin: 24px 0; }
.spec-table th, .spec-table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--c-line); font-size: 14.5px; }
.spec-table th { width: 42%; color: var(--c-ink); font-weight: 600; background: var(--c-bg-soft); }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }
.feature-list { list-style: none; display: grid; gap: 10px; margin: 0; }
.feature-list li { position: relative; padding-left: 30px; color: var(--c-body); }
.feature-list li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 20px; height: 20px; background: var(--c-blue); color: #fff; border-radius: 50%; font-size: 12px; display: grid; place-items: center; font-weight: 700; }

/* ---------- Product listing (category sidebar) ---------- */
.product-listing { padding: 64px 0; }
.product-layout { display: grid; grid-template-columns: 250px 1fr; gap: 40px; align-items: start; }
.cat-sidebar { position: sticky; top: 96px; background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); padding: 22px 20px; box-shadow: var(--shadow-sm); }
.cat-sidebar h4 { margin: 0 0 14px; font-size: 13px; text-transform: uppercase; letter-spacing: 1.5px; color: var(--c-muted); }
.cat-link { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 14px; border-radius: 10px; color: var(--c-ink); font-weight: 600; font-size: 14.5px; margin-bottom: 4px; transition: all .18s; }
.cat-link:hover { background: var(--c-blue-50); color: var(--c-blue); }
.cat-link.active { background: var(--c-blue); color: #fff; }
.cat-link span { font-size: 12.5px; font-weight: 700; color: var(--c-muted); background: var(--c-blue-50); border-radius: 999px; padding: 2px 9px; }
.cat-link.active span { color: #C9E2FF; background: rgba(255,255,255,.16); }
.listing-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; padding-bottom: 16px; border-bottom: 1px solid var(--c-line); }
.listing-head span { color: var(--c-muted); font-size: 14px; font-weight: 600; }

/* ---------- Services ---------- */
.service-card { padding: 28px 26px; }
.service-card .ico { width: 46px; height: 46px; border-radius: 0; background: var(--c-blue-50); color: var(--c-blue); display: grid; place-items: center; font-size: 22px; margin-bottom: 16px; }
.service-card h3 { font-size: 18px; margin-bottom: 8px; }
.service-card p { color: var(--c-muted); font-size: 14.5px; margin: 0; }

/* ---------- Projects ---------- */
.project-card { display: grid; grid-template-columns: 1fr 1fr; }
.project-card .thumb { aspect-ratio: 4/3; overflow: hidden; background: var(--c-blue-50); }
.project-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.project-card .body { padding: 30px; }
.project-card h3 { margin-bottom: .2em; }
.project-card .sub { color: var(--c-blue); font-weight: 600; font-size: 14px; margin-bottom: 12px; }
.project-card p { color: var(--c-muted); font-size: 15px; }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0; }
.tag { font-size: 12px; font-weight: 600; color: var(--c-blue); background: var(--c-blue-50); padding: 4px 12px; border-radius: 999px; }
.metric-row { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 8px; }
.metric b { display: block; color: var(--c-blue); font-size: 20px; font-weight: 800; }
.metric span { font-size: 12.5px; color: var(--c-muted); }

/* ---------- About ---------- */
.about-prose { max-width: 820px; margin: 0 auto; }
.about-prose p { font-size: 17px; color: var(--c-body); }
.value-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 20px; margin-top: 36px; }
.value-card { padding: 26px; }
.value-card h3 { color: var(--c-blue); font-size: 17px; margin-bottom: 8px; }
.value-card p { color: var(--c-muted); font-size: 15px; margin: 0; }
.quality-list { list-style: none; display: grid; gap: 14px; max-width: 900px; margin: 0 auto; }
.quality-list li { display: flex; gap: 14px; align-items: flex-start; background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius-sm); padding: 18px 22px; box-shadow: var(--shadow-sm); }
.quality-list .q-ico { flex-shrink: 0; width: 30px; height: 30px; border-radius: 0; background: var(--c-blue-50); color: var(--c-blue); display: grid; place-items: center; font-weight: 800; }
.plant-stats { display: grid; grid-template-columns: repeat(5,1fr); gap: 18px; margin: 30px 0; }
.plant-stat { text-align: center; padding: 22px 12px; border: 1px solid var(--c-line); border-radius: var(--radius); background: #fff; }
.plant-stat b { display: block; font-size: 26px; color: var(--c-blue); font-weight: 800; }
.plant-stat span { font-size: 13px; color: var(--c-muted); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact-info .info-item { display: flex; gap: 16px; margin-bottom: 22px; }
.contact-info .info-ico { flex-shrink: 0; width: 44px; height: 44px; border-radius: 0; background: var(--c-blue-50); color: var(--c-blue); display: grid; place-items: center; font-size: 20px; }
.contact-info h4 { margin: 0 0 2px; font-size: 15px; color: var(--c-muted); font-weight: 600; }
.contact-info p { margin: 0; color: var(--c-ink); font-weight: 600; }
.contact-form { background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow-sm); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 14px; font-weight: 600; color: var(--c-ink); margin-bottom: 6px; }
.field input, .field textarea, .field select {
  width: 100%; padding: 11px 14px; border: 1.5px solid var(--c-line); border-radius: 10px;
  font-family: inherit; font-size: 15px; color: var(--c-ink); background: #fff; transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: 0; border-color: var(--c-blue); box-shadow: 0 0 0 3px var(--c-blue-100); }
.field textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: 13px; color: var(--c-muted); margin-top: 10px; }
.map-note { background: var(--c-blue-50); border: 1px dashed var(--c-blue-100); border-radius: var(--radius-sm); padding: 22px; color: var(--c-muted); text-align: center; }

/* ---------- Application scenarios + documentation ---------- */
.app-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.app-card { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius-sm); padding: 16px 18px; box-shadow: var(--shadow-sm); font-weight: 600; color: var(--c-ink); font-size: 15px; }
.app-ico { flex-shrink: 0; width: 26px; height: 26px; border-radius: 0; background: var(--c-blue-50); color: var(--c-blue); display: grid; place-items: center; font-size: 12px; }
.download-band { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; background: #fff; border: 1px solid var(--c-line); border-left: 4px solid var(--c-blue); border-radius: var(--radius); padding: 36px 40px; box-shadow: var(--shadow-sm); }
.download-band h2 { color: var(--c-ink); margin: 0; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(120deg, var(--c-blue-dark), var(--c-blue)); color: #fff; border-radius: var(--radius); padding: 56px 48px; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #D7E9FF; font-size: 17px; max-width: 620px; margin: 0 auto 26px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--c-blue-dark); color: #C7D6EA; padding-top: 60px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 44px; }
.footer-brand .brand-logo { height: 46px; margin-bottom: 16px; }
.footer-brand p { color: #AFC4DE; font-size: 14.5px; max-width: 320px; }
.footer-col h4 { color: #fff; font-size: 16px; margin-bottom: 16px; }
.footer-col ul { list-style: none; display: grid; gap: 10px; }
.footer-col a { color: #C7D6EA; font-size: 14.5px; }
.footer-col a:hover { color: #fff; }
.footer-col p { color: #AFC4DE; font-size: 14.5px; margin: 0 0 8px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.14); padding: 22px 0; font-size: 13.5px; color: #9FB6D2; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.footer-bottom a { color: #C7D6EA; }

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.text-center { text-align: center; }
.eyebrow { color: var(--c-blue); font-weight: 700; letter-spacing: 2px; text-transform: uppercase; font-size: 13px; }
.hide { display: none !important; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .plant-stats { grid-template-columns: repeat(3,1fr); }
  .detail-grid, .contact-grid, .project-card { grid-template-columns: 1fr; }
  .product-layout { grid-template-columns: 1fr; gap: 26px; }
  .cat-sidebar { position: static; }
  .app-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .nav { display: none; position: absolute; top: 72px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--c-line); box-shadow: var(--shadow); }
  .nav.open { display: block; }
  .nav-list { flex-direction: column; align-items: stretch; padding: 12px; gap: 2px; }
  .nav-sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 14px; }
  .header-cta { display: none; }
  .nav-toggle { display: block; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .app-grid { grid-template-columns: 1fr; }
  .download-band { flex-direction: column; align-items: flex-start; padding: 28px 24px; }
  .hero-stats { gap: 24px; }
}

/* ---------- Hero carousel layers ---------- */
.hero-layer { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transition: opacity 1.3s ease; }
.hero-layer.active { opacity: 1; }
.hero-dots { position: absolute; bottom: 22px; left: 0; right: 0; z-index: 3; display: flex; justify-content: center; gap: 10px; }
.hero-dots button { width: 10px; height: 10px; border-radius: 50%; border: 0; background: rgba(255,255,255,.45); cursor: pointer; padding: 0; transition: background .2s, transform .2s; }
.hero-dots button.active { background: #fff; transform: scale(1.25); }

/* ---------- Service photo cards ---------- */
.service-card.media { padding: 0; overflow: hidden; }
.service-card.media .svc-photo { aspect-ratio: 16/10; overflow: hidden; background: var(--c-blue-50); }
.service-card.media .svc-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.service-card.media:hover .svc-photo img { transform: scale(1.05); }
.service-card.media .body { padding: 22px 24px 26px; }
.service-card.media .svc-note { font-size: 13px; color: var(--c-blue); font-weight: 600; margin-top: 10px; }

/* ---------- Project meta / scope / result ---------- */
.project-meta { display: flex; flex-wrap: wrap; gap: 8px 14px; color: var(--c-blue); font-weight: 600; font-size: 13.5px; margin-bottom: 12px; }
.project-meta span::after { content: "·"; margin-left: 14px; color: var(--c-line); }
.project-meta span:last-child::after { content: ""; margin: 0; }
.project-scope { list-style: none; display: grid; gap: 8px; margin: 14px 0; }
.project-scope li { position: relative; padding-left: 22px; color: var(--c-body); font-size: 14.5px; }
.project-scope li::before { content: "▸"; position: absolute; left: 0; color: var(--c-blue); }
.project-result { background: var(--c-blue-50); border-left: 3px solid var(--c-blue); padding: 12px 16px; border-radius: 0 8px 8px 0; font-size: 14.5px; color: var(--c-ink); }

/* ---------- Manufacturing base grid ---------- */
.mfg-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 36px; }
.mfg-item { background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.mfg-item .m-img { aspect-ratio: 4/3; overflow: hidden; background: var(--c-blue-50); }
.mfg-item .m-img img { width: 100%; height: 100%; object-fit: cover; }
.mfg-item figcaption { padding: 12px 14px; font-size: 13.5px; color: var(--c-ink); font-weight: 600; }

@media (max-width: 980px) { .mfg-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) {
  .hero-stats { display: grid; grid-template-columns: 1fr; gap: 16px; }
  .hero-inner { padding: 64px 16px; }
  .mfg-grid { grid-template-columns: 1fr; }
}
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .value-grid { grid-template-columns: 1fr; }
  section { padding: 60px 0; }
}

/* ============================================================
   About subpages — Company Profile / Manufacturing Base / Quality
   Light, industrial look: white + navy + steel; no heavy blue filters.
   ============================================================ */
.subsec { padding: 60px 0; }
.subsec.soft { background: var(--c-bg-soft); }
.subsec-head { text-align: left; max-width: 820px; margin-bottom: 34px; }
.subsec-head .eyebrow { color: var(--c-blue); font-weight: 700; letter-spacing: 2px; text-transform: uppercase; font-size: 13px; }
.subsec-head h2 { font-size: clamp(24px, 3vw, 32px); margin: .25em 0 .35em; color: var(--c-ink); }
.subsec-head p { color: var(--c-muted); font-size: 16px; }

/* Light page hero (text only, no image behind) */
.subpage-hero { background: var(--c-bg); padding: 72px 0 36px; border-bottom: 1px solid var(--c-line); }
.subpage-hero .eyebrow { color: var(--c-blue); font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; font-size: 13px; margin-bottom: 14px; display: block; }
.subpage-hero h1 { color: var(--c-ink); font-size: clamp(30px, 4.6vw, 46px); font-weight: 800; letter-spacing: -.5px; margin: 0 0 .3em; line-height: 1.12; }
.subpage-hero p { color: var(--c-body); font-size: 18px; max-width: 780px; margin: 0; line-height: 1.7; }

/* In-page sub navigation (sticky) */
.subnav { background: var(--c-bg-soft); border-bottom: 1px solid var(--c-line); position: sticky; top: 72px; z-index: 40; }
.subnav .container { display: flex; gap: 6px; flex-wrap: wrap; padding-top: 10px; padding-bottom: 10px; }
.subnav a { padding: 10px 16px; border-radius: 8px; font-weight: 600; font-size: 14.5px; color: var(--c-muted); transition: all .18s; white-space: nowrap; }
.subnav a:hover { background: #fff; color: var(--c-blue); }
.subnav a.active { background: var(--c-blue); color: #fff; }

/* Full-bleed banner image + caption (caption below, never centered on image) */
.subpage-banner { margin-top: 0; }
.subpage-banner .img-frame { aspect-ratio: 21 / 9; border-radius: 0; border-left: 0; border-right: 0; }
.banner-cap { margin-top: 10px; color: var(--c-muted); font-size: 14px; }

/* Image frame helper */
.img-frame { position: relative; overflow: hidden; border-radius: 0; background: var(--c-blue-50); border: 1px solid var(--c-line); }
.img-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.img-frame.r169 { aspect-ratio: 16 / 9; }
.img-frame.r43 { aspect-ratio: 4 / 3; }

/* Two-column split (text + image), desktop; reverses per item */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.split + .split { margin-top: 48px; }
.split.reverse .split-media { order: 2; }
.split .split-body h3 { font-size: 22px; margin: 0 0 12px; color: var(--c-ink); }
.split .split-body p { color: var(--c-body); margin: 0 0 12px; }
.split .split-body ul { list-style: none; display: grid; gap: 8px; margin: 0; }
.split .split-body ul li { position: relative; padding-left: 22px; color: var(--c-body); font-size: 15px; }
.split .split-body ul li::before { content: "▸"; position: absolute; left: 0; color: var(--c-blue); }

/* Horizontal process flow */
.proc-flow { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.proc-step { background: #fff; border: 1px solid var(--c-line); border-radius: 0; padding: 18px 14px; text-align: center; }
.proc-step .num { width: 30px; height: 30px; border-radius: 50%; background: var(--c-blue); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 14px; margin: 0 auto 10px; }
.proc-step h4 { font-size: 15px; margin: 0 0 6px; color: var(--c-ink); }
.proc-step p { font-size: 12.5px; color: var(--c-muted); margin: 0; line-height: 1.45; }

/* Enterprise / capacity data cards */
.data-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.data-card { background: #fff; border: 1px solid var(--c-line); border-radius: 14px; padding: 24px 18px; text-align: center; position: relative; }
.data-card b { display: block; font-size: 28px; color: var(--c-blue); font-weight: 800; line-height: 1.1; margin-bottom: 4px; }
.data-card span { font-size: 13.5px; color: var(--c-muted); }

/* "To be verified" marker + note */
.verify-tag { display: inline-block; font-size: 11px; font-weight: 700; color: #8a5a00; background: #fdf2d8; border: 1px solid #f0d498; border-radius: 999px; padding: 2px 9px; margin-left: 8px; vertical-align: middle; }
.verify-note { background: #fbf7ef; border-left: 3px solid var(--c-gold); padding: 14px 18px; border-radius: 0 10px 10px 0; color: var(--c-body); font-size: 14.5px; margin-top: 18px; line-height: 1.6; }

/* Image placeholder (used when a real shot is not yet available) */
.img-ph { display: grid; place-items: center; text-align: center; background: repeating-linear-gradient(45deg, #f3f6fb, #f3f6fb 10px, #eef2f8 10px, #eef2f8 20px); border: 1px dashed var(--c-line); color: var(--c-muted); padding: 18px; }
.img-ph .ph-ico { font-size: 22px; margin-bottom: 8px; }
.img-ph .ph-note { font-weight: 600; color: var(--c-body); font-size: 13.5px; margin-bottom: 4px; }
.img-ph .ph-sub { font-size: 12.5px; }

/* Certification groups + cards */
.cert-group { margin-bottom: 40px; }
.cert-group > h3 { font-size: 20px; margin: 0 0 16px; padding-bottom: 10px; border-bottom: 2px solid var(--c-line); color: var(--c-ink); }
.cert-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.cert-card { display: flex; gap: 16px; background: #fff; border: 1px solid var(--c-line); border-radius: 0; padding: 18px; align-items: flex-start; }
.cert-thumb { flex-shrink: 0; width: 92px; height: 116px; border-radius: 0; overflow: hidden; background: var(--c-blue-50); }
.cert-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cert-body { flex: 1; }
.cert-body h4 { font-size: 15.5px; margin: 0 0 8px; color: var(--c-ink); }
.cert-body .cert-meta { list-style: none; margin: 0; display: grid; gap: 5px; }
.cert-body .cert-meta li { font-size: 13px; color: var(--c-body); }
.cert-body .cert-meta li b { color: var(--c-muted); font-weight: 600; margin-right: 6px; }
.cert-body .cert-actions { margin-top: 12px; }

/* Bottom contact CTA (reuses .cta-band) */
.cta-band .btn + .btn { margin-left: 12px; }

/* Responsive — subpages */
@media (max-width: 980px) {
  .proc-flow { grid-template-columns: repeat(3, 1fr); }
  .data-row { grid-template-columns: repeat(2, 1fr); }
  .cert-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .subnav { position: static; }
  .split { grid-template-columns: 1fr; gap: 22px; }
  .split.reverse .split-media { order: 0; }
  .proc-flow { grid-template-columns: 1fr 1fr; }
  .data-row { grid-template-columns: 1fr 1fr; }
  .subpage-banner .img-frame { aspect-ratio: 16 / 9; }
}
@media (max-width: 480px) {
  .proc-flow, .data-row { grid-template-columns: 1fr; }
}

/* ============================================================
   Homepage redesign — TUHAO (squared modules)
   ============================================================ */

/* Stats clarification note */
.stats-note { text-align: center; color: var(--c-muted); font-size: 13px; margin-top: 22px; line-height: 1.6; }
.stats-note a { font-weight: 600; }

/* Product categories — 5 even columns */
.fam-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px; }
.fam-grid .family-card { height: 100%; }
.fam-grid .family-card .body { padding: 18px 16px 22px; display: flex; flex-direction: column; flex: 1; }
.fam-grid .family-card h3 { font-size: 16px; }
.fam-grid .family-card p { font-size: 13.5px; margin-bottom: 12px; }
.fam-grid .family-card .more { margin-top: auto; }

/* Services — unified icon cards */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.svc-icon { width: 44px; height: 44px; color: var(--c-blue); display: grid; place-items: center; margin-bottom: 14px; }
.svc-icon svg { width: 26px; height: 26px; }

/* Projects — restructured cards */
.proj-result-tag { display: inline-block; font-size: 11px; font-weight: 700; color: var(--c-blue); background: var(--c-blue-50); padding: 3px 10px; margin-bottom: 10px; letter-spacing: .3px; }
.proj-cap { font-size: 12.5px; color: var(--c-muted); margin-top: 14px; padding-top: 10px; border-top: 1px dashed var(--c-line); }

/* Quality & Qualifications trust band */
.quality-trust { background: var(--c-bg-soft); border-top: 1px solid var(--c-line); border-bottom: 1px solid var(--c-line); }
.quality-trust-inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.quality-trust h2 { margin: .25em 0 .5em; }
.quality-trust p { color: var(--c-body); font-size: 16px; margin-bottom: 22px; max-width: 460px; }
.cert-chips { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 0; }
.cert-chips li { background: #fff; border: 1px solid var(--c-line); padding: 12px 14px; font-size: 13.5px; font-weight: 600; color: var(--c-ink); display: flex; align-items: center; gap: 8px; line-height: 1.35; }

/* Manufacturing Base — panorama + close-ups */
.mfg-pano { aspect-ratio: 21 / 9; margin-bottom: 22px; overflow: hidden; background: #eef2f8; }
.mfg-pano > img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mfg-closeups { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.mfg-closeups .mfg-item { margin: 0; }
.mfg-closeups .mfg-item .m-img { aspect-ratio: 16 / 10; }

/* Footer — larger type & even columns */
.footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1.15fr; gap: 44px; }
.footer-brand p { font-size: 15.5px; line-height: 1.7; }
.footer-col h4 { font-size: 17px; margin-bottom: 18px; letter-spacing: .2px; }
.footer-col a, .footer-col p { font-size: 15px; }
.footer-bottom { font-size: 14px; }

/* ---------- Responsive — homepage ---------- */
@media (max-width: 1100px) {
  .fam-grid { grid-template-columns: repeat(3, 1fr); }
  .cert-chips { grid-template-columns: 1fr; }
}
@media (max-width: 980px) {
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .quality-trust-inner { grid-template-columns: 1fr; gap: 26px; }
  .mfg-closeups { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .fam-grid { grid-template-columns: repeat(2, 1fr); }
  .svc-grid { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .hero-bg { background-position: center; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .fam-grid { grid-template-columns: 1fr; }
  .mfg-closeups { grid-template-columns: 1fr; }
  .cert-chips { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* Floating WhatsApp button */
.wa-fab {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 18px rgba(37, 211, 102, .45);
  z-index: 999;
  transition: transform .2s ease, box-shadow .2s ease;
}
.wa-fab:hover { transform: scale(1.08); box-shadow: 0 8px 22px rgba(37, 211, 102, .55); }
.wa-fab svg { width: 30px; height: 30px; display: block; }
@media (max-width: 760px) {
  .wa-fab { right: 16px; bottom: 16px; width: 52px; height: 52px; }
}
