/* 安徽安庆代妈代怀代母助孕代生消防工程有限公司 — 现代风格样式 */
/* 根据08-026项目样式优化，主题色：深红#C0392B（消防警示色）+ 橙色#F2784B */

/* ===== 全局基础 ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: "Microsoft YaHei", "微软雅黑", Arial, sans-serif; color: #333; line-height: 1.8; background: #fff; }
a { color: inherit; text-decoration: none; }
a:hover { color: #C0392B; }
img { max-width: 100%; height: auto; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 15px; }

/* ===== 顶部联系栏 ===== */
.contact-bar { background: linear-gradient(135deg, #C0392B 0%, #E74C3C 100%); color: #fff; font-size: 14px; padding: 10px 0; }
.contact-bar .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; }
.contact-bar a { color: #fff; margin: 0 12px; }
.contact-bar a:hover { color: #FFD700; }
.contact-bar .phone { font-weight: bold; font-size: 16px; }
.contact-bar .hours { opacity: 0.85; }

/* ===== 导航栏 ===== */
.main-nav { background: #fff; box-shadow: 0 2px 10px rgba(0,0,0,0.08); position: sticky; top: 0; z-index: 999; }
.main-nav .container { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.nav-logo { font-size: 20px; font-weight: bold; color: #C0392B; }
.nav-logo span { color: #F2784B; }
.nav-menu { display: flex; list-style: none; gap: 28px; }
.nav-menu a { font-size: 15px; font-weight: 500; color: #333; padding: 6px 0; position: relative; }
.nav-menu a::after { content: ""; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background: #C0392B; transition: width 0.3s; }
.nav-menu a:hover::after { width: 100%; }
.nav-menu a.active { color: #C0392B; }
.nav-menu a.active::after { width: 100%; }
.nav-toggler { display: none; background: none; border: none; font-size: 24px; cursor: pointer; color: #C0392B; }

/* ===== 页面横幅 ===== */
.page-banner { background: linear-gradient(135deg, #C0392B 0%, #E74C3C 50%, #F2784B 100%); color: #fff; padding: 70px 0; text-align: center; position: relative; overflow: hidden; }
.page-banner::before { content: ""; position: absolute; top: -60px; right: -60px; width: 260px; height: 260px; border-radius: 50%; background: rgba(255,255,255,0.08); }
.page-banner::after { content: ""; position: absolute; bottom: -80px; left: -80px; width: 300px; height: 300px; border-radius: 50%; background: rgba(255,255,255,0.05); }
.page-banner h1 { font-size: 40px; font-weight: bold; position: relative; z-index: 1; }
.page-banner p { font-size: 18px; margin-top: 15px; opacity: 0.92; position: relative; z-index: 1; }

/* ===== 通用版块 ===== */
.section { padding: 70px 0; }
.section-title { text-align: center; margin-bottom: 50px; }
.section-title h2 { font-size: 32px; color: #C0392B; position: relative; display: inline-block; padding-bottom: 15px; }
.section-title h2::after { content: ""; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 60px; height: 3px; background: #F2784B; }
.section-title p { color: #777; margin-top: 12px; font-size: 16px; }

/* ===== 卡片网格（首页/代怀用） ===== */
.feature-grid { display: flex; flex-wrap: wrap; gap: 30px; }
.feature-card { flex: 0 0 calc(33.333% - 20px); background: #fff; border-radius: 10px; padding: 35px 28px; box-shadow: 0 4px 20px rgba(0,0,0,0.07); transition: transform 0.3s, box-shadow 0.3s; }
.feature-card:hover { transform: translateY(-6px); box-shadow: 0 12px 35px rgba(192,57,43,0.15); }
.feature-card .icon { font-size: 40px; color: #C0392B; margin-bottom: 18px; }
.feature-card h3 { font-size: 20px; margin-bottom: 12px; color: #333; }
.feature-card p { color: #666; font-size: 15px; }
.feature-card .num { font-size: 42px; font-weight: bold; color: rgba(192,57,43,0.12); float: right; line-height: 1; }

/* ===== 标签页布局（代妈/代生用） ===== */
.tab-layout { display: flex; gap: 30px; }
.tab-nav { flex: 0 0 220px; display: flex; flex-direction: column; gap: 8px; }
.tab-nav button { padding: 14px 20px; border: none; background: #f5f5f5; border-radius: 8px; font-size: 15px; cursor: pointer; text-align: left; transition: all 0.3s; color: #555; }
.tab-nav button.active { background: #C0392B; color: #fff; font-weight: bold; }
.tab-nav button:hover:not(.active) { background: #ffeae7; }
.tab-content { flex: 1; }
.tab-pane { display: none; }
.tab-pane.active { display: block; }
.tab-pane h3 { font-size: 22px; color: #C0392B; margin-bottom: 18px; }
.tab-pane p { color: #666; line-height: 1.9; margin-bottom: 14px; }

/* ===== 左图右文交替（代母用） ===== */
.alt-row { display: flex; align-items: center; gap: 40px; margin-bottom: 40px; }
.alt-row:nth-child(even) { flex-direction: row-reverse; }
.alt-row .img-box { flex: 0 0 45%; border-radius: 12px; overflow: hidden; box-shadow: 0 6px 25px rgba(0,0,0,0.1); background: #f0f0f0; height: 260px; display: flex; align-items: center; justify-content: center; color: #bbb; font-size: 14px; }
.alt-row .text-box { flex: 1; }
.alt-row .text-box h3 { font-size: 22px; color: #C0392B; margin-bottom: 14px; }
.alt-row .text-box p { color: #666; line-height: 1.9; }

/* ===== 手风琴（助孕用） ===== */
.accordion-item { border: 1px solid #eee; border-radius: 8px; margin-bottom: 12px; overflow: hidden; }
.accordion-header { padding: 18px 24px; background: #f8f8f8; cursor: pointer; font-size: 17px; font-weight: 600; color: #333; display: flex; justify-content: space-between; align-items: center; transition: background 0.3s; }
.accordion-header:hover { background: #f0e0e0; }
.accordion-header.active { background: #C0392B; color: #fff; }
.accordion-body { padding: 0 24px; max-height: 0; overflow: hidden; transition: max-height 0.4s, padding 0.4s; }
.accordion-body.open { padding: 20px 24px; max-height: 800px; }
.accordion-body p { color: #666; line-height: 1.9; margin-bottom: 12px; }

/* ===== 流程步骤 ===== */
.process-steps { display: flex; justify-content: space-between; position: relative; padding: 0 20px; }
.process-steps::before { content: ""; position: absolute; top: 35px; left: 60px; right: 60px; height: 3px; background: #eee; }
.step { text-align: center; position: relative; z-index: 1; flex: 0 0 140px; }
.step .circle { width: 70px; height: 70px; border-radius: 50%; background: #fff; border: 3px solid #C0392B; display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: bold; color: #C0392B; margin: 0 auto 14px; transition: all 0.3s; }
.step:hover .circle { background: #C0392B; color: #fff; }
.step p { font-size: 14px; color: #666; }

/* ===== FAQ ===== */
.faq-item { border-bottom: 1px solid #eee; padding: 18px 0; cursor: pointer; }
.faq-item h4 { font-size: 16px; color: #333; display: flex; justify-content: space-between; align-items: center; }
.faq-item h4::after { content: "+"; font-size: 22px; color: #C0392B; }
.faq-item.open h4::after { content: "-"; }
.faq-item p { display: none; padding-top: 12px; color: #666; line-height: 1.8; }
.faq-item.open p { display: block; }

/* ===== 服务保障 ===== */
.guarantee-grid { display: flex; gap: 24px; flex-wrap: wrap; }
.guarantee-card { flex: 0 0 calc(25% - 18px); background: #fff; border-radius: 10px; padding: 30px 22px; text-align: center; box-shadow: 0 3px 15px rgba(0,0,0,0.06); }
.guarantee-card .icon { font-size: 36px; color: #C0392B; margin-bottom: 14px; }
.guarantee-card h4 { font-size: 17px; margin-bottom: 10px; }

/* ===== 页脚 ===== */
.site-footer { background: #1a1a2e; color: #ccc; padding: 60px 0 30px; }
.footer-cols { display: flex; gap: 40px; flex-wrap: wrap; margin-bottom: 40px; }
.footer-col { flex: 1; min-width: 200px; }
.footer-col h4 { color: #fff; font-size: 18px; margin-bottom: 20px; position: relative; padding-bottom: 10px; }
.footer-col h4::after { content: ""; position: absolute; bottom: 0; left: 0; width: 40px; height: 2px; background: #C0392B; }
.footer-col p, .footer-col a { color: #aaa; font-size: 14px; display: block; margin-bottom: 8px; }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid #333; padding-top: 20px; text-align: center; font-size: 14px; color: #888; }

/* ===== 响应式 ===== */
@media (max-width: 991px) {
  .nav-menu { display: none; flex-direction: column; position: absolute; top: 70px; left: 0; right: 0; background: #fff; padding: 20px; box-shadow: 0 10px 30px rgba(0,0,0,0.12); }
  .nav-menu.open { display: flex; }
  .nav-toggler { display: block; }
  .tab-layout { flex-direction: column; }
  .tab-nav { flex-direction: row; flex-wrap: wrap; }
  .alt-row { flex-direction: column !important; }
  .process-steps { flex-wrap: wrap; gap: 20px; }
  .step { flex: 0 0 calc(50% - 20px); margin-bottom: 20px; }
}
@media (max-width: 575px) {
  .page-banner h1 { font-size: 28px; }
  .page-banner { padding: 45px 0; }
  .section { padding: 45px 0; }
  .feature-card { flex: 0 0 100%; }
  .step { flex: 0 0 100%; }
  .guarantee-card { flex: 0 0 calc(50% - 12px); }
  .contact-bar .container { flex-direction: column; gap: 6px; text-align: center; }
}
