:root {
  --ink: #102226;
  --ink-2: #17383c;
  --muted: #66706f;
  --paper: #f8f4eb;
  --paper-2: #fffaf0;
  --gold: #b8934f;
  --gold-2: #d0b06d;
  --line: rgba(16, 34, 38, 0.12);
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(16, 34, 38, 0.13);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", Arial, sans-serif;
}
body.nav-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }

.site-header {
  position: absolute;
  z-index: 10;
  inset: 0 0 auto;
  color: var(--ink);
  background: rgba(248, 244, 235, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  max-width: 1200px;
  margin: 0 auto;
  padding: 28px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.logo { display: flex; align-items: center; gap: 12px; font-weight: 700; line-height: 1.2; }
.logo-icon { display: block; width: 44px; height: 44px; object-fit: contain; flex: 0 0 auto; }
.logo-icon-red { display: block; }
.logo-icon-white { display: none; }
.logo > span { max-width: 290px; font-size: 14px; }
.logo small { display: block; margin-top: 4px; font-size: 10px; font-weight: 500; letter-spacing: 0.12em; opacity: 0.68; }
.nav-links { display: flex; align-items: center; gap: 28px; color: rgba(16, 34, 38, 0.72); font-size: 14px; white-space: nowrap; }
.nav-links a { padding: 8px 0; }
.nav-links a:hover, .nav-links a:focus-visible { color: #a8161b; }
.menu-toggle { display: none; width: 44px; height: 44px; border: 1px solid rgba(247, 240, 222, 0.38); color: inherit; background: transparent; cursor: pointer; }
.menu-toggle span { display: block; width: 18px; height: 2px; margin: 5px auto; background: currentColor; }

.hero {
  min-height: 760px;
  display: grid;
  align-items: center;
  color: #fff;
  background: linear-gradient(90deg, rgba(8, 32, 35, 0.96), rgba(8, 32, 35, 0.74), rgba(8, 32, 35, 0.16)), url("./assets/professional-hero.jpg") center / cover;
}
.hero-inner { width: min(1200px, 100%); margin: 0 auto; padding: 150px 28px 90px; }
.eyebrow { margin: 0 0 16px; color: var(--gold-2); font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 820px; margin-bottom: 24px; font-family: Georgia, "Times New Roman", "SimSun", serif; font-size: clamp(31px, 4.25vw, 58px); line-height: 1.18; font-weight: 700; }
.hero-title-sub { display: block; }
h2 { max-width: 820px; margin-bottom: 24px; font-size: clamp(28px, 3vw, 44px); line-height: 1.18; }
h3 { margin-bottom: 12px; font-size: 20px; line-height: 1.35; }
p { line-height: 1.85; }
.hero-lead { max-width: 650px; color: rgba(255, 255, 255, 0.78); font-size: 16px; }
.lead { max-width: 700px; color: var(--muted); font-size: 17px; }
.hero-actions { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; }
.btn { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; padding: 0 22px; border: 1px solid currentColor; font-weight: 700; transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease; }
.btn:hover, .btn:focus-visible { transform: translateY(-2px); }
.btn.primary { color: #132629; background: var(--gold-2); border-color: var(--gold-2); }
.trust { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: 970px; margin-top: 70px; border-top: 1px solid rgba(255, 255, 255, 0.18); }
.trust div { padding: 26px 24px 0 0; }
.trust strong { display: block; color: var(--gold-2); font-family: Georgia, "Times New Roman", serif; font-size: 28px; }
.trust span { color: rgba(255, 255, 255, 0.68); font-size: 13px; }

.section { max-width: 1200px; margin: 0 auto; padding: 88px 28px; }
.band { max-width: none; background: var(--paper-2); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 44px; margin-bottom: 36px; }
.section-head .lead { max-width: 430px; margin-bottom: 8px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.service { min-height: 238px; padding: 28px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.66); }
.service span { display: block; margin-bottom: 20px; color: var(--gold); font-family: Georgia, "Times New Roman", serif; font-size: 28px; }
.service p { color: var(--muted); font-size: 14px; }
.split { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: 56px; align-items: center; }
.about-panel { padding: 42px; border-left: 3px solid var(--gold); background: var(--paper-2); box-shadow: var(--shadow); }
.about-panel p:last-child { margin-bottom: 0; color: var(--muted); }
.list { margin: 26px 0 0; padding: 0; list-style: none; }
.list li { display: flex; justify-content: space-between; gap: 24px; padding: 18px 0; border-top: 1px solid var(--line); }
.list strong { min-width: 150px; }
.list span { color: var(--muted); }

.case-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.case-card { padding: 28px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.7); }
.case-top { display: flex; align-items: baseline; gap: 16px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.case-top h3 { margin: 0; }
.case-no { color: var(--gold); font-family: Georgia, "Times New Roman", serif; font-size: 24px; }
.case-card dl { display: grid; grid-template-columns: 72px 1fr; gap: 12px 18px; margin: 20px 0 0; font-size: 14px; line-height: 1.7; }
.case-card dt { color: var(--gold); font-weight: 700; }
.case-card dd { margin: 0; color: var(--muted); }
.case-card dd.result { color: var(--ink); font-weight: 700; }

.industry-heading { max-width: 620px; }
.industry-tags { display: flex; gap: 12px; margin-top: 38px; flex-wrap: wrap; }
.industry-tags span { padding: 14px 18px; border: 1px solid var(--line); color: var(--ink-2); background: var(--paper-2); font-weight: 700; }

.service h3 a { text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 4px; transition: text-decoration-color 0.2s ease; }
.service h3 a:hover, .service h3 a:focus-visible { text-decoration-color: var(--gold); }

.page-hero { color: #fff; background: linear-gradient(90deg, rgba(8, 32, 35, 0.97), rgba(8, 32, 35, 0.78), rgba(8, 32, 35, 0.3)), url("./assets/professional-hero.jpg") center / cover; }
.page-hero .section { padding-top: 150px; padding-bottom: 82px; }
.breadcrumbs { display: flex; gap: 10px; margin-bottom: 42px; color: rgba(255, 255, 255, 0.66); font-size: 13px; }
.breadcrumbs a:hover, .breadcrumbs a:focus-visible { color: #fff; }
.breadcrumbs span { color: var(--gold-2); }
.page-hero h1 { max-width: 780px; margin-bottom: 22px; }
.page-hero .hero-lead { max-width: 720px; margin-bottom: 0; }
.detail-section { max-width: 1200px; margin: 0 auto; padding: 88px 28px; }
.detail-layout { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.6fr); gap: 64px; align-items: start; }
.detail-content h2 { margin-bottom: 16px; font-size: clamp(25px, 2.5vw, 36px); }
.detail-content p { color: var(--muted); }
.detail-content h2:not(:first-child) { margin-top: 48px; }
.detail-list { display: grid; gap: 14px; margin: 24px 0 0; padding: 0; list-style: none; }
.detail-list li { position: relative; padding: 18px 20px 18px 48px; border: 1px solid var(--line); background: var(--paper-2); }
.detail-list li::before { position: absolute; top: 20px; left: 20px; width: 10px; height: 10px; border-radius: 50%; background: var(--gold); content: ""; }
.detail-aside { padding: 30px; border-top: 3px solid var(--gold); background: var(--paper-2); box-shadow: var(--shadow); }
.detail-aside h2 { margin-bottom: 16px; font-size: 24px; }
.detail-aside ul { margin: 0 0 24px; padding-left: 20px; color: var(--muted); line-height: 1.9; }
.detail-aside .btn { width: 100%; }
.related-links { display: flex; gap: 12px; flex-wrap: wrap; }
.related-links a { padding: 12px 16px; border: 1px solid var(--line); color: var(--ink-2); background: var(--paper); font-weight: 700; }
.related-links a:hover, .related-links a:focus-visible { border-color: var(--gold); color: var(--ink); }

.faq-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 20px; }
.faq-item { border-top: 1px solid var(--line); padding: 20px 0; }
.faq-item summary { cursor: pointer; list-style: none; padding-right: 28px; font-size: 17px; font-weight: 700; position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { position: absolute; right: 0; content: "+"; color: var(--gold); font-size: 24px; font-weight: 400; line-height: 1; }
.faq-item[open] summary::after { content: "−"; }
.faq-item p { max-width: 560px; margin: 14px 0 0; color: var(--muted); font-size: 14px; }

.contact { max-width: none; color: #f8f0df; background: var(--ink); }
.contact .section { padding-top: 88px; padding-bottom: 88px; }
.contact .lead, .contact .list span { color: rgba(255, 255, 255, 0.68); }
.contact .list li { border-color: rgba(255, 255, 255, 0.14); }
.contact-card { display: flex; align-items: center; gap: 28px; padding: 28px; border: 1px solid rgba(255, 255, 255, 0.14); background: rgba(255, 255, 255, 0.04); }
.qr-wrap { flex: 0 0 164px; padding: 10px; background: #fff; }
.qr-wrap img { display: block; width: 100%; height: auto; }
.contact-label { margin: 0 0 10px; color: var(--gold-2); font-weight: 700; }
.contact-details .list { margin-top: 0; }
.contact-details .list li { justify-content: flex-start; }

.floating-consult { position: fixed; z-index: 20; right: 28px; bottom: 28px; display: inline-flex; min-width: 188px; min-height: 66px; align-items: center; justify-content: center; padding: 13px 28px; border: 2px solid rgba(16, 34, 38, 0.32); color: var(--ink); background: linear-gradient(120deg, #e7c878 0%, var(--gold-2) 34%, #fff0b7 50%, var(--gold-2) 66%, #e7c878 100%); background-size: 240% 100%; box-shadow: 0 0 0 5px rgba(208, 176, 109, 0.2), 0 22px 54px rgba(16, 34, 38, 0.42), 0 6px 16px rgba(16, 34, 38, 0.24); transform: translateY(0) scale(1); transition: transform 0.2s ease, box-shadow 0.2s ease; animation: consult-bounce 3.6s ease-in-out infinite, consult-glow 2.8s ease-in-out infinite; }
.floating-consult::before, .floating-consult::after { position: absolute; inset: -9px; border: 2px solid rgba(208, 176, 109, 0.88); content: ""; pointer-events: none; animation: consult-ring 2.6s ease-out infinite; }
.floating-consult::before { animation-delay: 0.65s; }
.floating-consult-copy { display: inline-flex; align-items: center; justify-content: center; gap: 11px; text-align: center; }
.floating-consult-copy strong { font-size: 19px; line-height: 1.25; letter-spacing: 0.08em; }
.floating-consult-icon { width: 25px; height: 25px; flex: 0 0 auto; stroke: currentColor; stroke-width: 2.3; stroke-linecap: round; stroke-linejoin: round; animation: consult-phone-ring 3.6s ease-in-out infinite; }
.floating-consult:hover { animation-play-state: paused; transform: translateY(-5px) scale(1.07); box-shadow: 0 0 0 7px rgba(208, 176, 109, 0.28), 0 30px 66px rgba(16, 34, 38, 0.48), 0 8px 20px rgba(16, 34, 38, 0.26); }
.floating-consult:hover .floating-consult-icon { animation-play-state: paused; }
.floating-consult:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }
@keyframes consult-bounce { 0%, 58%, 100% { transform: translateY(0) scale(1); } 66% { transform: translateY(-8px) scale(1.07); } 73% { transform: translateY(2px) scale(0.99); } 80% { transform: translateY(-4px) scale(1.04); } 88% { transform: translateY(0) scale(1); } }
@keyframes consult-glow { 0%, 30%, 100% { background-position: 100% 0; } 70% { background-position: 0 0; } }
@keyframes consult-ring { 0% { opacity: 0; transform: scale(0.9); } 18% { opacity: 0.95; } 72%, 100% { opacity: 0; transform: scale(1.22); } }
@keyframes consult-phone-ring { 0%, 59%, 88%, 100% { transform: rotate(0); } 64%, 72%, 80% { transform: rotate(-14deg); } 68%, 76%, 84% { transform: rotate(14deg); } }

.site-footer { border-top: 1px solid var(--line); padding: 34px 28px; color: var(--muted); background: var(--paper); font-size: 13px; }
.footer-inner { display: flex; max-width: 1200px; margin: 0 auto; align-items: center; justify-content: space-between; gap: 24px; }

@media (max-width: 900px) {
  .site-header { position: fixed; color: var(--ink); background: rgba(248, 244, 235, 0.96); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
  .menu-toggle { display: block; border-color: var(--line); }
  .logo-icon-red { display: block; }
  .logo-icon-white { display: none; }
  .nav-links { position: fixed; inset: 73px 0 auto; display: none; flex-direction: column; align-items: flex-start; gap: 0; padding: 18px 28px 28px; color: var(--ink); background: rgba(248, 244, 235, 0.98); border-bottom: 1px solid var(--line); }
  body.nav-open .nav-links { display: flex; }
  .nav-links a { width: 100%; padding: 14px 0; border-top: 1px solid var(--line); }
  .hero { min-height: auto; }
  .hero-inner { padding-top: 132px; }
  .trust, .grid-3, .split, .section-head { grid-template-columns: 1fr; }
  .section-head { display: grid; gap: 10px; }
  .trust { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section, .contact .section { padding: 64px 20px; }
  .about-panel, .contact-card { padding: 28px; }
  .case-grid { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; }
  .detail-layout { grid-template-columns: 1fr; gap: 42px; }
  .list li { flex-direction: column; gap: 6px; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 520px) {
  .nav { padding: 18px 20px; }
  .logo-icon { width: 40px; height: 40px; }
  .logo > span { max-width: 220px; font-size: 12px; }
  .hero-inner { padding: 118px 20px 64px; }
  .page-hero .section { padding: 118px 20px 64px; }
  .breadcrumbs { margin-bottom: 30px; }
  .trust { grid-template-columns: 1fr; margin-top: 52px; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .floating-consult { right: 16px; bottom: calc(12px + env(safe-area-inset-bottom)); left: 16px; min-height: 64px; padding: 11px 20px; }
  .floating-consult-copy strong { font-size: 18px; }
  .contact-card { align-items: flex-start; flex-direction: column; }
  .qr-wrap { width: 150px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .floating-consult, .floating-consult::before, .floating-consult::after, .floating-consult-icon { animation: none; transition: none; }
}
