/* ==========================================================================
   薰野婚礼 LAVANDOVE · PC 端样式
   简约风 · 柔和薰衣草紫卡片风 · 面向 ≥1200px 桌面（1366–1920 表现最佳）
   ========================================================================== */

:root {
  /* 色板 */
  --lav: #7C6BA8;
  --lav-deep: #4A3F6B;
  --lav-bg: #F4F1FA;
  --lav-soft: #E5DEF2;
  --lav-mist: #EDE7F8;
  --white: #fff;
  --text: #3A3450;
  --text-mute: #8B85A0;
  --line: rgba(124, 107, 168, .14);
  --danger: #C25B5B;

  /* 阴影 */
  --shadow: 0 20px 40px rgba(124, 107, 168, .16);
  --shadow-sm: 0 8px 24px rgba(74, 63, 107, .10);
  --shadow-lg: 0 30px 60px rgba(74, 63, 107, .18);

  /* 圆角 */
  --radius-xl: 28px;
  --radius-lg: 24px;
  --radius-md: 20px;
  --radius-pill: 999px;

  /* 8pt 间距节奏 */
  --sp-1: 8px;
  --sp-2: 16px;
  --sp-3: 24px;
  --sp-4: 32px;
  --sp-5: 40px;
  --sp-6: 48px;
  --sp-7: 56px;
  --sp-8: 64px;
  --sp-9: 72px;
  --sp-10: 80px;
  --sp-11: 88px;
  --sp-12: 96px;

  /* 布局 */
  --container: 1200px;
  --header-h: 72px;
  --font: -apple-system, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

/* --------------------------------------------------------------------------
   基础重置
   -------------------------------------------------------------------------- */
* { box-sizing: border-box; }

html { overflow-x: clip; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, p, ul, ol, figure, blockquote, form { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font-family: inherit; }

::selection { background: var(--lav-soft); color: var(--lav-deep); }

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(124, 107, 168, .55);
  outline-offset: 2px;
  border-radius: 6px;
}

[id] { scroll-margin-top: calc(var(--header-h) + 24px); }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.container {
  max-width: calc(var(--container) + var(--sp-4) * 2);
  margin: 0 auto;
  padding: 0 var(--sp-4);
}

/* 滚动渐显 */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
  will-change: opacity, transform;
}
.reveal.in { opacity: 1; transform: none; }

/* --------------------------------------------------------------------------
   通用组件：按钮 / chip / kicker
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-1);
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  cursor: pointer;
  font-weight: 600;
  line-height: 1;
  text-align: center;
  transition: background-color .25s ease, color .25s ease, border-color .25s ease,
    box-shadow .25s ease, transform .25s ease;
}
.btn:active { transform: translateY(0) scale(.97); }

.btn-primary {
  background: var(--lav-deep);
  color: var(--white);
  box-shadow: 0 12px 24px rgba(74, 63, 107, .22);
}
.btn-primary:hover {
  background: var(--lav);
  box-shadow: 0 16px 32px rgba(124, 107, 168, .30);
  transform: translateY(-2px);
}

.btn-outline {
  background: var(--white);
  color: var(--lav-deep);
  border-color: rgba(124, 107, 168, .42);
}
.btn-outline:hover {
  border-color: var(--lav);
  color: var(--lav);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.btn-light { background: var(--white); color: var(--lav-deep); }
.btn-light:hover { background: var(--lav-bg); transform: translateY(-2px); }

.btn-sm { height: 40px; padding: 0 20px; font-size: 14px; }
.btn-lg { height: 52px; padding: 0 32px; font-size: 16px; }
.btn-block { width: 100%; height: 48px; }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: var(--lav-soft);
  color: var(--lav-deep);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  white-space: nowrap;
}

.kicker {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 4px;
  color: var(--lav);
  margin-bottom: var(--sp-1);
}

.text-link {
  color: var(--lav);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}
.text-link i { margin-left: 6px; font-size: 12px; transition: transform .25s ease; }
.text-link:hover i { transform: translateX(4px); }

.round-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--lav-deep);
  cursor: pointer;
  font-size: 15px;
  box-shadow: var(--shadow-sm);
  transition: background-color .25s ease, color .25s ease, transform .25s ease, border-color .25s ease;
}
.round-btn:hover { background: var(--lav); border-color: var(--lav); color: var(--white); transform: translateY(-2px); }
.round-btn:active { transform: scale(.94); }

/* --------------------------------------------------------------------------
   吸顶导航
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .90);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s ease, border-color .3s ease;
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 10px 30px rgba(74, 63, 107, .08);
}

.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  height: var(--header-h);
  padding: 0 var(--sp-4);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

.nav-group { display: flex; align-items: center; gap: var(--sp-4); }
.nav-right { justify-content: flex-end; gap: var(--sp-3); }

.nav-link {
  position: relative;
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  padding: 6px 2px;
  transition: color .25s ease;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  border-radius: 2px;
  background: var(--lav);
  transform: scaleX(0);
  transition: transform .25s ease;
}
.nav-link:hover { color: var(--lav-deep); }
.nav-link:hover::after, .nav-link.is-active::after { transform: scaleX(1); }
.nav-link.is-active { color: var(--lav-deep); font-weight: 700; }

.brand { display: flex; align-items: center; gap: 10px; }
.brand-badge {
  width: 40px; height: 40px;
  border-radius: 14px;
  background: var(--lav-soft);
  color: var(--lav-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
}
.brand-text {
  font-size: 19px;
  font-weight: 800;
  color: var(--text);
  line-height: 1.15;
  letter-spacing: 1px;
}
.brand-text small {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 4px;
  color: var(--lav);
}
.header-cta i { font-size: 13px; }
.header-cta.is-active { background: var(--lav); }

/* --------------------------------------------------------------------------
   首页 Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  padding: var(--sp-11) 0 var(--sp-8);
  overflow: hidden;
  text-align: center;
  background: linear-gradient(180deg, #FBF9FE 0%, var(--white) 100%);
}
.blob {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}
.blob-one {
  width: 620px; height: 620px;
  left: -140px; top: -180px;
  background: radial-gradient(circle at 35% 35%, var(--lav-soft) 0%, rgba(229, 222, 242, 0) 68%);
  animation: blobFloat 16s ease-in-out infinite alternate;
}
.blob-two {
  width: 700px; height: 700px;
  right: -180px; bottom: -220px;
  background: radial-gradient(circle at 60% 40%, var(--lav-mist) 0%, rgba(237, 231, 248, 0) 70%);
  animation: blobFloat 19s ease-in-out infinite alternate-reverse;
}
@keyframes blobFloat {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(60px, 40px) scale(1.08); }
}

.hero-inner { position: relative; z-index: 1; }

.hero-chip {
  display: inline-flex;
  align-items: center;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  background: var(--lav-soft);
  color: var(--lav-deep);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 3px;
}

.hero-title {
  font-size: 58px;
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: 1px;
  color: var(--text);
  max-width: 860px;
  margin: var(--sp-3) auto var(--sp-2);
}
.hero-title .accent { color: var(--lav); }

.hero-sub {
  max-width: 620px;
  margin: 0 auto;
  color: var(--text-mute);
  font-size: 17px;
  line-height: 1.9;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: var(--sp-2);
  margin-top: var(--sp-4);
}

.hero-meta {
  margin-top: var(--sp-3);
  color: var(--text-mute);
  font-size: 14px;
  letter-spacing: .5px;
}
.hero-meta i { color: var(--lav); margin-right: 8px; }

.hero-gallery {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: var(--sp-8);
}
.photo-card {
  width: 300px;
  aspect-ratio: 4 / 5;
  background: linear-gradient(155deg, var(--lav-soft), var(--lav-mist));
  border: 8px solid var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.photo-card img { width: 100%; height: 100%; object-fit: cover; }
.photo-a { --r: -4deg; --y: 18px; transform: rotate(var(--r)) translateY(var(--y)); z-index: 1; animation: cardFloat 7s ease-in-out infinite alternate; }
.photo-b { --r: 2deg;  --y: 0px;  transform: rotate(var(--r)) translateY(var(--y)); z-index: 3; margin: 0 -36px; animation: cardFloat 9s ease-in-out infinite alternate-reverse; }
.photo-c { --r: 5deg;  --y: 22px; transform: rotate(var(--r)) translateY(var(--y)); z-index: 2; animation: cardFloat 8s ease-in-out infinite alternate; }
@keyframes cardFloat {
  from { transform: rotate(var(--r)) translateY(calc(var(--y) - 6px)); }
  to   { transform: rotate(var(--r)) translateY(calc(var(--y) + 6px)); }
}

/* --------------------------------------------------------------------------
   区块骨架
   -------------------------------------------------------------------------- */
.section { padding: var(--sp-11) 0; }
.section-alt { background: var(--lav-bg); }

.section-head { text-align: center; max-width: 680px; margin: 0 auto var(--sp-6); }
.section-title { font-size: 36px; font-weight: 800; color: var(--text); letter-spacing: 1px; }
.section-sub { margin-top: var(--sp-1); color: var(--text-mute); font-size: 16px; line-height: 1.8; }

.section-head-row {
  max-width: none;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: var(--sp-3);
  text-align: left;
  margin-bottom: var(--sp-4);
}
.scroll-nav { display: flex; gap: 10px; }

.center-more { display: flex; justify-content: center; margin-top: var(--sp-5); }

/* --------------------------------------------------------------------------
   服务卡片（首页）
   -------------------------------------------------------------------------- */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-3);
}

.service-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--sp-4);
  transition: transform .3s ease, box-shadow .3s ease;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }

.icon-disc {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--lav-soft);
  color: var(--lav-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: var(--sp-2);
  flex-shrink: 0;
}
.service-card h3 { font-size: 20px; font-weight: 700; }
.service-card > p { margin-top: 8px; color: var(--text-mute); font-size: 14px; line-height: 1.8; flex: 1; }

.card-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--sp-1);
  margin-top: var(--sp-2);
}
.price-chip {
  display: inline-flex;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  background: var(--lav-bg);
  color: var(--lav-deep);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   定制流程
   -------------------------------------------------------------------------- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-3);
}
.step-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--sp-4);
}
.step-card:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: calc(-1 * var(--sp-3) + 4px);
  width: calc(var(--sp-3) - 8px);
  border-top: 2px dashed rgba(124, 107, 168, .45);
}
.step-no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--lav-deep);
  color: var(--white);
  font-size: 15px;
  font-weight: 700;
  margin-bottom: var(--sp-2);
}
.step-card h3 { font-size: 18px; }
.step-card p { margin-top: 8px; color: var(--text-mute); font-size: 14px; line-height: 1.8; }

/* --------------------------------------------------------------------------
   案例横向滚动（首页）
   -------------------------------------------------------------------------- */
.case-scroller {
  display: flex;
  gap: var(--sp-3);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 4px 4px var(--sp-2);
  scrollbar-width: none;
}
.case-scroller::-webkit-scrollbar { display: none; }

.case-slide {
  flex: 0 0 340px;
  scroll-snap-align: start;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .3s ease, box-shadow .3s ease;
}
.case-slide:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.case-photo {
  aspect-ratio: 4 / 3;
  background: linear-gradient(150deg, var(--lav-soft), var(--lav-mist));
  overflow: hidden;
}
.case-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.case-slide:hover .case-photo img { transform: scale(1.06); }
.case-info { padding: var(--sp-2) var(--sp-3) var(--sp-3); }
.case-info h3 { font-size: 18px; }
.case-info > p { margin-top: 4px; color: var(--text-mute); font-size: 13px; }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.chip-row .chip { font-size: 12px; padding: 4px 12px; }

/* --------------------------------------------------------------------------
   套餐价格
   -------------------------------------------------------------------------- */
.package-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-3);
  align-items: stretch;
}
.package-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: var(--sp-5) var(--sp-4);
  transition: transform .3s ease, box-shadow .3s ease;
}
.package-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.package-card h3 { font-size: 22px; }
.pkg-for { margin: 6px 0 var(--sp-2); color: var(--text-mute); font-size: 14px; }
.pkg-price { margin: var(--sp-2) 0; }
.pkg-price b { font-size: 40px; font-weight: 800; color: var(--lav-deep); letter-spacing: -.5px; }
.pkg-price span { font-size: 14px; color: var(--text-mute); margin-left: 6px; }
.pkg-list { flex: 1; margin-bottom: var(--sp-3); }
.pkg-list li {
  display: flex;
  gap: 10px;
  padding: 7px 0;
  font-size: 14px;
  line-height: 1.6;
}
.pkg-list i { color: var(--lav); font-size: 13px; margin-top: 4px; flex-shrink: 0; }

.package-card.is-featured {
  background: linear-gradient(165deg, var(--lav-deep) 0%, #6B5C97 100%);
  border-color: transparent;
  color: var(--white);
  box-shadow: var(--shadow-lg);
  transform: translateY(-14px);
}
.package-card.is-featured:hover { transform: translateY(-20px); }
.package-card.is-featured h3 { color: var(--white); }
.package-card.is-featured .pkg-for { color: rgba(255, 255, 255, .75); }
.package-card.is-featured .pkg-price b { color: var(--white); }
.package-card.is-featured .pkg-price span { color: rgba(255, 255, 255, .75); }
.package-card.is-featured .pkg-list li { color: rgba(255, 255, 255, .88); }
.package-card.is-featured .pkg-list i { color: #CBBFEA; }

.pkg-ribbon {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  background: var(--lav);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 8px 20px rgba(124, 107, 168, .35);
}

/* --------------------------------------------------------------------------
   数据带
   -------------------------------------------------------------------------- */
.stats-band {
  background: linear-gradient(135deg, var(--lav-soft) 0%, var(--lav-mist) 55%, #F7F4FC 100%);
  padding: var(--sp-8) 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-3);
  text-align: center;
}
.stat-num b {
  font-size: 52px;
  font-weight: 800;
  color: var(--lav-deep);
  letter-spacing: -1px;
  font-variant-numeric: tabular-nums;
}
.stat-label { margin-top: var(--sp-1); color: var(--text-mute); font-size: 15px; }

/* --------------------------------------------------------------------------
   评价轮播
   -------------------------------------------------------------------------- */
.review-carousel { max-width: 820px; margin: 0 auto; }
.carousel-viewport { overflow: hidden; border-radius: var(--radius-lg); }
.carousel-track { display: flex; transition: transform .55s ease; }
.review-slide { min-width: 100%; padding: 4px; }
.review-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: var(--sp-4) var(--sp-5);
}
.review-head { display: flex; align-items: center; gap: var(--sp-2); }
.avatar {
  width: 60px; height: 60px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--lav-soft);
  border: 3px solid var(--lav-bg);
  flex-shrink: 0;
}
.review-head h3 { font-size: 18px; }
.review-head p { margin-top: 4px; font-size: 13px; color: var(--text-mute); }
.stars { margin-left: auto; display: flex; gap: 4px; color: var(--lav); font-size: 14px; }
.review-card blockquote { margin-top: var(--sp-2); font-size: 17px; line-height: 1.9; color: var(--text); }

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: var(--sp-3);
}
.carousel-dots .dot {
  width: 10px; height: 10px;
  border-radius: var(--radius-pill);
  background: var(--lav-soft);
  border: 0;
  padding: 0;
  cursor: pointer;
  transition: width .3s ease, background-color .3s ease;
}
.carousel-dots .dot:hover { background: var(--lav); }
.carousel-dots .dot.active { width: 28px; background: var(--lav); }

/* --------------------------------------------------------------------------
   FAQ 手风琴
   -------------------------------------------------------------------------- */
.faq-list {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
}
.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: box-shadow .3s ease;
}
.faq-item.open { box-shadow: var(--shadow-sm); }
.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--sp-2);
  background: none;
  border: 0;
  cursor: pointer;
  padding: 20px var(--sp-3);
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  text-align: left;
}
.faq-q i { color: var(--lav); font-size: 14px; flex-shrink: 0; transition: transform .3s ease; }
.faq-q:hover { color: var(--lav-deep); }
.faq-item.open .faq-q i { transform: rotate(45deg); }
.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .35s ease;
}
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-a-inner { overflow: hidden; }
.faq-a p {
  padding: 0 var(--sp-3) 20px;
  color: var(--text-mute);
  font-size: 14px;
  line-height: 1.9;
}

/* --------------------------------------------------------------------------
   CTA 渐变带
   -------------------------------------------------------------------------- */
.cta-band {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--lav-soft) 0%, var(--lav-mist) 60%, #F8F5FD 100%);
  border-radius: var(--radius-xl);
  padding: var(--sp-8) var(--sp-6);
  text-align: center;
}
.cta-band::before {
  content: "";
  position: absolute;
  width: 340px; height: 340px;
  right: -90px; top: -120px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, rgba(255, 255, 255, .8) 0%, rgba(255, 255, 255, 0) 70%);
}
.cta-band h2 { position: relative; font-size: 34px; font-weight: 800; color: var(--lav-deep); letter-spacing: 1px; }
.cta-band > p { position: relative; margin-top: var(--sp-1); color: var(--text-mute); font-size: 16px; }
.cta-actions {
  position: relative;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--sp-2);
  margin-top: var(--sp-4);
}
.cta-actions i { font-size: 14px; }

/* --------------------------------------------------------------------------
   页脚
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--lav-deep);
  color: rgba(255, 255, 255, .82);
  border-radius: 28px 28px 0 0;
  padding-top: var(--sp-8);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.3fr 1.2fr;
  gap: var(--sp-4);
  padding-bottom: var(--sp-6);
}
.footer-col h3 { font-size: 16px; color: var(--white); margin-bottom: var(--sp-2); }
.footer-slogan { margin-top: var(--sp-2); font-size: 15px; color: #D8CFF0; letter-spacing: 2px; }
.footer-desc { margin-top: var(--sp-1); font-size: 13px; line-height: 1.9; color: rgba(255, 255, 255, .65); }

.footer-nav li { line-height: 2.2; }
.footer-nav a { font-size: 14px; color: rgba(255, 255, 255, .72); transition: color .25s ease; }
.footer-nav a:hover { color: var(--white); }

.footer-contact li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 8px;
}
.footer-contact i { width: 18px; margin-top: 5px; font-size: 13px; color: #CBBFEA; flex-shrink: 0; text-align: center; }

.footer-subscribe > p { font-size: 13px; color: rgba(255, 255, 255, .65); margin-bottom: var(--sp-2); }
.subscribe-row { display: flex; gap: 8px; }
.subscribe-row input {
  flex: 1;
  min-width: 0;
  height: 44px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, .24);
  background: rgba(255, 255, 255, .12);
  color: var(--white);
  padding: 0 18px;
  font-size: 14px;
  transition: border-color .25s ease, background-color .25s ease;
}
.subscribe-row input::placeholder { color: rgba(255, 255, 255, .55); }
.subscribe-row input:focus {
  outline: none;
  background: rgba(255, 255, 255, .18);
  border-color: #CBBFEA;
}
.subscribe-row .btn { flex-shrink: 0; height: 44px; padding: 0 22px; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .14);
  padding: var(--sp-2) 0;
  text-align: center;
}
.footer-bottom p { font-size: 13px; color: rgba(255, 255, 255, .6); }

/* 页脚表单错误提示（浅色环境覆盖） */
.site-footer .field-error { color: #FFC9C9; text-align: left; }

/* --------------------------------------------------------------------------
   内页横幅
   -------------------------------------------------------------------------- */
.page-banner {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--lav-soft) 0%, var(--lav-mist) 55%, #F8F5FD 100%);
  padding: var(--sp-8) 0;
  text-align: center;
}
.page-banner::before,
.page-banner::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.page-banner::before {
  width: 300px; height: 300px;
  left: -80px; top: -110px;
  background: radial-gradient(circle at 40% 40%, rgba(255, 255, 255, .75) 0%, rgba(255, 255, 255, 0) 70%);
}
.page-banner::after {
  width: 360px; height: 360px;
  right: -110px; bottom: -170px;
  background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, .55) 0%, rgba(255, 255, 255, 0) 70%);
}
.page-banner h1 {
  position: relative;
  font-size: 40px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: 1px;
  margin: var(--sp-2) 0 var(--sp-1);
}
.page-banner .page-desc {
  position: relative;
  max-width: 640px;
  margin: 0 auto;
  color: var(--text-mute);
  font-size: 16px;
  line-height: 1.8;
}

/* --------------------------------------------------------------------------
   services.html 服务大卡
   -------------------------------------------------------------------------- */
.svc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-3);
}
.svc-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: var(--sp-5);
  transition: transform .3s ease, box-shadow .3s ease;
}
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.svc-head { display: flex; align-items: center; gap: var(--sp-2); margin-bottom: var(--sp-2); }
.svc-head .icon-disc { width: 60px; height: 60px; margin-bottom: 0; }
.svc-head h3 { font-size: 22px; }
.svc-tag { display: block; margin-top: 4px; font-size: 13px; color: var(--lav); font-weight: 600; letter-spacing: 1px; }
.svc-desc { color: var(--text-mute); font-size: 15px; line-height: 1.9; }
.svc-includes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px var(--sp-2);
  margin: var(--sp-2) 0;
  padding: var(--sp-2) 0;
  border-top: 1px dashed var(--line);
  border-bottom: 1px dashed var(--line);
}
.svc-includes li { display: flex; gap: 8px; font-size: 14px; line-height: 1.6; }
.svc-includes i { color: var(--lav); font-size: 13px; margin-top: 4px; flex-shrink: 0; }
.svc-foot {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: var(--sp-2);
  margin-top: auto;
  padding-top: var(--sp-1);
}
.svc-note { font-size: 13px; color: var(--text-mute); }
.svc-price { font-size: 24px; font-weight: 800; color: var(--lav-deep); white-space: nowrap; }
.svc-price small { font-size: 13px; font-weight: 400; color: var(--text-mute); margin-left: 4px; }

.extras {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: var(--sp-5);
  text-align: center;
}
.extras h3 { font-size: 20px; margin-bottom: var(--sp-1); }
.extras > p { color: var(--text-mute); font-size: 14px; margin-bottom: var(--sp-3); }
.extras-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.extra-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  background: var(--lav-bg);
  border: 1px solid var(--line);
  font-size: 14px;
  transition: background-color .25s ease, transform .25s ease;
}
.extra-chip:hover { background: var(--lav-soft); transform: translateY(-2px); }
.extra-chip b { color: var(--lav-deep); }
.extras-note { margin-top: var(--sp-3); font-size: 13px; color: var(--text-mute); }

/* --------------------------------------------------------------------------
   cases.html 风格筛选 + 瀑布案例
   -------------------------------------------------------------------------- */
.filter-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: var(--sp-5);
}
.filter-chips .chip {
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--text);
  cursor: pointer;
  padding: 10px 22px;
  font-size: 14px;
  font-family: inherit;
  transition: background-color .25s ease, color .25s ease, border-color .25s ease, transform .25s ease;
}
.filter-chips .chip:hover { border-color: var(--lav); color: var(--lav); transform: translateY(-2px); }
.filter-chips .chip.active {
  background: var(--lav-deep);
  border-color: var(--lav-deep);
  color: var(--white);
}

.case-masonry { columns: 2; column-gap: var(--sp-3); }
.case-tile {
  break-inside: avoid;
  margin-bottom: var(--sp-3);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .3s ease, box-shadow .3s ease;
}
.case-tile:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.case-tile.is-hidden { display: none; }
.case-media {
  position: relative;
  background: linear-gradient(150deg, var(--lav-soft), var(--lav-mist));
  overflow: hidden;
}
.ratio-wide { aspect-ratio: 4 / 3; }
.ratio-tall { aspect-ratio: 3 / 4; }
.ratio-square { aspect-ratio: 1 / 1; }
.case-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.case-tile:hover .case-media img { transform: scale(1.05); }
.case-overlay {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 48px 20px 14px;
  background: linear-gradient(180deg, rgba(58, 52, 80, 0) 0%, rgba(58, 52, 80, .74) 100%);
  color: var(--white);
}
.case-overlay h3 { font-size: 20px; letter-spacing: 1px; }
.case-overlay p { margin-top: 2px; font-size: 13px; color: rgba(255, 255, 255, .85); }
.case-body { padding: var(--sp-2) var(--sp-3) var(--sp-3); }
.case-body .case-meta { font-size: 13px; color: var(--text-mute); }
.case-body .chip-row { margin-top: 10px; }
.chip-ghost { background: var(--lav-bg); border: 1px solid var(--line); }

.filter-empty {
  text-align: center;
  background: var(--lav-bg);
  border: 1px dashed rgba(124, 107, 168, .4);
  border-radius: var(--radius-lg);
  padding: var(--sp-6) var(--sp-4);
  color: var(--text-mute);
  font-size: 15px;
}
.filter-empty i { display: block; font-size: 30px; color: var(--lav); margin-bottom: var(--sp-2); }

/* --------------------------------------------------------------------------
   about.html
   -------------------------------------------------------------------------- */
.story-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: var(--sp-5);
  align-items: center;
}
.story-text .kicker { margin-bottom: var(--sp-1); }
.story-text h2 { font-size: 34px; font-weight: 800; line-height: 1.35; letter-spacing: 1px; }
.story-text p { margin-top: var(--sp-2); color: var(--text-mute); font-size: 15px; line-height: 2; }
.story-text .story-slogan {
  margin-top: var(--sp-3);
  display: inline-flex;
  padding: 12px 22px;
  border-radius: var(--radius-pill);
  background: var(--lav-soft);
  color: var(--lav-deep);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 2px;
}
.story-figure {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: linear-gradient(150deg, var(--lav-soft), var(--lav-mist));
  box-shadow: var(--shadow);
}
.story-figure img { width: 100%; height: 100%; object-fit: cover; }
.story-badge {
  position: absolute;
  left: 20px; bottom: 20px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, .94);
  border-radius: 16px;
  padding: 12px 18px;
  font-size: 13px;
  font-weight: 700;
  color: var(--lav-deep);
  letter-spacing: 1px;
  box-shadow: var(--shadow-sm);
}
.story-badge i { color: var(--lav); }

.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-3); }
.why-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--sp-4);
  transition: transform .3s ease, box-shadow .3s ease;
}
.why-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.why-card h3 { font-size: 19px; margin-bottom: 8px; }
.why-card p { color: var(--text-mute); font-size: 14px; line-height: 1.9; }

.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-3); }
.team-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--sp-4) var(--sp-3);
  text-align: center;
  transition: transform .3s ease, box-shadow .3s ease;
}
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.team-avatar {
  width: 112px; height: 112px;
  margin: 0 auto var(--sp-2);
  border-radius: 50%;
  overflow: hidden;
  background: var(--lav-soft);
  border: 4px solid var(--white);
  box-shadow: var(--shadow-sm);
}
.team-avatar img { width: 100%; height: 100%; object-fit: cover; }
.team-card h3 { font-size: 19px; }
.team-role { display: inline-block; margin-top: 8px; }
.team-years { display: block; margin-top: 6px; font-size: 13px; color: var(--text-mute); }
.team-card .team-quote { margin-top: var(--sp-1); font-size: 13px; color: var(--text-mute); line-height: 1.8; }

.timeline { position: relative; max-width: 780px; margin: 0 auto; }
.timeline::before {
  content: "";
  position: absolute;
  left: 118px; top: 10px; bottom: 10px;
  width: 2px;
  background: var(--lav-soft);
}
.timeline li {
  display: grid;
  grid-template-columns: 96px 44px 1fr;
  align-items: start;
  margin-bottom: var(--sp-4);
}
.timeline li:last-child { margin-bottom: 0; }
.tl-year {
  font-size: 20px;
  font-weight: 800;
  color: var(--lav);
  text-align: right;
  line-height: 1.4;
}
.tl-dot { position: relative; }
.tl-dot::before {
  content: "";
  display: block;
  width: 14px; height: 14px;
  margin: 7px auto 0;
  border-radius: 50%;
  background: var(--lav);
  border: 3px solid var(--lav-soft);
}
.timeline h3 { font-size: 17px; }
.timeline p { margin-top: 4px; color: var(--text-mute); font-size: 14px; line-height: 1.8; }

/* --------------------------------------------------------------------------
   contact.html
   -------------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: var(--sp-3);
  align-items: stretch;
}
.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: var(--sp-5);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.form-card form { flex: 1; display: flex; flex-direction: column; }
.form-card .form-grid { flex: 1; grid-template-rows: repeat(3, auto) 1fr; }
.form-card .form-grid > .field:last-child { display: flex; flex-direction: column; }
.form-card .form-grid > .field:last-child textarea { flex: 1; min-height: 120px; }
.form-card > h2 { font-size: 24px; }
.form-card > .form-lead { margin-top: 6px; color: var(--text-mute); font-size: 14px; margin-bottom: var(--sp-3); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-2); }
.field-span2 { grid-column: span 2; }

.field label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
}
.field .req { color: var(--danger); font-style: normal; margin-left: 4px; }
.field input,
.field select,
.field textarea {
  width: 100%;
  height: 48px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #FAF8FD;
  padding: 0 16px;
  font-size: 15px;
  color: var(--text);
  transition: border-color .25s ease, background-color .25s ease, box-shadow .25s ease;
}
.field textarea {
  height: auto;
  min-height: 110px;
  padding: 12px 16px;
  resize: vertical;
}
.field input::placeholder,
.field textarea::placeholder { color: #B4AEC7; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  background: var(--white);
  border-color: var(--lav);
  box-shadow: 0 0 0 4px rgba(124, 107, 168, .14);
}
.field select { appearance: none; -webkit-appearance: none; background-image: none; cursor: pointer; }
.field .select-wrap { position: relative; }
.field .select-wrap::after {
  content: "\f078";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  right: 16px; top: 50%;
  transform: translateY(-50%);
  font-size: 12px;
  color: var(--lav);
  pointer-events: none;
}
.field.has-error input,
.field.has-error select,
.field.has-error textarea {
  border-color: var(--danger);
  background: #FBF1F1;
}
.field-error {
  display: none;
  margin-top: 6px;
  font-size: 13px;
  color: var(--danger);
}
.field.has-error .field-error { display: block; }

.form-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--sp-2);
  margin-top: var(--sp-3);
}
.form-tip { font-size: 13px; color: var(--text-mute); }

.info-stack { display: flex; flex-direction: column; gap: var(--sp-1); }
.info-card {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-2);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.info-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.info-card .icon-disc { width: 48px; height: 48px; font-size: 18px; margin-bottom: 0; }
.info-card .info-label { font-size: 12px; color: var(--text-mute); letter-spacing: 1px; }
.info-card .info-value { margin-top: 2px; font-size: 16px; font-weight: 700; color: var(--text); word-break: break-all; }
.info-card .info-sub { margin-top: 2px; font-size: 13px; color: var(--text-mute); }

.store-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}
.store-photo {
  display: block;
  aspect-ratio: 16 / 9;
  background: linear-gradient(150deg, var(--lav-soft), var(--lav-mist));
  overflow: hidden;
}
.store-photo img { width: 100%; height: 100%; object-fit: cover; }
.store-card figcaption { padding: 14px 20px; font-size: 13px; color: var(--text-mute); }
.store-card figcaption b { display: block; font-size: 14px; color: var(--text); margin-bottom: 2px; }

/* --------------------------------------------------------------------------
   弹窗 / 返回顶部
   -------------------------------------------------------------------------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--sp-3);
}
.modal[hidden] { display: none; }
.modal-mask {
  position: absolute;
  inset: 0;
  background: rgba(58, 52, 80, .5);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity .24s ease;
}
.modal.show .modal-mask { opacity: 1; }
.modal-card {
  position: relative;
  width: min(420px, 92vw);
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--sp-6) var(--sp-5) var(--sp-5);
  text-align: center;
  box-shadow: var(--shadow-lg);
  transform: translateY(24px) scale(.96);
  opacity: 0;
  transition: transform .24s ease, opacity .24s ease;
}
.modal.show .modal-card { transform: none; opacity: 1; }
.modal-icon {
  width: 72px; height: 72px;
  margin: 0 auto var(--sp-2);
  border-radius: 50%;
  background: var(--lav-soft);
  color: var(--lav);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 34px;
}
.modal-card h3 { font-size: 22px; color: var(--text); }
.modal-card p { margin: var(--sp-1) 0 var(--sp-3); color: var(--text-mute); font-size: 14px; line-height: 1.9; }

.back-top {
  position: fixed;
  right: 32px; bottom: 32px;
  z-index: 90;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--lav-deep);
  cursor: pointer;
  font-size: 15px;
  box-shadow: var(--shadow-sm);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity .3s ease, visibility .3s ease, transform .3s ease,
    background-color .25s ease, color .25s ease;
}
.back-top.show { opacity: 1; visibility: visible; transform: none; }
.back-top:hover { background: var(--lav-soft); }

/* --------------------------------------------------------------------------
   窄桌面适配（1200–1366）
   -------------------------------------------------------------------------- */
@media (max-width: 1339px) {
  .hero-title { font-size: 50px; }
  .section-title { font-size: 32px; }
  .photo-card { width: 264px; }
  .stat-num b { font-size: 46px; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1.25fr 1.15fr; }
}

@media (max-width: 1239px) {
  .hero-title { font-size: 44px; }
  .nav-group { gap: var(--sp-3); }
  .service-grid { gap: var(--sp-2); }
  .service-card { padding: var(--sp-3); }
  .package-grid { gap: var(--sp-2); }
  .package-card { padding: var(--sp-4) var(--sp-3); }
  .story-grid { gap: var(--sp-4); }
  .case-slide { flex-basis: 320px; }
}

/* --------------------------------------------------------------------------
   动效偏好
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .blob-one, .blob-two, .photo-a, .photo-b, .photo-c { animation: none; }
  .carousel-track { transition: none; }
  * { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
