/* ===== 鸿运来税务官网 - 样式 ===== */
:root {
  --primary: #f97316;
  --primary-dark: #ea580c;
  --primary-light: #fff7ed;
  --text: #1f2937;
  --text-light: #6b7280;
  --bg: #ffffff;
  --bg-alt: #f9fafb;
  --border: #e5e7eb;
  --radius: 12px;
  --shadow: 0 4px 16px rgba(0,0,0,.06);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

.container { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

/* ===== 按钮 ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 26px; border-radius: 999px; font-size: 16px; font-weight: 600;
  transition: all .2s; cursor: pointer; border: none; white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); box-shadow: 0 6px 18px rgba(249,115,22,.35); }
.btn-ghost { background: rgba(255,255,255,.18); color: #fff; border: 1px solid rgba(255,255,255,.4); }
.btn-ghost:hover { background: rgba(255,255,255,.28); }

/* ===== 导航 ===== */
.navbar {
  position: sticky; top: 0; z-index: 100;
  background: #fff; border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; align-items: center; gap: 24px; height: 64px; }
.nav-logo { display: flex; align-items: center; gap: 8px; }
.logo-diamond {
  width: 30px; height: 26px; background: var(--primary);
  clip-path: polygon(50% 0%, 100% 25%, 82% 100%, 18% 100%, 0% 25%);
  display: inline-block;
}
.logo-diamond-lg { width: 44px; height: 38px; }
.logo-text { font-size: 22px; font-weight: 800; font-family: "STKaiti","KaiTi",serif; color: var(--primary); }
.logo-sub { font-size: 13px; color: var(--text-light); border-left: 1px solid var(--border); padding-left: 8px; }
.nav-menu { display: flex; gap: 22px; margin-left: auto; }
.nav-menu a { font-size: 15px; color: var(--text); padding: 6px 2px; border-bottom: 2px solid transparent; }
.nav-menu a:hover { color: var(--primary); border-bottom-color: var(--primary); }
.nav-phone { font-weight: 700; color: var(--primary); font-size: 16px; }
.nav-toggle { display: none; background: none; border: none; font-size: 24px; color: var(--text); cursor: pointer; }

/* ===== Hero ===== */
.hero {
  background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 55%, #fed7aa 100%);
  padding: 60px 0 70px;
}
.hero-inner { display: flex; align-items: center; gap: 48px; }
.hero-image-wrap { flex: 0 0 46%; }
.hero-image-wrap img {
  width: 100%; border-radius: var(--radius);
  box-shadow: var(--shadow); background: #fff;
}
.hero-content { flex: 1; }
.hero-badge {
  display: inline-block; background: rgba(249,115,22,.12); color: var(--primary-dark);
  padding: 5px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; margin-bottom: 16px;
}
.hero-title { font-size: 38px; font-weight: 800; line-height: 1.3; margin-bottom: 14px; color: var(--text); }
.hero-subtitle { font-size: 17px; color: var(--text-light); margin-bottom: 28px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ===== 区块通用 ===== */
.section { padding: 64px 0; }
.section-alt { background: var(--bg-alt); }
.section-orange { background: linear-gradient(135deg, #f97316, #ea580c); }
.section-orange .section-title { color: #fff; }
.section-orange .section-subtitle { color: rgba(255,255,255,.85); }
.section-title { text-align: center; font-size: 30px; font-weight: 800; margin-bottom: 12px; }
.section-subtitle { text-align: center; color: var(--text-light); margin-bottom: 36px; }

/* ===== 服务介绍 ===== */
.main-card {
  background: linear-gradient(135deg, #fff7ed, #ffedd5);
  border: 1px solid #fed7aa; border-radius: var(--radius);
  padding: 32px 36px; margin-bottom: 24px;
}
.main-card h3 { font-size: 22px; font-weight: 800; color: var(--primary-dark); margin-bottom: 12px; }
.main-card p { color: var(--text); font-size: 15.5px; }

.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card-grid-4 { grid-template-columns: repeat(4, 1fr); }

.info-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px 22px; transition: all .25s; box-shadow: var(--shadow);
}
.info-card:hover { transform: translateY(-4px); box-shadow: 0 10px 26px rgba(0,0,0,.1); }
.card-icon {
  width: 46px; height: 46px; border-radius: 12px;
  background: var(--primary-light); color: var(--primary);
  display: flex; align-items: center; justify-content: center; margin-bottom: 14px;
}
.card-icon svg { width: 24px; height: 24px; }
.info-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.info-card p { font-size: 14px; color: var(--text-light); }

/* ===== 办理流程 ===== */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step-card {
  background: rgba(255,255,255,.95); border-radius: var(--radius);
  padding: 24px 20px; text-align: center; position: relative;
}
.step-num {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--primary); color: #fff; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 12px; font-size: 17px;
}
.step-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.step-card p { font-size: 13.5px; color: var(--text-light); }
.step-note { margin-top: 8px; font-size: 12.5px; color: var(--primary-dark); font-weight: 600; }

/* ===== 成功案例 ===== */
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.case-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow);
}
.case-images { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px; background: #f3f4f6; }
.case-images img { width: 100%; aspect-ratio: 9/16; object-fit: cover; cursor: zoom-in; transition: opacity .2s; }
.case-images img:hover { opacity: .85; }
.case-body { padding: 18px 20px 22px; }
.case-body h3 { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.case-body p { font-size: 13.5px; color: var(--text-light); }

/* ===== 资质展示 ===== */
.cert-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cert-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow); transition: transform .25s;
}
.cert-card:hover { transform: translateY(-4px); }
.cert-card img { width: 100%; aspect-ratio: 4/3; object-fit: contain; background: #f9fafb; cursor: zoom-in; }
.cert-body { padding: 14px 16px 18px; text-align: center; }
.cert-body h3 { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.cert-body p { font-size: 12.5px; color: var(--text-light); }

/* ===== 联系我们 ===== */
.contact-card {
  background: #fff; border: 1px solid var(--border); border-radius: 16px;
  box-shadow: var(--shadow); padding: 40px 32px; text-align: center; max-width: 720px; margin: 0 auto;
}
.contact-brand { display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 18px; }
.contact-brand-name { font-size: 30px; font-weight: 800; font-family: "STKaiti","KaiTi",serif; color: var(--primary); }
.contact-brand-sub { font-size: 14px; color: var(--text-light); border-left: 1px solid var(--border); padding-left: 12px; }
.contact-intro { font-size: 15px; color: var(--text); margin-bottom: 4px; }
.contact-btns { display: flex; justify-content: center; gap: 16px; margin: 26px 0 32px; flex-wrap: wrap; }
.worktime { border-top: 1px dashed var(--border); padding-top: 26px; }
.worktime h4 { font-size: 16px; font-weight: 700; margin-bottom: 16px; color: var(--text); }
.worktime-grid { display: flex; justify-content: center; gap: 60px; flex-wrap: wrap; }
.worktime-label { font-size: 15px; font-weight: 700; color: var(--primary-dark); margin-bottom: 8px; }
.worktime-item { display: flex; justify-content: space-between; gap: 20px; font-size: 14px; color: var(--text); padding: 3px 0; }
.worktime-item span:first-child { color: var(--text-light); }

/* ===== 底部 ===== */
.footer { background: #111827; color: #9ca3af; padding: 26px 0; text-align: center; font-size: 13px; }
.footer-inner { display: flex; flex-direction: column; gap: 6px; }

/* ===== 图片放大 ===== */
.lightbox {
  position: fixed; inset: 0; background: rgba(0,0,0,.88); z-index: 999;
  display: flex; align-items: center; justify-content: center; padding: 24px; cursor: zoom-out;
}
.lightbox img { max-width: 100%; max-height: 92vh; border-radius: 8px; }
.lightbox-close {
  position: absolute; top: 18px; right: 24px; background: none; border: none;
  color: #fff; font-size: 42px; cursor: pointer; line-height: 1;
}

/* ===== 响应式 ===== */
@media (max-width: 900px) {
  .hero-title { font-size: 30px; }
  .card-grid, .card-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .case-grid, .cert-grid, .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .nav-menu { display: none; position: absolute; top: 64px; left: 0; right: 0; background: #fff; flex-direction: column; padding: 12px 20px; border-bottom: 1px solid var(--border); }
  .nav-menu.open { display: flex; }
  .nav-phone { display: none; }
  .nav-toggle { display: block; margin-left: auto; }
  .hero { padding: 36px 0 44px; }
  .hero-inner { flex-direction: column; gap: 28px; }
  .hero-image-wrap { flex: none; width: 100%; }
  .hero-title { font-size: 26px; }
  .hero-subtitle { font-size: 15px; }
  .section { padding: 48px 0; }
  .section-title { font-size: 24px; }
  .card-grid, .card-grid-4, .case-grid, .cert-grid, .steps { grid-template-columns: 1fr; }
  .main-card { padding: 24px 20px; }
  .contact-card { padding: 30px 20px; }
  .worktime-grid { gap: 30px; }
  .contact-btns { flex-direction: column; align-items: center; }
  .btn { width: 100%; max-width: 320px; }
  /* 移动端正文字号调大，提升可读性 */
  .main-card p { font-size: 16px; }
  .info-card p, .step-card p, .case-body p, .contact-intro { font-size: 15px; }
  .cert-body p { font-size: 13.5px; }
  .step-note { font-size: 13px; }
}
