:root {
  --ink: #171717;
  --muted: #646464;
  --paper: #f7f4ef;
  --panel: #fffdf9;
  --line: rgba(23, 23, 23, 0.13);
  --gold: #b89250;
  --gold-light: #eed18a;
  --gold-deep: #7e5a1f;
  --green: #24564b;
  --brick: #9f1d20;
  --brick-dark: #6f1518;
  --navy: #1d303c;
  --shadow: 0 28px 70px rgba(18, 18, 18, 0.14);
  --shadow-strong: 0 34px 90px rgba(18, 18, 18, 0.2);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

section[id] {
  scroll-margin-top: 86px;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.96), rgba(247, 244, 239, 1) 520px),
    var(--paper);
  font-family: "Noto Serif SC", "Songti SC", "SimSun", Georgia, "PingFang SC", serif;
  letter-spacing: 0;
  line-height: 1.65;
}

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 4vw, 64px);
  color: #fff;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.58), rgba(0, 0, 0, 0));
  transition: background 180ms ease, box-shadow 180ms ease, color 180ms ease, padding 180ms ease, border-color 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open,
.case-route .site-header {
  color: var(--ink);
  padding-block: 12px;
  border-bottom: 1px solid rgba(184, 146, 80, 0.18);
  background: rgba(255, 253, 248, 0.94);
  box-shadow: 0 10px 28px rgba(18, 18, 18, 0.1);
  backdrop-filter: blur(12px);
}

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

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 0;
  color: var(--gold);
  background: rgba(15, 15, 15, 0.12);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
}

.site-header.is-scrolled .brand-mark,
.site-header.is-open .brand-mark,
.case-route .brand-mark {
  background: rgba(184, 146, 80, 0.08);
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: currentColor;
  opacity: 0.75;
  font-size: 12px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-family: Arial, "PingFang SC", sans-serif;
  font-size: 14px;
  font-weight: 650;
}

.site-nav a {
  position: relative;
  padding: 8px 0;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 1px;
  left: 0;
  height: 2px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.site-nav .nav-phone {
  min-height: 38px;
  padding: 8px 13px;
  border: 1px solid rgba(238, 209, 138, 0.55);
  border-radius: 4px;
  color: #fff;
  background: rgba(159, 29, 32, 0.82);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}

.site-nav .nav-phone::after {
  content: none;
}

.site-header.is-scrolled .nav-phone,
.site-header.is-open .nav-phone,
.case-route .nav-phone {
  color: #fff;
  border-color: var(--brick);
  background: var(--brick);
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid currentColor;
  border-radius: 4px;
  color: inherit;
  background: transparent;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #fff;
  isolation: isolate;
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(184, 146, 80, 0.16) 0 1px, transparent 1px 100%),
    linear-gradient(180deg, rgba(184, 146, 80, 0.1) 0 1px, transparent 1px 100%);
  background-size: 92px 92px;
  mask-image: linear-gradient(90deg, #000 0%, transparent 56%);
  opacity: 0.55;
  content: "";
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-media {
  z-index: -3;
  background: url("assets/hero-file-2.jpg") 58% 45% / cover no-repeat;
  filter: saturate(0.96) contrast(1.03) brightness(0.9);
  transform: scale(1.02);
}

.hero-shade {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(10, 10, 10, 0.72) 0%, rgba(10, 10, 10, 0.44) 40%, rgba(10, 10, 10, 0.1) 74%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.16) 56%, rgba(0, 0, 0, 0.62) 100%);
}

.hero-content {
  position: relative;
  width: min(1120px, calc(100% - clamp(40px, 8vw, 128px)));
  padding: 150px 0 54px;
  margin: 0 auto;
}

.hero-content::after {
  position: absolute;
  right: calc(50% - 50vw);
  bottom: 0;
  left: calc(50% - 50vw);
  z-index: -1;
  height: 42%;
  background: linear-gradient(0deg, rgba(111, 21, 24, 0.34), rgba(111, 21, 24, 0));
  content: "";
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.5fr);
  gap: clamp(28px, 5vw, 76px);
  align-items: end;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-family: Arial, "PingFang SC", sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--gold-light);
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.28);
}

.hero .eyebrow::before {
  width: 42px;
  height: 1px;
  background: currentColor;
  content: "";
}

.eyebrow.dark {
  color: var(--brick);
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  max-width: 780px;
  font-size: clamp(42px, 7.4vw, 88px);
  line-height: 1.02;
  letter-spacing: 0;
  text-shadow: 0 18px 48px rgba(0, 0, 0, 0.38);
}

h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1.12;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 10px;
  font-size: 22px;
  line-height: 1.25;
}

.hero-copy {
  width: min(620px, 100%);
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-family: Arial, "PingFang SC", sans-serif;
  font-size: clamp(16px, 1.55vw, 20px);
  line-height: 1.8;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.32);
}

.hero-actions,
.section-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.hero-actions {
  margin-top: 34px;
}

.hero-service-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.hero-service-pills span {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 6px 11px;
  border: 1px solid rgba(238, 209, 138, 0.32);
  border-radius: 4px;
  color: rgba(255, 255, 255, 0.88);
  background: rgba(12, 12, 12, 0.22);
  font-family: Arial, "PingFang SC", sans-serif;
  font-size: 13px;
  font-weight: 800;
  backdrop-filter: blur(10px);
}

.hero-panel {
  padding: 8px 0 8px 24px;
  border-left: 1px solid rgba(238, 209, 138, 0.32);
  font-family: Arial, "PingFang SC", sans-serif;
  background: linear-gradient(90deg, rgba(12, 12, 12, 0.18), transparent);
}

.stat {
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.stat strong {
  display: block;
  margin-bottom: 6px;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 34px;
  line-height: 1;
}

.stat span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  line-height: 1.5;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-family: Arial, "PingFang SC", sans-serif;
  font-weight: 800;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.18);
}

.button.primary {
  color: #fff;
  border-color: var(--brick);
  background: linear-gradient(135deg, var(--brick), var(--brick-dark));
  box-shadow: 0 16px 36px rgba(159, 29, 32, 0.28);
}

.button.secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
}

.button.primary:hover,
.button.primary:focus-visible {
  background: var(--brick-dark);
}

.button.secondary.dark {
  color: var(--navy);
  border-color: rgba(31, 52, 74, 0.3);
  background: #fffdfa;
}

.button.secondary.dark:hover,
.button.secondary.dark:focus-visible {
  border-color: rgba(184, 146, 80, 0.58);
  background: #fff7e5;
}

.section {
  padding: clamp(52px, 7vw, 94px) clamp(20px, 4vw, 64px);
}

.section-inner {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.intro {
  position: relative;
  background:
    linear-gradient(135deg, rgba(255, 253, 248, 0.84), rgba(247, 244, 239, 0.96)),
    var(--paper);
}

.intro::before,
.services::before,
.location-section::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(184, 146, 80, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(184, 146, 80, 0.055) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, #000, transparent 72%);
  content: "";
}

.intro-grid,
.process-layout,
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(30px, 6vw, 86px);
  align-items: start;
}

.intro-single {
  grid-template-columns: minmax(0, 900px);
}

.intro-copy p:last-child,
.process .section-heading p,
.contact-layout > div > p {
  margin: 0;
  color: var(--muted);
  font-family: Arial, "PingFang SC", sans-serif;
  font-size: 18px;
}

.intro-copy h2 {
  margin-bottom: 22px;
}

.profile-photo {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.profile-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  object-position: center;
}

.profile-photo figcaption {
  padding: 14px 18px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
}

.section-heading {
  justify-content: space-between;
  margin-bottom: 34px;
}

.section-heading h2 {
  position: relative;
}

.section-heading h2::after {
  display: block;
  width: 72px;
  height: 3px;
  margin-top: 16px;
  background: linear-gradient(90deg, var(--brick), var(--gold-light));
  content: "";
}

.section-heading > p:last-child:not(.eyebrow) {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  font-family: Arial, "PingFang SC", sans-serif;
  font-size: 17px;
}

.section-heading .eyebrow {
  width: 100%;
  margin-bottom: -4px;
}

.scope-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: -12px 0 26px;
}

.scope-list span {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  padding: 7px 13px;
  border: 1px solid rgba(159, 29, 32, 0.18);
  border-radius: 4px;
  color: var(--brick-dark);
  background: rgba(255, 253, 249, 0.86);
  box-shadow: 0 10px 24px rgba(72, 54, 30, 0.06);
  font-family: Arial, "PingFang SC", sans-serif;
  font-size: 14px;
  font-weight: 800;
}

.services {
  position: relative;
  background:
    linear-gradient(180deg, #fffdf8, #f5efe5),
    var(--paper);
}

.services .section-inner {
  position: relative;
  z-index: 1;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin-top: 8px;
  border: 0;
  background: transparent;
}

.service-card,
.article-list article,
.gallery-item,
.contact-form {
  border: 1px solid rgba(184, 146, 80, 0.18);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.service-card {
  position: relative;
  overflow: hidden;
  min-height: 260px;
  padding: 26px;
  color: inherit;
  text-align: left;
}

.service-card::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--brick), var(--gold-light));
  content: "";
}

.service-card::after {
  position: absolute;
  right: -32px;
  bottom: -42px;
  width: 150px;
  height: 150px;
  border: 1px solid rgba(184, 146, 80, 0.2);
  transform: rotate(28deg);
  content: "";
}

.service-trigger {
  display: block;
  width: 100%;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  cursor: pointer;
  font: inherit;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.service-trigger:hover,
.service-trigger:focus-visible {
  background: linear-gradient(180deg, #fffdf9, #fff7ea);
  box-shadow: var(--shadow-strong);
  transform: translateY(-5px);
}

.service-trigger:focus-visible {
  outline: 3px solid rgba(181, 138, 59, 0.26);
  outline-offset: 3px;
}

.service-icon {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  margin-bottom: 34px;
  border: 1px solid rgba(184, 146, 80, 0.35);
  border-radius: 50%;
  color: var(--gold);
  background: radial-gradient(circle at 35% 25%, rgba(238, 209, 138, 0.3), rgba(184, 146, 80, 0.08));
  font-family: Georgia, serif;
  font-size: 20px;
  font-weight: 800;
}

.service-card h3 {
  overflow-wrap: anywhere;
}

.service-card p:not(.service-count) {
  overflow: hidden;
  display: -webkit-box;
  margin-bottom: 14px;
  font-size: 14px;
  line-height: 1.65;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.service-count {
  margin: -4px 0 14px;
  color: var(--brick);
  font-size: 13px;
  font-weight: 800;
}

.service-card:nth-child(2n) .service-icon {
  background: transparent;
}

.service-card:nth-child(3n) .service-icon {
  background: transparent;
}

.service-card p,
.service-list,
.article-list p,
.timeline span,
.form-note {
  margin: 0;
  color: var(--muted);
  font-family: Arial, "PingFang SC", sans-serif;
}

.service-list {
  display: grid;
  gap: 7px;
  padding-left: 18px;
  max-height: 74px;
  overflow: hidden;
}

.service-list li {
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}

.service-list li::marker {
  color: var(--gold);
}

.case-list {
  display: grid;
  gap: 14px;
}

.case-item {
  display: block;
  width: 100%;
  padding: 18px 20px;
  border: 1px solid rgba(184, 146, 80, 0.18);
  border-radius: 8px;
  color: inherit;
  background: rgba(255, 253, 248, 0.9);
  cursor: pointer;
  font: inherit;
  text-align: left;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.case-item:hover,
.case-item:focus-visible {
  border-color: rgba(181, 138, 59, 0.72);
  box-shadow: 0 18px 44px rgba(72, 54, 30, 0.14);
  outline: 0;
  transform: translateY(-2px);
}

.case-item strong {
  display: block;
  margin-bottom: 8px;
  color: var(--navy);
  font-size: 18px;
}

.case-item p {
  margin: 0;
  color: var(--muted);
}

.case-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.case-tags span {
  padding: 4px 9px;
  border: 1px solid rgba(181, 138, 59, 0.28);
  border-radius: 999px;
  color: #6e5322;
  background: rgba(255, 247, 230, 0.88);
  font-size: 12px;
  font-weight: 800;
}

.case-readmore {
  display: inline-flex;
  margin-top: 14px;
  color: var(--brick);
  font-size: 13px;
  font-weight: 850;
}

.case-page {
  min-height: 100vh;
  padding-top: clamp(118px, 13vw, 160px);
  background:
    linear-gradient(180deg, rgba(255, 250, 242, 0.98), rgba(255, 255, 255, 0.98) 42%),
    #fff;
}

.case-back {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-bottom: 28px;
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.82);
  font-weight: 800;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.case-back::before {
  margin-right: 8px;
  content: "←";
}

.case-back:hover,
.case-back:focus-visible {
  border-color: rgba(181, 138, 59, 0.72);
  box-shadow: 0 10px 22px rgba(72, 54, 30, 0.1);
  outline: 0;
  transform: translateY(-2px);
}

.case-page-head {
  width: min(860px, 100%);
  margin-bottom: 32px;
}

.case-page-head h2 {
  margin-bottom: 16px;
}

.case-page-head p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

.case-page-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.modal-open {
  overflow: hidden;
}

.case-modal {
  position: fixed;
  z-index: 60;
  inset: 0;
  display: none;
}

.case-modal.is-open {
  display: block;
}

.case-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(24, 32, 42, 0.46);
  backdrop-filter: blur(4px);
}

.case-modal-dialog {
  position: relative;
  width: min(980px, calc(100% - 32px));
  max-height: calc(100vh - 56px);
  padding: clamp(22px, 4vw, 38px);
  margin: 28px auto;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffdf8;
  box-shadow: 0 28px 80px rgba(24, 32, 42, 0.28);
}

.case-modal-close {
  position: sticky;
  top: 0;
  float: right;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  background: #fff;
  cursor: pointer;
  font-size: 26px;
  line-height: 1;
}

.case-modal-dialog h3 {
  margin-right: 54px;
  margin-bottom: 20px;
  font-size: clamp(24px, 3vw, 36px);
}

.case-modal-body {
  display: grid;
  gap: 10px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}

.case-modal-body p {
  margin: 0;
  color: #303945;
  font-size: 16px;
  line-height: 1.85;
}

.case-file-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 8px;
}

.case-pdf-frame {
  width: 100%;
  min-height: min(74vh, 860px);
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
}

.process {
  background:
    linear-gradient(135deg, #fffdf8 0%, #ffffff 48%, #f4efe6 100%);
}

.fee-calculator {
  padding: 28px clamp(18px, 4vw, 56px);
  background:
    linear-gradient(90deg, rgba(24, 32, 42, 0.98), rgba(31, 52, 74, 0.96) 54%, rgba(45, 95, 88, 0.92)),
    #18202a;
}

.fee-strip {
  display: grid;
  width: min(390px, 100%);
  grid-template-columns: 1fr;
  gap: 12px;
  align-items: stretch;
  padding: 20px;
  border: 1px solid rgba(230, 196, 126, 0.34);
  border-radius: 8px;
  background: rgba(15, 20, 26, 0.28);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.2);
}

.fee-strip-copy h2,
.fee-strip-copy p {
  margin: 0;
}

.fee-strip-copy .eyebrow.dark {
  margin-bottom: 4px;
  color: #e6c47e;
}

.fee-strip-copy h2 {
  color: #fff;
  font-size: clamp(24px, 3vw, 38px);
}

.fee-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  align-items: end;
  color: var(--ink);
}

.fee-form label:first-child {
  grid-column: 1 / -1;
}

.fee-button {
  width: 100%;
}

.fee-form label {
  display: grid;
  gap: 8px;
  font-weight: 800;
}

.fee-form label > span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
}

.money-input {
  position: relative;
}

.money-input span {
  position: absolute;
  top: 50%;
  left: 14px;
  color: var(--muted);
  font-weight: 850;
  transform: translateY(-50%);
}

.money-input input {
  padding-left: 36px;
}

.fee-button {
  min-height: 48px;
  padding-inline: 18px;
  background: linear-gradient(90deg, #d9b66e, #f1d491 48%, #bd8f3a);
  box-shadow: 0 14px 30px rgba(181, 138, 59, 0.24);
}

.fee-modal {
  position: fixed;
  z-index: 70;
  inset: 0;
  display: none;
  opacity: 0;
}

.fee-modal.is-open {
  display: block;
  animation: fee-modal-fade 220ms ease forwards;
}

.fee-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(24, 32, 42, 0.48);
  backdrop-filter: blur(4px);
  animation: fee-backdrop-in 220ms ease forwards;
}

.fee-modal-dialog {
  position: relative;
  width: min(420px, calc(100% - 36px));
  padding: 28px;
  margin: min(18vh, 140px) auto 0;
  border: 1px solid rgba(181, 138, 59, 0.34);
  border-radius: 8px;
  background:
    linear-gradient(135deg, #fffdf8, #fff4d8),
    #fffdf8;
  box-shadow: 0 28px 80px rgba(24, 32, 42, 0.32);
  animation: fee-dialog-pop 260ms cubic-bezier(0.2, 0.9, 0.2, 1.08) forwards;
}

.fee-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  background: #fff;
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
}

.fee-modal-dialog h3 {
  margin: 0 42px 12px 0;
  font-size: 30px;
}

.fee-modal-dialog p:not(.eyebrow) {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 17px;
}

.fee-modal-result {
  display: grid;
  gap: 6px;
  padding: 18px;
  border: 1px solid rgba(181, 138, 59, 0.34);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.fee-modal-result span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.fee-modal-result strong {
  color: var(--navy);
  font-size: 42px;
  line-height: 1;
}

@keyframes fee-modal-fade {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes fee-backdrop-in {
  from {
    background: rgba(24, 32, 42, 0);
    backdrop-filter: blur(0);
  }

  to {
    background: rgba(24, 32, 42, 0.48);
    backdrop-filter: blur(4px);
  }
}

@keyframes fee-dialog-pop {
  from {
    opacity: 0;
    transform: translateY(22px) scale(0.94);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.gallery {
  color: #fff;
  background:
    linear-gradient(180deg, #181412 0, #211715 44%, #fffdf8 44%, #fffdf8 100%);
}

.gallery .eyebrow.dark {
  color: var(--gold-light);
}

.gallery .section-heading {
  margin-bottom: 40px;
}

.gallery .section-heading h2 {
  color: #fff;
}

.gallery-marquee {
  position: relative;
  overflow: hidden;
  padding: 6px 0 18px;
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}

.gallery-grid {
  display: flex;
  gap: 18px;
  width: max-content;
  animation: gallery-marquee 42s linear infinite;
  will-change: transform;
}

.gallery-marquee:hover .gallery-grid,
.gallery-marquee:focus-within .gallery-grid {
  animation-play-state: paused;
}

.gallery-item {
  flex: 0 0 clamp(280px, 42vw, 520px);
  margin: 0;
  overflow: hidden;
  border-color: rgba(238, 209, 138, 0.22);
  transition: box-shadow 220ms ease, transform 220ms ease;
}

.gallery-item:hover,
.gallery-item:focus-within {
  box-shadow: 0 26px 60px rgba(24, 32, 42, 0.18);
  transform: translateY(-6px);
}

.gallery-item img {
  display: block;
  width: 100%;
  height: clamp(260px, 34vw, 420px);
  object-fit: cover;
  filter: saturate(0.92) contrast(1.02);
  transition: filter 260ms ease, transform 420ms ease;
}

.gallery-item:hover img,
.gallery-item:focus-within img {
  filter: saturate(1.08) contrast(1.04);
  transform: scale(1.045);
}

.gallery-item.wide {
  flex-basis: clamp(320px, 58vw, 720px);
}

.gallery-item:not(.wide) img {
  aspect-ratio: 4 / 5;
}

.gallery-item.wide img {
  aspect-ratio: 16 / 10;
}

.gallery-item figcaption {
  position: relative;
  padding: 14px 18px;
  color: #332821;
  background: rgba(255, 253, 248, 0.96);
  font-size: 14px;
  font-weight: 750;
}

@keyframes gallery-marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(calc(-50% - 9px));
  }
}

@media (prefers-reduced-motion: reduce) {
  .gallery-grid {
    overflow-x: auto;
    width: auto;
    animation: none;
  }
}

.process .section-heading {
  display: block;
  position: sticky;
  top: 110px;
  margin-bottom: 0;
}

.process .section-heading h2 {
  margin-bottom: 18px;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 0;
  margin: 0;
  list-style: none;
  counter-reset: step;
}

.timeline li {
  position: relative;
  min-height: 144px;
  padding: 24px 28px 24px 88px;
  border: 1px solid rgba(184, 146, 80, 0.18);
  border-top: 3px solid var(--green);
  border-left: 0;
  background:
    linear-gradient(135deg, rgba(255, 253, 248, 0.98), rgba(247, 244, 239, 0.95)),
    var(--paper);
  box-shadow: 0 18px 42px rgba(18, 18, 18, 0.06);
}

.timeline li::before {
  position: absolute;
  top: 24px;
  left: 24px;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, var(--ink), #49302d);
  box-shadow: 0 10px 24px rgba(18, 18, 18, 0.18);
  content: counter(step, decimal-leading-zero);
  counter-increment: step;
  font-size: 13px;
  font-weight: 800;
}

.timeline strong {
  display: block;
  margin-bottom: 6px;
  font-size: 20px;
}

.article-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.article-list article {
  position: relative;
  overflow: hidden;
  min-height: 230px;
  padding: 26px;
  background: linear-gradient(180deg, #fffdf9, #fff8eb);
  box-shadow: 0 18px 44px rgba(18, 18, 18, 0.07);
}

.article-list article::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), transparent);
  content: "";
}

.article-list time {
  display: block;
  margin-bottom: 22px;
  color: var(--brick);
  font-size: 13px;
  font-weight: 800;
}

.contact {
  color: #fff;
  background:
    linear-gradient(135deg, rgba(22, 22, 22, 0.98) 0%, rgba(42, 26, 24, 0.96) 48%, rgba(23, 63, 56, 0.98) 100%),
    url("assets/gallery-office-view.jpg") center / cover;
}

.contact .eyebrow.dark {
  color: var(--gold);
}

.contact h2,
.contact dt,
.contact dd,
.contact .wechat-card strong,
.contact .contact-form label {
  color: #fff;
}

.contact-layout > div > p,
.contact-list dt,
.contact .wechat-card span,
.contact .form-note {
  color: rgba(255, 255, 255, 0.72);
}

.contact-list div,
.wechat-card {
  border-color: rgba(255, 255, 255, 0.2);
}

.contact-form {
  border-color: rgba(255, 255, 255, 0.18);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.07));
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(12px);
}

.location-section {
  position: relative;
  background:
    linear-gradient(180deg, #fffdf8, #ffffff);
}

.location-layout {
  position: relative;
  z-index: 1;
}

.location-layout .section-heading {
  display: block;
  width: min(920px, 100%);
}

.location-layout .section-heading h2 {
  margin-bottom: 16px;
}

.location-layout .section-heading p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

.map-panel {
  overflow: hidden;
  border: 1px solid rgba(184, 146, 80, 0.2);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow-strong);
}

.map-frame {
  display: block;
  width: 100%;
  min-height: 320px;
  height: clamp(320px, 42vw, 520px);
  border: 0;
  background: #f2eee6;
}

.map-mobile-preview {
  position: relative;
  display: none;
  min-height: 360px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 48%, rgba(159, 29, 32, 0.13), transparent 18%),
    linear-gradient(135deg, #f1ede4, #fff8e8);
}

.map-mobile-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(126, 90, 31, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(126, 90, 31, 0.08) 1px, transparent 1px);
  background-size: 34px 34px;
}

.map-road {
  position: absolute;
  display: block;
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.88);
  box-shadow: inset 0 0 0 1px rgba(184, 146, 80, 0.16), 0 10px 24px rgba(72, 54, 30, 0.08);
}

.road-main {
  top: 45%;
  left: -8%;
  width: 118%;
  height: 42px;
  transform: rotate(-18deg);
}

.road-cross {
  top: -8%;
  left: 47%;
  width: 38px;
  height: 116%;
  transform: rotate(16deg);
}

.road-side {
  right: -16%;
  bottom: 16%;
  width: 72%;
  height: 30px;
  transform: rotate(22deg);
}

.map-pin {
  position: absolute;
  top: 44%;
  left: 50%;
  width: 34px;
  height: 34px;
  border: 4px solid #fff;
  border-radius: 50% 50% 50% 0;
  background: var(--brick);
  box-shadow: 0 16px 28px rgba(111, 21, 24, 0.28);
  transform: translate(-50%, -50%) rotate(-45deg);
}

.map-pin::after {
  position: absolute;
  inset: 7px;
  border-radius: 50%;
  background: #fff;
  content: "";
}

.map-mobile-label {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  padding: 16px;
  border: 1px solid rgba(184, 146, 80, 0.28);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.92);
  box-shadow: 0 20px 50px rgba(72, 54, 30, 0.16);
  backdrop-filter: blur(10px);
}

.map-mobile-label strong,
.map-mobile-label span {
  display: block;
}

.map-mobile-label strong {
  color: var(--ink);
  font-size: 19px;
}

.map-mobile-label span {
  color: var(--muted);
  font-family: Arial, "PingFang SC", sans-serif;
  font-weight: 750;
}

.contact-list {
  display: grid;
  gap: 14px;
  margin: 24px 0 0;
}

.contact-list div {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.contact-list dt {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.contact-list dd {
  margin: 3px 0 0;
  font-size: 18px;
  font-weight: 750;
}

.credential-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.credential-row .credential-item {
  padding-bottom: 0;
  border-bottom: 0;
}

.years-highlight {
  color: var(--brick);
  font-size: 24px !important;
  font-weight: 900 !important;
}

.contact .years-highlight {
  color: var(--gold);
}

.map-card {
  display: grid;
  gap: 18px;
  margin: 0;
  padding: 22px;
  border: 0;
  border-top: 1px solid rgba(184, 146, 80, 0.2);
  border-radius: 0;
  background: linear-gradient(135deg, #fffdf8, #fff5e3);
  box-shadow: none;
}

.map-card {
  align-items: start;
}

.map-card strong,
.map-card span {
  display: block;
}

.map-card strong {
  margin-bottom: 6px;
  font-size: 20px;
}

.map-card span {
  color: var(--muted);
}

.map-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.map-actions .button {
  min-height: 44px;
  padding: 10px 14px;
}

.wechat-card {
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.wechat-card img {
  display: block;
  width: 112px;
  height: 112px;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.wechat-card strong,
.wechat-card span {
  display: block;
}

.wechat-card strong {
  margin-bottom: 6px;
  font-size: 20px;
}

.wechat-card span {
  color: var(--muted);
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.contact-actions .button.secondary {
  border-color: rgba(255, 255, 255, 0.38);
}

.contact-form {
  display: grid;
  gap: 18px;
  padding: clamp(22px, 4vw, 34px);
}

.contact-form label {
  display: grid;
  gap: 8px;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid #cfc5b5;
  border-radius: 6px;
  color: var(--ink);
  background: #fffdfa;
  font: inherit;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(181, 138, 59, 0.25);
  border-color: var(--gold);
}

.form-button {
  width: 100%;
  border: 0;
  cursor: pointer;
  font: inherit;
}

.site-footer {
  padding: 28px clamp(18px, 4vw, 56px);
  color: rgba(255, 255, 255, 0.78);
  background: #18202a;
}

.quick-dock {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 50;
  display: grid;
  gap: 8px;
  padding: 8px;
  border: 1px solid rgba(238, 209, 138, 0.36);
  border-radius: 8px;
  background: rgba(24, 20, 18, 0.86);
  box-shadow: 0 22px 58px rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(14px);
}

.quick-dock a {
  display: grid;
  min-width: 54px;
  min-height: 42px;
  place-items: center;
  border-radius: 5px;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  font-family: Arial, "PingFang SC", sans-serif;
  font-size: 13px;
  font-weight: 850;
}

.quick-dock a:first-child {
  background: linear-gradient(135deg, var(--brick), var(--brick-dark));
}

.quick-dock a:hover,
.quick-dock a:focus-visible {
  outline: 0;
  background: rgba(238, 209, 138, 0.22);
}

.footer-inner {
  display: flex;
  width: min(1180px, 100%);
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin: 0 auto;
}

.footer-inner p {
  margin: 0;
}

.footer-inner p:last-child {
  max-width: 650px;
  font-size: 13px;
}

.icp-link {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.icp-link:hover,
.icp-link:focus-visible {
  color: #fff;
}

.beian-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  vertical-align: middle;
}

.beian-link img {
  width: 18px;
  height: 20px;
  flex: 0 0 auto;
}

@media (max-width: 920px) {
  .nav-toggle {
    display: inline-grid;
    place-items: center;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    right: 18px;
    left: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fffdfa;
    box-shadow: var(--shadow);
  }

  .site-header.is-open .site-nav {
    display: flex;
  }

  .site-nav a {
    padding: 14px;
  }

  .site-nav .nav-phone {
    margin-top: 8px;
    justify-content: center;
    text-align: center;
  }

  .intro-grid,
  .hero-inner,
  .process-layout,
  .contact-layout,
  .service-grid,
  .article-list,
  .case-page-list,
  .timeline {
    grid-template-columns: 1fr;
  }

  .service-grid {
    border: 0;
    background: transparent;
    gap: 14px;
  }

  .hero-panel {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    margin-right: calc((100vw - 100%) / -2);
    padding: 0 max(18px, calc((100vw - 100%) / 2)) 2px 0;
    border-left: 0;
    scroll-snap-type: x proximity;
  }

  .stat {
    flex: 0 0 168px;
    min-height: 86px;
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    scroll-snap-align: start;
  }

  .stat strong {
    font-size: 25px;
  }

  .fee-strip {
    grid-template-columns: 1fr;
  }

  .gallery-item,
  .gallery-item.wide {
    flex-basis: min(86vw, 420px);
  }

  .process .section-heading {
    position: static;
  }

  .footer-inner {
    display: block;
  }

  .footer-inner p + p {
    margin-top: 10px;
  }

  .quick-dock {
    right: 12px;
    bottom: 12px;
  }
}

@media (max-width: 560px) {
  body {
    padding-bottom: 70px;
  }

  .site-header {
    padding: 14px 16px;
  }

  .brand {
    min-width: auto;
  }

  .brand span:last-child {
    display: none;
  }

  .hero {
    min-height: 100svh;
  }

  .hero-content {
    width: calc(100% - 36px);
    padding: 96px 0 104px;
  }

  .hero-media {
    background-size: auto 100%;
    background-position: 52% 0;
    filter: saturate(0.96) contrast(1.03) brightness(0.84);
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(10, 10, 10, 0.5), rgba(10, 10, 10, 0.12)),
      linear-gradient(180deg, rgba(0, 0, 0, 0.06) 0%, rgba(0, 0, 0, 0.18) 34%, rgba(0, 0, 0, 0.76) 78%, rgba(0, 0, 0, 0.88) 100%);
  }

  h1 {
    font-size: clamp(38px, 13vw, 56px);
  }

  .hero-copy {
    font-size: 15px;
    line-height: 1.72;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-service-pills {
    gap: 8px;
  }

  .hero-service-pills span {
    min-height: 32px;
    font-size: 12px;
  }

  .map-actions .button {
    width: 100%;
  }

  .map-panel {
    margin-inline: -2px;
  }

  .map-frame {
    display: none;
  }

  .map-mobile-preview {
    display: block;
    min-height: 380px;
  }

  .fee-calculator {
    padding-top: 20px;
    padding-bottom: 20px;
  }

  .fee-strip {
    gap: 10px;
  }

  .fee-form {
    grid-template-columns: 1fr;
  }

  .fee-form label:first-child {
    grid-column: 1 / -1;
  }

  .fee-button {
    grid-column: 1 / -1;
    width: 100%;
  }

  .contact-actions .button {
    width: 100%;
  }

  .quick-dock {
    right: 10px;
    bottom: 10px;
    left: 10px;
    grid-template-columns: repeat(3, 1fr);
    padding: 7px;
  }

  .quick-dock a {
    min-width: 0;
    min-height: 44px;
  }

  .credential-row {
    grid-template-columns: 1fr;
  }

  .service-card,
  .article-list article,
  .timeline li {
    min-height: auto;
  }

  .timeline li {
    padding: 78px 22px 24px;
  }

  .wechat-card {
    grid-template-columns: 1fr;
  }
}
