/* ===================================================================
   杭州专业停车场改造 - 企业站样式
   =================================================================== */

:root {
  --primary: #0a58ca;
  --primary-dark: #063f92;
  --primary-light: #e7f0ff;
  --accent: #ff7a18;
  --accent-dark: #e5650a;
  --dark: #10233f;
  --gray-900: #1c2b45;
  --gray-700: #46566f;
  --gray-500: #7a879c;
  --gray-300: #d6dde8;
  --gray-100: #f4f7fb;
  --white: #ffffff;
  --success: #17a673;
  --radius: 14px;
  --shadow-sm: 0 4px 14px rgba(16, 35, 63, .08);
  --shadow-md: 0 12px 34px rgba(16, 35, 63, .12);
  --max: 1200px;
  --font: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--gray-900);
  background: var(--white);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 16px;
  border: none;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  white-space: nowrap;
}
.btn-accent { background: linear-gradient(135deg, var(--accent), var(--accent-dark)); color: #fff; box-shadow: 0 10px 24px rgba(255,122,24,.35); }
.btn-accent:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(255,122,24,.45); }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 10px 24px rgba(10,88,202,.28); }
.btn-primary:hover { transform: translateY(-2px); background: var(--primary-dark); }
.btn-ghost { background: rgba(255,255,255,.14); color: #fff; border: 1.5px solid rgba(255,255,255,.7); }
.btn-ghost:hover { background: rgba(255,255,255,.24); }
.btn-block { width: 100%; }

/* ================= 顶部通栏 ================= */
.topbar {
  background: var(--dark);
  color: #cfe0ff;
  font-size: 14px;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; height: 40px; }
.topbar a { color: #cfe0ff; }
.topbar .hot { color: #ffd27a; font-weight: 700; }
.topbar .areas { opacity: .85; }

/* ================= 导航 ================= */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.96);
  backdrop-filter: saturate(180%) blur(8px);
  box-shadow: var(--shadow-sm);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; font-size: 20px; color: var(--dark); }
.brand .logo {
  width: 42px; height: 42px; border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  display: grid; place-items: center; color: #fff; font-size: 22px;
}
.brand small { display: block; font-size: 12px; font-weight: 500; color: var(--gray-500); }
.menu { display: flex; align-items: center; gap: 4px; }
.menu a {
  padding: 10px 13px; border-radius: 8px; font-size: 15px; font-weight: 600; color: var(--gray-700);
  transition: color .15s, background .15s;
}
.menu a:hover, .menu a.active { color: var(--primary); background: var(--primary-light); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-cta .tel { font-weight: 800; color: var(--accent-dark); font-size: 17px; }
.hamburger { display: none; background: none; border: none; font-size: 26px; cursor: pointer; color: var(--dark); }

/* ================= Hero 轮播 ================= */
.hero { position: relative; overflow: hidden; }
.slides { position: relative; height: 560px; }
.slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity .9s ease;
  background-size: cover; background-position: center;
  display: flex; align-items: center;
}
.slide.active { opacity: 1; }
.slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6,25,55,.82) 0%, rgba(6,25,55,.55) 45%, rgba(6,25,55,.15) 100%); }
.slide-inner { position: relative; z-index: 2; color: #fff; max-width: 680px; }
.slide h1, .slide h2 { font-size: 46px; line-height: 1.25; font-weight: 900; letter-spacing: .5px; text-shadow: 0 2px 12px rgba(0,0,0,.3); margin: 0; }
.slide h1 .hl, .slide h2 .hl { color: #ffd27a; }
.slide p { margin-top: 18px; font-size: 20px; opacity: .95; }
.slide .hero-actions { margin-top: 30px; display: flex; gap: 16px; flex-wrap: wrap; }
.slide .trust { margin-top: 22px; display: flex; gap: 22px; flex-wrap: wrap; font-size: 15px; opacity: .9; }
.slide .trust span::before { content: "✔ "; color: #7ee0a1; }
.dots { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); z-index: 3; display: flex; gap: 10px; }
.dots button { width: 12px; height: 12px; border-radius: 50%; border: none; background: rgba(255,255,255,.5); cursor: pointer; padding: 0; }
.dots button.active { background: #ffd27a; width: 30px; border-radius: 6px; }

/* ================= 通用板块 ================= */
.section { padding: 74px 0; }
.section.alt { background: var(--gray-100); }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 48px; }
.section-head .eyebrow { color: var(--primary); font-weight: 800; letter-spacing: 2px; font-size: 14px; text-transform: uppercase; }
.section-head h2 { font-size: 34px; font-weight: 900; margin-top: 10px; color: var(--dark); }
.section-head p { margin-top: 14px; color: var(--gray-700); font-size: 17px; }

/* ================= 四大业务 ================= */
.biz-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.biz-card {
  background: #fff; border: 1px solid var(--gray-300); border-radius: var(--radius);
  padding: 30px; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s, border-color .2s;
  display: flex; flex-direction: column;
}
.biz-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--primary); }
.biz-card .num {
  width: 48px; height: 48px; border-radius: 12px; background: var(--primary-light); color: var(--primary);
  font-weight: 900; font-size: 22px; display: grid; place-items: center; margin-bottom: 16px;
}
.biz-card h3 { font-size: 22px; color: var(--dark); margin-bottom: 12px; }
.biz-card .lead { color: var(--primary-dark); font-weight: 700; margin-bottom: 10px; }
.biz-card p { color: var(--gray-700); margin-bottom: 8px; }
.biz-card .tags { margin-top: auto; padding-top: 14px; display: flex; flex-wrap: wrap; gap: 8px; }
.biz-card .tags span { background: var(--gray-100); color: var(--gray-700); font-size: 13px; padding: 5px 12px; border-radius: 999px; }

/* ================= 核心优势 ================= */
.adv-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.adv-card { background: #fff; border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); border-top: 4px solid var(--accent); }
.adv-card .icon { font-size: 34px; margin-bottom: 14px; }
.adv-card h3 { font-size: 19px; color: var(--dark); margin-bottom: 10px; }
.adv-card p { color: var(--gray-700); font-size: 15px; }

/* ================= 数据条 ================= */
.stats { background: linear-gradient(135deg, var(--primary-dark), var(--primary)); color: #fff; }
.stats .container { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; padding: 48px 20px; text-align: center; }
.stats .num { font-size: 42px; font-weight: 900; color: #ffd27a; }
.stats .label { margin-top: 6px; opacity: .9; }

/* ================= 案例 ================= */
.case-tabs { display: flex; justify-content: center; gap: 12px; margin-bottom: 34px; flex-wrap: wrap; }
.case-tabs button {
  padding: 10px 24px; border-radius: 999px; border: 1.5px solid var(--gray-300); background: #fff;
  font-weight: 700; color: var(--gray-700); cursor: pointer; transition: all .15s;
}
.case-tabs button.active, .case-tabs button:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.case-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s; }
.case-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.case-card .thumb { height: 200px; background-size: cover; background-position: center; position: relative; }
.case-card .thumb .badge { position: absolute; top: 12px; left: 12px; background: var(--accent); color: #fff; font-size: 13px; font-weight: 700; padding: 4px 12px; border-radius: 999px; }
.case-card .body { padding: 18px 20px; }
.case-card .body h4 { font-size: 17px; color: var(--dark); margin-bottom: 8px; }
.case-card .body p { color: var(--gray-500); font-size: 14px; }
.case-card.hidden { display: none; }

/* ================= 悬浮询价 / 表单 ================= */
.inquiry-band { background: var(--gray-100); }
.inquiry-wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.inquiry-wrap .lead h2 { font-size: 32px; color: var(--dark); font-weight: 900; }
.inquiry-wrap .lead p { color: var(--gray-700); margin-top: 14px; font-size: 17px; }
.inquiry-wrap .lead ul { margin-top: 20px; display: grid; gap: 10px; }
.inquiry-wrap .lead li { color: var(--gray-700); }
.inquiry-wrap .lead li::before { content: "✔"; color: var(--success); font-weight: 900; margin-right: 8px; }

.form-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-md); padding: 30px; }
.form-card h3 { font-size: 20px; color: var(--dark); text-align: center; margin-bottom: 6px; }
.form-card .sub { text-align: center; color: var(--gray-500); font-size: 14px; margin-bottom: 20px; }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 14px; font-weight: 600; color: var(--gray-700); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--gray-300); border-radius: 10px;
  font-family: inherit; font-size: 15px; color: var(--gray-900); background: #fff; transition: border-color .15s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-light); }
.field textarea { resize: vertical; min-height: 76px; }
.form-note { font-size: 12px; color: var(--gray-500); text-align: center; margin-top: 10px; }
.form-ok { display: none; background: #eaf9f1; color: #0f7a52; border: 1px solid #b6ecd2; border-radius: 10px; padding: 14px; text-align: center; font-weight: 700; margin-bottom: 14px; }

/* ================= 悬浮询价按钮 & 面板 ================= */
.float-side { position: fixed; right: 18px; bottom: 90px; z-index: 60; display: flex; flex-direction: column; gap: 10px; }
.float-side .fbtn {
  width: 60px; height: 60px; border-radius: 16px; background: var(--primary); color: #fff; box-shadow: var(--shadow-md);
  display: grid; place-items: center; text-align: center; font-size: 12px; line-height: 1.2; cursor: pointer; border: none; font-weight: 700;
}
.float-side .fbtn.accent { background: var(--accent); }
.float-side .fbtn .i { font-size: 22px; display: block; }
.float-panel {
  position: fixed; right: 18px; bottom: 160px; z-index: 61; width: 340px; max-width: calc(100vw - 36px);
  background: #fff; border-radius: 16px; box-shadow: var(--shadow-md); padding: 22px; transform: translateY(20px);
  opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s;
}
.float-panel.open { opacity: 1; transform: translateY(0); pointer-events: auto; }
.float-panel .close { position: absolute; top: 10px; right: 12px; background: none; border: none; font-size: 22px; cursor: pointer; color: var(--gray-500); }

/* ================= 页脚 ================= */
.footer { background: var(--dark); color: #b9c7dd; padding: 56px 0 0; }
.footer .top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 34px; padding-bottom: 40px; }
.footer h4 { color: #fff; font-size: 17px; margin-bottom: 16px; }
.footer a { color: #b9c7dd; display: block; padding: 4px 0; font-size: 15px; }
.footer a:hover { color: #fff; }
.footer .brand-f { font-size: 20px; font-weight: 800; color: #fff; margin-bottom: 12px; }
.footer .desc { font-size: 14px; line-height: 1.8; }
.footer .hot { color: #ffd27a; font-size: 22px; font-weight: 900; }
.footer .qr { width: 108px; height: 108px; background: #fff; border-radius: 10px; display: grid; place-items: center; color: #333; font-size: 12px; text-align: center; margin-top: 6px; overflow: hidden; }
.qr-img { width: 108px; height: 108px; border-radius: 10px; background: #fff; object-fit: contain; display: block; padding: 4px; }
.footer .bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 20px 0; text-align: center; font-size: 14px; }
.footer .bottom .slogan { color: #dfe8f6; margin-bottom: 6px; }

/* ================= 内页 ================= */
.page-hero { background: linear-gradient(135deg, var(--primary-dark), var(--primary)); color: #fff; padding: 60px 0; text-align: center; }
.page-hero h1 { font-size: 38px; font-weight: 900; }
.page-hero p { margin-top: 12px; font-size: 18px; opacity: .92; }
.breadcrumb { font-size: 14px; color: var(--gray-500); padding: 16px 0; }
.breadcrumb a:hover { color: var(--primary); }

/* 维保套餐 */
.pkg-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; align-items: stretch; }
.pkg-card { background: #fff; border: 1px solid var(--gray-300); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; position: relative; }
.pkg-card.featured { border: 2px solid var(--accent); box-shadow: var(--shadow-md); }
.pkg-card .flag { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--accent); color: #fff; font-size: 13px; font-weight: 800; padding: 5px 18px; border-radius: 999px; }
.pkg-card h3 { font-size: 22px; color: var(--dark); }
.pkg-card .who { color: var(--gray-500); font-size: 14px; margin: 6px 0 16px; }
.pkg-card .price { font-size: 32px; font-weight: 900; color: var(--primary); margin-bottom: 6px; }
.pkg-card .price small { font-size: 15px; color: var(--gray-500); font-weight: 600; }
.pkg-card ul { margin: 18px 0; display: grid; gap: 10px; }
.pkg-card li { color: var(--gray-700); padding-left: 26px; position: relative; }
.pkg-card li::before { content: "✔"; position: absolute; left: 0; color: var(--success); font-weight: 900; }
.pkg-card .btn { margin-top: auto; }

/* 文章列表 */
.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.article-card { background: #fff; border: 1px solid var(--gray-300); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s; }
.article-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.article-card .thumb { height: 180px; background-size: cover; background-position: center; }
.article-card .body { padding: 20px; }
.article-card .cat { color: var(--accent-dark); font-size: 13px; font-weight: 700; }
.article-card h3 { font-size: 18px; color: var(--dark); margin: 8px 0 10px; line-height: 1.5; }
.article-card p { color: var(--gray-500); font-size: 14px; }
.article-card .more { color: var(--primary); font-weight: 700; margin-top: 12px; display: inline-block; }

/* 文章正文 */
.article-body { max-width: 820px; margin: 0 auto; }
.article-body h2 { font-size: 24px; color: var(--dark); margin: 34px 0 14px; padding-left: 14px; border-left: 5px solid var(--primary); }
.article-body h3 { font-size: 19px; color: var(--gray-900); margin: 22px 0 10px; }
.article-body p { color: var(--gray-700); margin-bottom: 14px; }
.article-body ul { margin: 0 0 16px 4px; display: grid; gap: 8px; }
.article-body li { color: var(--gray-700); padding-left: 22px; position: relative; }
.article-body li::before { content: "▹"; position: absolute; left: 0; color: var(--primary); }
.article-body ol { margin: 0 0 16px 22px; color: var(--gray-700); }
.article-body ol li { padding-left: 4px; }
.article-body ol li::before { content: none; }
.article-meta { color: var(--gray-500); font-size: 14px; margin-bottom: 24px; border-bottom: 1px solid var(--gray-300); padding-bottom: 16px; }
.cta-box { background: var(--primary-light); border: 1px dashed var(--primary); border-radius: var(--radius); padding: 26px; text-align: center; margin: 34px 0; }
.cta-box h3 { color: var(--primary-dark); margin-bottom: 10px; }
.cta-box p { color: var(--gray-700); margin-bottom: 16px; }

/* 关于/联系 */
.about-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: start; }
.info-list { display: grid; gap: 16px; }
.info-item { display: flex; gap: 14px; align-items: flex-start; background: #fff; border: 1px solid var(--gray-300); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow-sm); }
.info-item .ico { font-size: 26px; }
.info-item h4 { color: var(--dark); margin-bottom: 4px; }
.info-item p { color: var(--gray-700); font-size: 15px; }
.map-box { height: 260px; border-radius: var(--radius); background: repeating-linear-gradient(45deg,#eef3fb,#eef3fb 12px,#e3ebf7 12px,#e3ebf7 24px); display: grid; place-items: center; color: var(--gray-500); font-weight: 700; border: 1px solid var(--gray-300); }

/* ================= 响应式 ================= */
@media (max-width: 992px) {
  .biz-grid, .adv-grid, .case-grid, .pkg-grid, .article-grid, .stats .container { grid-template-columns: repeat(2,1fr); }
  .inquiry-wrap, .about-grid { grid-template-columns: 1fr; }
  .footer .top { grid-template-columns: 1fr 1fr; }
  .slide h1 { font-size: 36px; }
}
@media (max-width: 768px) {
  .menu { display: none; position: absolute; top: 70px; left: 0; right: 0; background: #fff; flex-direction: column; padding: 12px; box-shadow: var(--shadow-md); gap: 4px; }
  .menu.open { display: flex; }
  .menu a { padding: 12px; }
  .hamburger { display: block; }
  .nav-cta .btn { display: none; }
  .topbar .areas { display: none; }
  .slides { height: 480px; }
  .slide h1 { font-size: 28px; }
  .slide p { font-size: 16px; }
  .section { padding: 50px 0; }
  .section-head h2 { font-size: 26px; }
  .biz-grid, .adv-grid, .case-grid, .pkg-grid, .article-grid, .stats .container { grid-template-columns: 1fr; }
  .footer .top { grid-template-columns: 1fr; }
  .float-side .fbtn { width: 52px; height: 52px; }
}
