/* ============================================================
   Mingchen subpage styles (SEO landing pages, EN)
   Separate file on purpose: does NOT touch style.css,
   so the 3-language cache version scheme stays untouched.
   Only loaded by generated pages under /services/, /cnc-turning/,
   /cnc-milling/, /swiss-type-machining/, /materials/, /faq/.
   2026-09-07
   ============================================================ */

html, body { max-width: 100%; overflow-x: hidden; }

.sp-hero {
  background: linear-gradient(135deg, #0c1016 0%, #131a23 60%, #18232f 100%);
  border-bottom: 1px solid var(--border-dark, #26313c);
  padding: 112px 0 50px; /* top pad clears the fixed header on subpages */
}
.sp-hero .container { max-width: 980px; }
.sp-crumb {
  font-size: 0.82rem;
  color: var(--text-muted, #768390);
  margin-bottom: 14px;
  letter-spacing: 0.02em;
}
.sp-crumb a { color: var(--accent, #2f80ed); text-decoration: none; }
.sp-crumb a:hover { text-decoration: underline; }
.sp-crumb .sep { margin: 0 8px; opacity: 0.6; }
.sp-crumb .here { color: var(--text-secondary, #aab4bf); }
.sp-kicker {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-hover, #56a0ff);
  margin-bottom: 10px;
}
.sp-h1 {
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  line-height: 1.2;
  font-weight: 800;
  color: var(--text-primary, #f2f5f8);
  margin: 0 0 16px;
}
.sp-lead {
  font-size: 1.06rem;
  line-height: 1.75;
  color: var(--steel, #b9c2cc);
  margin: 0 0 26px;
  max-width: 46em;
}
.sp-hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.sp-body { background: #ffffff; padding: 52px 0 30px; }
.sp-body.alt { background: var(--bg-light, #f4f6f8); }
.sp-body .container { max-width: 980px; }
.sp-body h2 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-dark, #111820);
  margin: 0 0 14px;
  line-height: 1.3;
}
.sp-body h3 {
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--text-dark, #111820);
  margin: 26px 0 10px;
}
.sp-body p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-dark-secondary, #52606d);
  margin: 0 0 16px;
}
.sp-body .sp-note {
  background: var(--accent-dim, rgba(47,128,237,0.13));
  border-left: 4px solid var(--accent, #2f80ed);
  padding: 14px 18px;
  border-radius: 0 var(--radius, 8px) var(--radius, 8px) 0;
  margin: 20px 0;
}
.sp-body .sp-note p { margin: 0; }

.sp-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 18px;
  margin: 22px 0 26px;
}
.sp-card {
  background: var(--bg-light, #f4f6f8);
  border: 1px solid var(--border-light, #d9e0e7);
  border-radius: var(--radius, 8px);
  padding: 20px;
}
.sp-card .ic {
  width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--accent-dim, rgba(47,128,237,0.13));
  color: var(--accent, #2f80ed);
  border-radius: 8px;
  font-size: 1.05rem;
  margin-bottom: 12px;
}
.sp-card h3 { margin: 0 0 8px; font-size: 1.05rem; }
.sp-card p { margin: 0; font-size: 0.93rem; line-height: 1.65; }

.sp-ul { list-style: none; padding: 0; margin: 6px 0 20px; }
.sp-ul li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 10px;
  line-height: 1.7;
  color: var(--text-dark-secondary, #52606d);
  font-size: 0.98rem;
}
.sp-ul li i {
  position: absolute;
  left: 0; top: 4px;
  color: var(--accent, #2f80ed);
  font-size: 0.9rem;
  width: 20px; text-align: center;
}

.sp-table-wrap { overflow-x: auto; margin: 18px 0 26px; border: 1px solid var(--border-light, #d9e0e7); border-radius: var(--radius, 8px); }
.sp-table { width: 100%; border-collapse: collapse; min-width: 640px; }
.sp-table th, .sp-table td { text-align: left; padding: 12px 14px; font-size: 0.93rem; border-bottom: 1px solid var(--border-light, #d9e0e7); vertical-align: top; }
.sp-table thead th { background: var(--bg-light, #f4f6f8); color: var(--text-dark, #111820); font-weight: 700; white-space: nowrap; }
.sp-table tbody tr:last-child td { border-bottom: none; }
.sp-table td { color: var(--text-dark-secondary, #52606d); }

.sp-cta {
  background: linear-gradient(135deg, #0f5fb8 0%, #2f80ed 55%, #56a0ff 100%);
  padding: 52px 0;
}
.sp-cta .container { max-width: 980px; text-align: center; }
.sp-cta h2 { color: #fff; font-size: clamp(1.4rem, 2.6vw, 1.9rem); font-weight: 800; margin: 0 0 10px; }
.sp-cta p { color: rgba(255,255,255,0.85); font-size: 1.02rem; line-height: 1.7; margin: 0 auto 26px; max-width: 42em; }
.sp-cta .sp-hero-actions { justify-content: center; }
.sp-cta .btn { border: 2px solid transparent; }
.sp-cta .btn-wa { background: #25d366; color: #fff; box-shadow: 0 12px 30px rgba(37,211,102,0.3); }
.sp-cta .btn-wa:hover { background: #1fb457; color: #fff; transform: translateY(-2px); }
.sp-cta .btn-plain { background: rgba(255,255,255,0.12); color: #fff; border: 2px solid rgba(255,255,255,0.5); }
.sp-cta .btn-plain:hover { background: #fff; color: #0f5fb8; transform: translateY(-2px); }

.sp-faq-item { border: 1px solid var(--border-light, #d9e0e7); border-radius: var(--radius, 8px); padding: 18px 20px; margin-bottom: 14px; background: #fff; }
.sp-faq-item summary { cursor: pointer; font-weight: 700; color: var(--text-dark, #111820); font-size: 1.02rem; list-style: none; }
.sp-faq-item summary::-webkit-details-marker { display: none; }
.sp-faq-item summary::after { content: "+"; float: right; color: var(--accent, #2f80ed); font-weight: 800; font-size: 1.2rem; line-height: 1; }
.sp-faq-item[open] summary::after { content: "\2212"; }
.sp-faq-item .ans { margin-top: 12px; line-height: 1.75; color: var(--text-dark-secondary, #52606d); font-size: 0.96rem; }

@media (max-width: 640px) {
  .sp-hero { padding: 104px 0 36px; }
  .sp-body { padding: 38px 0 20px; }
  .sp-cta { padding: 40px 0; }
  .sp-hero-actions .btn { width: 100%; justify-content: center; }
}
