:root {
  --ink: #102033;
  --muted: #5d6b7c;
  --navy: #0b2545;
  --navy-2: #123c68;
  --orange: #f97316;
  --orange-dark: #c84d0a;
  --gold: #f6b73c;
  --sky: #e9f5ff;
  --line: #d8e2ef;
  --bg: #f7fafc;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(14, 38, 70, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

body.lang-zh .en,
body.lang-en .zh {
  display: none !important;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1140px, calc(100% - 32px));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 100;
  background: var(--orange);
  color: var(--white);
  padding: 10px 14px;
  border-radius: 6px;
  font-weight: 700;
}

.skip-link:focus {
  top: 12px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid rgba(216, 226, 239, 0.9);
  backdrop-filter: blur(14px);
}

.nav-wrap {
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 212px;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
  color: var(--gold);
  border: 2px solid rgba(249, 115, 22, 0.55);
  border-radius: 8px;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 17px;
  line-height: 1.2;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex: 1;
}

.site-nav a {
  color: #31445a;
  font-size: 14px;
  font-weight: 700;
}

.site-nav a:hover {
  color: var(--orange-dark);
}

.site-nav a[aria-current="page"] {
  color: var(--orange-dark);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.language-switch {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  background: #eef4fb;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.lang-btn {
  border: 0;
  background: transparent;
  color: #486078;
  border-radius: 6px;
  padding: 7px 10px;
  cursor: pointer;
  font-weight: 800;
}

.lang-btn.is-active {
  background: var(--navy);
  color: var(--white);
}

.phone-pill {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border-radius: 8px;
  background: var(--orange);
  color: var(--white);
  font-weight: 900;
  box-shadow: 0 10px 22px rgba(249, 115, 22, 0.24);
}

.phone-short {
  display: none;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex-direction: column;
}

.menu-toggle span {
  width: 19px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
}

.hero {
  background:
    linear-gradient(120deg, rgba(11, 37, 69, 0.94), rgba(18, 60, 104, 0.9)),
    radial-gradient(circle at 80% 10%, rgba(246, 183, 60, 0.22), transparent 35%);
  color: var(--white);
  padding: 74px 0 42px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(330px, 0.96fr);
  gap: 42px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--orange);
  font-weight: 900;
  letter-spacing: 0;
}

.hero h1,
.section h2,
.final-cta h2 {
  margin: 0;
  line-height: 1.12;
  letter-spacing: 0;
}

.hero h1 {
  font-size: 60px;
  max-width: 760px;
  overflow-wrap: anywhere;
}

.hero-lead {
  margin: 22px 0 0;
  max-width: 720px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
}

.hero-actions,
.contact-card,
.mobile-cta {
  display: flex;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 8px;
  font-weight: 900;
  border: 1px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 14px 28px rgba(249, 115, 22, 0.28);
}

.btn-primary:hover {
  background: var(--orange-dark);
}

.btn-secondary {
  background: var(--white);
  color: var(--navy);
  box-shadow: 0 14px 28px rgba(7, 22, 40, 0.18);
}

.btn-ghost {
  border-color: rgba(255, 255, 255, 0.45);
  color: var(--white);
}

.btn-outline-light {
  border-color: rgba(255, 255, 255, 0.42);
  color: var(--white);
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 28px;
  max-width: 640px;
}

.trust-row span {
  min-height: 76px;
  display: grid;
  align-content: center;
  gap: 2px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
}

.trust-row strong {
  font-size: 22px;
  color: var(--gold);
  line-height: 1.1;
}

.hero-media {
  margin: 0;
  border-radius: 8px;
  overflow: hidden;
  background: #07182c;
  box-shadow: var(--shadow);
}

.hero-media img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.hero-media figcaption {
  color: rgba(255, 255, 255, 0.8);
  font-size: 13px;
  padding: 10px 14px 12px;
  background: rgba(7, 24, 44, 0.9);
}

.quick-strip {
  transform: translateY(-18px);
  margin-bottom: -18px;
}

.strip-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.strip-grid a {
  display: grid;
  gap: 4px;
  min-height: 118px;
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(16, 32, 51, 0.08);
}

.strip-grid strong {
  color: var(--navy);
  font-size: 18px;
}

.strip-grid span {
  color: var(--muted);
  font-size: 14px;
}

.section {
  padding: 82px 0;
}

.section-tinted {
  background: #edf6ff;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 30px;
}

.section-heading.compact {
  margin: 0;
}

.section-heading h2,
.final-cta h2 {
  font-size: 42px;
}

.section-heading p:not(.eyebrow) {
  color: var(--muted);
  font-size: 17px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.service-card {
  display: grid;
  gap: 10px;
  min-height: 292px;
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 26px rgba(16, 32, 51, 0.07);
}

.service-card h3 {
  margin: 0;
  font-size: 21px;
  line-height: 1.22;
}

.service-card p {
  margin: 0;
  color: var(--muted);
}

.service-title-alt {
  color: var(--orange-dark) !important;
  font-weight: 900;
  font-size: 14px;
}

.service-icon {
  width: 54px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border-radius: 8px;
  background: #fff3e8;
  color: var(--orange-dark);
  border: 1px solid #fed7aa;
  font-size: 12px;
  font-weight: 900;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(340px, 1.15fr);
  gap: 34px;
  align-items: start;
}

.advantage-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.advantage-grid div,
.scenario-grid span,
.process-grid article {
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: 0 10px 24px rgba(16, 32, 51, 0.06);
}

.advantage-grid div {
  min-height: 86px;
  display: flex;
  align-items: center;
  padding: 18px;
}

.area-tags,
.scenario-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.area-tags a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 9px 14px;
  border: 1px solid #b8d5ef;
  background: #f2f9ff;
  color: #124269;
  border-radius: 8px;
  font-weight: 900;
}

.scenario-grid span {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 10px 14px;
  color: #24394f;
  font-weight: 800;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.process-grid article {
  min-height: 190px;
  padding: 22px;
}

.process-grid article > span {
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  background: var(--navy);
  color: var(--gold);
  border-radius: 50%;
  font-weight: 900;
  margin-bottom: 18px;
}

.process-grid h3 {
  margin: 0;
  line-height: 1.35;
  font-size: 20px;
}

.faq-section {
  background: var(--white);
}

.faq-list {
  display: grid;
  gap: 10px;
}

.home-blog-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.home-blog-grid a,
.blog-card,
.side-card {
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(16, 32, 51, 0.06);
}

.home-blog-grid a {
  min-height: 178px;
  display: grid;
  gap: 8px;
  align-content: start;
  padding: 18px;
}

.home-blog-grid strong {
  color: var(--navy);
  font-size: 17px;
  line-height: 1.28;
}

.home-blog-grid span {
  color: var(--muted);
  font-size: 14px;
}

.blog-all-link {
  margin-top: 20px;
}

.blog-page {
  background: #f7fafc;
}

.blog-hero {
  padding: 72px 0 48px;
  background:
    linear-gradient(135deg, rgba(11, 37, 69, 0.96), rgba(18, 60, 104, 0.93)),
    linear-gradient(45deg, rgba(249, 115, 22, 0.16), transparent);
  color: var(--white);
}

.blog-hero h1,
.article-main h1 {
  margin: 0;
  line-height: 1.12;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.blog-hero h1 {
  max-width: 900px;
  font-size: 48px;
}

.blog-hero p:not(.eyebrow) {
  max-width: 850px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 18px;
}

.blog-filter-row,
.keyword-row,
.resource-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.blog-filter-row {
  margin-top: 24px;
}

.blog-filter-row a,
.keyword-row span,
.resource-links a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 10px;
  border-radius: 8px;
  font-weight: 800;
  font-size: 13px;
}

.blog-filter-row a {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.24);
}

.blog-contact-strip {
  padding: 24px 0;
  background: #fff7ed;
  border-bottom: 1px solid #fed7aa;
}

.blog-contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.85fr);
  gap: 20px;
  align-items: center;
}

.blog-contact-grid h2 {
  margin: 0;
  color: var(--navy);
  font-size: 28px;
  line-height: 1.2;
}

.blog-contact-grid p:not(.eyebrow) {
  margin: 8px 0 0;
  color: #5f4a37;
}

.blog-contact-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.btn-ghost-dark {
  border-color: #b8d5ef;
  color: var(--navy);
  background: var(--white);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.blog-card {
  min-height: 310px;
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 20px;
}

.blog-card h2 {
  margin: 0;
  font-size: 21px;
  line-height: 1.28;
}

.blog-card p {
  margin: 0;
  color: var(--muted);
}

.blog-number {
  color: var(--orange-dark);
  font-weight: 900;
  font-size: 13px;
}

.keyword-row span {
  background: #fff3e8;
  color: var(--orange-dark);
  border: 1px solid #fed7aa;
}

.read-more {
  align-self: end;
  color: var(--navy);
  font-weight: 900;
  margin-top: 8px;
}

.pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 30px;
}

.pagination a,
.pagination span {
  min-width: 42px;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--navy);
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(16, 32, 51, 0.05);
}

.pagination .is-current {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.article-layout {
  padding: 54px 0 72px;
}

.article-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 28px;
  align-items: start;
}

.article-main {
  min-width: 0;
  padding: 30px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: 0 10px 26px rgba(16, 32, 51, 0.07);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 18px;
}

.breadcrumb a {
  color: var(--navy);
  font-weight: 800;
}

.article-main h1 {
  font-size: 42px;
}

.article-description {
  color: var(--muted);
  font-size: 18px;
}

.article-main section {
  margin-top: 30px;
}

.article-main h2 {
  margin: 0 0 12px;
  color: var(--navy);
  font-size: 26px;
  line-height: 1.22;
}

.article-main p {
  color: #42566c;
}

.article-list {
  display: grid;
  gap: 10px;
  padding-left: 22px;
  color: #42566c;
}

.article-cta-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.resource-links a {
  background: #edf6ff;
  color: #124269;
  border: 1px solid #b8d5ef;
}

.article-sidebar {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 14px;
}

.side-card {
  display: grid;
  gap: 10px;
  padding: 18px;
}

.side-card strong {
  color: var(--navy);
  font-size: 18px;
}

.side-card p {
  margin: 0;
  color: var(--muted);
}

.side-card > a:not(.btn) {
  color: #124269;
  font-weight: 800;
}

details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdff;
  overflow: hidden;
}

summary {
  min-height: 58px;
  display: flex;
  align-items: center;
  padding: 16px 18px;
  cursor: pointer;
  color: var(--navy);
  font-weight: 900;
}

details p {
  margin: 0;
  padding: 0 18px 18px;
  color: var(--muted);
}

.final-cta {
  padding: 72px 0;
  background:
    linear-gradient(135deg, rgba(11, 37, 69, 0.98), rgba(18, 60, 104, 0.95)),
    linear-gradient(45deg, rgba(249, 115, 22, 0.18), transparent);
  color: var(--white);
}

.final-cta-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(310px, 380px);
  gap: 28px;
  align-items: center;
}

.cta-lead {
  font-size: 19px;
  color: rgba(255, 255, 255, 0.9);
}

.cta-support {
  color: rgba(255, 255, 255, 0.76);
}

.contact-card {
  flex-direction: column;
  gap: 12px;
  padding: 22px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.contact-card strong {
  color: var(--gold);
  font-size: 30px;
}

.contact-card > span {
  color: rgba(255, 255, 255, 0.82);
}

.site-footer {
  padding: 32px 0 86px;
  background: #07182c;
  color: rgba(255, 255, 255, 0.76);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: start;
}

.site-footer strong {
  color: var(--white);
}

.site-footer p {
  margin: 8px 0 0;
  max-width: 740px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.footer-links a {
  color: var(--white);
  font-weight: 800;
}

.footer-partner-links {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 0;
  align-items: center;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  line-height: 1.6;
}

.mobile-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  align-items: stretch;
  gap: 8px;
  padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
  border-radius: 10px 10px 0 0;
  background: rgba(7, 24, 44, 0.96);
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
}

.mobile-cta a {
  flex: 1;
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  color: var(--white);
  background: var(--orange);
  font-weight: 900;
  font-size: 13px;
  line-height: 1.15;
  text-align: center;
  padding: 6px 8px;
  word-break: keep-all;
}

.mobile-cta a:nth-child(2) {
  background: var(--white);
  color: var(--navy);
}

.mobile-cta a:nth-child(3) {
  background: #1d5f95;
}

@media (min-width: 901px) {
  .mobile-cta {
    display: none;
  }
}

@media (max-width: 1050px) {
  .nav-wrap {
    flex-wrap: wrap;
    padding: 12px 0;
  }

  .menu-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .site-nav {
    display: none;
    flex: 0 0 100%;
    order: 4;
    justify-content: flex-start;
    flex-wrap: wrap;
    padding: 10px 0 0;
  }

  .site-nav.is-open {
    display: flex;
  }

  .nav-actions {
    order: 3;
  }

  .hero h1 {
    font-size: 52px;
  }
}

@media (max-width: 900px) {
  body {
    padding-bottom: calc(76px + env(safe-area-inset-bottom));
  }

  .hero {
    padding: 46px 0 34px;
  }

  .hero-grid,
  .split-section,
  .final-cta-grid {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 44px;
  }

  .hero-lead {
    font-size: 17px;
  }

  .service-grid,
  .advantage-grid,
  .process-grid,
  .strip-grid,
  .home-blog-grid,
  .blog-grid,
  .blog-contact-grid,
  .article-grid {
    grid-template-columns: 1fr;
  }

  .blog-hero h1,
  .article-main h1 {
    font-size: 34px;
  }

  .article-sidebar {
    position: static;
  }

  .quick-strip {
    transform: none;
    margin: 0;
    padding-top: 14px;
    background: #edf6ff;
  }

  .section {
    padding: 58px 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .site-footer {
    padding-bottom: 38px;
  }

  .section-heading h2,
  .final-cta h2 {
    font-size: 34px;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 24px, 1140px);
    min-width: 0;
  }

  .nav-wrap {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 42px;
    gap: 12px;
  }

  .brand {
    min-width: 0;
  }

  .brand small {
    display: none;
  }

  .nav-actions {
    grid-column: 1 / -1;
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(116px, auto);
    gap: 8px;
    justify-content: stretch;
  }

  .menu-toggle {
    margin-left: 0;
    justify-self: end;
  }

  .site-nav {
    grid-column: 1 / -1;
  }

  .language-switch {
    width: 100%;
    min-width: 0;
  }

  .lang-btn {
    flex: 1;
    min-width: 0;
    padding: 7px 6px;
  }

  .phone-pill {
    min-width: 72px;
    padding: 0 10px;
    font-size: 14px;
    white-space: nowrap;
  }

  .phone-full {
    display: none;
  }

  .phone-short {
    display: inline;
  }

  .hero h1 {
    font-size: 36px;
    word-break: break-all;
    line-break: anywhere;
  }

  .hero-copy,
  .hero-media,
  .service-card,
  .contact-card {
    min-width: 0;
  }

  .section-heading h2,
  .final-cta h2 {
    font-size: 30px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .trust-row {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 0;
    padding: 18px;
  }

  .article-main {
    padding: 20px;
  }

  .area-tags a,
  .scenario-grid span {
    width: 100%;
  }
}

@media (max-width: 360px) {
  .phone-pill {
    font-size: 13px;
    padding: 0 8px;
  }

  .hero h1 {
    font-size: 32px;
  }

  .mobile-cta a {
    font-size: 12px;
    padding-left: 5px;
    padding-right: 5px;
  }
}
