/* ===========================================================
   粮乐福 · 品牌展示站
   =========================================================== */

:root {
  --green-900: #0d4b26;
  --green-800: #105c2e;
  --green-700: #157a3c;
  --green-600: #1b8f47;
  --green-300: #7fc79b;
  --green-100: #e6f3ea;

  --gold-600: #c98f2c;
  --gold-400: #dfa93f;
  --gold-100: #f8edcf;

  --cream: #fbf7ee;
  --white: #ffffff;
  --ink: #23291f;
  --ink-soft: #4a5245;
  --muted: #6f7a6a;
  --line: rgba(21, 122, 60, 0.12);

  --radius-lg: 26px;
  --radius-md: 18px;
  --radius-sm: 12px;

  --shadow-sm: 0 2px 10px rgba(16, 60, 33, 0.05);
  --shadow-md: 0 12px 34px rgba(16, 60, 33, 0.09);
  --shadow-lg: 0 22px 60px rgba(16, 60, 33, 0.16);

  --maxw: 1160px;
}

* {
  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", "Noto Sans CJK SC", sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

.container {
  width: min(var(--maxw), 91%);
  margin-inline: auto;
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 28px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 600;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.22s ease, box-shadow 0.22s ease,
    background 0.22s ease, color 0.22s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--green-700);
  color: #fff;
  box-shadow: 0 10px 24px rgba(21, 122, 60, 0.28);
}
.btn-primary:hover {
  background: var(--green-800);
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(21, 122, 60, 0.34);
}

.btn-ghost {
  background: transparent;
  color: var(--green-700);
  border-color: rgba(21, 122, 60, 0.35);
}
.btn-ghost:hover {
  background: var(--green-100);
  transform: translateY(-2px);
}

.btn-gold {
  background: var(--gold-400);
  color: #4a3208;
  box-shadow: 0 10px 24px rgba(201, 143, 44, 0.3);
}
.btn-gold:hover {
  background: var(--gold-600);
  color: #fff;
  transform: translateY(-2px);
}

.btn-sm {
  padding: 11px 22px;
  font-size: 15px;
}

/* ---------- 顶部导航 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 74px;
}

.brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.brand img {
  height: 50px;
  width: auto;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
}

/* 仅对文字链接生效，避免特异性覆盖掉导航内的按钮样式 */
.nav-links a:not(.btn) {
  font-size: 15.5px;
  color: var(--ink-soft);
  position: relative;
  padding: 6px 0;
  transition: color 0.2s ease;
}

.nav-links a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--green-700);
  transition: width 0.26s ease;
}

.nav-links a:not(.btn):hover,
.nav-links a:not(.btn).active {
  color: var(--green-700);
}

.nav-links a:not(.btn):hover::after,
.nav-links a:not(.btn).active::after {
  width: 100%;
}


.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  padding: 11px 10px;
  flex-direction: column;
  justify-content: space-between;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--green-700);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 78px 0 90px;
  background: radial-gradient(
      1100px 520px at 82% 12%,
      rgba(223, 169, 63, 0.16),
      transparent 62%
    ),
    linear-gradient(180deg, #f4faf5 0%, var(--white) 100%);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  left: -140px;
  bottom: -180px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(21, 122, 60, 0.1),
    transparent 68%
  );
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: 52px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: 999px;
  background: var(--green-100);
  color: var(--green-800);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 22px;
}

.eyebrow .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green-600);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.82); }
}

/* 标题固定一行「吃好粮，享乐福」，字号按容器宽度自适应，避免挤压换行 */
.hero h1 {
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.18;
  letter-spacing: 3px;
  color: var(--green-900);
  font-weight: 800;
}

/* "粮"与"乐福"两处金色呼应，点出品牌名「粮乐福」的由来 */
.hero h1 em {
  font-style: normal;
  color: var(--gold-600);
}

.hero .lead {
  margin-top: 20px;
  font-size: clamp(15.5px, 1.7vw, 17.5px);
  color: var(--ink-soft);
  max-width: 540px;
}

.hero .lead b {
  color: var(--green-700);
  font-weight: 600;
}

.hero-actions {
  margin-top: 34px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-note {
  margin-top: 20px;
  font-size: 14px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 330px;
}

.hero-visual .glow {
  position: absolute;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(223, 169, 63, 0.26),
    transparent 70%
  );
}

/* 虚线圈保留为静态装饰（不再旋转） */
.hero-visual .ring {
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  border: 1.5px dashed rgba(21, 122, 60, 0.24);
}

.hero-visual img.logo-main {
  position: relative;
  z-index: 3;
  max-height: 360px;
  width: auto;
  max-width: min(320px, 84%);
  filter: drop-shadow(0 18px 34px rgba(16, 60, 33, 0.16));
}

/* ---------- 通用区块 ---------- */
.section {
  padding: 92px 0;
}

.section--cream {
  background: var(--cream);
}

.section--tint {
  background: linear-gradient(180deg, #fff 0%, #f4faf5 100%);
}

.section-head {
  text-align: center;
  max-width: 660px;
  margin: 0 auto 54px;
}

/* 需要单行展示的宽描述 */
.section-head--wide {
  max-width: 880px;
}

.keep-line {
  white-space: nowrap;
}

.section-head h2 {
  font-size: clamp(26px, 3.6vw, 37px);
  color: var(--green-900);
  letter-spacing: 1.5px;
  line-height: 1.35;
}

.section-head p {
  margin-top: 15px;
  color: var(--muted);
  font-size: 16px;
}

.section-head .kicker {
  display: inline-block;
  font-size: 13px;
  letter-spacing: 3px;
  color: var(--gold-600);
  font-weight: 700;
  margin-bottom: 12px;
}

/* ---------- 卡片网格 ---------- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.28s ease, box-shadow 0.28s ease,
    border-color 0.28s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(21, 122, 60, 0.28);
}

.card .icon {
  width: 58px;
  height: 58px;
  border-radius: 17px;
  display: grid;
  place-items: center;
  background: var(--green-100);
  margin-bottom: 20px;
}

.card .icon.gold {
  background: var(--gold-100);
}

.card h3 {
  font-size: 20px;
  color: var(--green-900);
  margin-bottom: 11px;
  letter-spacing: 1px;
}

.card p {
  font-size: 15.2px;
  color: var(--muted);
}

.card p + p {
  margin-top: 10px;
}

/* ---------- 品牌墙 ---------- */
.brands {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

.brand-chip {
  padding: 15px 34px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--green-900);
  box-shadow: var(--shadow-sm);
  transition: all 0.26s ease;
}

.brand-chip:hover {
  background: var(--green-700);
  color: #fff;
  border-color: var(--green-700);
  transform: translateY(-3px);
}

.brand-chip.dashed {
  border-style: dashed;
  color: var(--muted);
  font-weight: 500;
  font-size: 15.5px;
  box-shadow: none;
}

.brand-chip.dashed:hover {
  background: transparent;
  color: var(--muted);
  border-color: var(--line);
  transform: none;
}

/* ---------- 下单流程 ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  position: relative;
  align-content: start; /* 容器被拉高时，各 step 保持自然高度 */
}

/* 序号居左、内容在右，整体更紧凑 */
.step {
  position: relative;
  display: flex;
  gap: 16px;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 30px 28px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.step-body {
  flex: 1;
  min-width: 0;
}

.step .num {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--green-700);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 17px;
  font-weight: 700;
  box-shadow: 0 8px 18px rgba(21, 122, 60, 0.26);
}

.step h3 {
  font-size: 18.5px;
  color: var(--green-900);
  margin-bottom: 10px;
}

.step p {
  font-size: 15px;
  color: var(--muted);
}

.step .tag {
  display: inline-block;
  margin-top: 14px;
  padding: 5px 13px;
  border-radius: 999px;
  background: var(--gold-100);
  color: var(--gold-600);
  font-size: 13px;
  font-weight: 600;
}

/* ---------- 承诺条 ---------- */
.promise {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.promise-item {
  text-align: center;
  padding: 26px 16px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
}

.promise-item .n {
  font-size: 30px;
  font-weight: 800;
  color: var(--green-700);
  letter-spacing: 1px;
}

.promise-item .t {
  font-size: 14.5px;
  color: var(--ink-soft);
  margin-top: 6px;
}

/* ---------- 服务范围说明 ---------- */
.coverage {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 46px;
  align-items: stretch; /* 左右等高 */
}

.coverage-box {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 38px 34px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  /* 与左侧步骤区等高，内容垂直居中 */
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.coverage-box h3 {
  font-size: 23px;
  color: var(--green-900);
  margin-bottom: 16px;
}

.coverage-box p {
  color: var(--ink-soft);
  font-size: 15.5px;
}

.flow {
  margin-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.flow-row {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  padding: 15px 17px;
  border-radius: 14px;
  background: var(--cream);
  border: 1px solid var(--line);
  font-size: 15px;
  color: var(--ink-soft);
}

.flow-row .ic {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--green-700);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 700;
}

.flow-row .ic.no {
  background: var(--muted);
}

.coverage-art {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.coverage-art .tile {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 26px 22px;
  box-shadow: var(--shadow-sm);
}

.coverage-art .tile h4 {
  font-size: 16.5px;
  color: var(--green-900);
  margin-bottom: 8px;
}

.coverage-art .tile p {
  font-size: 14.5px;
  color: var(--muted);
}

/* ---------- CTA ---------- */
.cta {
  border-radius: 34px;
  padding: 62px 40px;
  background: linear-gradient(135deg, var(--green-700), var(--green-900));
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.cta::after {
  content: "";
  position: absolute;
  right: -80px;
  top: -110px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(223, 169, 63, 0.3), transparent 68%);
}

.cta h2 {
  font-size: clamp(25px, 3.4vw, 36px);
  letter-spacing: 2px;
  position: relative;
  z-index: 2;
}

.cta p {
  margin: 16px auto 30px;
  max-width: 560px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 16px;
  position: relative;
  z-index: 2;
}

.cta .cta-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}

.cta .phone-big {
  margin-top: 26px;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.8);
  position: relative;
  z-index: 2;
}

.cta .phone-big a {
  color: var(--gold-400);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 1px;
}

/* ---------- 页脚 ---------- */
.site-footer {
  background: #10281c;
  color: #b9cdc0;
  padding: 62px 0 26px;
  margin-top: 92px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 38px;
}

.footer-brand {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.footer-brand img {
  height: 50px;
  width: auto;
  /* 深绿背景上绿色 Logo 对比度不足，加白色底衬 */
  background: #fff;
  padding: 9px 16px;
  border-radius: 14px;
}

.footer-col p {
  font-size: 14.5px;
  color: #9db3a5;
  line-height: 1.9;
}

.footer-col h4 {
  color: #fff;
  font-size: 15.5px;
  margin-bottom: 16px;
  letter-spacing: 1px;
}

.footer-col li {
  font-size: 14.5px;
  color: #9db3a5;
  padding: 5px 0;
}

.footer-col li a:hover,
.footer-col p a:hover {
  color: var(--green-300);
}

/* 页脚按钮：深绿背景上改用白色描边，否则绿色几乎看不见 */
.footer-col .btn {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.42);
}

.footer-col .btn:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.72);
  transform: translateY(-2px);
}

.footer-bottom {
  margin-top: 42px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
  font-size: 13.5px;
  color: #7d9488;
}

/* 站点说明单独一行放最底部，不跟备案号挤在一起 */
.footer-note {
  margin-top: 12px;
  font-size: 12.5px;
  color: #6c8577;
  text-align: center;
}

/* 备案信息：ICP 号与公安号需链接到官方平台，颜色要比正文亮一档才看得清 */
.footer-bottom a {
  color: #a8c2b4;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-bottom a:hover {
  color: #fff;
  text-decoration: underline;
}

/* 公安备案徽标（assets/img/ghs.png）
   注意：全局 img 是 display:block，这里必须改回行内，否则图标会独占一行、
   把备案号挤到下一行。用 inline-flex + gap 保证图标与文字始终同一行且垂直居中。 */
.footer-bottom .ghs {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  vertical-align: middle;
}

.footer-bottom .ghs img {
  display: inline-block;
  height: 14px;
  width: 14px;
  object-fit: contain;
  flex: none;
}

/* 页脚联系方式：标签与内容分栏对齐，避免长句乱换行 */
.contact-list {
  margin-bottom: 6px;
}

.contact-list li {
  display: flex;
  gap: 10px;
  padding: 4px 0;
  font-size: 14.5px;
  line-height: 1.7;
}

.contact-list .k {
  flex-shrink: 0;
  width: 62px;
  color: #7d9488;
}

.contact-list .v {
  flex: 1;
  min-width: 0;
  color: #cfdedd;
}

.contact-list .v a {
  color: var(--green-300);
  font-weight: 600;
}

/* ---------- 关于我们页 ---------- */
.page-hero {
  padding: 66px 0 58px;
  background: linear-gradient(180deg, #f4faf5, #fff);
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(30px, 4.6vw, 46px);
  color: var(--green-900);
  letter-spacing: 2px;
  line-height: 1.3;
}

.page-hero p {
  margin: 16px auto 0;
  max-width: 620px;
  color: var(--muted);
  font-size: 16.5px;
}

.story {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 52px;
  align-items: center;
}

.story-text h2 {
  font-size: clamp(24px, 3.2vw, 33px);
  color: var(--green-900);
  letter-spacing: 1.5px;
  line-height: 1.4;
  margin-bottom: 20px;
}

.story-text p {
  color: var(--ink-soft);
  font-size: 16px;
  margin-bottom: 16px;
}

.story-text p b {
  color: var(--green-700);
}

.story-art {
  position: relative;
  display: grid;
  place-items: center;
  padding: 40px;
  background: radial-gradient(circle at 50% 45%, var(--green-100), transparent 70%);
  border-radius: 32px;
}

.story-art img {
  width: min(280px, 80%);
  filter: drop-shadow(0 16px 30px rgba(16, 60, 33, 0.14));
}

.values {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.value-item {
  display: flex;
  gap: 18px;
  padding: 30px 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: transform 0.26s ease, box-shadow 0.26s ease;
}

.value-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.value-item .ic {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: var(--green-100);
  display: grid;
  place-items: center;
  color: var(--green-700);
}

.value-item h3 {
  font-size: 18px;
  color: var(--green-900);
  margin-bottom: 8px;
}

.value-item p {
  font-size: 15px;
  color: var(--muted);
}

.info-table {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  max-width: 760px;
  margin-inline: auto;
}

.info-row {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 16px;
  padding: 18px 28px;
  border-bottom: 1px solid var(--line);
  font-size: 15.5px;
}

.info-row:last-child {
  border-bottom: none;
}

.info-row .k {
  color: var(--muted);
  font-weight: 600;
}

.info-row .v {
  color: var(--ink);
}

.info-row:nth-child(odd) {
  background: #fcfdfc;
}

.quote-block {
  max-width: 780px;
  margin-inline: auto;
  text-align: center;
  padding: 46px 34px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--gold-100), #fdf8ec);
  border: 1px solid rgba(201, 143, 44, 0.24);
}

.quote-block p {
  font-size: clamp(19px, 2.6vw, 26px);
  color: var(--green-900);
  font-weight: 700;
  letter-spacing: 2px;
  line-height: 1.6;
}

.quote-block span {
  display: block;
  margin-top: 14px;
  font-size: 14.5px;
  color: var(--gold-600);
  letter-spacing: 1px;
  font-weight: 600;
}

/* ---------- 小程序二维码弹窗 ---------- */
.qr-trigger {
  cursor: pointer;
}

.qr-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  place-items: center;
  padding: 24px;
  background: rgba(16, 40, 28, 0.78);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.qr-modal.open {
  display: grid;
  opacity: 1;
}

.qr-box {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 34px 34px 28px;
  max-width: 340px;
  width: 100%;
  text-align: center;
  box-shadow: var(--shadow-lg);
  transform: translateY(20px) scale(0.96);
  transition: transform 0.28s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.qr-modal.open .qr-box {
  transform: none;
}

.qr-box img {
  width: 220px;
  height: 220px;
  margin: 0 auto;
  border-radius: 12px;
  display: block;
}

.qr-box p {
  margin-top: 18px;
  font-size: 17px;
  color: var(--green-900);
  font-weight: 600;
  letter-spacing: 1px;
}

.qr-box span {
  display: block;
  margin-top: 6px;
  font-size: 13.5px;
  color: var(--muted);
}

.qr-close {
  margin-top: 22px;
  padding: 10px 28px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: transparent;
  color: var(--ink-soft);
  font-size: 15px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.qr-close:hover {
  background: var(--green-100);
  color: var(--green-700);
}

/* 内联二维码小卡片 */
.qr-inline {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 16px 22px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius-md);
  margin-top: 24px;
}

.qr-inline img {
  width: 72px;
  height: 72px;
  border-radius: 8px;
  background: #fff;
  padding: 4px;
}

.qr-inline div {
  text-align: left;
}

.qr-inline strong {
  display: block;
  color: #fff;
  font-size: 15.5px;
  letter-spacing: 1px;
}

.qr-inline span {
  display: block;
  color: rgba(255, 255, 255, 0.76);
  font-size: 13px;
}

/* ---------- 滚动动画 ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s cubic-bezier(0.22, 0.61, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.reveal.in {
  opacity: 1;
  transform: none;
}

/* ---------- 屏幕尺寸工具类 ---------- */
/* only-sm 仅手机显示，only-lg 仅平板/桌面显示 */
.only-sm {
  display: none;
}

/* ---------- 响应式 ---------- */

/* 窄屏空间不足，取消强制单行，避免文字溢出 */
@media (max-width: 820px) {
  .keep-line {
    white-space: normal;
  }
}

@media (max-width: 1000px) {
  .hero-grid,
  .story,
  .coverage {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-visual {
    order: -1;
    min-height: 260px;
  }
  .hero-visual .ring,
  .hero-visual .glow {
    width: 260px;
    height: 260px;
  }
  .grid-3,
  .steps,
  .promise {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  /* ===== 屏幕尺寸工具类 ===== */
  .only-lg {
    display: none !important;
  }
  .only-sm {
    display: inline !important;
  }

  /* ===== 顶部导航 ===== */
  .brand img {
    height: 42px;
  }
  .nav-toggle {
    display: flex;
  }
  .nav-links {
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 22px 20px;
    box-shadow: var(--shadow-md);
    display: none;
  }
  .nav-links.open {
    display: flex;
  }
  .nav-links a:not(.btn) {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
  }
  .nav-links a:not(.btn):last-child {
    border-bottom: none;
  }

  /* ===== 通用区块 ===== */
  .section {
    padding: 54px 0;
  }
  .section-head {
    margin-bottom: 36px;
  }
  .section-head h2 {
    font-size: 23px;
    letter-spacing: 1px;
  }
  .section-head p {
    font-size: 15px;
    margin-top: 12px;
  }
  .section-head .kicker {
    font-size: 11.5px;
    letter-spacing: 1.5px;
    margin-bottom: 8px;
  }

  /* ===== Hero ===== */
  .hero {
    padding: 30px 0 46px;
  }
  .hero-grid {
    gap: 24px;
  }
  .hero-visual {
    min-height: 188px;
    order: -1;
  }
  .hero-visual .ring {
    display: none;
  }
  .hero-visual .glow {
    width: 208px;
    height: 208px;
  }
  .hero-visual img.logo-main {
    max-height: 212px;
    max-width: 64%;
  }
  /* 标题「吃好粮，享乐福」始终一行（逗号已写在 HTML 里） */
  .hero h1 {
    font-size: clamp(31px, 8.8vw, 42px);
    letter-spacing: 1px;
  }
  .hero .lead {
    font-size: 15px;
    margin-top: 13px;
  }
  .hero-actions {
    margin-top: 22px;
    gap: 10px;
  }
  .hero-actions .btn {
    flex: 1 1 138px;
    padding: 13px 16px;
    font-size: 15px;
  }
  .hero-note {
    margin-top: 13px;
    font-size: 13px;
    line-height: 1.65;
    align-items: flex-start;
  }
  .hero-note svg {
    flex-shrink: 0;
    margin-top: 4px;
  }

  /* ===== 卡片 / 网格 ===== */
  .grid-3,
  .steps,
  .grid-2,
  .values,
  .coverage-art {
    grid-template-columns: 1fr;
  }
  .promise {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .card {
    padding: 24px 20px;
  }
  .card .icon {
    width: 48px;
    height: 48px;
    margin-bottom: 14px;
  }
  .card h3 {
    font-size: 18px;
  }
  .card p {
    font-size: 14.8px;
  }
  .brand-chip {
    padding: 11px 22px;
    font-size: 16px;
  }

  /* ===== 四条底线 ===== */
  .promise-item {
    padding: 16px 8px;
  }
  .promise-item .n {
    font-size: 23px;
  }
  .promise-item .t {
    font-size: 13px;
    margin-top: 3px;
  }

  /* ===== 下单步骤 ===== */
  .step {
    padding: 22px 20px;
    gap: 13px;
  }
  .step .num {
    width: 34px;
    height: 34px;
    font-size: 15px;
  }
  .step h3 {
    font-size: 16.5px;
  }
  .step p {
    font-size: 14.5px;
  }
  .coverage-box {
    padding: 26px 22px;
    justify-content: flex-start;
  }
  .coverage-box h3 {
    font-size: 20px;
  }
  .flow-row {
    padding: 12px 14px;
    font-size: 14.5px;
  }

  /* ===== CTA ===== */
  .cta {
    padding: 38px 22px;
    border-radius: 26px;
  }
  .cta h2 {
    font-size: 22px;
    letter-spacing: 1px;
  }
  .cta p {
    font-size: 15px;
    margin: 12px auto 24px;
  }
  .cta-actions {
    flex-direction: column;
    gap: 10px;
  }
  .cta-actions .btn {
    width: 100%;
  }
  .qr-inline {
    width: 100%;
    box-sizing: border-box;
    flex-direction: column;
    text-align: center;
    gap: 12px;
    padding: 18px 16px;
  }
  .qr-inline div {
    text-align: center;
  }
  .qr-inline img {
    width: 94px;
    height: 94px;
  }
  .cta .phone-big {
    margin-top: 20px;
    font-size: 14px;
  }
  .cta .phone-big a {
    font-size: 20px;
  }
  .qr-box {
    padding: 26px 22px 22px;
  }
  .qr-box img {
    width: 182px;
    height: 182px;
  }

  /* ===== 关于我们页 ===== */
  .page-hero {
    padding: 40px 0 32px;
  }
  .page-hero h1 {
    font-size: 26px;
  }
  .page-hero p {
    font-size: 15px;
    margin-top: 12px;
  }
  .story {
    gap: 26px;
  }
  .story-text h2 {
    font-size: 21px;
  }
  .story-text p {
    font-size: 15px;
    margin-bottom: 13px;
  }
  .story-art {
    padding: 22px;
  }
  .story-art img {
    width: min(188px, 64%);
  }
  .quote-block {
    padding: 30px 20px;
  }
  .quote-block p {
    font-size: 19px;
  }
  .value-item {
    padding: 22px 20px;
    gap: 14px;
  }
  .value-item .ic {
    width: 42px;
    height: 42px;
  }
  .value-item h3 {
    font-size: 16.5px;
  }
  .value-item p {
    font-size: 14.5px;
  }
  .info-row {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 14px 20px;
    font-size: 14.5px;
  }

  /* ===== 页脚 ===== */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .footer-brand img {
    height: 44px;
  }
  .footer-col h4 {
    font-size: 15px;
    margin-bottom: 12px;
  }
  .footer-col p,
  .footer-col li {
    font-size: 14px;
  }
  .contact-list li {
    font-size: 14px;
    padding: 5px 0;
  }
  .contact-list .k {
    width: 58px;
  }
  .footer-bottom {
    margin-top: 30px;
    padding-top: 18px;
    flex-direction: column;
    text-align: center;
    gap: 8px;
    font-size: 12.5px;
    line-height: 1.7;
  }
  .footer-note {
    margin-top: 8px;
    font-size: 11.5px;
    line-height: 1.6;
  }
  .site-footer {
    margin-top: 54px;
    padding: 44px 0 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}
