/* ============================================================
   专测平台推广页 - Responsive
   ============================================================ */

/* 桌面 */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 2.5rem;
  }

  .hero-visual {
    order: -1;
  }

  .logo-text-main {
    font-size: 0.9375rem;
  }

  .logo-text-en {
    font-size: 0.625rem;
  }

  .category-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .process-grid::before,
  .process-grid::after {
    display: none;
  }

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

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

  .footer-brand {
    grid-column: 1 / -1;
  }
}

/* 平板 */
@media (max-width: 880px) {
  .nav-list {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--t-base);
    box-shadow: var(--shadow-lg);
    z-index: 99;
  }

  .nav-list.is-mobile-open {
    max-height: 480px;
  }

  .nav-list .nav-link {
    width: 100%;
    padding: 0.875rem 1rem;
  }

  .nav-mobile-toggle {
    display: inline-flex;
  }

  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem 1rem;
  }

  .hero-stat:nth-child(2)::after,
  .hero-stat:nth-child(4)::after {
    display: none;
  }
}

/* 移动 */
@media (max-width: 768px) {
  .header-inner {
    height: 64px;
  }

  .logo {
    font-size: 1.125rem;
  }

  .logo-mark {
    width: 36px;
    height: 36px;
    font-size: 1rem;
  }

  .logo-text-main {
    font-size: 0.875rem;
    letter-spacing: -0.01em;
  }

  .logo-text-en {
    font-size: 0.625rem;
  }

  .nav-actions .btn {
    padding: 0.5rem 0.875rem;
    font-size: 0.8125rem;
  }

  .section {
    padding-top: clamp(2.5rem, 8vw, 3.5rem);
    padding-bottom: clamp(2.5rem, 8vw, 3.5rem);
  }

  .section-header {
    margin-bottom: 2rem;
  }

  .hero-cta .btn {
    flex: 1;
    min-width: 140px;
  }

  .hero-image {
    height: 240px;
  }

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

  .process-grid {
    gap: 2rem 1rem;
  }

  .process-grid::before,
  .process-grid::after {
    display: none;
  }

  .category-list {
    min-height: auto;
  }

  .contact-form {
    padding: 1.5rem;
  }

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

  .contact-actions {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .contact-btn {
    padding: 0.875rem 1.25rem;
  }

  .contact-btn-num {
    font-size: 1.125rem;
  }

  .contact-meta {
    flex-direction: column;
    gap: 0.5rem;
  }

  .contact-meta-divider {
    display: none;
  }

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

  .footer-brand {
    grid-column: auto;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .floating-phone {
    right: 1rem;
    bottom: 1rem;
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
  }
}

/* 小屏 */
@media (max-width: 480px) {
  :root {
    --container-pad: 1rem;
  }

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

  .logo-text-main {
    font-size: 0.8125rem;
  }

  .logo-text-en {
    font-size: 0.5625rem;
  }

  .nav-actions .btn-text {
    display: none;
  }

  .hero-title {
    font-size: 1.875rem;
  }

  .hero-inner {
    min-height: auto;
    padding: 3rem 0 2.5rem;
  }

  .hero-image {
    height: 240px;
  }

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

  .category-grid,
  .features-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .process-num {
    width: 64px;
    height: 64px;
    font-size: 1.5rem;
  }

  .hero-stat-num {
    font-size: 1.625rem;
  }

  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem 0.75rem;
  }

  .floating-phone {
    right: 0.75rem;
    bottom: 0.875rem;
  }
}

/* 大屏 */
@media (min-width: 1600px) {
  :root {
    --fs-hero: 4.25rem;
    --container-max: 1320px;
  }
}

@media print {
  .topbar, .header, .floating-phone, .contact { display: none; }
}

/* ============================================================
   手机端专项优化（不影响桌面端）
   ============================================================ */

/* 通用移动端基础（所有触屏设备） */
@media (hover: none) and (pointer: coarse) {
  a, button {
    -webkit-tap-highlight-color: rgba(28, 100, 242, 0.12);
  }

  /* 防止 iOS Safari 表单聚焦时自动放大（输入 16px 即可） */
  input, textarea, select {
    font-size: 16px;
  }
}

/* 通用：横竖屏切换时不缩放文字 */
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

/* 手机端锚点滚动预留更小空间 */
@media (max-width: 768px) {
  html {
    scroll-padding-top: 72px;
  }
}

/* ============ 平板/大手机（≤768px） ============ */
@media (max-width: 768px) {
  /* 顶部导航更紧凑：取消英文副标 */
  .logo-text-en {
    display: none;
  }

  .logo-text-main {
    font-size: 0.9375rem;
  }

  /* 主导航菜单全屏抽屉样式 */
  .nav-list {
    border-top: 1px solid var(--color-border);
    padding: 0.5rem 0;
  }

  .nav-list .nav-link {
    font-size: 1rem;
    padding: 1rem 1.25rem;
    border-radius: 0;
  }

  .nav-list .nav-link.is-active {
    background: var(--color-primary-soft);
    color: var(--color-primary);
    border-left: 3px solid var(--color-primary);
    padding-left: calc(1.25rem - 3px);
  }

  /* Hero 区：紧凑、热线电话移到内容区下方 */
  .hero {
    padding-top: 1.5rem;
    padding-bottom: 2rem;
  }

  .hero-inner {
    gap: 1.75rem;
    padding: 1.5rem 0 0;
  }

  .hero-badge {
    font-size: 0.8125rem;
    padding: 0.4rem 0.875rem;
    margin-bottom: 1.25rem;
  }

  .hero-title {
    font-size: clamp(1.875rem, 7vw, 2.5rem);
    line-height: 1.2;
    margin-bottom: 0.875rem;
  }

  .hero-subtitle-en {
    font-size: 0.9375rem;
    margin-bottom: 1rem;
  }

  .hero-desc {
    font-size: 1rem;
  }

  .hero-cta {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }

  .hero-cta .btn {
    width: 100%;
    padding: 0.95rem 1.25rem;
    font-size: 1rem;
  }

  /* Hero 图：缩小、热线卡片往中间移 */
  .hero-image {
    height: 220px;
  }

  .hero-hotline {
    top: 0.75rem;
    right: 0.75rem;
    padding: 0.5rem 0.75rem;
  }

  .hero-hotline-num {
    font-size: 1rem;
  }

  .hero-overlay-card {
    bottom: 1rem;
    left: 1rem;
    right: 1rem;
    padding: 0.75rem 1rem;
    gap: 0.625rem;
  }

  .hero-overlay-icon {
    width: 36px;
    height: 36px;
  }

  .hero-overlay-text strong {
    font-size: 0.8125rem;
  }

  .hero-overlay-text span {
    font-size: 0.75rem;
  }

  /* Hero 数据条 */
  .hero-stats {
    padding: 1.5rem 0 0;
    gap: 1.25rem 0.75rem;
  }

  .hero-stat-num {
    font-size: clamp(1.5rem, 6vw, 2rem);
  }

  .hero-stat-label {
    font-size: 0.8125rem;
  }

  /* 标题字号 */
  .section-title {
    font-size: clamp(1.5rem, 6vw, 1.875rem);
  }

  .section-subtitle {
    font-size: 0.9375rem;
  }

  /* 全领域大图 banner 高度收一下 */
  .categories-banner img {
    aspect-ratio: 16 / 7;
  }

  /* 检测领域卡片：图片小一点，列表更紧凑 */
  .category-image {
    height: 130px;
  }

  .category-body {
    padding: 1rem 1rem 0;
  }

  .category-title {
    font-size: 1rem;
    margin-bottom: 0.625rem;
  }

  .category-list {
    min-height: auto;
    gap: 0.375rem;
    margin-bottom: 0.875rem;
  }

  .category-list li {
    font-size: 0.8125rem;
    line-height: 1.45;
  }

  .category-cta {
    padding: 0.625rem 1rem;
    font-size: 0.8125rem;
    margin: 0 1rem 1rem;
  }

  /* 平台优势：图标和文字紧凑 */
  .feature-item {
    padding: 1.75rem 1.25rem 1.5rem;
  }

  .feature-icon {
    width: 56px;
    height: 56px;
    margin-bottom: 1rem;
    border-radius: 14px;
  }

  .feature-icon svg {
    width: 26px;
    height: 26px;
  }

  .feature-title {
    font-size: 1.0625rem;
    margin-bottom: 0.5rem;
  }

  .feature-desc {
    font-size: 0.875rem;
    line-height: 1.6;
  }

  /* 检测流程：手机端也用 2 列但压缩 */
  .process-item {
    padding: 0 0.25rem;
  }

  .process-num {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }

  .process-title {
    font-size: 0.9375rem;
  }

  .process-desc {
    font-size: 0.8125rem;
    line-height: 1.55;
  }

  /* 联系区 */
  .contact-inner {
    padding: 0 0.25rem;
  }

  .contact-title {
    font-size: clamp(1.375rem, 5.5vw, 1.75rem);
  }

  .contact-desc {
    font-size: 0.9375rem;
    line-height: 1.7;
  }

  .contact-btn {
    padding: 1rem 1.25rem;
    gap: 0.75rem;
  }

  .contact-btn svg {
    width: 24px;
    height: 24px;
  }

  .contact-btn-num {
    font-size: 1.125rem;
  }

  /* Footer */
  .footer {
    padding: 2.5rem 0 1.5rem;
  }

  .footer-title {
    font-size: 0.875rem;
    margin-bottom: 0.875rem;
  }

  .footer-list a,
  .footer-contact-item {
    font-size: 0.8125rem;
  }

  /* 浮动电话：稍微小一点，并支持 iPhone 底部安全区 */
  .floating-phone {
    right: 1rem;
    bottom: calc(1rem + env(safe-area-inset-bottom));
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
  }

  .floating-phone svg {
    width: 16px;
    height: 16px;
  }

  /* 关闭不必要的复杂动画（手机端省电） */
  .floating-phone::before {
    display: none;
  }

  /* 滚动条优化：手机端隐藏但保持可滚动 */
  ::-webkit-scrollbar {
    width: 4px;
    height: 4px;
  }

  ::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.15);
    border-radius: 2px;
  }
}

/* ============ 小屏手机（≤480px） ============ */
@media (max-width: 480px) {
  /* 头部高度微调：容纳 logo + 汉堡 */
  .header-inner {
    height: 60px;
    gap: 0.75rem;
  }

  /* logo 缩小：仅保留"专测"主名（桌面那种长名隐藏） */
  .logo-mark {
    width: 32px;
    height: 32px;
  }

  .logo-text-main {
    font-size: 0.9375rem;
    max-width: 140px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  /* Hero */
  .hero {
    padding-top: 1rem;
  }

  .hero-inner {
    gap: 1.25rem;
    padding: 1rem 0 0;
  }

  .hero-title {
    font-size: 1.75rem;
  }

  .hero-cta .btn {
    padding: 0.875rem 1rem;
    font-size: 0.9375rem;
  }

  .hero-image {
    height: 180px;
  }

  .hero-hotline {
    padding: 0.4rem 0.625rem;
  }

  .hero-hotline-label {
    font-size: 0.6875rem;
  }

  .hero-hotline-num {
    font-size: 0.875rem;
  }

  .hero-overlay-text strong {
    font-size: 0.75rem;
  }

  .hero-overlay-text span {
    font-size: 0.6875rem;
  }

  /* Hero 数据 2x2 紧凑 */
  .hero-stats {
    padding: 1.25rem 0 0;
    gap: 1rem 0.5rem;
  }

  .hero-stat {
    padding: 0 0.25rem;
  }

  .hero-stat-num {
    font-size: 1.5rem;
  }

  .hero-stat-label {
    font-size: 0.75rem;
  }

  /* 检测领域：手机端单列 */
  .category-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .category-card {
    display: grid;
    grid-template-columns: 120px 1fr;
    align-items: stretch;
  }

  .category-image {
    height: auto;
    min-height: 120px;
  }

  .category-body {
    padding: 0.875rem 1rem 0;
  }

  .category-cta {
    grid-column: 1 / -1;
    margin: 0 1rem 1rem;
    border-radius: var(--radius-sm);
  }

  /* 平台优势：手机端单列 */
  .features-grid {
    grid-template-columns: 1fr;
    gap: 0.875rem;
  }

  .feature-item {
    display: grid;
    grid-template-columns: 56px 1fr;
    grid-template-areas: "icon title" "icon desc";
    text-align: left;
    gap: 0 0.875rem;
    padding: 1.25rem;
  }

  .feature-icon {
    grid-area: icon;
    width: 48px;
    height: 48px;
    margin: 0;
  }

  .feature-icon svg {
    width: 24px;
    height: 24px;
  }

  .feature-title {
    grid-area: title;
    margin: 0 0 0.25rem;
  }

  .feature-desc {
    grid-area: desc;
  }

  /* 检测流程：手机端单列，左侧时间线 */
  .process-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
    max-width: 100%;
  }

  .process-item {
    display: grid;
    grid-template-columns: 60px 1fr;
    grid-template-areas: "num text";
    text-align: left;
    align-items: center;
    gap: 0.875rem;
    padding: 0.75rem 0.75rem 0.75rem 0;
  }

  .process-num {
    grid-area: num;
    width: 52px;
    height: 52px;
    font-size: 1.25rem;
    margin: 0;
  }

  .process-num::after {
    display: none;
  }

  .process-title {
    grid-area: text;
    font-size: 1rem;
    margin: 0 0 0.25rem;
  }

  .process-desc {
    font-size: 0.8125rem;
    line-height: 1.5;
    max-width: none;
    margin: 0;
  }

  /* 联系区按钮更紧凑 */
  .contact-btn {
    padding: 0.875rem 1rem;
    border-radius: 12px;
  }

  .contact-btn-label {
    font-size: 0.75rem;
  }

  .contact-btn-num {
    font-size: 1rem;
  }

  .contact-meta-item {
    font-size: 0.8125rem;
  }

  /* Footer 紧凑 */
  .footer {
    padding: 2rem 0 1.25rem;
  }

  .footer-bottom {
    font-size: 0.75rem;
  }

  /* 浮动电话：再小一点 */
  .floating-phone {
    padding: 0.625rem 0.875rem;
    font-size: 0.8125rem;
    border-radius: 999px;
  }
}

/* ============ 极小屏（≤360px） ============ */
@media (max-width: 360px) {
  :root {
    --container-pad: 0.875rem;
  }

  .hero-title {
    font-size: 1.5rem;
  }

  .hero-stats {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem 0.25rem;
  }

  .hero-stat-num {
    font-size: 1.25rem;
  }

  .floating-phone {
    right: 0.625rem;
    padding: 0.5rem 0.75rem;
    font-size: 0.75rem;
  }
}

/* ============ 横屏手机（高度<500px） ============ */
@media (max-height: 500px) and (orientation: landscape) {
  .hero-image {
    height: 160px;
  }

  .hero-stats {
    padding: 1rem 0 0;
  }

  .float-card {
    display: none !important;
  }

  .floating-phone {
    padding: 0.5rem 0.875rem;
    font-size: 0.8125rem;
  }
}

/* ============ iOS 安全区：底部内容避免被 Home Indicator 遮挡 ============ */
@supports (padding: max(0px)) {
  .footer {
    padding-bottom: max(1.5rem, env(safe-area-inset-bottom));
  }

  .floating-phone {
    bottom: max(1rem, env(safe-area-inset-bottom));
  }
}

/* ============================================================
   自动检测触屏设备（手机 / 平板 / 触屏笔电）
   一律应用手机端优化布局 —— 桌面端（鼠标设备）不受影响
   ============================================================ */
@media (hover: none) and (pointer: coarse) {
  /* 容器左右内边距在窄屏时再压缩一些 */
  :root {
    --container-pad: 0.875rem;
  }

  /* 头部高度 56px，进一步压缩 */
  .header-inner {
    height: 56px;
    gap: 0.5rem;
  }

  /* 隐藏英文副标，logo 更紧凑 */
  .logo-text-en {
    display: none !important;
  }

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

  .logo-text-main {
    font-size: 0.875rem;
    max-width: 140px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  /* 主导航默认隐藏，改用汉堡按钮 */
  .nav-list {
    position: fixed;
    top: 56px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--t-base);
    box-shadow: var(--shadow-lg);
    z-index: 99;
    border-top: 1px solid var(--color-border);
    padding: 0;
  }

  .nav-list.is-mobile-open {
    max-height: 480px;
  }

  .nav-list .nav-link {
    width: 100%;
    font-size: 1rem;
    padding: 1rem 1.25rem;
    border-radius: 0;
  }

  .nav-list .nav-link.is-active {
    background: var(--color-primary-soft);
    color: var(--color-primary);
    border-left: 3px solid var(--color-primary);
    padding-left: calc(1.25rem - 3px);
  }

  .nav-mobile-toggle {
    display: inline-flex;
    width: 40px;
    height: 40px;
  }

  /* 顶部 header 内的 400 电话文字隐藏（保留点击区域） */
  .nav-phone {
    padding: 0.5rem 0.625rem;
    font-size: 0;
  }

  .nav-phone svg {
    width: 20px;
    height: 20px;
  }

  .nav-actions .btn {
    padding: 0.5rem 0.875rem;
    font-size: 0.8125rem;
  }

  /* 锚点偏移 60px（避开紧凑 header） */
  html {
    scroll-padding-top: 60px;
  }

  /* ============ Hero 区紧凑 ============ */
  .hero {
    padding-top: 1rem;
    padding-bottom: 1.5rem;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 1.25rem;
    padding: 0.5rem 0 0;
  }

  .hero-visual {
    order: -1;
  }

  .hero-badge {
    font-size: 0.75rem;
    padding: 0.4rem 0.875rem;
    margin-bottom: 1rem;
  }

  .hero-title {
    font-size: clamp(1.625rem, 7vw, 2.125rem);
    line-height: 1.2;
    margin-bottom: 0.75rem;
  }

  .hero-subtitle-en {
    font-size: 0.875rem;
    margin-bottom: 0.875rem;
  }

  .hero-desc {
    font-size: 0.9375rem;
    line-height: 1.6;
    max-width: none;
  }

  .hero-cta {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0.625rem;
  }

  .hero-cta .btn {
    width: 100%;
    padding: 0.95rem 1.25rem;
    font-size: 0.9375rem;
  }

  .hero-image-wrap {
    max-width: 100%;
  }

  .hero-image {
    height: 200px;
  }

  .hero-hotline {
    top: 0.625rem;
    right: 0.625rem;
    padding: 0.4rem 0.625rem;
  }

  .hero-hotline-label {
    font-size: 0.6875rem;
  }

  .hero-hotline-num {
    font-size: 0.875rem;
  }

  .hero-overlay-card {
    bottom: 0.875rem;
    left: 0.875rem;
    right: 0.875rem;
    padding: 0.625rem 0.875rem;
    gap: 0.5rem;
  }

  .hero-overlay-icon {
    width: 32px;
    height: 32px;
  }

  .hero-overlay-text strong {
    font-size: 0.75rem;
  }

  .hero-overlay-text span {
    font-size: 0.6875rem;
  }

  /* Hero 数据 2x2 紧凑 */
  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    padding: 1.25rem 0 0;
    gap: 1rem 0.5rem;
  }

  .hero-stat {
    padding: 0 0.25rem;
  }

  .hero-stat-num {
    font-size: clamp(1.375rem, 5vw, 1.75rem);
  }

  .hero-stat-label {
    font-size: 0.75rem;
  }

  /* ============ Section 通用 ============ */
  .section {
    padding-top: clamp(2.25rem, 7vw, 3rem);
    padding-bottom: clamp(2.25rem, 7vw, 3rem);
  }

  .section-header {
    margin-bottom: 1.75rem;
  }

  .section-title {
    font-size: clamp(1.375rem, 5.5vw, 1.75rem);
  }

  .section-subtitle {
    font-size: 0.875rem;
  }

  /* ============ 全领域 banner ============ */
  .categories-banner {
    margin: 0 0 2rem;
  }

  .categories-banner img {
    aspect-ratio: 16 / 8;
  }

  /* ============ 检测领域：单列横版卡 ============ */
  .category-grid {
    grid-template-columns: 1fr;
    gap: 0.875rem;
  }

  .category-card {
    display: grid;
    grid-template-columns: 110px 1fr;
    align-items: stretch;
  }

  .category-image {
    height: auto;
    min-height: 110px;
  }

  .category-body {
    padding: 0.75rem 0.875rem 0;
  }

  .category-title {
    font-size: 0.9375rem;
    margin-bottom: 0.5rem;
  }

  .category-list {
    min-height: auto;
    gap: 0.25rem;
    margin-bottom: 0.625rem;
  }

  .category-list li {
    font-size: 0.75rem;
    line-height: 1.4;
    padding-left: 0.875rem;
  }

  .category-cta {
    grid-column: 1 / -1;
    padding: 0.5rem 0.875rem;
    font-size: 0.75rem;
    margin: 0 0.875rem 0.875rem;
  }

  /* ============ 平台优势：单列 + 横版布局 ============ */
  .features-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .feature-item {
    display: grid;
    grid-template-columns: 48px 1fr;
    grid-template-areas: "icon title" "icon desc";
    text-align: left;
    gap: 0 0.875rem;
    padding: 1rem 1.125rem;
  }

  .feature-icon {
    grid-area: icon;
    width: 48px;
    height: 48px;
    margin: 0;
    border-radius: 12px;
  }

  .feature-icon svg {
    width: 24px;
    height: 24px;
  }

  .feature-title {
    grid-area: title;
    font-size: 1rem;
    margin: 0 0 0.25rem;
  }

  .feature-desc {
    grid-area: desc;
    font-size: 0.8125rem;
    line-height: 1.55;
  }

  /* ============ 检测流程：单列横版 ============ */
  .process-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    max-width: 100%;
  }

  .process-grid::before,
  .process-grid::after {
    display: none;
  }

  .process-item {
    display: grid;
    grid-template-columns: 52px 1fr;
    grid-template-areas: "num text";
    text-align: left;
    align-items: center;
    gap: 0.875rem;
    padding: 0.625rem 0.5rem 0.625rem 0;
  }

  .process-num {
    grid-area: num;
    width: 52px;
    height: 52px;
    font-size: 1.25rem;
    margin: 0;
  }

  .process-num::after {
    display: none;
  }

  .process-title {
    grid-area: text;
    font-size: 0.9375rem;
    margin: 0 0 0.25rem;
  }

  .process-desc {
    font-size: 0.75rem;
    line-height: 1.5;
    max-width: none;
    margin: 0;
  }

  /* ============ 联系区：单列按钮 ============ */
  .contact-inner {
    padding: 0 0.25rem;
  }

  .contact-title {
    font-size: clamp(1.25rem, 5vw, 1.625rem);
  }

  .contact-desc {
    font-size: 0.875rem;
    line-height: 1.65;
    margin-bottom: 1.5rem;
  }

  .contact-actions {
    grid-template-columns: 1fr;
    gap: 0.625rem;
    max-width: 360px;
    margin: 0 auto 1.5rem;
  }

  .contact-btn {
    padding: 0.875rem 1.125rem;
    border-radius: 12px;
    gap: 0.75rem;
  }

  .contact-btn svg {
    width: 24px;
    height: 24px;
  }

  .contact-btn-label {
    font-size: 0.75rem;
  }

  .contact-btn-num {
    font-size: 1.0625rem;
  }

  .contact-meta {
    flex-direction: column;
    gap: 0.5rem;
  }

  .contact-meta-item {
    font-size: 0.8125rem;
  }

  .contact-meta-divider {
    display: none;
  }

  /* ============ Footer 单列 ============ */
  .footer {
    padding: 2rem 0 1.25rem;
  }

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

  .footer-brand {
    grid-column: auto;
  }

  .footer-title {
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
  }

  .footer-list a,
  .footer-contact-item {
    font-size: 0.8125rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    font-size: 0.75rem;
  }

  .footer-records {
    gap: 0.5rem 0.875rem;
    font-size: 0.6875rem;
  }

  .footer-record {
    gap: 0.25rem;
  }

  /* ============ 浮动电话：紧凑 + 安全区 ============ */
  .floating-phone {
    right: 0.875rem;
    bottom: calc(0.875rem + env(safe-area-inset-bottom));
    padding: 0.625rem 0.875rem;
    font-size: 0.8125rem;
    border-radius: 999px;
  }

  .floating-phone svg {
    width: 16px;
    height: 16px;
  }

  .floating-phone::before {
    display: none;
  }

  /* ============ 漂浮大图卡：触屏不显示（避免误触） ============ */
  .float-card {
    display: none !important;
  }

  /* ============ 滚动条 ============ */
  ::-webkit-scrollbar {
    width: 4px;
    height: 4px;
  }

  ::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.15);
    border-radius: 2px;
  }
}

/* ============================================================
   易聊 (Easyliao) 移动端覆盖样式（最高优先级 !important）
   防止聊天框溢出手机屏幕、遮盖导航栏
   ============================================================ */
@media (hover: none) and (pointer: coarse) {
  #jesong_panel {
    position: fixed !important;
    z-index: 2147483600 !important;
  }

  #jesong_chat_layout,
  .jesong_phone_layout,
  .jesong_chat_layout_mobile,
  .jesong_chat_layout {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    max-width: 100vw !important;
    max-height: 100vh !important;
    transform: none !important;
    border-radius: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    background: #fff !important;
  }

  #jesong_chat_layout iframe,
  .jesong_phone_layout iframe,
  .jesong_chat_layout_mobile iframe,
  #jesong_panel iframe {
    width: 100% !important;
    height: 100% !important;
    min-height: 100vh !important;
    max-height: 100vh !important;
    border: 0 !important;
    display: block !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
  }

  #jesong_chat_max_btn,
  #jesong_chat_min_btn,
  #jesong_chat_close_btn {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;
  }

  #airBubblesUl {
    bottom: 80px !important;
    right: 12px !important;
    z-index: 2147483601 !important;
  }

  /* 表单弹层（如开启 askForm）也强制全屏 */
  #jesong_pop_msg,
  .jesong_pop_msg_phone {
    z-index: 2147483602 !important;
    max-width: 100vw !important;
  }
}

/* ============================================================
   流体适配：宽度 360~900px 之间额外微调
   ============================================================ */
@media (hover: none) and (pointer: coarse) and (max-width: 360px) {
  :root {
    --container-pad: 0.75rem;
  }

  .hero-title {
    font-size: 1.5rem;
  }

  .hero-image {
    height: 160px;
  }

  .hero-stat-num {
    font-size: 1.25rem;
  }

  .category-card {
    grid-template-columns: 90px 1fr;
  }

  .category-image {
    min-height: 90px;
  }

  .floating-phone {
    right: 0.625rem;
    padding: 0.5rem 0.75rem;
    font-size: 0.75rem;
  }
}

/* ============================================================
   流体适配：超大屏触屏设备（iPad Pro 12.9 横向）
   保持 2 列桌面布局，但隐藏英文副标、压缩间距
   ============================================================ */
@media (hover: none) and (pointer: coarse) and (min-width: 901px) {
  .logo-text-en {
    display: none;
  }

  .section {
    padding-top: clamp(3rem, 4vw, 4rem);
    padding-bottom: clamp(3rem, 4vw, 4rem);
  }

  .hero-inner {
    grid-template-columns: 1.1fr 1fr;
  }

  .hero-title {
    font-size: clamp(2.25rem, 3.5vw, 3rem);
  }

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

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

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

  .footer-grid {
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 2rem;
  }
}
