/* =========================================================
   HANOVA INDUSTRIAL — Design System
   工业机械 B2B 外贸站样式表
   - 无外部字体依赖（系统字体栈，加载零阻塞）
   - 全部使用 logical properties，天然支持 LTR / RTL
   ========================================================= */

/* ---------- 1. Design tokens ---------- */
:root {
  --ink: #0a1c2e;
  --ink-soft: #16324f;
  --brand: #0e4c92;
  --brand-dark: #0a3567;
  --brand-light: #e8f1fb;
  --accent: #f26a1b;
  --accent-dark: #d2540d;
  --bg: #ffffff;
  --bg-soft: #f4f6f9;
  --bg-dark: #0a1c2e;
  --line: #e2e7ee;
  --muted: #5a6a7d;
  --white: #ffffff;

  --radius-s: 6px;
  --radius: 10px;
  --radius-l: 16px;

  --shadow-s: 0 1px 2px rgba(10, 28, 46, .06), 0 2px 8px rgba(10, 28, 46, .05);
  --shadow-m: 0 4px 12px rgba(10, 28, 46, .07), 0 12px 28px rgba(10, 28, 46, .08);
  --shadow-l: 0 18px 50px rgba(10, 28, 46, .16);

  --container: 1200px;
  --gutter: clamp(18px, 4vw, 40px);
  --section-y: clamp(56px, 7vw, 104px);

  --font: "Inter", "Segoe UI", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --font-ar: "Segoe UI", "Noto Naskh Arabic", "Traditional Arabic", Tahoma, Arial, sans-serif;
}

/* ---------- 2. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
html[dir="rtl"] body { font-family: var(--font-ar); line-height: 1.8; }
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; line-height: 1.22; font-weight: 700; letter-spacing: -.015em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 3px; }
::selection { background: var(--accent); color: #fff; }

/* ---------- 3. Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: var(--section-y); }
.section--soft { background: var(--bg-soft); }
.section--dark { background: var(--bg-dark); color: #fff; }
.section-head { max-width: 720px; margin-block-end: clamp(32px, 4vw, 52px); }
.section-head--center { margin-inline: auto; text-align: center; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-block-end: 14px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--accent);
  flex: none;
}
.section--dark .eyebrow { color: #ffb37a; }
.section--dark .eyebrow::before { background: #ffb37a; }
html[dir="rtl"] .eyebrow { letter-spacing: .04em; }

.h-section { font-size: clamp(26px, 3.4vw, 40px); }
.h-hero { font-size: clamp(32px, 5.2vw, 60px); letter-spacing: -.03em; }
.lead { font-size: clamp(16px, 1.4vw, 18.5px); color: var(--muted); }
.section--dark .lead { color: #b9c7d6; }

/* ---------- 4. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 26px;
  border-radius: var(--radius-s);
  border: 1.5px solid transparent;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  transition: background-color .18s, color .18s, border-color .18s, transform .18s, box-shadow .18s;
  white-space: nowrap;
}
.btn svg { flex: none; }
.btn--primary { background: var(--accent); color: #fff; box-shadow: 0 6px 18px rgba(242, 106, 27, .28); }
.btn--primary:hover { background: var(--accent-dark); transform: translateY(-1px); box-shadow: 0 10px 24px rgba(242, 106, 27, .34); }
.btn--solid { background: var(--brand); color: #fff; }
.btn--solid:hover { background: var(--brand-dark); transform: translateY(-1px); }
.btn--ghost { border-color: rgba(255, 255, 255, .55); color: #fff; }
.btn--ghost:hover { background: rgba(255, 255, 255, .14); border-color: #fff; }
.btn--outline { border-color: var(--line); color: var(--ink); background: #fff; }
.btn--outline:hover { border-color: var(--brand); color: var(--brand); }
.btn--lg { padding: 16px 34px; font-size: 16px; }
.btn--block { width: 100%; }

.textlink {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 600;
  font-size: 15px;
  color: var(--brand);
  transition: gap .18s, color .18s;
}
.textlink:hover { gap: 12px; color: var(--accent); }
html[dir="rtl"] .textlink svg { transform: scaleX(-1); }

/* ---------- 5. Top bar ---------- */
.topbar {
  background: var(--ink);
  color: #c9d6e3;
  font-size: 13px;
  border-block-end: 1px solid rgba(255, 255, 255, .08);
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 40px;
}
.topbar__list { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.topbar__list a, .topbar__item { display: inline-flex; align-items: center; gap: 7px; color: #c9d6e3; }
.topbar__list a:hover { color: #fff; }
.topbar svg { flex: none; opacity: .8; }
.lang { display: flex; align-items: center; gap: 4px; }
.lang a {
  padding: 2px 9px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: .04em;
}
.lang a:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.lang a[aria-current="true"] { background: var(--accent); color: #fff; }

/* ---------- 6. Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(140%) blur(10px);
  border-block-end: 1px solid var(--line);
  transition: box-shadow .2s;
}
.header.is-scrolled { box-shadow: 0 6px 24px rgba(10, 28, 46, .08); }
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 74px;
}
.logo { display: inline-flex; align-items: center; gap: 11px; flex: none; }
.logo__mark {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  background: linear-gradient(140deg, var(--brand) 0%, var(--brand-dark) 100%);
  border-radius: 9px;
  color: #fff;
  flex: none;
}
.logo__text { display: flex; flex-direction: column; line-height: 1.15; }
.logo__name { font-size: 17px; font-weight: 800; letter-spacing: .06em; color: var(--ink); }
.logo__sub { font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
html[dir="rtl"] .logo__name { letter-spacing: 0; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav__item { position: relative; }
.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 15px;
  border-radius: var(--radius-s);
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-soft);
  transition: color .15s, background-color .15s;
}
.nav__link:hover { color: var(--brand); background: var(--brand-light); }
.nav__link[aria-current="page"] { color: var(--brand); }
.nav__link[aria-current="page"]::after {
  content: "";
  position: absolute;
  inset-block-end: 2px;
  inset-inline-start: 15px;
  inset-inline-end: 15px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}
.nav__sub {
  position: absolute;
  inset-block-start: calc(100% + 6px);
  inset-inline-start: 0;
  min-width: 268px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-m);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .18s, transform .18s, visibility .18s;
}
.nav__item:hover .nav__sub,
.nav__item:focus-within .nav__sub { opacity: 1; visibility: visible; transform: translateY(0); }
.nav__sub a {
  display: block;
  padding: 9px 12px;
  border-radius: 6px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-soft);
}
.nav__sub a:hover { background: var(--brand-light); color: var(--brand); }
.header__cta { display: flex; align-items: center; gap: 10px; flex: none; }
.header__phone { display: none; }

/* mobile menu */
.burger {
  display: none;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  color: var(--ink);
}
.burger__bars { position: relative; width: 20px; height: 14px; }
.burger__bars span {
  position: absolute; inset-inline: 0;
  height: 2px; background: currentColor; border-radius: 2px;
  transition: transform .22s, opacity .18s, top .22s;
}
.burger__bars span:nth-child(1) { top: 0; }
.burger__bars span:nth-child(2) { top: 6px; }
.burger__bars span:nth-child(3) { top: 12px; }
.burger[aria-expanded="true"] .burger__bars span:nth-child(1) { top: 6px; transform: rotate(45deg); }
.burger[aria-expanded="true"] .burger__bars span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] .burger__bars span:nth-child(3) { top: 6px; transform: rotate(-45deg); }

.mobile-nav {
  display: none;
  border-block-start: 1px solid var(--line);
  background: #fff;
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
}
.mobile-nav.is-open { max-height: 78vh; overflow-y: auto; }
.mobile-nav__inner { padding-block: 12px 24px; }
.mobile-nav a {
  display: block;
  padding: 12px 4px;
  border-block-end: 1px solid var(--line);
  font-size: 16px;
  font-weight: 600;
}
.mobile-nav a:hover { color: var(--brand); }
.mobile-nav .mobile-nav__sub a { padding-inline-start: 18px; font-size: 14.5px; font-weight: 500; color: var(--muted); }
.mobile-nav .btn { margin-block-start: 18px; }

/* ---------- 7. Hero slider ---------- */
.hero {
  position: relative;
  background: var(--ink);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.hero__slides { position: relative; height: clamp(480px, 72vh, 720px); }
.hero__slide {
  position: absolute;
  inset: 0;
  display: grid;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity .9s ease, visibility .9s;
}
.hero__slide.is-active { opacity: 1; visibility: visible; z-index: 1; }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__scrim {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(to right, rgba(6, 20, 34, .92) 0%, rgba(6, 20, 34, .72) 42%, rgba(6, 20, 34, .34) 100%);
}
html[dir="rtl"] .hero__scrim {
  background:
    linear-gradient(to left, rgba(6, 20, 34, .92) 0%, rgba(6, 20, 34, .72) 42%, rgba(6, 20, 34, .34) 100%);
}
.hero__content { padding-block: 60px; max-width: 680px; }
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #dfe8f2;
  margin-block-end: 20px;
  background: rgba(255, 255, 255, .06);
}
.hero__badge b { color: #ffb37a; }
.hero h1, .hero .h-hero { color: #fff; }
.hero__sub {
  margin-block: 20px 32px;
  font-size: clamp(16px, 1.5vw, 19px);
  color: #cddaea;
  max-width: 580px;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__usp {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin-block-start: 34px;
  padding-block-start: 24px;
  border-block-start: 1px solid rgba(255, 255, 255, .16);
  font-size: 13.5px;
  color: #c2d1e0;
}
.hero__usp li { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.hero__usp svg { color: var(--accent); flex: none; }

.hero__nav {
  position: absolute;
  inset-block-end: 34px;
  inset-inline-end: var(--gutter);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 3;
}
.hero__dots { display: flex; gap: 8px; }
.hero__dot {
  width: 34px; height: 4px;
  border: 0; padding: 0;
  background: rgba(255, 255, 255, .34);
  border-radius: 99px;
  transition: background-color .2s, width .2s;
}
.hero__dot.is-active { background: var(--accent); width: 54px; }
.hero__arrow {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border: 1px solid rgba(255, 255, 255, .34);
  background: rgba(255, 255, 255, .08);
  color: #fff;
  border-radius: 50%;
  transition: background-color .18s, border-color .18s;
}
.hero__arrow:hover { background: var(--accent); border-color: var(--accent); }
[data-slide-prev] svg { transform: scaleX(-1); }
html[dir="rtl"] [data-slide-prev] svg { transform: none; }
html[dir="rtl"] [data-slide-next] svg { transform: scaleX(-1); }

/* ---------- 8. Trust strip ---------- */
.trust { background: #fff; border-block-end: 1px solid var(--line); }
.trust__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.trust__item {
  padding: 26px 20px;
  text-align: center;
  border-inline-start: 1px solid var(--line);
}
.trust__item:first-child { border-inline-start: 0; }
.trust__num {
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--brand);
  line-height: 1;
}
.trust__num span { color: var(--accent); }
.trust__num .trust__unit {
  font-size: .5em;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0;
  margin-inline-start: 2px;
}
.trust__label { margin-block-start: 8px; font-size: 13.5px; color: var(--muted); font-weight: 500; }

/* ---------- 9. Category cards ---------- */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
  gap: 22px;
}
.cat-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  overflow: hidden;
  transition: transform .22s, box-shadow .22s, border-color .22s;
}
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-m); border-color: #cfd9e6; }
.cat-card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-soft); }
.cat-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.cat-card:hover .cat-card__media img { transform: scale(1.05); }
.cat-card__body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.cat-card__title { font-size: 18.5px; font-weight: 700; }
.cat-card__desc { font-size: 14.5px; color: var(--muted); flex: 1; }
.cat-card__meta {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: .04em;
  text-transform: uppercase;
}

/* ---------- 10. Feature grid ---------- */
.feat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}
.feat {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: box-shadow .2s, transform .2s;
}
.feat:hover { box-shadow: var(--shadow-s); transform: translateY(-2px); }
.feat__icon {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 10px;
  background: var(--brand-light);
  color: var(--brand);
  margin-block-end: 18px;
}
.feat h3 { font-size: 17px; margin-block-end: 8px; }
.feat p { font-size: 14.5px; color: var(--muted); }
.section--dark .feat { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .12); }
.section--dark .feat p { color: #b9c7d6; }
.section--dark .feat__icon { background: rgba(242, 106, 27, .16); color: #ffb37a; }

/* ---------- 11. Split (image + text) ---------- */
.split {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(28px, 5vw, 68px);
  align-items: center;
}
.split--reverse .split__media { order: 2; }
.split__media {
  position: relative;
  border-radius: var(--radius-l);
  overflow: hidden;
  box-shadow: var(--shadow-m);
  aspect-ratio: 4 / 3;
}
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split__badge {
  position: absolute;
  inset-block-end: 18px;
  inset-inline-start: 18px;
  background: #fff;
  border-radius: var(--radius);
  padding: 14px 18px;
  box-shadow: var(--shadow-m);
  display: flex;
  align-items: center;
  gap: 12px;
}
.split__badge b { display: block; font-size: 22px; line-height: 1; color: var(--brand); }
.split__badge span { font-size: 12px; color: var(--muted); }
.checklist { display: grid; gap: 12px; margin-block-start: 24px; }
.checklist li { display: flex; gap: 11px; font-size: 15px; color: var(--ink-soft); }
.checklist svg { flex: none; color: var(--accent); margin-block-start: 3px; }

/* ---------- 12. Certifications ---------- */
.cert-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}
.cert {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 22px;
  min-width: 168px;
}
.cert__mark {
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--brand-light);
  color: var(--brand);
  font-size: 11px;
  font-weight: 800;
  flex: none;
}
.cert__name { font-size: 14px; font-weight: 700; }
.cert__desc { font-size: 12px; color: var(--muted); }

/* ---------- 13. Testimonials ---------- */
.quote-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 20px;
}
.quote {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.quote__stars { display: flex; gap: 3px; color: var(--accent); }
.quote__text { font-size: 15px; color: var(--ink-soft); flex: 1; }
.quote__who { display: flex; align-items: center; gap: 12px; padding-block-start: 16px; border-block-start: 1px solid var(--line); }
.quote__avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  display: grid; place-items: center;
  font-weight: 700; font-size: 14px;
  flex: none;
}
.quote__name { font-size: 14px; font-weight: 700; }
.quote__role { font-size: 12.5px; color: var(--muted); }

/* ---------- 14. CTA band ---------- */
.cta-band {
  position: relative;
  background: linear-gradient(120deg, var(--brand-dark) 0%, var(--brand) 58%, #16578f 100%);
  color: #fff;
  overflow: hidden;
}
.cta-band::after {
  content: "";
  position: absolute;
  inset-block-start: -40%;
  inset-inline-end: -10%;
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(242, 106, 27, .34), transparent 68%);
  pointer-events: none;
}
.cta-band__inner {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(28px, 4vw, 60px);
  align-items: center;
  padding-block: var(--section-y);
  position: relative;
  z-index: 1;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: #cfdcea; margin-block-start: 14px; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-block-start: 26px; }

/* ---------- 15. Form ---------- */
.form-card {
  background: #fff;
  border-radius: var(--radius-l);
  padding: clamp(22px, 3vw, 34px);
  box-shadow: var(--shadow-l);
  color: var(--ink);
}
.form-card__title { font-size: 20px; margin-block-end: 6px; }
.form-card__hint { font-size: 13.5px; color: var(--muted); margin-block-end: 20px; }
.form-grid { display: grid; gap: 14px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 13px; font-weight: 600; color: var(--ink-soft); }
.field label .req { color: var(--accent); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid #d6dde7;
  border-radius: var(--radius-s);
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  background: #fff;
  transition: border-color .16s, box-shadow .16s;
}
.field textarea { min-height: 106px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(14, 76, 146, .12);
}
.field input::placeholder, .field textarea::placeholder { color: #9aa8b8; }
.field__error { font-size: 12.5px; color: #c0392b; display: none; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #c0392b; }
.field.has-error .field__error { display: block; }
.hp-field { position: absolute; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: 12.5px; color: var(--muted); margin-block-start: 4px; }
.form-status {
  display: none;
  padding: 13px 15px;
  border-radius: var(--radius-s);
  font-size: 14px;
  margin-block-start: 6px;
}
.form-status.is-ok { display: block; background: #e8f7ee; color: #1c6b3f; border: 1px solid #b6e3c8; }
.form-status.is-err { display: block; background: #fdecea; color: #a3271a; border: 1px solid #f5c2bb; }

/* ---------- 16. Breadcrumb ---------- */
.crumb { background: var(--bg-soft); border-block-end: 1px solid var(--line); }
.crumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding-block: 13px;
  font-size: 13px;
  color: var(--muted);
}
.crumb__list a:hover { color: var(--brand); }
.crumb__sep { opacity: .5; }
.crumb__list [aria-current="page"] { color: var(--ink-soft); font-weight: 600; }

/* ---------- 17. Page hero (inner pages) ---------- */
.pagehero {
  position: relative;
  background: var(--ink);
  color: #fff;
  overflow: hidden;
}
.pagehero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .38; }
.pagehero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(6, 20, 34, .9), rgba(6, 20, 34, .55));
}
html[dir="rtl"] .pagehero::after {
  background: linear-gradient(to left, rgba(6, 20, 34, .9), rgba(6, 20, 34, .55));
}
.pagehero__inner {
  position: relative;
  z-index: 1;
  padding-block: clamp(46px, 6vw, 80px);
  max-width: 780px;
}
.pagehero h1 { color: #fff; font-size: clamp(27px, 3.8vw, 44px); }
.pagehero p { color: #c8d7e6; margin-block-start: 14px; font-size: clamp(15px, 1.4vw, 17.5px); }

/* ---------- 18. Product cards ---------- */
.prod-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(258px, 1fr));
  gap: 22px;
}
.prod-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.prod-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-m); border-color: #cfd9e6; }
.prod-card__media { aspect-ratio: 1 / 1; background: var(--bg-soft); overflow: hidden; }
.prod-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.prod-card:hover .prod-card__media img { transform: scale(1.06); }
.prod-card__body { padding: 18px; display: flex; flex-direction: column; gap: 7px; flex: 1; }
.prod-card__model { font-size: 12px; font-weight: 700; letter-spacing: .08em; color: var(--accent); text-transform: uppercase; }
.prod-card__name { font-size: 16.5px; font-weight: 700; }
.prod-card__desc { font-size: 13.8px; color: var(--muted); flex: 1; }
.prod-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-block-start: 4px; }
.prod-card__foot .textlink { font-size: 14px; }

/* ---------- 19. Product detail ---------- */
.pdp { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(26px, 4vw, 56px); align-items: start; }
.pdp__gallery { border: 1px solid var(--line); border-radius: var(--radius-l); overflow: hidden; background: var(--bg-soft); }
.pdp__gallery img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.pdp__tag {
  display: inline-block;
  padding: 5px 12px;
  background: var(--brand-light);
  color: var(--brand);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-block-end: 14px;
}
.pdp h1 { font-size: clamp(24px, 3vw, 34px); }
.pdp__model { margin-block-start: 8px; font-size: 14px; color: var(--muted); }
.pdp__summary { margin-block: 18px; font-size: 15.5px; color: var(--ink-soft); }
.pdp__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-block: 24px; }
.pdp__quick { display: grid; gap: 10px; padding: 18px; background: var(--bg-soft); border-radius: var(--radius); }
.pdp__quick-row { display: flex; gap: 10px; font-size: 14px; }
.pdp__quick-row dt { min-width: 110px; color: var(--muted); font-weight: 600; }
.pdp__quick-row dd { margin: 0; color: var(--ink-soft); }

.spec-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.spec-table th, .spec-table td { padding: 12px 14px; border-block-end: 1px solid var(--line); text-align: start; vertical-align: top; }
.spec-table th { width: 40%; font-weight: 600; color: var(--muted); background: var(--bg-soft); }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-block-end: 0; }

.detail-block { margin-block-end: clamp(34px, 4vw, 56px); }
.detail-block h2 { font-size: clamp(21px, 2.4vw, 28px); margin-block-end: 18px; }

/* ---------- 20. Prose ---------- */
.prose { max-width: 780px; }
.prose h2 { font-size: clamp(21px, 2.6vw, 29px); margin-block: 34px 14px; }
.prose h3 { font-size: 18px; margin-block: 26px 10px; }
.prose p { margin-block-end: 14px; color: var(--ink-soft); }
.prose ul { display: grid; gap: 9px; margin-block-end: 16px; }
.prose ul li { position: relative; padding-inline-start: 20px; color: var(--ink-soft); }
.prose ul li::before {
  content: "";
  position: absolute;
  inset-inline-start: 4px; inset-block-start: 10px;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

/* ---------- 21. Contact page ---------- */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(26px, 4vw, 56px); align-items: start; }
.info-list { display: grid; gap: 18px; }
.info {
  display: flex;
  gap: 14px;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.info__icon {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 9px;
  background: var(--brand-light);
  color: var(--brand);
  flex: none;
}
.info__label { font-size: 12.5px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.info__value { font-size: 15.5px; font-weight: 600; margin-block-start: 3px; word-break: break-word; }
.info__value a:hover { color: var(--brand); }

/* ---------- 22. Footer ---------- */
.footer { background: var(--ink); color: #a9bacb; font-size: 14px; }
.footer__top {
  display: grid;
  grid-template-columns: 1.4fr .8fr .8fr 1.1fr;
  gap: 36px;
  padding-block: clamp(40px, 5vw, 64px);
}
.footer__brand .logo__name { color: #fff; }
.footer__brand .logo__sub { color: #7f93a8; }
.footer__about { margin-block: 16px; line-height: 1.7; font-size: 13.8px; }
.footer h3 { color: #fff; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; margin-block-end: 16px; }
.footer__links { display: grid; gap: 10px; }
.footer__links a:hover { color: #fff; padding-inline-start: 3px; transition: padding .15s; }
.footer__contact { display: grid; gap: 12px; }
.footer__contact li { display: flex; gap: 10px; font-size: 13.8px; line-height: 1.55; }
.footer__contact svg { flex: none; margin-block-start: 3px; color: var(--accent); }
.footer__contact a:hover { color: #fff; }
.socials { display: flex; gap: 9px; margin-block-start: 18px; }
.socials a {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 8px;
  color: #c3d2e0;
  transition: background-color .18s, color .18s, border-color .18s;
}
.socials a:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.footer__bottom {
  border-block-start: 1px solid rgba(255, 255, 255, .1);
  padding-block: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: #7f93a8;
}
.footer__bottom a:hover { color: #fff; }

/* ---------- 23. WhatsApp float ---------- */
.wa-float {
  position: fixed;
  inset-block-end: 22px;
  inset-inline-end: 22px;
  z-index: 80;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #25d366;
  color: #fff;
  padding: 13px 19px 13px 15px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14.5px;
  box-shadow: 0 10px 26px rgba(37, 211, 102, .36);
  transition: transform .18s, box-shadow .18s;
}
.wa-float:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(37, 211, 102, .44); }
.wa-float svg { flex: none; }

/* ---------- 24. Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- 25. 404 ---------- */
.err404 { text-align: center; padding-block: clamp(70px, 12vw, 140px); }
.err404__code {
  font-size: clamp(76px, 16vw, 150px);
  font-weight: 900;
  line-height: .9;
  letter-spacing: -.05em;
  background: linear-gradient(120deg, var(--brand), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- 26. Responsive ---------- */
@media (max-width: 1080px) {
  .footer__top { grid-template-columns: 1fr 1fr; }
  .cta-band__inner { grid-template-columns: 1fr; }
}
@media (max-width: 940px) {
  .nav, .header__cta .btn { display: none; }
  .header__cta .header__phone { display: none; }
  .burger { display: inline-flex; }
  .mobile-nav { display: block; }
  .split, .pdp, .contact-grid { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
  .trust__grid { grid-template-columns: repeat(2, 1fr); }
  .trust__item:nth-child(odd) { border-inline-start: 0; }
  .trust__item:nth-child(-n+2) { border-block-end: 1px solid var(--line); }
  .topbar__list .topbar__item--hide { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .logo__sub { display: none; }
  .header__inner { gap: 12px; min-height: 64px; }
  .hero__slides { height: auto; min-height: 560px; }
  .hero__slide { position: relative; display: none; }
  .hero__slide.is-active { display: grid; }
  .hero__content { padding-block: 48px 96px; }
  .hero__nav { inset-block-end: 22px; }
  .form-row { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; gap: 28px; }
  .pdp__quick-row { flex-direction: column; gap: 2px; }
  .pdp__quick-row dt { min-width: 0; }
  .wa-float span { display: none; }
  .wa-float { padding: 14px; }
  .section-head { margin-block-end: 26px; }
}

/* ---------- 28. RTL adjustments ---------- */
html[dir="rtl"] .hero__media img,
html[dir="rtl"] .pagehero > img { transform: scaleX(-1); }
html[dir="rtl"] .logo__mark svg { transform: none; }
html[dir="rtl"] .product-card,
html[dir="rtl"] .cat-card { text-align: start; }
[dir="ltr"] { unicode-bidi: isolate; }

/* ---------- 29. Motion preference ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- 29. FAQ accordion ---------- */
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  margin-block-end: 12px;
  overflow: hidden;
}
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 17px 20px;
  font-size: 16px;
  font-weight: 650;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 21px;
  font-weight: 400;
  color: var(--brand);
  line-height: 1;
  flex: none;
  transition: transform .2s;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item summary:hover { background: var(--brand-light); }
.faq-item__body { padding: 0 20px 18px; }
.faq-item__body p { font-size: 15px; color: var(--muted); }

/* ---------- 30. Timeline ---------- */
.timeline {
  position: relative;
  display: grid;
  gap: 0;
  padding-inline-start: 26px;
  border-inline-start: 2px solid var(--line);
}
.milestone {
  position: relative;
  padding-block: 0 26px;
}
.milestone::before {
  content: "";
  position: absolute;
  inset-inline-start: -33px;
  inset-block-start: 5px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--accent);
}
.milestone__year {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  color: var(--accent);
  text-transform: uppercase;
}
.milestone__text { font-size: 15.5px; color: var(--ink-soft); margin-block-start: 4px; }

/* ---------- 31. Process steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 18px;
}
.step {
  position: relative;
  padding: 24px 20px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .04);
}
.step__num {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: .1em;
  color: var(--accent);
  margin-block-end: 10px;
}
.step h3 { font-size: 16px; color: #fff; margin-block-end: 8px; }
.step p { font-size: 14px; color: #b9c7d6; }

/* ---------- 32. Print ---------- */
@media print {
  .header, .topbar, .wa-float, .hero__nav, .footer__bottom { display: none; }
  body { color: #000; }
}
