/**
 * AutoPro 汽修服务 — 主样式表
 * 行业：汽车维修 / 养护 / 救援
 * 配色：白 + 橙(#E87A20) + 深灰 + 亮蓝点缀
 * 风格：大留白、大圆角、活力专业、透明可信
 * 纯原生 CSS，无框架依赖
 */

/* ============================================================
   Google Fonts — Noto Sans SC (中文) + Inter (英文/数字)
   ============================================================ */


/* ============================================================
   CSS 变量体系
   ============================================================ */
:root {
  /* 主色 — 活力橙 */
  --orange: #E87A20;
  --orange-light: #F5A623;
  --orange-dark: #C65D10;
  --orange-bg: #FFF5EB;
  --orange-bg-hover: #FFE8D5;

  /* 点缀色 — 亮蓝 */
  --blue: #1E6FD9;
  --blue-light: #E8F1FC;
  --blue-dark: #1554A5;

  /* 中性色 */
  --white: #FFFFFF;
  --gray-50: #F9FAFB;
  --gray-100: #F3F4F6;
  --gray-200: #E5E7EB;
  --gray-300: #D1D5DB;
  --gray-400: #9CA3AF;
  --gray-500: #6B7280;
  --gray-600: #4B5563;
  --gray-700: #374151;
  --gray-800: #1F2937;
  --gray-900: #111827;

  /* 语义色 */
  --text-primary: #1F2937;
  --text-secondary: #4B5563;
  --text-muted: #9CA3AF;
  --border: #E5E7EB;
  --border-light: #F3F4F6;

  /* 圆角 — 大圆角亲和力 */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-2xl: 24px;
  --radius-full: 9999px;

  /* 阴影 */
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -2px rgba(0,0,0,0.05);
  --shadow-lg: 0 10px 25px -5px rgba(0,0,0,0.08), 0 4px 10px -6px rgba(0,0,0,0.04);
  --shadow-xl: 0 20px 50px -12px rgba(0,0,0,0.12);
  --shadow-orange: 0 8px 24px rgba(232,122,32,0.15);

  /* 间距 */
  --section-py: 80px;
  --section-py-sm: 56px;
  --container-max: 1200px;
  --header-h: 72px;

  /* 过渡 */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --duration-fast: 150ms;
  --duration-normal: 300ms;
  --duration-slow: 500ms;

  /* 字体 — Noto Sans SC 中文优先 + Inter 英文/数字 */
  --font-heading: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', 'Hiragino Sans GB', sans-serif;
  --font-body: 'Noto Sans SC', 'Inter', 'PingFang SC', 'Microsoft YaHei', 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ============================================================
   全局重置 & 基础
   ============================================================ */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--white);
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

::selection {
  background: rgba(232, 122, 32, 0.2);
  color: var(--gray-900);
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-out);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul, ol { list-style: none; }

input, textarea, select, button {
  font-family: inherit;
  font-size: inherit;
}

input::placeholder, textarea::placeholder {
  color: var(--gray-400);
  opacity: 1;
}

/* ============================================================
   排版
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-primary);
  font-weight: 700;
  line-height: 1.35;
}

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.5rem;
  position: relative;
  padding-left: 14px;
}

.section-tag::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 16px;
  background: var(--orange);
  border-radius: 2px;
}

.section-title {
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 560px;
  line-height: 1.7;
}

/* ============================================================
   布局容器
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.container--narrow {
  max-width: 900px;
}

.section {
  padding: var(--section-py) 0;
}

.section--gray {
  background: var(--gray-50);
}

.section--orange {
  background: var(--orange-bg);
}

/* ============================================================
   Header 头部 — 白色实底 + 深色文字 (13.11 避坑)
   ============================================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--duration-normal) var(--ease-out);
}

.header.scrolled {
  box-shadow: var(--shadow-md);
}

.header__inner {
  display: flex;
  align-items: center;
  height: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* Logo */
.header__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  margin-right: auto;
}

.header__logo-icon {
  width: 42px;
  height: 42px;
  background: var(--orange);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: #fff;
}

.header__logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.header__logo-name {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.header__logo-sub {
  font-size: 0.62rem;
  letter-spacing: 0.15em;
  color: var(--orange);
  font-weight: 500;
}

/* 主导航 */
.header__nav {
  display: flex;
  align-items: center;
  gap: 2px;
}

.header__nav-link {
  padding: 8px 16px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: all var(--duration-fast) var(--ease-out);
  white-space: nowrap;
}

.header__nav-link:hover {
  color: var(--orange);
  background: var(--orange-bg);
}

.header__nav-link.active {
  color: var(--orange);
  background: var(--orange-bg);
  font-weight: 600;
}

/* 导航下拉 */
.header__nav-item {
  position: relative;
}

.header__nav-item:hover .header__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.header__dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 160px;
  padding: 8px 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all var(--duration-normal) var(--ease-out);
  z-index: 60;
}

.header__dropdown a {
  display: block;
  padding: 10px 20px;
  font-size: 0.88rem;
  color: var(--text-secondary);
  transition: all var(--duration-fast) var(--ease-out);
}

.header__dropdown a:hover {
  color: var(--orange);
  background: var(--orange-bg);
}

/* 紧急救援按钮 */
.header__emergency {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 18px;
  background: var(--orange);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  margin-left: 12px;
  transition: all var(--duration-fast) var(--ease-out);
  white-space: nowrap;
}

.header__emergency:hover {
  color: #fff;
  background: var(--orange-dark);
  box-shadow: var(--shadow-orange);
  transform: translateY(-1px);
}

/* ============================================================
   汉堡菜单 (13.4: 独立于 nav__actions)
   ============================================================ */
.hamburger {
  display: none;
  width: 40px;
  height: 40px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 110;
  margin-left: 8px;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2.5px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--duration-normal) var(--ease-out);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* 移动端侧滑菜单 */
.mobile-nav {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 80%;
  max-width: 360px;
  background: var(--white);
  z-index: 120;
  transform: translateX(-100%);
  transition: transform var(--duration-normal) var(--ease-out);
  overflow-y: auto;
}

.mobile-nav.open {
  transform: translateX(0);
  box-shadow: var(--shadow-xl);
}

.mobile-nav__inner {
  padding: 24px;
  padding-top: 80px;
}

.mobile-nav__link {
  display: block;
  padding: 14px 16px;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-primary);
  border-radius: var(--radius-sm);
  transition: all var(--duration-fast);
}

.mobile-nav__link:hover {
  background: var(--orange-bg);
  color: var(--orange);
}

.mobile-nav__sub {
  padding-left: 16px;
  display: none;
}

.mobile-nav__sub.open {
  display: block;
}

.mobile-nav__sub a {
  display: block;
  padding: 10px 16px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
}

.mobile-nav__sub a:hover {
  color: var(--orange);
  background: var(--orange-bg);
}

.mobile-nav__overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 115;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--duration-normal) var(--ease-out);
}

.mobile-nav__overlay.show {
  opacity: 1;
  pointer-events: auto;
}

/* ============================================================
   按钮系统
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  font-size: 0.92rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: all var(--duration-normal) var(--ease-out);
  white-space: nowrap;
  cursor: pointer;
}

.btn--primary {
  background: var(--orange);
  color: #fff;
}

.btn--primary:hover {
  background: var(--orange-dark);
  box-shadow: var(--shadow-orange);
  transform: translateY(-2px);
  color: #fff;
}

.btn--outline {
  background: transparent;
  color: var(--orange);
  border: 2px solid var(--orange);
}

.btn--outline:hover {
  background: var(--orange);
  color: #fff;
}

.btn--white {
  background: var(--white);
  color: var(--orange);
}

.btn--white:hover {
  background: var(--orange-bg);
  box-shadow: var(--shadow-md);
}

.btn--light {
  background: var(--orange-bg);
  color: var(--orange);
}

.btn--light:hover {
  background: var(--orange-bg-hover);
}

.btn--lg {
  padding: 15px 36px;
  font-size: 1rem;
}

.btn--sm {
  padding: 8px 18px;
  font-size: 0.85rem;
}

/* 脉冲按钮 */
.btn--primary.pulse {
  animation: btnPulse 2s infinite;
}

@keyframes btnPulse {
  0% { box-shadow: 0 0 0 0 rgba(232, 122, 32, 0.4); }
  70% { box-shadow: 0 0 0 14px rgba(232, 122, 32, 0); }
  100% { box-shadow: 0 0 0 0 rgba(232, 122, 32, 0); }
}

/* ============================================================
   Hero Banner
   ============================================================ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  background: var(--gray-900);
}

.hero .swiper {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(135deg,
    rgba(17, 24, 39, 0.75) 0%,
    rgba(31, 41, 55, 0.5) 50%,
    rgba(232, 122, 32, 0.15) 100%);
}

/* Canvas 粒子层 */
.hero__canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 3;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5.5vw, 3.5rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 1rem;
  max-width: 700px;
}

.hero__title span {
  color: var(--orange);
}

.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 2rem;
  font-weight: 400;
  max-width: 560px;
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Hero Swiper 分页器 */
.hero-pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}

.hero-pagination .swiper-pagination-bullet {
  width: 32px;
  height: 3px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.4);
  opacity: 1;
  transition: all var(--duration-normal);
}

.hero-pagination .swiper-pagination-bullet-active {
  width: 56px;
  background: var(--orange);
}

/* Hero 滚动指示器 */
.hero__scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  animation: scrollFloat 2s ease-in-out infinite;
}

.hero__scroll-line {
  width: 1px;
  height: 32px;
  background: linear-gradient(180deg, var(--orange), transparent);
}

@keyframes scrollFloat {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ============================================================
   卡片系统
   ============================================================ */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--duration-normal) var(--ease-out);
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.card:hover {
  border-color: var(--orange);
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.card__image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--gray-100);
}

.card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-out);
}

.card:hover .card__image img {
  transform: scale(1.06);
}

.card__body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card__tag {
  display: inline-block;
  align-self: flex-start;
  padding: 4px 12px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--orange);
  background: var(--orange-bg);
  border-radius: var(--radius-full);
  margin-bottom: 10px;
}

.card__title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.card__desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 12px;
}

.card__meta {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--border-light);
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: auto;
}

.card__price {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--orange);
  margin-top: 8px;
}

/* 服务图标卡 */
.card--icon {
  text-align: center;
  padding: 36px 24px;
  border: 2px solid var(--border-light);
}

.card--icon:hover {
  border-color: var(--orange);
}

.card__icon-circle {
  width: 72px;
  height: 72px;
  margin: 0 auto 18px;
  background: var(--orange-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  color: var(--orange);
  transition: all var(--duration-normal) var(--ease-out);
}

.card--icon:hover .card__icon-circle {
  background: var(--orange);
  color: #fff;
  box-shadow: var(--shadow-orange);
  transform: scale(1.05);
}

/* ============================================================
   数字统计区
   ============================================================ */
.stats-section {
  background: var(--orange);
  position: relative;
  overflow: hidden;
}

.stats-section::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='%23ffffff' fill-opacity='0.06'%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");
  pointer-events: none;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 52px 0;
  position: relative;
  z-index: 1;
}

.stat-item {
  text-align: center;
  color: #fff;
}

.stat-item__number {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 800;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-item__number span {
  font-size: 1.5rem;
  font-weight: 600;
}

.stat-item__label {
  font-size: 0.9rem;
  opacity: 0.85;
  font-weight: 500;
}

/* ============================================================
   紧急救援 CTA 横幅
   ============================================================ */
.emergency-banner {
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  border-radius: var(--radius-2xl);
  padding: 48px 40px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.emergency-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 50%;
  pointer-events: none;
}

.emergency-banner::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 200px;
  height: 200px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 50%;
  pointer-events: none;
}

.emergency-banner > * {
  position: relative;
  z-index: 1;
}

.emergency-banner__icon {
  font-size: 2.5rem;
  margin-bottom: 12px;
  display: block;
  animation: floatUpDown 3s ease-in-out infinite;
}

@keyframes floatUpDown {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.emergency-banner__title {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #fff;
}

.emergency-banner__phone {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  letter-spacing: 0.02em;
  margin-bottom: 16px;
  color: #fff;
}

.emergency-banner__desc {
  font-size: 1rem;
  opacity: 0.95;
  margin-bottom: 24px;
}

/* ============================================================
   服务流程
   ============================================================ */
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}

.process::before {
  content: '';
  position: absolute;
  top: 36px;
  left: calc(12.5% + 18px);
  right: calc(12.5% + 18px);
  height: 2px;
  background: var(--border);
  z-index: 0;
}

.process-step {
  text-align: center;
  position: relative;
  z-index: 1;
}

.process-step__num {
  width: 72px;
  height: 72px;
  margin: 0 auto 18px;
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--orange);
  transition: all var(--duration-normal) var(--ease-out);
}

.process-step:hover .process-step__num {
  background: var(--orange);
  color: #fff;
  border-color: var(--orange);
  box-shadow: var(--shadow-orange);
}

.process-step__title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.process-step__desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

/* ============================================================
   内页 Banner
   ============================================================ */
.inner-banner {
  position: relative;
  height: 300px;
  overflow: hidden;
  background: var(--gray-800);
  margin-top: var(--header-h);
}

.inner-banner__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.inner-banner__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(31, 41, 55, 0.7) 0%, rgba(31, 41, 55, 0.6) 100%);
}

.inner-banner__content {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.inner-banner__title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
}

.inner-banner__subtitle {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.75);
}

/* 面包屑 */
.breadcrumb-bar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 14px 24px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.breadcrumb a {
  color: var(--text-secondary);
  transition: color var(--duration-fast);
}

.breadcrumb a:hover {
  color: var(--orange);
}

.breadcrumb i {
  font-size: 0.65rem;
  color: var(--text-muted);
}

/* ============================================================
   子栏目过滤栏
   ============================================================ */
.filter-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 8px;
  margin-bottom: 36px;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.filter-bar::-webkit-scrollbar { display: none; }

.filter-bar a {
  display: inline-flex;
  padding: 8px 20px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-secondary);
  background: var(--gray-50);
  border-radius: var(--radius-full);
  white-space: nowrap;
  transition: all var(--duration-fast) var(--ease-out);
  flex-shrink: 0;
}

.filter-bar a:hover,
.filter-bar a.active {
  color: #fff;
  background: var(--orange);
}

/* ============================================================
   列表页网格
   ============================================================ */
.list-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.list-grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

.list-header {
  text-align: center;
  margin-bottom: 40px;
}

.list-header h1 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  margin-bottom: 0.5rem;
}

/* ============================================================
   详情页
   ============================================================ */
.detail {
  max-width: 900px;
  margin: 0 auto;
}

.detail__header {
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.detail__title {
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  margin-bottom: 12px;
}

.detail__meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.detail__meta-row i {
  margin-right: 4px;
  color: var(--orange);
}

/* 参数卡片网格 */
.detail__params {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
  margin-bottom: 32px;
}

.detail__param {
  padding: 18px 16px;
  background: var(--gray-50);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  text-align: center;
}

.detail__param-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.detail__param-value {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
}

/* 详情图轮播 */
.detail-gallery {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 32px;
}

.detail-gallery .swiper-slide {
  aspect-ratio: 16 / 9;
}

.detail-gallery .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 正文 */
.detail__body {
  color: var(--text-secondary);
  line-height: 1.9;
  font-size: 0.95rem;
}

.detail__body img {
  border-radius: var(--radius-md);
  margin: 24px 0;
  max-width: 100%;
}

.detail__body p { margin-bottom: 16px; }

.detail__body h2, .detail__body h3 {
  font-family: var(--font-heading);
  color: var(--text-primary);
  margin-top: 32px;
  margin-bottom: 16px;
}

/* 上下篇 */
.detail__pager {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 0.88rem;
  color: var(--text-muted);
  gap: 12px;
  flex-wrap: wrap;
}

.detail__pager a {
  color: var(--text-secondary);
  transition: color var(--duration-fast);
}

.detail__pager a:hover {
  color: var(--orange);
}

/* 相关推荐 */
.related-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin: 56px 0 24px;
  color: var(--text-primary);
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* Tab 切换 */
.tabs {
  display: flex;
  gap: 0;
  border-bottom: 2px solid var(--border);
  margin-bottom: 32px;
}

.tab-btn {
  padding: 12px 24px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-muted);
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-out);
}

.tab-btn:hover {
  color: var(--text-primary);
}

.tab-btn.active {
  color: var(--orange);
  border-bottom-color: var(--orange);
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
}

/* ============================================================
   表单
   ============================================================ */
.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.form-group label .required {
  color: #DC2626;
}

.form-control {
  width: 100%;
  padding: 13px 16px;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 0.92rem;
  transition: all var(--duration-fast) var(--ease-out);
}

.form-control:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(232, 122, 32, 0.1);
}

textarea.form-control {
  resize: vertical;
  min-height: 110px;
}

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%236B7280' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
  cursor: pointer;
}

.form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}

/* ============================================================
   左图右文布局 (图文错落)
   ============================================================ */
.media-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.media-row--reverse {
  direction: rtl;
}

.media-row--reverse > * {
  direction: ltr;
}

.media-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--gray-100);
}

.media-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-image::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.05));
  pointer-events: none;
}

.media-text {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.media-text p {
  color: var(--text-secondary);
  line-height: 1.8;
}

/* ============================================================
   联系我们
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.contact-info__item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: var(--gray-50);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  transition: all var(--duration-fast) var(--ease-out);
  cursor: pointer;
}

.contact-info__item:hover {
  border-color: var(--orange);
  background: var(--orange-bg);
}

.contact-info__icon {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-md);
  background: var(--orange-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange);
  flex-shrink: 0;
  font-size: 1.1rem;
}

.contact-info__label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 2px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.contact-info__value {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* ============================================================
   评价卡片
   ============================================================ */
.review-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all var(--duration-normal) var(--ease-out);
  cursor: pointer;
}

.review-card:hover {
  border-color: var(--orange);
  box-shadow: var(--shadow-md);
}

.review-card__stars {
  color: #F59E0B;
  font-size: 1rem;
  margin-bottom: 12px;
  letter-spacing: 2px;
}

.review-card__text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 16px;
  font-style: italic;
}

.review-card__author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.review-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--orange-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange);
  font-weight: 700;
  font-size: 1rem;
}

.review-card__name {
  font-weight: 600;
  color: var(--text-primary);
  font-size: 0.9rem;
}

.review-card__service {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ============================================================
   新闻列表
   ============================================================ */
.news-item {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 24px;
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  margin-bottom: 16px;
  transition: all var(--duration-fast) var(--ease-out);
  cursor: pointer;
}

.news-item:hover {
  border-color: var(--orange);
  box-shadow: var(--shadow-sm);
}

.news-item__thumb {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--gray-100);
}

.news-item__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-item__info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.news-item__title {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
  line-height: 1.4;
}

.news-item__desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.news-item__date {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: auto;
}

/* ============================================================
   搜索页
   ============================================================ */
.search-box {
  max-width: 700px;
  margin: 0 auto;
}

.search-form-row {
  display: flex;
  gap: 10px;
}

.search-input-wrap {
  position: relative;
  flex: 1;
}

.search-input-wrap i {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 1rem;
}

.search-input-wrap input {
  width: 100%;
  padding: 15px 20px 15px 46px;
  border: 2px solid var(--border);
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  color: var(--text-primary);
  transition: all var(--duration-fast) var(--ease-out);
}

.search-input-wrap input:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(232, 122, 32, 0.1);
}

.search-result-item {
  display: flex;
  gap: 18px;
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: all var(--duration-fast) var(--ease-out);
  margin-bottom: 10px;
  cursor: pointer;
}

.search-result-item:hover {
  border-color: var(--orange);
  background: var(--gray-50);
}

.search-result-item__thumb {
  width: 120px;
  height: 90px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex-shrink: 0;
  background: var(--gray-100);
}

.search-result-item__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.search-result-item__info {
  flex: 1;
  min-width: 0;
}

.search-result-item__title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.search-result-item__date {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.search-result-item__desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ============================================================
   分页
   ============================================================ */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
  margin-top: 48px;
}

.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: all var(--duration-fast) var(--ease-out);
}

.pagination a:hover {
  background: var(--orange-bg);
  border-color: var(--orange);
  color: var(--orange);
}

.pagination .active {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
  font-weight: 600;
}

.pagination .disabled {
  color: var(--text-muted);
  pointer-events: none;
  opacity: 0.5;
}

/* ============================================================
   空状态
   ============================================================ */
.empty-state {
  text-align: center;
  padding: 60px 20px;
}

.empty-state i {
  font-size: 3rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  display: block;
  opacity: 0.4;
}

.empty-state p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ============================================================
   在线客服悬浮按钮
   ============================================================ */
.online-service {
  position: fixed;
  right: 20px;
  bottom: 140px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  cursor: pointer;
  z-index: 80;
  box-shadow: var(--shadow-orange);
  transition: all var(--duration-normal) var(--ease-out);
  border: none;
}

.online-service:hover {
  transform: scale(1.1);
  background: var(--orange-dark);
}

/* ============================================================
   返回顶部
   ============================================================ */
.back-top {
  position: fixed;
  right: 20px;
  bottom: 80px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  cursor: pointer;
  z-index: 80;
  opacity: 0;
  pointer-events: none;
  transition: all var(--duration-normal) var(--ease-out);
  box-shadow: var(--shadow-sm);
}

.back-top.show {
  opacity: 1;
  pointer-events: auto;
}

.back-top:hover {
  background: var(--orange);
  color: #fff;
  border-color: var(--orange);
}

/* ============================================================
   Footer 底部
   ============================================================ */
.footer {
  background: var(--gray-900);
  color: rgba(255, 255, 255, 0.65);
  padding-top: 56px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px 40px;
}

.footer__brand-desc {
  font-size: 0.88rem;
  line-height: 1.7;
  margin: 16px 0;
  color: rgba(255, 255, 255, 0.55);
}

.footer__social {
  display: flex;
  gap: 10px;
}

.footer__social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.95rem;
  transition: all var(--duration-fast) var(--ease-out);
}

.footer__social a:hover {
  background: var(--orange);
  color: #fff;
}

.footer__col-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 12px;
}

.footer__col-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 28px;
  height: 2px;
  background: var(--orange);
  border-radius: 1px;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__links a {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.55);
  transition: color var(--duration-fast);
}

.footer__links a:hover {
  color: var(--orange);
}

.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 10px;
}

.footer__contact-item i {
  color: var(--orange);
  margin-top: 4px;
  flex-shrink: 0;
}

.footer__qrcode {
  width: 110px;
  height: 110px;
  background: #fff;
  border-radius: var(--radius-sm);
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  color: #999;
  text-align: center;
}

/* 友情链接 */
.friend-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.friend-links__label {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
  flex-shrink: 0;
}

.friend-links a {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.35);
  transition: color var(--duration-fast);
}

.friend-links a:hover {
  color: var(--orange);
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px 0;
}

.footer__bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.35);
  flex-wrap: wrap;
  gap: 8px;
}

.footer__bottom a {
  color: rgba(255, 255, 255, 0.35);
  transition: color var(--duration-fast);
}

.footer__bottom a:hover {
  color: var(--orange);
}

/* ============================================================
   CTA 区域
   ============================================================ */
.cta-section {
  padding: 72px 0;
  text-align: center;
  background: var(--orange-bg);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(232, 122, 32, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.cta-section__title {
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.cta-section p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin-bottom: 28px;
}

.cta-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================================
   动画
   ============================================================ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* AOS 覆盖 */
[data-aos] {
  transition-timing-function: var(--ease-out);
}

/* ============================================================
   响应式 — 平板 (768px - 1023px)
   ============================================================ */
@media (max-width: 1023px) {
  :root {
    --section-py: 60px;
    --section-py-sm: 44px;
  }

  .header__nav {
    display: none;
  }

  .header__emergency {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 16px;
  }

  .process {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }

  .process::before {
    display: none;
  }

  .media-row {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .list-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .list-grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  .news-item {
    grid-template-columns: 140px 1fr;
  }

  .related-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .detail__params {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero {
    height: auto;
    min-height: 520px;
  }

  .inner-banner {
    height: 240px;
  }
}

/* ============================================================
   响应式 — 移动端 (< 768px)
   ============================================================ */
@media (max-width: 767px) {
  :root {
    --section-py: 48px;
    --section-py-sm: 36px;
  }

  .hero {
    height: 90vh;
    min-height: 460px;
  }

  .hero__title {
    font-size: 1.75rem;
  }

  .hero__subtitle {
    font-size: 0.95rem;
  }

  .hero__actions {
    flex-direction: column;
  }

  .hero__actions .btn {
    width: 100%;
    justify-content: center;
  }

  .inner-banner {
    height: 200px;
  }

  .stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px 12px;
  }

  .process {
    grid-template-columns: 1fr 1fr;
    gap: 24px 16px;
  }

  .list-grid {
    grid-template-columns: 1fr;
  }

  .list-grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer__bottom-inner {
    flex-direction: column;
    text-align: center;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .news-item {
    grid-template-columns: 1fr;
  }

  .news-item__thumb {
    aspect-ratio: 16 / 9;
  }

  .related-grid {
    grid-template-columns: 1fr;
  }

  .detail__params {
    grid-template-columns: repeat(2, 1fr);
  }

  .detail__pager {
    flex-direction: column;
    text-align: center;
  }

  .emergency-banner {
    padding: 36px 24px;
  }

  .emergency-banner__phone {
    font-size: 1.75rem;
  }

  .form-card {
    padding: 24px;
  }

  .search-result-item {
    flex-direction: column;
  }

  .search-result-item__thumb {
    width: 100%;
    height: 160px;
  }

  .tabs {
    overflow-x: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
  }

  .tabs::-webkit-scrollbar { display: none; }

  .tab-btn {
    white-space: nowrap;
    padding: 10px 16px;
    font-size: 0.85rem;
  }

  .section-title {
    font-size: 1.35rem;
  }

  .back-top {
    right: 12px;
    bottom: 70px;
  }

  .online-service {
    right: 12px;
    bottom: 120px;
  }
}

/* ============================================================
   小屏手机 (< 375px)
   ============================================================ */
@media (max-width: 374px) {
  body { font-size: 14px; }
  .list-grid--4 { grid-template-columns: 1fr; }
  .stats { gap: 20px 8px; }
}

/* ============================================================
   减少动画偏好
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Mobile refinement: preserve desktop geometry and all CMS content. */
@media (max-width: 1023px) {
  body { overflow-x: visible; }
  /* Horizontal AOS entrances must stay inside the viewport on tablets. */
  [data-aos="fade-left"], [data-aos="fade-right"] { transform: translateY(24px); }
  [data-aos="fade-left"].aos-animate, [data-aos="fade-right"].aos-animate { transform: translateY(0); }
  .mobile-nav:not(.open) { visibility: hidden; }
  .mobile-nav__inner { padding: 26px 18px; }
  .mobile-nav__link { padding: 11px 14px; }
  .js-submenu-toggle { width: 100%; border: 0; background: transparent; text-align: left; }
  .mobile-nav__close { position: absolute; right: 10px; top: 8px; width: 44px; height: 44px; border: 0; background: transparent; font-size: 28px; color: var(--text-primary); cursor: pointer; }
  .list-grid > *, .media-row > *, .contact-grid > *, .footer__grid > *, .form-group { min-width: 0; }
  .detail__body, .footer__contact-item { overflow-wrap: anywhere; }
  .detail__body table { display: block; max-width: 100%; overflow-x: auto; }
  .pagination { flex-wrap: wrap; }
  .hero__content { min-height: inherit; padding-top: var(--header-h); padding-bottom: 45px; }
}
@media (max-width: 767px) {
  :root { --section-py: 30px; --section-py-sm: 26px; --header-h: 64px; }
  .container, .header__inner, .hero__content { padding-left: 16px; padding-right: 16px; }
  .header__logo { min-width: 0; }
  .header__logo-name { font-size: 1rem; }
  .hamburger { flex-shrink: 0; width: 44px; height: 44px; }
  .hero { height: 440px; min-height: 440px; }
  .hero__title { font-size: clamp(1.5rem, 6.7vw, 1.9rem); line-height: 1.35; }
  .hero__subtitle { font-size: .88rem; margin-bottom: 20px; }
  .hero__actions { flex-direction: row; gap: 10px; }
  .hero__actions .btn { flex: 1; width: auto; padding: 12px 10px; }
  .hero__scroll { bottom: 14px; }
  .hero__scroll-line { height: 18px; }
  .stats { padding: 24px 0; gap: 22px 12px; }
  .stat-item__number { margin-bottom: 5px; }
  .stat-item__label { font-size: .8rem; }
  .section > .container > [style*="margin-bottom:48px"],
  .section > .container > [style*="margin-bottom:40px"] { margin-bottom: 22px !important; }
  .section > .container > [style*="margin-top:36px"] { margin-top: 20px !important; }
  .section-tag { font-size: .7rem; }
  .section-subtitle { font-size: .88rem; }
  .list-grid, .list-grid--4, .related-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
  .list-grid:has(> .review-card) { grid-template-columns: 1fr; }
  .card--icon { padding: 18px 10px; }
  .card__icon-circle { width: 48px; height: 48px; font-size: 1.25rem; margin-bottom: 10px; }
  .card__title { font-size: .93rem; }
  .card__body { padding: 12px; }
  .card__desc { font-size: .8rem; margin-bottom: 8px; }
  .card__meta { flex-wrap: wrap; gap: 6px; }
  .emergency-banner { padding: 24px 16px; border-radius: 18px; }
  .emergency-banner__icon { font-size: 1.8rem; margin-bottom: 6px; }
  .emergency-banner__title { font-size: 1.35rem; }
  .emergency-banner__phone { font-size: 1.6rem; margin-bottom: 8px; }
  .emergency-banner__desc { font-size: .86rem; margin-bottom: 16px; }
  .btn, .btn--lg { padding: 11px 20px; font-size: .88rem; min-height: 44px; }
  .process { gap: 20px 14px; }
  .process-step__num { width: 44px; height: 44px; font-size: 1.1rem; margin-bottom: 10px; }
  .process-step__title { font-size: .95rem; }
  .process-step__desc { font-size: .8rem; }
  .media-row { gap: 20px; }
  .media-image { aspect-ratio: 16/10; }
  .media-text { gap: 10px; }
  .media-text p { font-size: .9rem; line-height: 1.8; }
  .review-card { padding: 18px; }
  .review-card__stars { margin-bottom: 8px; }
  .review-card__text { font-size: .88rem; line-height: 1.75; margin-bottom: 12px; }
  .review-card__avatar { width: 36px; height: 36px; flex-shrink: 0; }
  .news-item { grid-template-columns: 90px minmax(0,1fr); gap: 12px; padding: 12px; margin-bottom: 12px; align-items: start; }
  .news-item__thumb { aspect-ratio: 1; }
  .news-item__title { font-size: .94rem; margin-bottom: 6px; }
  .news-item__desc { font-size: .78rem; }
  .news-item__date { font-size: .73rem; margin-top: 6px; }
  .cta-section { padding: 30px 0; }
  .cta-section__title { font-size: 1.35rem; }
  .cta-section p { font-size: .88rem; margin-bottom: 18px; }
  .cta-actions { gap: 10px; }
  .cta-actions .btn { padding: 10px 14px; }
  .footer { padding-top: 30px; }
  .footer__grid { grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 22px 16px; padding: 0 16px 24px; }
  .footer__grid > :first-child, .footer__grid > :nth-child(2) { grid-column: 1/-1; }
  .footer__brand-desc { margin: 10px 0; font-size: .82rem; }
  .footer__col-title { font-size: .95rem; margin-bottom: 12px; padding-bottom: 8px; }
  .footer__links { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 0 8px; }
  .footer__links a { padding: 10px 0; font-size: .8rem; }
  .footer__contact-item { font-size: .77rem; gap: 7px; }
  .footer__grid > :last-child > p span { font-size: .95rem !important; }
  .footer__qrcode { width: 90px; height: 90px; }
  .footer__bottom { padding: 15px 0; }
  .footer__bottom-inner { padding: 0 16px; font-size: .72rem; }
  .friend-links { gap: 10px; padding: 14px 0; }
  .inner-banner, .inner-banner[style] { height: 180px !important; }
  .inner-banner__title { font-size: 1.55rem; overflow-wrap: anywhere; }
  .inner-banner__subtitle { font-size: .86rem; }
  .breadcrumb { padding-left: 16px; padding-right: 16px; flex-wrap: wrap; }
  .detail__title { font-size: 1.4rem; }
  .detail__header, .detail__params { margin-bottom: 22px; }
  .detail__param { padding: 14px 10px; }
  .detail__body { font-size: .94rem; }
  .detail__body img { height: auto !important; }
  .tabs { max-width: 100%; }
  .tab-btn { padding: 11px 12px; flex-shrink: 0; }
  .form-card { padding: 20px 16px; }
  .form-control { min-width: 0; max-width: 100%; font-size: 16px; }
  .form-card form > [style*="grid-template-columns"] { grid-template-columns: minmax(0,1fr) !important; gap: 0 !important; }
  .form-card form > [style*="display:flex"] { flex-wrap: wrap; }
  .contact-grid { gap: 24px; }
  .contact-info__item { padding: 14px; }
  .gallery-grid[style] { grid-template-columns: repeat(2,minmax(0,1fr)) !important; gap: 12px; }
  .search-form-row { flex-wrap: wrap; }
  .search-input-wrap { min-width: 180px; }
  .search-result-item { flex-direction: row; padding: 12px; gap: 12px; }
  .search-result-item__thumb { width: 80px; height: 80px; }
  .search-result-item__title { white-space: normal; font-size: .95rem; }
  .online-service { width: 44px; height: 44px; bottom: 76px; right: 10px; font-size: 1.1rem; }
  .back-top { width: 40px; height: 40px; bottom: 24px; right: 12px; }
}

@media (max-width:1023px) { .mobile-nav__close { display:block !important; } }
