/* ============================================================
   AIENDI (TIANJIN) INTL CO., LTD  —  ANDiesel Official Site
   Design system: modern industrial B2B export look
   Colors: navy #0B2545 / brand red #C8102E / steel #A6B0C3
   ============================================================ */

:root {
  --navy-950: #060b18;
  --navy-900: #0b2545;
  --navy-850: #0e2c52;
  --navy-800: #12355b;
  --navy-700: #1b4a7a;
  --navy-600: #2563a0;
  --red-700: #a50d24;
  --red-600: #c8102e;
  --red-500: #e11d3e;
  --steel-300: #cbd5e1;
  --steel-400: #a6b0c3;
  --steel-500: #7c8aa0;
  --ink: #101828;
  --ink-soft: #475467;
  --bg: #f3f5f9;
  --panel: #ffffff;
  --line: #e3e7ef;
  --line-dark: rgba(255, 255, 255, 0.09);
  --grad-brand: linear-gradient(120deg, #0b2545 0%, #12355b 55%, #1b4a7a 100%);
  --grad-red: linear-gradient(120deg, #c8102e, #e11d3e);
  --shadow-sm: 0 1px 2px rgba(16, 24, 40, 0.06);
  --shadow-md: 0 10px 30px -12px rgba(11, 37, 69, 0.25);
  --shadow-lg: 0 30px 60px -20px rgba(11, 37, 69, 0.35);
  --radius: 16px;
  --radius-sm: 10px;
  --font-head: "Oswald", "Arial Narrow", "Segoe UI", sans-serif;
  --font-body: "Manrope", "Segoe UI", system-ui, -apple-system, "Noto Sans SC", sans-serif;
  --container: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; font-size: 0.95rem; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* ---------- Typography helpers ---------- */
.h-head { font-family: var(--font-head); text-transform: uppercase; letter-spacing: 0.02em; line-height: 1.12; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-size: 0.8rem; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--red-600); font-weight: 600;
}
.eyebrow::before { content: ""; width: 34px; height: 2px; background: var(--red-600); display: inline-block; }
.eyebrow.center::after { content: ""; width: 34px; height: 2px; background: var(--red-600); display: inline-block; }
.eyebrow.center { justify-content: center; }
.section { padding: 96px 0; }
.section-head { max-width: 760px; margin: 0 auto 56px; text-align: center; }
.section-head h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); margin: 14px 0 14px; color: var(--navy-900); }
.section-head p { color: var(--ink-soft); font-size: 1.05rem; }

/* light band / dark band */
.band-dark { background: var(--grad-brand); color: #fff; position: relative; overflow: hidden; }
.band-dark .split-visual .frame { box-shadow: 0 24px 55px -18px rgba(4, 10, 24, 0.6), inset 0 0 0 1px rgba(255, 255, 255, 0.12); }
.band-dark::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 22px 22px; pointer-events: none;
}
.band-light { background: var(--bg); }
.band-white { background: var(--panel); }
.band-steel { background: linear-gradient(180deg, #0b2545, #0e2c52); }

.section-head.inverse h2, .section-head.inverse .subtitle { color: #fff; }
.section-head.inverse .subtitle { color: var(--steel-300); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-head); text-transform: uppercase; letter-spacing: 0.08em;
  font-size: 0.95rem; font-weight: 500; padding: 14px 28px; border-radius: 999px;
  transition: transform 0.25s var(--ease), box-shadow 0.25s, background 0.25s, color 0.25s;
  border: 1px solid transparent; white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-red { background: var(--grad-red); color: #fff; box-shadow: 0 10px 22px -10px rgba(200, 16, 46, 0.7); }
.btn-red:hover { transform: translateY(-2px); box-shadow: 0 16px 28px -10px rgba(200, 16, 46, 0.75); }
.btn-outline { border-color: rgba(255, 255, 255, 0.35); color: #fff; }
.btn-outline:hover { border-color: #fff; background: rgba(255, 255, 255, 0.08); transform: translateY(-2px); }
.btn-outline-dark { border-color: var(--navy-800); color: var(--navy-900); }
.btn-outline-dark:hover { background: var(--navy-900); color: #fff; transform: translateY(-2px); }
.btn-dark { background: var(--navy-900); color: #fff; }
.btn-dark:hover { background: var(--navy-700); transform: translateY(-2px); }

/* ---------- Top utility bar ---------- */
.topbar { background: var(--navy-950); color: var(--steel-300); font-size: 0.8rem; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 38px; flex-wrap: wrap; }
.topbar a { color: var(--steel-300); transition: color 0.2s; }
.topbar a:hover { color: #fff; }
.topbar .tb-left { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.topbar .tb-left span { display: inline-flex; align-items: center; gap: 6px; }
.topbar .tb-left svg { width: 13px; height: 13px; color: var(--red-500); }

/* Language switch */
.lang-switch { position: relative; }
.lang-switch > button {
  background: none; border: none; color: inherit; font-size: 0.8rem;
  display: inline-flex; align-items: center; gap: 5px; padding: 4px 6px; border-radius: 6px;
}
.lang-switch > button svg { width: 12px; height: 12px; }
.lang-menu {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 60;
  background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow-md);
  min-width: 150px; overflow: hidden; padding: 6px;
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: all 0.22s var(--ease);
}
.lang-switch.open .lang-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.lang-menu button {
  display: block; width: 100%; text-align: left; background: none; border: none;
  padding: 9px 12px; border-radius: 7px; font-size: 0.9rem; color: var(--ink);
}
.lang-menu button:hover, .lang-menu button.active { background: var(--navy-900); color: #fff; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; width: 100%; transition: box-shadow 0.3s, background 0.3s; }
.site-header.scrolled { box-shadow: 0 18px 40px -22px rgba(6, 11, 24, 0.55); }
.navbar { background: rgba(255, 255, 255, 0.94); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.nav-inner { display: flex; align-items: center; gap: 30px; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo { width: 46px; height: 46px; flex: 0 0 auto; }
.brand-logo-img { height: 48px; width: auto; flex: 0 0 auto; display: block; object-fit: contain; }
.brand-co-name { border-left: 1px solid var(--line); padding-left: 14px; font-size: 0.95rem; font-weight: 700; line-height: 1.3; letter-spacing: 0.02em; color: var(--navy-900); white-space: nowrap; }
@media (max-width: 900px) { .brand-co-name { display: none; } }
.d-brand .brand-logo-img { height: 40px; }
.footer-about .brand-logo-img { height: 52px; }
.brand-name { line-height: 1.05; }
.brand-name strong { font-family: var(--font-head); font-size: 1.32rem; letter-spacing: 0.03em; color: var(--navy-900); display: block; }
.brand-name strong em { font-style: normal; color: var(--red-600); }
.brand-name small { font-size: 0.62rem; letter-spacing: 0.32em; color: var(--steel-500); text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-links > a {
  position: relative; padding: 10px 14px; font-family: var(--font-head);
  text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.9rem; color: var(--navy-900);
  border-radius: 8px; transition: color 0.2s, background 0.2s;
}
.nav-links > a:hover { color: var(--red-600); }
.nav-links > a.active { color: var(--red-600); }
.nav-links > a.active::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px; background: var(--red-600);
}
.nav-cta { margin-left: 8px; }
.nav-burger { display: none; background: none; border: none; padding: 8px; margin-left: 6px; }
.nav-burger svg { width: 26px; height: 26px; stroke: var(--navy-900); }

/* mobile drawer */
.drawer-backdrop {
  position: fixed; inset: 0; background: rgba(6, 11, 24, 0.55); backdrop-filter: blur(3px);
  z-index: 90; opacity: 0; visibility: hidden; transition: all 0.3s;
}
.drawer-backdrop.open { opacity: 1; visibility: visible; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(320px, 84vw); z-index: 100;
  background: #fff; padding: 24px; transform: translateX(100%); transition: transform 0.35s var(--ease);
  display: flex; flex-direction: column; gap: 8px; overflow-y: auto;
}
.drawer.open { transform: translateX(0); }
.drawer .d-brand { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.drawer a.d-link {
  display: block; padding: 13px 8px; font-family: var(--font-head); font-size: 1rem;
  text-transform: uppercase; letter-spacing: 0.05em; color: var(--navy-900); border-bottom: 1px solid var(--line);
}
.drawer a.d-link.active, .drawer a.d-link:hover { color: var(--red-600); }
.drawer .btn { justify-content: center; margin-top: 14px; }
.icon-btn { background: none; border: none; color: var(--navy-900); padding: 8px; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 640px; display: flex; align-items: center; overflow: hidden; background: var(--navy-950); }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 55%; opacity: 0.55; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(6, 11, 24, 0.96) 12%, rgba(11, 37, 69, 0.82) 46%, rgba(11, 37, 69, 0.35) 100%);
}
.hero-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 60px 60px; mask-image: radial-gradient(ellipse at 30% 40%, black 30%, transparent 75%);
}
.hero-content { position: relative; z-index: 2; padding: 90px 0; max-width: 760px; }
.hero-content .eyebrow { color: #ffdfe4; }
.hero-content .eyebrow::before { background: var(--red-500); }
.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.6rem); color: #fff; margin: 20px 0 22px; text-transform: uppercase;
}
.hero h1 .mark { color: var(--red-500); }
.hero p.lead { color: var(--steel-300); font-size: clamp(1.02rem, 1.6vw, 1.22rem); max-width: 600px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 44px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.16);
  color: #dfe7f2; font-size: 0.85rem; letter-spacing: 0.04em; backdrop-filter: blur(6px);
}
.chip b { color: #fff; font-weight: 700; }
.chip .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--red-500); box-shadow: 0 0 0 4px rgba(225, 29, 62, 0.25); }

.scroll-hint { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 3; color: rgba(255,255,255,0.6); font-size: 0.75rem; letter-spacing: 0.3em; text-transform: uppercase; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.scroll-hint::after { content: ""; width: 1px; height: 34px; background: linear-gradient(#fff, transparent); animation: pulse-line 1.8s ease-in-out infinite; }
@keyframes pulse-line { 0%, 100% { opacity: 0.2; } 50% { opacity: 1; } }

/* stats strip */
.stats-strip { margin-top: -46px; position: relative; z-index: 5; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.stat {
  background: #fff; padding: 30px 22px; text-align: center; transition: background 0.25s;
}
.stat:hover { background: #fafbfd; }
.stat b { font-family: var(--font-head); font-size: 2.4rem; color: var(--navy-900); display: block; line-height: 1; }
.stat b i { font-style: normal; color: var(--red-600); }
.stat span { color: var(--ink-soft); font-size: 0.88rem; letter-spacing: 0.04em; text-transform: uppercase; }

/* ---------- Product category cards ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.cat-card {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: block; transition: transform 0.35s var(--ease), box-shadow 0.35s;
  padding-bottom: 20px;
}
.cat-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.cat-thumb { height: 170px; background: linear-gradient(150deg, #eef2f8, #e2e8f1); position: relative; overflow: hidden; }
.cat-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.cat-card:hover .cat-thumb img { transform: scale(1.07); }
.cat-thumb .tag {
  position: absolute; top: 12px; left: 12px; background: var(--red-600); color: #fff;
  font-size: 0.66rem; letter-spacing: 0.1em; padding: 5px 10px; border-radius: 999px; text-transform: uppercase;
}
.cat-body { padding: 16px 18px 6px; }
.cat-body h3 { font-size: 1.06rem; color: var(--navy-900); margin-bottom: 4px; }
.cat-body p { font-size: 0.82rem; color: var(--steel-500); line-height: 1.5; }
.cat-foot { display: flex; align-items: center; justify-content: space-between; padding: 12px 18px 0; font-size: 0.85rem; }
.cat-foot .more { color: var(--red-600); font-family: var(--font-head); text-transform: uppercase; letter-spacing: 0.08em; display: inline-flex; gap: 6px; align-items: center; }

/* ---------- Series / marquee ---------- */
.series-tape { background: var(--navy-900); color: #fff; padding: 20px 0; overflow: hidden; }
.series-inner { display: flex; gap: 14px; align-items: center; white-space: nowrap; animation: tape 36s linear infinite; width: max-content; }
.series-inner:hover { animation-play-state: paused; }
.series-inner span {
  font-family: var(--font-head); letter-spacing: 0.18em; font-size: 1.05rem; color: rgba(255,255,255,0.82);
  padding: 6px 18px; border: 1px solid rgba(255,255,255,0.14); border-radius: 999px;
}
.series-inner span i { font-style: normal; color: var(--red-500); margin-left: 10px; }
@keyframes tape { to { transform: translateX(-50%); } }

/* ---------- Feature split ---------- */
.split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 60px; align-items: center; }
.split-visual { position: relative; }
.split-visual .frame {
  border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-lg); position: relative;
  background: linear-gradient(150deg, var(--navy-800), var(--navy-900));
  display: flex; align-items: center; justify-content: center;
  min-height: 440px; padding: 18px 0;
}
.split-visual .frame img { width: 100%; height: auto; display: block; }
.split-visual .badge-card {
  position: absolute; bottom: -24px; right: -14px; background: #fff; border-radius: 14px; box-shadow: var(--shadow-md);
  padding: 18px 22px; display: flex; align-items: center; gap: 14px; max-width: 260px;
}
.split-visual .badge-card b { font-family: var(--font-head); font-size: 1.7rem; color: var(--red-600); line-height: 1; }
.split-visual .badge-card span { font-size: 0.85rem; color: var(--ink-soft); }
.feature-list { margin: 26px 0 6px; display: grid; gap: 14px; }
.feature-item { display: flex; gap: 14px; align-items: flex-start; }
.feature-item .ico {
  flex: 0 0 auto; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(200, 16, 46, 0.08); color: var(--red-600);
}
.feature-item .ico svg { width: 22px; height: 22px; }
.feature-item h4 { color: var(--navy-900); font-size: 1.02rem; margin-bottom: 2px; }
.feature-item p { color: var(--ink-soft); font-size: 0.92rem; }

/* ---------- Industry tiles ---------- */
.industry-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.industry-tile {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px;
  display: flex; gap: 18px; transition: transform 0.3s var(--ease), box-shadow 0.3s, border-color 0.3s;
}
.industry-tile:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: #cbd6e6; }
.industry-tile .tile-ico { flex: 0 0 auto; width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; background: var(--navy-900); color: #fff; }
.industry-tile .tile-ico svg { width: 26px; height: 26px; }
.industry-tile h4 { color: var(--navy-900); margin-bottom: 6px; }
.industry-tile p { color: var(--ink-soft); font-size: 0.88rem; }
.industry-tile .equip { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 6px; }
.industry-tile .equip span {
  font-size: 0.72rem; background: #eef2f8; color: var(--navy-700); border-radius: 999px; padding: 4px 10px;
}

/* ---------- Part showcase ---------- */
.part-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.part-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.part-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.part-card .ph { height: 120px; background: linear-gradient(160deg, #eef2f8, #e3e9f2); overflow: hidden; }
.part-card .ph img { width: 100%; height: 100%; object-fit: cover; }
.part-card .pb { padding: 12px 14px; text-align: center; }
.part-card .pb b { display: block; font-size: 0.92rem; color: var(--navy-900); }
.part-card .pb small { color: var(--steel-500); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; padding: 96px 0; background: var(--grad-red); overflow: hidden; color: #fff; text-align: center; }
.cta-band::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,0.14) 1px, transparent 1px); background-size: 20px 20px; }
.cta-band .container { position: relative; z-index: 2; }
.cta-band h2 { font-size: clamp(1.9rem, 3.5vw, 3rem); color: #fff; margin-bottom: 14px; }
.cta-band p { max-width: 640px; margin: 0 auto 30px; color: rgba(255,255,255,0.9); font-size: 1.06rem; }
.cta-actions { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.btn-white { background: #fff; color: var(--red-600); }
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 16px 28px -12px rgba(0,0,0,0.35); }
.btn-ghost-white { border: 1px solid rgba(255,255,255,0.6); color: #fff; }
.btn-ghost-white:hover { background: rgba(255,255,255,0.12); transform: translateY(-2px); }

/* ---------- Breadcrumb / page hero ---------- */
.page-hero { background: var(--grad-brand); position: relative; overflow: hidden; color: #fff; padding: 84px 0 96px; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 85% 20%, rgba(225, 29, 62, 0.35), transparent 45%); }
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); color: #fff; margin-top: 12px; }
.page-hero p { color: var(--steel-300); max-width: 660px; margin-top: 14px; font-size: 1.05rem; }
.crumb { display: flex; gap: 10px; align-items: center; font-size: 0.85rem; color: var(--steel-400); text-transform: uppercase; letter-spacing: 0.12em; }
.crumb a:hover { color: #fff; }
.crumb svg { width: 12px; height: 12px; }
.crumb .here { color: var(--red-500); }

/* ---------- About page blocks ---------- */
.apps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.about-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.value-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; text-align: center; transition: transform 0.3s var(--ease), box-shadow 0.3s; }
.value-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.value-card .vc { width: 62px; height: 62px; margin: 0 auto 16px; border-radius: 18px; background: linear-gradient(140deg, var(--navy-900), var(--navy-700)); color: #fff; display: grid; place-items: center; }
.value-card .vc svg { width: 30px; height: 30px; }
.value-card h4 { color: var(--navy-900); margin-bottom: 8px; }
.value-card p { color: var(--ink-soft); font-size: 0.88rem; }

.timeline { position: relative; margin-top: 10px; }
.timeline::before { content: ""; position: absolute; left: 18px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(#c8102e, #12355b); }
.tl-item { position: relative; padding: 0 0 26px 60px; }
.tl-item::before {
  content: ""; position: absolute; left: 11px; top: 4px; width: 16px; height: 16px; border-radius: 50%;
  background: #fff; border: 4px solid var(--red-600); box-shadow: 0 0 0 4px rgba(200,16,46,0.15);
}
.tl-item h4 { color: var(--navy-900); font-size: 1.05rem; }
.tl-item .when { color: var(--red-600); font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; font-family: var(--font-head); }
.tl-item p { color: var(--ink-soft); font-size: 0.93rem; margin-top: 4px; }

/* ---------- Products page ---------- */
.pf-layout { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 30px; align-items: start; min-width: 0; }
.pf-side { position: sticky; top: 130px; align-self: start; display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; background: transparent; z-index: 1; min-width: 0; }
.pf-side > * { min-width: 0; }
.pf-main { min-width: 0; }
.pf-panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.pf-panel h3 { font-size: 0.95rem; color: var(--navy-900); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 14px; font-family: var(--font-head); }
.pf-list a {
  display: block; padding: 10px 12px; border-radius: 8px; color: var(--ink-soft); font-size: 0.92rem;
  border-left: 3px solid transparent; margin-bottom: 2px; transition: all 0.18s;
}
.pf-list a:hover { background: #f2f5fa; color: var(--navy-900); }
.pf-list a.active { background: rgba(200, 16, 46, 0.06); color: var(--red-600); border-left-color: var(--red-600); font-weight: 600; }

.finder { display: flex; gap: 10px; }
.finder input { flex: 1; min-width: 0; padding: 13px 16px; border: 1px solid var(--line); border-radius: 999px; background: #fff; outline: none; transition: border 0.2s, box-shadow 0.2s; }
.finder input:focus { border-color: var(--navy-600); box-shadow: 0 0 0 4px rgba(37, 99, 160, 0.12); }
.finder button { flex: 0 0 auto; }
.parts-result { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.part-tile { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; transition: transform 0.28s var(--ease), box-shadow 0.28s; display: flex; flex-direction: column; }
.part-tile:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.part-tile .thumb { height: 170px; overflow: hidden; background: linear-gradient(160deg, #eef2f8, #e3e9f2) url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHZpZXdCb3g9JzAgMCAxMDAgMTAwJz48cmVjdCB3aWR0aD0nMTAwJyBoZWlnaHQ9JzEwMCcgZmlsbD0nJTIzZTNlOWYyJy8+PGNpcmNsZSBjeD0nNTAnIGN5PSc1MCcgcj0nMjInIGZpbGw9J25vbmUnIHN0cm9rZT0nJTIzOTRhM2I4JyBzdHJva2Utd2lkdGg9JzUnLz48cGF0aCBkPSdNNTAgMjJ2MTBNNTAgNjh2MTBNMjIgNTBoMTBNNjggNTBoMTAnIHN0cm9rZT0nJTIzOTRhM2I4JyBzdHJva2Utd2lkdGg9JzUnIHN0cm9rZS1saW5lY2FwPSdyb3VuZCcvPjwvc3ZnPg==") center/48px no-repeat; }
.part-tile .thumb img { width: 100%; height: 100%; object-fit: cover; }
.part-tile .body { padding: 14px 16px; flex: 1; }
.part-tile .body h4 { color: var(--navy-900); font-size: 1rem; }
.part-tile .body .sys { color: var(--red-600); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em; }
.part-tile .body p { color: var(--ink-soft); font-size: 0.85rem; margin-top: 6px; }
.part-tile .foot { padding: 12px 16px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; font-size: 0.85rem; }
.part-tile .foot .ref { color: var(--steel-500); font-family: ui-monospace, Consolas, monospace; }
.part-tile .foot a { color: var(--red-600); font-weight: 600; }

/* filter chips */
.series-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.schip {
  padding: 8px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line);
  font-size: 0.85rem; color: var(--navy-700); cursor: pointer; transition: all 0.2s;
}
.schip:hover { border-color: var(--navy-600); }
.schip.active { background: var(--navy-900); border-color: var(--navy-900); color: #fff; }

/* two-level directory nav (L1 system -> L2 category) */
.pf-list a.l1 { font-weight: 600; padding-right: 22px; position: relative; }
.pf-list a.l1::after {
  content: ""; position: absolute; right: 12px; top: 50%; width: 7px; height: 7px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: translateY(-70%) rotate(45deg); opacity: 0.55; transition: transform 0.2s;
}
.pf-list a.l1.open::after { transform: translateY(-30%) rotate(-135deg); }
.pf-list ul.pf-sub { list-style: none; margin: 2px 0 8px; padding: 0 0 0 14px; display: none; border-left: 1px solid var(--line); }
.pf-list ul.pf-sub.open { display: block; }
.pf-list ul.pf-sub a { padding: 7px 10px; font-size: 0.85rem; border-radius: 6px; }
.pf-list ul.pf-sub a.active { background: rgba(200, 16, 46, 0.08); color: var(--red-600); border-left-color: var(--red-600); font-weight: 600; }

/* product tiles show full DB photographs */
.part-tile .thumb { display: block; }
.part-tile .thumb img { object-fit: contain; padding: 10px; box-sizing: border-box; transition: transform 0.4s var(--ease); }
.part-tile:hover .thumb img { transform: scale(1.05); }

/* part-number lookup grid */
.pn-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 10px; }
.pn-chip {
  display: flex; align-items: center; justify-content: center; text-align: center;
  padding: 13px 8px; border: 1px solid var(--line); border-radius: 10px;
  background: #fff; color: var(--navy-700); font-weight: 600; font-size: 0.86rem;
  font-variant-numeric: tabular-nums; text-decoration: none; letter-spacing: 0.3px;
  transition: border-color 0.2s, color 0.2s, background 0.2s, transform 0.2s var(--ease);
}
.pn-chip:hover { border-color: var(--red-600); color: var(--red-600); background: rgba(200, 16, 46, 0.04); transform: translateY(-2px); }
@media (max-width: 560px) { .pn-grid { grid-template-columns: repeat(auto-fill, minmax(90px, 1fr)); } }
.pn-pager { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px; margin-bottom: 16px; }
.pn-pager:last-child { margin: 18px 0 0; }
.pg-btn {
  min-width: 38px; height: 38px; padding: 0 10px; border: 1px solid var(--line); border-radius: 8px;
  background: #fff; color: var(--navy-700); font-weight: 600; font-size: 0.85rem; line-height: 1;
  cursor: pointer; transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.pg-btn:hover:not(:disabled):not(.active) { border-color: var(--red-600); color: var(--red-600); }
.pg-btn.active { background: var(--red-600); border-color: var(--red-600); color: #fff; }
.pg-btn:disabled { opacity: 0.45; cursor: not-allowed; }
.pg-ell { color: var(--ink-soft); padding: 0 2px; }


/* ---------- Warranty ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; position: relative; }
.step-card::before {
  counter-increment: step; content: "0" counter(step); font-family: var(--font-head);
  font-size: 2.6rem; color: rgba(200, 16, 46, 0.14); position: absolute; top: 10px; right: 16px; line-height: 1;
}
.step-card .sc { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--navy-900); color: #fff; margin-bottom: 16px; }
.step-card .sc svg { width: 22px; height: 22px; }
.step-card h4 { color: var(--navy-900); margin-bottom: 8px; }
.step-card p { color: var(--ink-soft); font-size: 0.88rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 30px; align-items: start; }
.contact-cards { display: grid; gap: 16px; }
.ccard { display: flex; gap: 16px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; transition: transform 0.25s var(--ease), box-shadow 0.25s; }
.ccard:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.ccard .ico { flex: 0 0 auto; width: 48px; height: 48px; border-radius: 13px; background: linear-gradient(140deg, var(--navy-900), var(--navy-700)); color: #fff; display: grid; place-items: center; }
.ccard .ico svg { width: 22px; height: 22px; }
.ccard h4 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--steel-500); }
.ccard p, .ccard a { color: var(--ink); font-weight: 600; margin-top: 3px; word-break: break-word; }
.ccard a:hover { color: var(--red-600); }

.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow-sm); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.f-group { display: grid; gap: 6px; }
.f-group.full { grid-column: 1 / -1; }
.f-group label { font-size: 0.85rem; font-weight: 600; color: var(--navy-900); }
.f-group label em { color: var(--red-600); font-style: normal; }
.f-group input, .f-group select, .f-group textarea {
  width: 100%; padding: 13px 14px; border: 1px solid var(--line); border-radius: 10px; background: #fbfcfe;
  outline: none; transition: border 0.2s, box-shadow 0.2s; font-size: 0.95rem;
}
.f-group input:focus, .f-group select:focus, .f-group textarea:focus { border-color: var(--navy-600); box-shadow: 0 0 0 4px rgba(37, 99, 160, 0.1); background: #fff; }
.f-group textarea { resize: vertical; min-height: 120px; }
.f-error { color: var(--red-600); font-size: 0.8rem; }
.form-note { font-size: 0.8rem; color: var(--steel-500); grid-column: 1/-1; }
.form-success { background: #e9f7ef; border: 1px solid #b7e4c7; color: #18794e; padding: 14px 16px; border-radius: 10px; font-size: 0.92rem; margin-bottom: 16px; display: none; }
.form-success.show { display: block; }
.hp { position: absolute; left: -9999px; opacity: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950, #060b18); color: var(--steel-400); }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 44px; padding: 72px 0 50px; }
.footer-top h4 { color: var(--red-500); font-family: var(--font-head); text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.95rem; margin-bottom: 18px; font-weight: 700; text-shadow: 0 1px 2px rgba(0,0,0,0.25); }
.footer-about p { font-size: 0.9rem; margin: 14px 0 18px; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { font-size: 0.9rem; transition: color 0.2s, padding-left 0.2s; }
.footer-links a:hover { color: #fff; padding-left: 4px; }
.footer-contact li { display: flex; gap: 10px; margin-bottom: 12px; font-size: 0.9rem; align-items: flex-start; }
.footer-contact svg { width: 16px; height: 16px; flex: 0 0 auto; margin-top: 3px; color: var(--red-500); }
.footer-contact a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 22px 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 0.84rem; }
.footer-bottom a:hover { color: #fff; }
.footer-beian { display: flex; align-items: center; justify-content: center; gap: 22px; flex-wrap: wrap; margin-top: 2px; }
.footer-beian a { display: inline-flex; align-items: center; gap: 6px; color: var(--steel-500); text-decoration: none; transition: color 0.2s; }
.footer-beian img { height: 16px; width: auto; display: block; }
.footer-beian svg { width: 14px; height: 14px; opacity: 0.9; }
.footer-social { display: flex; gap: 8px; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,0.15); color: var(--steel-300); transition: all 0.2s;
}
.footer-social a:hover { background: var(--red-600); border-color: var(--red-600); color: #fff; }
.footer-social svg { width: 17px; height: 17px; }

/* brand mark inline */
.brand-mark {
  width: 42px; height: 42px; display: grid; place-items: center; background: linear-gradient(135deg, var(--red-600), #ff5b6e);
  clip-path: polygon(50% 0%, 100% 28%, 100% 72%, 50% 100%, 0 72%, 0 28%);
  font-family: var(--font-head); font-weight: 700; color: #fff; font-size: 1.5rem;
}

/* ---------- Animations ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }
.reveal[data-delay="4"] { transition-delay: 0.32s; }
.reveal[data-delay="5"] { transition-delay: 0.4s; }
.reveal[data-delay="6"] { transition-delay: 0.48s; }
.reveal[data-delay="7"] { transition-delay: 0.56s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001s !important; transition-duration: 0.001s !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .part-grid { grid-template-columns: repeat(4, 1fr); }
  .parts-result { grid-template-columns: repeat(3, 1fr); }
  .industry-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 34px; }
}

@media (max-width: 900px) {
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: block; }
  /* keep the language switch visible on one compact top bar */
  .topbar .tb-left span:nth-child(1), .topbar .tb-left span:nth-child(3) { display: none; }
  .topbar .container { min-height: 34px; }
  .nav-inner { height: 66px; }
  main { scroll-margin-top: 120px; }
  .split { grid-template-columns: 1fr; gap: 44px; }
  .split-visual .frame { min-height: 320px; }
  .pf-layout { grid-template-columns: 1fr; }
  .pf-side { position: static; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .about-cards, .apps-grid { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 72px 0; }
  .part-result { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .cat-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .cat-thumb { height: 130px; }
  .split-visual .frame { min-height: 230px; }
  .part-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .part-card .ph { height: 90px; }
  .part-card .pb b { font-size: 0.8rem; }
  .industry-grid { grid-template-columns: 1fr; }
  .industry-tile { padding: 20px; }
  .form-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .about-cards, .apps-grid { grid-template-columns: 1fr; }
  .hero { min-height: 560px; }
  .hero-content { padding: 60px 0; }
  .footer-top { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { justify-content: center; text-align: center; }
  .parts-result { grid-template-columns: 1fr; }
  .cat-grid-2 { grid-template-columns: 1fr; }
}

/* ---------- Catalogue page additions ---------- */
.cat-section { scroll-margin-top: 130px; margin-bottom: 26px; }
.cat-sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 18px; flex-wrap: wrap; margin-bottom: 22px; }
.cat-sec-head h3 { font-size: clamp(1.3rem, 2vw, 1.7rem); color: var(--navy-900); }
.cat-sec-head p { color: var(--ink-soft); font-size: 0.95rem; margin-top: 6px; max-width: 640px; }
.sets-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.gen-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform 0.3s var(--ease), box-shadow 0.3s; }
.gen-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.gen-card .thumb { height: 210px; overflow: hidden; background: #eef2f8; }
.gen-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.gen-card:hover .thumb img { transform: scale(1.05); }
.gen-card .body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.gen-card .body h4 { color: var(--navy-900); font-size: 1.15rem; margin-bottom: 6px; }
.gen-card .body p { color: var(--ink-soft); font-size: 0.9rem; flex: 1; }
.parts-result { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.pf-empty { display: none; background: #fff; border: 1px dashed #c3ccdb; color: var(--steel-500); padding: 34px; text-align: center; border-radius: var(--radius); }
.parts-note {
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  background: #fff; border: 1px solid rgba(200, 16, 46, 0.16); border-left: 4px solid var(--red-600);
  border-radius: var(--radius); padding: 18px 22px; margin-bottom: 24px;
}
.parts-note .pn-txt { flex: 1; min-width: 240px; }
.parts-note p { margin: 0; font-size: 0.94rem; line-height: 1.6; color: var(--ink-soft); }
.parts-note .pn-ask { margin-top: 6px; }
.parts-note .pn-ask span { color: var(--navy-900); font-weight: 600; }
.pn-cta { display: flex; gap: 10px; flex-wrap: wrap; }
.pn-btn {
  display: inline-flex; align-items: center; padding: 10px 16px; border-radius: 8px;
  border: 1px solid var(--red-600); color: var(--red-600); background: #fff;
  font-weight: 700; font-size: 0.85rem; white-space: nowrap; transition: all 0.2s;
}
.pn-btn:hover { background: var(--red-600); color: #fff; transform: translateY(-1px); box-shadow: 0 6px 16px rgba(200, 16, 46, 0.18); }
.pf-panel h3.pt { display: flex; justify-content: space-between; align-items: center; cursor: pointer; margin-bottom: 4px; }
.pf-panel h3.pt .pn { color: var(--steel-500); font-size: 0.8rem; font-family: var(--font-body); text-transform: none; letter-spacing: 0; }
.hide-xs { display: inline-flex; }
.ico-box { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, 0.1); color: #fff; }
.ico-box svg { width: 22px; height: 22px; }
.check-list { display: grid; gap: 10px; margin-top: 8px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-soft); font-size: 0.95rem; }
.check-list svg { flex: 0 0 auto; width: 18px; height: 18px; color: var(--red-600); margin-top: 3px; }
.page-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; }
.map-card { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); border: 1px solid var(--line); background: #fff; }
.map-card img { width: 100%; height: 280px; object-fit: cover; }
@media (max-width: 900px) {
  .sets-grid { grid-template-columns: 1fr; }
  .parts-result { grid-template-columns: repeat(2, 1fr); }
  .page-grid-2 { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .parts-result { grid-template-columns: 1fr; }
  .hide-xs { display: none; }
}
