/* ============================================================
   湖南省潇湘三人行企业管理有限公司 企业官网样式
   风格参考：zrtg-group.com（红色企业风）
   ============================================================ */

:root {
  --primary: #d61318;          /* 主色 企业红 */
  --primary-dark: #a90f13;     /* 深红 hover */
  --dark: #1f1f24;             /* 深色背景 */
  --ink: #2a2a2e;              /* 主文字 */
  --muted: #7a7a82;            /* 次级文字 */
  --line: #ececef;             /* 分隔线 */
  --bg-soft: #f6f7f9;          /* 浅灰板块 */
  --white: #ffffff;
  --wrap: 1200px;
  --radius: 10px;
  --shadow: 0 8px 28px rgba(20, 20, 30, .08);
  --shadow-h: 0 14px 38px rgba(214, 19, 24, .18);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB",
    "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.7;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; transition: color .2s; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }

/* ---------- 顶部条 ---------- */
.topbar {
  background: var(--dark);
  color: #cfcfd6;
  font-size: 13px;
}
.topbar .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 40px;
}
.topbar a:hover { color: var(--primary); }
.topbar .tb-left i { color: var(--primary); margin-right: 6px; font-style: normal; }
.topbar .tb-right span { margin-left: 18px; }

/* ---------- 头部 / 导航 ---------- */
.header {
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 2px 14px rgba(0, 0, 0, .06);
}
.header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.logo { display: flex; align-items: center; gap: 12px; }
.logo .mark {
  width: 44px; height: 44px; border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), #ff5a4d);
  color: #fff; font-weight: 800; font-size: 20px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-h);
}
.logo .name { font-size: 19px; font-weight: 800; letter-spacing: .5px; }
.logo .name b { color: var(--primary); }
.logo .sub { font-size: 11px; color: var(--muted); letter-spacing: 2px; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  position: relative;
  padding: 10px 18px;
  font-size: 15px;
  color: var(--ink);
  font-weight: 600;
  border-radius: 8px;
}
.nav a::after {
  content: "";
  position: absolute; left: 18px; right: 18px; bottom: 4px;
  height: 3px; border-radius: 3px;
  background: var(--primary);
  transform: scaleX(0);
  transition: transform .25s;
}
.nav a:hover, .nav a.active { color: var(--primary); }
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); }

.nav-toggle {
  display: none;
  font-size: 26px; color: var(--ink);
  background: none; border: 0; cursor: pointer;
}

/* ---------- Banner ---------- */
.banner {
  position: relative;
  background:
    radial-gradient(1200px 500px at 80% -10%, rgba(255,90,77,.55), transparent 60%),
    linear-gradient(120deg, #b30f14 0%, #d61318 45%, #8c0a0e 100%);
  color: #fff;
  overflow: hidden;
}
.banner::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(circle at 70% 30%, #000, transparent 75%);
}
.banner .wrap {
  position: relative;
  padding: 92px 20px 104px;
  display: grid;
  grid-template-columns: 1.25fr .9fr;
  gap: 40px;
  align-items: center;
}
.banner .eyebrow {
  display: inline-block;
  background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.35);
  padding: 6px 16px; border-radius: 999px;
  font-size: 13px; letter-spacing: 1px; margin-bottom: 22px;
}
.banner h1 {
  font-size: 44px; line-height: 1.25; font-weight: 800;
  margin-bottom: 20px;
}
.banner h1 .hl { color: #ffd24d; }
.banner p.lead {
  font-size: 17px; color: rgba(255,255,255,.92);
  max-width: 540px; margin-bottom: 34px;
}
.banner .btns { display: flex; gap: 16px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px; border-radius: 999px;
  font-weight: 700; font-size: 15px; cursor: pointer;
  transition: transform .2s, box-shadow .2s, background .2s;
}
.btn-primary { background: #fff; color: var(--primary); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(0,0,0,.25); }
.btn-ghost { background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.5); }
.btn-ghost:hover { background: rgba(255,255,255,.22); transform: translateY(-3px); }

/* Banner 右侧卡片 */
.banner-card {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 16px;
  padding: 28px;
  backdrop-filter: blur(4px);
}
.banner-card h3 { font-size: 17px; margin-bottom: 16px; }
.banner-card .row { display: flex; justify-content: space-between; padding: 11px 0; border-bottom: 1px dashed rgba(255,255,255,.25); font-size: 14px; }
.banner-card .row:last-child { border-bottom: 0; }
.banner-card .row b { color: #ffd24d; }

/* ---------- 内页 Hero ---------- */
.hero {
  background:
    radial-gradient(900px 360px at 85% -20%, rgba(255,90,77,.5), transparent 60%),
    linear-gradient(120deg, #b30f14, #d61318 70%);
  color: #fff; padding: 56px 0 60px;
}
.hero .crumb { font-size: 13px; opacity: .85; margin-bottom: 12px; }
.hero .crumb a:hover { color: #ffd24d; }
.hero h1 { font-size: 34px; font-weight: 800; letter-spacing: 1px; }
.hero p { color: rgba(255,255,255,.92); margin-top: 10px; max-width: 640px; }

/* ---------- 通用板块 ---------- */
.section { padding: 78px 0; }
.section.soft { background: var(--bg-soft); }
.section-title {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 48px;
}
.section-title .kicker {
  color: var(--primary); font-weight: 700; letter-spacing: 3px;
  font-size: 13px; text-transform: uppercase;
}
.section-title h2 {
  font-size: 32px; font-weight: 800; margin: 10px 0 12px;
  position: relative; display: inline-block;
}
.section-title h2::after {
  content: ""; display: block; width: 56px; height: 4px;
  background: var(--primary); border-radius: 4px;
  margin: 14px auto 0;
}
.section-title p { color: var(--muted); font-size: 15px; }

/* ---------- 关于摘要（首页） ---------- */
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center;
}
.about-text h2 { font-size: 30px; font-weight: 800; margin-bottom: 18px; }
.about-text h2 .hl { color: var(--primary); }
.about-text p { color: #555; margin-bottom: 16px; }
.about-text .tags { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 28px; }
.about-text .tags span {
  background: #fff; border: 1px solid var(--line);
  padding: 7px 16px; border-radius: 999px; font-size: 13px; color: #555;
}
.about-figure {
  position: relative; border-radius: 16px; overflow: hidden;
  background: linear-gradient(135deg, #2a2a32, #44444f);
  min-height: 340px; box-shadow: var(--shadow);
  display: flex; align-items: center; justify-content: center;
}
.about-figure .deco {
  position: absolute; inset: 0;
  background:
    radial-gradient(380px 300px at 20% 20%, rgba(214,19,24,.5), transparent 60%),
    radial-gradient(300px 240px at 85% 80%, rgba(255,210,77,.35), transparent 60%);
}
.about-figure .big {
  position: relative; color: #fff; text-align: center; padding: 30px;
}
.about-figure .big .y { font-size: 64px; font-weight: 800; color: #ffd24d; line-height: 1; }
.about-figure .big small { display: block; letter-spacing: 4px; margin-top: 8px; opacity: .85; }

/* ---------- 业务卡片 ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 32px 28px;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card .ico {
  width: 56px; height: 56px; border-radius: 14px;
  background: linear-gradient(135deg, #ffe3e3, #ffd0cf);
  color: var(--primary); font-size: 26px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.card h3 { font-size: 18px; margin-bottom: 10px; }
.card p { color: #666; font-size: 14px; }
.card .more { display: inline-block; margin-top: 14px; color: var(--primary); font-weight: 700; font-size: 14px; }

/* 业务（首页）两列特色行 */
.feature-row {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; margin-top: 26px;
}
.feature {
  display: flex; gap: 18px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px; transition: transform .2s, box-shadow .2s;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature .num {
  flex: 0 0 52px; height: 52px; border-radius: 12px;
  background: var(--primary); color: #fff; font-weight: 800; font-size: 20px;
  display: flex; align-items: center; justify-content: center;
}
.feature h4 { font-size: 16px; margin-bottom: 6px; }
.feature p { font-size: 13px; color: #666; }

/* ---------- 数据条 ---------- */
.stats { background: var(--dark); color: #fff; }
.stats .wrap {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  padding: 56px 20px;
}
.stat { text-align: center; }
.stat .n { font-size: 46px; font-weight: 800; color: #ffd24d; line-height: 1; }
.stat .n .u { font-size: 22px; margin-left: 4px; }
.stat .l { margin-top: 10px; color: #c9c9d2; font-size: 14px; letter-spacing: 1px; }

/* ---------- 流程 ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.step {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 24px; position: relative; text-align: center;
}
.step .idx {
  width: 46px; height: 46px; margin: 0 auto 14px; border-radius: 50%;
  background: var(--bg-soft); color: var(--primary); font-weight: 800; font-size: 18px;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--primary);
}
.step h4 { font-size: 16px; margin-bottom: 8px; }
.step p { font-size: 13px; color: #666; }

/* ---------- 新闻 ---------- */
.news { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.news-item {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: transform .25s, box-shadow .25s;
}
.news-item:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.news-item .cover {
  height: 168px;
  background: linear-gradient(135deg, #2a2a32, #4a4a57);
  position: relative; display: flex; align-items: center; justify-content: center;
}
.news-item .cover span { color: #ffd24d; font-size: 30px; font-weight: 800; opacity: .9; }
.news-item .cover .date {
  position: absolute; left: 16px; bottom: 16px; background: var(--primary);
  color: #fff; font-size: 12px; padding: 4px 12px; border-radius: 999px;
}
.news-item .body { padding: 22px; }
.news-item .body h3 { font-size: 16px; margin-bottom: 10px; line-height: 1.5; }
.news-item .body h3:hover { color: var(--primary); }
.news-item .body p { font-size: 13px; color: #777; }
.news-item .body .more { display: inline-block; margin-top: 12px; color: var(--primary); font-weight: 700; font-size: 13px; }

/* ---------- 合作伙伴 ---------- */
.partners { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.partner {
  height: 76px; border: 1px solid var(--line); border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: #9a9aa2; font-weight: 700; letter-spacing: 1px; background: #fff;
  transition: color .2s, border-color .2s;
}
.partner:hover { color: var(--primary); border-color: var(--primary); }

/* ---------- 时间轴（关于页） ---------- */
.timeline { position: relative; padding-left: 30px; }
.timeline::before {
  content: ""; position: absolute; left: 7px; top: 6px; bottom: 6px;
  width: 3px; background: var(--line);
}
.tl-item { position: relative; padding: 0 0 34px 28px; }
.tl-item::before {
  content: ""; position: absolute; left: -26px; top: 6px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--primary); border: 3px solid #fff; box-shadow: 0 0 0 3px var(--line);
}
.tl-item .yr { color: var(--primary); font-weight: 800; font-size: 16px; }
.tl-item h4 { font-size: 17px; margin: 4px 0 6px; }
.tl-item p { color: #666; font-size: 14px; }

/* ---------- 价值观 ---------- */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.value {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; text-align: center;
}
.value .ico { font-size: 32px; margin-bottom: 12px; }
.value h3 { font-size: 18px; margin-bottom: 10px; }
.value p { font-size: 14px; color: #666; }

/* ---------- 业务详情（services） ---------- */
.svc {
  display: grid; grid-template-columns: 320px 1fr; gap: 40px;
  align-items: center; padding: 44px 0; border-bottom: 1px solid var(--line);
}
.svc:last-child { border-bottom: 0; }
.svc .svc-ico {
  height: 220px; border-radius: 16px;
  background: linear-gradient(135deg, #b30f14, #d61318);
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-size: 60px; box-shadow: var(--shadow);
}
.svc h3 { font-size: 24px; margin-bottom: 12px; }
.svc h3 .tag { font-size: 12px; color: var(--primary); border: 1px solid var(--primary); padding: 2px 10px; border-radius: 999px; margin-left: 10px; vertical-align: middle; }
.svc p { color: #555; margin-bottom: 16px; }
.svc ul.points { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 26px; }
.svc ul.points li { position: relative; padding-left: 22px; color: #555; font-size: 14px; }
.svc ul.points li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  color: var(--primary); font-weight: 800;
}
.svc.reverse .svc-ico { order: 2; }

/* ---------- 联系页 ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.contact-info .ci {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 18px 0; border-bottom: 1px solid var(--line);
}
.contact-info .ci .ic {
  flex: 0 0 46px; height: 46px; border-radius: 12px;
  background: #ffe3e3; color: var(--primary); font-size: 20px;
  display: flex; align-items: center; justify-content: center;
}
.contact-info .ci h4 { font-size: 15px; margin-bottom: 2px; }
.contact-info .ci p { color: #666; font-size: 14px; }
.map {
  height: 240px; border-radius: var(--radius); overflow: hidden;
  background:
    linear-gradient(rgba(214,19,24,.06), rgba(214,19,24,.06)),
    repeating-linear-gradient(0deg, #eef1f4 0 38px, #e7eaee 38px 39px),
    repeating-linear-gradient(90deg, #eef1f4 0 38px, #e7eaee 38px 39px);
  position: relative; display: flex; align-items: center; justify-content: center;
  color: #9a9aa2; margin-top: 20px;
}
.map .pin {
  position: absolute; width: 18px; height: 18px; border-radius: 50%;
  background: var(--primary); box-shadow: 0 0 0 8px rgba(214,19,24,.18);
}
.form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }
.form h3 { font-size: 20px; margin-bottom: 18px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; color: #555; margin-bottom: 6px; }
.field input, .field textarea, .field select {
  width: 100%; padding: 11px 14px; border: 1px solid var(--line);
  border-radius: 8px; font-size: 14px; font-family: inherit; color: var(--ink);
  background: #fbfbfc;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--primary); background: #fff;
}
.field textarea { resize: vertical; min-height: 110px; }
.form .btn-primary { width: 100%; justify-content: center; border: 0; }
.form .note { font-size: 12px; color: var(--muted); margin-top: 10px; text-align: center; }

/* ---------- 页脚 ---------- */
.footer { background: var(--dark); color: #c9c9d2; padding: 56px 0 0; }
.footer .cols {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px;
  padding-bottom: 40px;
}
.footer .f-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer .f-logo .mark {
  width: 40px; height: 40px; border-radius: 9px;
  background: linear-gradient(135deg, var(--primary), #ff5a4d);
  color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center;
}
.footer .f-logo b { color: #fff; font-size: 17px; }
.footer p.desc { font-size: 13px; line-height: 1.8; color: #a9a9b4; }
.footer h4 { color: #fff; font-size: 15px; margin-bottom: 16px; }
.footer ul li { margin-bottom: 10px; font-size: 13px; }
.footer ul li a:hover { color: var(--primary); }
.footer .contact-line { font-size: 13px; margin-bottom: 8px; }
.footer .contact-line b { color: #fff; }
.footer .bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  text-align: center; padding: 18px 0; font-size: 12px; color: #8c8c98;
}
.footer .bottom a { color: var(--primary); }

/* ---------- 返回顶部 ---------- */
.totop {
  position: fixed; right: 22px; bottom: 22px;
  width: 46px; height: 46px; border-radius: 12px;
  background: var(--primary); color: #fff; font-size: 20px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; box-shadow: var(--shadow-h); opacity: 0; pointer-events: none;
  transition: opacity .3s, transform .2s; z-index: 60;
}
.totop.show { opacity: 1; pointer-events: auto; }
.totop:hover { transform: translateY(-3px); }

/* ---------- 响应式 ---------- */
@media (max-width: 980px) {
  .banner .wrap { grid-template-columns: 1fr; }
  .banner-card { display: none; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 30px; }
  .cards, .news, .values { grid-template-columns: repeat(2, 1fr); }
  .feature-row { grid-template-columns: 1fr; }
  .stats .wrap { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .partners { grid-template-columns: repeat(3, 1fr); }
  .svc { grid-template-columns: 1fr; }
  .svc .svc-ico { height: 160px; }
  .svc.reverse .svc-ico { order: 0; }
  .footer .cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav {
    position: absolute; top: 76px; left: 0; right: 0;
    background: #fff; flex-direction: column; align-items: stretch;
    padding: 10px 20px; box-shadow: var(--shadow);
    display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 8px; }
  .nav a::after { display: none; }
  .nav-toggle { display: block; }
  .topbar .tb-left { display: none; }
  .banner h1 { font-size: 32px; }
  .banner .wrap { padding: 64px 20px 72px; }
  .section { padding: 54px 0; }
  .section-title h2 { font-size: 26px; }
  .cards, .news, .values, .stats .wrap, .steps, .partners { grid-template-columns: 1fr; }
  .svc ul.points { grid-template-columns: 1fr; }
  .footer .cols { grid-template-columns: 1fr; }
}

/* 联系页：公司地址 / 在线留言 两个版块居中卡片 */
.contact-grid { display: flex; flex-direction: column; align-items: center; gap: 30px; max-width: 760px; margin: 0 auto; }
.contact-info { width: 100%; max-width: 560px; text-align: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.contact-info .ci { flex-direction: column; align-items: center; text-align: center; border-bottom: none; padding: 10px 0; }
.contact-info .ci .ic { margin-bottom: 6px; }
.contact-info .map { width: 100%; margin-top: 16px; }
.form { width: 100%; max-width: 560px; text-align: center; }
.form .field label { text-align: center; }
.form input, .form textarea, .form select { text-align: center; }
.form .note { text-align: center; }
