:root {
  --bg: #f5fbff;
  --surface: #ffffff;
  --surface-soft: #eef8fb;
  --text: #153448;
  --muted: #5f7380;
  --line: #d7e6ee;
  --primary: #0f7dc2;
  --primary-dark: #0b5d90;
  --secondary: #12a36f;
  --accent: #f2f8fb;
  --shadow: 0 20px 50px rgba(17, 63, 88, 0.08);
  --radius: 22px;
  --max: 1180px;
  --font: "Inter", "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background:
    radial-gradient(circle at top right, rgba(18, 163, 111, 0.12), transparent 30%),
    linear-gradient(180deg, #f8fdff 0%, #eff8fb 100%);
  line-height: 1.65;
}
a { color: var(--primary); text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(calc(100% - 32px), var(--max)); margin: 0 auto; }
.narrow { width: min(calc(100% - 32px), 860px); margin: 0 auto; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: rgba(250, 254, 255, 0.88);
  border-bottom: 1px solid rgba(215, 230, 238, 0.85);
}
.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.brand { display: flex; align-items: center; gap: 14px; color: var(--text); }
.brand-mark {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: white;
  font-weight: 800;
  letter-spacing: 0.08em;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
}
.brand-copy { display: grid; }
.brand-copy strong { font-size: 18px; letter-spacing: 0.02em; }
.brand-copy small { color: var(--muted); }
.header-mobile-call { display: none; }
.main-nav { display: flex; gap: 18px; align-items: center; }
.nav-link { color: var(--text); font-weight: 600; }
.header-actions { display: flex; gap: 12px; align-items: center; }
.lang-switcher { display: flex; gap: 8px; }
.lang-btn, .menu-toggle {
  border: 1px solid var(--line);
  background: white;
  color: var(--text);
  border-radius: 999px;
  padding: 10px 14px;
  font: inherit;
  cursor: pointer;
}
.menu-toggle,
.lang-btn,
.header-mobile-call {
  min-height: 44px;
}
.lang-btn.active { background: var(--text); color: white; border-color: var(--text); }
.menu-toggle { display: none; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  cursor: pointer;
}
.btn-primary { background: linear-gradient(135deg, var(--primary), var(--secondary)); color: white; box-shadow: var(--shadow); }
.btn-secondary { background: white; color: var(--text); border-color: var(--line); }
.btn-ghost { background: white; color: var(--text); border-color: var(--line); }
.btn-light { background: white; color: #07345a; }
.btn-outline-light { background: transparent; border-color: rgba(255,255,255,0.8); color: white; }
.section { padding: 72px 0; }
.section-soft { background: rgba(255,255,255,0.7); }
.hero { padding: 70px 0 46px; }
.hero-grid, .split, .post-layout { display: grid; gap: 28px; grid-template-columns: 1.3fr 0.9fr; }
.hero-grid { align-items: start; }
.hero-copy h1, .page-hero h1 { font-size: clamp(34px, 6vw, 56px); line-height: 1.08; margin: 18px 0 14px; }
.lead { font-size: clamp(17px, 2vw, 20px); color: var(--muted); margin: 0 0 22px; }
.hero-badge, .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(15, 125, 194, 0.12);
  color: var(--primary-dark);
  font-size: 14px;
  font-weight: 700;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-points, .tag-row, .check-list, .link-list, .link-stack { list-style: none; padding: 0; margin: 0; }
.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}
.hero-points li, .tag-row span {
  background: rgba(255,255,255,0.92);
  border: 1px solid var(--line);
  padding: 10px 12px;
  border-radius: 999px;
  color: var(--muted);
}
.card {
  background: rgba(255,255,255,0.96);
  border: 1px solid rgba(215, 230, 238, 0.85);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  padding: 24px;
}
.hero-panel,
.quote-card { overflow: hidden; }
.quote-card { align-self: start; }
.grid { display: grid; gap: 22px; }
.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.section-head { margin-bottom: 28px; }
.section-head h2 { margin: 14px 0 10px; font-size: clamp(28px, 4vw, 40px); }
.section-head p { margin: 0; color: var(--muted); }
.service-card h3, .area-card h3, .icon-card h3 { margin: 14px 0 10px; font-size: 22px; }
.service-card,
.area-card,
.icon-card,
.step,
.testimonial,
.blog-card { height: 100%; }
.service-card p,
.area-card p,
.icon-card p,
.step p,
.testimonial p { margin-bottom: 0; }
.place-intro {
  margin: 16px 0 12px !important;
  color: var(--muted);
  font-size: 14px;
}
.place-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}
.place-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(242, 248, 251, 0.9);
  color: var(--text);
  font-weight: 600;
}
.place-chip:hover {
  border-color: rgba(15, 125, 194, 0.35);
  background: white;
}
.tag-row { display: flex; flex-wrap: wrap; gap: 10px; }
.text-link { font-weight: 700; display: inline-flex; margin-top: 14px; min-height: 44px; align-items: center; }
.center { display: flex; justify-content: center; margin-top: 24px; }
.check-list li, .link-list li, .link-stack a {
  position: relative;
  padding-left: 18px;
  margin: 0 0 12px;
}
.check-list li::before, .link-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
}
.muted-list li::before { background: #7fa0b3; }
.number-list { margin: 0; padding-left: 20px; color: var(--muted); }
.quote-form { display: grid; gap: 18px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.quote-form label { display: grid; gap: 8px; font-weight: 700; color: var(--text); }
.quote-form label span { font-size: 14px; }
.quote-form input, .quote-form textarea, .quote-form select {
  width: 100%;
  border-radius: 14px;
  border: 1px solid var(--line);
  min-height: 52px;
  padding: 14px 14px;
  font: inherit;
  font-size: 16px;
  background: white;
}
.quote-form textarea { min-height: 132px; resize: vertical; }
.quote-form input:focus, .quote-form textarea:focus, .quote-form select:focus {
  outline: none;
  border-color: rgba(15, 125, 194, 0.75);
  box-shadow: 0 0 0 4px rgba(15, 125, 194, 0.12);
}
.quote-form .full { grid-column: 1 / -1; }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.form-actions > * { flex: 1 1 220px; }
.testimonial strong, .testimonial span { display: block; }
.testimonial span { color: var(--muted); margin-top: 4px; }
.quote { font-size: 16px; margin-bottom: 18px; }
.page-hero { padding: 44px 0 12px; }
.breadcrumb { padding-top: 20px; display: flex; gap: 10px; flex-wrap: wrap; color: var(--muted); font-size: 14px; }
.cta-banner, .footer-cta-inner {
  background: linear-gradient(135deg, #0e7fc4, #16a46f);
  color: white;
  border-radius: 28px;
  padding: 34px;
}
.cta-banner p { color: rgba(255,255,255,0.88); }
.footer-cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.faq-item { border-top: 1px solid var(--line); padding: 14px 0; }
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-item summary { cursor: pointer; font-weight: 700; }
.faq-item p { color: var(--muted); margin: 12px 0 0; }
.post-layout { align-items: start; }
.post-content h2 { margin-top: 32px; font-size: 30px; }
.post-content h3 { margin-top: 20px; font-size: 22px; }
.post-content p { color: var(--muted); }
.post-sidebar { position: sticky; top: 98px; }
.pagination { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 28px; }
.page-link {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: white;
  color: var(--text);
}
.page-link.current { background: var(--text); color: white; border-color: var(--text); }
.footer-cta { padding: 0 0 24px; }
.footer-main {
  background: #10293a;
  color: #e8f4fb;
  padding: 42px 0 18px;
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; }
.footer-main h3, .footer-main h4 { margin: 0 0 12px; }
.footer-main p, .footer-main a { color: rgba(232, 244, 251, 0.82); }
.footer-phone { color: white !important; font-size: 28px; font-weight: 800; }
.footer-bottom {
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
}
.mobile-sticky {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: calc(12px + env(safe-area-inset-bottom));
  display: none;
  gap: 10px;
  z-index: 40;
}
.mobile-sticky a {
  flex: 1;
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 800;
  box-shadow: var(--shadow);
}
.mobile-call { background: white; color: var(--text); }
.mobile-quote { background: linear-gradient(135deg, var(--primary), var(--secondary)); color: white; }
[data-lang="en"] { display: none; }
body[data-user-lang="en"] [data-lang="en"] { display: block; }
body[data-user-lang="en"] [data-lang="zh"] { display: none; }
body[data-user-lang="zh"] [data-lang="zh"] { display: block; }
body[data-user-lang="zh"] [data-lang="en"] { display: none; }
@media (max-width: 1080px) {
  .cols-4, .cols-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-grid, .split, .post-layout, .footer-grid { grid-template-columns: 1fr; }
  .post-sidebar { position: static; }
}
@media (max-width: 820px) {
  body[data-nav-open="true"] { overflow: hidden; }
  .container, .narrow { width: min(calc(100% - 24px), var(--max)); }
  .menu-toggle { display: inline-flex; }
  .header-mobile-call {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 14px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: white;
    color: var(--text);
    font-weight: 700;
    white-space: nowrap;
  }
  .site-header { backdrop-filter: blur(12px); }
  .header-inner {
    min-height: 74px;
    gap: 10px;
    align-items: center;
  }
  .brand { min-width: 0; flex: 1 1 auto; }
  .brand-copy strong { font-size: 16px; }
  .brand-copy small { font-size: 12px; }
  .brand-mark {
    width: 42px;
    height: 42px;
    border-radius: 12px;
  }
  .header-actions {
    gap: 8px;
    flex: 0 0 auto;
  }
  .lang-switcher { gap: 6px; }
  .lang-btn, .menu-toggle { padding: 10px 12px; }
  .main-nav {
    position: fixed;
    left: 12px;
    right: 12px;
    top: 84px;
    max-height: calc(100vh - 110px);
    overflow: auto;
    padding: 16px;
    border-radius: 20px;
    background: white;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }
  .main-nav.open { display: flex; }
  .nav-link {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 10px 12px;
    border-radius: 14px;
    background: rgba(238, 248, 251, 0.5);
  }
  .desktop-call { display: none; }
  .cols-2, .cols-3, .cols-4, .form-grid { grid-template-columns: 1fr; }
  .section { padding: 42px 0; }
  .page-hero { padding: 28px 0 8px; }
  .hero { padding: 28px 0 20px; }
  .hero-grid, .split, .post-layout { gap: 18px; }
  .hero-copy h1, .page-hero h1 {
    font-size: clamp(28px, 9vw, 40px);
    margin: 14px 0 12px;
  }
  .lead {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 18px;
  }
  .hero-badge, .eyebrow {
    padding: 7px 12px;
    font-size: 12px;
  }
  .hero-actions,
  .form-actions,
  .footer-cta-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-actions .btn,
  .form-actions .btn,
  .footer-cta-actions .btn,
  .footer-cta-actions a {
    width: 100%;
  }
  .hero-points {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 16px;
  }
  .hero-points li, .tag-row span {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 10px 12px;
    font-size: 13px;
  }
  .card {
    padding: 18px;
    border-radius: 18px;
  }
  .section-head { margin-bottom: 20px; }
  .section-head h2 {
    font-size: 28px;
    margin: 10px 0 8px;
  }
  .service-card h3, .area-card h3, .icon-card h3, .post-content h3 {
    font-size: 20px;
  }
  .post-content h2 { font-size: 26px; }
  .text-link { margin-top: 12px; }
  .pagination {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
  }
  .page-link { flex: 0 0 42px; }
  .cta-banner, .footer-cta-inner {
    padding: 22px 18px;
    border-radius: 22px;
  }
  .footer-main { padding: 34px 0 14px; }
  .footer-grid { gap: 18px; }
  .footer-phone { font-size: 24px; }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .mobile-sticky { display: flex; }
  .mobile-sticky a { min-height: 56px; }
  body { padding-bottom: calc(92px + env(safe-area-inset-bottom)); }
}
@media (max-width: 560px) {
  .header-mobile-call { padding: 0 12px; font-size: 13px; }
  .menu-toggle { padding: 10px; }
  .lang-btn { padding: 10px; min-width: 48px; }
  .hero-points { grid-template-columns: 1fr; }
  .brand-copy small { display: none; }
  .form-grid { gap: 12px; }
  .quote-form { gap: 14px; }
  .breadcrumb { padding-top: 14px; gap: 8px; font-size: 13px; }
  .footer-bottom a { word-break: break-word; }
}
