/* ==========================================================================
   Jiangxi RongYue Auto Parts — Site stylesheet
   Palette: primary #1668B3 | deep #0B2E4F | accent #F5A623 | light #F4F7FA
   ========================================================================== */

:root {
  --primary: #1668B3;
  --primary-d: #10528F;
  --primary-l: #E8F1F9;
  --deep: #0B2E4F;
  --deep-2: #123A61;
  --accent: #F5A623;
  --accent-d: #D98A0B;
  --ink: #1B2733;
  --ink-2: #4A5A6A;
  --ink-3: #7B8B9A;
  --line: #E1E8EF;
  --bg: #FFFFFF;
  --bg-soft: #F4F7FA;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 3px rgba(11, 46, 79, .07), 0 1px 2px rgba(11, 46, 79, .04);
  --shadow: 0 4px 16px rgba(11, 46, 79, .09);
  --shadow-lg: 0 14px 40px rgba(11, 46, 79, .14);
  --max: 1200px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--font); color: var(--ink);
  background: var(--bg); line-height: 1.65; font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; transition: color .18s; }
a:hover { color: var(--accent-d); }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.25; font-weight: 700; color: var(--deep); letter-spacing: -.01em; }
h1 { font-size: clamp(1.9rem, 4vw, 3rem); }
h2 { font-size: clamp(1.5rem, 2.8vw, 2.1rem); }
h3 { font-size: 1.18rem; }
p { margin: 0 0 1em; color: var(--ink-2); }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 22px; }
.sec { padding: 76px 0; }
.sec--soft { background: var(--bg-soft); }
.sec--deep { background: var(--deep); color: #fff; }
.sec--deep h2, .sec--deep h3 { color: #fff; }
.sec--deep p { color: rgba(255,255,255,.78); }
.center { text-align: center; }
.mt0 { margin-top: 0; }

/* ---------- eyebrow / section head ---------- */
.eyebrow {
  display: inline-block; font-size: .74rem; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: var(--primary); margin-bottom: 12px;
  padding: 4px 12px; background: var(--primary-l); border-radius: 100px;
}
.sec--deep .eyebrow { background: rgba(255,255,255,.12); color: #8FC4EF; }
.sec-head { max-width: 720px; margin: 0 auto 46px; text-align: center; }
.sec-head p { font-size: 1.03rem; }
.rule { width: 54px; height: 3px; background: var(--accent); border-radius: 2px; margin: 16px auto 0; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px; justify-content: center;
  padding: 13px 26px; border-radius: 8px; font-weight: 650; font-size: .95rem;
  border: 1.5px solid transparent; cursor: pointer; transition: all .2s; white-space: nowrap;
  font-family: inherit;
}
.btn--primary { background: var(--primary); color: #fff; box-shadow: 0 4px 14px rgba(22,104,179,.3); }
.btn--primary:hover { background: var(--primary-d); color: #fff; transform: translateY(-2px); box-shadow: 0 8px 22px rgba(22,104,179,.38); }
.btn--accent { background: var(--accent); color: #33230a; }
.btn--accent:hover { background: var(--accent-d); color: #fff; transform: translateY(-2px); }
.btn--ghost { border-color: rgba(255,255,255,.45); color: #fff; }
.btn--ghost:hover { background: rgba(255,255,255,.14); color: #fff; border-color: #fff; }
.btn--outline { border-color: var(--line); color: var(--deep); background: #fff; }
.btn--outline:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-l); }
.btn--sm { padding: 9px 16px; font-size: .86rem; }
.btn--block { width: 100%; }

/* ---------- topbar ---------- */
.topbar { background: var(--deep); color: rgba(255,255,255,.8); font-size: .82rem; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; height: 38px; }
.topbar a { color: rgba(255,255,255,.85); }
.topbar a:hover { color: #fff; }
.topbar-l, .topbar-r { display: flex; gap: 20px; align-items: center; }
.topbar i { font-style: normal; opacity: .65; margin-right: 5px; }

/* ---------- header ---------- */
.hdr { position: sticky; top: 0; z-index: 60; background: rgba(255,255,255,.97); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.hdr .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 20px; }
.logo { display: flex; align-items: center; gap: 12px; }
.logo-mark {
  width: 42px; height: 42px; border-radius: 11px; flex: none;
  background: linear-gradient(135deg, var(--primary), var(--deep));
  display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 1.05rem;
  box-shadow: 0 4px 12px rgba(22,104,179,.32);
}
.logo-txt strong { display: block; font-size: 1.12rem; color: var(--deep); letter-spacing: -.02em; line-height: 1.2; }
.logo-txt span { display: block; font-size: .7rem; color: var(--ink-3); letter-spacing: .09em; text-transform: uppercase; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  padding: 9px 15px; border-radius: 7px; color: var(--ink); font-weight: 550; font-size: .94rem;
}
.nav a:hover { background: var(--primary-l); color: var(--primary); }
.nav a.on { color: var(--primary); background: var(--primary-l); }
.hdr-cta { display: flex; align-items: center; gap: 12px; }
.burger { display: none; background: none; border: 1px solid var(--line); border-radius: 8px; width: 42px; height: 42px; font-size: 1.2rem; color: var(--deep); cursor: pointer; }

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 560px; display: flex; align-items: center;
  background: linear-gradient(115deg, #0B2E4F 0%, #144A7A 48%, #1668B3 100%);
  color: #fff; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(circle at 78% 28%, rgba(245,166,35,.18), transparent 46%),
                    radial-gradient(circle at 12% 82%, rgba(255,255,255,.09), transparent 42%);
}
.hero::after {
  content: ''; position: absolute; right: -80px; top: -80px; width: 460px; height: 460px;
  border: 1.5px solid rgba(255,255,255,.1); border-radius: 50%;
  box-shadow: inset 0 0 0 60px rgba(255,255,255,.03);
}
.hero .wrap { position: relative; z-index: 2; padding-top: 60px; padding-bottom: 60px; width: 100%; }
.hero-inner { max-width: 660px; }
.hero h1 { color: #fff; margin-bottom: 18px; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero p.lead { font-size: 1.12rem; color: rgba(255,255,255,.85); margin-bottom: 32px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 34px; }
.hero-badges span {
  font-size: .82rem; padding: 7px 14px; border-radius: 100px;
  background: rgba(255,255,255,.11); border: 1px solid rgba(255,255,255,.18); color: #fff;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-img {
  position: absolute; inset: 0;
  background-size: cover; background-position: center center;
}
.hero-img::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(9,36,63,.93) 0%, rgba(9,36,63,.80) 42%, rgba(9,36,63,.42) 74%, rgba(9,36,63,.22) 100%);
}

/* ---------- stats ---------- */
.stats { background: #fff; border-bottom: 1px solid var(--line); }
.stats .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 30px 18px; text-align: center; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat b { display: block; font-size: 2.2rem; font-weight: 800; color: var(--primary); line-height: 1; letter-spacing: -.03em; }
.stat span { display: block; font-size: .82rem; color: var(--ink-3); margin-top: 8px; text-transform: uppercase; letter-spacing: .07em; font-weight: 600; }

/* ---------- grid & cards ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 30px; transition: all .24s; box-shadow: var(--shadow-sm);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: #CFE0F0; }
.card .ico {
  width: 50px; height: 50px; border-radius: 12px; display: grid; place-items: center;
  background: var(--primary-l); color: var(--primary); font-size: 1.35rem; margin-bottom: 18px;
}
.card h3 { margin-bottom: 9px; font-size: 1.1rem; }
.card p { font-size: .94rem; margin: 0; }

/* ---------- brand chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 40px; }
.chip {
  padding: 9px 18px; border-radius: 100px; border: 1.5px solid var(--line); background: #fff;
  font-size: .9rem; font-weight: 600; color: var(--ink-2); transition: all .18s;
}
.chip:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-l); }
.chip.on { background: var(--primary); border-color: var(--primary); color: #fff; }

/* ---------- product card ---------- */
.pcard {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; transition: all .24s; box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
}
.pcard:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: #CFE0F0; }
.pcard-img {
  aspect-ratio: 1/1; background: #fff; display: grid; place-items: center; padding: 20px;
  border-bottom: 1px solid var(--line); position: relative; overflow: hidden;
}
.pcard-img img { width: 100%; height: 100%; object-fit: contain; transition: transform .35s; }
.pcard:hover .pcard-img img { transform: scale(1.06); }
.pcard-tag {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  background: var(--deep); color: #fff; font-size: .7rem; font-weight: 700;
  padding: 4px 10px; border-radius: 100px; letter-spacing: .05em; text-transform: uppercase;
}
.pcard-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.pcard-body h3 { font-size: 1rem; margin-bottom: 8px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pcard-meta { font-size: .8rem; color: var(--ink-3); margin-bottom: 14px; }
.pcard-meta b { color: var(--primary); font-weight: 650; }
.pcard-link { margin-top: auto; font-weight: 650; font-size: .88rem; display: inline-flex; align-items: center; gap: 6px; }
.pcard-link::after { content: '→'; transition: transform .2s; }
.pcard:hover .pcard-link::after { transform: translateX(4px); }

/* ---------- split (about) ---------- */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 58px; align-items: center; }
.split-txt p { font-size: 1.01rem; }
.check-list { list-style: none; padding: 0; margin: 24px 0 0; }
.check-list li { position: relative; padding-left: 32px; margin-bottom: 13px; color: var(--ink-2); }
.check-list li::before {
  content: '✓'; position: absolute; left: 0; top: 1px; width: 21px; height: 21px;
  background: var(--primary-l); color: var(--primary); border-radius: 6px;
  font-size: .78rem; font-weight: 800; display: grid; place-items: center;
}
.split-visual {
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg);
  background: linear-gradient(135deg, var(--primary-l), #D9E8F5); aspect-ratio: 16/10;
  display: grid; place-items: center; position: relative;
}
.split-visual img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.split-visual .ph { text-align: center; color: var(--primary); opacity: .5; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; font-size: .8rem; }

/* ---------- certificate ---------- */
.cert {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; text-align: center; box-shadow: var(--shadow-sm); transition: all .22s;
}
.cert:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.cert .badge {
  width: 58px; height: 58px; margin: 0 auto 14px; border-radius: 50%;
  background: var(--primary-l); color: var(--primary); display: grid; place-items: center;
  font-size: 1.5rem; border: 2px solid #fff; box-shadow: 0 0 0 1px var(--line);
}
.cert b { display: block; color: var(--deep); font-size: 1.02rem; }
.cert small { color: var(--ink-3); font-size: .82rem; }

/* ---------- CTA ---------- */
.cta {
  background: linear-gradient(120deg, var(--deep), var(--primary-d)); color: #fff;
  border-radius: var(--radius-lg); padding: 52px 48px; display: flex;
  align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
  box-shadow: var(--shadow-lg); position: relative; overflow: hidden;
}
.cta::after { content: ''; position: absolute; right: -60px; bottom: -80px; width: 280px; height: 280px; border-radius: 50%; background: rgba(245,166,35,.13); }
.cta h2 { color: #fff; margin-bottom: 8px; position: relative; }
.cta p { color: rgba(255,255,255,.8); margin: 0; position: relative; }
.cta .btn { position: relative; }

/* ---------- page head ---------- */
.phead {
  background: linear-gradient(115deg, #0B2E4F, #1668B3 88%); color: #fff;
  padding: 66px 0 58px; position: relative; overflow: hidden;
}
.phead::after { content: ''; position: absolute; right: -100px; top: -120px; width: 400px; height: 400px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.09); }
.phead h1 { color: #fff; margin-bottom: 10px; }
.phead p { color: rgba(255,255,255,.8); margin: 0; max-width: 640px; }
.crumb { font-size: .84rem; color: rgba(255,255,255,.62); margin-bottom: 14px; }
.crumb a { color: rgba(255,255,255,.85); }
.crumb span { margin: 0 8px; opacity: .5; }

/* ---------- forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field.full { grid-column: 1 / -1; }
label { display: block; font-size: .86rem; font-weight: 650; color: var(--deep); margin-bottom: 7px; }
label .req { color: #D64545; }
input[type=text], input[type=email], input[type=password], input[type=tel], input[type=number], select, textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 8px;
  font-family: inherit; font-size: .95rem; color: var(--ink); background: #fff; transition: all .18s;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(22,104,179,.12); }
textarea { resize: vertical; min-height: 120px; }
.hint { font-size: .8rem; color: var(--ink-3); margin-top: 6px; }
.alert { padding: 15px 18px; border-radius: 9px; margin-bottom: 24px; font-size: .93rem; font-weight: 550; }
.alert--ok { background: #E7F6EC; color: #1F6B3A; border: 1px solid #B7E2C4; }
.alert--err { background: #FDECEC; color: #A32A2A; border: 1px solid #F5C2C2; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 44px; align-items: start; }
.info-item { display: flex; gap: 14px; margin-bottom: 24px; }
.info-item .ic {
  width: 42px; height: 42px; flex: none; border-radius: 10px; background: var(--primary-l);
  color: var(--primary); display: grid; place-items: center; font-size: 1.05rem;
}
.info-item b { display: block; font-size: .82rem; color: var(--ink-3); text-transform: uppercase; letter-spacing: .07em; margin-bottom: 3px; font-weight: 650; }
.info-item div p { margin: 0; color: var(--ink); font-weight: 550; }
.info-item div p + p { margin-top: 3px; font-weight: 400; color: var(--ink-2); font-size: .92rem; }

/* ---------- product detail ---------- */
.pd { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: start; }
.pd-img { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 34px; background: #fff; box-shadow: var(--shadow-sm); }
.pd-img img { width: 100%; aspect-ratio: 1/1; object-fit: contain; }
.pd-thumbs { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.pd-thumbs img { width: 68px; height: 68px; object-fit: contain; border: 1.5px solid var(--line); border-radius: 8px; padding: 5px; cursor: pointer; background: #fff; transition: border-color .15s; }
.pd-thumbs img:hover { border-color: var(--primary); }
.pd-thumbs img.on { border-color: var(--primary); box-shadow: 0 0 0 2px var(--primary-l); }
.pd h1 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.pd-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.pd-tags span { font-size: .76rem; font-weight: 700; padding: 4px 11px; border-radius: 100px; background: var(--primary-l); color: var(--primary); text-transform: uppercase; letter-spacing: .05em; }
.pd-tags span.brand { background: var(--deep); color: #fff; }
.spec-table { width: 100%; border-collapse: collapse; margin: 22px 0; font-size: .93rem; }
.spec-table th, .spec-table td { padding: 11px 14px; border: 1px solid var(--line); text-align: left; }
.spec-table th { background: var(--bg-soft); font-weight: 650; color: var(--deep); width: 38%; }

/* ---------- prose ---------- */
.prose { max-width: 820px; }
.prose h2 { margin-top: 40px; }
.prose h3 { margin-top: 28px; }
.prose ul { padding-left: 22px; color: var(--ink-2); }
.prose li { margin-bottom: 8px; }

/* ---------- faq ---------- */
.faq-item { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; margin-bottom: 12px; overflow: hidden; }
.faq-item summary {
  padding: 19px 22px; font-weight: 650; color: var(--deep); cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; gap: 16px; align-items: center; font-size: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; color: var(--primary); font-size: 1.4rem; font-weight: 400; line-height: 1; transition: transform .2s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item[open] summary { background: var(--primary-l); }
.faq-body { padding: 4px 22px 20px; color: var(--ink-2); font-size: .95rem; }

/* ---------- footer ---------- */
.ftr { background: var(--deep); color: rgba(255,255,255,.72); padding: 62px 0 0; font-size: .92rem; }
.ftr h4 { color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 18px; }
.ftr-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 42px; padding-bottom: 46px; }
.ftr a { color: rgba(255,255,255,.72); display: block; padding: 5px 0; }
.ftr a:hover { color: var(--accent); }
.ftr .logo-txt strong { color: #fff; }
.ftr .logo-txt span { color: rgba(255,255,255,.5); }
.ftr p { color: rgba(255,255,255,.66); font-size: .9rem; }
.ftr-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 20px 0; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .84rem; color: rgba(255,255,255,.5); }
.ftr-bottom a { display: inline; color: rgba(255,255,255,.6); }

/* ---------- floating whatsapp ---------- */
.fab {
  position: fixed; right: 20px; bottom: 24px; z-index: 80;
  width: 54px; height: 54px; border-radius: 50%; background: #25D366; color: #fff;
  display: grid; place-items: center; box-shadow: 0 6px 20px rgba(37,211,102,.42);
  font-size: 1.55rem; transition: transform .2s;
}
.fab:hover { transform: scale(1.08); color: #fff; }

/* ---------- misc ---------- */
.empty { text-align: center; padding: 70px 20px; color: var(--ink-3); }
.pager { display: flex; gap: 12px; justify-content: center; margin-top: 42px; }
.note { background: var(--primary-l); border-left: 3px solid var(--primary); padding: 16px 20px; border-radius: 0 8px 8px 0; font-size: .93rem; color: var(--deep); }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .split, .pd, .contact-grid { grid-template-columns: 1fr; gap: 34px; }
  .hero-img { display: none; }
  .ftr-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .topbar-l { display: none; }
}
@media (max-width: 760px) {
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; background: #fff; border-bottom: 1px solid var(--line); padding: 12px; gap: 4px; box-shadow: var(--shadow); }
  .nav.open { display: flex; }
  .burger { display: block; }
  .hdr .wrap { position: relative; height: 66px; }
  .hdr-cta .btn { display: none; }
  .stats .wrap { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--line); }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .sec { padding: 52px 0; }
  .form-grid { grid-template-columns: 1fr; }
  .cta { padding: 36px 26px; }
  .ftr-grid { grid-template-columns: 1fr; }
  .hero { min-height: 480px; }
}

/* ---------- language dropdown ---------- */
.hdr-cta { display: flex; align-items: center; gap: 10px; }
.lang-dd { position: relative; }
.lang-btn {
  display: inline-flex; align-items: center; gap: 6px; cursor: pointer;
  border: 1px solid var(--line); background: #fff; border-radius: 100px;
  padding: 7px 13px; font-size: .82rem; font-weight: 600; color: var(--text);
  font-family: inherit;
}
.lang-btn:hover { border-color: var(--primary); color: var(--primary); }
.lang-menu {
  display: none; position: absolute; top: calc(100% + 8px); right: 0; z-index: 60;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  box-shadow: var(--shadow-lg); padding: 6px; min-width: 160px;
}
.lang-dd.open .lang-menu { display: block; }
.lang-menu a {
  display: block; padding: 8px 12px; border-radius: 8px; font-size: .86rem;
  color: var(--text); text-decoration: none;
}
.lang-menu a:hover { background: var(--primary-l); color: var(--primary); }
.lang-menu a.on { background: var(--primary-l); color: var(--primary); font-weight: 700; }

/* ---------- RTL (Arabic) ---------- */
[dir="rtl"] .hero-inner,
[dir="rtl"] .hero-actions,
[dir="rtl"] .hero-badges,
[dir="rtl"] .pd-tags,
[dir="rtl"] .pd-thumbs,
[dir="rtl"] .chips,
[dir="rtl"] .topbar-l,
[dir="rtl"] .ftr-grid { direction: rtl; }
[dir="rtl"] .hero-img::after {
  background: linear-gradient(270deg, rgba(9,36,63,.93) 0%, rgba(9,36,63,.80) 42%, rgba(9,36,63,.42) 74%, rgba(9,36,63,.22) 100%);
}

/* ---------- news cards ---------- */
.ncard {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; text-decoration: none; display: block;
  transition: transform .22s, box-shadow .22s; box-shadow: var(--shadow-sm);
}
.ncard:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.ncard-img { aspect-ratio: 16/9; background: var(--primary-l); overflow: hidden; }
.ncard-img img { width: 100%; height: 100%; object-fit: cover; }
.ncard-body { padding: 20px 22px 24px; }
.ncard-date { font-size: .76rem; font-weight: 700; color: var(--primary); letter-spacing: .06em; text-transform: uppercase; }
.ncard-body h3 { margin: 8px 0 14px; font-size: 1.02rem; line-height: 1.45; color: var(--text); }

/* ---------- factory gallery (about) ---------- */
.fgal { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 40px; }
.fgal a { border-radius: var(--radius); overflow: hidden; display: block; aspect-ratio: 4/3; background: var(--primary-l); }
.fgal img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.fgal a:hover img { transform: scale(1.05); }
.fgal-item { margin: 0; }
.fgal-item figcaption { margin-top: 8px; font-size: .82rem; color: var(--ink-2); text-align: center; }
@media (max-width: 900px) { .fgal { grid-template-columns: repeat(2, 1fr); } }
