:root {
  --ink: #14202b;
  --muted: #5d6b78;
  --line: #dce4ea;
  --paper: #ffffff;
  --soft: #f3f7fa;
  --navy: #073b63;
  --blue: #0c6aa6;
  --cyan: #0b91b9;
  --steel: #637487;
  --yellow: #e9b949;
  --shadow: 0 20px 60px rgba(9, 33, 53, 0.14);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family:
    "Microsoft YaHei",
    "PingFang SC",
    "Noto Sans SC",
    Arial,
    sans-serif;
  line-height: 1.65;
}

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

button,
input {
  font: inherit;
}

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

.skip-link,
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  z-index: 999;
  top: 12px;
  left: 12px;
  width: auto;
  height: auto;
  padding: 10px 14px;
  clip: auto;
  color: #fff;
  background: var(--navy);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(220, 228, 234, 0.9);
  backdrop-filter: blur(14px);
}

.nav-shell {
  width: min(100% - 40px, var(--max));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 240px;
}

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

.brand-text {
  display: grid;
  line-height: 1.2;
}

.brand-text strong {
  font-size: 16px;
  white-space: nowrap;
}

.brand-text small {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-left: auto;
}

.nav-links a {
  color: #24394a;
  font-size: 15px;
  font-weight: 600;
}

.nav-links a:hover {
  color: var(--blue);
}

.header-call {
  display: inline-grid;
  gap: 0;
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  text-align: right;
}

.header-call span {
  color: var(--muted);
  font-size: 12px;
}

.header-call strong {
  color: var(--navy);
  font-size: 15px;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  margin-left: auto;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  display: block;
  margin: 4px auto;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: clamp(560px, 76svh, 760px);
  display: grid;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: 62% center;
  z-index: -2;
}

.hero-overlay {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.9) 26%, rgba(255, 255, 255, 0.5) 52%, rgba(255, 255, 255, 0.1) 100%),
    linear-gradient(0deg, rgba(3, 23, 38, 0.18), rgba(3, 23, 38, 0.02));
}

.hero-content {
  width: min(100% - 40px, var(--max));
  margin: 0 auto;
  padding: 80px 0 68px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(36px, 6vw, 68px);
  line-height: 1.1;
  letter-spacing: 0;
}

.hero-summary {
  max-width: 620px;
  margin: 22px 0 0;
  color: #334655;
  font-size: clamp(17px, 2vw, 21px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 34px 0 0;
}

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 800;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  color: #fff;
  background: var(--navy);
  box-shadow: 0 14px 26px rgba(7, 59, 99, 0.24);
}

.button-secondary {
  color: var(--navy);
  background: rgba(255, 255, 255, 0.86);
  border-color: rgba(7, 59, 99, 0.2);
}

.button-ghost {
  color: var(--navy);
  background: #fff;
  border-color: var(--line);
}

.hero-facts {
  max-width: 760px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 48px 0 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(220, 228, 234, 0.95);
  border-radius: var(--radius);
  background: var(--line);
  box-shadow: var(--shadow);
}

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

.hero-facts dt {
  color: var(--muted);
  font-size: 13px;
}

.hero-facts dd {
  margin: 4px 0 0;
  color: var(--navy);
  font-size: 18px;
  font-weight: 800;
}

.quick-strip {
  background: var(--navy);
  color: #fff;
}

.quick-strip-inner {
  width: min(100% - 40px, var(--max));
  min-height: 64px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: center;
  gap: 18px;
}

.quick-strip-inner span {
  position: relative;
  padding-left: 18px;
  font-weight: 700;
}

.quick-strip-inner span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 7px;
  height: 7px;
  background: var(--yellow);
  transform: translateY(-50%);
}

.section {
  width: min(100% - 40px, var(--max));
  margin: 0 auto;
  padding: 86px 0;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 34px;
}

.section-heading.wide {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.section-heading h2,
.contact-copy h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.15;
  letter-spacing: 0;
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  gap: 46px;
  align-items: start;
}

.about-copy {
  color: #293d4e;
  font-size: 18px;
}

.about-copy p {
  margin: 0 0 20px;
}

.about-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--soft);
}

.about-panel dl {
  margin: 0;
}

.about-panel div {
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
}

.about-panel div:last-child {
  border-bottom: 0;
}

.about-panel dt {
  color: var(--muted);
  font-size: 13px;
}

.about-panel dd {
  margin: 5px 0 0;
  font-weight: 800;
}

.product-section {
  width: 100%;
  max-width: none;
  padding-left: max(20px, calc((100% - var(--max)) / 2));
  padding-right: max(20px, calc((100% - var(--max)) / 2));
  background: linear-gradient(180deg, #f6f9fb 0%, #fff 100%);
}

.catalog-tools {
  display: grid;
  grid-template-columns: minmax(260px, 380px) 1fr;
  gap: 16px;
  align-items: center;
  margin-bottom: 24px;
}

.search-wrap input {
  width: 100%;
  min-height: 46px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  outline: none;
}

.search-wrap input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(12, 106, 166, 0.12);
}

.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.filter-tabs button {
  min-height: 40px;
  padding: 8px 14px;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  cursor: pointer;
  font-weight: 700;
}

.filter-tabs button[aria-selected="true"] {
  color: #fff;
  border-color: var(--navy);
  background: var(--navy);
}

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

.product-card {
  display: grid;
  grid-template-rows: 150px 1fr;
  min-height: 420px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 12px 26px rgba(16, 44, 64, 0.08);
}

.product-visual {
  position: relative;
  background-image:
    linear-gradient(90deg, rgba(7, 59, 99, 0.72), rgba(12, 106, 166, 0.1)),
    url("../assets/hero-marine-valves.png");
  background-size: cover;
  background-position: var(--visual-position, center);
}

.product-visual span {
  position: absolute;
  left: 18px;
  bottom: 14px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 28px;
  font-weight: 900;
}

.product-body {
  display: grid;
  align-content: start;
  padding: 22px;
}

.product-category {
  width: fit-content;
  margin-bottom: 12px;
  padding: 4px 9px;
  color: var(--blue);
  background: #e7f5fb;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.product-card h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.25;
}

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

.product-card ul {
  display: grid;
  gap: 8px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.product-card li {
  position: relative;
  padding-left: 18px;
  color: #2e4455;
  font-size: 14px;
}

.product-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.75em;
  width: 7px;
  height: 7px;
  background: var(--yellow);
  transform: translateY(-50%);
}

.catalog-table-wrap {
  margin-top: 30px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.catalog-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

.catalog-table caption {
  padding: 16px 18px;
  color: var(--navy);
  font-weight: 900;
  text-align: left;
}

.catalog-table th,
.catalog-table td {
  padding: 15px 18px;
  border-top: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.catalog-table th {
  color: #fff;
  background: var(--navy);
  font-size: 14px;
}

.catalog-table td {
  color: #33495b;
}

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

.capability-grid article {
  padding: 26px;
  border-left: 4px solid var(--blue);
  border-radius: var(--radius);
  background: var(--soft);
}

.capability-grid span {
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
}

.capability-grid h3 {
  margin: 12px 0 8px;
  font-size: 22px;
}

.capability-grid p {
  margin: 0;
  color: var(--muted);
}

.contact-section {
  color: #fff;
  background:
    linear-gradient(135deg, rgba(7, 59, 99, 0.96), rgba(12, 106, 166, 0.9)),
    url("../assets/hero-marine-valves.png");
  background-size: cover;
  background-position: center;
}

.contact-inner {
  width: min(100% - 40px, var(--max));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: 50px;
  padding: 78px 0;
  align-items: start;
}

.contact-copy p:not(.eyebrow) {
  max-width: 560px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
}

.contact-copy .eyebrow {
  color: var(--yellow);
}

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

.contact-item {
  min-height: 104px;
  display: grid;
  align-content: center;
  gap: 6px;
  padding: 18px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  text-align: left;
}

button.contact-item {
  cursor: pointer;
}

.contact-item span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
}

.contact-item strong {
  font-size: 20px;
  line-height: 1.35;
}

.contact-address {
  grid-column: 1 / -1;
}

.site-footer {
  width: min(100% - 40px, var(--max));
  min-height: 96px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--muted);
  font-size: 14px;
}

.site-footer strong {
  color: var(--ink);
}

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

.floating-call {
  position: fixed;
  right: 18px;
  top: 50%;
  z-index: 40;
  display: grid;
  gap: 2px;
  min-width: 172px;
  padding: 14px 16px 14px 18px;
  color: #fff;
  background: var(--blue);
  border-radius: var(--radius);
  box-shadow: 0 18px 42px rgba(12, 106, 166, 0.32);
  transform: translateY(-50%);
  transition:
    background 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.floating-call::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  bottom: 12px;
  width: 4px;
  background: var(--yellow);
  border-radius: 999px;
}

.floating-call:hover {
  background: var(--navy);
  box-shadow: 0 20px 48px rgba(7, 59, 99, 0.36);
  transform: translateY(-50%) translateX(-3px);
}

.floating-call span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  font-weight: 700;
}

.floating-call strong {
  font-size: 18px;
  line-height: 1.25;
}

@media (max-width: 960px) {
  .header-call {
    display: none;
  }

  .nav-toggle {
    display: inline-grid;
    place-items: center;
  }

  .nav-links {
    position: absolute;
    left: 20px;
    right: 20px;
    top: 78px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    padding: 14px 16px;
    border-bottom: 1px solid var(--line);
  }

  .nav-links a:last-child {
    border-bottom: 0;
  }

  .quick-strip-inner,
  .about-layout,
  .catalog-tools,
  .capability-grid,
  .contact-inner {
    grid-template-columns: 1fr;
  }

  .filter-tabs {
    justify-content: flex-start;
  }

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

@media (max-width: 640px) {
  .nav-shell,
  .hero-content,
  .section,
  .contact-inner,
  .site-footer,
  .quick-strip-inner {
    width: min(100% - 28px, var(--max));
  }

  .brand {
    min-width: 0;
  }

  .brand-text strong {
    max-width: 210px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .hero {
    min-height: 660px;
  }

  .hero-overlay {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.76));
  }

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

  .hero-facts,
  .product-grid,
  .contact-list {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 64px 0;
  }

  .product-section {
    padding-left: 14px;
    padding-right: 14px;
  }

  .section-heading.wide {
    display: grid;
    align-items: start;
  }

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

  .site-footer {
    padding: 22px 0 86px;
    display: grid;
  }

  .floating-call {
    left: 14px;
    right: 14px;
    top: auto;
    bottom: 14px;
    display: flex;
    justify-content: center;
    gap: 10px;
    text-align: center;
    min-width: 0;
    transform: none;
  }

  .floating-call:hover {
    transform: none;
  }
}

@media print {
  .site-header,
  .hero,
  .quick-strip,
  .about-section,
  .capability-section,
  .contact-section,
  .site-footer,
  .floating-call,
  .catalog-tools,
  .button {
    display: none !important;
  }

  .product-section {
    padding: 0;
    background: #fff;
  }

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