/**
 * 缘定一生 · 婚礼策划 — 婚庆服务官网主题样式
 * 暖红浪漫基调 + 香槟金点缀 + 暖白大留白
 * 大圆角温馨风格 · 原生CSS 无框架依赖
 * 适配: 首页 / 服务列表 / 服务详情 / 婚礼案例 / 客户评价 / 新闻 / 关于我们 / 联系我们 / 婚礼咨询
 */
/* 注:已移除 Google Fonts @import —— 国内访问 fonts.googleapis.com 超时会阻塞整页渲染，改用本地回退字体(font变量) */

/* ============================================================
   CSS 变量体系 — 暖红婚庆主题
   ============================================================ */
:root {
  /* === 主色系 — 暖红 === */
  --red: #C41A1A;
  --red-dark: #8B1A1A;
  --red-light: rgba(196, 26, 26, 0.08);
  --red-dim: rgba(196, 26, 26, 0.15);
  --red-gradient: linear-gradient(135deg, #C41A1A 0%, #E04545 50%, #8B1A1A 100%);
  --red-gradient-soft: linear-gradient(135deg, rgba(196,26,26,0.92) 0%, rgba(224,69,69,0.85) 100%);

  /* === 点缀色 — 香槟金 === */
  --gold: #C9A96E;
  --gold-light: #D4AF37;
  --gold-dim: rgba(201, 169, 110, 0.15);
  --gold-gradient: linear-gradient(135deg, #C9A96E, #D4AF37, #E0C878);

  /* === 辅助色 — 粉色 === */
  --pink: #F4C2C2;
  --pink-light: #FDE8E8;
  --rose: #E8B4B8;

  /* === 底色系 — 暖白 === */
  --cream: #FFFAF5;
  --cream-dark: #FEF5ED;
  --bg-warm: #FFF8F0;
  --white: #FFFFFF;

  /* === 文字色阶 === */
  --text-dark: #2D1A1A;
  --text-body: #5D4A4A;
  --text-muted: #9E8A8A;
  --text-light: #C4B0B0;

  /* === 边框 === */
  --border-light: rgba(201, 169, 110, 0.25);
  --border-gold: rgba(201, 169, 110, 0.4);
  --border-red: rgba(196, 26, 26, 0.12);
  --border-subtle: #F0E8E0;

  /* === 阴影 === */
  --shadow-sm: 0 2px 12px rgba(139, 26, 26, 0.06);
  --shadow-md: 0 8px 32px rgba(139, 26, 26, 0.08);
  --shadow-lg: 0 16px 48px rgba(139, 26, 26, 0.12);
  --shadow-red: 0 4px 20px rgba(196, 26, 26, 0.2);
  --shadow-gold: 0 4px 20px rgba(201, 169, 110, 0.2);

  /* === 圆角 === */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  /* === 间距 === */
  --section-py: 90px;
  --container-max: 1200px;
  --header-h: 80px;

  /* === 过渡 === */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --duration-fast: 180ms;
  --duration-normal: 350ms;
  --duration-slow: 600ms;

  /* === 字体 === */
  --font-heading: 'Noto Serif SC', 'STSong', 'Songti SC', 'Noto Serif CJK SC', 'Source Han Serif SC', 'SimSun', 'Georgia', serif;
  --font-accent: 'Noto Serif SC', 'STKaiti', 'KaiTi', '楷体', cursive;
  --font-body: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', 'Hiragino Sans GB', 'Noto Sans CJK SC', '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(--cream);
  color: var(--text-body);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.8;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* 选中色 */
::selection { background: rgba(196, 26, 26, 0.18); color: var(--text-dark); }

/* 滚动条 */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--cream-dark); }
::-webkit-scrollbar-thumb { background: var(--pink); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--rose); }

/* 链接 */
a { color: inherit; text-decoration: none; transition: color var(--duration-fast) var(--ease-out); }
a:hover { color: var(--red); }

/* 图片 */
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(--text-light); opacity: 1; }

/* ============================================================
   排版
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-dark);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0.03em;
}

/* 区块标签 */
.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
  position: relative;
}
.section-tag::after {
  content: '';
  display: block;
  width: 32px;
  height: 2px;
  background: var(--gold-gradient);
  margin-top: 8px;
  border-radius: 1px;
}

.section-title {
  font-size: clamp(1.6rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
  letter-spacing: 0.04em;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 540px;
  line-height: 1.75;
}

/* ============================================================
   布局容器
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: var(--section-py) 0; }
.section--warm { background: var(--bg-warm); }
.section--cream { background: var(--cream-dark); }

/* ============================================================
   Header 头部 — 暖白半透背景 + 红色点缀
   ============================================================ */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(255, 250, 245, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  transition: all var(--duration-normal) var(--ease-out);
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.97);
  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: 44px;
  height: 44px;
  background: var(--red-gradient);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: #fff;
}

.header__logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.header__logo-name {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: 0.02em;
}

.header__logo-sub {
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red);
}

/* 主导航 */
.header__nav {
  display: flex;
  align-items: center;
  gap: 2px;
}

.header__nav-link {
  padding: 8px 16px;
  font-size: 0.92rem;
  color: var(--text-body);
  border-radius: var(--radius-sm);
  transition: all var(--duration-fast) var(--ease-out);
  white-space: nowrap;
  font-weight: 500;
}

.header__nav-link:hover,
.header__nav-link.active {
  color: var(--red);
  background: var(--red-light);
}

/* 导航下拉 */
.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: 170px;
  padding: 8px 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-subtle);
  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.9rem;
  color: var(--text-body);
  transition: all var(--duration-fast) var(--ease-out);
}

.header__dropdown a:hover {
  color: var(--red);
  background: var(--red-light);
}

/* 头部右侧操作区 */
.header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: 20px;
}

.header__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 22px;
  background: var(--red-gradient);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: all var(--duration-fast) var(--ease-out);
  white-space: nowrap;
  box-shadow: var(--shadow-red);
}

.header__cta:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(196, 26, 26, 0.3);
}

/* ============================================================
   汉堡菜单（移动端）— 独立在 actions 外
   ============================================================ */
.hamburger {
  display: none;
  width: 42px; height: 42px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: none; border: none;
  cursor: pointer;
  z-index: 110;
  margin-left: 8px;
  padding: 0;
}

.hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text-dark);
  border-radius: 1px;
  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; transform: scaleX(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;
  box-shadow: var(--shadow-lg);
}

.mobile-nav.open { transform: translateX(0); }

.mobile-nav__inner { padding: 24px; padding-top: 80px; }

.mobile-nav__link {
  display: block;
  padding: 14px 16px;
  font-size: 1rem;
  color: var(--text-body);
  border-radius: var(--radius-sm);
  transition: all var(--duration-fast) var(--ease-out);
}

.mobile-nav__link:hover { color: var(--red); background: var(--red-light); }

.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-muted);
  border-radius: var(--radius-sm);
}

.mobile-nav__overlay {
  position: fixed; inset: 0;
  background: rgba(45, 26, 26, 0.5);
  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; }

/* ============================================================
   内页 Banner
   ============================================================ */
.inner-banner {
  position: relative;
  height: 360px;
  overflow: hidden;
  margin-top: var(--header-h);
  background: linear-gradient(135deg, #8B1A1A, #C41A1A);
}

.inner-banner__bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.4;
}

.inner-banner__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(139,26,26,0.5) 0%, rgba(196,26,26,0.35) 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.8rem, 4vw, 2.8rem);
  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-subtle);
}

.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);
  flex-wrap: wrap;
}

.breadcrumb a { color: var(--text-body); }
.breadcrumb a:hover { color: var(--red); }
.breadcrumb i { font-size: 0.6rem; color: var(--text-light); }

/* ============================================================
   按钮系统
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 30px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: all var(--duration-normal) var(--ease-out);
  white-space: nowrap;
  letter-spacing: 0.02em;
}

.btn--primary {
  background: var(--red-gradient);
  color: #fff;
  box-shadow: var(--shadow-red);
}

.btn--primary:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(196, 26, 26, 0.35);
}

.btn--outline {
  background: transparent;
  color: var(--red);
  border: 1.5px solid var(--red);
}

.btn--outline:hover {
  background: var(--red);
  color: #fff;
  transform: translateY(-2px);
}

.btn--gold {
  background: var(--gold-gradient);
  color: #fff;
  box-shadow: var(--shadow-gold);
}

.btn--gold:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(201, 169, 110, 0.35);
}

.btn--ghost {
  background: var(--white);
  color: var(--text-body);
  border: 1px solid var(--border-subtle);
}

.btn--ghost:hover {
  border-color: var(--red);
  color: var(--red);
  box-shadow: var(--shadow-sm);
}

.btn--white {
  background: var(--white);
  color: var(--red);
  box-shadow: var(--shadow-sm);
}

.btn--white:hover {
  color: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* ============================================================
   卡片系统 — 暖白+金色/红色细边框
   ============================================================ */
.card {
  background: var(--white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--duration-normal) var(--ease-out);
}

.card:hover {
  border-color: var(--border-gold);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.card__image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--cream-dark);
}

.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: 22px; }

.card__tag {
  display: inline-block;
  padding: 4px 12px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--red);
  background: var(--red-light);
  border-radius: var(--radius-full);
  margin-bottom: 10px;
}

.card__title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 6px;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card__desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card__meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.82rem;
  color: var(--text-light);
}

.card__meta i { color: var(--gold); }

.card__price {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--red);
  margin-top: 10px;
}

/* 卡片 — 金色边框hover（案例用） */
.card--gold:hover { border-color: var(--border-gold); }

/* ============================================================
   首页 — Hero Banner (Swiper轮播+暖红遮罩)
   ============================================================ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  margin-top: 0;
}

.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(180deg,
    rgba(139, 26, 26, 0.35) 0%,
    rgba(139, 26, 26, 0.2) 40%,
    rgba(45, 26, 26, 0.7) 100%);
}

.hero__content {
  position: relative;
  z-index: 3;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 24px;
  max-width: 800px;
  margin: 0 auto;
}

.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 1.2rem;
  text-shadow: 0 3px 30px rgba(0,0,0,0.3);
  letter-spacing: 0.05em;
}

.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.3rem);
  color: rgba(255,255,255,0.85);
  margin-bottom: 2.2rem;
  font-weight: 300;
  letter-spacing: 0.06em;
}

.hero__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Hero Swiper 分页器 */
.hero-pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 28px;
}

.hero-pagination .swiper-pagination-bullet {
  width: 36px; 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(--gold);
}

/* 滚动指示器 */
.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.6);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  animation: floatUpDown 2s ease-in-out infinite;
}

.hero__scroll-line {
  width: 1px;
  height: 28px;
  background: linear-gradient(180deg, var(--gold), transparent);
}

/* ============================================================
   首页 — 数据展示区 (数字滚动)
   ============================================================ */
.stats-section {
  background: var(--white);
  border-bottom: 1px solid var(--border-subtle);
  padding: 50px 0;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-item__number {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  color: var(--red);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-item__label {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ============================================================
   首页 — 服务分类卡片 (5列)
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.service-cat-card {
  text-align: center;
  padding: 36px 20px;
  background: var(--white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  transition: all var(--duration-normal) var(--ease-out);
  cursor: pointer;
}

.service-cat-card:hover {
  border-color: var(--red);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.service-cat-card__icon {
  width: 68px; height: 68px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--red-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--red);
  transition: all var(--duration-normal) var(--ease-out);
}

.service-cat-card:hover .service-cat-card__icon {
  background: var(--red);
  color: #fff;
  box-shadow: var(--shadow-red);
}

.service-cat-card__title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.service-cat-card__desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ============================================================
   首页 — 热门服务/婚礼案例 (3列)
   ============================================================ */
.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: 48px;
}

.list-header h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.5rem);
  margin-bottom: 0.5rem;
}

/* 查看更多 */
.section-more {
  text-align: center;
  margin-top: 36px;
}

/* ============================================================
   首页 — 服务流程 (5步)
   ============================================================ */
.process {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  position: relative;
}

.process::before {
  content: '';
  position: absolute;
  top: 28px; left: 10%; right: 10%;
  height: 1px;
  background: linear-gradient(90deg, var(--red), var(--gold), var(--red));
  z-index: 0;
  opacity: 0.3;
}

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

.process-step__num {
  width: 56px; height: 56px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--border-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--red);
  transition: all var(--duration-normal) var(--ease-out);
}

.process-step:hover .process-step__num {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
  box-shadow: var(--shadow-red);
}

.process-step__title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.process-step__desc {
  font-size: 0.8rem;
  color: var(--text-light);
  line-height: 1.5;
}

/* ============================================================
   首页 — 客户评价卡片
   ============================================================ */
.review-card {
  background: var(--white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px;
  text-align: center;
  transition: all var(--duration-normal) var(--ease-out);
}

.review-card:hover {
  border-color: var(--border-gold);
  box-shadow: var(--shadow-md);
}

.review-card__avatar {
  width: 72px; height: 72px;
  margin: 0 auto 16px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--border-gold);
}

.review-card__avatar img {
  width: 100%; height: 100%;
  object-fit: cover;
}

.review-card__text {
  font-size: 0.92rem;
  color: var(--text-body);
  line-height: 1.8;
  margin-bottom: 14px;
  font-style: italic;
  position: relative;
}

.review-card__text::before { content: '"'; color: var(--gold); font-size: 2rem; font-family: var(--font-heading); }
.review-card__text::after { content: '"'; color: var(--gold); font-size: 2rem; font-family: var(--font-heading); }

.review-card__name {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 2px;
}

.review-card__wedding {
  font-size: 0.78rem;
  color: var(--text-light);
}

/* ============================================================
   首页 — 婚礼实景画廊 (Swiper)
   ============================================================ */
.gallery-swiper { overflow: hidden; padding: 0 16px; }

.gallery-swiper .swiper-slide { width: 340px; }

.gallery-slide {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
}

.gallery-slide img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-out);
}

.gallery-slide:hover img { transform: scale(1.05); }

.gallery-slide__info {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 20px;
  background: linear-gradient(transparent, rgba(139, 26, 26, 0.85));
  color: #fff;
}

.gallery-slide__title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
}

/* ============================================================
   首页 — CTA 区
   ============================================================ */
.cta-section {
  text-align: center;
  padding: 80px 0 100px;
  background: var(--red-gradient-soft);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(201, 169, 110, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 50%, rgba(244, 194, 194, 0.1) 0%, transparent 60%);
  pointer-events: none;
}

.cta-section .section-tag { color: var(--gold-light); }
.cta-section .section-tag::after { background: var(--gold-light); }

.cta-section__title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
  position: relative;
}

.cta-section p {
  color: rgba(255,255,255,0.8);
  font-size: 1.05rem;
  margin-bottom: 32px;
}

/* ============================================================
   页面布局 — 左列表右分页
   ============================================================ */
.page-layout {
  display: flex;
  gap: 32px;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.page-main { flex: 1; min-width: 0; }

/* 子栏目过滤栏 */
.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: 9px 20px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-body);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  white-space: nowrap;
  transition: all var(--duration-fast) var(--ease-out);
  flex-shrink: 0;
  background: var(--white);
}

.filter-bar a:hover,
.filter-bar a.active {
  color: var(--red);
  border-color: var(--red);
  background: var(--red-light);
}

/* ============================================================
   详情页
   ============================================================ */
.detail {
  max-width: 900px;
  margin: 0 auto;
}

.detail__header {
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-subtle);
}

.detail__title {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  margin-bottom: 12px;
}

.detail__meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 0.88rem;
  color: var(--text-light);
}

.detail__meta-row i {
  margin-right: 4px;
  color: var(--gold);
}

/* 详情参数卡片 */
.detail__params {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
  margin-bottom: 32px;
}

.detail__param {
  padding: 18px;
  background: var(--cream);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  text-align: center;
}

.detail__param-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.detail__param-value {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-dark);
}

/* 详情正文 */
.detail__body {
  color: var(--text-body);
  line-height: 2;
  font-size: 0.98rem;
  letter-spacing: 0.02em;
}

.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, .detail__body h4 {
  font-family: var(--font-heading);
  color: var(--text-dark);
  margin-top: 32px;
  margin-bottom: 16px;
}

/* 详情页大图 */
.detail-gallery {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 40px;
}

.detail-gallery img {
  width: 100%;
  border-radius: var(--radius-lg);
}

/* 上下篇 */
.detail__pager {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.9rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 8px;
}

.detail__pager a { color: var(--text-body); }
.detail__pager a:hover { color: var(--red); }

/* 相关推荐 */
.related-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin: 56px 0 24px;
  color: var(--text-dark);
  font-family: var(--font-heading);
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* ============================================================
   联系我们页
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.contact-info__item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  transition: all var(--duration-fast) var(--ease-out);
}

.contact-info__item:hover { border-color: var(--border-gold); }

.contact-info__icon {
  width: 46px; height: 46px;
  border-radius: var(--radius-sm);
  background: var(--red-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red);
  flex-shrink: 0;
  font-size: 1.1rem;
}

.contact-info__label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 2px;
}

.contact-info__value {
  font-size: 0.9rem;
  color: var(--text-body);
}

.contact-form-card {
  padding: 36px;
  background: var(--white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

/* ============================================================
   表单
   ============================================================ */
.form-group { margin-bottom: 18px; }

.form-group label {
  display: block;
  font-size: 0.88rem;
  color: var(--text-body);
  margin-bottom: 6px;
  font-weight: 500;
}

.form-group label .required { color: var(--red); }

.form-control {
  width: 100%;
  padding: 14px 18px;
  background: var(--cream);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: var(--text-dark);
  font-size: 0.92rem;
  transition: all var(--duration-fast) var(--ease-out);
}

.form-control:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px var(--red-dim);
  background: var(--white);
}

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='%239E8A8A' 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: 36px;
}

/* 订阅/咨询表单行 */
.subscribe-form {
  display: flex;
  gap: 10px;
  margin-top: 24px;
}

.subscribe-form input {
  flex: 1;
  padding: 15px 20px;
  background: var(--white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  color: var(--text-dark);
  font-size: 0.95rem;
  transition: border-color var(--duration-fast) var(--ease-out);
}

.subscribe-form input:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px var(--red-dim);
}

/* ============================================================
   搜索页
   ============================================================ */
.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: 18px; top: 50%;
  transform: translateY(-50%);
  color: var(--text-light);
  font-size: 1rem;
}

.search-form-row input {
  width: 100%;
  padding: 15px 20px 15px 48px;
  background: var(--white);
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-full);
  color: var(--text-dark);
  font-size: 0.95rem;
  transition: all var(--duration-fast) var(--ease-out);
}

.search-form-row input:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px var(--red-dim);
}

.search-result-item {
  display: flex;
  gap: 18px;
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  transition: all var(--duration-fast) var(--ease-out);
  margin-bottom: 10px;
}

.search-result-item:hover {
  border-color: var(--border-gold);
  box-shadow: var(--shadow-sm);
}

.search-result-item__thumb {
  width: 120px; height: 90px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex-shrink: 0;
  background: var(--cream-dark);
}

.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: 1rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.search-result-item__date {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-bottom: 4px;
}

.search-result-item__desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  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;
  flex-wrap: wrap;
}

.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px; height: 42px;
  padding: 0 10px;
  font-size: 0.9rem;
  color: var(--text-body);
  border-radius: var(--radius-sm);
  transition: all var(--duration-fast) var(--ease-out);
  background: var(--white);
  border: 1px solid var(--border-subtle);
}

.pagination a:hover {
  background: var(--red-light);
  color: var(--red);
  border-color: var(--red);
}

.pagination .active {
  background: var(--red-gradient);
  color: #fff;
  font-weight: 600;
  border-color: transparent;
}

.pagination .disabled {
  color: var(--text-light);
  pointer-events: none;
  background: var(--cream);
}

/* ============================================================
   空状态
   ============================================================ */
.empty-state {
  text-align: center;
  padding: 60px 20px;
}

.empty-state i {
  font-size: 3rem;
  color: var(--text-light);
  margin-bottom: 16px;
  display: block;
}

.empty-state p { color: var(--text-muted); font-size: 0.95rem; }

/* ============================================================
   Footer 底部 — 暖红/深色背景
   ============================================================ */
.footer {
  background: linear-gradient(180deg, #2D1A1A 0%, #1A0D0D 100%);
  color: rgba(255,255,255,0.65);
}

.footer__top-line {
  height: 3px;
  background: var(--gold-gradient);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding: 60px 0 40px;
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

.footer__brand-desc {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
  margin: 16px 0;
}

.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.6);
  font-size: 0.95rem;
  transition: all var(--duration-fast) var(--ease-out);
}

.footer__social a:hover {
  background: var(--red);
  color: #fff;
}

.footer__col-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 22px;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__links a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.55);
  transition: color var(--duration-fast);
}

.footer__links a:hover { color: var(--gold); }

.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 12px;
}

.footer__contact-item i {
  color: var(--gold);
  margin-top: 3px;
  flex-shrink: 0;
  font-size: 0.9rem;
}

.footer__qrcode {
  width: 120px; height: 120px;
  background: #fff;
  border-radius: var(--radius-sm);
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  color: #999;
}

.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.82rem;
  color: rgba(255,255,255,0.4);
  flex-wrap: wrap;
  gap: 8px;
}

.footer__bottom a {
  color: rgba(255,255,255,0.4);
  transition: color var(--duration-fast);
}

.footer__bottom a:hover { color: var(--gold); }

/* 友情链接 */
.friend-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  padding: 20px 0;
}

.friend-links__label {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
  flex-shrink: 0;
}

.friend-links a {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
  transition: color var(--duration-fast);
}

.friend-links a:hover { color: var(--gold); }

/* ============================================================
   在线客服按钮 — 右下角红色圆形
   ============================================================ */
.online-service {
  position: fixed;
  right: 24px; bottom: 100px;
  z-index: 90;
  width: 54px; height: 54px;
  border-radius: 50%;
  background: var(--red-gradient);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  box-shadow: var(--shadow-red);
  cursor: pointer;
  transition: all var(--duration-normal) var(--ease-spring);
  border: none;
}

.online-service:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 28px rgba(196, 26, 26, 0.4);
}

/* 返回顶部 */
.back-top {
  position: fixed;
  right: 24px; bottom: 40px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--border-subtle);
  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(--red);
  color: #fff;
  border-color: var(--red);
}

/* ============================================================
   动画系统 — 婚庆柔美风格
   ============================================================ */

/* 浮动 */
@keyframes floatUpDown {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes floatSlow {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  33% { transform: translateY(-5px) rotate(0.5deg); }
  66% { transform: translateY(3px) rotate(-0.5deg); }
}

.float-element { animation: floatUpDown 4s ease-in-out infinite; }

/* 脉冲 */
@keyframes heartPulse {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(196, 26, 26, 0.4); }
  30% { transform: scale(1.08); box-shadow: 0 0 0 8px rgba(196, 26, 26, 0); }
  60% { transform: scale(1); box-shadow: 0 0 0 0 rgba(196, 26, 26, 0); }
  100% { transform: scale(1); }
}

.btn--primary.pulse { animation: heartPulse 2.5s ease-in-out infinite; }

/* 渐现上移 */
@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(24px); }
  100% { opacity: 1; transform: translateY(0); }
}

.hero__title { animation: fadeInUp 1s var(--ease-out) both; }
.hero__subtitle { animation: fadeInUp 1s var(--ease-out) 0.2s both; }
.hero__actions { animation: fadeInUp 0.8s var(--ease-out) 0.4s both; }

/* 数字滚动区微光 */
@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

.hero__title {
  background: linear-gradient(90deg,
    #fff 0%, var(--gold-light) 30%, #fff 50%, var(--gold-light) 70%, #fff 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 4s linear infinite, fadeInUp 1s var(--ease-out) both;
}

/* 线条飘带 */
.section-tag::after {
  animation: shimmer 3s linear infinite;
  background-size: 200% auto;
}

/* AOS 覆盖 */
[data-aos] { transition-timing-function: var(--ease-out) !important; }

/* ============================================================
   响应式 — 平板 (768px - 1023px)
   ============================================================ */
@media (max-width: 1023px) {
  :root { --section-py: 64px; --header-h: 68px; }

  .header__nav, .header__actions { display: none; }
  .hamburger { display: flex; }
  .header .header__cta { display: none; }

  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .list-grid { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .process { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .process::before { display: none; }

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

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

  .inner-banner { height: 260px; }

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

  .subscribe-form { flex-direction: column; }
}

/* ============================================================
   响应式 — 移动端 (< 768px)
   ============================================================ */
@media (max-width: 767px) {
  :root { --section-py: 48px; }

  .hero {
    height: 70vh;
    min-height: 420px;
  }

  .hero__content { padding: 0 20px; }

  .hero__title {
    font-size: clamp(1.5rem, 7vw, 2.2rem);
    margin-bottom: 0.8rem;
  }

  .hero__subtitle { font-size: 0.9rem; margin-bottom: 1.5rem; }

  .hero__actions { flex-direction: column; width: 100%; }
  .hero__actions .btn { width: 100%; justify-content: center; }

  /* 机构数据四宫格 — 压缩 */
  .stats-section { padding: 26px 0; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .stat-item__number { font-size: clamp(1.6rem, 6vw, 2.4rem); margin-bottom: 4px; }
  .stat-item__label { font-size: 0.82rem; }

  .inner-banner { height: 200px; margin-top: var(--header-h); }

  /* 一站式婚礼服务 — 手机端 3+2 两行紧凑宫格 */
  .services-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .service-cat-card { padding: 18px 8px 14px; }
  .service-cat-card__icon { width: 44px; height: 44px; margin: 0 auto 6px; font-size: 1.05rem; }
  .service-cat-card__title { font-size: 0.85rem; margin-bottom: 4px; }
  .service-cat-card__desc {
    font-size: 0.6rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

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

  /* 热门婚礼服务 — 手机端 2列×2行 紧凑（首页只展示4条） */
  .list-grid--hot { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .list-grid--hot .card:nth-child(n+5) { display: none; }
  .list-grid--hot .card__body { padding: 12px 12px 14px; }
  .list-grid--hot .card__desc { display: none; }
  .list-grid--hot .card__meta { display: none; }
  .list-grid--hot .card__tag { margin-bottom: 6px; padding: 3px 10px; font-size: 0.7rem; }
  .list-grid--hot .card__title { font-size: 0.92rem; margin-bottom: 6px; }
  .list-grid--hot .card__price { font-size: 1.05rem; margin-top: 6px; }

  /* 真实婚礼案例 — 手机端:一行一个、横向紧凑条,首页只留2条 */
  .list-grid--cases { gap: 14px; }
  .list-grid--cases .card:nth-child(n+3) { display: none; }
  .list-grid--cases .card { display: flex; align-items: stretch; }
  .list-grid--cases .card__image {
    flex: 0 0 130px;
    width: 130px;
    aspect-ratio: auto;
    position: relative;
  }
  .list-grid--cases .card__image img {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
  }
  .list-grid--cases .card__body {
    flex: 1;
    min-width: 0;
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .list-grid--cases .card__desc { display: none; }
  .list-grid--cases .card__tag { align-self: flex-start; margin-bottom: 6px; padding: 3px 10px; font-size: 0.7rem; }
  .list-grid--cases .card__title { font-size: 0.95rem; margin-bottom: 6px; }
  .list-grid--cases .card__meta { margin-top: 0; padding-top: 0; border-top: none; font-size: 0.78rem; }

  /* 婚礼服务流程 — 手机端:一行五个 紧凑 */
  .process { grid-template-columns: repeat(5, 1fr); gap: 4px; }
  .process::before { display: none; }
  .process-step:nth-child(5) { grid-column: auto; }
  .process-step__num { width: 40px; height: 40px; margin: 0 auto 8px; font-size: 1.05rem; }
  .process-step__title { font-size: 0.78rem; margin-bottom: 0; }
  .process-step__desc { display: none; }

  /* 新人幸福感言 — 手机端:一行一个紧凑卡,首页只留2条 */
  .list-grid--reviews { gap: 12px; }
  .list-grid--reviews .review-card:nth-child(n+3) { display: none; }
  .list-grid--reviews .review-card { padding: 20px 18px; }
  .list-grid--reviews .review-card__avatar { width: 52px; height: 52px; margin: 0 auto 12px; border-width: 2px; }
  .list-grid--reviews .review-card__text {
    font-size: 0.88rem;
    line-height: 1.7;
    margin-bottom: 10px;
    max-height: 5.1em; /* 约3行 */
    overflow: hidden;
  }
  .list-grid--reviews .review-card__text::before { font-size: 1em; }
  .list-grid--reviews .review-card__text::after { content: none; }
  .list-grid--reviews .review-card__name { font-size: 0.9rem; margin-bottom: 2px; }
  .list-grid--reviews .review-card__wedding { font-size: 0.78rem; }

  /* 婚礼实景 — 手机端:缩小卡片,横滑预览 */
  .gallery-swiper { padding: 0 12px; }
  .gallery-swiper .swiper-slide { width: 250px; }

  /* 婚礼资讯 — 手机端:一行一个横向紧凑条,首页只留2条 */
  .list-grid--news { gap: 12px; }
  .list-grid--news .card:nth-child(n+3) { display: none; }
  .list-grid--news .card { display: flex; align-items: stretch; }
  .list-grid--news .card__image {
    flex: 0 0 118px;
    width: 118px;
    aspect-ratio: auto;
    position: relative;
  }
  .list-grid--news .card__image img {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
  }
  .list-grid--news .card__body {
    flex: 1;
    min-width: 0;
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .list-grid--news .card__tag { align-self: flex-start; margin-bottom: 6px; padding: 2px 10px; font-size: 0.68rem; }
  .list-grid--news .card__title { font-size: 0.9rem; margin-bottom: 4px; -webkit-line-clamp: 2; }
  .list-grid--news .card__desc { font-size: 0.74rem; line-height: 1.55; -webkit-line-clamp: 2; }

  /* ★ 婚礼案例列表页 手机端压缩 */
  .page-works .inner-banner { height: 150px; }
  .page-works .inner-banner__title { font-size: 1.4rem; margin-bottom: 0.3rem; }
  .page-works .inner-banner__subtitle { font-size: 0.86rem; }
  .page-works .breadcrumb { padding: 7px 24px; }
  .page-works .filter-bar { margin-bottom: 18px; }
  .page-works .filter-bar a { padding: 6px 14px; font-size: 0.8rem; }
  .page-works .list-header { margin-bottom: 20px; }
  .page-works .list-header h2 { font-size: 1.45rem; margin-bottom: 0.3rem; }
  .page-works .list-header p { font-size: 0.8rem; }
  .page-works .list-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .page-works .card__image { aspect-ratio: 4 / 3; }
  .page-works .card__body { padding: 10px; }
  .page-works .card__tag { padding: 2px 8px; font-size: 0.62rem; margin-bottom: 5px; }
  .page-works .card__title { font-size: 0.84rem; margin-bottom: 0; line-height: 1.35; -webkit-line-clamp: 2; }
  .page-works .card__desc { display: none; }
  .page-works .card__meta { margin-top: 7px; padding-top: 7px; gap: 5px 8px; font-size: 0.68rem; flex-wrap: wrap; }
  .page-works .pagination { margin-top: 22px; }
  .page-works .pagination a,
  .page-works .pagination span { min-width: 34px; height: 34px; font-size: 0.8rem; }

  /* ★ 客户评价列表页 手机端压缩 */
  .page-reviews .inner-banner { height: 150px; }
  .page-reviews .inner-banner__title { font-size: 1.4rem; margin-bottom: 0.3rem; }
  .page-reviews .inner-banner__subtitle { font-size: 0.86rem; }
  .page-reviews .breadcrumb { padding: 7px 24px; }
  .page-reviews .list-header { margin-bottom: 20px; }
  .page-reviews .list-header h2 { font-size: 1.45rem; margin-bottom: 0.3rem; }
  .page-reviews .list-header p { font-size: 0.8rem; }
  .page-reviews .list-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .page-reviews .review-card { padding: 12px 10px; }
  .page-reviews .review-card__avatar { width: 44px; height: 44px; margin: 0 auto 8px; border-width: 2px; }
  .page-reviews .review-card__text {
    font-size: 0.72rem;
    line-height: 1.6;
    margin-bottom: 8px;
    max-height: 6.4em;   /* 约4行,超出隐藏 */
    overflow: hidden;
  }
  .page-reviews .review-card__text::before,
  .page-reviews .review-card__text::after { content: none; }
  .page-reviews .review-card__name { font-size: 0.85rem; margin-bottom: 2px; }
  .page-reviews .review-card__wedding { font-size: 0.7rem; }
  .page-reviews .pagination { margin-top: 22px; }
  .page-reviews .pagination a,
  .page-reviews .pagination span { min-width: 34px; height: 34px; font-size: 0.8rem; }

  /* ★ CTA “许你一场” 压缩 */
  .cta-section { padding: 30px 0 42px; }
  .cta-section__title { font-size: 1.4rem; margin-bottom: 0.6rem; }
  .cta-section p { font-size: 0.85rem; margin-bottom: 18px; }
  .cta-section .btn { font-size: 0.88rem !important; padding: 11px 24px !important; }

  .footer__grid { grid-template-columns: 1fr; gap: 32px; }

  /* ★ 底部“快速链接”手机端放一行 */
  .footer__links {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0;              /* 清掉基础样式竖向的 10px gap */
    row-gap: 6px;        /* 万一超窄屏折行时留行距 */
    font-size: 0.72rem;
  }
  .footer__links a { font-size: inherit; white-space: nowrap; }
  .footer__bottom-inner { flex-direction: column; text-align: center; }

  .detail__pager { flex-direction: column; gap: 8px; text-align: center; }
  .detail__params { grid-template-columns: repeat(2, 1fr); }

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

  .contact-form-card { padding: 24px; }

  .search-result-item { flex-direction: column; }
  .search-result-item__thumb { width: 100%; height: 160px; }

  .filter-bar { padding-bottom: 6px; margin-bottom: 24px; }

  .card__body { padding: 16px; }

  .online-service { right: 16px; bottom: 80px; }
  .back-top { right: 16px; bottom: 30px; }
}

/* ============================================================
   响应式 — 小屏手机 (< 375px)
   ============================================================ */
@media (max-width: 374px) {
  body { font-size: 15px; }
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .stats { grid-template-columns: 1fr 1fr; }
  .cta-section__title { font-size: 1.2rem; margin-bottom: 0.5rem; }
  .cta-section p { font-size: 0.8rem; margin-bottom: 14px; }
  .cta-section .btn { font-size: 0.82rem !important; padding: 10px 20px !important; }
  .footer__links { font-size: 0.68rem; } /* 极窄屏快速链接仍单行 */
}

/* ============================================================
   偏好：减少动画
   ============================================================ */
@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;
  }
}
