:root {
  --ink: #352306;
  --ink-deep: #312f1f;
  --night: #201f16;
  --night-alt: #212017;
  --cream: #f6f4ee;
  --paper: #ffffff;
  --olive: #86845b;
  --line: #d2d3ce;
  --muted: #777777;
  --footer-muted: #bdbdbd;
  --container: 1440px;
  --gutter: 32px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 112px;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: #000;
  background: var(--paper);
  font-family: "Source Han Sans SC", "Noto Sans SC", "Microsoft YaHei", system-ui, sans-serif;
  font-size: 16px;
  line-height: 2;
  -webkit-font-smoothing: antialiased;
}

body.menu-open { overflow: hidden; }

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

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

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

button, a { -webkit-tap-highlight-color: transparent; }

:focus-visible {
  outline: 3px solid #b8a86a;
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 9999;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  transform: translateY(-160%);
  color: var(--night);
  background: var(--cream);
  transition: transform .2s ease;
}

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

.container {
  width: min(var(--container), calc(100% - (var(--gutter) * 2)));
  margin-inline: auto;
}

h1, h2, h3, p { margin-top: 0; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: var(--ink-deep);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.6;
}

.eyebrow::before {
  width: 24px;
  height: 2px;
  flex: none;
  background: currentColor;
  content: "";
}

.eyebrow--light { color: var(--cream); }

.button {
  display: inline-flex;
  min-height: 72px;
  align-items: center;
  justify-content: center;
  gap: 16px;
  border: 0;
  padding: 18px 32px;
  cursor: pointer;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.6;
  transition: background-color .25s var(--ease), color .25s var(--ease), transform .25s var(--ease);
}

.button img, .text-link img { flex: none; transition: transform .25s var(--ease); }
.button:hover, .button:focus-visible { transform: translateY(-2px); }
.button:hover img, .text-link:hover img, .text-link:focus-visible img { transform: translateX(5px); }
.button--olive { color: #fff; background: var(--olive); }
.button--olive:hover { background: #74724b; }
.button--cream { color: var(--ink); background: var(--cream); }
.button--cream:hover { background: #fff; }
.button--dark { color: var(--cream); background: #2f2f21; }
.button--dark:hover { background: var(--ink); }

.text-link {
  position: relative;
  display: inline-flex;
  width: max-content;
  align-items: center;
  gap: 10px;
  padding-bottom: 6px;
  color: var(--ink);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.6;
}

.text-link::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: currentColor;
  content: "";
  transform-origin: left;
  transition: transform .25s var(--ease);
}

.text-link:hover::after { transform: scaleX(.55); }
.text-link--light { color: var(--cream); }

/* Public header */
.topbar { height: 52px; color: #fff; background: var(--night); }
.topbar__inner { display: flex; height: 100%; align-items: center; justify-content: space-between; }
.topbar__item { display: flex; align-items: center; gap: 8px; margin: 0; color: #fff; font-size: 16px; line-height: 1.6; }
.topbar__item img { width: 24px; height: 24px; }
.topbar__phone img { width: 20px; height: 20px; }
.topbar__phone { transition: opacity .2s ease; }
.topbar__phone:hover { opacity: .75; }

.navbar { position: relative; z-index: 100; height: 96px; background: var(--cream); }
.navbar__inner { display: flex; height: 100%; align-items: center; }
.brand { width: 207px; flex: none; }
.brand img { width: 207px; height: 48px; object-fit: contain; }
.primary-nav { display: flex; min-width: 0; flex: 1; align-items: center; justify-content: flex-end; gap: clamp(22px, 4.15vw, 80px); }
.primary-nav ul { display: flex; align-items: stretch; gap: clamp(18px, 2.08vw, 40px); margin: 0; padding: 0; list-style: none; }
.primary-nav li { display: flex; }
.primary-nav li a { position: relative; display: flex; align-items: center; color: var(--ink); font-size: 20px; line-height: 1.6; white-space: nowrap; }
.primary-nav li a::after { position: absolute; right: 0; bottom: -32px; left: 0; height: 4px; background: var(--ink); content: ""; transform: scaleX(0); transition: transform .25s var(--ease); }
.primary-nav li a:hover::after, .primary-nav li a.is-active::after { transform: scaleX(1); }
.nav-consult { display: inline-flex; width: 150px; height: 56px; flex: none; align-items: center; justify-content: center; border: 1px solid var(--ink); color: var(--ink); font-size: 20px; line-height: 1.6; transition: color .2s ease, background .2s ease; }
.nav-consult:hover { color: var(--cream); background: var(--ink); }
.menu-toggle { position: relative; z-index: 101; display: none; width: 48px; height: 48px; align-items: center; justify-content: center; flex-direction: column; gap: 6px; border: 0; padding: 0; color: var(--ink); background: transparent; cursor: pointer; }
.menu-toggle span { display: block; width: 26px; height: 2px; background: currentColor; transition: transform .25s ease, opacity .2s ease; }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(8px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-8px) rotate(-45deg); }

/* Hero */
.hero {
  position: relative;
  height: 792px;
  overflow: hidden;
  color: var(--cream);
  background: #392b1b url("../images/hero.png") center 47% / cover no-repeat;
}

.hero::before { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(45,30,14,.8), rgba(45,30,14,.25) 50%, rgba(45,30,14,.8)); content: ""; }
.hero__content { position: relative; z-index: 1; padding-top: 133px; }
.hero h1 { margin: 50px 0 26px; font-size: 56px; font-weight: 700; line-height: 1.6; letter-spacing: .01em; }
.hero__lead { width: 707px; max-width: 100%; margin-bottom: 66px; font-size: 24px; font-weight: 500; line-height: 2; }
.hero__actions { display: flex; gap: 32px; }
.hero__actions .button:first-child { min-width: 253px; }
.hero__actions .button:last-child { min-width: 180px; }

/* About */
.about-home { min-height: 1000px; background: #fff; }
.about-home__inner { padding-top: 120px; }
.about-home__title { max-width: 960px; margin: 47px 0 -1px; color: var(--ink); font-size: 48px; font-weight: 500; line-height: 1.667; }
.about-home__layout { display: grid; grid-template-columns: 1fr 1fr; column-gap: 21px; }
.about-home__graphic { height: 560px; padding-left: 40px; overflow: hidden; }
.about-home__graphic img { width: 560px; height: 560px; object-fit: contain; opacity: .4; }
.about-home__copy { padding: 26px 0 0 0; color: var(--muted); }
.about-home__copy p { margin-bottom: 24px; line-height: 2; text-align: justify; text-justify: inter-ideograph; }
.about-home__copy .button { margin-top: 16px; }

/* Four overview */
.business-overview { min-height: 1107px; background: #fff; }
.business-overview__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.overview-card { min-height: 240px; border: 1px solid var(--line); padding: 40px 72px; color: #000; transition: color .25s ease, background .25s ease, transform .25s ease; }
.overview-card + .overview-card { border-left: 0; }
.overview-card h2 { margin: 0 0 16px; color: var(--ink); font-size: 24px; line-height: 1.333; }
.overview-card p { margin: 0; line-height: 2; }
.overview-card.is-featured, .overview-card:hover { color: var(--cream); background: var(--olive); }
.overview-card.is-featured h2, .overview-card:hover h2 { color: var(--cream); }
.business-overview__image { height: 760px; overflow: hidden; }
.business-overview__image img { width: 100%; height: 100%; object-fit: cover; }

/* Core services */
.core-services { min-height: 1160px; padding-top: 0; background: #fff; }
.section-heading--split { display: flex; min-height: 206px; align-items: flex-start; justify-content: space-between; padding-top: 0; }
.section-heading--split .eyebrow { margin-top: 0; }
.section-heading--split h2 { position: relative; top: -3px; margin: 0; color: var(--ink); font-size: 48px; font-weight: 500; line-height: 1.667; text-align: right; }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.service-card { display: flex; min-height: 420px; flex-direction: column; border: 1px solid var(--line); padding: 80px 40px 32px; }
.service-card:not(:nth-child(4n + 1)) { border-left: 0; }
.service-card:nth-child(n + 5) { border-top: 0; }
.service-card h3 { margin: 23px 0 24px; font-size: 24px; line-height: 1.333; }
.service-card p { margin-bottom: 26px; color: var(--muted); line-height: 2; text-align: justify; }
.service-card .text-link { margin-top: auto; }
.service-icon { position: relative; width: 64px; height: 64px; flex: none; }
.service-icon > img:only-child { width: 64px; height: 64px; }
.icon-layer { position: absolute; max-width: none; }
.l01 { inset: 2.27% .31% 31.17% .39%; width: 99.3%; height: 66.56%; }
.l02 { inset: 11.33% 9.38% 2.27%; width: 81.24%; height: 86.4%; }
.l03 { inset: 27.41% 28.9% 53.36% 26.48%; width: 44.62%; height: 19.23%; }
.l04 { inset: 18.75% 20.47% 47.66%; width: 59.06%; height: 33.59%; }
.l05 { inset: .37% 54.06% 18.44% .39%; width: 45.55%; height: 81.19%; }
.l06 { inset: 8.86% .45% .39% 7.42%; width: 92.13%; height: 90.75%; }
.l07 { inset: .45% .37% 7.42% 49.38%; width: 50.25%; height: 92.13%; }
.l08 { inset: 8.89% 8.94% 61.48% 61.47%; width: 29.59%; height: 29.63%; }
.l09 { inset: 15.78% .39% .39%; width: 99.22%; height: 83.83%; }
.l10 { inset: .39% 10.94% 10.78%; width: 78.12%; height: 88.83%; }
.l11 { inset: 16.56% 37.81% 17.81%; width: 24.38%; height: 65.63%; }
.l12 { inset: .39% 12.73% 39.22% 12.81%; width: 74.46%; height: 60.39%; }
.l13 { inset: 23.28% .39% 39.22%; width: 99.22%; height: 37.5%; }
.l14 { inset: 16.25% .46% .39%; width: 99.15%; height: 83.36%; }
.l15 { inset: 15.7% 14.06% 30.78% 10.47%; width: 75.47%; height: 53.52%; }
.l16 { inset: 58.28% 51.56% 40.16% 16.33%; width: 32.11%; height: 1.56%; }
.l17 { inset: 30.31% 40.08% 40.16% 20.78%; width: 39.14%; height: 29.53%; }
.l18 { inset: 6.02% 4.45% 6.02% .78%; width: 94.77%; height: 87.96%; }
.l19 { inset: 54% .68% 18.59% 71.96%; width: 27.36%; height: 27.41%; }
.l20 { inset: 32.62% 12.27% 21.88% 1.56%; width: 86.17%; height: 45.5%; }
.l21 { inset: 26.64% 7.5% 13.59% 10.31%; width: 82.19%; height: 59.77%; }
.l22 { inset: 5.33% .39% 5.31%; width: 99.22%; height: 89.36%; }
.l23 { inset: .39% 13.52%; width: 72.96%; height: 99.22%; }
.l24 { inset: 9.69% 22.81%; width: 54.38%; height: 80.62%; }

/* Process */
.process-section { min-height: 954px; background: #f5f5f0; }
.process-section__layout { display: grid; grid-template-columns: 1fr 740px; gap: 214px; padding-top: 120px; }
.process-section__intro { min-width: 0; }
.process-section__intro h2 { margin: 47px 0 36px; color: var(--ink); font-size: 48px; font-weight: 500; line-height: 1.667; }
.process-section__intro > p:last-child { width: 486px; max-width: 100%; margin: 0; line-height: 2; text-align: justify; }
.process-list { margin: 34px 0 0; padding: 0; list-style: none; }
.process-list li { display: grid; grid-template-columns: 40px 1fr; gap: 21px; border-bottom: 2px solid var(--line); margin-bottom: 42px; padding: 0 0 24px; align-content: start; }
.process-list li + li { padding-top: 0; }
.process-list li > span { display: grid; width: 40px; height: 40px; place-items: center; color: #fff; background: var(--olive); font-size: 24px; font-weight: 700; line-height: 1; }
.process-list h3 { margin: -4px 0 2px; font-size: 24px; line-height: 1.4; }
.process-list p { margin: 0; color: var(--muted); line-height: 2; }

/* Solutions */
.solutions-home { position: relative; min-height: 1420px; overflow: hidden; color: var(--cream); background: var(--night-alt); }
.solutions-home__photo { position: absolute; inset: 0 auto 0 0; width: min(42.19vw, 810px); }
.solutions-home__photo::after { position: absolute; inset: 0; background: rgba(45,30,14,.35); content: ""; }
.solutions-home__photo img { width: 100%; height: 100%; object-fit: cover; }
.solutions-home__inner { position: relative; z-index: 1; padding-top: 120px; }
.solutions-home__intro { width: 749px; margin-left: auto; }
.solutions-home__intro h2 { width: 578px; max-width: 100%; margin: 47px 0 22px; font-size: 48px; font-weight: 500; line-height: 1.667; }
.solutions-home__intro > p { margin: 0 0 28px; line-height: 2; text-align: justify; }
.solutions-home__intro .button { min-width: 253px; }
.solution-grid { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 79px; gap: 42px; }
.solution-card { position: relative; isolation: isolate; min-height: 308px; overflow: hidden; border: 1px solid rgba(246,244,238,.4); padding: 28px 49px; background: url("../images/back.png") center / cover no-repeat; transition: transform .25s ease; }
.solution-card::before { position: absolute; z-index: -1; inset: 0; background: rgba(134,132,91,0); content: ""; transition: background-color .25s ease; }
.solution-card:hover { transform: translateY(-4px); }
.solution-card:hover::before { background-color: rgba(134,132,91,.3); }
.solution-card > p:first-child { margin-bottom: 6px; }
.solution-card h3 { margin: 0 0 10px; font-size: 24px; line-height: 1.5; }
.solution-card > p:nth-of-type(2) { min-height: 78px; margin: 0 0 8px; line-height: 2; }
.solution-card .text-link { margin-top: auto; }

/* Knowledge */
.knowledge-home { min-height: 1185px; padding-top: 120px; background: #fff; }
.knowledge-home__header { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: end; }
.knowledge-home__header h2 { margin: 47px 0 0; color: var(--ink); font-size: 48px; font-weight: 500; line-height: 1.667; text-box-edge: cap alphabetic; text-box-trim: trim-both; }
.knowledge-home__intro { align-self: end; padding-top: 0; }
.knowledge-home__intro p { max-width: 600px; margin-bottom: 36px; line-height: 2; text-align: justify; text-box-edge: cap alphabetic; text-box-trim: trim-both; transform: translateY(2.5px); }
.knowledge-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 49px; }
.knowledge-card { overflow: hidden; }
.knowledge-card__image { display: block; height: 312px; overflow: hidden; }
.knowledge-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.knowledge-card:hover .knowledge-card__image img { transform: scale(1.045); }
.knowledge-card__body { min-height: 328px; border: 1px solid var(--line); border-top: 0; padding: 30px 31px; }
.knowledge-card__meta { display: flex; justify-content: space-between; margin-bottom: 6px; color: var(--muted); font-size: 20px; font-weight: 500; line-height: 2; }
.knowledge-card h3 { margin: 0 0 4px; color: var(--ink); font-size: 28px; line-height: 1.7; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.knowledge-card h3 a:hover { color: var(--olive); }
.knowledge-card__body > p { min-height: 64px; margin-bottom: 14px; color: var(--muted); line-height: 2; text-align: justify; }

/* Public contact form */
.contact-section { position: relative; min-height: 970px; overflow: hidden; color: var(--cream); background: #352306 url("../images/contact-bg.png") center / cover no-repeat; }
.contact-section::before { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(45,30,14,.75), rgba(45,30,14,.35) 50%, rgba(45,30,14,.75)); content: ""; }
.contact-section__layout { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 821px; gap: 187px; padding-top: 120px; }
.contact-section__intro h2 { width: 432px; max-width: 100%; margin: 63px 0 0; font-size: 48px; font-weight: 500; line-height: 1.667; }
.consult-form { min-height: 730px; padding: 70px 81px 46px; background: rgba(208,208,208,.2); -webkit-backdrop-filter: blur(17.5px); backdrop-filter: blur(17.5px); }
.consult-form__intro { margin-bottom: 26px; line-height: 2; text-align: justify; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 22px; }
.form-field { position: relative; min-width: 0; }
.form-field--full { grid-column: 1 / -1; }
.form-field label { display: block; font-weight: 700; line-height: 1.6; }
.form-field input, .form-field select, .form-field textarea { width: 100%; border: 0; border-bottom: 2px solid var(--cream); border-radius: 0; padding: 7px 0; color: var(--cream); outline: 0; background: transparent; line-height: 1.6; }
.form-field input, .form-field select { height: 46px; }
.form-field textarea { height: 108px; resize: vertical; }
.form-field select { appearance: none; padding-right: 38px; }
.form-field select option { color: var(--ink); background: var(--cream); }
.form-field--select > img { position: absolute; top: 34px; right: 8px; width: 24px; height: 24px; pointer-events: none; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: #fff; box-shadow: 0 2px 0 #fff; }
.form-field [aria-invalid="true"] { border-color: #ffd1ca; }
.field-error { min-height: 16px; margin: 2px 0 0; color: #ffd9d4; font-size: 13px; line-height: 1.2; }
.form-consent { position: relative; margin-top: 14px; }
.form-consent input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.form-consent label { display: flex; align-items: center; gap: 12px; cursor: pointer; }
.form-consent label a { text-decoration: underline; text-underline-offset: 3px; }
.custom-check { display: grid; width: 24px; height: 24px; flex: none; place-items: center; border: 1px solid var(--cream); }
.custom-check img { width: 24px; height: 24px; opacity: 0; }
.form-consent input:checked + label .custom-check img { opacity: 1; }
.form-consent input:focus-visible + label .custom-check { outline: 3px solid #b8a86a; outline-offset: 4px; }
.consult-form > .button { min-width: 180px; margin-top: 25px; }
.form-status { min-height: 28px; margin: 10px 0 0; font-weight: 600; line-height: 1.7; }
.form-status.is-success { color: #f5f0cf; }
.form-status.is-error { color: #ffd9d4; }

/* Public footer */
.site-footer { min-height: 564px; color: var(--cream); background: #201f17; }
.footer-main { display: grid; min-height: 504px; grid-template-columns: 2fr 1fr 1fr 1.1fr; gap: 96px; padding-top: 150px; }
.footer-brand img { width: 277px; height: 64px; object-fit: contain; }
.footer-brand > p { max-width: 390px; margin: 56px 0 0; line-height: 2; }
.footer-column h2 { margin: 0 0 27px; font-size: 24px; line-height: 1.333; }
.footer-column ul { margin: 0; padding: 0; list-style: none; }
.footer-column li, .footer-column p { margin: 0 0 16px; color: var(--footer-muted); line-height: 2; }
.footer-column a { transition: color .2s ease; }
.footer-column a:hover { color: var(--cream); }
.footer-contact h2 { margin-bottom: 27px; }
.footer-contact p + p { margin-top: 8px; line-height: 2; }
.footer-contact__hours { display: block; margin-top: 16px; }
.footer-bottom { display: flex; min-height: 60px; align-items: center; justify-content: space-between; border-top: 1px solid var(--cream); color: var(--footer-muted); }
.footer-bottom p { margin: 0; line-height: 2; }
.footer-bottom a:hover { color: #fff; }

/* Reveal motion */
.js .reveal, .js .reveal-group > * { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-visible, .js .reveal-group.is-visible > * { opacity: 1; transform: translateY(0); }
.js .reveal-group.is-visible > *:nth-child(2) { transition-delay: .06s; }
.js .reveal-group.is-visible > *:nth-child(3) { transition-delay: .12s; }
.js .reveal-group.is-visible > *:nth-child(4) { transition-delay: .18s; }
.js .reveal-group.is-visible > *:nth-child(5) { transition-delay: .24s; }
.js .reveal-group.is-visible > *:nth-child(6) { transition-delay: .3s; }
.js .reveal-group.is-visible > *:nth-child(7) { transition-delay: .36s; }
.js .reveal-group.is-visible > *:nth-child(8) { transition-delay: .42s; }

@media (min-width: 1920px) {
  .home-page main { min-height: 8588px; }
}

@media (max-width: 1500px) {
  :root { --gutter: 40px; }
  .primary-nav { gap: 26px; }
  .primary-nav ul { gap: 22px; }
  .primary-nav li a, .nav-consult { font-size: 17px; }
  .overview-card { padding-inline: 42px; }
  .process-section__layout { grid-template-columns: minmax(0, 1fr) 55%; gap: 80px; }
  .contact-section__layout { grid-template-columns: minmax(0, 1fr) 58%; gap: 80px; }
  .footer-main { gap: 50px; }
}

@media (max-width: 1199px) {
  :root { --gutter: 28px; }
  .topbar__item { font-size: 16px; }
  .navbar { height: 84px; }
  .brand, .brand img { width: 180px; height: auto; }
  .menu-toggle { display: flex; margin-left: auto; }
  .primary-nav { position: fixed; z-index: 99; top: 0; right: 0; bottom: 0; width: min(420px, 86vw); display: block; overflow-y: auto; padding: 112px 36px 48px; background: var(--cream); box-shadow: -18px 0 50px rgba(32,31,22,.18); transform: translateX(105%); visibility: hidden; transition: transform .3s var(--ease), visibility .3s; }
  .primary-nav.is-open { transform: translateX(0); visibility: visible; }
  .primary-nav ul { display: block; }
  .primary-nav li a { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 19px; }
  .primary-nav li a::after { display: none; }
  .primary-nav li a.is-active { font-weight: 700; }
  .nav-consult { width: 100%; margin-top: 28px; }
  .menu-backdrop { position: fixed; z-index: 98; inset: 0; background: rgba(32,31,22,.46); }
  .hero { height: 700px; }
  .hero__content { padding-top: 105px; }
  .hero h1 { font-size: 50px; }
  .section-desktop-fixed { min-height: 0; }
  .about-home { padding: 96px 0; }
  .about-home__inner { padding-top: 0; }
  .about-home__title { font-size: 42px; line-height: 1.6; }
  .business-overview__grid { grid-template-columns: repeat(2, 1fr); }
  .overview-card + .overview-card { border-left: 1px solid var(--line); }
  .overview-card:nth-child(even) { border-left: 0; }
  .overview-card:nth-child(n + 3) { border-top: 0; }
  .business-overview__image { height: 560px; }
  .core-services { padding: 96px 0; }
  .section-heading--split { min-height: 190px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .service-card:not(:nth-child(4n + 1)) { border-left: 1px solid var(--line); }
  .service-card:nth-child(even) { border-left: 0; }
  .service-card:nth-child(n + 3) { border-top: 0; }
  .process-section { padding: 96px 0; }
  .process-section__layout { grid-template-columns: 1fr 1fr; padding-top: 0; gap: 64px; }
  .solutions-home { padding: 96px 0; }
  .solutions-home__inner { padding-top: 0; }
  .solutions-home__intro { width: 64%; }
  .solution-grid { grid-template-columns: repeat(2, 1fr); }
  .knowledge-home { padding: 96px 0; }
  .knowledge-grid { gap: 20px; }
  .knowledge-card__image { height: 240px; }
  .knowledge-card__meta { font-size: 16px; }
  .knowledge-card h3 { position: relative; padding-right: 24px; font-size: 22px; text-overflow: clip; }
  .knowledge-card h3::after { position: absolute; top: 0; right: 0; padding-left: 2px; background: #fff; content: "..."; }
  .contact-section { padding: 96px 0; }
  .contact-section__layout { grid-template-columns: 36% 1fr; padding-top: 0; gap: 48px; }
  .consult-form { padding-inline: 52px; }
  .site-footer { min-height: 0; }
  .footer-main { min-height: 0; grid-template-columns: 1.6fr 1fr 1fr 1.1fr; gap: 32px; padding: 96px 0 72px; }
  .footer-contact { grid-column: auto; }
}

@media (max-width: 767px) {
  :root { --gutter: 20px; }
  .topbar { height: 52px; }
  .topbar__inner { justify-content: flex-end; }
  .topbar__address { display: none; }
  .topbar__item img { width: 24px; height: 24px; }
  .topbar__phone img { width: 20px; height: 20px; }
  .navbar { height: 76px; }
  .brand, .brand img { width: 155px; }
  .hero { height: auto; min-height: 650px; background-position: 62% center; }
  .hero__content { padding-top: 80px; padding-bottom: 70px; }
  .hero h1 { margin-top: 32px; font-size: clamp(38px, 9.6vw, 48px); line-height: 1.45; }
  .hero__lead { margin-bottom: 42px; font-size: 19px; line-height: 1.8; }
  .hero__actions { flex-wrap: wrap; gap: 14px; }
  .button { min-height: 58px; padding: 13px 22px; font-size: 18px; }
  .hero__actions .button { min-width: 0 !important; }
  .eyebrow { font-size: 18px; }
  .about-home { padding: 72px 0; }
  .about-home__title { margin-top: 30px; font-size: 34px; line-height: 1.55; }
  .about-home__layout { grid-template-columns: 1fr; }
  .about-home__graphic { height: 280px; padding: 0; }
  .about-home__graphic img { width: 100%; height: 100%; }
  .about-home__copy { padding-top: 28px; }
  .business-overview__grid { grid-template-columns: 1fr; }
  .overview-card { min-height: 190px; padding: 36px; }
  .overview-card:nth-child(n) { border: 1px solid var(--line); border-top: 0; }
  .overview-card:first-child { border-top: 1px solid var(--line); }
  .business-overview__image { height: 340px; }
  .section-heading--split { display: block; min-height: 0; }
  .section-heading--split h2 { top: 0; margin: 30px 0 42px; font-size: 34px; line-height: 1.55; text-align: left; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 380px; padding: 52px 34px 30px; }
  .service-card:nth-child(n) { border: 1px solid var(--line); border-top: 0; }
  .service-card:first-child { border-top: 1px solid var(--line); }
  .process-section__layout { grid-template-columns: 1fr; gap: 50px; }
  .process-section__intro > p:last-child { width: 100%; }
  .process-section__intro h2 { margin-top: 30px; font-size: 34px; line-height: 1.55; }
  .process-list { margin-top: 0; }
  .process-list li { min-height: 0; margin-bottom: 28px; padding-bottom: 28px; }
  .process-list li + li { padding-top: 0; }
  .solutions-home__photo { width: 100%; opacity: .25; }
  .solutions-home__intro { width: 100%; }
  .solutions-home__intro h2 { margin-top: 30px; font-size: 34px; line-height: 1.55; }
  .solution-grid { grid-template-columns: 1fr; margin-top: 56px; gap: 16px; }
  .solution-card { min-height: 290px; padding: 28px 32px; }
  .knowledge-home__header { grid-template-columns: 1fr; }
  .knowledge-home__header h2 { margin-top: 30px; font-size: 34px; line-height: 1.55; text-box-trim: none; }
  .knowledge-home__intro { padding-top: 24px; }
  .knowledge-home__intro p { line-height: 2; text-box-trim: none; transform: none; }
  .knowledge-grid { grid-template-columns: 1fr; }
  .knowledge-card__image { height: min(64vw, 312px); }
  .knowledge-card__body { min-height: 0; }
  .contact-section__layout { grid-template-columns: 1fr; }
  .contact-section__intro h2 { width: 100%; margin-top: 30px; font-size: 34px; line-height: 1.55; }
  .consult-form { min-height: 0; padding: 42px 30px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-field--full { grid-column: auto; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 52px 28px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-brand > p { margin-top: 28px; }
  .footer-contact { grid-column: 1 / -1; }
  .footer-contact h2 { margin-bottom: 27px; }
  .footer-contact__hours { margin-top: 0; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: 2px; padding: 18px 0; }
}

@media (max-width: 500px) {
  :root { --gutter: 16px; }
  body { font-size: 16px; }
  .topbar__phone { font-size: 16px; }
  .primary-nav { width: min(360px, 90vw); padding-inline: 24px; }
  .hero { min-height: 620px; }
  .hero__content { padding-top: 68px; }
  .hero h1 { font-size: 36px; }
  .hero__lead { font-size: 17px; }
  .hero__actions { display: grid; grid-template-columns: 1fr 1fr; }
  .hero__actions .button { width: 100%; padding-inline: 14px; font-size: 16px; gap: 8px; }
  .about-home__title br, .section-heading--split h2 br, .knowledge-home__header h2 br { display: none; }
  .about-home__title, .section-heading--split h2, .process-section__intro h2, .solutions-home__intro h2, .knowledge-home__header h2, .contact-section__intro h2 { font-size: 31px; }
  .overview-card { min-height: 0; padding: 30px 26px; }
  .business-overview__image { height: 260px; }
  .service-card { min-height: 360px; padding: 42px 28px 28px; }
  .service-card h3 { font-size: 22px; }
  .process-list li { grid-template-columns: 38px minmax(0, 1fr); gap: 16px; }
  .process-list li > span { width: 38px; height: 38px; font-size: 20px; }
  .process-list h3 { font-size: 21px; }
  .process-list p { line-height: 1.8; }
  .solution-card { min-height: 0; }
  .knowledge-card__meta { gap: 16px; }
  .knowledge-card h3 { padding-right: 0; white-space: normal; }
  .knowledge-card h3::after { content: none; }
  .knowledge-card__body { padding: 26px 24px; }
  .consult-form { padding: 34px 22px; }
  .consult-form__intro { text-align: left; }
  .form-consent label { align-items: flex-start; }
  .consult-form > .button { width: 100%; }
  .footer-main { grid-template-columns: 1fr; }
  .footer-column, .footer-contact { grid-column: auto; }
  .footer-brand img { width: 230px; height: auto; }
  .footer-column h2 { margin-bottom: 18px; }
  .footer-contact h2 { margin-bottom: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .001ms !important; animation-duration: .001ms !important; animation-iteration-count: 1 !important; }
  .js .reveal, .js .reveal-group > * { opacity: 1; transform: none; }
}

/* ---------- 列表分页（知识/政策列表，每页 9 条，超一页才显示） ---------- */
.list-pager {
  display: grid;
  justify-items: center;
  gap: 20px;
  margin-top: 80px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}

.list-pager__info {
  margin: 0;
  color: #6f6d5a;
  font-size: 15px;
  letter-spacing: .02em;
}

.list-pager__nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.list-pager__pages {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.list-pager__step,
.list-pager__page {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 46px;
  height: 46px;
  padding: 0 16px;
  border: 1px solid var(--line);
  background: #fff;
  color: #2f2f2f;
  font-size: 15px;
  line-height: 1;
  text-decoration: none;
  transition: border-color .2s ease, background .2s ease, color .2s ease;
}

.list-pager__step { letter-spacing: .04em; }

.list-pager__step:hover,
.list-pager__page:hover {
  border-color: var(--olive);
  background: var(--olive);
  color: var(--cream);
}

.list-pager__step.is-disabled {
  border-color: #e4e3dd;
  background: #faf9f5;
  color: #b7b6ad;
  cursor: default;
}

.list-pager__page.is-current {
  border-color: var(--olive);
  background: var(--olive);
  color: var(--cream);
  font-weight: 600;
}

.list-pager__ellipsis {
  min-width: 24px;
  color: #9a998f;
  font-size: 15px;
  text-align: center;
}

.list-pager a:focus-visible,
.list-pager span:focus-visible {
  outline: 2px solid var(--olive);
  outline-offset: 2px;
}

@media (max-width: 640px) {
  .list-pager { margin-top: 60px; gap: 16px; }
  .list-pager__nav { gap: 8px; }
  .list-pager__pages { gap: 8px; }
  .list-pager__step,
  .list-pager__page { min-width: 42px; height: 42px; padding: 0 13px; font-size: 14px; }
  .list-pager__ellipsis { min-width: 18px; font-size: 14px; }
}

/* ---------- 留言提交成功弹窗 ---------- */
body.has-modal { overflow: hidden; }

.consult-success {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(24, 22, 15, .72);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  animation: consultFade .22s var(--ease) both;
}

.consult-success[hidden] { display: none; }

.consult-success__dialog {
  width: min(440px, 100%);
  padding: 48px 40px 40px;
  color: var(--ink);
  text-align: center;
  background: var(--cream);
  border-radius: 4px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .32);
  animation: consultPop .26s var(--ease) both;
}

.consult-success__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 22px;
  color: var(--cream);
  font-size: 30px;
  line-height: 1;
  background: var(--olive);
  border-radius: 50%;
}

.consult-success__dialog h2 {
  margin: 0 0 14px;
  font-size: 26px;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--ink);
}

.consult-success__dialog p {
  margin: 0 0 30px;
  font-size: 15px;
  line-height: 1.9;
  color: #5d5140;
}

.consult-success__close {
  min-width: 168px;
  color: var(--ink);
  background: var(--cream);
  border: 1px solid var(--ink);
}

.consult-success__close:hover { background: #efe9d9; }

@keyframes consultFade {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes consultPop {
  from { opacity: 0; transform: translateY(14px) scale(.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 640px) {
  .consult-success__dialog { padding: 38px 24px 30px; }
  .consult-success__dialog h2 { font-size: 22px; }
  .consult-success__icon { width: 56px; height: 56px; font-size: 26px; }
}
