/* ============================================================
   房地产企业站 前台样式（完整响应式）
   断点：<=1024 平板横屏  <=820 平板竖屏/大屏手机  <=640 手机  <=420 小屏手机
   全部流式布局：容器 max-width + 百分比/网格自适应，无 min-width 锁宽
   ============================================================ */
:root {
  --primary: #16425b;
  --primary-dark: #0f2f42;
  --primary-3: #1d5b7e;
  --accent: #c9a227;
  --accent-dark: #a8861d;
  --bg: #f5f7fa;
  --card: #ffffff;
  --text: #263238;
  --muted: #64748b;
  --border: #e4eaf0;
  --radius: 14px;
  --shadow: 0 2px 14px rgba(15, 47, 66, .08);
  --shadow-lg: 0 10px 30px rgba(15, 47, 66, .14);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  font-size: 16px; line-height: 1.7; color: var(--text); background: var(--bg);
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s, background .2s; }
ul, ol { list-style: none; }
button { font-family: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.section { padding: 78px 0; }
.section.alt { background: #fff; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 30px; flex-wrap: wrap; }
.sec-head h2 { font-size: clamp(24px, 3.4vw, 34px); color: var(--primary-dark); line-height: 1.3; position: relative; padding-left: 14px; letter-spacing: 1px; }
.sec-head h2::before { content: ""; position: absolute; left: 0; top: 6px; bottom: 6px; width: 4px; border-radius: 2px; background: var(--accent); }
.sec-head .sub { color: var(--muted); font-size: 14px; margin-top: 4px; }
.more { color: var(--primary); font-weight: 600; white-space: nowrap; }
.more:hover { color: var(--accent-dark); }

/* ---------- 按钮 ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 26px; border-radius: 10px; font-weight: 600; font-size: 15px; letter-spacing: 1px; border: 1px solid transparent; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s; }
.btn-accent { background: linear-gradient(135deg, #d9b545, #b8901d); color: #1d2733; box-shadow: 0 8px 20px rgba(201,162,39,.32); }
.btn-accent:hover { background: linear-gradient(135deg, #c9a227, #a8861d); color: #fff; transform: translateY(-2px); box-shadow: 0 12px 26px rgba(201,162,39,.42); }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-3); }
.btn-ghost { border-color: rgba(255,255,255,.55); color: #fff; background: transparent; }
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.btn-line { border-color: var(--border); background: #fff; color: var(--primary); }
.btn-line:hover { border-color: var(--primary); }
.btn-sm { padding: 6px 14px; font-size: 13px; border-radius: 8px; }

/* ---------- 头部导航 ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); box-shadow: 0 1px 0 var(--border); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 66px; flex-wrap: wrap; }
.logo { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 700; color: var(--primary); letter-spacing: .5px; }
.logo svg { flex: none; }
.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a { padding: 8px 14px; border-radius: 8px; font-weight: 500; color: var(--text); }
.main-nav a:hover { background: #eef3f7; color: var(--primary); }
.main-nav a.on { background: #e8eff5; color: var(--primary); font-weight: 600; }
.nav-cta { margin-left: 10px; }
.nav-toggle { display: none; width: 44px; height: 40px; border: 1px solid var(--border); border-radius: 8px; background: #fff; cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--primary); border-radius: 2px; transition: .25s; }
.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); }

/* ---------- 首页 Hero ---------- */
.hero { position: relative; overflow: hidden; color: #fff; padding: 92px 0 104px; background: linear-gradient(135deg, #0f2f42 0%, #16425b 55%, #1d5b7e 100%); }
.hero::before, .hero::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; }
.hero::before { width: 480px; height: 480px; right: -140px; top: -180px; background: radial-gradient(circle, rgba(201,162,39,.22), transparent 68%); }
.hero::after { width: 380px; height: 380px; left: -120px; bottom: -200px; background: radial-gradient(circle, rgba(255,255,255,.10), transparent 70%); }
.hero .container { position: relative; z-index: 1; }
.hero-tag { display: inline-block; padding: 5px 14px; border: 1px solid rgba(255,255,255,.35); border-radius: 999px; font-size: 13px; letter-spacing: 2px; color: rgba(255,255,255,.9); margin-bottom: 18px; }
.hero h1 { font-size: clamp(28px, 4.6vw, 50px); line-height: 1.28; font-weight: 700; letter-spacing: 1px; }
.hero .lead { margin-top: 16px; max-width: 640px; font-size: clamp(15px, 1.8vw, 18px); color: rgba(255,255,255,.85); }
.hero-actions { margin-top: 32px; display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- 数据条（深蓝金数字，压在轮播上更显高级） ---------- */
.stats { background: linear-gradient(135deg, rgba(15,47,66,.97), rgba(29,91,126,.94)); box-shadow: 0 24px 50px rgba(15,47,66,.28); border: 1px solid rgba(255,255,255,.08); border-radius: 14px; margin: -58px auto 0; position: relative; z-index: 2; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { text-align: center; padding: 30px 10px; border-left: 1px solid rgba(255,255,255,.10); }
.stat:first-child { border-left: 0; }
.stat b { display: block; font-size: clamp(26px, 3.2vw, 38px); color: var(--gold-2); line-height: 1.2; letter-spacing: 1px; }
.stat b i { font-style: normal; }
.stat span { color: rgba(255,255,255,.72); font-size: 14px; letter-spacing: 1px; }

/* ---------- 户型卡片 ---------- */
.cards-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(265px, 1fr)); gap: 22px; }
.hx-card { display: flex; flex-direction: column; background: var(--card); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s; border: 1px solid var(--border); }
.hx-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card-cover { aspect-ratio: 4 / 3; overflow: hidden; background: #dde7ef; }
.card-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.hx-card:hover .card-cover img { transform: scale(1.05); }
.card-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-body h3 { font-size: 17px; color: var(--primary-dark); line-height: 1.4; }
.card-meta { font-size: 13.5px; color: var(--muted); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { font-size: 12px; color: var(--primary); background: #e8f0f6; border-radius: 999px; padding: 2px 10px; }
.card-foot { margin-top: auto; padding-top: 8px; display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.price { color: #c0392b; font-weight: 700; font-size: 18px; }
.price small { font-size: 12px; font-weight: 400; color: var(--muted); }
.card-foot .dir { color: var(--muted); font-size: 13px; }

/* ---------- 公司简介（首页两栏 / 独立页） ---------- */
.split { display: grid; grid-template-columns: 1.15fr .85fr; gap: 34px; align-items: center; }
.about-text p { margin-bottom: 14px; color: #3c4a54; text-align: justify; }
.about-text h3 { font-size: clamp(20px, 2.6vw, 26px); color: var(--primary-dark); margin-bottom: 16px; }
.about-panel { background: linear-gradient(150deg, var(--primary-dark), var(--primary-3)); border-radius: var(--radius); color: #fff; padding: 30px 26px; }
.about-panel h4 { font-size: 18px; margin-bottom: 14px; color: #fff; }
.about-panel ul li { padding: 9px 0 9px 26px; border-bottom: 1px dashed rgba(255,255,255,.18); position: relative; font-size: 14.5px; color: rgba(255,255,255,.9); }
.about-panel ul li:last-child { border-bottom: 0; }
.about-panel ul li::before { content: "✓"; position: absolute; left: 4px; color: var(--accent); font-weight: 700; }

/* ---------- 资讯列表（横向卡片） ---------- */
.news-list { display: flex; flex-direction: column; gap: 18px; }
.news-item { display: flex; gap: 20px; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: box-shadow .2s, transform .2s; }
.news-item:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.news-cover { width: 262px; flex: none; background: #dde7ef; }
.news-cover img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16 / 10; }
.news-body { padding: 18px 22px 18px 0; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.news-body h3 { font-size: 17.5px; color: var(--primary-dark); line-height: 1.5; }
.news-body h3 a:hover { color: var(--accent-dark); }
.news-body p { color: var(--muted); font-size: 14px; text-align: justify; }
.news-meta { margin-top: auto; display: flex; gap: 14px; font-size: 13px; color: #8a99a6; flex-wrap: wrap; }
.news-meta .cat { color: var(--accent-dark); font-weight: 600; }

/* ---------- 列表页筛选条 ---------- */
.filter-bar { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px 16px; margin-bottom: 26px; }
.filter-bar input[type="text"], .filter-bar select { height: 42px; padding: 0 14px; border: 1px solid var(--border); border-radius: 9px; font-size: 14.5px; background: #fff; color: var(--text); min-width: 0; flex: 1 1 180px; max-width: 320px; width: 100%; }
.filter-bar select { flex: 0 1 170px; }
.filter-bar button { height: 42px; padding: 0 22px; }
.cat-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.cat-tabs a { padding: 7px 18px; border-radius: 999px; border: 1px solid var(--border); background: #fff; font-size: 14px; color: var(--muted); }
.cat-tabs a:hover { color: var(--primary); border-color: var(--primary); }
.cat-tabs a.on { background: var(--primary); border-color: var(--primary); color: #fff; }

/* ---------- 详情页 ---------- */
.detail-wrap { max-width: 880px; margin: 0 auto; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); padding: 34px 40px; }
.detail-head h1 { font-size: clamp(21px, 3vw, 28px); color: var(--primary-dark); line-height: 1.45; }
.detail-meta { margin-top: 10px; display: flex; gap: 16px; flex-wrap: wrap; color: #8a99a6; font-size: 13.5px; border-bottom: 1px solid var(--border); padding-bottom: 16px; }
.detail-content { padding-top: 20px; }
.detail-content p { margin-bottom: 14px; text-align: justify; }
.detail-content h2, .detail-content h3, .detail-content h4 { color: var(--primary-dark); margin: 22px 0 10px; line-height: 1.4; }
.detail-content img { border-radius: 10px; margin: 12px auto; }
.detail-content ul { margin: 0 0 14px 2px; }
.detail-content ul li { position: relative; padding-left: 20px; margin-bottom: 6px; text-align: justify; }
.detail-content ul li::before { content: ""; position: absolute; left: 2px; top: .72em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.detail-content a { color: var(--primary-3); text-decoration: underline; }
.detail-content table { width: 100%; border-collapse: collapse; margin-bottom: 14px; }
.detail-content th, .detail-content td { border: 1px solid var(--border); padding: 8px 12px; font-size: 14.5px; }
.detail-content th { background: #f2f6f9; }
.detail-content blockquote { border-left: 4px solid var(--accent); background: #faf7ee; padding: 12px 16px; border-radius: 0 8px 8px 0; margin-bottom: 14px; color: #5c5342; }

/* 户型图集 */
.gallery-main { border-radius: var(--radius); overflow: hidden; background: #dde7ef; margin-bottom: 12px; border: 1px solid var(--border); }
.gallery-main img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.gallery-thumbs { display: flex; gap: 10px; flex-wrap: wrap; }
.g-thumb { width: 96px; height: 68px; border-radius: 8px; overflow: hidden; border: 2px solid transparent; padding: 0; cursor: pointer; background: #dde7ef; }
.g-thumb img { width: 100%; height: 100%; object-fit: cover; }
.g-thumb.on { border-color: var(--accent); }
/* 户型参数表 */
.spec-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; margin: 6px 0 22px; }
.spec-item { background: #f5f8fb; border: 1px solid var(--border); border-radius: 10px; padding: 12px 14px; }
.spec-item dt { font-size: 12.5px; color: var(--muted); }
.spec-item dd { font-size: 15.5px; font-weight: 600; color: var(--primary-dark); margin-top: 2px; word-break: break-all; }
.price-line { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-bottom: 20px; }
.price-line .price { font-size: 26px; }
.prevnext { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; border-top: 1px solid var(--border); margin-top: 26px; padding-top: 16px; font-size: 14px; }
.prevnext a { color: var(--primary); max-width: 48%; }
.prevnext a:hover { color: var(--accent-dark); }

/* ---------- 联系页 ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 26px; align-items: start; }
.info-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); padding: 26px 26px; }
.info-card h3 { color: var(--primary-dark); margin-bottom: 16px; font-size: 18px; }
.info-list li { display: flex; gap: 10px; padding: 10px 0; border-bottom: 1px dashed var(--border); font-size: 14.5px; }
.info-list li:last-child { border-bottom: 0; }
.info-list b { color: var(--muted); font-weight: 500; flex: none; }
.form-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); padding: 26px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-item { display: flex; flex-direction: column; gap: 6px; }
.form-item.full { grid-column: 1 / -1; }
.form-item label { font-size: 14px; font-weight: 600; color: #3c4a54; }
.form-item label i { color: #c0392b; font-style: normal; }
.form-control { width: 100%; max-width: 100%; padding: 11px 14px; border: 1px solid var(--border); border-radius: 9px; font-size: 15px; font-family: inherit; color: var(--text); background: #fff; transition: border .2s, box-shadow .2s; }
.form-control:focus { outline: none; border-color: var(--primary-3); box-shadow: 0 0 0 3px rgba(29,91,126,.14); }
textarea.form-control { min-height: 120px; resize: vertical; }
.form-tip { font-size: 12.5px; color: var(--muted); }
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* ---------- 提示条 ---------- */
.alert { padding: 13px 16px; border-radius: 10px; font-size: 14.5px; margin-bottom: 18px; border: 1px solid transparent; }
.alert.ok { background: #eefaf1; border-color: #bfe6cb; color: #1e7c3a; }
.alert.err { background: #fdf0ef; border-color: #f2c9c5; color: #b03a2e; }

/* ---------- 分页 ---------- */
.pager { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin: 38px 0 8px; }
.pager a, .pager span { min-width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; padding: 0 12px; border-radius: 9px; border: 1px solid var(--border); background: #fff; font-size: 14px; color: var(--text); }
.pager a:hover { border-color: var(--primary); color: var(--primary); }
.pager .on { background: var(--primary); border-color: var(--primary); color: #fff; font-weight: 600; }
.pager span:not(.on) { border: 0; background: transparent; }

/* ---------- CTA 横幅 ---------- */
.cta-band { background: linear-gradient(120deg, var(--primary-dark), var(--primary-3)); border-radius: var(--radius); color: #fff; padding: 40px 36px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.cta-band h3 { font-size: clamp(19px, 2.6vw, 25px); }
.cta-band p { color: rgba(255,255,255,.8); margin-top: 6px; }
.cta-band .price { color: var(--accent); font-size: 24px; }

/* ---------- 页面头部横幅（内页） ---------- */
.page-hero { position: relative; background: linear-gradient(135deg, #0c2536, var(--primary-3)); color: #fff; padding: 58px 0; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; right: -60px; top: -80px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(201,162,39,.18), transparent 68%); pointer-events: none; }
.page-hero h1 { font-size: clamp(24px, 3.6vw, 36px); letter-spacing: 2px; }
.page-hero .crumb { margin-top: 10px; font-size: 13.5px; color: rgba(255,255,255,.75); }
.page-hero .crumb a:hover { color: var(--accent); }

/* ---------- 页脚 ---------- */
.site-footer { background: var(--primary-dark); color: rgba(255,255,255,.82); margin-top: 70px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr 1.2fr; gap: 30px; padding: 46px 20px 34px; }
.f-col h4 { color: #fff; font-size: 16.5px; margin-bottom: 14px; }
.f-col p { font-size: 14px; }
.muted-light { color: rgba(255,255,255,.62); }
.f-links li { margin-bottom: 8px; }
.f-links a:hover { color: var(--accent); }
.f-contact li { font-size: 14px; margin-bottom: 8px; word-break: break-all; }
.copyright { border-top: 1px solid rgba(255,255,255,.12); padding: 16px 0; font-size: 13px; color: rgba(255,255,255,.55); text-align: center; }
.copyright a { color: inherit; }
.copyright a:hover { color: var(--accent); }

/* ============================================================
   响应式媒体查询
   ============================================================ */
@media (max-width: 1024px) {
  .section { padding: 58px 0; }
  .news-cover { width: 230px; }
  .detail-wrap { padding: 28px 26px; }
}

@media (max-width: 820px) {
  /* 移动端导航：汉堡菜单展开为纵向列表 */
  .nav-toggle { display: flex; }
  .main-nav { display: none; width: 100%; flex-direction: column; align-items: stretch; gap: 0; padding: 4px 0 14px; }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px 10px; border-radius: 0; border-top: 1px solid var(--border); }
  .main-nav a.on { background: transparent; }
  .nav-cta { margin: 10px 10px 0 10px; border-top: 0; justify-content: center; }

  .hero { padding: 64px 0 84px; }
  .split { grid-template-columns: 1fr; gap: 24px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; padding: 38px 20px 26px; }
}

@media (max-width: 640px) {
  body { font-size: 15px; }
  .container { padding: 0 16px; }
  .section { padding: 40px 0; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat { padding: 18px 8px; border-left: 0; }
  .stat b { font-size: 24px; }
  .news-item { flex-direction: column; gap: 0; }
  .news-cover { width: 100%; }
  .news-cover img { aspect-ratio: 16 / 9; }
  .news-body { padding: 14px 16px 16px; }
  .form-grid { grid-template-columns: 1fr; }
  .filter-bar input[type="text"], .filter-bar select { max-width: none; flex: 1 1 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 22px; }
  .detail-wrap { padding: 20px 16px; border-radius: 10px; }
  .spec-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
  .cta-band { padding: 28px 22px; }
  .cta-band .price { font-size: 21px; }
  .cards-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
  .page-hero { padding: 34px 0; }
}

@media (max-width: 420px) {
  .logo { font-size: 18px; }
  .hero h1 { letter-spacing: 0; }
  .cards-grid { grid-template-columns: 1fr; }
  .g-thumb { width: 78px; height: 56px; }
  .btn { width: 100%; }
  .hero-actions .btn { width: auto; flex: 1 1 auto; }
}

/* ============================================================
   首页轮播图
   ============================================================ */
.hero-carousel { position: relative; overflow: hidden; background: var(--primary-dark); }
.carousel-slides { position: relative; height: clamp(340px, 46vw, 600px); }
.slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .8s ease, visibility .8s; display: flex; align-items: center; }
.slide-bg { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.06); }
.slide.is-active { opacity: 1; visibility: visible; }
.slide.is-active .slide-bg { animation: kenburns 7s ease-out forwards; }
@keyframes kenburns { from { transform: scale(1.12); } to { transform: scale(1.02); } }
.slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,26,38,.58) 0%, rgba(10,26,38,.18) 55%, rgba(10,26,38,0) 100%); }
.slide-inner { position: relative; z-index: 1; width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 24px; color: #fff; }
.slide-tag { display: inline-block; padding: 5px 16px; border: 1px solid rgba(255,255,255,.4); border-radius: 999px; font-size: 13px; letter-spacing: 3px; margin-bottom: 16px; color: rgba(255,255,255,.92); backdrop-filter: blur(2px); }
.slide-inner h2 { font-size: clamp(28px, 4.6vw, 54px); line-height: 1.25; font-weight: 700; letter-spacing: 2px; text-shadow: 0 3px 24px rgba(0,0,0,.4); }
.slide-inner p { margin-top: 14px; font-size: clamp(15px, 2vw, 20px); color: rgba(255,255,255,.9); text-shadow: 0 1px 12px rgba(0,0,0,.45); }
.slide-inner .btn { margin-top: 26px; padding: 13px 30px; }
.slide-count { position: absolute; right: 26px; bottom: 20px; z-index: 3; font-family: Georgia, "Times New Roman", serif; font-size: 15px; letter-spacing: 2px; color: rgba(255,255,255,.88); }
.carousel-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 46px; height: 46px; border: 0; border-radius: 50%; background: rgba(255,255,255,.18); color: #fff; font-size: 26px; line-height: 1; cursor: pointer; backdrop-filter: blur(4px); transition: background .2s; }
.carousel-arrow:hover { background: rgba(255,255,255,.34); }
.carousel-arrow.prev { left: 16px; }
.carousel-arrow.next { right: 16px; }
.carousel-dots { position: absolute; left: 0; right: 0; bottom: 18px; z-index: 3; display: flex; justify-content: center; gap: 10px; }
.carousel-dots button { width: 10px; height: 10px; border-radius: 999px; border: 0; padding: 0; background: rgba(255,255,255,.45); cursor: pointer; transition: width .3s, background .3s; }
.carousel-dots button.on { width: 26px; background: var(--accent); }

/* ============================================================
   楼盘相册
   ============================================================ */
.album-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.album-item { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; background: #dde7ef; border: 1px solid var(--border); cursor: zoom-in; padding: 0; }
.album-item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .35s; }
.album-item:hover img { transform: scale(1.04); }
.album-item::after { content: "⤢"; position: absolute; right: 10px; bottom: 8px; width: 30px; height: 30px; border-radius: 8px; background: rgba(15,47,66,.55); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 15px; }
.community-meta { display: flex; gap: 18px; flex-wrap: wrap; color: var(--muted); font-size: 14px; margin-top: 8px; }
.community-meta b { color: var(--primary); font-weight: 600; }

/* ============================================================
   灯箱（图片大图预览）
   ============================================================ */
.lightbox { position: fixed; inset: 0; z-index: 999; display: none; align-items: center; justify-content: center; background: rgba(8,18,26,.92); }
.lightbox.open { display: flex; }
.lightbox img { max-width: min(92vw, 1100px); max-height: 82vh; border-radius: 10px; box-shadow: 0 20px 60px rgba(0,0,0,.5); object-fit: contain; }
.lb-btn { position: absolute; border: 0; background: rgba(255,255,255,.14); color: #fff; cursor: pointer; border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: background .2s; }
.lb-btn:hover { background: rgba(255,255,255,.3); }
.lb-close { top: 18px; right: 18px; width: 44px; height: 44px; font-size: 24px; }
.lb-prev, .lb-next { top: 50%; transform: translateY(-50%); width: 48px; height: 48px; font-size: 26px; }
.lb-prev { left: 14px; }
.lb-next { right: 14px; }
.lb-count { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,.85); font-size: 13.5px; letter-spacing: 1px; }
body.lb-locked { overflow: hidden; }

@media (max-width: 640px) {
  .carousel-slides { height: clamp(240px, 60vw, 340px); }
  .carousel-arrow { display: none; } /* 手机端隐藏箭头，使用手势滑动 */
  .album-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
  .album-item::after { right: 6px; bottom: 6px; width: 24px; height: 24px; font-size: 12px; }
}

/* ============================================================
   商业化升级层（顶栏 / 双语版块 / 业务 / 流程 / 口碑 / 荣誉 /
   时间轴 / 地图门店 / 富版页脚 / 动效）
   ============================================================ */
:root { --gold-2: #e8d28a; --navy-ink: #12283a; --paper: #fbfcfe; }

/* ---------- 顶部服务条 ---------- */
.topbar { background: var(--primary-dark); color: rgba(255,255,255,.72); font-size: 13px; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 40px; flex-wrap: wrap; }
.topbar .tb-left { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.topbar .tb-left span::before { content: "◆"; color: var(--accent); font-size: 9px; margin-right: 6px; vertical-align: 1px; }
.topbar .tb-right { display: flex; align-items: center; gap: 14px; }
.topbar .tb-hotline { color: var(--gold-2); font-weight: 700; letter-spacing: .5px; }

/* ---------- 版块标题：双语 + 居中变体 ---------- */
.sec-en { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; letter-spacing: 3px; color: var(--accent-dark); font-weight: 700; text-transform: uppercase; margin-bottom: 8px; }
.sec-en::before, .sec-en::after { content: ""; width: 26px; height: 1px; background: var(--accent); opacity: .6; }
.sec-head.center { flex-direction: column; align-items: center; text-align: center; }
.sec-head.center .sec-en::before, .sec-head.center .sec-en::after { display: inline-block; }
.sec-head.center p { max-width: 640px; }

/* ---------- 数字（衬线质感） ---------- */
.stat b { font-family: Georgia, "Times New Roman", "STZhongsong", serif; letter-spacing: .5px; }
.stat b i { font-style: normal; }

/* ---------- 核心业务 ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.svc-card { position: relative; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); padding: 30px 24px 26px; overflow: hidden; transition: transform .25s, box-shadow .25s; }
.svc-card::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, var(--accent), transparent); transform: scaleX(0); transform-origin: left; transition: transform .35s; }
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.svc-card:hover::after { transform: scaleX(1); }
.svc-icon { width: 58px; height: 58px; border-radius: 16px; background: linear-gradient(145deg, #eef4f9, #dfe9f2); color: var(--primary); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; transition: background .3s, color .3s; }
.svc-card:hover .svc-icon { background: linear-gradient(145deg, var(--primary), var(--primary-3)); color: var(--gold-2); }
.svc-icon svg { width: 28px; height: 28px; }
.svc-card h3 { font-size: 17.5px; color: var(--primary-dark); margin-bottom: 8px; }
.svc-card p { font-size: 13.8px; color: var(--muted); line-height: 1.75; text-align: justify; }
.svc-card .svc-no { position: absolute; right: 16px; top: 12px; font-family: Georgia, serif; font-size: 44px; line-height: 1; color: #edf2f7; font-weight: 700; }

/* ---------- 服务流程 ---------- */
.flow-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; counter-reset: flow; }
.flow-step { position: relative; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px 18px 22px; text-align: center; transition: transform .25s, box-shadow .25s; }
.flow-step:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.flow-step::before { counter-increment: flow; content: "0" counter(flow); position: absolute; top: -14px; left: 50%; transform: translateX(-50%); width: 28px; height: 28px; border-radius: 50%; background: var(--accent); color: #1d2733; font-weight: 700; font-size: 13px; display: flex; align-items: center; justify-content: center; font-family: Georgia, serif; }
.flow-step .fs-icon { color: var(--primary); margin-bottom: 12px; }
.flow-step .fs-icon svg { width: 34px; height: 34px; }
.flow-step h4 { font-size: 16px; color: var(--primary-dark); margin-bottom: 6px; }
.flow-step p { font-size: 12.8px; color: var(--muted); line-height: 1.7; }

/* ---------- 客户口碑 ---------- */
.quotes-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.quote-card { position: relative; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px 24px 22px; }
.quote-card::before { content: "\201C"; position: absolute; right: 18px; top: 2px; font-family: Georgia, serif; font-size: 84px; line-height: 1; color: #eef2f7; }
.quote-stars { color: var(--accent); letter-spacing: 2px; font-size: 14px; margin-bottom: 12px; }
.quote-card p { font-size: 14.3px; color: #3c4a54; line-height: 1.85; text-align: justify; position: relative; }
.quote-who { margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--border); display: flex; align-items: center; gap: 10px; }
.quote-who .q-avatar { width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(145deg, var(--primary), var(--primary-3)); color: var(--gold-2); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 15px; }
.quote-who b { font-size: 14px; color: var(--primary-dark); display: block; }
.quote-who span { font-size: 12px; color: var(--muted); }

/* ---------- 荣誉资质 ---------- */
.honor-wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: 26px; align-items: center; }
.honor-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.honor-item { display: flex; align-items: center; gap: 10px; background: var(--card); border: 1px solid var(--border); border-radius: 10px; padding: 13px 15px; font-size: 13.8px; color: #3c4a54; transition: border-color .2s, box-shadow .2s; }
.honor-item:hover { border-color: var(--accent); box-shadow: var(--shadow); }
.honor-item::before { content: "🏆"; font-size: 16px; }
.honor-banner { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 250px; background: linear-gradient(150deg, var(--primary-dark), var(--primary-3)); color: #fff; padding: 30px 28px; display: flex; flex-direction: column; justify-content: flex-end; }
.honor-banner .hb-big { font-family: Georgia, "Times New Roman", serif; font-size: 64px; line-height: 1; color: var(--gold-2); }
.honor-banner h4 { font-size: 19px; margin: 10px 0 6px; }
.honor-banner p { font-size: 13.5px; color: rgba(255,255,255,.78); }

/* ---------- 发展历程时间轴 ---------- */
.timeline { position: relative; margin-top: 30px; padding-left: 26px; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(180deg, var(--accent), var(--border)); }
.tl-item { position: relative; padding: 0 0 26px 24px; }
.tl-item:last-child { padding-bottom: 4px; }
.tl-item::before { content: ""; position: absolute; left: -26px; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 3px solid var(--accent); }
.tl-item b { font-family: Georgia, "Times New Roman", serif; font-size: 20px; color: var(--primary); }
.tl-item h4 { display: inline; font-size: 15.5px; color: var(--primary-dark); margin-left: 10px; }
.tl-item p { font-size: 13.8px; color: var(--muted); margin-top: 4px; }

/* ---------- 价值观卡片 ---------- */
.value-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.value-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px 22px; text-align: center; box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s; }
.value-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.value-card .v-char { font-family: "STZhongsong", "SimSun", Georgia, serif; font-size: 40px; line-height: 1; color: var(--accent-dark); }
.value-card h4 { font-size: 16.5px; color: var(--primary-dark); margin: 12px 0 8px; }
.value-card p { font-size: 13.2px; color: var(--muted); }

/* ---------- 地图占位 / 门店 ---------- */
.contact-rich { display: grid; grid-template-columns: 1.1fr .9fr; gap: 26px; align-items: start; margin-top: 26px; }
.map-box { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); min-height: 320px; background: linear-gradient(rgba(22,66,91,.06), rgba(22,66,91,.06)), repeating-linear-gradient(0deg, transparent, transparent 39px, rgba(22,66,91,.08) 39px, rgba(22,66,91,.08) 40px), repeating-linear-gradient(90deg, transparent, transparent 39px, rgba(22,66,91,.08) 39px, rgba(22,66,91,.08) 40px), #f2f6f9; display: flex; align-items: center; justify-content: center; }
.map-pin { text-align: center; color: var(--primary); }
.map-pin svg { width: 44px; height: 44px; color: #c0392b; margin: 0 auto 8px; }
.map-pin b { display: block; font-size: 15.5px; color: var(--primary-dark); }
.map-pin span { font-size: 12.5px; color: var(--muted); }
.map-tag { position: absolute; left: 12px; top: 12px; background: rgba(15,47,66,.82); color: #fff; font-size: 12px; padding: 5px 12px; border-radius: 999px; }
.store-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px 24px; display: flex; gap: 16px; align-items: flex-start; }
.store-card + .store-card { margin-top: 14px; }
.store-icon { flex: none; width: 46px; height: 46px; border-radius: 12px; background: linear-gradient(145deg, #eef4f9, #dfe9f2); color: var(--primary); display: flex; align-items: center; justify-content: center; }
.store-icon svg { width: 24px; height: 24px; }
.store-card h4 { font-size: 15.5px; color: var(--primary-dark); }
.store-card p { font-size: 13.3px; color: var(--muted); margin-top: 3px; }
.store-card .s-tel { margin-top: 8px; display: inline-flex; align-items: center; gap: 6px; color: var(--accent-dark); font-weight: 700; font-size: 14.5px; }

/* ---------- 富版页脚 ---------- */
.site-footer { background: radial-gradient(1200px 400px at 80% -10%, rgba(201,162,39,.12), transparent 60%), var(--primary-dark); }
.footer-grid { display: grid; grid-template-columns: 1.4fr .7fr .9fr 1.2fr; gap: 30px; padding: 50px 20px 36px; }
.f-brand { display: flex; align-items: center; gap: 10px; color: #fff; font-size: 19px; font-weight: 700; margin-bottom: 12px; }
.f-hotline { margin-top: 16px; }
.f-hotline span { display: block; font-size: 12px; letter-spacing: 2px; color: rgba(255,255,255,.5); }
.f-hotline b { font-family: Georgia, "Times New Roman", serif; font-size: 26px; color: var(--gold-2); letter-spacing: 1px; }
.f-qr { display: flex; gap: 14px; margin-top: 16px; }
.qr-box { width: 92px; text-align: center; }
.qr-box .qr-img { width: 92px; height: 92px; border-radius: 8px; background: #fff; padding: 6px; display: block; }
.qr-box .qr-img img { width: 100%; height: 100%; object-fit: contain; }
.qr-box span { display: block; margin-top: 6px; font-size: 11.5px; color: rgba(255,255,255,.55); }
.footer-links-title { color: #fff; font-size: 15.5px; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px solid rgba(255,255,255,.12); position: relative; }
.footer-links-title::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 28px; height: 2px; background: var(--accent); }

/* ---------- 入场动画 & 数字滚动 ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .8s cubic-bezier(.16,1,.3,1), transform .8s cubic-bezier(.16,1,.3,1); }
.js [data-reveal].in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .slide.is-active .slide-bg { animation: none; }
}

/* ---------- 升级层响应式 ---------- */
@media (max-width: 1024px) {
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .flow-grid { grid-template-columns: repeat(3, 1fr); row-gap: 26px; }
  .quotes-grid { grid-template-columns: 1fr; }
  .honor-wrap { grid-template-columns: 1fr; }
  .value-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-rich { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .topbar .tb-left span:not(:first-child) { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .topbar { font-size: 12px; }
  .svc-grid { grid-template-columns: 1fr; }
  .flow-grid { grid-template-columns: repeat(2, 1fr); }
  .value-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .honor-list { grid-template-columns: 1fr; }
  .f-qr { flex-wrap: wrap; }
}
@media (max-width: 480px) {
  .flow-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .topbar .tb-left { display: none; }
  .topbar-inner { justify-content: center; }
}
