:root {
  --ink: #123355;
  --ink-strong: #06346a;
  --muted: #64748b;
  --line: #dbe7ef;
  --paper: #ffffff;
  --mist: #f4f9fb;
  --blue: #0062ad;
  --cyan: #13a9c9;
  --green: #55c51b;
  --green-deep: #218b3b;
  --amber: #d6a33f;
  --shadow: 0 24px 70px rgba(7, 54, 96, 0.12);
  font-family:
    Inter, "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", system-ui,
    -apple-system, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

body.nav-open {
  overflow: hidden;
}

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

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

button,
input,
textarea {
  font: inherit;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  isolation: isolate;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  height: 82px;
  padding: 0 clamp(20px, 4vw, 64px);
  overflow: hidden;
  background:
    linear-gradient(105deg, rgba(244, 251, 255, 0.98) 0%, rgba(231, 247, 252, 0.96) 48%, rgba(239, 251, 241, 0.98) 100%),
    rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(219, 231, 239, 0.84);
  box-shadow: 0 10px 34px rgba(11, 54, 92, 0.07);
  backdrop-filter: blur(18px);
  transition:
    height 0.2s ease,
    box-shadow 0.2s ease;
}

.site-header::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    linear-gradient(115deg, transparent 0%, rgba(0, 98, 173, 0.13) 24%, rgba(19, 169, 201, 0.16) 42%, rgba(85, 197, 27, 0.13) 60%, transparent 78%),
    radial-gradient(circle at 12% 0%, rgba(19, 169, 201, 0.18), transparent 32%),
    radial-gradient(circle at 86% 0%, rgba(85, 197, 27, 0.15), transparent 34%);
  opacity: 0.9;
  transform: translateX(-18%);
  animation: navLightSweep 9s ease-in-out infinite alternate;
}

.site-header::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(19, 169, 201, 0.75), rgba(85, 197, 27, 0.75), transparent);
  opacity: 0.65;
}

.site-header > * {
  position: relative;
  z-index: 1;
}

.site-header.is-scrolled {
  height: 70px;
  box-shadow: 0 14px 40px rgba(14, 49, 82, 0.1);
}

.brand {
  display: block;
  position: relative;
  width: clamp(176px, 15vw, 204px);
  height: 72px;
  overflow: hidden;
  flex-shrink: 0;
  background: transparent;
}

.brand img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: contain;
  object-position: center;
}

.site-header.is-scrolled .brand {
  height: 62px;
}

.site-nav {
  position: relative;
  display: flex;
  justify-content: center;
  gap: 6px;
  width: fit-content;
  justify-self: center;
  padding: 6px;
  overflow: hidden;
  color: #ffffff;
  font-size: 15px;
  font-weight: 650;
  background:
    linear-gradient(135deg, rgba(4, 76, 130, 0.94), rgba(0, 129, 153, 0.9) 52%, rgba(40, 142, 64, 0.92)),
    rgba(8, 66, 106, 0.92);
  border: 1px solid rgba(167, 231, 232, 0.44);
  border-radius: 999px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    inset 0 -1px 0 rgba(2, 35, 61, 0.25),
    0 14px 32px rgba(0, 98, 173, 0.18);
}

.site-nav::before {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, 0.18) 34%, transparent 56%);
  transform: translateX(-120%);
  animation: navPillSweep 5.6s ease-in-out infinite;
}

.site-nav > a {
  z-index: 1;
}

.site-nav a {
  position: relative;
  padding: 9px clamp(12px, 1.6vw, 18px);
  border-radius: 999px;
  transition:
    color 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.site-nav a::after {
  position: absolute;
  right: 16px;
  bottom: 5px;
  left: 16px;
  height: 2px;
  content: "";
  background: linear-gradient(90deg, #ffffff, rgba(151, 255, 151, 0.92));
  border-radius: 999px;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease;
}

.site-nav a:hover::after {
  transform: scaleX(1);
}

.site-nav a:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.15);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 8px 18px rgba(0, 66, 115, 0.2);
  transform: translateY(-1px);
}

@keyframes navLightSweep {
  from {
    transform: translateX(-20%);
  }

  to {
    transform: translateX(18%);
  }
}

@keyframes navPillSweep {
  0%,
  28% {
    transform: translateX(-120%);
  }

  62%,
  100% {
    transform: translateX(120%);
  }
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  color: #ffffff;
  font-weight: 750;
  white-space: nowrap;
  background: linear-gradient(135deg, var(--blue), var(--green-deep));
  border-radius: 999px;
  box-shadow: 0 12px 26px rgba(0, 98, 173, 0.18);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.header-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 30px rgba(0, 98, 173, 0.24);
}

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

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 6px auto;
  background: var(--ink-strong);
  border-radius: 999px;
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}

.nav-open .nav-toggle span:first-child {
  transform: translateY(4px) rotate(45deg);
}

.nav-open .nav-toggle span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

.section-inner {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  position: relative;
  min-height: calc(100svh - 40px);
  padding-top: 82px;
  overflow: hidden;
  color: #ffffff;
  background: #073b68;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  animation-duration: 12s;
  animation-iteration-count: infinite;
}

.hero-slide-one {
  animation-name: heroFadeOne;
}

.hero-slide-two {
  animation-name: heroFadeTwo;
}

@keyframes heroFadeOne {
  0%,
  42% {
    opacity: 1;
  }

  50%,
  92% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

@keyframes heroFadeTwo {
  0%,
  42% {
    opacity: 0;
  }

  50%,
  92% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-header::before {
    animation: none;
  }

  .site-nav::before {
    animation: none;
  }

  .hero-slide {
    animation: none;
  }

  .hero-slide-one {
    opacity: 1;
  }

  .hero-slide-two {
    opacity: 0;
  }
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(3, 35, 62, 0.9) 0%, rgba(3, 39, 69, 0.78) 36%, rgba(3, 43, 71, 0.26) 72%),
    linear-gradient(0deg, rgba(1, 28, 48, 0.22), rgba(1, 28, 48, 0));
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: calc(100svh - 122px);
  padding: 64px 0 44px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 980px;
  margin: 0;
  font-size: clamp(40px, 5.1vw, 70px);
  line-height: 1.1;
  font-weight: 850;
}

.hero-copy {
  max-width: 660px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(17px, 2vw, 22px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  font-weight: 800;
  border-radius: 999px;
  border: 1px solid transparent;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

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

.btn-primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--blue), var(--green-deep));
  box-shadow: 0 16px 32px rgba(0, 98, 173, 0.2);
}

.btn-secondary {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.1);
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  width: min(760px, 100%);
  margin: 56px 0 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  backdrop-filter: blur(14px);
}

.hero-facts div {
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.1);
}

.hero-facts div + div {
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-facts dt {
  margin: 0 0 4px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
}

.hero-facts dd {
  margin: 0;
  font-size: 16px;
  font-weight: 780;
}

.section {
  padding: clamp(72px, 9vw, 112px) 0;
}

.section-band {
  padding: 54px 0;
  background: linear-gradient(90deg, #f5fbfd, #ffffff 58%, #f4faf3);
  border-bottom: 1px solid var(--line);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(300px, 1.2fr);
  gap: clamp(28px, 5vw, 76px);
  align-items: start;
}

.intro h2,
.section-heading h2,
.contact-panel h2 {
  margin: 0;
  color: var(--ink-strong);
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.18;
}

.intro p:last-child,
.section-heading p,
.contact-panel p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

.section-heading {
  display: grid;
  grid-template-columns: 0.78fr 1fr;
  gap: 24px 70px;
  align-items: end;
  margin-bottom: 34px;
}

.section-heading .section-kicker,
.section-heading h2 {
  grid-column: 1;
}

.section-heading p {
  grid-column: 2;
  grid-row: 1 / span 2;
  max-width: 560px;
  align-self: end;
}

.section-heading.compact,
.section-heading.align-left {
  display: block;
}

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

.section-heading.align-left p {
  max-width: 520px;
  margin-top: 18px;
}

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

.product-card {
  position: relative;
  min-height: 276px;
  padding: 30px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 16px 46px rgba(18, 51, 85, 0.06);
}

.product-card .card-accent {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--blue), var(--cyan), var(--green));
}

.product-card span {
  color: var(--cyan);
  font-weight: 850;
}

.product-card h3 {
  margin: 18px 0 12px;
  color: var(--ink-strong);
  font-size: 22px;
  line-height: 1.25;
}

.product-card p {
  margin: 0;
  color: var(--muted);
}

.product-card small {
  display: block;
  margin-top: 18px;
  color: #285272;
  font-size: 14px;
  font-weight: 700;
}

.applications {
  background:
    linear-gradient(135deg, rgba(0, 98, 173, 0.92), rgba(15, 129, 116, 0.86)),
    #063b68;
  color: #ffffff;
}

.applications .section-kicker,
.applications h2 {
  color: #ffffff;
}

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

.application-list span {
  min-height: 64px;
  display: flex;
  align-items: center;
  padding: 0 20px;
  font-weight: 780;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
}

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

.service-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.84fr) minmax(360px, 1.16fr);
  gap: clamp(28px, 6vw, 86px);
  align-items: start;
}

.steps {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 0;
  list-style: none;
  counter-reset: steps;
}

.steps li {
  position: relative;
  padding: 22px 24px 22px 74px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 16px 42px rgba(16, 56, 84, 0.06);
}

.steps li::before {
  position: absolute;
  top: 24px;
  left: 24px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: #ffffff;
  font-weight: 850;
  content: counter(steps);
  counter-increment: steps;
  background: linear-gradient(135deg, var(--blue), var(--green-deep));
  border-radius: 50%;
}

.steps strong {
  display: block;
  color: var(--ink-strong);
  font-size: 18px;
}

.steps span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
}

.contact {
  background:
    radial-gradient(circle at 18% 18%, rgba(19, 169, 201, 0.12), transparent 28%),
    linear-gradient(180deg, #ffffff, #f7fbfa);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.86fr) minmax(360px, 1.14fr);
  gap: 24px;
  align-items: stretch;
}

.contact-panel,
.inquiry-form {
  padding: clamp(26px, 4vw, 42px);
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.contact-panel p {
  margin-top: 18px;
}

.contact-methods {
  display: grid;
  gap: 12px;
  margin-top: 30px;
}

.contact-methods a,
.contact-methods button {
  display: block;
  width: 100%;
  padding: 16px 18px;
  text-align: left;
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
}

.contact-methods span {
  display: block;
  margin-bottom: 2px;
  color: var(--muted);
  font-size: 13px;
}

.contact-methods strong {
  display: block;
  color: var(--ink-strong);
  overflow-wrap: anywhere;
}

.inquiry-form {
  display: grid;
  gap: 16px;
}

.inquiry-form label {
  display: grid;
  gap: 8px;
  color: var(--ink-strong);
  font-weight: 760;
}

.inquiry-form input,
.inquiry-form textarea {
  width: 100%;
  padding: 13px 14px;
  color: var(--ink);
  background: #fafdff;
  border: 1px solid #cfe0ea;
  border-radius: 8px;
  outline: 0;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.inquiry-form input:focus,
.inquiry-form textarea:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 4px rgba(19, 169, 201, 0.14);
}

.inquiry-form textarea {
  resize: vertical;
}

.form-submit {
  width: fit-content;
  min-width: 168px;
  border: 0;
  cursor: pointer;
}

.form-note {
  min-height: 22px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.site-footer {
  padding: 34px 0;
  color: #c9d7e4;
  background: #082f53;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(220px, 0.7fr) minmax(300px, 1.3fr);
  gap: 28px;
  align-items: center;
}

.site-footer img {
  width: 220px;
  height: 70px;
  object-fit: cover;
  object-position: center 48.5%;
  background: #ffffff;
  border-radius: 8px;
}

.site-footer p {
  margin: 12px 0 0;
}

.site-footer .footer-grid > p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

.footer-copy {
  width: min(1160px, calc(100% - 40px));
  margin: 24px auto 0;
  padding-top: 18px;
  color: rgba(255, 255, 255, 0.52);
  font-size: 12px;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

@media (max-width: 920px) {
  .site-header {
    grid-template-columns: auto auto;
    justify-content: space-between;
    height: 74px;
  }

  .brand {
    width: 170px;
    height: 66px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    top: 74px;
    right: 16px;
    left: 16px;
    display: grid;
    width: auto;
    justify-self: auto;
    gap: 0;
    padding: 10px;
    overflow: hidden;
    visibility: hidden;
    color: #24445f;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
    opacity: 0;
    transform: translateY(-12px);
    transition:
      opacity 0.2s ease,
      transform 0.2s ease,
      visibility 0.2s ease;
  }

  .site-nav::before {
    display: none;
  }

  .nav-open .site-nav {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
  }

  .site-nav a {
    padding: 15px 14px;
    border-radius: 8px;
  }

  .site-nav a::after {
    display: none;
  }

  .site-nav a:hover {
    background: var(--mist);
  }

  .header-cta {
    display: none;
  }

  .hero {
    min-height: calc(100svh - 36px);
    padding-top: 74px;
  }

  .hero-inner {
    min-height: calc(100svh - 110px);
    padding: 56px 0 44px;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(3, 35, 62, 0.92) 0%, rgba(3, 39, 69, 0.76) 58%, rgba(3, 43, 71, 0.42) 100%),
      linear-gradient(0deg, rgba(1, 28, 48, 0.22), rgba(1, 28, 48, 0));
  }

  .intro-grid,
  .section-heading,
  .service-grid,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .section-heading .section-kicker,
  .section-heading h2,
  .section-heading p {
    grid-column: auto;
    grid-row: auto;
  }

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

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

@media (max-width: 620px) {
  .section-inner {
    width: min(100% - 28px, 1160px);
  }

  .site-header {
    padding: 0 14px;
  }

  .brand {
    width: 150px;
    height: 58px;
  }

  .hero-inner {
    padding-top: 48px;
  }

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

  .hero-facts {
    display: none;
  }

  .hero-facts div + div {
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    border-left: 0;
  }

  .product-grid,
  .application-list {
    grid-template-columns: 1fr;
  }

  .product-card {
    min-height: auto;
    padding: 26px;
  }

  .steps li {
    padding-right: 20px;
    padding-left: 68px;
  }

  .contact-panel,
  .inquiry-form {
    padding: 24px;
  }

  .form-submit {
    width: 100%;
  }
}
