:root {
  --ink: #0c1b2a;
  --ink-soft: #163047;
  --sea: #1f6f7c;
  --signal: #e8a838;
  --paper: #f0f3f5;
  --line: rgba(12, 27, 42, 0.12);
  --muted: #5c6b78;
  --white: #ffffff;
  --font-display: "Figtree", "Noto Sans SC", sans-serif;
  --font-body: "Noto Sans SC", "Figtree", sans-serif;
  --max: 1120px;
  --header-h: 110px;
  --radius-card: 12px;
  --radius-media: 10px;
  --shadow-card: 0 8px 28px rgba(12, 27, 42, 0.08);
  --shadow-card-hover: 0 18px 40px rgba(12, 27, 42, 0.12);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  cursor: pointer;
  border: 0;
  background: none;
}

.wrap {
  width: min(100% - 40px, var(--max));
  margin-inline: auto;
}

/* —— Header —— */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(240, 243, 245, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--line);
  transition: box-shadow 0.35s ease, background 0.35s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 8px 24px rgba(12, 27, 42, 0.08);
}

.site-header__inner {
  width: min(100% - 40px, var(--max));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand img {
  width: auto;
  height: 70px;
  max-height: 70px;
  max-width: 220px;
  object-fit: contain;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav a {
  padding: 8px 12px;
  font-size: 0.92rem;
  color: var(--ink-soft);
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav a:hover,
.nav a.is-active {
  color: var(--sea);
  background: rgba(31, 111, 124, 0.1);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  color: var(--ink);
  border: 1px solid var(--line);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

/* —— Hero —— */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  align-items: end;
  color: var(--white);
  overflow: hidden;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  animation: hero-drift 18s ease-in-out infinite alternate;
}

@keyframes hero-drift {
  from {
    transform: scale(1.06) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.12) translate3d(-1.5%, -1%, 0);
  }
}

.hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(12, 27, 42, 0.55) 0%, rgba(12, 27, 42, 0.35) 40%, rgba(12, 27, 42, 0.88) 100%),
    linear-gradient(90deg, rgba(12, 27, 42, 0.65) 0%, transparent 55%);
}

.hero__content {
  position: relative;
  z-index: 1;
  width: min(100% - 40px, var(--max));
  margin: 0 auto;
  padding: calc(var(--header-h) + 32px) 0 56px;
}

.hero__brand {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.05;
  margin: 0 0 14px;
  opacity: 0;
  animation: rise 0.9s ease 0.15s forwards;
}

.hero__brand span {
  display: block;
  font-size: 0.32em;
  font-weight: 600;
  letter-spacing: 0.28em;
  color: var(--signal);
  margin-bottom: 10px;
}

.hero__lead {
  max-width: 34rem;
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  color: rgba(255, 255, 255, 0.9);
  margin: 0 0 12px;
  opacity: 0;
  animation: rise 0.9s ease 0.3s forwards;
}

.hero__sub {
  max-width: 36rem;
  color: rgba(255, 255, 255, 0.72);
  margin: 0 0 28px;
  opacity: 0;
  animation: rise 0.9s ease 0.42s forwards;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  opacity: 0;
  animation: rise 0.9s ease 0.55s forwards;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 600;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--signal);
  color: var(--ink);
}

.btn-primary:hover {
  background: #f0b84d;
}

.btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: var(--white);
}

.btn-ghost:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.btn-ink {
  background: var(--ink);
  color: var(--white);
}

.btn-ink:hover {
  background: var(--ink-soft);
}

.btn-line {
  border: 1px solid var(--line);
  color: var(--ink);
  background: var(--white);
}

/* —— Sections —— */
.section {
  padding: 88px 0;
}

.section--white {
  background: var(--white);
}

.section--muted {
  background: #f0f3f5;
}

.section__head {
  margin-bottom: 40px;
  max-width: 40rem;
}

.section__kicker {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sea);
  margin-bottom: 10px;
}

.section__head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.25rem);
  line-height: 1.2;
  margin: 0 0 10px;
}

.section__head p {
  margin: 0;
  color: var(--muted);
}

/* 自写 scroll reveal：手感对齐 AOS（100px + ease + 先冻结再开 transition） */
.reveal {
  opacity: 0;
  pointer-events: none;
  transition-property: opacity, transform;
  transition-duration: 0ms;
  transition-timing-function: ease;
  transition-delay: 0ms;
  backface-visibility: hidden;
}

.reveal.reveal-ready {
  transition-duration: 900ms;
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal[data-reveal="fade-up"],
.reveal:not([data-reveal]) {
  transform: translate3d(0, 100px, 0);
}

.reveal[data-reveal="fade-down"] {
  transform: translate3d(0, -100px, 0);
}

.reveal[data-reveal="fade-left"] {
  transform: translate3d(100px, 0, 0);
}

.reveal[data-reveal="fade-right"] {
  transform: translate3d(-100px, 0, 0);
}

.reveal[data-reveal="zoom-in"] {
  transform: translate3d(0, 40px, 0) scale(0.85);
}

.reveal[data-reveal="zoom-out"] {
  transform: translate3d(0, 24px, 0) scale(1.12);
}

.reveal.is-in {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  pointer-events: auto;
}

.reveal[data-delay="100"] { --reveal-delay: 100ms; }
.reveal[data-delay="150"] { --reveal-delay: 150ms; }
.reveal[data-delay="200"] { --reveal-delay: 200ms; }
.reveal[data-delay="250"] { --reveal-delay: 250ms; }
.reveal[data-delay="300"] { --reveal-delay: 300ms; }
.reveal[data-delay="350"] { --reveal-delay: 350ms; }
.reveal[data-delay="400"] { --reveal-delay: 400ms; }
.reveal[data-delay="450"] { --reveal-delay: 450ms; }
.reveal[data-delay="500"] { --reveal-delay: 500ms; }
.reveal[data-delay="600"] { --reveal-delay: 600ms; }

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal.reveal-ready {
    opacity: 1;
    transform: none;
    transition: none;
    pointer-events: auto;
  }
}

/* services */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.svc {
  position: relative;
  padding: 22px 56px 20px 20px;
  border: 1px solid rgba(12, 27, 42, 0.08);
  background: linear-gradient(180deg, #ffffff 0%, #f4f7f9 100%);
  border-radius: var(--radius-card);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.85) inset,
    0 10px 28px rgba(12, 27, 42, 0.09),
    0 2px 6px rgba(12, 27, 42, 0.04);
  transition: border-color 0.35s ease, transform 0.35s ease, box-shadow 0.35s ease;
}

.svc:hover {
  border-color: rgba(31, 111, 124, 0.3);
  transform: translateY(-6px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.95) inset,
    0 20px 44px rgba(12, 27, 42, 0.14),
    0 6px 14px rgba(12, 27, 42, 0.06);
}

.svc__tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--sea);
}

.svc h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin: 8px 0 8px;
}

.svc p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

#services .svc .tile-ico--tr {
  background: linear-gradient(145deg, rgba(31, 111, 124, 0.18), rgba(31, 111, 124, 0.08));
  box-shadow: 0 6px 14px rgba(31, 111, 124, 0.16);
}

#services .svc:hover .tile-ico--tr {
  transform: scale(1.06) translateY(-1px);
  background: linear-gradient(145deg, rgba(31, 111, 124, 0.22), rgba(31, 111, 124, 0.1));
  box-shadow: 0 10px 18px rgba(31, 111, 124, 0.22);
}

.tile-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(31, 111, 124, 0.1);
  color: var(--sea);
  font-size: 1.25rem;
  line-height: 1;
  flex-shrink: 0;
  transition: transform 0.3s ease, background 0.3s ease;
}

.svc:hover .tile-ico--tr,
.idea:hover .tile-ico,
.principle:hover .tile-ico {
  transform: scale(1.06);
  background: rgba(31, 111, 124, 0.16);
}

.tile-ico--sm {
  width: 34px;
  height: 34px;
  font-size: 1.05rem;
  border-radius: 10px;
}

.tile-ico--tr {
  position: absolute;
  top: 16px;
  right: 16px;
  margin: 0;
}

.tile-ico--wash {
  position: absolute;
  right: 8px;
  bottom: 4px;
  width: 64px;
  height: 64px;
  font-size: 2rem;
  background: transparent;
  color: rgba(31, 111, 124, 0.16);
  pointer-events: none;
}

.section__more {
  margin-top: 28px;
}

/* products */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.filters button {
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--muted);
  background: var(--white);
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.filters button.is-on {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
  box-shadow: 0 8px 18px rgba(12, 27, 42, 0.16);
}

.prod-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.prod {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.prod[hidden] {
  display: none;
}

.prod:hover {
  transform: translateY(-6px);
  border-color: rgba(31, 111, 124, 0.28);
  box-shadow: var(--shadow-card-hover);
}

.prod__thumb {
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  padding: 14px 16px;
  background: #fff;
  overflow: hidden;
}

.prod__thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transition: transform 0.4s ease;
}

.prod:hover .prod__thumb img {
  transform: translateY(-2px);
}

.prod__body {
  padding: 14px 16px 16px;
  border-top: 1px solid rgba(12, 27, 42, 0.06);
  background: linear-gradient(180deg, #f4f7f9 0%, #e8eef2 100%);
}

.prod__body h3 {
  font-family: var(--font-display);
  font-size: 1.02rem;
  margin: 0 0 6px;
  line-height: 1.35;
  color: var(--ink);
}

.prod__body p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.55;
}

/* solutions band */
.sol-band {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 28px;
  align-items: stretch;
}

.sol-band__visual {
  min-height: 360px;
  border-radius: var(--radius-card);
  overflow: hidden;
  position: relative;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
}

.sol-band__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sol-list {
  display: grid;
  gap: 12px;
}

.sol-item {
  padding: 18px 18px 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-media);
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.sol-item:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(232, 168, 56, 0.35);
  transform: translateX(4px);
}

.tile-ico--light {
  background: rgba(255, 255, 255, 0.14);
  color: var(--signal);
}

.sol-item h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin: 0 0 6px;
  color: var(--signal);
}

.sol-item p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
}

.section--ink {
  background: linear-gradient(145deg, var(--ink) 0%, #12344a 55%, var(--sea) 140%);
  color: var(--white);
}

.section--ink .section__kicker {
  color: var(--signal);
}

.section--ink .section__head p {
  color: rgba(255, 255, 255, 0.72);
}

/* about */
.about-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: center;
}

.about-grid h3 {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.4vw, 1.7rem);
  line-height: 1.35;
  margin: 0 0 14px;
}

.about-grid p {
  color: var(--muted);
  margin: 0 0 14px;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 24px;
}

.pill {
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(31, 111, 124, 0.1);
  color: var(--sea);
  font-size: 0.85rem;
  font-weight: 600;
}

.about-grid__photo {
  border-radius: var(--radius-card);
  overflow: hidden;
  min-height: 320px;
  box-shadow: var(--shadow-card-hover);
}

.about-grid__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 320px;
}

/* honors / office */
.mosaic {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.mosaic a {
  display: block;
  overflow: hidden;
  border-radius: var(--radius-media);
  aspect-ratio: 1;
  background: #dde3e8;
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.35s ease, transform 0.35s ease;
}

.mosaic a img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.mosaic a:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card-hover);
}

.mosaic a:hover img {
  transform: scale(1.06);
}

.office-strip {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 12px;
}

.office-strip a {
  display: block;
  overflow: hidden;
  border-radius: var(--radius-media);
  min-height: 180px;
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.35s ease, transform 0.35s ease;
}

.office-strip a:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card-hover);
}

.office-strip a:first-child {
  min-height: 360px;
  grid-row: span 2;
}

.office-strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: inherit;
  transition: transform 0.5s ease;
}

.office-strip a:hover img {
  transform: scale(1.04);
}

/* contact */
.contact-panel {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  padding: 36px;
  background: var(--ink);
  color: var(--white);
  border-radius: 6px;
}

.contact-panel h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  margin: 0 0 10px;
}

.contact-panel > div > p {
  margin: 0 0 22px;
  color: rgba(255, 255, 255, 0.72);
}

.contact-meta {
  display: grid;
  gap: 14px;
}

.contact-meta dt {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--signal);
  margin: 0 0 4px;
}

.contact-meta dd {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
}

.contact-meta a:hover {
  color: var(--signal);
}

/* footer */
.site-footer {
  padding: 28px 0 40px;
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer__row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding-top: 22px;
}

.site-footer a:hover {
  color: var(--sea);
}

/* mobile */
@media (max-width: 960px) {
  .svc-grid,
  .prod-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .sol-band,
  .about-grid,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .office-strip {
    grid-template-columns: 1fr 1fr;
  }

  .office-strip a:first-child {
    grid-column: span 2;
    grid-row: auto;
    min-height: 240px;
  }

  .mosaic {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav {
    position: fixed;
    inset: var(--header-h) 16px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: 0 18px 40px rgba(12, 27, 42, 0.14);
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    color: var(--ink);
  }

  .svc-grid,
  .prod-grid {
    grid-template-columns: 1fr;
  }

  .hero__content {
    padding-bottom: 56px;
  }
}

/* —— 整站色板（覆盖 site-preview 变量） —— */
:root {
  --accent-color: #1f6f7c;
  --heading-color: #0c1b2a;
  --default-color: #445566;
  --contrast-color: #ffffff;
  --background-color: #f0f3f5;
  --surface-color: #ffffff;
  --ds-sticky-top: 120px;
}

body {
  background: var(--paper);
}

body:not(.index-page) {
  padding-top: var(--header-h);
}

main.main,
main.main .ds-svc2,
main.main .ds-pd,
main.main .ds-ab,
main.main .ds-ct,
main.main .ds-sol,
main.main section {
  color: var(--ink);
}

main.main h1,
main.main h2,
main.main h3,
main.main h4 {
  color: var(--ink);
}

main.main .ds-page-head,
main.main .ds-page-head h1,
main.main .ds-page-head .lead,
main.main .ds-page-head p {
  color: inherit;
}

main.main .ds-page-head {
  color: var(--white);
}

main.main .ds-page-head h1 {
  color: var(--white);
}

main.main .ds-page-head .lead {
  color: rgba(255, 255, 255, 0.78);
}

.container {
  width: min(100% - 40px, var(--max));
  margin-inline: auto;
  max-width: var(--max);
}

/* 子页顶区 */
.ds-page-head {
  padding: 48px 0 40px;
  margin-bottom: 0;
  background:
    linear-gradient(145deg, rgba(12, 27, 42, 0.96) 0%, rgba(18, 52, 74, 0.94) 55%, rgba(31, 111, 124, 0.9) 140%),
    var(--ink);
  border-bottom: 0;
  color: var(--white);
}

.ds-page-head h1 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--white);
}

.ds-page-head .lead {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  max-width: 36rem;
  font-size: 1.05rem;
  line-height: 1.65;
}

.ds-crumb {
  margin: 0 0 14px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.62);
}

.ds-crumb a {
  color: var(--signal);
}

.ds-crumb a:hover {
  color: #f0b84d;
}

.ds-crumb .sep {
  margin: 0 0.4rem;
  opacity: 0.45;
}

.ds-page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.25rem;
}

.ds-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-height: 46px;
  padding: 0.7rem 1.35rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}

.ds-btn:hover {
  transform: translateY(-1px);
}

.ds-btn-primary {
  background: var(--signal);
  color: var(--ink);
  box-shadow: none;
}

.ds-btn-primary:hover {
  background: #f0b84d;
  color: var(--ink);
}

.ds-btn-outline {
  background: var(--white);
  border-color: var(--line);
  color: var(--ink);
}

.ds-btn-outline:hover {
  border-color: var(--sea);
  color: var(--sea);
  background: rgba(31, 111, 124, 0.06);
}

.ds-page-head .ds-btn-outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.45);
  color: var(--white);
}

.ds-page-head .ds-btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border-color: var(--white);
}

.ds-chip {
  display: inline-block;
  width: fit-content;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--sea);
  background: rgba(31, 111, 124, 0.1);
}

/* 宗旨 / 理念 / 文化 / FAQ */
.principle-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.principle {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  padding: 28px 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  min-height: 0;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.principle:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(31, 111, 124, 0.28);
}

.principle .tile-ico--sm {
  width: 44px;
  height: 44px;
  font-size: 1.25rem;
  border-radius: 12px;
}

.principle h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.2rem;
  line-height: 1.3;
}

.idea-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.idea {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 22px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--white);
  box-shadow: var(--shadow-card);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.idea:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(31, 111, 124, 0.28);
}

.idea__body {
  min-width: 0;
}

.idea h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--sea);
}

.idea p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.culture-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.culture {
  padding: 28px 22px;
  border-radius: var(--radius-card);
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--signal);
  box-shadow: var(--shadow-card);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.culture:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card-hover);
}

.culture:hover .tile-ico {
  transform: scale(1.06);
}

.culture .tile-ico {
  background: rgba(232, 168, 56, 0.14);
  color: #c48920;
}

.culture h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 1.2rem;
}

.culture p {
  margin: 0;
  color: var(--muted);
}

.faq-list {
  display: grid;
  gap: 10px;
  max-width: 820px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-media);
  background: var(--white);
  padding: 0 18px;
  box-shadow: 0 4px 16px rgba(12, 27, 42, 0.04);
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.faq-item:hover,
.faq-item[open] {
  box-shadow: var(--shadow-card);
  border-color: rgba(31, 111, 124, 0.22);
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.02rem;
  padding: 16px 0;
  position: relative;
  padding-right: 28px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  color: var(--sea);
  font-weight: 700;
  font-size: 1.2rem;
}

.faq-item[open] summary::after {
  content: "–";
}

.faq-item p {
  margin: 0 0 16px;
  color: var(--muted);
  line-height: 1.7;
}

@media (max-width: 960px) {
  .principle-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .idea-grid,
  .culture-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .principle-grid,
  .idea-grid,
  .culture-grid {
    grid-template-columns: 1fr;
  }
}

/* 富页脚 */
.site-footer--rich {
  background: var(--white);
  padding: 48px 0 28px;
  margin-top: 0;
  border-top: 1px solid var(--line);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 28px;
  margin-bottom: 28px;
}

.site-footer__brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--ink);
  margin: 0 0 12px;
}

.site-footer__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ink);
  margin: 0 0 12px;
}

.site-footer__text {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.bcx-contact-list {
  display: inline-flex;
  flex-direction: column;
  vertical-align: top;
  align-items: flex-start;
}

.bcx-contact-list a {
  display: block;
}

.bcx-phone-list {
  display: inline-flex;
  flex-direction: column;
  gap: 0.35rem;
  vertical-align: top;
  align-items: flex-start;
}

.bcx-phone-line {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  line-height: 1.35;
  text-decoration: none;
  color: inherit;
}

.bcx-phone-ico {
  display: inline-block;
  width: 0.95em;
  height: 0.95em;
  flex-shrink: 0;
  background: currentColor;
  opacity: 0.9;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.654 1.328a.678.678 0 0 0-1.015-.063L1.605 2.3c-.483.484-.661 1.169-.45 1.77a17.568 17.568 0 0 0 4.168 6.608 17.569 17.569 0 0 0 6.608 4.168c.601.211 1.286.033 1.77-.45l1.034-1.034a.678.678 0 0 0-.063-1.015l-2.307-1.794a.678.678 0 0 0-.58-.122l-2.19.547a1.745 1.745 0 0 1-1.657-.459L5.482 8.062a1.745 1.745 0 0 1-.46-1.657l.548-2.19a.678.678 0 0 0-.122-.58L3.654 1.328zM1.884.511a1.745 1.745 0 0 1 2.612.163L6.29 2.98c.329.423.445.974.315 1.494l-.547 2.19a.678.678 0 0 0 .178.643l2.457 2.457a.678.678 0 0 0 .644.178l2.189-.547a1.745 1.745 0 0 1 1.494.315l2.306 1.794c.829.645.905 1.87.163 2.611l-1.034 1.034c-.74.74-1.846 1.065-2.877.702a18.634 18.634 0 0 1-7.01-4.42 18.634 18.634 0 0 1-4.42-7.009c-.362-1.03-.037-2.137.703-2.877L1.885.511z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.654 1.328a.678.678 0 0 0-1.015-.063L1.605 2.3c-.483.484-.661 1.169-.45 1.77a17.568 17.568 0 0 0 4.168 6.608 17.569 17.569 0 0 0 6.608 4.168c.601.211 1.286.033 1.77-.45l1.034-1.034a.678.678 0 0 0-.063-1.015l-2.307-1.794a.678.678 0 0 0-.58-.122l-2.19.547a1.745 1.745 0 0 1-1.657-.459L5.482 8.062a1.745 1.745 0 0 1-.46-1.657l.548-2.19a.678.678 0 0 0-.122-.58L3.654 1.328zM1.884.511a1.745 1.745 0 0 1 2.612.163L6.29 2.98c.329.423.445.974.315 1.494l-.547 2.19a.678.678 0 0 0 .178.643l2.457 2.457a.678.678 0 0 0 .644.178l2.189-.547a1.745 1.745 0 0 1 1.494.315l2.306 1.794c.829.645.905 1.87.163 2.611l-1.034 1.034c-.74.74-1.846 1.065-2.877.702a18.634 18.634 0 0 1-7.01-4.42 18.634 18.634 0 0 1-4.42-7.009c-.362-1.03-.037-2.137.703-2.877L1.885.511z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.site-footer__phones {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.25rem;
}

.site-footer__phones .bcx-phone-list {
  display: flex;
}

.contact-meta .bcx-phone-list {
  display: flex;
}

.site-footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer__links li {
  margin-bottom: 8px;
}

.site-footer__links a {
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer__links a:hover,
.site-footer__text a:hover {
  color: var(--sea);
}

.site-footer--rich .site-footer__row {
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

/* 子页内容区微调：更干净的卡片边 */
.ds-svc2-row,
.ds-pd-item,
.ds-sol-card,
.ds-ab-visual,
.ds-ct-phone,
.ds-ct-card {
  border-radius: 6px !important;
}

.ds-svc2-head .label,
.ds-pd-head .label,
.ds-ab-kicker {
  color: var(--sea) !important;
}

.ds-svc2-foot,
.ds-ab-band.is-soft {
  background: #e8eef0 !important;
}

.ds-ct-phone {
  background:
    radial-gradient(ellipse 70% 80% at 100% 0%, rgba(255, 255, 255, 0.14), transparent 55%),
    linear-gradient(145deg, #1f6f7c 0%, #0c1b2a 100%) !important;
  box-shadow: 0 18px 40px rgba(12, 27, 42, 0.22) !important;
}

.ds-ct-phone .actions .primary {
  color: var(--ink) !important;
}

@media (max-width: 960px) {
  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .site-footer__grid {
    grid-template-columns: 1fr;
  }
}

a.js-photo {
  cursor: zoom-in;
}

body.photo-view-open {
  overflow: hidden;
}

.photo-view {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  padding: 64px 88px 48px;
}

.photo-view[hidden],
.photo-view__nav[hidden],
.photo-view figcaption[hidden] {
  display: none !important;
}

.photo-view__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  padding: 0;
  background: rgba(12, 27, 42, 0.88);
  cursor: zoom-out;
}

.photo-view__stage {
  position: relative;
  z-index: 1;
  margin: 0;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.photo-view__stage img {
  max-width: min(1100px, 100%);
  max-height: calc(100vh - 140px);
  object-fit: contain;
  border-radius: 6px;
  background: #fff;
}

.photo-view__stage figcaption {
  margin-top: 12px;
  color: #fff;
  font-size: 0.92rem;
  text-align: center;
}

.photo-view__close,
.photo-view__nav {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  font-size: 1.15rem;
  cursor: pointer;
}

.photo-view__close {
  top: 16px;
  right: 16px;
}

.photo-view__nav.is-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.photo-view__nav.is-next { right: 18px; top: 50%; transform: translateY(-50%); }

.photo-view__close:hover,
.photo-view__nav:hover {
  background: rgba(255, 255, 255, 0.28);
}

@media (max-width: 600px) {
  .photo-view {
    padding: 64px 12px 72px;
  }

  .photo-view__stage img {
    max-height: calc(100vh - 180px);
  }

  .photo-view__nav.is-prev { left: 12px; top: auto; bottom: 16px; transform: none; }
  .photo-view__nav.is-next { right: 12px; top: auto; bottom: 16px; transform: none; }
}
