/* ===== ACES 落地页样式 ===== */
:root {
  --red: #d4212d;
  --red-dark: #a8151f;
  --ink: #151517;
  --ink-2: #1e1e22;
  --paper: #faf8f6;
  --cream: #f3efe9;
  --muted: #6d6d72;
  --gold: #c8a15a;
  --wa: #25d366;
  --wa-dark: #1eb856;
  --radius: 14px;
  --shadow: 0 18px 50px rgba(0, 0, 0, .14);
  --font-serif: Georgia, "Times New Roman", serif;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}
img { display: block; max-width: 100%; }
.container { width: min(1180px, 92%); margin: 0 auto; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  border: 0; border-radius: 999px; cursor: pointer;
  font-weight: 700; font-size: 1rem; text-decoration: none;
  padding: .8rem 1.6rem; transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:active { transform: scale(.97); }
.btn-lg { padding: 1rem 2rem; font-size: 1.05rem; }
.btn-sm { padding: .5rem 1.1rem; font-size: .9rem; }
.btn-wa { background: var(--wa); color: #fff; box-shadow: 0 8px 24px rgba(37, 211, 102, .35); }
.btn-wa:hover { background: var(--wa-dark); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: #fff; border: 1.5px solid rgba(255, 255, 255, .45); }
.btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }
.wa-ico { width: 1.15em; height: 1.15em; fill: currentColor; }

/* ---------- 导航 ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(15, 15, 17, .82); backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.nav-inner { display: flex; align-items: center; gap: 2rem; height: 68px; }
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; color: #fff; font-weight: 800; letter-spacing: .12em; font-size: 1.15rem; }
.brand img { width: 38px; height: 38px; border-radius: 8px; }
.nav-links { display: flex; gap: 1.6rem; margin-left: auto; }
.nav-links a { color: rgba(255, 255, 255, .75); text-decoration: none; font-size: .95rem; transition: color .15s; }
.nav-links a:hover { color: #fff; }

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(212, 33, 45, .28), transparent 60%),
    radial-gradient(700px 500px at -10% 110%, rgba(200, 161, 90, .14), transparent 55%),
    var(--ink);
  color: #fff;
  padding: 4.5rem 0 5rem;
}
.hero-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 3.5rem; align-items: center; }
.eyebrow {
  text-transform: uppercase; letter-spacing: .28em; font-size: .78rem;
  color: var(--gold); font-weight: 700; margin-bottom: 1.1rem;
}
.eyebrow.center { text-align: center; }
.eyebrow.light { color: var(--gold); }
.hero h1 {
  font-family: var(--font-serif); font-weight: 700;
  font-size: clamp(2.4rem, 5vw, 3.9rem); line-height: 1.08; letter-spacing: .01em;
}
.hero-sub { margin: 1.3rem 0 2rem; color: rgba(255, 255, 255, .72); font-size: 1.08rem; max-width: 34rem; }
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-points { display: flex; gap: 1.4rem; flex-wrap: wrap; list-style: none; margin-top: 2.2rem; }
.hero-points li { position: relative; padding-left: 1.1rem; color: rgba(255, 255, 255, .65); font-size: .92rem; }
.hero-points li::before { content: ""; position: absolute; left: 0; top: .52em; width: 7px; height: 7px; border-radius: 50%; background: var(--red); }

/* 轮播 */
.hero-slider { position: relative; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 4.6; background: var(--ink-2); }
.slides, .slide { position: absolute; inset: 0; width: 100%; height: 100%; }
.slide { object-fit: cover; opacity: 0; transition: opacity .7s ease; }
.slide.active { opacity: 1; }
.slider-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 42px; height: 42px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(0, 0, 0, .42); color: #fff; font-size: 1.5rem; line-height: 1;
  transition: background .15s; z-index: 2;
}
.slider-arrow:hover { background: rgba(0, 0, 0, .65); }
.slider-arrow.prev { left: 12px; }
.slider-arrow.next { right: 12px; }
.slider-dots { position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%); display: flex; gap: 7px; z-index: 2; }
.slider-dots button { width: 8px; height: 8px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .45); cursor: pointer; transition: background .2s, transform .2s; }
.slider-dots button.active { background: #fff; transform: scale(1.25); }

/* ---------- 通用 Section ---------- */
.section { padding: 5.5rem 0; }
.section-alt { background: var(--cream); }
.section-dark { background: var(--ink); }
.section-title {
  font-family: var(--font-serif); font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  text-align: center; line-height: 1.15; margin-bottom: .9rem;
}
.section-title.left { text-align: left; }
.section-title.light { color: #fff; }
.section-sub { text-align: center; color: var(--muted); max-width: 40rem; margin: 0 auto 3rem; }
.section-sub.light { color: rgba(255, 255, 255, .6); }
.center-cta { text-align: center; margin-top: 3rem; }

/* 品类卡片 */
.cat-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.1rem; }
.cat-card {
  position: relative; border: 0; cursor: pointer; border-radius: var(--radius);
  padding: 2.6rem 1.2rem 1.6rem; text-align: left; overflow: hidden;
  background: linear-gradient(160deg, #232326, #141416);
  color: #fff; transition: transform .2s ease, box-shadow .2s ease;
}
.cat-card::after {
  content: ""; position: absolute; inset: auto -30% -55% auto; width: 160px; height: 160px;
  border-radius: 50%; background: radial-gradient(circle, rgba(212, 33, 45, .55), transparent 70%);
  transition: transform .25s ease;
}
.cat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.cat-card:hover::after { transform: scale(1.5); }
.cat-name { display: block; font-family: var(--font-serif); font-size: 1.35rem; margin-bottom: .9rem; }
.cat-cta { font-size: .82rem; color: rgba(255, 255, 255, .55); }
.cat-card:hover .cat-cta { color: var(--gold); }

/* 实拍 masonry */
.masonry { columns: 4 240px; column-gap: 1rem; }
.masonry img {
  width: 100%; margin-bottom: 1rem; border-radius: 12px; cursor: zoom-in;
  transition: transform .2s ease, box-shadow .2s ease;
}
.masonry img:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

/* 好评横向滚动 */
.review-strip {
  display: flex; gap: 1rem; overflow-x: auto; padding: .5rem 4% 1.5rem;
  scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
}
.review-strip img {
  height: 380px; width: auto; border-radius: 12px; scroll-snap-align: start;
  cursor: zoom-in; box-shadow: 0 6px 22px rgba(0, 0, 0, .1);
}
.review-strip::-webkit-scrollbar { height: 8px; }
.review-strip::-webkit-scrollbar-thumb { background: #cfc9c0; border-radius: 4px; }

/* 发货网格 */
.ship-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.ship-grid img { border-radius: 12px; cursor: zoom-in; transition: transform .2s ease; }
.ship-grid img:hover { transform: translateY(-4px); }
.ship-grid img:first-child { grid-column: span 2; grid-row: span 2; }

/* 关于 */
.about-inner { display: grid; grid-template-columns: .85fr 1.15fr; gap: 3.5rem; align-items: center; }
.about-logo img { width: 78%; max-width: 360px; margin: 0 auto; filter: drop-shadow(0 16px 40px rgba(0, 0, 0, .12)); }
.about-copy p { color: #44444a; margin-bottom: 1rem; }
.about-copy .section-title { margin-bottom: 1.4rem; }

/* CTA 横幅 */
.cta-banner {
  background:
    radial-gradient(700px 320px at 50% -40%, rgba(212, 33, 45, .4), transparent 65%),
    var(--ink);
  color: #fff; text-align: center; padding: 5rem 0;
}
.cta-inner h2 { font-family: var(--font-serif); font-size: clamp(1.7rem, 3.2vw, 2.5rem); margin-bottom: .8rem; }
.cta-inner p { color: rgba(255, 255, 255, .65); margin-bottom: 2rem; }

/* 页脚 */
.footer { background: #0b0b0d; color: rgba(255, 255, 255, .55); padding: 2.2rem 0; font-size: .9rem; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.footer .brand { font-size: 1rem; }
.footer .brand img { width: 30px; height: 30px; }

/* 悬浮 WhatsApp */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 60;
  width: 60px; height: 60px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--wa); box-shadow: 0 10px 30px rgba(37, 211, 102, .45);
  display: flex; align-items: center; justify-content: center;
  animation: wa-pulse 2.4s infinite;
  transition: transform .15s ease;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 32px; height: 32px; fill: #fff; }
@keyframes wa-pulse {
  0% { box-shadow: 0 10px 30px rgba(37, 211, 102, .45), 0 0 0 0 rgba(37, 211, 102, .45); }
  70% { box-shadow: 0 10px 30px rgba(37, 211, 102, .45), 0 0 0 16px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 10px 30px rgba(37, 211, 102, .45), 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 100; background: rgba(8, 8, 10, .92);
  display: flex; align-items: center; justify-content: center; cursor: zoom-out;
}
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 92vw; max-height: 92vh; border-radius: 10px; box-shadow: var(--shadow); }

/* 入场动效 */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- 响应式 ---------- */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-slider { aspect-ratio: 4 / 4.2; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .cat-card:last-child { grid-column: span 2; }
  .ship-grid { grid-template-columns: repeat(2, 1fr); }
  .about-inner { grid-template-columns: 1fr; gap: 2rem; }
  .nav-links { display: none; }
}
@media (max-width: 560px) {
  .section { padding: 4rem 0; }
  .masonry { columns: 2 150px; }
  .review-strip img { height: 300px; }
  .hero { padding: 3rem 0 3.5rem; }
}
