:root {
  color-scheme: light;
  --max: 1180px;
  --line: #d9dee3;
  --ink: #172026;
  --muted: #667079;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font: 15px/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  letter-spacing: 0;
}
button, input, select { font: inherit; letter-spacing: 0; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.container { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.site-header { position: relative; z-index: 20; border-bottom: 1px solid transparent; }
.header-inner { min-height: 72px; display: flex; align-items: center; gap: 30px; }
.brand { display: inline-flex; align-items: baseline; gap: 9px; white-space: nowrap; }
.brand strong { font-size: 18px; font-weight: 760; }
.brand span { font-size: 12px; opacity: .68; }
.site-nav { display: flex; align-items: center; gap: 26px; margin-left: auto; }
.site-nav a { font-size: 14px; white-space: nowrap; }
.site-nav a:hover { opacity: .68; }
.header-action { border: 1px solid currentColor; border-radius: 5px; padding: 8px 12px; }
.menu-toggle { display: none; width: 40px; height: 40px; margin-left: auto; border: 1px solid currentColor; border-radius: 5px; background: transparent; color: inherit; cursor: pointer; }
.menu-toggle span { display: block; width: 17px; height: 1px; margin: 4px auto; background: currentColor; }

.hero { position: relative; isolation: isolate; background-position: center; background-size: cover; }
.hero-content { min-width: 0; position: relative; z-index: 2; }
.eyebrow { margin: 0 0 16px; font-size: 12px; font-weight: 700; text-transform: uppercase; }
.hero h1 { margin: 0; font-size: 54px; line-height: 1.08; font-weight: 750; letter-spacing: 0; }
.hero-copy { max-width: 590px; margin: 20px 0 0; font-size: 18px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 16px; border: 1px solid transparent; border-radius: 5px; cursor: pointer; font-weight: 650; }
.button:focus-visible, .site-nav a:focus-visible, .entry-link:focus-visible { outline: 3px solid #f2b84b; outline-offset: 3px; }

.section-band { padding: 76px 0; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 28px; margin-bottom: 28px; }
.section-heading h2 { margin: 0; font-size: 32px; line-height: 1.15; letter-spacing: 0; }
.section-heading p { max-width: 550px; margin: 0; color: var(--muted); }
.section-link { font-weight: 650; white-space: nowrap; }

.company-intro { background: #f4f7f8; }
.about-layout { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr); gap: 64px; align-items: start; }
.about-copy p { margin: 0 0 16px; color: #46545b; font-size: 16px; line-height: 1.85; }
.about-copy p:last-child { margin-bottom: 0; }
.about-metrics { margin: 0; border-top: 1px solid #cdd8dd; }
.about-metrics div { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 18px; align-items: baseline; padding: 18px 0; border-bottom: 1px solid #cdd8dd; }
.about-metrics dt { color: var(--accent, #315f74); font-size: 28px; font-weight: 750; line-height: 1; }
.about-metrics dd { margin: 0; color: #526169; font-size: 13px; line-height: 1.55; }

@media (min-width: 821px) and (max-width: 1199px) {
  .about-layout { grid-template-columns: 1fr; gap: 34px; }
}

.search-form { display: flex; align-items: stretch; }
.search-form input { min-width: 0; flex: 1; border: 1px solid var(--line); border-radius: 5px 0 0 5px; padding: 13px 15px; color: var(--ink); background: #fff; }
.search-form button { border-radius: 0 5px 5px 0; }
.search-result { min-height: 24px; margin-top: 10px; font-size: 13px; }
.filter-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0; }
.filter-row button { border: 1px solid var(--line); border-radius: 5px; padding: 8px 12px; color: inherit; background: transparent; cursor: pointer; }
.filter-row button.active { color: #fff; border-color: transparent; }
.catalog-layout { display:grid; grid-template-columns:220px minmax(0,1fr); gap:42px; align-items:start; }
.catalog-sidebar { position:sticky; top:82px; z-index:12; }
.catalog-sidebar-title { margin-bottom:10px; color:var(--muted); font-size:12px; font-weight:650; }
.category-menu { border-top:1px solid var(--line); }
.category-group { position:relative; }
.category-primary, .category-submenu button { width:100%; border:0; color:inherit; background:transparent; cursor:pointer; text-align:left; }
.category-primary { display:flex; align-items:center; justify-content:space-between; min-height:48px; padding:10px 4px; border-bottom:1px solid var(--line); font-weight:560; }
.category-group > .category-primary::after { content:"›"; margin-left:12px; color:#9aa5aa; font-size:18px; font-weight:400; }
.category-primary:hover, .category-primary.current, .category-primary.active { color:var(--accent); }
.category-primary.active { font-weight:700; }
.category-submenu { position:absolute; top:-1px; left:100%; width:280px; max-height:min(520px,70vh); padding:7px; overflow:auto; visibility:hidden; opacity:0; transform:translateX(-5px); border:1px solid var(--line); background:#fff; box-shadow:0 14px 32px rgba(35,50,58,.13); transition:opacity .14s ease,transform .14s ease,visibility .14s; }
.category-submenu button { min-height:40px; padding:8px 11px; border-radius:4px; color:#4f5e65; font-size:13px; font-weight:560; line-height:1.4; }
.category-submenu button:hover, .category-submenu button.active { color:var(--accent); background:#f1f6f8; }
@media(min-width:821px) { .category-group:not(.submenu-dismissed):hover .category-submenu, .category-group:not(.submenu-dismissed):focus-within .category-submenu { visibility:visible; opacity:1; transform:none; } }
[data-product-item][hidden] { display: none !important; }

.site-footer { padding: 44px 0; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 32px; }
.footer-grid h3 { margin: 0 0 10px; font-size: 14px; }
.footer-grid p, .footer-grid a { display: block; margin: 5px 0; color: var(--muted); font-size: 13px; }
.icp-record { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 16px; margin: 28px 0 0; color: var(--muted); font-family: inherit; font-size: 12px; font-weight: 400; line-height: 20px; text-align: center; }
.icp-record[hidden] { display: none; }
.icp-record a { display: inline-flex; align-items: center; gap: 5px; min-height: 20px; color: inherit; font: inherit; line-height: 20px; }
.police-record img { flex: 0 0 auto; width: 18px; height: 20px; object-fit: contain; }

.contact-widget { position:fixed; right:18px; top:50%; z-index:40; transform:translateY(-50%); }
.contact-toggle { display:none; min-height:40px; padding:8px 12px; border:0; border-radius:5px; color:#fff; background:var(--accent,#315f74); box-shadow:0 8px 22px rgba(29,56,68,.18); cursor:pointer; font-weight:650; }
.contact-panel { width:min(300px,calc(100vw - 28px)); padding:15px; border:1px solid var(--line); border-top:3px solid var(--accent,#315f74); border-radius:6px; background:#fff; box-shadow:0 14px 36px rgba(29,56,68,.16); }
.contact-panel h2 { margin:0 0 10px; font-size:17px; line-height:1.25; }
.contact-form { display:grid; gap:9px; }
.contact-form label { display:grid; gap:4px; color:#4d5a61; font-size:12px; }
.contact-form label.full { grid-column:1/-1; }
.contact-form input, .contact-form textarea { width:100%; min-width:0; padding:10px 11px; border:1px solid var(--line); border-radius:5px; color:var(--ink); background:#fff; font:inherit; }
.contact-form textarea { min-height:96px; resize:vertical; }
.contact-form input:focus, .contact-form textarea:focus { outline:2px solid color-mix(in srgb,var(--accent,#315f74) 30%,transparent); border-color:var(--accent,#315f74); }
.contact-form .button { grid-column:1/-1; width:100%; color:#fff; background:var(--accent,#315f74); }
.contact-form .button:disabled { opacity:.58; cursor:wait; }
.contact-honeypot { position:absolute !important; left:-10000px !important; width:1px !important; height:1px !important; overflow:hidden !important; }
.contact-status { grid-column:1/-1; min-height:20px; margin:0; color:var(--muted); font-size:12px; }
.contact-status.success { color:#236644; }
.contact-status.error { color:#a33a32; }

@media (max-width: 820px) {
  .container { width: min(100% - 28px, var(--max)); }
  .header-inner { min-height: 62px; }
  .menu-toggle { display: block; }
  .site-nav { display: none; position: absolute; top: 62px; left: 0; right: 0; margin: 0; padding: 14px; border-bottom: 1px solid var(--line); background: #fff; color: #172026; box-shadow: 0 12px 30px rgba(0,0,0,.12); }
  .site-nav.open { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .site-nav a { min-height: 42px; display: flex; align-items: center; padding: 8px; }
  .hero h1 { font-size: 39px; }
  .hero-copy { font-size: 16px; }
  .section-band { padding: 54px 0; }
  .section-heading { align-items: start; flex-direction: column; gap: 10px; }
  .section-heading h2 { font-size: 27px; }
  .about-layout { grid-template-columns: 1fr; gap: 34px; }
  .catalog-layout { grid-template-columns:1fr; gap:22px; }
  .catalog-sidebar { position:relative; top:auto; }
  .catalog-sidebar-title { margin-bottom:6px; }
  .category-primary { min-height:44px; }
  .category-submenu { position:static; display:none; width:auto; max-height:none; margin:0 0 7px 12px; padding:3px 0 3px 10px; visibility:visible; opacity:1; overflow:visible; transform:none; border:0; border-left:2px solid #d6e3e8; box-shadow:none; transition:none; }
  .category-group.open .category-submenu { display:block; }
  .category-submenu button { min-height:38px; padding:7px 10px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-widget { top:auto; right:14px; bottom:14px; transform:none; }
  .contact-toggle { display:block; margin-left:auto; }
  .contact-panel { display:none; position:absolute; right:0; bottom:50px; margin-left:auto; }
  .contact-widget.open .contact-panel { display:block; }
}

@media (max-width: 520px) {
  .brand strong { font-size: 16px; }
  .brand span { display: none; }
  .site-nav.open { grid-template-columns: 1fr; }
  .hero h1 { font-size: 34px; }
  .hero-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-actions .button { min-width: 0; padding-inline: 8px; }
  .search-form { display: grid; grid-template-columns: 1fr; gap: 7px; }
  .search-form input, .search-form button { width: 100%; min-height: 46px; border-radius: 5px; }
  .about-copy p { font-size: 15px; }
  .about-metrics div { grid-template-columns: 84px minmax(0, 1fr); gap: 14px; }
  .about-metrics dt { font-size: 24px; }
  .footer-grid { grid-template-columns: 1fr; }
  .icp-record { gap: 0 16px; }
  .icp-record a { margin: 4px 0; }
  .contact-panel { max-height:calc(100svh - 28px); overflow:auto; padding:17px; }
}

@media (max-width: 420px) {
  .hero h1 { font-size: 31px; }
  .hero-actions { grid-template-columns: 1fr; }
}
