/* —— ReSure Fertility Landing —— */
:root{
  --burgundy:#5A1F1F;
  --burgundy-deep:#4B1616;
  --gold:#C9A24A;
  --ivory:#F4EBDD;
  --ink:#392A24;
  --muted:#A08E83;
  --radius:16px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  background: linear-gradient(180deg, var(--burgundy) 0%, var(--burgundy-deep) 100%);
  color: var(--ivory);
  font-family: "Noto Sans SC", -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  position: relative;
  min-height: 100vh;
}

/* 1. 电脑端固定悬浮飘窗样式（不撑宽页面）- 新增二维码样式 */
.float-window {
  position: fixed;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  width: 150px; /* 加宽以容纳二维码 */
  background: linear-gradient(180deg, #6A2828, #4B1616);
  border: 2px solid var(--gold);
  border-radius: var(--radius) 0 0 var(--radius);
  padding: 16px 12px;
  z-index: 999;
  box-shadow: -2px 0 15px rgba(0, 0, 0, 0.3);
  text-align: center;
  margin-right: 0;
  box-sizing: content-box;
}

.float-window .qrcode-container {
  margin-bottom: 12px;
}

.float-window .qrcode-img {
  width: 100px;
  height: 100px;
  background: #fff;
  padding: 5px;
  border-radius: 8px;
  margin: 0 auto;
  object-fit: cover;
}

.float-window .qrcode-text {
  font-size: 12px;
  color: var(--muted);
  margin-top: 6px;
}

.float-window .title {
  font-family: "Noto Serif SC", serif;
  color: var(--gold);
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 12px;
  border-bottom: 1px dashed rgba(201, 162, 74, .4);
  padding-bottom: 8px;
}

.float-window .packages {
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 16px;
  color: var(--ivory);
}

.float-window .hotline {
  font-size: 15px;
  font-weight: 700;
  color: var(--gold);
  background: rgba(0, 0, 0, 0.2);
  padding: 8px;
  border-radius: 8px;
  margin-top: 8px;
}

.float-window .hotline small {
  display: block;
  font-size: 12px;
  color: var(--muted);
  font-weight: 400;
  margin-top: 4px;
}

/* 2. 手机端飘窗样式 - 修改按钮为微信+电话组合图标 */
.mobile-float-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 86px;
  height: 86px;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  color: #2b1e0c;
  font-size: 24px; /* 调整字号适配双图标 */
  cursor: pointer;
  gap: 5px; /* 图标间距 */
}

.mobile-float-btn .icon {
  display: inline-block;
  line-height: 1;
}

.mobile-float-panel {
  position: fixed;
  bottom: 86px;
  right: 20px;
  width: 220px;
  background: linear-gradient(180deg, #6A2828, #4B1616);
  border: 2px solid var(--gold);
  border-radius: var(--radius);
  padding: 16px;
  z-index: 998;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  display: none; /* 默认隐藏 */
}
.mobile-float-panel.active {
  display: block;
}
.mobile-float-panel .title {
  font-family: "Noto Serif SC", serif;
  color: var(--gold);
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 10px;
  text-align: center;
}
.mobile-float-panel .packages {
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 12px;
  color: var(--ivory);
  text-align: center;
}
.mobile-float-panel .hotline {
  font-size: 15px;
  font-weight: 700;
  color: var(--gold);
  background: rgba(0,0,0,0.2);
  padding: 8px;
  border-radius: 8px;
  text-align: center;
}
.mobile-float-panel .hotline small {
  display: block;
  font-size: 12px;
  color: var(--muted);
  font-weight: 400;
  margin-top: 4px;
}

/* layout */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 20px 0;
}

.section-alt {
  background: rgba(255, 255, 255, .025);
}

.section-head {
  margin-bottom: 28px;
}

.section-head h2 {
  margin: 0 0 6px;
  font-family: "Noto Serif SC", serif;
  font-weight: 700;
  letter-spacing: .3px;
  color: var(--gold);
  font-size: 32px;
}

.section-head p {
  margin: 0;
  color: var(--ivory);
  opacity: .9;
}

/* header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(41, 10, 10, .6);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(201, 162, 74, .25);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ivory);
}

.logo {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  display: grid;
  place-items: center;
  font-weight: 700;
  color: var(--gold);
  font-family: "Noto Serif SC", serif;
}

.brand-text .cn {
  display: block;
  font-family: "Noto Serif SC", serif;
  font-weight: 700;
  letter-spacing: .8px;
}

.brand-text .en {
  display: block;
  font-size: 12px;
  color: var(--muted);
}

.desktop-nav a {
  margin-left: 22px;
  color: var(--ivory);
  text-decoration: none;
  opacity: .95;
}

.desktop-nav a:hover {
  color: var(--gold);
}

.btn {
  display: inline-block;
  padding: 10px 16px;
  border-radius: 999px;
  text-decoration: none;
  border: 1px solid transparent;
  color: var(--ivory);
  cursor: pointer;
}

.btn-outline {
  border-color: var(--gold);
  color: var(--gold);
}

.btn-gold {
  background: var(--gold);
  color: #2b1e0c;
  font-weight: 700;
}

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

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ivory);
  margin: 4px 0;
}

/* mobile drawer */
.mobile-drawer {
  flex-direction: column;
  padding: 12px 20px;
  background: #2a0a0a;
  border-bottom: 1px solid rgba(201, 162, 74, .25);
  display: none;
}

.mobile-drawer a {
  padding: 10px 0;
  color: var(--ivory);
  text-decoration: none;
}

.w100 {
  width: 100%;
  text-align: center;
}

/* screens */
.screen {
  scroll-margin-top: 72px;
}

/* hero - 放大电脑端轮播图 */
.hero {
  padding: 50px 0 40px;
  background: radial-gradient(900px 420px at 85% -10%, rgba(201, 162, 74, .18), transparent),
    radial-gradient(700px 240px at 10% 20%, rgba(201, 162, 74, .12), transparent);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 36px;
  align-items: center;
}

.hero-copy h1 {
  margin: 0 0 12px;
  font-size: 44px;
  line-height: 1.15;
  font-family: "Noto Serif SC", serif;
  color: var(--gold);
}

.lead {
  font-size: 18px;
  color: var(--ivory);
  opacity: .95;
}

.cta-row {
  margin-top: 18px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.bullets {
  margin: 14px 0 0;
  padding-left: 18px;
  color: var(--muted);
  list-style: disc;
}

/* 轮播图优化 - 电脑端更大 */
.hero-media {
  width: 100%;
}

.carousel {
  width: 100%;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid rgba(201, 162, 74, .22);
}

.slides {
  display: flex;
  animation: slide 15s infinite ease-in-out;
}

.slides img {
  width: 100%;
  height: 400px; /* 电脑端高度提升到400px */
  object-fit: cover;
  flex-shrink: 0;
}

@keyframes slide {
  0%, 16% {
    transform: translateX(0);
  }

  20%, 36% {
    transform: translateX(-100%);
  }

  40%, 56% {
    transform: translateX(-200%);
  }

  60%, 76% {
    transform: translateX(-300%);
  }

  80%, 96% {
    transform: translateX(-400%);
  }

  100% {
    transform: translateX(0);
  }
}

/* cards & grids */
.grid3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.grid2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.card {
  background: rgba(255, 255, 255, .03);
  border: 1px solid rgba(201, 162, 74, .18);
  border-radius: var(--radius);
  padding: 18px;
}

.card h3 {
  margin: 0 0 8px;
  color: var(--gold);
  font-family: "Noto Serif SC", serif;
}

.card p {
  margin: 0 0 10px;
  color: var(--ivory);
  opacity: .95;
}

.card .mini {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  list-style: disc;
}

/* stats */
.stats {
  display: flex;
  gap: 12px;
  margin-top: 14px;
  flex-wrap: wrap;
}

.stat {
  flex: 1 1 180px;
  background: rgba(255, 255, 255, .03);
  border: 1px solid rgba(201, 162, 74, .18);
  border-radius: 12px;
  padding: 14px;
}

.stat strong {
  font-size: 22px;
  color: var(--gold);
  display: block;
}

.stat span {
  font-size: 13px;
  color: var(--ivory);
  opacity: .9;
}

.note {
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
}

/* experts & kpis */
.experts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 14px;
}

.expert {
  display: flex;
  gap: 14px;
  background: rgba(255, 255, 255, .03);
  border: 1px solid rgba(201, 162, 74, .18);
  padding: 16px;
  border-radius: var(--radius);
}

.avatar {
  flex: 0 0 64px;
  height: 64px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  display: grid;
  place-items: center;
  color: var(--muted);
  font-weight: 700;
}

.kpis {
  margin-top: 8px;
}

.kpi {
  background: rgba(255, 255, 255, .03);
  border: 1px solid rgba(201, 162, 74, .18);
  border-radius: 12px;
  padding: 14px;
}

.kpi .k {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

.kpi .k span {
  color: var(--muted);
  font-size: 13px;
}

.kpi .k strong {
  color: var(--gold);
  font-size: 26px;
}

.logos {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.logo-chip {
  border: 1px dashed rgba(201, 162, 74, .35);
  border-radius: 999px;
  padding: 8px 12px;
  color: var(--muted);
  font-size: 12px;
}

/* process */
.process {
  counter-reset: step;
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.process li {
  display: flex;
  gap: 12px;
  background: rgba(255, 255, 255, .03);
  border: 1px solid rgba(201, 162, 74, .18);
  padding: 14px;
  border-radius: 14px;
}

.step-num {
  flex: 0 0 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  display: grid;
  place-items: center;
  color: var(--gold);
  font-weight: 700;
}

.step-body h3 {
  margin: 0 0 4px;
  color: var(--ivory);
}

.step-body p {
  margin: 0 0 6px;
  color: var(--ivory);
  opacity: .95;
}

.tiny {
  font-size: 12px;
  color: var(--gold);
  text-decoration: none;
}

.tiny:hover {
  text-decoration: underline;
}

/* CTA form */
.form {
  background: rgba(255, 255, 255, .03);
  border: 1px solid rgba(201, 162, 74, .18);
  padding: 16px;
  border-radius: var(--radius);
  margin-bottom: 12px;
}

label {
  display: block;
  font-size: 14px;
  color: var(--ivory);
  opacity: .95;
  margin-bottom: 8px;
}

input,
textarea,
select {
  width: 100%;
  padding: 10px;
  margin-top: 6px;
  border-radius: 12px;
  border: 1px solid rgba(201, 162, 74, .35);
  background: #2a0a0a;
  color: var(--ivory);
}

.form-note {
  color: var(--muted);
  font-size: 12px;
  margin-top: 8px;
}

/* 微信二维码样式重新设计 */
.contact-badges {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.badge {
  flex: 1 1 200px;
  background: rgba(201, 162, 74, .06);
  border: 1px dashed rgba(201, 162, 74, .35);
  border-radius: 12px;
  padding: 14px;
  color: var(--muted);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.wechat-badge {
  flex-direction: column;
  padding: 20px 14px;
}

.wechat-badge .qrcode-wrap {
  width: 120px;
  height: 120px;
  background: #fff;
  padding: 8px;
  border-radius: 8px;
  margin-bottom: 8px;
}

.wechat-badge .qrcode-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wechat-badge .qrcode-text {
  font-size: 14px;
  color: var(--gold);
  font-weight: 500;
}

.wechat-badge .qrcode-desc {
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
}

/* footer */
.footer {
  padding: 32px 0;
  border-top: 1px solid rgba(201, 162, 74, .2);
  background: #2a0a0a;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand-small {
  font-family: "Noto Serif SC", serif;
  color: var(--gold);
}

.footer-nav a {
  margin-left: 16px;
  color: var(--muted);
  text-decoration: none;
}

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

.logo-img {
  height: 48px;
}

/* 手机端自适应优化 */
@media (max-width: 980px) {
  /* 电脑端飘窗隐藏 */
  .float-window {
    display: none;
  }
  
  .desktop-nav {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .hero-inner {
    grid-template-columns: 1fr;
  }

  .slides img {
    height: 280px; /* 移动端轮播图高度适配 */
  }

  .process {
    grid-template-columns: 1fr;
  }

  .contact-badges {
    flex-direction: column;
  }

  .badge {
    width: 100%;
    flex: none;
  }
}

@media (max-width: 560px) {
  .grid3 {
    grid-template-columns: 1fr;
  }

  .experts {
    grid-template-columns: 1fr;
  }

  .hero-copy h1 {
    font-size: 32px; /* 移动端标题字号适配 */
  }

  .lead {
    font-size: 16px;
  }

  .section-head h2 {
    font-size: 26px;
  }

  .slides img {
    height: 220px; /* 小屏手机轮播图高度再调整 */
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-nav {
    margin-top: 16px;
  }

  .footer-nav a {
    margin: 0 8px;
  }

  .grid2 {
    grid-template-columns: 1fr; /* 移动端表单单列布局 */
  }
}
/* 2. 手机端飘窗样式 - 按钮替换为图片 */
.mobile-float-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 86px;
  height: 86px;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  cursor: pointer;
  /* 移除原有文字颜色和字号 */
}

/* 新增悬浮按钮图片样式 */
.mobile-float-btn .float-btn-img {
  width: 60px; /* 图片宽度，适配按钮大小 */
  height: 60px; /* 图片高度 */
  object-fit: contain; /* 保持图片比例，不拉伸变形 */
}

/* 其余.mobile-float-panel相关样式保持不变 */
.mobile-float-panel {
  position: fixed;
  bottom: 86px;
  right: 20px;
  width: 220px;
  background: linear-gradient(180deg, #6A2828, #4B1616);
  border: 2px solid var(--gold);
  border-radius: var(--radius);
  padding: 16px;
  z-index: 998;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  display: none; /* 默认隐藏 */
}
.mobile-float-panel.active {
  display: block;
}
/* 以下.mobile-float-panel内部样式均保持不变 */