:root {
  color-scheme: light;
  --ink: #162e2a;
  --dark: #103a33;
  --muted: #4f625d;
  --green: #125747;
  --line: #dce5de;
  --mint: #e7f1e9;
  --paper: #fafbf7;
  --white: #fff;
  --radius: 20px;
  font-family: "Inter", "PingFang SC", "Noto Sans CJK SC", "Microsoft YaHei", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); line-height: 1.65; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid #cb7c35; outline-offset: 4px; }
img { display: block; max-width: 100%; }
p, h1, h2, h3 { margin: 0; }
h1, h2, h3 { line-height: 1.2; }
.shell { width: min(1160px, calc(100% - 80px)); margin-inline: auto; }
.section { padding-block: 82px; }
.skip { display: block; position: absolute; z-index: 5; left: 1rem; top: -5rem; background: var(--white); padding: .5rem 1rem; }
.skip:focus { top: 1rem; }
.site-header { background: var(--paper); border-bottom: 1px solid #e7ebe2; position: relative; z-index: 2; }
.header-inner { height: 83px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; gap: 10px; align-items: center; flex: 0 0 auto; text-decoration: none; line-height: 1.13; }
.brand strong { display: block; font-size: 22px; letter-spacing: .07em; }
.brand small { display: block; font-size: 10px; letter-spacing: .14em; font-weight: 750; margin-top: 4px; }
.brand-mark { color: #e0eed5; width: 42px; height: 42px; border-radius: 12px; background: #1b5145; display: grid; place-content: center; gap: 3px; }
.brand-mark i { width: 18px; height: 3px; border-radius: 2px; background: currentColor; transform: skew(-25deg); }
.brand-mark i:first-child { width: 12px; margin-left: 5px; }.brand-mark i:last-child { width: 12px; }
.site-header nav, .header-actions, .lang-switch { display: flex; align-items: center; }
.site-header nav { gap: clamp(16px, 2.6vw, 39px); }
.site-header nav a { font-weight: 650; font-size: 15px; white-space: nowrap; text-decoration: none; }
.site-header nav a:hover, .lang-switch:hover { color: #36745f; }
.header-actions { gap: 21px; }
.lang-switch { gap: 6px; font-size: 14px; text-decoration: none; font-weight: 750; }
.lang-switch svg { width: 17px; height: 17px; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 51px; padding: 10px 23px; border-radius: 10px; color: white; background: var(--green); border: 1px solid var(--green); font-size: 15px; font-weight: 750; text-decoration: none; transition: background .17s ease, border-color .17s ease; text-align: center; }
.button:hover { background: #1a6a55; border-color: #1a6a55; }
.button.compact { min-height: 40px; padding: 8px 15px; font-size: 14px; }
.button.outline { background: transparent; color: var(--ink); border-color: #aebcb1; }
.button.outline:hover { background: #eaf0e8; }
.menu-toggle { display: none; }
.hero { padding: 56px 0 49px; background: radial-gradient(ellipse at 72% 15%, #eff3e9, transparent 55%), var(--paper); }
.hero-inner { display: grid; grid-template-columns: 1fr 1.02fr; align-items: center; gap: clamp(26px, 4vw, 65px); }
.hero-copy { padding: 7px 0 14px; }
.eyebrow { color: #386b59; font-weight: 800; font-size: 14px; letter-spacing: .12em; margin-bottom: 16px; }
.hero-eyebrow { display: flex; align-items: center; gap: 10px; }
.hero-eyebrow span { width: 24px; height: 2px; border-radius: 2px; background: #7d9c6d; }
.hero h1 { font-size: clamp(41px, 4.75vw, 68px); font-weight: 780; letter-spacing: -.065em; line-height: 1.15; overflow-wrap: anywhere; }
.hero h1 em { color: #23634e; font-style: normal; }
.hero-mobile { display: none; }
.hero-intro { color: var(--muted); font-size: clamp(16px, 1.45vw, 19px); max-width: 470px; margin-top: 24px; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 29px; }
.hero-visual { position: relative; min-height: 380px; max-height: 485px; aspect-ratio: 4 / 3; overflow: hidden; margin: 0; border-radius: var(--radius); isolation: isolate; background: #21483e; }
.hero-visual img { width: 100%; height: 100%; object-fit: cover; object-position: 49% center; opacity: .95; }
.hero-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, #0b2c26ed, #143e3430 55%, #1e52440a); pointer-events: none; }
.hero-visual figcaption { position: absolute; z-index: 1; color: white; bottom: 22px; left: 25px; right: 25px; display: grid; gap: 5px; }
.hero-visual figcaption span { font-size: 12px; letter-spacing: .2em; font-weight: 750; color: #e0efd8; }
.hero-visual figcaption strong { font-size: clamp(20px, 2vw, 28px); letter-spacing: .02em; }

.hero-carousel { position: relative; }
.hero-carousel .hero-carousel-slides { position: absolute; inset: 0; }
.hero-carousel .hero-slide { position: absolute; inset: 0; margin: 0; opacity: 0; z-index: 0; transition: opacity .65s ease; }
.hero-carousel .hero-slide.is-active { opacity: 1; }
.hero-carousel .hero-slide img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-carousel::after { z-index: 1; }
.hero-carousel .hero-slide figcaption { z-index: 2; right: 158px; }
.hero-carousel-controls { position: absolute; z-index: 3; right: 18px; bottom: 20px; display: flex; align-items: center; gap: 9px; }
.hero-carousel-arrow { width: 34px; height: 34px; border: 1px solid #ffffff88; border-radius: 50%; color: #fff; background: #103a33a8; display: grid; place-items: center; padding: 0; }
.hero-carousel-arrow span { font-size: 25px; line-height: 1; transform: translateY(-1px); }
.hero-carousel-dots { display: flex; align-items: center; gap: 6px; }
.hero-carousel-dot { width: 7px; height: 7px; padding: 0; border: 0; border-radius: 9px; background: #ffffff99; transition: width .2s ease, background .2s ease; }
.hero-carousel-dot.is-active { width: 22px; background: #fff; }
.hero-carousel-arrow:hover { background: #125747; }
@media (max-width:740px) {
 .hero-carousel .hero-slide figcaption { right: 112px; bottom: 14px; left: 17px; }
 .hero-carousel-controls { right: 11px; bottom: 12px; gap: 6px; }
 .hero-carousel-arrow { width: 30px; height: 30px; }
 .hero-carousel-dots { gap: 4px; }
 .hero-carousel-dot { width: 6px; height: 6px; }
 .hero-carousel-dot.is-active { width: 16px; }
}
@media (prefers-reduced-motion: reduce) { .hero-carousel .hero-slide, .hero-carousel-dot { transition: none; } }

.proof { background: #edf3e9; border-block: 1px solid #e2e9df; }
.proof-inner { display: grid; grid-template-columns: repeat(3, 1fr); padding: 18px 0; }
.proof-inner > div { display: flex; align-items: center; gap: 12px; justify-content: center; padding: 0 8px; }
.proof-inner > div + div { border-left: 1px solid #d4e0d3; }
.proof-icon { color: #3f6c56; display: grid; place-content: center; flex: 0 0 38px; width: 38px; height: 38px; background: #e0eadd; border-radius: 50%; }
.proof-icon svg { width: 21px; height: 21px; }
.proof-inner strong, .proof-inner small { display: block; }
.proof-inner small { color: #53665c; font-size: 13px; }
.home-services { padding-top: 63px; }
.section-head { max-width: 720px; margin-bottom: 29px; }
.section-head .eyebrow { margin-bottom: 10px; }
.section-head h2, .cta h2 { font-size: clamp(29px, 4vw, 48px); letter-spacing: -.048em; }
.section-head > p:last-child:not(.eyebrow) { color: var(--muted); margin-top: 12px; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { min-width: 0; min-height: 218px; display: flex; flex-direction: column; align-items: flex-start; padding: 23px; border: 1px solid var(--line); border-radius: 15px; text-decoration: none; background: var(--white); transition: border-color .2s ease, transform .2s ease; }
.card:hover { border-color: #69a084; transform: translateY(-3px); }
.card-icon { display: inline-grid; place-content: center; width: 44px; height: 44px; border-radius: 12px; background: var(--mint); color: var(--green); }
.card-icon svg { width: 23px; height: 23px; }
.card h3 { margin: 16px 0 10px; font-size: 22px; }
.card p { color: var(--muted); padding-bottom: 17px; }
.card-link { color: var(--green); font-size: 14px; font-weight: 760; margin-top: auto; }
.tinted { background: #eef2e9; }
.split-section { display: grid; grid-template-columns: .9fr 1.1fr; gap: 9%; }
.text-link, .source-list a, .related a, .checkbox a { color: var(--green); font-weight: 700; text-underline-offset: .22em; }
.steps { display: grid; gap: 0; padding: 0 0 0 1.55rem; margin: 0; }
.steps li { padding: 14px 0 16px 8px; border-bottom: 1px solid #d5e0d5; }
.steps li::marker { color: var(--green); font-weight: 750; }
.steps strong, .steps span { display: block; }
.steps strong { font-size: 19px; }
.steps span { color: var(--muted); margin-top: 4px; }
.cta { color: #f5faf3; display: flex; align-items: center; justify-content: space-between; gap: 22px; background: var(--dark); border-radius: var(--radius); padding: 43px; }
.cta p { color: #d8e7de; margin-top: 10px; }
.cta .button { background: #dcebd4; border-color: transparent; color: #183c31; flex-shrink: 0; }
.cta .button:hover { background: #fff; }
.site-footer { padding: 35px 0 22px; border-top: 1px solid var(--line); background: #f0f3eb; }
.footer-main { display: flex; justify-content: space-between; gap: 20px; align-items: flex-start; }
.footer-main p, .footer-bottom { color: var(--muted); }
.footer-links { display: flex; gap: 15px; font-size: 14px; }
.footer-links a, .footer-bottom a { text-underline-offset: .2em; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 10px 18px; border-top: 1px solid #dce5da; padding-top: 15px; margin-top: 22px; font-size: 13px; }
.subhero { background: #e9f1e6; padding: 69px 0 66px; border-bottom: 1px solid var(--line); }
.subhero h1 { font-size: clamp(38px, 6vw, 70px); max-width: 930px; letter-spacing: -.055em; }
.subhero .shell > p:last-child:not(.eyebrow) { margin-top: 17px; color: var(--muted); font-size: 19px; max-width: 750px; }
.detail-layout, .contact-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(250px, .42fr); align-items: start; gap: clamp(28px, 7vw, 90px); }
.detail-layout { padding-block: 56px 84px; }
.article section + section { margin-top: 36px; padding-top: 26px; border-top: 1px solid var(--line); }
.article h2, .detail-aside h2, .contact-layout h2 { font-size: 25px; margin-bottom: 13px; letter-spacing: -.027em; }
.article p, .article li, .detail-aside p, .contact-aside p { color: var(--muted); }
.article li + li { margin-top: 8px; }
.detail-aside, .contact-aside, .contact-form { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 25px; }
.detail-aside .card-icon, .contact-aside .card-icon { margin-bottom: 14px; }
.detail-aside .button { margin-top: 16px; }
.related { display: grid; gap: 7px; margin-top: 20px; }
.contact-form { display: grid; gap: 14px; }
.contact-form label { display: grid; gap: 6px; font-weight: 700; }
.contact-form select, .contact-form input:not([type="checkbox"]) { appearance: none; background-color: #f9fbf7; border: 1px solid #b9c9bc; padding: 10px 11px; width: 100%; border-radius: 8px; min-height: 48px; color: var(--ink); }
.contact-form select { padding-right: 34px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%23125747' stroke-width='1.4' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 10px center; background-size: 16px; }
.contact-form label.checkbox { display: flex; gap: 9px; align-items: flex-start; font-size: 14px; font-weight: 500; }
.checkbox input { margin-top: .40rem; accent-color: var(--green); }
.contact-form .button { justify-self: start; }.contact-form .button:disabled { opacity: .68; cursor: progress; }
#form-status:empty { display: none; }.form-error { color: #9c372d; }.form-success { color: var(--green); font-weight: 750; }
.standalone-text { white-space: pre-wrap; }
#admin-app h1 { margin-bottom: 22px; }
#admin-app { min-width: 0; }
@media (max-width: 950px) {
  .shell { width: min(100% - 48px, 1160px); }
  .hero h1 { font-size: clamp(38px, 5vw, 56px); }
  .hero-visual { min-height: 320px; }
  .header-actions { gap: 10px; }
  .site-header nav { gap: 16px; }
}
@media (max-width: 740px) {
  .shell { width: calc(100% - 34px); }
  .section { padding-block: 50px; }
  .header-inner { height: 66px; gap: 11px; }
  .site-header nav { display: none; position: absolute; inset: 66px 0 auto; background: #fafbf7; border-bottom: 1px solid var(--line); padding: 16px 20px; }
  .site-header nav.open { display: grid; }
  .brand strong { font-size: 18px; }.brand small { font-size: 9px; }
  .brand-mark { width: 36px; height: 36px; border-radius: 9px; }
  .header-actions { margin-left: auto; order: 2; }
  .header-actions .compact { display: none; }
  .menu-toggle { order: 3; width: 41px; height: 40px; display: grid; place-content: center; gap: 5px; border: 1px solid #c8d7c9; background: transparent; border-radius: 8px; }
  .menu-toggle span { display: block; width: 16px; height: 2px; background: var(--green); }
  .hero { padding: 32px 0 23px; }
  .hero-inner { display: block; }
  .hero-copy { padding: 0 0 25px; }
  .hero h1 { font-size: clamp(38px, 9.1vw, 57px); }
  .hero-intro { margin-top: 15px; }
  .hero-buttons { margin-top: 19px; }
  .hero-visual { min-height: 0; aspect-ratio: 4 / 3; }
  .hero-visual figcaption { bottom: 15px; left: 17px; }
  .proof-inner { padding-block: 11px; }
  .proof-inner > div { gap: 5px; display: grid; justify-items: center; text-align: center; }
  .proof-inner strong { font-size: 12px; }.proof-inner small { font-size: 11px; }
  .proof-icon { width: 31px; height: 31px; }.proof-icon svg { width: 17px; height: 17px; }
  .cards, .split-section, .detail-layout, .contact-layout { grid-template-columns: 1fr; }
  .cards { gap: 12px; }.card { min-height: 0; padding: 19px; }.card h3 { margin-top: 12px; }
  .split-section { gap: 24px; }.section-head { margin-bottom: 19px; }
  .cta, .footer-main { align-items: flex-start; flex-direction: column; }
  .cta { padding: 25px; }
  .subhero { padding: 48px 0 42px; }
  .subhero .shell > p:last-child:not(.eyebrow) { font-size: 17px; }
  .detail-layout { padding-block: 36px 60px; }
}
@media (max-width: 390px) { .hero-mobile { display: initial; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; } }
.admin-workspace { max-width: 940px; }
.admin-workspace > p { color: var(--muted); }
.admin-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-block: 20px; }
.admin-tabs .button[aria-pressed="false"], .admin-form .button-secondary { background: transparent; color: var(--green); }
.admin-tabs .button:hover, .admin-form .button-secondary:hover { background: #e5f1e5; color: var(--green); }
.admin-panel { background: white; padding: 24px; border: 1px solid var(--line); border-radius: 16px; }
.admin-panel h2 { margin-bottom: 14px; }
.admin-field { display: grid; gap: 4px; margin-top: 13px; font-weight: 680; }
.admin-field :is(input, select, textarea) { width: 100%; padding: 9px 11px; color: var(--ink); background: #f8faf7; border: 1px solid #b9c9bc; border-radius: 8px; font-weight: 450; }
.admin-form-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.admin-open-link { display: inline-block; margin: 7px 0; color: var(--green); }
.admin-notice:not(:empty), .admin-page-status { color: var(--green); margin-top: 6px; }
.admin-lead-list { list-style: none; padding-left: 0; }
.admin-lead { border-top: 1px solid var(--line); padding-block: 14px; overflow-wrap: anywhere; }
.admin-lead h3 { margin-bottom: 8px; }

.icp-footer { text-align: center; color: var(--muted); margin-top: 17px; padding: 12px 0 2px; }
.icp-footer a { display: inline-grid; gap: 2px; text-underline-offset: .23em; font-size: 14px; }
.icp-footer small { font-size: 12px; }
.company-feature { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: center; gap: clamp(24px, 6vw, 68px); padding-top: 0; }
.company-feature .section-head { margin-bottom: 13px; }
.company-feature p { color: var(--muted); }
.company-feature .text-link { display: inline-block; margin-top: 13px; }
.company-photo { margin: 0; overflow: hidden; background: #eff4ed; border: 1px solid var(--line); border-radius: 16px; }
.company-photo img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.company-photo figcaption { padding: 9px 12px; color: var(--muted); font-size: 14px; }
.company-gallery { padding-bottom: 74px; }
.company-gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 740px) {
  .company-feature, .company-gallery-grid { grid-template-columns: 1fr; }
  .company-gallery { padding-bottom: 50px; }
}
.company-photo img { object-fit: contain; }

.knowledge-index{margin-top:2rem}.knowledge-index>label{display:block;font-weight:650;margin-bottom:.5rem}.knowledge-index>input{display:block;width:100%;padding:.8rem;border:1px solid #aebbb6;border-radius:.4rem;font:inherit;color:inherit;background:white}.knowledge-group ul{list-style:none;padding:0}.knowledge-item{border-bottom:1px solid #e2e6e3;padding:0!important;margin:0!important}.knowledge-item a{display:block;padding:1rem 0;text-decoration:none;color:inherit}.knowledge-item strong{display:block;color:#22675d}.knowledge-item span{display:block;margin-top:.35rem;line-height:1.6}.knowledge-item[hidden],.knowledge-group[hidden]{display:none!important}.article-byline{font-size:.85rem;opacity:.8}

/* Original Jiaying artwork restored from the legacy website backup. */
.legacy-brand-mark { width:48px; height:48px; object-fit:contain; flex:0 0 48px; }
.legacy-brand-full { width:76px; height:76px; object-fit:contain; flex:0 0 76px; }
@media (max-width:480px){.legacy-brand-mark{width:40px;height:40px;flex-basis:40px}.legacy-brand-full{width:60px;height:60px;flex-basis:60px}}
