/* ============ Minimal Preflight-style reset (replaces Tailwind's base layer) ============ */
*, *::before, *::after { box-sizing: border-box; border-width: 0; border-style: solid; border-color: currentColor; }
html { -webkit-text-size-adjust: 100%; -moz-tab-size: 4; tab-size: 4; }
body { margin: 0; line-height: inherit; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, h5, h6, p, blockquote, figure, dl, dd { margin: 0; }
h1, h2, h3, h4, h5, h6 { font-size: inherit; font-weight: inherit; }
ul, ol { list-style: none; margin: 0; padding: 0; }
a { color: inherit; text-decoration: inherit; }
button { font-family: inherit; font-size: 100%; font-weight: inherit; line-height: inherit; color: inherit; background-color: transparent; background-image: none; border: 0; padding: 0; cursor: pointer; }
img, svg, video, canvas { display: block; vertical-align: middle; max-width: 100%; }
button, [role="button"] { cursor: pointer; }
  html { scroll-behavior: smooth; }
  body { font-family: 'PingFang SC', 'Microsoft YaHei', 'Noto Sans SC', sans-serif; color:#1F2A2B; }

  /* ---------- 数字等宽 ---------- */
  .tabular { font-variant-numeric: tabular-nums; font-feature-settings: "tnum"; }

  /* ---------- 导航栏渐变过渡 ---------- */
  #navbar { transition: background-color .4s ease, box-shadow .4s ease, padding .3s ease; }
  #navbar.scrolled { background-color: rgba(11,79,74,0.97); box-shadow: 0 4px 20px rgba(0,0,0,.12); }

  /* ---------- Hero 轮播 ---------- */
  .hero-slide { opacity:0; transition: opacity 1.4s ease; }
  .hero-slide.active { opacity:1; z-index:1; }

  /* ---------- 滴灌线动效（签名元素） ---------- */
  .drip-line { stroke-dasharray: 6 10; animation: flow 3.2s linear infinite; }
  @keyframes flow { to { stroke-dashoffset: -160; } }
  .drop { animation: dripfall 2.6s ease-in infinite; opacity:0; }
  @keyframes dripfall {
    0%   { transform: translateY(-4px); opacity:0; }
    8%   { opacity:1; }
    70%  { opacity:.9; }
    92%  { transform: translateY(38px); opacity:0; }
    100% { transform: translateY(38px); opacity:0; }
  }

  /* ---------- 卡片悬浮 ---------- */
  .lift { transition: transform .35s ease, box-shadow .35s ease; }
  .lift:hover { transform: translateY(-6px); box-shadow: 0 20px 40px -12px rgba(11,79,74,.25); }

  /* ---------- 滚动淡入 ---------- */
  .reveal { opacity:0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
  .reveal.show { opacity:1; transform: translateY(0); }

  /* ---------- 案例/评价 横向滚动隐藏滚动条 ---------- */
  .scroll-x::-webkit-scrollbar { height:6px; }
  .scroll-x::-webkit-scrollbar-thumb { background:#7FD1C4; border-radius:4px; }
  .scroll-x { scrollbar-width: thin; scrollbar-color:#7FD1C4 transparent; }

  /* ---------- 移动端菜单 ---------- */
  #mobileMenu { max-height:0; overflow:hidden; transition: max-height .4s ease; }
  #mobileMenu.open { max-height:420px; }

  /* ---------- Hero 切换点：加半透明深色胶囊背景，避免被图片颜色淹没 ---------- */
  .hero-dots { background: rgba(11,79,74,0.35); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); padding: 8px 10px; border-radius: 9999px; }
  .hero-dot { box-shadow: 0 0 0 1px rgba(255,255,255,0.25); }
  /* ---------- 焦点可见（可访问性） ---------- */
  a:focus-visible, button:focus-visible { outline:2px solid #17A398; outline-offset:2px; }

  @media (prefers-reduced-motion: reduce) {
    .drip-line, .drop, .hero-slide { animation:none !important; transition:none !important; }
  }
/* ============ Tailwind-equivalent utility classes (hand-compiled, no CDN/build step required) ============ */
.absolute { position:absolute; }
.align-top { vertical-align:top; }
.backdrop-blur { backdrop-filter:blur(10px); -webkit-backdrop-filter:blur(10px); }
.bg-aqua { background-color:#17A398; }
.bg-aqua\/20 { background-color:rgba(23,163,152,0.2); }
.bg-center { background-position:center; }
.bg-cover { background-size:cover; }
.bg-deep { background-color:#0B4F4A; }
.bg-deep\/98 { background-color:rgba(11,79,74,0.98); }
.bg-fog { background-color:#F4F6F6; }
.bg-ink { background-color:#1F2A2B; }
.bg-teal { background-color:#0E6A5F; }
.bg-white { background-color:#FFFFFF; }
.bg-white\/10 { background-color:rgba(255,255,255,0.1); }
.bg-white\/40 { background-color:rgba(255,255,255,0.4); }
.bg-white\/5 { background-color:rgba(255,255,255,0.05); }
.border { border-width:1px; border-style:solid; }
.border-b { border-bottom:1px solid currentColor; }
.border-black\/10 { border-color:rgba(0,0,0,0.1); }
.border-black\/5 { border-color:rgba(0,0,0,0.05); }
.border-t { border-top:1px solid currentColor; }
.border-white\/10 { border-color:rgba(255,255,255,0.1); }
.border-white\/40 { border-color:rgba(255,255,255,0.4); }
.border-y { border-top:1px solid currentColor; border-bottom:1px solid currentColor; }
.bottom-0 { bottom:0; }
.bottom-6 { bottom:1.5rem; }
.fixed { position:fixed; }
.flex { display:flex; }
.flex-col { flex-direction:column; }
.flex-wrap { flex-wrap:wrap; }
.font-bold { font-weight:700; }
.font-medium { font-weight:500; }
.font-normal { font-weight:400; }
.font-semibold { font-weight:600; }
.gap-10 { gap:2.5rem; }
.gap-14 { gap:3.5rem; }
.gap-2 { gap:0.5rem; }
.gap-2\.5 { gap:0.625rem; }
.gap-3 { gap:0.75rem; }
.gap-4 { gap:1rem; }
.gap-6 { gap:1.5rem; }
.gap-9 { gap:2.25rem; }
.grid { display:grid; }
.grid-cols-1 { grid-template-columns:repeat(1, minmax(0, 1fr)); }
.grid-cols-2 { grid-template-columns:repeat(2, minmax(0, 1fr)); }
.h-1\.5 { height:0.375rem; }
.h-10 { height:2.5rem; }
.h-11 { height:2.75rem; }
.h-20 { height:5rem; }
.h-24 { height:6rem; }
.h-44 { height:11rem; }
.h-48 { height:12rem; }
.h-full { height:100%; }
.hidden { display:none; }
.inset-0 { top:0; right:0; bottom:0; left:0; }
.items-center { align-items:center; }
.items-start { align-items:flex-start; }
.justify-between { justify-content:space-between; }
.justify-center { justify-content:center; }
.leading-relaxed { line-height:1.625; }
.leading-snug { line-height:1.375; }
.leading-tight { line-height:1.25; }
.left-0 { left:0; }
.mb-10 { margin-bottom:2.5rem; }
.mb-12 { margin-bottom:3rem; }
.mb-14 { margin-bottom:3.5rem; }
.mb-16 { margin-bottom:4rem; }
.mb-2 { margin-bottom:0.5rem; }
.mb-3 { margin-bottom:0.75rem; }
.mb-4 { margin-bottom:1rem; }
.mb-5 { margin-bottom:1.25rem; }
.mb-6 { margin-bottom:1.5rem; }
.mb-8 { margin-bottom:2rem; }
.ml-1 { margin-left:0.25rem; }
.mt-0\.5 { margin-top:0.125rem; }
.mt-1 { margin-top:0.25rem; }
.mt-2 { margin-top:0.5rem; }
.mx-auto { margin-left:auto; margin-right:auto; }
.object-cover { object-fit:cover; }
.overflow-hidden { overflow:hidden; }
.overflow-x-auto { overflow-x:auto; }
.p-6 { padding:1.5rem; }
.p-7 { padding:1.75rem; }
.p-8 { padding:2rem; }
.pb-4 { padding-bottom:1rem; }
.pb-5 { padding-bottom:1.25rem; }
.pt-8 { padding-top:2rem; }
.px-5 { padding-left:1.25rem; padding-right:1.25rem; }
.px-6 { padding-left:1.5rem; padding-right:1.5rem; }
.px-8 { padding-left:2rem; padding-right:2rem; }
.py-16 { padding-top:4rem; padding-bottom:4rem; }
.py-2 { padding-top:0.5rem; padding-bottom:0.5rem; }
.py-24 { padding-top:6rem; padding-bottom:6rem; }
.py-3 { padding-top:0.75rem; padding-bottom:0.75rem; }
.py-3\.5 { padding-top:0.875rem; padding-bottom:0.875rem; }
.py-4 { padding-top:1rem; padding-bottom:1rem; }
.py-5 { padding-top:1.25rem; padding-bottom:1.25rem; }
.py-6 { padding-top:1.5rem; padding-bottom:1.5rem; }
.relative { position:relative; }
.right-6 { right:1.5rem; }
.rounded-2xl { border-radius:1rem; }
.rounded-full { border-radius:9999px; }
.rounded-lg { border-radius:0.5rem; }
.rounded-xl { border-radius:0.75rem; }
.shadow-xl { box-shadow:0 20px 40px -8px rgba(11,79,74,0.25); }
.shrink-0 { flex-shrink:0; }
.snap-mandatory { scroll-snap-type:x mandatory; }
.snap-start { scroll-snap-align:start; }
.snap-x { scroll-snap-type:x mandatory; }
.space-y-2\.5 > * + * { margin-top:0.625rem; }
.space-y-4 > * + * { margin-top:1rem; }
.space-y-5 > * + * { margin-top:1.25rem; }
.text-2xl { font-size:1.5rem; line-height:2rem; }
.text-3xl { font-size:1.875rem; line-height:2.25rem; }
.text-4xl { font-size:2.25rem; line-height:2.5rem; }
.text-aqua { color:#17A398; }
.text-base { font-size:1rem; line-height:1.5rem; }
.text-center { text-align:center; }
.text-ink { color:#1F2A2B; }
.text-left { text-align:left; }
.text-lg { font-size:1.125rem; line-height:1.75rem; }
.text-mist { color:#7FD1C4; }
.text-slate { color:#5B6B6C; }
.text-sm { font-size:0.875rem; line-height:1.25rem; }
.text-teal { color:#0E6A5F; }
.text-white { color:#FFFFFF; }
.text-white\/40 { color:rgba(255,255,255,0.4); }
.text-white\/50 { color:rgba(255,255,255,0.5); }
.text-white\/60 { color:rgba(255,255,255,0.6); }
.text-white\/70 { color:rgba(255,255,255,0.7); }
.text-white\/75 { color:rgba(255,255,255,0.75); }
.text-white\/90 { color:rgba(255,255,255,0.9); }
.text-xs { font-size:0.75rem; line-height:1rem; }
.top-0 { top:0; }
.tracking-wide { letter-spacing:0.025em; }
.tracking-widest { letter-spacing:0.1em; }
.transition-colors { transition:color .2s ease, background-color .2s ease, border-color .2s ease; }
.w-10 { width:2.5rem; }
.w-11 { width:2.75rem; }
.w-20 { width:5rem; }
.w-8 { width:2rem; }
.w-full { width:100%; }
.z-10 { z-index:10; }
.z-20 { z-index:20; }
.z-50 { z-index:50; }
.-bottom-8 { bottom:-2rem; }
.-right-8 { right:-2rem; }
.text-\[10px\] { font-size:10px; }
.tracking-\[0\.3em\] { letter-spacing:0.3em; }
.h-\[100svh\] { height:100svh; }
.h-\[300px\] { height:300px; }
.h-\[360px\] { height:360px; }
.min-h-\[560px\] { min-height:560px; }
.w-\[300px\] { width:300px; }
.max-w-xl { max-width:36rem; }
.max-w-2xl { max-width:42rem; }
.max-w-3xl { max-width:48rem; }
.max-w-4xl { max-width:56rem; }
.max-w-7xl { max-width:80rem; }
.hover\:bg-mist:hover { background-color:#7FD1C4; }
.hover\:bg-teal:hover { background-color:#0E6A5F; }
.hover\:bg-white\/10:hover { background-color:rgba(255,255,255,0.1); }
.hover\:border-teal:hover { border-color:#0E6A5F; }
.hover\:text-deep:hover { color:#0B4F4A; }
.hover\:text-mist:hover { color:#7FD1C4; }
.hover\:text-white:hover { color:#FFFFFF; }
@media (min-width: 640px) {
  .sm\:grid-cols-2 { grid-template-columns:repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 768px) {
  .md\:flex { display:flex; }
  .md\:flex-row { flex-direction:row; }
  .md\:grid-cols-3 { grid-template-columns:repeat(3, minmax(0, 1fr)); }
  .md\:grid-cols-4 { grid-template-columns:repeat(4, minmax(0, 1fr)); }
  .md\:h-32 { height:8rem; }
  .md\:h-\[420px\] { height:420px; }
  .md\:h-\[440px\] { height:440px; }
  .md\:hidden { display:none; }
  .md\:items-end { align-items:flex-end; }
  .md\:justify-between { justify-content:space-between; }
  .md\:mb-16 { margin-bottom:4rem; }
  .md\:px-8 { padding-left:2rem; padding-right:2rem; }
  .md\:py-28 { padding-top:7rem; padding-bottom:7rem; }
  .md\:text-4xl { font-size:2.25rem; line-height:2.5rem; }
  .md\:text-5xl { font-size:3rem; line-height:1; }
  .md\:text-6xl { font-size:3.75rem; line-height:1; }
  .md\:text-left { text-align:left; }
  .md\:text-lg { font-size:1.125rem; line-height:1.75rem; }
  .md\:text-sm { font-size:0.875rem; line-height:1.25rem; }
  .md\:w-\[360px\] { width:360px; }
}
@media (min-width: 1024px) {
  .lg\:col-span-2 { grid-column:span 2 / span 2; }
  .lg\:gap-20 { gap:5rem; }
  .lg\:grid-cols-2 { grid-template-columns:repeat(2, minmax(0, 1fr)); }
  .lg\:grid-cols-3 { grid-template-columns:repeat(3, minmax(0, 1fr)); }
  .lg\:grid-cols-4 { grid-template-columns:repeat(4, minmax(0, 1fr)); }
}