/* 悦色美学官网 —— 全站公共样式
   设计方向：编辑级优雅风（纸白底 + 衬线中文 + 斜体衬线数字），桌面优先 */

:root {
  --font-cn: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", "SimSun", serif;
  --font-num: Georgia, "Times New Roman", Didot, "Bodoni 72", serif;
  --paper: #fffdf9;
  --ink: #3c3650;
  --title: #4a4460;
  --text: #6f6a7d;
  --faint: #a79fb5;
  --line: #e6dff2;
  --accent: #8c78dc;          /* 集团主色（紫） */
  --accent-soft: #b9a8e6;
  --accent-line: #d4c9f0;
  --accent-bg: rgba(140, 120, 220, 0.07);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--font-cn);
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

h1, h2, h3, h4, p, figure { margin: 0; font-weight: 300; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* 品牌页可通过 body 上的类覆盖强调色 */
body.t-yuese   { --accent:#8c78dc; --accent-soft:#b9a8e6; --accent-line:#d4c9f0; --accent-bg:rgba(140,120,220,.07); }
body.t-chupifu { --accent:#5fa8a0; --accent-soft:#93c6bf; --accent-line:#c5e0db; --accent-bg:rgba(95,168,160,.08); }
body.t-simei   { --accent:#b8965a; --accent-soft:#d0b284; --accent-line:#e6d3b0; --accent-bg:rgba(184,150,90,.08); }
body.t-ten1mm  { --accent:#ff6b1a; --accent-soft:#ff9a5c; --accent-line:#ffc79c; --accent-bg:rgba(255,107,26,.07); }
body.t-tenplus { --accent:#6d28d9; --accent-soft:#9a6cf0; --accent-line:#c4aef7; --accent-bg:rgba(109,40,217,.07); }

.wrap { width: min(1180px, 92vw); margin: 0 auto; }

/* ============ 顶部导航 ============ */
/* 常驻纸白毛玻璃底：避免深色 hero 图上导航文字不可读 */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 90;
  background: rgba(255, 253, 249, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(230, 223, 242, 0.7);
  transition: background .35s ease, box-shadow .35s ease;
}
.nav-inner {
  width: min(1180px, 92vw);
  margin: 0 auto;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo { display: flex; align-items: center; gap: 12px; }
.nav-logo img { width: 34px; height: auto; }
.nav-logo span {
  font-size: 19px;
  letter-spacing: 4px;
  color: var(--title);
}
.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a {
  position: relative;
  font-size: 14px;
  letter-spacing: 2px;
  color: var(--text);
  padding: 6px 0;
  transition: color .25s ease;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 50%; bottom: 0;
  width: 0; height: 1px;
  background: var(--accent);
  transition: width .3s ease, left .3s ease;
}
.nav-links a:hover { color: var(--accent); }
.nav-links a:hover::after,
.nav-links a.is-active::after { width: 100%; left: 0; }
.nav-links a.is-active { color: var(--accent); }

/* 滚动后导航加底 */
.nav.is-scrolled {
  background: rgba(255, 253, 249, 0.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--line);
}

/* ============ 渐显动画 ============ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s ease; }
.reveal.is-in { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .12s; }
.reveal-delay-2 { transition-delay: .24s; }
.reveal-delay-3 { transition-delay: .36s; }

/* ============ 通用段落标题 ============ */
.sec { padding: 96px 0; }
.sec-head { text-align: center; margin-bottom: 56px; }
.sec-eyebrow {
  font-family: var(--font-num);
  font-style: italic;
  font-size: 15px;
  letter-spacing: 3px;
  color: var(--accent-soft);
  text-transform: uppercase;
}
.sec-title {
  margin-top: 12px;
  font-size: 34px;
  letter-spacing: 6px;
  color: var(--title);
}
.sec-sub { margin-top: 14px; font-size: 14px; letter-spacing: 2px; color: var(--faint); }

/* ============ 首页 Hero ============ */
/* 左文右图双栏：海报自带烘焙文字，不再叠加标题，避免叠字 */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 460px);
  align-items: center;
  gap: 64px;
  width: min(1180px, 92vw);
  margin: 0 auto;
  padding: 148px 0 88px;
}
.hero-content { text-align: left; }
.hero-eyebrow {
  font-family: var(--font-num);
  font-style: italic;
  font-size: 15px;
  letter-spacing: 4px;
  color: var(--accent-soft);
  text-transform: uppercase;
}
.hero-cn {
  margin-top: 14px;
  font-size: clamp(40px, 5vw, 62px);
  letter-spacing: 12px;
  color: var(--title);
}
.hero-en {
  margin-top: 12px;
  font-family: var(--font-num);
  font-style: italic;
  font-size: 16px;
  letter-spacing: 6px;
  color: var(--faint);
}
.hero-tag {
  margin-top: 24px;
  font-size: 15px;
  line-height: 2.1;
  letter-spacing: 2px;
  color: var(--text);
}
.hero-cta {
  margin-top: 38px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 34px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 14px;
  letter-spacing: 2px;
  box-shadow: 0 8px 26px rgba(40,24,90,.22);
  transition: transform .3s ease, box-shadow .3s ease;
}
.hero-cta:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(40,24,90,.3); }
/* 海报：限高完整显示，不裁切、不占满首屏 */
.hero-figure {
  position: relative;
  max-height: 74vh;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(70,50,120,.2);
}
.hero-figure img {
  width: 100%;
  height: 100%;
  max-height: 74vh;
  object-fit: cover;
  object-position: center top;
}

/* ============ 品牌矩阵 ============ */
.brand-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.brand-card {
  position: relative;
  display: block;
  border-radius: 6px;
  overflow: hidden;
  background: #f3eefb;
  box-shadow: 0 2px 14px rgba(70,50,120,.06);
  transition: transform .45s ease, box-shadow .45s ease;
}
.brand-card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(70,50,120,.16); }
.brand-card img { width: 100%; height: auto; }
.brand-card .card-cta {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 14px 0;
  text-align: center;
  font-size: 13px;
  letter-spacing: 3px;
  color: #fff;
  background: linear-gradient(180deg, transparent, rgba(46,30,90,.55));
  opacity: 0;
  transition: opacity .4s ease;
}
.brand-card:hover .card-cta { opacity: 1; }
/* 第一行三张，第二行两张居中 */
.brand-grid .brand-card:nth-child(4) { grid-column: 1 / span 1; }
.brand-row2 {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.brand-row2 .spacer-l { visibility: hidden; }
.brand-row2 .spacer-r { visibility: hidden; }

/* ============ 集团数字带 ============ */
.stats {
  background: var(--ink);
  color: #fff;
  padding: 78px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat-num {
  font-family: var(--font-num);
  font-style: italic;
  font-size: 54px;
  line-height: 1;
  color: #cbb9f5;
}
.stat-num sup { font-size: 24px; }
.stat-label { margin-top: 14px; font-size: 14px; letter-spacing: 3px; color: rgba(255,255,255,.75); }
.stats-note { margin-top: 34px; text-align: center; font-size: 13px; letter-spacing: 2px; color: rgba(255,255,255,.45); }

/* ============ 门店分布（首页） ============ */
.map-sec { text-align: center; }
.map-sec img {
  width: min(720px, 92vw);
  margin: 0 auto;
  border-radius: 8px;
  box-shadow: 0 16px 50px rgba(70,50,120,.14);
}

/* ============ 页脚 ============ */
.footer {
  border-top: 1px solid var(--line);
  padding: 54px 0 40px;
  text-align: center;
}
.footer-logo { width: 40px; margin: 0 auto 16px; opacity: .85; }
.footer-brand { font-size: 17px; letter-spacing: 5px; color: var(--title); }
.footer-slogan { margin-top: 12px; font-size: 13px; letter-spacing: 2px; line-height: 2; color: var(--faint); }
.footer-links { margin-top: 20px; display: flex; justify-content: center; gap: 26px; font-size: 13px; letter-spacing: 2px; }
.footer-links a { color: var(--text); transition: color .25s ease; }
.footer-links a:hover { color: var(--accent); }
.footer-copy { margin-top: 26px; font-family: var(--font-num); font-size: 11px; letter-spacing: 1.5px; color: var(--faint); }

/* ============ 发展史 ============ */
.growth-hero { position: relative; padding-top: 72px; }
.growth-hero img { width: 100%; height: 56vh; object-fit: cover; object-position: center 30%; }
.growth-hero .veil { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(30,18,70,.35), rgba(255,253,249,0) 55%, var(--paper) 100%); }
.growth-hero .cap {
  position: absolute; left: 0; right: 0; bottom: 46px;
  text-align: center;
}
.growth-hero .cap h1 { font-size: 40px; letter-spacing: 10px; color: var(--title); }
.growth-hero .cap p { margin-top: 12px; font-size: 14px; letter-spacing: 3px; color: var(--text); }

.timeline { position: relative; padding: 70px 0 40px; }
.timeline::before {
  content: "";
  position: absolute;
  left: 50%; top: 40px; bottom: 40px;
  width: 1px;
  background: var(--accent-line);
  transform: translateX(-50%);
}
.tl-item { position: relative; width: 50%; padding: 0 56px 64px; }
.tl-item:nth-child(odd) { left: 0; text-align: right; }
.tl-item:nth-child(even) { left: 50%; text-align: left; }
.tl-dot {
  position: absolute;
  top: 6px;
  width: 13px; height: 13px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--accent-soft);
  box-shadow: 0 0 0 4px rgba(185,168,230,.2);
  z-index: 1;
}
.tl-item:nth-child(odd) .tl-dot { right: -7px; }
.tl-item:nth-child(even) .tl-dot { left: -6px; }
.tl-year {
  font-family: var(--font-num);
  font-style: italic;
  font-size: 34px;
  line-height: 1;
  color: var(--accent);
}
.tl-title { margin-top: 8px; font-size: 19px; letter-spacing: 3px; color: var(--title); }
.tl-lead { margin-top: 10px; font-size: 14px; letter-spacing: 1.5px; color: var(--accent); }
.tl-body { margin-top: 8px; font-size: 14px; line-height: 2; letter-spacing: 1px; color: var(--text); }
.growth-foot { text-align: center; padding: 20px 0 80px; font-family: var(--font-num); font-style: italic; letter-spacing: 3px; color: var(--accent-soft); }

/* ============ 品牌详情页 ============ */
/* 品牌海报自带烘焙文字：限宽居中完整呈现，不铺满、不裁切 */
.bp-hero { padding: 96px 0 20px; }
.bp-hero img.hero-full {
  width: auto;
  max-width: min(560px, 86vw);
  max-height: 54vh;
  margin: 0 auto;
  border-radius: 8px;
  box-shadow: 0 20px 54px rgba(70,50,120,.16);
}
.bp-hero .bp-veil { display: none; }

/* 要点行（虚线下划线 + 数字强调） */
.bp-points { padding: 76px 0 20px; }
.points-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 64px;
}
.point {
  padding: 22px 4px;
  border-bottom: 1px dashed var(--accent-line);
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: 1.5px;
  color: var(--text);
  display: flex;
  gap: 16px;
  align-items: baseline;
}
.point .idx {
  font-family: var(--font-num);
  font-style: italic;
  font-size: 15px;
  color: var(--accent-soft);
  flex-shrink: 0;
}
.point strong { font-weight: 400; color: var(--accent); }

/* 理念区 */
.bp-vision { padding: 90px 0; text-align: center; }
.vision-en {
  font-family: var(--font-num);
  font-style: italic;
  letter-spacing: 4px;
  font-size: 14px;
  color: var(--accent-soft);
  text-transform: uppercase;
}
.vision-cn { margin-top: 14px; font-size: 34px; letter-spacing: 8px; color: var(--title); }
.vision-lines { margin-top: 44px; display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.vision-line {
  background: var(--accent-bg);
  border: 1px solid var(--accent-line);
  border-radius: 4px;
  padding: 34px 30px;
  text-align: left;
}
.vision-line h4 { font-size: 18px; letter-spacing: 3px; color: var(--accent); }
.vision-line p { margin-top: 12px; font-size: 14px; line-height: 2; letter-spacing: 1px; }
.vision-line .en { margin-top: 10px; font-family: var(--font-num); font-style: italic; font-size: 11px; letter-spacing: 1.5px; color: var(--faint); line-height: 1.9; }

/* 「于是……」故事块 */
.bp-story { padding: 30px 0 90px; }
.story-block {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}
.story-block .story-mark {
  font-family: var(--font-num);
  font-style: italic;
  font-size: 40px;
  color: var(--accent-soft);
}
.story-block p {
  margin-top: 10px;
  font-size: 16px;
  line-height: 2.4;
  letter-spacing: 2px;
  color: var(--text);
}
.story-block p em { font-style: normal; color: var(--accent); }

/* 门店轮播 */
.bp-stores { padding: 90px 0; background: #f7f3fc; }
body.t-chupifu .bp-stores { background: #f2f8f7; }
body.t-simei .bp-stores { background: #faf6ee; }
body.t-ten1mm .bp-stores { background: #fff4ec; }
body.t-tenplus .bp-stores { background: #f6f1fe; }
.carousel { position: relative; overflow: hidden; border-radius: 6px; }
.carousel-track {
  display: flex;
  transition: transform .6s cubic-bezier(.22,.61,.36,1);
  cursor: grab;
}
.carousel-track.is-dragging { transition: none; cursor: grabbing; }
.carousel-slide { flex: 0 0 100%; position: relative; }
.carousel-slide img { width: 100%; height: 52vh; min-height: 340px; object-fit: cover; }
.carousel-slide figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 18px 26px;
  font-size: 14px; letter-spacing: 2px; color: #fff;
  background: linear-gradient(180deg, transparent, rgba(30,18,70,.55));
}
.carousel-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  z-index: 3;
  width: 44px; height: 44px;
  border: 0; border-radius: 50%;
  background: rgba(255,255,255,.85);
  color: var(--title);
  font-size: 18px;
  cursor: pointer;
  transition: background .25s ease;
}
.carousel-btn:hover { background: #fff; }
.carousel-btn.prev { left: 18px; }
.carousel-btn.next { right: 18px; }
.carousel-dots { margin-top: 22px; display: flex; justify-content: center; gap: 10px; }
.carousel-dots button {
  width: 26px; height: 3px;
  border: 0; padding: 0;
  background: var(--accent-line);
  cursor: pointer;
  transition: background .3s ease;
}
.carousel-dots button.is-on { background: var(--accent); }

/* 视频区 */
.bp-video { padding: 90px 0; }
.bp-video video {
  width: 100%;
  border-radius: 6px;
  box-shadow: 0 18px 50px rgba(70,50,120,.16);
  background: #171038;
}
.video-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }

/* 「在这里」四宫格 */
.bp-here { padding: 90px 0; }
.here-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.here-card {
  border: 1px solid var(--accent-line);
  border-radius: 4px;
  padding: 36px 24px;
  text-align: center;
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.here-card:hover { transform: translateY(-5px); box-shadow: 0 14px 34px rgba(70,50,120,.1); border-color: var(--accent-soft); }
.here-card .here-num { font-family: var(--font-num); font-style: italic; font-size: 14px; color: var(--accent-soft); }
.here-card h4 { margin-top: 12px; font-size: 18px; letter-spacing: 3px; color: var(--title); }
.here-card p { margin-top: 12px; font-size: 13px; line-height: 2; letter-spacing: 1.5px; color: var(--text); }

/* 品牌页设计整图区 */
.bp-image { padding: 0 0 20px; }
.bp-image img { width: 100%; border-radius: 6px; }

/* 门店分布列表 */
.bp-locations { padding: 90px 0; }
.loc-group { margin-bottom: 34px; }
.loc-group:last-child { margin-bottom: 0; }
.loc-district {
  display: flex; align-items: baseline; gap: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}
.loc-district h4 { font-size: 17px; letter-spacing: 3px; color: var(--accent); }
.loc-district .cnt { font-family: var(--font-num); font-style: italic; font-size: 13px; color: var(--faint); }
.loc-tags { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 10px; }
.loc-tags span {
  padding: 7px 16px;
  border-radius: 999px;
  background: var(--accent-bg);
  border: 1px solid var(--accent-line);
  font-size: 13px;
  letter-spacing: 1px;
  color: var(--text);
}

/* 品牌页页脚口号 */
.bp-mantra {
  padding: 80px 0;
  text-align: center;
  background: var(--ink);
  color: #fff;
}
.bp-mantra p { font-size: 17px; line-height: 2.4; letter-spacing: 3px; color: rgba(255,255,255,.85); }
.bp-mantra p strong { font-weight: 400; color: #cbb9f5; }

/* 品牌间跳转 */
.bp-next { padding: 70px 0; text-align: center; }
.bp-next a {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 15px; letter-spacing: 3px; color: var(--accent);
  border-bottom: 1px dashed var(--accent-line);
  padding-bottom: 6px;
  transition: gap .3s ease;
}
.bp-next a:hover { gap: 20px; }

/* ============ 响应式（保底） ============ */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 44px; padding-top: 120px; }
  .hero-figure { max-width: 440px; margin: 0 auto; width: 100%; }
  .brand-grid { grid-template-columns: 1fr 1fr; }
  .brand-row2 { grid-template-columns: 1fr 1fr; }
  .brand-row2 .spacer-l { display: none; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 40px 24px; }
  .points-list { grid-template-columns: 1fr; }
  .vision-lines { grid-template-columns: 1fr; }
  .here-grid { grid-template-columns: 1fr 1fr; }
  .video-duo { grid-template-columns: 1fr; }
  .timeline::before { left: 18px; }
  .tl-item, .tl-item:nth-child(even) { width: 100%; left: 0; padding: 0 0 50px 48px; text-align: left; }
  .tl-item:nth-child(odd) { text-align: left; }
  .tl-item:nth-child(odd) .tl-dot { left: 12px; right: auto; }
  .tl-item:nth-child(even) .tl-dot { left: 12px; }
  .nav-links { gap: 18px; }
}
@media (max-width: 600px) {
  .brand-grid, .brand-row2, .here-grid { grid-template-columns: 1fr; }
  .nav-links a:not(.nav-cta) { display: none; }
  .carousel-slide img { height: 44vh; min-height: 280px; }
}
