:root {
  --ink: #14202e;
  --ink-2: #4a5868;
  --ink-3: #6b7886;
  --line: #dde3ea;
  --bg: #ffffff;
  --bg-alt: #f3f6f9;
  --brand: #0c3b66;
  --brand-2: #0a2d4f;
  --accent: #e07b14;
  --accent-ink: #ffffff;
  --radius: 10px;
  --shadow: 0 1px 2px rgba(16, 32, 52, .06), 0 6px 20px rgba(16, 32, 52, .06);
  --wrap: 1180px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial,
          "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; font: 16px/1.65 var(--font); color: var(--ink); background: var(--bg); }
img { max-width: 100%; height: auto; display: block; }
picture { display: block; }
a { color: var(--brand); text-underline-offset: 3px; }
a:hover { color: var(--accent); }
h1, h2, h3 { line-height: 1.25; margin: 0 0 .6em; letter-spacing: -.01em; }
h1 { font-size: clamp(1.8rem, 1.2rem + 2.4vw, 2.8rem); }
h2 { font-size: clamp(1.35rem, 1.1rem + 1vw, 1.8rem); }
h3 { font-size: 1.1rem; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.sr-only, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--brand); color: #fff; padding: 8px 14px; z-index: 100; border-radius: 6px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.lead { font-size: 1.12rem; color: var(--ink-2); max-width: 60ch; }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: .4em; padding: .75em 1.4em; border-radius: 999px; border: 2px solid var(--accent);
  background: var(--accent); color: var(--accent-ink); font: 600 1rem/1.2 var(--font); text-decoration: none; cursor: pointer;
  transition: background .15s, border-color .15s, color .15s; }
.btn:hover { background: #c96a0c; border-color: #c96a0c; color: #fff; }
.btn-ghost { background: transparent; color: var(--brand); border-color: currentColor; }
.btn-ghost:hover { background: var(--brand); border-color: var(--brand); color: #fff; }
.btn-light { background: #fff; color: var(--brand); border-color: #fff; }
.btn-light:hover { background: transparent; color: #fff; border-color: #fff; }

/* header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96); backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); min-width: 0; }
.brand-logo img { height: 40px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.brand-text strong { font-size: 1.15rem; color: var(--brand); }
.brand-text small { font-size: .74rem; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav ul { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.site-nav ul a { display: block; padding: 8px 12px; border-radius: 8px; color: var(--ink); text-decoration: none; font-weight: 500; }
.site-nav ul a:hover { background: var(--bg-alt); color: var(--brand); }
.site-nav ul a[aria-current] { color: var(--brand); box-shadow: inset 0 -2px 0 var(--accent); border-radius: 0; }
.lang-switch { display: flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.lang-switch a { padding: 4px 11px; font-size: .82rem; color: var(--ink-2); text-decoration: none; }
.lang-switch a[aria-current] { background: var(--brand); color: #fff; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; padding: 10px; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { display: block; height: 2px; background: var(--ink); border-radius: 2px; position: relative; transition: transform .2s; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; right: 0; }
.nav-toggle span::before { top: -7px; } .nav-toggle span::after { top: 7px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; gap: 12px; padding: 12px 20px 20px; box-shadow: var(--shadow); }
  .site-nav.open { display: flex; }
  .site-nav ul { flex-direction: column; }
  .site-nav ul a { padding: 12px 8px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .site-nav ul a[aria-current] { box-shadow: inset 3px 0 0 var(--accent); padding-left: 14px; }
  .lang-switch { align-self: flex-start; }
  .lang-switch a { padding: 8px 16px; }
}

/* hero */
.hero { position: relative; background: linear-gradient(135deg, var(--brand-2), var(--brand) 60%, #15558f); color: #fff; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero.has-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8, 30, 54, .92) 0%, rgba(8, 30, 54, .7) 55%, rgba(8, 30, 54, .25) 100%); }
.hero-inner { position: relative; z-index: 1; padding-top: clamp(64px, 10vw, 130px); padding-bottom: clamp(64px, 10vw, 130px); }
.hero h1 { max-width: 18ch; }
.hero .lead { color: rgba(255, 255, 255, .86); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero .btn-ghost { color: #fff; }
.hero .btn-ghost:hover { background: #fff; border-color: #fff; color: var(--brand); }

/* sections */
.section { padding: clamp(44px, 6vw, 80px) 0; }
.section-alt { background: var(--bg-alt); }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.section-head h2 { margin: 0; }
.page-head { background: var(--bg-alt); border-bottom: 1px solid var(--line); padding: clamp(36px, 5vw, 64px) 0; }
.page-head.center { text-align: center; } .page-head.center .lead { margin-inline: auto; }
.group-title { padding-bottom: 12px; border-bottom: 2px solid var(--line); margin-bottom: 24px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.chips a { padding: 6px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--ink); font-size: .92rem; }
.chips a span { color: var(--ink-3); margin-left: 4px; }
.chips a:hover { border-color: var(--brand); color: var(--brand); }
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.split-top { align-items: start; }
.split-img img { border-radius: var(--radius); box-shadow: var(--shadow); }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* cards */
.cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 22px; }
.card a { display: flex; flex-direction: column; height: 100%; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; text-decoration: none; color: inherit; transition: box-shadow .2s, transform .2s, border-color .2s; }
.card a:hover { box-shadow: var(--shadow); transform: translateY(-2px); border-color: #c8d2dc; }
.card-img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-alt); border-bottom: 1px solid var(--line); }
.card-img picture { position: absolute; inset: 0; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.card a:hover .card-img img { transform: scale(1.03); }
.card-body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { margin-bottom: .4em; color: var(--brand); }
.card-body p { color: var(--ink-2); font-size: .92rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card-more { margin-top: auto; font-weight: 600; font-size: .9rem; color: var(--accent); }

/* product */
.crumbs { font-size: .88rem; color: var(--ink-3); padding: 18px 0 0; }
.crumbs a { color: var(--ink-2); text-decoration: none; } .crumbs a:hover { color: var(--brand); }
.product-top { padding: 20px 0 clamp(36px, 5vw, 64px); }
.product-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 860px) { .product-grid { grid-template-columns: 1fr; } }
.gallery-main { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); aspect-ratio: 1; overflow: hidden; }
.gallery-main picture { position: absolute; inset: 0; }
.gallery-main img { width: 100%; height: 100%; }
.gallery-main img { object-fit: contain; }
.gallery-thumbs { list-style: none; padding: 0; margin: 12px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: 8px; }
.gallery-thumbs button { display: block; position: relative; overflow: hidden; width: 100%; aspect-ratio: 1; padding: 0; border: 2px solid var(--line); border-radius: 8px; background: #fff; cursor: pointer; }
.gallery-thumbs button[aria-current] { border-color: var(--accent); }
.gallery-thumbs picture { position: absolute; inset: 0; }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: .78rem; font-weight: 700; color: var(--accent); margin-bottom: .5em; }
.product-info .lead { margin-bottom: 1.6em; }

/* prose */
.prose { max-width: 820px; }
.features { max-width: none; }
.prose.features ul { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; margin-top: 24px; }
.prose.features li { margin: 0; padding: 20px 22px; border: 1px solid var(--line); border-top: 3px solid var(--accent); border-radius: var(--radius); color: var(--ink-2); font-size: .95rem; }
.features li strong { display: block; color: var(--brand); font-size: 1.05rem; margin-bottom: 6px; }
.prose h2 { margin-top: 1.6em; } .prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.4em; color: var(--brand); }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1em; }
.prose li { margin: .25em 0; }
.prose picture { margin: 1.5em 0; }
.prose img { border-radius: 8px; }
.table-wrap { overflow-x: auto; margin: 1em 0 1.5em; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.prose table { border-collapse: collapse; width: 100%; font-size: .94rem; }
.prose th, .prose td { padding: 10px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose th { background: var(--bg-alt); font-weight: 600; white-space: nowrap; }
.prose tr:last-child td { border-bottom: 0; }

/* cta */
.cta-band { background: var(--brand); color: #fff; padding: clamp(36px, 5vw, 56px) 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-inner h2 { margin-bottom: .3em; } .cta-inner p { margin: 0; color: rgba(255, 255, 255, .82); }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(28px, 5vw, 56px); align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.inquiry { display: grid; gap: 16px; }
.inquiry label { display: grid; gap: 6px; font-weight: 600; font-size: .92rem; }
.inquiry input, .inquiry select, .inquiry textarea { font: 400 1rem/1.4 var(--font); padding: 11px 13px; border: 1px solid #c5cfd9; border-radius: 8px;
  background: #fff; color: var(--ink); width: 100%; }
.inquiry input:focus, .inquiry select:focus, .inquiry textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(12, 59, 102, .15); }
.inquiry button { justify-self: start; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .row2 { grid-template-columns: 1fr; } }
.form-status:empty { display: none; }
.form-status { padding: 12px 14px; border-radius: 8px; background: var(--bg-alt); }
.form-status.ok { background: #e7f6ec; color: #135c2c; }
.form-status.err { background: #fdecea; color: #8a1c13; }
.contact-card { background: var(--bg-alt); border-radius: var(--radius); padding: 24px; }
.contact-card dl { margin: 0; display: grid; gap: 4px; }
.contact-card dt { font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); margin-top: 10px; }
.contact-card dd { margin: 0; font-weight: 500; word-break: break-word; }

/* footer */
.site-footer { background: #0b1826; color: #b9c4cf; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; padding-top: 48px; padding-bottom: 32px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand { color: #fff; font-size: 1.1rem; display: block; margin-bottom: 8px; }
.footer-h { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: #fff; margin-bottom: 12px; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.site-footer a { color: #d6dee6; text-decoration: none; } .site-footer a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding-top: 18px; padding-bottom: 24px; font-size: .82rem; color: #8494a4; }
