:root {
  --site-bg: #f4f7f4;
  --site-surface: #ffffff;
  --site-surface-soft: #eef4ef;
  --site-ink: #173244;
  --site-muted: #637b8a;
  --site-line: rgba(23, 50, 68, 0.08);
  --site-primary: #2f7a4f;
  --site-primary-deep: #1d5f3b;
  --site-accent: #d6efe1;
  --site-shadow: 0 18px 42px rgba(19, 48, 71, 0.08);
  --site-shadow-strong: 0 24px 58px rgba(19, 48, 71, 0.12);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--site-ink);
  background:
    radial-gradient(circle at top right, rgba(76, 169, 109, 0.08), transparent 22%),
    radial-gradient(circle at left 30%, rgba(47, 122, 79, 0.05), transparent 24%),
    var(--site-bg);
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

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

a,
button,
input {
  transition: all 180ms ease;
}

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

button {
  font: inherit;
  cursor: pointer;
}

input {
  font: inherit;
}

button:focus,
input:focus,
a:focus {
  outline: none;
}

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

.hidden-xs {
  display: block;
}

.visible-xs {
  display: none !important;
}

#site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(19, 48, 71, 0.06);
  backdrop-filter: blur(10px);
}

.topbar {
  background: #1d3f39;
  color: rgba(243, 251, 246, 0.86);
  font-size: 12px;
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 15px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1 1 auto;
  color: #133047;
  min-width: 0;
}

.brand-logo {
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  object-fit: contain;
}

.brand-copy {
  min-width: 0;
  overflow: hidden;
}

.brand-copy strong,
.brand-copy em {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.brand-copy strong {
  font-size: 20px;
}

.brand-copy em {
  color: #68808e;
  font-size: 12px;
  font-style: normal;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin-left: auto;
  margin-right: 4px;
}

.nav a,
.mobile-nav a {
  color: #315263;
  font-size: 15px;
  font-weight: 700;
}

.nav a:hover,
.nav a.is-active,
.mobile-nav a:hover {
  color: #2f7a4f;
}

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

.nav-cta,
.hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 116px;
  height: 44px;
  padding: 0 16px;
  border: none;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
}

.nav-cta {
  background: #173244;
  color: #fff;
  box-shadow: 0 12px 24px rgba(23, 50, 68, 0.16);
}

.nav-cta:hover,
.hero-btn-primary:hover {
  color: #fff;
  background: #21475e;
}

.mobile-toggle {
  flex: 0 0 auto;
  position: relative;
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 12px;
  border: 1px solid rgba(19, 48, 71, 0.12);
  background:
    linear-gradient(#173244 0 0) no-repeat center / 24px 2px,
    #fff;
  font-weight: 700;
  font-size: 0;
  color: transparent;
  overflow: hidden;
}

.mobile-toggle::before,
.mobile-toggle::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  height: 2px;
  border-radius: 2px;
  background: #173244;
  transition: transform 220ms ease, top 220ms ease, bottom 220ms ease;
}

.mobile-toggle::before {
  top: 14px;
}

.mobile-toggle::after {
  bottom: 14px;
}

.mobile-toggle[aria-expanded="true"] {
  background: #fff;
}

.mobile-toggle[aria-expanded="true"]::before {
  top: 21px;
  transform: rotate(45deg);
}

.mobile-toggle[aria-expanded="true"]::after {
  bottom: 21px;
  transform: rotate(-45deg);
}

.mobile-nav {
  gap: 10px;
  padding: 0 15px 15px;
  background: #fff;
  border-top: 1px solid rgba(19, 48, 71, 0.06);
}

.mobile-nav:not([hidden]) {
  display: grid;
}

.mobile-nav[hidden] {
  display: none !important;
}

.mobile-consult-wrap {
  padding-top: 4px;
}

.mobile-cta {
  width: 100%;
}

.app-main {
  min-height: calc(100vh - 220px);
}

.site-page {
  padding: 56px 0;
  min-height: 60vh;
}

.site-page-soft {
  background: #f7faf7;
}

.site-page-band {
  background: linear-gradient(180deg, #f7fbf8 0%, #eef5f0 100%);
}

.page-hero {
  max-width: 820px;
  margin: 0 auto 30px;
  text-align: center;
}

.page-hero p {
  margin: 0 0 10px;
  color: #5b846b;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.page-hero h2 {
  margin: 0 0 14px;
  font-size: 42px;
  font-weight: 800;
  line-height: 1.15;
}

.page-hero span {
  color: var(--site-muted);
  line-height: 1.85;
}

.site-card-grid {
  display: grid;
  gap: 18px;
}

.site-card {
  padding: 22px;
  border-radius: 24px;
  background: var(--site-surface);
  border: 1px solid var(--site-line);
  box-shadow: var(--site-shadow);
}

.site-card h3 {
  margin: 0 0 10px;
  font-size: 22px;
  font-weight: 800;
}

.site-card p,
.site-card li,
.site-card span,
.site-copy {
  color: var(--site-muted);
  line-height: 1.85;
}

#home-page {
  background: transparent;
}

.hero {
  padding: 56px 0 44px;
  background:
    radial-gradient(circle at top left, rgba(76, 169, 109, 0.16), transparent 26%),
    radial-gradient(circle at right, rgba(23, 50, 68, 0.08), transparent 22%),
    linear-gradient(180deg, #f9fcfa 0%, #eef5f0 100%);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  max-width: 1040px;
  margin: 0 auto;
}

.hero-tag {
  margin: 0 0 12px;
  color: #5b846b;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  max-width: 820px;
  font-size: 64px;
  line-height: 1.02;
  font-weight: 800;
}

.hero-text {
  max-width: 820px;
  margin: 18px 0 0;
  color: #4f6979;
  font-size: 18px;
  line-height: 1.82;
}

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

.hero-btn {
  min-width: 140px;
  height: 48px;
  padding: 0 18px;
}

.hero-btn-primary {
  background: #2f7a4f;
  color: #fff;
  box-shadow: 0 16px 30px rgba(47, 122, 79, 0.18);
}

.hero-btn-secondary {
  border: 1px solid rgba(23, 50, 68, 0.12);
  background: rgba(255, 255, 255, 0.86);
  color: #173244;
}

.hero-btn-secondary:hover {
  color: #173244;
  background: #fff;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
  max-width: 920px;
}

.hero-metrics article {
  padding: 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(23, 50, 68, 0.08);
  box-shadow: 0 12px 30px rgba(19, 48, 71, 0.05);
}

.hero-metrics strong,
.hero-metrics span {
  display: block;
}

.hero-metrics strong {
  font-size: 17px;
  font-weight: 800;
}

.hero-metrics span {
  margin-top: 7px;
  color: #607987;
  line-height: 1.7;
}

.value-grid,
.scene-grid,
.cases-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.intro-grid {
  grid-template-columns: 1.3fr repeat(3, minmax(0, 1fr));
}

.intro-main {
  background: linear-gradient(180deg, #173244, #21485b);
}

.intro-main h3,
.intro-main p {
  color: #fff;
}

.scene-grid ul {
  margin: 0;
  padding-left: 18px;
}

.case-card {
  padding: 14px;
}

.case-photo {
  aspect-ratio: 4 / 3;
  border-radius: 18px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.case-copy {
  padding: 14px 4px 2px;
}

.case-copy strong,
.case-copy span {
  display: block;
}

.case-copy strong {
  margin-bottom: 6px;
  font-size: 18px;
  font-weight: 800;
  color: var(--site-ink);
}

.case-copy span {
  color: #607987;
  line-height: 1.8;
}

.detail-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 22px;
  align-items: center;
}

.detail-image {
  min-height: 380px;
  border-radius: 24px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.detail-copy h3 {
  margin: 0 0 14px;
  font-size: 30px;
  font-weight: 800;
}

.detail-copy p,
.detail-copy li {
  color: #607987;
  line-height: 1.9;
}

.detail-copy ul {
  margin: 18px 0 0;
  padding-left: 18px;
}

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

.process-step {
  display: grid;
  gap: 10px;
}

.process-step em {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 16px;
  background: #dff1e6;
  color: #1d5f3b;
  font-size: 16px;
  font-style: normal;
  font-weight: 800;
}

.process-step strong {
  font-size: 20px;
  font-weight: 800;
}

.process-step span {
  color: #607987;
  line-height: 1.8;
}

.contact-strip {
  background: #173244;
  color: #fff;
}

.contact-strip-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px 32px;
  align-items: center;
}

.contact-strip p {
  margin: 0 0 10px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  text-transform: uppercase;
}

.contact-strip h2 {
  margin: 0 0 8px;
  font-size: 34px;
  font-weight: 800;
}

.contact-strip span {
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.8;
}

.contact-strip-meta {
  text-align: right;
}

.contact-strip-meta strong,
.contact-strip-meta span {
  display: block;
}

.contact-strip-meta strong {
  font-size: 28px;
  font-weight: 800;
}

.contact-strip-meta span {
  margin-top: 8px;
}

.ai-chat {
  position: relative;
}

.chat-launcher {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 128px;
  height: 52px;
  padding: 0 18px;
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, #173244, #285b4e);
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  box-shadow: 0 16px 32px rgba(23, 50, 68, 0.22);
}

.ai-chat-inline .chat-launcher {
  min-width: 116px;
  height: 44px;
  padding: 0 16px;
  font-size: 14px;
  box-shadow: 0 12px 24px rgba(23, 50, 68, 0.16);
}

.chat-launcher-badge {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #7bf3af;
  box-shadow: 0 0 0 6px rgba(123, 243, 175, 0.14);
}

.chat-panel {
  width: 380px;
  max-width: calc(100vw - 24px);
  height: 560px;
  margin-top: 12px;
  border-radius: 28px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 26px 60px rgba(19, 48, 71, 0.18);
  grid-template-rows: auto auto 1fr auto;
  border: 1px solid rgba(23, 50, 68, 0.08);
}

.chat-panel:not([hidden]) {
  display: grid;
}

.chat-panel[hidden] {
  display: none !important;
}

.chat-panel-inline {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  margin-top: 0;
}

.chat-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 18px 16px;
  background:
    radial-gradient(circle at top right, rgba(123, 243, 175, 0.12), transparent 32%),
    linear-gradient(135deg, #173244, #25524a);
  color: #fff;
}

.chat-head-copy strong,
.chat-head-copy span {
  display: block;
}

.chat-head-copy strong {
  font-size: 17px;
}

.chat-head-copy span {
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 12px;
  line-height: 1.6;
}

.chat-head em {
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.82);
  font-size: 11px;
  font-style: normal;
  white-space: nowrap;
}

.chat-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 14px 14px 0;
  background: #fff;
}

.chat-quick button {
  padding: 9px 12px;
  border: 1px solid rgba(47, 122, 79, 0.12);
  border-radius: 999px;
  background: #f4faf6;
  color: #27533a;
  font-size: 12px;
  font-weight: 700;
}

.chat-body {
  padding: 14px;
  overflow: auto;
  background:
    radial-gradient(circle at top, rgba(47, 122, 79, 0.06), transparent 26%),
    #f6f8f7;
}

.chat-row {
  display: flex;
  margin-bottom: 10px;
}

.chat-row-user {
  justify-content: flex-end;
}

.chat-bubble {
  max-width: 88%;
  padding: 12px 14px;
  border-radius: 18px;
  background: #fff;
  color: #204157;
  line-height: 1.7;
  box-shadow: 0 8px 20px rgba(19, 48, 71, 0.05);
}

.chat-bubble p {
  margin: 0;
  white-space: pre-wrap;
  word-break: break-word;
}

.chat-row-user .chat-bubble {
  background: linear-gradient(135deg, rgba(47, 122, 79, 0.18), rgba(76, 169, 109, 0.14));
  color: #1a4e33;
}

.chat-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  padding: 14px;
  border-top: 1px solid rgba(19, 48, 71, 0.08);
  background: #fff;
}

.chat-form input {
  min-width: 0;
  padding: 12px 14px;
  border: 1px solid rgba(19, 48, 71, 0.12);
  border-radius: 14px;
}

.chat-form button {
  min-width: 72px;
  padding: 0 16px;
  border: none;
  border-radius: 14px;
  background: #2f7a4f;
  color: #fff;
  font-weight: 800;
}

.chat-form button[disabled] {
  opacity: 0.65;
}

#site-footer {
  margin-top: 0;
  color: rgba(243, 251, 246, 0.88);
  background: #143128;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 24px;
  padding: 42px 15px 26px;
}

.footer-brand-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.footer-logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
  flex: 0 0 auto;
}

.footer-brand {
  margin: 0;
  font-size: 28px;
  font-weight: 800;
  color: #fff;
}

.footer-title {
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
}

.footer-copy,
.footer-grid p:not(.footer-brand):not(.footer-title) {
  margin: 0 0 8px;
  line-height: 1.8;
}

.footer-bottom {
  padding: 16px 15px 24px;
  color: rgba(243, 251, 246, 0.6);
  text-align: center;
  border-top: 1px solid rgba(243, 251, 246, 0.08);
}

#go-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 1200;
  width: 50px;
  height: 50px;
  border: none;
  border-radius: 999px;
  background: #173244;
  color: #fff;
  font-size: 24px;
  box-shadow: 0 16px 32px rgba(23, 50, 68, 0.22);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
}

#go-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

@media screen and (max-width: 1199px) {
  .value-grid,
  .cases-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media screen and (max-width: 991px) {
  .detail-showcase,
  .intro-grid {
    grid-template-columns: 1fr;
  }

  .scene-grid,
  .process-band {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .topbar-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media screen and (max-width: 767px) {
  .hidden-xs {
    display: none !important;
  }

  .visible-xs {
    display: block !important;
  }

  .nav-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 12px 15px;
  }

  .brand-logo {
    width: 42px;
    height: 42px;
  }

  .brand-copy strong {
    font-size: 16px;
  }

  .brand-copy em {
    font-size: 11px;
  }

  .site-page {
    padding: 38px 0;
  }

  .page-hero h2 {
    font-size: 30px;
  }

  .hero {
    padding: 38px 0 30px;
  }

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

  .hero-text {
    font-size: 16px;
    line-height: 1.8;
  }

  .hero-metrics,
  .value-grid,
  .scene-grid,
  .cases-grid,
  .process-band,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .contact-strip h2,
  .contact-strip-meta strong {
    font-size: 24px;
  }

  .contact-strip-meta {
    text-align: left;
  }

  .chat-panel,
  .chat-panel-inline {
    position: fixed;
    right: 12px;
    left: 12px;
    top: auto;
    bottom: 12px;
    width: auto;
    height: min(76vh, 600px);
    border-radius: 24px;
  }

  .chat-form {
    grid-template-columns: 1fr;
  }

  .chat-form button {
    height: 46px;
  }

  .footer-grid {
    gap: 18px;
    padding-top: 30px;
  }

  .footer-brand {
    font-size: 22px;
  }

  #go-top {
    right: 12px;
    bottom: 12px;
  }
}

/* ─── 小屏手机 (≤480px) ─── */
@media screen and (max-width: 480px) {
  .container {
    width: min(calc(100% - 24px), 1200px);
  }

  .nav-shell {
    padding: 10px 12px;
  }

  .brand-logo {
    width: 36px;
    height: 36px;
  }

  .brand-copy strong {
    font-size: 15px;
  }

  .brand-copy em {
    font-size: 10px;
  }

  .hero {
    padding: 28px 0 24px;
  }

  .hero-tag {
    font-size: 11px;
    margin-bottom: 8px;
  }

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

  .hero-text {
    font-size: 14px;
    line-height: 1.7;
    margin-top: 12px;
  }

  .hero-actions {
    flex-direction: column;
    gap: 10px;
    margin-top: 18px;
  }

  .hero-btn {
    width: 100%;
    min-width: 0;
    height: 46px;
    font-size: 14px;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 16px;
  }

  .hero-metrics article {
    padding: 14px 16px;
  }

  .hero-metrics strong {
    font-size: 15px;
  }

  .hero-metrics span {
    font-size: 13px;
    margin-top: 4px;
  }

  .site-page {
    padding: 32px 0;
  }

  .page-hero {
    margin-bottom: 22px;
  }

  .page-hero p {
    font-size: 11px;
    margin-bottom: 6px;
  }

  .page-hero h2 {
    font-size: 24px;
    margin-bottom: 10px;
  }

  .page-hero span {
    font-size: 14px;
    line-height: 1.7;
  }

  .site-card-grid {
    gap: 12px;
  }

  .site-card {
    padding: 16px;
    border-radius: 18px;
  }

  .site-card h3 {
    font-size: 18px;
    margin-bottom: 6px;
  }

  .site-card p,
  .site-card li,
  .site-card span {
    font-size: 13px;
    line-height: 1.7;
  }

  .value-grid,
  .scene-grid,
  .cases-grid,
  .process-band {
    grid-template-columns: 1fr;
  }

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

  .detail-showcase {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .detail-image {
    min-height: 220px;
    border-radius: 18px;
  }

  .detail-copy h3 {
    font-size: 22px;
  }

  .detail-copy p,
  .detail-copy li {
    font-size: 13px;
    line-height: 1.7;
  }

  .process-step {
    gap: 6px;
  }

  .process-step em {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    font-size: 14px;
  }

  .process-step strong {
    font-size: 17px;
  }

  .process-step span {
    font-size: 13px;
  }

  .case-card {
    padding: 10px;
  }

  .case-photo {
    aspect-ratio: 16 / 10;
    border-radius: 14px;
  }

  .case-copy {
    padding: 10px 2px 0;
  }

  .case-copy strong {
    font-size: 16px;
  }

  .case-copy span {
    font-size: 13px;
  }

  .contact-strip-inner {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }

  .contact-strip h2 {
    font-size: 22px;
  }

  .contact-strip-meta {
    text-align: left;
  }

  .contact-strip-meta strong {
    font-size: 20px;
  }

  .chat-panel,
  .chat-panel-inline {
    right: 4px;
    left: 4px;
    bottom: 4px;
    height: min(80vh, 520px);
    border-radius: 20px;
  }

  .chat-head {
    padding: 14px;
  }

  .chat-head-copy strong {
    font-size: 15px;
  }

  .chat-quick {
    gap: 6px;
    padding: 10px 10px 0;
  }

  .chat-quick button {
    padding: 7px 10px;
    font-size: 11px;
  }

  .chat-body {
    padding: 10px;
  }

  .chat-form {
    padding: 10px;
    grid-template-columns: 1fr;
  }

  .chat-form input {
    padding: 10px 12px;
    font-size: 14px;
  }

  .chat-form button {
    height: 44px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 28px 12px 20px;
  }

  .footer-brand {
    font-size: 20px;
  }

  .footer-logo {
    width: 34px;
    height: 34px;
  }

  .footer-title {
    font-size: 14px;
    margin-bottom: 6px;
  }

  .footer-copy,
  .footer-grid p:not(.footer-brand):not(.footer-title) {
    font-size: 13px;
  }

  .footer-bottom {
    font-size: 12px;
    padding: 14px 12px 20px;
  }

  #go-top {
    width: 42px;
    height: 42px;
    right: 10px;
    bottom: 10px;
    font-size: 20px;
  }

  .chat-launcher {
    min-width: 0;
    height: 42px;
    padding: 0 14px;
    font-size: 13px;
  }

  .ai-chat-inline .chat-launcher {
    min-width: 0;
    height: 38px;
    padding: 0 12px;
    font-size: 13px;
  }

  .nav-cta {
    min-width: 0;
    height: 40px;
    padding: 0 14px;
    font-size: 13px;
  }
}

/* ─── 超小屏手机 (≤375px) ─── */
@media screen and (max-width: 375px) {
  .container {
    width: min(calc(100% - 20px), 1200px);
  }

  .nav-shell {
    padding: 8px 10px;
  }

  .brand-logo {
    width: 32px;
    height: 32px;
  }

  .brand-copy strong {
    font-size: 14px;
  }

  .hero {
    padding: 22px 0 18px;
  }

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

  .hero-text {
    font-size: 13px;
    line-height: 1.65;
    margin-top: 10px;
  }

  .hero-btn {
    height: 44px;
    font-size: 13px;
  }

  .hero-metrics article {
    padding: 12px 14px;
  }

  .hero-metrics strong {
    font-size: 14px;
  }

  .site-page {
    padding: 26px 0;
  }

  .page-hero h2 {
    font-size: 22px;
  }

  .page-hero span {
    font-size: 13px;
  }

  .site-card {
    padding: 14px;
    border-radius: 16px;
  }

  .site-card h3 {
    font-size: 16px;
  }

  .site-card p,
  .site-card li,
  .site-card span {
    font-size: 12px;
    line-height: 1.65;
  }

  .scene-grid ul {
    padding-left: 14px;
  }

  .detail-image {
    min-height: 180px;
  }

  .detail-copy h3 {
    font-size: 20px;
  }

  .detail-copy ul {
    padding-left: 14px;
  }

  .process-step strong {
    font-size: 16px;
  }

  .contact-strip h2 {
    font-size: 20px;
  }

  .contact-strip-meta strong {
    font-size: 18px;
  }

  .chat-panel,
  .chat-panel-inline {
    right: 2px;
    left: 2px;
    bottom: 2px;
    height: min(85vh, 480px);
    border-radius: 16px;
  }

  .chat-head {
    padding: 12px;
  }

  .chat-head-copy strong {
    font-size: 14px;
  }

  .chat-quick button {
    padding: 6px 8px;
    font-size: 10px;
  }

  .footer-grid {
    padding: 22px 10px 16px;
    gap: 14px;
  }

  .footer-brand {
    font-size: 18px;
  }

  #go-top {
    width: 38px;
    height: 38px;
    font-size: 18px;
  }
}
