/* =====================================================================
   四川省电械模科技有限责任公司 - 企业官网公共样式
   设计方向：工业精密 + 稳重信赖
   主色：深蓝 / 钢灰 / 金色（机械工业点缀），浅色背景为主
   字体：Saira / Saira Condensed（标题，工业工程感）+ Noto Sans SC（中文正文）
   ===================================================================== */

/* ---------- 1. 设计变量 ---------- */
:root {
  /* 主色 - 深蓝（稳重、工业、信赖） */
  --primary: #37485a;
  --primary-light: #4a5f75;
  --primary-dark: #2a3847;

  /* 强调色 - 主色浅调 */
  --accent: #6b7f93;
  --accent-light: #8a9cad;
  --accent-warm: #8a9cad;

  /* 钢灰系 */
  --steel: #5e6d7c;
  --steel-light: #8a9cad;
  --steel-darker: #3d4c5a;

  /* 背景 - logo 米白色系（提亮，避免雾感） */
  --bg: #f3efe8;
  --bg-elevated: #faf8f5;
  --bg-soft: #e8e3da;

  /* 文字 */
  --text: #2a3847;
  --text-muted: #5e6d7c;
  --text-inverse: #f2eee8;

  /* 边框 / 分隔 */
  --border: #d5cdc1;
  --border-strong: #bbb4a9;

  /* 状态色 */
  --danger: #c0392b;
  --danger-bg: #fdecea;
  --success: #2a7a4a;
  --success-bg: #e8f4ec;

  /* 阴影 */
  --shadow-sm: 0 1px 2px rgba(42, 56, 71, 0.05), 0 1px 3px rgba(42, 56, 71, 0.03);
  --shadow-md: 0 4px 12px rgba(42, 56, 71, 0.06), 0 2px 6px rgba(42, 56, 71, 0.04);
  --shadow-lg: 0 18px 40px rgba(42, 56, 71, 0.09), 0 6px 14px rgba(42, 56, 71, 0.05);

  /* 圆角 */
  --radius-sm: 4px;
  --radius: 8px;
  --radius-lg: 14px;

  /* 间距节奏 */
  --container: 1200px;
  --nav-h: 72px;

  /* 过渡 */
  --t-fast: 0.18s ease;
  --t: 0.28s cubic-bezier(0.4, 0, 0.2, 1);

  /* 字体栈 */
  --font-display: "Saira Condensed", "Saira", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  --font-head: "Saira", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  --font-body: "Noto Sans SC", "Saira", "Microsoft YaHei", "PingFang SC", sans-serif;
}

/* ---------- 2. 基础重置 ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--nav-h) + 12px);
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--t-fast);
}

ul,
ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

/* ---------- 3. 排版 ---------- */
h1,
h2,
h3,
h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.2;
  color: var(--primary);
  letter-spacing: 0.01em;
}

h1 {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
}

h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
}

h3 {
  font-size: 1.3rem;
}

p {
  color: var(--text);
}

/* 小标题标签（工业/编辑风：大写字母 + 细线） */
.eyebrow,
.section__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
}

.eyebrow::before,
.section__eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--accent);
  display: inline-block;
}

/* ---------- 4. 布局工具 ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

.page {
  min-height: 100vh;
}

.section {
  padding: 72px 0;
}

.section--tight {
  padding: 48px 0;
}

.section--alt {
  background: var(--bg-soft);
}

.section__head {
  max-width: 720px;
  margin-bottom: 40px;
}

.section__title {
  margin-top: 12px;
  margin-bottom: 14px;
}

.section__desc {
  color: var(--text-muted);
  font-size: 1.02rem;
}

.section__placeholder {
  color: var(--text-muted);
  padding: 48px 24px;
  text-align: center;
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius);
  background: var(--bg-elevated);
}

.text-center {
  text-align: center;
}

.grid {
  display: grid;
  gap: 28px;
}

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

.grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

/* ---------- 5. 导航栏 ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--t), border-color var(--t);
}

/* 滚动后增加阴影与边框 */
.navbar.is-scrolled {
  box-shadow: var(--shadow-md);
}

.navbar__inner {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* 品牌（logo + 简称） */
.navbar__brand {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.navbar__logo {
  height: 52px;
  width: auto;
  object-fit: contain;
}

.navbar__brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.navbar__brand-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--primary);
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.navbar__brand-sub {
  font-family: var(--font-head);
  font-size: 0.66rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--steel);
}

/* 菜单 */
.navbar__menu {
  display: flex;
  align-items: center;
  gap: 4px;
}

.navbar__link {
  position: relative;
  padding: 8px 16px;
  font-size: 0.96rem;
  font-weight: 500;
  color: var(--text);
  border-radius: var(--radius-sm);
  transition: color var(--t-fast), background var(--t-fast);
}

.navbar__link:hover {
  color: var(--primary);
  background: var(--bg-soft);
}

/* 当前页高亮：底部金色短线 */
.navbar__link.is-active {
  color: var(--primary);
  font-weight: 600;
}

.navbar__link.is-active::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 2px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

/* CTA 按钮（导航栏右侧） */
.navbar__cta {
  margin-left: 8px;
}

/* 汉堡按钮（移动端） */
.navbar__toggle {
  display: none;
  width: 44px;
  height: 44px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  border-radius: var(--radius-sm);
}

.navbar__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--primary);
  transition: transform var(--t), opacity var(--t-fast);
}

.navbar__toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.navbar__toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.navbar__toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* 遮罩（移动端菜单展开时） */
.navbar__overlay {
  display: none;
  position: fixed;
  inset: var(--nav-h) 0 0 0;
  background: rgba(42, 56, 71, 0.45);
  z-index: 999;
  opacity: 0;
  transition: opacity var(--t);
}

.navbar__overlay.is-visible {
  display: block;
  opacity: 1;
}

/* ---------- 6. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 26px;
  font-family: var(--font-head);
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  border-radius: var(--radius-sm);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform var(--t-fast), box-shadow var(--t-fast),
    background var(--t-fast), color var(--t-fast), border-color var(--t-fast);
  white-space: nowrap;
  line-height: 1.2;
}

.btn:active {
  transform: translateY(1px);
}

/* 主按钮：深蓝实心 */
.btn--primary {
  background: var(--primary);
  color: var(--text-inverse);
  box-shadow: 0 6px 16px rgba(55, 72, 90, 0.22);
}

.btn--primary:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(55, 72, 90, 0.28);
}

/* 次按钮：描边 */
.btn--ghost {
  background: transparent;
  color: var(--text-inverse);
  border-color: rgba(242, 238, 232, 0.5);
}

.btn--ghost:hover {
  background: rgba(242, 238, 232, 0.1);
  border-color: var(--text-inverse);
  transform: translateY(-2px);
}

.btn--outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--border-strong);
}

.btn--outline:hover {
  border-color: var(--primary);
  background: var(--bg-soft);
  transform: translateY(-2px);
}

/* 强调按钮：金色 */
.btn--accent {
  background: var(--accent);
  color: var(--primary-dark);
  box-shadow: 0 6px 16px rgba(107, 127, 147, 0.3);
}

.btn--accent:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(107, 127, 147, 0.38);
}

.btn--sm {
  padding: 8px 18px;
  font-size: 0.88rem;
}

.btn--block {
  width: 100%;
}

/* ---------- 7. 卡片 ---------- */
.card {
  position: relative;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
  overflow: hidden;
}

/* 顶部装饰条（金色/蓝色） */
.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--primary));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.card:hover::before {
  transform: scaleX(1);
}

.card__icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: var(--bg-soft);
  color: var(--primary);
  margin-bottom: 18px;
  font-size: 1.5rem;
}

.card__title {
  font-size: 1.18rem;
  margin-bottom: 10px;
}

.card__text {
  color: var(--text-muted);
  font-size: 0.96rem;
}

/* 卡片网格hover联动微调 */
.grid .card {
  height: 100%;
}

/* ---------- 8. 表单 ---------- */
.form {
  display: grid;
  gap: 18px;
}

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

.form__group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form__label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
}

.form__label .req {
  color: var(--danger);
  margin-left: 2px;
}

.form__control {
  width: 100%;
  padding: 12px 14px;
  background: var(--bg-elevated);
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-sm);
  color: var(--text);
  transition: border-color var(--t-fast), box-shadow var(--t-fast),
    background var(--t-fast);
}

.form__control::placeholder {
  color: var(--steel-light);
}

.form__control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(55, 72, 90, 0.12);
}

textarea.form__control {
  resize: vertical;
  min-height: 120px;
}

/* 错误态 */
.form__group.is-error .form__control {
  border-color: var(--danger);
  background: var(--danger-bg);
}

.form__group.is-error .form__control:focus {
  box-shadow: 0 0 0 3px rgba(192, 57, 43, 0.15);
}

.form__error {
  font-size: 0.82rem;
  color: var(--danger);
  min-height: 1em;
}

.form__hint {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* 成功提示 */
.form__alert {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
}

.form__alert--success {
  background: var(--success-bg);
  color: var(--success);
  border: 1px solid #c8e0d0;
}

.form__alert--error {
  background: var(--danger-bg);
  color: var(--danger);
  border: 1px solid #e8cfcb;
}

/* ---------- 9. 时间线（发展历程） ---------- */
.timeline {
  position: relative;
  padding-left: 32px;
}

/* 竖直连线 */
.timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: linear-gradient(var(--accent), var(--border-strong));
}

.timeline__item {
  position: relative;
  padding-bottom: 36px;
}

.timeline__item:last-child {
  padding-bottom: 0;
}

/* 节点圆点 */
.timeline__item::before {
  content: "";
  position: absolute;
  left: -32px;
  top: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--bg-elevated);
  border: 3px solid var(--accent);
  box-shadow: 0 0 0 4px var(--bg);
}

.timeline__date {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--accent);
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}

.timeline__title {
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.timeline__text {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ---------- 10. 页脚 ---------- */
.footer {
  background: var(--primary-dark);
  color: var(--text-inverse);
  padding-top: 56px;
  position: relative;
}

/* 顶部金色细线装饰 */
.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--primary-light) 60%, transparent);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 40px;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.footer__logo {
  height: 40px;
  width: auto;
  /* 深色页脚上为 logo 加白色圆角芯片底衬，
     兼容白底 JPEG / 透明 SVG，避免出现白块或不可见元素 */
  background: var(--bg-elevated);
  padding: 5px 7px;
  border-radius: 6px;
  box-sizing: content-box;
}

.footer__brand-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text-inverse);
}

.footer__about {
  color: rgba(242, 238, 232, 0.72);
  font-size: 0.92rem;
  line-height: 1.75;
  max-width: 360px;
}

.footer__col-title {
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 18px;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__link {
  color: rgba(242, 238, 232, 0.75);
  font-size: 0.94rem;
  transition: color var(--t-fast), padding-left var(--t-fast);
}

.footer__link:hover {
  color: var(--text-inverse);
  padding-left: 6px;
}

.footer__contact {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer__contact-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: rgba(242, 238, 232, 0.78);
  font-size: 0.92rem;
  line-height: 1.6;
}

.footer__contact-label {
  color: var(--accent-light);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 2px;
}

.footer__contact-icon {
  flex-shrink: 0;
  width: 20px;
  color: var(--accent);
  margin-top: 2px;
}

.footer__bottom {
  border-top: 1px solid rgba(242, 238, 232, 0.1);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.84rem;
  color: rgba(242, 238, 232, 0.78);
}

.footer__bottom a {
  color: rgba(242, 238, 232, 0.82);
}

.footer__bottom a:hover {
  color: var(--text-inverse);
}

.footer__beian-wrap {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
  flex-wrap: nowrap;
}

.footer__beian {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.footer__beian img {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

/* ---------- 11. Hero 区 ---------- */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 55%, var(--primary-light) 100%);
  color: var(--text-inverse);
  overflow: hidden;
  padding-top: var(--nav-h);
}

/* 工业网格线条装饰（蓝图感） */
.hero__grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(107, 127, 147, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(107, 127, 147, 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
}

/* 右下角大号齿轮轮廓装饰 */
.hero::after {
  content: "";
  position: absolute;
  right: -120px;
  bottom: -120px;
  width: 420px;
  height: 420px;
  border: 2px solid rgba(107, 127, 147, 0.16);
  border-radius: 50%;
  background: radial-gradient(circle, transparent 55%, rgba(107, 127, 147, 0.05) 56%, transparent 58%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 2;
  padding: 80px 0;
  max-width: 760px;
}

.hero__eyebrow {
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 22px;
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
}

.hero__eyebrow::before {
  content: "";
  width: 36px;
  height: 2px;
  background: var(--accent);
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  line-height: 1.05;
  color: var(--text-inverse);
  margin-bottom: 24px;
  letter-spacing: 0.01em;
}

.hero__subtitle {
  font-size: 1.08rem;
  line-height: 1.85;
  color: rgba(242, 238, 232, 0.82);
  max-width: 620px;
  margin-bottom: 36px;
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ---------- 12. 内页头部 ---------- */
.page-head {
  position: relative;
  padding: calc(var(--nav-h) + 56px) 0 48px;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: var(--text-inverse);
  overflow: hidden;
}

.page-head::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(242, 238, 232, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(242, 238, 232, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, transparent, #000 40%, transparent);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 40%, transparent);
  pointer-events: none;
}

.page-head .container {
  position: relative;
  z-index: 2;
}

.page-head__eyebrow {
  font-family: var(--font-head);
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
}

.page-head__eyebrow::before {
  content: "";
  width: 32px;
  height: 2px;
  background: var(--accent);
}

.page-head__title {
  font-family: var(--font-display);
  color: var(--text-inverse);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  margin-bottom: 14px;
}

.page-head__desc {
  color: rgba(242, 238, 232, 0.82);
  font-size: 1.04rem;
  max-width: 640px;
}

/* ---------- 13. 动效（淡入上浮） ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  animation: reveal-up 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: calc(var(--i, 0) * 0.12s);
}

@keyframes reveal-up {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 尊重用户的减少动效偏好 */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ---------- 14. 响应式 ---------- */

/* 平板（<=1024px） */
@media (max-width: 1024px) {
  .grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid--3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .footer__col--brand {
    grid-column: 1 / -1;
  }
}

/* 手机（<=768px） */
@media (max-width: 768px) {
  :root {
    --nav-h: 64px;
  }

  .section {
    padding: 56px 0;
  }

  .container {
    padding-inline: 18px;
  }

  /* 移动端汉堡菜单 */
  .navbar__toggle {
    display: flex;
  }

  .navbar__menu {
    position: fixed;
    top: var(--nav-h);
    right: 0;
    width: 78%;
    max-width: 320px;
    height: calc(100vh - var(--nav-h));
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: var(--bg-elevated);
    box-shadow: var(--shadow-lg);
    padding: 20px 18px;
    transform: translateX(100%);
    transition: transform var(--t);
    z-index: 1001;
    overflow-y: auto;
  }

  .navbar__menu.is-open {
    transform: translateX(0);
  }

  .navbar__link {
    padding: 14px 16px;
    font-size: 1.02rem;
    border-radius: var(--radius);
  }

  .navbar__link.is-active::after {
    display: none;
  }

  .navbar__link.is-active {
    background: var(--bg-soft);
  }

  .navbar__cta {
    margin-left: 0;
    margin-top: 12px;
  }

  .grid--2,
  .grid--3,
  .grid--4 {
    grid-template-columns: 1fr;
  }

  .form__row {
    grid-template-columns: 1fr;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .hero {
    min-height: 80vh;
  }

  .hero__inner {
    padding: 60px 0;
  }

  .hero__actions .btn {
    flex: 1 1 auto;
  }
}

/* 小屏手机（<=480px） */
@media (max-width: 480px) {
  body {
    font-size: 15px;
  }

  .navbar__brand-sub {
    display: none;
  }

  .navbar__brand-name {
    font-size: 0.95rem;
  }

  .navbar__logo {
    height: 40px;
  }

  .section {
    padding: 44px 0;
  }

  .hero__title {
    font-size: 2.2rem;
  }

  .btn {
    padding: 11px 20px;
    font-size: 0.92rem;
  }

  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }
}
