/* ============================================================
   BLESS brand theme — derived from the logo color #2CA1D3
   Loaded last on every page. Keeps the original layout, unifies color.
   ============================================================ */
:root {
  --brand: #2ca1d3;          /* logo blue */
  --brand-strong: #1b87b8;   /* hover / active */
  --brand-deep: #0f5f86;     /* text links on light */
  --brand-soft: #e6f5fc;     /* tinted panels */
  --brand-tint: #f3fafd;
  --accent: #2ca1d3;
  --accent-strong: #1b87b8;
  --accent-soft: #e6f5fc;
  --blue: #2ca1d3;
  --navy: #08263b;           /* deep blue built from the logo hue */
  --navy-2: #0c3350;
  --navy-3: #124364;
  --navy2: #0c3350;
  --light: #eef7fc;
  --light-2: #e1f0f8;
  --line: #d5e7f1;
  --line-strong: #b9d7e8;
  --selected: #e3f2f9;
}
::selection { background: var(--brand); color: #fff; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }

/* ---------- Top bar ---------- */
.topbar { background: linear-gradient(90deg, #08263b 0%, #0c3350 62%, #0f5f86 100%) !important; }
.topbar a { color: #fff; }
.topbar a.draw-link { color: #8fd6f2; font-weight: 600; }
.topbar a:hover { color: #bfe8f8; }

/* ---------- Header / navigation ---------- */
.main-header { border-bottom: 1px solid var(--line); box-shadow: 0 6px 18px -16px rgba(8, 38, 59, 0.45); }
.nav-links > a:not(.nav-cta),
.nav-links .nav-drop > summary { transition: color 0.15s ease; }
.nav-links > a:not(.nav-cta):hover,
.nav-links .nav-drop > summary:hover,
.nav-links .nav-drop[open] > summary { color: var(--brand); }
.nav-links > a.active:not(.nav-cta),
.nav-links .nav-drop.is-active > summary {
  color: var(--brand-strong);
  text-decoration: underline;
  text-decoration-color: var(--brand);
  text-decoration-thickness: 2px;
  text-underline-offset: 9px;
}
.nav-links .nav-cta { background: var(--brand); border-color: var(--brand); color: #fff; }
.nav-links .nav-cta:hover { background: var(--brand-strong); border-color: var(--brand-strong); }
.nav-panel .nav-panel-item:hover { background: var(--brand-soft); color: var(--brand-deep); }
.nav-panel-heading a { color: var(--brand-strong); }
.language-options a:hover { color: var(--brand); }

/* ---------- Buttons & links ---------- */
.button { background: var(--brand); box-shadow: 0 8px 18px -10px rgba(44, 161, 211, 0.75); }
.button:hover { background: var(--brand-strong); }
.button.dark { background: var(--navy); box-shadow: 0 8px 18px -12px rgba(8, 38, 59, 0.7); }
.button.dark:hover { background: var(--navy-3); }
.text-link, .related-links a, .breadcrumbs a:hover { color: var(--brand-strong); }
.text-link:hover, .related-links a:hover { color: var(--brand-deep); }
.eyebrow { color: var(--brand-strong); }

/* ---------- Sections: compact rhythm, less empty space ---------- */
.section { padding: 40px 0; }
.section.pale { background: var(--light); }
.section-head { margin-bottom: 22px; }

/* ---------- Cards & tables ---------- */
.pcat-card, .process-card, .product-card, .service { transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease; }
.pcat-card:hover, .process-card:hover, .product-card:hover, .service:hover {
  border-color: rgba(44, 161, 211, 0.5);
  box-shadow: 0 16px 30px -20px rgba(8, 38, 59, 0.45);
}
.spec-table th { background: var(--brand-soft); color: var(--navy); }
.spec-table td:first-child { color: var(--navy); font-weight: 600; }
.content-list b { color: var(--navy); }
.spatial-gallery [data-carousel-track] > [hidden] { display: none !important; }

/* ---------- Footer ---------- */
.footer { background: linear-gradient(180deg, #08263b 0%, #061c2c 100%); border-top: 3px solid var(--brand); }
.footer a:hover { color: #8fd6f2; }

/* ---------- Home: factory facts (two-column layout) ---------- */
.facts-split { display: grid; grid-template-columns: 1.15fr 1fr; gap: 64px; align-items: start; }
.facts-split .accent-dash { display: block; width: 40px; height: 3px; border-radius: 2px; background: var(--brand); margin-bottom: 14px; }
.facts-split h2 { font-size: 34px; line-height: 1.2; color: var(--navy); margin: 0 0 12px; }
.facts-split .facts-lead { font-size: 15px; line-height: 1.65; color: var(--text); margin: 0 0 14px; max-width: 580px; }
.facts-badges { display: flex; flex-wrap: wrap; gap: 8px 26px; list-style: none; margin: 0 0 22px; padding: 0; font-size: 13px; color: var(--text); }
.facts-badges li::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); margin-right: 9px; vertical-align: middle; }
.facts-lead-time { border-top: 1px solid var(--line); padding-top: 18px; max-width: 580px; }
.facts-lead-time h3 { font-size: 14px; color: var(--navy); margin: 0 0 12px; }
.facts-lead-time .lt-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 40px; }
.facts-lead-time .lt-grid strong { display: block; font-size: 17px; color: var(--navy); }
.facts-lead-time .lt-grid span { font-size: 12px; color: #6d7e88; }
.facts-list > div { padding: 18px 0; border-bottom: 1px solid var(--line); }
.facts-list > div:first-child { padding-top: 4px; }
.facts-list > div:last-child { border-bottom: 0; }
.facts-list h3 { font-size: 16px; color: var(--navy); margin: 0 0 6px; }
.facts-list p { font-size: 14px; line-height: 1.55; color: var(--text); margin: 0; }

/* ---------- Surface finishing hero: full-bleed photo like other pages ---------- */
.page-hero--bg.page-hero--surface {
  background:
    linear-gradient(90deg, #eef7fc 0%, rgba(238, 247, 252, 0.95) 34%, rgba(238, 247, 252, 0.6) 52%, rgba(238, 247, 252, 0) 72%),
    url(../images/surface-finishing-hero.webp) center right / cover no-repeat;
}

/* ============================================================
   Symmetric & Cohesive Design System for Surface Finishing, Quality & Blog
   ============================================================ */
.sym-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 28px;
  align-items: end;
  margin-bottom: 22px;
}
.sym-head .accent-dash {
  display: block;
  width: 34px;
  height: 3px;
  border-radius: 2px;
  background: var(--brand);
  margin-bottom: 10px;
}
.sym-head h2 {
  font-size: 28px;
  line-height: 1.22;
  color: var(--navy);
  margin: 0;
}
.sym-head p.sym-lead {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text);
  margin: 0;
}

/* Symmetric equal-height card grids */
.sym-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.sym-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.sym-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.sym-grid-5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }

.sym-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 3px solid var(--brand);
  border-radius: 10px;
  padding: 18px 20px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.sym-card:hover {
  border-color: var(--brand);
  box-shadow: 0 14px 28px -20px rgba(8, 38, 59, 0.45);
  transform: translateY(-2px);
}
.sym-card .sym-num {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-strong);
  margin-bottom: 6px;
}
.sym-card h3 {
  font-size: 16.5px;
  line-height: 1.32;
  color: var(--navy);
  margin: 0 0 8px;
}
.sym-card p {
  font-size: 13.5px;
  line-height: 1.58;
  color: var(--text);
  margin: 0;
  flex: 1;
}
.sym-card .sym-meta {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  font-weight: 600;
  color: var(--brand-deep);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
a.sym-card { text-decoration: none; color: inherit; }

/* Symmetric split (left cards / right table) */
.sym-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: stretch;
}
.sym-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
}
.sym-panel h3 {
  font-size: 17px;
  color: var(--navy);
  margin: 0 0 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}
.sym-steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  flex: 1;
}
.sym-step {
  background: var(--brand-tint);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 14px;
}
.sym-step span {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--brand-strong);
  margin-bottom: 4px;
}
.sym-step strong {
  display: block;
  font-size: 14px;
  color: var(--navy);
  margin-bottom: 4px;
}
.sym-step p {
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--text);
  margin: 0;
}

.sym-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
  flex: 1;
}
.sym-table th, .sym-table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.sym-table th {
  background: var(--brand-soft);
  color: var(--navy);
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 0.04em;
}
.sym-table tr:last-child td { border-bottom: 0; }
.sym-table td:first-child { color: var(--navy); font-weight: 600; width: 38%; }
.sym-table td:last-child { color: var(--text); }

/* Compact Horizontal Auto-Scrolling Marquee (matches Home, smaller cards) */
.pcat.pcat-sm {
  padding-bottom: 8px;
}
.pcat.pcat-sm .pcat-track {
  gap: 14px;
}
.pcat.pcat-sm .pcat-card {
  flex: 0 0 184px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fff;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
}
.pcat.pcat-sm .pcat-card img {
  width: 100%;
  height: 110px;
  object-fit: cover;
  padding: 0;
  background: var(--light);
  display: block;
}
.pcat.pcat-sm .pcat-card.pcat-part img {
  object-fit: contain;
  padding: 6px;
}
.pcat.pcat-sm .pcat-copy {
  padding: 9px 11px 11px;
}
.pcat.pcat-sm .pcat-copy h3 {
  font-size: 13.5px;
  line-height: 1.3;
  margin: 0 0 4px;
  color: var(--navy);
}
.pcat.pcat-sm .pcat-copy p {
  font-size: 11.5px;
  line-height: 1.45;
  color: var(--text);
  margin: 0;
}

/* Quality sub-navigation pills */
.qa-links { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.qa-links a {
  display: block; text-align: center; padding: 11px 12px; border: 1px solid var(--line); border-radius: 8px; background: #fff;
  font-size: 13px; font-weight: 600; color: var(--navy); transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.qa-links a:hover { border-color: var(--brand); color: var(--brand-strong); }
.qa-links a[aria-current='page'] { background: var(--brand); border-color: var(--brand); color: #fff; }

/* Balanced 2-column FAQ */
.sym-faq {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.sym-faq details.faq {
  margin: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
}

/* Symmetric Brand CTA Band */
.cta-band {
  background: linear-gradient(100deg, #08263b 0%, #0c3350 55%, #0f5f86 100%);
  color: #fff;
  border-radius: 14px;
  padding: 28px 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.cta-band h2 { color: #fff; font-size: 24px; margin: 0 0 6px; }
.cta-band p { color: #cfe6f2; margin: 0; font-size: 14.5px; }

/* ---------- Blog Cards (symmetric 3-col, neat proportions) ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.blog-card {
  display: flex; flex-direction: column; background: #fff;
  border: 1px solid var(--line); border-top: 3px solid var(--brand);
  border-radius: 12px; overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.blog-card:hover {
  border-color: var(--brand);
  box-shadow: 0 16px 28px -20px rgba(8, 38, 59, 0.45);
  transform: translateY(-2px);
}
.blog-card img { width: 100%; height: 158px; object-fit: cover; display: block; background: var(--light); }
.blog-body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.blog-tag { font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--brand-strong); }
.blog-card h3 { font-size: 17px; line-height: 1.35; margin: 6px 0 8px; color: var(--navy); }
.blog-card p { font-size: 13.5px; line-height: 1.55; color: var(--text); margin: 0; flex: 1; }
.blog-card .text-link { margin-top: 12px; font-size: 13px; font-weight: 600; }

/* ---------- AEO Direct Answer Box (for AI engines & featured snippets) ---------- */
.aeo-box {
  background: var(--brand-tint);
  border: 1px solid var(--line);
  border-left: 4px solid var(--brand);
  border-radius: 10px;
  padding: 16px 20px;
  margin-bottom: 22px;
}
.aeo-box .aeo-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-strong);
  margin-bottom: 6px;
}
.aeo-box p {
  font-size: 14.5px;
  line-height: 1.62;
  color: var(--navy);
  margin: 0;
}
.language-options {
  min-width: 132px;
}


/* Products hero: full-bleed seamless cover matching new GPT studio banner */
.page-hero--bg {
  background:
    linear-gradient(90deg, #eef7fc 0%, rgba(238, 247, 252, 0.88) 32%, rgba(238, 247, 252, 0.2) 50%, rgba(238, 247, 252, 0) 66%),
    url(../images/products-hero.webp) right center / cover no-repeat;
}

/* ---------- Dedicated Full-Bleed Heroes (Materials, CNC, Industries, Blog) ---------- */
.page-hero--bg.page-hero--materials {
  background:
    linear-gradient(90deg, #eef7fc 0%, rgba(238, 247, 252, 0.88) 34%, rgba(238, 247, 252, 0.25) 52%, rgba(238, 247, 252, 0) 68%),
    url(../images/materials-hero.webp) right center / cover no-repeat;
}
.page-hero--bg.page-hero--cnc {
  background:
    linear-gradient(90deg, #eef7fc 0%, rgba(238, 247, 252, 0.88) 34%, rgba(238, 247, 252, 0.25) 52%, rgba(238, 247, 252, 0) 68%),
    url(../images/cnc-hero.webp) right center / cover no-repeat;
}
.page-hero--bg.page-hero--industries {
  background:
    linear-gradient(90deg, #eef7fc 0%, rgba(238, 247, 252, 0.88) 34%, rgba(238, 247, 252, 0.25) 52%, rgba(238, 247, 252, 0) 68%),
    url(../images/industries-hero.webp) right center / cover no-repeat;
}
.page-hero--bg.page-hero--blog {
  background:
    linear-gradient(90deg, #eef7fc 0%, rgba(238, 247, 252, 0.88) 34%, rgba(238, 247, 252, 0.25) 52%, rgba(238, 247, 252, 0) 68%),
    url(../images/blog-hero.webp) right center / cover no-repeat;
}

/* ---------- Unified Homepage Hero Typography Across ALL 206 Subpages ---------- */
.page-hero--bg {
  min-height: 500px;
  display: flex;
  align-items: center;
  padding: 44px 0 !important;
}
.page-hero .eyebrow {
  font-size: 12px;
  font-weight: 720;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 14px;
}
.page-hero h1 {
  font-family: var(--font-sans);
  font-size: 60px;
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.045em;
  color: var(--navy);
  max-width: 660px;
}
html[lang='zh-CN'] .page-hero h1,
html[lang='ja'] .page-hero h1,
html[lang='ko'] .page-hero h1 {
  font-size: 52px;
  line-height: 1.18;
  letter-spacing: -0.02em;
}
.page-hero .lead {
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.85;
  color: var(--text);
  margin-top: 22px;
  max-width: 600px;
}
.page-hero .page-actions {
  margin-top: 30px;
  gap: 14px;
}
.page-hero .page-actions .button.dark {
  background: rgba(255, 255, 255, 0.72);
  color: var(--navy);
  border: 1px solid var(--line-strong);
  box-shadow: none;
}
.page-hero .page-actions .button.dark:hover {
  border-color: var(--brand);
  color: var(--brand-strong);
  background: var(--brand-soft);
}
.page-hero .mini-facts {
  margin-top: 26px;
  gap: 10px 22px;
  font-size: 12px;
  font-weight: 720;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
}
.page-hero .mini-facts span:before {
  content: '•';
  color: var(--brand);
  margin-right: 8px;
}

.page-hero--bg.page-hero--quality {
  background:
    linear-gradient(90deg, #eef7fc 0%, rgba(238, 247, 252, 0.88) 32%, rgba(238, 247, 252, 0.2) 48%, rgba(238, 247, 252, 0) 64%),
    url(../images/quality-hero.webp) right center / cover no-repeat;
}
.page-hero--bg.page-hero--gravity {
  background:
    linear-gradient(90deg, #eef7fc 0%, rgba(238, 247, 252, 0.92) 32%, rgba(238, 247, 252, 0.3) 48%, rgba(238, 247, 252, 0) 64%),
    url(../images/gravity-hero.webp) right center / cover no-repeat;
}

/* Right-align trailing dropdown panel so it never clips off the right viewport edge */
.nav-links .nav-drop .nav-panel-right {
  left: auto;
  right: 0;
}
