/* ==========================================================================
   净初生活服务官网 · 全站样式
   设计体系：净初绿 #27AE60 / 深绿 #0F3D2E / 浅绿底 #E9F8EF
   渐变 #2EC76E -> #1E8C4E · 正文灰 #57534E · 次要 #78716C
   断点：1024px / 768px / 375px
   ========================================================================== */

/* ---------- 变量与基础 ---------- */
:root {
  --green: #27AE60;
  --green-deep: #0F3D2E;
  --green-light-bg: #E9F8EF;
  --green-grad-from: #2EC76E;
  --green-grad-to: #1E8C4E;
  --text: #57534E;
  --text-muted: #78716C;
  --border: #E7E5E4;
  --bg: #FFFFFF;
  --bg-tint: #FAFAF9;
  --radius-card: 16px;
  --radius-sm: 12px;
  --shadow-card: 0 4px 20px rgba(15, 61, 46, 0.06);
  --shadow-float: 0 8px 30px rgba(15, 61, 46, 0.14);
  --header-h: 64px;
  --font-stack: system-ui, -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  /* 锚点定位留出固定导航高度 */
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  font-family: var(--font-stack);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

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

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

ul, ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

.container--narrow {
  max-width: 760px;
}

/* ---------- 通用按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

.btn--primary {
  background: linear-gradient(135deg, var(--green-grad-from), var(--green-grad-to));
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(39, 174, 96, 0.32);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(39, 174, 96, 0.4);
}

.btn--ghost {
  border: 1.5px solid var(--green);
  color: var(--green);
  background: #FFFFFF;
}

.btn--ghost:hover {
  background: var(--green-light-bg);
}

.btn--lg {
  padding: 14px 32px;
  font-size: 16px;
}

/* ---------- 顶部导航 ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.nav {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.nav__logo {
  width: 40px;
  height: 40px;
  border-radius: 10px;
}

.nav__brand-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--green-deep);
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}

.nav__link {
  font-size: 15px;
  color: var(--text);
  font-weight: 500;
  transition: color 0.2s ease;
  position: relative;
}

.nav__link:hover {
  color: var(--green);
}

.nav__link--member {
  color: var(--green);
}

.nav__cta {
  flex-shrink: 0;
}

.nav__menu-cta-item {
  display: none;
}

/* 汉堡按钮（移动端显示） */
.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  margin-left: auto;
}

.nav__toggle-line {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: var(--green-deep);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav__toggle.is-open .nav__toggle-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav__toggle.is-open .nav__toggle-line:nth-child(2) {
  opacity: 0;
}

.nav__toggle.is-open .nav__toggle-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Hero ---------- */
.hero {
  padding: calc(var(--header-h) + 56px) 0 72px;
  background: linear-gradient(180deg, var(--green-light-bg) 0%, #FFFFFF 100%);
  overflow: hidden;
}

.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: center;
  gap: 48px;
}

.hero__badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 999px;
  background: #FFFFFF;
  border: 1px solid var(--green);
  color: var(--green);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 24px;
}

.hero__title {
  color: var(--green-deep);
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 20px;
}

.hero__title-line1 {
  display: block;
  font-size: clamp(22px, 2.4vw, 30px);
}

.hero__title-line2 {
  display: block;
  font-size: clamp(32px, 4vw, 46px);
  margin-top: 8px;
  background: linear-gradient(135deg, var(--green-grad-from), var(--green-grad-to));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero__subtitle {
  font-size: 16px;
  color: var(--text);
  max-width: 560px;
  margin-bottom: 32px;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.hero__visual {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--green-light-bg) 0%, #FFFFFF 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 32px;
  min-height: 320px;
}

.hero__illustration {
  width: 100%;
  height: auto;
}

/* ---------- 数据带 ---------- */
.stats {
  background: var(--green-deep);
  padding: 36px 0;
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stats__item {
  text-align: center;
}

.stats__num {
  display: block;
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.2;
}

.stats__label {
  display: block;
  margin-top: 6px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.75);
}

/* ---------- 区块通用 ---------- */
.section {
  padding: 80px 0;
}

.section--tint {
  background: var(--bg-tint);
}

.section__head {
  text-align: center;
  margin-bottom: 48px;
}

.section__title {
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 700;
  color: var(--green-deep);
  line-height: 1.3;
}

.section__subtitle {
  margin-top: 10px;
  font-size: 15px;
  color: var(--text-muted);
}

/* ---------- 服务项目（桌面 3+2 两排） ---------- */
.services__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
}

.service-card {
  grid-column: span 2;
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 28px 24px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(15, 61, 46, 0.1);
}

/* 第 4、5 张卡片居中排在第二行（3+2 布局） */
.service-card:nth-child(4) {
  grid-column: 2 / span 2;
}

.service-card:nth-child(5) {
  grid-column: 4 / span 2;
}

.service-card__icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: var(--green-light-bg);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.service-card__icon svg {
  width: 30px;
  height: 30px;
}

.service-card__title {
  font-size: 19px;
  font-weight: 700;
  color: var(--green-deep);
  display: inline;
}

.service-card__tag {
  display: inline-block;
  margin-left: 10px;
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--green-light-bg);
  color: var(--green);
  font-size: 12px;
  font-weight: 600;
  vertical-align: middle;
}

.service-card__desc {
  margin-top: 10px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ---------- 服务流程 ---------- */
.process__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
}

.process__step {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 32px 24px;
  text-align: center;
  position: relative;
}

.process__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green-grad-from), var(--green-grad-to));
  color: #FFFFFF;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 16px;
}

.process__step-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--green-deep);
}

.process__step-desc {
  margin-top: 6px;
  font-size: 14px;
  color: var(--text-muted);
}

/* ---------- 客户口碑 ---------- */
.reviews__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.review-card {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 28px;
}

.review-card__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.review-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--green-light-bg);
  color: var(--green);
  font-size: 17px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.review-card__name {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--green-deep);
}

.review-card__tag {
  display: inline-block;
  margin-top: 2px;
  padding: 1px 8px;
  border-radius: 999px;
  background: var(--green-light-bg);
  color: var(--green);
  font-size: 12px;
  font-weight: 600;
}

.review-card__quote {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text);
}

/* ---------- FAQ ---------- */
.faq__item {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 14px;
  overflow: hidden;
  transition: box-shadow 0.2s ease;
}

.faq__item.is-open {
  box-shadow: var(--shadow-card);
  border-color: var(--green);
}

.faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  font-size: 16px;
  font-weight: 600;
  color: var(--green-deep);
  text-align: left;
}

.faq__chevron {
  width: 22px;
  height: 22px;
  color: var(--green);
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.faq__chevron svg {
  width: 100%;
  height: 100%;
}

.faq__item.is-open .faq__chevron {
  transform: rotate(180deg);
}

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq__answer p {
  padding: 0 20px 18px;
  font-size: 15px;
  color: var(--text);
}

/* ---------- 页脚 ---------- */
.site-footer {
  background: var(--green-deep);
  color: rgba(255, 255, 255, 0.78);
  padding: 56px 0 28px;
}

.site-footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
  gap: 48px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.site-footer__logo-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.site-footer__logo {
  width: 36px;
  height: 36px;
  border-radius: 9px;
}

.site-footer__brand-line {
  font-size: 18px;
  font-weight: 700;
  color: #FFFFFF;
}

.site-footer__contact {
  margin-top: 16px;
  font-size: 14px;
}

.site-footer__contact a {
  color: rgba(255, 255, 255, 0.9);
  transition: color 0.2s ease;
}

.site-footer__contact a:hover {
  color: var(--green);
}

.site-footer__links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.site-footer__col-title {
  font-size: 14px;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 14px;
}

.site-footer__col li {
  font-size: 14px;
  margin-bottom: 10px;
}

.site-footer__col a {
  color: rgba(255, 255, 255, 0.72);
  transition: color 0.2s ease;
}

.site-footer__col a:hover {
  color: var(--green);
}

.site-footer__bottom {
  padding-top: 24px;
  text-align: center;
}

.site-footer__copy {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}

.site-footer__copy a {
  color: rgba(255, 255, 255, 0.72);
  transition: color 0.2s ease;
}

.site-footer__copy a:hover {
  color: var(--green);
}

/* ---------- 客服系统 ---------- */
.cs__fab {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 200;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green-grad-from), var(--green-grad-to));
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-float);
  transition: transform 0.2s ease;
}

.cs__fab:hover {
  transform: scale(1.06);
}

.cs__fab-icon {
  width: 28px;
  height: 28px;
}

.cs__panel {
  position: fixed;
  right: 24px;
  bottom: 96px;
  z-index: 200;
  width: 340px;
  max-width: calc(100vw - 32px);
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-float);
  overflow: hidden;
  animation: cs-panel-in 0.22s ease;
}

@keyframes cs-panel-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.cs__head {
  position: relative;
  padding: 20px 20px 16px;
  background: linear-gradient(135deg, var(--green-grad-from), var(--green-grad-to));
  color: #FFFFFF;
}

.cs__title {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
}

.cs__subtitle {
  margin-top: 4px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
}

.cs__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.cs__close:hover {
  background: rgba(255, 255, 255, 0.18);
}

.cs__close svg {
  width: 18px;
  height: 18px;
}

.cs__entries {
  padding: 12px;
}

.cs__entry {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: var(--radius-sm);
  text-align: left;
  transition: background 0.2s ease;
}

.cs__entry:hover {
  background: var(--green-light-bg);
}

.cs__entry-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--green-light-bg);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cs__entry-icon svg {
  width: 22px;
  height: 22px;
}

.cs__entry-body {
  flex: 1;
  min-width: 0;
}

.cs__entry-title {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: var(--green-deep);
}

.cs__entry-desc {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  color: var(--text-muted);
}

.cs__entry-arrow {
  width: 18px;
  height: 18px;
  color: var(--text-muted);
  flex-shrink: 0;
}

.cs__entry-arrow svg {
  width: 100%;
  height: 100%;
}

/* 报修表单 */
.cs__form {
  padding: 8px 16px 16px;
}

.cs__back {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  font-weight: 700;
  color: var(--green-deep);
  padding: 10px 4px;
}

.cs__back svg {
  width: 18px;
  height: 18px;
  color: var(--green);
}

.cs__field {
  border: none;
  margin-bottom: 14px;
}

.cs__label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--green-deep);
  margin-bottom: 8px;
}

.cs__required {
  color: var(--green);
}

.cs__pills {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.cs__pill input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.cs__pill span {
  display: block;
  text-align: center;
  padding: 8px 4px;
  border-radius: 999px;
  border: 1.5px solid var(--border);
  font-size: 13px;
  color: var(--text);
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
  cursor: pointer;
}

.cs__pill input:checked + span {
  border-color: var(--green);
  background: var(--green-light-bg);
  color: var(--green);
  font-weight: 600;
}

.cs__pill input:focus-visible + span {
  outline: 2px solid var(--green);
  outline-offset: 2px;
}

.cs__textarea,
.cs__input {
  width: 100%;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  font-size: 14px;
  font-family: inherit;
  color: var(--text);
  background: #FFFFFF;
  transition: border-color 0.2s ease;
}

.cs__textarea {
  resize: vertical;
  min-height: 88px;
}

.cs__textarea:focus,
.cs__input:focus {
  outline: none;
  border-color: var(--green);
}

.cs__textarea.has-error,
.cs__input.has-error {
  border-color: #D93025;
}

.cs__error {
  margin-top: 6px;
  font-size: 12px;
  color: #D93025;
}

.cs__submit {
  width: 100%;
  padding: 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--green-grad-from), var(--green-grad-to));
  color: #FFFFFF;
  font-size: 15px;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(39, 174, 96, 0.32);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.cs__submit:hover:not(:disabled) {
  transform: translateY(-1px);
}

.cs__submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  box-shadow: none;
}

.cs__hint {
  margin-top: 12px;
  font-size: 12px;
  line-height: 1.6;
  color: var(--text-muted);
  text-align: center;
}

.cs__hint.is-success {
  color: var(--green);
  font-weight: 600;
}

/* 报修成功态（提交成功后整卡切换） */
.cs__success {
  padding: 32px 24px 20px;
  text-align: center;
  animation: cs-panel-in 0.22s ease;
}

.cs__success-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
}

.cs__success-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.cs__success-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--green-deep);
  line-height: 1.4;
}

.cs__success-desc {
  margin-top: 8px;
  font-size: 14px;
  color: var(--text);
  line-height: 1.6;
}

.cs__success-btn {
  width: 100%;
  margin-top: 20px;
  padding: 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--green-grad-from), var(--green-grad-to));
  color: #FFFFFF;
  font-size: 15px;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(39, 174, 96, 0.32);
  transition: transform 0.2s ease;
}

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

.cs__success-again {
  margin-top: 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--green);
  transition: color 0.2s ease;
}

.cs__success-again:hover {
  text-decoration: underline;
}

.cs__success-tel {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  font-size: 12px;
  color: var(--text-muted);
}

.cs__success-tel a {
  color: var(--green);
  font-weight: 600;
}

/* ==========================================================================
   响应式
   ========================================================================== */

/* ---------- ≤ 1024px ---------- */
@media (max-width: 1024px) {
  .nav__menu {
    gap: 20px;
  }

  .hero__inner {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 32px;
  }

  .services__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* 平板：5 卡改为 2 列常规排布（第 5 卡通栏） */
  .service-card,
  .service-card:nth-child(4),
  .service-card:nth-child(5) {
    grid-column: span 1;
  }

  .service-card:nth-child(5) {
    grid-column: span 2;
  }

  .process__steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .site-footer__top {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* ---------- ≤ 768px ---------- */
@media (max-width: 768px) {
  .nav__cta {
    display: none;
  }

  .nav__toggle {
    display: flex;
    margin-left: 0;
  }

  .nav__brand {
    margin-right: auto;
  }

  /* 移动端折叠菜单 */
  .nav__menu {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    background: #FFFFFF;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-card);
    padding: 8px 24px 20px;
    display: none;
  }

  .nav__menu.is-open {
    display: flex;
  }

  .nav__menu li {
    border-bottom: 1px solid var(--bg-tint);
  }

  .nav__menu li:last-child {
    border-bottom: none;
  }

  .nav__link {
    display: block;
    padding: 14px 0;
    font-size: 16px;
  }

  .nav__menu-cta-item {
    display: block;
    padding-top: 14px;
  }

  .nav__menu-cta {
    width: 100%;
  }

  .hero {
    padding: calc(var(--header-h) + 36px) 0 56px;
  }

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

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .hero__visual {
    order: 2;
    min-height: 240px;
    padding: 24px;
  }

  .stats {
    padding: 28px 0;
  }

  .stats__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .section {
    padding: 56px 0;
  }

  .section__head {
    margin-bottom: 32px;
  }

  /* 移动端 5 卡：2 列错排（第 5 卡通栏） */
  .services__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .service-card,
  .service-card:nth-child(4),
  .service-card:nth-child(5) {
    grid-column: span 1;
    padding: 20px 16px;
  }

  .service-card:nth-child(5) {
    grid-column: span 2;
  }

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

  .process__steps {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* 流程纵向步骤：左侧连接线 */
  .process__step {
    display: grid;
    grid-template-columns: 44px 1fr;
    grid-template-rows: auto auto;
    column-gap: 16px;
    text-align: left;
    padding: 20px;
  }

  .process__num {
    grid-row: 1 / span 2;
    width: 44px;
    height: 44px;
    margin-bottom: 0;
    position: relative;
  }

  .process__step:not(:last-child) .process__num::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 48px;
    bottom: -22px;
    width: 2px;
    transform: translateX(-50%);
    background: var(--green-light-bg);
  }

  .process__step-title {
    align-self: center;
  }

  .process__step-desc {
    margin-top: 2px;
  }

  .cs__panel {
    right: 16px;
    left: 16px;
    bottom: 88px;
    width: auto;
  }
}

/* ---------- ≤ 375px ---------- */
@media (max-width: 375px) {
  .container {
    padding: 0 16px;
  }

  .nav {
    padding: 0 16px;
  }

  .nav__brand-name {
    font-size: 16px;
  }

  .nav__logo {
    width: 34px;
    height: 34px;
  }

  .hero__title-line2 {
    font-size: 28px;
  }

  .hero__subtitle {
    font-size: 15px;
  }

  .stats__num {
    font-size: 24px;
  }

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

  .service-card,
  .service-card:nth-child(4),
  .service-card:nth-child(5) {
    grid-column: span 1;
  }

  .cs__pills {
    grid-template-columns: repeat(2, 1fr);
  }

  .cs__fab {
    right: 16px;
    bottom: 16px;
    width: 52px;
    height: 52px;
  }
}
