:root {
  --ink: #0d1726;
  --ink-soft: #344153;
  --muted: #667386;
  --paper: #f5f3ee;
  --surface: #ffffff;
  --surface-soft: #eceff1;
  --navy: #102337;
  --navy-2: #17354d;
  --accent: #a85a13;
  --accent-dark: #82420c;
  --gold: #c59652;
  --gold-soft: #e4d5be;
  --line: #d8dde2;
  --danger: #9f3f36;
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 10px 30px rgba(13, 23, 38, 0.07);
  --shadow-md: 0 18px 50px rgba(13, 23, 38, 0.12);
  --shadow-lg: 0 28px 80px rgba(6, 20, 34, 0.16);
  --container: 1180px;
  --header-h: 76px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 20px);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Source Han Sans SC", "Noto Sans CJK SC", "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  pointer-events: none;
  background-image: linear-gradient(rgba(13, 23, 38, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13, 23, 38, 0.018) 1px, transparent 1px);
  background-size: 48px 48px;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

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

p,
h1,
h2,
h3,
ul,
ol,
dl,
figure {
  margin-top: 0;
}

h1,
h2,
h3,
.brand b {
  font-family: "Songti SC", "Noto Serif CJK SC", "STSong", Georgia, serif;
  letter-spacing: -0.025em;
}

h1,
h2,
h3 {
  color: var(--ink);
  line-height: 1.22;
}

h1 {
  margin-bottom: 18px;
  max-width: 820px;
  font-size: clamp(2.4rem, 5vw, 4.75rem);
  font-weight: 700;
}

h1 span {
  color: var(--gold);
  font-weight: 400;
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(1.9rem, 3.4vw, 3.25rem);
}

h3 {
  font-size: clamp(1.08rem, 1.6vw, 1.35rem);
}

a:focus-visible,
summary:focus-visible {
  outline: 3px solid #4fb4d6;
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 16px;
  color: #fff;
  background: var(--navy);
  border-radius: 8px;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
  min-height: var(--header-h);
  padding: 8px max(24px, calc((100vw - var(--container)) / 2));
  border-bottom: 1px solid rgba(216, 221, 226, 0.85);
  background: rgba(250, 249, 246, 0.94);
  backdrop-filter: blur(16px);
  box-shadow: 0 4px 22px rgba(13, 23, 38, 0.05);
}

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

.brand-logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.brand-lockup-link {
  min-width: 0;
}

.brand-lockup {
  display: block;
  width: clamp(210px, 19vw, 250px);
  height: auto;
}

.mingtan-logo {
  width: clamp(136px, 14vw, 150px);
  height: auto;
}

.brand-logo-panel {
  padding: 2px 10px;
  background: var(--navy);
  border-radius: var(--radius-sm);
}

.footer-brand .mingtan-logo {
  width: 188px;
}

.brand-placeholder {
  gap: 10px;
}

.brand-mark {
  display: grid;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  place-items: center;
  color: #fff;
  border: 1px solid rgba(181, 138, 82, 0.65);
  background: var(--navy);
  border-radius: 50%;
  font-family: "Songti SC", "STSong", Georgia, serif;
  font-size: 1.35rem;
  font-weight: 700;
}

.brand span {
  display: grid;
  line-height: 1.2;
}

.brand b {
  font-size: 1.05rem;
}

.brand small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
}

.site-header nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 2vw, 28px);
}

.site-header nav a {
  position: relative;
  padding: 12px 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
}

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

.site-header nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.site-header nav a.is-active {
  color: var(--ink);
}

.site-header nav a.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-phone,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  color: #fff;
  background: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 999px;
  font-weight: 700;
  line-height: 1.2;
  box-shadow: 0 8px 20px rgba(23, 107, 135, 0.2);
  transition: background-color 180ms var(--ease), border-color 180ms var(--ease), box-shadow 180ms var(--ease);
  touch-action: manipulation;
}

.header-phone {
  min-height: 44px;
  padding: 10px 18px;
  font-size: 0.9rem;
  white-space: nowrap;
}

.button:hover,
.header-phone:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  box-shadow: 0 12px 26px rgba(14, 82, 107, 0.26);
}

.button:active,
.header-phone:active,
.mobile-consult:active {
  transform: scale(0.98);
}

.header-phone-short {
  display: none;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(280px, 0.62fr);
  gap: clamp(40px, 7vw, 100px);
  align-items: center;
  min-height: min(760px, calc(100vh - var(--header-h)));
  padding: clamp(68px, 8vw, 112px) max(24px, calc((100vw - var(--container)) / 2));
  overflow: hidden;
  color: #eaf0f4;
  background: radial-gradient(circle at 78% 18%, rgba(42, 119, 143, 0.42), transparent 32%),
    linear-gradient(130deg, #09131f 0%, #10283a 58%, #163c4e 100%);
}

.hero::before {
  position: absolute;
  top: -28%;
  left: -8%;
  width: 520px;
  height: 520px;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  box-shadow: 0 0 0 72px rgba(255, 255, 255, 0.025), 0 0 0 144px rgba(255, 255, 255, 0.018);
}

.hero-copy,
.hero-card {
  position: relative;
  z-index: 1;
}

.hero h1,
.hero h3 {
  color: #fff;
}

.eyebrow,
.section-kicker {
  margin-bottom: 14px;
  color: var(--accent);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero .eyebrow,
.contact .eyebrow {
  color: #87c7dc;
}

.hero-subtitle {
  margin-bottom: 14px;
  color: #f5e7d2;
  font-size: clamp(1.08rem, 2vw, 1.32rem);
  font-weight: 600;
}

.lead {
  max-width: 760px;
  margin-bottom: 28px;
  color: #cbd6df;
  font-size: 1.02rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-bottom: 26px;
}

.hero .button {
  padding-inline: 26px;
  background: #fff;
  border-color: #fff;
  color: var(--navy);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.22);
}

.hero .button:hover {
  color: #fff;
  background: var(--accent);
  border-color: var(--accent);
}

.hero-wechat {
  display: grid;
  min-height: 48px;
  padding: 8px 18px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  line-height: 1.15;
}

.hero-wechat span {
  color: #9eb0bd;
  font-size: 0.68rem;
}

.hero-wechat strong {
  color: #fff;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
}

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  gap: 8px;
  color: #fff;
  font-weight: 700;
}

.text-link span {
  transition: transform 180ms var(--ease);
}

.text-link:hover span {
  transform: translateX(4px);
}

.trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin-bottom: 0;
  list-style: none;
}

.trust-list li {
  position: relative;
  min-height: 36px;
  padding: 7px 12px 7px 28px;
  color: #dfe8ed;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  border-radius: 999px;
  font-size: 0.88rem;
}

.trust-list li::before {
  position: absolute;
  top: 0.66em;
  left: 13px;
  width: 6px;
  height: 6px;
  content: "";
  background: var(--gold);
  border-radius: 50%;
}

.hero-card {
  min-height: 390px;
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-lg);
}

.hero-card::after {
  position: absolute;
  right: 34px;
  bottom: 32px;
  left: 34px;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, var(--gold), transparent);
}

.card-index {
  display: block;
  margin-bottom: 82px;
  color: var(--gold-soft);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.hero-card > p {
  color: #e7edf1;
  font-family: "Songti SC", "STSong", serif;
  font-size: 1.18rem;
  line-height: 1.9;
}

.seal {
  position: absolute;
  right: 32px;
  bottom: 52px;
  display: grid;
  place-items: center;
  width: 104px;
  height: 104px;
  color: #ead9bd;
  border: 1px solid rgba(228, 213, 190, 0.62);
  border-radius: 50%;
  transform: rotate(-8deg);
}

.seal::before {
  position: absolute;
  inset: 7px;
  content: "";
  border: 1px dashed rgba(228, 213, 190, 0.42);
  border-radius: inherit;
}

.seal span {
  font-size: 0.58rem;
  letter-spacing: 0.12em;
}

.seal b {
  font-family: "Songti SC", serif;
  font-size: 1.25rem;
}

.section {
  position: relative;
  padding: clamp(76px, 9vw, 128px) max(24px, calc((100vw - var(--container)) / 2));
  scroll-margin-top: calc(var(--header-h) + 20px);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(260px, 0.62fr);
  gap: 50px;
  align-items: end;
  margin-bottom: 48px;
}

.section-heading h2 {
  margin-bottom: 0;
}

.section-heading > p {
  margin-bottom: 4px;
  color: var(--muted);
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.82fr);
  gap: clamp(52px, 8vw, 110px);
  align-items: center;
  background: var(--surface);
}

.about-media {
  display: grid;
  gap: 14px;
}

.about-photo,
.privacy-visual {
  margin-bottom: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--surface-soft);
  box-shadow: var(--shadow-sm);
}

.about-photo img,
.privacy-visual img {
  width: 100%;
  height: auto;
  object-fit: contain;
  transition: transform 500ms var(--ease);
}

.about-photo img {
  max-height: 720px;
  margin-inline: auto;
  background: var(--navy);
}

.media-placeholder {
  min-height: 300px;
  background: linear-gradient(145deg, #102337, #1b405a);
}

.media-placeholder > div {
  display: grid;
  min-height: 300px;
  padding: 32px;
  place-content: center;
  color: #fff;
  text-align: center;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 32px 32px;
}

.media-placeholder > div span {
  color: var(--gold-soft);
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.media-placeholder > div strong {
  margin: 8px 0 4px;
  font-family: "Songti SC", "STSong", Georgia, serif;
  font-size: clamp(1.25rem, 2.4vw, 2rem);
}

.media-placeholder > div small {
  color: rgba(255,255,255,.72);
}

.process-visual.media-placeholder > div {
  min-height: 410px;
}

footer .brand-mark {
  color: var(--navy);
  background: var(--gold-soft);
}

.about-photo:hover img,
.privacy-visual:hover img {
  transform: scale(1.018);
}

figcaption {
  padding: 11px 16px;
  color: var(--muted);
  background: #fff;
  font-size: 0.76rem;
}

.intro-copy {
  position: relative;
  padding-left: 32px;
  border-left: 1px solid var(--gold-soft);
}

.intro-copy p {
  color: var(--ink-soft);
}

.about-photo-secondary {
  margin-top: 28px;
}

.services {
  color: #d6e0e7;
  background: var(--navy);
}

.services .section-kicker {
  color: #7fc4dc;
}

.services h2,
.services h3 {
  color: #fff;
}

.services .section-heading > p {
  color: #aebcc7;
}

.service-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.service-detail-grid article {
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
  transition: border-color 200ms var(--ease), background-color 200ms var(--ease), box-shadow 200ms var(--ease);
}

.service-detail-grid article:hover {
  border-color: rgba(127, 196, 220, 0.42);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.service-detail-grid article:last-child {
  grid-column: 1 / -1;
}

.service-title {
  display: flex;
  gap: 16px;
  align-items: baseline;
  padding-bottom: 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.service-title span {
  color: #79bed5;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.service-title h3 {
  margin-bottom: 0;
}

.service-facts {
  display: grid;
  gap: 10px;
}

.service-facts p {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 10px;
  margin-bottom: 0;
  color: #bac7d0;
  font-size: 0.9rem;
}

.service-facts b {
  color: #f4e5cd;
  font-weight: 700;
}

.section-contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 26px 30px;
  margin-top: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.section-contact h3,
.section-contact p {
  margin-bottom: 0;
}

.section-contact p {
  color: var(--muted);
}

.section-contact-details {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  flex: 0 0 auto;
}

.section-contact-details > a,
.section-contact-details > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 700;
  white-space: nowrap;
}

.section-contact-details > a:not(.button) {
  color: #fff;
  background: var(--accent);
}

.section-contact-details > span {
  color: var(--ink);
  background: var(--surface-soft);
  border: 1px solid var(--line);
}

.section-contact-dark {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.075);
  box-shadow: none;
}

.section-contact-dark h3 {
  color: #fff;
}

.section-contact-dark p {
  color: #bdc9d2;
}

.section-contact-dark .section-contact-details > span {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
}

.service-visual {
  display: grid;
  grid-template-columns: minmax(180px, 260px) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  margin-top: 36px;
  padding: clamp(24px, 4vw, 42px);
  color: var(--ink);
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.service-visual figure {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
}

.service-visual img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.service-visual figcaption,
.contact-photo figcaption {
  padding: 10px 14px;
  color: var(--muted);
  background: var(--surface-soft);
  font-size: .78rem;
}

.service-visual h3 {
  margin-bottom: 10px;
  color: var(--ink);
  font-size: clamp(1.35rem, 2.4vw, 2rem);
}

.service-visual p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

.process {
  display: grid;
  grid-template-columns: minmax(260px, 0.62fr) minmax(0, 1.38fr);
  gap: clamp(50px, 8vw, 100px);
  align-items: start;
  background: var(--paper);
}

.process > div:first-child {
  position: sticky;
  top: calc(var(--header-h) + 40px);
}

.process-visual {
  margin: 34px 0 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.process-visual img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.process ol {
  padding: 0;
  margin: 0;
  list-style: none;
  counter-reset: steps;
}

.process li {
  position: relative;
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 24px;
  padding: 0 0 38px;
}

.process li:not(:last-child)::after {
  position: absolute;
  top: 54px;
  bottom: 8px;
  left: 27px;
  width: 1px;
  content: "";
  background: var(--line);
}

.process li > b {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  color: #fff;
  background: var(--navy);
  border-radius: 50%;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
}

.process li h3 {
  margin: 6px 0 8px;
}

.process li p {
  margin-bottom: 0;
  color: var(--muted);
}

.process .section-contact {
  flex-direction: column;
  align-items: stretch;
}

.legal {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: clamp(30px, 6vw, 80px);
  color: #e6edf1;
  background: linear-gradient(140deg, #152534, #0d1926);
}

.legal h2 {
  color: #fff;
}

.legal .section-kicker {
  color: #dcbb89;
}

.legal-mark {
  display: grid;
  place-items: center;
  width: 124px;
  height: 124px;
  color: #f0d5aa;
  border: 1px solid rgba(240, 213, 170, 0.4);
  border-radius: 50%;
  font-family: "Songti SC", serif;
  font-size: 3.5rem;
}

.legal-intro {
  max-width: 900px;
  color: #c0ccd5;
  font-size: 1.02rem;
}

.red-lines {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 28px;
  padding: 24px 0 24px 22px;
  color: #e2e8ec;
}

.red-lines li::marker {
  color: #d9aa70;
}

.legal-note {
  padding: 20px 24px;
  margin-bottom: 0;
  color: #eadbc3;
  border-left: 3px solid var(--gold);
  background: rgba(255, 255, 255, 0.06);
}

.privacy {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(320px, 1.18fr);
  gap: 44px 70px;
  background: #fff;
}

.privacy-heading > p:last-child {
  color: var(--muted);
}

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

.privacy-grid article {
  position: relative;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fbfbfa;
}

.privacy-grid article > span {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--accent);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.privacy-grid h3 {
  margin-bottom: 10px;
}

.privacy-grid p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.privacy-grid .privacy-warning {
  color: #fff;
  border-color: var(--danger);
  background: var(--danger);
}

.privacy-grid .privacy-warning h3,
.privacy-grid .privacy-warning > span,
.privacy-grid .privacy-warning p {
  color: #fff;
}

.privacy-footnote {
  grid-column: 1 / -1;
  padding: 18px 22px;
  margin-bottom: 0;
  color: var(--ink-soft);
  border: 1px solid var(--gold-soft);
  border-radius: var(--radius-sm);
  background: #faf5ec;
}

.cases {
  background: var(--paper);
}

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

.case-list article {
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 8px 22px rgba(13, 23, 38, 0.04);
}

.case-list article > span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 10px;
  margin-bottom: 18px;
  color: var(--accent-dark);
  background: #e4f0f4;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.case-list h3 {
  margin-bottom: 22px;
}

.case-list dl,
.case-list dd {
  margin-bottom: 0;
}

.case-list dl > div {
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: 14px;
  padding: 12px 0;
  border-top: 1px solid #e8ebee;
}

.case-list dt {
  color: var(--ink);
  font-weight: 700;
}

.case-list dd {
  margin-left: 0;
  color: var(--muted);
  font-size: 0.91rem;
}

.directory {
  background: #f5f7f8;
}

.directory-heading {
  margin-bottom: 26px;
}

.directory-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 34px;
}

.directory-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 12px;
  color: var(--ink-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-size: 0.76rem;
  font-weight: 700;
}

.directory-jump {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 14px 16px;
  margin: -12px 0 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.72);
}

.directory-jump > span {
  margin-right: 4px;
  color: var(--ink-soft);
  font-size: 0.76rem;
  font-weight: 800;
}

.directory-jump a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 6px 13px;
  color: var(--accent-dark);
  border: 1px solid var(--gold-soft);
  border-radius: 999px;
  background: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  transition: color 160ms var(--ease), border-color 160ms var(--ease), background-color 160ms var(--ease);
}

.directory-jump a:hover {
  color: #fff;
  border-color: var(--accent);
  background: var(--accent);
}

.directory-regions {
  display: grid;
  gap: 26px;
}

.directory-region {
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: 0 10px 28px rgba(13, 23, 38, 0.045);
}

.directory-region-heading {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.directory-region-heading p {
  margin-bottom: 3px;
  color: var(--accent);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.directory-region-heading h3 {
  margin-bottom: 0;
  font-size: clamp(1.45rem, 2.5vw, 2rem);
  scroll-margin-top: 26px;
}

.directory-region-heading > span {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
  white-space: nowrap;
}

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

.directory-card {
  padding: 22px;
  border: 1px solid #e1e5e8;
  border-radius: var(--radius-sm);
  background: #fbfbfa;
}

.directory-card-featured {
  border-color: rgba(168, 90, 19, 0.4);
  background: linear-gradient(145deg, #fffaf2, #fff);
}

.directory-card-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 18px;
}

.directory-card-head p {
  margin-bottom: 4px;
  color: var(--accent-dark);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.directory-card h4 {
  margin: 0;
  color: var(--ink);
  font-family: "Songti SC", "STSong", serif;
  font-size: 1.12rem;
  line-height: 1.45;
}

.directory-badge {
  flex: 0 0 auto;
  padding: 5px 9px;
  color: #fff;
  background: var(--accent);
  border-radius: 999px;
  font-size: 0.66rem;
  font-weight: 800;
  white-space: nowrap;
}

.directory-badge-neutral {
  color: #295064;
  background: #e4f0f4;
}

.directory-badge-pending {
  color: #6d5a3b;
  background: #f4ead8;
}

.directory-card dl,
.directory-card dd {
  margin: 0;
}

.directory-card dl > div {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  gap: 12px;
  padding: 9px 0;
  border-top: 1px solid #e8ebee;
}

.directory-card dt {
  color: var(--ink-soft);
  font-size: 0.8rem;
  font-weight: 700;
}

.directory-card dd {
  min-width: 0;
  color: var(--muted);
  font-size: 0.84rem;
  overflow-wrap: anywhere;
}

.directory-card dd a {
  color: var(--accent-dark);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(168, 90, 19, 0.28);
  text-underline-offset: 3px;
}

.directory-card dd small {
  display: block;
  margin-top: 2px;
  color: #7a8790;
  font-size: 0.72rem;
}

.directory-remark {
  padding-top: 13px;
  margin: 4px 0 0;
  color: var(--muted);
  border-top: 1px dashed #d9dee2;
  font-size: 0.82rem;
  line-height: 1.7;
}

.directory-remark a {
  color: var(--accent-dark);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(168, 90, 19, 0.28);
  text-underline-offset: 3px;
}

.directory-disclaimer {
  padding: 18px 20px;
  margin: 24px 0 0;
  color: var(--ink-soft);
  border: 1px solid var(--gold-soft);
  border-radius: var(--radius-sm);
  background: #faf5ec;
  font-size: 0.86rem;
}

.faq {
  display: grid;
  grid-template-columns: minmax(260px, 0.62fr) minmax(0, 1.38fr);
  gap: 40px 90px;
  align-items: start;
  background: #fff;
}

.faq > div:first-child {
  position: sticky;
  top: calc(var(--header-h) + 40px);
}

.accordion details {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  transition: border-color 180ms var(--ease), box-shadow 180ms var(--ease);
}

.accordion details:last-child {
  border-bottom: 1px solid var(--line);
}

.accordion {
  display: grid;
  gap: 10px;
}

.accordion details[open] {
  border-color: rgba(168, 90, 19, 0.35);
  box-shadow: 0 12px 28px rgba(13, 23, 38, 0.07);
}

.accordion summary {
  display: grid;
  grid-template-columns: 1fr 32px;
  gap: 20px;
  align-items: center;
  min-height: 72px;
  padding: 16px 16px;
  cursor: pointer;
  color: var(--ink);
  font-size: 1.02rem;
  font-weight: 700;
  list-style: none;
}

.accordion summary::-webkit-details-marker {
  display: none;
}

.accordion summary span {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  color: var(--accent);
  border: 1px solid var(--line);
  border-radius: 50%;
  transition: transform 180ms var(--ease), color 180ms var(--ease), background-color 180ms var(--ease);
}

.accordion details[open] summary span {
  color: #fff;
  background: var(--accent);
  border-color: var(--accent);
  transform: rotate(45deg);
}

.accordion details p {
  max-width: 760px;
  padding: 0 56px 24px 16px;
  margin-bottom: 0;
  color: var(--muted);
}

.faq .section-contact {
  grid-column: 2;
}

.section-contact-final {
  background: #f5f8f9;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.65fr);
  gap: clamp(50px, 8vw, 100px);
  padding: clamp(80px, 10vw, 140px) max(24px, calc((100vw - var(--container)) / 2));
  color: #d4dfe6;
  background: radial-gradient(circle at 82% 15%, rgba(23, 107, 135, 0.4), transparent 30%), var(--navy);
  scroll-margin-top: calc(var(--header-h) + 20px);
}

.contact h2 {
  color: #fff;
}

.contact > div:first-child > p:not(.eyebrow) {
  max-width: 680px;
  color: #bdc9d1;
}

.contact-details {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 34px;
}

.contact-details p {
  min-height: 112px;
  padding: 18px;
  margin-bottom: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
}

.contact-details b,
.contact-details span,
.contact-details a {
  display: block;
}

.contact-details b {
  margin-bottom: 8px;
  color: #8da2b0;
  font-size: 0.72rem;
}

.contact-details a,
.contact-details span {
  color: #fff;
  font-weight: 700;
  line-height: 1.5;
}

.contact-panel {
  align-self: center;
  padding: 32px;
  color: var(--ink);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-lg);
}

.contact-panel > p {
  font-weight: 800;
}

.contact-panel ul {
  padding-left: 20px;
  color: var(--muted);
}

.contact-panel .button {
  width: 100%;
  margin-top: 10px;
}

.contact-panel small {
  display: block;
  margin-top: 12px;
  color: var(--muted);
  text-align: center;
}

.contact-photo {
  margin: 26px 0 0;
  overflow: hidden;
  color: var(--ink);
  background: var(--surface);
  border-radius: var(--radius);
}

.contact-photo img {
  width: 100%;
  max-height: 470px;
  object-fit: cover;
  object-position: center top;
}

footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px 70px;
  align-items: start;
  padding: 46px max(24px, calc((100vw - var(--container)) / 2));
  color: #aebbc5;
  background: #09121d;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand b {
  color: #fff;
}

.footer-brand small,
footer > div:first-child > p {
  color: #8899a6;
}

footer > div:first-child > p {
  margin: 18px 0 0;
  font-size: 0.82rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 22px;
}

.footer-links a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  font-size: 0.82rem;
}

.footer-links a:hover {
  color: #fff;
}

.copyright {
  grid-column: 1 / -1;
  padding-top: 24px;
  margin-bottom: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #677988;
  font-size: 0.76rem;
}

.mobile-consult {
  display: none;
}

.mobile-anchor-nav {
  display: none;
}

/* Trust-and-authority hero: real proof is more useful than decorative effects. */
.hero {
  grid-template-columns: minmax(0, 1.12fr) minmax(360px, 0.88fr);
  gap: clamp(44px, 6vw, 84px);
  min-height: min(720px, calc(100vh - var(--header-h)));
  background: radial-gradient(circle at 84% 14%, rgba(197, 150, 82, 0.18), transparent 30%),
    radial-gradient(circle at 18% 110%, rgba(42, 119, 143, 0.22), transparent 36%),
    linear-gradient(132deg, #08131f 0%, #10283a 58%, #173b4b 100%);
}

.hero-copy {
  max-width: 760px;
}

.hero .button {
  color: #fff;
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 14px 34px rgba(168, 90, 19, 0.3);
}

.hero .button:hover {
  color: #fff;
  background: var(--accent-dark);
  border-color: var(--accent-dark);
}

.hero h1 {
  font-size: clamp(2.55rem, 5vw, 4.6rem);
  text-wrap: balance;
}

.hero-card.hero-proof {
  min-height: 0;
  padding: 0;
  overflow: hidden;
  background: #f8fafc;
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
  backdrop-filter: none;
}

.hero-card.hero-proof::after {
  display: none;
}

.hero-proof figure {
  position: relative;
  margin: 0;
  background: var(--navy);
}

.hero-proof figure::after {
  position: absolute;
  inset: auto 0 0;
  height: 38%;
  content: "";
  pointer-events: none;
  background: linear-gradient(transparent, rgba(5, 15, 24, 0.78));
}

.hero-proof figure img {
  width: 100%;
  height: clamp(240px, 26vw, 330px);
  object-fit: cover;
  object-position: center 28%;
}

.hero-proof figcaption {
  position: absolute;
  right: 20px;
  bottom: 16px;
  left: 20px;
  z-index: 1;
  padding: 0;
  color: #fff;
  background: transparent;
  font-size: 0.78rem;
  font-weight: 700;
}

.hero-proof-body {
  padding: 24px 26px 26px;
  color: var(--ink);
}

.proof-label {
  margin-bottom: 8px;
  color: var(--accent-dark);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.hero-proof-body h2 {
  margin-bottom: 8px;
  font-size: clamp(1.35rem, 2.2vw, 1.8rem);
}

.hero-proof-body > p:not(.proof-label) {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

.hero-proof-body ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.hero-proof-body li {
  display: grid;
  gap: 2px;
  padding-top: 11px;
  border-top: 2px solid var(--gold-soft);
}

.hero-proof-body li b {
  color: var(--ink);
  font-size: 0.82rem;
}

.hero-proof-body li span {
  color: var(--muted);
  font-size: 0.72rem;
}

.service-detail-grid article,
.privacy-grid article,
.case-list article {
  transition: transform 220ms var(--ease), box-shadow 220ms var(--ease), border-color 220ms var(--ease);
}

@media (hover: hover) and (pointer: fine) {
  .service-detail-grid article:hover,
  .privacy-grid article:hover,
  .case-list article:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
  }
}

@media (min-width: 901px) {
  .intro {
    align-items: start;
  }

  .about-photo-secondary {
    width: min(100%, 350px);
  }

  .legal {
    display: block;
  }

  .legal::after {
    display: block;
    clear: both;
    content: "";
  }

  .legal-mark {
    float: left;
    margin: 0 48px 24px 0;
  }

  .faq {
    display: grid;
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .faq > div:first-child {
    position: static;
    display: grid;
    grid-template-columns: minmax(260px, 0.62fr) minmax(0, 1.38fr);
    gap: 90px;
    align-items: end;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--line);
  }

  .faq > div:first-child .section-kicker {
    grid-column: 1 / -1;
    margin-bottom: -20px;
  }

  .faq > div:first-child h2 {
    grid-column: 1 / -1;
    max-width: 760px;
    margin-bottom: 0;
  }

  .faq .accordion,
  .faq .section-contact {
    grid-column: 1;
    width: min(100%, 1000px);
    margin-right: auto;
    margin-left: auto;
  }
}

@media (max-width: 1120px) {
  .site-header {
    gap: 18px;
  }

  .site-header nav {
    gap: 14px;
  }

  .site-header nav a {
    font-size: 0.82rem;
  }

  .header-phone-full {
    display: none;
  }

  .header-phone-short {
    display: inline;
  }

  .hero {
    grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.82fr);
  }
}

@media (max-width: 900px) {
  :root {
    --header-h: 68px;
  }

  .site-header {
    position: relative;
    top: auto;
    grid-template-columns: 1fr auto;
    padding-inline: 20px;
    padding-block: 6px;
  }

  .site-header nav {
    display: none;
  }

  .site-header .mingtan-logo {
    width: min(42vw, 142px);
  }

  .mobile-anchor-nav {
    position: sticky;
    top: 0;
    z-index: 45;
    display: flex;
    min-height: 52px;
    padding: 4px 14px;
    overflow-x: auto;
    border-bottom: 1px solid var(--line);
    background: rgba(250, 249, 246, 0.96);
    backdrop-filter: blur(14px);
    scrollbar-width: none;
  }

  .mobile-anchor-nav::-webkit-scrollbar {
    display: none;
  }

  .mobile-anchor-nav a {
    position: relative;
    display: grid;
    flex: 1 0 56px;
    min-height: 44px;
    place-items: center;
    padding-inline: 8px;
    color: var(--ink-soft);
    font-size: 0.78rem;
    font-weight: 700;
    touch-action: manipulation;
  }

  .mobile-anchor-nav a::after {
    position: absolute;
    right: 14px;
    bottom: 0;
    left: 14px;
    height: 2px;
    content: "";
    background: var(--accent);
    border-radius: 2px;
    transform: scaleX(0);
    transition: transform 180ms var(--ease);
  }

  .mobile-anchor-nav a.is-active {
    color: var(--accent-dark);
  }

  .mobile-anchor-nav a.is-active::after {
    transform: scaleX(1);
  }

  html {
    scroll-padding-top: 54px;
  }

  .section {
    scroll-margin-top: 54px;
  }

  .hero,
  .intro,
  .process,
  .privacy,
  .faq,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-card {
    min-height: 300px;
  }

  .hero-card.hero-proof {
    min-height: 0;
  }

  .card-index {
    margin-bottom: 40px;
  }

  .process > div:first-child,
  .faq > div:first-child {
    position: static;
  }

  .privacy-grid,
  .case-list {
    grid-template-columns: 1fr;
  }

  .faq .section-contact {
    grid-column: 1;
  }

  .contact-details {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  body {
    padding-bottom: calc(84px + env(safe-area-inset-bottom));
  }

  .section,
  .contact,
  .hero {
    padding-inline: 20px;
  }

  .brand b {
    font-size: 0.94rem;
  }

  .brand small {
    display: none;
  }

  .header-phone {
    min-height: 44px;
    padding-inline: 16px;
  }

  .hero {
    padding-top: 48px;
    padding-bottom: 68px;
  }

  .hero h1 {
    font-size: clamp(2.35rem, 11vw, 3.5rem);
  }

  .hero-proof figure img {
    height: min(74vw, 330px);
  }

  .hero-proof-body {
    padding: 22px 20px 24px;
  }

  .hero-actions {
    align-items: stretch;
  }

  .hero-actions .button {
    flex: 1 1 100%;
  }

  .hero-wechat {
    flex: 1 1 auto;
    border-radius: 14px;
  }

  .service-detail-grid {
    grid-template-columns: 1fr;
  }

  .directory-grid {
    grid-template-columns: 1fr;
  }

  .service-visual {
    grid-template-columns: 1fr;
  }

  .service-visual figure {
    max-width: 320px;
    margin-inline: auto;
  }

  .service-detail-grid article:last-child {
    grid-column: auto;
  }

  .service-facts p {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .section-heading,
  .legal {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .legal-mark {
    width: 76px;
    height: 76px;
    font-size: 2rem;
  }

  .red-lines {
    grid-template-columns: 1fr;
  }

  .section-contact {
    flex-direction: column;
    align-items: stretch;
    padding: 24px;
  }

  .section-contact-details {
    display: grid;
    grid-template-columns: 1fr;
  }

  .section-contact-details > a,
  .section-contact-details > span {
    width: 100%;
    white-space: normal;
  }

  .contact-details {
    grid-template-columns: 1fr;
  }

  .contact-details p {
    min-height: 0;
  }

  .mobile-consult {
    position: fixed;
    right: 16px;
    bottom: calc(12px + env(safe-area-inset-bottom));
    left: 16px;
    z-index: 40;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 12px 20px;
    color: #fff;
    background: var(--accent);
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 999px;
    box-shadow: 0 14px 36px rgba(5, 33, 45, 0.34);
    font-weight: 800;
    transition: transform 160ms var(--ease), background-color 160ms var(--ease), box-shadow 160ms var(--ease);
    touch-action: manipulation;
  }

  footer {
    grid-template-columns: 1fr;
    padding: 42px 20px;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .copyright {
    grid-column: 1;
  }
}

@media (max-width: 480px) {
  .site-header {
    padding-inline: 14px;
  }

  .site-header .brand-lockup {
    width: min(42vw, 142px);
  }

  .header-phone {
    padding-inline: 13px;
    font-size: 0.82rem;
  }

  .directory-region {
    padding: 18px;
  }

  .directory-jump {
    align-items: stretch;
    padding: 13px;
  }

  .directory-jump > span {
    flex: 1 0 100%;
    margin: 0 0 2px;
  }

  .directory-jump a {
    flex: 1 0 calc(33.333% - 8px);
  }

  .directory-card {
    padding: 18px;
  }

  .directory-card-head {
    display: grid;
  }

  .directory-badge {
    justify-self: start;
  }

  h1 {
    font-size: clamp(2.2rem, 11vw, 3rem);
  }

  .hero-card,
  .contact-panel {
    padding: 24px;
  }

  .seal {
    right: 24px;
    bottom: 42px;
    width: 88px;
    height: 88px;
  }

  .privacy-grid {
    grid-template-columns: 1fr;
  }

  .process li {
    grid-template-columns: 52px 1fr;
    gap: 16px;
  }

  .process li > b {
    width: 44px;
    height: 44px;
  }

  .process li:not(:last-child)::after {
    top: 44px;
    left: 21px;
  }

  .case-list dl > div {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .accordion summary {
    min-height: 66px;
    font-size: 0.96rem;
  }

  .accordion details p {
    padding-right: 4px;
  }

  footer > div:first-child > p {
    margin-left: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
