:root {
  color-scheme: light;
  --ink: #142026;
  --muted: #5b6a72;
  --line: #d8e3e8;
  --paper: #ffffff;
  --soft: #edf6f7;
  --brand: #0f9c9c;
  --brand-dark: #067173;
  --accent: #ef8f24;
  --shadow: 0 16px 40px rgba(16, 42, 54, 0.12);
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 12px clamp(20px, 5vw, 72px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: 220px; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  color: white;
  background: linear-gradient(135deg, var(--brand), #42b983);
  font-weight: 800;
}
.brand strong, .brand small { display: block; }
.brand small { color: var(--muted); font-size: 12px; }
.site-nav { display: flex; align-items: center; gap: 22px; color: var(--muted); font-size: 15px; }
.site-nav a:hover { color: var(--brand-dark); }
.header-phone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid rgba(15, 156, 156, 0.28);
  border-radius: 8px;
  color: var(--brand-dark);
  font-weight: 800;
  white-space: nowrap;
  background: #f4fbfb;
}
.nav-toggle { display: none; }

.section { padding: 86px clamp(20px, 6vw, 88px); }
.tinted { background: var(--soft); }
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  min-height: 680px;
}
.hero h1, .section h2 {
  margin: 0;
  line-height: 1.12;
  letter-spacing: 0;
}
.hero h1 { font-size: clamp(40px, 6vw, 76px); max-width: 850px; }
.section h2 { font-size: clamp(30px, 4vw, 48px); max-width: 820px; }
.hero-lede { max-width: 720px; color: var(--muted); font-size: 20px; }
.eyebrow {
  margin: 0 0 14px;
  color: var(--brand-dark);
  font-weight: 700;
  letter-spacing: 0;
}
.hero-actions, .floating-actions, .mobile-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 8px;
  border: 1px solid var(--line);
  font-weight: 700;
}
.button.primary { color: white; background: var(--brand-dark); border-color: var(--brand-dark); }
.button.secondary { color: var(--brand-dark); background: white; }
.inline-link {
  display: inline-flex;
  margin-top: 8px;
  color: var(--brand-dark);
  font-weight: 800;
}
.hero-media, .section-media, .case-card {
  overflow: hidden;
  margin: 0;
  border-radius: 8px;
  box-shadow: var(--shadow);
  background: #dfeaec;
}
.hero-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

.grid { display: grid; gap: 18px; margin-top: 30px; }
.cards { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cards article {
  min-height: 190px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}
.cards.compact article { min-height: 150px; }
.cards h3, .case-card h3 { margin-top: 0; }
.cards p, .case-card p, .contact-section p, .feature-list { color: var(--muted); }
.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
}
.feature-list { padding-left: 20px; font-size: 18px; }
.section-media img { aspect-ratio: 16 / 10; width: 100%; object-fit: cover; }
.case-card {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  margin-top: 30px;
  padding: 18px;
}
.case-card img { border-radius: 6px; aspect-ratio: 4 / 3; object-fit: cover; }
.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(340px, 0.72fr);
  gap: clamp(28px, 5vw, 64px);
}
.contact-note { padding: 14px 16px; border-left: 4px solid var(--brand); background: var(--soft); }
.lead-form {
  display: grid;
  gap: 14px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}
.lead-form label { display: grid; gap: 7px; color: var(--muted); font-weight: 700; }
.lead-form input, .lead-form select, .lead-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
  font: inherit;
  color: var(--ink);
}
#lead-output { color: var(--brand-dark); font-weight: 700; white-space: pre-wrap; }
.floating-actions {
  position: fixed;
  right: 18px;
  bottom: 96px;
  z-index: 25;
  flex-direction: column;
}
.floating-actions a {
  padding: 12px 16px;
  border-radius: 8px;
  color: white;
  background: var(--brand-dark);
  box-shadow: var(--shadow);
}
.mobile-actions { display: none; }
.site-footer {
  padding: 30px clamp(20px, 6vw, 88px);
  color: var(--muted);
  background: #101b20;
}
.workflow-steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin-top: 30px;
}
.workflow-steps article {
  min-height: 210px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}
.workflow-steps span {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  color: white;
  background: var(--brand-dark);
  font-weight: 800;
}
.workflow-steps p { color: var(--muted); }
.trust-section .cards article { min-height: 170px; }
.resource-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 30px;
}
.resource-grid article {
  min-height: 230px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: 0 10px 28px rgba(16, 42, 54, 0.08);
}
.resource-grid span {
  color: var(--brand-dark);
  font-weight: 800;
}
.resource-grid h3 { margin-bottom: 8px; }
.resource-grid p { color: var(--muted); }
.resource-grid a {
  display: inline-flex;
  margin-top: 6px;
  color: var(--brand-dark);
  font-weight: 800;
}
.contact-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 24px 0;
}
.contact-card {
  display: grid;
  gap: 4px;
  min-height: 112px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}
.contact-card strong { color: var(--brand-dark); }
.contact-card span { color: var(--muted); font-size: 14px; }
.footer-grid {
  display: grid;
  gap: 8px;
}
.site-footer a {
  color: #d9f3f3;
  font-weight: 700;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
:focus-visible {
  outline: 3px solid rgba(15, 156, 156, 0.35);
  outline-offset: 3px;
}
.button:focus-visible,
.site-nav a:focus-visible,
.header-phone:focus-visible,
.inline-link:focus-visible,
.resource-grid a:focus-visible,
.contact-card:focus-visible,
.site-footer a:focus-visible,
.mobile-actions a:focus-visible,
.floating-actions a:focus-visible {
  outline-color: rgba(239, 143, 36, 0.55);
}

@media (max-width: 960px) {
  .site-header { align-items: flex-start; flex-wrap: wrap; }
  .header-phone { order: 3; width: 100%; }
  .nav-toggle {
    display: inline-flex;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: white;
    padding: 10px 14px;
  }
  .site-nav {
    position: absolute;
    left: 20px;
    right: 20px;
    top: 72px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: white;
    box-shadow: var(--shadow);
  }
  .site-nav.is-open { display: flex; }
  .hero, .split, .contact-section, .case-card { grid-template-columns: 1fr; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero { min-height: auto; padding-top: 64px; }
  .workflow-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .resource-grid, .contact-options { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .section { padding: 58px 18px; }
  .site-header { padding: 10px 16px; }
  .brand { min-width: 0; }
  .brand small { display: none; }
  .header-phone { font-size: 15px; }
  .hero h1 { font-size: 38px; }
  .hero-lede { font-size: 17px; }
  .cards { grid-template-columns: 1fr; }
  .workflow-steps { grid-template-columns: 1fr; }
  .floating-actions { display: none; }
  .mobile-actions {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 30;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    background: white;
    border-top: 1px solid var(--line);
  }
  .mobile-actions a {
    min-height: 54px;
    display: grid;
    place-items: center;
    color: var(--brand-dark);
    font-weight: 700;
  }
  body { padding-bottom: 54px; }
}
