/* ==========================================================================
   GOLDRING AUTO PARTS — global stylesheet
   Palette: forged gold / seal red on graphite + paper
   Type: Anton (display) · Barlow (text) · Barlow Condensed (labels) · JetBrains Mono (data)
   ========================================================================== */

/* ---------- 1. tokens ---------- */
:root {
  --ink: #12110f;
  --ink-2: #191816;
  --ink-3: #232019;
  --ink-4: #2e2a23;
  --gold: #c79a3b;
  --gold-2: #e3bc69;
  --gold-3: #8c6a22;
  --red: #a81c26;
  --red-2: #c92f2f;
  --paper: #f2f1ed;
  --paper-2: #e8e6e0;
  --white: #ffffff;
  --text: #33302b;
  --text-2: #6a655c;
  --text-inv: #d8d3c9;
  --text-inv-2: #9d968a;
  --line: rgba(18, 17, 15, 0.14);
  --line-soft: rgba(18, 17, 15, 0.07);
  --line-inv: rgba(255, 255, 255, 0.14);
  --shadow: 0 18px 50px -24px rgba(18, 17, 15, 0.4);
  --f-display: "Anton", "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  --f-text: "Barlow", "Helvetica Neue", Arial, sans-serif;
  --f-label: "Barlow Condensed", "Barlow", "Arial Narrow", sans-serif;
  --f-mono: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
  --f-ar: "Noto Kufi Arabic", "Barlow", "Segoe UI", sans-serif;
  --wrap: 1240px;
  --gap: clamp(16px, 2vw, 28px);
  --sec: clamp(56px, 7vw, 104px);
}

/* ---------- 2. reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--f-text);
  font-size: 16px;
  line-height: 1.68;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, figure { margin: 0; }
h1, h2, h3, h4 { font-weight: 400; line-height: 1.1; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
::selection { background: var(--gold); color: var(--ink); }

/* Arabic / RTL */
[dir="rtl"] body, body[dir="rtl"] { font-family: var(--f-ar); }
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3, [dir="rtl"] h4 {
  font-family: var(--f-ar);
  letter-spacing: 0;
  text-transform: none;
  font-weight: 700;
  line-height: 1.35;
}
body.font-ar h1, body.font-ar h2, body.font-ar h3, body.font-ar h4 { font-family: var(--f-ar); letter-spacing: 0; text-transform: none; font-weight: 700; line-height: 1.4; }
body.font-ar { font-family: var(--f-ar); }

/* ---------- 3. layout ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: clamp(18px, 4vw, 40px); }
.section { padding-block: var(--sec); }
.section--tight { padding-block: clamp(40px, 5vw, 68px); }
.section--dark { background: var(--ink); color: var(--text-inv); }
.section--paper2 { background: var(--paper-2); }
.section--hair { border-top: 1px solid var(--line); }
.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; }
.skip-link { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 300; background: var(--gold); color: var(--ink); padding: 10px 18px; font: 600 13px/1 var(--f-label); letter-spacing: .08em; text-transform: uppercase; transition: top .2s; }
.skip-link:focus { top: 12px; }

/* ---------- 4. type ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 600 12px/1 var(--f-label);
  letter-spacing: .22em; text-transform: uppercase; color: var(--gold-3);
}
.eyebrow::before {
  content: ""; width: 12px; height: 12px; border-radius: 50%;
  border: 2px solid var(--gold); flex: none;
}
.section--dark .eyebrow, .hero .eyebrow, .page-hero .eyebrow { color: var(--gold-2); }
h1, h2, .display { font-family: var(--f-display); text-transform: uppercase; letter-spacing: .004em; }
.h2 { font-size: clamp(27px, 3.5vw, 46px); line-height: 1.02; color: var(--ink); max-width: 22ch; }
.section--dark .h2 { color: #fbf8f2; }
.lead { font-size: clamp(15px, 1.15vw, 17.5px); line-height: 1.75; color: var(--text-2); max-width: 62ch; }
.section--dark .lead { color: var(--text-inv-2); }
.sec-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .85fr); gap: clamp(20px, 4vw, 64px); align-items: end; margin-bottom: clamp(32px, 4vw, 56px); }
.sec-head .lead { padding-bottom: 6px; }
.mono { font-family: var(--f-mono); }
.gold { color: var(--gold); }
.rule { height: 1px; background: var(--line); border: 0; margin: 0; }

/* ---------- 5. buttons ---------- */
.btn {
  --bg: var(--gold); --fg: #17140e; --bd: var(--gold);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 26px;
  background: var(--bg); color: var(--fg); border: 1px solid var(--bd);
  font: 600 12.5px/1 var(--f-label); letter-spacing: .14em; text-transform: uppercase;
  border-radius: 1px; transition: background .22s, color .22s, border-color .22s, transform .22s;
}
.btn:hover { --bg: var(--gold-2); --bd: var(--gold-2); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn .ico { width: 16px; height: 16px; flex: none; }
.btn--ghost { --bg: transparent; --fg: #f6f2ea; --bd: rgba(255, 255, 255, .34); }
.btn--ghost:hover { --bg: rgba(255, 255, 255, .08); --bd: var(--gold); --fg: #fff; }
.btn--dark { --bg: var(--ink); --fg: #f7f3ea; --bd: var(--ink); }
.btn--dark:hover { --bg: var(--ink-3); --bd: var(--ink-3); }
.btn--red { --bg: var(--red); --fg: #fff; --bd: var(--red); }
.btn--red:hover { --bg: var(--red-2); --bd: var(--red-2); }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: 11.5px; letter-spacing: .12em; }
.btn--block { width: 100%; }
.btn--wa { --bg: #12866f; --bd: #12866f; --fg: #fff; }
.btn--wa:hover { --bg: #0f9b7f; --bd: #0f9b7f; }
.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font: 600 12px/1 var(--f-label); letter-spacing: .16em; text-transform: uppercase;
  color: var(--ink); border-bottom: 1px solid var(--gold); padding-bottom: 6px;
  transition: gap .2s, color .2s;
}
.link-arrow:hover { gap: 14px; color: var(--gold-3); }
.link-arrow svg { width: 14px; height: 14px; }
[dir="rtl"] .link-arrow svg, body.font-ar .link-arrow svg { transform: scaleX(-1); }

/* ---------- 6. top bar + header ---------- */
.topbar { background: #0d0c0b; color: var(--text-inv-2); font: 500 11.5px/1 var(--f-label); letter-spacing: .14em; text-transform: uppercase; border-bottom: 1px solid rgba(255, 255, 255, .07); }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 38px; }
.topbar-l, .topbar-r { display: flex; align-items: center; gap: 18px; }
.topbar a:hover { color: var(--gold-2); }
.topbar .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }
.lang { display: flex; align-items: center; gap: 2px; }
.lang button {
  padding: 6px 9px; color: var(--text-inv-2); font: 600 11px/1 var(--f-label);
  letter-spacing: .1em; border: 1px solid transparent; transition: color .2s, border-color .2s;
}
.lang button:hover { color: #fff; }
.lang button[aria-pressed="true"] { color: var(--gold); border-color: rgba(199, 154, 59, .5); }

.site-head {
  position: sticky; top: 0; z-index: 120;
  background: rgba(18, 17, 15, .96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(199, 154, 59, .28);
}
.head-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 74px; }
.brand { display: flex; align-items: center; gap: 12px; color: #fff; }
.brand-mark { width: 38px; height: 38px; flex: none; }
.brand-txt { font-family: var(--f-display); font-size: 21px; letter-spacing: .1em; text-transform: uppercase; line-height: 1; }
.brand-txt em { display: block; font-family: var(--f-label); font-style: normal; font-size: 9.5px; letter-spacing: .34em; color: var(--gold); margin-top: 5px; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  position: relative; padding: 10px 14px; color: #ded8cd;
  font: 600 12px/1 var(--f-label); letter-spacing: .14em; text-transform: uppercase;
  transition: color .2s;
}
.nav a::after { content: ""; position: absolute; inset-inline: 14px; bottom: 2px; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.nav a:hover { color: #fff; }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--gold); }
.head-cta { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line-inv); align-items: center; justify-content: center; }
.nav-toggle span { display: block; width: 18px; height: 1.5px; background: #fff; position: relative; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; width: 18px; height: 1.5px; background: #fff; transition: transform .2s; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

/* ---------- 7. hero ---------- */
.hero { position: relative; background: #0b0a09; color: #fff; overflow: hidden; }
.hero-slides { position: absolute; inset: 0; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.1s ease; background-size: cover; background-position: center; transform: scale(1.04); }
.hero-slide.is-active { opacity: 1; animation: heroDrift 14s ease-out forwards; }
@keyframes heroDrift { from { transform: scale(1.04); } to { transform: scale(1.12); } }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(90deg, rgba(9, 8, 7, .93) 0%, rgba(9, 8, 7, .82) 38%, rgba(9, 8, 7, .38) 72%, rgba(9, 8, 7, .55) 100%),
    radial-gradient(120% 90% at 88% 18%, rgba(199, 154, 59, .16), transparent 60%);
}
.hero-ring { position: absolute; z-index: 1; inset-inline-end: -160px; top: 50%; width: 620px; height: 620px; transform: translateY(-50%); opacity: .5; pointer-events: none; }
.hero-inner { position: relative; z-index: 2; padding-block: clamp(72px, 11vw, 138px) clamp(56px, 7vw, 92px); max-width: 760px; }
.hero h1 { font-size: clamp(42px, 7.2vw, 92px); line-height: .92; color: #fff; margin-top: 22px; text-wrap: balance; }
.hero h1 .accent { color: var(--gold); display: block; }
.hero-lead { margin-top: 22px; font-size: clamp(15px, 1.25vw, 18px); line-height: 1.72; color: #cec8bd; max-width: 52ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-rail { position: relative; z-index: 2; display: flex; align-items: center; gap: 18px; padding-bottom: 30px; }
.hero-rail .bars { display: flex; gap: 8px; }
.hero-rail button { width: 46px; height: 3px; background: rgba(255, 255, 255, .26); position: relative; }
.hero-rail button i { position: absolute; inset: 0; background: var(--gold); transform: scaleX(0); transform-origin: left; }
.hero-rail button[aria-selected="true"] i { animation: barFill 6.5s linear forwards; }
@keyframes barFill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.hero-rail .count { font: 500 11px/1 var(--f-mono); letter-spacing: .18em; color: #b8b1a4; }
[dir="rtl"] .hero-rail button i, body.font-ar .hero-rail button i { transform-origin: right; }

/* ---------- 8. stats ---------- */
.stats { background: var(--ink-2); border-top: 1px solid rgba(199, 154, 59, .25); border-bottom: 1px solid rgba(255, 255, 255, .07); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 30px 22px; border-inline-start: 1px solid rgba(255, 255, 255, .1); }
.stat:first-child { border-inline-start: 0; padding-inline-start: 0; }
.stat-num { font-family: var(--f-display); font-size: clamp(30px, 3.4vw, 44px); line-height: 1; color: var(--gold); letter-spacing: .02em; }
.stat-lbl { margin-top: 8px; font: 600 11px/1.5 var(--f-label); letter-spacing: .16em; text-transform: uppercase; color: var(--text-inv-2); }

/* ---------- 9. advantages ---------- */
.adv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.adv-card { position: relative; background: var(--white); border: 1px solid var(--line-soft); padding: clamp(24px, 2.6vw, 34px); overflow: hidden; }
.adv-card::before { content: ""; position: absolute; inset-inline: 0; top: 0; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .3s; }
.adv-card:hover::before { transform: scaleX(1); }
.adv-idx { font: 500 11px/1 var(--f-mono); letter-spacing: .18em; color: var(--gold-3); }
.adv-icon { width: 42px; height: 42px; margin: 22px 0 18px; color: var(--gold-3); }
.adv-card h3 { font-family: var(--f-display); font-size: 21px; text-transform: uppercase; letter-spacing: .02em; color: var(--ink); }
.adv-card p { margin-top: 10px; font-size: 14.5px; color: var(--text-2); line-height: 1.72; }
.adv-card .spec-line { margin-top: 18px; padding-top: 14px; border-top: 1px dashed var(--line); font: 500 11px/1.6 var(--f-mono); color: var(--text-2); letter-spacing: .02em; }

/* ---------- 10. categories ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.cat-card { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--ink-2); border: 1px solid var(--line-soft); }
.cat-card img { width: 100%; height: 100%; object-fit: cover; opacity: .82; transition: transform .6s ease, opacity .4s; }
.cat-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 9, 8, .1) 30%, rgba(10, 9, 8, .86) 100%); }
.cat-card:hover img { transform: scale(1.05); opacity: .95; }
.cat-body { position: absolute; z-index: 2; inset-inline: 22px; bottom: 20px; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.cat-name { font-family: var(--f-display); font-size: clamp(17px, 1.6vw, 21px); text-transform: uppercase; color: #fff; letter-spacing: .03em; line-height: 1.15; }
.cat-count { font: 500 10.5px/1 var(--f-mono); color: var(--gold-2); letter-spacing: .1em; white-space: nowrap; }
.cat-card .cat-go { position: absolute; z-index: 2; inset-inline-end: 18px; top: 18px; width: 34px; height: 34px; border: 1px solid rgba(255, 255, 255, .4); display: grid; place-items: center; color: #fff; opacity: 0; transform: translateY(-6px); transition: opacity .25s, transform .25s; }
.cat-card:hover .cat-go { opacity: 1; transform: none; }

/* ---------- 11. split / reasons ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.split--wide { grid-template-columns: 1.1fr .9fr; }
.frame { position: relative; }
.frame img { width: 100%; aspect-ratio: 4 / 3.2; object-fit: cover; }
.frame::before, .frame::after { content: ""; position: absolute; width: 40px; height: 40px; border: 2px solid var(--gold); }
.frame::before { inset-inline-start: -10px; top: -10px; border-inline-end: 0; border-bottom: 0; }
.frame::after { inset-inline-end: -10px; bottom: -10px; border-inline-start: 0; border-top: 0; }
.frame figcaption { margin-top: 14px; font: 500 11px/1.6 var(--f-mono); letter-spacing: .06em; color: var(--text-2); text-transform: uppercase; }
.reasons { border-top: 1px solid var(--line); }
.reason { display: grid; grid-template-columns: 46px 1fr; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.reason-idx { font: 500 12px/1.9 var(--f-mono); color: var(--gold-3); letter-spacing: .08em; }
.reason h3 { font-size: 17px; font-weight: 600; color: var(--ink); font-family: var(--f-text); }
.reason p { margin-top: 4px; font-size: 14px; color: var(--text-2); line-height: 1.68; }

/* ---------- 12. testimonials ---------- */
.quote-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.quote-card { background: var(--white); border: 1px solid var(--line-soft); padding: clamp(24px, 2.6vw, 34px); display: flex; flex-direction: column; gap: 18px; }
.quote-card::before { content: "\201C"; font-family: var(--f-display); font-size: 54px; line-height: .6; color: var(--gold); height: 22px; }
.quote-card blockquote { margin: 0; font-size: 15px; line-height: 1.78; color: #3b3833; }
.quote-meta { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line-soft); }
.quote-name { font-weight: 600; font-size: 14.5px; color: var(--ink); }
.quote-role { font: 500 11px/1.6 var(--f-mono); letter-spacing: .06em; color: var(--text-2); text-transform: uppercase; margin-top: 4px; }

/* ---------- 13. quote / CTA + forms ---------- */
.cta-sec { position: relative; background: var(--ink); color: var(--text-inv); overflow: hidden; }
.cta-sec::before {
  content: ""; position: absolute; inset-inline-end: -220px; top: -120px; width: 700px; height: 700px; border-radius: 50%;
  border: 1px solid rgba(199, 154, 59, .22); box-shadow: 0 0 0 60px rgba(199, 154, 59, .05), 0 0 0 140px rgba(199, 154, 59, .035);
  pointer-events: none;
}
.cta-grid { position: relative; display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.cta-copy .h2 { color: #fbf8f2; }
.cta-copy p { margin-top: 18px; color: var(--text-inv-2); font-size: 15.5px; max-width: 46ch; }
.promise { display: flex; align-items: center; gap: 14px; margin-top: 30px; padding: 16px 18px; border: 1px solid rgba(199, 154, 59, .4); background: rgba(199, 154, 59, .06); }
.promise strong { font-family: var(--f-display); font-size: 30px; color: var(--gold); line-height: 1; }
.promise span { font-size: 12.5px; line-height: 1.5; color: #cfc9bd; letter-spacing: .02em; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

.form-card { background: var(--paper); color: var(--text); padding: clamp(22px, 2.8vw, 38px); border-top: 3px solid var(--gold); box-shadow: var(--shadow); }
.form-card h3 { font-family: var(--f-display); font-size: 24px; text-transform: uppercase; color: var(--ink); }
.form-card .form-sub { font-size: 13px; color: var(--text-2); margin-top: 6px; }
.form { display: grid; gap: 16px; margin-top: 22px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; }
.field > label { font: 600 10.5px/1 var(--f-label); letter-spacing: .16em; text-transform: uppercase; color: var(--text-2); }
.field .req { color: var(--red); }
input[type="text"], input[type="email"], input[type="tel"], input[type="number"], select, textarea {
  width: 100%; min-height: 46px; padding: 11px 13px; background: #fff;
  border: 1px solid var(--line); border-radius: 0; font-size: 14.5px; color: var(--ink);
  transition: border-color .2s, box-shadow .2s; appearance: none;
}
textarea { min-height: 108px; resize: vertical; }
select { background-image: linear-gradient(45deg, transparent 50%, #777064 50%), linear-gradient(135deg, #777064 50%, transparent 50%); background-position: calc(100% - 18px) 20px, calc(100% - 13px) 20px; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; padding-inline-end: 34px; }
input:focus, select:focus, textarea:focus { outline: 0; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(199, 154, 59, .18); }
.file-field { border: 1px dashed var(--line); background: rgba(255, 255, 255, .6); padding: 14px; }
.file-field input[type="file"] { font-size: 12.5px; width: 100%; }
.file-hint { font-size: 11.5px; line-height: 1.6; color: var(--text-2); margin-top: 8px; }
.form-note { font-size: 11.5px; line-height: 1.65; color: var(--text-2); }
.form-msg { display: none; padding: 14px 16px; border-inline-start: 3px solid var(--gold); background: rgba(199, 154, 59, .1); font-size: 13.5px; }
.form-msg.is-on { display: block; }
.form-msg.is-error { border-color: var(--red); background: rgba(168, 28, 38, .08); }

/* ---------- 14. footer ---------- */
.site-foot { background: #0d0c0b; color: var(--text-inv-2); padding-top: clamp(48px, 6vw, 76px); border-top: 1px solid rgba(199, 154, 59, .22); }
.foot-grid { display: grid; grid-template-columns: 1.5fr .9fr .9fr 1.2fr; gap: clamp(24px, 4vw, 56px); }
.foot-brand .brand { margin-bottom: 16px; }
.foot-brand p { font-size: 13.5px; line-height: 1.75; max-width: 34ch; }
.foot-title { font: 600 11px/1 var(--f-label); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.foot-list { display: grid; gap: 10px; font-size: 13.5px; }
.foot-list a:hover { color: #fff; }
.foot-contact { display: grid; gap: 12px; font-size: 13.5px; }
.foot-contact .mono { font-size: 12.5px; color: #cfc9bd; word-break: break-word; }
.foot-bottom { margin-top: clamp(32px, 4vw, 52px); border-top: 1px solid rgba(255, 255, 255, .08); padding-block: 20px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; font-size: 12px; }
.foot-bottom .legal { display: flex; flex-wrap: wrap; gap: 18px; }
.foot-bottom a:hover { color: var(--gold-2); }

/* ---------- 15. page hero (inner pages) ---------- */
.page-hero { position: relative; background: var(--ink); color: #fff; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset-inline-end: -120px; bottom: -260px; width: 560px; height: 560px; border-radius: 50%; border: 1px solid rgba(199, 154, 59, .25); box-shadow: 0 0 0 46px rgba(199, 154, 59, .05), 0 0 0 110px rgba(199, 154, 59, .03); }
.page-hero .wrap { position: relative; padding-block: clamp(46px, 6vw, 78px) clamp(38px, 5vw, 62px); }
.crumb { display: flex; align-items: center; gap: 8px; font: 500 10.5px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: #8d867a; }
.crumb a:hover { color: var(--gold-2); }
.crumb .sep { color: #4a453d; }
.page-hero h1 { font-size: clamp(34px, 4.6vw, 62px); line-height: .98; margin-top: 18px; color: #fff; }
.page-hero .lead { margin-top: 14px; color: #b6afa3; max-width: 58ch; }

/* ---------- 16. products ---------- */
.toolbar { background: var(--paper); border-bottom: 1px solid var(--line); position: sticky; top: 74px; z-index: 90; }
.toolbar-inner { display: flex; align-items: center; gap: 16px; padding-block: 14px; flex-wrap: wrap; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  min-height: 38px; padding: 0 15px; border: 1px solid var(--line); background: transparent;
  font: 600 11px/1 var(--f-label); letter-spacing: .12em; text-transform: uppercase; color: #4b463e;
  transition: background .2s, color .2s, border-color .2s;
}
.chip:hover { border-color: var(--gold); color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--gold); }
.search { margin-inline-start: auto; position: relative; }
.search input { min-height: 38px; width: 220px; padding-inline-start: 34px; font-size: 13px; background: #fff; }
.search svg { position: absolute; inset-inline-start: 11px; top: 50%; transform: translateY(-50%); width: 15px; height: 15px; color: #8a8477; }
.result-line { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 22px; border-bottom: 1px solid var(--line); font-size: 12.5px; color: var(--text-2); }
.result-line .mono { font-size: 11.5px; letter-spacing: .08em; }
.pgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); padding-block: clamp(28px, 3.4vw, 44px); }
.pcard { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line-soft); transition: box-shadow .3s, transform .3s; }
.pcard:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.pcard-media { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: #14130f; }
.pcard-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.pcard:hover .pcard-media img { transform: scale(1.06); }
.pno { position: absolute; inset-inline-start: 12px; top: 12px; z-index: 2; padding: 6px 9px; background: rgba(15, 14, 12, .82); border: 1px solid rgba(199, 154, 59, .55); color: var(--gold-2); font: 500 10px/1 var(--f-mono); letter-spacing: .1em; }
.pflag { position: absolute; inset-inline-end: 12px; top: 12px; z-index: 2; padding: 6px 9px; background: var(--red); color: #fff; font: 600 9.5px/1 var(--f-label); letter-spacing: .14em; text-transform: uppercase; }
.pcard-body { display: flex; flex-direction: column; gap: 12px; padding: 18px 18px 20px; flex: 1; }
.pcard h3 { font-size: 16.5px; font-weight: 600; font-family: var(--f-text); color: var(--ink); line-height: 1.35; }
.pcard .pmeta { display: grid; gap: 6px; font: 500 11px/1.5 var(--f-mono); color: var(--text-2); letter-spacing: .01em; }
.pcard .pmeta span { display: block; }
.pcard .pmeta b { display: block; color: #948d80; font-weight: 500; min-width: 0; text-transform: uppercase; font-size: 9.5px; letter-spacing: .1em; margin-bottom: 2px; }
.pcard-foot { display: flex; gap: 8px; margin-top: auto; padding-top: 4px; }
.pcard-foot .btn { flex: 1; min-height: 40px; font-size: 11px; }
.empty { padding: 70px 20px; text-align: center; color: var(--text-2); }
.empty strong { display: block; font-family: var(--f-display); font-size: 22px; text-transform: uppercase; color: var(--ink); margin-bottom: 8px; }
.load-more { display: flex; justify-content: center; padding-bottom: 12px; }

/* product modal */
.modal { position: fixed; inset: 0; z-index: 200; display: none; }
.modal.is-open { display: block; }
.modal-veil { position: absolute; inset: 0; background: rgba(10, 9, 8, .72); backdrop-filter: blur(3px); }
.modal-card { position: relative; z-index: 1; width: min(980px, calc(100% - 32px)); margin: 5vh auto; max-height: 90vh; overflow: auto; background: var(--paper); display: grid; grid-template-columns: 1fr 1.05fr; }
.modal-media { background: #14130f; }
.modal-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 1 / 1; }
.modal-body { padding: clamp(22px, 3vw, 36px); }
.modal-close { position: absolute; inset-inline-end: 12px; top: 12px; z-index: 2; width: 38px; height: 38px; background: rgba(18, 17, 15, .8); color: #fff; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .25); }
.modal-close:hover { background: var(--red); border-color: var(--red); }
.modal-body h2 { font-size: clamp(22px, 2.4vw, 30px); text-transform: uppercase; color: var(--ink); margin-top: 10px; }
.modal-body .modal-desc { margin-top: 14px; font-size: 14px; line-height: 1.75; color: var(--text-2); }
.spec-table { width: 100%; border-collapse: collapse; margin-top: 20px; font-size: 13px; }
.spec-table th, .spec-table td { text-align: start; padding: 10px 0; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
.spec-table th { width: 40%; font: 600 10px/1.6 var(--f-label); letter-spacing: .14em; text-transform: uppercase; color: #8d8779; }
.spec-table td { color: var(--ink); font-family: var(--f-mono); font-size: 12px; }
.modal-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }

/* ---------- 17. about ---------- */
.story-fig img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.story-txt p + p { margin-top: 14px; }
.story-facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; margin-top: 30px; background: var(--line); border: 1px solid var(--line); }
.story-fact { background: var(--paper); padding: 18px 20px; }
.story-fact .mono { font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-2); }
.story-fact strong { display: block; font-family: var(--f-display); font-size: 26px; color: var(--ink); margin-top: 6px; letter-spacing: .02em; }

.timeline { position: relative; display: grid; gap: 0; margin-top: 10px; }
.tl-item { display: grid; grid-template-columns: 128px 1fr; gap: clamp(16px, 3vw, 44px); padding-block: 26px; border-top: 1px solid var(--line); position: relative; }
.tl-year { font-family: var(--f-display); font-size: clamp(24px, 2.4vw, 32px); color: var(--gold-3); letter-spacing: .04em; display: flex; align-items: center; gap: 12px; }
.tl-year::after { content: ""; width: 9px; height: 9px; border-radius: 50%; border: 2px solid var(--gold); flex: none; }
.tl-item h3 { font-size: 17px; font-weight: 600; color: var(--ink); font-family: var(--f-text); }
.tl-item p { margin-top: 6px; font-size: 14px; color: var(--text-2); line-height: 1.72; max-width: 62ch; }

.gallery { display: grid; grid-template-columns: 1.35fr 1fr 1fr; grid-template-rows: repeat(2, 1fr); gap: 12px; }
.gallery figure { position: relative; overflow: hidden; background: var(--ink-2); }
.gallery figure:first-child { grid-row: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s; }
.gallery figure:hover img { transform: scale(1.04); }
.gallery figcaption { position: absolute; inset-inline: 14px; bottom: 12px; color: #fff; font: 500 10.5px/1.4 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; text-shadow: 0 1px 8px rgba(0, 0, 0, .8); }
.gallery figure::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(10, 9, 8, .75)); }

.qc-flow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; margin-top: 8px; border-top: 1px solid var(--line); }
.qc-step { padding: 26px 20px 26px 0; position: relative; border-inline-end: 1px solid var(--line); }
.qc-step:last-child { border-inline-end: 0; }
.qc-num { font: 500 11px/1 var(--f-mono); color: var(--gold-3); letter-spacing: .16em; }
.qc-step h3 { margin-top: 12px; font-size: 15.5px; font-weight: 600; color: var(--ink); font-family: var(--f-text); }
.qc-step p { margin-top: 8px; font-size: 13px; line-height: 1.68; color: var(--text-2); }
.qc-step::after { content: ""; position: absolute; inset-inline-start: 0; top: -1px; width: 0; height: 2px; background: var(--gold); transition: width .4s; }
.qc-step:hover::after { width: 100%; }

.cert-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); }
.cert { border: 1px solid rgba(199, 154, 59, .5); background: rgba(199, 154, 59, .04); padding: 26px 22px; display: flex; flex-direction: column; gap: 8px; }
.cert-code { font-family: var(--f-display); font-size: 20px; letter-spacing: .06em; color: var(--gold-2); text-transform: uppercase; }
.cert-name { font-size: 13.5px; color: #f0ebe1; font-weight: 500; }
.cert-note { font-size: 12px; color: var(--text-inv-2); line-height: 1.6; margin-top: auto; padding-top: 10px; border-top: 1px solid rgba(255, 255, 255, .1); }

.oem-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.oem-item { display: grid; grid-template-columns: 24px 1fr; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--text-2); }
.oem-item svg { width: 16px; height: 16px; color: var(--gold-3); margin-top: 3px; }
.oem-item strong { color: var(--ink); font-weight: 600; }

/* ---------- 18. contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.35fr .85fr; gap: clamp(28px, 4.5vw, 64px); align-items: start; }
.info-card { background: #fff; border: 1px solid var(--line-soft); padding: 24px; display: grid; gap: 18px; }
.info-row { display: grid; grid-template-columns: 34px 1fr; gap: 12px; }
.info-row svg { width: 18px; height: 18px; color: var(--gold-3); margin-top: 4px; }
.info-row dt { font: 600 10px/1 var(--f-label); letter-spacing: .16em; text-transform: uppercase; color: #8d8779; }
.info-row dd { margin: 5px 0 0; font-size: 13.5px; line-height: 1.65; color: var(--ink); }
.info-row dd a:hover { color: var(--gold-3); text-decoration: underline; }
.map-wrap { margin-top: clamp(24px, 3vw, 40px); border: 1px solid var(--line); background: var(--paper-2); }
.map-wrap iframe { width: 100%; height: 380px; border: 0; filter: saturate(.75) contrast(1.02); }
.map-note { font-size: 11.5px; color: var(--text-2); padding: 12px 14px; border-top: 1px solid var(--line); }

/* ---------- 19. prose (privacy) ---------- */
.prose { max-width: 76ch; }
.prose h2 { font-size: clamp(20px, 2.2vw, 26px); margin-top: 40px; color: var(--ink); text-transform: uppercase; }
.prose h3 { font-size: 16px; font-weight: 600; margin-top: 26px; color: var(--ink); font-family: var(--f-text); }
.prose p, .prose li { font-size: 14.5px; line-height: 1.8; color: var(--text-2); }
.prose p { margin-top: 12px; }
.prose ul { margin-top: 12px; display: grid; gap: 8px; }
.prose ul li { padding-inline-start: 18px; position: relative; }
.prose ul li::before { content: ""; position: absolute; inset-inline-start: 0; top: 11px; width: 6px; height: 6px; border: 1px solid var(--gold); border-radius: 50%; }
.prose a { color: var(--gold-3); text-decoration: underline; }
.toc { background: #fff; border: 1px solid var(--line-soft); padding: 22px 24px; margin-bottom: 34px; }
.toc ol { display: grid; gap: 8px; counter-reset: t; }
.toc li { font-size: 13px; counter-increment: t; display: flex; gap: 10px; }
.toc li::before { content: counter(t, decimal-leading-zero); font-family: var(--f-mono); font-size: 11px; color: var(--gold-3); }

/* ---------- 20. floating: cookie, whatsapp, chat ---------- */
.cookie {
  position: fixed; z-index: 180; inset-inline: 16px; bottom: 16px; margin-inline: auto; max-width: 900px;
  background: rgba(15, 14, 12, .97); color: #d7d1c6; border: 1px solid rgba(199, 154, 59, .45);
  padding: 18px 22px; display: none; gap: 18px; align-items: center; flex-wrap: wrap; box-shadow: 0 20px 50px -20px #000;
}
.cookie.is-on { display: flex; }
.cookie p { font-size: 12.5px; line-height: 1.65; margin: 0; flex: 1 1 320px; }
.cookie a { color: var(--gold-2); text-decoration: underline; }
.cookie-actions { display: flex; gap: 10px; }
.cookie .btn { min-height: 38px; font-size: 10.5px; padding: 0 16px; }

.wa-float { position: fixed; z-index: 170; inset-inline-end: 22px; bottom: 22px; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.wa-btn, .chat-btn { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(199, 154, 59, .6); background: var(--ink); color: var(--gold); box-shadow: 0 12px 26px -12px rgba(0, 0, 0, .7); position: relative; }
.wa-btn svg, .chat-btn svg { width: 24px; height: 24px; }
.wa-btn::after { content: ""; position: absolute; inset: -1px; border-radius: 50%; border: 1px solid rgba(199, 154, 59, .5); animation: pulse 2.6s ease-out infinite; }
@keyframes pulse { 0% { transform: scale(1); opacity: .9; } 70% { transform: scale(1.35); opacity: 0; } 100% { opacity: 0; } }
.wa-btn:hover, .chat-btn:hover { background: #1e1b16; }
.wa-label { font: 600 9.5px/1 var(--f-label); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); background: rgba(15, 14, 12, .9); padding: 5px 8px; }

.chat-panel { position: fixed; z-index: 175; inset-inline-end: 22px; bottom: 92px; width: min(340px, calc(100vw - 32px)); background: var(--paper); border: 1px solid var(--line); box-shadow: 0 26px 60px -24px rgba(0, 0, 0, .55); display: none; overflow: hidden; }
.chat-panel.is-on { display: block; }
.chat-head { background: var(--ink); color: #fff; padding: 14px 16px; display: flex; align-items: center; gap: 10px; }
.chat-head strong { font: 600 12px/1 var(--f-label); letter-spacing: .12em; text-transform: uppercase; }
.chat-head .dot { width: 7px; height: 7px; border-radius: 50%; background: #3fbf8f; }
.chat-head button { margin-inline-start: auto; color: #b9b3a7; }
.chat-log { padding: 14px 16px; display: grid; gap: 10px; max-height: 240px; overflow: auto; }
.chat-msg { padding: 9px 12px; font-size: 12.5px; line-height: 1.6; background: #fff; border: 1px solid var(--line-soft); max-width: 88%; }
.chat-msg.me { background: var(--ink); color: #eee; border-color: var(--ink); justify-self: end; }
.chat-quick { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 16px 12px; }
.chat-quick button { font: 600 10px/1 var(--f-label); letter-spacing: .08em; text-transform: uppercase; border: 1px solid var(--line); padding: 7px 9px; color: #534e46; }
.chat-quick button:hover { border-color: var(--gold); color: var(--ink); }
.chat-form { display: flex; gap: 8px; padding: 12px 16px; border-top: 1px solid var(--line); background: #fff; }
.chat-form input { min-height: 38px; font-size: 13px; }
.chat-form button { width: 40px; height: 38px; background: var(--gold); color: var(--ink); display: grid; place-items: center; flex: none; }

/* ---------- 21. reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- 22. responsive ---------- */
@media (max-width: 1080px) {
  .head-inner { min-height: 66px; }
  .nav { position: fixed; inset-inline: 0; top: 0; bottom: 0; z-index: 130; background: #100f0d; flex-direction: column; align-items: stretch; justify-content: center; gap: 0; padding: 80px 28px; transform: translateX(-102%); transition: transform .32s ease; }
  [dir="rtl"] .nav, body.font-ar .nav { transform: translateX(102%); }
  .nav.is-open { transform: none; }
  .nav a { padding: 18px 0; font-size: 17px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
  .nav a::after { display: none; }
  .nav-toggle { display: flex; }
  .head-cta .btn { display: none; }
  .pgrid, .cat-grid, .adv-grid, .quote-grid { grid-template-columns: repeat(2, 1fr); }
  .sec-head { grid-template-columns: 1fr; align-items: start; }
  .split, .contact-grid, .cta-grid { grid-template-columns: 1fr; }
  .toolbar { top: 66px; }
  .qc-flow { grid-template-columns: repeat(3, 1fr); }
  .qc-step:nth-child(3) { border-inline-end: 0; }
  .cert-grid { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .modal-card { grid-template-columns: 1fr; }
  .modal-media img { aspect-ratio: 4 / 3; }
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .gallery figure:first-child { grid-row: auto; grid-column: span 2; }
  .gallery figure { aspect-ratio: 4 / 3; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-inline-start: 0; padding-inline-start: 0; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid rgba(255, 255, 255, .1); }
}

@media (max-width: 760px) {
  body { font-size: 15px; }
  .topbar-l span:not(.dot) { display: none; }
  .hero-inner { padding-block: 54px 44px; }
  .hero h1 { font-size: clamp(34px, 10vw, 54px); }
  .hero-rail { gap: 12px; }
  .hero-rail button { width: 34px; }
  .adv-grid, .quote-grid, .pgrid, .cat-grid { grid-template-columns: 1fr; }
  .cat-card { aspect-ratio: 16 / 11; }
  .form-row { grid-template-columns: 1fr; }
  .search { margin-inline-start: 0; width: 100%; }
  .search input { width: 100%; }
  .toolbar-inner { padding-block: 10px; }
  .chips { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 4px; width: 100%; scrollbar-width: none; }
  .chips::-webkit-scrollbar { display: none; }
  .chip { flex: none; }
  .qc-flow { grid-template-columns: 1fr; }
  .qc-step { border-inline-end: 0; border-bottom: 1px solid var(--line); padding-inline-end: 0; }
  .cert-grid, .foot-grid, .story-facts { grid-template-columns: 1fr; }
  .timeline .tl-item { grid-template-columns: 1fr; gap: 8px; padding-block: 20px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat { padding: 22px 16px; }
  .foot-bottom { flex-direction: column; align-items: flex-start; }
  .wa-float { bottom: 84px; inset-inline-end: 14px; }
  .chat-panel { bottom: 150px; inset-inline-end: 14px; }
  .cookie { inset-inline: 10px; bottom: 10px; padding: 14px 16px; }
  .cookie .btn { flex: 1; }
  .modal-card { width: calc(100% - 20px); margin: 3vh auto; max-height: 94vh; }
  .map-wrap iframe { height: 300px; }
}

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