/* =========================================================
   四川海纳恒太科技工程有限公司 · 企业官网
   Responsive for desktop & WeChat / mobile browsers
   ========================================================= */

:root {
  --ink: #102433;
  --ink-soft: #405665;
  --muted: #6f8390;
  --navy: #0b1f33;
  --navy-deep: #071725;
  --navy-2: #0d2b45;
  --teal: #0e8f9c;
  --teal-bright: #3ee0d0;
  --teal-pale: #e9f8f7;
  --amber: #f2a33a;
  --paper: #ffffff;
  --mist: #f3f7f9;
  --line: #dce7ed;
  --line-dark: rgba(141, 190, 208, 0.2);
  --shadow-sm: 0 10px 30px rgba(9, 34, 52, 0.07);
  --shadow-lg: 0 30px 80px rgba(6, 27, 43, 0.18);
  --radius: 18px;
  --radius-sm: 12px;
  --container: 1200px;
  --header-h: 76px;
  --font-sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", "Noto Sans CJK SC", Arial, sans-serif;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 20px);
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-tap-highlight-color: transparent;
}

body.nav-open,
body.modal-open {
  overflow: hidden;
}

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

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

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}

a:focus:not(:focus-visible),
button:focus:not(:focus-visible) {
  outline: none;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
}

h1, h2, h3, h4, p, ul, ol, dl, dd {
  margin: 0;
}

ul, ol {
  padding: 0;
  list-style: none;
}

::selection {
  background: var(--teal-bright);
  color: var(--navy-deep);
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 999;
  padding: 12px 18px;
  background: var(--navy);
  color: #fff;
  border-radius: 8px;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 16px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: 28px;
  padding-right: 28px;
}

/* ---------- Typography & shared ---------- */

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--teal);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.19em;
  line-height: 1.4;
  margin-bottom: 18px;
}

.eyebrow.light {
  color: #7edbd6;
}

.eyebrow-line {
  display: inline-block;
  width: 34px;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
}

.section-title {
  font-size: clamp(29px, 3.5vw, 46px);
  line-height: 1.28;
  letter-spacing: -0.025em;
  font-weight: 700;
  color: var(--ink);
}

.section-intro {
  max-width: 390px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.9;
}

.section {
  padding: clamp(70px, 8vw, 112px) 0;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: clamp(34px, 4vw, 56px);
}

.section-head.light .section-title {
  color: #f3fbfc;
}

.section-head.light .section-intro {
  color: #9fbdca;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.01em;
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
  -webkit-user-select: none;
  user-select: none;
}

.btn span {
  font-size: 16px;
  line-height: 1;
}

.btn-primary {
  background: var(--teal-bright);
  color: #05202c;
  box-shadow: 0 8px 24px rgba(62, 224, 208, 0.18);
}

.btn-primary:hover {
  background: #6cefe3;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(62, 224, 208, 0.28);
}

.btn-ghost {
  border-color: rgba(255, 255, 255, 0.3);
  color: #eaf9fb;
  background: rgba(255, 255, 255, 0.03);
}

.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  background: none;
  border: 0;
  padding: 0;
  border-bottom: 1px solid rgba(14, 143, 156, 0.28);
  padding-bottom: 3px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.text-link span {
  transition: transform 0.2s ease;
}

.text-link:hover {
  color: #076571;
  border-color: #076571;
}

.text-link:hover span {
  transform: translate(2px, -2px);
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(16, 36, 51, 0.07);
  transition: box-shadow 0.25s ease, background 0.25s ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 8px 30px rgba(9, 34, 52, 0.08);
}

.topbar {
  background: var(--navy-deep);
  color: #a9c8d3;
  font-size: 11px;
  letter-spacing: 0.04em;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 34px;
  gap: 20px;
}

.topbar-note {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.status-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--teal-bright);
  box-shadow: 0 0 0 4px rgba(62, 224, 208, 0.12);
}

.topbar-links {
  display: flex;
  align-items: center;
  gap: 24px;
  white-space: nowrap;
}

.topbar-links a {
  color: #d7eef3;
  transition: color 0.2s ease;
}

.topbar-links a:hover {
  color: var(--teal-bright);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

.brand-logo {
  width: auto;
  height: 40px;
  max-width: 120px;
  object-fit: contain;
  flex: 0 0 auto;
}

.brand-logo-full {
  height: 64px;
  max-width: 160px;
}

.footer-brand-logo {
  height: 64px;
  max-width: 160px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  line-height: 1.1;
}

.brand-text strong {
  font-size: 20px;
  letter-spacing: 0.1em;
  font-weight: 700;
  color: var(--ink);
}

.brand-text small {
  font-size: 8px;
  letter-spacing: 0.2em;
  color: var(--muted);
  font-weight: 600;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.2vw, 32px);
}

.main-nav a {
  position: relative;
  font-size: 14px;
  color: #314957;
  line-height: 2;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.main-nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 2px;
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.main-nav a:hover,
.main-nav a.is-active {
  color: var(--teal);
}

.main-nav a:hover::after,
.main-nav a.is-active::after {
  transform: scaleX(1);
}

.main-nav .nav-cta {
  padding: 10px 20px;
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  font-weight: 600;
  transition: background 0.2s ease, transform 0.2s ease;
}

.main-nav .nav-cta:hover {
  background: var(--teal);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  position: relative;
  z-index: 96;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  padding: 11px 10px;
  flex-direction: column;
  justify-content: space-between;
}

.nav-toggle span {
  display: block;
  height: 1.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

.nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: block;
  background: rgba(4, 18, 29, 0.52);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
}

.nav-backdrop[hidden] {
  display: none;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  color: #eaf7fa;
  padding: clamp(58px, 7vw, 92px) 0 0;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse at 72% 38%, rgba(19, 124, 145, 0.42), transparent 47%),
    radial-gradient(ellipse at 8% 10%, rgba(34, 193, 195, 0.12), transparent 38%),
    linear-gradient(122deg, #061624 0%, #0a2336 46%, #0b2c42 72%, #071a29 100%);
}

.hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(114, 174, 194, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(114, 174, 194, 0.055) 1px, transparent 1px);
  background-size: 54px 54px;
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), transparent 90%);
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), transparent 90%);
}

.hero-bg::after {
  content: "";
  position: absolute;
  width: 56vw;
  height: 56vw;
  max-width: 760px;
  max-height: 760px;
  right: -13vw;
  top: -18vw;
  border: 1px solid rgba(98, 197, 208, 0.14);
  border-radius: 50%;
  box-shadow: 0 0 0 60px rgba(83, 177, 192, 0.025), 0 0 0 120px rgba(83, 177, 192, 0.018);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  align-items: center;
  gap: clamp(20px, 4vw, 56px);
  min-height: 560px;
}

.hero-copy {
  position: relative;
  z-index: 2;
  padding-bottom: 24px;
}

.hero-copy .eyebrow {
  margin-bottom: 22px;
}

.hero h1 {
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.16;
  letter-spacing: -0.045em;
  font-weight: 700;
  color: #f4fbfc;
  margin-bottom: 26px;
}

.hero h1 em {
  font-style: normal;
  color: #70e8df;
  position: relative;
}

.hero-lead {
  max-width: 560px;
  color: #a8c3cf;
  font-size: clamp(14px, 1.2vw, 16px);
  line-height: 1.95;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(24px, 3.2vw, 44px);
  padding-top: 22px;
  border-top: 1px solid rgba(141, 190, 208, 0.18);
}

.hero-stats li {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hero-stats strong {
  font-size: clamp(24px, 2.2vw, 30px);
  line-height: 1.2;
  font-weight: 600;
  color: #f4fbfc;
  letter-spacing: -0.02em;
}

.hero-stats strong span {
  color: var(--teal-bright);
  font-size: 0.62em;
  vertical-align: super;
  margin-left: 1px;
}

.hero-stats small {
  color: #7495a5;
  font-size: 11px;
  letter-spacing: 0.06em;
}

.hero-visual {
  position: relative;
  z-index: 1;
  min-width: 0;
  max-width: 100%;
  margin-right: -30px;
  overflow: hidden;
}

.hero-visual svg {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  height: auto;
  overflow: hidden;
}

.hero-visual svg text {
  font-family: var(--font-sans);
}

.hero-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 62px;
  margin-top: 30px;
  border-top: 1px solid rgba(141, 190, 208, 0.14);
  color: #6e93a3;
  font-size: 11px;
  letter-spacing: 0.04em;
}

.hero-foot-label {
  color: #b9d7df;
  font-weight: 600;
  letter-spacing: 0.16em;
}

.hero-foot a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #8fd8e0;
  transition: color 0.2s ease;
}

.hero-foot a:hover {
  color: var(--teal-bright);
}

.hero-foot a span {
  font-size: 14px;
}

/* Hero SVG animation */
.turbine-blades {
  transform-origin: 0 0;
  animation: turbine-spin 26s linear infinite;
}

@keyframes turbine-spin {
  to { transform: rotate(360deg); }
}

/* ---------- Trust ---------- */

.trust {
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.trust-inner {
  display: flex;
  align-items: center;
  gap: 30px;
  min-height: 78px;
}

.trust-label {
  flex: 0 0 auto;
  color: var(--teal);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  padding-right: 28px;
  border-right: 1px solid var(--line);
}

.trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 34px;
  color: #455e6d;
  font-size: 12px;
}

.trust-list li {
  position: relative;
  padding-left: 14px;
}

.trust-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 4px;
  height: 4px;
  margin-top: -2px;
  border-radius: 50%;
  background: var(--teal);
  opacity: 0.55;
}

/* ---------- About ---------- */

.about {
  background: #fff;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.88fr);
  align-items: center;
  gap: clamp(42px, 6vw, 84px);
}

.about-copy .section-title {
  margin-bottom: 24px;
}

.body-lg {
  font-size: clamp(15px, 1.3vw, 17px);
  line-height: 1.95;
  color: #334b5a;
  margin-bottom: 18px;
}

.about-copy > p:not(.eyebrow):not(.body-lg) {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.95;
  margin-bottom: 28px;
}

.about-points {
  display: grid;
  gap: 18px;
  margin: 30px 0 28px;
}

.about-points li {
  display: flex;
  gap: 16px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.about-points li > span {
  flex: 0 0 auto;
  color: var(--teal);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding-top: 3px;
}

.about-points strong {
  display: block;
  font-size: 15px;
  color: var(--ink);
  margin-bottom: 3px;
}

.about-points p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
}

.about-panel {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  padding: clamp(28px, 3.4vw, 42px);
  border-radius: 26px;
  background:
    radial-gradient(ellipse at 92% 4%, rgba(62, 224, 208, 0.18), transparent 42%),
    linear-gradient(145deg, #0b2236 0%, #0d2b45 54%, #071a29 100%);
  color: #eaf7fa;
  box-shadow: var(--shadow-lg);
}

.about-panel-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(125, 181, 198, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(125, 181, 198, 0.07) 1px, transparent 1px);
  background-size: 42px 42px;
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 78%);
  mask-image: linear-gradient(to bottom, #000, transparent 78%);
  pointer-events: none;
}

.about-panel-top {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 54px;
}

.panel-tag {
  color: #7ea6b6;
  font-size: 9px;
  letter-spacing: 0.17em;
  font-weight: 600;
}

.panel-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #9fddda;
  font-size: 10px;
  letter-spacing: 0.04em;
}

.panel-status i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal-bright);
  box-shadow: 0 0 0 5px rgba(62, 224, 208, 0.1);
}

.about-year {
  position: relative;
  font-size: clamp(76px, 8.8vw, 118px);
  line-height: 0.9;
  letter-spacing: -0.065em;
  font-weight: 700;
  color: #f2fbfc;
}

.about-year span {
  color: var(--teal-bright);
  font-size: 0.42em;
  vertical-align: super;
  margin-left: 5px;
  letter-spacing: 0;
}

.about-year-label {
  position: relative;
  color: #95b6c4;
  font-size: 12px;
  letter-spacing: 0.08em;
  margin-top: 14px;
}

.about-panel-rule {
  position: relative;
  height: 1px;
  background: rgba(141, 190, 208, 0.2);
  margin: 34px 0 26px;
}

.about-panel-metrics {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.about-panel-metrics div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.about-panel-metrics strong {
  font-size: 27px;
  line-height: 1.2;
  font-weight: 600;
  color: #f2fbfc;
}

.about-panel-metrics span {
  color: #7799a9;
  font-size: 10px;
  letter-spacing: 0.04em;
}

.about-panel-note {
  position: relative;
  display: flex;
  gap: 9px;
  margin-top: 38px;
  padding-top: 24px;
  border-top: 1px solid rgba(141, 190, 208, 0.18);
}

.quote-mark {
  flex: 0 0 auto;
  color: var(--teal-bright);
  font-size: 28px;
  line-height: 1;
  font-family: Georgia, serif;
}

.about-panel-note p {
  color: #b7d4dc;
  font-size: 13px;
  line-height: 1.8;
  letter-spacing: 0.02em;
}

.about-panel-lines {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  width: 100%;
  height: auto;
  pointer-events: none;
}

/* ---------- Products ---------- */

.products {
  background: var(--mist);
  border-top: 1px solid rgba(16, 36, 51, 0.04);
  border-bottom: 1px solid rgba(16, 36, 51, 0.04);
}

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

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 288px;
  padding: 26px 26px 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.product-card::before {
  content: "";
  position: absolute;
  left: 26px;
  right: 26px;
  top: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--teal), var(--teal-bright), transparent);
  opacity: 0;
  transition: opacity 0.28s ease;
}

.product-card:hover {
  transform: translateY(-5px);
  border-color: rgba(14, 143, 156, 0.35);
  box-shadow: var(--shadow-sm);
}

.product-card:hover::before {
  opacity: 1;
}

.product-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 26px;
}

.product-no {
  color: #aec1ca;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.product-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 1px solid #d9e9ed;
  border-radius: 12px;
  background: #f4fafb;
  color: var(--teal);
  transition: background 0.28s ease, color 0.28s ease, transform 0.28s ease;
}

.product-icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.product-card:hover .product-icon {
  background: var(--teal);
  color: #fff;
  transform: rotate(-4deg);
}

.product-card h3 {
  font-size: 18px;
  line-height: 1.5;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.product-card p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.85;
  margin-bottom: 24px;
}

.product-card .text-link {
  margin-top: auto;
  align-self: flex-start;
  font-size: 12px;
}

/* ---------- Solutions ---------- */

.solutions {
  position: relative;
  overflow: hidden;
  background: var(--navy-deep);
  color: #eaf7fa;
  isolation: isolate;
}

.solutions-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse at 82% 12%, rgba(14, 143, 156, 0.2), transparent 45%),
    radial-gradient(ellipse at 12% 88%, rgba(34, 193, 195, 0.1), transparent 40%),
    linear-gradient(130deg, #061624 0%, #0a2336 62%, #071a29 100%);
}

.solutions-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(128, 185, 201, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(128, 185, 201, 0.05) 1px, transparent 1px);
  background-size: 60px 60px;
  -webkit-mask-image: radial-gradient(ellipse at 60% 40%, #000, transparent 78%);
  mask-image: radial-gradient(ellipse at 60% 40%, #000, transparent 78%);
}

.solution-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.solution-card {
  position: relative;
  min-height: 290px;
  padding: 26px 22px;
  border: 1px solid rgba(141, 190, 208, 0.16);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.035);
  transition: background 0.28s ease, border-color 0.28s ease, transform 0.28s ease;
}

.solution-card:hover {
  background: rgba(255, 255, 255, 0.065);
  border-color: rgba(62, 224, 208, 0.35);
  transform: translateY(-4px);
}

.solution-index {
  display: block;
  color: #4f7f91;
  font-size: 11px;
  letter-spacing: 0.12em;
  margin-bottom: 42px;
}

.solution-card h3 {
  color: #f2fbfc;
  font-size: 17px;
  line-height: 1.5;
  font-weight: 600;
  margin-bottom: 10px;
}

.solution-card p {
  color: #8fabb8;
  font-size: 12.5px;
  line-height: 1.85;
  margin-bottom: 22px;
}

.solution-card ul {
  display: grid;
  gap: 8px;
  margin-top: auto;
}

.solution-card li {
  position: relative;
  padding-left: 13px;
  color: #a9c6d1;
  font-size: 11px;
  line-height: 1.6;
}

.solution-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--teal-bright);
  opacity: 0.65;
}

.process {
  margin-top: 58px;
  padding-top: 34px;
  border-top: 1px solid rgba(141, 190, 208, 0.16);
}

.process-label {
  color: #5f8798;
  font-size: 9px;
  letter-spacing: 0.18em;
  font-weight: 600;
  margin-bottom: 22px;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.process-list li {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-left: 18px;
}

.process-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal-bright);
  box-shadow: 0 0 0 4px rgba(62, 224, 208, 0.08);
}

.process-list li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 14px;
  right: -6px;
  top: 10px;
  height: 1px;
  background: linear-gradient(90deg, rgba(62, 224, 208, 0.3), rgba(62, 224, 208, 0.05));
}

.process-list span {
  color: #4f7f91;
  font-size: 9px;
  letter-spacing: 0.08em;
}

.process-list strong {
  color: #dff3f5;
  font-size: 13px;
  font-weight: 600;
}

.process-list small {
  color: #7395a4;
  font-size: 10px;
}

/* ---------- Projects ---------- */

.projects {
  background: #fff;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.project-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 300px;
  padding: 28px;
  overflow: hidden;
  border-radius: var(--radius);
  color: #eaf7fa;
  isolation: isolate;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: var(--project-gradient);
}

.project-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: linear-gradient(130deg, #000, transparent 72%);
  mask-image: linear-gradient(130deg, #000, transparent 72%);
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 50px rgba(9, 34, 52, 0.18);
}

.project-a { --project-gradient: linear-gradient(135deg, #0c3349 0%, #0d5261 100%); }
.project-b { --project-gradient: linear-gradient(135deg, #10273b 0%, #17455c 100%); }
.project-c { --project-gradient: linear-gradient(135deg, #12303c 0%, #2b5a55 100%); }
.project-d { --project-gradient: linear-gradient(135deg, #1d2b3c 0%, #2f4f59 100%); }

.project-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: auto;
}

.project-tag {
  padding: 5px 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  color: #b8dfe4;
  font-size: 9px;
  letter-spacing: 0.08em;
}

.project-arrow {
  color: #7fe0d8;
  font-size: 18px;
  line-height: 1;
  transition: transform 0.25s ease;
}

.project-card:hover .project-arrow {
  transform: translate(3px, -3px);
}

.project-body {
  position: relative;
  z-index: 1;
  margin-top: 64px;
}

.project-body h3 {
  font-size: clamp(21px, 2.2vw, 27px);
  line-height: 1.4;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
  color: #f4fbfc;
}

.project-body p {
  max-width: 84%;
  color: #a9c8d1;
  font-size: 12.5px;
  line-height: 1.8;
  margin-bottom: 20px;
}

.project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  color: #79a5b2;
  font-size: 10px;
  letter-spacing: 0.04em;
}

.project-meta span {
  position: relative;
}

.project-meta span + span {
  padding-left: 18px;
}

.project-meta span + span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 4px;
  height: 4px;
  margin-top: -2px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.5;
}

.project-index {
  position: absolute;
  right: 18px;
  bottom: -26px;
  z-index: 0;
  color: rgba(255, 255, 255, 0.06);
  font-size: 138px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.06em;
  pointer-events: none;
}

.project-note {
  margin-top: 18px;
  color: #9aadb8;
  font-size: 10px;
  letter-spacing: 0.02em;
}

/* ---------- News ---------- */

.news {
  background: var(--mist);
}

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

.news-card {
  display: flex;
  flex-direction: column;
  min-height: 300px;
  padding: 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.news-card:hover {
  transform: translateY(-4px);
  border-color: rgba(14, 143, 156, 0.3);
  box-shadow: var(--shadow-sm);
}

.news-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 32px;
}

.news-tag {
  padding: 4px 9px;
  border-radius: 4px;
  background: var(--teal-pale);
  color: #08727d;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.news-top time {
  color: #9aaeb8;
  font-size: 10px;
  letter-spacing: 0.05em;
}

.news-card h3 {
  font-size: 18px;
  line-height: 1.55;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.news-card p {
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.85;
  margin-bottom: 24px;
}

.news-more {
  margin-top: auto;
  color: #9aadb8;
  font-size: 10px;
  letter-spacing: 0.04em;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

/* ---------- Contact ---------- */

.contact {
  position: relative;
  overflow: hidden;
  padding: clamp(70px, 8vw, 112px) 0;
  background: #0a2336;
  color: #eaf7fa;
  isolation: isolate;
}

.contact-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse at 82% 18%, rgba(34, 193, 195, 0.18), transparent 44%),
    radial-gradient(ellipse at 10% 90%, rgba(14, 143, 156, 0.14), transparent 40%),
    linear-gradient(128deg, #071a29 0%, #0b2c42 58%, #0a2336 100%);
}

.contact-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(128, 185, 201, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(128, 185, 201, 0.05) 1px, transparent 1px);
  background-size: 54px 54px;
  -webkit-mask-image: linear-gradient(90deg, #000, transparent 78%);
  mask-image: linear-gradient(90deg, #000, transparent 78%);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(38px, 6vw, 84px);
}

.contact-copy .section-title {
  color: #f4fbfc;
  margin-bottom: 22px;
}

.contact-copy > p:not(.eyebrow) {
  max-width: 520px;
  color: #a2c0cb;
  font-size: 14px;
  line-height: 1.95;
  margin-bottom: 30px;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.contact-card {
  position: relative;
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid rgba(141, 190, 208, 0.18);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.045);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.16);
}

.contact-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 20px;
  margin-bottom: 4px;
  border-bottom: 1px solid rgba(141, 190, 208, 0.16);
  color: #dff3f5;
  font-size: 13px;
  font-weight: 600;
}

.contact-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #86b8c6;
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.03em;
}

.contact-status i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--teal-bright);
}

.contact-list > div {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 16px;
  padding: 17px 0;
  border-bottom: 1px solid rgba(141, 190, 208, 0.12);
}

.contact-list dt {
  color: #6f98a7;
  font-size: 10px;
  letter-spacing: 0.05em;
  padding-top: 2px;
}

.contact-list dd {
  color: #d3e8ed;
  font-size: 12px;
  line-height: 1.85;
}

.contact-list dd a {
  display: inline-block;
  color: #eefbfc;
  font-size: 14px;
  font-weight: 600;
  margin-right: 14px;
  transition: color 0.2s ease;
}

.contact-list dd a:hover {
  color: var(--teal-bright);
}

.contact-list dd a.map-link {
  color: var(--teal-bright);
  font-size: 12px;
  font-weight: 500;
}

.contact-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 20px;
  color: #6f98a7;
  font-size: 9px;
  letter-spacing: 0.04em;
}

/* ---------- Footer ---------- */

.site-footer {
  background: #05131f;
  color: #8ba9b6;
  padding: 58px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.8fr 1fr 1.3fr;
  gap: 42px;
  padding-bottom: 42px;
}

.footer-logo {
  margin-bottom: 18px;
}

.footer-logo .brand-text strong {
  color: #f2fbfc;
}

.footer-logo .brand-text small {
  color: #5d7f8e;
}

.footer-brand p {
  max-width: 280px;
  color: #6f8e9b;
  font-size: 11.5px;
  line-height: 1.8;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer-col h4 {
  color: #dceff3;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.09em;
  margin-bottom: 6px;
}

.footer-col a,
.footer-col p {
  color: #7898a5;
  font-size: 11px;
  line-height: 1.8;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--teal-bright);
}

.footer-contact p {
  margin-top: 8px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: 22px;
  border-top: 1px solid rgba(141, 190, 208, 0.12);
  color: #526f7c;
  font-size: 9.5px;
  letter-spacing: 0.03em;
}

/* ---------- Back to top ---------- */

.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 24px;
  z-index: 80;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(14, 143, 156, 0.25);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  color: var(--teal);
  box-shadow: var(--shadow-sm);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.back-to-top:hover {
  background: var(--teal);
  color: #fff;
}

.back-to-top svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Modal ---------- */

.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.modal.is-open {
  opacity: 1;
  visibility: visible;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 16, 26, 0.68);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

.modal-dialog {
  position: relative;
  width: min(520px, 100%);
  max-height: 86vh;
  overflow-y: auto;
  padding: 34px;
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--shadow-lg);
  transform: translateY(14px) scale(0.98);
  transition: transform 0.25s ease;
}

.modal.is-open .modal-dialog {
  transform: none;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--ink-soft);
  font-size: 20px;
  line-height: 1;
  transition: background 0.2s ease, color 0.2s ease;
}

.modal-close:hover {
  background: var(--mist);
  color: var(--ink);
}

.modal-kicker {
  color: var(--teal);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
  margin-bottom: 10px;
}

.modal-dialog h3 {
  font-size: 23px;
  line-height: 1.4;
  color: var(--ink);
  margin-bottom: 10px;
  padding-right: 26px;
}

.modal-dialog > p:not(.modal-kicker) {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.9;
  margin-bottom: 20px;
}

.modal-dialog ul {
  display: grid;
  gap: 9px;
  margin-bottom: 26px;
}

.modal-dialog li {
  position: relative;
  padding-left: 16px;
  color: #405765;
  font-size: 12px;
  line-height: 1.7;
}

.modal-dialog li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--teal);
}

/* ---------- Reveal ---------- */

body.js-ready [data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
  will-change: opacity, transform;
}

body.js-ready [data-reveal].is-visible {
  opacity: 1;
  transform: none;
  will-change: auto;
}

body.js-ready [data-reveal-delay="1"] { transition-delay: 0.08s; }
body.js-ready [data-reveal-delay="2"] { transition-delay: 0.16s; }
body.js-ready [data-reveal-delay="3"] { transition-delay: 0.24s; }

/* ---------- Responsive ---------- */

@media (max-width: 1180px) {
  .brand-logo {
    height: 36px;
  }

  .brand-logo-full,
  .footer-brand-logo {
    height: 56px;
  }

  .hero-visual {
    margin-right: -10px;
  }

  .main-nav {
    gap: 20px;
  }

  .main-nav a {
    font-size: 13px;
  }

  .product-grid {
    gap: 14px;
  }

  .product-card {
    padding: 22px;
  }
}

@media (max-width: 992px) {
  :root {
    --header-h: 68px;
  }

  .topbar {
    display: none;
  }

  .header-inner {
    min-height: var(--header-h);
  }

  .nav-toggle {
    display: flex;
  }

  .main-nav {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 95;
    display: none;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    width: min(360px, 86vw);
    height: 100vh;
    height: 100dvh;
    padding: 92px 28px 32px;
    gap: 0;
    background: #fff;
    box-shadow: -20px 0 60px rgba(9, 34, 52, 0.14);
    overflow-y: auto;
  }

  .main-nav.is-open {
    display: flex;
    animation: nav-in 0.28s cubic-bezier(0.2, 0.7, 0.2, 1);
  }

  @keyframes nav-in {
    from {
      opacity: 0;
      transform: translateX(18px);
    }
    to {
      opacity: 1;
      transform: translateX(0);
    }
  }

  .main-nav a {
    display: block;
    padding: 15px 0;
    border-bottom: 1px solid var(--line);
    font-size: 15px;
    line-height: 1.6;
  }

  .main-nav a:not(.nav-cta)::after {
    display: none;
  }

  .main-nav .nav-cta {
    margin-top: 24px;
    padding: 14px 20px;
    text-align: center;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
    min-height: 0;
  }

  .hero-copy {
    padding-bottom: 0;
  }

  .hero-visual {
    max-width: 680px;
    margin: 0 auto;
    width: 100%;
  }

  .hero-foot {
    margin-top: 14px;
  }

  .about-grid,
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .about-panel {
    min-height: 0;
  }

  .about-panel-top {
    margin-bottom: 42px;
  }

  .section-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }

  .section-intro {
    max-width: 560px;
  }

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

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

  .solution-card {
    min-height: 260px;
  }

  .process-list {
    grid-template-columns: repeat(5, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1.2fr;
    gap: 32px;
  }

  .footer-contact {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px 20px;
  }

  .footer-contact h4 {
    grid-column: 1 / -1;
  }

  .footer-contact p {
    margin-top: 0;
  }
}

@media (max-width: 760px) {
  .container {
    padding-left: 20px;
    padding-right: 20px;
  }

  .hero {
    padding-top: 46px;
  }

  .hero h1 {
    font-size: clamp(29px, 8.4vw, 42px);
    letter-spacing: -0.035em;
  }

  .hero-lead {
    font-size: 13.5px;
  }

  .hero-actions {
    margin-bottom: 34px;
  }

  .hero-actions .btn {
    flex: 1 1 auto;
    min-width: 150px;
    padding: 0 18px;
  }

  .hero-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px 20px;
  }

  .hero-stats li {
    padding-left: 14px;
    border-left: 1px solid rgba(141, 190, 208, 0.18);
  }

  .hero-foot {
    flex-wrap: wrap;
    gap: 8px 18px;
    padding: 16px 0;
    font-size: 10px;
  }

  .hero-foot > span:not(.hero-foot-label) {
    display: none;
  }

  .hero-foot a {
    margin-left: auto;
  }

  .trust-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
    padding-top: 20px;
    padding-bottom: 20px;
  }

  .trust-label {
    padding-right: 0;
    border-right: 0;
  }

  .trust-list {
    gap: 7px 18px;
    font-size: 11px;
  }

  .product-grid,
  .news-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .product-card {
    min-height: 0;
  }

  .solution-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .solution-card {
    min-height: 0;
  }

  .solution-index {
    margin-bottom: 28px;
  }

  .process-list {
    grid-template-columns: 1fr 1fr;
    gap: 22px 16px;
  }

  .process-list li:nth-child(2n)::after {
    display: none;
  }

  .project-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .project-card {
    min-height: 270px;
    padding: 24px;
  }

  .project-body p {
    max-width: 100%;
  }

  .project-index {
    font-size: 110px;
    right: 12px;
    bottom: -18px;
  }

  .news-card {
    min-height: 0;
  }

  .news-top {
    margin-bottom: 24px;
  }

  .contact-card {
    padding: 22px;
  }

  .contact-list > div {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
  }

  .contact-list dt {
    padding-top: 0;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px 24px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-contact {
    grid-column: 1 / -1;
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .back-to-top {
    right: 14px;
    bottom: 16px;
    width: 40px;
    height: 40px;
  }

  .modal-dialog {
    padding: 30px 22px 24px;
  }
}

@media (max-width: 420px) {
  .brand-text strong {
    font-size: 18px;
  }

  .brand-logo {
    height: 32px;
  }

  .brand-logo-full,
  .footer-brand-logo {
    height: 50px;
  }

  .hero-stats strong {
    font-size: 23px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .section {
    padding: 56px 0;
  }
}

/* ---------- Motion & touch preferences ---------- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  body.js-ready [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

@media (hover: none) {
  .product-card:hover,
  .news-card:hover,
  .project-card:hover,
  .solution-card:hover {
    transform: none;
  }

  .btn-primary:hover,
  .btn-ghost:hover {
    transform: none;
  }
}

/* WeChat / older WebKit fallbacks */
@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .site-header,
  .contact-card {
    background: #fff;
  }

  .contact-card {
    background: #0d2b45;
  }
}
