/* 官网统一品牌色、版心和公共操作。 */
:root {
    --ink: #112e42;
    --ink-soft: #26485b;
    --muted: #506674;
    --line: #d7e4e7;
    --surface: #f5f9f9;
    --accent: #087b73;
    --accent-bright: #087b73;
    --mint: #e6f4f2;
    --header-h: 76px;
    --header-top-h: 76px;
    --site-width: 1248px;
    --site-gutter: clamp(20px, 4vw, 48px);
}

body, body.page-home, body.page-home main { background: #fff; }
body.page-home { padding-top: var(--header-h); }
.section-inner, .header-inner {
    max-width: calc(var(--site-width) + 2 * var(--site-gutter));
    padding-inline: var(--site-gutter);
}
.site-header { background: #fff; box-shadow: none; backdrop-filter: none; }
.site-header .logo img { height: 60px; }
.site-header .nav { gap: clamp(2px, 1vw, 16px); flex-wrap: nowrap; }
.site-header .nav > a, .site-header .nav-mega-trigger { font-size: 14px; }
.site-header .nav .member-nav {
    border: 1px solid var(--ink);
    border-radius: 5px;
    color: var(--ink);
    min-height: 44px;
    padding: 10px 13px;
    white-space: nowrap;
}
.site-header .nav .member-nav:hover { background: var(--mint); color: var(--accent); }
.site-header .nav .member-nav::after { content: none; }
.site-header .nav a.is-active, .site-header .nav a:hover { color: var(--accent); }
.site-header .nav .is-active::after, .site-header .nav > a:hover::after { background: var(--accent); }

:where(a, button, input, select, summary):focus-visible {
    outline: 3px solid #087b73;
    outline-offset: 3px;
}
.site-action, .site-text-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 44px;
    font-size: 15px;
    font-weight: 650;
    line-height: 1.4;
}
.site-action {
    padding: 12px 20px;
    border-radius: 5px;
    background: var(--accent);
    color: #fff;
}
.site-action:hover { background: #075e59; }
.site-text-link { color: var(--accent); }
.site-text-link:hover { text-decoration: underline; text-underline-offset: .25em; }

.site-section { padding-block: clamp(40px, 5vw, 72px); }
.site-section-mint { background: var(--mint); }
.site-section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 12px 24px;
    margin-bottom: 24px;
}
.site-section-head h2 { font-size: clamp(25px, 3vw, 37px); line-height: 1.3; color: var(--ink); }
.site-section-head p, .site-empty { margin-top: 8px; color: var(--muted); line-height: 1.65; }

/* 首页首屏使用独立的照片和正文，切角保持与效果图一致。 */
.home-hero {
    position: relative;
    isolation: isolate;
    display: grid;
    align-items: center;
    min-height: clamp(440px, 37vw, 610px);
    background: var(--mint);
}
.home-hero-inner { width: 100%; }
.home-hero-copy { width: 46%; padding: 62px 0; }
.home-hero-copy h1 {
    font-size: clamp(38px, 4.3vw, 68px);
    font-weight: 750;
    line-height: 1.2;
    letter-spacing: -.025em;
    text-wrap: balance;
}
.home-hero-copy h1 span { color: var(--accent); }
.home-hero-copy p { margin: 20px 0 28px; font-size: clamp(16px, 1.35vw, 20px); color: var(--ink-soft); line-height: 1.7; }
.home-hero-photo {
    position: absolute;
    z-index: -1;
    inset: 0 0 0 auto;
    width: 58%;
    height: 100%;
    object-fit: cover;
    object-position: 55% center;
    clip-path: polygon(15% 0, 100% 0, 100% 100%, 0 100%);
}
.home-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.home-hero-actions .site-action { min-height: 50px; }
.home-hero-actions .site-text-link { text-decoration: underline; text-underline-offset: .3em; }

.home-finder { padding-block: clamp(32px, 4vw, 58px); }
.finder-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0 clamp(8px, 1.6vw, 26px);
    border-bottom: 1px solid var(--line);
}
.finder-tabs .industry-tab {
    display: block;
    width: auto;
    min-height: 48px;
    padding: 8px 8px 10px;
    border: 0;
    border-bottom: 3px solid transparent;
    border-radius: 0;
    color: var(--muted);
    background: transparent;
    box-shadow: none;
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
    transform: none;
}
.finder-tabs .industry-tab.is-active, .finder-tabs .industry-tab:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: transparent;
}
.finder-detail { padding-top: 10px; }
.finder-description { color: var(--muted); line-height: 1.7; margin: 12px 0; }
.finder-projects { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; }
.finder-project {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 60px;
    padding: 13px 8px;
    border-bottom: 1px solid var(--line);
    font-size: 17px;
}
.finder-project strong { overflow-wrap: anywhere; }
.finder-project:hover { color: var(--accent); background: var(--surface); }
.finder-detail .site-text-link { margin-top: 6px; }

.site-service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.site-service-featured { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.site-service-tile { min-width: 0; }
.site-service-link {
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 7px;
    background: #fff;
    color: var(--ink);
    font: inherit;
    text-align: left;
    cursor: pointer;
}
.site-service-link:hover { border-color: var(--accent); }
.site-service-link img { display: block; width: 100%; height: auto; aspect-ratio: 8 / 5; object-fit: cover; }
.site-service-label { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 16px; font-size: 18px; }
.site-service-label > span { color: var(--accent); }
.site-service-description { display: block; padding: 0 16px 16px; color: var(--muted); font-size: 15px; line-height: 1.65; }

.home-process { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; list-style: none; }
.home-process li { display: flex; align-items: center; gap: 12px; color: var(--ink); font-weight: 650; }
.home-process li span {
    display: grid;
    place-items: center;
    flex: 0 0 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--mint);
    color: var(--accent);
    font: 700 14px/1 system-ui, sans-serif;
}
.home-process li:not(:last-child)::after { content: ""; flex: 1; height: 1px; margin-inline: 8px; background: #a7ceca; }
.home-support { background: var(--surface); border-block: 1px solid var(--line); }
.home-support-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.home-support-grid h3 { font-size: 20px; margin-bottom: 8px; }
.home-support-grid p { color: var(--muted); line-height: 1.7; }
.home-contact-band { background: var(--ink); color: #fff; padding-block: 36px; }
.home-contact-band .section-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.home-contact-band h2 { font-size: clamp(23px, 3vw, 31px); line-height: 1.35; }
.home-contact-band p { margin-top: 8px; color: #c9dade; line-height: 1.6; }
.home-contact-band .site-text-link { color: #e6f4f2; }

/* 内页标题区与列表使用统一的留白和分隔线。 */
.page-banner, .page-water .water-intro {
    position: relative;
    isolation: isolate;
    padding-block: clamp(36px, 5vw, 72px);
    background: var(--mint);
    border-bottom: 1px solid var(--line);
    color: var(--ink);
}
.page-banner h1, .page-water .water-intro h1 {
    margin: 0 0 10px;
    font-size: clamp(32px, 4vw, 52px);
    font-weight: 740;
    line-height: 1.25;
    letter-spacing: -.02em;
}
.page-banner p, .page-water .water-intro > .section-inner > p:not(.water-kicker) {
    max-width: 56ch;
    font-size: 17px;
    color: var(--ink-soft);
    line-height: 1.75;
}
.page-banner-photo::after {
    position: absolute;
    z-index: -1;
    inset: 0 0 0 auto;
    width: 42%;
    content: "";
    background: var(--page-photo) center / cover no-repeat;
    clip-path: polygon(17% 0, 100% 0, 100% 100%, 0 100%);
}
.page-banner-photo .section-inner > :is(h1, p) { max-width: min(56ch, 54%); }
.page-services { --page-photo: url("/images/process-3.jpg"); }
.page-industries { --page-photo: url("/images/lab-hero.webp"); }
.page-news { --page-photo: url("/images/process-4.jpg"); }
.page-contact { --page-photo: url("/images/process-1.jpg"); }
.page-water { --page-photo: url("/images/process-2.jpg"); }

.field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.field-link {
    display: flex;
    align-items: center;
    gap: 16px;
    min-height: 76px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 7px;
    background: #fff;
}
.field-link img { flex: none; object-fit: contain; border-radius: 6px; background: var(--mint); }
.field-link strong, .field-link small { display: block; overflow-wrap: anywhere; }
.field-link strong { font-size: 18px; }
.field-link small { margin-top: 4px; color: var(--muted); font-size: 14px; line-height: 1.55; }
.field-link .field-arrow { margin-left: auto; color: var(--accent); }
.field-link:hover { border-color: var(--accent); }

.page-detail .project-page { padding-block: 34px 72px; }
.page-detail .project-head {
    padding: clamp(20px, 4vw, 42px);
    margin-bottom: 32px;
    border-radius: 8px;
    border-bottom: 0;
    background: var(--mint);
}
.page-detail .project-title {
    font-family: inherit;
    font-size: clamp(28px, 4vw, 49px);
    line-height: 1.3;
    letter-spacing: -.02em;
    overflow-wrap: anywhere;
}
.page-detail .project-breadcrumb { margin-bottom: 18px; }
.project-hero-action { margin-top: 22px; }
.page-detail .project-article > .rich-content { color: var(--ink-soft); overflow-wrap: anywhere; }
.page-detail .rich-content img { max-width: 100%; height: auto; }
.page-detail .project-card { border: 1px solid var(--line); border-radius: 6px; box-shadow: none; }
.page-detail .project-card:hover { border-color: var(--accent); box-shadow: none; }

.site-section .news-list { gap: 0; border-top: 1px solid var(--line); }
.site-section .news-item-link {
    display: grid;
    grid-template-columns: 116px minmax(0, 1fr) auto;
    align-items: baseline;
    gap: 10px 22px;
    min-height: 74px;
    padding: 18px 8px;
    border: 0;
    border-bottom: 1px solid var(--line);
}
.site-section .news-item-link:hover { background: var(--surface); box-shadow: none; }
.site-section .news-item-title { display: block; margin: 0; overflow-wrap: anywhere; }
.site-section .news-item-summary { margin: 4px 0 0; }
.site-section .news-item-time { color: var(--muted); font-variant-numeric: tabular-nums; }
.news-item-arrow { color: var(--accent); }

.contact-layout { display: grid; grid-template-columns: minmax(0, 3fr) minmax(240px, 2fr); gap: clamp(22px, 5vw, 80px); align-items: start; }
.contact-layout .contact-page-grid { margin: 0; }
.contact-layout .contact-page-item { grid-template-columns: minmax(72px, 110px) 1fr; line-height: 1.65; }
.contact-page-item dt { color: var(--muted); }
.contact-page-item dd { overflow-wrap: anywhere; }
.contact-page-item dd a { color: var(--accent); text-decoration: underline; }
.contact-consult { padding: clamp(20px, 4vw, 38px); border-radius: 8px; background: var(--mint); }
.contact-consult p { color: var(--ink-soft); line-height: 1.7; margin: 10px 0 18px; }
.contact-consult img { display: block; margin-top: 14px; border-radius: 5px; }

.page-water .water-stats { position: relative; border-color: var(--line); margin-top: 22px; }
.page-water .water-stats span, .page-water .water-stats strong { color: var(--ink-soft); }
.page-water .water-intro.page-banner-photo::after { width: 36%; }
.page-water .water-stats { max-width: 57%; }
.page-water .water-workspace { padding-block: clamp(32px, 5vw, 62px); }
.page-water .water-page-list { grid-template-columns: minmax(0, 1fr); gap: 0; border-top: 1px solid var(--line); }
.page-water .water-page-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 5px 16px;
    border: 0;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
}
.page-water .water-page-card:hover { background: var(--surface); }
.page-water .water-page-card h3, .page-water .water-page-card p { margin: 0; overflow-wrap: anywhere; }
.water-page-card .water-page-link { grid-column: 2; grid-row: 1 / span 2; color: var(--accent); font-size: 14px; font-weight: 600; }
.page-water .water-list-hint { padding-block: 18px; }
.page-water .water-detail-header { color: var(--ink); background: var(--mint); border: 0; border-radius: 8px; }
.page-water .water-detail-header .water-detail-copy > p:not(.water-kicker) { color: var(--ink-soft); }
.page-water .water-facts { background: var(--line); }
.page-water .water-facts div { background: #fff; }
.page-water .water-facts dt { color: var(--muted); }
.page-water :is(.water-kicker, .water-step, .water-related a span) { color: var(--accent); }
.page-water .water-contact-panel { color: var(--ink); background: var(--mint); border: 0; border-radius: 7px; }
.page-water .water-contact-panel > p:not(.water-step) { color: var(--ink-soft); }
.page-water .water-contact-panel a { color: #fff; background: var(--accent); border-radius: 5px; }
.page-water .water-contact-panel a:hover { background: #075e59; }
.page-water :is(.water-related, .water-breadcrumb) a:hover { color: var(--accent); }

.page-sitemap .sitemap-page { padding-top: 36px; }
.page-sitemap .section-title, .landing-hero h1 { font-family: inherit; }
.landing-hero { background: var(--mint); color: var(--ink); }

.site-footer { background: #0e293a; color: #d5e3e7; }
.site-footer .footer-slogan, .site-footer .footer-col h3 { color: #fff; }
.site-footer .footer-desc { color: #c2d5db; }
.site-footer .footer-bottom-bar { background: #0a2231; }
.site-float-dock {
    --float-soft-bg: #edf8f6;
    --float-soft-bg-hover: #def1ed;
    --float-accent: #07665e;
    --float-accent-hover: #07564f;
    top: auto;
    bottom: 24px;
    transform: none;
}
.site-float-dock .site-float-item { width: 60px; box-shadow: 0 2px 12px #112e4217; }
.site-float-dock .site-float-trigger { min-height: 58px; padding: 7px 4px; }
.site-float-dock .site-float-label { font-size: 11px; white-space: nowrap; letter-spacing: 0; }
.site-float-dock .site-float-icon svg { width: 21px; height: 21px; }

@media (max-width: 1024px) {
    .site-header .nav > a, .site-header .nav-mega-trigger { padding-inline: 6px; font-size: 13px; }
    .site-header .nav { gap: 2px; }
    .site-header .logo img { height: 52px; }
}

@media (max-width: 860px) {
    :root { --header-h: 66px; --header-top-h: 66px; }
    .site-header .nav { max-height: calc(100dvh - var(--header-h)); overflow-y: auto; }
    .site-header .nav > a, .site-header .nav-mega-trigger { min-height: 44px; padding-inline: 12px; font-size: 15px; }
    .site-header .nav .member-nav { align-self: start; margin-top: 10px; }
    .site-header .menu-toggle { min-width: 44px; min-height: 44px; }
    .site-service-featured { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .home-process { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .home-process li:nth-child(2)::after { content: none; }
    .site-float-dock { top: auto; right: 8px; bottom: max(12px, env(safe-area-inset-bottom)); }
}

@media (max-width: 680px) {
    .home-hero { min-height: 0; }
    .home-hero-copy { width: 100%; padding-block: 38px 30px; }
    .home-hero-copy h1 { font-size: clamp(31px, 7.9vw, 46px); text-wrap: initial; }
    .home-hero-copy p { margin-block: 14px 20px; }
    .home-hero-photo { position: static; width: 100%; height: auto; aspect-ratio: 16 / 8; clip-path: none; object-position: center; }
    .site-section-head { align-items: start; flex-direction: column; gap: 6px; margin-bottom: 18px; }
    .finder-tabs { gap: 0 8px; }
    .finder-tabs .industry-tab { padding-inline: 6px; }
    .finder-projects, .field-grid, .contact-layout { grid-template-columns: minmax(0, 1fr); }
    .finder-project { min-height: 52px; }
    .site-service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .site-service-label { padding: 12px; font-size: 16px; gap: 6px; }
    .site-service-description { padding-inline: 12px; font-size: 14px; }
    .home-support-grid { grid-template-columns: minmax(0, 1fr); gap: 18px; }
    .home-contact-band .section-inner { align-items: start; flex-direction: column; }
    .page-banner-photo::after { display: none; }
    .page-banner-photo .section-inner > :is(h1, p), .page-water .water-stats { max-width: none; }
    .page-detail .project-page { padding-block: 18px 48px; }
    .site-section .news-item-link { grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; }
    .site-section .news-item-time { grid-column: 1 / -1; }
    .page-water .water-page-card { padding-inline: 0; }
    .site-float-dock .site-float-item { width: 52px; }
    .site-float-dock .site-float-trigger { min-height: 48px; gap: 2px; }
    .site-float-dock .site-float-label { font-size: 10px; }
}

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

/* 公司页沿用已确认的正文和登记信息，与官网统一标题区。 */
.公司页面 .公司容器 { width: min(var(--site-width), calc(100% - 2 * var(--site-gutter))); }
.公司页面 .公司首屏 { background: var(--mint); color: var(--ink); padding-bottom: clamp(32px, 5vw, 68px); }
.公司页面 .公司面包屑, .公司页面 .公司首屏说明 { color: var(--ink-soft); }
.公司页面 .公司首屏布局 { grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); padding-top: 10px; }
.公司页面 .公司首屏 h1 { font-size: clamp(32px, 4vw, 56px); letter-spacing: -.02em; text-wrap: balance; }
.公司页面 .about-photo { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 7px; }
.公司页面 .公司主按钮 { background: var(--accent); }
.公司页面 .公司主按钮:hover { background: #075e59; }
.公司页面 .公司文字按钮, .公司页面 .公司业务卡 a, .公司页面 .公司流程 span { color: var(--accent); }
.公司页面 .公司业务卡, .公司页面 .公司咨询卡 { border-color: var(--accent); }
.公司页面 a:focus-visible { outline-color: var(--accent); }

@media (max-width: 680px) {
    .公司页面 .公司首屏布局 { grid-template-columns: minmax(0, 1fr); }
    .公司页面 .about-photo { aspect-ratio: 16 / 9; }
}
