/* ==========================================================
   湖南小与简智信息科技有限公司 官网样式
   参考风格：1200 通栏 / 顶部半透明导航 / 大图轮播 / 服务宫格
   主色：#0fa3c9（江蓝青）
   ========================================================== */

:root {
  --brand: #0fa3c9;
  --brand-deep: #0b83a3;
  --brand-dark: #076579;
  --brand-soft: #e6f6fa;
  --brand-line: #bfe3ee;

  --ink: #333333;
  --ink-2: #555555;
  --muted: #999999;
  --line: #e5e5e5;
  --soft: #f7f9fa;

  --wrap: 1200px;
  --hd-h: 130px;
}

* { 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-2);
  background: #fff;
  font-size: 14px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; border: 0; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
h1, h2, h3, h4 { color: var(--ink); font-weight: 700; line-height: 1.5; }

.wrap {
  width: var(--wrap);
  max-width: 100%;
  margin: 0 auto;
  padding: 0 15px;
}

/* ================= 顶部导航（浮于轮播之上） ================= */
.hd {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 1000;
}
.hd__bg {
  height: var(--hd-h);
  background: rgba(0, 0, 0, .55);
}
.hd__inner {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: var(--hd-h);
}
.hd__inner > .wrap {
  height: var(--hd-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo { display: flex; align-items: center; gap: 12px; }
.logo__mark {
  width: 52px; height: 52px;
  border-radius: 6px;
  display: grid; place-items: center;
  background: var(--brand);
  color: #fff;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0;
}
.logo__name {
  color: #fff;
  font-size: 23px;
  font-weight: 700;
  letter-spacing: 1px;
  line-height: 1.2;
}
.logo__en {
  display: block;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 3px;
  color: rgba(255, 255, 255, .65);
  line-height: 1.4;
}

.hd__right { display: flex; flex-direction: column; align-items: flex-end; gap: 16px; }
.hd__tel {
  color: rgba(255, 255, 255, .85);
  font-size: 13px;
  letter-spacing: .5px;
}
.hd__tel b { color: var(--brand); font-size: 16px; font-family: Arial, sans-serif; }

.nav { display: flex; }
.nav li { margin-left: 4px; }
.nav a {
  display: block;
  padding: 6px 20px;
  font-size: 15px;
  color: #fff;
  border-radius: 3px;
  transition: color .3s ease;
}
.nav a:hover { color: var(--brand); }
.nav li.on a { color: var(--brand); }
.nav li.on a::after {
  content: "";
  display: block;
  width: 22px; height: 2px;
  background: var(--brand);
  margin: 4px auto 0;
}

.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  border: 1px solid rgba(255, 255, 255, .4);
  border-radius: 4px;
  background: transparent;
  cursor: pointer;
  padding: 11px 9px;
}
.nav-toggle span {
  display: block; height: 2px; background: #fff; border-radius: 2px;
  transition: all .25s ease;
}
.nav-toggle span + span { margin-top: 5px; }

/* ================= 轮播 Banner ================= */
.banner { position: relative; height: 600px; overflow: hidden; background: #0d3b52; }
.banner--sm { height: 320px; }

.slide {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
  display: flex; align-items: center;
  background-size: cover;
  background-position: center;
}
.slide.on { opacity: 1; z-index: 2; }
.slide::after {
  content: "";
  position: absolute; inset: 0;
  background: rgba(6, 30, 45, .35);
}
.slide > .wrap { position: relative; z-index: 3; }

.slide h2 {
  color: #fff;
  font-size: 42px;
  font-weight: 700;
  letter-spacing: 2px;
  line-height: 1.4;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .3);
}
.slide h2 em { font-style: normal; color: var(--brand); }
.slide p {
  color: rgba(255, 255, 255, .85);
  font-size: 17px;
  margin: 20px 0 34px;
  max-width: 620px;
  letter-spacing: 1px;
}
.slide .slide__tag {
  display: inline-block;
  padding: 5px 14px;
  margin-bottom: 18px;
  border: 1px solid rgba(255, 255, 255, .45);
  border-radius: 999px;
  color: #fff;
  font-size: 13px;
  letter-spacing: 2px;
}

/* 三张轮播的渐变底图（无外部图片依赖） */
.s1 { background: linear-gradient(120deg, #0d2b3e 0%, #14506e 45%, #1f7fa8 100%); }
.s2 { background: linear-gradient(120deg, #0a2333 0%, #10536b 50%, #0fa3c9 100%); }
.s3 { background: linear-gradient(120deg, #062a33 0%, #0f6a70 45%, #35b9a8 100%); }
.s1::before, .s2::before, .s3::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 82% 22%, rgba(255, 255, 255, .16), transparent 45%),
    repeating-linear-gradient(115deg, rgba(255, 255, 255, .05) 0 2px, transparent 2px 26px);
}

.banner__dots {
  position: absolute;
  left: 0; right: 0; bottom: 36px;
  z-index: 5;
  display: flex; justify-content: center; gap: 10px;
}
.banner__dots i {
  width: 34px; height: 4px;
  background: rgba(255, 255, 255, .4);
  border-radius: 2px;
  cursor: pointer;
  transition: background .3s ease;
}
.banner__dots i.on { background: var(--brand); }

/* 内页头部 */
.pbanner { position: relative; height: 320px; overflow: hidden; }
.pbanner .slide { align-items: flex-end; }
.pbanner .slide.on::after { background: rgba(6, 30, 45, .45); }
.pbanner__text {
  position: relative;
  z-index: 3;
  text-align: center;
  padding-bottom: 56px;
}
.pbanner h1 {
  color: #fff;
  font-size: 38px;
  letter-spacing: 3px;
  font-weight: 700;
}
.pbanner p { color: rgba(255, 255, 255, .8); font-size: 15px; margin-top: 12px; letter-spacing: 1px; }
.crumb { font-size: 13px; color: rgba(255, 255, 255, .7); }
.crumb a:hover { color: var(--brand); }

/* ================= 通用版块 ================= */
.sec { padding: 70px 0; }
.sec--gray { background: var(--soft); }

.sec__head { text-align: center; margin-bottom: 46px; }
.sec__head h2 {
  font-size: 30px;
  letter-spacing: 2px;
  font-weight: 700;
}
.sec__head .line {
  width: 60px; height: 3px;
  background: var(--brand);
  margin: 16px auto 14px;
}
.sec__head p { color: var(--muted); font-size: 14px; letter-spacing: 1px; }

.btn {
  display: inline-block;
  padding: 0 34px;
  height: 46px;
  line-height: 46px;
  border-radius: 3px;
  font-size: 15px;
  letter-spacing: 1px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all .3s ease;
}
.btn--main { background: var(--brand); color: #fff; }
.btn--main:hover { background: var(--brand-deep); }
.btn--line { border-color: rgba(255, 255, 255, .6); color: #fff; }
.btn--line:hover { background: #fff; color: var(--brand-deep); border-color: #fff; }
.btn--ghost { border-color: var(--brand-line); color: var(--brand-deep); }
.btn--ghost:hover { background: var(--brand); color: #fff; border-color: var(--brand); }

/* ================= 服务宫格 ================= */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.cat {
  background: #fff;
  border: 1px solid var(--brand-line);
  overflow: hidden;
  transition: all .3s ease;
}
.cat:hover {
  border-color: #fff;
  box-shadow: 0 10px 30px rgba(15, 163, 201, .22);
  transform: translateY(-5px);
}
.cat__pic {
  height: 148px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #eaf8fe 0%, #d5eefb 100%);
  transition: background .3s ease;
}
.cat:hover .cat__pic { background: linear-gradient(135deg, #0fa3c9 0%, #0b83a3 100%); }
.cat__pic svg { width: 52px; height: 52px; color: var(--brand); transition: all .3s ease; }
.cat:hover .cat__pic svg { color: #fff; transform: scale(1.12); }

.cat__body { padding: 20px 18px 24px; text-align: center; }
.cat__title { font-size: 18px; color: var(--ink); letter-spacing: 1px; margin-bottom: 8px; }
.cat__desc { font-size: 13px; color: var(--muted); line-height: 1.8; }

/* ================= 优势（深底大图块） ================= */
.advantage {
  position: relative;
  padding: 72px 0;
  background: linear-gradient(120deg, #0f3d55 0%, #17657f 55%, #0fa3c9 100%);
  overflow: hidden;
}
.advantage::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 85% 15%, rgba(255, 255, 255, .15), transparent 40%),
    radial-gradient(circle at 10% 90%, rgba(255, 255, 255, .1), transparent 40%);
}
.advantage .wrap { position: relative; z-index: 2; }
.advantage .sec__head h2 { color: #fff; }
.advantage .sec__head p { color: rgba(255, 255, 255, .75); }
.advantage .sec__head .line { background: #fff; }

.adv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.adv {
  padding: 34px 30px;
  border: 1px solid rgba(255, 255, 255, .28);
  background: rgba(255, 255, 255, .06);
  transition: all .3s ease;
}
.adv:hover { background: rgba(255, 255, 255, .14); transform: translateY(-4px); }
.adv__no {
  font-family: Arial, sans-serif;
  font-size: 30px;
  font-weight: 700;
  color: rgba(255, 255, 255, .45);
  line-height: 1;
}
.adv h3 { color: #fff; font-size: 20px; margin: 14px 0 12px; letter-spacing: 1px; }
.adv p { color: rgba(255, 255, 255, .8); font-size: 14px; }

/* ================= 服务流程 ================= */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); }
.flow__item { position: relative; padding: 10px 26px; }
.flow__item + .flow__item::before {
  content: "";
  position: absolute;
  left: 0; top: 26px; bottom: 26px;
  width: 1px;
  background: var(--line);
}
.flow__no {
  width: 46px; height: 46px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--brand-soft);
  color: var(--brand-deep);
  font-family: Arial, sans-serif;
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 16px;
}
.flow__item h4 { font-size: 17px; margin-bottom: 8px; letter-spacing: 1px; }
.flow__item p { font-size: 13px; color: var(--muted); }

/* ================= 关于 / 双栏 ================= */
.split {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: center;
}
.split h2 { font-size: 28px; letter-spacing: 1px; margin-bottom: 18px; }
.split h2::after {
  content: "";
  display: block;
  width: 50px; height: 3px;
  background: var(--brand);
  margin-top: 14px;
}
.split p { font-size: 14px; color: var(--ink-2); margin-bottom: 14px; letter-spacing: .5px; }

.check-list { margin: 22px 0 30px; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; }
.check-list li::before {
  content: "✓";
  flex: 0 0 20px;
  width: 20px; height: 20px;
  margin-top: 4px;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand-deep);
  font-size: 11px;
  font-weight: 700;
  display: grid; place-items: center;
}

.about-box {
  background: linear-gradient(135deg, #eaf8fe, #f7f9fa);
  border: 1px solid var(--brand-line);
  padding: 34px;
}
.about-box h4 { font-size: 20px; margin-bottom: 10px; }
.about-box p { font-size: 13px; color: var(--muted); margin-bottom: 24px; }
.stat-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.stat {
  background: #fff;
  border: 1px solid var(--line);
  padding: 18px 14px;
  text-align: center;
}
.stat b {
  display: block;
  font-family: Arial, sans-serif;
  font-size: 28px;
  color: var(--brand-deep);
  line-height: 1.2;
}
.stat span { font-size: 12px; color: var(--muted); }

/* ================= 新闻 / 案例 ================= */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.news {
  border: 1px solid var(--line);
  background: #fff;
  transition: all .3s ease;
}
.news:hover { box-shadow: 0 10px 28px rgba(0, 0, 0, .08); transform: translateY(-4px); }
.news__pic {
  height: 130px;
  display: grid; place-items: center;
  color: #fff;
  font-size: 15px;
  letter-spacing: 2px;
}
.np1 { background: linear-gradient(135deg, #0fa3c9, #0b83a3); }
.np2 { background: linear-gradient(135deg, #1288a6, #0d4f63); }
.np3 { background: linear-gradient(135deg, #2aa39a, #0f6a70); }
.news__body { padding: 18px 20px 22px; }
.news__date { font-size: 12px; color: var(--muted); font-family: Arial, sans-serif; }
.news h4 { font-size: 16px; margin: 8px 0 10px; line-height: 1.6; }
.news p { font-size: 13px; color: var(--muted); }
.news:hover h4 { color: var(--brand-deep); }

/* ================= 发展历程 ================= */
.tl { position: relative; padding-left: 30px; }
.tl::before {
  content: "";
  position: absolute;
  left: 7px; top: 10px; bottom: 10px;
  width: 1px;
  background: var(--brand-line);
}
.tl__item { position: relative; padding-bottom: 28px; }
.tl__item::before {
  content: "";
  position: absolute;
  left: -30px; top: 7px;
  width: 15px; height: 15px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--brand);
}
.tl__item time {
  font-family: Arial, sans-serif;
  font-size: 13px;
  color: var(--brand-deep);
  font-weight: 700;
  letter-spacing: 1px;
}
.tl__item h4 { font-size: 17px; margin: 6px 0 6px; letter-spacing: 1px; }
.tl__item p { font-size: 13px; color: var(--muted); }

/* 资质 / 荣誉 */
.honor-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.honor {
  border: 1px solid var(--line);
  background: #fff;
  padding: 26px 22px;
  text-align: center;
  transition: all .3s ease;
}
.honor:hover { border-color: var(--brand); transform: translateY(-4px); }
.honor b { display: block; font-size: 16px; color: var(--ink); margin-bottom: 6px; letter-spacing: 1px; }
.honor span { font-size: 13px; color: var(--muted); }

/* ================= 联系 ================= */
.contact-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 40px; align-items: start; }
.info {
  border: 1px solid var(--line);
  background: #fff;
  padding: 30px 32px;
}
.info-list li {
  display: flex;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px dashed var(--line);
}
.info-list li:last-child { border-bottom: 0; }
.info-list .ic {
  flex: 0 0 42px;
  width: 42px; height: 42px;
  border-radius: 4px;
  background: var(--brand-soft);
  color: var(--brand-deep);
  display: grid; place-items: center;
}
.info-list .ic svg { width: 20px; height: 20px; }
.info-list b { display: block; font-size: 15px; color: var(--ink); }
.info-list span { font-size: 14px; color: var(--muted); }

.form { border: 1px solid var(--line); background: #fff; padding: 34px 36px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; color: var(--ink); margin-bottom: 7px; }
.field input, .field textarea, .field select {
  width: 100%;
  padding: 11px 14px;
  font-size: 14px;
  font-family: inherit;
  color: var(--ink);
  background: #fbfcfd;
  border: 1px solid var(--line);
  border-radius: 3px;
  outline: none;
  transition: all .25s ease;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--brand);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(15, 163, 201, .14);
}
.form__tip { font-size: 12px; color: var(--muted); margin-top: 10px; }

/* 地图占位 */
.map {
  margin-top: 26px;
  height: 220px;
  border: 1px solid var(--line);
  background:
    linear-gradient(rgba(15, 163, 201, .07), rgba(15, 163, 201, .07)),
    repeating-linear-gradient(0deg, #eef2f5 0 1px, transparent 1px 28px),
    repeating-linear-gradient(90deg, #eef2f5 0 1px, transparent 1px 28px);
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 13px;
}

/* ================= 底部 CTA ================= */
.cta-bar { background: var(--brand-soft); padding: 44px 0; }
.cta-bar__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-bar h3 { font-size: 24px; letter-spacing: 1px; }
.cta-bar p { color: var(--muted); font-size: 14px; margin-top: 6px; }

/* ================= 页脚 ================= */
.footer { background: #333333; padding: 50px 0 0; color: #999; }
.footer__grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr 1.3fr;
  gap: 36px;
  padding-bottom: 40px;
}
.footer h4 { color: #fff; font-size: 15px; margin-bottom: 18px; letter-spacing: 1px; font-weight: 700; }
.footer p { font-size: 13px; line-height: 1.9; }
.footer li { margin-bottom: 9px; font-size: 13px; }
.footer li a { color: #999; transition: color .3s ease; }
.footer li a:hover { color: var(--brand); }
.footer .logo { margin-bottom: 16px; }
.footer__tel { color: var(--brand); font-size: 20px; font-family: Arial, sans-serif; letter-spacing: 1px; }

.footer__bottom {
  border-top: 1px solid #444;
  padding: 20px 0 26px;
  font-size: 13px;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}
.footer__bottom a:hover { color: var(--brand); }
.footer__icp { display: flex; gap: 18px; flex-wrap: wrap; }

/* ================= 右侧悬浮 ================= */
.side {
  position: fixed;
  right: 0; top: 50%;
  transform: translateY(-50%);
  z-index: 900;
}
.side a, .side button {
  display: block;
  width: 44px; height: 44px;
  margin-bottom: 4px;
  background: #353535;
  border: 0;
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background .3s ease;
  font-size: 12px;
}
.side a:hover, .side button:hover { background: var(--brand); }
.side svg { width: 18px; height: 18px; }
.side__pop {
  position: absolute;
  right: 52px; top: 0;
  background: #fff;
  border: 1px solid var(--line);
  padding: 12px 18px;
  font-size: 14px;
  color: var(--ink);
  white-space: nowrap;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .12);
  display: none;
}
.side__item:hover .side__pop { display: block; }
.side__item { position: relative; }

/* ================= 提示条 ================= */
.toast {
  position: fixed;
  left: 50%; bottom: 60px;
  transform: translate(-50%, 16px);
  background: rgba(0, 0, 0, .82);
  color: #fff;
  padding: 12px 26px;
  border-radius: 3px;
  font-size: 14px;
  opacity: 0;
  pointer-events: none;
  transition: all .3s ease;
  z-index: 2000;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ================= 动画 ================= */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.in { opacity: 1; transform: none; }

/* ================= 响应式 ================= */
@media (max-width: 1180px) {
  .wrap { width: 100%; }
}
@media (max-width: 980px) {
  :root { --hd-h: 72px; }
  .hd__bg { height: 72px; background: rgba(0, 0, 0, .82); }
  .hd__inner { height: 72px; }
  .hd__inner > .wrap { height: 72px; }
  .hd__tel { display: none; }
  .nav {
    position: absolute;
    top: 72px; left: 0; right: 0;
    flex-direction: column;
    background: rgba(0, 0, 0, .92);
    padding: 8px 0 14px;
    display: none;
  }
  .nav.open { display: flex; }
  .nav li { margin: 0; }
  .nav a { padding: 12px 22px; }
  .nav li.on a::after { display: none; }
  .nav-toggle { display: block; }
  .banner { height: 460px; }
  .banner--sm, .pbanner { height: 260px; }
  .slide h2 { font-size: 28px; }
  .slide p { font-size: 15px; }
  .pbanner h1 { font-size: 26px; }
  .pbanner__text { padding-bottom: 40px; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .adv-grid, .news-grid { grid-template-columns: 1fr; }
  .flow { grid-template-columns: repeat(2, 1fr); }
  .flow__item + .flow__item::before { display: none; }
  .split, .contact-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .side { display: none; }
}
@media (max-width: 560px) {
  .cat-grid { grid-template-columns: 1fr; }
  .flow { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: 1fr 1fr; }
  .form, .info { padding: 24px 20px; }
  .sec { padding: 46px 0; }
}
