/* ========== Reset & Base ========== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary: #0ea5e9;
  --primary-dark: #0284c7;
  --secondary: #1e293b;
  --accent: #f59e0b;
  --bg: #ffffff;
  --bg-alt: #f8fafc;
  --bg-dark: #0f172a;
  --text: #334155;
  --text-heading: #1e293b;
  --text-muted: #64748b;
  --border: #e2e8f0;
  --shadow: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow-md: 0 4px 6px rgba(0,0,0,.07), 0 2px 4px rgba(0,0,0,.06);
  --radius: 8px;
  --max-width: 1200px;
}

html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--text);
  line-height: 1.7;
  background: var(--bg);
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-dark); }
img { max-width: 100%; height: auto; }
ul { list-style: none; }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 20px; }

/* ========== Header ========== */
.header { position: sticky; top: 0; z-index: 100; background: #fff; }
.header-top { background: var(--secondary); color: #cbd5e1; font-size: 13px; padding: 6px 0; }
.header-top .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.header-contact-top span { margin-left: 16px; }

.header-main { border-bottom: 1px solid var(--border); padding: 14px 0; }
.header-main .container { display: flex; align-items: center; justify-content: space-between; }

.logo { display: flex; flex-direction: column; text-decoration: none; }
.logo-text { font-size: 24px; font-weight: 700; color: var(--primary); letter-spacing: 1px; }
.logo-sub { font-size: 12px; color: var(--text-muted); letter-spacing: 2px; text-transform: uppercase; }

.nav ul { display: flex; gap: 4px; }
.nav a {
  display: block; padding: 8px 18px; color: var(--text-heading);
  font-size: 15px; border-radius: 6px; transition: all .2s;
}
.nav a:hover, .nav a.active { background: #e0f2fe; color: var(--primary); }

/* Nav toggle (mobile) */
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--text-heading); transition: all .3s; }

/* ========== Sections ========== */
.section { padding: 70px 0; }
.section-alt { background: var(--bg-alt); }
.section-header { text-align: center; margin-bottom: 56px; }
.section-header h2 { font-size: 32px; color: var(--text-heading); margin-bottom: 8px; font-weight: 700; }
.section-header p { color: var(--text-muted); font-size: 16px; max-width: 600px; margin: 0 auto; }
.section-tag { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 3px; color: var(--primary); text-transform: uppercase; margin-bottom: 12px; background: rgba(14,165,233,.08); padding: 4px 12px; border-radius: 4px; }
.section-footer { text-align: center; margin-top: 36px; }

/* ========== Hero ========== */
.hero {
  position: relative; min-height: 500px; display: flex; align-items: center;
  background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #0ea5e9 100%);
  color: #fff; overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 5 L55 30 L30 55 L5 30z' fill='none' stroke='rgba(255,255,255,.05)' stroke-width='1'/%3E%3C/svg%3E");
  opacity: .5;
}
.hero-inner {
  position: relative; z-index: 1; width: 100%;
  padding: 60px 20px; display: flex; align-items: center; gap: 48px;
}
.hero-left { flex: 1; text-align: left; }
.hero-left h1 { font-size: 48px; font-weight: 800; margin-bottom: 26px; line-height: 1.5; }
.hero-left p { font-size: 36px; color: rgba(255,255,255,.75); opacity: .9; margin-bottom: 32px; line-height: 1.8; }
.hero-btns { display: flex; gap: 28px; flex-wrap: wrap; }
.hero-right { flex: 1; margin-left: 30px;}
.hero-features { list-style: none; display: flex; flex-direction: column; gap: 20px; }
.hero-features li { display: flex; gap: 14px; align-items: flex-start; }
.hf-icon {
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; flex-shrink: 0;
  background: rgba(255,255,255,.15); color: #7dd3fc;
  border-radius: 10px;
  margin-top: 12px;
}
.hf-text strong { display: block; font-size: 26px; color: #fff; margin-bottom: 2px; }
.hf-text span { display: block; font-size: 18px; color: rgba(255,255,255,.75); line-height: 1.6; }

/* ========== Page Banner ========== */
.page-banner {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 100%);
  color: #fff; text-align: center; padding: 60px 20px;
}
.page-banner h1 { font-size: 36px; margin-bottom: 8px; }
.page-banner p { opacity: .8; font-size: 16px; }
.page-banner-sm { padding: 40px 20px; }
.page-banner-sm h1 { font-size: 28px; }

/* ========== Cards ========== */
.card-grid { display: grid; gap: 24px; }
.card-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.card-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.card-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: #fff; border-radius: 16px; padding: 36px 32px;
  box-shadow: 0 1px 3px rgba(15,23,42,.06), 0 1px 2px rgba(15,23,42,.04);
  transition: box-shadow .25s ease, transform .25s ease, border-color .25s ease;
  border: 1px solid var(--border); cursor: pointer;
  position: relative; overflow: hidden;
}
.card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--primary), #38bdf8);
  transform: scaleX(0); transform-origin: left;
  transition: transform .35s ease;
}
.card:hover::before { transform: scaleX(1); }
.card:hover {
  box-shadow: 0 10px 25px -5px rgba(15,23,42,.1), 0 4px 10px -6px rgba(15,23,42,.08);
  transform: translateY(-4px); border-color: #cbd5e1;
}
.card h3 { font-size: 18px; color: var(--text-heading); margin-bottom: 10px; font-weight: 600; letter-spacing: -.01em; }
.card h3 a { color: var(--text-heading); }
.card h3 a:hover { color: var(--primary); }
.card p { color: var(--text-muted); font-size: 14px; line-height: 1.75; }
.card h4 { color: var(--text-heading); margin-bottom: 6px; }

.card-icon-box {
  display: flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: 14px;
  background: linear-gradient(135deg, #e0f2fe, #bae6fd);
  color: var(--primary); margin-bottom: 20px; flex-shrink: 0;
}
.card-icon-box.accent-sky    { background: linear-gradient(135deg, #e0f2fe, #bae6fd); color: #0284c7; }
.card-icon-box.accent-emerald { background: linear-gradient(135deg, #d1fae5, #a7f3d0); color: #059669; }
.card-icon-box.accent-amber  { background: linear-gradient(135deg, #fef3c7, #fde68a); color: #d97706; }
.card-icon-box.accent-rose   { background: linear-gradient(135deg, #ffe4e6, #fecdd3); color: #e11d48; }

.card-link { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--primary); text-decoration: none; transition: gap .25s ease; margin-top: 0; }
.card-link span { transition: transform .25s ease; display: inline-block; }
.card-link:hover { color: var(--primary-dark); }
.card-link:hover span { transform: translateX(4px); }

/* ========== Service Cards ========== */
.service-card { padding: 40px 32px 32px; text-align: left; }
.service-card h3 { font-size: 20px; margin-bottom: 10px; }
.service-card p { margin-bottom: 20px; min-height: 48px; }

/* ========== Advantage Cards ========== */
.advantage-card { text-align: center; padding: 40px 28px 32px; }
.advantage-card .card-icon-box { margin: 0 auto 20px; }

/* ========== News Cards ========== */
.news-card { padding: 32px 28px; }
.news-card-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.news-category { font-size: 11px; font-weight: 600; background: #e0f2fe; color: #0369a1; padding: 3px 10px; border-radius: 6px; letter-spacing: .5px; }
.news-card time { font-size: 12px; color: var(--text-muted); margin-top: 0; }
.news-card h3 { font-size: 17px; line-height: 1.5; margin-bottom: 10px; }
.news-card h3 a { text-decoration: none; }
.news-card p { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.news-card-footer { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--border); }
.news-readmore { font-size: 13px; font-weight: 600; color: var(--primary); text-decoration: none; display: inline-flex; align-items: center; gap: 4px; }
.news-readmore span { transition: transform .25s ease; display: inline-block; }
.news-readmore:hover span { transform: translateX(4px); }

.team-card { text-align: center; }
.team-avatar { font-size: 48px; margin-bottom: 12px; }

/* ========== Steps ========== */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step {
  background: #fff; border-radius: 16px; padding: 40px 24px 32px;
  text-align: center; position: relative;
  box-shadow: 0 1px 3px rgba(15,23,42,.04);
  border: 1px solid var(--border); cursor: pointer;
  transition: box-shadow .25s ease, transform .25s ease;
}
.step:hover { box-shadow: 0 8px 20px rgba(15,23,42,.08); transform: translateY(-3px); }
.step-num {
  position: absolute; top: -14px; left: 24px;
  font-size: 12px; font-weight: 700; color: var(--primary);
  background: #e0f2fe; padding: 2px 10px; border-radius: 4px;
  letter-spacing: 1px;
}
.step-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), #38bdf8);
  color: #fff; margin-bottom: 18px;
}
.step-icon::after { display: none; }
.step h4 { font-size: 18px; color: var(--text-heading); margin-bottom: 8px; font-weight: 600; }
.step p { color: var(--text-muted); font-size: 14px; line-height: 1.7; }

/* ========== CTA ========== */
.cta {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff; text-align: center; padding: 60px 20px;
}
.cta h2 { font-size: 28px; margin-bottom: 8px; }
.cta p { font-size: 16px; opacity: .9; margin-bottom: 24px; }

/* ========== Buttons ========== */
.btn {
  display: inline-block; padding: 12px 28px; border-radius: 6px;
  font-size: 15px; font-weight: 600; border: none; cursor: pointer;
  transition: all .3s; text-decoration: none; text-align: center;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); color: #fff; }
.btn-outline { background: #fff; color: var(--primary); border: 1px solid var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-outline-white { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.6); }
.btn-outline-white:hover { background: #fff; color: var(--primary); }
.btn-lg { padding: 16px 40px; font-size: 16px; }
.btn-block { display: block; width: 100%; }

/* ========== Footer ========== */
.footer { background: var(--bg-dark); color: #94a3b8; padding: 50px 0 0; }
.footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; margin-bottom: 30px; }
.footer h3 { color: #fff; font-size: 16px; margin-bottom: 16px; }
.footer p { font-size: 14px; line-height: 1.8; }
.footer a { color: #94a3b8; font-size: 14px; }
.footer a:hover { color: #fff; }
.footer-col ul li { margin-bottom: 8px; }
.footer-contact li { font-size: 14px; margin-bottom: 8px; }
.footer-bottom {
  border-top: 1px solid #1e293b; padding: 20px 0;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  font-size: 13px;
}
.footer-bottom a { font-size: 13px; }

/* Footer Beian */
.footer-beian { margin-top: 16px; display: flex; gap: 16px; }
.footer-beian-item { text-align: center; }
.footer-beian-item img { display: block; width: 60px; height: 60px; border-radius: 4px; object-fit: contain; padding-left: 8px; }
.footer-beian-item span { display: block; font-size: 14px; color: #64748b; margin-top: 4px; }

/* ========== Contact Page ========== */

/* Contact Cards Grid */
.contact-cards {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.contact-card {
  background: #fff; border-radius: 16px; padding: 36px 28px 28px;
  text-align: center; border: 1px solid var(--border);
  box-shadow: 0 1px 3px rgba(15,23,42,.04);
  transition: box-shadow .25s ease, transform .25s ease;
  cursor: pointer; position: relative; overflow: hidden;
}
.contact-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--primary), #38bdf8);
  transform: scaleX(0); transform-origin: left;
  transition: transform .35s ease;
}
.contact-card:hover::before { transform: scaleX(1); }
.contact-card:hover {
  box-shadow: 0 10px 25px -5px rgba(15,23,42,.1);
  transform: translateY(-4px);
}
.contact-card-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; border-radius: 50%;
  background: linear-gradient(135deg, #e0f2fe, #bae6fd);
  color: var(--primary); margin-bottom: 18px;
}
.contact-card h3 {
  font-size: 18px; color: var(--text-heading); margin-bottom: 10px; font-weight: 700;
}
.contact-card-value {
  font-size: 16px; font-weight: 600; color: var(--text-heading); margin-bottom: 6px; line-height: 1.5;
}
.contact-card-value a { color: var(--primary); text-decoration: none; }
.contact-card-value a:hover { color: var(--primary-dark); }
.contact-card-desc {
  font-size: 12px; color: var(--text-muted);
}

/* QR card */
.contact-card-qr { padding-bottom: 24px; }
.contact-qr-wrap {
  display: flex; justify-content: center; margin-bottom: 8px;
}
.contact-qr-wrap img {
  border-radius: 10px; border: 1px solid var(--border);
}

/* Map + Promise Row */
.contact-map-row {
  display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 40px; align-items: start;
}
.contact-map-main .map-container {
  border-radius: 16px; overflow: hidden;
  box-shadow: 0 1px 3px rgba(15,23,42,.06);
  margin-bottom: 12px; border: 1px solid var(--border);
}
.contact-map-main .map-address { text-align: left; }
.map-address .map-links { font-size: 14px; }
.map-address .map-links a { color: var(--primary); }
.map-address .map-links a:hover { color: var(--primary-dark); }
.map-link-sep { color: var(--border); margin: 0 10px; }

/* Promise Mini List */
.contact-promise { }
.promise-mini { list-style: none; display: flex; flex-direction: column; gap: 16px; }
.promise-mini li { display: flex; gap: 14px; align-items: flex-start; }
.pm-icon {
  display: flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; flex-shrink: 0;
  background: linear-gradient(135deg, #d1fae5, #a7f3d0);
  color: #059669; border-radius: 50%; margin-top: 1px;
}
.pm-text strong { display: block; font-size: 15px; color: var(--text-heading); margin-bottom: 2px; }
.pm-text span { display: block; font-size: 13px; color: var(--text-muted); line-height: 1.5; }

/* Contact Hours Card */
.contact-hours-card {
  margin-top: 28px; background: #fff; border-radius: 14px;
  padding: 24px; display: flex; gap: 16px; align-items: flex-start;
  border: 1px solid var(--border);
  box-shadow: 0 1px 3px rgba(15,23,42,.04);
}
.chc-icon {
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; flex-shrink: 0;
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  color: #d97706; border-radius: 12px;
}
.chc-text strong { display: block; font-size: 16px; color: var(--text-heading); margin-bottom: 8px; }
.chc-text p { font-size: 13px; color: var(--text-muted); margin-bottom: 3px; line-height: 1.6; }

/* ========== Card link variation (for linked cards) ========== */
.card-link-card { display: block; text-decoration: none; color: inherit; }
.card-link-card:hover { color: inherit; }

/* ========== Services Detail Pages ========== */

/* Breadcrumb */
.breadcrumb { background: var(--bg-alt); border-bottom: 1px solid var(--border); padding: 12px 0; }
.breadcrumb ol { display: flex; gap: 8px; list-style: none; font-size: 13px; align-items: center; flex-wrap: wrap; }
.breadcrumb ol li { color: var(--text-muted); }
.breadcrumb ol li:not(:last-child)::after { content: '/'; margin-left: 8px; color: #cbd5e1; }
.breadcrumb ol li a { color: var(--text-muted); text-decoration: none; }
.breadcrumb ol li a:hover { color: var(--primary); }
.breadcrumb ol li:last-child { color: var(--text-heading); font-weight: 500; }

/* Service Hero */
.service-hero {
  padding: 70px 0 60px;
  background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #0b4c6b 100%);
  color: #fff; position: relative; overflow: hidden;
}
.service-hero::before {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 5 L55 30 L30 55 L5 30z' fill='none' stroke='rgba(255,255,255,.04)' stroke-width='1'/%3E%3C/svg%3E");
  opacity: .5;
}
.service-hero-inner {
  position: relative; z-index: 1;
  display: flex; align-items: center; gap: 56px;
}
.service-hero-text { flex: 1; }
.service-hero-tag {
  display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 2px;
  color: #7dd3fc; text-transform: uppercase; margin-bottom: 14px;
  background: rgba(125,211,252,.12); padding: 4px 12px; border-radius: 4px;
}
.service-hero-text h1 { font-size: 42px; font-weight: 800; line-height: 1.2; margin-bottom: 18px; }
.service-hero-text h1 .text-highlight { color: #38bdf8; }
.service-hero-desc {
  font-size: 16px; color: rgba(255,255,255,.78); line-height: 1.8; margin-bottom: 24px; max-width: 560px;
}
.service-hero-features {
  display: flex; flex-direction: column; gap: 10px; margin-bottom: 32px;
}
.shf-item { display: flex; align-items: center; gap: 10px; font-size: 14px; color: rgba(255,255,255,.85); }
.shf-item svg { color: #38bdf8; flex-shrink: 0; }
.service-hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.service-hero-visual { flex-shrink: 0; }
.shv-icon-box {
  display: flex; align-items: center; justify-content: center;
  width: 140px; height: 140px; border-radius: 28px;
  background: rgba(255,255,255,.08); color: #7dd3fc;
  border: 1px solid rgba(255,255,255,.1);
}

/* Detail Intro */
.detail-intro { max-width: 720px; }
.detail-intro h2 { font-size: 28px; color: var(--text-heading); margin-bottom: 12px; font-weight: 700; }
.detail-intro-text { font-size: 16px; color: var(--text-muted); line-height: 1.85; }

/* Detail Grid */
.detail-grid { display: grid; gap: 24px; }
.detail-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.detail-card {
  background: #fff; border-radius: 14px; padding: 32px 26px 26px;
  border: 1px solid var(--border);
  box-shadow: 0 1px 3px rgba(15,23,42,.04);
  transition: box-shadow .25s ease, transform .25s ease;
  cursor: pointer;
}
.detail-card:hover {
  box-shadow: 0 8px 20px rgba(15,23,42,.08);
  transform: translateY(-3px);
}
.detail-card-icon {
  display: flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 12px; margin-bottom: 16px;
}
.detail-card-icon.accent-sky    { background: linear-gradient(135deg, #e0f2fe, #bae6fd); color: #0284c7; }
.detail-card-icon.accent-emerald { background: linear-gradient(135deg, #d1fae5, #a7f3d0); color: #059669; }
.detail-card-icon.accent-amber  { background: linear-gradient(135deg, #fef3c7, #fde68a); color: #d97706; }
.detail-card-icon.accent-rose   { background: linear-gradient(135deg, #ffe4e6, #fecdd3); color: #e11d48; }
.detail-card h3 { font-size: 18px; font-weight: 700; color: var(--text-heading); margin-bottom: 8px; }
.detail-card p { font-size: 14px; color: var(--text-muted); line-height: 1.75; margin-bottom: 14px; }
.detail-list { list-style: none; display: flex; flex-direction: column; gap: 6px; padding-top: 12px; border-top: 1px solid var(--border); }
.detail-list li { font-size: 13px; color: var(--text-muted); display: flex; align-items: center; gap: 8px; }
.detail-list li::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--primary); flex-shrink: 0; }

/* Advantage Stack */
.advantage-stack { display: flex; flex-direction: column; gap: 24px; }
.adv-stack-item { display: flex; gap: 24px; align-items: flex-start; }
.adv-stack-num {
  font-size: 32px; font-weight: 800; color: #e0f2fe; line-height: 1; flex-shrink: 0;
  min-width: 52px; text-align: right;
}
.adv-stack-content h3 { font-size: 20px; font-weight: 700; color: var(--text-heading); margin-bottom: 6px; }
.adv-stack-content p { font-size: 15px; color: var(--text-muted); line-height: 1.8; }

/* Process Timeline */
.process-timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.process-item {
  background: #fff; border-radius: 14px; padding: 32px 24px;
  border: 1px solid var(--border); box-shadow: 0 1px 3px rgba(15,23,42,.04);
  transition: box-shadow .25s ease, transform .25s ease;
  cursor: pointer; position: relative;
}
.process-item:hover {
  box-shadow: 0 8px 20px rgba(15,23,42,.08); transform: translateY(-3px);
}
.process-icon {
  display: flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 12px; margin-bottom: 18px;
  background: linear-gradient(135deg, var(--primary), #38bdf8); color: #fff;
}
.process-body h4 { font-size: 17px; font-weight: 700; color: var(--text-heading); margin-bottom: 8px; }
.process-body p { font-size: 14px; color: var(--text-muted); line-height: 1.7; }

/* FAQ List */
.faq-list { max-width: 720px; }
.faq-item { margin-bottom: 24px; }
.faq-item h4 {
  font-size: 17px; font-weight: 700; color: var(--text-heading);
  margin-bottom: 8px; padding-left: 16px; border-left: 3px solid var(--primary);
}
.faq-item p { font-size: 15px; color: var(--text-muted); line-height: 1.8; padding-left: 19px; }

/* ========== Services Page ========== */

/* -- Service Overview Stats -- */
.service-overview {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-bottom: 16px;
}
.so-stat {
  background: #fff; border-radius: 16px; padding: 32px 24px;
  text-align: center; border: 1px solid var(--border);
  box-shadow: 0 1px 3px rgba(15,23,42,.04);
  transition: box-shadow .25s ease, transform .25s ease;
  cursor: default;
}
.so-stat:hover {
  box-shadow: 0 10px 25px -5px rgba(15,23,42,.1);
  transform: translateY(-3px);
}
.so-stat-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; border-radius: 50%;
  background: linear-gradient(135deg, #e0f2fe, #bae6fd);
  color: var(--primary); margin-bottom: 14px;
}
.so-stat-num {
  font-size: 36px; font-weight: 800; color: var(--text-heading); line-height: 1.1;
}
.so-stat-num span { font-size: 20px; color: var(--primary); }
.so-stat-label {
  font-size: 14px; color: var(--text-muted); margin-top: 4px; font-weight: 500;
}

/* -- Service Block -- */
.service-block { margin-bottom: 10px; }
.service-block-header {
  display: flex; align-items: flex-start; gap: 20px;
  margin-bottom: 36px; padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}
.sbh-icon {
  display: flex; align-items: center; justify-content: center;
  width: 60px; height: 60px; flex-shrink: 0;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--primary), #38bdf8);
  color: #fff;
}
.sbh-text h2 { font-size: 26px; color: var(--text-heading); margin-bottom: 6px; font-weight: 700; }
.sbh-text p { color: var(--text-muted); font-size: 15px; line-height: 1.7; max-width: 640px; }

/* -- Service Detail Card -- */
.service-detail-card { padding: 32px 28px 24px; text-align: left; }
.service-detail-card h4 { font-size: 18px; color: var(--text-heading); margin-bottom: 4px; font-weight: 700; }
.sdc-icon-wrap { margin-bottom: 18px; }
.sdc-icon {
  display: flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 12px;
  background: linear-gradient(135deg, #e0f2fe, #bae6fd);
  color: var(--primary);
}
.sdc-icon.accent-sky    { background: linear-gradient(135deg, #e0f2fe, #bae6fd); color: #0284c7; }
.sdc-icon.accent-emerald { background: linear-gradient(135deg, #d1fae5, #a7f3d0); color: #059669; }
.sdc-icon.accent-amber  { background: linear-gradient(135deg, #fef3c7, #fde68a); color: #d97706; }
.sdc-icon.accent-rose   { background: linear-gradient(135deg, #ffe4e6, #fecdd3); color: #e11d48; }

.sdc-subtitle {
  font-size: 13px; color: var(--primary); font-weight: 600;
  margin-bottom: 12px; letter-spacing: .1px;
}
.sdc-desc {
  font-size: 14px; color: var(--text-muted); line-height: 1.8;
  margin-bottom: 18px; min-height: auto;
}
.sdc-tags {
  display: flex; flex-wrap: wrap; gap: 6px;
  padding-top: 14px; border-top: 1px solid var(--border);
}
.sdc-tags span {
  font-size: 11px; font-weight: 500;
  color: var(--primary);
  background: #f0f9ff; border: 1px solid #bae6fd;
  padding: 3px 10px; border-radius: 5px;
}

/* ========== News List ========== */
.category-filter {
  display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 30px; justify-content: center;
}
.category-filter a {
  padding: 8px 20px; border-radius: 20px; border: 1px solid var(--border);
  color: var(--text-muted); font-size: 14px; transition: all .2s;
}
.category-filter a.active, .category-filter a:hover { background: var(--primary); color: #fff; border-color: var(--primary); }

.empty-state { text-align: center; padding: 60px 20px; color: var(--text-muted); }

/* ========== News Detail ========== */
.article-layout { display: grid; grid-template-columns: 1fr 300px; gap: 40px; align-items: start; }
.article-content { line-height: 1.9; font-size: 16px; }
.article-content h2, .article-content h3 { color: var(--text-heading); margin: 28px 0 12px; }
.article-content p { margin-bottom: 16px; }
.article-content ul, .article-content ol { margin: 0 0 16px 20px; }
.article-content li { margin-bottom: 6px; }
.article-content strong { color: var(--text-heading); }
.article-nav {
  display: flex; justify-content: space-between; margin-top: 40px;
  padding-top: 20px; border-top: 1px solid var(--border);
}
.badge-category {
  display: inline-block; background: var(--primary); color: #fff;
  padding: 3px 12px; border-radius: 12px; font-size: 12px; margin-right: 12px;
}

/* Sidebar card (shared by news-detail) */
.sidebar-card {
  background: var(--bg-alt); padding: 24px; border-radius: var(--radius);
  margin-bottom: 20px;
}
.sidebar-card h3 { font-size: 16px; margin-bottom: 12px; color: var(--text-heading); }
.sidebar-card ul li { padding: 6px 0; font-size: 14px; }
.sidebar-card p { font-size: 14px; margin-bottom: 6px; }
.article-sidebar .sidebar-card ul li { margin-bottom: 8px; }
.article-sidebar .sidebar-card ul li a { font-size: 14px; }

/* ========== Quality Page ========== */

/* Quality Stats */
.quality-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.q-stat {
  background: #fff; border-radius: 16px; padding: 36px 24px;
  text-align: center; border: 1px solid var(--border);
  box-shadow: 0 1px 3px rgba(15,23,42,.04);
  transition: box-shadow .25s ease, transform .25s ease;
  cursor: default;
}
.q-stat:hover {
  box-shadow: 0 10px 25px -5px rgba(15,23,42,.1);
  transform: translateY(-3px);
}
.q-stat-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 60px; height: 60px; border-radius: 50%;
  background: linear-gradient(135deg, #e0f2fe, #bae6fd);
  color: var(--primary); margin-bottom: 16px;
}
.q-stat-num {
  font-size: 40px; font-weight: 800; color: var(--text-heading); line-height: 1.1;
}
.q-stat-num span { font-size: 24px; color: var(--primary); }
.q-stat-label {
  font-size: 14px; color: var(--text-muted); margin-top: 6px; font-weight: 500;
}

/* QC Flow */
.qc-flow {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
}
.qc-step {
  background: #fff; border-radius: 16px; padding: 36px 28px 32px;
  border: 1px solid var(--border);
  box-shadow: 0 1px 3px rgba(15,23,42,.04);
  transition: box-shadow .25s ease, transform .25s ease;
  cursor: pointer; position: relative; overflow: hidden;
}
.qc-step::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--primary), #38bdf8);
  transform: scaleX(0); transform-origin: left;
  transition: transform .35s ease;
}
.qc-step:hover::before { transform: scaleX(1); }
.qc-step:hover {
  box-shadow: 0 10px 25px -5px rgba(15,23,42,.1);
  transform: translateY(-3px);
}
.qc-step-header {
  display: flex; align-items: center; gap: 14px; margin-bottom: 18px;
}
.qc-step-num {
  font-size: 12px; font-weight: 700; color: var(--primary);
  background: #e0f2fe; padding: 3px 10px; border-radius: 4px;
  letter-spacing: 1px; flex-shrink: 0;
}
.qc-step-icon {
  display: flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), #38bdf8);
  color: #fff; flex-shrink: 0;
}
.qc-step h3 {
  font-size: 20px; color: var(--text-heading); margin-bottom: 12px; font-weight: 700;
}
.qc-step p {
  color: var(--text-muted); font-size: 14px; line-height: 1.75; margin-bottom: 16px;
}
.qc-list {
  list-style: none; display: flex; flex-direction: column; gap: 8px;
}
.qc-list li {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: #475569;
}
.qc-list li svg { color: #22c55e; flex-shrink: 0; }

/* Translator System */
.translator-system { display: flex; flex-direction: column; gap: 24px; }
.ts-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.ts-card {
  background: #fff; border-radius: 16px; padding: 36px 32px;
  border: 1px solid var(--border);
  box-shadow: 0 1px 3px rgba(15,23,42,.04);
  transition: box-shadow .25s ease, transform .25s ease;
  cursor: pointer; position: relative; overflow: hidden;
}
.ts-card::before {
  content: ''; position: absolute; top: 0; left: 0; bottom: 0; width: 4px;
  background: linear-gradient(180deg, var(--primary), #38bdf8);
  transform: scaleY(0); transform-origin: top;
  transition: transform .35s ease;
}
.ts-card:hover::before { transform: scaleY(1); }
.ts-card:hover {
  box-shadow: 0 10px 25px -5px rgba(15,23,42,.1);
  transform: translateY(-3px);
}
.ts-card-icon {
  display: flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; border-radius: 14px; margin-bottom: 18px;
}
.ts-card-icon.accent-sky    { background: linear-gradient(135deg, #e0f2fe, #bae6fd); color: #0284c7; }
.ts-card-icon.accent-emerald { background: linear-gradient(135deg, #d1fae5, #a7f3d0); color: #059669; }
.ts-card-icon.accent-amber  { background: linear-gradient(135deg, #fef3c7, #fde68a); color: #d97706; }
.ts-card-icon.accent-rose   { background: linear-gradient(135deg, #ffe4e6, #fecdd3); color: #e11d48; }
.ts-card h3 { font-size: 20px; color: var(--text-heading); margin-bottom: 12px; font-weight: 700; }
.ts-card p {
  color: var(--text-muted); font-size: 14px; line-height: 1.8; margin-bottom: 18px;
}
.ts-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.ts-badges span {
  font-size: 12px; font-weight: 500; color: var(--primary);
  background: #e0f2fe; padding: 4px 12px; border-radius: 6px;
}

/* Standards Grid */
.standards-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.standard-card { text-align: center; padding: 40px 24px 32px; }
.standard-icon {
  display: flex; align-items: center; justify-content: center;
  width: 64px; height: 64px; border-radius: 50%;
  background: linear-gradient(135deg, #e0f2fe, #bae6fd);
  color: var(--primary); margin: 0 auto 18px;
}
.standard-card h3 { font-size: 18px; margin-bottom: 10px; }
.standard-card p { font-size: 13px; line-height: 1.7; }

/* CTA Quality / Promise */
.cta-quality {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, var(--primary) 100%);
  color: #fff; padding: 70px 0;
  position: relative; overflow: hidden;
}
.cta-quality::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 5 L55 30 L30 55 L5 30z' fill='none' stroke='rgba(255,255,255,.05)' stroke-width='1'/%3E%3C/svg%3E");
  opacity: .4;
}
.cta-quality-inner { position: relative; z-index: 1; max-width: 720px; margin: 0 auto; }
.cta-quality-text { text-align: center; }
.cta-quality-text h2 { font-size: 32px; margin-bottom: 32px; font-weight: 700; }

.promise-list { list-style: none; text-align: left; display: flex; flex-direction: column; gap: 20px; }
.promise-list li { display: flex; gap: 14px; align-items: flex-start; }
.promise-icon {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; flex-shrink: 0;
  background: rgba(255,255,255,.15); color: #7dd3fc;
  border-radius: 50%; margin-top: 2px;
}
.promise-text strong { display: block; font-size: 16px; margin-bottom: 2px; color: #fff; }
.promise-text span { display: block; font-size: 14px; color: rgba(255,255,255,.7); line-height: 1.6; }

/* ========== Responsive ========== */
@media (max-width: 1024px) {
  .card-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .quality-stats { grid-template-columns: repeat(2, 1fr); }
  .standards-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-cards { grid-template-columns: repeat(2, 1fr); }
  .contact-map-row { grid-template-columns: 1fr; }
  .service-overview { grid-template-columns: repeat(2, 1fr); }
  .service-hero-inner { flex-direction: column; gap: 32px; text-align: center; }
  .service-hero-desc, .detail-intro { max-width: 100%; }
  .shf-item { justify-content: center; }
  .service-hero-actions { justify-content: center; }
  .detail-grid.cols-3 { grid-template-columns: repeat(2, 1fr); }
  .process-timeline { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .header-top { display: none; }

  .nav-toggle { display: flex; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--border); box-shadow: var(--shadow-md); }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; padding: 10px 0; }
  .nav a { padding: 12px 20px; border-radius: 0; }

  .hero { min-height: 380px; }
  .hero-inner { flex-direction: column; gap: 32px; text-align: left; }
  .hero-left h1 { font-size: 32px; }
  .hero-left p { font-size: 15px; }
  .hero-right { display: none; }
  .hf-text strong { font-size: 18px; }
  .hf-text span { font-size: 14px; }

  .page-banner h1 { font-size: 26px; }

  .section { padding: 40px 0; }
  .section-header h2 { font-size: 24px; }
  .section-header { margin-bottom: 30px; }

  .card-grid.cols-4,
  .card-grid.cols-3,
  .card-grid.cols-2 { grid-template-columns: 1fr; }

  .steps { grid-template-columns: 1fr; }

  .contact-cards { grid-template-columns: 1fr; }
  .contact-map-row { grid-template-columns: 1fr; }

  .article-layout { grid-template-columns: 1fr; }
  .article-sidebar { order: -1; }

  .cta h2 { font-size: 22px; }

  .quality-stats { grid-template-columns: repeat(2, 1fr); }
  .qc-flow { grid-template-columns: 1fr; }
  .ts-row { grid-template-columns: 1fr; }
  .standards-grid { grid-template-columns: 1fr; }
  .service-overview { grid-template-columns: repeat(2, 1fr); }
  .service-block-header { flex-direction: column; gap: 14px; }
  .sbh-text h2 { font-size: 22px; }
  .service-hero-text h1 { font-size: 30px; }
  .service-hero-desc { font-size: 15px; }
  .shv-icon-box { width: 100px; height: 100px; border-radius: 20px; }
  .detail-grid.cols-3 { grid-template-columns: 1fr; }
  .process-timeline { grid-template-columns: 1fr; }
  .adv-stack-item { flex-direction: column; gap: 12px; }
  .adv-stack-num { text-align: left; }
  .faq-item h4 { font-size: 16px; }
}
}

@media (max-width: 480px) {
  .hero-left h1 { font-size: 26px; }
  .hero-btns { flex-direction: column; }
  .hf-text strong { font-size: 16px; }
  .hf-text span { font-size: 13px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ========== Mobile Floating Bar ========== */
.mobile-bar {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 999;
  background: #0ea5e9; box-shadow: 0 -2px 12px rgba(0,0,0,.15);
  padding: 14px 12px calc(14px + env(safe-area-inset-bottom, 0px));
  text-align: center; color: #fff; text-decoration: none;
  font-size: 16px; font-weight: 700; letter-spacing: 1px;
  transition: background .15s;
}
.mobile-bar:active { background: #0284c7; }

@media (max-width: 768px) {
  .mobile-bar { display: block; }
  .footer { padding-bottom: 60px; }
}
