/* ==========================================================================
   OUSU PET — B2B export website
   深蓝 #0F3460 + 暖橙 #E94560 / 干净专业 / 响应式 / RTL 支持
   ========================================================================== */

:root {
  --ink: #08182b;
  --navy: #0f3460;
  --navy-2: #14406f;
  --navy-3: #1c4d80;
  --steel: #5a7089;
  --steel-light: #9db0c4;
  --line: #dbe3ec;
  --line-dark: rgba(255, 255, 255, 0.14);
  --paper: #f5f7fa;
  --white: #ffffff;
  --orange: #e94560;
  --orange-dark: #c9344c;
  --orange-soft: #fdeef1;
  --green: #25d366;
  --container: 1240px;
  --header-h: 76px;
  --radius: 2px;
  --shadow-sm: 0 2px 10px rgba(15, 52, 96, 0.06);
  --shadow-md: 0 18px 44px rgba(15, 52, 96, 0.13);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Helvetica Neue", "Segoe UI", system-ui, -apple-system, "Noto Sans", "Noto Sans Arabic", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

html[dir="rtl"] body {
  font-family: "Noto Kufi Arabic", "Segoe UI", Tahoma, "Noto Sans Arabic", sans-serif;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; line-height: 1.12; letter-spacing: -0.02em; }
p { margin: 0; }

::selection { background: var(--orange); color: #fff; }

:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
}

.container { width: min(var(--container), 100% - 40px); margin-inline: auto; }
@media (min-width: 768px) { .container { width: min(var(--container), 100% - 96px); } }

.skip-link {
  position: absolute; inset-inline-start: -9999px; top: 0; z-index: 999;
  background: var(--orange); color: #fff; padding: 10px 18px;
}
.skip-link:focus { inset-inline-start: 0; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 24px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.2s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--orange { background: var(--orange); color: #fff; }
.btn--orange:hover { background: var(--orange-dark); }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-2); }
.btn--ghost { border-color: rgba(255, 255, 255, 0.4); color: #fff; background: transparent; }
.btn--ghost:hover { border-color: #fff; background: rgba(255, 255, 255, 0.08); }
.btn--outline { border-color: var(--line); color: var(--navy); background: #fff; }
.btn--outline:hover { border-color: var(--navy); }
.btn--block { width: 100%; }
.btn svg { width: 16px; height: 16px; flex: none; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 120;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
}
.site-header.is-scrolled { box-shadow: 0 4px 20px rgba(8, 23, 38, 0.08); }
.header-inner { display: flex; align-items: center; gap: 20px; min-height: var(--header-h); }

.logo { display: flex; align-items: center; gap: 11px; flex: none; }
.logo-mark {
  width: 38px; height: 38px; background: var(--navy); position: relative;
  display: grid; place-items: center; border-radius: 3px; color: #fff;
}
.logo-mark svg { width: 24px; height: 24px; }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-text strong { font-size: 16px; letter-spacing: 0.13em; font-weight: 800; color: var(--navy); }
.logo-text span { font-size: 9px; letter-spacing: 0.16em; color: var(--steel); margin-top: 6px; }

.main-nav { display: none; align-items: center; gap: 30px; margin-inline: auto; }
@media (min-width: 1024px) { .main-nav { display: flex; } }
.main-nav a {
  font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--navy); padding-block: 8px; position: relative;
}
.main-nav a::after {
  content: ""; position: absolute; inset-inline-start: 0; bottom: 0;
  width: 0; height: 2px; background: var(--orange); transition: width 0.25s var(--ease);
}
.main-nav a:hover::after, .main-nav a[aria-current="page"]::after { width: 100%; }
.main-nav a[aria-current="page"] { color: var(--orange); }

.header-actions { display: flex; align-items: center; gap: 12px; margin-inline-start: auto; }
.lang-switch {
  display: none; align-items: stretch; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
@media (min-width: 640px) { .lang-switch { display: flex; } }
.lang-switch button {
  padding: 7px 9px; font-size: 11px; font-weight: 700; letter-spacing: 0.04em;
  color: var(--steel); background: #fff; min-width: 34px;
}
.lang-switch button[aria-pressed="true"] { background: var(--navy); color: #fff; }

.header-quote { display: none; }
@media (min-width: 768px) { .header-quote { display: inline-flex; } }

.menu-toggle {
  width: 44px; height: 44px; display: grid; place-items: center;
  border: 1px solid var(--line); border-radius: var(--radius);
}
@media (min-width: 1024px) { .menu-toggle { display: none; } }
.menu-toggle span { display: block; width: 20px; height: 2px; background: var(--navy); position: relative; }
.menu-toggle span::before, .menu-toggle span::after {
  content: ""; position: absolute; inset-inline-start: 0; width: 20px; height: 2px; background: var(--navy);
}
.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }

/* mobile drawer */
.mobile-nav {
  position: fixed; inset: 0; z-index: 200; background: var(--navy); color: #fff;
  display: flex; flex-direction: column; padding: 24px;
  transform: translateX(100%); transition: transform 0.35s var(--ease);
  visibility: hidden;
}
html[dir="rtl"] .mobile-nav { transform: translateX(-100%); }
.mobile-nav.is-open { transform: translateX(0); visibility: visible; }
html[dir="rtl"] .mobile-nav.is-open { transform: translateX(0); }
.mobile-nav-top { display: flex; justify-content: space-between; align-items: center; }
.mobile-nav .logo-text strong { color: #fff; }
.mobile-nav .logo-text span { color: var(--steel-light); }
.mobile-close { width: 44px; height: 44px; display: grid; place-items: center; color: #fff; border: 1px solid var(--line-dark); }
.mobile-links { display: flex; flex-direction: column; gap: 6px; margin-top: 36px; }
.mobile-links a {
  font-size: 22px; font-weight: 700; padding-block: 12px; border-bottom: 1px solid var(--line-dark);
  display: flex; justify-content: space-between; align-items: center;
}
.mobile-links a small { font-size: 10px; color: var(--steel-light); letter-spacing: 0.14em; }
.mobile-nav-bottom { margin-top: auto; display: flex; flex-direction: column; gap: 16px; }
.mobile-lang { display: flex; gap: 8px; }
.mobile-lang button { border: 1px solid var(--line-dark); color: #fff; padding: 9px 14px; font-size: 12px; font-weight: 700; }
.mobile-lang button[aria-pressed="true"] { background: var(--orange); border-color: var(--orange); }

/* ---------- hero ---------- */
.hero { position: relative; background: var(--ink); color: #fff; overflow: hidden; }
.hero-slides { position: absolute; inset: 0; }
.hero-slide {
  position: absolute; inset: 0; opacity: 0;
  transition: opacity 0.9s var(--ease);
}
.hero-slide.is-active { opacity: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-slide::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(8, 23, 38, 0.94) 0%, rgba(8, 23, 38, 0.8) 42%, rgba(8, 23, 38, 0.25) 100%);
}
html[dir="rtl"] .hero-slide::after {
  background: linear-gradient(270deg, rgba(8, 23, 38, 0.94) 0%, rgba(8, 23, 38, 0.8) 42%, rgba(8, 23, 38, 0.25) 100%);
}

.hero-inner { position: relative; z-index: 2; padding-block: clamp(64px, 10vw, 120px) 0; }
.hero-content { max-width: 720px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--orange);
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--orange); flex: none; }

.hero h1 {
  margin-top: 22px;
  font-size: clamp(34px, 5.4vw, 64px);
  line-height: 1.04;
  letter-spacing: -0.03em;
  max-width: 15ch;
  text-wrap: balance;
}
.hero h1 em { font-style: normal; color: var(--orange); }
.hero-sub {
  margin-top: 24px; max-width: 54ch;
  font-size: clamp(15px, 1.6vw, 17px); color: #c3d0dd; line-height: 1.7;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 30px; font-size: 12px; color: #a9bacb; }
.hero-tags span { display: inline-flex; align-items: center; gap: 7px; }
.hero-tags svg { width: 14px; height: 14px; color: var(--orange); }

.hero-stats {
  position: relative; z-index: 2;
  margin-top: clamp(48px, 8vw, 86px);
  border-top: 1px solid var(--line-dark);
  display: grid; grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 768px) { .hero-stats { grid-template-columns: repeat(4, 1fr); } }
.hero-stat { padding: 22px 8px 30px; }
@media (min-width: 768px) { .hero-stat { padding: 26px 22px 34px; border-inline-start: 1px solid var(--line-dark); } .hero-stat:first-child { border-inline-start: 0; padding-inline-start: 0; } }
.hero-stat b { display: block; font-size: clamp(26px, 3vw, 36px); font-weight: 800; letter-spacing: -0.03em; }
.hero-stat b i { font-style: normal; color: var(--orange); }
.hero-stat span { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--steel-light); }

.hero-controls {
  position: absolute; z-index: 5; inset-inline-end: 24px; bottom: 24px;
  display: none; align-items: center; gap: 14px;
}
@media (min-width: 1024px) { .hero-controls { display: flex; } }
.hero-dots { display: flex; gap: 6px; }
.hero-dots button { width: 26px; height: 3px; background: rgba(255, 255, 255, 0.35); transition: background 0.25s; }
.hero-dots button[aria-current="true"] { background: var(--orange); }
.hero-arrows { display: flex; gap: 1px; }
.hero-arrow { width: 44px; height: 44px; border: 1px solid var(--line-dark); color: #fff; display: grid; place-items: center; background: rgba(8, 23, 38, 0.3); }
.hero-arrow:hover { background: var(--orange); border-color: var(--orange); }
.hero-arrow svg { width: 18px; height: 18px; }
.hero-counter {
  font-family: "SFMono-Regular", Consolas, monospace; font-size: 11px; letter-spacing: 0.12em; color: var(--steel-light);
}

/* ---------- advantages band ---------- */
.advantages { background: #fff; border-bottom: 1px solid var(--line); }
.adv-grid { display: grid; grid-template-columns: 1fr; }
@media (min-width: 768px) { .adv-grid { grid-template-columns: repeat(3, 1fr); } }
.adv-item {
  padding: 30px 0; display: flex; gap: 18px; align-items: flex-start;
  border-bottom: 1px solid var(--line);
}
@media (min-width: 768px) {
  .adv-item { padding: 38px 34px; border-bottom: 0; border-inline-start: 1px solid var(--line); }
  .adv-item:first-child { border-inline-start: 0; padding-inline-start: 0; }
  .adv-item:last-child { padding-inline-end: 0; }
}
.adv-icon { width: 46px; height: 46px; flex: none; color: var(--orange); display: grid; place-items: center; border: 1px solid var(--line); }
.adv-icon svg { width: 24px; height: 24px; }
.adv-item h3 { font-size: 15px; letter-spacing: 0.02em; color: var(--navy); }
.adv-item p { margin-top: 7px; font-size: 13.5px; color: var(--steel); line-height: 1.65; }

/* ---------- section shell ---------- */
.section { padding-block: clamp(56px, 8vw, 100px); }
.section--paper { background: var(--paper); }
.section--navy { background: var(--navy); color: #fff; }
.section--ink { background: #061421; color: #fff; }
.section-head { max-width: 760px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head h2 { margin-top: 16px; font-size: clamp(28px, 3.8vw, 44px); color: var(--navy); text-wrap: balance; }
.section-head p { margin-top: 16px; color: var(--steel); font-size: 16px; line-height: 1.7; }
.section--navy .section-head h2 { color: #fff; }
.section--navy .section-head p { color: var(--steel-light); }
.section-top { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 40px; }
.section-link {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--navy);
  padding-block: 8px; border-bottom: 1px solid var(--navy);
}
.section-link:hover { color: var(--orange); border-color: var(--orange); }
.section-link svg { width: 15px; height: 15px; }
.section--navy .section-link { color: #fff; border-color: rgba(255, 255, 255, 0.4); }

/* ---------- category cards ---------- */
.cat-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 640px) { .cat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .cat-grid { grid-template-columns: repeat(4, 1fr); } }
.cat-card {
  position: relative; display: block; overflow: hidden; background: var(--navy);
  aspect-ratio: 4 / 3.4; border-radius: var(--radius);
}
.cat-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.cat-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8, 23, 38, 0) 30%, rgba(8, 23, 38, 0.9) 100%);
}
.cat-card:hover img { transform: scale(1.06); }
.cat-body { position: absolute; z-index: 2; inset-inline: 0; bottom: 0; padding: 20px; color: #fff; }
.cat-body small { font-family: Consolas, monospace; font-size: 10px; letter-spacing: 0.16em; color: var(--orange); }
.cat-body h3 { font-size: 17px; margin-top: 4px; }
.cat-body p { font-size: 12px; color: #b9c7d5; margin-top: 4px; }
.cat-arrow {
  position: absolute; z-index: 3; inset-inline-end: 16px; top: 16px;
  width: 34px; height: 34px; border: 1px solid rgba(255, 255, 255, 0.35);
  display: grid; place-items: center; color: #fff; background: rgba(8, 23, 38, 0.25);
  transition: background 0.25s, border-color 0.25s;
}
.cat-card:hover .cat-arrow { background: var(--orange); border-color: var(--orange); }
.cat-arrow svg { width: 14px; height: 14px; }

/* ---------- why choose ---------- */
.why-grid { display: grid; grid-template-columns: 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (min-width: 640px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .why-grid { grid-template-columns: repeat(3, 1fr); } }
.why-item { background: #fff; padding: 30px 26px; position: relative; }
.why-item::before {
  content: ""; position: absolute; inset-inline-start: 0; top: 30px;
  width: 3px; height: 26px; background: var(--orange); opacity: 0; transition: opacity 0.25s;
}
.why-item:hover::before { opacity: 1; }
.why-num { font-family: Consolas, monospace; font-size: 11px; letter-spacing: 0.14em; color: var(--steel); }
.why-item h3 { margin-top: 12px; font-size: 17px; color: var(--navy); }
.why-item p { margin-top: 9px; font-size: 13.5px; color: var(--steel); line-height: 1.7; }

/* ---------- testimonials ---------- */
.test-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 768px) { .test-grid { grid-template-columns: repeat(3, 1fr); gap: 32px; } }
.test-card { border-top: 2px solid var(--orange); padding-top: 24px; position: relative; }
.test-quote-icon { width: 30px; height: 30px; color: rgba(255, 255, 255, 0.22); margin-bottom: 14px; }
.test-card blockquote { margin: 0; font-size: 16px; line-height: 1.75; color: #e6edf4; }
.test-author { margin-top: 24px; display: flex; align-items: center; gap: 12px; }
.test-avatar {
  width: 42px; height: 42px; border-radius: 50%; background: var(--navy-3);
  display: grid; place-items: center; font-size: 13px; font-weight: 700; color: var(--orange);
  border: 1px solid rgba(255, 255, 255, 0.18); flex: none;
}
.test-author strong { display: block; font-size: 13px; color: #fff; }
.test-author span { font-size: 11px; color: var(--steel-light); }
.test-country { font-family: Consolas, monospace; font-size: 10px; letter-spacing: 0.1em; color: var(--orange); margin-inline-start: auto; }

/* ---------- quote / inquiry ---------- */
.quote-wrap { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: start; }
@media (min-width: 1024px) { .quote-wrap { grid-template-columns: 0.9fr 1.1fr; gap: 64px; } }
.quote-aside { color: #fff; }
.quote-aside h2 { margin-top: 16px; font-size: clamp(30px, 4vw, 46px); max-width: 16ch; text-wrap: balance; }
.quote-aside p { margin-top: 18px; color: #c0cedb; max-width: 44ch; }
.quote-points { margin-top: 28px; display: grid; gap: 14px; }
.quote-point { display: flex; gap: 12px; align-items: flex-start; font-size: 13.5px; color: #d6e0e9; }
.quote-point svg { width: 18px; height: 18px; color: var(--orange); flex: none; margin-top: 2px; }
.quote-contact { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line-dark); display: grid; gap: 10px; }
.quote-contact a { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; color: #fff; }
.quote-contact svg { width: 16px; height: 16px; color: var(--orange); }
.quote-form-card { background: #fff; padding: clamp(22px, 3.4vw, 40px); border-radius: var(--radius); box-shadow: 0 24px 60px rgba(4, 12, 22, 0.28); }
.quote-form-card h3 { font-size: 20px; color: var(--navy); }
.quote-form-card > p { margin-top: 6px; font-size: 13px; color: var(--steel); }

.form-grid { display: grid; grid-template-columns: 1fr; gap: 14px; margin-top: 22px; }
@media (min-width: 560px) { .form-grid { grid-template-columns: repeat(2, 1fr); } }
.form-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.form-field--full { grid-column: 1 / -1; }
.form-field label { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--navy); }
.form-field label .req { color: var(--orange); }
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%; min-height: 46px; padding: 10px 13px;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: #fbfcfd; font-size: 15px; color: var(--ink);
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.form-field textarea { min-height: 110px; resize: vertical; line-height: 1.6; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none; border-color: var(--orange); background: #fff;
  box-shadow: 0 0 0 3px rgba(235, 106, 42, 0.12);
}
.form-field input::placeholder, .form-field textarea::placeholder { color: #97a7b6; }
.form-note { margin-top: 12px; font-size: 12px; color: var(--steel); display: flex; gap: 8px; align-items: flex-start; line-height: 1.55; }
.form-note svg { width: 14px; height: 14px; flex: none; margin-top: 2px; color: var(--orange); }
.form-status { margin-top: 12px; font-size: 13px; display: none; padding: 10px 12px; border-radius: var(--radius); }
.form-status.is-ok { display: block; background: #eef8f1; color: #1c6b3a; border: 1px solid #cbe8d4; }
.form-status.is-error { display: block; background: #fdf0ec; color: #a63b16; border: 1px solid #f6d2c4; }
.form-consent { margin-top: 12px; display: flex; gap: 9px; align-items: flex-start; font-size: 12px; color: var(--steel); }
.form-consent input { width: 16px; height: 16px; min-height: 0; margin-top: 2px; flex: none; }
.form-consent a { color: var(--navy); text-decoration: underline; }

/* ---------- page hero ---------- */
.page-hero {
  position: relative; background: var(--navy); color: #fff; overflow: hidden;
  padding-block: clamp(52px, 7vw, 88px);
}
.page-hero-bg { position: absolute; inset: 0; opacity: 0.28; }
.page-hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(8, 23, 38, 0.96) 10%, rgba(8, 23, 38, 0.55) 100%);
}
.page-hero .container { position: relative; z-index: 2; }
.breadcrumb { font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--steel-light); display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.breadcrumb a:hover { color: var(--orange); }
.breadcrumb span { color: rgba(255, 255, 255, 0.32); }
.page-hero h1 { margin-top: 18px; font-size: clamp(32px, 4.6vw, 54px); max-width: 20ch; text-wrap: balance; }
.page-hero p { margin-top: 14px; max-width: 60ch; color: #c1cedb; font-size: 15.5px; }

/* ---------- products toolbar ---------- */
.products-toolbar { display: grid; gap: 16px; padding-block: 26px; border-bottom: 1px solid var(--line); }
@media (min-width: 1024px) {
  .products-toolbar { grid-template-columns: 1fr auto; align-items: center; gap: 24px; }
}
.filter-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: 9px 14px; border: 1px solid var(--line); background: #fff;
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--steel);
  border-radius: var(--radius); transition: all 0.2s;
}
.chip:hover { border-color: var(--navy); color: var(--navy); }
.chip.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }
.toolbar-right { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.search-box { position: relative; flex: 1 1 220px; min-width: 0; }
.search-box svg { position: absolute; inset-inline-start: 12px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; color: var(--steel); pointer-events: none; }
.search-box input {
  width: 100%; height: 44px; padding-inline: 38px 12px;
  border: 1px solid var(--line); background: #fff; border-radius: var(--radius); font-size: 14px;
}
.search-box input:focus { outline: none; border-color: var(--orange); }
.sort-select {
  height: 44px; padding-inline: 12px; border: 1px solid var(--line); background: #fff;
  border-radius: var(--radius); font-size: 13px; color: var(--navy);
}
.result-line { margin-top: 18px; font-family: Consolas, monospace; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--steel); }
.result-line b { color: var(--orange); }

/* ---------- product grid ---------- */
.product-grid { display: grid; grid-template-columns: 1fr; gap: 20px; margin-top: 24px; }
@media (min-width: 600px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .product-grid { grid-template-columns: repeat(3, 1fr); } }
.product-card {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s var(--ease);
}
.product-card:hover { border-color: rgba(235, 106, 42, 0.55); box-shadow: var(--shadow-md); transform: translateY(-4px); }
.product-media { position: relative; aspect-ratio: 4 / 3.1; overflow: hidden; background: var(--paper); }
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.product-card:hover .product-media img { transform: scale(1.04); }
.product-badge {
  position: absolute; inset-inline-start: 12px; top: 12px;
  background: var(--orange); color: #fff; padding: 4px 9px;
  font-size: 9.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
}
.product-sku {
  position: absolute; inset-inline-end: 12px; bottom: 12px;
  font-family: Consolas, monospace; font-size: 10px; letter-spacing: 0.08em;
  color: #fff; background: rgba(8, 23, 38, 0.72); padding: 3px 8px;
}
.product-body { padding: 18px; display: flex; flex-direction: column; flex: 1; }
.product-cat { font-family: Consolas, monospace; font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--orange); }
.product-body h3 { margin-top: 6px; font-size: 17px; color: var(--navy); line-height: 1.3; }
.product-desc { margin-top: 8px; font-size: 12.5px; color: var(--steel); line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-specs { margin-top: 14px; border-top: 1px solid var(--line); padding-top: 12px; display: grid; gap: 6px; }
.spec-row { display: flex; justify-content: space-between; gap: 12px; font-size: 11.5px; }
.spec-row dt { color: var(--steel); flex: none; }
.spec-row dd { margin: 0; color: var(--navy); font-weight: 600; text-align: end; min-width: 0; }
.product-foot { margin-top: 16px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.product-moq { font-size: 10.5px; color: var(--steel); line-height: 1.4; }
.product-moq b { display: block; color: var(--navy); font-size: 12.5px; }
.btn-inquire {
  border: 1px solid var(--navy); color: var(--navy); min-height: 38px; padding: 0 14px;
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 6px; transition: all 0.2s; border-radius: var(--radius);
  flex: none;
}
.btn-inquire:hover { background: var(--orange); border-color: var(--orange); color: #fff; }
.btn-inquire svg { width: 13px; height: 13px; }
.product-empty { grid-column: 1 / -1; padding: 60px 20px; text-align: center; border: 1px dashed var(--line); color: var(--steel); }
.product-empty strong { display: block; color: var(--navy); margin-bottom: 6px; font-size: 18px; }

/* ---------- OEM band ---------- */
.oem-band { background: var(--navy); color: #fff; }
.oem-grid { display: grid; grid-template-columns: 1fr; gap: 36px; align-items: center; }
@media (min-width: 1024px) { .oem-grid { grid-template-columns: 1fr 1fr; gap: 64px; } }
.oem-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.oem-copy h2 { margin-top: 16px; font-size: clamp(28px, 3.6vw, 42px); text-wrap: balance; }
.oem-copy p { margin-top: 16px; color: #c3d0dd; font-size: 15px; max-width: 48ch; }
.oem-list { margin-top: 24px; display: grid; gap: 12px; }
.oem-list li { display: flex; gap: 10px; font-size: 13.5px; color: #dbe5ee; align-items: flex-start; }
.oem-list svg { width: 17px; height: 17px; color: var(--orange); flex: none; margin-top: 2px; }

/* ---------- about ---------- */
.story-grid { display: grid; grid-template-columns: 1fr; gap: 36px; align-items: center; }
@media (min-width: 1024px) { .story-grid { grid-template-columns: 1.05fr 0.95fr; gap: 64px; } }
.story-copy h2 { font-size: clamp(28px, 3.8vw, 42px); color: var(--navy); }
.story-copy p { margin-top: 16px; color: var(--steel); font-size: 15px; line-height: 1.8; }
.story-metrics { margin-top: 28px; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.story-metric { padding-top: 16px; }
.story-metric b { display: block; font-size: 24px; color: var(--navy); letter-spacing: -0.02em; }
.story-metric span { font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--steel); }
.story-media { position: relative; }
.story-media img { width: 100%; aspect-ratio: 4 / 3.2; object-fit: cover; }
.story-media-tag {
  position: absolute; inset-inline-start: 0; bottom: 0; background: var(--orange); color: #fff;
  padding: 14px 20px; font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
}

/* timeline */
.timeline { position: relative; margin-top: 44px; display: grid; gap: 0; }
.timeline::before {
  content: ""; position: absolute; top: 0; bottom: 0; inset-inline-start: 11px; width: 1px; background: var(--line);
}
@media (min-width: 900px) {
  .timeline { grid-template-columns: repeat(5, 1fr); }
  .timeline::before {
    top: 47px; bottom: auto; inset-inline: 0; width: auto; height: 1px;
  }
}
.tl-item { position: relative; padding: 0 0 28px 34px; }
@media (min-width: 900px) {
  .tl-item { padding: 76px 20px 0 0; }
  .tl-item:last-child { padding-inline-end: 0; }
}
.tl-dot {
  position: absolute; top: 0; inset-inline-start: 0;
  width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 1px solid var(--line);
  display: grid; place-items: center;
}
@media (min-width: 900px) { .tl-dot { top: 36px; } }
.tl-dot::after { content: ""; width: 8px; height: 8px; background: var(--orange); border-radius: 50%; }
.tl-year { font-family: Consolas, monospace; font-size: 12px; letter-spacing: 0.1em; color: var(--orange); }
@media (max-width: 899px) { .tl-year { margin-bottom: 4px; display: block; } }
.tl-item h3 { font-size: 16px; color: var(--navy); margin-top: 4px; }
.tl-item p { font-size: 12.5px; color: var(--steel); margin-top: 6px; line-height: 1.65; }

/* factory gallery */
.gallery-grid { display: grid; grid-template-columns: 1fr; gap: 12px; margin-top: 40px; }
@media (min-width: 768px) { .gallery-grid { grid-template-columns: 1.4fr 1fr; grid-template-rows: repeat(2, 1fr); } }
.gallery-item { position: relative; overflow: hidden; background: var(--navy); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item:first-child { grid-row: span 2; aspect-ratio: 4 / 3; }
@media (min-width: 768px) { .gallery-item:first-child { aspect-ratio: auto; } .gallery-item:not(:first-child) { aspect-ratio: 16 / 9; } }
.gallery-cap {
  position: absolute; inset-inline: 0; bottom: 0; padding: 14px 16px;
  background: linear-gradient(0deg, rgba(8, 23, 38, 0.85), transparent);
  font-size: 11px; letter-spacing: 0.06em; color: #fff;
}

/* QC */
.qc-grid { display: grid; grid-template-columns: 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 40px; }
@media (min-width: 900px) { .qc-grid { grid-template-columns: repeat(4, 1fr); } }
.qc-step { background: #fff; padding: 26px 22px; }
.qc-step b {
  font-family: Consolas, monospace; font-size: 26px; color: var(--orange); font-weight: 700; letter-spacing: -0.02em;
}
.qc-step h3 { margin-top: 10px; font-size: 15px; color: var(--navy); }
.qc-step p { margin-top: 8px; font-size: 12.5px; color: var(--steel); line-height: 1.65; }

/* certifications */
.cert-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 36px; }
@media (min-width: 768px) { .cert-grid { grid-template-columns: repeat(4, 1fr); } }
.cert-card { border: 1px solid var(--line); background: #fff; padding: 22px; display: flex; gap: 12px; align-items: center; }
.cert-card svg { width: 34px; height: 34px; color: var(--navy); flex: none; }
.cert-card b { display: block; font-size: 14px; color: var(--navy); }
.cert-card span { font-size: 10.5px; color: var(--steel); letter-spacing: 0.04em; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: start; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 1.15fr 0.85fr; gap: 64px; } }
.contact-form-wrap { background: #fff; border: 1px solid var(--line); padding: clamp(22px, 3vw, 40px); }
.contact-form-wrap h2 { font-size: clamp(24px, 3vw, 32px); color: var(--navy); }
.contact-form-wrap > p { margin-top: 8px; color: var(--steel); font-size: 14px; }
.info-card { background: var(--paper); border: 1px solid var(--line); padding: 26px; }
.info-card h3 { font-size: 15px; color: var(--navy); letter-spacing: 0.02em; }
.info-list { margin-top: 16px; display: grid; gap: 14px; }
.info-item { display: flex; gap: 12px; align-items: flex-start; }
.info-item svg { width: 17px; height: 17px; color: var(--orange); flex: none; margin-top: 3px; }
.info-item div { min-width: 0; }
.info-item span { display: block; font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--steel); }
.info-item a, .info-item p { font-size: 13.5px; color: var(--navy); line-height: 1.55; word-break: break-word; }
.info-item a:hover { color: var(--orange); }
.reply-card { margin-top: 16px; background: var(--navy); color: #fff; padding: 24px; }
.reply-card .reply-num { font-size: 40px; font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.reply-card .reply-num i { font-style: normal; color: var(--orange); font-size: 18px; margin-inline-start: 4px; }
.reply-card p { font-size: 12.5px; color: #bccbd9; margin-top: 8px; line-height: 1.6; }
.chat-card { margin-top: 16px; border: 1px solid var(--line); background: #fff; padding: 22px; }
.chat-card h3 { font-size: 14px; color: var(--navy); }
.chat-card p { font-size: 12.5px; color: var(--steel); margin-top: 6px; }
.chat-card .chat-row { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.chat-card .btn { min-height: 42px; padding-inline: 16px; font-size: 11px; }

.map-block { margin-top: 32px; border: 1px solid var(--line); background: var(--paper); }
.map-block iframe { width: 100%; height: 360px; border: 0; display: block; }
@media (min-width: 768px) { .map-block iframe { height: 420px; } }
.map-caption { display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; padding: 14px 18px; font-size: 12px; color: var(--steel); border-top: 1px solid var(--line); }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: #fff; padding-top: clamp(48px, 6vw, 72px); }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 32px; padding-bottom: 44px; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.15fr; gap: 44px; } }
.footer-brand .logo-text strong { color: #fff; }
.footer-brand .logo-text span { color: var(--steel-light); }
.footer-brand p { margin-top: 18px; font-size: 13px; color: #9fb0c0; line-height: 1.75; max-width: 34ch; }
.footer-certs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.footer-certs span { border: 1px solid rgba(255, 255, 255, 0.16); padding: 5px 9px; font-size: 9.5px; letter-spacing: 0.1em; color: #c0ccd8; }
.footer-col h4 { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--orange); margin-bottom: 16px; }
.footer-col ul { display: grid; gap: 10px; }
.footer-col a { font-size: 13px; color: #b9c7d5; }
.footer-col a:hover { color: #fff; }
.footer-contact li { font-size: 13px; color: #b9c7d5; display: flex; gap: 9px; align-items: flex-start; line-height: 1.55; }
.footer-contact svg { width: 14px; height: 14px; color: var(--orange); flex: none; margin-top: 3px; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-block: 18px; display: flex; flex-wrap: wrap; gap: 10px 20px; justify-content: space-between; align-items: center;
}
.footer-bottom p { font-size: 11.5px; color: #7f93a6; }
.footer-legal-name { display: inline-block; margin-inline-start: 10px; color: #9fb0c0; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; opacity: 0; pointer-events: none; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.footer-legal a { font-size: 11.5px; color: #9fb0c0; }
.footer-legal a:hover { color: #fff; }
.footer-admin { opacity: 0.6; }

/* ---------- floating / cookie / modal / chat ---------- */
.whatsapp-float {
  position: fixed; z-index: 90; inset-inline-end: 18px; bottom: 20px;
  width: 54px; height: 54px; border-radius: 50%; background: var(--green); color: #fff;
  display: grid; place-items: center; box-shadow: 0 10px 26px rgba(0, 0, 0, 0.22);
  transition: transform 0.2s;
}
.whatsapp-float:hover { transform: scale(1.06); }
.whatsapp-float svg { width: 26px; height: 26px; }

.cookie-banner {
  position: fixed; z-index: 150; inset-inline: 16px; bottom: 16px;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-md);
  padding: 20px; max-width: 460px; margin-inline: auto;
  display: none;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner h3 { font-size: 14px; color: var(--navy); }
.cookie-banner p { margin-top: 6px; font-size: 12px; color: var(--steel); line-height: 1.6; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.cookie-actions .btn { min-height: 38px; padding-inline: 14px; font-size: 10.5px; }
.cookie-actions a { font-size: 11.5px; color: var(--steel); text-decoration: underline; align-self: center; }

.modal {
  position: fixed; inset: 0; z-index: 300; display: none;
  align-items: center; justify-content: center; padding: 16px;
  background: rgba(4, 12, 22, 0.62);
}
.modal.is-open { display: flex; }
.modal-panel {
  background: #fff; width: min(620px, 100%); max-height: 92vh; overflow: auto;
  border-radius: var(--radius); position: relative;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}
.modal-head { padding: 20px 24px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.modal-head h2 { font-size: 19px; color: var(--navy); }
.modal-head p { font-size: 12px; color: var(--steel); margin-top: 3px; }
.modal-close { width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid var(--line); flex: none; }
.modal-close svg { width: 14px; height: 14px; }
.modal-body { padding: 22px 24px 28px; }
.product-mini { display: flex; gap: 14px; align-items: center; padding: 12px; background: var(--paper); margin-bottom: 4px; }
.product-mini img { width: 68px; height: 54px; object-fit: cover; flex: none; }
.product-mini strong { display: block; font-size: 13.5px; color: var(--navy); }
.product-mini span { font-size: 11px; color: var(--steel); }

.chat-widget { position: fixed; z-index: 160; inset-inline-end: 16px; bottom: 88px; width: min(340px, calc(100vw - 32px)); display: none; }
.chat-widget.is-open { display: block; }
.chat-panel { background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-md); }
.chat-head { background: var(--navy); color: #fff; padding: 14px 16px; display: flex; justify-content: space-between; align-items: center; }
.chat-head strong { font-size: 13px; }
.chat-head span { display: block; font-size: 10.5px; color: #a9bacb; }
.chat-head button { color: #fff; }
.chat-body { padding: 14px 16px; max-height: 320px; overflow: auto; }
.chat-msg { background: var(--paper); padding: 10px 12px; font-size: 12.5px; color: var(--navy); line-height: 1.6; max-width: 90%; }
.chat-form { padding: 0 16px 16px; display: grid; gap: 8px; }
.chat-form input, .chat-form textarea { border: 1px solid var(--line); padding: 8px 10px; font-size: 14px; min-height: 40px; width: 100%; }
.chat-form textarea { min-height: 66px; resize: none; }
.chat-form .btn { min-height: 40px; font-size: 10.5px; }
.chat-consent { display: flex; gap: 7px; align-items: flex-start; font-size: 10.5px; line-height: 1.45; color: var(--steel); }
.chat-consent input { width: 14px; height: 14px; margin-top: 2px; flex: none; }
.chat-form .form-status { margin-top: 0; font-size: 11px; }

.toast {
  position: fixed; z-index: 400; inset-inline: 16px; bottom: 24px;
  background: var(--navy); color: #fff; padding: 13px 18px; font-size: 13px;
  display: none; align-items: center; gap: 10px; justify-content: center;
  width: fit-content; margin-inline: auto; box-shadow: var(--shadow-md); max-width: calc(100% - 32px);
}
.toast.is-visible { display: flex; }
.toast svg { width: 16px; height: 16px; color: var(--orange); flex: none; }

/* ---------- legal page ---------- */
.legal-body { max-width: 820px; margin-inline: auto; }
.legal-body h2 { font-size: 22px; color: var(--navy); margin-top: 36px; }
.legal-body h3 { font-size: 16px; color: var(--navy); margin-top: 24px; }
.legal-body p, .legal-body li { font-size: 14px; color: #3c4d5e; line-height: 1.85; margin-top: 12px; }
.legal-body ul { padding-inline-start: 20px; list-style: disc; }
.legal-body a { color: var(--orange-dark); text-decoration: underline; }
.legal-note { background: var(--paper); border-inline-start: 3px solid var(--orange); padding: 14px 16px; margin-top: 24px; font-size: 12.5px; color: var(--steel); }
.legal-meta { margin-top: 14px; font-family: Consolas, monospace; font-size: 11px; letter-spacing: 0.08em; color: var(--steel); }

/* ---------- helpers ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

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

/* rtl fixes */
html[dir="rtl"] .btn svg,
html[dir="rtl"] .arrow-icon { transform: scaleX(-1); }
html[dir="rtl"] .product-specs .spec-row dd { text-align: start; }
html[dir="rtl"] .section-link svg { transform: scaleX(-1); }
html[dir="rtl"] .hero h1 { letter-spacing: 0; }
html[dir="rtl"] body { letter-spacing: 0; }

/* ===== Chinese typography ===== */
html[lang="zh"] body {
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Segoe UI", system-ui, sans-serif;
}
html[lang="zh"] h1, html[lang="zh"] h2, html[lang="zh"] h3 { letter-spacing: 0; }

/* ===== Legal page ===== */
.page-hero--plain { min-height: 300px; }
.legal-page { max-width: 820px; margin-inline: auto; }
.legal-page h2 { font-size: 22px; color: var(--navy); margin-top: 36px; }
.legal-page p { font-size: 14.5px; color: #3c4d5e; line-height: 1.85; margin-top: 12px; }
.legal-page a { color: var(--orange-dark); text-decoration: underline; }
.legal-intro { font-size: 15px !important; color: var(--navy) !important; border-inline-start: 3px solid var(--orange); padding-inline-start: 16px; }
.legal-updated { margin-top: 20px !important; font-size: 11.5px !important; letter-spacing: 0.08em; color: #9db0c4 !important; text-transform: uppercase; }

/* ===== Small screens: keep four language buttons on one line ===== */
@media (max-width: 900px) {
  .lang-switch { gap: 2px; }
  .lang-switch button { padding-inline: 5px; font-size: 9.5px; }
  .mobile-lang button { padding-inline: 8px; }
}
