/* ============================================
   紫航逸心健康咨询 - 官网样式
   品牌色：深紫 #5A2D81 | 雾紫 #E8DFF5 | 暖金 #D7B46A | 奶白 #F7F3EA
   ============================================ */

:root {
  --deep-purple: #5A2D81;
  --deep-purple-dark: #43215F;
  --mist-purple: #E8DFF5;
  --mist-purple-light: #F3EEFA;
  --warm-gold: #D7B46A;
  --warm-gold-dark: #B8934A;
  --cream: #F7F3EA;
  --text-main: #3B2F45;
  --text-sub: #6E6278;
  --white: #FFFFFF;
  --shadow-soft: 0 10px 40px rgba(90, 45, 129, 0.10);
  --shadow-card: 0 6px 24px rgba(90, 45, 129, 0.08);
  --radius: 16px;
  --font-heading: "Noto Serif SC", "Source Han Serif SC", "STZhongsong", "SimSun", serif;
  --font-body: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text-main);
  background: var(--white);
  line-height: 1.8;
  font-size: 16px;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

ul { list-style: none; }

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

/* ---------- 顶部导航 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--mist-purple);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
}

.brand-name {
  font-family: var(--font-heading);
  font-size: 20px;
  color: var(--deep-purple);
  letter-spacing: 2px;
  font-weight: 700;
}

.brand-sub {
  display: block;
  font-size: 11px;
  color: var(--warm-gold-dark);
  letter-spacing: 4px;
  font-weight: 400;
}

.main-nav ul {
  display: flex;
  gap: 6px;
}

.main-nav a {
  display: block;
  padding: 8px 14px;
  font-size: 15px;
  color: var(--text-main);
  border-radius: 8px;
  transition: all 0.2s;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--deep-purple);
  background: var(--mist-purple-light);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 26px;
  color: var(--deep-purple);
  cursor: pointer;
  line-height: 1;
}

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(ellipse at 85% 15%, rgba(215, 180, 106, 0.22), transparent 55%),
    radial-gradient(ellipse at 10% 90%, rgba(232, 223, 245, 0.55), transparent 60%),
    linear-gradient(135deg, var(--deep-purple-dark) 0%, var(--deep-purple) 55%, #7B4BA8 100%);
  color: var(--white);
  padding: 110px 0 120px;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  right: -120px;
  top: -120px;
  width: 420px;
  height: 420px;
  border: 1px solid rgba(215, 180, 106, 0.35);
  border-radius: 50%;
}

.hero::before {
  content: "";
  position: absolute;
  right: -60px;
  top: -60px;
  width: 300px;
  height: 300px;
  border: 1px solid rgba(215, 180, 106, 0.25);
  border-radius: 50%;
}

.hero-kicker {
  display: inline-block;
  font-size: 13px;
  letter-spacing: 6px;
  color: var(--warm-gold);
  border: 1px solid rgba(215, 180, 106, 0.5);
  padding: 6px 18px;
  border-radius: 999px;
  margin-bottom: 26px;
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(32px, 5vw, 52px);
  letter-spacing: 4px;
  line-height: 1.35;
  margin-bottom: 22px;
  font-weight: 700;
}

.hero p.lead {
  font-size: 17px;
  max-width: 560px;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 38px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-block;
  padding: 13px 34px;
  border-radius: 999px;
  font-size: 15px;
  letter-spacing: 2px;
  transition: all 0.25s;
  cursor: pointer;
}

.btn-primary {
  background: var(--warm-gold);
  color: var(--deep-purple-dark);
  font-weight: 600;
}

.btn-primary:hover { background: var(--warm-gold-dark); color: var(--white); }

.btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.6);
  color: var(--white);
}

.btn-ghost:hover { background: rgba(255, 255, 255, 0.12); }

.btn-outline {
  border: 1px solid var(--deep-purple);
  color: var(--deep-purple);
}

.btn-outline:hover { background: var(--deep-purple); color: var(--white); }

/* ---------- 通用区块 ---------- */
.section {
  padding: 90px 0;
}

.section.alt {
  background: var(--cream);
}

.section.mist {
  background: var(--mist-purple-light);
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}

.section-head .eyebrow {
  display: block;
  font-size: 13px;
  letter-spacing: 5px;
  color: var(--warm-gold-dark);
  margin-bottom: 12px;
}

.section-head h2 {
  font-family: var(--font-heading);
  font-size: clamp(26px, 3.4vw, 36px);
  color: var(--deep-purple);
  letter-spacing: 3px;
  margin-bottom: 14px;
}

.section-head p {
  color: var(--text-sub);
  font-size: 15px;
}

/* ---------- 卡片 ---------- */
.grid {
  display: grid;
  gap: 26px;
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 34px 28px;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(232, 223, 245, 0.8);
  transition: transform 0.25s, box-shadow 0.25s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
}

.card .icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: var(--mist-purple);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 20px;
}

.card h3 {
  font-family: var(--font-heading);
  font-size: 19px;
  color: var(--deep-purple);
  margin-bottom: 12px;
  letter-spacing: 1px;
}

.card p {
  font-size: 14.5px;
  color: var(--text-sub);
}

.card ul.links {
  margin-top: 14px;
}

.card ul.links li {
  font-size: 14px;
  color: var(--text-sub);
  padding: 5px 0 5px 20px;
  position: relative;
}

.card ul.links li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--warm-gold);
  opacity: 0.7;
}

/* 服务两大卡 */
.service-block {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
}

.service-block .service-head {
  background: linear-gradient(135deg, var(--deep-purple) 0%, #7B4BA8 100%);
  color: var(--white);
  padding: 30px 32px;
}

.service-block .service-head h3 {
  font-family: var(--font-heading);
  font-size: 22px;
  letter-spacing: 2px;
}

.service-block .service-head span {
  font-size: 13px;
  color: var(--warm-gold);
  letter-spacing: 3px;
}

.service-block .service-body {
  padding: 28px 32px 34px;
}

.service-block .service-body li {
  padding: 8px 0 8px 24px;
  position: relative;
  font-size: 15px;
  color: var(--text-main);
  border-bottom: 1px dashed var(--mist-purple);
}

.service-block .service-body li:last-child { border-bottom: none; }

.service-block .service-body li::before {
  content: "✦";
  position: absolute;
  left: 0;
  color: var(--warm-gold);
  font-size: 13px;
}

/* ---------- 团队卡片 ---------- */
.member-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  text-align: center;
  padding-bottom: 28px;
}

.member-card .avatar {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: linear-gradient(160deg, var(--mist-purple) 0%, var(--cream) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 46px;
  color: var(--deep-purple);
  margin-bottom: 20px;
}

.member-card h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  color: var(--deep-purple);
  letter-spacing: 2px;
}

.member-card .role {
  font-size: 13px;
  color: var(--warm-gold-dark);
  letter-spacing: 2px;
  margin: 6px 0 14px;
}

.member-card p {
  font-size: 14px;
  color: var(--text-sub);
  padding: 0 24px;
}

.member-card .tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 16px;
  padding: 0 20px;
}

.member-card .tags span {
  font-size: 12px;
  color: var(--deep-purple);
  background: var(--mist-purple-light);
  border: 1px solid var(--mist-purple);
  padding: 3px 12px;
  border-radius: 999px;
}

/* ---------- FAQ ---------- */
.faq-item {
  background: var(--white);
  border-radius: 12px;
  border: 1px solid var(--mist-purple);
  margin-bottom: 14px;
  overflow: hidden;
}

.faq-item summary {
  cursor: pointer;
  padding: 18px 24px;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--deep-purple);
  list-style: none;
  position: relative;
  padding-right: 48px;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  color: var(--warm-gold-dark);
  transition: transform 0.2s;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item .faq-a {
  padding: 0 24px 20px;
  font-size: 14.5px;
  color: var(--text-sub);
}

/* ---------- 文章列表 ---------- */
.article-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--mist-purple);
  padding: 28px;
  transition: box-shadow 0.25s;
}

.article-card:hover { box-shadow: var(--shadow-soft); }

.article-card .meta {
  font-size: 12.5px;
  color: var(--warm-gold-dark);
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.article-card h3 {
  font-family: var(--font-heading);
  font-size: 18px;
  color: var(--deep-purple);
  margin-bottom: 10px;
  line-height: 1.5;
}

.article-card p {
  font-size: 14px;
  color: var(--text-sub);
}

/* ---------- 步骤/流程 ---------- */
.steps {
  counter-reset: step;
}

.step {
  display: flex;
  gap: 22px;
  padding: 22px 0;
  border-bottom: 1px dashed var(--mist-purple);
}

.step:last-child { border-bottom: none; }

.step .num {
  counter-increment: step;
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--deep-purple);
  color: var(--white);
  font-family: var(--font-heading);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.step .num::before { content: counter(step); }

.step h4 {
  font-family: var(--font-heading);
  font-size: 17px;
  color: var(--deep-purple);
  margin-bottom: 4px;
}

.step p { font-size: 14.5px; color: var(--text-sub); }

/* ---------- CTA 横幅 ---------- */
.cta-band {
  background:
    radial-gradient(ellipse at 20% 20%, rgba(215, 180, 106, 0.25), transparent 50%),
    linear-gradient(135deg, var(--deep-purple-dark), var(--deep-purple));
  color: var(--white);
  text-align: center;
  padding: 80px 0;
}

.cta-band h2 {
  font-family: var(--font-heading);
  font-size: clamp(24px, 3.4vw, 34px);
  letter-spacing: 3px;
  margin-bottom: 14px;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 32px;
  font-size: 15.5px;
}

/* ---------- 页面内页头 ---------- */
.page-hero {
  background: linear-gradient(135deg, var(--deep-purple-dark), var(--deep-purple) 60%, #7B4BA8);
  color: var(--white);
  padding: 72px 0 64px;
  text-align: center;
}

.page-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(28px, 4vw, 40px);
  letter-spacing: 4px;
  margin-bottom: 12px;
}

.page-hero .crumb {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 2px;
}

.page-hero .crumb a:hover { color: var(--warm-gold); }

/* ---------- 联系/表单 ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  align-items: start;
}

.info-card {
  background: var(--mist-purple-light);
  border: 1px solid var(--mist-purple);
  border-radius: var(--radius);
  padding: 32px;
}

.info-card h3 {
  font-family: var(--font-heading);
  color: var(--deep-purple);
  font-size: 19px;
  margin-bottom: 18px;
}

.info-card .row {
  display: flex;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px dashed var(--mist-purple);
  font-size: 14.5px;
}

.info-card .row:last-child { border-bottom: none; }

.info-card .row .label {
  flex-shrink: 0;
  width: 76px;
  color: var(--warm-gold-dark);
  font-weight: 600;
}

.info-card .row .value { color: var(--text-main); }
.info-card .row .value small { color: var(--text-sub); }

.form-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 36px;
  border: 1px solid var(--mist-purple);
}

.form-card h3 {
  font-family: var(--font-heading);
  color: var(--deep-purple);
  font-size: 19px;
  margin-bottom: 22px;
}

.form-row {
  margin-bottom: 18px;
}

.form-row label {
  display: block;
  font-size: 14px;
  color: var(--text-main);
  margin-bottom: 6px;
  font-weight: 600;
}

.form-row label span { color: #C0392B; }

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--mist-purple);
  border-radius: 10px;
  font-size: 14.5px;
  font-family: var(--font-body);
  color: var(--text-main);
  background: var(--cream);
  transition: border-color 0.2s;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--deep-purple);
  background: var(--white);
}

.form-note {
  font-size: 12.5px;
  color: var(--text-sub);
  margin-top: 14px;
}

/* ---------- 页脚 ---------- */
.site-footer {
  background: var(--deep-purple-dark);
  color: rgba(255, 255, 255, 0.82);
  padding: 64px 0 0;
  font-size: 14px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 44px;
}

.site-footer h4 {
  font-family: var(--font-heading);
  color: var(--white);
  font-size: 16px;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.site-footer .brand-name { color: var(--white); }
.site-footer .brand-sub { color: var(--warm-gold); }

.site-footer p { line-height: 1.9; }

.site-footer ul li { padding: 4px 0; }

.site-footer a:hover { color: var(--warm-gold); }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 18px 0;
  text-align: center;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.5);
}

/* ---------- 保密提示条 ---------- */
.privacy-strip {
  background: var(--mist-purple-light);
  border-top: 1px solid var(--mist-purple);
  padding: 14px 0;
  text-align: center;
  font-size: 13px;
  color: var(--text-sub);
}

/* ---------- 响应式 ---------- */
@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .nav-toggle { display: block; }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--mist-purple);
    box-shadow: var(--shadow-soft);
  }

  .main-nav.open { display: block; }

  .main-nav ul {
    flex-direction: column;
    padding: 10px 0;
  }

  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero { padding: 80px 0 90px; }
  .section { padding: 64px 0; }
}
