:root {
  --ink: #17231d;
  --muted: #66736b;
  --cream: #f7f3e9;
  --paper: #fffdf8;
  --pine: #12352b;
  --pine-2: #1d5141;
  --moss: #6f8b57;
  --gold: #c9a45c;
  --gold-2: #e4c983;
  --clay: #b66b4f;
  --line: #e4ddcc;
  --shadow: 0 24px 70px rgba(18, 53, 43, .13);
  --radius: 26px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.65;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }
.shell { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 243, 233, .86);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(228, 221, 204, .75);
}
.nav { height: 74px; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 900; letter-spacing: .08em; }
.brand img { width: 42px; height: 42px; }
.brand span { display: grid; line-height: 1.05; font-size: 19px; }
.brand small { font-size: 9px; letter-spacing: .18em; color: var(--gold); font-weight: 800; }
.nav-links { display: flex; gap: 26px; margin-left: auto; font-size: 14px; font-weight: 700; color: #385047; }
.nav-links a { position: relative; padding: 8px 0; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 2px; height: 2px; background: var(--gold); transition: .25s; }
.nav-links a:hover::after { right: 0; }
.nav-cta, .btn {
  border: 0;
  border-radius: 999px;
  padding: 12px 22px;
  font-weight: 800;
  transition: transform .2s, box-shadow .2s, background .2s;
}
.nav-cta { background: var(--pine); color: white; box-shadow: 0 10px 25px rgba(18, 53, 43, .2); }
.nav-cta:hover, .btn:hover { transform: translateY(-2px); }

.hero { position: relative; overflow: hidden; background: radial-gradient(circle at 80% 20%, #286551 0, #173f34 42%, #102c25 100%); color: #fff; }
.hero-bg { position: absolute; inset: 0; opacity: .16; background-image: radial-gradient(circle at 1px 1px, #f3dd9e 1.2px, transparent 1.2px); background-size: 34px 34px; }
.hero-bg::after { content: ""; position: absolute; width: 560px; height: 560px; border: 1px solid rgba(228,201,131,.35); border-radius: 50%; right: -130px; top: -150px; box-shadow: 0 0 0 70px rgba(228,201,131,.045), 0 0 0 150px rgba(228,201,131,.03); }
.hero-inner { position: relative; min-height: 650px; display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 70px; padding: 76px 0; }
.eyebrow { margin: 0 0 14px; color: var(--gold); font-size: 12px; font-weight: 900; letter-spacing: .22em; text-transform: uppercase; }
.hero h1 { margin: 0; font-size: clamp(40px, 5.1vw, 68px); line-height: 1.12; letter-spacing: -.04em; font-weight: 950; }
.hero h1 span { color: var(--gold-2); }
.hero-desc { max-width: 610px; margin: 24px 0 0; color: rgba(255,255,255,.78); font-size: 17px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.btn { display: inline-flex; align-items: center; justify-content: center; }
.btn.primary { background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: #243329; box-shadow: 0 14px 35px rgba(201,164,92,.28); }
.btn.ghost { color: white; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.24); }
.hero-stats { display: flex; gap: 34px; margin-top: 48px; }
.hero-stats div { position: relative; }
.hero-stats div:not(:last-child)::after { content: ""; position: absolute; right: -18px; top: 7px; width: 1px; height: 34px; background: rgba(255,255,255,.2); }
.hero-stats b { display: block; font-size: 28px; color: var(--gold-2); line-height: 1; }
.hero-stats span { font-size: 12px; color: rgba(255,255,255,.62); }

.hero-card { position: relative; padding: 30px; border-radius: 34px; background: linear-gradient(155deg, rgba(255,255,255,.16), rgba(255,255,255,.06)); border: 1px solid rgba(255,255,255,.22); box-shadow: 0 38px 90px rgba(0,0,0,.25); backdrop-filter: blur(10px); }
.hero-turtle { display: grid; place-items: center; height: 245px; border-radius: 26px; background: radial-gradient(circle, rgba(228,201,131,.18), rgba(255,255,255,.03)); overflow: hidden; }
.hero-turtle img { width: 220px; filter: drop-shadow(0 24px 30px rgba(0,0,0,.28)); }
.score-ring { position: absolute; top: 48px; right: 46px; width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(from 120deg, #f3dd9e, #a9713c, #f3dd9e); box-shadow: 0 12px 30px rgba(0,0,0,.25); }
.score-ring::before { content: ""; position: absolute; inset: 5px; border-radius: 50%; background: #173f34; }
.score-ring span, .score-ring small { position: relative; grid-area: 1 / 1; text-align: center; }
.score-ring span { top: -7px; font-weight: 950; color: var(--gold-2); font-size: 21px; }
.score-ring small { top: 15px; font-size: 10px; color: rgba(255,255,255,.68); }
.hero-card h2 { margin: 25px 0 6px; font-size: 21px; }
.hero-card p { margin: 0; color: rgba(255,255,255,.72); font-size: 14px; }
.hero-card ul { list-style: none; margin: 23px 0 0; padding: 0; display: grid; gap: 12px; }
.hero-card li { display: flex; align-items: center; gap: 13px; padding: 12px; border-radius: 15px; background: rgba(255,255,255,.08); }
.hero-card li b { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: rgba(228,201,131,.18); color: var(--gold-2); }
.hero-card li span { font-size: 13px; color: rgba(255,255,255,.78); }

.section { padding: 92px 0; }
.section-heading { max-width: 720px; margin: 0 auto 38px; text-align: center; }
.section-heading h2 { margin: 0; font-size: clamp(30px, 3.4vw, 44px); line-height: 1.15; letter-spacing: -.03em; }
.section-heading p { margin: 12px 0 0; color: var(--muted); }
.section-heading.light p { color: rgba(255,255,255,.68); }

.toolbar { display: grid; grid-template-columns: minmax(240px, .8fr) 1.4fr minmax(260px, 1fr); gap: 14px; align-items: center; padding: 16px; border-radius: 22px; background: rgba(255,253,248,.75); border: 1px solid var(--line); box-shadow: 0 16px 45px rgba(18,53,43,.07); }
.search-box { display: flex; align-items: center; gap: 10px; padding: 0 14px; height: 46px; border-radius: 999px; background: #f4efe3; }
.search-box span { font-size: 13px; font-weight: 900; color: var(--pine-2); white-space: nowrap; }
.search-box input { min-width: 0; width: 100%; border: 0; outline: 0; background: transparent; color: var(--ink); }
.filter-group { display: flex; gap: 8px; flex-wrap: wrap; }
.filter-group button { border: 1px solid var(--line); background: rgba(255,255,255,.7); color: #42534b; border-radius: 999px; padding: 9px 13px; font-size: 13px; font-weight: 800; transition: .2s; }
.filter-group button:hover { border-color: var(--gold); }
.filter-group button.active { background: var(--pine); color: white; border-color: var(--pine); box-shadow: 0 8px 20px rgba(18,53,43,.16); }
.grade-filters { justify-content: flex-end; }
.result-count { margin: 22px 4px 16px; color: var(--muted); font-size: 13px; font-weight: 700; }

.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.turtle-card { position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); box-shadow: 0 16px 45px rgba(18,53,43,.08); transition: transform .25s, box-shadow .25s; text-align: left; padding: 0; color: inherit; }
.turtle-card:hover { transform: translateY(-7px); box-shadow: var(--shadow); }
.card-image { position: relative; height: 238px; overflow: hidden; background: #e7dfd0; }
.card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s; }
.turtle-card:hover .card-image img { transform: scale(1.055); }
.grade-badge { position: absolute; left: 14px; top: 14px; z-index: 2; min-width: 42px; height: 42px; padding: 0 11px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; font-weight: 950; color: #2d2415; background: linear-gradient(135deg, #f6e4ad, #c9a45c); box-shadow: 0 10px 25px rgba(0,0,0,.18); }
.grade-badge.A { background: linear-gradient(135deg, #d9f0dc, #8abf91); color: #173d24; }
.grade-badge.B { background: linear-gradient(135deg, #e5e1d5, #b9b09b); color: #35382f; }
.status { position: absolute; right: 14px; top: 14px; z-index: 2; border-radius: 999px; padding: 7px 11px; background: rgba(18,53,43,.82); color: white; font-size: 12px; font-weight: 800; backdrop-filter: blur(8px); }
.card-body { padding: 21px 21px 20px; }
.card-topline { display: flex; justify-content: space-between; gap: 10px; color: var(--muted); font-size: 12px; font-weight: 800; letter-spacing: .08em; }
.card-body h3 { margin: 8px 0 8px; font-size: 20px; line-height: 1.35; }
.card-desc { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 52px; margin: 0; color: var(--muted); font-size: 14px; }
.tag-row { display: flex; flex-wrap: wrap; gap: 7px; margin: 16px 0 18px; }
.tag-row span { padding: 5px 9px; border-radius: 999px; background: #f3eee2; color: #52635a; font-size: 12px; font-weight: 700; }
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line); }
.price { font-weight: 950; color: var(--clay); }
.detail-link { color: var(--pine-2); font-size: 13px; font-weight: 900; }
.empty-state { display: none; margin-top: 30px; padding: 50px 20px; text-align: center; background: var(--paper); border: 1px dashed #c9bda7; border-radius: var(--radius); }

.standard { background: linear-gradient(150deg, #102c25, #173f34 55%, #12352b); color: white; }
.standard-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.standard-card { padding: 30px; border-radius: 28px; min-height: 245px; background: rgba(255,255,255,.075); border: 1px solid rgba(255,255,255,.12); }
.standard-card span { display: inline-grid; place-items: center; width: 62px; height: 62px; border-radius: 20px; margin-bottom: 22px; background: linear-gradient(135deg, #f6e4ad, #c9a45c); color: #253328; font-size: 23px; font-weight: 950; }
.standard-card.a-grade span { background: linear-gradient(135deg, #d9f0dc, #8abf91); }
.standard-card.b-grade span { background: linear-gradient(135deg, #eeeeea, #b9b09b); }
.standard-card h3 { margin: 0 0 10px; font-size: 22px; }
.standard-card p { margin: 0; color: rgba(255,255,255,.7); font-size: 14px; }
.dimension-strip { margin-top: 22px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; overflow: hidden; border-radius: 22px; background: rgba(255,255,255,.14); }
.dimension-strip div { padding: 22px; background: rgba(16,44,37,.94); }
.dimension-strip b { display: block; color: var(--gold-2); margin-bottom: 5px; }
.dimension-strip span { color: rgba(255,255,255,.62); font-size: 13px; }

.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.service-grid article { padding: 26px; border-radius: 26px; background: var(--paper); border: 1px solid var(--line); box-shadow: 0 12px 35px rgba(18,53,43,.06); }
.service-grid span { color: transparent; -webkit-text-stroke: 1.3px var(--gold); font-size: 34px; font-weight: 950; }
.service-grid h3 { margin: 13px 0 8px; }
.service-grid p { margin: 0; color: var(--muted); font-size: 14px; }

.footer { background: #0f2923; color: white; padding: 62px 0 22px; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer h2 { margin: 0 0 10px; font-size: clamp(28px, 3vw, 40px); }
.footer p { margin: 0; color: rgba(255,255,255,.68); }
.contact-card { display: flex; align-items: center; gap: 20px; padding: 20px 24px; border-radius: 25px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.13); }
.contact-card img { width: 112px; height: 112px; border-radius: 16px; background: white; padding: 7px; }
.label { color: var(--gold-2) !important; font-size: 12px !important; font-weight: 900; letter-spacing: .16em; }
.wechat-id { margin: 5px 0 7px; padding: 0; border: 0; background: transparent; color: white; font-size: 25px; font-weight: 950; letter-spacing: .08em; }
.tip { font-size: 12px !important; color: rgba(255,255,255,.48) !important; }
.copyright { text-align: center; padding-top: 22px; font-size: 12px; color: rgba(255,255,255,.38); }

.detail-modal { width: min(980px, calc(100% - 30px)); padding: 0; border: 0; background: transparent; }
.detail-modal::backdrop { background: rgba(8,22,18,.72); backdrop-filter: blur(8px); }
.modal-card { position: relative; overflow: hidden; border-radius: 30px; background: var(--paper); box-shadow: 0 40px 120px rgba(0,0,0,.4); display: grid; grid-template-columns: 1.02fr .98fr; }
.modal-close { position: absolute; z-index: 5; right: 16px; top: 16px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgba(255,255,255,.9); color: var(--pine); font-size: 24px; line-height: 1; box-shadow: 0 8px 20px rgba(0,0,0,.18); }
.modal-image { min-height: 460px; background: #e5dccb; }
.modal-image img { width: 100%; height: 100%; object-fit: cover; }
.modal-content { padding: 36px; }
.modal-kicker { display: flex; gap: 10px; align-items: center; color: var(--muted); font-size: 12px; font-weight: 900; letter-spacing: .12em; }
.modal-content h3 { margin: 14px 0 8px; font-size: clamp(26px, 3vw, 36px); line-height: 1.18; letter-spacing: -.02em; }
.modal-desc { color: var(--muted); margin: 0 0 20px; }
.modal-meta { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 20px 0; }
.modal-meta div { padding: 13px; border-radius: 15px; background: #f4efe3; }
.modal-meta span { display: block; color: var(--muted); font-size: 12px; }
.modal-meta b { font-size: 14px; }
.highlight-list { margin: 20px 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.highlight-list li { position: relative; padding-left: 27px; font-size: 14px; color: #33453d; }
.highlight-list li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 19px; height: 19px; display: grid; place-items: center; border-radius: 50%; background: #e3edd7; color: #526f38; font-size: 12px; font-weight: 900; }
.modal-contact { margin-top: 24px; padding: 18px; border-radius: 19px; background: #173f34; color: white; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.modal-contact p { margin: 0; color: rgba(255,255,255,.68); font-size: 13px; }
.modal-contact b { display: block; color: var(--gold-2); font-size: 18px; }
.modal-contact button { border: 0; border-radius: 999px; padding: 10px 16px; background: var(--gold-2); color: #21342b; font-weight: 900; white-space: nowrap; }

.toast { position: fixed; left: 50%; bottom: 28px; z-index: 100; transform: translate(-50%, 24px); opacity: 0; pointer-events: none; padding: 12px 18px; border-radius: 999px; background: #102c25; color: white; font-size: 14px; font-weight: 800; box-shadow: 0 18px 45px rgba(0,0,0,.25); transition: .25s; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 1020px) {
  .hero-inner { grid-template-columns: 1fr; gap: 42px; }
  .hero-card { max-width: 560px; }
  .toolbar { grid-template-columns: 1fr; }
  .grade-filters { justify-content: flex-start; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .standard-grid { grid-template-columns: 1fr; }
  .dimension-strip, .service-grid { grid-template-columns: repeat(2, 1fr); }
  .modal-card { grid-template-columns: 1fr; }
  .modal-image { min-height: 320px; }
}

@media (max-width: 680px) {
  .shell { width: min(100% - 28px, 1180px); }
  .nav { height: 64px; gap: 12px; }
  .nav-links { display: none; }
  .nav-cta { margin-left: auto; padding: 10px 15px; }
  .brand span { font-size: 16px; }
  .hero-inner { padding: 58px 0; min-height: auto; }
  .hero-stats { gap: 24px; flex-wrap: wrap; }
  .hero-stats div:not(:last-child)::after { display: none; }
  .card-grid, .dimension-strip, .service-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .contact-card { width: 100%; }
  .modal-content { padding: 26px 20px; }
  .modal-meta { grid-template-columns: 1fr; }
  .modal-contact { align-items: flex-start; flex-direction: column; }
  .section { padding: 68px 0; }
}

@media print {
  .site-header, .toolbar, .hero-actions, .footer, .toast, .detail-modal, .card-foot .detail-link { display: none !important; }
  body { background: white; }
  .hero { min-height: auto; }
  .hero-inner, .section { padding: 24px 0; }
  .turtle-card { break-inside: avoid; box-shadow: none; }
}

/* ===== 详情弹窗：综合图 / 背甲 / 底板 切换 ===== */
.modal-gallery { display: flex; flex-direction: column; height: 100%; min-height: 460px; background: #e5dccb; }
.modal-gallery .modal-image { flex: 1; min-height: 0; }
.gallery-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: #d7ccb4; }
.gallery-tabs button { border: 0; padding: 14px 10px; background: #fffdf8; color: #52635a; font-size: 14px; font-weight: 900; cursor: pointer; transition: background .2s, color .2s; }
.gallery-tabs button:hover { background: #f4efe3; }
.gallery-tabs button.active { background: #173f34; color: #f1d98f; }
@media (max-width: 1020px) {
  .modal-gallery { min-height: 0; }
  .modal-gallery .modal-image { min-height: 320px; }
}

/* 首屏推荐位实拍图 */
.hero-turtle img { width: 100%; height: 100%; object-fit: cover; border-radius: 26px; filter: none; }


/* 微信号尚未设置时的按钮状态 */
.wechat-id:disabled,
#modalCopy:disabled { cursor: not-allowed; opacity: .72; }
