:root {
  --ink: #14243a;
  --muted: #617087;
  --line: #dce3ea;
  --paper: #ffffff;
  --soft: #f4f7f9;
  --navy: #101e31;
  --navy-2: #192c45;
  --red: #ed4035;
  --red-dark: #c92d25;
  --radius: 18px;
  --shadow: 0 20px 60px rgba(20, 36, 58, .1);
  --shell: min(1200px, calc(100% - 40px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Inter, "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; border-radius: 10px; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -.025em; }
h1 { font-size: clamp(2.5rem, 7vw, 5.6rem); }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); }
h3 { font-size: 1.2rem; }
.shell { width: var(--shell); margin-inline: auto; }
.section { padding: 100px 0; }
.section-soft { background: var(--soft); }
.eyebrow { margin-bottom: 16px; color: var(--red); font-size: .78rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.lede { max-width: 720px; color: var(--muted); font-size: clamp(1.05rem, 2vw, 1.3rem); }
.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 { position: fixed; z-index: 1000; top: 8px; left: 8px; padding: 10px 16px; color: #fff; background: var(--navy); transform: translateY(-150%); }
.skip-link:focus { transform: none; }

.site-header { position: sticky; z-index: 100; top: 0; height: 76px; background: rgba(255, 255, 255, .94); border-bottom: 1px solid rgba(220, 227, 234, .85); backdrop-filter: blur(16px); }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.brand img { width: 184px; }
.site-nav { display: flex; align-items: center; gap: 30px; font-size: .92rem; font-weight: 650; }
.site-nav > a:not(.button) { position: relative; padding: 8px 0; }
.site-nav > a:not(.button)::after { position: absolute; right: 0; bottom: 1px; left: 0; height: 2px; background: var(--red); content: ""; transform: scaleX(0); transform-origin: right; transition: transform .25s ease; }
.site-nav > a:hover::after, .site-nav > a:focus-visible::after { transform: scaleX(1); transform-origin: left; }
.lang-switch { color: var(--muted); }
.nav-toggle { display: none; width: 42px; padding: 9px; background: transparent; border: 0; }
.nav-toggle > span:not(.sr-only) { display: block; height: 2px; margin: 5px 0; background: var(--ink); }

.button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 25px; color: #fff; background: var(--red); border: 1px solid var(--red); border-radius: 999px; font-weight: 750; transition: background .2s ease, border .2s ease, transform .2s ease; }
.button:hover { background: var(--red-dark); border-color: var(--red-dark); transform: translateY(-2px); }
.button:disabled { cursor: wait; opacity: .65; transform: none; }
.button-small { min-height: 42px; padding: 0 19px; font-size: .85rem; }
.button-ghost { color: var(--ink); background: transparent; border-color: var(--line); }
.button-ghost:hover { color: #fff; background: var(--navy); border-color: var(--navy); }
.text-link { display: inline-flex; gap: 8px; align-items: center; color: var(--red); font-weight: 750; }
.text-link::after { content: "→"; transition: transform .2s ease; }
.text-link:hover::after { transform: translateX(4px); }

.hero { position: relative; display: grid; min-height: calc(100vh - 76px); overflow: hidden; color: #fff; background: var(--navy); place-items: center; }
.hero::before { position: absolute; inset: -30% -10% auto auto; width: 70vw; height: 70vw; background: radial-gradient(circle, rgba(237, 64, 53, .23), transparent 62%); content: ""; }
.hero::after { position: absolute; inset: 0; opacity: .12; background-image: linear-gradient(rgba(255,255,255,.16) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.16) 1px, transparent 1px); background-size: 64px 64px; mask-image: linear-gradient(to bottom, #000, transparent 85%); content: ""; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 70px; align-items: center; padding: 90px 0; }
.hero h1 { max-width: 820px; margin-bottom: 24px; }
.hero .lede { color: #b8c5d4; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 35px; }
.hero .button-ghost { color: #fff; border-color: rgba(255,255,255,.35); }
.hero .button-ghost:hover { color: var(--navy); background: #fff; }
.hero-product { display: grid; min-height: 520px; place-items: center; }
.hero-product img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border: 1px solid rgba(255,255,255,.18); border-radius: 24px; box-shadow: 0 35px 70px rgba(0,0,0,.38); }
.global-site-callout { color: #fff; background: var(--red); }
.global-site-inner { display: flex; min-height: 76px; align-items: center; justify-content: center; gap: 14px; text-align: center; }
.global-site-inner p { margin: 0; font-weight: 700; }
.global-site-inner a { padding-bottom: 1px; border-bottom: 1px solid rgba(255,255,255,.65); font-weight: 850; }
.global-site-inner a:hover { border-color: #fff; }

.section-head { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 46px; }
.section-head h2 { max-width: 720px; margin-bottom: 0; }
.category-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.category-card { display: flex; min-height: 360px; padding: 32px; overflow: hidden; flex-direction: column; background: var(--soft); border: 1px solid var(--line); border-radius: var(--radius); transition: transform .25s ease, box-shadow .25s ease; }
.category-card:hover { box-shadow: var(--shadow); transform: translateY(-5px); }
.category-card-copy { position: relative; z-index: 1; }
.category-card h3 { max-width: 240px; font-size: 1.5rem; }
.category-card p { max-width: 280px; color: var(--muted); font-size: .92rem; }
.category-count { color: var(--red); font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.category-card img { width: 100%; height: 160px; margin-top: auto; object-fit: contain; object-position: center; mix-blend-mode: multiply; }

.proof-strip { color: #fff; background: var(--navy); }
.proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.proof-item { padding: 52px 28px; border-right: 1px solid rgba(255,255,255,.12); }
.proof-item:first-child { border-left: 1px solid rgba(255,255,255,.12); }
.proof-item strong { display: block; margin-bottom: 8px; font-size: 1.7rem; }
.proof-item span { color: #aebdce; font-size: .9rem; }

.page-hero { padding: 105px 0 75px; background: linear-gradient(145deg, var(--soft), #fff); border-bottom: 1px solid var(--line); }
.page-hero h1 { max-width: 920px; margin-bottom: 20px; font-size: clamp(2.5rem, 6vw, 4.8rem); }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; color: var(--muted); font-size: .82rem; }
.breadcrumbs span::before { margin-right: 8px; content: "/"; }

.catalog-tools { display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: center; margin-bottom: 34px; }
.search-box { position: relative; max-width: 620px; }
.search-box input { width: 100%; height: 56px; padding: 0 20px 0 48px; background: #fff; border: 1px solid var(--line); border-radius: 12px; outline: none; }
.search-box input:focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(20,36,58,.08); }
.search-box::before { position: absolute; top: 17px; left: 18px; color: var(--muted); content: "⌕"; font-size: 1.25rem; }
.filter-row { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 38px; }
.filter-button { padding: 9px 15px; color: var(--muted); background: #fff; border: 1px solid var(--line); border-radius: 999px; font-size: .82rem; font-weight: 700; }
.filter-button[aria-pressed="true"], .filter-button:hover { color: #fff; background: var(--navy); border-color: var(--navy); }
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.product-card { display: flex; min-width: 0; flex-direction: column; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: transform .25s ease, box-shadow .25s ease; }
.product-card:hover { box-shadow: var(--shadow); transform: translateY(-5px); }
.product-image { display: grid; height: 275px; padding: 22px; overflow: hidden; background: var(--soft); place-items: center; }
.product-image img { width: 100%; height: 100%; object-fit: contain; transition: transform .35s ease; }
.product-card:hover .product-image img { transform: scale(1.035); }
.product-card-body { display: flex; flex: 1; flex-direction: column; padding: 24px; }
.product-card h2, .product-card h3 { margin-bottom: 8px; font-size: 1.28rem; overflow-wrap: anywhere; }
.product-meta { margin-bottom: 18px; color: var(--muted); font-size: .82rem; }
.product-card[hidden] { display: none; }
.empty-state { display: none; padding: 50px; text-align: center; background: var(--soft); border-radius: var(--radius); }
.empty-state.is-visible { display: block; }

.product-top { padding: 54px 0 90px; }
.product-layout { display: grid; grid-template-columns: 1.08fr .92fr; gap: 70px; align-items: start; }
.product-gallery { position: sticky; top: 110px; }
.gallery-stage { display: grid; min-height: 540px; padding: 40px; background: var(--soft); border-radius: var(--radius); place-items: center; }
.gallery-stage img { width: 100%; height: 470px; object-fit: contain; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 12px; }
.gallery-thumb { height: 90px; padding: 8px; background: #fff; border: 1px solid var(--line); border-radius: 10px; }
.gallery-thumb[aria-current="true"] { border-color: var(--red); box-shadow: 0 0 0 1px var(--red); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: contain; }
.product-summary { padding-top: 18px; }
.product-summary h1 { margin-bottom: 14px; font-size: clamp(2.4rem, 5vw, 4.4rem); overflow-wrap: anywhere; }
.product-kicker { color: var(--red); font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.product-pn { color: var(--muted); font-size: .9rem; }
.product-description { color: var(--muted); font-size: 1.08rem; }
.highlights { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 30px 0; }
.highlight { padding: 16px; background: var(--soft); border-radius: 10px; }
.highlight span { display: block; margin-bottom: 4px; color: var(--muted); font-size: .72rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.highlight strong { display: block; font-size: .88rem; overflow-wrap: anywhere; }
.product-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.spec-layout { display: grid; grid-template-columns: .62fr 1.38fr; gap: 70px; align-items: start; }
.spec-layout h2 { position: sticky; top: 115px; }
.spec-table { width: 100%; border-collapse: collapse; }
.spec-table tr { border-bottom: 1px solid var(--line); }
.spec-table th, .spec-table td { padding: 16px 12px; text-align: left; vertical-align: top; }
.spec-table th { width: 38%; font-size: .85rem; }
.spec-table td { color: var(--muted); font-size: .9rem; overflow-wrap: anywhere; }
.related-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.related-grid .product-image { height: 210px; }

.inquiry-section { color: #fff; background: var(--navy); }
.inquiry-layout { display: grid; grid-template-columns: .75fr 1.25fr; gap: 80px; align-items: start; }
.inquiry-layout .lede { color: #afbed0; }
.inquiry-form { padding: 34px; color: var(--ink); background: #fff; border-radius: var(--radius); }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.field { min-width: 0; }
.field-full { grid-column: 1 / -1; }
.field label { display: block; margin-bottom: 6px; font-size: .82rem; font-weight: 750; }
.field input, .field textarea, .field select { width: 100%; padding: 13px 14px; color: var(--ink); background: #fff; border: 1px solid #cdd6df; border-radius: 9px; outline: none; }
.field textarea { min-height: 145px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(20,36,58,.08); }
.field [aria-invalid="true"] { border-color: var(--red); }
.field-error { min-height: 1.2em; margin: 5px 0 0; color: var(--red-dark); font-size: .75rem; }
.form-status { min-height: 1.5em; margin: 18px 0; font-size: .85rem; }
.form-status.is-error { color: var(--red-dark); }
.form-status.is-success { color: #14733d; }
.honeypot { position: absolute !important; left: -9999px !important; }

.content-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; }
.content-copy { color: var(--muted); }
.content-copy h2, .content-copy h3 { margin-top: 2em; color: var(--ink); }
.content-copy a { color: var(--red-dark); text-decoration: underline; }
.contact-card { padding: 32px; background: var(--soft); border-radius: var(--radius); }
.contact-card + .contact-card { margin-top: 16px; }
.contact-card h2 { font-size: 1.35rem; }
.thank-you { display: grid; min-height: 68vh; padding: 90px 0; text-align: center; place-items: center; }
.thank-you-mark { display: grid; width: 72px; height: 72px; margin: 0 auto 28px; color: #fff; background: var(--red); border-radius: 50%; font-size: 2rem; place-items: center; }
.thank-you h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); }

.site-footer { padding: 70px 0 25px; color: #c1ccda; background: #0b1625; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 55px; }
.footer-logo { width: 190px; margin-bottom: 22px; }
.site-footer h2 { color: #fff; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; }
.site-footer p, .site-footer a { font-size: .84rem; }
.site-footer a:hover { color: #fff; }
.footer-bottom { margin-top: 55px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); font-size: .78rem; }

@media (max-width: 980px) {
  .nav-toggle { display: block; }
  .site-nav { position: fixed; inset: 76px 0 auto; display: none; align-items: stretch; padding: 24px 20px 30px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .site-nav.is-open { display: flex; flex-direction: column; gap: 10px; }
  .site-nav a { padding: 10px 0; }
  .hero-grid, .product-layout, .inquiry-layout, .content-grid { grid-template-columns: 1fr; }
  .hero-product { min-height: 0; }
  .hero-product img { width: min(720px, 100%); }
  .category-grid, .product-grid { grid-template-columns: repeat(2, 1fr); }
  .proof-grid { grid-template-columns: repeat(2, 1fr); }
  .product-gallery { position: static; }
  .spec-layout { grid-template-columns: 1fr; gap: 20px; }
  .spec-layout h2 { position: static; }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  :root { --shell: min(100% - 28px, 1200px); --radius: 14px; }
  .section { padding: 72px 0; }
  .hero { min-height: auto; }
  .hero-grid { gap: 20px; padding: 70px 0; }
  .hero h1 { font-size: clamp(2.65rem, 14vw, 4rem); }
  .hero-product { min-height: 0; }
  .global-site-inner { flex-direction: column; gap: 2px; padding: 15px 0; }
  .section-head { align-items: start; flex-direction: column; }
  .category-grid, .product-grid, .related-grid { grid-template-columns: 1fr; }
  .category-card { min-height: 280px; }
  .proof-grid { grid-template-columns: 1fr; }
  .proof-item, .proof-item:first-child { border: 0; border-bottom: 1px solid rgba(255,255,255,.12); }
  .catalog-tools { grid-template-columns: 1fr; }
  .product-top { padding-top: 30px; }
  .gallery-stage { min-height: 360px; padding: 20px; }
  .gallery-stage img { height: 320px; }
  .gallery-thumbs { grid-template-columns: repeat(4, 1fr); }
  .gallery-thumb { height: 70px; }
  .highlights, .form-grid { grid-template-columns: 1fr; }
  .field-full { grid-column: auto; }
  .inquiry-form { padding: 22px; }
  .spec-table, .spec-table tbody, .spec-table tr, .spec-table th, .spec-table td { display: block; width: 100%; }
  .spec-table th { padding-bottom: 2px; }
  .spec-table td { padding-top: 2px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
