/* =========================================================
   宜宾景睦健康管理有限公司 - 宣传网站样式
   主题色：#12805d（景睦绿）  #f0a33a（暖橙）  #0e3b34（深绿）
   ========================================================= */

:root {
  --green: #12805d;
  --green-dark: #0e3b34;
  --green-soft: #eaf5f0;
  --orange: #f0a33a;
  --orange-soft: #fdf3e3;
  --text: #2b3433;
  --text-light: #6b7b77;
  --bg: #ffffff;
  --bg-alt: #f6faf8;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(14, 59, 52, .08);
  --shadow-lg: 0 18px 48px rgba(14, 59, 52, .14);
  --container: 1180px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  line-height: 1.7;
  background: var(--bg);
}
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
svg { fill: none; stroke: currentColor; }

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

/* ===== 顶部导航 ===== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #eaf0ed;
}
.nav-wrap {
  display: flex; align-items: center; gap: 24px;
  height: 68px;
}
.brand { display: flex; align-items: center; gap: 10px; min-width: 0; }
.brand-logo { flex-shrink: 0; }
.brand-text { font-weight: 700; font-size: 17px; color: var(--green-dark); white-space: nowrap; }
.main-nav { display: flex; gap: 22px; margin-left: auto; }
.main-nav a { font-size: 15px; color: var(--text-light); transition: color .2s; white-space: nowrap; }
.main-nav a:hover { color: var(--green); }
.nav-tel {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px; border: 1.5px solid var(--green);
  border-radius: 999px; color: var(--green); font-weight: 600; font-size: 14px;
  white-space: nowrap; transition: all .2s;
}
.nav-tel:hover { background: var(--green); color: #fff; }

/* ===== Hero ===== */
.hero {
  position: relative; min-height: 560px;
  display: flex; align-items: center;
  overflow: hidden; color: #fff;
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transform: scale(1.06);
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(115deg, rgba(14, 59, 52, .92) 0%, rgba(18, 128, 93, .78) 48%, rgba(240, 163, 58, .55) 100%);
}
.hero-inner { position: relative; z-index: 2; padding: 90px 20px; }
.hero-badge {
  display: inline-block; padding: 6px 16px;
  border: 1px solid rgba(255, 255, 255, .55); border-radius: 999px;
  font-size: 14px; letter-spacing: 2px; background: rgba(255, 255, 255, .12);
  margin-bottom: 18px;
}
.hero h1 { font-size: 44px; line-height: 1.3; letter-spacing: 1px; }
.hero-sub { margin-top: 12px; font-size: 18px; opacity: .92; }
.hero-cta { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; }
.btn {
  display: inline-block; padding: 13px 30px; border-radius: 999px;
  font-size: 15px; font-weight: 600; transition: all .2s; border: 1.5px solid transparent;
}
.btn-light { background: #fff; color: var(--green-dark); }
.btn-light:hover { background: var(--orange); color: #fff; }
.btn-ghost { border-color: rgba(255, 255, 255, .7); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, .14); }
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-dark); }
.hero-stats {
  display: flex; gap: 40px; flex-wrap: wrap;
  margin-top: 44px; padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, .25);
}
.stat strong { font-size: 28px; display: block; line-height: 1.2; }
.stat span { font-size: 13px; opacity: .85; }

/* ===== 通用区块 ===== */
.section { padding: 80px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { text-align: center; margin-bottom: 46px; }
.section-tag {
  display: inline-block; font-size: 12px; letter-spacing: 3px;
  color: var(--green); background: var(--green-soft);
  padding: 4px 14px; border-radius: 999px; margin-bottom: 10px;
}
.section-head h2 { font-size: 32px; color: var(--green-dark); }
.section-head p { color: var(--text-light); margin-top: 6px; }

/* ===== 关于我们 ===== */
.about-grid {
  display: grid; grid-template-columns: 1fr 1.1fr;
  gap: 44px; align-items: center;
}
.about-media { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.about-media img { width: 100%; height: 380px; object-fit: cover; }
.about-media figcaption {
  position: absolute; left: 16px; bottom: 16px;
  color: #fff; font-size: 14px; padding: 6px 14px;
  background: rgba(14, 59, 52, .7); border-radius: 999px;
  backdrop-filter: blur(4px);
}
.about-body p { margin-bottom: 16px; }
.about-points { list-style: none; margin: 18px 0 26px; }
.about-points li { display: flex; align-items: center; gap: 10px; padding: 6px 0; font-size: 15px; }
.li-ic { width: 22px; height: 22px; color: var(--green); flex-shrink: 0; }

/* ===== 服务项目 ===== */
.service-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.service-card {
  background: var(--bg); border-radius: var(--radius);
  padding: 26px 22px; box-shadow: var(--shadow);
  border: 1px solid #eef4f1; transition: all .25s;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--green); }
.service-icon {
  width: 58px; height: 58px; border-radius: 16px;
  background: var(--green-soft); color: var(--green);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px; transition: all .25s;
}
.service-icon svg { width: 30px; height: 30px; }
.service-card:hover .service-icon { background: var(--green); color: #fff; }
.service-card h3 { font-size: 18px; margin-bottom: 8px; color: var(--green-dark); }
.service-card p { font-size: 14px; color: var(--text-light); }

/* ===== 居家上门服务 ===== */
.homecare-grid {
  display: grid; grid-template-columns: 1.25fr 1fr;
  gap: 44px; align-items: center;
}
.homecare-media {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.homecare-media img {
  width: 100%; height: 150px; object-fit: cover;
  border-radius: 12px; box-shadow: var(--shadow);
  transition: transform .3s;
}
.homecare-media img:hover { transform: scale(1.03); }
.homecare-body h3 { font-size: 24px; color: var(--green-dark); margin-bottom: 12px; }
.homecare-body > p { color: var(--text-light); margin-bottom: 18px; }
.homecare-list { list-style: none; }
.homecare-list li {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 11px 14px; border-radius: 10px;
  background: var(--green-soft); margin-bottom: 8px;
  font-size: 14px;
}
.homecare-list li span:first-child { font-weight: 600; color: var(--green-dark); white-space: nowrap; }
.homecare-list li span:last-child { color: var(--text-light); text-align: right; }

/* ===== 服务流程 ===== */
.flow {
  list-style: none; counter-reset: none;
  display: grid; grid-template-columns: repeat(6, 1fr);
  gap: 16px; position: relative;
}
.flow-item {
  background: var(--bg); border-radius: var(--radius);
  padding: 22px 16px; text-align: center;
  box-shadow: var(--shadow); border: 1px solid #eef4f1;
  position: relative; transition: all .25s;
}
.flow-item:hover { border-color: var(--orange); transform: translateY(-4px); }
.flow-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--green); color: #fff; font-weight: 700; font-size: 14px;
  margin-bottom: 12px;
}
.flow-item h4 { font-size: 15px; color: var(--green-dark); margin-bottom: 6px; }
.flow-item p { font-size: 12.5px; color: var(--text-light); }
.flow-item:not(:last-child)::after {
  content: "";
  position: absolute; right: -12px; top: 50%;
  width: 9px; height: 9px;
  border-top: 2px solid var(--orange); border-right: 2px solid var(--orange);
  transform: translateY(-50%) rotate(45deg);
  z-index: 2;
}

/* ===== 专业团队 ===== */
.team-layout {
  display: grid; grid-template-columns: 1fr 1.3fr;
  gap: 44px; align-items: center;
}
.team-media {
  position: relative; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(160deg, var(--green-soft), var(--orange-soft));
  border-radius: var(--radius); padding: 46px 20px;
}
.team-illustration { width: 220px; height: 220px; }
.team-badge {
  position: absolute; right: 22px; bottom: 22px;
  background: var(--green-dark); color: #fff;
  padding: 12px 20px; border-radius: 14px; text-align: center;
  box-shadow: var(--shadow-lg);
}
.team-badge strong { display: block; font-size: 24px; color: var(--orange); }
.team-badge span { font-size: 13px; opacity: .9; }
.team-body > p { margin-bottom: 20px; }
.team-roles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.role {
  background: var(--bg-alt); border: 1px solid #e8f0ec;
  border-radius: 12px; padding: 14px 16px;
}
.role-tag {
  display: inline-block; font-size: 13px; font-weight: 600;
  padding: 3px 12px; border-radius: 999px; margin-bottom: 6px;
}
.role-tag.green { background: var(--green-soft); color: var(--green); }
.role-tag.orange { background: var(--orange-soft); color: #c97a15; }
.role p { font-size: 13px; color: var(--text-light); }

/* ===== 规范管理 ===== */
.quality-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px;
}
.quality-card {
  background: var(--bg); border-radius: var(--radius);
  padding: 30px 24px; text-align: center;
  box-shadow: var(--shadow); border: 1px solid #eef4f1;
  transition: all .25s;
}
.quality-card:hover { transform: translateY(-5px); border-color: var(--green); }
.quality-card svg { width: 40px; height: 40px; color: var(--green); margin-bottom: 12px; }
.quality-card h4 { font-size: 17px; color: var(--green-dark); margin-bottom: 6px; }
.quality-card p { font-size: 13.5px; color: var(--text-light); }

/* ===== 发展愿景 ===== */
.vision {
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green) 60%, var(--orange) 130%);
  color: #fff; text-align: center; padding: 80px 0;
}
.vision h2 { font-size: 32px; margin-bottom: 18px; }
.vision p { max-width: 760px; margin: 0 auto; font-size: 16px; opacity: .95; }
.vision-slogan {
  display: inline-block; margin-top: 26px;
  letter-spacing: 6px; font-size: 15px;
  border: 1px solid rgba(255, 255, 255, .5);
  padding: 8px 26px; border-radius: 999px;
}

/* ===== 联系我们 ===== */
.contact-card {
  display: grid; grid-template-columns: 1.25fr 1fr;
  gap: 40px; border-radius: var(--radius);
  background: var(--green-dark); color: #fff;
  padding: 44px; box-shadow: var(--shadow-lg);
}
.contact-row { display: flex; gap: 16px; margin-bottom: 26px; }
.contact-row > svg { width: 26px; height: 26px; color: var(--orange); flex-shrink: 0; margin-top: 3px; }
.contact-row span { display: block; font-size: 13px; opacity: .8; margin-bottom: 4px; }
.contact-row a { display: block; font-size: 19px; font-weight: 700; color: #fff; }
.contact-row a + a { margin-top: 4px; }
.contact-row a:hover { color: var(--orange); }
.contact-row p { font-size: 14.5px; }
.contact-cta {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; gap: 10px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: var(--radius); padding: 34px 26px;
}
.cta-logo { margin-bottom: 6px; }
.contact-cta h3 { font-size: 21px; }
.contact-cta p { font-size: 13.5px; opacity: .85; }
.contact-cta .btn { margin-top: 12px; }

/* ===== 页脚 ===== */
.site-footer { background: #0b2e29; color: rgba(255, 255, 255, .82); padding: 40px 0; text-align: center; }
.footer-brand { font-size: 17px; font-weight: 700; color: #fff; margin-bottom: 8px; }
.site-footer p { font-size: 13.5px; margin-bottom: 4px; }
.footer-copy { margin-top: 14px; opacity: .6; font-size: 12.5px; }

/* ===== 响应式 ===== */
@media (max-width: 992px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .quality-grid { grid-template-columns: repeat(2, 1fr); }
  .flow { grid-template-columns: repeat(3, 1fr); }
  .flow-item:nth-child(3n)::after { display: none; }
  .about-grid, .homecare-grid, .team-layout, .contact-card { grid-template-columns: 1fr; }
  .contact-card { padding: 30px 24px; }
}

@media (max-width: 768px) {
  .nav-wrap { height: auto; flex-wrap: wrap; padding: 10px 20px; gap: 8px 16px; }
  .main-nav { order: 3; width: 100%; justify-content: space-between; gap: 8px; margin-left: 0; overflow-x: auto; }
  .main-nav a { font-size: 14px; }
  .nav-tel { margin-left: auto; }
  .hero { min-height: 500px; }
  .hero h1 { font-size: 30px; }
  .hero-sub { font-size: 15px; }
  .hero-inner { padding: 60px 20px; }
  .hero-stats { gap: 24px; }
  .stat strong { font-size: 23px; }
  .section { padding: 56px 0; }
  .section-head h2 { font-size: 26px; }
  .homecare-media { grid-template-columns: repeat(2, 1fr); }
  .team-roles { grid-template-columns: 1fr; }
  .flow { grid-template-columns: repeat(2, 1fr); }
  .flow-item:nth-child(3n)::after { display: block; }
  .flow-item:nth-child(2n)::after { display: none; }
  .vision { padding: 56px 0; }
  .vision h2 { font-size: 26px; }
}

@media (max-width: 480px) {
  .brand-text { font-size: 14px; }
  .service-grid, .quality-grid { grid-template-columns: 1fr; }
  .flow { grid-template-columns: 1fr; }
  .flow-item::after { display: none !important; }
  .homecare-media img { height: 120px; }
  .about-media img { height: 260px; }
  .team-illustration { width: 170px; height: 170px; }
  .contact-row a { font-size: 16px; }
  .hero h1 { font-size: 25px; }
}

/* ===== 打印样式 ===== */
@media print {
  .site-header, .hero-cta, .btn, .nav-tel { display: none; }
  .hero { min-height: auto; color: #000; }
  .hero-overlay { background: rgba(255, 255, 255, .9); }
  .hero-inner { color: #000; padding: 30px 0; }
  .hero-badge { border-color: #999; color: #555; }
  .section { padding: 30px 0; }
  body { background: #fff; }
  a { color: #000; }
}
