/* ==========================================================
   KAKATEA · 中国茶叶购物落地页
   米白底 + 茶绿 + 墨绿，衬线大标题
   ========================================================== */
:root {
  --bg: #F7F6F0;
  --bg-dark: #16211B;
  --ink: #1C211C;
  --ink-dim: #67705F;
  --gold: #4F7358;              /* 茶绿（沿用变量名，改动最小） */
  --gold-dim: rgba(79, 115, 88, 0.14);
  --line: #E2E2D4;
  --card: #FFFFFF;
  --font-display: 'Cormorant Garamond', 'Noto Serif SC', 'Times New Roman', serif;
  --font-body: 'Inter', 'Noto Sans SC', 'Microsoft YaHei', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.65;
}
a { color: inherit; text-decoration: none; }
.container { width: min(1180px, 92%); margin: 0 auto; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 30px; font-size: 13px; font-weight: 600;
  letter-spacing: 2px; text-transform: uppercase;
  border: 1px solid var(--ink); cursor: pointer;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}
.btn-dark { background: var(--ink); color: #FFF; }
.btn-dark:hover { background: var(--gold); border-color: var(--gold); }
.btn-line { background: transparent; color: var(--ink); }
.btn-line:hover { border-color: var(--gold); color: var(--gold); }
.btn-sm { padding: 9px 18px; font-size: 11px; }

/* ---------- 顶部信息条 ---------- */
.topbar {
  background: var(--bg-dark); color: #C4CFC2;
  font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase;
  text-align: center; padding: 8px 12px;
}
.topbar-sep { margin: 0 8px; color: var(--gold); }
.topbar-right { color: #9DC3A8; margin-left: 12px; }

/* ---------- 头部导航 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(247, 246, 240, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand {
  font-family: var(--font-display); font-size: 26px; font-weight: 700;
  letter-spacing: 4px;
}
.brand em { font-style: normal; color: var(--gold); }
.brand-zh { font-size: 18px; letter-spacing: 2px; color: var(--ink-dim); margin-left: 6px; }
.main-nav { display: flex; gap: 34px; }
.main-nav a {
  font-size: 12px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--ink-dim); transition: color 0.2s;
}
.main-nav a:hover { color: var(--gold); }
.header-actions { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; background: none; border: none; font-size: 22px; cursor: pointer; color: var(--ink); }

/* ---------- Hero ---------- */
.hero { position: relative; display: grid; grid-template-columns: 1.05fr 0.95fr; align-items: center; min-height: 78vh; overflow: hidden; }
.hero-inner { padding: 80px 0; }
.hero-eyebrow {
  font-size: 11px; letter-spacing: 4px; color: var(--gold);
  margin-bottom: 22px; font-weight: 600;
}
.hero-title {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(44px, 6.5vw, 76px); line-height: 1.05;
  margin-bottom: 24px;
}
.hero-sub { color: var(--ink-dim); font-size: 15px; max-width: 460px; margin-bottom: 36px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-visual {
  position: relative; height: 100%; min-height: 420px;
  background:
    radial-gradient(ellipse 70% 60% at 60% 35%, rgba(79, 115, 88, 0.22), transparent 65%),
    linear-gradient(160deg, #E9EFE2, #C9D8C2);
  display: flex; align-items: center; justify-content: center;
}
.hero-visual span {
  color: rgba(103, 112, 95, 0.55); font-size: 12px; letter-spacing: 3px;
}

/* ---------- 卖点条 ---------- */
.marquee-bar { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #FFF; }
.marquee-inner {
  display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  padding: 16px 0;
  font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--ink-dim);
}
.marquee-inner span::before { content: "◆"; color: var(--gold); margin-right: 8px; font-size: 8px; vertical-align: 2px; }

/* ---------- 通用 Section ---------- */
.section { padding: 96px 0; }
.section--dark { background: var(--bg-dark); color: #E7EDE4; }
.section--dark .section-title { color: #FFF; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.section-eyebrow { font-size: 11px; letter-spacing: 4px; color: var(--gold); font-weight: 600; margin-bottom: 14px; }
.section-title { font-family: var(--font-display); font-size: clamp(34px, 4vw, 52px); font-weight: 600; }
.section-sub { color: var(--ink-dim); font-size: 14px; margin-top: 14px; }
.section--dark .section-sub { color: #A9B5A5; }

/* ---------- 商品网格 ---------- */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.product-card {
  background: var(--card); border: 1px solid var(--line);
  display: flex; flex-direction: column;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.product-card:hover {
  transform: translateY(-5px);
  border-color: var(--gold);
  box-shadow: 0 20px 44px rgba(28, 33, 28, 0.10);
}
.product-img {
  aspect-ratio: 4 / 5; display: flex; align-items: center; justify-content: center;
  font-size: 11px; letter-spacing: 2px; color: rgba(103, 112, 95, 0.55);
  background: linear-gradient(155deg, #EDF1E5, #D8E0CA);
  cursor: pointer;
}
.product-img img { width: 100%; height: 100%; object-fit: cover; }
.product-body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.product-brand { font-size: 10px; letter-spacing: 3px; color: var(--gold); font-weight: 600; text-transform: uppercase; }
.product-name { font-family: var(--font-display); font-size: 19px; font-weight: 600; line-height: 1.25; }
.product-spec { font-size: 12px; color: var(--ink-dim); }
.product-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; padding-top: 12px; }
.product-price { font-size: 16px; font-weight: 600; }
.product-price small { font-size: 11px; color: var(--ink-dim); font-weight: 400; }
.product-cta {
  font-size: 11px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--ink); border-bottom: 1px solid var(--gold); padding-bottom: 2px;
  background: none; border-top: none; border-left: none; border-right: none; cursor: pointer;
}
.product-card:hover .product-cta { color: var(--gold); }
.badge-new, .badge-rare {
  align-self: flex-start; font-size: 9px; letter-spacing: 2px; text-transform: uppercase;
  padding: 3px 8px; margin-bottom: 4px;
}
.badge-new { background: var(--gold-dim); color: var(--gold); }
.badge-rare { background: #1C211C; color: #FFF; }

/* ---------- 品质承诺 ---------- */
.auth-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.auth-card { border: 1px solid rgba(79, 115, 88, 0.4); padding: 34px 28px; }
.auth-card h3 {
  font-family: var(--font-display); font-size: 24px; font-weight: 600;
  color: #9DC3A8; margin-bottom: 14px;
}
.auth-card p { font-size: 13px; color: #C4CFC2; }

/* ---------- 购买流程 ---------- */
.process-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; list-style: none; }
.process-step { border-top: 2px solid var(--gold); padding-top: 20px; }
.step-no {
  font-family: var(--font-display); font-size: 40px; color: var(--gold);
  display: block; margin-bottom: 10px;
}
.process-step h3 { font-family: var(--font-display); font-size: 21px; margin-bottom: 8px; }
.process-step p { font-size: 13px; color: var(--ink-dim); }

/* ---------- 邮箱下单区 ---------- */
.cta-section { background: linear-gradient(180deg, #E7EDDE, var(--bg)); }
.cta-inner { text-align: center; max-width: 560px; }
.cta-title { font-family: var(--font-display); font-size: clamp(30px, 4vw, 46px); font-weight: 600; margin-bottom: 12px; }
.cta-sub { color: var(--ink-dim); font-size: 14px; margin-bottom: 34px; }
.cta-note { font-size: 12px; color: var(--ink-dim); margin-top: 18px; }
.cta-note a { color: var(--gold); text-decoration: underline; }

.order-form {
  background: #FFF; border: 1px solid var(--line);
  padding: 30px 28px; text-align: left;
  display: flex; flex-direction: column; gap: 16px;
}
.form-row { display: flex; flex-direction: column; gap: 6px; }
.form-row label {
  font-size: 11px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--ink-dim); font-weight: 600;
}
.order-form input, .order-form select, .order-form textarea {
  padding: 13px 16px; border: 1px solid var(--line); border-radius: 0;
  background: var(--bg); color: var(--ink);
  font-family: var(--font-body); font-size: 14px; outline: none;
  transition: border-color 0.2s;
}
.order-form input:focus, .order-form select:focus, .order-form textarea:focus {
  border-color: var(--gold);
}
.order-form textarea { resize: vertical; }
.form-submit { width: 100%; margin-top: 6px; }
.form-note { font-size: 13px; text-align: center; min-height: 18px; }
.form-note.ok { color: var(--gold); }
.form-note.err { color: #B0452F; }

/* ---------- 页脚 ---------- */
.site-footer { background: var(--bg-dark); color: #A9B5A5; padding: 64px 0 32px; }
.footer-inner { display: grid; grid-template-columns: 1.4fr 0.8fr 0.8fr 1.6fr; gap: 36px; }
.footer-brand .brand { color: #FFF; }
.footer-brand p { font-size: 13px; margin-top: 14px; }
.footer-col h4 {
  font-size: 11px; letter-spacing: 3px; text-transform: uppercase;
  color: #9DC3A8; margin-bottom: 14px;
}
.footer-col a { display: block; font-size: 13px; padding: 5px 0; }
.footer-col a:hover { color: #9DC3A8; }
.footer-legal p { font-size: 12px; line-height: 1.8; margin-bottom: 12px; }

/* ---------- 响应式（手机端优先） ---------- */
@media (max-width: 1024px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .process-list { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .main-nav {
    position: fixed; top: 72px; left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: rgba(247, 246, 240, 0.98);
    border-bottom: 1px solid var(--line);
    max-height: 0; overflow: hidden; transition: max-height 0.3s;
  }
  .main-nav.open { max-height: 300px; }
  .main-nav a { padding: 15px 24px; border-top: 1px solid var(--line); }
  .nav-toggle { display: block; }
  .header-actions .btn { display: none; }
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-inner { padding: 56px 0; text-align: center; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-cta { justify-content: center; }
  .hero-visual { min-height: 300px; }
  .auth-grid { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .marquee-inner { justify-content: center; }
}
@media (max-width: 480px) {
  .product-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .product-body { padding: 12px; }
  .product-name { font-size: 15px; }
  .process-list { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .order-form { padding: 22px 16px; }
}

/* ---------- 多语言下拉（欧盟） ---------- */
.lang-menu { position: relative; }
.lang-switch {
  display: inline-flex; align-items: center; gap: 6px;
  background: #FFF; color: var(--ink); border: 1px solid var(--line);
  padding: 8px 14px; border-radius: 999px; font-size: 12px; cursor: pointer;
}
.lang-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
.lang-dropdown {
  position: absolute; top: calc(100% + 8px); right: 0; min-width: 148px;
  background: #FFF; border: 1px solid var(--line); border-radius: 12px;
  padding: 6px; display: none; z-index: 200;
  box-shadow: 0 16px 40px rgba(28, 33, 28, 0.14);
  list-style: none;
}
.lang-dropdown.open { display: block; }
.lang-dropdown li {
  padding: 9px 14px; border-radius: 8px; font-size: 13px;
  color: var(--ink-dim); cursor: pointer; white-space: nowrap;
}
.lang-dropdown li:hover { background: var(--gold-dim); color: var(--gold); }
.lang-dropdown li.active { color: var(--gold); font-weight: 600; }

/* Hero 插画填充 */
.hero-visual img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* 手机端语言按钮压缩 */
@media (max-width: 768px) {
  .lang-switch { padding: 7px 11px; font-size: 11px; }
}

/* ---------- 询单蜜罐字段（对真人不可见） ---------- */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  opacity: 0; pointer-events: none;
}

/* 页脚联系邮箱突出显示 */
.footer-mail { color: #9DC3A8 !important; font-weight: 600; }
