/* =========================================================
   铜陵大舅母电子商务有限公司 · 企业官网
   设计系统：稳重墨蓝 + 克制古铜金 / 留白充足 / 编辑式极简
   ========================================================= */

:root {
  /* 色彩 */
  --ink: #15263e;          /* 主墨蓝（深、稳重） */
  --navy: #21395c;         /* 次级蓝 */
  --navy-soft: #35507a;
  --bg: #ffffff;
  --bg-soft: #f5f7f9;      /* 极浅冷灰 */
  --bg-warm: #f3efe8;      /* 暖纸色，用于强调区块 */
  --accent: #b07a3c;       /* 克制古铜金 */
  --accent-soft: #c9a063;
  --accent-tint: #f6efe3;
  --text: #1b2530;
  --muted: #5c6675;
  --line: #e4e8ec;
  --line-strong: #d3d9df;

  /* 字体 */
  --font-sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
    "Source Han Sans SC", "Noto Sans SC", system-ui, -apple-system,
    "Segoe UI", Roboto, sans-serif;
  --font-serif: "Songti SC", "STSong", Georgia, "Times New Roman", serif;

  /* 尺度 */
  --maxw: 1200px;
  --maxw-narrow: 980px;
  --r: 14px;
  --r-lg: 22px;
  --gap: clamp(1rem, 2.5vw, 2rem);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --shadow-sm: 0 1px 2px rgba(21, 38, 62, 0.06);
  --shadow: 0 18px 40px -24px rgba(21, 38, 62, 0.28);
  --shadow-lg: 0 30px 70px -34px rgba(21, 38, 62, 0.4);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--bg);
  line-height: 1.75;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  margin: 0;
  color: var(--ink);
  line-height: 1.18;
  font-weight: 700;
  letter-spacing: -0.01em;
}

p { margin: 0; }

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

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

ul { margin: 0; padding: 0; list-style: none; }

/* ---------- 布局容器 ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 3rem);
}

.container--narrow { max-width: var(--maxw-narrow); }

.section {
  padding-block: clamp(4rem, 9vw, 7.5rem);
}

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

/* ---------- 标签 / 小标题 ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--accent);
  display: inline-block;
}

.section-head { max-width: 720px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head h2 {
  font-size: clamp(1.7rem, 4vw, 2.7rem);
  margin-top: 1rem;
}
.section-head p {
  color: var(--muted);
  font-size: 1.05rem;
  margin-top: 1.1rem;
}
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }

/* ---------- 按钮 ---------- */
.btn {
  --b: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.35s var(--ease), background 0.3s var(--ease),
    color 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn--primary {
  background: var(--ink);
  color: #fff;
}
.btn--primary:hover { background: var(--navy-soft); box-shadow: var(--shadow); }

.btn--accent {
  background: var(--accent);
  color: #fff;
}
.btn--accent:hover { background: #9a682f; box-shadow: var(--shadow); }

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn--ghost:hover { border-color: var(--ink); background: rgba(21,38,62,0.03); }

.btn--light {
  background: #fff;
  color: var(--ink);
}
.btn--light:hover { background: #f1f3f6; }

.btn--lg { padding: 1rem 2rem; font-size: 1rem; }

/* ---------- 顶部导航 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand { display: flex; align-items: center; gap: 0.7rem; }
.brand__mark {
  width: 38px; height: 38px;
  flex: none;
}
.brand__name { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name b { font-size: 1.02rem; color: var(--ink); letter-spacing: 0.01em; }
.brand__name span {
  font-family: var(--font-serif);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  color: var(--accent);
  text-transform: uppercase;
}

.nav__links { display: flex; align-items: center; gap: 0.4rem; }
.nav__links a {
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.25s, background 0.25s;
}
.nav__links a:hover { color: var(--ink); background: rgba(21,38,62,0.04); }
.nav__links a.is-active { color: var(--ink); font-weight: 600; }

.nav__actions { display: flex; align-items: center; gap: 0.75rem; }
.nav__toggle {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav__toggle span,
.nav__toggle span::before,
.nav__toggle span::after {
  content: "";
  display: block;
  width: 18px; height: 2px;
  background: var(--ink);
  position: relative;
  transition: transform 0.3s var(--ease), opacity 0.2s;
}
.nav__toggle span::before { position: absolute; top: -6px; }
.nav__toggle span::after { position: absolute; top: 6px; }

/* 移动抽屉 */
.mobile-menu {
  position: fixed;
  inset: 72px 0 0 0;
  background: #fff;
  z-index: 49;
  padding: 1.5rem clamp(1.25rem, 5vw, 3rem) 3rem;
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  transform: translateY(-8px);
  opacity: 0;
  transition: opacity 0.3s, transform 0.3s;
}
.mobile-menu.is-open { display: flex; opacity: 1; transform: none; }
.mobile-menu a {
  padding: 1rem 0.25rem;
  font-size: 1.15rem;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  font-weight: 500;
}
.mobile-menu a.is-active { color: var(--accent); }
.mobile-menu .btn { margin-top: 1.5rem; }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1200px 600px at 78% -10%, rgba(176,122,60,0.10), transparent 60%),
    linear-gradient(180deg, #fbfcfe 0%, #ffffff 100%);
  border-bottom: 1px solid var(--line);
}
.hero__inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  padding-block: clamp(3.5rem, 8vw, 6.5rem);
}
.hero__copy { max-width: 580px; }
.hero h1 {
  font-size: clamp(2.2rem, 5.4vw, 3.7rem);
  margin-top: 1.25rem;
  letter-spacing: -0.02em;
}
.hero h1 em {
  font-style: normal;
  color: var(--accent);
}
.hero__lead {
  color: var(--muted);
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  margin-top: 1.4rem;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2.2rem; }
.hero__visual {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--r-lg);
  background: linear-gradient(160deg, var(--ink), var(--navy) 70%, #2f4f7a);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  display: grid;
  place-items: center;
}
.hero__visual svg { width: 100%; height: 100%; }

/* 数据信任条 */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
}
.stat {
  background: #fff;
  padding: clamp(1.4rem, 3vw, 2.2rem);
  text-align: center;
}
.stat__num {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 2.9rem);
  color: var(--ink);
  line-height: 1;
  font-weight: 700;
}
.stat__num span { color: var(--accent); }
.stat__label { color: var(--muted); font-size: 0.92rem; margin-top: 0.6rem; }

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

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: clamp(1.6rem, 3vw, 2.2rem);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease),
    border-color 0.4s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line-strong); }

.card__icon {
  width: 50px; height: 50px;
  border-radius: 13px;
  background: var(--accent-tint);
  color: var(--accent);
  display: grid;
  place-items: center;
  margin-bottom: 1.2rem;
}
.card__icon svg { width: 26px; height: 26px; }
.card h3 { font-size: 1.18rem; }
.card p { color: var(--muted); margin-top: 0.7rem; font-size: 0.97rem; }
.card__more {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.2rem;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.92rem;
}
.card__more svg { width: 16px; height: 16px; transition: transform 0.3s var(--ease); }
.card:hover .card__more svg { transform: translateX(4px); }

/* 功能列表（带勾） */
.feature-list li {
  display: flex;
  gap: 0.8rem;
  padding: 0.7rem 0;
  border-bottom: 1px dashed var(--line);
  color: var(--text);
}
.feature-list li:last-child { border-bottom: 0; }
.feature-list .tick {
  flex: none;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--accent-tint);
  color: var(--accent);
  display: grid; place-items: center;
  margin-top: 3px;
}
.feature-list .tick svg { width: 13px; height: 13px; }

/* ---------- 关于页 ---------- */
.lede {
  font-size: clamp(1.15rem, 2.4vw, 1.5rem);
  line-height: 1.7;
  color: var(--ink);
  font-weight: 500;
  max-width: 820px;
}
.lede em { font-style: normal; color: var(--accent); }

.prose { color: var(--muted); font-size: 1.05rem; }
.prose p + p { margin-top: 1.1rem; }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.value-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 1.8rem;
}
.value-card .num {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--accent);
}
.value-card h3 { font-size: 1.1rem; margin-top: 0.4rem; }
.value-card p { color: var(--muted); margin-top: 0.6rem; font-size: 0.95rem; }

/* 团队 */
.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); }
.member {
  text-align: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 2rem 1.4rem;
}
.member__avatar {
  width: 84px; height: 84px;
  margin: 0 auto 1.1rem;
  border-radius: 50%;
  background: linear-gradient(150deg, var(--navy), var(--navy-soft));
  color: #fff;
  display: grid; place-items: center;
  font-family: var(--font-serif);
  font-size: 1.7rem;
  letter-spacing: 0.02em;
}
.member h3 { font-size: 1.05rem; }
.member__role { color: var(--accent); font-size: 0.88rem; font-weight: 600; margin-top: 0.35rem; }
.member p { color: var(--muted); font-size: 0.9rem; margin-top: 0.7rem; }

/* 时间线 */
.timeline { display: grid; gap: 0; }
.tl-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 1.5rem;
  padding: 1.4rem 0;
  border-top: 1px solid var(--line);
}
.tl-item:last-child { border-bottom: 1px solid var(--line); }
.tl-year {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--ink);
  font-weight: 700;
}
.tl-item h3 { font-size: 1.05rem; }
.tl-item p { color: var(--muted); margin-top: 0.4rem; font-size: 0.95rem; }

/* ---------- 服务页详细 ---------- */
.service {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 1.5rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(1.6rem, 3vw, 2.4rem);
  transition: box-shadow 0.4s var(--ease), transform 0.4s var(--ease);
}
.service:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.service__idx {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--accent);
  font-weight: 700;
}
.service h3 { font-size: 1.25rem; }
.service__desc { color: var(--muted); margin-top: 0.6rem; font-size: 0.98rem; }
.service__tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.1rem; }
.tag {
  font-size: 0.8rem;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  background: var(--bg-soft);
  color: var(--navy);
  border: 1px solid var(--line);
}

/* 流程 */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); counter-reset: step; }
.step {
  position: relative;
  padding-top: 3.2rem;
  border-top: 2px solid var(--accent);
}
.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: 0; left: 0;
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: var(--accent);
  font-weight: 700;
}
.step h3 { font-size: 1.1rem; }
.step p { color: var(--muted); margin-top: 0.5rem; font-size: 0.94rem; }

/* ---------- 联系页 ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.info-list li {
  display: flex;
  gap: 1rem;
  padding: 1.2rem 0;
  border-bottom: 1px solid var(--line);
}
.info-list li:last-child { border-bottom: 0; }
.info-list .ic {
  flex: none;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--accent-tint);
  color: var(--accent);
  display: grid; place-items: center;
}
.info-list .ic svg { width: 22px; height: 22px; }
.info-list h4 { font-size: 0.85rem; color: var(--muted); font-weight: 600; letter-spacing: 0.04em; }
.info-list p { color: var(--ink); font-size: 1.02rem; margin-top: 0.2rem; }
.info-list a:hover { color: var(--accent); }

/* 表单 */
.form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(1.6rem, 3.5vw, 2.6rem);
  box-shadow: var(--shadow-sm);
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { margin-bottom: 1.1rem; }
.field label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.45rem;
}
.field label .req { color: var(--accent); }
.field input,
.field textarea,
.field select {
  width: 100%;
  font: inherit;
  color: var(--text);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.8rem 1rem;
  transition: border-color 0.25s, background 0.25s, box-shadow 0.25s;
}
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--accent);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(176,122,60,0.12);
}
.field textarea { resize: vertical; min-height: 130px; }
.field .err {
  display: none;
  color: #c0392b;
  font-size: 0.82rem;
  margin-top: 0.35rem;
}
.field.has-error input,
.field.has-error textarea { border-color: #c0392b; background: #fff5f4; }
.field.has-error .err { display: block; }

.form__success {
  display: none;
  text-align: center;
  padding: 2.5rem 1rem;
}
.form__success.is-visible { display: block; }
.form__success .check {
  width: 64px; height: 64px;
  margin: 0 auto 1.2rem;
  border-radius: 50%;
  background: var(--accent-tint);
  color: var(--accent);
  display: grid; place-items: center;
}
.form__success .check svg { width: 32px; height: 32px; }
.form__success h3 { font-size: 1.4rem; }
.form__success p { color: var(--muted); margin-top: 0.6rem; }

/* ---------- CTA 区块 ---------- */
.cta {
  background: linear-gradient(160deg, var(--ink), var(--navy) 75%);
  color: #fff;
  border-radius: var(--r-lg);
  padding: clamp(2.5rem, 6vw, 4.5rem);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta::after {
  content: "";
  position: absolute;
  right: -80px; top: -80px;
  width: 280px; height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(176,122,60,0.35), transparent 70%);
}
.cta h2 { color: #fff; font-size: clamp(1.7rem, 4vw, 2.6rem); }
.cta p { color: rgba(255,255,255,0.78); margin-top: 1rem; font-size: 1.05rem; }
.cta__actions { display: flex; gap: 0.9rem; justify-content: center; flex-wrap: wrap; margin-top: 2rem; }

/* 页面横幅（内页） */
.page-hero {
  background:
    radial-gradient(900px 400px at 85% -20%, rgba(176,122,60,0.12), transparent 60%),
    linear-gradient(180deg, #fbfcfe, #fff);
  border-bottom: 1px solid var(--line);
  padding-block: clamp(3rem, 7vw, 5rem);
}
.page-hero h1 { font-size: clamp(2rem, 5vw, 3.2rem); margin-top: 1rem; }
.page-hero p { color: var(--muted); margin-top: 1.1rem; font-size: 1.08rem; max-width: 640px; }
.breadcrumb {
  display: flex; gap: 0.5rem; align-items: center;
  font-size: 0.85rem; color: var(--muted);
}
.breadcrumb a:hover { color: var(--accent); }

/* ---------- 页脚 ---------- */
.site-footer {
  background: var(--ink);
  color: #c6d0dc;
  padding-block: clamp(3rem, 6vw, 4.5rem) 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: clamp(1.5rem, 4vw, 3rem);
}
.footer-brand .brand__name b { color: #fff; }
.footer-brand .brand__name span { color: var(--accent-soft); }
.footer-brand p { color: #98a6b8; margin-top: 1.1rem; font-size: 0.95rem; max-width: 320px; }
.footer-col h4 { color: #fff; font-size: 0.95rem; margin-bottom: 1rem; letter-spacing: 0.02em; }
.footer-col a, .footer-col p { display: block; color: #98a6b8; font-size: 0.95rem; padding: 0.35rem 0; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  margin-top: clamp(2rem, 4vw, 3rem);
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.8rem;
  font-size: 0.85rem;
  color: #8a98aa;
}

/* ---------- 滚动揭示动画 ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }
.reveal[data-delay="4"] { transition-delay: 0.32s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- 响应式 ---------- */
@media (max-width: 980px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { order: -1; max-width: 460px; }
  .grid-4, .team, .steps { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .nav__links, .nav__actions .btn { display: none; }
  .nav__toggle { display: inline-flex; }
  .grid-2, .grid-3, .split { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .tl-item { grid-template-columns: 80px 1fr; gap: 1rem; }
  .service { grid-template-columns: 1fr; }
  .service__idx { font-size: 1.2rem; }
}

@media (max-width: 520px) {
  .grid-4, .team, .steps, .stats { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta__actions .btn { width: 100%; }
}
