/* =========================================================
   湖北怡扬食品 · 前台样式（饮品行业视觉）
   ========================================================= */
:root {
  --brand-1: #ff9d3d;
  --brand-2: #ff5e62;
  --brand-3: #ffb27a;
  --leaf: #2bb673;
  --ink: #2d2a26;
  --ink-soft: #6b6259;
  --cream: #fff8f1;
  --paper: #ffffff;
  --line: #f0e4d8;
  --shadow: 0 12px 32px rgba(180, 110, 60, .12);
  --radius: 18px;
  --container: 1180px;
  --grad: linear-gradient(135deg, var(--brand-1), var(--brand-2));
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-block; padding: 13px 30px; border-radius: 999px;
  font-size: 16px; font-weight: 600; border: 2px solid transparent;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 10px 24px rgba(255, 94, 98, .35); }
.btn-ghost { border-color: rgba(255,255,255,.75); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.14); }
.btn-outline { border-color: var(--brand-2); color: var(--brand-2); background: transparent; }
.btn-outline:hover { background: var(--brand-2); color: #fff; }
.btn-light { background: #fff; color: var(--brand-2); }

/* ---------- 头部 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 248, 241, .92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 28px; height: 78px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo { height: 58px; width: auto; mix-blend-mode: multiply; }
.main-nav { display: flex; gap: 26px; margin-left: auto; }
.main-nav a {
  position: relative; font-size: 16.5px; font-weight: 500; padding: 8px 2px; color: var(--ink);
}
.main-nav a::after {
  content: ""; position: absolute; left: 50%; bottom: 0; width: 0; height: 3px;
  background: var(--grad); border-radius: 3px; transform: translateX(-50%); transition: width .22s ease;
}
.main-nav a:hover::after, .main-nav a.active::after { width: 100%; }
.header-tel { display: flex; align-items: center; gap: 9px; padding: 8px 18px; border-radius: 999px; background: #fff; box-shadow: var(--shadow); }
.header-tel .tel-icon { font-size: 21px; }
.header-tel em { display: block; font-style: normal; font-size: 11px; color: var(--ink-soft); line-height: 1.2; }
.header-tel strong { font-size: 17px; color: var(--brand-2); letter-spacing: .5px; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2.6px; background: var(--ink); border-radius: 2px; margin: 5px 0; transition: .2s; }

/* ---------- 首页 Hero ---------- */
.hero { position: relative; overflow: hidden; background: linear-gradient(160deg, #fff3e4 0%, #ffe3d6 55%, #ffd9d2 100%); }
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 82% 18%, rgba(255, 157, 61, .28), transparent 42%),
    radial-gradient(circle at 12% 82%, rgba(43, 182, 115, .18), transparent 46%);
}
.hero-inner { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 40px; padding: 84px 24px 64px; }
.hero-eyebrow {
  display: inline-block; padding: 7px 18px; border-radius: 999px;
  background: rgba(255, 255, 255, .72); color: var(--brand-2);
  font-size: 14px; font-weight: 600; letter-spacing: 1px; margin-bottom: 20px;
}
.hero-copy h1 { font-size: clamp(42px, 5.6vw, 68px); line-height: 1.16; letter-spacing: 2px; }
.hero-copy h1 br + * {}
.hero-sub { margin: 22px 0 32px; font-size: 17.5px; color: var(--ink-soft); max-width: 520px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-visual { position: relative; display: flex; justify-content: center; }
.hero-visual img { position: relative; z-index: 2; width: min(480px, 100%); filter: drop-shadow(0 26px 42px rgba(214, 108, 62, .30)); animation: float 6s ease-in-out infinite; }
.hero-blob { position: absolute; border-radius: 50%; filter: blur(2px); }
.blob-a { width: 380px; height: 380px; background: rgba(255, 255, 255, .5); top: -20px; right: -10px; }
.blob-b { width: 220px; height: 220px; background: rgba(255, 157, 61, .35); bottom: -30px; left: 0; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

.hero-strip { position: relative; background: rgba(255, 255, 255, .55); border-top: 1px solid rgba(255,255,255,.8); }
.hero-strip-inner { display: grid; grid-template-columns: repeat(4, 1fr); text-align: center; padding: 22px 24px; }
.hero-strip-inner strong { display: block; font-size: 30px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-strip-inner span { font-size: 13.5px; color: var(--ink-soft); }

/* ---------- 通用区块 ---------- */
.section { padding: 84px 0; }
.section-tint { background: #fff1e3; }
.section-dark { background: #292320; color: #f5ede4; }
.section-head { text-align: center; margin-bottom: 44px; }
.section-head h2 { font-size: clamp(28px, 3.6vw, 40px); letter-spacing: 2px; position: relative; display: inline-block; padding-bottom: 14px; }
.section-head h2::after {
  content: ""; position: absolute; left: 50%; bottom: 0; width: 56px; height: 4px;
  background: var(--grad); border-radius: 4px; transform: translateX(-50%);
}
.section-head p { margin-top: 14px; color: var(--ink-soft); font-size: 16px; }
.section-head.light p { color: #c9bdb0; }
.section-more { text-align: center; margin-top: 40px; }

/* ---------- 分类标签 ---------- */
.chip-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-bottom: 38px; }
.chip {
  padding: 9px 22px; border-radius: 999px; background: #fff; border: 1.5px solid var(--line);
  font-size: 14.5px; transition: .18s;
}
.chip:hover, .chip.on { background: var(--grad); color: #fff; border-color: transparent; box-shadow: 0 8px 18px rgba(255, 94, 98, .28); }

/* ---------- 卡片 ---------- */
.card-grid { display: grid; gap: 26px; }
.product-grid { grid-template-columns: repeat(4, 1fr); }
.app-grid { grid-template-columns: repeat(4, 1fr); }
.card {
  background: var(--paper); border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 8px 26px rgba(180, 110, 60, .10);
  transition: transform .22s ease, box-shadow .22s ease; display: block;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 20px 44px rgba(180, 110, 60, .20); }
.card-media { aspect-ratio: 4 / 3; overflow: hidden; background: #f6ead9; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.card:hover .card-media img { transform: scale(1.06); }
.card-body { padding: 20px 22px 24px; }
.card-tag {
  display: inline-block; font-size: 11.5px; color: var(--brand-2);
  background: #ffe9e2; padding: 3px 11px; border-radius: 999px; margin-bottom: 10px;
}
.card-body h3 { font-size: 18.5px; margin-bottom: 8px; }
.card-body p {
  font-size: 14px; color: var(--ink-soft); line-height: 1.7;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.card-link { display: inline-block; margin-top: 13px; color: var(--brand-2); font-size: 14px; font-weight: 600; }

/* ---------- 新闻 ---------- */
.news-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.news-card {
  display: flex; gap: 18px; align-items: flex-start;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
  border-radius: 16px; padding: 22px 24px; transition: .2s;
}
.news-card:hover { background: rgba(255,255,255,.12); transform: translateY(-4px); }
.news-date { flex: 0 0 62px; text-align: center; }
.news-date strong { display: block; font-size: 30px; color: var(--brand-1); line-height: 1.1; }
.news-date span { font-size: 12px; color: #b3a696; }
.news-body h3 { font-size: 17px; line-height: 1.55; margin-bottom: 8px; }
.news-body p {
  font-size: 13.5px; color: #bfb3a5; line-height: 1.7;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

/* ---------- 关于带 ---------- */
.about-band { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.about-band-media { position: relative; }
.about-band-media img { border-radius: var(--radius); box-shadow: var(--shadow); }
.about-badge {
  position: absolute; left: -18px; bottom: 26px; background: #fff; border-radius: 14px;
  padding: 14px 22px; box-shadow: var(--shadow);
}
.about-badge strong { display: block; font-size: 15px; }
.about-badge span { font-size: 12.5px; color: var(--ink-soft); }
.about-band-copy h2 { font-size: clamp(28px, 3.4vw, 38px); margin-bottom: 18px; }
.about-band-copy > p { color: var(--ink-soft); margin-bottom: 20px; }
.tick-list li {
  position: relative; padding-left: 28px; margin-bottom: 10px; font-size: 15.5px;
}
.tick-list li::before {
  content: "✓"; position: absolute; left: 0; top: 1px;
  width: 19px; height: 19px; border-radius: 50%; background: var(--leaf); color: #fff;
  font-size: 12px; text-align: center; line-height: 19px;
}
.about-band-copy .btn { margin-top: 24px; }

/* ---------- CTA ---------- */
.cta-band { background: var(--grad); color: #fff; padding: 58px 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.cta-inner h2 { font-size: clamp(24px, 3vw, 34px); letter-spacing: 1px; }
.cta-inner p { margin-top: 8px; opacity: .92; }

/* ---------- 内页横幅 ---------- */
.page-banner {
  background:
    radial-gradient(circle at 86% 20%, rgba(255, 157, 61, .35), transparent 42%),
    linear-gradient(135deg, #ff9d3d, #ff6a5e);
  color: #fff; padding: 72px 0 60px; text-align: center;
}
.page-banner.slim { padding: 34px 0; text-align: left; }
.page-banner h1 { font-size: clamp(30px, 4vw, 44px); letter-spacing: 3px; }
.page-banner p { margin-top: 12px; font-size: 16.5px; opacity: .92; }
.breadcrumb { font-size: 13.5px; opacity: .95; }
.breadcrumb a:hover { text-decoration: underline; }

/* ---------- 详情页 ---------- */
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: center; margin-bottom: 56px; }
.detail-media img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; }
.detail-copy h1 { font-size: clamp(26px, 3.2vw, 38px); margin: 10px 0 16px; }
.detail-summary { color: var(--ink-soft); font-size: 16.5px; margin-bottom: 22px; }
.detail-copy h2 { font-size: 19px; margin: 18px 0 8px; }
.ingredients {
  background: #fff; border-left: 4px solid var(--brand-1); border-radius: 10px;
  padding: 14px 18px; color: var(--ink-soft); font-size: 15px;
}
.detail-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 26px; }
.detail-body { max-width: 920px; }
.detail-body h2 { font-size: 24px; margin: 40px 0 18px; padding-left: 14px; border-left: 5px solid var(--brand-2); }
.detail-body .card-grid { grid-template-columns: repeat(4, 1fr); }

/* ---------- 富文本 ---------- */
.rich-text { font-size: 16px; line-height: 2; color: #4a423a; }
.rich-text h2 { font-size: 22px; margin: 28px 0 10px; color: var(--ink); }
.rich-text h3 { font-size: 18px; margin: 22px 0 8px; color: var(--ink); }
.rich-text p { margin-bottom: 14px; }
.rich-text img { border-radius: 12px; margin: 14px 0; }
.rich-text ul, .rich-text ol { padding-left: 26px; margin-bottom: 14px; }
.rich-text ul { list-style: disc; }
.rich-text ol { list-style: decimal; }

/* ---------- 新闻列表 / 详情 ---------- */
.news-list { display: grid; gap: 26px; }
.news-row {
  display: grid; grid-template-columns: 280px 1fr; gap: 26px;
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 8px 26px rgba(180, 110, 60, .08); transition: .2s;
}
.news-row:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.news-row-media img { width: 100%; height: 100%; object-fit: cover; }
.news-row-body { padding: 24px 26px 20px 0; }
.news-row-body h2 { font-size: 20px; line-height: 1.5; margin-bottom: 10px; }
.news-row-body p {
  color: var(--ink-soft); font-size: 14.5px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.news-row-meta { display: flex; gap: 18px; margin-top: 14px; font-size: 13px; color: #a2957f; }

.pager { display: flex; justify-content: center; gap: 16px; margin-top: 40px; align-items: center; }
.pager a { padding: 9px 22px; background: #fff; border-radius: 999px; border: 1.5px solid var(--line); }
.pager a:hover { border-color: var(--brand-2); color: var(--brand-2); }
.pager .off { opacity: .45; padding: 9px 22px; }
.pager .cur { font-weight: 600; }

.article-wrap { display: grid; grid-template-columns: 1fr 300px; gap: 48px; align-items: start; }
.article { background: #fff; border-radius: var(--radius); padding: 42px 46px; box-shadow: 0 8px 26px rgba(180, 110, 60, .08); }
.article h1 { font-size: clamp(24px, 3vw, 32px); line-height: 1.5; }
.article-meta { display: flex; gap: 22px; margin: 16px 0 26px; padding-bottom: 18px; border-bottom: 1px solid var(--line); font-size: 13.5px; color: #a2957f; }
.article-aside { background: #fff; border-radius: var(--radius); padding: 26px; box-shadow: 0 8px 26px rgba(180, 110, 60, .08); }
.article-aside h3 { font-size: 17px; padding-bottom: 12px; border-bottom: 2px solid var(--line); margin-bottom: 14px; }
.article-aside li { padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: 14.5px; }
.article-aside li a:hover { color: var(--brand-2); }

/* ---------- 关于我们 ---------- */
.about-full { display: grid; grid-template-columns: 1.35fr .65fr; gap: 52px; align-items: start; }
.about-text { background: #fff; border-radius: var(--radius); padding: 42px 46px; box-shadow: 0 8px 26px rgba(180, 110, 60, .08); }
.about-side img { border-radius: var(--radius); box-shadow: var(--shadow); margin-bottom: 24px; }
.side-card { background: #fff; border-radius: var(--radius); padding: 28px; box-shadow: 0 8px 26px rgba(180, 110, 60, .08); }
.side-card h3 { font-size: 19px; margin-bottom: 12px; color: var(--brand-2); }

/* ---------- 联系我们 ---------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: start; }
.contact-info h2, .contact-form-wrap h2 { font-size: 26px; margin-bottom: 22px; }
.contact-list li {
  display: flex; gap: 18px; padding: 14px 0; border-bottom: 1px dashed var(--line); font-size: 16px;
}
.contact-list strong { flex: 0 0 88px; color: var(--ink-soft); font-weight: 500; }
.contact-list a { color: var(--brand-2); font-weight: 600; }
.contact-table { width: 100%; border-collapse: collapse; margin-top: 14px; background: #fff; border-radius: 12px; overflow: hidden; }
.contact-table th, .contact-table td { padding: 12px 16px; text-align: left; font-size: 14.5px; border-bottom: 1px solid var(--line); }
.contact-table th { background: #fff1e3; font-weight: 600; }
.contact-table a { color: var(--brand-2); }

.contact-form-wrap {
  background: #fff; border-radius: var(--radius); padding: 34px 36px; box-shadow: var(--shadow);
}
.contact-form label { display: block; margin-bottom: 18px; font-size: 14.5px; color: var(--ink-soft); }
.contact-form input, .contact-form textarea {
  width: 100%; margin-top: 7px; padding: 12px 15px; font-size: 15px;
  border: 1.5px solid var(--line); border-radius: 11px; background: #fffdfb;
  font-family: inherit; transition: border .18s;
}
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--brand-1); }
.form-ok, .form-err { padding: 13px 18px; border-radius: 11px; margin-bottom: 18px; font-size: 14.5px; }
.form-ok { background: #e7f7ee; color: #1c7c4c; }
.form-err { background: #fdecec; color: #c0392b; }

/* ---------- 404 / 空态 ---------- */
.notfound { text-align: center; padding: 60px 0 90px; }
.notfound h1 { font-size: 96px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.notfound p { color: var(--ink-soft); margin: 12px 0 28px; }
.empty { text-align: center; color: var(--ink-soft); padding: 30px 0; }

/* ---------- 页脚 ---------- */
.site-footer { background: #2b2118; color: #d9c9b6; margin-top: 0; }
.footer-grid {
  display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.1fr; gap: 40px;
  padding: 62px 24px 46px;
}
.footer-col h3 { font-size: 17px; color: #fff; margin-bottom: 18px; letter-spacing: 1px; }
.footer-col p { font-size: 14px; line-height: 1.9; }
.footer-col li { padding: 5px 0; font-size: 14px; }
.footer-col a:hover { color: var(--brand-3); }
.footer-addr { margin-top: 12px; }
.footer-tel a { font-size: 21px; color: var(--brand-3); font-weight: 700; letter-spacing: 1px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.10); padding: 18px 0; font-size: 12.5px; color: #97887a; }
.footer-bottom .container { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; }

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
  .product-grid, .app-grid, .detail-body .card-grid { grid-template-columns: repeat(3, 1fr); }
  .header-tel { display: none; }
}
@media (max-width: 900px) {
  .main-nav {
    position: fixed; inset: 78px 0 auto 0; background: var(--cream);
    flex-direction: column; gap: 0; padding: 10px 0 20px;
    border-bottom: 1px solid var(--line);
    transform: translateY(-130%); transition: transform .28s ease; z-index: 49;
  }
  .main-nav.open { transform: translateY(0); }
  .main-nav a { padding: 13px 26px; }
  .main-nav a::after { display: none; }
  .nav-toggle { display: block; margin-left: auto; }
  .hero-inner, .about-band, .detail-grid, .contact-grid, .about-full, .article-wrap { grid-template-columns: 1fr; }
  .hero-inner { padding: 58px 24px 44px; }
  .hero-visual { order: -1; }
  .hero-visual img { width: min(340px, 82%); }
  .hero-strip-inner { grid-template-columns: repeat(2, 1fr); gap: 18px 0; }
  .product-grid, .app-grid, .detail-body .card-grid { grid-template-columns: repeat(2, 1fr); }
  .news-grid { grid-template-columns: 1fr; }
  .news-row { grid-template-columns: 1fr; }
  .news-row-media img { height: 200px; }
  .news-row-body { padding: 0 24px 22px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-badge { left: 12px; }
}
@media (max-width: 560px) {
  .section { padding: 58px 0; }
  .product-grid, .app-grid, .detail-body .card-grid { grid-template-columns: 1fr; }
  .hero-copy h1 { font-size: 38px; }
  .article { padding: 26px 22px; }
  .contact-form-wrap { padding: 26px 22px; }
  .footer-grid { grid-template-columns: 1fr; }
  .btn { padding: 12px 24px; font-size: 15px; }
}
