/*  NetOpt — 移动端优先 · 响应式 H5 + PC · 蓝白科技风 */
:root {
  --blue-50: #eff6ff;
  --blue-100: #dbeafe;
  --blue-300: #93c5fd;
  --blue-400: #60a5fa;
  --blue-500: #3b82f6;
  --blue-600: #2563eb;
  --blue-700: #1d4ed8;
  --blue-900: #1e3a8a;
  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-600: #475569;
  --slate-800: #1e293b;
  --slate-900: #0f172a;
  --white: #ffffff;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 8px 24px rgba(30, 64, 175, 0.12);
  --shadow-lg: 0 16px 48px rgba(30, 58, 138, 0.18);
  --radius: 16px;
  --radius-sm: 12px;
  --font: "SF Pro SC", "PingFang SC", system-ui, -apple-system, "Segoe UI",
    Roboto, "Helvetica Neue", Arial, "Noto Sans SC", sans-serif;
  --header-h: 56px;
  --tap-min: 48px;
  --layout-max: 1120px;
  --layout-pad-x: 16px;
  --breakpoint-md: 640px;
  --breakpoint-lg: 900px;
  --breakpoint-xl: 1200px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  color: var(--slate-800);
  background: linear-gradient(180deg, var(--blue-50) 0%, var(--white) 32%);
  min-height: 100dvh;
  padding-bottom: env(safe-area-inset-bottom);
}

a {
  color: var(--blue-600);
  text-decoration: none;
}

a:active {
  opacity: 0.85;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.page-wrap {
  width: 100%;
  max-width: var(--layout-max);
  margin: 0 auto;
  padding-left: var(--layout-pad-x);
  padding-right: var(--layout-pad-x);
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

main {
  flex: 1;
  padding-top: var(--header-h);
}

/* —— 顶部栏 —— */
.app-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  padding-top: env(safe-area-inset-top);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(37, 99, 235, 0.12);
  box-shadow: var(--shadow-sm);
}

.app-header__inner {
  max-width: var(--layout-max);
  margin: 0 auto;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--layout-pad-x);
  gap: 12px;
  box-sizing: border-box;
}

/* PC 端顶部横向导航（小屏由抽屉承担） */
.header-nav {
  display: none;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: flex-end;
  margin-inline: 12px;
}

.header-nav__link {
  padding: 10px 14px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--slate-700);
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
}

.header-nav__link:hover {
  color: var(--blue-700);
  background: var(--blue-50);
}

.header-nav__link.is-active {
  color: var(--blue-700);
  background: var(--blue-100);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: var(--tap-min);
  color: var(--slate-900);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.brand__logo {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--blue-500), var(--blue-700));
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
  flex-shrink: 0;
}

.icon-btn {
  min-width: var(--tap-min);
  min-height: var(--tap-min);
  padding: 0;
  border: none;
  border-radius: 12px;
  background: var(--blue-50);
  color: var(--blue-700);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.15s;
}

.icon-btn:active {
  transform: scale(0.96);
  background: var(--blue-100);
}

.icon-btn svg {
  width: 24px;
  height: 24px;
}

/* —— 抽屉菜单 —— */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(15, 23, 42, 0.45);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s;
}

.drawer-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

.drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 210;
  width: min(300px, 86vw);
  background: var(--white);
  box-shadow: var(--shadow-lg);
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  padding-top: env(safe-area-inset-top);
}

.drawer.is-open {
  transform: translateX(0);
}

.drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 16px 12px;
  border-bottom: 1px solid var(--slate-100);
}

.drawer__title {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: var(--slate-900);
}

.drawer__nav {
  flex: 1;
  overflow-y: auto;
  padding: 12px 8px 24px;
}

.drawer__link {
  display: flex;
  align-items: center;
  min-height: var(--tap-min);
  padding: 0 16px;
  border-radius: var(--radius-sm);
  color: var(--slate-800);
  font-weight: 500;
  font-size: 1rem;
}

.drawer__link:hover,
.drawer__link:focus-visible {
  background: var(--blue-50);
  color: var(--blue-700);
  outline: none;
}

.drawer__link.is-active {
  background: var(--blue-100);
  color: var(--blue-700);
}

body.drawer-open {
  overflow: hidden;
}

/* —— 区块通用 —— */
.section {
  padding: 28px 0;
}

.section--tight {
  padding-top: 16px;
}

.section-title {
  margin: 0 0 6px;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--slate-900);
}

.section-sub {
  margin: 0 0 20px;
  font-size: 0.9rem;
  color: var(--slate-600);
}

.muted {
  color: var(--slate-600);
  font-size: 0.9rem;
}

/* —— 按钮 —— */
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: var(--tap-min);
  padding: 0 20px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.12s, box-shadow 0.2s, background 0.2s;
}

.btn:active {
  transform: scale(0.98);
}

.btn--primary {
  background: linear-gradient(135deg, var(--blue-500), var(--blue-700));
  color: var(--white);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.35);
}

.btn--secondary {
  background: var(--white);
  color: var(--blue-700);
  border-color: rgba(37, 99, 235, 0.35);
  box-shadow: var(--shadow-sm);
}

.btn--ghost {
  background: transparent;
  color: var(--blue-700);
  border-color: rgba(37, 99, 235, 0.2);
}

.btn--block {
  width: 100%;
}

.btn--sm {
  min-height: 44px;
  padding: 0 16px;
  font-size: 0.95rem;
}

/* —— Hero 轮播 —— */
.hero-carousel {
  position: relative;
  margin: 0 0 20px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--slate-900);
}

.hero-carousel__viewport {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
}

@media (min-width: 900px) {
  .hero-carousel__viewport {
    aspect-ratio: 21 / 9;
    max-height: min(420px, 50vh);
  }
}

.hero-carousel__track {
  display: flex;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-slide {
  flex: 0 0 100%;
  position: relative;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  background-size: cover;
  background-position: center;
}

.hero-slide--1 {
  background: linear-gradient(
      135deg,
      rgba(15, 23, 42, 0.75),
      rgba(37, 99, 235, 0.55)
    ),
    linear-gradient(180deg, #1e3a8a 0%, #0ea5e9 100%);
}

.hero-slide--2 {
  background: linear-gradient(
      135deg,
      rgba(15, 23, 42, 0.7),
      rgba(14, 165, 233, 0.5)
    ),
    linear-gradient(90deg, #1d4ed8, #38bdf8);
}

.hero-slide--3 {
  background: linear-gradient(
      135deg,
      rgba(15, 23, 42, 0.72),
      rgba(59, 130, 246, 0.55)
    ),
    radial-gradient(circle at 80% 20%, #93c5fd 0%, transparent 45%),
    #1e40af;
}

.hero-slide__badge {
  align-self: flex-start;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
  color: #e0f2fe;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.hero-slide h2 {
  margin: 0 0 8px;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.hero-slide p {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.88);
  max-width: 32ch;
}

.hero-carousel__dots {
  position: absolute;
  bottom: 12px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 8px;
  z-index: 2;
}

.hero-dot {
  border: none;
  padding: 12px;
  margin: 0;
  cursor: pointer;
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
}

.hero-dot span {
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  transition: transform 0.2s, background 0.2s;
}

.hero-dot.is-active span {
  background: var(--white);
  transform: scale(1.2);
}

.cta-bar {
  padding: 0 0 8px;
}

@media (min-width: 640px) {
  .cta-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
  }

  .cta-bar .btn--block {
    width: auto;
    min-width: 200px;
    flex: 1 1 auto;
  }
}

/* —— 服务卡片网格 —— */
.card-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
}

@media (min-width: 900px) {
  .card-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }
}

.service-card {
  display: block;
  padding: 16px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid rgba(37, 99, 235, 0.1);
  box-shadow: var(--shadow-sm);
  color: inherit;
  transition: box-shadow 0.2s, transform 0.15s;
}

.service-card:active {
  transform: scale(0.99);
  box-shadow: var(--shadow-md);
}

@media (min-width: 900px) {
  .service-card:hover {
    box-shadow: var(--shadow-md);
    border-color: rgba(37, 99, 235, 0.22);
  }
}

.service-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--blue-50);
  border: 1px dashed var(--blue-400);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--blue-600);
  text-transform: uppercase;
}

.service-card h3 {
  margin: 0 0 6px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--slate-900);
}

.service-card p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--slate-600);
}

/* —— 横向滑动评价 —— */
.scroller {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 8px;
  margin: 0 calc(-1 * var(--layout-pad-x));
  padding-left: var(--layout-pad-x);
  padding-right: var(--layout-pad-x);
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

@media (min-width: 900px) {
  .scroller {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    overflow: visible;
    margin: 0;
    padding: 0;
    scroll-snap-type: none;
  }

  .review-card {
    flex: none;
    min-width: 0;
  }
}

.scroller::-webkit-scrollbar {
  height: 4px;
}

.scroller::-webkit-scrollbar-thumb {
  background: var(--blue-100);
  border-radius: 4px;
}

.review-card {
  flex: 0 0 min(280px, 78vw);
  scroll-snap-align: start;
  padding: 16px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--slate-100);
  box-shadow: var(--shadow-sm);
}

.review-card__stars {
  color: var(--blue-500);
  font-size: 0.85rem;
  letter-spacing: 2px;
  margin-bottom: 8px;
}

.review-card p {
  margin: 0 0 12px;
  font-size: 0.9rem;
  color: var(--slate-700);
}

.review-card__meta {
  font-size: 0.8rem;
  color: var(--slate-500);
}

/* —— 下单引导条 —— */
.cta-panel {
  margin: 0 0 24px;
  padding: 20px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--blue-600), var(--blue-700));
  color: var(--white);
  box-shadow: var(--shadow-md);
}

@media (min-width: 640px) {
  .cta-panel .btn-row {
    justify-content: center;
  }
}

.cta-panel h3 {
  margin: 0 0 8px;
  font-size: 1.15rem;
  font-weight: 800;
}

.cta-panel p {
  margin: 0 0 16px;
  font-size: 0.9rem;
  opacity: 0.95;
}

/* —— 联系摘要 —— */
.contact-strip {
  margin: 0;
  padding: 16px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid rgba(37, 99, 235, 0.12);
}

@media (min-width: 900px) {
  .contact-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0 24px;
    padding: 20px 24px;
  }

  .contact-strip__row {
    flex-direction: column;
    gap: 6px;
    border-bottom: none;
    padding: 12px 0;
    border-right: 1px solid var(--slate-100);
    min-height: auto;
  }

  .contact-strip__row:last-child {
    border-right: 0;
  }

  .contact-strip__label {
    flex: none;
  }
}

.contact-strip__row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--slate-100);
  min-height: var(--tap-min);
}

.contact-strip__row:last-child {
  border-bottom: 0;
}

.contact-strip__label {
  flex: 0 0 72px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--slate-500);
  padding-top: 2px;
}

.contact-strip__value {
  flex: 1;
  font-size: 0.95rem;
  color: var(--slate-800);
  word-break: break-all;
}

/* —— 页脚 —— */
.app-footer {
  margin-top: auto;
  padding: 24px 0 32px;
  text-align: center;
  font-size: 0.8rem;
  color: var(--slate-500);
  border-top: 1px solid rgba(37, 99, 235, 0.08);
  background: rgba(255, 255, 255, 0.6);
}

/* —— 服务页：淡入 —— */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.service-item {
  padding: 16px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--slate-100);
  margin-bottom: 12px;
  box-shadow: var(--shadow-sm);
}

.service-item__top {
  display: flex;
  gap: 14px;
}

.service-item__icon {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  border-radius: 14px;
  background: var(--slate-100);
  border: 1px dashed var(--slate-400);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--slate-500);
}

.service-item h3 {
  margin: 0 0 4px;
  font-size: 1.05rem;
  font-weight: 700;
}

.service-item p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--slate-600);
}

.price-tag {
  margin-top: 10px;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--blue-700);
}

.service-item__actions {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}

.service-item__actions .btn {
  flex: 1;
}

/* 服务列表页：大屏双列 */
.services-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

@media (min-width: 900px) {
  .services-stack {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .services-stack .service-item {
    margin-bottom: 0;
  }
}

/* —— 产品列表 —— */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.chip {
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--slate-200);
  background: var(--white);
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--slate-600);
  cursor: pointer;
}

.chip.is-active {
  background: var(--blue-600);
  border-color: var(--blue-600);
  color: var(--white);
}

.product-card {
  padding: 12px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--slate-100);
  margin-bottom: 12px;
  box-shadow: var(--shadow-sm);
  color: inherit;
}

.product-card__link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.product-card__link:focus-visible {
  outline: 2px solid var(--blue-500);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

.product-card__img {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-sm);
  background: linear-gradient(145deg, var(--blue-100), var(--slate-100));
  border: 1px dashed rgba(37, 99, 235, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--blue-600);
  margin-bottom: 12px;
}

.product-card__row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
}

.product-card h3 {
  margin: 0 0 4px;
  font-size: 1rem;
  font-weight: 700;
}

.product-card__price {
  font-weight: 800;
  color: var(--blue-700);
  white-space: nowrap;
}

.stock {
  display: inline-block;
  margin-top: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
}

.stock--ok {
  background: #dcfce7;
  color: #166534;
}

.stock--low {
  background: #fef3c7;
  color: #92400e;
}

.product-card__actions {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.product-card__actions .btn {
  flex: 1;
  font-size: 0.92rem;
}

.product-card.is-hidden {
  display: none;
}

/* 产品列表页栅格 */
.section-products {
  display: grid;
  gap: 12px;
  align-items: start;
}

.section-products > .section-title,
.section-products > .section-sub,
.section-products > .filter-bar {
  grid-column: 1 / -1;
}

@media (min-width: 640px) {
  .section-products {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

@media (min-width: 1200px) {
  .section-products {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* —— 产品详情 —— */
.pd-layout {
  display: block;
}

@media (min-width: 900px) {
  .pd-layout {
    display: grid;
    grid-template-columns: minmax(280px, 1fr) minmax(320px, 1fr);
    gap: 32px 40px;
    align-items: start;
  }

  .pd-layout .pd-gallery {
    position: sticky;
    top: calc(var(--header-h) + 16px);
  }

  .pd-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .pd-actions .btn--block {
    flex: 1 1 200px;
    width: auto;
    min-width: 180px;
  }
}

.pd-gallery {
  margin: 0 0 16px;
}

.pd-main-img {
  aspect-ratio: 1;
  border-radius: var(--radius);
  background: linear-gradient(160deg, var(--blue-50), var(--white));
  border: 1px dashed var(--blue-300);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--blue-600);
  margin-bottom: 10px;
}

.pd-thumbs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.pd-thumb {
  flex: 0 0 64px;
  width: 64px;
  height: 64px;
  border-radius: 10px;
  border: 2px solid transparent;
  background: var(--slate-100);
  cursor: pointer;
  font-size: 0.55rem;
  font-weight: 700;
  color: var(--slate-500);
  display: flex;
  align-items: center;
  justify-content: center;
}

.pd-thumb.is-selected {
  border-color: var(--blue-600);
}

.pd-info {
  padding: 0 0 20px;
}

.pd-info h1 {
  margin: 0 0 8px;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.pd-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-bottom: 12px;
  font-size: 0.9rem;
}

.pd-desc {
  margin: 0 0 16px;
  font-size: 0.92rem;
  color: var(--slate-600);
}

.pd-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}

.promise-list {
  padding: 16px;
  margin: 0 0 16px;
  border-radius: var(--radius);
  background: var(--slate-50);
  border: 1px solid var(--slate-100);
}

.promise-list h3 {
  margin: 0 0 12px;
  font-size: 1rem;
  font-weight: 700;
}

.promise-list ul {
  margin: 0;
  padding-left: 1.1rem;
  font-size: 0.88rem;
  color: var(--slate-600);
}

.promise-list li {
  margin-bottom: 8px;
}

.related-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, 1fr);
}

.related-card {
  display: block;
  padding: 10px;
  border-radius: var(--radius-sm);
  background: var(--white);
  border: 1px solid var(--slate-100);
  font-size: 0.85rem;
  color: inherit;
  text-decoration: none;
}

.related-card:active {
  transform: scale(0.99);
}

.related-card__ph {
  aspect-ratio: 16 / 10;
  border-radius: 8px;
  background: var(--blue-50);
  border: 1px dashed var(--blue-300);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  color: var(--blue-600);
  font-weight: 700;
}

.related-card strong {
  display: block;
  margin-bottom: 4px;
}

/* —— 关于我们 —— */
.prose {
  font-size: 0.95rem;
  color: var(--slate-700);
  line-height: 1.65;
}

.prose p {
  margin: 0 0 14px;
}

.team-grid {
  display: grid;
  gap: 12px;
}

@media (min-width: 900px) {
  .team-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
}

.team-card {
  padding: 14px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--slate-100);
  display: flex;
  gap: 14px;
  align-items: center;
}

.team-card__avatar {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  border-radius: 14px;
  background: var(--slate-100);
  border: 1px dashed var(--slate-400);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  font-weight: 700;
  color: var(--slate-500);
}

.team-card h4 {
  margin: 0 0 4px;
  font-size: 1rem;
}

.team-card .role {
  margin: 0 0 6px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--blue-600);
}

.team-card p {
  margin: 0;
  font-size: 0.82rem;
  color: var(--slate-600);
}

/* —— 联系表单 —— */
.form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--slate-700);
  margin-bottom: 6px;
  display: block;
}

.form-input,
.form-textarea {
  width: 100%;
  min-height: var(--tap-min);
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--slate-200);
  font-family: inherit;
  font-size: 1rem;
  background: var(--white);
  -webkit-appearance: none;
  appearance: none;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--blue-500);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

.map-placeholder {
  margin-top: 8px;
  height: 200px;
  border-radius: var(--radius);
  background: repeating-linear-gradient(
      -45deg,
      var(--slate-100),
      var(--slate-100) 8px,
      var(--slate-50) 8px,
      var(--slate-50) 16px
    ),
    var(--slate-100);
  border: 1px dashed var(--slate-300);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--slate-500);
}

@media (min-width: 900px) {
  .map-placeholder {
    height: 100%;
    min-height: 280px;
    margin-top: 0;
  }

  .contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: start;
  }

  .contact-layout .section {
    padding-bottom: 0;
  }
}

/* —— 辅助 —— */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (min-width: 640px) {
  .related-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .related-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* —— 断点：平板 / PC —— */
@media (min-width: 640px) {
  :root {
    --layout-pad-x: 24px;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .hero-slide h2 {
    font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  }
}

@media (min-width: 900px) {
  :root {
    --layout-pad-x: 32px;
    --header-h: 64px;
  }

  .header-nav {
    display: flex;
  }

  .header-nav__link {
    padding: 8px 12px;
    font-size: 0.88rem;
  }

  .icon-btn--menu {
    display: none !important;
  }

  .section-title {
    font-size: 1.65rem;
  }

  .hero-slide p {
    max-width: 52ch;
  }

  .prose {
    max-width: 65ch;
  }
}

/* 超宽屏：内容区不要无限拉宽感，略增两侧留白 */
@media (min-width: 1400px) {
  :root {
    --layout-max: 1200px;
  }
}

/* —— 轻提示（占位交互反馈） —— */
.toast {
  position: fixed;
  z-index: 300;
  left: 50%;
  bottom: calc(24px + env(safe-area-inset-bottom));
  transform: translateX(-50%) translateY(160%);
  max-width: min(320px, calc(100vw - 32px));
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--slate-900);
  color: var(--white);
  font-size: 0.88rem;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
