/* ============================================================
   康颐养老社区 - 企业官网全局样式
   兼容桌面端与移动端（断点：1024px / 768px / 480px）
   ============================================================ */

/* ---------- 变量与基础重置 ---------- */
:root {
  --primary: #e8833a;        /* 主色：暖橙（夕阳暖调） */
  --primary-dark: #cf6a24;
  --secondary: #2f9e8f;      /* 辅色：康养青绿 */
  --secondary-dark: #238276;
  --bg: #fdfaf6;
  --bg-soft: #f7f1e8;
  --card: #ffffff;
  --text: #3a3430;
  --text-light: #7a726b;
  --border: #ece4da;
  --shadow: 0 4px 20px rgba(90, 70, 40, 0.08);
  --radius: 14px;
  --maxw: 1180px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.75;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; transition: color .25s; }
ul, ol { list-style: none; }
img { max-width: 100%; display: block; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- 通用组件 ---------- */
.btn {
  display: inline-block;
  padding: 12px 34px;
  border-radius: 999px;
  font-size: 16px;
  cursor: pointer;
  border: none;
  transition: all .3s;
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary), #f0a05e);
  color: #fff;
  box-shadow: 0 6px 18px rgba(232, 131, 58, .35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(232, 131, 58, .45); }
.btn-ghost {
  border: 1.5px solid rgba(255, 255, 255, .85);
  color: #fff;
  background: transparent;
}
.btn-ghost:hover { background: rgba(255, 255, 255, .18); }

.section { padding: 76px 0; }
.section.alt { background: var(--bg-soft); }

.section-head { text-align: center; margin-bottom: 48px; }
.section-head .eyebrow {
  display: inline-block;
  color: var(--secondary);
  font-size: 14px;
  letter-spacing: 4px;
  margin-bottom: 10px;
  text-transform: uppercase;
}
.section-head h2 { font-size: 32px; letter-spacing: 2px; color: var(--text); }
.section-head .line {
  width: 56px; height: 4px; border-radius: 2px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  margin: 16px auto 0;
}
.section-head p.sub { color: var(--text-light); margin-top: 14px; font-size: 15px; }

/* ---------- 页头导航 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--border);
}
.header-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
}
.logo .logo-mark {
  width: 42px; height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 20px; font-weight: 800;
  letter-spacing: 0;
}
.logo .en { display: block; font-size: 11px; font-weight: 400; color: var(--text-light); letter-spacing: 1px; }

.main-nav ul { display: flex; gap: 6px; }
.main-nav a {
  display: block;
  padding: 8px 18px;
  font-size: 16px;
  color: var(--text);
  border-radius: 8px;
  position: relative;
}
.main-nav a:hover { color: var(--primary); background: rgba(232, 131, 58, .08); }
.main-nav a.active { color: var(--primary); font-weight: 600; }
.main-nav a.active::after {
  content: "";
  position: absolute;
  left: 18px; right: 18px; bottom: 2px;
  height: 3px; border-radius: 2px;
  background: var(--primary);
}

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span {
  display: block; width: 24px; height: 2.5px;
  background: var(--text); border-radius: 2px;
  margin: 5px 0;
  transition: all .3s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- 首页 Banner 轮播 ---------- */
.banner {
  position: relative;
  height: 560px;
  overflow: hidden;
}
.banner .slide {
  position: absolute; inset: 0;
  display: flex; align-items: center;
  opacity: 0; transition: opacity .9s ease;
}
.banner .slide.active { opacity: 1; }
.slide-1 {
  background: linear-gradient(120deg, #f6b26b 0%, #e8833a 55%, #cf6a24 100%);
}
.slide-2 {
  background: linear-gradient(120deg, #56b7a8 0%, #2f9e8f 55%, #238276 100%);
}
.slide-3 {
  background: linear-gradient(120deg, #f2a65e 0%, #d97b3f 50%, #7e5a3c 100%);
}
.slide::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 82% 30%, rgba(255,255,255,.16) 0 140px, transparent 141px),
    radial-gradient(circle at 70% 78%, rgba(255,255,255,.10) 0 90px, transparent 91px),
    radial-gradient(circle at 92% 65%, rgba(255,255,255,.12) 0 60px, transparent 61px);
}
.slide .slide-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
  color: #fff;
  position: relative;
}
.slide .tag {
  display: inline-block;
  background: rgba(255,255,255,.2);
  border: 1px solid rgba(255,255,255,.5);
  padding: 4px 16px;
  border-radius: 999px;
  font-size: 14px;
  margin-bottom: 18px;
  letter-spacing: 2px;
}
.slide h1 {
  font-size: 44px;
  line-height: 1.3;
  letter-spacing: 2px;
  max-width: 640px;
  text-shadow: 0 2px 12px rgba(0,0,0,.12);
}
.slide p { margin: 18px 0 30px; font-size: 18px; max-width: 560px; opacity: .95; }
.slide .btn + .btn { margin-left: 14px; }

.banner .dots {
  position: absolute;
  bottom: 26px; left: 50%;
  transform: translateX(-50%);
  display: flex; gap: 10px;
  z-index: 5;
}
.banner .dots button {
  width: 12px; height: 12px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,.5);
  cursor: pointer;
  transition: all .3s;
}
.banner .dots button.active { background: #fff; width: 30px; border-radius: 6px; }

.banner .arrow {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  z-index: 5;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,.28);
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  transition: background .3s;
}
.banner .arrow:hover { background: rgba(255,255,255,.5); }
.banner .arrow.prev { left: 22px; }
.banner .arrow.next { right: 22px; }

/* ---------- 数据统计条 ---------- */
.stats {
  background: var(--card);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  margin-top: -60px;
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 30px 10px;
}
.stats .stat { text-align: center; border-right: 1px dashed var(--border); }
.stats .stat:last-child { border-right: none; }
.stats .num {
  font-size: 34px;
  font-weight: 800;
  color: var(--primary);
}
.stats .num span { font-size: 16px; font-weight: 600; margin-left: 2px; }
.stats .label { color: var(--text-light); font-size: 14px; margin-top: 4px; }

/* ---------- 关于我们（首页） ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 48px;
  align-items: center;
}
.about-visual {
  border-radius: var(--radius);
  min-height: 380px;
  background:
    linear-gradient(135deg, rgba(47,158,143,.92), rgba(47,158,143,.75)),
    radial-gradient(circle at 30% 20%, rgba(255,255,255,.25) 0 60px, transparent 61px),
    linear-gradient(135deg, #3aa896, #238276);
  display: flex; align-items: flex-end;
  padding: 34px;
  color: #fff;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.about-visual::after {
  content: "";
  position: absolute;
  right: -50px; top: -50px;
  width: 220px; height: 220px;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
}
.about-visual .quote { font-size: 20px; line-height: 1.8; max-width: 420px; position: relative; }
.about-visual .quote small { display: block; margin-top: 12px; opacity: .85; font-size: 14px; }
.about-text h3 { font-size: 26px; margin-bottom: 18px; }
.about-text p { color: var(--text-light); margin-bottom: 14px; text-align: justify; }
.about-points { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 22px 0 28px; }
.about-points li {
  display: flex; align-items: center; gap: 10px;
  font-size: 15px;
}
.about-points .dot {
  width: 26px; height: 26px; flex: none;
  border-radius: 50%;
  background: rgba(47,158,143,.12);
  color: var(--secondary);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px;
}

/* ---------- 服务体系卡片（参考启泰元康服务卡） ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.service-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 34px 28px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: transform .3s, box-shadow .3s;
  display: flex; flex-direction: column;
}
.service-card:hover { transform: translateY(-6px); box-shadow: 0 14px 34px rgba(90, 70, 40, .14); }
.service-card .icon {
  width: 62px; height: 62px;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 30px;
  margin-bottom: 20px;
  background: linear-gradient(135deg, rgba(232,131,58,.14), rgba(232,131,58,.05));
  color: var(--primary);
}
.service-card:nth-child(even) .icon {
  background: linear-gradient(135deg, rgba(47,158,143,.14), rgba(47,158,143,.05));
  color: var(--secondary);
}
.service-card h3 { font-size: 20px; margin-bottom: 6px; }
.service-card .scope {
  font-size: 13px;
  color: var(--secondary);
  background: rgba(47,158,143,.08);
  display: inline-block;
  padding: 3px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
  align-self: flex-start;
}
.service-card p { font-size: 15px; color: var(--text-light); flex: 1; }

/* ---------- 社区环境展示 ---------- */
.env-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 210px;
  gap: 20px;
}
.env-item {
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
  display: flex; align-items: flex-end;
  padding: 22px;
  color: #fff;
  box-shadow: var(--shadow);
}
.env-item .name { position: relative; z-index: 2; font-size: 19px; font-weight: 600; letter-spacing: 1px; }
.env-item .name small { display: block; font-weight: 400; font-size: 13px; opacity: .9; }

/* 环境项实景图 */
.env-item .env-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  transition: transform .45s ease;
}
.env-item:hover .env-img { transform: scale(1.06); }
.env-item::after {
  content: "";
  position: absolute; inset: 0;
  z-index: 1;
  background: linear-gradient(to top, rgba(0,0,0,.55), transparent 60%);
}
.env-7 { background: linear-gradient(135deg, #8fb8d4, #4a7fa0); }
.env-8 { background: linear-gradient(135deg, #d9b6a3, #a9715a); }
.env-1 { background: linear-gradient(135deg, #7cc08b, #3f9d63); }
.env-2 { background: linear-gradient(135deg, #f0b27a, #dd8448); }
.env-3 { background: linear-gradient(135deg, #6fb9c9, #3a8ca3); }
.env-4 { background: linear-gradient(135deg, #a58bc9, #7d5ba6); grid-row: span 2; }
.env-5 { background: linear-gradient(135deg, #e79a7c, #c96a4e); }
.env-6 { background: linear-gradient(135deg, #8fc3a6, #569b72); }

/* ---------- 新闻动态（参考爱连健康「我们的声音」列表） ---------- */
.news-list { max-width: 860px; margin: 0 auto; }
.news-item {
  display: flex;
  gap: 28px;
  padding: 30px 20px;
  border-bottom: 1px solid var(--border);
  transition: background .25s;
  border-radius: 10px;
}
.news-item:hover { background: rgba(232, 131, 58, .05); }
.news-date {
  flex: none;
  width: 82px;
  text-align: center;
  padding-top: 4px;
}
.news-date .d { font-size: 32px; font-weight: 800; color: var(--primary); line-height: 1.1; }
.news-date .ym { font-size: 13px; color: var(--text-light); }
.news-body h3 {
  font-size: 19px;
  margin-bottom: 8px;
  line-height: 1.5;
}
.news-item:hover h3 { color: var(--primary); }
.news-body p {
  font-size: 15px;
  color: var(--text-light);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-more { text-align: center; margin-top: 40px; }
.news-more .btn { background: #fff; color: var(--primary); border: 1.5px solid var(--primary); box-shadow: none; }
.news-more .btn:hover { background: var(--primary); color: #fff; }

/* ---------- 页内 Banner ---------- */
.page-banner {
  padding: 86px 0;
  text-align: center;
  color: #fff;
  background: linear-gradient(120deg, #e8833a 0%, #cf6a24 60%, #b25a1f 100%);
  position: relative;
  overflow: hidden;
}
.page-banner.teal { background: linear-gradient(120deg, #2f9e8f 0%, #238276 60%, #1b6a5f 100%); }
.page-banner::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 15% 30%, rgba(255,255,255,.14) 0 90px, transparent 91px),
    radial-gradient(circle at 85% 70%, rgba(255,255,255,.12) 0 120px, transparent 121px);
}
.page-banner h1 { font-size: 36px; letter-spacing: 3px; position: relative; }
.page-banner p { margin-top: 10px; opacity: .92; position: relative; }
.breadcrumb {
  margin-top: 14px;
  font-size: 14px;
  opacity: .9;
  position: relative;
}
.breadcrumb a:hover { text-decoration: underline; }

/* ---------- 关于页 ---------- */
.about-page-grid { display: grid; grid-template-columns: 1fr; gap: 20px; max-width: 900px; margin: 0 auto; }
.about-block { background: var(--card); border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow); border: 1px solid var(--border); }
.about-block h3 { font-size: 21px; color: var(--primary); margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
.about-block p { color: var(--text-light); text-align: justify; }

.timeline { position: relative; padding-left: 30px; margin-top: 8px; }
.timeline::before {
  content: "";
  position: absolute; left: 8px; top: 6px; bottom: 6px;
  width: 2px; background: var(--border);
}
.timeline li { position: relative; margin-bottom: 24px; }
.timeline li::before {
  content: "";
  position: absolute; left: -28px; top: 8px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--secondary);
  box-shadow: 0 0 0 4px rgba(47,158,143,.15);
}
.timeline .year { font-weight: 700; color: var(--secondary); margin-right: 10px; }
.timeline .desc { color: var(--text-light); font-size: 15px; }

.honors-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.honors-grid li {
  background: var(--bg-soft);
  border-radius: 10px;
  padding: 14px 18px;
  font-size: 15px;
  display: flex; gap: 10px; align-items: center;
}
.honors-grid .medal { color: var(--primary); }

/* ---------- 服务页筛选 ---------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-bottom: 40px; }
.filter-bar button {
  padding: 9px 26px;
  border-radius: 999px;
  border: 1.5px solid var(--border);
  background: #fff;
  color: var(--text-light);
  font-size: 15px;
  cursor: pointer;
  transition: all .25s;
}
.filter-bar button:hover { border-color: var(--primary); color: var(--primary); }
.filter-bar button.active { background: var(--primary); border-color: var(--primary); color: #fff; }

/* ---------- 新闻列表页 / 详情页 ---------- */
.news-page-item {
  display: flex;
  gap: 26px;
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  padding: 26px;
  margin-bottom: 22px;
  transition: transform .25s, box-shadow .25s;
}
.news-page-item:hover { transform: translateY(-4px); box-shadow: 0 14px 32px rgba(90,70,40,.13); }
.news-page-item .thumb {
  flex: none;
  width: 210px; height: 140px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 46px;
  color: rgba(255,255,255,.9);
}
.thumb.t1 { background: linear-gradient(135deg, #f0a05e, #dd8448); }
.thumb.t2 { background: linear-gradient(135deg, #56b7a8, #2f9e8f); }
.thumb.t3 { background: linear-gradient(135deg, #a58bc9, #7d5ba6); }
.thumb.t4 { background: linear-gradient(135deg, #7cc08b, #3f9d63); }
.news-page-item h3 { font-size: 19px; margin-bottom: 8px; line-height: 1.5; }
.news-page-item h3 a:hover { color: var(--primary); }
.news-page-item .meta { font-size: 13px; color: var(--text-light); margin-bottom: 10px; display: flex; gap: 18px; }
.news-page-item p {
  font-size: 15px; color: var(--text-light);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

.article { max-width: 820px; margin: 0 auto; background: var(--card); border-radius: var(--radius); border: 1px solid var(--border); box-shadow: var(--shadow); padding: 48px 44px; }
.article-head { border-bottom: 1px solid var(--border); padding-bottom: 22px; margin-bottom: 28px; }
.article-head h1 { font-size: 27px; line-height: 1.5; margin-bottom: 14px; }
.article-head .meta { font-size: 14px; color: var(--text-light); display: flex; gap: 22px; }
.article-body p { margin-bottom: 16px; color: #4c463f; text-align: justify; }
.article-body h3 { margin: 26px 0 12px; font-size: 19px; color: var(--secondary-dark); }
.article-nav { display: flex; justify-content: space-between; margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--border); font-size: 14px; }
.article-nav a { color: var(--text-light); }
.article-nav a:hover { color: var(--primary); }

/* ---------- 联系页 ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.contact-card { background: var(--card); border-radius: var(--radius); border: 1px solid var(--border); box-shadow: var(--shadow); padding: 40px 36px; }
.contact-card h3 { font-size: 21px; margin-bottom: 24px; color: var(--primary); }
.contact-list li { display: flex; gap: 14px; margin-bottom: 20px; align-items: flex-start; }
.contact-list .ico {
  flex: none; width: 42px; height: 42px;
  border-radius: 12px;
  background: rgba(47,158,143,.1);
  color: var(--secondary);
  display: flex; align-items: center; justify-content: center;
  font-size: 19px;
}
.contact-list .txt b { display: block; font-size: 15px; margin-bottom: 2px; }
.contact-list .txt span { color: var(--text-light); font-size: 15px; }

.form-item { margin-bottom: 18px; }
.form-item label { display: block; font-size: 14px; margin-bottom: 8px; color: var(--text); }
.form-item input, .form-item textarea, .form-item select {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-size: 15px;
  font-family: inherit;
  background: var(--bg);
  color: var(--text);
  outline: none;
  transition: border-color .25s;
}
.form-item input:focus, .form-item textarea:focus, .form-item select:focus { border-color: var(--primary); }
.form-item textarea { resize: vertical; min-height: 110px; }
.form-item.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-tip { font-size: 13px; color: #3f9d63; margin-top: 12px; min-height: 18px; }

.map-box {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-top: 26px;
  background: linear-gradient(135deg, #eef4f0, #e3efe9);
  border: 1px solid var(--border);
  height: 300px;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-light);
  font-size: 15px;
}

/* ---------- CTA 条 ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--secondary-dark), var(--secondary));
  color: #fff;
  text-align: center;
  padding: 60px 24px;
}
.cta-band h2 { font-size: 28px; margin-bottom: 10px; letter-spacing: 2px; }
.cta-band p { opacity: .92; margin-bottom: 26px; }
.cta-band .btn { background: #fff; color: var(--secondary-dark); box-shadow: 0 8px 20px rgba(0,0,0,.15); }
.cta-band .btn:hover { transform: translateY(-2px); }

/* ---------- 页脚 ---------- */
.site-footer { background: #2d2823; color: #b9b0a6; padding: 60px 0 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 44px;
}
.footer-grid h4 { color: #f3ece3; font-size: 17px; margin-bottom: 18px; letter-spacing: 1px; }
.footer-grid p, .footer-grid li { font-size: 14px; line-height: 2; }
.footer-grid a:hover { color: var(--primary); }
.footer-about { display: flex; align-items: center; gap: 12px; color: #fff; font-size: 20px; font-weight: 700; margin-bottom: 16px; }
.footer-about .logo-mark {
  width: 38px; height: 38px; border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 17px; font-weight: 800;
}
.copyright {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 18px 0;
  text-align: center;
  font-size: 13px;
  color: #8a8178;
}

/* ---------- 返回顶部 ---------- */
.back-top {
  position: fixed;
  right: 26px; bottom: 30px;
  width: 48px; height: 48px;
  border-radius: 50%;
  border: none;
  background: var(--primary);
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(232,131,58,.4);
  opacity: 0; visibility: hidden;
  transform: translateY(14px);
  transition: all .3s;
  z-index: 99;
}
.back-top.show { opacity: 1; visibility: visible; transform: none; }
.back-top:hover { background: var(--primary-dark); }

/* ---------- 滚动进入动画 ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ============================================================
   响应式适配
   ============================================================ */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .env-grid { grid-template-columns: repeat(2, 1fr); }
  .env-4 { grid-row: span 1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .banner { height: 480px; }
  .slide h1 { font-size: 38px; }
}

@media (max-width: 768px) {
  body { font-size: 15px; }
  .section { padding: 54px 0; }

  /* 移动端导航 */
  .nav-toggle { display: block; }
  .main-nav {
    position: absolute;
    top: 72px; left: 0; right: 0;
    background: #fff;
    box-shadow: 0 14px 26px rgba(0,0,0,.08);
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease;
  }
  .main-nav.open { max-height: 420px; }
  .main-nav ul { flex-direction: column; padding: 10px 16px 16px; gap: 2px; }
  .main-nav a { padding: 13px 14px; border-radius: 10px; }
  .main-nav a.active::after { display: none; }
  .main-nav a.active { background: rgba(232,131,58,.08); }

  /* Banner */
  .banner { height: 440px; }
  .slide h1 { font-size: 29px; max-width: 100%; }
  .slide p { font-size: 15px; }
  .banner .arrow { display: none; }

  /* 数据条 */
  .stats { grid-template-columns: repeat(2, 1fr); margin-top: -46px; }
  .stats .stat { border-right: none; padding: 10px 0; }
  .stats .num { font-size: 27px; }

  /* 栅格降级 */
  .about-grid { grid-template-columns: 1fr; gap: 30px; }
  .about-visual { min-height: 280px; }
  .about-points { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .env-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 170px; }
  .contact-grid { grid-template-columns: 1fr; }
  .honors-grid { grid-template-columns: 1fr; }

  /* 新闻 */
  .news-page-item { flex-direction: column; gap: 14px; }
  .news-page-item .thumb { width: 100%; height: 150px; }
  .news-item { gap: 18px; padding: 22px 8px; }
  .news-date .d { font-size: 26px; }

  /* 页头/页脚 */
  .header-inner { height: 64px; }
  .main-nav { top: 64px; }
  .logo { font-size: 18px; }
  .logo .logo-mark { width: 36px; height: 36px; font-size: 17px; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .page-banner { padding: 60px 0; }
  .page-banner h1 { font-size: 27px; }
  .section-head h2 { font-size: 25px; }
  .article { padding: 30px 22px; }
  .article-head h1 { font-size: 21px; }
}

@media (max-width: 480px) {
  .env-grid { grid-template-columns: 1fr; grid-auto-rows: 180px; }
  .slide h1 { font-size: 24px; }
  .slide .btn { display: block; width: 100%; text-align: center; }
  .slide .btn + .btn { margin-left: 0; margin-top: 12px; }
  .news-page-item { padding: 18px; }
  .form-item.row2 { grid-template-columns: 1fr; }
}

/* ============================================================
   内容扩充板块：入住流程 / 合作伙伴 / 收费参考 / 常见问题 / 连锁社区
   ============================================================ */

/* ---------- 入住流程 ---------- */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.process-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 34px 24px;
  text-align: center;
  position: relative;
}
.process-item .pnum {
  width: 52px; height: 52px;
  border-radius: 50%;
  margin: 0 auto 16px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  font-size: 22px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 16px rgba(232,131,58,.3);
}
.process-item h3 { font-size: 18px; margin-bottom: 8px; }
.process-item p { font-size: 14px; color: var(--text-light); }

/* ---------- 合作伙伴 ---------- */
.partner-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.partner-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 22px 12px;
  text-align: center;
  color: var(--text-light);
  font-size: 14px;
  font-weight: 600;
  transition: all .25s;
}
.partner-item:hover { color: var(--primary); border-color: var(--primary); transform: translateY(-3px); box-shadow: var(--shadow); }
.partner-item .ico { display: block; font-size: 24px; margin-bottom: 8px; }

/* ---------- 收费参考 ---------- */
.fee-wrap { overflow-x: auto; }
.fee-table { width: 100%; border-collapse: collapse; min-width: 680px; background: var(--card); }
.fee-table th, .fee-table td { padding: 15px 18px; border: 1px solid var(--border); font-size: 15px; text-align: left; }
.fee-table th { background: var(--bg-soft); font-weight: 600; }
.fee-table td em { font-style: normal; color: var(--primary); font-weight: 700; }
.fee-note { font-size: 13px; color: var(--text-light); margin-top: 14px; }

/* ---------- 常见问题 ---------- */
.faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 14px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.faq-item summary {
  padding: 18px 22px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex; justify-content: space-between; align-items: center;
  gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 24px;
  color: var(--primary);
  flex: none;
  transition: transform .25s;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-body { padding: 0 22px 18px; color: var(--text-light); font-size: 15px; }

/* ---------- 连锁社区 ---------- */
.branch-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.branch-item {
  background: var(--bg-soft);
  border-radius: 10px;
  padding: 16px 18px;
  font-size: 14px;
  color: var(--text-light);
}
.branch-item b { display: block; font-size: 15px; color: var(--secondary-dark); margin-bottom: 4px; }

/* ---------- 园区实景图廊 ---------- */
.photo-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 18px; }
.photo-strip figure { position: relative; overflow: hidden; border-radius: 10px; margin: 0; }
.photo-strip img {
  width: 100%; height: 150px;
  object-fit: cover;
  display: block;
  transition: transform .4s;
}
.photo-strip figure:hover img { transform: scale(1.06); }
.photo-strip figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 20px 12px 8px;
  background: linear-gradient(to top, rgba(0,0,0,.55), transparent);
  color: #fff;
  font-size: 13px;
}

@media (max-width: 768px) {
  .photo-strip { grid-template-columns: repeat(2, 1fr); }
  .photo-strip img { height: 120px; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .partner-grid { grid-template-columns: repeat(3, 1fr); }
  .branch-grid { grid-template-columns: repeat(2, 1fr); }
  .faq-item summary { font-size: 15px; padding: 15px 16px; }
  .faq-item .faq-body { padding: 0 16px 15px; }
}
@media (max-width: 480px) {
  .process-grid { grid-template-columns: 1fr; }
  .partner-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   服务详情页 & 卡片链接化
   ============================================================ */

/* 卡片可点击 + 查看详情链接 */
a.service-card { cursor: pointer; }
.card-more {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--primary);
  font-size: 14px;
  font-weight: 600;
  margin-top: 16px;
}
.card-more::after { content: "→"; transition: transform .25s; }
a.service-card:hover .card-more::after { transform: translateX(4px); }

/* 详情页锚点导航 */
.service-anchor-nav {
  display: flex; flex-wrap: wrap; gap: 10px;
  justify-content: center;
  margin-bottom: 44px;
}
.service-anchor-nav a {
  background: var(--card);
  border: 1.5px solid var(--border);
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 14px;
  color: var(--text-light);
  transition: all .2s;
}
.service-anchor-nav a:hover { color: var(--primary); border-color: var(--primary); }

/* 详情分区 */
.detail-section {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 40px;
  margin-bottom: 26px;
  scroll-margin-top: 92px;
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 28px;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}
.detail-section .icon {
  width: 86px; height: 86px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(232,131,58,.14), rgba(232,131,58,.05));
  color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 42px;
}
.detail-section:nth-of-type(even) .icon {
  background: linear-gradient(135deg, rgba(47,158,143,.14), rgba(47,158,143,.05));
  color: var(--secondary);
}
.detail-section h3 { font-size: 22px; margin-bottom: 4px; }
.detail-section .scope {
  display: inline-block;
  font-size: 13px;
  color: var(--secondary);
  background: rgba(47,158,143,.08);
  padding: 3px 14px;
  border-radius: 999px;
  margin: 6px 0 14px;
}
.detail-section p.desc { color: var(--text-light); text-align: justify; margin-bottom: 16px; }
.detail-points li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 9px;
  color: #4c463f;
  font-size: 15px;
}
.detail-points li::before {
  content: "✓";
  position: absolute; left: 0;
  color: var(--secondary);
  font-weight: 700;
}
.detail-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.detail-tags span {
  background: rgba(232,131,58,.08);
  color: var(--primary-dark);
  font-size: 13px;
  padding: 4px 14px;
  border-radius: 999px;
}
.detail-note { font-size: 13px; color: var(--text-light); margin-top: 14px; }

@media (max-width: 768px) {
  .detail-section { grid-template-columns: 1fr; padding: 26px 22px; gap: 16px; }
  .detail-section .icon { width: 64px; height: 64px; font-size: 32px; }
  .detail-section h3 { font-size: 19px; }
}
