/* YTT创业服务 · 深圳自营地址挂靠 全站样式 */

:root {
  --ink: #16202b;
  --brand: #123a5e;
  --brand-deep: #0d2a45;
  --brand-soft: #eaf1f8;
  --gold: #c9932f;
  --gold-soft: #fbf3e3;
  --bg: #ffffff;
  --soft: #f6f8fa;
  --line: #e3e8ee;
  --muted: #5a6978;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(18, 58, 94, .06), 0 8px 24px rgba(18, 58, 94, .06);
  --wrap: 1140px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "Source Han Sans SC", sans-serif;
  color: var(--ink);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.75;
  padding-bottom: 68px;
}

h1, h2, h3, h4 { margin: 0; line-height: 1.35; font-weight: 700; letter-spacing: -.2px; }
p { margin: 0; }
a { color: var(--brand); text-decoration: none; }
img { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; list-style: none; }

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

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- 顶部导航 ---------- */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.topbar-in { display: flex; align-items: center; justify-content: space-between; height: 58px; }

.logo { display: flex; align-items: center; gap: 9px; font-weight: 700; color: var(--ink); font-size: 16px; }
.logo-mark {
  width: 30px; height: 30px; border-radius: 8px; flex: 0 0 auto;
  background: var(--brand); color: #fff; font-size: 13px; font-weight: 700;
  display: grid; place-items: center; letter-spacing: .5px;
}
.logo small { display: block; font-size: 11px; color: var(--muted); font-weight: 400; line-height: 1; margin-top: 2px; }

.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 10px;
  background: #fff; cursor: pointer;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; position: relative;
}
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

.nav { display: none; }
.nav.open {
  display: block; position: absolute; left: 0; right: 0; top: 58px;
  background: #fff; border-bottom: 1px solid var(--line); padding: 10px 20px 18px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, .06);
}
.nav a { display: block; padding: 11px 4px; color: var(--ink); font-size: 15px; border-bottom: 1px solid var(--soft); }
.nav a:last-child { border-bottom: 0; }
.nav .nav-cta { color: var(--gold); font-weight: 600; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 22px; border-radius: 10px; font-size: 15px; font-weight: 600;
  border: 1px solid transparent; cursor: pointer; transition: .18s; text-align: center;
}
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-deep); }
.btn-gold { background: var(--gold); color: #fff; }
.btn-gold:hover { background: #b07f24; }
.btn-ghost { background: #fff; color: var(--brand); border-color: #cfdbe7; }
.btn-ghost:hover { border-color: var(--brand); }
.btn-block { width: 100%; }

/* ---------- 通用区块 ---------- */
section { padding: 52px 0; }
.sec-soft { background: var(--soft); }
.sec-head { margin-bottom: 26px; }
.sec-head h2 { font-size: 24px; }
.sec-head p { color: var(--muted); font-size: 15px; margin-top: 8px; }
.eyebrow {
  display: inline-block; font-size: 12px; letter-spacing: 1.4px; color: var(--gold);
  font-weight: 700; margin-bottom: 8px; text-transform: uppercase;
}

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(170deg, #0d2a45 0%, #123a5e 55%, #17496f 100%);
  color: #fff; padding: 46px 0 54px;
}
.hero h1 { font-size: 27px; letter-spacing: -.5px; }
.hero h1 em { font-style: normal; color: #f0c674; }
.hero-sub { margin-top: 14px; font-size: 15px; color: #cddceb; max-width: 620px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.hero-actions .btn { flex: 1 1 auto; min-width: 150px; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 8px 14px; margin-top: 22px; font-size: 13px; color: #a8c2d8; }
.hero-tags li::before { content: "✓"; color: #f0c674; margin-right: 5px; font-weight: 700; }

.price-chip {
  margin-top: 26px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 12px; padding: 16px 18px; display: flex; align-items: center; gap: 14px;
}
.price-chip strong { font-size: 30px; color: #f0c674; line-height: 1; letter-spacing: -1px; }
.price-chip span { font-size: 13px; color: #cddceb; line-height: 1.5; }

/* ---------- 卡片网格 ---------- */
.grid { display: grid; gap: 14px; grid-template-columns: 1fr; }
.grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px; box-shadow: var(--shadow);
}
.card h3 { font-size: 17px; margin-bottom: 8px; }
.card p { font-size: 14.5px; color: var(--muted); }

/* 区域卡片 */
.area-card { position: relative; display: block; transition: .18s; }
.area-card:hover { border-color: var(--brand); transform: translateY(-2px); }
.area-card h3 { color: var(--ink); display: flex; align-items: center; justify-content: space-between; }
.area-card .price { font-size: 13px; color: var(--gold); font-weight: 700; }
.area-card p { margin-top: 6px; font-size: 13.5px; }
.area-card .go { margin-top: 12px; font-size: 13px; color: var(--brand); font-weight: 600; }

/* 服务卡 */
.svc { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.svc-num {
  display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 8px;
  background: var(--brand-soft); color: var(--brand); font-size: 13px; font-weight: 700; margin-bottom: 12px;
}
.svc h3 { font-size: 16.5px; margin-bottom: 6px; }
.svc p { font-size: 14px; color: var(--muted); }

/* ---------- 保障清单 ---------- */
.guard-list { display: grid; gap: 10px; grid-template-columns: 1fr; }
.guard-list li {
  background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--gold);
  border-radius: 10px; padding: 13px 16px; font-size: 14.5px; color: var(--ink);
}
.guard-list li b { color: var(--brand); }

/* ---------- 价格表 ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
table { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 520px; }
th, td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); }
th { background: var(--brand-soft); color: var(--brand); font-weight: 600; font-size: 13.5px; white-space: nowrap; }
tr:last-child td { border-bottom: 0; }
td strong { color: var(--gold); }
.note { font-size: 13px; color: var(--muted); margin-top: 12px; }

/* ---------- FAQ ---------- */
.faq { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; }
.faq + .faq { margin-top: 10px; }
.faq summary {
  padding: 17px 46px 17px 18px; font-weight: 600; font-size: 15.5px; cursor: pointer;
  position: relative; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%);
  font-size: 20px; color: var(--gold); font-weight: 400; line-height: 1;
}
.faq[open] summary::after { content: "−"; }
.faq .ans { padding: 0 18px 18px; font-size: 14.5px; color: var(--muted); }
.faq .ans p + p { margin-top: 10px; }

/* ---------- 联系 ---------- */
.contact-grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
.contact-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.phone-line { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.phone-num { font-size: 26px; font-weight: 700; letter-spacing: .5px; color: var(--brand); font-variant-numeric: tabular-nums; }
.reveal-btn {
  background: none; border: 1px dashed #c3d2e0; color: var(--brand); border-radius: 8px;
  padding: 7px 12px; font-size: 13px; cursor: pointer; font-family: inherit;
}
.qr-wrap { display: flex; gap: 18px; align-items: flex-start; margin-top: 20px; flex-wrap: wrap; }
.qr-wrap img { width: 132px; border-radius: 10px; border: 1px solid var(--line); }
.qr-tip { font-size: 13.5px; color: var(--muted); }
.qr-tip b { color: var(--ink); display: block; margin-bottom: 4px; font-size: 14.5px; }

.form-row { margin-bottom: 12px; }
.form-row label { display: block; font-size: 13.5px; color: var(--muted); margin-bottom: 6px; }
.form-row input, .form-row textarea, .form-row select {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px;
  font-size: 15px; font-family: inherit; color: var(--ink); background: #fff;
}
.form-row input:focus, .form-row textarea:focus, .form-row select:focus {
  outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(18, 58, 94, .08);
}
.form-hint { font-size: 12.5px; color: var(--muted); margin-top: 10px; }

/* ---------- 文章 ---------- */
.post-item {
  display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px; transition: .18s;
}
.post-item:hover { border-color: var(--brand); }
.post-item .meta { font-size: 12.5px; color: var(--muted); margin-bottom: 6px; }
.post-item h3 { font-size: 17px; color: var(--ink); }
.post-item p { margin-top: 8px; font-size: 14px; color: var(--muted); }

.article-body { max-width: 760px; margin: 0 auto; }
.article-body h2 { font-size: 20px; margin: 32px 0 12px; }
.article-body h3 { font-size: 17px; margin: 24px 0 8px; }
.article-body p { margin: 12px 0; font-size: 15.5px; color: #2b3a49; }
.article-body ul { margin: 12px 0; padding-left: 20px; list-style: disc; }
.article-body li { margin: 6px 0; font-size: 15.5px; color: #2b3a49; }

/* ---------- 面包屑 / 页头 ---------- */
.page-head { background: var(--soft); padding: 34px 0 30px; border-bottom: 1px solid var(--line); }
.crumb { font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.crumb a { color: var(--muted); }
.crumb span { margin: 0 6px; }
.page-head h1 { font-size: 25px; }
.page-head p { color: var(--muted); font-size: 15px; margin-top: 10px; max-width: 700px; }

/* ---------- 页脚 ---------- */
footer { background: var(--brand-deep); color: #b8cbdc; padding: 40px 0 28px; font-size: 14px; }
footer h4 { color: #fff; font-size: 14px; margin-bottom: 12px; }
footer a { color: #b8cbdc; }
footer a:hover { color: #fff; }
.foot-grid { display: grid; gap: 26px; grid-template-columns: 1fr; }
.foot-links li { margin: 7px 0; }
.foot-bottom {
  border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 28px; padding-top: 18px;
  font-size: 12.5px; color: #8fa8be; line-height: 1.8;
}

/* ---------- 移动端底部操作条 ---------- */
.action-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
  background: var(--line); border-top: 1px solid var(--line);
  padding-bottom: env(safe-area-inset-bottom);
}
.action-bar a {
  display: flex; align-items: center; justify-content: center; gap: 7px;
  padding: 15px 8px; font-size: 15px; font-weight: 600; background: #fff;
}
.action-bar .bar-call { color: var(--brand); }
.action-bar .bar-wx { background: var(--gold); color: #fff; }

/* ---------- 平板 ---------- */
@media (min-width: 768px) {
  body { font-size: 16px; padding-bottom: 0; }
  section { padding: 68px 0; }
  .hero { padding: 64px 0 72px; }
  .hero h1 { font-size: 36px; }
  .hero-sub { font-size: 16.5px; }
  .sec-head h2 { font-size: 29px; }
  .page-head { padding: 44px 0 40px; }
  .page-head h1 { font-size: 31px; }
  .grid-2 { grid-template-columns: repeat(2, 1fr); align-items: start; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .guard-list { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: repeat(2, 1fr); }
  .action-bar { display: none; }
  .nav-toggle { display: none; }
  .nav { display: flex; align-items: center; gap: 4px; }
  .nav.open { position: static; box-shadow: none; border: 0; padding: 0; background: none; }
  .nav a {
    display: inline-block; padding: 8px 12px; font-size: 14.5px; border: 0;
    color: #33465a; border-radius: 8px;
  }
  .nav a:hover { background: var(--soft); color: var(--brand); }
  .nav .nav-cta { color: #fff; background: var(--brand); padding: 9px 16px; margin-left: 6px; }
  .nav .nav-cta:hover { background: var(--brand-deep); color: #fff; }
}

/* ---------- 桌面 ---------- */
@media (min-width: 1080px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  .hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
  .hero h1 { font-size: 41px; }
  .foot-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; }
  .guard-list { grid-template-columns: repeat(3, 1fr); }
  .gap-lg { gap: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}
