/* ===== 寄养吧官网 全局样式 ===== */
:root {
  --family: #FF8A3D;      /* 家庭寄养 暖橙 */
  --family-dark: #e9742a;
  --visit: #2BB7A3;       /* 上门喂养 青绿 */
  --visit-dark: #1f9d8b;
  --ink: #1f2430;
  --muted: #6b7280;
  --bg: #ffffff;
  --bg-soft: #f7f8fa;
  --border: #e9ebef;
  --radius: 16px;
  --maxw: 1120px;
  --shadow-sm: 0 1px 3px rgba(31,36,48,.06), 0 1px 2px rgba(31,36,48,.04);
  --shadow-md: 0 8px 24px rgba(31,36,48,.08);
  --shadow-lg: 0 20px 48px rgba(31,36,48,.12);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { line-height: 1.25; margin: 0 0 .6em; font-weight: 700; }
p { margin: 0 0 1em; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section--soft { background: var(--bg-soft); }
.section--tint { background: linear-gradient(180deg, #fff 0%, #fafbfc 100%); }
.text-center { text-align: center; }
.lead { color: var(--muted); font-size: 18px; max-width: 640px; margin-left: auto; margin-right: auto; }

/* ===== 按钮 ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px; border-radius: 999px; font-weight: 600; font-size: 15px;
  border: 1px solid transparent; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--family); color: #fff; box-shadow: 0 6px 16px rgba(255,138,61,.32); }
.btn--primary:hover { background: var(--family-dark); }
.btn--visit { background: var(--visit); color: #fff; box-shadow: 0 6px 16px rgba(43,183,163,.3); }
.btn--visit:hover { background: var(--visit-dark); }
.btn--ghost { background: #fff; color: var(--ink); border-color: var(--border); }
.btn--ghost:hover { border-color: var(--family); color: var(--family); }
.btn--lg { padding: 16px 34px; font-size: 16px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ===== 顶部导航 ===== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.86); backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 54px; }
.brand { display: flex; align-items: center; gap: 9px; font-weight: 800; font-size: 19px; letter-spacing: .5px; color: inherit; }
.brand .logo-icon { width: 36px; height: 36px; border-radius: 8px; object-fit: contain; display: block; }
/* nav 拆回 icon + HTML 文字：图标 36px / 文字 24px / 间距 9px（用户要求"再缩小到四分之三"） */
.site-header .brand .logo-icon { width: 36px; height: 36px; border-radius: 8px; }
.site-header .brand .logo-text {
  font-size: 24px; font-weight: 800; letter-spacing: -0.4px; line-height: 1;
  display: inline-flex; align-items: center;
}
.site-header .brand .logo-text .t1,
.site-header .brand .logo-text .t3 { color: #FF8A3D; }
.site-header .brand .logo-text .t2 { color: #2BB7A3; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: var(--muted); font-weight: 500; font-size: 15px; transition: color .15s ease; }
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 4px 0; transition: .2s; }

/* 移动端菜单 */
.mobile-menu { display: none; flex-direction: column; gap: 4px; padding: 8px 24px 18px; border-bottom: 1px solid var(--border); background: #fff; }
.mobile-menu.open { display: flex; }
.mobile-menu a { padding: 12px 4px; color: var(--ink); font-weight: 500; border-bottom: 1px solid var(--bg-soft); }
.mobile-menu .btn { margin-top: 10px; }

/* ===== Hero ===== */
.hero { position: relative; overflow: hidden; padding: 96px 0 84px; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 60% at 15% 10%, rgba(255,138,61,.16), transparent 60%),
    radial-gradient(55% 55% at 90% 20%, rgba(43,183,163,.16), transparent 60%),
    linear-gradient(180deg, #fffdfb 0%, #f7f8fa 100%);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero h1 { font-size: 46px; letter-spacing: -.5px; }
.hero h1 .grad { background: linear-gradient(120deg, var(--family), var(--visit)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { margin-left: 0; }
.hero-tags { display: flex; gap: 10px; flex-wrap: wrap; margin: 22px 0; }
.tag { padding: 6px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; background: #fff; border: 1px solid var(--border); color: var(--muted); }
.tag--family { color: var(--family-dark); border-color: rgba(255,138,61,.35); background: rgba(255,138,61,.07); }
.tag--visit { color: var(--visit-dark); border-color: rgba(43,183,163,.35); background: rgba(43,183,163,.07); }

/* 手机/二维码展示卡 */
.phone-card {
  background: #fff; border-radius: 28px; box-shadow: var(--shadow-lg); padding: 22px;
  border: 1px solid var(--border); max-width: 320px; margin-left: auto;
}
.phone-card .screen { background: linear-gradient(180deg, #fff7f0, #f0fbf9); border-radius: 18px; padding: 20px; text-align: center; }
.phone-card .qr {
  width: 150px; height: 150px; margin: 6px auto 14px; border-radius: 14px; background: #fff;
  display: grid; place-items: center; box-shadow: var(--shadow-sm); font-size: 12px; color: var(--muted);
}
.phone-card h4 { margin: 4px 0; }
.phone-card p { font-size: 13px; color: var(--muted); margin: 0; }

/* ===== 双业务卡片 ===== */
.biz-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 12px; }
.biz-card {
  border-radius: var(--radius); padding: 36px 32px; background: #fff; border: 1px solid var(--border);
  box-shadow: var(--shadow-sm); transition: transform .18s ease, box-shadow .18s ease; position: relative; overflow: hidden;
}
.biz-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.biz-card::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; }
.biz-card--family::after { background: var(--family); }
.biz-card--visit::after { background: var(--visit); }
.biz-icon { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; font-size: 26px; margin-bottom: 18px; }
.biz-card--family .biz-icon { background: rgba(255,138,61,.12); }
.biz-card--visit .biz-icon { background: rgba(43,183,163,.12); }
.biz-card h3 { font-size: 22px; }
.biz-card .biz-meta { color: var(--muted); font-size: 14px; margin-top: 10px; }
.biz-card ul { margin: 16px 0 0; padding-left: 18px; color: var(--muted); font-size: 15px; }
.biz-card ul li { margin-bottom: 8px; }

/* ===== 数据/信任条 ===== */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 12px; }
.stat { text-align: center; padding: 26px 16px; border-radius: var(--radius); background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.stat .num { font-size: 34px; font-weight: 800; background: linear-gradient(120deg, var(--family), var(--visit)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat .label { color: var(--muted); font-size: 14px; margin-top: 4px; }

/* ===== 特性网格 ===== */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 12px; }
.feat { padding: 28px 26px; border-radius: var(--radius); background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.feat .ico { font-size: 26px; margin-bottom: 12px; }
.feat h4 { font-size: 17px; margin-bottom: 6px; }
.feat p { color: var(--muted); font-size: 14px; margin: 0; }

/* ===== 章节标题 ===== */
.sec-head { text-align: center; margin-bottom: 44px; }
.sec-head .eyebrow { color: var(--family); font-weight: 700; letter-spacing: 2px; font-size: 13px; text-transform: uppercase; }
.sec-head h2 { font-size: 34px; letter-spacing: -.3px; margin-top: 8px; }
.sec-head p { color: var(--muted); }

/* ===== CTA 区 ===== */
.cta-band { background: linear-gradient(120deg, var(--family), var(--visit)); border-radius: 24px; padding: 56px 40px; color: #fff; text-align: center; }
.cta-band h2 { color: #fff; font-size: 32px; }
.cta-band p { color: rgba(255,255,255,.92); max-width: 560px; margin: 0 auto 24px; }

/* ===== 页脚 ===== */
.site-footer { background: #161a22; color: #c9cdd6; padding: 56px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.site-footer .brand {
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0;
  text-decoration: none;
  display: inline-block;
  margin-top: 2px;
  margin-bottom: 6px;
}
.site-footer .brand:hover { opacity: .85; }
.footer-col h5 { color: #fff; font-size: 15px; margin: 0 0 16px; }
.footer-col a { display: block; color: #aab0bd; padding: 6px 0; font-size: 14px; transition: color .15s; }
.footer-col a:hover { color: #fff; }
.footer-about p { color: #aab0bd; font-size: 14px; margin: 4px 0 0; max-width: 15em; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); margin-top: 40px; padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; color: #828a98; font-size: 13px; }
.footer-bottom a { color: #aab0bd; }

/* ===== 通用内容页（关于/业务/联系） ===== */
.page-hero { padding: 64px 0 40px; text-align: center; background: linear-gradient(180deg,#fffdfb,#f7f8fa); }
.page-hero h1 { font-size: 40px; }
.page-hero .lead { margin-top: 8px; }
.prose { max-width: 760px; margin: 0 auto; }
.prose h2 { font-size: 26px; margin-top: 40px; }
.prose h3 { font-size: 19px; margin-top: 28px; color: var(--ink); }
.prose ul { padding-left: 20px; }
.prose ul li { margin-bottom: 8px; }

/* 联系信息卡 */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 12px; }
.contact-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); }
.contact-card .k { color: var(--muted); font-size: 14px; margin-bottom: 4px; }
.contact-card .v { font-size: 17px; font-weight: 600; }
.contact-card a.v:hover { color: var(--family); }

/* 主体信息（低调完整展示，满足 ICP/审核要求） */
.entity-section { margin-top: 28px; }
.entity-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); }
.entity-card h3 { font-size: 17px; margin: 0 0 16px; }
.entity-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 28px; }
.entity-row { display: flex; gap: 10px; font-size: 14px; line-height: 1.5; }
.entity-row .ek { color: var(--muted); white-space: nowrap; }
.entity-row .ev { color: var(--ink); font-weight: 500; }
.footer-entity { width: 100%; margin-top: 10px; font-size: 12px; color: #6b7280; line-height: 1.6; }
.footer-entity span { display: inline-block; margin-right: 16px; }
@media (max-width: 640px) {
  .entity-list { grid-template-columns: 1fr; }
}

/* ===== 政策法规排版（.legal） ===== */
.legal { max-width: 820px; margin: 0 auto; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 48px 52px; box-shadow: var(--shadow-sm); }
.legal .doc-meta { color: var(--muted); font-size: 14px; margin-bottom: 6px; }
.legal .subject { font-weight: 600; color: var(--ink); margin-bottom: 20px; }
.legal h1 { font-size: 28px; text-align: center; margin-bottom: 6px; }
.legal h2 { font-size: 20px; margin-top: 34px; padding-bottom: 8px; border-bottom: 2px solid var(--bg-soft); }
.legal h3 { font-size: 16px; margin-top: 22px; color: var(--visit-dark); }
.legal ul { padding-left: 22px; }
.legal ul li { margin-bottom: 8px; }
.legal .callout {
  background: linear-gradient(120deg, rgba(255,138,61,.08), rgba(43,183,163,.08));
  border: 1px solid var(--border); border-left: 4px solid var(--family);
  border-radius: 12px; padding: 18px 20px; margin: 18px 0; font-size: 15px;
}
.legal hr { border: 0; border-top: 1px solid var(--border); margin: 28px 0; }
.legal strong { color: var(--ink); }
.legal .foot-note { color: var(--muted); font-size: 13px; margin-top: 28px; font-style: italic; }

/* ===== 响应式 ===== */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .phone-card { margin: 0 auto; }
  .biz-grid, .contact-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .feat-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 36px; }
}
@media (max-width: 640px) {
  .nav-links, .nav-cta .btn { display: none; }
  .nav-toggle { display: block; }
  .nav { height: 48px; }
  .site-header .brand { gap: 8px; }
  .site-header .brand .logo-icon { width: 30px; height: 30px; border-radius: 6px; }
  .site-header .brand .logo-text { font-size: 20px; letter-spacing: 0; }
  .section { padding: 56px 0; }
  .hero { padding: 56px 0; }
  .hero h1 { font-size: 30px; }
  .sec-head h2, .cta-band h2 { font-size: 26px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .legal { padding: 28px 22px; }
  .container { padding: 0 18px; }
}

.footer-legal { width: 100%; margin-top: 6px; font-size: 12px; color: #6b7280; line-height: 1.6; }
.footer-legal span { display: inline-block; margin-right: 16px; }
.footer-legal a { color: #9aa1ad; text-decoration: none; }
.footer-legal a:hover { color: #ffffff; text-decoration: underline; }
