/*
Theme Name: 谦裕翡翠
Theme URI: https://qianyufeicui.com
Author: 谦裕翡翠
Description: 谦裕翡翠专属轻量主题，面向品牌展示、翡翠知识与到店预约。
Version: 1.4.0
Text Domain: qianyu-jade
*/

:root {
  --jade-950: #0b3026;
  --jade-900: #124638;
  --jade-700: #1f6f5c;
  --jade-500: #3d9279;
  --wine-800: #642b35;
  --wine-600: #843f4b;
  --gold-500: #bd965a;
  --gold-300: #ddc49b;
  --paper: #f8f3ea;
  --paper-2: #eee5d7;
  --ink: #2d231c;
  --muted: #706258;
  --white: #fffdf8;
  --line: rgba(45, 35, 28, .14);
  --shadow: 0 24px 70px rgba(11, 48, 38, .14);
  --radius: 24px;
  --wrap: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font: 16px/1.8 "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.nav-open { overflow: hidden; }
img { display: block; width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
h1, h2, h3, blockquote, .brand-cn {
  font-family: "Songti SC", "STSong", "Noto Serif SC", serif;
}
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.25; }

.site-wrap { width: min(calc(100% - 40px), var(--wrap)); margin-inline: auto; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 999; background: #fff; padding: 10px 16px; }
.skip-link:focus { top: 16px; }
.eyebrow { color: var(--gold-500); font-size: 12px; font-weight: 700; letter-spacing: .28em; text-transform: uppercase; }
.section { padding: 100px 0; }
.section-compact { padding: 72px 0; }
.section-dark { color: #f7f0e5; background: var(--jade-950); }
.section-white { background: var(--white); }
.section-head { max-width: 760px; margin-bottom: 46px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { margin: 10px 0 16px; color: var(--jade-950); font-size: clamp(32px, 5vw, 56px); font-weight: 600; }
.section-dark .section-head h2 { color: #fff; }
.section-head p { color: var(--muted); font-size: 18px; }
.section-dark .section-head p { color: #d8cfc1; }
.rule { width: 64px; height: 2px; margin-top: 22px; background: var(--gold-500); }
.center .rule { margin-inline: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  background: rgba(11, 48, 38, .94);
  backdrop-filter: blur(16px);
}
.header-inner { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.site-brand { display: inline-flex; align-items: center; gap: 13px; color: #fff; }
.brand-seal { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--gold-300); color: var(--gold-300); font-family: "Songti SC", serif; }
.brand-cn { font-size: 21px; font-weight: 700; letter-spacing: .18em; }
.brand-en { display: block; color: var(--gold-300); font-size: 9px; letter-spacing: .28em; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a { color: #eee7dc; font-size: 14px; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--gold-300); }
.site-nav .nav-cta { padding: 9px 18px; border: 1px solid var(--gold-300); color: var(--gold-300); }
.nav-toggle { display: none; border: 0; background: transparent; color: #fff; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 1px; margin: 6px 0; background: currentColor; }

.hero { position: relative; min-height: min(780px, 86vh); display: grid; align-items: end; overflow: hidden; color: #fff; background: var(--jade-950); }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7, 35, 27, .93) 0%, rgba(7, 35, 27, .7) 46%, rgba(7, 35, 27, .18) 100%), var(--hero-image) center/cover no-repeat; }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 180px; background: linear-gradient(transparent, rgba(5, 28, 22, .64)); }
.hero-inner { position: relative; z-index: 2; padding: 150px 0 100px; }
.hero-copy { max-width: 760px; }
.hero h1 { margin: 14px 0 24px; color: #fff; font-size: clamp(48px, 7vw, 88px); font-weight: 500; letter-spacing: .08em; }
.hero h1 small { display: block; margin-top: 18px; color: var(--gold-300); font: 700 14px/1.6 system-ui, sans-serif; letter-spacing: .18em; }
.hero p { max-width: 620px; color: #e8dfd2; font-size: clamp(17px, 2vw, 21px); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.page-hero { min-height: 500px; }
.page-hero .hero-inner { padding-block: 130px 80px; }

.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 11px 24px; border: 1px solid transparent; font-weight: 700; letter-spacing: .08em; transition: .2s ease; }
.button-primary { color: #fff; background: var(--wine-800); }
.button-primary:hover { transform: translateY(-2px); background: var(--wine-600); }
.button-outline { border-color: var(--gold-300); color: var(--gold-300); background: transparent; }
.button-outline:hover { color: var(--jade-950); background: var(--gold-300); }
.button-light { color: var(--jade-950); background: var(--paper); }

.trust-bar { position: relative; z-index: 4; margin-top: -1px; background: var(--jade-950); }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(255,255,255,.14); }
.trust-item { padding: 30px; color: #ddd2c2; border-right: 1px solid rgba(255,255,255,.14); }
.trust-item:last-child { border-right: 0; }
.trust-item strong { display: block; margin-bottom: 5px; color: var(--gold-300); font-family: "Songti SC", serif; font-size: 21px; }

.appointment-path { padding: 54px 0; background: var(--white); border-bottom: 1px solid var(--line); }
.appointment-path-head { max-width: 760px; margin-bottom: 30px; }
.appointment-path-head h2 { margin: 8px 0 10px; color: var(--jade-950); font-size: clamp(30px, 4vw, 44px); font-weight: 500; }
.appointment-path-head p { margin-bottom: 0; color: var(--muted); font-size: 17px; }
.appointment-path-grid { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); }
.appointment-path-step { padding: 26px 28px; border-right: 1px solid var(--line); }
.appointment-path-step:last-child { border-right: 0; }
.appointment-path-step span { color: var(--gold-500); font-size: 12px; font-weight: 700; letter-spacing: .18em; }
.appointment-path-step h3 { margin: 10px 0 8px; color: var(--jade-950); font-size: 22px; }
.appointment-path-step p { margin-bottom: 0; color: var(--muted); }

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { overflow: hidden; border: 1px solid var(--line); background: var(--white); box-shadow: 0 10px 35px rgba(38, 28, 20, .06); }
.card-media { aspect-ratio: 4/3; overflow: hidden; background: var(--paper-2); }
.card-media img { height: 100%; object-fit: cover; transition: transform .45s ease; }
.card:hover .card-media img { transform: scale(1.035); }
.card-body { padding: 28px; }
.card h3 { margin-bottom: 10px; color: var(--jade-950); font-size: 25px; font-weight: 600; }
.card p { color: var(--muted); }
.text-link { color: var(--wine-800); font-weight: 700; }
.text-link::after { content: " →"; }

.split { display: grid; grid-template-columns: .92fr 1.08fr; gap: clamp(40px, 7vw, 90px); align-items: center; }
.split-media { min-height: 560px; position: relative; overflow: hidden; box-shadow: var(--shadow); }
.split-media img { position: absolute; inset: 0; height: 100%; object-fit: cover; }
.split-copy h2 { color: var(--jade-950); font-size: clamp(36px, 5vw, 60px); font-weight: 500; }
.split-copy p { color: var(--muted); font-size: 17px; }
blockquote { margin: 30px 0; padding: 22px 0 22px 28px; border-left: 2px solid var(--gold-500); color: var(--wine-800); font-size: 25px; line-height: 1.65; }

.feature-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.feature { padding: 34px; background: var(--white); }
.feature-num { display: block; margin-bottom: 20px; color: var(--gold-500); font: 700 12px/1 system-ui; letter-spacing: .18em; }
.feature h3 { color: var(--jade-950); font-size: 24px; }
.service-boundary { padding: 34px; border: 1px solid var(--gold-300); background: #fffaf0; }
.service-boundary h3 { margin-bottom: 12px; color: var(--jade-950); font-size: 28px; }
.service-boundary p:last-child { margin-bottom: 0; }

.tier { position: relative; padding: 40px 32px; border: 1px solid var(--line); background: var(--white); }
.tier.featured { transform: translateY(-12px); border-color: var(--jade-700); box-shadow: var(--shadow); }
.tier-label { color: var(--gold-500); font-size: 12px; font-weight: 700; letter-spacing: .2em; }
.tier-price { margin: 14px 0 0; color: var(--wine-800); font: 500 44px/1.2 "Songti SC", serif; }
.tier-price small { color: var(--muted); font: 14px/1.2 system-ui; }
.tier h3 { margin: 14px 0 22px; color: var(--jade-950); font-size: 29px; }
.tier ul { padding: 0; margin: 0 0 30px; list-style: none; }
.tier li { padding: 9px 0; border-bottom: 1px solid var(--line); color: var(--muted); }
.tier li::before { content: "◆"; margin-right: 10px; color: var(--gold-500); font-size: 9px; }

.article-list { border-top: 1px solid var(--line); }
.article-item { display: grid; grid-template-columns: 110px 1fr auto; gap: 28px; align-items: center; padding: 28px 0; border-bottom: 1px solid var(--line); }
.article-cat { color: var(--jade-700); font-size: 12px; font-weight: 700; letter-spacing: .16em; }
.article-item h3 { margin: 0 0 6px; color: var(--jade-950); font-size: 22px; }
.article-item p { margin: 0; color: var(--muted); }
.article-arrow { color: var(--wine-800); font-size: 24px; }

.faq { max-width: 860px; margin-inline: auto; border-top: 1px solid var(--line); }
.faq details { padding: 22px 0; border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; color: var(--jade-950); font-weight: 700; }
.faq p { margin: 12px 0 0; color: var(--muted); }

.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px; }
.contact-panel { padding: 40px; color: #eee4d6; background: var(--jade-950); }
.contact-panel h2 { color: #fff; font-size: 38px; }
.contact-panel dl { margin: 34px 0 0; }
.contact-panel dt { margin-top: 18px; color: var(--gold-300); font-size: 12px; font-weight: 700; letter-spacing: .18em; }
.contact-panel dd { margin: 4px 0 0; }
.contact-panel a { color: var(--gold-300); font-weight: 700; }
.region-proof { align-self: stretch; padding: 36px; border: 1px solid var(--line); background: var(--paper-2); }
.region-proof h3 { margin-top: 0; color: var(--jade-950); font-size: 28px; }
.region-proof li { margin: 12px 0; color: var(--muted); }
.number-list { padding: 0; margin: 30px 0 0; list-style: none; counter-reset: qy-number; }
.number-list li { position: relative; padding: 0 0 24px 58px; counter-increment: qy-number; }
.number-list li::before { content: counter(qy-number, decimal-leading-zero); position: absolute; left: 0; top: 0; color: var(--gold-500); font-weight: 700; letter-spacing: .12em; }
.number-list strong, .number-list span { display: block; }
.number-list strong { color: var(--jade-950); font-size: 18px; }
.number-list span { margin-top: 5px; color: var(--muted); }
.appointment-form { padding: 40px; border: 1px solid var(--line); background: var(--white); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field-full { grid-column: 1 / -1; }
.appointment-form label { display: block; margin-bottom: 7px; color: var(--jade-950); font-size: 14px; font-weight: 700; }
.appointment-form input, .appointment-form textarea, .appointment-form select { width: 100%; border: 1px solid #cfc2b1; border-radius: 0; padding: 12px 14px; color: var(--ink); background: #fff; }
.appointment-form input:focus, .appointment-form textarea:focus, .appointment-form select:focus { outline: 2px solid rgba(31,111,92,.22); border-color: var(--jade-700); }
.consent { display: flex; gap: 10px; align-items: flex-start; color: var(--muted); font-size: 13px; }
.consent input { width: auto; margin-top: 6px; }
.form-notice { padding: 12px 16px; margin-bottom: 20px; border-left: 3px solid var(--jade-700); background: #e8f1ed; }
.form-intro { margin-bottom: 24px; color: var(--muted); }
.success-card { padding: clamp(28px, 5vw, 54px); border: 1px solid var(--gold-300); background: #fffaf0; }
.success-card h2 { margin: 8px 0 16px; color: var(--jade-950); font-size: clamp(30px, 4vw, 44px); }
.success-card ol { margin: 24px 0; padding-left: 22px; color: var(--jade-950); }
.success-card li { margin: 9px 0; }
.account-line { margin: 14px 0; padding: 14px 16px; border: 1px solid var(--line); background: var(--white); }
.copy-account { margin-left: 8px; padding: 4px 9px; border: 1px solid var(--gold-500); color: var(--jade-950); background: transparent; cursor: pointer; font-size: 12px; }
.contact-panel .account-line { border-color: rgba(255,255,255,.18); color: #eee4d6; background: rgba(255,255,255,.04); }
.contact-panel .copy-account { border-color: var(--gold-300); color: var(--gold-300); }
.form-microcopy { margin: 12px 0 0; color: var(--muted); font-size: 13px; }
.mobile-sticky-cta { display: none; }
.hp-field { position: absolute !important; left: -9999px !important; }

.cta-band { padding: 62px 0; color: #fff; background: var(--wine-800); }
.cta-inner { display: flex; justify-content: space-between; gap: 32px; align-items: center; }
.cta-inner h2 { margin: 0; color: #fff; font-size: clamp(30px, 4vw, 46px); }
.cta-inner p { margin: 8px 0 0; color: #eddde0; }

.site-footer { padding: 70px 0 28px; color: #d6ccbf; background: #08261f; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 50px; }
.footer-title { color: #fff; font: 600 25px/1.4 "Songti SC", serif; letter-spacing: .14em; }
.footer-copy { max-width: 390px; color: #aebcb4; }
.footer-col h3 { color: var(--gold-300); font: 700 12px/1.2 system-ui; letter-spacing: .22em; }
.footer-links { padding: 0; list-style: none; }
.footer-links li { margin: 8px 0; }
.footer-links a:hover { color: var(--gold-300); }
.footer-bottom { margin-top: 50px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); color: #83968c; font-size: 12px; }

.content-shell { max-width: 820px; margin: 0 auto; padding: 90px 0; }
.content-shell h1 { color: var(--jade-950); font-size: 48px; }
.content-shell h2 { margin-top: 46px; color: var(--jade-950); }

.article-hero { padding: 150px 0 80px; color: #fff; background: var(--jade-950); }
.article-hero-inner { max-width: 900px; }
.article-hero h1 { max-width: 900px; margin: 16px 0 22px; color: #fff; font-size: clamp(42px, 6vw, 72px); font-weight: 500; line-height: 1.2; }
.article-lead { max-width: 760px; color: #d8e0dc; font-size: 19px; }
.article-meta { margin-top: 26px; color: var(--gold-300); font-size: 13px; }
.article-layout { display: grid; grid-template-columns: minmax(0, 760px) minmax(260px, 340px); gap: clamp(44px, 7vw, 90px); align-items: start; padding-top: 80px; padding-bottom: 100px; }
.article-content { color: #27332f; font-size: 18px; line-height: 1.9; }
.article-content h2 { margin: 52px 0 18px; color: var(--jade-950); font-size: 34px; line-height: 1.35; }
.article-content h3 { margin: 34px 0 12px; color: var(--jade-950); font-size: 24px; }
.article-content li { margin: 9px 0; }
.article-content blockquote { margin: 32px 0; padding: 22px 28px; border-left: 3px solid var(--gold-500); color: var(--jade-950); background: var(--paper-2); }
.article-content .answer-box { padding: 24px 28px; border: 1px solid var(--gold-300); color: var(--jade-950); background: #fffaf0; }
.article-content .source-list { padding: 22px 28px; background: var(--paper-2); font-size: 15px; }
.article-disclaimer { margin-top: 54px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.article-disclaimer p { margin-bottom: 0; }
.article-side { position: sticky; top: 110px; display: grid; gap: 18px; }
.article-side-card { padding: 28px; border: 1px solid var(--line); background: #fff; }
.article-side-card h2, .article-side-card h3 { margin: 10px 0 14px; color: var(--jade-950); }
.article-side-card .text-link { display: block; margin: 12px 0; }

.catalog-empty { grid-column: 1 / -1; padding: 30px; border: 1px dashed var(--gold-500); color: var(--muted); background: rgba(255,253,248,.7); }
.catalog-empty strong { color: var(--jade-950); font: 600 24px/1.4 "Songti SC", serif; }
.catalog-empty p { margin: 8px 0 0; }
.catalog-card .eyebrow { display: block; margin-bottom: 10px; }
.product-detail { padding-top: 90px; }
.product-layout { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(360px, .88fr); gap: clamp(36px, 7vw, 90px); align-items: start; }
.product-gallery > img { aspect-ratio: 1; object-fit: cover; background: var(--paper-2); box-shadow: var(--shadow); }
.product-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 10px; }
.product-thumbs img { aspect-ratio: 1; object-fit: cover; }
.product-copy { position: sticky; top: 110px; }
.product-copy h1 { margin: 14px 0 20px; color: var(--jade-950); font-size: clamp(38px, 5vw, 60px); font-weight: 500; }
.product-summary { color: var(--muted); font-size: 18px; }
.product-price { margin: 24px 0; color: var(--wine-800); font: 500 30px/1.3 "Songti SC", serif; }
.product-facts { margin: 0 0 28px; border-top: 1px solid var(--line); }
.product-facts div { display: grid; grid-template-columns: 110px 1fr; gap: 18px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.product-facts dt { color: var(--muted); }
.product-facts dd { margin: 0; color: var(--jade-950); }
.product-description { margin: 24px 0; color: var(--muted); }
.product-note { margin-top: 20px; color: var(--muted); font-size: 12px; }

@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .site-nav { position: fixed; inset: 74px 0 auto; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 20px; background: var(--jade-950); border-top: 1px solid rgba(255,255,255,.12); }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 13px 4px; border-bottom: 1px solid rgba(255,255,255,.1); }
  .site-nav .nav-cta { margin-top: 10px; text-align: center; }
  .grid-4, .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split, .contact-grid, .product-layout, .article-layout { grid-template-columns: 1fr; }
  .product-copy { position: static; }
  .article-side { position: static; }
  .split-media { min-height: 460px; }
  .feature-list { grid-template-columns: 1fr; }
  .appointment-path-grid { grid-template-columns: 1fr; }
  .appointment-path-step { border-right: 0; border-bottom: 1px solid var(--line); }
  .appointment-path-step:last-child { border-bottom: 0; }
  .tier.featured { transform: none; }
}

@media (max-width: 640px) {
  .site-wrap { width: min(calc(100% - 40px), var(--wrap)); }
  .section { padding: 72px 0; }
  .hero { min-height: 720px; }
  .hero::before { background: linear-gradient(180deg, rgba(7,35,27,.5), rgba(7,35,27,.96) 72%), var(--hero-image) 62% center/cover no-repeat; }
  .hero-inner { padding: 120px 0 70px; }
  .hero-copy, .article-hero-inner, .article-content { min-width: 0; max-width: 100%; }
  .hero h1, .article-hero h1, .hero p, .article-lead, .article-meta, .article-content { overflow-wrap: anywhere; word-break: break-all; }
  .hero h1 { font-size: clamp(38px, 11.3vw, 44px); letter-spacing: .03em; }
  .article-hero { padding: 120px 0 64px; }
  .article-hero h1 { font-size: clamp(34px, 9.5vw, 40px); }
  .article-lead { font-size: 17px; }
  .trust-grid, .grid-4, .grid-3, .grid-2, .footer-grid, .form-grid { grid-template-columns: 1fr; }
  .trust-item { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.14); }
  .trust-item:last-child { border-bottom: 0; }
  .article-item { grid-template-columns: 1fr; gap: 8px; }
  .article-arrow { display: none; }
  .field-full { grid-column: auto; }
  .appointment-form, .contact-panel, .card-body { padding: 26px; }
  .mobile-sticky-cta { position: fixed; z-index: 90; right: 14px; bottom: 14px; left: 14px; display: flex; min-height: 50px; align-items: center; justify-content: center; color: #fff; background: var(--wine-800); box-shadow: 0 12px 34px rgba(36,14,18,.3); font-weight: 700; letter-spacing: .08em; }
  body { padding-bottom: 72px; }
  .cta-inner { display: block; }
  .cta-inner .button { margin-top: 24px; }
}

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