/* ============================================================
   扬州味心谷食品有限公司 企业官网  |  Weixinggu Food
   Single-page · playful "fruit-illustrated" design system
   (vivid fruit green + warm orange + cream, soft & rounded)
   ============================================================ */

:root {
  --brand: #2fa95b;
  --brand-dark: #157a45;
  --brand-light: #e8f7ec;
  --accent: #ff9f1c;
  --accent-2: #ff6b35;
  --berry: #ef6f6c;
  --ink: #243027;
  --muted: #5e6b62;
  --bg: #fffdf7;
  --bg-soft: #fcf4e6;
  --line: #ece3d2;
  --shadow: 0 16px 40px rgba(21, 99, 69, .12);
  --shadow-sm: 0 6px 18px rgba(21, 99, 69, .08);
  --radius: 22px;
  --radius-sm: 14px;
  --maxw: 1180px;
  --header-h: 72px;
  --gutter: 22px;
  --font: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Noto Sans SC", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
html[lang="en"] {
  --font: "Helvetica Neue", Arial, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  letter-spacing: .01em;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
  word-break: normal;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
button { font-family: inherit; touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; font-weight: 800; letter-spacing: .01em; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
[id] { scroll-margin-top: calc(var(--header-h) + 14px); }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.center { text-align: center; }
.section { padding: 88px 0; }
.section--soft { background: var(--bg-soft); position: relative; overflow: hidden; }
.section--soft::before {
  content: ""; position: absolute; width: 360px; height: 360px; right: -120px; top: -120px;
  border-radius: 50%; background: radial-gradient(circle, rgba(255,159,28,.16), rgba(255,159,28,0) 70%); pointer-events: none;
}
.section--brand { background: linear-gradient(135deg, var(--brand-dark), var(--brand)); color: #fff; position: relative; overflow: hidden; }
.section--brand::after {
  content: ""; position: absolute; width: 420px; height: 420px; left: -150px; bottom: -190px;
  border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.16), rgba(255,255,255,0) 70%); pointer-events: none;
}

/* ---------- Section heading ---------- */
.sec-head { text-align: center; max-width: 720px; margin: 0 auto 44px; }
.sec-head h2 { position: relative; display: inline-block; padding-bottom: 16px; font-size: clamp(26px, 3.6vw, 40px); }
.sec-head h2::after {
  content: ""; position: absolute; left: 50%; transform: translateX(-50%); bottom: 0;
  width: 56px; height: 5px; border-radius: 5px; background: var(--accent);
}
.sec-head p { color: var(--muted); margin-top: 14px; }
.eyebrow {
  display: inline-block; font-size: 13px; font-weight: 800; letter-spacing: .08em;
  color: var(--brand-dark); background: var(--brand-light); padding: 6px 14px; border-radius: 999px; margin-bottom: 14px;
}
.eyebrow::before { content: "●"; color: var(--accent); margin-right: 8px; font-size: 9px; vertical-align: middle; }
.pill {
  display: inline-block; font-size: 13px; font-weight: 800; letter-spacing: .04em;
  color: var(--brand-dark); background: var(--brand-light); padding: 6px 14px; border-radius: 999px; margin-bottom: 16px;
}
.home-contact .sec-head { text-align: left; max-width: none; margin-left: 0; }

/* ---------- Buttons (pill, juicy) ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 11px 22px; border-radius: 999px; font-weight: 700; cursor: pointer;
  border: 1.5px solid transparent; transition: .18s ease; font-size: 14.5px; line-height: 1.3;
}
.btn--primary { background: var(--brand-light); color: var(--brand-dark); }
.btn--primary:hover { background: #d6ecdd; }
.btn--light { background: #fff; color: var(--brand-dark); }
.btn--light:hover { background: #f3fff6; }
.btn--ghost { background: transparent; border-color: currentColor; color: inherit; }
.btn--ghost:hover { background: rgba(255,255,255,.14); }
.btn--accent { background: var(--accent); color: #3a2400; box-shadow: 0 8px 20px rgba(255,159,28,.32); }
.btn--accent:hover { background: #ffb443; transform: translateY(-2px); }
.btn:hover { transition: .18s ease; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100; height: var(--header-h);
  display: flex; align-items: center;
  background: rgba(255,253,247,.82); backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); display: flex; align-items: center; gap: 14px; flex-wrap: nowrap; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; flex: 0 1 auto; min-width: 0; }
.brand img { flex: none; display: block; }
/* 头部：整条横版 logo（图内已含中英文公司名，各语言显示一致）；
   按宽度约束 + height auto，避免 9:1 超宽 logo 在小屏撑破导航栏 */
.site-header .brand-logo { width: min(300px, 58vw); height: auto; }
/* 页脚：整条横版 logo 置于白色圆角底板上（深绿底上才看得清） */
.site-footer .brand-logo { width: min(300px, 100%); height: auto; padding: 10px 14px; background: #fff; border-radius: 12px; }
.brand > span { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.brand .brand-name { font-size: 17px; line-height: 1.1; color: var(--brand-dark); display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand .brand-sub { font-size: 11px; color: var(--muted); font-weight: 600; letter-spacing: .04em; margin-top: 1px; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.main-nav { margin-left: auto; display: flex; align-items: center; gap: 4px; flex: 1 1 auto; min-width: 0; }
.main-nav a {
  padding: 9px 14px; border-radius: 999px; font-weight: 700; color: var(--ink);
  font-size: 14.5px; transition: .15s; position: relative; white-space: nowrap; flex: none;
}
.main-nav a:hover { background: var(--brand-light); color: var(--brand-dark); }
.main-nav a.active { color: var(--brand-dark); background: var(--brand-light); }

.lang-switch { margin-left: auto; display: flex; gap: 4px; flex: none; }
.lang-switch button {
  border: 0; background: transparent; color: var(--muted); font-weight: 700; font-size: 13px;
  padding: 6px 9px; border-radius: 999px; cursor: pointer; transition: .15s;
}
.lang-switch button:hover { background: var(--brand-light); color: var(--brand-dark); }
.lang-switch button.active { background: var(--brand); color: #fff; }

.hamburger { display: none; flex-direction: column; gap: 4px; width: 42px; height: 42px; border: 0; background: transparent; cursor: pointer; align-items: center; justify-content: center; }
.hamburger span { width: 22px; height: 2.5px; background: var(--ink); border-radius: 2px; transition: .2s; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  min-height: calc(100vh - var(--header-h)); min-height: calc(100svh - var(--header-h));
  display: flex; align-items: center;
  background: linear-gradient(135deg, #1f9b52 0%, #4fbd66 58%, #8ad98d 100%);
  color: #fff;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
/* 首屏实景背景图（农田远景）：铺满整屏；object-position 略上移以多露出农田主体。
   注意：图片必须在 HTML 里用 asset() 引用——构建的断链检查与「未引用资源清理」都只识别 assets/ 开头的引用，
   若写成 CSS 的 url(../img/…) 会被判为未引用而从 dist 删除。 */
.hero-bg-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center 42%;
}
/* 左侧压暗遮罩：白色标题/正文压在明亮插画上时仍保持足够对比度 */
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(94deg, rgba(7,44,26,.70) 0%, rgba(7,44,26,.44) 38%, rgba(7,44,26,.12) 68%, rgba(7,44,26,.16) 100%);
}
/* 以下 blob / hero-glow 是「纯色渐变背景」时期的装饰；改用实景图后暂不使用，保留以便一键回退 */
.hero-bg .blob { position: absolute; border-radius: 50%; filter: blur(6px); opacity: .55; animation: drift 16s ease-in-out infinite; }
.blob--2 { animation-duration: 21s; animation-delay: -5s; }
.blob--3 { animation-duration: 25s; animation-delay: -9s; }
@keyframes drift { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(16px, -20px); } }
/* 插画背后的柔光，让画面更有层次 */
.hero-glow {
  position: absolute; width: 540px; height: 540px; border-radius: 50%;
  right: 2%; top: 8%; opacity: .9;
  background: radial-gradient(circle, rgba(255,214,102,.30), rgba(255,214,102,0) 68%);
}
.blob--1 { width: 240px; height: 240px; background: radial-gradient(circle at 30% 30%, #ffd166, #ff9f1c); top: -60px; left: 6%; }
.blob--2 { width: 180px; height: 180px; background: radial-gradient(circle at 30% 30%, #ffb088, #ff6b35); bottom: 8%; left: 38%; opacity: .4; }
.blob--3 { width: 150px; height: 150px; background: radial-gradient(circle at 30% 30%, #ffd1cf, #ef6f6c); top: 14%; right: 30%; opacity: .35; }
/* 两栏：左文案 / 右留白（原插画已移除，右列改作展示背景图）。
   注意：padding 必须保留左右 gutter，否则会覆盖 .container 的内边距、文字顶到屏幕两边。
   注意：左列必须给最小宽度——「天然好味，享誉全球。」= 10 个汉字，在 64px 标题字号下需要 640px；
   若用纯 1.05fr，1440 视口下左列只有 573px，标题会被迫折成「…享誉全」+「球。」两行。
   680px 下限保证单行显示（640px 文本 + 40px 余量）。 */
.hero-inner {
  position: relative; z-index: 5; padding: 40px var(--gutter);
  display: grid; grid-template-columns: minmax(680px, 1.05fr) minmax(0, .95fr); gap: 44px; align-items: center;
}
.hero-copy { position: relative; z-index: 2; }
.hero-pill {
  display: inline-block; font-size: 14px; font-weight: 700; letter-spacing: .03em;
  background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.4);
  padding: 8px 16px; border-radius: 999px; margin-bottom: 22px; backdrop-filter: blur(4px);
}
.hero h1 { font-size: clamp(34px, 6vw, 64px); font-weight: 900; line-height: 1.08; margin: 0 0 18px; text-shadow: 0 2px 18px rgba(0,0,0,.12); }
.hero p { font-size: clamp(16px, 2vw, 19px); max-width: 580px; opacity: .96; margin: 0 0 30px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.scroll-cue {
  position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 6;
  width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.22); border: 1px solid rgba(255,255,255,.5);
  color: #fff; font-size: 22px; line-height: 34px; text-align: center; animation: cueBob 1.8s ease-in-out infinite;
}
@keyframes cueBob { 0%,100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(7px); } }

/* ---------- Home stats bar ---------- */
.home-stats { margin-top: -64px; position: relative; z-index: 5; }
.stats-bar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; background: #fff; border-radius: 24px; box-shadow: var(--shadow); padding: 28px 14px; }
.stat-cell { text-align: center; padding: 6px 10px; }
.stat-cell + .stat-cell { border-left: 1px solid var(--line); }
.stat-num { font-size: clamp(26px, 4vw, 42px); font-weight: 900; color: var(--brand); line-height: 1.1; }
.stat-lbl { font-size: 13px; color: var(--muted); margin-top: 4px; }
@media (max-width: 620px) { .stats-bar { grid-template-columns: repeat(2, 1fr); } .stat-cell:nth-child(3) { border-left: 0; } .stat-cell:nth-child(n+3) { border-top: 1px solid var(--line); } }

/* ---------- Feature (about / factory) ---------- */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.feature--rev .feature-media { order: 2; }
.feature-media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--brand-light); aspect-ratio: 4/3; }
.feature-media img { width: 100%; height: 100%; object-fit: cover; }
.feature h2 { font-size: clamp(24px, 3.2vw, 36px); }
/* 关于我们标题拆分两节：每节 white-space:nowrap 保持完整，<wbr> 之间只有在整行放不下时才换行，
   实现「一行能放下就不换行、放不下时在第 1 节末尾（逗号后）断行」的受控换行 */
.about-title span { white-space: nowrap; }
/* 企业介绍正文：三段分栏排版，行距与段距留出呼吸感，首段作引导句略加强调 */
.about-prose { margin-bottom: 4px; }
.about-prose p { margin: 0 0 15px; line-height: 1.95; color: var(--muted); font-size: 15.5px; }
.about-prose p:last-child { margin-bottom: 0; }
.about-prose .about-lead { color: var(--ink); font-size: 16.5px; font-weight: 500; line-height: 1.85; }
@media (max-width: 820px) { .feature { grid-template-columns: 1fr; gap: 26px; } .feature--rev .feature-media { order: 0; } }

/* ---------- Certs (iconlist) ---------- */
.iconlist { display: grid; gap: 16px; }
.iconlist.grid-2 { grid-template-columns: 1fr 1fr; }
.iconlist li { display: flex; gap: 16px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 20px 22px; box-shadow: var(--shadow-sm); }
.iconlist .ic { flex: none; width: 46px; height: 46px; border-radius: 12px; background: var(--brand); color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; font-size: 16px; }
.iconlist .tx h4 { margin: 0 0 4px; font-size: 16px; }
.iconlist .tx p { margin: 0; color: var(--muted); font-size: 14px; }
@media (max-width: 720px) { .iconlist.grid-2 { grid-template-columns: 1fr; } }

/* ---------- Products (single page, inline <details>) ---------- */
.prod-block { margin-top: 56px; }
.prod-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.sku {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); transition: .22s ease;
}
.sku:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #cfe6d8; }
.sku > summary { list-style: none; cursor: pointer; display: flex; gap: 14px; align-items: center; padding: 14px 18px; }
.sku > summary::-webkit-details-marker { display: none; }
.sku[open] > summary { background: var(--brand-light); }
.sku-media { flex: none; width: 76px; height: 76px; border-radius: 16px; overflow: hidden; background: var(--brand-light); }
.sku-media img { width: 100%; height: 100%; object-fit: cover; }
.sku-meta { display: flex; flex-direction: column; min-width: 0; }
.sku-cat { font-size: 12px; font-weight: 800; color: var(--brand); letter-spacing: .04em; }
.sku-name { font-size: 17px; font-weight: 800; color: var(--ink); margin: 2px 0; }
.sku-go { font-size: 13px; font-weight: 700; color: var(--accent); }
.sku-detail { padding: 4px 18px 22px; }
.sku-detail .spec { border-top: 1px dashed var(--line); margin: 4px 0 16px; }
.sku-detail .spec li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.sku-detail .spec li span { color: var(--muted); flex: none; }
.sku-detail .spec li b { font-weight: 700; text-align: right; }

/* ---------- OEM / ODM services ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; }
.svc-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; box-shadow: var(--shadow-sm); transition: .22s ease; }
.svc-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.svc-ic { width: 58px; height: 58px; border-radius: 16px; background: var(--brand-light); display: flex; align-items: center; justify-content: center; font-size: 28px; margin-bottom: 16px; }
.svc-card h3 { font-size: 19px; margin: 0 0 8px; }
.svc-card p { color: var(--muted); font-size: 14.5px; margin: 0; }

/* ---------- Home CTA / Vision ---------- */
.home-cta-title { font-size: clamp(26px, 3.6vw, 42px); }
.home-cta-sub { font-size: 17px; opacity: .95; max-width: 560px; margin: 14px auto 28px; }
.vision-title { font-size: clamp(24px, 3.2vw, 38px); margin-bottom: 16px; }
.vision-pillars { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }
.vision-pillars > div { background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.3); border-radius: 16px; padding: 18px 26px; min-width: 150px; }
.vision-pillars strong { display: block; font-size: 18px; }
.vision-pillars span { font-size: 13px; opacity: .9; }

/* ---------- Contact ---------- */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
@media (max-width: 820px) { .grid-2 { grid-template-columns: 1fr; } }
.info-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); }
.info-row { display: flex; gap: 14px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid var(--line); }
.info-row:last-child { border-bottom: 0; }
.info-row .ic { flex: none; width: 40px; height: 40px; border-radius: 12px; background: var(--brand-light); display: flex; align-items: center; justify-content: center; font-size: 18px; }
.info-row .tx h4 { margin: 0 0 2px; font-size: 15px; color: var(--muted); font-weight: 700; }
.info-row .tx p { margin: 0; font-size: 15px; }

.map-wrap { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); background: #eef3f0; }
.map-canvas { height: 420px; }
.map-fallback { display: flex; align-items: center; justify-content: center; min-height: 320px; background: linear-gradient(135deg, #eaf7ee, #dff0e6); }
.map-fallback > div { text-align: center; padding: 30px; }
.mf-pin { font-size: 40px; }
.mf-name { font-weight: 800; font-size: 18px; color: var(--brand-dark); margin-top: 6px; }
.mf-addr { color: var(--muted); margin-top: 4px; }
.map-btns { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 18px; justify-content: center; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .field.full { grid-column: 1 / -1; }
.field label { display: block; font-size: 13.5px; font-weight: 700; color: var(--muted); margin-bottom: 6px; transition: color .18s ease; }
.field:hover label { color: var(--brand-dark); }
.field input, .field textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px;
  font-family: inherit; font-size: 16px; color: var(--ink); background: #fff; resize: vertical;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease, background .18s ease;
}
/* 单个输入框只做边框/底色反馈，不做位移 */
.field input:hover, .field textarea:hover {
  border-color: #bfe3cb; background: #fbfff9; box-shadow: 0 6px 16px rgba(47,169,91,.10);
}
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--brand); background: #fff; box-shadow: 0 0 0 4px rgba(47,169,91,.16);
}
/* 悬停时“整个表单”上浮，而不是单个 input 动 */
#rfq-form {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); transition: transform .24s ease, box-shadow .24s ease;
}
#rfq-form:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.form-success { display: none; margin-top: 16px; padding: 14px 18px; border-radius: 12px; background: var(--brand-light); color: var(--brand-dark); font-weight: 600; }
.form-success .rfq-email { color: var(--accent-2); }
@media (max-width: 620px) { .form-grid { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--brand-dark); color: #eafaf0; padding: 60px 0 30px; }
/* 页脚品牌名默认是 --brand-dark（与页脚底色同色 = 看不见），这里强制提亮 */
.site-footer .brand .brand-name { color: #fff; }
.site-footer .brand .brand-sub { color: #c9e9d6; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; }
.footer-grid h4 { font-size: 15px; margin-bottom: 14px; color: #fff; }
.footer-grid a { display: block; color: #cfe9d8; padding: 5px 0; font-size: 14.5px; }
/* 段落内的行内链接（联系我们 · 地图导航）保持同一行 */
.footer-grid p a { display: inline; padding: 0; }
.footer-grid a:hover { color: #fff; }
.footer-grid p { color: #bfe0cb; font-size: 14px; }
.footer-bottom { display: flex; justify-content: flex-start; flex-wrap: wrap; gap: 8px; margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.16); font-size: 13px; color: #eafaf0; }
.footer-bottom [data-i18n="brand_name"] { color: #fff; font-weight: 700; }
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr; gap: 26px; } }

/* ---------- Responsive: tablet & mobile ---------- */
@media (max-width: 1024px) {
  .section { padding: 76px 0; }
}

@media (max-width: 860px) {
  /* Mobile header: brand left · language + hamburger right */
  .header-inner { gap: 10px; }
  .hamburger { display: flex; order: 3; margin-left: auto; flex: none; }
  /* 语言切换已移入 .main-nav，随折叠菜单一起收纳，不再占菜单栏空间 */
  .main-nav .lang-switch {
    margin-left: 0; margin-top: 10px; padding-top: 12px;
    border-top: 1px solid var(--line); justify-content: flex-start;
  }
  .main-nav .lang-switch button { font-size: 13px; padding: 7px 11px; }
  .main-nav {
    position: absolute; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 4px;
    background: rgba(255,253,247,.98); backdrop-filter: blur(14px);
    padding: 14px 22px; border-bottom: 1px solid var(--line);
    display: none; box-shadow: var(--shadow); z-index: 99;
  }
  .main-nav.open { display: flex; }
  .main-nav a { width: 100%; padding: 13px 14px; font-size: 16px; }
  /* 窄屏改单栏：文案在上、插画在下，居中呈现 */
  .hero-inner { grid-template-columns: 1fr; gap: 24px; }
  .hero-glow { width: 380px; height: 380px; right: -6%; top: 4%; }
}

@media (max-width: 720px) {
  :root { --gutter: 22px; }
  .section { padding: 64px 0; }
  .sec-head { margin-bottom: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 26px; }
  .vision-pillars > div { min-width: 130px; }
}

@media (max-width: 560px) {
  :root { --gutter: 26px; }
  .section { padding: 56px 0; }
  .brand-sub { display: none; }
  .site-header .brand-logo { width: min(240px, 56vw); }
  .site-footer .brand-logo { width: min(260px, 100%); }
  .hero-inner { padding: 28px var(--gutter); }
  .hero h1 { font-size: clamp(26px, 7.4vw, 38px); }
  .hero p { font-size: 15.5px; }
  .hero-glow { width: 300px; height: 300px; }
  .feature { gap: 22px; }
  .info-card { padding: 20px; }
  .map-canvas { height: 300px; }
  .map-fallback { min-height: 240px; }
  .eyebrow, .pill { font-size: 12px; padding: 5px 12px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 6px; }
}

@media (max-width: 380px) {
  .brand-name { font-size: 15px; }
  .hero h1 { font-size: 26px; }
  .lang-switch button { padding: 5px 6px; font-size: 11.5px; }
}

/* 横屏 / 矮视口：压缩首屏文字与插画，避免出现滚动条 */
@media (orientation: landscape) and (max-height: 600px) {
  .hero-inner { padding: 22px var(--gutter); gap: 20px; }
  .hero h1 { font-size: clamp(24px, 5.2vw, 34px); margin-bottom: 12px; }
  .hero p { font-size: 15px; margin-bottom: 18px; max-width: 520px; }
  .hero-glow { width: 240px; height: 240px; }
  .scroll-cue { display: none; }
}

/* ---------- Accessibility: respect reduced-motion ---------- */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .scroll-cue { animation: none; }
}
