/* ============================================================
   茗悦天下 · 企业官网设计系统
   风格：东方茶韵 —— 黛绿、玉色、稻香米白、暖金点缀
   ============================================================ */

:root {
  /* 主色 —— 茶 */
  --tea-ink:      #1c3326;   /* 深茶墨绿（主标题） */
  --tea-deep:     #2f5d3a;   /* 主绿 */
  --tea-green:    #4a7c52;   /* 亮绿 */
  --tea-jade:     #7fa06a;   /* 玉色 */
  --tea-mist:     #c9d6bd;   /* 雾绿茶底 */

  /* 点缀 */
  --gold:         #c2a25c;   /* 暖金（强调） */
  --gold-soft:    #d9c089;

  /* 中性 */
  --rice:         #f7f3e9;   /* 米白底 */
  --rice-2:       #efe9da;   /* 次底 */
  --paper:        #fffdf8;   /* 卡片纸白 */
  --ink:          #2b2b28;   /* 正文 */
  --ink-soft:     #5d5b53;   /* 次级文字 */
  --line:         #e2dccb;   /* 分隔线 */

  /* 字体 */
  --serif: "Noto Serif SC", "Songti SC", "STSong", "SimSun", "Source Han Serif SC", serif;
  --sans:  "Noto Sans SC", "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", system-ui, sans-serif;

  /* 尺度 */
  --maxw: 1200px;
  --radius: 14px;
  --shadow: 0 18px 50px -24px rgba(28, 51, 38, .35);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--rice);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* 容器 */
.container { width: min(92%, var(--maxw)); margin-inline: auto; }

/* 标题字体 */
h1, h2, h3, h4, .serif { font-family: var(--serif); font-weight: 600; letter-spacing: .02em; }

/* ============================================================
   顶部导航
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 243, 233, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: background .3s ease, box-shadow .3s ease;
}
.site-header.scrolled { box-shadow: var(--shadow); }

.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 74px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand .logo {
  width: 42px; height: 42px; flex: none;
  display: grid; place-items: center;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}
.brand .logo img { width: 100%; height: 100%; object-fit: contain; }
.brand .logo svg { width: 24px; height: 24px; }
.brand .name { font-family: var(--serif); font-size: 1.18rem; color: var(--tea-ink); line-height: 1.2; }
.brand .name small { display: block; font-family: var(--sans); font-size: .62rem; letter-spacing: .28em; color: var(--ink-soft); font-weight: 400; }

.nav-links { display: flex; gap: 34px; list-style: none; }
.nav-links a {
  position: relative; font-size: .95rem; color: var(--ink);
  padding: 6px 0; transition: color .25s;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0;
  background: var(--gold); transition: width .3s ease;
}
.nav-links a:hover, .nav-links a.active { color: var(--tea-deep); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.nav-cta {
  font-size: .9rem; padding: 9px 22px; border-radius: 999px;
  background: var(--tea-deep); color: #fff; transition: background .25s, transform .2s;
}
.nav-cta:hover { background: var(--tea-ink); transform: translateY(-1px); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--tea-ink); transition: .3s; }

/* ============================================================
   按钮
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: .95rem; padding: 13px 30px; border-radius: 999px;
  border: 1px solid transparent; cursor: pointer; transition: .25s ease;
  font-family: var(--sans);
}
.btn-primary { background: var(--tea-deep); color: #fff; box-shadow: 0 12px 28px -14px rgba(47,93,58,.8); }
.btn-primary:hover { background: var(--tea-ink); transform: translateY(-2px); }
.btn-gold   { background: var(--gold); color: #fff; }
.btn-gold:hover { background: #b08f48; transform: translateY(-2px); }
.btn-ghost  { border-color: var(--tea-deep); color: var(--tea-deep); background: transparent; }
.btn-ghost:hover { background: var(--tea-deep); color: #fff; }

/* ============================================================
   通用区块
   ============================================================ */
section { padding: 96px 0; }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.eyebrow {
  display: inline-block; font-size: .78rem; letter-spacing: .35em;
  color: var(--gold); text-transform: uppercase; margin-bottom: 14px;
}
.section-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); color: var(--tea-ink); }
.section-head p { margin-top: 16px; color: var(--ink-soft); }

/* 装饰：叶片分隔 */
.leaf-divider { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 18px 0 0; color: var(--tea-jade); }
.leaf-divider::before, .leaf-divider::after { content: ""; height: 1px; width: 60px; background: var(--line); }
.leaf-divider svg { width: 18px; height: 18px; }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative; min-height: 92vh; display: flex; align-items: center;
  color: #f3efe2; overflow: hidden;
  background:
    linear-gradient(160deg, rgba(21,41,29,.78) 0%, rgba(28,51,38,.7) 45%, rgba(47,93,58,.6) 100%),
    url('../images/prods/hero_taishan_garden.jpg') center/cover no-repeat;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='0.05'%3E%3Cpath d='M60 20C40 40 40 80 60 100 80 80 80 40 60 20Z'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 240px; opacity: .6;
}
.hero .container { position: relative; z-index: 2; }
.hero-tag {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .82rem; letter-spacing: .2em; color: var(--gold-soft);
  border: 1px solid rgba(217,192,137,.4); padding: 7px 18px; border-radius: 999px; margin-bottom: 26px;
}
.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.4rem); line-height: 1.18; color: #fff;
  max-width: 16ch;
}
.hero h1 .accent { color: var(--gold-soft); }
.hero-sub { margin-top: 22px; font-size: clamp(1rem, 1.6vw, 1.2rem); max-width: 52ch; color: #d9dcc9; }
.hero-actions { margin-top: 38px; display: flex; gap: 16px; flex-wrap: wrap; }
.hero-actions .btn-ghost { border-color: rgba(255,255,255,.5); color: #fff; }
.hero-actions .btn-ghost:hover { background: rgba(255,255,255,.12); }

.hero-stats {
  position: relative; z-index: 2; margin-top: 64px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  max-width: 720px;
}
.hero-stats .stat .num { font-family: var(--serif); font-size: 2.1rem; color: var(--gold-soft); }
.hero-stats .stat .label { font-size: .85rem; color: #c4ccb2; letter-spacing: .04em; }

.scroll-cue { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 2; color: rgba(255,255,255,.6); font-size: .72rem; letter-spacing: .3em; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.scroll-cue .dot { width: 22px; height: 36px; border: 1px solid rgba(255,255,255,.45); border-radius: 12px; position: relative; }
.scroll-cue .dot::after { content: ""; position: absolute; top: 7px; left: 50%; transform: translateX(-50%); width: 4px; height: 7px; border-radius: 2px; background: var(--gold-soft); animation: cue 1.6s infinite; }
@keyframes cue { 0% { opacity: 0; top: 7px; } 50% { opacity: 1; } 100% { opacity: 0; top: 18px; } }

/* ============================================================
   引言 / 简介
   ============================================================ */
.intro { background: var(--rice); }
.intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.intro-text h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); color: var(--tea-ink); }
.intro-text .quote { font-family: var(--serif); font-size: 1.25rem; color: var(--tea-deep); border-left: 3px solid var(--gold); padding-left: 18px; margin: 26px 0; line-height: 1.7; }
.intro-text p { color: var(--ink-soft); margin-bottom: 16px; }

.intro-visual {
  position: relative; aspect-ratio: 4/5; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow);
}
.intro-visual > img {
  width: 100%; height: 100%; object-fit: cover;
}
.intro-visual .pattern {
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='0.12'%3E%3Cpath d='M50 15C30 35 30 70 50 88 70 70 70 35 50 15Z'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 130px;
}
.intro-visual .seal {
  position: absolute; right: 22px; bottom: 22px;
  width: 84px; height: 84px; border-radius: 12px;
  background: rgba(194,162,92,.16); border: 1px solid var(--gold-soft);
  display: grid; place-items: center; color: var(--gold-soft);
  font-family: var(--serif); font-size: 1.5rem; line-height: 1.1; text-align: center;
}

/* ============================================================
   核心业务卡片
   ============================================================ */
.business { background: var(--rice-2); }
.biz-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.biz-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 24px; transition: transform .3s, box-shadow .3s, border-color .3s;
}
.biz-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--tea-jade); }
.biz-card .ic {
  width: calc(100% + 48px); margin: -30px -24px 18px; height: 150px; border-radius: 0;
  background: var(--tea-mist); overflow: hidden; display: block;
}
.biz-card .ic img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.biz-card:hover .ic img { transform: scale(1.06); }
.biz-card .ic svg { display: none; }
.biz-card h3 { font-size: 1.18rem; color: var(--tea-ink); margin-bottom: 8px; }
.biz-card p { font-size: .9rem; color: var(--ink-soft); }

/* ============================================================
   特色优势
   ============================================================ */
.features { background: var(--rice); }
.feature-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.feature-item {
  position: relative; padding: 34px 28px 30px; border-radius: var(--radius);
  background: var(--paper); border: 1px solid var(--line);
}
.feature-item .idx { font-family: var(--serif); font-size: 2.4rem; color: var(--tea-mist); position: absolute; top: 18px; right: 24px; }
.feature-item h3 { color: var(--tea-ink); font-size: 1.2rem; margin-bottom: 10px; }
.feature-item p { color: var(--ink-soft); font-size: .92rem; }

/* ============================================================
   数据里程碑条
   ============================================================ */
.milestone { background: linear-gradient(160deg, #1c3326, #2f5d3a); color: #f3efe2; }
.milestone .section-head h2 { color: #fff; }
.milestone .section-head .eyebrow { color: var(--gold-soft); }
.mile-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; text-align: center; }
.mile-grid .num { font-family: var(--serif); font-size: clamp(2.2rem, 4vw, 3rem); color: var(--gold-soft); }
.mile-grid .label { margin-top: 6px; color: #d2d8c4; letter-spacing: .06em; }

/* ============================================================
   发展历程（时间轴）
   ============================================================ */
.timeline { background: var(--rice-2); }
.tl { position: relative; max-width: 860px; margin: 0 auto; padding-left: 28px; }
.tl::before { content: ""; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(var(--tea-jade), var(--tea-deep)); }
.tl-item { position: relative; padding: 0 0 38px 38px; }
.tl-item::before { content: ""; position: absolute; left: -28px; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: var(--gold); border: 3px solid var(--rice-2); box-shadow: 0 0 0 3px rgba(194,162,92,.25); }
.tl-item .year { font-family: var(--serif); font-size: 1.4rem; color: var(--tea-deep); }
.tl-item h3 { font-size: 1.08rem; color: var(--tea-ink); margin: 4px 0 6px; }
.tl-item p { color: var(--ink-soft); font-size: .92rem; }

/* ============================================================
   产品 / 服务卡片
   ============================================================ */
.products { background: var(--rice); }
.prod-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.prod-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: transform .3s, box-shadow .3s; display: flex; flex-direction: column;
}
.prod-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.prod-card .thumb {
  aspect-ratio: 4/3; position: relative; overflow: hidden;
  background: linear-gradient(150deg, var(--tea-green), var(--tea-deep));
  display: grid; place-items: center; color: var(--gold-soft);
}
.prod-card .thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.prod-card:hover .thumb img { transform: scale(1.05); }
.prod-card .thumb svg { width: 54px; height: 54px; opacity: .9; }
.prod-card .thumb .tag { position: absolute; top: 14px; left: 14px; font-size: .72rem; letter-spacing: .1em; background: rgba(255,255,255,.16); color: #fff; padding: 4px 12px; border-radius: 999px; }
.prod-card .body { padding: 24px 24px 28px; flex: 1; display: flex; flex-direction: column; }
.prod-card h3 { color: var(--tea-ink); font-size: 1.2rem; }
.prod-card .meta { color: var(--gold); font-size: .82rem; margin: 6px 0 12px; letter-spacing: .08em; }
.prod-card p { color: var(--ink-soft); font-size: .9rem; flex: 1; }
.prod-card .more { margin-top: 16px; font-size: .88rem; color: var(--tea-deep); font-weight: 600; }

/* 服务列表 */
.svc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-top: 56px; }
.svc-item { display: flex; gap: 18px; padding: 26px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.svc-item .ic { width: 80px; height: 80px; flex: none; border-radius: 14px; background: var(--tea-mist); color: var(--tea-deep); display: grid; place-items: center; overflow: hidden; }
.svc-item .ic svg { width: 28px; height: 28px; }
.svc-item .ic img { width: 100%; height: 100%; object-fit: cover; border-radius: 14px; }
.svc-item h3 { color: var(--tea-ink); font-size: 1.1rem; margin-bottom: 6px; }
.svc-item p { color: var(--ink-soft); font-size: .9rem; }

/* ============================================================
   联系我们
   ============================================================ */
.contact { background: var(--rice-2); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact-info h3 { color: var(--tea-ink); margin-bottom: 6px; }
.contact-info .ci-item { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px dashed var(--line); }
.contact-info .ci-item .ic { width: 42px; height: 42px; flex: none; border-radius: 11px; background: var(--tea-deep); color: var(--gold-soft); display: grid; place-items: center; }
.contact-info .ci-item .ic svg { width: 22px; height: 22px; }
.contact-info .ci-item .t { font-size: .82rem; color: var(--ink-soft); }
.contact-info .ci-item .v { color: var(--ink); font-size: 1rem; }

.map-box { aspect-ratio: 16/9; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: linear-gradient(150deg, #dfe7d4, #c9d6bd); position: relative; }
.map-box .pin { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-100%); color: var(--tea-deep); }
.map-box .pin svg { width: 38px; height: 38px; filter: drop-shadow(0 6px 8px rgba(0,0,0,.2)); }
.map-box .hint { position: absolute; left: 14px; bottom: 12px; font-size: .76rem; color: var(--ink-soft); background: rgba(255,255,255,.7); padding: 4px 10px; border-radius: 8px; }

/* 表单 */
.form-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; }
.form-card h3 { color: var(--tea-ink); margin-bottom: 18px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: .85rem; color: var(--ink-soft); margin-bottom: 7px; }
.field input, .field textarea {
  width: 100%; font-family: var(--sans); font-size: .95rem; color: var(--ink);
  padding: 12px 15px; border: 1px solid var(--line); border-radius: 10px; background: var(--rice);
  transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--tea-jade); box-shadow: 0 0 0 3px rgba(127,160,106,.18); }
.field textarea { resize: vertical; min-height: 110px; }
.form-note { font-size: .8rem; color: var(--ink-soft); margin-top: 4px; }

/* ============================================================
   页脚
   ============================================================ */
.site-footer { background: #15291d; color: #c9ccbd; padding: 64px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; }
.site-footer .brand .name { color: #fff; }
.site-footer .brand .name small { color: #9aa491; }
.footer-col h4 { color: #fff; font-size: 1rem; margin-bottom: 16px; }
.footer-col a, .footer-col p { display: block; color: #b7bcab; font-size: .9rem; margin-bottom: 10px; transition: color .2s; }
.footer-col a:hover { color: var(--gold-soft); }
.footer-about { font-size: .9rem; line-height: 1.9; color: #b7bcab; }
.footer-bottom { margin-top: 46px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: .82rem; color: #8d9382; }

/* ============================================================
   滚动揭示动画
   ============================================================ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }

/* ============================================================
   图片组件（实拍图嵌入）
   ============================================================ */

/* 产品卡片图片 */
.prod-card .prod-img {
  width: 100%; aspect-ratio: 4/3; object-fit: cover;
  border-radius: var(--radius) var(--radius) 0 0;
}
.prod-card:hover .prod-img { transform: scale(1.03); }

/* 图集网格 */
.img-gallery {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
  margin-top: 36px;
}
.img-gallery img {
  width: 100%; aspect-ratio: 4/3; object-fit: cover;
  border-radius: var(--radius);
  box-shadow: 0 8px 24px -10px rgba(28,51,38,.25);
  transition: transform .3s, box-shadow .3s;
}
.img-gallery img:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

/* 荣誉证书墙（横版不裁剪，完整展示） */
.honor-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 18px;
  margin-top: 36px;
}
.honor-grid figure { margin: 0; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; display: flex; flex-direction: column; transition: transform .3s, box-shadow .3s; }
.honor-grid figure:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.honor-grid img {
  width: 100%; aspect-ratio: 4/3; object-fit: contain;
  border-radius: 8px; background: #fff; border: 1px solid var(--line);
}
.honor-grid figcaption { margin-top: 10px; font-size: .76rem; color: var(--ink-soft); text-align: center; line-height: 1.5; }

/* 全宽横幅图 */
.banner-img {
  width: 100%; height: 380px; object-fit: cover;
  border-radius: var(--radius);
  margin-top: 20px;
}

/* 关于页茶园大图 */
.tea-garden-hero {
  width: 100%; aspect-ratio: 16/9; object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-top: 30px;
}

/* 响应式：图片网格 */
@media (max-width: 980px) {
  .intro-grid { grid-template-columns: 1fr; gap: 40px; }
  .biz-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-list, .prod-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .hero-stats, .mile-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
  .img-gallery { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 680px) {
  section { padding: 70px 0; }
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .nav-links.open {
    display: flex; flex-direction: column; gap: 0;
    position: absolute; top: 74px; left: 0; right: 0;
    background: var(--rice); border-bottom: 1px solid var(--line); padding: 14px 6%; box-shadow: var(--shadow);
  }
  .nav-links.open a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .biz-grid, .feature-list, .prod-grid, .svc-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-stats, .mile-grid { grid-template-columns: 1fr 1fr; }
  .img-gallery { grid-template-columns: repeat(2, 1fr); }
  .banner-img { height: 220px; }
}
