/* ============================================================
   北京赛杰世纪科技有限公司 - 夏普打印机/复印机租赁官网
   全站样式  style.css
   ============================================================ */
:root {
  --red: #c8102e;          /* 夏普红 主色 */
  --red-dark: #a30d26;
  --red-light: #fdf2f4;
  --dark: #1f2937;
  --gray: #6b7280;
  --line: #e5e7eb;
  --bg: #f7f7f9;
  --white: #ffffff;
  --radius: 10px;
  --shadow: 0 4px 18px rgba(31, 41, 55, .08);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "PingFang SC", "Microsoft YaHei", "Segoe UI", Arial, sans-serif;
  color: var(--dark);
  background: var(--white);
  line-height: 1.7;
  font-size: 15px;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
.container { width: 92%; max-width: 1200px; margin: 0 auto; }

/* ---------- 顶部信息条 ---------- */
.topbar {
  background: var(--dark);
  color: #d1d5db;
  font-size: 13px;
  padding: 7px 0;
}
.topbar .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px; }
.topbar b { color: #fff; font-weight: 600; }

/* ---------- 导航 ---------- */
.header {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 999;
  box-shadow: 0 1px 6px rgba(0,0,0,.04);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo-mark {
  width: 42px; height: 42px; border-radius: 8px;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  color: #fff; font-weight: 700; font-size: 20px;
  display: flex; align-items: center; justify-content: center;
  letter-spacing: 0;
}
.logo-text .cn { font-size: 19px; font-weight: 700; letter-spacing: 1px; }
.logo-text .en { font-size: 11px; color: var(--gray); letter-spacing: .5px; }
.nav-links { display: flex; gap: 6px; }
.nav-links a {
  padding: 8px 16px; border-radius: 6px; font-size: 15px; font-weight: 500;
  transition: .2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--red); background: var(--red-light); }
.nav-phone {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--red); color: #fff; font-weight: 700;
  padding: 9px 20px; border-radius: 999px; font-size: 15px;
  transition: .2s; white-space: nowrap;
}
.nav-phone:hover { background: var(--red-dark); }

/* ---------- 面包屑 ---------- */
.crumb { background: var(--bg); border-bottom: 1px solid var(--line); padding: 14px 0; font-size: 13.5px; color: var(--gray); }
.crumb a:hover { color: var(--red); }

/* ---------- 页面大标题 ---------- */
.page-banner {
  background: linear-gradient(rgba(30,35,45,.78), rgba(30,35,45,.78)),
              url("images/hero-office.png") center/cover no-repeat;
  color: #fff; text-align: center; padding: 70px 0 66px;
}
.page-banner h1 { font-size: 32px; letter-spacing: 2px; }
.page-banner p { color: #e5e7eb; margin-top: 10px; font-size: 15px; }

/* ---------- 通用板块 ---------- */
.section { padding: 66px 0; }
.section.alt { background: var(--bg); }
.sec-head { text-align: center; margin-bottom: 44px; }
.sec-head .tag {
  display: inline-block; color: var(--red); font-weight: 600; font-size: 14px;
  letter-spacing: 3px; margin-bottom: 8px;
}
.sec-head h2 { font-size: 30px; letter-spacing: 1px; }
.sec-head .sub { color: var(--gray); margin-top: 10px; font-size: 15px; }
.sec-head .bar { width: 46px; height: 4px; background: var(--red); margin: 16px auto 0; border-radius: 2px; }

/* ---------- 轮播 Banner ---------- */
.hero { position: relative; overflow: hidden; }
.slides { display: flex; transition: transform .6s ease; }
.slide {
  min-width: 100%; height: 520px; position: relative;
  display: flex; align-items: center;
  background-size: cover; background-position: center;
}
.slide::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(20,24,32,.72) 0%, rgba(20,24,32,.35) 60%, rgba(20,24,32,.15) 100%);
}
.slide-inner { position: relative; z-index: 2; color: #fff; width: 92%; max-width: 1200px; margin: 0 auto; }
.slide-inner .s-tag {
  display: inline-block; background: var(--red); padding: 5px 16px;
  font-size: 13.5px; border-radius: 4px; letter-spacing: 2px; margin-bottom: 18px;
}
.slide-inner h1 { font-size: 40px; line-height: 1.35; letter-spacing: 1px; text-shadow: 0 2px 8px rgba(0,0,0,.3); }
.slide-inner h1 em { color: #ffd7dd; font-style: normal; }
.slide-inner p { margin: 16px 0 30px; font-size: 17px; color: #f3f4f6; max-width: 640px; }
.slide-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-block; padding: 12px 34px; border-radius: 6px; font-weight: 600;
  font-size: 15.5px; transition: .2s; border: 2px solid transparent; cursor: pointer;
}
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-dark); }
.btn-ghost { border-color: rgba(255,255,255,.7); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.15); }
.hero-dots { position: absolute; bottom: 22px; left: 0; right: 0; text-align: center; z-index: 5; }
.hero-dots span {
  display: inline-block; width: 26px; height: 4px; background: rgba(255,255,255,.45);
  margin: 0 5px; border-radius: 2px; cursor: pointer; transition: .25s;
}
.hero-dots span.on { background: #fff; width: 40px; }

/* ---------- 核心优势 ---------- */
.adv-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.adv-card {
  background: var(--white); border-radius: var(--radius); padding: 34px 26px;
  box-shadow: var(--shadow); border-top: 3px solid transparent; transition: .25s;
}
.adv-card:hover { transform: translateY(-6px); border-top-color: var(--red); }
.adv-icon {
  width: 58px; height: 58px; border-radius: 14px; background: var(--red-light);
  display: flex; align-items: center; justify-content: center; font-size: 28px; margin-bottom: 18px;
}
.adv-card h3 { font-size: 18px; margin-bottom: 10px; }
.adv-card p { color: var(--gray); font-size: 14px; }

/* ---------- 产品卡片 ---------- */
.pd-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.pd-grid.two { grid-template-columns: repeat(2, 1fr); }
.pd-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: .25s; display: flex; flex-direction: column;
}
.pd-card:hover { box-shadow: 0 10px 28px rgba(0,0,0,.12); transform: translateY(-5px); }
.pd-img { height: 250px; overflow: hidden; background: #fff; border-bottom: 1px solid var(--line); }
.pd-img img { width: 100%; height: 100%; object-fit: cover; }
.pd-body { padding: 24px 22px; flex: 1; display: flex; flex-direction: column; }
.pd-body h3 { font-size: 19px; margin-bottom: 8px; }
.pd-body .model { color: var(--red); font-size: 13.5px; font-weight: 600; margin-bottom: 10px; }
.pd-body p { color: var(--gray); font-size: 14px; flex: 1; }
.pd-tags { margin: 12px 0 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.pd-tags span {
  font-size: 12.5px; color: var(--dark); background: var(--bg);
  border: 1px solid var(--line); padding: 3px 10px; border-radius: 999px;
}
.pd-price { display: flex; justify-content: space-between; align-items: center; margin-top: auto; }
.pd-price .p { color: var(--red); font-size: 22px; font-weight: 700; }
.pd-price .p small { font-size: 13px; font-weight: 400; color: var(--gray); }
.pd-price a {
  background: var(--red); color: #fff; padding: 8px 20px; border-radius: 6px; font-size: 14px; transition: .2s;
}
.pd-price a:hover { background: var(--red-dark); }

/* ---------- 套餐表格 ---------- */
.plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.plan-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 28px; position: relative; transition: .25s;
}
.plan-card.hot { border: 2px solid var(--red); box-shadow: 0 12px 30px rgba(200,16,46,.12); }
.plan-card .hot-tag {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--red); color: #fff; font-size: 13px; padding: 4px 18px; border-radius: 999px;
}
.plan-card h3 { font-size: 20px; text-align: center; }
.plan-card .for { text-align: center; color: var(--gray); font-size: 13.5px; margin: 6px 0 18px; }
.plan-price { text-align: center; border-bottom: 1px dashed var(--line); padding-bottom: 18px; margin-bottom: 18px; }
.plan-price .num { font-size: 38px; font-weight: 800; color: var(--red); }
.plan-price .unit { font-size: 14px; color: var(--gray); }
.plan-card ul li {
  padding: 8px 0 8px 26px; position: relative; font-size: 14.5px; color: #374151;
}
.plan-card ul li::before {
  content: "✓"; position: absolute; left: 2px; color: var(--red); font-weight: 700;
}

/* ---------- 服务流程 ---------- */
.steps { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.step { text-align: center; position: relative; }
.step .no {
  width: 56px; height: 56px; border-radius: 50%; margin: 0 auto 14px;
  background: var(--red); color: #fff; font-size: 22px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 16px rgba(200,16,46,.28);
}
.step h4 { font-size: 15.5px; margin-bottom: 6px; }
.step p { font-size: 13px; color: var(--gray); }
.step::after {
  content: "›"; position: absolute; top: 14px; right: -12px; font-size: 26px; color: #d1d5db;
}
.step:last-child::after { display: none; }

/* ---------- 数据条 ---------- */
.stats { background: linear-gradient(135deg, var(--red-dark), var(--red)); color: #fff; }
.stats .container { display: grid; grid-template-columns: repeat(4, 1fr); padding: 44px 0; text-align: center; gap: 10px; }
.stats .num { font-size: 36px; font-weight: 800; }
.stats .num small { font-size: 18px; }
.stats .txt { color: #ffd7dd; font-size: 14px; margin-top: 4px; }

/* ---------- 案例卡片 ---------- */
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.case-card { border-radius: var(--radius); overflow: hidden; background: var(--white); box-shadow: var(--shadow); }
.case-card .pic { height: 210px; overflow: hidden; }
.case-card .pic img { width: 100%; height: 100%; object-fit: cover; transition: .4s; }
.case-card:hover .pic img { transform: scale(1.06); }
.case-card .info { padding: 22px; }
.case-card .cat { color: var(--red); font-size: 13px; font-weight: 600; }
.case-card h3 { font-size: 17px; margin: 6px 0 8px; }
.case-card p { color: var(--gray); font-size: 13.5px; }

/* ---------- 新闻 ---------- */
.news-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.news-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: .25s; }
.news-card:hover { box-shadow: 0 10px 26px rgba(0,0,0,.1); }
.news-card .pic { height: 180px; overflow: hidden; }
.news-card .pic img { width: 100%; height: 100%; object-fit: cover; }
.news-card .info { padding: 20px; }
.news-card .date { color: var(--gray); font-size: 12.5px; }
.news-card h3 { font-size: 16.5px; margin: 8px 0; }
.news-card p { color: var(--gray); font-size: 13.5px; }

/* ---------- 表单 ---------- */
.form-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.form-box { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 36px; }
.form-box h3 { font-size: 21px; margin-bottom: 6px; }
.form-box .tip { color: var(--gray); font-size: 13.5px; margin-bottom: 22px; }
.form-row { margin-bottom: 16px; }
.form-row label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.form-row label i { color: var(--red); font-style: normal; }
.form-row input, .form-row select, .form-row textarea {
  width: 100%; padding: 11px 14px; border: 1px solid var(--line); border-radius: 8px;
  font-size: 14.5px; font-family: inherit; background: #fff; transition: .2s;
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(200,16,46,.1);
}
.form-row textarea { min-height: 96px; resize: vertical; }
.form-submit {
  width: 100%; background: var(--red); color: #fff; border: none; padding: 13px;
  border-radius: 8px; font-size: 16px; font-weight: 600; cursor: pointer; transition: .2s;
}
.form-submit:hover { background: var(--red-dark); }
.form-ok {
  display: none; margin-top: 14px; padding: 12px 16px; border-radius: 8px;
  background: #ecfdf5; color: #065f46; font-size: 14px; border: 1px solid #a7f3d0;
}

/* ---------- 联系信息 ---------- */
.contact-list { display: grid; gap: 18px; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; background: var(--white); padding: 22px; border-radius: var(--radius); box-shadow: var(--shadow); }
.contact-item .ic {
  width: 48px; height: 48px; border-radius: 12px; background: var(--red-light);
  display: flex; align-items: center; justify-content: center; font-size: 22px; flex-shrink: 0;
}
.contact-item h4 { font-size: 16px; margin-bottom: 4px; }
.contact-item p { color: var(--gray); font-size: 14px; }
.contact-item p b { color: var(--red); font-size: 17px; }

/* ---------- 服务保障列表 ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.svc-item { background: var(--white); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); display: flex; gap: 18px; }
.svc-item .ic {
  width: 54px; height: 54px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--red), var(--red-dark)); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 24px;
}
.svc-item h3 { font-size: 17.5px; margin-bottom: 8px; }
.svc-item p { color: var(--gray); font-size: 14px; }

/* ---------- 为什么选择我们 ---------- */
.why-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px 26px; }
.why-item { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; background: var(--white); border-radius: 10px; border: 1px solid var(--line); }
.why-item .ck {
  width: 24px; height: 24px; border-radius: 50%; background: var(--red); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 13px; flex-shrink: 0; margin-top: 3px;
}
.why-item p { font-size: 14.5px; }

/* ---------- 文本页 ---------- */
.prose { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 44px; }
.prose h3 { font-size: 20px; margin: 26px 0 12px; color: var(--red); }
.prose h3:first-child { margin-top: 0; }
.prose p { color: #374151; margin-bottom: 12px; }
.prose .lead { font-size: 16px; }

/* ---------- CTA ---------- */
.cta {
  background: linear-gradient(135deg, #1f2937, #111827); color: #fff; text-align: center; padding: 56px 0;
}
.cta h2 { font-size: 28px; margin-bottom: 10px; }
.cta p { color: #d1d5db; margin-bottom: 26px; }
.cta .phone-big { font-size: 30px; font-weight: 800; color: #ffb3c0; letter-spacing: 1px; }

/* ---------- 页脚 ---------- */
.footer { background: #171c26; color: #9ca3af; padding: 54px 0 0; font-size: 13.5px; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 36px; padding-bottom: 36px; }
.footer h4 { color: #fff; font-size: 15.5px; margin-bottom: 16px; }
.footer .f-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer .f-logo .logo-mark { width: 36px; height: 36px; font-size: 17px; }
.footer .f-logo span { color: #fff; font-weight: 700; font-size: 16px; }
.footer p { margin-bottom: 8px; line-height: 1.8; }
.footer ul li { margin-bottom: 9px; }
.footer ul a:hover { color: #fff; }
.copyright {
  border-top: 1px solid #2a3140; text-align: center; padding: 18px 0; font-size: 12.5px; color: #6b7280;
}
.copyright a { color: #9ca3af; }

/* ---------- 浮动咨询 ---------- */
.float-consult {
  position: fixed; right: 18px; bottom: 90px; z-index: 998;
  display: flex; flex-direction: column; gap: 10px;
}
.float-consult a {
  width: 56px; height: 56px; border-radius: 50%; background: var(--red); color: #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  font-size: 11px; box-shadow: 0 6px 18px rgba(200,16,46,.35); transition: .2s;
}
.float-consult a .f { font-size: 20px; line-height: 1; margin-bottom: 3px; }
.float-consult a:hover { background: var(--red-dark); transform: scale(1.07); }

/* ---------- 响应式 ---------- */
@media (max-width: 1000px) {
  .adv-grid, .pd-grid, .pd-grid.two, .plan-grid, .case-grid, .news-list { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); gap: 28px 16px; }
  .step::after { display: none; }
  .stats .container { grid-template-columns: repeat(2, 1fr); }
  .form-wrap { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: repeat(2, 1fr); }
  .slide-inner h1 { font-size: 30px; }
  .slide { height: 440px; }
}
@media (max-width: 680px) {
  .nav { height: auto; flex-wrap: wrap; padding: 10px 0; }
  .nav-links { order: 3; width: 100%; overflow-x: auto; padding-bottom: 4px; }
  .nav-phone { display: none; }
  .topbar .container { justify-content: center; }
  .adv-grid, .pd-grid, .pd-grid.two, .plan-grid, .case-grid, .news-list,
  .why-list, .svc-grid, .form-wrap, .foot-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .slide-inner h1 { font-size: 24px; }
  .slide { height: 400px; }
  .sec-head h2 { font-size: 24px; }
  .prose { padding: 26px; }
  .float-consult { bottom: 20px; }
}
