/* ============================================
   江众源环保 - Premium Design System v2
   主色调：蓝绿色系 (Teal + Green)
   ============================================ */

:root {
  /* Primary Colors */
  --primary-dark: #064e4a;
  --primary: #0d7377;
  --primary-mid: #14919b;
  --primary-light: #1aab9f;
  --accent: #32c5c4;
  --accent-light: #5fd9cb;

  /* Secondary Colors */
  --secondary: #1a5f7a;
  --secondary-light: #2980b9;

  /* Warm Accent */
  --warm: #e8a87c;
  --warm-light: #f0c9a6;

  /* Neutrals */
  --dark: #1a2a2a;
  --gray-dark: #2d3d3d;
  --gray: #5a6e6e;
  --gray-light: #9ab0b0;
  --gray-lighter: #d4e0df;
  --bg-light: #f4f9f9;
  --bg-white: #ffffff;
  --bg-cream: #faf8f5;

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #0d7377 0%, #14919b 50%, #1aab9f 100%);
  --gradient-hero: linear-gradient(135deg, #062e2d 0%, #064e4a 40%, #0a5f56 100%);
  --gradient-accent: linear-gradient(135deg, #32c5c4, #5fd9cb);
  --gradient-warm: linear-gradient(135deg, #e8a87c, #f0c9a6);

  /* Shadows */
  --shadow-xs: 0 1px 3px rgba(6, 78, 74, 0.06);
  --shadow-sm: 0 2px 8px rgba(6, 78, 74, 0.08);
  --shadow-md: 0 4px 20px rgba(6, 78, 74, 0.10);
  --shadow-lg: 0 8px 40px rgba(6, 78, 74, 0.14);
  --shadow-xl: 0 16px 64px rgba(6, 78, 74, 0.18);
  --shadow-glow: 0 4px 24px rgba(50, 197, 196, 0.25);

  /* Border Radius */
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-2xl: 40px;
  --radius-full: 9999px;

  /* Transitions */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: 0.15s var(--ease-out);
  --transition-normal: 0.25s var(--ease-out);
  --transition-slow: 0.4s var(--ease-out);
  --transition-xslow: 0.6s var(--ease-out);

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  /* Layout */
  --container-max: 1240px;
  --container-padding: 1.5rem;
  --header-height: 72px;
}

/* ============================================
   Reset & Base
   ============================================ */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--dark);
  background: var(--bg-white);
  line-height: 1.75;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}
a:hover { color: var(--accent); }

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

ul, ol { list-style: none; }

input, textarea, select, button {
  font-family: inherit;
  font-size: inherit;
}

button { cursor: pointer; border: none; background: none; }

/* ============================================
   Typography
   ============================================ */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.3;
  color: var(--dark);
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); font-weight: 700; }
h3 { font-size: clamp(1.15rem, 2.5vw, 1.4rem); }
h4 { font-size: 1.1rem; }

p { line-height: 1.8; }

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

.text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================
   Layout
   ============================================ */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.section {
  padding: var(--space-24) 0;
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-16);
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary-mid);
  margin-bottom: var(--space-3);
}

.section-eyebrow::before,
.section-eyebrow::after {
  content: '';
  width: 24px;
  height: 1.5px;
  background: var(--primary-mid);
  opacity: 0.4;
}

.section-title {
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-4);
}

.section-subtitle {
  color: var(--gray);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.8;
}

/* ============================================
   Header & Navigation
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid rgba(6, 78, 74, 0.06);
  transition: all var(--transition-normal);
}

.header.scrolled {
  box-shadow: var(--shadow-sm);
  border-bottom-color: rgba(6, 78, 74, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  gap: var(--space-8);
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  flex-shrink: 0;
}

.logo-icon {
  width: 42px;
  height: 42px;
  background: var(--gradient-primary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  flex-shrink: 0;
  box-shadow: 0 2px 12px rgba(13, 115, 119, 0.25);
}

.logo-text {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-dark);
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.logo-text span {
  display: block;
  font-size: 0.7rem;
  font-weight: 400;
  color: var(--gray);
  letter-spacing: 0.02em;
}

.nav {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.nav-link {
  position: relative;
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--gray-dark);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
}

.nav-link:hover {
  color: var(--primary);
  background: rgba(13, 115, 119, 0.06);
}

.nav-link.active {
  color: var(--primary);
  background: rgba(13, 115, 119, 0.08);
  font-weight: 600;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--primary-dark);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  background: var(--gradient-hero);
  overflow: hidden;
  padding-top: env(safe-area-inset-top);
  padding-bottom: env(safe-area-inset-bottom);
}

.hero-slider {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
  animation: none;
}

.hero-slide.active {
  opacity: 1;
}

.hero-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(6,46,45,0.55) 0%, rgba(6,78,74,0.35) 100%);
}

.hero-dots {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  gap: 10px;
}

.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: all 0.3s;
  border: none;
}

.hero-dot.active {
  background: white;
  width: 24px;
  border-radius: 4px;
}

.hero-bg {
  display: none;
}

.hero-particles {
  display: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: white;
  padding: calc(var(--header-height) + 2rem) 0 4rem;
  text-align: left;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px 6px 8px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--space-8);
  backdrop-filter: blur(8px);
  letter-spacing: 0.02em;
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 0 0 rgba(50, 197, 196, 0.4); }
  50% { opacity: 0.8; transform: scale(1.1); box-shadow: 0 0 0 6px rgba(50, 197, 196, 0); }
}

.hero h1 {
  color: white;
  font-weight: 700;
  margin-bottom: var(--space-6);
  line-height: 1.2;
}

.hero-slogan {
  text-shadow: 0 1px 12px rgba(0,0,0,0.4);
  font-size: 1.5rem;
  font-weight: 600;
}

@media (max-width: 768px) {
  .hero-slogan { font-size: 1.1rem !important; letter-spacing: 0.08em; }
}

.hero-buttons {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  animation: bounce-down 2s ease-in-out infinite;
}

@keyframes bounce-down {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: var(--radius-full);
  transition: all var(--transition-normal);
  white-space: nowrap;
  cursor: pointer;
  letter-spacing: 0.01em;
}

.btn-primary {
  background: var(--gradient-primary);
  color: white;
  box-shadow: 0 4px 16px rgba(13, 115, 119, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(13, 115, 119, 0.4);
  color: white;
}

.btn-outline {
  background: transparent;
  color: white;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(4px);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.6);
  color: white;
  transform: translateY(-2px);
}

.btn-secondary {
  background: rgba(13, 115, 119, 0.06);
  color: var(--primary);
  border: 1.5px solid var(--gray-lighter);
}

.btn-secondary:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(13, 115, 119, 0.25);
}

/* ============================================
   Stats Bar
   ============================================ */
.stats-bar {
  background: white;
  padding: 0;
  margin-top: -56px;
  position: relative;
  z-index: 10;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: white;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
}

.stat-item {
  text-align: center;
  padding: var(--space-10) var(--space-6);
  position: relative;
  transition: background var(--transition-fast);
}

.stat-item:hover {
  background: var(--bg-light);
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: var(--gray-lighter);
}

.stat-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto var(--space-3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(13,115,119,0.15);
  transition: transform var(--transition-normal);
}

.stat-item:hover .stat-icon {
  transform: scale(1.1);
}

.stat-item:hover .stat-number {
  filter: brightness(1.1);
}

.stat-number {
  font-size: 2.6rem;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
  letter-spacing: -0.03em;
  transition: filter var(--transition-fast);
}

/* ============================================
   Services Section
   ============================================ */
.services {
  background: var(--bg-white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.service-card {
  background: rgba(200, 240, 230, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  box-shadow: var(--shadow-sm);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(13, 115, 119, 0.1);
  position: relative;
  overflow: hidden;
  /* 默认状态：居中布局（大图标 + 标题） */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-height: 320px;
}

.service-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: left;
}

.service-card:hover,
.service-card:focus-within {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(13, 115, 119, 0.18);
  /* hover 状态：左对齐布局，显示详情 */
  align-items: flex-start;
  text-align: left;
}

.service-card:hover::after,
.service-card:focus-within::after {
  transform: scaleX(1);
}

.service-card h3 { margin-bottom: var(--space-3); }
.service-card p { font-size: 0.9rem; color: var(--gray-dark); line-height: 1.6; }

/* 详情描述：默认隐藏，hover 时滑入 */
.service-card .service-desc {
  display: block;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transform: translateY(12px);
  transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 0.4s ease 0.05s,
              transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover .service-desc,
.service-card:focus-within .service-desc {
  max-height: 200px;
  opacity: 1;
  transform: translateY(0);
  margin-top: 8px;
}

/* 主营业务二级页：服务简介默认就显示，不依赖 hover */
/* 依靠在 <div class="services-grid"> 上加 services-page 标记来限定作用域 */
.services-page .service-card .service-desc {
  max-height: 500px;
  opacity: 1;
  transform: translateY(0);
  margin-top: 8px;
  transition: none;
}

.service-arrow { display: block; margin-top: var(--space-4); font-size: 0.85rem; color: var(--primary); font-weight: 500; }

.service-icon {
  /* 默认状态：大图标 */
  width: 120px;
  height: 120px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-5);
  transition: all 0.5s cubic-bezier(0.34, 1.4, 0.64, 1);
  position: relative;
  overflow: hidden;
  /* 真玻璃质感：背后背景被模糊化，营造"磨砂玻璃"感 */
  backdrop-filter: blur(8px) saturate(1.4);
  -webkit-backdrop-filter: blur(8px) saturate(1.4);
  /* 6 层叠阴影：内顶高光、内底暗、内顶边、内左亮边、外双层深阴影 */
  box-shadow:
    inset 0 2px 4px rgba(255, 255, 255, 0.95),
    inset 0 -3px 4px rgba(0, 0, 0, 0.25),
    inset 0 0 0 1px rgba(255, 255, 255, 0.8),
    inset 2px 0 2px rgba(255, 255, 255, 0.4),
    0 24px 48px rgba(10, 77, 74, 0.4),
    0 8px 16px rgba(10, 77, 74, 0.2),
    0 1px 2px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.9);
}

/* 顶部高光层 - 3 层：斜向 + 顶部主高光 + 左上光点 */
.service-icon::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    /* 斜向 45° 镜面高光 - 玻璃折面感 */
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.85) 0%,
      rgba(255, 255, 255, 0.45) 18%,
      rgba(255, 255, 255, 0.1) 35%,
      rgba(255, 255, 255, 0) 50%
    ),
    /* 顶部主高光 */
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.9) 0%,
      rgba(255, 255, 255, 0.5) 18%,
      rgba(255, 255, 255, 0.1) 38%,
      rgba(255, 255, 255, 0) 50%,
      rgba(0, 0, 0, 0.18) 100%
    );
  pointer-events: none;
  z-index: 1;
}

/* 顶部细高光反射线 + 左上发光点 */
.service-icon::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 8%;
  right: 8%;
  height: 2px;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 1) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  pointer-events: none;
  z-index: 2;
  border-radius: 50%;
  box-shadow:
    0 0 6px rgba(255, 255, 255, 0.8),
    0 0 12px rgba(255, 255, 255, 0.4);
}

/* SVG 图标在玻璃层之上，锐利深阴影 */
.service-icon svg,
.service-icon img {
  position: relative;
  z-index: 3;
  filter:
    drop-shadow(0 2px 3px rgba(0, 0, 0, 0.4))
    drop-shadow(0 0 1px rgba(0, 0, 0, 0.2));
}

/* hover 状态 - 图标缩小、左对齐、阴影更深 */
.service-card:hover .service-icon,
.service-card:focus-within .service-icon {
  width: 68px;
  height: 68px;
  transform: rotate(-5deg);
  backdrop-filter: blur(12px) saturate(1.5);
  -webkit-backdrop-filter: blur(12px) saturate(1.5);
  box-shadow:
    inset 0 2px 4px rgba(255, 255, 255, 1),
    inset 0 -3px 4px rgba(0, 0, 0, 0.3),
    inset 0 0 0 1px rgba(255, 255, 255, 0.9),
    inset 2px 0 2px rgba(255, 255, 255, 0.5),
    0 36px 72px rgba(10, 77, 74, 0.5),
    0 12px 24px rgba(10, 77, 74, 0.25),
    0 2px 4px rgba(0, 0, 0, 0.15);
}

/* hover 时 SVG 也跟着缩小 */
.service-card:hover .service-icon svg,
.service-card:focus-within .service-icon svg {
  width: 34px;
  height: 34px;
}

.service-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: var(--space-3);
  color: var(--primary-dark);
  transition: font-size 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover h3,
.service-card:focus-within h3 {
  font-size: 1.1rem;
}

.service-card p {
  color: var(--gray);
  font-size: 0.9rem;
  line-height: 1.75;
  margin: 0;
}

.service-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 600;
  margin-top: var(--space-4);
  opacity: 0;
  transform: translateX(-8px);
  transition: all var(--transition-normal);
}

.service-card:hover .service-arrow {
  opacity: 1;
  transform: translateX(0);
}

/* ============================================
   About Section
   ============================================ */
.about {
  background: var(--bg-light);
  position: relative;
  overflow: hidden;
}

.about::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(50, 197, 196, 0.06) 0%, transparent 70%);
  border-radius: 50%;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-20);
  align-items: center;
}

.about-images {
  position: relative;
}

.about-img-main {
  width: 100%;
  height: auto;
  object-fit: contain;
  background: transparent;
}

/* SVG 营业范围环形图 */
.yingyefanwei-svg {
  display: block;
  width: 100%;
  height: auto;
  pointer-events: auto;
}

.about-img-badge {
  position: absolute;
  bottom: -16px;
  right: -16px;
  background: var(--gradient-primary);
  color: white;
  padding: var(--space-5) var(--space-8);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  text-align: center;
  z-index: 2;
}

.about-img-badge .number {
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
}

.about-img-badge .label {
  font-size: 0.8rem;
  opacity: 0.9;
  margin-top: 2px;
}

.about-content h2 {
  margin-bottom: var(--space-4);
}

.about-lead {
  font-size: 1.15rem;
  color: var(--primary);
  font-weight: 500;
  margin-bottom: var(--space-6);
  line-height: 1.85;
  padding-left: var(--space-4);
  border-left: 3px solid var(--primary);
  background: linear-gradient(90deg, rgba(20,145,124,0.06), transparent 60%);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding-top: var(--space-3);
  padding-bottom: var(--space-3);
}

.about-content p {
  color: var(--gray-dark);
  line-height: 1.95;
  margin-bottom: var(--space-5);
  font-size: 1rem;
  text-align: justify;
  text-justify: inter-ideograph;
  letter-spacing: 0.01em;
}

.about-content p:last-of-type {
  margin-bottom: var(--space-6);
}

.about-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-3);
  margin: var(--space-8) 0;
}

.about-feature {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-5);
  background: rgba(200, 240, 230, 0.85);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xs);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-dark);
  transition: all var(--transition-fast);
  border: 1px solid rgba(13, 115, 119, 0.1);
}

.about-feature:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.about-feature-icon {
  width: 28px;
  height: 28px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.7rem;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(13, 115, 119, 0.25);
}

.about-feature-icon .af-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.about-feature-icon::after {
  content: '';
  font-size: 14px;
  line-height: 1;
}
  font-size: 0.8rem;
  flex-shrink: 0;
}

/* ============================================
   Process Section
   ============================================ */
.process {
  background: var(--bg-white);
  position: relative;
}

.process-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
  position: relative;
}

.process-timeline::before {
  content: '';
  position: absolute;
  top: 36px;
  left: 8%;
  right: 8%;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-light), var(--accent), var(--secondary-light));
  opacity: 0.25;
  z-index: 0;
}

.process-step {
  position: relative;
  z-index: 1;
  text-align: center;
}

.process-number {
  width: 72px;
  height: 72px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 800;
  color: white;
  margin: 0 auto var(--space-5);
  box-shadow: 0 4px 20px rgba(13, 115, 119, 0.3);
  position: relative;
  z-index: 2;
}

.process-step h4 {
  font-weight: 700;
  margin-bottom: var(--space-2);
  color: var(--primary-dark);
}

.process-step p {
  color: var(--gray);
  font-size: 0.875rem;
  line-height: 1.7;
}

/* ============================================
   News Section
   ============================================ */
.news {
  background: var(--bg-light);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.news-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-slow);
  border: 1px solid rgba(6, 78, 74, 0.05);
}

.news-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(13, 115, 119, 0.1);
}

.news-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: linear-gradient(135deg, #0d7377 0%, #14919b 100%);
}

.news-content {
  padding: var(--space-6);
}

.news-date {
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: var(--space-3);
  display: flex;
  align-items: center;
  gap: 6px;
}

.news-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: var(--space-3);
  color: var(--dark);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.5;
}

.news-card p {
  color: var(--gray);
  font-size: 0.875rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.7;
}

.news-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.85rem;
  margin-top: var(--space-4);
  transition: gap var(--transition-fast);
}

.news-link:hover {
  color: var(--accent);
  gap: 10px;
}

/* ============================================
   产品卡片（主要产品页）
   ============================================ */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-5);
}

.product-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-slow);
  border: 1px solid rgba(6, 78, 74, 0.05);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(13, 115, 119, 0.1);
}

.product-image {
  width: 100%;
  height: 180px;
  background: linear-gradient(135deg, #0d7377 0%, #14919b 100%);
  overflow: hidden;
  position: relative;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.85rem;
  background: linear-gradient(135deg, #0d7377 0%, #14919b 100%);
}

.product-content {
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 var(--space-3) 0;
  color: var(--dark);
  line-height: 1.4;
}

.product-desc {
  color: var(--gray);
  font-size: 0.875rem;
  line-height: 1.7;
  margin: 0;
  cursor: pointer;
  position: relative;
  /* 默认全显示（is-expanded），点击变成 is-collapsed 截断 3 行 */
}

.product-desc.is-collapsed {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-desc::after {
  content: '收起 ▴';
  display: inline-block;
  margin-left: 4px;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.8rem;
  white-space: nowrap;
}

.product-desc.is-collapsed::after {
  content: '展开 ▾';
}

.product-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.85rem;
  margin-top: var(--space-4);
  text-decoration: none;
  transition: gap var(--transition-fast);
}

.product-link:hover {
  color: var(--accent);
  gap: 10px;
}

/* ============================================
   产品页 - 服务保障/优势
   ============================================ */
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
  max-width: 960px;
  margin: 0 auto;
}

.advantage-item {
  background: white;
  border-radius: var(--radius-lg);
  padding: var(--space-6) var(--space-8);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(6, 78, 74, 0.05);
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  transition: all var(--transition-slow);
}

.advantage-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(13, 115, 119, 0.15);
}

.advantage-icon {
  font-size: 2rem;
  flex-shrink: 0;
  line-height: 1;
  padding-top: 4px;
}

.advantage-item h4 {
  margin: 0 0 var(--space-2) 0;
  color: var(--primary);
  font-size: 1.05rem;
  font-weight: 700;
}

.advantage-item p {
  margin: 0;
  color: var(--gray);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* ============================================
   Contact Section
   ============================================ */
.contact {
  background: var(--gradient-hero);
  color: white;
  position: relative;
  overflow: hidden;
}

.contact::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%2332c5c4' fill-opacity='0.05' fill-rule='evenodd'%3E%3Cpath d='M0 40L40 0H20L0 20M40 40V20L20 40'/%3E%3C/g%3E%3C/svg%3E");
}

.contact .section-eyebrow { color: var(--accent-light); }
.contact .section-eyebrow::before,
.contact .section-eyebrow::after { background: var(--accent-light); }
.contact .section-title { color: white; }
.contact .section-subtitle { color: rgba(255, 255, 255, 0.65); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  position: relative;
  align-items: stretch;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  height: 100%;
}

.contact-info .contact-item {
  flex: 1 1 auto;
  min-height: 0;
}

.contact-form {
  display: flex;
  flex-direction: column;
  height: 100%;
}



.contact-item {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: 20px;
  background: rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all var(--transition-normal);
  min-height: 88px;
  flex: 1 1 auto;
}

.contact-item:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateX(6px);
}

.contact-icon {
  width: 48px;
  height: 48px;
  background: rgba(50, 197, 196, 0.15);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform var(--transition-normal);
}

.contact-item:hover .contact-icon {
  transform: scale(1.1);
}

.contact-item h4 {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.8rem;
  font-weight: 500;
  margin-bottom: 4px;
  letter-spacing: 0.05em;
}

.contact-item p {
  color: white;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.6;
}

.contact-form {
  background: rgba(255, 255, 255, 0.97);
  border-radius: var(--radius-xl);
  padding: var(--space-10);
  box-shadow: var(--shadow-xl);
  backdrop-filter: blur(16px);
  /* 与左侧卡片文字的 x 起始位置对齐：
     左卡片：padding 20 + 图标 48 + gap 16 = 84px */
  padding-left: 84px;
  padding-right: var(--space-10);
}

.contact-form h3 {
  color: var(--primary-dark);
  margin-bottom: var(--space-6);
  font-weight: 700;
  font-size: 1.4rem;
}

.form-group {
  margin-bottom: var(--space-4);
}

.form-group label {
  display: block;
  color: var(--gray-dark);
  font-weight: 600;
  margin-bottom: var(--space-2);
  font-size: 0.85rem;
  letter-spacing: 0.01em;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--gray-lighter);
  border-radius: var(--radius-md);
  background: var(--bg-white);
  color: var(--dark);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  font-size: 0.9rem;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(13, 115, 119, 0.1);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}

/* ============================================
   Footer
   ============================================ */
.footer {
  background: #041e1c;
  color: rgba(255, 255, 255, 0.6);
  padding: var(--space-20) 0 var(--space-10);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: var(--space-12);
  margin-bottom: var(--space-16);
}

.footer-brand {
  color: white;
}

.footer-brand .logo {
  margin-bottom: var(--space-5);
}

.footer-brand p {
  font-size: 0.875rem;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.45);
}

.footer h4 {
  color: white;
  margin-bottom: var(--space-5);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer-links a {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.875rem;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-links a:hover {
  color: var(--accent-light);
  padding-left: 4px;
}

.footer-bottom {
  padding-top: var(--space-8);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.3);
}

.copyright-text {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.copyright-owner {
  color: #ffffff;
  letter-spacing: 0.02em;
}

.copyright-dev {
  color: #ffffff;
  font-size: 0.8rem;
  padding-left: 0.35rem;
  border-left: 1px solid rgba(255, 255, 255, 0.25);
}

.copyright-icp {
  color: #ffffff;
  font-size: 0.8rem;
  padding-left: 0.35rem;
  border-left: 1px solid rgba(255, 255, 255, 0.25);
}

.copyright-icp .icp-link {
  color: #ffffff !important;
  text-decoration: none;
  transition: opacity 0.2s;
}

.copyright-icp .icp-link:hover {
  opacity: 0.7;
  text-decoration: underline;
}

.footer-social {
  display: flex;
  gap: var(--space-3);
}

.footer-social a {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
  transition: all var(--transition-fast);
}

.footer-social a:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-3px);
}

/* ============================================
   Page Header
   ============================================ */
.page-header {
  background: var(--gradient-hero);
  padding: calc(var(--header-height) + 3rem) 0 4rem;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%2332c5c4' fill-opacity='0.07'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.page-header h1 { color: white; margin-bottom: var(--space-3); position: relative; }
.page-header p { color: rgba(255, 255, 255, 0.65); position: relative; }

.breadcrumb {
  display: flex;
  justify-content: center;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
  font-size: 0.85rem;
  position: relative;
}

.breadcrumb a { color: rgba(255, 255, 255, 0.55); }
.breadcrumb a:hover { color: white; }
.breadcrumb span { color: var(--accent-light); }

/* ============================================
   Scroll Animations
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity var(--transition-xslow), transform var(--transition-xslow);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: var(--space-12); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .process-timeline { grid-template-columns: repeat(2, 1fr); gap: var(--space-10); }
  .process-timeline::before { display: none; }
  .hero-slide::after { background: linear-gradient(135deg, rgba(6,46,45,0.65) 0%, rgba(6,78,74,0.45) 100%); }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-4); }
  .product-image { height: 200px; }
}

@media (max-width: 768px) {
  :root { --container-padding: 1.25rem; --header-height: 60px; }

  /* Footer - 移动端：单列堆叠，各区块占满宽度 */
  .footer { padding: 1.5rem 0 1rem; }
  .footer .container { padding-left: 0.75rem; padding-right: 0.75rem; }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 1.25rem;
  }
  .footer-hide-mobile { display: none; }
  .footer-brand { padding: 0; }
  .footer-brand p { 
    font-size: 0.8rem; 
    line-height: 1.7; 
    color: rgba(255,255,255,0.5);
    margin: 0.5rem 0 0 0;
  }
  .footer-brand .logo { margin-bottom: 0.5rem; }
  .footer h4 { 
    font-size: 0.9rem; 
    margin-bottom: 0.5rem; 
    padding-bottom: 0.3rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }
  .footer-links { display: flex; flex-direction: column; gap: 0.4rem; }
  .footer-links a { 
    font-size: 0.82rem; 
    padding: 0; 
    color: rgba(255,255,255,0.6);
    display: flex;
    align-items: center;
    gap: 6px;
  }
  .footer-links a svg { flex-shrink: 0; }
  .footer-bottom { 
    flex-direction: column; 
    gap: 0.5rem; 
    text-align: center;
    padding-top: 0.75rem;
  }
  .footer-bottom p { font-size: 0.72rem; }
  .copyright-text { justify-content: center; line-height: 1.6; }
  .copyright-owner { font-size: 0.72rem; color: #ffffff; }
  .copyright-dev {
    font-size: 0.72rem;
    padding-left: 0;
    border-left: none;
    width: 100%;
    margin-top: 2px;
    color: #ffffff;
  }

  .header-inner { padding: 0.5rem 0; gap: 0.5rem; }
  .logo-text { font-size: 0.9rem; }
  .logo-text span { display: none; }
  .logo-icon { width: 34px; height: 34px; }
  .tel { display: none; }

  .hero { min-height: 55vh; padding-top: env(safe-area-inset-top); }
  .hero-content { padding: calc(var(--header-height) + 0.75rem) 0 2.5rem; max-width: 100%; }
  .hero h1 { font-size: 1.9rem; margin-bottom: 0.6rem; letter-spacing: 0; }
  .hero-desc { font-size: 0.85rem; margin-bottom: 1.25rem; }
  .hero-scroll { display: none; }
  .hero-dots { bottom: 0.75rem; }

  .stats-grid { 
    grid-template-columns: repeat(2, 1fr); 
    gap: 0.5rem;
    padding: 0;
  }
  .stat-item { 
    padding: 0.75rem 0.5rem;
    border-radius: var(--radius-md);
  }
  .stat-number { font-size: 1.3rem; }
  .stat-label { font-size: 0.65rem; }
  .stat-icon { 
    width: 34px; 
    height: 34px;
    margin-bottom: 0.25rem;
  }
  .stat-icon svg { width: 18px; height: 18px; }

  .section { padding: 2.5rem 0; }
  .section-header { margin-bottom: 1.5rem; }
  .section-title { font-size: 1.35rem; margin-bottom: 0.5rem; }
  .section-subtitle { font-size: 0.8rem; }
  .section-eyebrow { font-size: 0.7rem; margin-bottom: 0.25rem; }

  .services-grid { grid-template-columns: repeat(2, 1fr); gap: 0.6rem; }
  .service-card {
    /* 移动端默认：大图标 + 标题 + 描述隐藏（跟电脑端逻辑一致） */
    padding: 1rem 0.6rem 0.8rem;
    min-height: 160px;
    cursor: pointer;
    overflow: hidden;
  }
  .service-card .service-icon { 
    width: 70px; 
    height: 70px;
    margin-bottom: 0.5rem;
  }
  .service-card .service-icon svg { width: 36px; height: 36px; }
  .service-card h3 { font-size: 0.9rem; margin-bottom: 0; }
  .service-card .service-desc { display: none; }
  .service-card p { display: none; }
  .service-card:hover { transform: none; box-shadow: var(--shadow-sm); }
  .service-card::after { display: none; }
  .service-arrow { display: none; }

  /* 移动端点击展开：active 状态 */
  .service-card.active {
    background: rgba(13, 115, 119, 0.12);
    align-items: center;
    text-align: center;
  }
  .service-card.active .service-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 0.4rem;
  }
  .service-card.active .service-icon svg { width: 24px; height: 24px; }
  .service-card.active h3 { font-size: 0.85rem; }
  .service-card.active .service-desc {
    display: block;
    max-height: 300px;
    opacity: 1;
    transform: translateY(0);
    margin-top: 0.4rem;
    font-size: 0.78rem;
    line-height: 1.5;
    text-align: left;
    width: 100%;
  }

  .about-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .about-images { max-width: 280px; margin: 0 auto; }
  .about-content h2 { font-size: 1.35rem; line-height: 1.3; margin-bottom: 0.75rem; }
  .about-lead { font-size: 0.85rem; line-height: 1.6; }
  .about-content p { font-size: 0.85rem; line-height: 1.6; }
  .about-features { grid-template-columns: 1fr 1fr; gap: 0.5rem; }
  .about-feature { padding: 8px 12px; font-size: 0.8rem; }
  .about-feature-icon { width: 20px; height: 20px; font-size: 0.65rem; }

  .news-grid { grid-template-columns: 1fr; gap: 0.75rem; }
  .news-card { padding: 0.75rem; }

  .product-grid { grid-template-columns: 1fr; gap: var(--space-4); }
  .product-image { height: 180px; }

  .advantages-grid { grid-template-columns: 1fr; gap: var(--space-4); }
  .advantage-item { padding: var(--space-4) var(--space-5); }

  .form-row { grid-template-columns: 1fr; gap: 0.75rem; }
  .contact-form { padding: 1.25rem; }
  .contact-form h2 { font-size: 1.3rem; }

  .footer { padding: 2rem 0 1.5rem; }
  .footer-bottom { 
    flex-direction: column; 
    gap: 0.5rem; 
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid rgba(255,255,255,0.1);
  }
  .footer-bottom p { font-size: 0.75rem; }

  /* 导航 - 移动端：隐藏横排菜单，显示汉堡按钮 */
  .nav {
    position: fixed;
    top: 60px;
    right: 0;
    width: 220px;
    height: calc(100vh - 60px);
    height: calc(100dvh - 60px);
    background: white;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem 0;
    box-shadow: -4px 0 20px rgba(0,0,0,0.1);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 99;
    overflow-y: auto;
  }
  .nav.active { transform: translateX(0); }
  .nav-link {
    padding: 0.85rem 1.25rem;
    border-radius: 0;
    text-align: left;
    font-size: 0.95rem;
    border-left: 3px solid transparent;
  }
  .nav-link.active {
    border-left-color: var(--primary);
    background: rgba(13, 115, 119, 0.06);
  }
  .menu-toggle { display: flex; }
  .menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle.active span:nth-child(2) { opacity: 0; }
  .menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 98;
    display: none;
  }
  .nav-backdrop.active { display: block; }
}

@media (max-width: 480px) {
  :root { --container-padding: 1rem; }
  .hero-content h1 { font-size: 1.55rem !important; white-space: nowrap !important; letter-spacing: -0.02em !important; }
  .hero-desc { font-size: 0.8rem !important; }
  .hero-dot { width: 6px; height: 6px; }
  .hero-dot.active { width: 16px; }
  .stat-number { font-size: 1.2rem; }
  .stat-item { padding: 0.6rem 0.4rem; }
  .stats-grid { gap: 0.4rem; }
  .service-card { padding: 0.85rem; gap: 0.75rem; }
  .service-icon { width: 44px; height: 44px; }
  .about-features { grid-template-columns: 1fr; gap: 0.4rem; }
  .about-images { max-width: 240px; }
  .about-content h2 { font-size: 1.2rem; }
  .section { padding: 2rem 0; }
  .section-title { font-size: 1.2rem; }
  .contact-form { padding: 1rem; }
  .footer { padding: 1.5rem 0 1rem; }
}

/* Firefox-specific */
@-moz-document url-prefix() {
  .hero { min-height: 100vh; }
  .nav { scrollbar-width: thin; }
}

/* IE11 fallback (no flex gap) */
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
  .footer-grid > * + * { margin-left: 1.5rem; }
  .stats-grid > * + * { margin-left: 1.5rem; }
}

/* ============================================
   Utility
   ============================================ */
.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;
}
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: var(--space-2); }
.mb-2 { margin-bottom: var(--space-4); }
.mb-3 { margin-bottom: var(--space-6); }
.mb-4 { margin-bottom: var(--space-8); }
.mt-0 { margin-top: 0; }
.mt-2 { margin-top: var(--space-4); }
.mt-3 { margin-top: var(--space-6); }
.mt-4 { margin-top: var(--space-8); }
.hidden { display: none !important; }
