/* 华勒酿造官网 - 全站样式 */
:root {
  --brown-900: #3e2723;
  --brown-800: #4e342e;
  --brown-700: #5d4037;
  --brown-600: #6d4c41;
  --amber: #c8963e;
  --amber-light: #e6c07a;
  --red: #a91e22;
  --red-dark: #8e181b;
  --cream: #faf6f0;
  --cream-dark: #f3ecdf;
  --text: #3a2e26;
  --text-light: #8a7a6a;
  --white: #ffffff;
  --shadow: 0 8px 30px rgba(62, 39, 35, .10);
  --radius: 12px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ============ 顶部导航 ============ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(8px);
  box-shadow: 0 1px 0 rgba(62,39,35,.08);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo-badge {
  width: 42px; height: 42px; border-radius: 10px;
  object-fit: cover;
  display: flex; align-items: center; justify-content: center;
  color: var(--amber-light); font-size: 22px;
}
.logo-text { line-height: 1.2; }
.logo-text strong { display: block; font-size: 17px; color: var(--brown-900); letter-spacing: 1px; }
.logo-text span { font-size: 12px; color: var(--text-light); letter-spacing: 3px; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav > li { position: relative; }
.nav > li > a {
  display: block; padding: 10px 16px; font-size: 15px; border-radius: 8px;
  color: var(--brown-800); transition: .2s;
}
.nav > li > a:hover, .nav > li > a.active { color: var(--red); background: rgba(169,30,34,.06); }
.nav .caret { font-size: 10px; margin-left: 4px; }
.dropdown {
  position: absolute; top: calc(100% + 6px); left: 50%; transform: translateX(-50%) translateY(6px);
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow);
  min-width: 240px; padding: 8px; opacity: 0; visibility: hidden; transition: .25s;
}
.nav li:hover .dropdown, .nav li:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.dropdown a {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 10px 14px; border-radius: 8px; font-size: 14px; color: var(--brown-800);
}
.dropdown a:hover { background: var(--cream); color: var(--red); }
.dropdown .sub { font-size: 12px; color: var(--text-light); }
.tag-online { font-size: 11px; color: #fff; background: #2e7d32; border-radius: 20px; padding: 1px 8px; }
.tag-wip { font-size: 11px; color: var(--text-light); background: var(--cream-dark); border-radius: 20px; padding: 1px 8px; }
.btn {
  display: inline-block; padding: 10px 26px; border-radius: 8px; font-size: 15px;
  cursor: pointer; transition: .2s; border: none;
}
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-dark); }
.btn-outline { border: 1.5px solid var(--amber); color: var(--amber); background: transparent; }
.btn-outline:hover { background: rgba(200,150,62,.12); }
.nav-cta { margin-left: 8px; padding: 9px 20px; }
.menu-toggle { display: none; background: none; border: none; font-size: 26px; color: var(--brown-800); cursor: pointer; }

/* ============ Hero ============ */
.hero {
  position: relative; min-height: 620px; display: flex; align-items: center;
  color: #fff; overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(46,26,15,.55) 0%, rgba(46,26,15,.35) 45%, rgba(30,17,10,.75) 100%);
}
.hero-inner { position: relative; z-index: 2; text-align: center; width: 100%; padding: 100px 24px; }
.hero h1 { font-size: 52px; letter-spacing: 6px; text-shadow: 0 4px 24px rgba(0,0,0,.4); }
.hero .sub { margin: 18px 0 36px; font-size: 20px; letter-spacing: 10px; color: rgba(255,255,255,.88); }
.hero .hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero .btn-outline { border-color: rgba(255,255,255,.7); color: #fff; }
.hero .btn-outline:hover { background: rgba(255,255,255,.15); }
.hero-scroll {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,.75); font-size: 22px; animation: bob 1.8s infinite; z-index: 2;
}
@keyframes bob { 0%,100% { transform: translate(-50%,0);} 50% { transform: translate(-50%,8px);} }

/* ============ 通用 section ============ */
.section { padding: 88px 0; }
.section.alt { background: var(--white); }
.sec-head { text-align: center; margin-bottom: 52px; }
.sec-head .kicker { display: inline-block; font-size: 13px; letter-spacing: 4px; color: var(--amber); margin-bottom: 10px; }
.sec-head h2 { font-size: 34px; color: var(--brown-900); letter-spacing: 2px; }
.sec-head p { margin-top: 12px; color: var(--text-light); font-size: 15px; }

/* ============ 品牌实力 ============ */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat-card {
  background: var(--cream); border-radius: var(--radius); text-align: center;
  padding: 40px 20px; border: 1px solid rgba(200,150,62,.18); transition: .3s;
}
.stat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); background: var(--white); }
.stat-icon { font-size: 30px; margin-bottom: 14px; }
.stat-num { font-size: 40px; font-weight: 700; color: var(--red); }
.stat-num small { font-size: 22px; }
.stat-label { font-size: 16px; color: var(--brown-800); margin-top: 4px; font-weight: 600; }
.stat-desc { font-size: 13px; color: var(--text-light); margin-top: 6px; }

/* ============ 产品 ============ */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.product-card {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 2px 14px rgba(62,39,35,.08); transition: .3s;
}
.product-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.product-img { height: 240px; overflow: hidden; }
.product-img img { width: 100%; height: 100%; object-fit: cover; transition: .5s; }
.product-card:hover .product-img img { transform: scale(1.06); }
.product-body { padding: 22px 24px 26px; }
.product-tag { display: inline-block; font-size: 12px; color: var(--amber); border: 1px solid rgba(200,150,62,.5); border-radius: 20px; padding: 2px 12px; margin-bottom: 10px; }
.product-body h3 { font-size: 19px; color: var(--brown-900); }
.product-body p { font-size: 14px; color: var(--text-light); margin-top: 8px; min-height: 44px; }
.product-meta { display: flex; gap: 20px; margin-top: 14px; font-size: 13px; color: var(--brown-700); }
.product-meta b { color: var(--red); }
.center { text-align: center; margin-top: 44px; }

/* 筛选 */
.filter-bar { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-bottom: 40px; }
.filter-btn {
  padding: 8px 22px; border-radius: 30px; border: 1px solid rgba(93,64,55,.25);
  background: var(--white); color: var(--brown-700); font-size: 14px; cursor: pointer; transition: .2s;
}
.filter-btn:hover { border-color: var(--red); color: var(--red); }
.filter-btn.on { background: var(--red); border-color: var(--red); color: #fff; }

/* ============ 数字化平台 ============ */
.sys-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.sys-card {
  position: relative; background: var(--white); border-radius: var(--radius);
  border: 1px solid rgba(200,150,62,.2); padding: 32px 28px; transition: .3s; overflow: hidden;
}
.sys-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--amber), var(--red));
}
.sys-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.sys-icon {
  width: 54px; height: 54px; border-radius: 12px; font-size: 26px;
  background: linear-gradient(135deg, var(--brown-700), var(--brown-900));
  color: var(--amber-light); display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
}
.sys-card h3 { font-size: 18px; color: var(--brown-900); }
.sys-card .sys-full { font-size: 12.5px; color: var(--text-light); margin-top: 4px; min-height: 38px; }
.sys-card p.desc { font-size: 14px; color: var(--text-light); margin-top: 12px; min-height: 66px; }
.sys-card .sys-action { margin-top: 18px; display: flex; align-items: center; gap: 12px; }
.sys-card .sys-action .btn { padding: 8px 20px; font-size: 14px; }
.status-dot { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--text-light); }
.status-dot i { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.status-dot.ok i { background: #2e7d32; }
.status-dot.wip i { background: #d9a441; }

/* ============ 关于 ============ */
.about-flex { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.about-text h2 { font-size: 32px; color: var(--brown-900); margin-bottom: 8px; }
.about-text .en { font-size: 13px; letter-spacing: 3px; color: var(--amber); margin-bottom: 22px; }
.about-text p { color: var(--text-light); margin-bottom: 16px; text-align: justify; }
.about-img { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.about-img img { width: 100%; height: 420px; object-fit: cover; }

/* ============ 新闻 ============ */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.news-card {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 2px 14px rgba(62,39,35,.08); transition: .3s; display: flex; flex-direction: column;
}
.news-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.news-cover { height: 170px; display: flex; align-items: center; justify-content: center; font-size: 46px; color: #fff; }
.news-cover.c1 { background: linear-gradient(135deg, #8d6e63, #4e342e); }
.news-cover.c2 { background: linear-gradient(135deg, #c8963e, #8d6e63); }
.news-cover.c3 { background: linear-gradient(135deg, #a91e22, #6d4c41); }
.news-body { padding: 20px 22px 24px; flex: 1; display: flex; flex-direction: column; }
.news-meta { display: flex; justify-content: space-between; align-items: center; font-size: 12.5px; color: var(--text-light); margin-bottom: 10px; }
.news-meta .cat { color: var(--red); }
.news-body h3 { font-size: 16.5px; color: var(--brown-900); line-height: 1.5; }
.news-body p { font-size: 13.5px; color: var(--text-light); margin-top: 10px; flex: 1; }

/* ============ 联系 ============ */
.contact-flex { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; }
.contact-info-card { background: linear-gradient(150deg, var(--brown-800), var(--brown-900)); color: #fff; border-radius: var(--radius); padding: 40px 36px; }
.contact-info-card h3 { font-size: 22px; margin-bottom: 26px; color: var(--amber-light); }
.contact-item { display: flex; gap: 16px; margin-bottom: 22px; }
.contact-item .ico { font-size: 20px; width: 44px; height: 44px; border-radius: 10px; background: rgba(255,255,255,.1); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-item b { display: block; font-size: 14px; color: rgba(255,255,255,.65); font-weight: 400; }
.contact-item span { font-size: 15.5px; }
.contact-form { background: var(--white); border-radius: var(--radius); padding: 40px 36px; box-shadow: var(--shadow); }
.contact-form h3 { font-size: 22px; color: var(--brown-900); margin-bottom: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 13.5px; color: var(--brown-700); margin-bottom: 8px; }
.form-group input, .form-group textarea {
  width: 100%; padding: 12px 14px; border: 1px solid rgba(93,64,55,.22); border-radius: 8px;
  font-size: 14px; font-family: inherit; background: var(--cream); outline: none; transition: .2s; color: var(--text);
}
.form-group input:focus, .form-group textarea:focus { border-color: var(--amber); background: #fff; }
.form-group textarea { min-height: 130px; resize: vertical; }

/* ============ 页脚 ============ */
.site-footer { background: var(--brown-900); color: rgba(255,255,255,.72); margin-top: 0; }
.footer-main { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; padding: 60px 0 44px; }
.footer-main h4 { color: #fff; font-size: 16px; margin-bottom: 18px; }
.footer-brand .logo-text strong { color: #fff; }
.footer-brand .logo-text span { color: rgba(255,255,255,.5); }
.footer-brand p { font-size: 13.5px; margin-top: 16px; line-height: 1.9; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { font-size: 14px; transition: .2s; }
.footer-links a:hover { color: var(--amber-light); }
.footer-contact li { display: flex; gap: 10px; font-size: 14px; margin-bottom: 12px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 18px 0; text-align: center; font-size: 13px; }
.footer-bottom a { color: rgba(255,255,255,.55); }
.footer-bottom a:hover { color: var(--amber-light); }

/* ============ 子系统占位页 ============ */
.wip-hero {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  background: radial-gradient(1200px 600px at 70% -10%, #6d4c41 0%, #3e2723 55%, #2b1a12 100%);
  color: #fff; text-align: center; padding: 40px 24px;
}
.wip-box { max-width: 640px; }
.wip-icon {
  width: 96px; height: 96px; margin: 0 auto 28px; border-radius: 24px; font-size: 44px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(230,192,122,.35);
  display: flex; align-items: center; justify-content: center; color: var(--amber-light);
}
.wip-box .kicker { font-size: 13px; letter-spacing: 5px; color: var(--amber-light); margin-bottom: 14px; }
.wip-box h1 { font-size: 34px; letter-spacing: 2px; }
.wip-box .full-name { font-size: 15px; color: rgba(255,255,255,.72); margin: 14px 0 22px; }
.wip-box p.desc { font-size: 14.5px; color: rgba(255,255,255,.6); line-height: 2; margin-bottom: 36px; }
.wip-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.wip-actions .btn-outline { border-color: rgba(255,255,255,.5); color: #fff; }
.wip-actions .btn-outline:hover { background: rgba(255,255,255,.12); }
.wip-actions .btn[disabled] { background: rgba(255,255,255,.14); color: rgba(255,255,255,.45); cursor: not-allowed; }
.wip-note { margin-top: 34px; font-size: 12.5px; color: rgba(255,255,255,.4); letter-spacing: 1px; }

/* ============ 内页头图 ============ */
.page-hero {
  padding: 120px 0 70px; text-align: center; color: #fff;
  background: linear-gradient(rgba(46,26,15,.72), rgba(46,26,15,.72)), var(--hero-img, none);
  background-size: cover; background-position: center;
}
.page-hero h1 { font-size: 38px; letter-spacing: 4px; }
.page-hero p { margin-top: 12px; color: rgba(255,255,255,.85); letter-spacing: 2px; }
.breadcrumb { font-size: 13px; color: rgba(255,255,255,.65); margin-top: 18px; }
.breadcrumb a { color: var(--amber-light); }

/* ============ 时间线（发展历程） ============ */
.timeline { position: relative; max-width: 860px; margin: 0 auto; padding-left: 30px; }
.timeline::before { content: ""; position: absolute; left: 8px; top: 6px; bottom: 6px; width: 2px; background: rgba(200,150,62,.4); }
.tl-item { position: relative; padding: 0 0 36px 26px; }
.tl-item::before {
  content: ""; position: absolute; left: -28px; top: 8px; width: 14px; height: 14px;
  border-radius: 50%; background: var(--amber); border: 3px solid var(--cream); box-shadow: 0 0 0 2px var(--amber);
}
.tl-item h4 { font-size: 17px; color: var(--brown-900); }
.tl-item .stage { font-size: 12.5px; color: var(--red); margin-bottom: 2px; }
.tl-item p { font-size: 14px; color: var(--text-light); margin-top: 6px; }

/* 价值观卡片 */
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.value-card { background: var(--cream); border-radius: var(--radius); padding: 34px 28px; border: 1px solid rgba(200,150,62,.18); }
.value-card .num { font-size: 14px; color: var(--amber); font-weight: 700; letter-spacing: 2px; }
.value-card h4 { font-size: 19px; color: var(--brown-900); margin: 8px 0 10px; }
.value-card p { font-size: 14px; color: var(--text-light); }

/* ============ 动效 ============ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ============ 响应式 ============ */
@media (max-width: 960px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid, .news-grid, .sys-grid, .value-grid { grid-template-columns: repeat(2, 1fr); }
  .about-flex, .contact-flex { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 36px; }
  .hero .sub { font-size: 15px; letter-spacing: 6px; }
}
@media (max-width: 680px) {
  .menu-toggle { display: block; }
  .nav {
    position: fixed; top: 72px; left: 0; right: 0; bottom: 0;
    background: var(--white); flex-direction: column; align-items: stretch;
    padding: 20px 24px; gap: 6px; display: none; overflow-y: auto;
  }
  .nav.open { display: flex; }
  .nav > li > a { font-size: 16px; padding: 14px 10px; }
  .dropdown { position: static; transform: none; opacity: 1; visibility: visible; box-shadow: none; padding: 0 0 0 14px; min-width: 0; }
  .product-grid, .news-grid, .sys-grid, .value-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-main { grid-template-columns: 1fr; gap: 32px; }
  .hero h1 { font-size: 30px; letter-spacing: 3px; }
  .section { padding: 60px 0; }
  .form-row { grid-template-columns: 1fr; }
}
