/* ==========================================================================
   善和到家 · 招聘应聘网站原型
   设计语言：专业 / 温暖 / 可信赖 —— 暖绿主色 + 浅灰白辅助
   ========================================================================== */

/* ---------- 设计令牌 ---------- */
:root {
  --brand:        #2f9e77;   /* 主暖绿 */
  --brand-dark:   #1e7a5a;   /* 深绿（hover / 渐变） */
  --brand-deep:   #14382a;   /* 墨绿（页脚 / 深底） */
  --brand-light:  #e9f5ef;   /* 浅绿底 */
  --brand-lighter:#f4faf7;   /* 更浅绿底 */
  --accent:       #f0a24b;   /* 暖橙点缀（醒目 CTA / 徽标） */
  --accent-soft:  #fdf3e5;   /* 暖橙浅底 */
  --ink:          #1f2d3a;   /* 主文字 */
  --ink-2:        #5b6b79;   /* 次级文字 */
  --ink-3:        #93a1ad;   /* 弱文字 */
  --line:         #e5e9ed;   /* 分割线 */
  --bg:           #ffffff;
  --bg-soft:      #f5f7f6;   /* 浅灰背景 */
  --danger:       #d9534f;
  --danger-soft:  #fdeeec;
  --success:      #2f9e77;
  --radius:       14px;
  --radius-sm:    10px;
  --shadow:       0 6px 24px rgba(31, 45, 58, .08);
  --shadow-lg:    0 16px 40px rgba(20, 56, 42, .16);
  --nav-h:        68px;
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC",
          -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* ---------- Reset ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img, svg { vertical-align: middle; }
ul, ol { list-style: none; }
button, input, select, textarea { font-family: inherit; font-size: inherit; color: inherit; }
::placeholder { color: var(--ink-3); }

.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.section { padding: 76px 0; }
.section-soft { background: var(--bg-soft); }

.section-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.section-head .kicker {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .12em;
  color: var(--brand-dark); background: var(--brand-light);
  padding: 4px 14px; border-radius: 999px; margin-bottom: 14px;
}
.section-head h2 { font-size: clamp(24px, 3vw, 32px); line-height: 1.35; }
.section-head p { color: var(--ink-2); margin-top: 10px; }

.muted { color: var(--ink-2); }
.small { font-size: 13px; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 26px; border-radius: 999px; border: 1.5px solid transparent;
  font-size: 15.5px; font-weight: 600; line-height: 1.2; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
  white-space: nowrap; user-select: none;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 6px 18px rgba(47, 158, 119, .32); }
.btn-primary:hover { background: var(--brand-dark); }
.btn-accent { background: var(--accent); color: #fff; box-shadow: 0 6px 18px rgba(240, 162, 75, .35); }
.btn-accent:hover { background: #e2933a; }
.btn-ghost { background: #fff; color: var(--brand-dark); border-color: var(--brand); }
.btn-ghost:hover { background: var(--brand-light); }
.btn-white { background: #fff; color: var(--brand-dark); box-shadow: 0 8px 22px rgba(0,0,0,.18); }
.btn-white:hover { transform: translateY(-2px); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.75); }
.btn-outline-light:hover { background: rgba(255,255,255,.14); }
.btn-lg { padding: 15px 34px; font-size: 16.5px; }
.btn-sm { padding: 8px 16px; font-size: 13.5px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: not-allowed; }

/* ==========================================================================
   导航
   ========================================================================== */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.96); backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent; transition: box-shadow .2s, border-color .2s;
}
.nav.is-scrolled { border-color: var(--line); box-shadow: 0 4px 18px rgba(31,45,58,.07); }
.nav-inner { height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; gap: 20px; }

.nav-brand { display: flex; align-items: center; gap: 10px; }
.brand-mark {
  width: 42px; height: 42px; border-radius: 13px; flex: none;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 700; box-shadow: 0 4px 12px rgba(30,122,90,.35);
}
.brand-text { line-height: 1.15; }
.brand-text b { display: block; font-size: 18px; letter-spacing: .02em; }
.brand-text small { display: block; font-size: 11.5px; color: var(--ink-2); letter-spacing: .05em; }

.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-link {
  position: relative; display: inline-flex; align-items: center; gap: 4px;
  padding: 9px 14px; border-radius: 999px; border: 0; background: none;
  font-size: 15px; font-weight: 500; color: var(--ink-2); cursor: pointer;
  transition: color .15s, background .15s;
}
.nav-link:hover { color: var(--brand-dark); background: var(--brand-lighter); }
.nav-link.is-active { color: var(--brand-dark); font-weight: 700; background: var(--brand-light); }
.nav-cta { margin-left: 10px; }

/* 应聘入口下拉 */
.nav-dropdown { position: relative; }
.dropdown-menu {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translate(-50%, 6px);
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg); padding: 8px; min-width: 178px;
  opacity: 0; visibility: hidden; transition: all .18s ease; z-index: 50;
}
.dropdown-menu a {
  display: block; padding: 10px 14px; border-radius: 8px;
  font-size: 14.5px; color: var(--ink-2); font-weight: 500;
}
.dropdown-menu a:hover { background: var(--brand-lighter); color: var(--brand-dark); }
.dropdown-menu a strong { color: var(--ink); }
.nav-dropdown.is-open .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

/* 汉堡 */
.nav-burger {
  display: none; width: 42px; height: 42px; border-radius: 10px;
  border: 1px solid var(--line); background: #fff; cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav-burger span { display: block; width: 20px; height: 2px; border-radius: 2px; background: var(--ink); transition: all .2s; }
.nav-burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.is-open span:nth-child(2) { opacity: 0; }
.nav-burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* 移动菜单 */
.mobile-menu {
  display: none; border-top: 1px solid var(--line); background: #fff;
  padding: 10px 24px 20px; max-height: calc(100vh - var(--nav-h)); overflow-y: auto;
}
.mobile-menu a {
  display: block; padding: 13px 6px; font-size: 15.5px; font-weight: 500;
  color: var(--ink); border-bottom: 1px solid var(--line);
}
.mobile-menu a.is-active { color: var(--brand-dark); font-weight: 700; }
.mobile-menu .mm-sub { padding-left: 14px; }
.mobile-menu .mm-sub a { font-size: 14.5px; color: var(--ink-2); }
.mobile-menu .btn { margin-top: 16px; }

/* ==========================================================================
   首页 Hero
   ========================================================================== */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background: linear-gradient(135deg, var(--brand-dark) 0%, var(--brand) 68%, #46a985 100%);
}
.hero::before, .hero::after {
  content: ""; position: absolute; border-radius: 50%; pointer-events: none;
}
.hero::before { width: 560px; height: 560px; right: -160px; top: -220px; background: rgba(255,255,255,.07); }
.hero::after  { width: 380px; height: 380px; left: -140px; bottom: -180px; background: rgba(255,255,255,.06); }

.hero-inner {
  position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr .85fr;
  gap: 48px; align-items: center; padding: 84px 24px 92px;
}
.hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.3);
  padding: 6px 16px; border-radius: 999px; font-size: 13.5px; font-weight: 600; letter-spacing: .06em;
}
.hero h1 { font-size: clamp(30px, 4.6vw, 48px); line-height: 1.28; margin: 20px 0 16px; letter-spacing: .01em; }
.hero h1 em { font-style: normal; color: #ffe9c4; }
.hero-desc { font-size: 17px; color: rgba(255,255,255,.88); max-width: 480px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 34px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 34px; }
.hero-trust li { display: flex; align-items: center; gap: 7px; font-size: 14.5px; color: rgba(255,255,255,.92); }
.hero-trust svg { width: 17px; height: 17px; color: #b9ecd6; }

/* Hero 视觉装饰（服务卡片） */
.hero-visual { position: relative; min-height: 320px; }
.hero-blob {
  position: absolute; inset: 8% 4% 8% 4%;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22);
  border-radius: 32px; backdrop-filter: blur(2px);
}
.hero-card {
  position: absolute; display: flex; align-items: center; gap: 13px;
  background: #fff; color: var(--ink); border-radius: 16px;
  padding: 15px 18px; box-shadow: var(--shadow-lg);
}
.hero-card .hc-icon {
  width: 44px; height: 44px; border-radius: 12px; flex: none;
  display: flex; align-items: center; justify-content: center; color: #fff;
}
.hc-icon.icon-study { background: linear-gradient(135deg, #46b08a, #1e7a5a); }
.hc-icon.icon-care  { background: linear-gradient(135deg, #f3b767, #e08b2f); }
.hc-icon.icon-shield { background: linear-gradient(135deg, #5ea0e0, #3b6fc0); }
.hero-card strong { display: block; font-size: 15.5px; }
.hero-card span { display: block; font-size: 12.5px; color: var(--ink-2); }
.hc-badge {
  margin-left: 6px; font-size: 11.5px; font-weight: 700; padding: 3px 10px;
  border-radius: 999px; background: var(--brand-light); color: var(--brand-dark); white-space: nowrap;
}
.hc-badge.hc-warm { background: var(--accent-soft); color: #b26a15; }
.hero-card-1 { left: 0; top: 6%; width: 86%; animation: floaty 5.5s ease-in-out infinite; }
.hero-card-2 { right: 0; top: 41%; width: 86%; animation: floaty 6.5s .8s ease-in-out infinite; }
.hero-card-3 {
  left: 6%; bottom: 2%; width: 88%; justify-content: space-around; gap: 8px;
  animation: floaty 7s .4s ease-in-out infinite;
}
.hero-card-3 b { font-size: 13px; display: flex; align-items: center; gap: 6px; color: var(--brand-dark); }
.hero-card-3 b svg { width: 15px; height: 15px; }
.hero-note {
  position: absolute; right: 2%; bottom: -4%; font-size: 11.5px; color: rgba(255,255,255,.66);
}
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* ==========================================================================
   业务卡片 / 流程 / 优势 / CTA
   ========================================================================== */
.service-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.service-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 32px; box-shadow: var(--shadow);
  display: flex; flex-direction: column; gap: 16px; position: relative; overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}
.service-card::after {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--brand), #6cc3a1);
}
.service-card.is-care::after { background: linear-gradient(90deg, var(--accent), #f7c98b); }
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.service-icon {
  width: 58px; height: 58px; border-radius: 16px; display: flex; align-items: center;
  justify-content: center; color: var(--brand-dark); background: var(--brand-light);
}
.service-icon.is-care { color: #b26a15; background: var(--accent-soft); }
.service-icon svg { width: 28px; height: 28px; }
.service-card h3 { font-size: 21px; }
.service-card > p { color: var(--ink-2); font-size: 15px; }
.service-points { display: grid; gap: 9px; margin: 2px 0 6px; }
.service-points li { display: flex; gap: 9px; font-size: 14.5px; color: var(--ink); }
.service-points svg { width: 17px; height: 17px; color: var(--brand); flex: none; margin-top: 4px; }
.service-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: auto; padding-top: 8px; }

/* 流程 */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.step {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 24px 26px; text-align: center; box-shadow: var(--shadow);
}
.step-num {
  width: 46px; height: 46px; margin: 0 auto 16px; border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark)); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 19px; font-weight: 800; box-shadow: 0 6px 16px rgba(47,158,119,.35);
}
.step h3 { font-size: 17px; margin-bottom: 8px; }
.step p { font-size: 13.5px; color: var(--ink-2); line-height: 1.65; }
.step::before {
  content: ""; position: absolute; top: 53px; right: -15px; width: 8px; height: 8px;
  border-top: 2px solid #bfe0d1; border-right: 2px solid #bfe0d1; transform: rotate(45deg);
}
.step:last-child::before { display: none; }

/* 优势 */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.feature {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 22px; transition: transform .2s, box-shadow .2s;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature .f-icon {
  width: 46px; height: 46px; border-radius: 13px; margin-bottom: 14px;
  display: flex; align-items: center; justify-content: center;
  color: var(--brand-dark); background: var(--brand-light);
}
.feature .f-icon svg { width: 23px; height: 23px; }
.feature h3 { font-size: 16.5px; margin-bottom: 6px; }
.feature p { font-size: 13.5px; color: var(--ink-2); }

/* 招募 CTA 横幅 */
.cta-band {
  background: linear-gradient(120deg, var(--brand-dark), var(--brand));
  border-radius: 22px; color: #fff; text-align: center;
  padding: 58px 32px; position: relative; overflow: hidden;
}
.cta-band::before {
  content: ""; position: absolute; width: 340px; height: 340px; border-radius: 50%;
  background: rgba(255,255,255,.08); right: -100px; top: -140px;
}
.cta-band::after {
  content: ""; position: absolute; width: 240px; height: 240px; border-radius: 50%;
  background: rgba(255,255,255,.06); left: -80px; bottom: -120px;
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { font-size: clamp(22px, 3vw, 30px); margin-bottom: 10px; }
.cta-band p { color: rgba(255,255,255,.85); margin-bottom: 28px; }
.cta-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 16px; }
.cta-tips { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 28px; margin-top: 26px; }
.cta-tips span { font-size: 13.5px; color: rgba(255,255,255,.85); display: inline-flex; align-items: center; gap: 6px; }
.cta-tips svg { width: 15px; height: 15px; color: #b9ecd6; }

/* ==========================================================================
   内页 Hero
   ========================================================================== */
.page-hero {
  background:
    radial-gradient(600px 300px at 85% -40%, rgba(240,162,75,.16), transparent 60%),
    linear-gradient(180deg, var(--brand-lighter), #fff);
  border-bottom: 1px solid var(--line); padding: 64px 0 58px;
}
.page-hero .kicker {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .12em;
  color: var(--brand-dark); background: var(--brand-light); padding: 4px 14px;
  border-radius: 999px; margin-bottom: 14px;
}
.page-hero h1 { font-size: clamp(26px, 3.6vw, 38px); line-height: 1.3; }
.page-hero .lead { color: var(--ink-2); margin-top: 12px; max-width: 640px; font-size: 16px; }
.breadcrumb { font-size: 13.5px; color: var(--ink-3); margin-bottom: 18px; }
.breadcrumb a { color: var(--ink-2); }
.breadcrumb a:hover { color: var(--brand-dark); }

/* 服务介绍页 */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
.info-block {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 28px; box-shadow: var(--shadow); margin-bottom: 24px;
}
.info-block h2 { font-size: 20px; display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.info-block h2::before {
  content: ""; width: 5px; height: 22px; border-radius: 3px; background: var(--brand);
}
.check-list { display: grid; gap: 11px; }
.check-list li { display: flex; gap: 10px; font-size: 15px; color: var(--ink-2); }
.check-list li b { color: var(--ink); font-weight: 600; }
.check-list svg { width: 18px; height: 18px; color: var(--brand); flex: none; margin-top: 4px; }

.faq { max-width: 760px; margin: 0 auto; display: grid; gap: 12px; }
.faq details {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 0 22px; transition: box-shadow .2s;
}
.faq details[open] { box-shadow: var(--shadow); }
.faq summary {
  cursor: pointer; list-style: none; padding: 17px 0; font-weight: 600; font-size: 15.5px;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; font-size: 20px; color: var(--brand); font-weight: 400; transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .faq-body { padding: 0 0 18px; color: var(--ink-2); font-size: 14.5px; }

/* ==========================================================================
   应聘表单页
   ========================================================================== */
.apply-layout {
  display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(280px, 1fr);
  gap: 30px; align-items: start; margin-top: -30px; position: relative; z-index: 2;
}
.form-card, .apply-aside { margin-top: 30px; }

.form-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 36px 34px;
}
.form-group-title {
  display: flex; align-items: center; gap: 12px;
  font-size: 18px; margin: 34px 0 20px; padding-bottom: 14px; border-bottom: 1px solid var(--line);
}
.form-group-title:first-child { margin-top: 0; }
.form-group-title .gt-num {
  width: 30px; height: 30px; border-radius: 50%; flex: none;
  background: var(--brand-light); color: var(--brand-dark); font-size: 14px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }

.form-field { display: flex; flex-direction: column; }
.form-field.full { grid-column: 1 / -1; }
.form-label { font-size: 14.5px; font-weight: 600; margin-bottom: 8px; color: var(--ink); }
.form-label em { color: var(--danger); font-style: normal; margin-left: 2px; }

.form-input, .form-select, .form-textarea {
  width: 100%; padding: 11px 14px; border-radius: var(--radius-sm);
  border: 1.5px solid var(--line); background: #fff; font-size: 15px;
  transition: border-color .15s, box-shadow .15s; outline: none;
}
.form-input:hover, .form-select:hover, .form-textarea:hover { border-color: #c8d2cc; }
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--brand); box-shadow: 0 0 0 3px rgba(47, 158, 119, .16);
}
.form-textarea { min-height: 116px; resize: vertical; line-height: 1.65; }
.form-select {
  appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 38px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235b6b79' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 13px center;
}

/* 单选 / 复选 */
.radio-row, .check-row { display: flex; flex-wrap: wrap; gap: 10px 22px; padding: 6px 2px; }
.radio-row label, .check-row label, .check-item {
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
  font-size: 15px; color: var(--ink); line-height: 1.4;
}
input[type="radio"], input[type="checkbox"] {
  width: 18px; height: 18px; flex: none; accent-color: var(--brand); cursor: pointer;
}
.check-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; padding: 4px 2px; }

/* 校验错误 */
.form-field.has-error .form-input,
.form-field.has-error .form-select,
.form-field.has-error .form-textarea { border-color: var(--danger); }
.field-error { display: none; color: var(--danger); font-size: 12.5px; margin-top: 6px; line-height: 1.5; }
.has-error > .field-error, .form-field .field-error.show, .upload-field .field-error.show { display: block; }
.form-input::placeholder, .form-textarea::placeholder { color: var(--ink-3); }

.field-tip { font-size: 12.5px; color: var(--ink-3); margin-top: 6px; }

/* ---------- 上传组件 ---------- */
.upload-field { margin-top: 4px; }
.upload-zone {
  border: 2px dashed #c4d4ca; border-radius: var(--radius-sm);
  background: var(--brand-lighter); padding: 26px 18px; text-align: center;
  cursor: pointer; transition: border-color .15s, background .15s, transform .15s;
}
.upload-zone:hover, .upload-zone:focus-visible, .upload-zone.is-drag {
  border-color: var(--brand); background: var(--brand-light); transform: scale(1.005);
}
.upload-zone .uz-icon {
  width: 48px; height: 48px; margin: 0 auto 10px; border-radius: 50%;
  background: #fff; color: var(--brand-dark); display: flex; align-items: center;
  justify-content: center; box-shadow: var(--shadow);
}
.upload-zone .uz-icon svg { width: 24px; height: 24px; }
.upload-zone .uz-title { font-size: 15px; font-weight: 600; }
.upload-zone .uz-title b { color: var(--brand-dark); }
.upload-zone .uz-hint { font-size: 12.5px; color: var(--ink-3); margin-top: 5px; }

.upload-list { margin-top: 12px; display: grid; gap: 10px; }
.upload-item {
  display: flex; align-items: center; gap: 13px;
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: #fff; padding: 11px 13px;
}
.upload-item.is-error { border-color: #f0c4c2; background: var(--danger-soft); }
.upload-thumb {
  width: 42px; height: 42px; border-radius: 9px; flex: none; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  font-size: 10.5px; font-weight: 800; color: #fff; letter-spacing: .02em;
}
.upload-thumb img { width: 100%; height: 100%; object-fit: cover; }
.ext-pdf  { background: #e05552; }
.ext-doc  { background: #4a7fd4; }
.ext-img  { background: #46a583; }
.upload-info { flex: 1; min-width: 0; }
.upload-name {
  font-size: 14px; font-weight: 600; line-height: 1.4;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.upload-meta { font-size: 12px; color: var(--ink-3); margin-top: 1px; }
.upload-progress {
  height: 6px; background: #e3ece6; border-radius: 3px; overflow: hidden; margin-top: 8px;
}
.upload-progress .bar {
  height: 100%; width: 0; border-radius: 3px;
  background: linear-gradient(90deg, var(--brand), #5cbf97); transition: width .18s ease;
}
.upload-status { font-size: 12.5px; margin-top: 5px; flex: none; }
.upload-status.st-uploading { color: var(--brand-dark); }
.upload-status.st-success { color: var(--success); font-weight: 700; }
.upload-status.st-error { color: var(--danger); font-weight: 600; }
.upload-status.st-pending { color: #b26a15; font-weight: 600; }
.upload-remove {
  width: 30px; height: 30px; flex: none; border-radius: 50%; border: 0; cursor: pointer;
  background: transparent; color: var(--ink-3); font-size: 19px; line-height: 1;
}
.upload-remove:hover { background: #fdecea; color: var(--danger); }
.upload-retry {
  border: 0; background: none; color: var(--brand-dark); cursor: pointer;
  font-size: 12.5px; text-decoration: underline; padding: 0 2px;
}

/* 隐私确认 */
.privacy-box {
  display: flex; gap: 11px; align-items: flex-start;
  background: var(--brand-lighter); border: 1px solid #d5e9dd;
  border-radius: var(--radius-sm); padding: 15px 16px; margin: 26px 0 20px;
}
.privacy-box input { margin-top: 4px; }
.privacy-box label { font-size: 14px; color: var(--ink-2); line-height: 1.7; }
.privacy-box a { color: var(--brand-dark); font-weight: 700; text-decoration: underline; }
.submit-area { display: grid; gap: 12px; }
.submit-area .agree-tip { text-align: center; font-size: 12.5px; color: var(--ink-3); }

/* 成功视图 */
.apply-success {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); text-align: center; padding: 60px 34px;
}
.success-icon {
  width: 84px; height: 84px; margin: 0 auto 22px; border-radius: 50%;
  background: var(--brand-light); color: var(--brand-dark);
  display: flex; align-items: center; justify-content: center;
  animation: pop .45s cubic-bezier(.2, 1.4, .5, 1) both;
}
.success-icon svg { width: 40px; height: 40px; }
@keyframes pop { from { transform: scale(.4); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.apply-success h2 { font-size: 26px; margin-bottom: 12px; }
.apply-success .app-id {
  display: inline-block; background: var(--brand-light); color: var(--brand-dark);
  font-weight: 800; letter-spacing: .04em; border-radius: 8px; padding: 4px 14px;
  margin: 4px 0 14px; font-size: 16px;
}
.apply-success p { color: var(--ink-2); max-width: 460px; margin: 0 auto; }
.success-tip {
  background: var(--accent-soft); border: 1px solid #f2ddb9; color: #8a5a17;
  border-radius: var(--radius-sm); font-size: 13px; padding: 10px 16px;
  max-width: 520px; margin: 20px auto 0; text-align: left; line-height: 1.7;
}
.success-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

/* 侧栏 */
.apply-aside { display: grid; gap: 22px; position: sticky; top: calc(var(--nav-h) + 24px); }
.aside-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 26px 24px;
}
.aside-card h3 { font-size: 16.5px; margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }
.aside-card h3 svg { width: 19px; height: 19px; color: var(--brand); }
.aside-points { display: grid; gap: 12px; }
.aside-points li { display: flex; gap: 10px; font-size: 14px; color: var(--ink-2); }
.aside-points svg { width: 17px; height: 17px; color: var(--brand); flex: none; margin-top: 3.5px; }
.aside-steps { counter-reset: as; display: grid; gap: 14px; }
.aside-steps li { display: flex; gap: 12px; font-size: 14px; color: var(--ink-2); }
.aside-steps li::before {
  counter-increment: as; content: counter(as);
  width: 24px; height: 24px; flex: none; border-radius: 50%;
  background: var(--brand-light); color: var(--brand-dark);
  font-size: 12.5px; font-weight: 800; display: flex; align-items: center; justify-content: center;
}
.aside-contact { text-align: center; }
.aside-contact .phone {
  font-size: 22px; font-weight: 800; color: var(--brand-dark); letter-spacing: .02em;
}
.aside-contact .phone:hover { text-decoration: underline; }

/* ==========================================================================
   联系页
   ========================================================================== */
.contact-layout { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.contact-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 28px 26px; display: flex; gap: 16px; align-items: flex-start;
}
.contact-card .c-icon {
  width: 48px; height: 48px; border-radius: 14px; flex: none;
  background: var(--brand-light); color: var(--brand-dark);
  display: flex; align-items: center; justify-content: center;
}
.contact-card .c-icon svg { width: 23px; height: 23px; }
.contact-card h3 { font-size: 16.5px; margin-bottom: 4px; }
.contact-card .c-value { font-size: 17px; font-weight: 700; color: var(--brand-dark); word-break: break-all; }
.contact-card p { font-size: 13.5px; color: var(--ink-2); }
.qr-box {
  text-align: center; margin-top: 4px;
}
.qr-box .qr-frame {
  width: 96px; height: 96px; margin: 0 auto 10px; border-radius: 12px;
  background: #fff; border: 1px solid var(--line); padding: 8px; color: var(--ink);
  box-shadow: var(--shadow);
}
.qr-svg { width: 100%; height: 100%; display: block; }
.qr-frame img { width: 100%; height: 100%; object-fit: contain; display: block; border-radius: 4px; }
.contact-card .c-value a { color: inherit; }
.qr-box p { font-size: 12.5px; color: var(--ink-2); }

/* ==========================================================================
   页脚
   ========================================================================== */
.site-footer { background: var(--brand-deep); color: rgba(255,255,255,.82); margin-top: 80px; }
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 0.8fr 1.1fr 1fr; gap: 40px; padding: 58px 0 46px;
}
.footer-brand .brand-mark { margin-bottom: 14px; }
.footer-brand p { font-size: 14px; line-height: 1.8; color: rgba(255,255,255,.66); }
.footer-col h4 {
  color: #fff; font-size: 15.5px; margin-bottom: 16px;
  display: flex; align-items: center; gap: 8px;
}
.footer-col h4::before { content: ""; width: 4px; height: 16px; border-radius: 2px; background: var(--accent); }
.footer-col a { display: block; font-size: 14px; color: rgba(255,255,255,.66); padding: 5px 0; }
.footer-col a:hover { color: #fff; }
.footer-col p { font-size: 14px; color: rgba(255,255,255,.66); line-height: 2.0; }
.footer-col p b { color: rgba(255,255,255,.9); font-weight: 600; }
.footer-services { display: grid; gap: 10px; }
.footer-services .fs-item { font-size: 13.5px; color: rgba(255,255,255,.66); line-height: 1.7; }
.footer-services .fs-item b { color: rgba(255,255,255,.9); display: block; font-size: 14px; }
.footer-qr { text-align: left; }
.footer-qr .qr-frame {
  width: 88px; height: 88px; border-radius: 10px; background: #fff;
  padding: 7px; color: var(--ink); margin-bottom: 10px;
}
.footer-qr p { font-size: 12.5px; color: rgba(255,255,255,.6); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 20px 0 24px; }
.footer-bottom .container { display: grid; gap: 6px; }
.footer-bottom p { font-size: 12.5px; color: rgba(255,255,255,.5); line-height: 1.8; }

/* ==========================================================================
   模态 / Toast
   ========================================================================== */
.modal {
  position: fixed; inset: 0; z-index: 200; display: flex;
  align-items: center; justify-content: center; padding: 24px;
  background: rgba(16, 34, 26, .55); backdrop-filter: blur(3px);
  animation: fadeIn .18s ease both;
}
.modal[hidden] { display: none; }
@keyframes fadeIn { from { opacity: 0; } }
.modal-card {
  background: #fff; border-radius: 18px; max-width: 640px; width: 100%;
  max-height: 84vh; overflow-y: auto; padding: 30px 30px 28px; position: relative;
  animation: rise .22s ease both;
}
@keyframes rise { from { transform: translateY(18px); opacity: 0; } }
.modal-close {
  position: absolute; top: 16px; right: 16px; width: 36px; height: 36px;
  border-radius: 50%; border: 0; background: var(--bg-soft); color: var(--ink-2);
  font-size: 17px; cursor: pointer;
}
.modal-close:hover { background: var(--danger-soft); color: var(--danger); }
.modal-card h3 { font-size: 20px; margin-bottom: 6px; padding-right: 30px; }
.modal-card .modal-sub { font-size: 13px; color: var(--ink-3); margin-bottom: 18px; }
.modal-body { font-size: 14.5px; color: var(--ink-2); }
.modal-body h4 { font-size: 15px; color: var(--ink); margin: 18px 0 6px; }
.modal-body p { line-height: 1.85; }

.toast-wrap { position: fixed; top: 18px; left: 50%; transform: translateX(-50%); z-index: 300; display: grid; gap: 10px; width: min(92vw, 420px); }
.toast {
  display: flex; align-items: center; gap: 10px; background: #fff;
  border-radius: 12px; box-shadow: var(--shadow-lg); padding: 13px 18px;
  font-size: 14.5px; border-left: 4px solid var(--brand);
  animation: toastIn .25s cubic-bezier(.2, 1.2, .4, 1) both;
}
.toast.is-error { border-left-color: var(--danger); }
.toast.is-error svg { color: var(--danger); }
.toast svg { width: 19px; height: 19px; color: var(--success); flex: none; }
.toast.out { animation: toastOut .25s ease both; }
@keyframes toastIn { from { transform: translateY(-14px); opacity: 0; } }
@keyframes toastOut { to { transform: translateY(-14px); opacity: 0; } }

/* ==========================================================================
   后台（admin 演示）
   ========================================================================== */
.admin-login-wrap { max-width: 420px; margin: 40px auto 60px; }
.admin-head { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.admin-head h1 { font-size: 24px; }
.admin-head .muted { font-size: 13.5px; }
.admin-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 26px; }
.stat-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px 22px; box-shadow: var(--shadow);
}
.stat-card .s-label { font-size: 13px; color: var(--ink-2); }
.stat-card .s-value { font-size: 28px; font-weight: 800; color: var(--brand-dark); margin-top: 4px; }
.stat-card .s-extra { font-size: 12px; color: var(--ink-3); margin-top: 2px; }

.table-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden;
}
.table-scroll { overflow-x: auto; }
.admin-table { width: 100%; border-collapse: collapse; min-width: 860px; }
.admin-table th {
  text-align: left; font-size: 13px; color: var(--ink-2); font-weight: 600;
  background: var(--bg-soft); padding: 13px 18px; white-space: nowrap;
  border-bottom: 1px solid var(--line);
}
.admin-table td { padding: 14px 18px; font-size: 14px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.admin-table tr:last-child td { border-bottom: 0; }
.admin-table tr:hover td { background: var(--brand-lighter); }
.tag {
  display: inline-block; font-size: 12px; font-weight: 700; border-radius: 999px; padding: 3px 11px;
}
.tag-companion { background: var(--brand-light); color: var(--brand-dark); }
.tag-caregiver  { background: var(--accent-soft); color: #b26a15; }
.tag-status { background: #eef2ef; color: var(--ink-2); }
.admin-empty { text-align: center; padding: 64px 20px; color: var(--ink-2); }
.admin-empty svg { width: 46px; height: 46px; color: #c3d2c9; margin-bottom: 12px; }

/* 详情模态 */
.detail-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px 26px; }
.detail-item { padding: 9px 0; border-bottom: 1px dashed var(--line); }
.detail-item dt { font-size: 12.5px; color: var(--ink-3); }
.detail-item dd { font-size: 14.5px; color: var(--ink); margin-top: 2px; word-break: break-all; }
.detail-item.full { grid-column: 1 / -1; }
.attach-list { display: grid; gap: 10px; margin-top: 10px; }
.attach-item {
  display: flex; align-items: center; gap: 12px; border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: 10px 13px; background: var(--brand-lighter);
}
.attach-item .a-name { flex: 1; min-width: 0; font-size: 13.5px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.attach-item .a-kind { font-size: 11.5px; color: var(--ink-3); display: block; font-weight: 400; }
.attach-item .btn { padding: 6px 13px; font-size: 12.5px; }
.attach-preview { max-width: 100%; border-radius: 8px; margin-top: 8px; border: 1px solid var(--line); }

/* ==========================================================================
   动画 / 工具
   ========================================================================== */
.fade-up { animation: fadeUp .6s ease both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } }
.text-center { text-align: center; }

/* ==========================================================================
   响应式
   ========================================================================== */
@media (max-width: 1024px) {
  .service-grid { gap: 20px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .step:nth-child(2)::before { display: none; }
  .apply-layout { grid-template-columns: 1fr; }
  .apply-aside { position: static; grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: flex; }
  .mobile-menu.is-open { display: block; }
  body.nav-locked { overflow: hidden; }
  .hero-inner { grid-template-columns: 1fr; padding: 56px 24px 64px; }
  .hero-visual { display: none; }
  .split { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .section { padding: 52px 0; }
  .service-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .step::before { display: none; }
  .form-grid { grid-template-columns: 1fr; }
  .form-card { padding: 26px 20px; }
  .apply-aside { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; padding: 44px 0 36px; }
  .check-cols { grid-template-columns: 1fr; }
  .hero-actions .btn { flex: 1 1 auto; }
  .cta-actions .btn { width: 100%; }
  .stat-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .detail-grid { grid-template-columns: 1fr; }
  .page-hero { padding: 46px 0 42px; }
  .upload-item { flex-wrap: wrap; }
  .upload-status { width: 100%; margin: 0; }
}
