/* ============================================================
   zhuk-ch.com 筑科网络 · 全站基础样式
   莫兰迪温柔系：雾霾粉 + 雾霾蓝 + 浅灰
   技术栈：纯 CSS3，无任何框架依赖
   ============================================================ */

/* ---------- 1. Reset ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px; line-height: 1.75; color: #403C3A;
  background: #F7F5F3; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; transition: color .3s; }
ul, ol { list-style: none; }
button { font-family: inherit; border: none; background: none; cursor: pointer; }
input, textarea, select { font-family: inherit; font-size: 1rem; }
::selection { background: #D9B8B3; color: #fff; }

/* ---------- 2. 颜色变量 ---------- */
:root {
  --pink-1: #EBD7D3;   /* 雾霾粉-浅 */
  --pink-2: #D9B8B3;   /* 雾霾粉-中 */
  --pink-3: #C19A94;   /* 雾霾粉-深 */
  --pink-4: #A97C75;   /* 雾霾粉-最深(文字强调) */
  --blue-1: #D8E4EC;   /* 雾霾蓝-浅 */
  --blue-2: #AEC3D2;   /* 雾霾蓝-中 */
  --blue-3: #7F9AAD;   /* 雾霾蓝-深 */
  --blue-4: #5E7C90;   /* 雾霾蓝-最深 */
  --gray-1: #F7F5F3;   /* 页面底 */
  --gray-2: #EFECEA;   /* 分区底 */
  --gray-3: #DFDBD7;   /* 描边 */
  --gray-4: #B9B3AE;   /* 弱文字 */
  --ink-1: #403C3A;    /* 主文字 */
  --ink-2: #6E6864;    /* 次文字 */
  --ink-3: #8E8883;    /* 辅助文字 */
  --white: #FFFFFF;
  --shadow-1: 0 10px 30px rgba(64, 60, 58, .08);
  --shadow-2: 0 18px 46px rgba(64, 60, 58, .12);
  --radius: 18px;
  --font-display: "Songti SC", "STSong", "Noto Serif SC", "SimSun", Georgia, serif;
}

/* ---------- 3. 布局容器 ---------- */
.container { width: min(1200px, 92%); margin: 0 auto; }
.section { padding: 96px 0; position: relative; }
.section--tint { background: var(--gray-2); }
.section--pink { background: linear-gradient(180deg, #F6ECE9 0%, #F3E6E2 100%); }
.section--blue { background: linear-gradient(180deg, #E7EEF3 0%, #DEE8EF 100%); }
.section--white { background: var(--white); }

/* ---------- 4. 标题排版（衬线展示字，避免模板感） ---------- */
.sec-head { text-align: center; max-width: 760px; margin: 0 auto 58px; }
.sec-head--left { text-align: left; margin-left: 0; }
.sec-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; letter-spacing: 3px; color: var(--blue-4);
  padding: 7px 18px; border-radius: 999px;
  background: var(--blue-1); margin-bottom: 18px; font-weight: 600;
}
.sec-tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--pink-3); }
.sec-title {
  font-family: var(--font-display); font-size: clamp(30px, 4vw, 42px);
  font-weight: 700; line-height: 1.3; color: var(--ink-1); letter-spacing: 1px;
}
.sec-title em { font-style: normal; color: var(--pink-4); }
.sec-title .line { display: inline-block; width: 34px; height: 3px; border-radius: 2px; background: linear-gradient(90deg, var(--pink-2), var(--blue-2)); vertical-align: middle; margin: 0 12px; }
.sec-sub { margin-top: 16px; color: var(--ink-2); font-size: 16px; }

/* ---------- 5. 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 34px; border-radius: 999px; font-size: 15px; font-weight: 600;
  letter-spacing: 1px; cursor: pointer; transition: all .35s ease;
  border: 1px solid transparent; position: relative; overflow: hidden;
}
.btn svg { width: 18px; height: 18px; }
.btn--pink { background: linear-gradient(135deg, var(--pink-2), var(--pink-3)); color: #fff; box-shadow: 0 8px 20px rgba(193, 154, 148, .35); }
.btn--pink:hover { transform: translateY(-3px); box-shadow: 0 14px 28px rgba(193, 154, 148, .45); }
.btn--blue { background: linear-gradient(135deg, var(--blue-2), var(--blue-3)); color: #fff; box-shadow: 0 8px 20px rgba(127, 154, 173, .35); }
.btn--blue:hover { transform: translateY(-3px); box-shadow: 0 14px 28px rgba(127, 154, 173, .45); }
.btn--ghost { background: transparent; border-color: var(--gray-4); color: var(--ink-1); }
.btn--ghost:hover { border-color: var(--blue-3); color: var(--blue-4); background: var(--blue-1); }
.btn--white { background: #fff; color: var(--pink-4); box-shadow: 0 8px 22px rgba(0,0,0,.12); }
.btn--white:hover { transform: translateY(-3px); }
.btn--lg { padding: 17px 44px; font-size: 16px; }
.btn--sm { padding: 9px 20px; font-size: 14px; }

/* ---------- 6. 顶栏 ---------- */
.topbar { background: #45403E; color: #EFE9E6; font-size: 13px; position: relative; z-index: 1001; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; min-height: 40px; gap: 16px; }
.topbar-slogan { display: flex; align-items: center; gap: 8px; letter-spacing: .5px; }
.topbar-slogan::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--pink-2); box-shadow: 0 0 0 4px rgba(217, 184, 179, .25); }
.topbar-contact { display: flex; align-items: center; gap: 22px; }
.topbar-contact a, .topbar-contact span { display: inline-flex; align-items: center; gap: 6px; color: #EFE9E6; }
.topbar-contact a:hover { color: var(--pink-2); }
.topbar-contact svg { width: 14px; height: 14px; opacity: .8; }

/* ---------- 7. 导航 ---------- */
.site-header { position: sticky; top: 0; z-index: 1000; }
.navbar {
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent; transition: all .4s ease;
}
.navbar.scrolled { box-shadow: 0 8px 30px rgba(64, 60, 58, .1); border-bottom-color: var(--gray-3); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 20px; }
.brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand img { width: 178px; height: 52px; object-fit: contain; }
.nav-list { display: flex; align-items: center; gap: 4px; }
.nav-list a {
  display: block; padding: 10px 15px; font-size: 15px; color: var(--ink-1);
  font-weight: 500; letter-spacing: .5px; position: relative; border-radius: 8px;
}
.nav-list a::after {
  content: ""; position: absolute; left: 15px; right: 15px; bottom: 4px; height: 2px;
  border-radius: 2px; background: linear-gradient(90deg, var(--pink-2), var(--blue-2));
  transform: scaleX(0); transform-origin: left; transition: transform .35s ease;
}
.nav-list a:hover { color: var(--pink-4); }
.nav-list a:hover::after, .nav-list a.active::after { transform: scaleX(1); }
.nav-list a.active { color: var(--blue-4); font-weight: 600; }
.nav-cta { display: inline-flex; align-items: center; gap: 8px; padding: 11px 24px; border-radius: 999px; background: linear-gradient(135deg, var(--pink-2), var(--pink-3)); color: #fff; font-size: 14px; font-weight: 600; box-shadow: 0 6px 16px rgba(193,154,148,.35); transition: all .3s; }
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(193,154,148,.45); color: #fff; }
.nav-cta svg { width: 16px; height: 16px; }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 10px; background: var(--gray-2); flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink-1); border-radius: 2px; transition: all .35s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- 8. 内页横幅 ---------- */
.page-hero { position: relative; padding: 88px 0 96px; overflow: hidden; background: linear-gradient(160deg, #EFE7E4 0%, #E3EBF1 100%); }
.page-hero .ph-bg { position: absolute; inset: 0; opacity: .35; object-fit: cover; width: 100%; height: 100%; }
.page-hero .ph-mask { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255,255,255,.35), rgba(255,255,255,.6)); }
.page-hero-inner { position: relative; z-index: 2; max-width: 780px; }
.page-hero .ph-tag { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; letter-spacing: 3px; color: var(--blue-4); background: rgba(216,228,236,.8); padding: 7px 18px; border-radius: 999px; margin-bottom: 20px; font-weight: 600; }
.page-hero h1 { font-family: var(--font-display); font-size: clamp(32px, 4.6vw, 52px); line-height: 1.25; color: var(--ink-1); letter-spacing: 1px; }
.page-hero h1 em { font-style: normal; color: var(--pink-4); }
.page-hero p { margin-top: 18px; font-size: 17px; color: var(--ink-2); max-width: 640px; }
.crumb { margin-top: 26px; display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--ink-3); }
.crumb a:hover { color: var(--pink-4); }
.crumb i { font-style: normal; color: var(--gray-4); }
.crumb .now { color: var(--blue-4); font-weight: 600; }

/* ---------- 9. 卡片通用 ---------- */
.card { background: var(--white); border-radius: var(--radius); border: 1px solid var(--gray-3); transition: all .4s ease; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-2); border-color: transparent; }

/* ---------- 10. 页脚 ---------- */
.site-footer { background: #45403E; color: #CFC8C3; margin-top: 0; }
.footer-main { padding: 72px 0 44px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 44px; }
.footer-brand .fb-logo { width: 180px; height: 56px; margin-bottom: 20px; }
.footer-brand p { font-size: 14px; line-height: 2; color: #B9B1AC; max-width: 320px; }
.footer-brand .fb-sns { display: flex; gap: 12px; margin-top: 22px; }
.footer-brand .fb-sns a { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.08); display: inline-flex; align-items: center; justify-content: center; transition: all .3s; }
.footer-brand .fb-sns a:hover { background: var(--pink-2); transform: translateY(-3px); }
.footer-brand .fb-sns svg { width: 18px; height: 18px; fill: #E6DFDB; }
.footer-col h4 { color: #F2EDE9; font-size: 16px; font-weight: 600; margin-bottom: 20px; position: relative; padding-bottom: 12px; }
.footer-col h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 28px; height: 2px; background: linear-gradient(90deg, var(--pink-2), var(--blue-2)); border-radius: 2px; }
.footer-col ul li { margin-bottom: 11px; }
.footer-col ul a { color: #B9B1AC; font-size: 14px; transition: all .3s; display: inline-flex; align-items: center; gap: 6px; }
.footer-col ul a::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--gray-4); transition: all .3s; }
.footer-col ul a:hover { color: var(--pink-2); padding-left: 4px; }
.footer-col ul a:hover::before { background: var(--pink-2); }
.footer-contact li { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 16px; font-size: 14px; color: #B9B1AC; line-height: 1.6; }
.footer-contact svg { width: 18px; height: 18px; fill: var(--pink-2); flex-shrink: 0; margin-top: 3px; }
.footer-contact a { color: #E6DFDB; }
.footer-contact a:hover { color: var(--pink-2); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0; }
.footer-bottom-inner { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: 13px; color: #98908B; }
.footer-bottom a { color: #B9B1AC; }
.footer-bottom a:hover { color: var(--pink-2); }

/* ---------- 11. 滚动渐入动画 ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .1s; } .reveal-d2 { transition-delay: .2s; }
.reveal-d3 { transition-delay: .3s; } .reveal-d4 { transition-delay: .4s; }
.reveal-d5 { transition-delay: .5s; }
.page-enter { animation: pageIn .6s ease both; }
@keyframes pageIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ---------- 12. 返回顶部 / 浮动联系 ---------- */
.to-top { position: fixed; right: 26px; bottom: 96px; width: 46px; height: 46px; border-radius: 50%; background: linear-gradient(135deg, var(--blue-2), var(--blue-3)); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 24px rgba(127,154,173,.4); opacity: 0; visibility: hidden; transform: translateY(14px); transition: all .4s; z-index: 900; }
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { transform: translateY(-4px); }
.to-top svg { width: 20px; height: 20px; }
.float-cta { position: fixed; right: 26px; bottom: 34px; z-index: 900; display: flex; flex-direction: column; gap: 12px; }
.float-cta a { width: 52px; height: 52px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; box-shadow: 0 10px 26px rgba(64,60,58,.25); transition: all .3s; position: relative; }
.float-cta a:hover { transform: translateY(-4px) scale(1.04); }
.float-cta .fc-tel { background: linear-gradient(135deg, var(--pink-2), var(--pink-3)); }
.float-cta .fc-wx { background: linear-gradient(135deg, var(--blue-2), var(--blue-3)); }
.float-cta svg { width: 22px; height: 22px; fill: #fff; }
.float-cta a .fc-tip { position: absolute; right: 64px; top: 50%; transform: translateY(-50%) translateX(8px); white-space: nowrap; background: #45403E; color: #F2EDE9; font-size: 13px; padding: 7px 14px; border-radius: 8px; opacity: 0; visibility: hidden; transition: all .3s; }
.float-cta a:hover .fc-tip { opacity: 1; visibility: visible; transform: translateY(-50%) translateX(0); }

/* ---------- 13. 通用小块 ---------- */
.badge { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; padding: 4px 12px; border-radius: 999px; font-weight: 500; }
.badge--pink { background: var(--pink-1); color: var(--pink-4); }
.badge--blue { background: var(--blue-1); color: var(--blue-4); }
.badge--gray { background: var(--gray-2); color: var(--ink-2); }
.divider { height: 1px; background: linear-gradient(90deg, transparent, var(--gray-3), transparent); border: none; margin: 0; }

/* ---------- 14. 联系方式强调块（全站通用） ---------- */
.contact-strip { background: linear-gradient(135deg, #E9D5D1 0%, #D6E2EA 100%); border-radius: var(--radius); padding: 30px 36px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; box-shadow: var(--shadow-1); }
.contact-strip h3 { font-family: var(--font-display); font-size: 22px; color: var(--ink-1); }
.contact-strip p { color: var(--ink-2); font-size: 14px; margin-top: 6px; }
.contact-strip .cs-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.contact-strip .cs-phone { display: inline-flex; align-items: center; gap: 10px; background: #fff; border-radius: 999px; padding: 12px 26px; font-size: 20px; font-weight: 700; color: var(--pink-4); box-shadow: var(--shadow-1); }
.contact-strip .cs-phone svg { width: 20px; height: 20px; fill: var(--pink-3); }

/* ---------- 15. 响应式 ---------- */
@media (max-width: 1024px) {
  .section { padding: 72px 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .nav-cta { display: none; }
}
@media (max-width: 768px) {
  .topbar-contact a:nth-child(2), .topbar-slogan { display: none; }
  .topbar-inner { justify-content: center; }
  .nav-toggle { display: flex; }
  .nav-list {
    position: absolute; top: 100%; left: 0; right: 0;
    background: rgba(255,255,255,.98); flex-direction: column; align-items: stretch;
    padding: 12px 4% 22px; gap: 2px; border-bottom: 1px solid var(--gray-3);
    box-shadow: 0 18px 40px rgba(64,60,58,.12);
    transform: translateY(-12px); opacity: 0; visibility: hidden; transition: all .35s ease;
  }
  .nav-list.open { transform: none; opacity: 1; visibility: visible; }
  .nav-list a { padding: 13px 10px; border-radius: 10px; font-size: 16px; }
  .nav-list a::after { display: none; }
  .nav-list a:hover { background: var(--gray-2); }
  .navbar { position: relative; }
  .section { padding: 60px 0; }
  .sec-head { margin-bottom: 40px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
  .contact-strip { padding: 24px; }
  .contact-strip .cs-phone { font-size: 17px; }
  .to-top { right: 16px; bottom: 110px; }
  .float-cta { right: 16px; bottom: 44px; }
}
@media (max-width: 480px) {
  body { font-size: 15px; }
  .btn { padding: 12px 24px; }
  .footer-grid { gap: 26px; }
}
