/* ============================================================
   粉咖配色 · 韩系洛可可蕾丝 · 带小饰品
   底色淡粉，线框与蕾丝边用香槟咖，按钮/页脚用咖啡棕
   排版结构不变
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }

:root {
  --bg: #fbf2ef;            /* 淡粉奶底 */
  --bg-2: #f6ebe5;          /* 粉咖区块 */
  --card: #fffdfa;
  --ink: #4e4140;
  --muted: #a38f8b;
  --line: #eedcd7;
  --line-soft: #f4e7e2;

  --rose: #f0d6dc;          /* 柔粉 */
  --rose-soft: #f8e6e9;
  --rose-deep: #bf8b94;     /* 灰玫瑰 */
  --champagne: #c9ae96;     /* 香槟咖（发丝线 / 蕾丝边 / 波点） */
  --champagne-soft: #efe2d5;
  --mocha: #5c4a44;         /* 咖啡棕（按钮 / 页脚） */
  --mocha-deep: #463733;
  --mocha-soft: #ecdcd1;
  --lav-soft: #f0ebf6;
  --lav-deep: #a99ec4;

  --radius-lg: 28px;
  --radius: 22px;
  --shadow-sm: 0 8px 24px rgba(190, 150, 150, .10);
  --shadow: 0 22px 48px rgba(190, 150, 150, .16);
  --container: 1140px;
  --sans: "Pretendard", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", -apple-system, "Segoe UI", system-ui, sans-serif;
  --serif: "Songti SC", "Noto Serif SC", "Source Han Serif SC", "SimSun", Georgia, "Times New Roman", serif;

  /* 页脚顶部的波浪蕾丝边（填充色 = 页脚顶部色） */
  --lace-fill-footer: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='36' height='12' viewBox='0 0 36 12'%3E%3Cpath d='M0 12 Q9 0 18 12 Q27 0 36 12 Z' fill='%234d3d38'/%3E%3C/svg%3E");
}

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; letter-spacing: .015em; margin: 0; }

.container { width: min(var(--container), 92%); margin-inline: auto; }

/* 高亮词（玫瑰粉底） */
.mark {
  background: linear-gradient(transparent 60%, var(--rose) 60%);
  padding: 0 4px;
  border-radius: 4px;
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  font-family: var(--sans);
  letter-spacing: .02em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease, color .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--mocha);
  color: #fffdfa;
  box-shadow: 0 10px 24px rgba(92, 74, 68, .25), inset 0 1px 0 rgba(255, 255, 255, .14);
}
.btn-primary:hover { background: var(--mocha-deep); }
.btn-ghost {
  background: var(--card);
  color: var(--ink);
  border-color: var(--line);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6);
}
.btn-ghost:hover { border-color: var(--rose-deep); color: var(--rose-deep); }

/* ---------- 顶部导航 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(251, 242, 239, .86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; position: relative; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--serif); font-weight: 600; font-size: 19px; letter-spacing: .03em; }
.brand img { width: 34px; height: 34px; border-radius: 10px; }

.site-nav { display: flex; align-items: center; gap: 2px; }
.site-nav a {
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 15px;
  color: var(--muted);
  transition: color .18s ease, background .18s ease;
}
.site-nav a:hover { color: var(--rose-deep); background: var(--rose-soft); }
.site-nav a.active { color: var(--rose-deep); background: var(--rose-soft); font-weight: 600; }

.header-actions { display: flex; align-items: center; gap: 8px; }
.lang-btn {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color .18s ease, color .18s ease;
  font-family: var(--sans);
}
.lang-btn:hover { border-color: var(--rose-deep); color: var(--rose-deep); }
.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--card);
  font-size: 18px;
  cursor: pointer;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 88px 0 80px;
  background: linear-gradient(180deg, #fcf6f2, var(--bg));
}
.hero .blob { position: absolute; border-radius: 50%; filter: blur(80px); pointer-events: none; z-index: 0; opacity: .8; }
.hero .blob-a { width: 420px; height: 420px; left: -120px; top: -140px; background: #f4e0e4; }
.hero .blob-b { width: 500px; height: 500px; right: -160px; bottom: -180px; background: #ebe5f2; }
.hero .blob-c { width: 260px; height: 260px; right: 14%; top: -90px; background: #f2e3d7; }

.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.02fr .98fr; gap: 56px; align-items: center; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: 999px;
  background: var(--rose-soft);
  color: var(--rose-deep);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .18em;
  margin-bottom: 22px;
  font-family: var(--sans);
}
.hero h1 { font-size: clamp(34px, 4.4vw, 54px); line-height: 1.24; margin: 0 0 20px; font-weight: 600; }
.hero .lede { font-size: 17.5px; color: var(--muted); max-width: 540px; margin: 0 0 30px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.pill-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 36px; }
.pill {
  padding: 7px 16px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 13.5px;
  background: rgba(255, 253, 250, .7);
}
.pill.p-pink { color: var(--rose-deep); background: var(--rose-soft); }
.pill.p-blue { color: var(--lav-deep); background: var(--lav-soft); }
.pill.p-yellow { color: #a8865f; background: var(--champagne-soft); }

/* 主图：拱形 + 咖色发丝内框 */
.hero-media { position: relative; }
.hero-media img {
  border-radius: 160px 160px var(--radius-lg) var(--radius-lg);
  border: 1px solid #fff;
  box-shadow: var(--shadow);
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(201, 174, 150, .45);
  border-radius: 150px 150px calc(var(--radius-lg) - 8px) calc(var(--radius-lg) - 8px);
  pointer-events: none;
}

/* ---------- 通用 section ---------- */
.section { padding: 84px 0; }
.section-alt {
  position: relative;
  background-color: var(--bg-2);
  background-image: radial-gradient(rgba(201, 174, 150, .14) 1.3px, transparent 1.8px);
  background-size: 24px 24px;
}
.section-head { max-width: 680px; margin-bottom: 48px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head .eyebrow { margin-bottom: 14px; }
.section-head h2 { font-size: clamp(25px, 3.1vw, 36px); line-height: 1.32; }
.section-head p { color: var(--muted); margin: 12px 0 0; font-size: 16px; }

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.card::before {
  content: "";
  position: absolute;
  inset: 7px;
  border: 1px solid rgba(201, 174, 150, .28);
  border-radius: calc(var(--radius) - 8px);
  pointer-events: none;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card h3 { font-size: 17.5px; margin: 14px 0 8px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }

/* 图标按顺序轮换 玫瑰/淡紫/香槟咖/奶咖 */
.feature .icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  font-size: 20px;
}
.feature:nth-child(4n+1) .icon { background: var(--rose-soft); color: var(--rose-deep); }
.feature:nth-child(4n+2) .icon { background: var(--lav-soft); color: var(--lav-deep); }
.feature:nth-child(4n+3) .icon { background: var(--champagne-soft); color: #a8865f; }
.feature:nth-child(4n+4) .icon { background: var(--mocha-soft); color: var(--mocha); }

/* ---------- 系列卡片 ---------- */
.collection { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.collection-card {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.collection-card::before {
  content: "";
  position: absolute;
  inset: 9px;
  border: 1px solid rgba(201, 174, 150, .28);
  border-radius: calc(var(--radius-lg) - 10px);
  pointer-events: none;
  z-index: 1;
}
.collection-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.collection-copy { padding: 34px 30px; display: flex; flex-direction: column; align-items: flex-start; gap: 0; }
.collection-copy .count {
  font-size: 13.5px;
  letter-spacing: .06em;
  margin-bottom: 12px;
  padding: 5px 14px;
  border-radius: 999px;
  font-weight: 600;
}
.collection-card.is-pink .count { background: var(--rose-soft); color: var(--rose-deep); }
.collection-card.is-blue .count { background: var(--lav-soft); color: var(--lav-deep); }
.collection-copy h3 { font-size: 23px; margin: 0 0 10px; }
.collection-copy p { color: var(--muted); font-size: 15px; margin: 0 0 22px; }
.collection-art { background: var(--bg-2); display: flex; align-items: center; justify-content: center; padding: 22px; }
.collection-art img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 22px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

/* ---------- 键帽卡片 ---------- */
.cap-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.cap-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.cap-card::before {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1px solid rgba(201, 174, 150, .24);
  border-radius: calc(var(--radius) - 7px);
  pointer-events: none;
  z-index: 1;
}
.cap-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.cap-media { position: relative; display: block; aspect-ratio: 1/1; background: var(--bg-2); overflow: hidden; }
.cap-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.cap-card:hover .cap-media img { transform: scale(1.045); }
.cap-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 5px 13px;
  border-radius: 999px;
  background: rgba(255, 253, 250, .9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .06em;
  color: var(--rose-deep);
  z-index: 2;
}
.cap-badge.cap-badge--blue { color: var(--lav-deep); }
.cap-body { padding: 14px 16px 16px; }
.cap-name { font-family: var(--sans); font-size: 15.5px; font-weight: 600; margin: 0; }
.cap-note { font-size: 12.5px; color: var(--muted); margin: 4px 0 0; letter-spacing: .01em; }

/* ---------- CTA 横幅 ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, #f9e2e8, #f2ecf5 50%, #eeddd0 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 52px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(201, 174, 150, .3);
  border-radius: calc(var(--radius-lg) - 11px);
  pointer-events: none;
}
.cta-band::after {
  content: "";
  position: absolute;
  right: -60px;
  top: -80px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: rgba(240, 214, 220, .5);
}
.cta-band h2 { font-size: clamp(23px, 2.7vw, 31px); margin: 0 0 8px; position: relative; z-index: 1; }
.cta-band p { color: var(--muted); margin: 0; position: relative; z-index: 1; }
.cta-band .btn { position: relative; z-index: 2; }

/* ---------- 内页页头 ---------- */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: 70px 0 60px;
  background: linear-gradient(180deg, #fcf6f2, var(--bg));
}
.page-hero .eyebrow { margin-bottom: 16px; }
.page-hero h1 { font-size: clamp(30px, 3.6vw, 44px); margin: 0 0 14px; font-weight: 600; }
.page-hero p { color: var(--muted); max-width: 660px; margin: 0; font-size: 17px; }

/* ---------- 关于页 ---------- */
.story { max-width: 780px; }
.story p { color: var(--muted); font-size: 16.5px; margin: 0 0 16px; }

.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { display: flex; gap: 18px; padding: 18px 0; border-bottom: 1px dashed var(--line); }
.timeline li:last-child { border-bottom: 0; }
.timeline .year { flex: 0 0 auto; font-family: var(--serif); font-weight: 600; color: var(--rose-deep); font-size: 17px; min-width: 64px; }
.timeline .desc { color: var(--muted); }

/* ---------- 联系页 ---------- */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 48px; }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.contact-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
  box-shadow: var(--shadow-sm);
}
.cicon {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--rose-soft);
  color: var(--rose-deep);
  display: grid;
  place-items: center;
  font-size: 17px;
}
.contact-list li:nth-child(2) .cicon { background: var(--lav-soft); color: var(--lav-deep); }
.contact-list li:nth-child(3) .cicon { background: var(--champagne-soft); color: #a8865f; }
.contact-list li:nth-child(4) .cicon { background: var(--mocha-soft); color: var(--mocha); }
.clabel { font-size: 13px; color: var(--muted); margin-bottom: 2px; }
.cvalue { font-weight: 600; word-break: break-all; }
.qr-box { margin-top: 22px; display: flex; align-items: center; gap: 18px; }
.qr-box img { width: 132px; height: 132px; border-radius: var(--radius); border: 1px solid var(--line); }
.qr-box .qrinfo { font-size: 14px; color: var(--muted); }

.contact-form {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow);
}
.contact-form::before {
  content: "";
  position: absolute;
  inset: 9px;
  border: 1px solid rgba(201, 174, 150, .28);
  border-radius: calc(var(--radius-lg) - 10px);
  pointer-events: none;
}
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.field input,
.field textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  background: #f9efeb;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--rose-deep);
  box-shadow: 0 0 0 4px rgba(191, 139, 148, .16);
  background: var(--card);
}
.form-note { font-size: 13px; color: var(--muted); margin: 14px 0 0; }

/* ---------- 页脚（咖啡底） ---------- */
.site-footer {
  position: relative;
  background: linear-gradient(180deg, #4d3d38, #3b2e2b);
  color: #d9cbc8;
  margin-top: 90px;
}
.site-footer::before {
  content: "";
  position: absolute;
  top: -11px;
  left: 0;
  right: 0;
  height: 12px;
  background-image: var(--lace-fill-footer);
  background-repeat: repeat-x;
  background-size: 36px 12px;
  pointer-events: none;
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; padding: 56px 0 40px; }
.footer-grid h4 { color: #f4e9e4; font-size: 15px; margin: 0 0 14px; letter-spacing: .06em; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-grid a { color: #b7a5a4; font-size: 14.5px; }
.footer-grid a:hover { color: #fff; }
.footer-brand .brand { color: #f4e9e4; margin-bottom: 12px; }
.footer-brand p { color: #b7a5a4; font-size: 14.5px; margin: 0; max-width: 320px; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(217, 203, 200, .18);
  padding: 20px 0 28px;
  font-size: 13.5px;
  color: #a39495;
}

/* ---------- 小饰品 ---------- */
.trinket {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  color: var(--rose-deep);
  opacity: .55;
}
.trinket.champ { color: var(--champagne); }
.trinket.mocha { color: #8a6a58; }
.t-tl { top: 18px; left: 3%; }
.t-tr { top: 18px; right: 3%; }
.t-bl { bottom: 22px; left: 3%; }
.t-br { bottom: 22px; right: 3%; }

/* 手绘贴纸 */
.sticker {
  position: absolute;
  top: -14px;
  left: 28px;
  transform: rotate(-5deg);
  background: var(--champagne-soft);
  border: 1.5px dashed var(--champagne);
  color: #a8865f;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  padding: 6px 15px;
  border-radius: 999px;
  font-family: var(--sans);
  opacity: .95;
  z-index: 2;
}

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .cap-grid { grid-template-columns: repeat(3, 1fr); }
  .collection { grid-template-columns: 1fr; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-media { max-width: 600px; }
}

@media (max-width: 760px) {
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    background: var(--card);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    padding: 10px;
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 12px 14px; }
  .nav-toggle { display: grid; place-items: center; }

  .hero { padding: 60px 0 52px; }
  .section { padding: 56px 0; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .cap-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cta-band { padding: 36px 28px; }
  .collection-card { grid-template-columns: 1fr; }
  .collection-art { order: -1; padding: 18px; }
  .trinket { opacity: .4; }
}

@media (max-width: 520px) {
  .hero h1 { font-size: 30px; }
  .footer-grid { grid-template-columns: 1fr; }
  .contact-form { padding: 22px; }
  .hero-media img { border-radius: 100px 100px var(--radius-lg) var(--radius-lg); }
}
