/* ============================================================
   国控医养（杏林）养老中心 官网样式
   配色：国企绛红 + 暖金 + 米白（适老化大字号设计）
   ============================================================ */

:root {
  --red: #9a3b32;
  --red-dark: #7c2b24;
  --red-deep: #5e1d19;
  --gold: #c29a5b;
  --gold-light: #e8d9be;
  --gold-soft: #f7efe0;
  --cream: #faf6ee;
  --ink: #2e2a23;
  --muted: #75695b;
  --line: #e9dfcf;
  --white: #ffffff;
  --shadow: 0 14px 34px rgba(124, 43, 36, 0.1);
}

* { 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", "Source Han Sans SC", sans-serif;
  font-size: 17px;
  line-height: 1.85;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--red); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--red-dark); }
ul { list-style: none; }

.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

.i {
  width: 26px; height: 26px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round;
}

/* ---------- 顶部导航 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 8px 24px;
  padding: 12px 0;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand svg { width: 46px; height: 46px; flex: none; }
.brand-name { font-size: 20px; font-weight: 700; color: var(--red-dark); letter-spacing: 1px; line-height: 1.3; }
.brand-sub { font-size: 12px; color: var(--muted); letter-spacing: 3px; }
.nav { display: flex; flex-wrap: wrap; gap: 6px 26px; }
.nav a {
  color: var(--ink); font-size: 15.5px; font-weight: 500;
  padding: 6px 2px; border-bottom: 2px solid transparent;
}
.nav a:hover, .nav a.active { color: var(--red); border-bottom-color: var(--gold); }

/* ---------- 首页主视觉 ---------- */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, #8a2f28 0%, #6e231e 58%, #521915 100%);
  color: #fff;
  padding: 92px 0 78px;
}
.hero::before {
  content: ""; position: absolute; right: -140px; top: -140px;
  width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(226, 190, 120, 0.28) 0%, rgba(226, 190, 120, 0) 68%);
}
.hero::after {
  content: ""; position: absolute; left: -100px; bottom: -160px;
  width: 360px; height: 360px; border-radius: 50%;
  background: radial-gradient(circle, rgba(226, 190, 120, 0.16) 0%, rgba(226, 190, 120, 0) 70%);
}
.hero .container { position: relative; z-index: 1; }
.hero .kicker {
  display: inline-block; font-size: 14px; letter-spacing: 5px;
  color: #f0d49a; border: 1px solid rgba(240, 212, 154, 0.45);
  padding: 5px 18px; border-radius: 999px; margin-bottom: 26px;
}
.hero h1 { font-size: 44px; line-height: 1.3; letter-spacing: 2px; margin-bottom: 10px; }
.hero .slogan { font-size: 21px; color: #f0d49a; letter-spacing: 3px; margin-bottom: 24px; }
.hero .lead { font-size: 18.5px; max-width: 780px; color: rgba(255, 255, 255, 0.93); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 38px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; border-radius: 999px;
  font-size: 16.5px; font-weight: 600; letter-spacing: 1px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: linear-gradient(135deg, #dcb878, #b98a44); color: #4a2e14; box-shadow: 0 8px 22px rgba(185, 138, 68, 0.35); }
.btn-outline { border: 1.5px solid rgba(255, 255, 255, 0.6); color: #fff; }
.btn-outline:hover { background: rgba(255, 255, 255, 0.12); }
.btn-red { background: var(--red); color: #fff; box-shadow: 0 8px 22px rgba(154, 59, 50, 0.3); }
.hero-meta { display: flex; flex-wrap: wrap; gap: 14px 28px; margin-top: 42px; }
.hero-meta .chip {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 15px; color: rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  padding: 8px 18px; border-radius: 999px;
}
.hero-meta .chip .i { width: 19px; height: 19px; color: #f0d49a; }

/* ---------- 数据速览条 ---------- */
.facts { background: var(--white); border-bottom: 1px solid var(--line); }
.facts-inner { display: grid; grid-template-columns: repeat(4, 1fr); }
.fact { padding: 30px 18px; text-align: center; }
.fact + .fact { border-left: 1px solid var(--line); }
.fact .ico { color: var(--gold); margin-bottom: 8px; display: inline-flex; }
.fact .ico .i { width: 24px; height: 24px; }
.fact b { display: block; font-size: 23px; color: var(--red); font-weight: 700; letter-spacing: 0.5px; }
.fact span { font-size: 14.5px; color: var(--muted); }

/* ---------- 通用区块 ---------- */
.section { padding: 78px 0; }
.section.alt { background: var(--white); }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 54px; }
.section-head .kicker { font-size: 14px; letter-spacing: 6px; color: var(--gold); font-weight: 600; }
.section-head h2 { font-size: 32px; color: var(--red-dark); letter-spacing: 1px; margin: 12px 0 16px; }
.section-head p { color: var(--muted); font-size: 16.5px; }
.rule { width: 56px; height: 3px; background: var(--gold); border-radius: 2px; margin: 0 auto; }

.grid { display: grid; gap: 24px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white); border: 1px solid var(--line); border-radius: 14px;
  padding: 32px 28px;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--gold-light); }
.card .ico {
  width: 54px; height: 54px; border-radius: 13px;
  background: linear-gradient(135deg, var(--gold-soft), #f0e0c2);
  color: var(--red);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.card h3 { font-size: 19.5px; color: var(--red-dark); margin-bottom: 10px; letter-spacing: 0.5px; }
.card p { color: var(--muted); font-size: 15.5px; }
.card .tick-list { margin-top: 12px; }

.tick-list li { position: relative; padding-left: 28px; margin-bottom: 9px; color: #4a4238; font-size: 15.5px; }
.tick-list li::before {
  content: ""; position: absolute; left: 4px; top: 12px;
  width: 8px; height: 8px; border-radius: 50%; background: var(--gold);
}
.tick-list.two-col { column-count: 2; column-gap: 36px; }

/* ---------- 补贴横幅 ---------- */
.banner {
  background: linear-gradient(120deg, #9a3b32, #7c2b24);
  color: #fff; border-radius: 18px;
  padding: 46px 50px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 36px; flex-wrap: wrap;
}
.banner h3 { font-size: 26px; letter-spacing: 1px; margin-bottom: 12px; }
.banner p { color: rgba(255, 255, 255, 0.88); font-size: 16px; max-width: 640px; }
.banner .amount { text-align: center; flex: none; }
.banner .amount b { display: block; font-size: 52px; font-weight: 700; color: #f0d49a; line-height: 1.15; }
.banner .amount span { font-size: 15px; color: rgba(255, 255, 255, 0.85); }

/* ---------- 内页主视觉 ---------- */
.page-hero { background: linear-gradient(135deg, #8a2f28, #521915); color: #fff; padding: 66px 0 58px; }
.page-hero .kicker { font-size: 13.5px; letter-spacing: 5px; color: #f0d49a; margin-bottom: 14px; }
.page-hero h1 { font-size: 36px; letter-spacing: 2px; margin-bottom: 14px; }
.page-hero .lead { font-size: 17.5px; color: rgba(255, 255, 255, 0.9); max-width: 820px; }
.breadcrumb { font-size: 14px; color: rgba(255, 255, 255, 0.72); margin-bottom: 16px; }
.breadcrumb a { color: #f0d49a; }
.breadcrumb span { margin: 0 8px; opacity: 0.5; }

/* ---------- 分区卡片 ---------- */
.zone-card { display: flex; gap: 22px; background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 30px 32px; }
.zone-card .ico {
  width: 62px; height: 62px; flex: none; border-radius: 14px;
  background: linear-gradient(135deg, #f6e7cd, #eed9b2);
  color: var(--red); display: flex; align-items: center; justify-content: center;
}
.zone-card .ico .i { width: 30px; height: 30px; }
.zone-card h3 { font-size: 20px; color: var(--red-dark); margin-bottom: 8px; }
.zone-card p { color: var(--muted); font-size: 15.5px; }
.zone-stack { display: grid; gap: 20px; }

/* ---------- 信息表 ---------- */
.fact-table { width: 100%; border-collapse: collapse; background: var(--white); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.fact-table th, .fact-table td { padding: 15px 22px; text-align: left; font-size: 15.5px; border-bottom: 1px solid var(--line); vertical-align: top; }
.fact-table tr:last-child th, .fact-table tr:last-child td { border-bottom: none; }
.fact-table th { background: var(--gold-soft); color: var(--red-dark); font-weight: 600; width: 190px; white-space: nowrap; }
.fact-table td { color: #4a4238; }

/* ---------- 流程步骤 ---------- */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; counter-reset: step; }
.step { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 26px 16px; text-align: center; }
.step .n {
  width: 42px; height: 42px; margin: 0 auto 14px; border-radius: 50%;
  background: var(--red); color: #fff; font-weight: 700; font-size: 18px;
  display: flex; align-items: center; justify-content: center;
}
.step h4 { font-size: 16.5px; color: var(--red-dark); margin-bottom: 6px; }
.step p { font-size: 14px; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq-list { max-width: 860px; margin: 0 auto; }
.faq-item { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 26px 30px; margin-bottom: 16px; }
.faq-item h3 { font-size: 18px; color: var(--red-dark); display: flex; gap: 12px; align-items: baseline; }
.faq-item h3 .q { color: var(--gold); font-weight: 700; flex: none; }
.faq-item p { margin-top: 10px; color: #4a4238; font-size: 15.5px; }

/* ---------- 联系页 ---------- */
.contact-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 24px; }
.contact-card { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 34px 36px; }
.contact-card h3 { font-size: 20px; color: var(--red-dark); margin-bottom: 20px; display: flex; align-items: center; gap: 10px; }
.contact-card h3 .i { width: 24px; height: 24px; color: var(--gold); }
.contact-row { display: flex; gap: 12px; padding: 13px 0; border-bottom: 1px dashed var(--line); font-size: 15.5px; }
.contact-row:last-child { border-bottom: none; }
.contact-row .k { flex: none; width: 92px; color: var(--muted); }
.contact-row .v { color: var(--ink); }
.contact-row .v b { color: var(--red-dark); }
.tel-box {
  background: linear-gradient(135deg, #9a3b32, #7c2b24); color: #fff;
  border-radius: 14px; padding: 34px 36px;
}
.tel-box h3 { color: #f0d49a; font-size: 19px; margin-bottom: 18px; letter-spacing: 1px; }
.tel-box .tel-line { font-size: 17px; color: rgba(255, 255, 255, 0.92); line-height: 2; }
.tel-box .tel-num { font-size: 30px; font-weight: 700; color: #fff; letter-spacing: 2px; margin: 10px 0 4px; }
.tel-box .tel-num a { color: #fff; }
.tel-box .tel-num a:hover { color: #f0d49a; }
.tel-box .note { font-size: 14px; color: rgba(255, 255, 255, 0.75); }
.tel-box .btn { margin-top: 22px; }

/* ---------- 页脚 ---------- */
.site-footer { background: #3b1a16; color: rgba(255, 255, 255, 0.78); padding: 58px 0 26px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 44px; }
.site-footer h4 { color: #f0d49a; font-size: 16px; margin-bottom: 18px; letter-spacing: 1px; }
.site-footer p { font-size: 14.5px; line-height: 1.9; }
.site-footer a { display: block; color: rgba(255, 255, 255, 0.78); font-size: 14.5px; padding: 5px 0; }
.site-footer a:hover { color: #f0d49a; }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-brand svg { width: 42px; height: 42px; }
.footer-brand .n { font-size: 18px; font-weight: 700; color: #fff; letter-spacing: 1px; }
.footer-brand .s { font-size: 12px; color: rgba(255, 255, 255, 0.55); letter-spacing: 3px; }
.footer-contact li { display: flex; gap: 10px; font-size: 14.5px; padding: 6px 0; align-items: flex-start; }
.footer-contact .i { width: 17px; height: 17px; color: #f0d49a; margin-top: 5px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.14); margin-top: 44px; padding-top: 24px; text-align: center; font-size: 13.5px; color: rgba(255, 255, 255, 0.5); line-height: 2; }

/* ---------- 无障碍跳转 ---------- */
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 8px; top: 8px; z-index: 200; background: #fff; color: var(--red); padding: 8px 16px; border-radius: 6px; }

/* ---------- 响应式 ---------- */
@media (max-width: 960px) {
  .g4 { grid-template-columns: repeat(2, 1fr); }
  .g3 { grid-template-columns: repeat(2, 1fr); }
  .facts-inner { grid-template-columns: repeat(2, 1fr); }
  .fact:nth-child(3) { border-left: none; }
  .fact:nth-child(n+3) { border-top: 1px solid var(--line); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16.5px; }
  .g2, .g3, .g4 { grid-template-columns: 1fr; }
  .hero { padding: 64px 0 58px; }
  .hero h1 { font-size: 30px; }
  .hero .slogan { font-size: 17px; }
  .section { padding: 56px 0; }
  .section-head h2 { font-size: 26px; }
  .page-hero h1 { font-size: 28px; }
  .banner { padding: 34px 28px; }
  .banner .amount b { font-size: 42px; }
  .zone-card { flex-direction: column; padding: 26px 24px; }
  .tick-list.two-col { column-count: 1; }
  .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .fact-table th { width: 120px; }
  .nav { gap: 2px 16px; }
  .nav a { font-size: 15px; }
}
