/*
Theme Name: Lihe Official
Theme URI: https://seedlings.com.cn
Author: Shanghai Lihe Intelligence Technology Co., Ltd.
Description: Official website theme for Shanghai Lihe Intelligence Technology Co., Ltd.
Version: 1.0.0
Text Domain: lihe-official
*/

:root {
  --ink: #17211f;
  --muted: #5d6b7c;
  --line: #dce7f5;
  --paper: #f5f9ff;
  --white: #ffffff;
  --teal: #126dff;
  --teal-dark: #0757d8;
  --amber: #0ea5e9;
  --amber-soft: #eaf5ff;
  --blue-soft: #eaf4ff;
  --shadow: 0 20px 58px rgba(19, 88, 180, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

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

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: minmax(220px, 0.9fr) auto minmax(140px, 0.9fr);
  align-items: center;
  gap: clamp(18px, 3vw, 48px);
  min-height: 78px;
  padding: 0 clamp(20px, 7vw, 150px);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(18, 109, 255, 0.12);
  backdrop-filter: blur(18px);
  transition: background 0.2s ease, min-height 0.2s ease, box-shadow 0.2s ease;
}

.site-header.scrolled {
  min-height: 68px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 30px rgba(15, 64, 126, 0.08);
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 10px;
  overflow: hidden;
  background: transparent;
  box-shadow: 0 12px 28px rgba(18, 109, 255, 0.2);
}

.brand-mark img {
  width: 100%;
  height: 100%;
}

.brand-text strong,
.brand-text small {
  display: block;
  line-height: 1.12;
}

.brand-text strong {
  color: var(--teal);
  font-size: 25px;
  font-weight: 900;
}

.brand-text small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(24px, 3vw, 42px);
  color: #172033;
  font-size: 17px;
  font-weight: 850;
  white-space: nowrap;
}

.nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 78px;
}

.nav a::after {
  position: absolute;
  left: 50%;
  bottom: 17px;
  width: 0;
  height: 3px;
  border-radius: 999px;
  background: var(--teal);
  content: "";
  transform: translateX(-50%);
  transition: width 0.18s ease;
}

.nav a.active,
.nav a:hover {
  color: var(--teal);
}

.nav a.active::after,
.nav a:hover::after {
  width: 30px;
}

.nav a:hover,
.site-footer a:hover {
  color: var(--teal);
}

.header-action,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 750;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.header-action {
  justify-self: end;
  flex: 0 0 auto;
  min-height: 42px;
  padding: 0 22px;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.38);
  background:
    linear-gradient(135deg, rgba(84, 174, 255, 0.95), rgba(18, 109, 255, 1) 48%, rgba(91, 88, 255, 0.96)),
    var(--teal);
  box-shadow: 0 14px 32px rgba(18, 109, 255, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.32);
  font-size: 15px;
  font-weight: 850;
  letter-spacing: 0;
  position: relative;
  overflow: hidden;
}

.header-action::before {
  position: absolute;
  inset: 1px auto 1px 1px;
  width: 38%;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0));
  content: "";
  pointer-events: none;
}

.button {
  padding: 0 22px;
}

.header-action:hover,
.button:hover {
  transform: translateY(-1px);
}

.primary {
  color: var(--white);
  background: var(--teal);
  box-shadow: 0 14px 30px rgba(18, 109, 255, 0.26);
}

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

.secondary {
  color: var(--teal-dark);
  border-color: rgba(18, 109, 255, 0.24);
  background: rgba(255, 255, 255, 0.78);
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(18, 109, 255, 0.22);
  border-radius: 8px;
  background: #edf6ff;
}

.menu-button span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: var(--teal);
}

.hero {
  position: relative;
  min-height: 94vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--ink);
  background: var(--blue-soft);
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: center;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(247, 251, 255, 0.98) 0%, rgba(247, 251, 255, 0.9) 43%, rgba(247, 251, 255, 0.24) 100%),
    linear-gradient(0deg, rgba(239, 247, 255, 0.95) 0%, rgba(239, 247, 255, 0.22) 48%, rgba(239, 247, 255, 0.1) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(780px, calc(100% - 36px));
  margin: 0 0 clamp(42px, 8vw, 88px) clamp(18px, 7vw, 88px);
  padding-top: 130px;
}

.eyebrow {
  margin: 0 0 13px;
  color: var(--amber);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0;
}

.hero-flow {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  max-width: 720px;
  margin-bottom: 18px;
  color: var(--teal-dark);
  font-size: 15px;
  font-weight: 850;
}

.hero-flow span {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 13px;
  border: 1px solid rgba(18, 109, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 10px 28px rgba(18, 109, 255, 0.08);
}

.hero-flow span:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -10px;
  width: 10px;
  height: 1px;
  background: rgba(18, 109, 255, 0.45);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  font-size: clamp(40px, 6vw, 74px);
  line-height: 1.08;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 700px;
  margin-bottom: 28px;
  color: #475569;
  font-size: clamp(17px, 2vw, 21px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 34px;
}

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

.hero-points div {
  min-height: 92px;
  padding: 15px 16px;
  border: 1px solid rgba(18, 109, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(10px);
}

.hero-points dt {
  font-size: 21px;
  font-weight: 850;
}

.hero-points dd {
  margin: 4px 0 0;
  color: #64748b;
  font-size: 13px;
}

.section {
  scroll-margin-top: 84px;
  padding: clamp(58px, 8vw, 96px) clamp(18px, 5vw, 72px);
}

.section > * {
  max-width: 1320px;
  margin-right: auto;
  margin-left: auto;
}

.site-footer {
  scroll-margin-top: 84px;
}

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

.section-intro {
  max-width: 980px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.8;
}

.section-heading h2,
.fit-copy h2,
.contact-copy h2 {
  margin-bottom: 0;
  font-size: clamp(29px, 4vw, 48px);
  line-height: 1.18;
  letter-spacing: 0;
}

.premise {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(280px, 1.05fr);
  gap: clamp(24px, 5vw, 70px);
  background: var(--white);
}

.premise-grid {
  display: grid;
  gap: 18px;
  color: var(--muted);
  font-size: 18px;
}

.services,
.roadmap,
.faq {
  background: var(--paper);
}

.services .section-heading {
  max-width: 1080px;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.services .section-intro {
  margin-right: auto;
  margin-left: auto;
}

.service-tabs {
  display: grid;
  grid-template-columns: repeat(5, minmax(150px, 1fr));
  gap: 12px;
  max-width: 1320px;
  margin: 36px auto 54px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 46px rgba(19, 88, 180, 0.08);
}

.service-tab {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 4px 12px;
  align-items: center;
  min-height: 78px;
  padding: 12px 14px;
  color: #172033;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  text-align: left;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.service-tab span {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: var(--teal);
  border-radius: 8px;
  background: #edf4ff;
  font-size: 18px;
  font-weight: 900;
}

.service-tab strong,
.service-tab small {
  display: block;
  min-width: 0;
}

.service-tab strong {
  font-size: 18px;
  line-height: 1.2;
}

.service-tab small {
  color: #64748b;
  font-size: 13px;
  font-weight: 700;
}

.service-tab.is-active {
  color: var(--white);
  background: var(--teal);
  box-shadow: 0 18px 36px rgba(18, 109, 255, 0.22);
}

.service-tab.is-active span {
  color: var(--white);
  background: rgba(255, 255, 255, 0.18);
}

.service-tab.is-active small {
  color: rgba(255, 255, 255, 0.82);
}

.service-panel {
  display: grid;
  grid-template-columns: minmax(300px, 0.95fr) minmax(320px, 1.05fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  max-width: 1320px;
  margin-right: auto;
  margin-left: auto;
}

.service-panel[hidden] {
  display: none;
}

.service-visual {
  min-height: 420px;
  overflow: hidden;
  border: 1px solid #dbe8fa;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 22px 58px rgba(19, 88, 180, 0.12);
}

.service-visual img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.service-detail h3 {
  margin-bottom: 16px;
  color: var(--ink);
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.18;
}

.service-detail > p:not(.eyebrow) {
  max-width: 680px;
  margin-bottom: 26px;
  color: var(--muted);
  font-size: 18px;
}

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

.service-feature-grid div {
  min-height: 130px;
  padding: 22px;
  border: 1px solid #d8e6fb;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
}

.service-feature-grid strong,
.service-feature-grid span {
  display: block;
}

.service-feature-grid strong {
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 18px;
}

.service-feature-grid span {
  color: var(--muted);
  line-height: 1.65;
}

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

.service-card,
.fit-card,
.roadmap-grid article,
.deliverable-panel,
.advantage-grid article,
.package-card,
.faq-list details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.service-card {
  min-height: 278px;
  padding: 26px;
  box-shadow: 0 16px 40px rgba(19, 88, 180, 0.06);
}

.service-index {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  margin-bottom: 22px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 850;
}

.service-card h3,
.fit-card h3,
.roadmap-grid h3 {
  margin-bottom: 10px;
  font-size: 21px;
  line-height: 1.3;
}

.service-card p,
.deliverable-panel li,
.method-list span,
.fit-card p,
.fit-card li,
.advantage-grid p,
.roadmap-grid p,
.package-card p,
.package-card li,
.faq-list p,
.contact-copy p,
.contact-copy li,
.form-note {
  color: var(--muted);
}

.muted-card {
  background: var(--amber-soft);
  border-color: #cfe4ff;
}

.muted-card .service-index {
  color: var(--amber);
}

.deliverables {
  background: var(--white);
}

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

.deliverable-panel {
  padding: 28px;
  box-shadow: 0 16px 40px rgba(19, 88, 180, 0.06);
}

.deliverable-panel h3 {
  margin-bottom: 18px;
  font-size: 24px;
}

.deliverable-panel ul,
.package-card ul {
  display: grid;
  gap: 11px;
  padding-left: 20px;
  margin: 0;
}

.method {
  background: var(--white);
}

.method-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  padding: 0;
  margin: 0;
  overflow: hidden;
  list-style: none;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.method-list li {
  min-height: 210px;
  padding: 24px;
  border-right: 1px solid var(--line);
  background: var(--white);
}

.method-list li:last-child {
  border-right: 0;
}

.method-list strong {
  display: block;
  margin-bottom: 12px;
  color: var(--teal-dark);
  font-size: 20px;
}

.method-list span {
  display: block;
}

.fit {
  color: var(--ink);
  background: #ffffff;
}

.fit-heading {
  max-width: 960px;
  margin: 0 auto 42px;
  text-align: center;
}

.fit-heading h2 {
  margin-bottom: 14px;
  color: var(--ink);
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.16;
}

.fit-heading p {
  max-width: 760px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.8;
}

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

.fit-card {
  overflow: hidden;
  color: var(--ink);
  border-color: #d8e6fb;
  background: #ffffff;
  box-shadow: 0 18px 46px rgba(19, 88, 180, 0.08);
}

.fit-card img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  background: #edf4ff;
}

.fit-card-body {
  padding: 26px;
}

.fit-card h3 {
  margin-bottom: 12px;
  font-size: 25px;
}

.fit-card p {
  margin-bottom: 18px;
  color: var(--muted);
}

.fit-card ul {
  display: grid;
  gap: 8px;
  padding-left: 18px;
  margin: 0;
}

.fit-card li {
  line-height: 1.65;
}

.advantage {
  background: var(--white);
}

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

.advantage-grid article {
  min-height: 255px;
  padding: 24px;
  box-shadow: 0 16px 40px rgba(19, 88, 180, 0.06);
}

.advantage-grid span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  margin-bottom: 18px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 850;
}

.advantage-grid h3 {
  margin-bottom: 10px;
  font-size: 21px;
}

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

.roadmap-grid article {
  min-height: 245px;
  padding: 24px;
}

.roadmap-grid span {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--amber);
  font-size: 13px;
  font-weight: 850;
}

.packages {
  background: var(--white);
}

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

.package-card {
  position: relative;
  display: flex;
  min-height: 410px;
  flex-direction: column;
  padding: 28px;
  box-shadow: 0 16px 40px rgba(19, 88, 180, 0.06);
}

.package-card h3 {
  margin-bottom: 8px;
  font-size: 25px;
}

.package-card p {
  min-height: 54px;
  margin-bottom: 22px;
}

.package-card ul {
  margin-bottom: 26px;
}

.package-action {
  width: 100%;
  margin-top: auto;
}

.featured-package {
  border-color: rgba(18, 109, 255, 0.34);
  box-shadow: 0 20px 58px rgba(18, 109, 255, 0.16);
}

.package-badge {
  position: absolute;
  top: -13px;
  left: 28px;
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 12px;
  border-radius: 999px;
  color: var(--white);
  background: var(--teal);
  font-size: 12px;
  font-weight: 850;
}

.faq-list {
  display: grid;
  gap: 14px;
  max-width: 1180px;
  margin-right: auto;
  margin-left: 0;
}

.faq-heading {
  max-width: 820px;
  margin-right: auto;
  margin-left: 0;
  text-align: left;
}

.faq-heading h2 {
  font-size: clamp(26px, 3.4vw, 36px);
}

.faq-heading .section-intro {
  margin-left: 0;
  font-size: 15.5px;
}

.faq-list details {
  padding: 18px 22px;
  box-shadow: 0 12px 34px rgba(19, 88, 180, 0.05);
}

.faq-list summary {
  color: var(--ink);
  font-size: 17px;
  font-weight: 800;
  cursor: pointer;
}

.faq-list p {
  max-width: 980px;
  margin: 12px 0 0;
  font-size: 15.5px;
  line-height: 1.75;
}

.contact {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 520px);
  gap: clamp(26px, 6vw, 80px);
  align-items: start;
  background: linear-gradient(180deg, var(--white), #eff7ff);
}

.contact-copy p {
  font-size: 18px;
}

.contact-copy ul {
  display: grid;
  gap: 10px;
  padding-left: 20px;
  margin: 24px 0 0;
}

.contact-channels {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.contact-channels p {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  align-items: center;
  margin: 0;
  font-size: 16px;
}

.contact-channels strong {
  color: var(--ink);
}

.contact-channels a,
.footer-contact a {
  color: var(--teal-dark);
  font-weight: 750;
}

.contact-channels a:hover,
.footer-contact a:hover {
  color: var(--teal);
}

.lead-form {
  display: grid;
  gap: 16px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.lead-form label {
  display: grid;
  gap: 8px;
  font-weight: 750;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  padding: 12px 13px;
  color: var(--ink);
  border: 1px solid #cbd8ea;
  border-radius: 8px;
  outline: none;
  background: #fbfdfc;
  font: inherit;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(18, 109, 255, 0.12);
}

.form-button {
  width: 100%;
}

.form-note {
  min-height: 24px;
  margin: 0;
  white-space: pre-line;
  font-size: 14px;
}

.consult-cta {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(320px, 1fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: center;
  background: linear-gradient(180deg, var(--white), #eff7ff);
}

.consult-cta-panel {
  padding: clamp(22px, 4vw, 36px);
  border: 1px solid rgba(18, 109, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
}

.consult-cta-panel p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.8;
}

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

.consult-dock {
  position: fixed;
  right: 18px;
  top: 50%;
  z-index: 60;
  display: grid;
  width: 74px;
  gap: 8px;
  justify-items: center;
  padding: 10px;
  border: 1px solid rgba(190, 212, 238, 0.72);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 48px rgba(25, 72, 130, 0.16);
  backdrop-filter: blur(14px);
  transform: translateY(-50%);
}

.dock-button {
  display: grid;
  place-items: center;
  gap: 4px;
  width: 54px;
  min-height: 58px;
  padding: 0;
  color: #56657a;
  border: 0;
  border-radius: 18px;
  background: transparent;
  box-shadow: none;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.25;
  cursor: pointer;
  text-decoration: none;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.dock-button:hover {
  color: #126dff;
  background: rgba(18, 109, 255, 0.08);
  transform: translateY(-1px);
}

.dock-primary {
  color: var(--white);
  min-height: 78px;
  background: linear-gradient(145deg, #1178ff 0%, #2fa8ff 100%);
  box-shadow: 0 12px 24px rgba(18, 109, 255, 0.24);
  font-size: 12px;
}

.dock-primary:hover {
  color: var(--white);
  background: linear-gradient(145deg, #0f6df0 0%, #259cf0 100%);
}

.dock-top {
  color: #56657a;
  background: transparent;
}

.dock-icon {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
}

.dock-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.dock-label {
  display: grid;
  gap: 1px;
  color: currentColor;
  font-size: 11px;
  letter-spacing: 0;
  line-height: 1.2;
  text-align: center;
}

.dock-label span {
  display: block;
}

.dock-wechat-card {
  position: absolute;
  right: 92px;
  top: 104px;
  display: none;
  width: 190px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 22px 58px rgba(15, 64, 126, 0.2);
  text-align: center;
}

.dock-wechat-card.open {
  display: block;
}

.dock-wechat-card img {
  width: 150px;
  height: 150px;
  border-radius: 8px;
}

.dock-wechat-card strong,
.dock-wechat-card span {
  display: block;
}

.dock-wechat-card strong {
  margin-top: 10px;
  color: var(--ink);
}

.dock-wechat-card span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
}

body.consult-open {
  overflow: hidden;
}

.consult-modal[aria-hidden="true"] {
  display: none;
}

.consult-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 22px;
}

.consult-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 31, 55, 0.52);
  backdrop-filter: blur(6px);
}

.consult-window {
  position: relative;
  display: grid;
  width: min(1040px, 100%);
  max-height: min(860px, calc(100vh - 44px));
  overflow: auto;
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 30px 90px rgba(15, 31, 55, 0.32);
}

.consult-window-header {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: clamp(22px, 4vw, 34px);
  background: #eef6ff;
  border-bottom: 1px solid var(--line);
}

.consult-window-header h2 {
  margin: 6px 0 0;
  color: var(--ink);
  font-size: clamp(24px, 4vw, 34px);
}

.consult-close {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  color: var(--muted);
  border: 1px solid #d6e3f3;
  border-radius: 999px;
  background: var(--white);
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
}

.consult-chat {
  display: grid;
  gap: 12px;
  padding: 22px clamp(18px, 4vw, 34px) 0;
}

.consult-message {
  max-width: 760px;
  padding: 14px 16px;
  border-radius: 8px;
  color: #42526b;
  background: #f3f7fc;
  line-height: 1.65;
}

.consult-message strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
}

.consult-message p {
  margin: 0;
}

.consult-message.note {
  color: #5f6f89;
  background: #edf4ff;
}

.consult-form {
  display: grid;
  gap: 16px;
  padding: 26px clamp(18px, 4vw, 34px) 28px;
}

.callback-form {
  display: grid;
  gap: 16px;
  padding: 26px clamp(18px, 4vw, 34px) 28px;
}

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

.consult-form label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-weight: 800;
}

.callback-form label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-weight: 800;
}

.consult-submit {
  width: 100%;
}

.consult-privacy {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.consult-result {
  display: grid;
  gap: 16px;
  margin: 0 clamp(18px, 4vw, 34px) 32px;
}

.consult-result h3 {
  margin: 6px 0 14px;
  color: var(--ink);
  font-size: 22px;
}

.consult-result-section {
  padding: 20px;
  border: 1px solid rgba(18, 109, 255, 0.16);
  border-radius: 8px;
  background: #f8fbff;
}

.result-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 28px;
  padding: 0 10px;
  color: var(--teal);
  border-radius: 999px;
  background: #e7f0ff;
  font-size: 13px;
  font-weight: 900;
}

.lead-summary-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 14px;
  margin: 0;
}

.lead-summary-list div {
  padding: 12px;
  border: 1px solid #e0ebfa;
  border-radius: 8px;
  background: var(--white);
}

.lead-summary-list dt {
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.lead-summary-list dd {
  margin: 5px 0 0;
  color: var(--ink);
  font-weight: 750;
  line-height: 1.55;
}

.ai-advice {
  margin: 0;
  color: #223044;
  font-size: 17px;
  line-height: 1.85;
}

.lead-save-note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.wechat-guide {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  background: #eef6ff;
}

.wechat-guide p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.wechat-guide img {
  width: 150px;
  height: 150px;
  border: 8px solid var(--white);
  border-radius: 8px;
  box-shadow: 0 16px 34px rgba(19, 88, 180, 0.14);
}

.callback-window {
  width: min(900px, 100%);
}

.callback-result {
  margin: 0 clamp(18px, 4vw, 34px) 32px;
  padding: 20px;
  border: 1px solid rgba(18, 109, 255, 0.16);
  border-radius: 8px;
  background: #f8fbff;
}

.callback-result h3 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 22px;
}

.callback-result p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.callback-next {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  margin-top: 16px;
  padding: 14px;
  border-radius: 8px;
  background: #eef6ff;
}

.callback-next img {
  width: 112px;
  height: 112px;
  border: 6px solid var(--white);
  border-radius: 8px;
}

.callback-next strong,
.callback-next span {
  display: block;
}

.callback-next strong {
  color: var(--ink);
  font-size: 18px;
}

.callback-next span {
  margin-top: 6px;
  color: var(--muted);
}

.site-footer {
  color: #1e293b;
  background: #f3f7fc;
  border-top: 1px solid var(--line);
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(240px, 1.25fr) repeat(3, minmax(140px, 0.72fr)) minmax(260px, 1.05fr);
  gap: clamp(24px, 4vw, 58px);
  padding: 58px clamp(18px, 5vw, 72px) 42px;
}

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

.footer-brand img {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  box-shadow: 0 12px 30px rgba(18, 109, 255, 0.18);
}

.footer-brand strong,
.footer-brand small {
  display: block;
  line-height: 1.16;
}

.footer-brand strong {
  color: var(--teal);
  font-size: 34px;
  font-weight: 900;
}

.footer-brand small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 13px;
}

.footer-brand-block p {
  max-width: 310px;
  margin-bottom: 12px;
  color: #1f2937;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.55;
}

.footer-brand-block .footer-company {
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
}

.footer-column,
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-column h2,
.footer-contact h2 {
  margin: 0 0 10px;
  color: #111827;
  font-size: 18px;
  line-height: 1.35;
}

.footer-column a,
.footer-contact p,
.footer-bottom {
  color: #718096;
}

.footer-column a {
  font-size: 16px;
}

.footer-column a:hover {
  color: var(--teal);
}

.footer-contact p {
  margin: 0;
  font-size: 15px;
}

.qr-row {
  display: flex;
  gap: 18px;
  margin-top: 4px;
}

.qr-card {
  text-align: center;
}

.qr-card span {
  display: block;
  margin-top: 10px;
  color: #718096;
  font-size: 14px;
}

.qr-placeholder,
.qr-image {
  display: grid;
  place-items: center;
  width: 120px;
  height: 120px;
  border-radius: 8px;
}

.qr-placeholder {
  padding: 10px;
  border: 1px solid #d6e3f3;
  color: var(--teal-dark);
  background:
    linear-gradient(90deg, rgba(18, 109, 255, 0.07) 1px, transparent 1px),
    linear-gradient(rgba(18, 109, 255, 0.07) 1px, transparent 1px),
    #ffffff;
  background-size: 12px 12px;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.45;
}

.qr-image {
  object-fit: cover;
  border: 1px solid #d6e3f3;
  background: #ffffff;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 18px clamp(18px, 5vw, 72px);
  border-top: 1px solid #dce7f5;
  font-size: 13px;
}

@media (max-width: 1080px) {
  .site-header {
    grid-template-columns: minmax(190px, 1fr) auto auto;
    padding: 0 24px;
  }

  .nav {
    gap: 20px;
    font-size: 15px;
  }

  .service-grid,
  .advantage-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-tabs {
    grid-template-columns: repeat(5, minmax(170px, 1fr));
    overflow-x: auto;
  }

  .service-panel {
    grid-template-columns: 1fr;
  }

  .fit-card-grid {
    grid-template-columns: 1fr;
  }

  .fit-card {
    display: grid;
    grid-template-columns: minmax(260px, 0.9fr) minmax(320px, 1.1fr);
  }

  .fit-card img {
    height: 100%;
    min-height: 260px;
  }

  .method-list,
  .roadmap-grid,
  .package-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .method-list li:nth-child(2n) {
    border-right: 0;
  }

  .method-list li {
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 860px) {
  .site-header {
    gap: 12px;
    display: flex;
    min-height: 66px;
    padding: 0 18px;
  }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 18px 18px;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid rgba(18, 109, 255, 0.12);
    box-shadow: 0 18px 38px rgba(15, 64, 126, 0.12);
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    padding: 12px 0;
    min-height: 0;
  }

  .nav a::after {
    display: none;
  }

  .menu-button {
    display: block;
  }

  .header-action {
    display: none;
  }

  .premise,
  .fit,
  .contact,
  .consult-cta,
  .deliverable-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 0 14px;
  }

  .brand {
    min-width: 0;
  }

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

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

  .brand-text small {
    display: none;
  }

  .hero {
    min-height: 100vh;
  }

  .hero-content {
    width: calc(100% - 28px);
    margin-left: 14px;
    margin-bottom: 34px;
  }

  .hero-actions .button,
  .hero-points {
    width: 100%;
  }

  .hero-points,
  .service-grid,
  .service-feature-grid,
  .fit-card-grid,
  .method-list,
  .roadmap-grid,
  .advantage-grid,
  .package-grid {
    grid-template-columns: 1fr;
  }

  .method-list li {
    border-right: 0;
  }

  .package-card,
  .roadmap-grid article,
  .advantage-grid article,
  .service-card {
    min-height: 0;
  }

  .footer-main {
    grid-template-columns: 1fr;
    padding-top: 42px;
  }

  .footer-brand strong {
    font-size: 30px;
  }

  .qr-row {
    flex-wrap: wrap;
  }

  .section {
    padding-left: 16px;
    padding-right: 16px;
  }

  .services .section-heading {
    text-align: left;
  }

  .service-tabs {
    margin: 28px -16px 36px;
    padding: 12px 16px;
    border-right: 0;
    border-left: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .service-tab {
    min-height: 70px;
  }

  .service-visual,
  .service-visual img {
    min-height: 280px;
  }

  .service-feature-grid div {
    min-height: 0;
    padding: 18px;
  }

  .fit-heading {
    text-align: left;
  }

  .fit-card {
    display: block;
  }

  .fit-card img {
    height: 210px;
    min-height: 0;
  }

  .fit-card-body {
    padding: 22px;
  }

  .consult-dock {
    top: auto;
    right: 10px;
    bottom: 76px;
    left: auto;
    width: 62px;
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 8px;
    border-radius: 24px;
    transform: none;
  }

  .dock-button {
    width: 46px;
    min-height: 50px;
    padding: 0;
    font-size: 10.5px;
  }

  .dock-primary {
    min-height: 70px;
    border-radius: 16px;
    font-size: 11px;
  }

  .dock-top {
    min-height: 46px;
  }

  .dock-icon {
    width: 22px;
    height: 22px;
  }

  .dock-label {
    font-size: 10.5px;
  }

  .dock-wechat-card {
    right: 74px;
    top: auto;
    bottom: 66px;
  }

  .consult-modal {
    padding: 10px;
  }

  .consult-window {
    max-height: calc(100vh - 20px);
  }

  .consult-window-header {
    padding: 20px 18px;
  }

  .consult-close {
    width: 40px;
    height: 40px;
    font-size: 30px;
  }

  .consult-field-grid {
    grid-template-columns: 1fr;
  }

  .consult-cta-actions .button,
  .consult-result-actions .button {
    width: 100%;
  }

  .lead-summary-list,
  .wechat-guide,
  .callback-next {
    grid-template-columns: 1fr;
  }

  .wechat-guide img {
    width: 132px;
    height: 132px;
  }

  .callback-next img {
    width: 112px;
    height: 112px;
  }
}
