﻿:root {
  --navy: #081323;
  --navy-2: #101c30;
  --navy-3: #17243a;
  --gold: #c9a35b;
  --gold-2: #e0c078;
  --ivory: #f6f1e8;
  --paper: #fbf8f1;
  --surface: #ffffff;
  --ink: #182233;
  --ink-soft: #475569;
  --muted: #788395;
  --line: #e2d8c8;
  --line-dark: rgba(255, 255, 255, 0.14);
  --shadow: 0 24px 70px rgba(8, 19, 35, 0.14);
  --radius: 4px;
  --nav-height: 76px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Inter", "Microsoft YaHei", "PingFang SC", sans-serif;
  line-height: 1.72;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.42;
  background:
    linear-gradient(90deg, transparent 0 95%, rgba(201, 163, 91, 0.14) 95% 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(246, 241, 232, 0.92));
  background-size: 88px 88px, auto;
  content: "";
}

main {
  animation: pageIn 460ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes pageIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(8, 19, 35, 0.72);
  backdrop-filter: blur(18px);
  transition: background 240ms ease, box-shadow 240ms ease, border-color 240ms ease;
}

.site-header.is-scrolled {
  border-color: rgba(201, 163, 91, 0.18);
  background: rgba(8, 19, 35, 0.94);
  box-shadow: 0 18px 50px rgba(8, 19, 35, 0.24);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1280px, calc(100% - 40px));
  min-height: var(--nav-height);
  margin: 0 auto;
  gap: 26px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  min-width: 238px;
}

.brand-mark {
  display: grid;
  width: 48px;
  height: 44px;
  padding: 4px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-main {
  display: block;
  color: #fff;
  font-family: "Noto Serif SC", serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.05;
}

.brand-sub {
  display: block;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.56);
  font-size: 9px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.nav-links a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: color 180ms ease;
}

.nav-links a::after {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 3px;
  height: 2px;
  background: var(--gold);
  content: "";
  opacity: 0;
  transform: scaleX(0.4);
  transition: opacity 180ms ease, transform 180ms ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: #fff;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  opacity: 1;
  transform: scaleX(1);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.phone-link {
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.btn,
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.btn {
  background: var(--gold);
  color: #111827;
}

.btn:hover {
  background: var(--gold-2);
  transform: translateY(-1px);
}

.btn-outline {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
}

.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold-2);
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: #fff;
}

.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background: var(--navy);
}

.hero::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 19, 35, 0.98) 0%, rgba(8, 19, 35, 0.9) 48%, rgba(8, 19, 35, 0.68) 100%),
    url("images/local-hero-service-bg.jpg") center / cover;
  content: "";
}

.hero::after {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 92px 92px;
  mask-image: linear-gradient(90deg, #000 0%, transparent 72%);
  content: "";
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(340px, 0.68fr);
  width: min(1280px, calc(100% - 40px));
  min-height: 100vh;
  margin: 0 auto;
  padding: 150px 0 62px;
  gap: 74px;
  align-items: end;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 26px;
  color: var(--gold-2);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.eyebrow::before,
.eyebrow::after {
  width: 44px;
  height: 1px;
  background: rgba(201, 163, 91, 0.78);
  content: "";
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.14;
  letter-spacing: 0;
}

h1,
h2 {
  font-family: "Noto Serif SC", serif;
}

h1 {
  max-width: 860px;
  color: #fff;
  font-size: clamp(32px, 3.8vw, 44px);
  font-weight: 700;
  letter-spacing: 0.03em;
}

.text-accent {
  color: var(--gold-2);
  font-style: italic;
  font-weight: 500;
}

.hero-lead {
  max-width: 690px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 42px;
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(112px, 1fr));
  max-width: 840px;
  margin-top: 72px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(8, 19, 35, 0.68);
  backdrop-filter: blur(12px);
}

.trust-item {
  padding: 24px 22px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.trust-item:last-child {
  border-right: 0;
}

.trust-value {
  display: block;
  color: var(--gold-2);
  font-family: "Noto Serif SC", serif;
  font-size: 34px;
  font-weight: 700;
  line-height: 1;
}

.trust-label {
  display: block;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.56);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.hero-panel {
  position: relative;
}

.visual-frame {
  position: relative;
  padding: 1px;
  border: 1px solid rgba(201, 163, 91, 0.35);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.02));
}

.visual-frame::before {
  position: absolute;
  top: -16px;
  right: -16px;
  width: 110px;
  height: 110px;
  border-top: 2px solid var(--gold);
  border-right: 2px solid var(--gold);
  content: "";
}

.hero-image {
  position: relative;
  min-height: 480px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
}

.hero-image img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  opacity: 0.72;
  filter: grayscale(0.15) contrast(1.06);
}

.hero-image::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 38%, rgba(8, 19, 35, 0.92));
  content: "";
}

.image-caption {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 28px;
  z-index: 2;
  padding-top: 24px;
  border-top: 1px solid rgba(201, 163, 91, 0.55);
}

.image-caption strong {
  display: block;
  color: #fff;
  font-family: "Noto Serif SC", serif;
  font-size: 24px;
  font-weight: 700;
}

.image-caption span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
}

.section {
  position: relative;
  padding: 112px 0;
}

.section.alt {
  background: var(--ivory);
}

.container {
  width: min(1280px, calc(100% - 40px));
  margin: 0 auto;
}

.section-kicker {
  margin-bottom: 16px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(320px, 0.46fr);
  gap: 60px;
  margin-bottom: 58px;
  align-items: end;
}

.section-head h2 {
  color: var(--ink);
  font-size: clamp(26px, 2.8vw, 36px);
  font-weight: 700;
}

.section-head p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 16px;
}

.service-grid,
.cert-grid,
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
}

.service-card,
.cert-card,
.empty-card,
.contact-card,
.news-item,
.faq-item,
.faq-shell {
  border: 0;
  border-radius: 0;
  background: var(--surface);
  box-shadow: none;
}

.service-card {
  position: relative;
  min-height: 282px;
  padding: 34px;
  transition: background 180ms ease, transform 180ms ease;
}

.service-card:hover {
  z-index: 1;
  background: #fffaf0;
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.icon-box {
  display: inline-flex;
  margin-bottom: 34px;
  color: var(--gold);
  font-family: "Noto Serif SC", serif;
  font-size: 38px;
  font-weight: 700;
  line-height: 1;
}

.service-card h3,
.cert-card h3,
.empty-card h3,
.contact-card h3,
.news-item h3,
.faq-item h3,
.faq-shell h3 {
  color: var(--ink);
  font-family: "Noto Serif SC", serif;
  font-size: 24px;
  font-weight: 700;
}

.service-card p,
.cert-card p,
.empty-card p,
.contact-card p,
.news-item p,
.faq-item p,
.faq-shell p {
  margin: 14px 0 0;
  color: var(--ink-soft);
  font-size: 14px;
}

.pricing-wrap {
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow);
}

.tabbar {
  display: flex;
  gap: 0;
  padding: 0;
  border-bottom: 1px solid var(--line);
  background: var(--navy);
}

.tab-btn {
  min-height: 54px;
  padding: 0 26px;
  border: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.tab-btn.active,
.tab-btn:hover {
  background: var(--gold);
  color: #111827;
}

.table-scroll {
  overflow-x: auto;
}

table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  font-size: 14px;
}

th,
td {
  padding: 18px 22px;
  border-bottom: 1px solid #e8edf3;
  text-align: left;
  vertical-align: top;
}

th {
  color: var(--ink);
  background: #f7f9fc;
  font-size: 13px;
  font-weight: 900;
}

td.price {
  color: #9b6b16;
  font-family: "Noto Serif SC", serif;
  font-weight: 800;
  white-space: nowrap;
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
}

.cert-card,
.empty-card,
.news-item,
.faq-item,
.faq-shell,
.contact-card {
  padding: 34px;
}

.cert-meta {
  display: grid;
  gap: 10px;
  margin-top: 20px;
  color: var(--ink-soft);
  font-size: 14px;
}

.license-showcase {
  margin-top: 56px;
  padding-top: 56px;
  border-top: 1px solid var(--line);
}

.license-showcase-head {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(280px, 0.38fr);
  gap: 40px;
  margin-bottom: 28px;
  align-items: end;
}

.license-showcase-head h2 {
  color: var(--ink);
  font-size: clamp(24px, 2.8vw, 34px);
}

.license-showcase-head p {
  margin: 0;
  color: var(--ink-soft);
}

.license-image-frame {
  margin: 0;
  padding: 18px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow);
}

.license-image-frame img {
  display: block;
  width: 100%;
  height: auto;
}

.cta-band {
  position: relative;
  overflow: hidden;
  padding: 62px;
  border: 1px solid rgba(201, 163, 91, 0.34);
  background:
    linear-gradient(120deg, rgba(8, 19, 35, 0.97), rgba(16, 28, 48, 0.98)),
    radial-gradient(circle at 82% 22%, rgba(201, 163, 91, 0.16), transparent 36%);
  color: #fff;
  box-shadow: var(--shadow);
}

.cta-band h2 {
  max-width: 780px;
  color: #fff;
  font-size: clamp(24px, 3vw, 36px);
}

.cta-band p {
  max-width: 720px;
  margin: 18px 0 30px;
  color: rgba(255, 255, 255, 0.7);
}

.cta-band .btn {
  background: var(--gold);
  color: #111827;
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 158px 0 86px;
  background:
    linear-gradient(90deg, rgba(8, 19, 35, 0.97), rgba(8, 19, 35, 0.82)),
    url("images/local-hero-service-bg.jpg") center / cover;
}

.page-hero-services {
  background:
    linear-gradient(90deg, rgba(8, 19, 35, 0.97), rgba(8, 19, 35, 0.76)),
    url("images/local-hero-service-bg.jpg") center / cover;
}

.page-hero-pricing {
  background:
    linear-gradient(90deg, rgba(8, 19, 35, 0.96), rgba(8, 19, 35, 0.74)),
    url("images/local-bg-pricing-city.jpg") center / cover;
}

.page-hero-about {
  background:
    linear-gradient(90deg, rgba(8, 19, 35, 0.97), rgba(8, 19, 35, 0.7)),
    url("images/local-bg-about-nanjing.jpg") center / cover;
}

.page-hero-news {
  background:
    linear-gradient(90deg, rgba(8, 19, 35, 0.96), rgba(8, 19, 35, 0.72)),
    url("images/local-bg-news-xinjiekou.jpg") center / cover;
}

.page-hero-faq {
  background:
    linear-gradient(90deg, rgba(8, 19, 35, 0.96), rgba(8, 19, 35, 0.73)),
    url("images/local-bg-faq-meeting.jpg") center / cover;
}

.page-hero-contact {
  background:
    linear-gradient(90deg, rgba(8, 19, 35, 0.97), rgba(8, 19, 35, 0.72)),
    url("images/local-bg-contact-nanjing.jpg") center / cover;
}

.page-hero h1 {
  max-width: 920px;
  color: #fff;
  font-size: clamp(30px, 3.4vw, 40px);
}

.page-hero p {
  max-width: 720px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 17px;
}

.news-item time,
.faq-item .tag {
  display: block;
  margin-bottom: 12px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.news-item a {
  display: inline-flex;
  margin-top: 20px;
  color: #9b6b16;
  font-weight: 900;
}

.empty-line {
  width: 100%;
  height: 10px;
  margin-top: 24px;
  background: linear-gradient(90deg, #e4e8ef, #f8fafc, #e4e8ef);
}

.empty-line.short {
  width: 68%;
}

.faq-list {
  display: grid;
  gap: 1px;
  background: var(--line);
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 1px;
  background: var(--line);
  align-items: stretch;
}

.contact-methods {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.method {
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.method strong {
  display: block;
  color: var(--ink);
}

.method span {
  display: block;
  color: var(--muted);
  font-size: 14px;
}

.lead-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 26px;
}

.field {
  display: grid;
  gap: 8px;
}

.field.full {
  grid-column: 1 / -1;
}

label {
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #d7dee8;
  border-radius: 0;
  background: #fff;
  color: var(--ink);
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

input,
select {
  height: 50px;
  padding: 0 14px;
}

textarea {
  min-height: 130px;
  padding: 14px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 163, 91, 0.16);
}

.form-note {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.form-status {
  grid-column: 1 / -1;
  min-height: 24px;
  color: #8a641f;
  font-weight: 900;
}

.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.66);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 1fr);
  gap: 30px;
  padding: 54px 0;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-logo {
  display: grid;
  width: 58px;
  height: 48px;
  padding: 5px;
  margin-bottom: 16px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.95);
}

.footer-logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.footer-grid h3,
.footer-grid h4 {
  margin: 0;
  color: #fff;
  font-family: "Noto Serif SC", serif;
}

.footer-grid p,
.footer-grid a {
  display: block;
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 14px;
}

.copyright {
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.46);
  font-size: 13px;
}

.copyright a {
  color: inherit;
}

.copyright a:hover {
  color: var(--gold-2);
}

.mobile-only {
  display: none;
}

@media (max-width: 1120px) {
  .menu-toggle {
    display: block;
  }

  .phone-link,
  .nav-actions .btn {
    display: none;
  }

  .nav-links {
    position: absolute;
    top: var(--nav-height);
    left: 20px;
    right: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    border: 1px solid rgba(201, 163, 91, 0.22);
    background: rgba(8, 19, 35, 0.98);
    box-shadow: var(--shadow);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    min-height: 46px;
  }

  .mobile-only {
    display: block;
  }

  .hero-grid,
  .contact-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    min-height: auto;
    padding-top: 128px;
    gap: 54px;
    align-items: start;
  }

  .trust-row,
  .service-grid,
  .cert-grid,
  .news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section-head {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .license-showcase-head {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

@media (max-width: 700px) {
  .nav-shell,
  .hero-grid,
  .container {
    width: min(100% - 24px, 1280px);
  }

  .brand {
    min-width: 0;
  }

  .brand-mark {
    width: 42px;
    height: 38px;
    padding: 3px;
  }

  .brand-sub {
    display: none;
  }

  .brand-main {
    font-size: 16px;
  }

  h1 {
    font-size: clamp(28px, 8vw, 36px);
  }

  .hero-grid {
    padding-bottom: 42px;
  }

  .hero-actions,
  .tabbar {
    flex-direction: column;
  }

  .btn,
  .btn-outline,
  .tab-btn {
    width: 100%;
  }

  .trust-row,
  .service-grid,
  .cert-grid,
  .news-grid,
  .lead-form {
    grid-template-columns: 1fr;
  }

  .trust-item {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .trust-item:last-child {
    border-bottom: 0;
  }

  .hero-image,
  .hero-image img {
    min-height: 350px;
    height: 350px;
  }

  .visual-frame::before {
    display: none;
  }

  .section {
    padding: 72px 0;
  }

  .page-hero {
    padding: 128px 0 64px;
  }

  .cta-band {
    padding: 34px 24px;
  }
}

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