/* ==========================================================================
   Accessory Electronics Co., LTD — Global Stylesheet
   B2B consumer-electronics manufacturer / exporter
   ========================================================================== */

:root {
  /* ========================================================================
     Brand palette — Accessory Electronics Co., LTD
     Logo colors: PANTONE Process Black C  +  PANTONE 485 C
     Strategy: charcoal-black leads, PANTONE 485 red is an ACCENT only.
     ======================================================================== */

  /* --- Dark surfaces (charcoal / near-black) --- */
  --navy-900: #141414;      /* deepest — footer, hero base */
  --navy-800: #1d1d1f;      /* dark panels */
  --navy-700: #2a2a2e;      /* raised dark surfaces */
  --navy-600: #3a3a40;      /* dark hover / borders on dark */

  /* --- The one red (PANTONE 485 C), used sparingly --- */
  --red-600: #b61f14;       /* pressed / deep red */
  --red-500: #da291c;       /* PANTONE 485 C — the brand red */
  --red-400: #e8452f;       /* hover lift */
  --red-soft: #fdf1ef;      /* faint red wash for highlights */

  /* --- Functional aliases (kept so existing markup keeps working) --- */
  --blue-500: var(--red-500);   /* legacy alias → brand red */
  --blue-400: var(--red-400);   /* legacy alias → brand red hover */
  --cyan-400: var(--red-500);   /* legacy accent-on-dark → brand red */
  --primary: var(--navy-900);   /* NEW: the actual primary action color */
  --primary-hover: #2a2a2e;

  --accent: #ffffff;        /* white accent buttons on dark sections */
  --accent-dark: #e9e9e9;

  /* --- Neutrals (cool-neutral, not blue-tinted) --- */
  --grey-50: #f7f7f8;
  --grey-100: #f0f0f2;
  --grey-200: #e3e3e6;
  --grey-300: #ccccd1;
  --grey-500: #86868c;
  --grey-700: #55555c;
  --ink: #1a1a1c;

  --white: #ffffff;
  --shadow-sm: 0 1px 3px rgba(20, 20, 20, .05), 0 2px 8px rgba(20, 20, 20, .04);
  --shadow-md: 0 6px 22px rgba(20, 20, 20, .08);
  --shadow-lg: 0 18px 48px rgba(20, 20, 20, .13);

  --radius-sm: 4px;
  --radius: 8px;
  --radius-lg: 16px;

  --container: 1240px;
  --header-h: 78px;

  --font: "Segoe UI", "Helvetica Neue", Arial, "PingFang SC",
          "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; border: 0; }
a { color: inherit; text-decoration: none; transition: color .22s ease; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, h5 { margin: 0 0 .7em; line-height: 1.25; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; }
input, textarea, select { font-family: inherit; font-size: 15px; }
:focus-visible { outline: 2px solid var(--blue-400); outline-offset: 2px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 920px; }

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 32px;
  font-size: 15px; font-weight: 600; letter-spacing: .02em;
  border-radius: var(--radius-sm);
  transition: all .25s ease;
  white-space: nowrap;
}
.btn--primary { background: var(--primary); color: #fff; box-shadow: 0 4px 14px rgba(20,20,20,.18); }
.btn--primary:hover { background: var(--primary-hover); transform: translateY(-2px); box-shadow: 0 10px 26px rgba(20,20,20,.24); }
.btn--accent { background: var(--accent); color: var(--navy-900); }
.btn--accent:hover { background: var(--red-500); color: #fff; transform: translateY(-2px); }
.btn--ghost { border: 2px solid rgba(255,255,255,.72); color: #fff; }
.btn--ghost:hover { background: var(--red-500); border-color: var(--red-500); color: #fff; }
.btn--outline { border: 2px solid var(--navy-900); color: var(--navy-900); }
.btn--outline:hover { background: var(--navy-900); color: #fff; }
/* The single red button — reserve for the most important conversion action */
.btn--red { background: var(--red-500); color: #fff; box-shadow: 0 4px 14px rgba(218,41,28,.24); }
.btn--red:hover { background: var(--red-600); transform: translateY(-2px); box-shadow: 0 10px 26px rgba(218,41,28,.3); }
.btn--sm { padding: 10px 22px; font-size: 14px; }
.btn--block { width: 100%; }

/* ---------- Section furniture ---------- */
.section { padding: 96px 0; }
.section--tight { padding: 68px 0; }
.section--grey { background: var(--grey-50); }
.section--navy { background: var(--navy-900); color: #fff; }

.sec-head { max-width: 760px; margin: 0 auto 56px; text-align: center; }
.sec-head--left { margin-left: 0; text-align: left; }
.sec-head__kicker {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 14px;
  font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--grey-500);
}
/* small red tick — the restrained brand accent */
.sec-head__kicker::before {
  content: ""; width: 22px; height: 2px; background: var(--red-500); flex-shrink: 0;
}
.sec-head--center .sec-head__kicker { justify-content: center; }
.sec-head h2 { font-size: clamp(28px, 3.4vw, 42px); color: var(--navy-900); }
.sec-head--light h2 { color: #fff; }
.sec-head--light .sec-head__kicker { color: rgba(255,255,255,.6); }
.sec-head p { color: var(--grey-700); font-size: 17px; margin-bottom: 0; }
.sec-head--light p { color: rgba(255,255,255,.78); }

/* ==========================================================================
   Header
   ========================================================================== */
.topbar {
  background: var(--navy-900); color: rgba(255,255,255,.72);
  font-size: 13px; letter-spacing: .01em;
}
.topbar__inner { display: flex; align-items: center; justify-content: space-between; height: 40px; gap: 20px; }
.topbar__list { display: flex; align-items: center; gap: 26px; }
.topbar a { color: rgba(255,255,255,.72); }
.topbar a:hover { color: #fff; }
.topbar__meta { display: flex; align-items: center; gap: 22px; }
.topbar svg { width: 14px; height: 14px; vertical-align: -2px; margin-right: 6px; fill: currentColor; }
.topbar__badge {
  color: var(--accent); font-weight: 600;
}

.site-header {
  position: sticky; top: 0; z-index: 900;
  background: #ffffff;
  border-bottom: 1px solid var(--grey-200);
  transition: box-shadow .3s ease;
}
.site-header.is-stuck { box-shadow: var(--shadow-md); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 20px; }
.header__actions { flex-shrink: 0; }
.nav { flex-shrink: 0; }

.logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.logo__img { display: block; height: 52px; width: auto; }
.logo__img--footer { height: 46px; }
.logo__mark {
  width: 42px; height: 42px; flex-shrink: 0;
  border-radius: 10px;
  background: linear-gradient(135deg, #1b1b1d, #da291c 85%);
  display: grid; place-items: center;
  color: #fff; font-weight: 800; font-size: 17px; letter-spacing: -.04em;
  box-shadow: 0 4px 14px rgba(218,41,28,.28);
}
.logo__text { line-height: 1.15; }
.logo__name { display: block; font-size: 17px; font-weight: 800; color: var(--navy-900); letter-spacing: -.015em; }
.logo__tag { display: block; font-size: 10.5px; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; color: var(--grey-500); }

/* Nav */
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav__item { position: relative; }
.nav__link {
  position: relative;
  display: block; padding: 12px 13px;
  font-size: 15px; font-weight: 600; color: var(--grey-700);
  border-radius: var(--radius-sm);
  white-space: nowrap;
}
.nav__link:hover { color: var(--navy-900); }
.nav__link.is-active { color: var(--navy-900); font-weight: 700; }
.nav__link.is-active::after {
  content: ""; position: absolute; left: 13px; right: 13px; bottom: 6px;
  height: 2px; background: var(--red-500); border-radius: 2px;
}

.dropdown {
  position: absolute; top: calc(100% + 10px); left: 0; min-width: 248px;
  background: #fff; border: 1px solid var(--grey-200); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: 10px;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: all .22s ease;
}
.nav__item:hover .dropdown,
.nav__item:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a {
  display: flex; align-items: center; gap: 11px;
  padding: 10px 13px; border-radius: var(--radius-sm);
  font-size: 14.5px; font-weight: 500; color: var(--grey-700);
}
.dropdown a:hover { background: var(--grey-50); color: var(--navy-900); }
.dropdown__dot {
  width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0;
  background: var(--grey-300); opacity: 1;
  transition: background .22s ease;
}
.dropdown a:hover .dropdown__dot { background: var(--red-500); }
.dropdown__more {
  margin-top: 6px; border-top: 1px solid var(--grey-200); padding-top: 10px;
  font-weight: 700 !important; color: var(--navy-900) !important;
}

.header__actions { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }

.nav-toggle {
  display: none; width: 44px; height: 44px; border-radius: var(--radius-sm);
  align-items: center; justify-content: center; flex-direction: column; gap: 5px;
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--navy-800); border-radius: 2px; transition: all .25s ease; }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================================
   Hero slider
   ========================================================================== */
.hero { position: relative; display: flex; flex-direction: column; justify-content: center; min-height: clamp(500px, 64vh, 680px); overflow: hidden; background: var(--navy-900); }
.hero__slides { position: relative; display: grid; }
.hero__slide {
  grid-area: 1 / 1;
  position: relative;
  display: flex; align-items: center;
  opacity: 0; visibility: hidden;
  transition: opacity .9s ease, visibility .9s ease;
}
.hero__slide.is-active { opacity: 1; visibility: visible; }
.hero__slide::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(900px 460px at 88% 12%, rgba(218,41,28,.20), transparent 58%),
    linear-gradient(112deg, #101010 0%, #161616 52%, #1e1c1c 100%);
}
.hero__slide--2::before {
  background:
    radial-gradient(820px 440px at 14% 16%, rgba(218,41,28,.16), transparent 58%),
    linear-gradient(112deg, #131313 0%, #181818 55%, #232020 100%);
}
.hero__slide--3::before {
  background:
    radial-gradient(860px 460px at 78% 82%, rgba(218,41,28,.18), transparent 58%),
    linear-gradient(112deg, #0d0d0d 0%, #151515 52%, #201d1d 100%);
}
.hero__grid-lines {
  position: absolute; inset: 0; opacity: .16; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.5) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.5) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, #000 20%, transparent 78%);
}
.hero__content { position: relative; z-index: 3; max-width: 760px; color: #fff; }
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  margin-bottom: 22px; padding: 7px 16px;
  border: 1px solid rgba(255,255,255,.22); border-radius: 100px;
  background: rgba(255,255,255,.05);
  font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255,255,255,.82);
}
.hero__eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--red-500); }
.hero h1 { font-size: clamp(32px, 4.6vw, 56px); color: #fff; margin-bottom: 20px; letter-spacing: -.02em; }
.hero h1 em { font-style: normal; color: var(--red-500); }
.hero p { font-size: clamp(16px, 1.35vw, 18.5px); color: rgba(255,255,255,.8); max-width: 640px; margin-bottom: 34px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__stats {
  position: relative; z-index: 3;
  display: flex; flex-wrap: wrap; gap: 40px;
  margin-top: 44px; padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,.16);
}
.hero__stat b { display: block; font-size: 30px; color: #fff; font-weight: 800; line-height: 1.1; }
.hero__stat span { font-size: 13px; color: rgba(255,255,255,.62); letter-spacing: .05em; }

.hero__dots {
  position: absolute; left: 50%; bottom: 30px; transform: translateX(-50%);
  z-index: 5; display: flex; gap: 10px;
}
.hero__dots button {
  width: 34px; height: 3px; border-radius: 2px;
  background: rgba(255,255,255,.34); transition: all .3s ease;
}
.hero__dots button.is-active { background: var(--red-500); width: 52px; }

/* ==========================================================================
   Trust strip / marquee
   ========================================================================== */
.trust { background: var(--navy-800); padding: 22px 0; overflow: hidden; }
.trust__track { display: flex; align-items: center; gap: 58px; animation: marquee 38s linear infinite; width: max-content; }
.trust:hover .trust__track { animation-play-state: paused; }
.trust__item {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; font-weight: 600; letter-spacing: .05em;
  color: rgba(255,255,255,.55); white-space: nowrap;
}
.trust__item::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: rgba(255,255,255,.4); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ==========================================================================
   Why choose us
   ========================================================================== */
.why-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  margin-top: 10px;
}
.why-grid--5 { grid-template-columns: repeat(5, 1fr); }
.why-card {
  position: relative; overflow: hidden;
  padding: 38px 30px 34px;
  background: #fff; border: 1px solid var(--grey-200); border-radius: var(--radius-lg);
  transition: all .3s ease;
}
.why-card::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
  background: var(--red-500);
  transform: scaleX(0); transform-origin: left; transition: transform .35s ease;
}
.why-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.why-card:hover::after { transform: scaleX(1); }
.why-card__icon {
  width: 56px; height: 56px; margin-bottom: 22px;
  display: grid; place-items: center; border-radius: 14px;
  background: var(--navy-900);
  color: #fff;
}
.why-card__icon svg { width: 28px; height: 28px; fill: currentColor; }
.why-card h3 { font-size: 19px; color: var(--navy-900); margin-bottom: 10px; }
.why-card p { font-size: 14.5px; color: var(--grey-700); margin-bottom: 0; line-height: 1.68; }

/* ==========================================================================
   About
   ========================================================================== */
.about-split { display: grid; grid-template-columns: 1.06fr 1fr; gap: 72px; align-items: center; }
.about-media { position: relative; }
.about-media__frame {
  position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius-lg);
  overflow: hidden; background: linear-gradient(140deg, var(--navy-800) 0%, var(--navy-900) 100%);
  box-shadow: var(--shadow-lg);
}
.about-media__frame::after {
  content: ""; position: absolute; inset: 0;
  background:
    repeating-linear-gradient(45deg, rgba(255,255,255,.05) 0 2px, transparent 2px 22px),
    radial-gradient(600px 400px at 30% 20%, rgba(255,255,255,.22), transparent 65%);
}
.about-media__frame--photo img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.about-media__frame--photo-left img { object-position: left center; }
.about-media__frame--photo::after { background: none; }
.about-media__frame--photo-fit img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: contain; display: block;
}
.about-media__frame--photo-fit::after { background: none; }
.about-media__label {
  position: absolute; inset: auto 0 0 0; padding: 56px 32px 28px;
  background: linear-gradient(transparent, rgba(6,17,35,.86));
  color: #fff;
}
.about-media__label strong { display: block; font-size: 20px; font-weight: 700; }
.about-media__label span { font-size: 13.5px; color: rgba(255,255,255,.72); }
.about-media__label--row {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 16px; padding-bottom: 24px;
}
.about-media__label--row strong { font-size: 15px; font-weight: 700; white-space: nowrap; }
.about-media__label--row span { font-size: 13.5px; white-space: nowrap; }
.about-media__badge {
  position: absolute; right: -28px; top: 38px; z-index: 2;
  width: 132px; height: 132px; border-radius: 50%;
  display: grid; place-content: center; text-align: center;
  background: var(--navy-900); color: #fff;
  border: 3px solid var(--red-500);
  box-shadow: 0 14px 34px rgba(20,20,20,.28);
}
.about-media__badge b { display: block; font-size: 30px; font-weight: 800; line-height: 1; }
.about-media__badge span { font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }

.about-body h2 { font-size: clamp(26px, 3vw, 38px); color: var(--navy-900); }
.about-body > p { font-size: 16.5px; color: var(--grey-700); }
.about-list { display: grid; gap: 18px; margin: 30px 0 34px; }
.about-list li { display: flex; gap: 14px; }
.about-list__ico {
  flex-shrink: 0; width: 26px; height: 26px; margin-top: 3px; border-radius: 50%;
  display: grid; place-items: center; background: var(--grey-100); color: var(--navy-900);
  font-size: 13px; font-weight: 800;
}
.about-list b { display: block; font-size: 15.5px; color: var(--navy-900); }
.about-list span { font-size: 14.5px; color: var(--grey-700); }

/* Counter band */
.counters { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--grey-200); }
.counters__cell { background: #fff; padding: 40px 24px; text-align: center; }
.counters__cell b { display: block; font-size: clamp(30px, 3.4vw, 44px); font-weight: 800; color: var(--navy-900); line-height: 1.1; }
.counters__cell b em { font-style: normal; color: var(--red-500); }
.counters__cell span { font-size: 13.5px; color: var(--grey-500); letter-spacing: .06em; text-transform: uppercase; font-weight: 600; }
.counters__ico { width: 30px; height: 30px; margin: 0 auto 12px; color: var(--red-500); }
.counters__ico svg { width: 100%; height: 100%; fill: currentColor; }

/* ==========================================================================
   Product categories
   ========================================================================== */
.cat-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; }
.cat-card {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  border-radius: var(--radius-lg); background: var(--navy-900); color: #fff;
  min-height: 300px;
  transition: transform .35s ease, box-shadow .35s ease;
}
.cat-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.cat-card__bg { position: absolute; inset: 0; transition: transform .6s ease; }
.cat-card:hover .cat-card__bg { transform: scale(1.07); }
.cat-card__bg::after {
  content: ""; position: absolute; inset: 0; opacity: .92;
  background: linear-gradient(175deg, rgba(10,10,10,.12) 0%, rgba(10,10,10,.68) 58%, rgba(10,10,10,.95) 100%);
}
/* Each tile gets its own charcoal character — one carries the brand red */
.cat-card--cable   .cat-card__bg { background: linear-gradient(150deg, #3a3a40, #141414); }
.cat-card--mfi     .cat-card__bg { background: linear-gradient(150deg, #2a2a2e, #0f0f0f); }
.cat-card--power   .cat-card__bg { background: linear-gradient(150deg, #8e1c13, #141414); }
.cat-card--car     .cat-card__bg { background: linear-gradient(150deg, #5c5c66, #17171a); }
.cat-card--hub     .cat-card__bg { background: linear-gradient(150deg, #45454c, #1a1a1c); }
.cat-card__body { position: relative; z-index: 2; flex: 1; display: flex; flex-direction: column; justify-content: flex-end; padding: 30px 26px; }
.cat-card__ico {
  width: 46px; height: 46px; margin-bottom: auto; border-radius: 12px;
  display: grid; place-items: center;
  background: rgba(255,255,255,.16); backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.22);
}
.cat-card__ico svg { width: 24px; height: 24px; fill: #fff; }
.cat-card h3 { font-size: 21px; color: #fff; margin-bottom: 8px; }
.cat-card p { font-size: 14px; color: rgba(255,255,255,.76); margin-bottom: 16px; line-height: 1.6; }
.cat-card__link {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 13.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  color: rgba(255,255,255,.88);
}
.cat-card__link::after { content: "→"; transition: transform .3s ease; color: var(--red-500); }
.cat-card:hover .cat-card__link::after { transform: translateX(5px); }

/* ==========================================================================
   Product cards
   ========================================================================== */
.filter-bar {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px;
  margin-bottom: 44px;
}
.filter-bar button {
  padding: 10px 22px; border-radius: 100px;
  border: 1px solid var(--grey-200); background: #fff;
  font-size: 14.5px; font-weight: 600; color: var(--grey-700);
  transition: all .22s ease;
}
.filter-bar button:hover { border-color: var(--navy-900); color: var(--navy-900); }
.filter-bar button.is-active { background: var(--navy-900); border-color: var(--navy-900); color: #fff; }

.prod-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.prod-card {
  background: #fff; border: 1px solid var(--grey-200); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: all .3s ease;
}
.prod-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.prod-card__media {
  position: relative; aspect-ratio: 1 / 1; overflow: hidden;
  background: linear-gradient(150deg, var(--grey-50), var(--grey-100));
  display: grid; place-items: center;
}
.prod-card__media svg { width: 44%; height: 44%; opacity: .9; transition: transform .5s ease; }
.prod-card:hover .prod-card__media svg { transform: scale(1.08); }
.prod-card__media img {
  width: 100%; height: 100%; object-fit: contain;
  padding: 14px; transition: transform .5s ease;
}
.prod-card:hover .prod-card__media img { transform: scale(1.05); }
.prod-card__tag {
  position: absolute; top: 14px; left: 14px;
  padding: 5px 12px; border-radius: 100px;
  background: var(--navy-800); color: #fff;
  font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
}
.prod-card__tag--mfi { background: var(--red-500); }
.prod-card__tag--new { background: var(--accent); color: var(--navy-900); }
.prod-card__body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.prod-card h3 { font-size: 16.5px; color: var(--navy-900); margin-bottom: 8px; line-height: 1.42; }
.prod-card h3 a:hover { color: var(--red-500); }
.prod-card p { font-size: 13.8px; color: var(--grey-700); margin-bottom: 16px; flex: 1; line-height: 1.62; }
.prod-card__specs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
.prod-card__specs span {
  padding: 4px 10px; border-radius: var(--radius-sm);
  background: var(--grey-100); color: var(--grey-700);
  font-size: 12px; font-weight: 600; letter-spacing: .03em;
}
.prod-card__foot {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 16px; border-top: 1px solid var(--grey-200);
}
.prod-card__moq { font-size: 12.5px; color: var(--grey-500); font-weight: 600; }
.prod-card__more { font-size: 13.5px; font-weight: 700; color: var(--navy-900); }
.prod-card__more:hover { color: var(--red-500); }

/* ==========================================================================
   Capability / OEM-ODM
   ========================================================================== */
.cap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cap-card {
  padding: 34px 30px; border-radius: var(--radius-lg);
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.11);
  transition: all .3s ease;
}
.cap-card:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.22); transform: translateY(-5px); }
.cap-card__n { font-size: 13px; font-weight: 800; color: rgba(255,255,255,.5); letter-spacing: .16em; margin-bottom: 16px; }
.cap-card h3 { font-size: 19px; color: #fff; margin-bottom: 11px; }
.cap-card p { font-size: 14.5px; color: rgba(255,255,255,.72); margin-bottom: 0; line-height: 1.7; }

/* Process timeline */
.process { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; counter-reset: step; }
.process__step { position: relative; text-align: center; }
.process__step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  display: grid; place-items: center;
  width: 62px; height: 62px; margin: 0 auto 20px;
  border-radius: 50%; background: #fff; border: 2px solid var(--grey-200);
  font-size: 17px; font-weight: 800; color: var(--navy-900);
  position: relative; z-index: 2; transition: all .3s ease;
}
.process__step:hover::before { background: var(--navy-900); color: #fff; border-color: var(--navy-900); transform: scale(1.06); }
.process__step::after {
  content: ""; position: absolute; top: 31px; left: calc(50% + 36px); right: calc(-50% + 36px);
  height: 2px; background: var(--grey-200); z-index: 1;
}
.process__step:last-child::after { display: none; }
.process__step h4 { font-size: 16px; color: var(--navy-900); margin-bottom: 7px; }
.process__step p { font-size: 13.5px; color: var(--grey-700); margin-bottom: 0; line-height: 1.6; }

/* ==========================================================================
   News
   ========================================================================== */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.news-card {
  display: flex; flex-direction: column; background: #fff;
  border: 1px solid var(--grey-200); border-radius: var(--radius); overflow: hidden;
  transition: all .3s ease;
}
.news-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.news-card__media {
  aspect-ratio: 16 / 10; position: relative; overflow: hidden;
  background: linear-gradient(140deg, var(--navy-800), var(--navy-900));
}
.news-card__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    repeating-linear-gradient(-40deg, rgba(255,255,255,.05) 0 2px, transparent 2px 20px),
    radial-gradient(420px 300px at 72% 22%, rgba(218,41,28,.34), transparent 66%);
  transition: transform .6s ease;
}
.news-card:hover .news-card__media::after { transform: scale(1.08); }
.news-card__media--photo::after { display: none; }
.news-card__media--photo img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; transition: transform .6s ease;
}
.news-card:hover .news-card__media--photo img { transform: scale(1.08); }
.news-card__media--photo-fit { background: #fff; }
.news-card__media--photo-fit::after { display: none; }
.news-card__media--photo-fit img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: contain; transition: transform .6s ease;
}
.news-card:hover .news-card__media--photo-fit img { transform: scale(1.05); }
.news-card__date {
  position: absolute; left: 16px; bottom: 16px; z-index: 2;
  padding: 5px 13px; border-radius: 100px;
  background: rgba(255,255,255,.94); color: var(--navy-900);
  font-size: 12px; font-weight: 700; letter-spacing: .04em;
}
.news-card__body { padding: 24px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.news-card__cat { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--grey-500); margin-bottom: 10px; }
.news-card h3 { font-size: 18px; color: var(--navy-900); margin-bottom: 10px; line-height: 1.42; }
.news-card h3 a:hover { color: var(--red-500); }
.news-card p { font-size: 14.3px; color: var(--grey-700); flex: 1; margin-bottom: 18px; line-height: 1.68; }
.news-card__more { font-size: 13.5px; font-weight: 700; color: var(--navy-900); align-self: flex-start; }
.news-card__more::after { content: " →"; color: var(--red-500); }
.news-card__more:hover { color: var(--red-500); }

/* ==========================================================================
   Certification logos
   ========================================================================== */
.certs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.cert {
  aspect-ratio: 3 / 2; display: grid; place-items: center; align-content: center; gap: 10px;
  border: 1px solid var(--grey-200); border-radius: var(--radius); background: #fff;
  transition: all .28s ease; padding: 12px;
}
.cert:hover { border-color: var(--grey-300); box-shadow: var(--shadow-sm); transform: translateY(-3px); }
.cert img { max-height: 64px; max-width: 100%; width: auto; object-fit: contain; }
.cert b { font-size: 15px; font-weight: 800; color: var(--navy-800); letter-spacing: .02em; text-align: center; line-height: 1.4; padding: 0 10px; }
.cert span { display: block; font-size: 10.5px; font-weight: 600; color: var(--grey-500); letter-spacing: .08em; text-transform: uppercase; margin-top: 3px; }

/* ==========================================================================
   Certificate gallery + lightbox (quality.html)
   ========================================================================== */
.certgal { display: grid; gap: 26px; max-width: 940px; margin: 0 auto 16px; }
.certgal__item {
  margin: 0; cursor: zoom-in; background: #fff; border: 1px solid var(--grey-200);
  border-radius: var(--radius); overflow: hidden; transition: all .28s ease;
}
.certgal__item:hover { border-color: var(--grey-300); box-shadow: var(--shadow-md); transform: translateY(-4px); }
.certgal__item:focus-visible { outline: 2px solid var(--red-500); outline-offset: 2px; }
.certgal__img { background: #fff; padding: 22px 22px 12px; display: grid; place-items: center; }
.certgal__img img { display: block; width: 100%; height: auto; }
.certgal__cap { padding: 4px 22px 20px; border-top: 1px solid var(--grey-100); }
.certgal__cap b { display: block; font-size: 15.5px; font-weight: 800; color: var(--navy-800); margin-top: 14px; }
.certgal__cap span { display: block; font-size: 13.5px; color: var(--grey-700); line-height: 1.6; margin-top: 5px; }
.certgal__note { text-align: center; font-size: 13.5px; color: var(--grey-500); margin: 26px 0 54px; }
.certlb {
  position: fixed; inset: 0; z-index: 2000; display: none;
  align-items: center; justify-content: center; padding: 28px;
  background: rgba(13, 16, 24, .9);
}
.certlb.is-open { display: flex; }
.certlb__figure {
  margin: 0; background: #fff; border-radius: 14px; padding: 20px 20px 16px;
  max-width: min(1120px, 94vw); box-shadow: 0 30px 80px rgba(0, 0, 0, .45);
}
.certlb__figure img { display: block; width: 100%; height: auto; max-height: 72vh; object-fit: contain; }
.certlb__cap { margin-top: 12px; font-size: 14px; font-weight: 700; color: var(--navy-800); text-align: center; }
.certlb__close {
  position: absolute; top: 18px; right: 22px; width: 44px; height: 44px;
  border: 0; border-radius: 50%; background: rgba(255, 255, 255, .14); color: #fff;
  font-size: 26px; line-height: 1; cursor: pointer; transition: background .2s ease;
}
.certlb__close:hover { background: rgba(255, 255, 255, .3); }
@media (max-width: 640px) {
  .certgal__img { padding: 14px 14px 8px; }
  .certgal__cap { padding: 4px 16px 16px; }
  .certlb { padding: 14px; }
  .certlb__figure { padding: 12px 12px 10px; }
}

/* ==========================================================================
   CTA band + contact
   ========================================================================== */
.cta-band {
  position: relative; overflow: hidden;
  background: var(--navy-900);
  color: #fff; padding: 78px 0;
}
.cta-band::after {
  content: ""; position: absolute; inset: 0; opacity: .85;
  background:
    radial-gradient(700px 380px at 88% 22%, rgba(218,41,28,.24), transparent 60%),
    linear-gradient(112deg, #101010 0%, #161616 58%, #1c1919 100%);
}
.cta-band__inner { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 42px; flex-wrap: wrap; }
.cta-band h2 { font-size: clamp(26px, 3.2vw, 38px); color: #fff; margin-bottom: 12px; }
.cta-band p { color: rgba(255,255,255,.78); font-size: 16.5px; margin-bottom: 0; max-width: 620px; }
.cta-band__actions { display: flex; gap: 14px; flex-wrap: wrap; }

.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 60px; align-items: start; }
.contact-info { display: grid; gap: 16px; }
.contact-info__item {
  display: flex; gap: 16px; padding: 22px 24px;
  background: #fff; border: 1px solid var(--grey-200); border-radius: var(--radius);
}
.contact-info__ico {
  flex-shrink: 0; width: 42px; height: 42px; border-radius: 11px;
  display: grid; place-items: center;
  background: var(--grey-100); color: var(--navy-900);
}
.contact-info__ico svg { width: 20px; height: 20px; fill: currentColor; }
.contact-info b { display: block; font-size: 14px; color: var(--navy-900); margin-bottom: 4px; }
.contact-info span, .contact-info a { font-size: 14.5px; color: var(--grey-700); line-height: 1.6; }
.contact-info a:hover { color: var(--red-500); }

.form-card { padding: 40px; background: #fff; border: 1px solid var(--grey-200); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label { display: block; margin-bottom: 7px; font-size: 13.5px; font-weight: 600; color: var(--navy-800); }
.field label i { color: #d93025; font-style: normal; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px;
  border: 1px solid var(--grey-200); border-radius: var(--radius-sm);
  background: var(--grey-50); color: var(--ink);
  transition: all .22s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--navy-900); background: #fff;
  box-shadow: 0 0 0 3px rgba(20,20,20,.08);
}
.field textarea { min-height: 128px; resize: vertical; }
.form-note { font-size: 12.8px; color: var(--grey-500); margin: 14px 0 0; }
.form-status { display: none; margin-top: 16px; padding: 13px 16px; border-radius: var(--radius-sm); font-size: 14px; font-weight: 600; }
.form-status.is-ok { display: block; background: #e6f4ea; color: #1a7f37; }
.form-status.is-err { display: block; background: #fce8e6; color: #c5221f; }

/* ==========================================================================
   Page hero (inner pages)
   ========================================================================== */
.page-hero {
  position: relative; padding: 74px 0 66px; overflow: hidden;
  background: var(--navy-900);
  color: #fff;
}
.page-hero::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(680px 360px at 88% 14%, rgba(218,41,28,.22), transparent 60%),
    linear-gradient(112deg, #101010 0%, #161616 58%, #1b1919 100%);
}
.page-hero__inner { position: relative; z-index: 2; }
.page-hero h1 { font-size: clamp(28px, 3.6vw, 44px); color: #fff; margin-bottom: 14px; }
.page-hero p { color: rgba(255,255,255,.78); font-size: 16.5px; max-width: 700px; margin-bottom: 0; }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; margin-bottom: 20px; font-size: 13.5px; color: rgba(255,255,255,.6); }
.breadcrumb a:hover { color: var(--red-500); }
.breadcrumb span { opacity: .5; }

/* ==========================================================================
   Detail layout
   ========================================================================== */
.detail-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 60px; align-items: start; }
.detail-media {
  aspect-ratio: 1 / 1; border-radius: var(--radius-lg); overflow: hidden;
  background: linear-gradient(150deg, var(--grey-50), var(--grey-100));
  display: grid; place-items: center; border: 1px solid var(--grey-200);
}
.detail-media svg { width: 46%; height: 46%; }
.detail-media img { width: 100%; height: 100%; object-fit: contain; padding: 22px; }
.detail-body h1 { font-size: clamp(26px, 3.2vw, 38px); color: var(--navy-900); }
.detail-body .lead { font-size: 16.5px; color: var(--grey-700); margin-bottom: 26px; }
.spec-table { width: 100%; border-collapse: collapse; margin: 26px 0 30px; font-size: 14.5px; }
.spec-table th, .spec-table td { padding: 12px 16px; border: 1px solid var(--grey-200); text-align: left; }
.spec-table th { width: 40%; background: var(--grey-50); color: var(--navy-800); font-weight: 700; }
.spec-table td { color: var(--grey-700); }
.feature-list { display: grid; gap: 12px; margin: 0 0 30px; }
.feature-list li { display: flex; gap: 12px; font-size: 15px; color: var(--grey-700); }
.feature-list li::before { content: "✓"; flex-shrink: 0; color: var(--red-500); font-weight: 800; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--navy-900); color: rgba(255,255,255,.68); padding-top: 76px; }
.footer-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1.2fr;
  gap: 44px; padding-bottom: 56px;
}
.footer-brand .logo__name { color: #fff; }
.footer-brand .logo__tag { color: rgba(255,255,255,.45); }
.footer-brand p { margin: 22px 0; font-size: 14.3px; line-height: 1.75; color: rgba(255,255,255,.62); }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.72);
}
.footer-social a:hover { background: var(--red-500); color: #fff; border-color: var(--red-500); }
.footer-social svg { width: 17px; height: 17px; fill: currentColor; }

.footer-col h4 {
  font-size: 14.5px; color: #fff; margin-bottom: 20px;
  letter-spacing: .05em; text-transform: uppercase; font-weight: 700;
}
.footer-col ul { display: grid; gap: 11px; }
.footer-col a { font-size: 14.3px; color: rgba(255,255,255,.62); }
.footer-col a:hover { color: #fff; padding-left: 4px; }

.footer-news__form { display: flex; gap: 8px; margin-top: 16px; }
.footer-news__form input {
  flex: 1; min-width: 0; padding: 12px 14px;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius-sm); color: #fff; font-size: 14px;
}
.footer-news__form input::placeholder { color: rgba(255,255,255,.4); }
.footer-news__form input:focus { outline: none; border-color: rgba(255,255,255,.5); }
.footer-news__form button {
  padding: 0 18px; border-radius: var(--radius-sm);
  background: var(--red-500); color: #fff; font-weight: 700; font-size: 14px;
}
.footer-news__form button:hover { background: var(--red-600); }
.footer-news__msg { margin-top: 10px; font-size: 13px; color: rgba(255,255,255,.72); min-height: 18px; }
.footer-news small { display: block; margin-top: 12px; font-size: 12.5px; color: rgba(255,255,255,.4); line-height: 1.6; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 24px 0; display: flex; align-items: center; justify-content: space-between;
  gap: 20px; flex-wrap: wrap; font-size: 13.5px; color: rgba(255,255,255,.5);
}
.footer-bottom__links { display: flex; flex-wrap: wrap; gap: 22px; }
.footer-bottom a:hover { color: #fff; }

/* Back to top */
.to-top {
  position: fixed; right: 26px; bottom: 26px; z-index: 800;
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--navy-800); color: #fff;
  box-shadow: var(--shadow-md);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: all .3s ease;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--red-500); }
.to-top svg { width: 18px; height: 18px; fill: currentColor; }

/* ==========================================================================
   Reveal animation
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.22,.61,.36,1), transform .7s cubic-bezier(.22,.61,.36,1); }
.reveal.is-in { opacity: 1; transform: none; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1180px) {
  .header__actions .btn { display: none; }
  .why-grid, .cat-grid, .prod-grid { grid-template-columns: repeat(2, 1fr); }
  .cap-grid { grid-template-columns: repeat(2, 1fr); }
  .certs { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .process { grid-template-columns: repeat(3, 1fr); }
  .process__step::after { display: none; }
}

@media (max-width: 1024px) {
  .topbar__meta .topbar__hide-md { display: none; }
  .nav {
    position: fixed; inset: 0 0 0 auto; width: 320px; max-width: 86vw;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; padding: 96px 22px 30px;
    box-shadow: var(--shadow-lg); margin: 0;
    transform: translateX(100%); transition: transform .34s cubic-bezier(.22,.61,.36,1);
    overflow-y: auto; z-index: 950;
  }
  .nav.is-open { transform: none; }
  .nav__link { padding: 15px 6px; border-bottom: 1px solid var(--grey-200); border-radius: 0; font-size: 16px; }
  .nav__link.is-active::after { display: none; }
  .dropdown {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: 0; padding: 6px 0 10px 12px; min-width: 0;
    display: none;
  }
  .nav__item.is-expanded .dropdown { display: block; }
  .nav-toggle { display: flex; }
  .nav-backdrop {
    position: fixed; inset: 0; z-index: 940;
    background: rgba(19,19,19,.55); opacity: 0; visibility: hidden;
    transition: all .3s ease;
  }
  .nav-backdrop.is-open { opacity: 1; visibility: visible; }
  .about-split, .detail-grid, .contact-grid { grid-template-columns: 1fr; gap: 44px; }
  .about-media__badge { right: 18px; }
  .counters { grid-template-columns: repeat(2, 1fr); }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .section { padding: 64px 0; }
  .topbar__list { display: none; }
  .topbar__inner { justify-content: center; }
  .header__inner { gap: 10px; }
  .logo { min-width: 0; flex: 1; }
  .logo__name { font-size: 15.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .logo__tag { letter-spacing: .08em; }
  .why-grid, .cat-grid, .prod-grid, .cap-grid, .news-grid, .process { grid-template-columns: 1fr; }
  .certs { grid-template-columns: repeat(2, 1fr); }
  .counters { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 38px; }
  .form-card { padding: 26px 22px; }
  .form-row { grid-template-columns: 1fr; }
  .cat-card { min-height: 260px; }
  .hero { min-height: 0; padding: 64px 0 88px; }
  .hero__stats { gap: 26px; margin-top: 34px; }
  .hero__stat b { font-size: 24px; }
  .cta-band { padding: 56px 0; }
  .cta-band__inner { flex-direction: column; align-items: flex-start; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .sec-head { margin-bottom: 38px; }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .topbar, .to-top, .cta-band { display: none; }
  body { color: #000; }
  .reveal { opacity: 1 !important; transform: none !important; }
}
