:root {
  --ink: #111827;
  --muted: #667085;
  --line: #dfe7ef;
  --navy: #00498e;
  --navy-2: #063a72;
  --teal: #00498e;
  --green: #71bf44;
  --steel: #f5f5f5;
  --surface: #ffffff;
  --soft: #f5f5f5;
  --max: 1360px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --glass: rgba(255, 255, 255, 0.72);
  --glass-strong: rgba(255, 255, 255, 0.86);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.22, 0.61, 0.36, 1);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  background: #f5f5f5;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 0 max(32px, calc((100vw - var(--max)) / 2));
  color: var(--ink);
  background: rgba(255, 255, 255, 0.84);
  border-bottom: 1px solid rgba(0, 73, 142, 0.08);
  backdrop-filter: blur(16px) saturate(1.2);
}

.brand img {
  width: 224px;
  height: auto;
  padding: 0;
  border-radius: var(--radius-sm);
  background: transparent;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 16px;
}

.primary-nav > a,
.nav-group > a {
  display: inline-flex;
  align-items: center;
  min-height: 80px;
  padding: 0 18px;
  border-radius: var(--radius-sm);
  color: #252525;
  font-size: 15px;
  letter-spacing: 0.02em;
  transition: color 0.18s ease, background 0.18s ease;
}

.primary-nav > a:hover,
.nav-group:hover > a,
.primary-nav .active {
  color: var(--navy);
  background: transparent;
}

.primary-nav > a::after,
.nav-group > a::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 0;
  height: 3px;
  background: var(--navy);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.22s ease;
}

.primary-nav > a,
.nav-group > a {
  position: relative;
}

.primary-nav > a:hover::after,
.nav-group:hover > a::after,
.primary-nav .active::after {
  transform: scaleX(1);
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  margin-left: 8px;
  padding: 4px;
  border: 1px solid rgba(0, 73, 142, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 10px 26px rgba(8, 22, 44, 0.08);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
}

.language-switcher button {
  width: 34px;
  height: 30px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #30465f;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.language-switcher button.active {
  color: #fff;
  background: var(--navy);
  box-shadow: 0 8px 18px rgba(0, 73, 142, 0.22);
}

.language-switcher {
  position: relative;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.language-switcher .language-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(0, 73, 142, 0.14);
  background: rgba(255, 255, 255, 0.74);
  color: var(--navy);
  box-shadow: 0 12px 28px rgba(8, 22, 44, 0.09);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
}

.language-toggle svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.language-toggle .global-web-icon {
  width: 21px;
  height: 21px;
  filter: drop-shadow(0 4px 10px rgba(0, 95, 209, 0.18));
}

.language-toggle .global-web-icon-node {
  fill: currentColor;
  stroke: rgba(255, 255, 255, 0.84);
  stroke-width: 0.9;
}

.language-switcher .language-toggle:hover,
.language-switcher.open .language-toggle {
  color: #fff;
  border-color: rgba(0, 95, 209, 0.42);
  background:
    radial-gradient(circle at 70% 24%, rgba(126, 215, 255, 0.52), transparent 30%),
    linear-gradient(135deg, #005fd1, #003f8c);
  box-shadow: 0 16px 34px rgba(0, 73, 142, 0.24);
}

.language-menu {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  z-index: 30;
  display: grid;
  min-width: 138px;
  padding: 8px;
  border: 1px solid rgba(0, 73, 142, 0.12);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 44px rgba(8, 22, 44, 0.14);
  backdrop-filter: blur(18px) saturate(1.18);
  -webkit-backdrop-filter: blur(18px) saturate(1.18);
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.language-switcher.open .language-menu {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.language-switcher .language-option {
  width: 100%;
  height: 36px;
  padding: 0 12px;
  border-radius: 6px;
  color: #26394f;
  text-align: left;
  white-space: nowrap;
}

.language-switcher .language-option:hover,
.language-switcher .language-option.active {
  color: #fff;
  background: var(--navy);
  box-shadow: none;
}

.nav-group {
  position: relative;
}

.sub-nav {
  position: absolute;
  top: 100%;
  left: 50%;
  width: 320px;
  padding: 18px 20px;
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: 0 22px 60px rgba(0, 73, 142, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(18px) saturate(1.18);
  transform: translateX(-50%);
  opacity: 0;
  visibility: hidden;
  transition: 0.18s ease;
}

.nav-group:hover .sub-nav {
  opacity: 1;
  visibility: visible;
}

.sub-nav a {
  display: block;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  color: var(--ink);
  font-size: 14px;
  border-bottom: 1px solid #eef1f5;
}

.sub-nav a:hover {
  color: #fff;
  background: var(--navy);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  padding: 10px;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 6px 0;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-video {
  display: block;
  background: #001836;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 24, 54, 0.72) 0%, rgba(0, 47, 94, 0.36) 48%, rgba(255, 255, 255, 0.02) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 24, 54, 0.16));
}

.hero-content {
  position: relative;
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
}

@media (min-width: 1025px) {
  .hero-content {
    margin-left: max(24px, calc((100vw - var(--max)) / 4));
    margin-right: auto;
  }


}

.hero h1 {
  max-width: 850px;
  margin: 0;
  color: #fff;
  font-size: clamp(36px, 5vw, 68px);
  line-height: 1.18;
  letter-spacing: 0;
}

.hero-title-split {
  display: grid;
  gap: 0.08em;
}

.hero-title-split span {
  display: block;
}

html[lang="en"] .hero h1 {
  max-width: 1120px;
  font-size: clamp(34px, 4.35vw, 58px);
  line-height: 1.12;
}

.hero-kicker,
.page-hero-content span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.hero-kicker::before,
.page-hero-content span::before {
  content: "";
  width: 42px;
  height: 2px;
  background: #fff;
}

.hero-content p {
  max-width: 680px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 20px;
  line-height: 1.75;
}

.hero-lead {
  width: min(760px, 100%);
  margin-top: 24px;
}

.hero-lead p {
  margin: 0;
}

.hero-command-row {
  width: 100%;
  max-width: none;
  margin-top: 58px;
  display: block;
}

.hero-actions {
  display: grid;
  grid-template-columns: 148px;
  align-items: stretch;
  justify-content: end;
  justify-self: auto;
  flex: 0 0 auto;
  margin-left: 0;
  gap: 12px;
  margin-top: 0;
  padding: 0;
  border-left: 0;
  position: static;
  transform: none;
  white-space: nowrap;
}

.hero-corner-action {
  position: absolute;
  left: 200px;
  right: auto;
  bottom: clamp(40px, 6vh, 70px);
  z-index: 3;
}

.hero-button {
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  box-shadow: 0 16px 38px rgba(0, 24, 54, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.34);
  backdrop-filter: blur(14px) saturate(138%);
  -webkit-backdrop-filter: blur(14px) saturate(138%);
}

.hero-actions .button,
.hero-actions .ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-width: 0;
  height: 44px;
  box-sizing: border-box;
  margin: 0;
  padding: 0 14px;
  line-height: 1;
  white-space: nowrap;
  transform: none;
}

.ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 142px;
  height: 52px;
  padding: 0 22px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  color: #fff;
  font-size: 16px;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: min(920px, 100%);
  max-width: 920px;
  margin-top: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}

.hero-metrics > div {
  padding: 22px 26px;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-metrics > div:last-child {
  border-right: 0;
}

.hero-metrics strong {
  display: block;
  color: #fff;
  font-size: 34px;
  line-height: 1.15;
}

.hero-metrics span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 14px;
}

.section {
  padding: 96px 24px;
}

.section-grid {
  width: min(var(--max), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 70px;
  align-items: center;
}

.copy-block {
  color: #555f70;
  font-size: 18px;
  line-height: 1.8;
  position: relative;
  padding-left: 0;
  border-left: 0;
}

.copy-block p + p {
  margin-top: 18px;
}

.copy-block p:first-child {
  font-size: 24px;
  color: #252525;
  line-height: 1.55;
  font-weight: 600;
}

.image-stack {
  position: relative;
}

.image-stack > img:first-child {
  width: 100%;
  aspect-ratio: 652 / 403;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: 0 28px 70px rgba(8, 22, 44, 0.18);
}

.accent {
  position: absolute;
  width: 118px;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 999px;
  box-shadow: 0 12px 34px rgba(0, 0, 127, 0.18);
}

.accent-left {
  left: -42px;
  top: -48px;
}

.accent-right {
  right: -34px;
  bottom: -44px;
}

.about-band {
  color: #fff;
  background:
    linear-gradient(90deg, rgba(5, 15, 34, 0.9), rgba(7, 24, 50, 0.78)),
    url("assets/images/about-background.jpg") center / cover;
}

.section-heading {
  width: min(var(--max), 100%);
  margin: 0 auto 46px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  text-align: left;
}

.section-heading span {
  display: block;
  font-size: clamp(26px, 3.4vw, 52px);
  font-weight: 700;
  line-height: 1.18;
  text-transform: uppercase;
  color: #252525;
}

.section-heading h2 {
  margin: 8px 0 0;
  font-size: 18px;
  color: var(--muted);
  font-weight: 500;
}

.section-heading.inverse h2,
.section-heading.inverse p {
  color: rgba(255, 255, 255, 0.82);
}

.section-heading.inverse span {
  color: #fff;
}

.section-heading p {
  margin: 8px 0 0;
  font-size: 13px;
  letter-spacing: 0.18em;
}

.belief-grid,
.service-grid {
  width: min(var(--max), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.16);
}

.belief-grid article {
  min-height: 260px;
  padding: 42px 34px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px) saturate(1.16);
}

.belief-grid h3,
.service-grid h3 {
  margin: 0 0 14px;
  font-size: 22px;
}

.belief-grid p,
.service-grid p {
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
}

.services {
  background: #fff;
}

.service-grid article {
  min-height: 268px;
  padding: 42px 34px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-top: 3px solid transparent;
  background: var(--glass);
  box-shadow: 0 18px 42px rgba(8, 22, 44, 0.07);
  backdrop-filter: blur(16px) saturate(1.14);
  transition: border-color 0.18s ease, background 0.18s ease;
}

.service-grid article:hover {
  transform: none;
  border-top-color: var(--navy);
  background: #fff;
  box-shadow: inset 0 0 0 1px #e5e9ef;
}

.service-grid img {
  width: 46px;
  height: 46px;
  margin-bottom: 26px;
  object-fit: contain;
}

.service-grid p {
  color: var(--muted);
}

.button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 160px;
  height: 52px;
  margin: 46px auto 0;
  border-radius: 999px;
  color: #fff;
  background: var(--navy);
  font-size: 16px;
  transition: 0.18s ease;
}

.button:hover {
  background: var(--green);
}

.hero-corner-action .hero-button,
.hero-corner-action .hero-button:hover {
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  box-shadow: 0 16px 38px rgba(0, 24, 54, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.34);
  backdrop-filter: blur(14px) saturate(138%);
  -webkit-backdrop-filter: blur(14px) saturate(138%);
}

.hero-corner-action .hero-button:hover {
  border-color: rgba(255, 255, 255, 0.68);
  background: rgba(255, 255, 255, 0.22);
}

.site-footer {
  color: rgba(255, 255, 255, 0.66);
  background: #041326;
}

.footer-inner {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  padding: 58px 0 36px;
  display: grid;
  grid-template-columns: 1.25fr 0.8fr 1fr 1fr;
  gap: 42px;
}

.footer-logo {
  width: 220px;
  margin-bottom: 28px;
  padding: 10px 14px;
}

.site-footer h2 {
  margin: 0 0 18px;
  color: #fff;
  font-size: 16px;
}

.site-footer a,
.site-footer p {
  display: block;
  margin: 0 0 10px;
  font-size: 14px;
  line-height: 1.8;
}

.copyright {
  padding: 18px 24px 28px;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 13px;
}

.copyright a,
.copyright span {
  display: inline-block;
  margin: 0 6px 6px;
}

.version-bar {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  padding: 0 0 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: rgba(255, 255, 255, 0.52);
  font-size: 12px;
}

.dev-log-trigger {
  height: 30px;
  padding: 0 14px;
  border: 1px solid rgba(126, 215, 255, 0.22);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.06);
  font: inherit;
  cursor: pointer;
  backdrop-filter: blur(10px) saturate(1.15);
  transition:
    color 0.24s var(--ease-out),
    border-color 0.24s var(--ease-out),
    background 0.24s var(--ease-out),
    transform 0.24s var(--ease-out);
}

.dev-log-trigger:hover {
  color: #fff;
  border-color: rgba(126, 215, 255, 0.54);
  background: rgba(126, 215, 255, 0.12);
  transform: translateY(-1px);
}

.dev-log-open {
  overflow: hidden;
}

.dev-log-modal[hidden] {
  display: none;
}

.dev-log-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 24px;
}

.dev-log-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 12, 24, 0.64);
  backdrop-filter: blur(8px);
}

.dev-log-panel {
  position: relative;
  width: min(620px, 100%);
  padding: 34px 36px;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: var(--radius-md);
  color: #fff;
  background:
    linear-gradient(135deg, rgba(0, 36, 74, 0.88), rgba(0, 96, 138, 0.72)),
    rgba(255, 255, 255, 0.08);
  box-shadow: 0 34px 90px rgba(0, 14, 32, 0.38);
  backdrop-filter: blur(22px) saturate(1.18);
  animation: devLogIn 0.34s var(--ease-out) both;
}

.dev-log-panel > span {
  color: rgba(126, 215, 255, 0.82);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.dev-log-panel h2 {
  margin: 10px 0 8px;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.18;
}

.dev-log-panel p {
  margin: 0 0 20px;
  color: rgba(255, 255, 255, 0.68);
}

.dev-log-panel ul {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 10px;
}

.dev-log-panel li {
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.75;
}

.dev-log-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.bottom-nav {
  display: none;
}

.page-hero {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #11194a;
}

.page-hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 24, 54, 0.78), rgba(0, 73, 142, 0.22)),
    linear-gradient(180deg, transparent, rgba(0, 24, 54, 0.16));
}

.page-hero-content {
  position: relative;
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  color: #fff;
}

.page-hero-content h1 {
  margin: 0;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.2;
}

.inner-section {
  width: min(var(--max), 100%);
  margin: 0 auto;
}

.product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  margin-bottom: 82px;
}

.product-card {
  position: relative;
  display: grid;
  grid-template-columns: 58% 42%;
  align-items: stretch;
  height: 540px;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--glass-strong);
  border: 1px solid rgba(255, 255, 255, 0.76);
  box-shadow: 0 18px 50px rgba(8, 22, 44, 0.08);
  backdrop-filter: blur(18px) saturate(1.16);
  transition: color 0.18s ease;
}

.product-card:hover {
  transform: none;
  box-shadow: none;
}

.product-card img {
  --product-image-scale: 1;
  position: relative;
  z-index: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  aspect-ratio: auto;
  object-fit: contain;
  box-sizing: border-box;
  padding: clamp(24px, 3vw, 48px);
  background:
    radial-gradient(circle at 50% 45%, rgba(255, 255, 255, 0.96), rgba(238, 244, 250, 0.78) 72%),
    #f4f7fb;
  transform: translate3d(var(--product-parallax-x, 0px), var(--product-parallax-y, 0px), 0) scale(var(--product-image-scale));
  transition: transform 0.34s var(--ease-out);
  will-change: transform;
}

.product-card:hover img {
  --product-image-scale: 1.06;
}

.product-card img[src$="product-cdu-liquid.png"] {
  --product-image-scale: 1.24;
}

.product-card img[src$="product-pump-liquid.png"] {
  --product-image-scale: 1.3;
}

.product-card img[src$="product-logistics-flow-stages-blue.png"] {
  object-fit: contain;
  object-position: center;
  padding: 0;
  background: #f7fbff;
}

.product-card:hover img[src$="product-cdu-liquid.png"] {
  --product-image-scale: 1.3;
}

.product-card:hover img[src$="product-pump-liquid.png"] {
  --product-image-scale: 1.36;
}

.product-card div {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  min-height: 0;
  padding: 58px 64px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(245, 247, 250, 0.7));
}

.product-card small {
  color: var(--navy);
  font-weight: 700;
  letter-spacing: 0.18em;
}

.product-card h3 {
  margin: 18px 0 12px;
  color: #252525;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.18;
  overflow-wrap: anywhere;
}

.product-card p {
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 17px;
}

.product-card span {
  color: var(--navy);
  font-weight: 700;
  position: relative;
  display: inline-flex;
  width: max-content;
  padding-right: 30px;
}

.product-card span::after {
  content: "→";
  position: absolute;
  right: 0;
  transition: transform 0.18s ease;
}

.product-card:hover span::after {
  transform: translateX(8px);
}

.product-grid .product-card:nth-child(even) {
  grid-template-columns: 42% 58%;
}

.product-grid .product-card:nth-child(even) img {
  order: 2;
}

.product-grid .product-card:nth-child(even) div {
  order: 1;
}

.advantage-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: #dfe5ec;
}

.advantage-grid article {
  min-height: 280px;
  padding: 48px 40px;
  border-radius: var(--radius-md);
  background: var(--glass-strong);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 18px 42px rgba(8, 22, 44, 0.07);
  backdrop-filter: blur(16px) saturate(1.14);
}

.advantage-grid img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  margin-bottom: 24px;
}

.advantage-grid h2,
.content-split h2,
.contact-form h2,
.contact-cards h2,
.detail-layout h2 {
  margin: 0 0 16px;
  color: var(--ink);
  font-size: 25px;
}

.advantage-grid p,
.content-split p,
.detail-layout p,
.detail-layout li {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.85;
}

.statement-band {
  margin-top: 56px;
  padding: 42px;
  border-radius: var(--radius-md);
  color: #fff;
  background: linear-gradient(100deg, var(--navy), var(--navy-2) 58%, #0f766e);
}

.statement-band span {
  color: rgba(255, 255, 255, 0.78);
}

.statement-band h2 {
  margin: 8px 0 0;
  font-size: clamp(26px, 4vw, 42px);
}

.content-split,
.detail-layout,
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.contact-layout-static {
  grid-template-columns: minmax(320px, 760px);
  justify-content: center;
}

.contact-layout-static {
  align-items: stretch;
}

.contact-layout-office-only {
  grid-template-columns: 1fr;
  justify-content: stretch;
}

.content-split + .content-split {
  margin-top: 78px;
}

.consulting-panel {
  margin-top: 86px;
  padding: 42px 48px;
  background: var(--glass);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-top: 4px solid rgba(0, 73, 142, 0.75);
  border-radius: var(--radius-md);
  box-shadow: 0 22px 60px rgba(8, 22, 44, 0.08);
  backdrop-filter: blur(18px) saturate(1.16);
}

.consulting-panel h2 {
  margin: 0 0 16px;
  color: var(--ink);
  font-size: clamp(30px, 3.2vw, 48px);
  line-height: 1.22;
}

.consulting-panel p {
  max-width: 980px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.9;
}

.content-split p + p {
  margin-top: 18px;
}

.content-split img,
.detail-layout > img {
  width: 100%;
  border-radius: var(--radius-md);
  box-shadow: 0 22px 60px rgba(8, 22, 44, 0.12);
}

.reverse img {
  order: -1;
}

.detail-layout ul {
  margin: 22px 0 0;
  padding-left: 20px;
}

.detail-layout {
  background: var(--glass-strong);
  padding: 54px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.74);
  box-shadow: 0 22px 60px rgba(8, 22, 44, 0.08);
  backdrop-filter: blur(18px) saturate(1.16);
}

.detail-layout > div {
  padding: 12px 0;
}

.detail-layout h2 {
  font-size: clamp(32px, 3vw, 48px);
}

.detail-layout li + li {
  margin-top: 10px;
}

.detail-button {
  margin: 30px 0 0;
}

.contact-form {
  padding: 42px;
  border-radius: var(--radius-md);
  background: var(--glass-strong);
  border: 1px solid rgba(255, 255, 255, 0.74);
  box-shadow: 0 22px 60px rgba(8, 22, 44, 0.08);
  backdrop-filter: blur(18px) saturate(1.16);
}

.contact-form label {
  display: block;
  margin-top: 16px;
  color: var(--muted);
  font-size: 15px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  margin-top: 8px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font: inherit;
  resize: vertical;
}

.contact-form button {
  width: 132px;
  height: 44px;
  margin-top: 18px;
  border: 0;
  border-radius: var(--radius-sm);
  color: #fff;
  background: var(--navy);
  font-size: 15px;
}

.contact-cards {
  display: grid;
  gap: 18px;
}

.contact-cards article {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 24px;
  border-radius: var(--radius-md);
  background: var(--glass);
  border: 1px solid rgba(255, 255, 255, 0.74);
  box-shadow: 0 18px 42px rgba(8, 22, 44, 0.07);
  backdrop-filter: blur(16px) saturate(1.14);
}

.contact-cards img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.contact-cards p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.office-section {
  margin-top: 74px;
}

.contact-layout-office-only .office-section {
  margin-top: 0;
}

.office-section .section-heading {
  margin-bottom: 28px;
}

.office-section .section-heading span {
  font-size: clamp(24px, 2.8vw, 44px);
}

.office-section .section-heading p {
  max-width: 760px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}

.office-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.875fr) minmax(0, 0.875fr);
  gap: 18px;
}

.office-card {
  min-width: 0;
  min-height: 320px;
  padding: 30px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.72);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(239, 245, 251, 0.72));
  box-shadow: 0 20px 52px rgba(8, 22, 44, 0.08);
  backdrop-filter: blur(18px) saturate(1.14);
  -webkit-backdrop-filter: blur(18px) saturate(1.14);
}

.office-card-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  min-width: 0;
}

.office-card-primary {
  display: flex;
  flex-direction: column;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(0, 22, 48, 0.72), rgba(0, 86, 132, 0.42)),
    url("assets/images/contact-shenzhen-office-dusk.jpg") center 52% / cover;
}

.office-card small {
  display: inline-flex;
  flex: 0 0 auto;
  min-width: 0;
  margin-bottom: 0;
  color: rgba(0, 73, 142, 0.72);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  overflow-wrap: anywhere;
}

.office-card-primary small {
  color: rgba(255, 255, 255, 0.78);
}

.office-card h2 {
  min-width: 0;
  margin: 0;
  color: inherit;
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1.18;
  text-align: right;
  overflow-wrap: anywhere;
}

.office-card dl {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 30px 0 0;
}

.office-card dl div {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.office-card dt {
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
  font-weight: 700;
}

.office-card dd {
  margin: 0;
  color: #fff;
  font-size: 17px;
  line-height: 1.65;
  overflow-wrap: anywhere;
  word-break: normal;
}

.office-card .office-address {
  font-size: 12px;
  line-height: 1.5;
}

.office-card-primary .office-primary-details {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0;
  margin-top: 26px;
}

.office-card-primary .office-primary-details > div {
  display: grid;
  min-width: 0;
}

.office-card-primary .office-primary-duty {
  gap: 6px;
}

.office-card-primary .office-primary-duty dt {
  color: rgba(255, 255, 255, 0.82);
  font-size: 15px;
  font-weight: 800;
}

.office-card-primary .office-primary-duty dd {
  max-width: 560px;
  font-size: clamp(23px, 2vw, 30px);
  font-weight: 800;
  line-height: 1.35;
}

.office-card-primary .office-primary-contact {
  display: grid;
  gap: 5px;
  margin-top: 18px;
}

.office-card-primary .office-primary-contact dt {
  width: max-content;
}

.office-card-primary .office-primary-contact dd {
  font-size: 14px;
  line-height: 1.4;
}

.office-card-primary .office-primary-address {
  display: grid;
  gap: 5px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.24);
}

.office-card-primary .office-primary-address dt {
  width: max-content;
}

.office-card-primary .office-primary-address dd {
  color: rgba(255, 255, 255, 0.84);
}

.office-card-regional {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: var(--navy);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(229, 241, 250, 0.78));
}

.office-card-regional .office-card-head {
  align-items: flex-start;
}

.office-card-regional .office-card-head h2 {
  color: var(--navy);
}

.office-card-regional .office-responsibility {
  display: block;
  margin-top: auto;
}

.office-card-regional .office-responsibility div {
  display: grid;
  gap: 8px;
}

.office-card-regional .office-responsibility dt {
  color: rgba(0, 73, 142, 0.68);
}

.office-card-regional .office-responsibility dd {
  color: var(--navy);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
}

.office-card-soon {
  display: flex;
  align-items: stretch;
  flex-direction: column;
  justify-content: center;
  gap: 26px;
  min-width: 0;
}

.office-card-soon .office-card-head,
.office-card-soon .office-soon-copy {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: baseline;
  gap: 14px;
  width: 100%;
}

.office-card-soon .office-card-head h2,
.office-card-soon .office-soon-copy span {
  text-align: right;
}

.office-card-soon p {
  min-width: 0;
  margin: 0;
  color: var(--navy);
  font-size: 28px;
  font-weight: 800;
  white-space: nowrap;
}

.office-card-soon span {
  color: var(--muted);
  font-size: 15px;
  overflow-wrap: anywhere;
}

.office-soon-copy {
  min-width: 0;
  gap: 10px;
  text-align: left;
}

html[lang="en"] .office-card small {
  font-size: 11px;
  letter-spacing: 0.06em;
}

html[lang="en"] .office-card h2 {
  font-size: clamp(22px, 1.8vw, 28px);
}

html[lang="en"] .office-card-soon .office-card-head {
  gap: 10px;
}

html[lang="en"] .office-card-soon h2 {
  font-size: clamp(20px, 1.55vw, 24px);
  overflow-wrap: normal;
  word-break: normal;
}

html[lang="en"] .office-card dd {
  font-size: 15px;
  line-height: 1.55;
}

html[lang="en"] .office-card-primary .office-primary-duty dd {
  font-size: clamp(20px, 1.65vw, 25px);
  line-height: 1.38;
}

html[lang="en"] .office-card-primary .office-address {
  font-size: 12px;
  line-height: 1.5;
}

html[lang="en"] .office-card-soon p {
  font-size: clamp(20px, 1.55vw, 24px);
}

html[lang="en"] .office-card-soon span {
  font-size: 14px;
  line-height: 1.45;
}

/* Motion layer */
.site-header {
  animation: headerDrop 0.72s var(--ease-out) both;
}

.brand img,
.primary-nav > a,
.nav-group > a,
.sub-nav a,
.button,
.ghost-button,
.contact-form button {
  transition:
    color 0.32s var(--ease-soft),
    background 0.32s var(--ease-soft),
    border-color 0.32s var(--ease-soft),
    transform 0.32s var(--ease-soft),
    box-shadow 0.32s var(--ease-soft),
    opacity 0.32s var(--ease-soft);
}

.brand:hover img {
  transform: translateY(-2px);
}

.sub-nav {
  transform: translateX(-50%) translateY(12px);
  transition:
    opacity 0.34s var(--ease-out),
    visibility 0.34s var(--ease-out),
    transform 0.34s var(--ease-out);
}

.nav-group:hover .sub-nav {
  transform: translateX(-50%) translateY(0);
}

.sub-nav a {
  position: relative;
  overflow: hidden;
}

.sub-nav a::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: var(--green);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.32s var(--ease-out);
}

.sub-nav a:hover::before {
  transform: scaleY(1);
}

.hero-media,
.page-hero > img {
  transform: translate3d(0, var(--parallax-y, 0px), 0) scale(1.08);
  will-change: transform;
}

.hero-overlay,
.page-hero-shade {
  animation: overlayFade 1.2s ease both;
}

.hero-content,
.page-hero-content {
  animation: heroCopyRise 0.95s var(--ease-out) 0.1s both;
}

.hero-kicker::before,
.page-hero-content span::before {
  transform: scaleX(0);
  transform-origin: left;
  animation: lineDraw 0.86s var(--ease-out) 0.42s both;
}

.hero-actions a,
.hero-metrics > div {
  animation: quietRise 0.82s var(--ease-out) both;
}

.hero-actions a:nth-child(1) {
  animation-delay: 0.44s;
}

.hero-metrics > div:nth-child(1) {
  animation-delay: 0.5s;
}

.hero-metrics > div:nth-child(2) {
  animation-delay: 0.58s;
}

.hero-metrics > div:nth-child(3) {
  animation-delay: 0.66s;
}

.button,
.ghost-button,
.contact-form button {
  position: relative;
  overflow: hidden;
}

.button::before,
.ghost-button::before,
.contact-form button::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(110deg, transparent, rgba(255, 255, 255, 0.28), transparent);
  transform: translateX(-120%);
  transition: transform 0.72s var(--ease-out);
}

.button:hover,
.ghost-button:hover,
.contact-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(0, 73, 142, 0.18);
}

.button:hover::before,
.ghost-button:hover::before,
.contact-form button:hover::before {
  transform: translateX(120%);
}

.section-heading {
  position: relative;
}

.section-heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -18px;
  width: min(190px, 34vw);
  height: 2px;
  background: linear-gradient(90deg, var(--navy), rgba(0, 73, 142, 0));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.95s var(--ease-out) 0.12s;
}

.section-heading.is-visible::after,
.section-heading:not(.reveal)::after {
  transform: scaleX(1);
}

.image-stack > img:first-child,
.content-split img,
.detail-layout > img,
.contact-cards article,
.advantage-grid article,
.service-grid article,
.belief-grid article {
  transition:
    transform 0.55s var(--ease-out),
    box-shadow 0.55s var(--ease-out),
    border-color 0.55s var(--ease-out),
    background 0.55s var(--ease-out);
}

.image-stack:hover > img:first-child,
.content-split:hover img,
.detail-layout:hover > img {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 30px 70px rgba(8, 22, 44, 0.14);
}

.accent {
  animation: accentFloat 6.8s ease-in-out infinite;
}

.accent-right {
  animation-delay: -3.2s;
}

.product-card,
.belief-grid article,
.service-grid article,
.advantage-grid article,
.contact-cards article,
.statement-band,
.consulting-panel,
.detail-layout,
.office-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.product-card {
  --spotlight-x: 50%;
  --spotlight-y: 50%;
  --spotlight-opacity: 0;
  transition:
    transform 0.55s var(--ease-out),
    box-shadow 0.55s var(--ease-out),
    border-color 0.35s var(--ease-out),
    background 0.55s var(--ease-out);
}

.belief-grid article::before,
.service-grid article::before,
.advantage-grid article::before,
.contact-cards article::before,
.statement-band::before,
.consulting-panel::before,
.detail-layout::before,
.office-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(
      112deg,
      transparent 0%,
      transparent 34%,
      rgba(255, 255, 255, 0.08) 41%,
      rgba(255, 255, 255, 0.34) 48%,
      rgba(126, 215, 255, 0.18) 52%,
      transparent 62%,
      transparent 100%
    );
  mix-blend-mode: screen;
  opacity: 0;
  transform: translateX(-145%) skewX(-12deg);
  will-change: transform, opacity;
}

.belief-grid article::before,
.statement-band::before,
.office-card-primary::before {
  background:
    linear-gradient(
      112deg,
      transparent 0%,
      transparent 32%,
      rgba(255, 255, 255, 0.1) 41%,
      rgba(255, 255, 255, 0.42) 48%,
      rgba(126, 215, 255, 0.24) 53%,
      transparent 64%,
      transparent 100%
    );
}

.product-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  border-radius: inherit;
  background:
    radial-gradient(
      circle at var(--spotlight-x) var(--spotlight-y),
      rgba(126, 215, 255, 0.24),
      rgba(255, 255, 255, 0.14) 16%,
      rgba(0, 73, 142, 0.08) 28%,
      transparent 44%
    );
  opacity: var(--spotlight-opacity);
  mix-blend-mode: screen;
  transition: opacity 0.34s var(--ease-out);
}

.product-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  padding: 1px;
  pointer-events: none;
  border-radius: inherit;
  background:
    radial-gradient(
      circle at var(--spotlight-x) var(--spotlight-y),
      rgba(126, 215, 255, 0.9),
      rgba(255, 255, 255, 0.5) 12%,
      transparent 32%
    );
  opacity: var(--spotlight-opacity);
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  transition: opacity 0.34s var(--ease-out);
}

.belief-grid article:hover::before,
.service-grid article:hover::before,
.advantage-grid article:hover::before,
.contact-cards article:hover::before,
.statement-band:hover::before,
.consulting-panel:hover::before,
.detail-layout:hover::before,
.office-card:hover::before {
  animation: cardSweepHover 2.2s cubic-bezier(0.22, 0.72, 0.18, 1) both;
}

.product-card:hover {
  transform: translateY(-8px) scale(1.018);
  border-color: rgba(126, 215, 255, 0.42);
  box-shadow: 0 28px 72px rgba(0, 35, 78, 0.12);
}

.product-card span::after {
  content: "\2192";
  transition: transform 0.32s var(--ease-out);
}

.product-card:hover span::after {
  transform: translateX(10px);
}

.advantage-grid article:hover,
.service-grid article:hover,
.belief-grid article:hover,
.contact-cards article:hover {
  transform: translateY(-6px) scale(1.018);
  box-shadow: 0 24px 50px rgba(8, 22, 44, 0.1);
}

.statement-band:hover,
.consulting-panel:hover,
.detail-layout:hover,
.office-card:hover {
  transform: translateY(-6px) scale(1.014);
  box-shadow: 0 28px 68px rgba(8, 22, 44, 0.12);
}

.contact-form input,
.contact-form textarea {
  transition:
    border-color 0.28s var(--ease-soft),
    box-shadow 0.28s var(--ease-soft),
    transform 0.28s var(--ease-soft);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 0;
  border-color: rgba(0, 73, 142, 0.6);
  box-shadow: 0 0 0 4px rgba(0, 73, 142, 0.08);
  transform: translateY(-1px);
}

.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition:
    opacity 0.82s var(--ease-out),
    transform 0.82s var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.product-card.reveal {
  transform: translateY(46px);
}

.product-card.reveal.is-visible {
  transform: translateY(0);
}

.product-card.reveal.is-visible:hover {
  transform: translateY(-8px) scale(1.018);
}

@keyframes headerDrop {
  from {
    opacity: 0;
    transform: translateY(-14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes cinematicSettle {
  from {
    transform: scale(1.06);
  }
  to {
    transform: scale(1);
  }
}

@keyframes overlayFade {
  from {
    opacity: 0.55;
  }
  to {
    opacity: 1;
  }
}

@keyframes heroCopyRise {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes quietRise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes lineDraw {
  to {
    transform: scaleX(1);
  }
}

@keyframes accentFloat {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0, -12px, 0);
  }
}

@keyframes cardSweepHover {
  0% {
    opacity: 0;
    transform: translateX(-145%) skewX(-12deg);
  }
  18% {
    opacity: 0.28;
  }
  48% {
    opacity: 1;
  }
  78% {
    opacity: 0.3;
  }
  100% {
    opacity: 0;
    transform: translateX(145%) skewX(-12deg);
  }
}

@keyframes devLogIn {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .product-card::before,
  .product-card::after,
  .belief-grid article::before,
  .service-grid article::before,
  .advantage-grid article::before,
  .contact-cards article::before,
  .statement-band::before,
  .consulting-panel::before,
  .detail-layout::before,
  .office-card::before {
    display: none;
  }
}

@media (max-width: 1024px) {
  .site-header {
    height: 74px;
    padding: 0 24px;
  }

  .brand img {
    width: 190px;
  }

  .section-grid,
  .belief-grid,
  .service-grid,
  .product-grid,
  .advantage-grid,
  .content-split,
  .detail-layout,
  .contact-layout,
  .footer-inner {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-layout-office-only {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 620px;
  }

  .hero-lead {
    width: 100%;
    max-width: 920px;
  }

  .hero-command-row {
    display: grid;
    grid-template-columns: 1fr;
    align-items: stretch;
    row-gap: 20px;
  }

  .hero-metrics {
    width: 100%;
    max-width: 760px;
    grid-template-columns: repeat(3, 1fr);
  }

  .hero-actions {
    width: 148px;
    max-width: 148px;
    justify-content: start;
    justify-self: auto;
  }

  .hero-corner-action {
    left: 24px;
    right: auto;
    bottom: 24px;
  }

  .office-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }

  .office-card {
    min-height: 280px;
    padding: 22px;
  }

  .office-card dl {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  body {
    padding-bottom: 58px;
  }

  .site-header {
    height: 68px;
  }

  .brand img {
    width: 176px;
  }

  .menu-toggle {
    display: block;
  }

  .primary-nav {
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    display: none;
    padding: 12px 24px 24px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 34px rgba(21, 32, 55, 0.12);
  }

  .language-switcher {
    width: max-content;
    margin: 12px 0 0;
  }

  .language-menu {
    right: auto;
    left: 0;
  }

  .primary-nav > a,
  .nav-group > a {
    color: var(--ink);
  }

  .primary-nav > a:hover,
  .nav-group:hover > a,
  .primary-nav .active {
    color: #fff;
  }

  .primary-nav.open {
    display: block;
  }

  .primary-nav > a,
  .nav-group > a {
    width: 100%;
    min-height: 42px;
    margin-top: 6px;
  }

  .sub-nav {
    position: static;
    width: auto;
    padding: 0 0 0 16px;
    box-shadow: none;
    transform: none;
    opacity: 1;
    visibility: visible;
  }

  .hero {
    min-height: 560px;
  }

  .hero-content {
    width: calc(100% - 32px);
  }

  .hero h1 {
    font-size: 34px;
  }

  .hero-content p {
    font-size: 16px;
  }

  .hero-lead {
    display: block;
  }

  .hero-command-row,
  .hero-actions,
  .hero-metrics {
    display: none;
  }

  .section {
    padding: 56px 18px;
  }

  .section-grid,
  .belief-grid,
  .service-grid,
  .product-grid,
  .advantage-grid,
  .content-split,
  .detail-layout,
  .contact-layout,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .page-hero {
    min-height: 280px;
  }

  .office-card {
    min-height: 250px;
    padding: 24px;
  }

  .office-card-head,
  .office-card-soon {
    align-items: flex-start;
    flex-direction: column;
  }

  .office-card h2,
  .office-soon-copy {
    text-align: left;
  }

  .office-card-soon .office-card-head,
  .office-card-soon .office-soon-copy {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .office-card-soon .office-card-head h2,
  .office-card-soon .office-soon-copy span {
    text-align: left;
  }

  .office-card dl {
    grid-template-columns: 1fr;
  }

  .page-hero-content {
    width: calc(100% - 36px);
  }

  .reverse img {
    order: 0;
  }

  .statement-band {
    padding: 28px;
  }

  .consulting-panel {
    margin-top: 46px;
    padding: 28px 22px;
  }

  .version-bar {
    flex-direction: column;
    gap: 10px;
    padding-bottom: 84px;
  }

  .dev-log-panel {
    padding: 30px 24px;
  }

  .copy-block {
    font-size: 15px;
    line-height: 1.75;
  }

  .section-heading {
    display: block;
  }

  .product-card,
  .product-grid .product-card:nth-child(even) {
    display: block;
    height: auto;
    min-height: 0;
  }

  .product-card img,
  .product-grid .product-card:nth-child(even) img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 11;
    order: initial;
  }

  .product-card div,
  .product-grid .product-card:nth-child(even) div {
    padding: 28px 22px 34px;
    order: initial;
  }

  .product-card h3 {
    font-size: 25px;
  }

  .detail-layout {
    padding: 24px;
  }

  .image-stack {
    order: -1;
  }

  .accent {
    display: none;
  }

  .belief-grid article,
  .service-grid article {
    min-height: 0;
    padding: 22px;
  }

  .footer-inner {
    width: calc(100% - 36px);
    padding-bottom: 22px;
    gap: 24px;
  }

  .footer-logo {
    width: 210px;
  }

  .bottom-nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 30;
    height: 58px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: #fff;
    border-top: 1px solid #dfe4ec;
    box-shadow: 0 -4px 18px rgba(21, 32, 55, 0.1);
  }

  .bottom-nav a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    color: #666;
    font-size: 12px;
  }

  .bottom-nav img {
    width: 24px;
    height: 24px;
    object-fit: contain;
  }
}





/* Homepage primary action: stays below the metric strip as the viewport height changes. */
@media (min-width: 1025px) {
  .hero-corner-action {
    left: 320px;
    top: calc(50% + 290px);
    right: auto;
    bottom: auto;
  }
}


/* Tablet and narrow-window layout. */
@media (min-width: 761px) and (max-width: 900px) {
  .section {
    padding: 72px 24px;
  }

  .section-grid,
  .content-split,
  .detail-layout,
  .contact-layout,
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .belief-grid,
  .service-grid,
  .product-grid,
  .advantage-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }

  .hero-content {
    width: calc(100% - 48px);
    margin-left: 24px;
    margin-right: 24px;
  }

  .hero h1 {
    max-width: 700px;
    font-size: clamp(40px, 5.4vw, 48px);
  }

  .hero-content p {
    max-width: 720px;
    font-size: 18px;
  }

  .hero-command-row {
    margin-top: 48px;
  }

  .hero-metrics {
    width: 100%;
    max-width: none;
  }

  .hero-metrics > div {
    padding: 20px 24px;
  }

  .copy-block p:first-child {
    font-size: 22px;
  }

  .image-stack {
    width: 100%;
    max-width: 760px;
    margin: 0 auto;
  }

  .footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Compact navigation before the desktop header becomes crowded. */
@media (min-width: 761px) and (max-width: 860px) {
  .menu-toggle {
    display: block;
  }

  .primary-nav {
    position: fixed;
    top: 74px;
    left: 0;
    right: 0;
    display: none;
    max-height: calc(100vh - 74px);
    overflow-y: auto;
    padding: 12px 24px 24px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 34px rgba(21, 32, 55, 0.12);
  }

  .primary-nav.open {
    display: block;
  }

  .primary-nav > a,
  .nav-group > a {
    width: 100%;
    min-height: 42px;
    margin-top: 6px;
    color: var(--ink);
  }

  .primary-nav > a:hover,
  .nav-group:hover > a,
  .primary-nav .active {
    color: #fff;
  }

  .sub-nav {
    position: static;
    width: auto;
    padding: 0 0 0 16px;
    box-shadow: none;
    transform: none;
    opacity: 1;
    visibility: visible;
  }

  .language-switcher {
    width: max-content;
    margin: 12px 0 0;
  }

  .language-menu {
    right: auto;
    left: 0;
  }
}

/* Mobile hero retains its proof points and primary action without overlap. */
@media (max-width: 760px) {
  .hero {
    min-height: 720px;
    align-items: flex-start;
  }

  .hero-content {
    margin: 0 16px;
    padding-top: 68px;
  }

  .hero-command-row {
    display: block;
    margin-top: 36px;
  }

  .hero-metrics {
    display: grid;
    width: 100%;
    max-width: none;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero-metrics > div {
    min-width: 0;
    padding: 15px 10px;
  }

  .hero-metrics strong {
    font-size: 27px;
  }

  .hero-metrics span {
    font-size: 11px;
    line-height: 1.45;
  }

  .hero-actions {
    display: grid;
    width: 148px;
    max-width: 148px;
    justify-content: start;
  }

  .hero-corner-action {
    left: 16px;
    top: auto;
    right: auto;
    bottom: 32px;
  }
}
