/* ============================================================
   Layla Plus 蕾拉 — 企业官网样式
   象牙白 × 墨色 × 香槟金 ｜ 编辑式排版 ｜ 无外部依赖
   ============================================================ */

:root {
  --ivory:      #F6F2EC;   /* 页面底色 */
  --cream:      #FBF9F5;   /* 卡片底 */
  --ink:        #211C16;   /* 主文字 */
  --ink-soft:   #5C534A;   /* 次级文字 */
  --gold:       #A98F62;   /* 香槟金 */
  --gold-soft:  #C9B48E;
  --blush:      #C7A6A0;   /* 裸粉（呼应品牌 logo） */
  --line:       #DCD3C6;   /* 细线 */
  --dark:       #191510;   /* 深色区块 */
  --serif: "Cormorant Garamond", "Times New Roman", "Noto Serif SC", "Source Han Serif SC", "Songti SC", "SimSun", serif;
  --sans:  "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  font-weight: 300;
  color: var(--ink);
  background: var(--ivory);
  line-height: 1.9;
  letter-spacing: .02em;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
.wrap { width: min(1180px, 92vw); margin: 0 auto; }
.frame { overflow: hidden; background: #E9E2D7; }
.frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2,.6,.2,1); }
.frame:hover img { transform: scale(1.045); }

/* ---------- 通用字级 ---------- */
.kicker {
  font-size: 12px; letter-spacing: .42em; color: var(--gold);
  text-transform: uppercase; margin-bottom: 26px;
}
.kicker em { font-style: normal; font-family: var(--serif); font-size: 15px; margin-right: 14px; color: var(--ink-soft); }
.kicker-light em { color: var(--gold-soft); }
.h2 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(30px, 4.2vw, 52px); line-height: 1.32; letter-spacing: .04em;
  margin-bottom: 30px;
}
.h2 .accent { color: var(--gold); font-style: italic; }
.h2-light { color: #F3EDE3; }
.lead { font-size: 16px; color: var(--ink-soft); margin-bottom: 18px; }
.body { font-size: 14.5px; color: var(--ink-soft); }
.body-light { color: #B9AE9F; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-block; padding: 15px 42px; font-size: 13px; letter-spacing: .3em;
  border: 1px solid var(--ink); border-radius: 999px;
  transition: all .45s ease; cursor: pointer; background: none; color: var(--ink);
  font-family: var(--sans);
}
.btn-solid { background: var(--ink); color: var(--ivory); }
.btn-solid:hover { background: var(--gold); border-color: var(--gold); color: #fff; }
.btn-line:hover { background: var(--ink); color: var(--ivory); }

/* ============================================================
   导航
   ============================================================ */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background .45s ease, box-shadow .45s ease, backdrop-filter .45s ease;
}
.nav.scrolled {
  background: rgba(251, 249, 245, .88);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(33,28,22,.07);
}
.nav-inner {
  width: min(1320px, 94vw); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 26px 0; transition: padding .45s ease;
}
.nav.scrolled .nav-inner { padding: 15px 0; }
.brand { display: flex; align-items: center; gap: 14px; }
.brand-mark {
  width: 42px; height: 42px; border: 1px solid currentColor; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--serif); font-size: 17px; letter-spacing: .06em;
}
.brand-mark span { font-size: 9px; transform: translateY(-5px); margin-left: -3px; color: var(--gold); }
.brand-name { font-family: var(--serif); font-size: 19px; letter-spacing: .34em; line-height: 1.2; }
.brand-name i {
  display: block; font-style: normal; font-family: var(--sans);
  font-size: 10px; letter-spacing: .32em; color: var(--ink-soft); margin-top: 2px;
}
.nav-links { display: flex; gap: 42px; }
.nav-links a {
  font-size: 13px; letter-spacing: .22em; color: var(--ink);
  position: relative; padding: 4px 0;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 1px;
  background: var(--gold); transition: width .4s ease;
}
.nav-links a:hover::after { width: 100%; }
.nav-toggle { display: none; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 72% center; animation: heroIn 2.4s ease both; }
@keyframes heroIn { from { transform: scale(1.08); opacity: .4; } to { transform: scale(1); opacity: 1; } }
.hero-veil {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(246,242,236,.92) 0%, rgba(246,242,236,.55) 34%, rgba(246,242,236,0) 62%);
}
.hero-content { position: relative; z-index: 2; width: min(1180px, 92vw); margin: 0 auto; padding-bottom: 4vh; }
.hero-eyebrow {
  font-size: 12px; letter-spacing: .5em; color: var(--ink-soft);
  text-transform: uppercase; margin-bottom: 30px;
}
.hero-title {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(42px, 6.4vw, 84px); line-height: 1.22; letter-spacing: .05em;
  margin-bottom: 34px;
}
.hero-sub { font-size: 15.5px; color: var(--ink-soft); margin-bottom: 52px; }
.hero-cta { display: flex; gap: 18px; flex-wrap: wrap; }
.hero-side {
  position: absolute; right: 42px; top: 50%; transform: translateY(-50%); z-index: 2;
  writing-mode: vertical-rl; font-size: 12px; letter-spacing: .6em; color: var(--ink-soft);
}
.hero-side::before { content: ""; display: block; width: 1px; height: 72px; background: var(--gold); margin: 0 auto 18px; }
.hero-scroll {
  position: absolute; left: 50%; bottom: 34px; transform: translateX(-50%); z-index: 2;
  font-size: 10px; letter-spacing: .4em; color: var(--ink-soft); text-align: center;
}
.hero-scroll span {
  display: block; width: 1px; height: 56px; margin: 0 auto 12px;
  background: linear-gradient(var(--ink), transparent);
  animation: drip 2.2s ease-in-out infinite;
}
@keyframes drip { 0% { transform: scaleY(0); transform-origin: top; } 55% { transform: scaleY(1); transform-origin: top; } 56% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* hero 入场 */
[data-hero] { opacity: 0; transform: translateY(28px); animation: heroUp 1.2s cubic-bezier(.2,.6,.2,1) forwards; }
[data-hero]:nth-of-type(1) { animation-delay: .5s; }
[data-hero]:nth-of-type(2) { animation-delay: .75s; }
[data-hero]:nth-of-type(3) { animation-delay: 1s; }
[data-hero]:nth-of-type(4) { animation-delay: 1.25s; }
[data-hero]:nth-of-type(5) { animation-delay: 1.5s; }
@keyframes heroUp { to { opacity: 1; transform: none; } }

/* ============================================================
   区块通用
   ============================================================ */
.section { padding: clamp(90px, 12vw, 150px) 0; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(50px, 7vw, 110px); align-items: center; }
.sec-head { margin-bottom: clamp(50px, 7vw, 90px); max-width: 720px; }
.sec-head-center { text-align: center; margin-left: auto; margin-right: auto; }

/* 滚动显现 */
[data-reveal] { opacity: 0; transform: translateY(34px); transition: opacity 1s cubic-bezier(.2,.6,.2,1), transform 1s cubic-bezier(.2,.6,.2,1); }
[data-reveal].in { opacity: 1; transform: none; }

/* ============================================================
   01 品牌哲学
   ============================================================ */
.ph-media .frame { aspect-ratio: 4 / 5.4; }
.ph-caption { font-size: 12px; color: var(--ink-soft); letter-spacing: .18em; margin-top: 16px; }
.ph-copy .h2 { margin-bottom: 34px; }
.stats {
  list-style: none; display: grid; grid-template-columns: repeat(4, 1fr);
  margin-top: 54px; border-top: 1px solid var(--line); padding-top: 34px;
}
.stats li { text-align: left; }
.stats li + li { border-left: 1px solid var(--line); padding-left: 26px; }
.stats b { display: block; font-family: var(--serif); font-weight: 500; font-size: 34px; color: var(--ink); line-height: 1.1; }
.stats b::after { content: "+"; font-size: 16px; color: var(--gold); margin-left: 2px; }
.stats b[data-plain]::after { content: ""; }
.stats span { font-size: 12px; color: var(--ink-soft); letter-spacing: .1em; }

/* ============================================================
   02 臻选系列
   ============================================================ */
.collections { background: var(--cream); }
.col-grid {
  display: grid; grid-template-columns: 1.15fr 1fr 1fr;
  gap: clamp(24px, 3vw, 44px); align-items: start;
}
.col-card { display: block; }
.col-a .frame { aspect-ratio: 3 / 4.4; }
.col-b .frame { aspect-ratio: 3 / 3.8; margin-top: 72px; }
.col-c .frame { aspect-ratio: 3 / 4.1; margin-top: 26px; }
.col-info { padding: 26px 4px 0; }
.col-no { font-family: var(--serif); font-size: 13px; letter-spacing: .34em; color: var(--gold); margin-bottom: 10px; }
.col-info h3 { font-family: var(--serif); font-weight: 500; font-size: 24px; letter-spacing: .1em; margin-bottom: 12px; }
.col-info p { font-size: 13.5px; color: var(--ink-soft); margin-bottom: 16px; }
.col-more { font-size: 12px; letter-spacing: .26em; color: var(--ink); border-bottom: 1px solid var(--line); padding-bottom: 5px; transition: color .3s, border-color .3s; }
.col-card:hover .col-more { color: var(--gold); border-color: var(--gold); }

/* ============================================================
   03 面料工艺（深色）
   ============================================================ */
.craft { background: var(--dark); color: #EDE6DA; }
.cr-media { display: grid; grid-template-columns: 1.35fr 1fr; gap: 22px; align-items: end; }
.cr-media .frame { aspect-ratio: 3 / 4; }
.cr-media .frame-sm { aspect-ratio: 3 / 3.4; }
.cr-list { list-style: none; margin-top: 46px; border-top: 1px solid rgba(237,230,218,.16); }
.cr-list li {
  display: flex; justify-content: space-between; align-items: baseline; gap: 20px;
  padding: 17px 2px; border-bottom: 1px solid rgba(237,230,218,.16);
}
.cr-list span { font-size: 12.5px; letter-spacing: .26em; color: #9C917F; white-space: nowrap; }
.cr-list b { font-weight: 400; font-size: 14.5px; text-align: right; }
.cr-list i { font-style: normal; color: #9C917F; font-size: 13px; }

/* ============================================================
   引言
   ============================================================ */
.quote { background: var(--ivory); text-align: center; padding-top: 0; padding-bottom: 0; }
.quote .wrap { padding: clamp(80px, 10vw, 130px) 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.q-mark { font-family: var(--serif); font-size: 90px; line-height: .4; color: var(--gold); margin-bottom: 34px; }
.q-text { font-family: var(--serif); font-weight: 500; font-size: clamp(24px, 3.2vw, 40px); line-height: 1.7; letter-spacing: .08em; }
.q-from { margin-top: 30px; font-size: 12.5px; letter-spacing: .3em; color: var(--ink-soft); }

/* ============================================================
   04 精品门店
   ============================================================ */
.boutique { background: var(--cream); }
.bt-media .frame { aspect-ratio: 4 / 3.1; }
.bt-table { margin-top: 40px; border-top: 1px solid var(--line); }
.bt-row {
  display: grid; grid-template-columns: 200px 1fr auto; gap: 18px; align-items: baseline;
  padding: 17px 2px; border-bottom: 1px solid var(--line);
  font-size: 13.5px;
}
.bt-row span { color: var(--ink); letter-spacing: .12em; }
.bt-row b { font-weight: 400; color: var(--ink-soft); }
.bt-row i { font-style: normal; font-family: var(--serif); color: var(--gold); letter-spacing: .06em; }
.bt-tel { margin-top: 30px; font-size: 13px; color: var(--ink-soft); letter-spacing: .1em; }
.bt-tel b { font-family: var(--serif); font-size: 20px; color: var(--ink); letter-spacing: .08em; }

/* ============================================================
   05 预约表单
   ============================================================ */
.contact { background: var(--ivory); }
.form { max-width: 860px; margin: 0 auto; border: 1px solid var(--line); background: var(--cream); padding: clamp(34px, 5vw, 64px); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 34px; }
.field { display: block; }
.field span { display: block; font-size: 12px; letter-spacing: .26em; color: var(--ink-soft); margin-bottom: 10px; }
.field-full { margin-top: 26px; }
.field input, .field select, .field textarea {
  width: 100%; border: 0; border-bottom: 1px solid var(--line); background: transparent;
  padding: 10px 2px; font-family: var(--sans); font-size: 15px; color: var(--ink);
  border-radius: 0; outline: none; transition: border-color .3s; resize: vertical;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold); }
.field input::placeholder, .field textarea::placeholder { color: #B4A996; }
.field.err input { border-color: #B3552F; }
.form-foot { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 40px; flex-wrap: wrap; }
.form-tip { font-size: 12px; color: var(--ink-soft); letter-spacing: .06em; }
.form-msg { margin-top: 18px; font-size: 13.5px; letter-spacing: .1em; color: var(--gold); min-height: 1.6em; }
.form-msg.bad { color: #B3552F; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--dark); color: #C9BFB0; padding: clamp(70px, 9vw, 110px) 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 46px; padding-bottom: 70px; }
.f-logo { font-family: var(--serif); font-size: 26px; letter-spacing: .34em; color: #F3EDE3; }
.f-cn { font-size: 13px; letter-spacing: .34em; margin-top: 8px; }
.f-slogan { margin-top: 22px; font-size: 12.5px; color: #8D8272; }
.f-head { font-size: 12px; letter-spacing: .34em; color: #8D8272; margin-bottom: 20px; text-transform: uppercase; }
.f-col a, .f-col span { display: block; font-size: 13.5px; padding: 6px 0; color: #C9BFB0; transition: color .3s; }
.f-col a:hover { color: var(--gold-soft); }
.footer-bar {
  display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  border-top: 1px solid rgba(201,191,176,.14);
  padding-top: 26px; padding-bottom: 30px; font-size: 11.5px; color: #7C7263; letter-spacing: .08em;
}

/* ============================================================
   响应式
   ============================================================ */
@media (max-width: 1024px) {
  .col-grid { grid-template-columns: 1fr 1fr; }
  .col-c { display: none; }
  .hero-side { display: none; }
}
@media (max-width: 860px) {
  .grid-2 { grid-template-columns: 1fr; gap: 54px; }
  .cr-media { grid-template-columns: 1fr; }
  .cr-media .frame-sm { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 26px 0; }
  .stats li + li { border-left: 0; padding-left: 0; }
  .bt-row { grid-template-columns: 1fr; gap: 4px; }
  .col-grid { grid-template-columns: 1fr; }
  .col-b, .col-c { display: block; }
  .col-b .frame, .col-c .frame { margin-top: 0; }

  /* 移动端导航 */
  .nav-toggle {
    display: block; width: 40px; height: 40px; background: none; border: 0; cursor: pointer;
    position: relative; z-index: 102;
  }
  .nav-toggle span {
    display: block; width: 24px; height: 1px; background: var(--ink); margin: 7px auto;
    transition: transform .4s ease, opacity .4s ease;
  }
  .nav-toggle.open span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }
  .nav-links {
    position: fixed; inset: 0; z-index: 101;
    background: rgba(251,249,245,.98); backdrop-filter: blur(16px);
    flex-direction: column; align-items: center; justify-content: center; gap: 34px;
    opacity: 0; pointer-events: none; transition: opacity .45s ease;
  }
  .nav-links.open { opacity: 1; pointer-events: auto; }
  .nav-links a { font-size: 17px; letter-spacing: .4em; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ============================================================
   系列卡片 / 工艺明细：改成后台可配置循环渲染后的样式别名
   （原 col-a/col-b/col-c 由序号生成 col-1/col-2/col-3，排版效果保持一致）
   ============================================================ */
.col-1 .frame { aspect-ratio: 3 / 4.4; }
.col-2 .frame { aspect-ratio: 3 / 3.8; margin-top: 72px; }
.col-3 .frame { aspect-ratio: 3 / 4.1; margin-top: 26px; }
.col-4 .frame, .col-5 .frame { aspect-ratio: 3 / 4.1; margin-top: 26px; }

/* 工艺明细：数字 + 单位的右侧值容器（继承小字样式会被 .cr-list span 命中，这里复位） */
.cr-list .cr-val { letter-spacing: normal; color: inherit; white-space: normal; text-align: right; }

@media (max-width: 1024px) {
  .col-3, .col-4, .col-5 { display: none; }
}
@media (max-width: 860px) {
  .col-2, .col-3, .col-4, .col-5 { display: block; }
  .col-2 .frame, .col-3 .frame, .col-4 .frame, .col-5 .frame { margin-top: 0; }
}
