/* EzAutoGlobal — main stylesheet */
:root {
  --navy: #0b1b33;
  --navy2: #12294d;
  --blue: #1a56db;
  --blue-d: #1546b0;
  --amber: #f59e0b;
  --ink: #17233b;
  --gray: #5b6b84;
  --line: #e3e9f2;
  --bg: #f6f8fb;
  --card: #ffffff;
  --ok: #16a34a;
  --radius: 14px;
  --shadow: 0 2px 14px rgba(11, 27, 51, .07);
  --shadow-h: 0 8px 28px rgba(11, 27, 51, .13);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
}
a { color: var(--blue); text-decoration: none; }
img { max-width: 100%; display: block; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 22px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.hd-in { display: flex; align-items: center; gap: 26px; height: 66px; }
.logo { display: flex; flex-direction: column; line-height: 1.15; }
.logo-img { height: 40px; width: auto; display: block; }
.logo-img-foot { height: 34px; width: auto; display: block; margin-bottom: 8px; }
.hero-brand { font-size: 22px; font-weight: 700; letter-spacing: .4px; margin-bottom: 16px; color: #fff; }
.hero-brand span { font-weight: 500; opacity: .72; margin-left: 12px; }
.logo b { font-size: 19px; color: var(--navy); letter-spacing: .2px; }
.logo span { font-size: 11px; color: var(--gray); }
.nav { display: flex; gap: 4px; margin-left: auto; flex-wrap: wrap; }
.nav a {
  padding: 8px 12px; border-radius: 8px; color: var(--ink);
  font-size: 14.5px; font-weight: 500; white-space: nowrap;
  transition: background .15s, color .15s;
}
.nav a:hover { background: #eef3fb; color: var(--blue); }
.nav a.active { color: var(--blue); background: #e8effc; }
.lang-sw {
  margin-left: 10px; display: flex; align-items: center; gap: 2px;
  border: 1px solid var(--line); border-radius: 8px; overflow: hidden; flex: none;
}
.lang-sw a, .lang-sw span {
  padding: 6px 11px; font-size: 13px; font-weight: 600;
}
.lang-sw span { background: var(--navy); color: #fff; }
.lang-sw a { color: var(--gray); }
.lang-sw a:hover { background: #eef3fb; }
.burger { display: none; margin-left: auto; background: none; border: 1px solid var(--line); border-radius: 8px; padding: 8px 12px; font-size: 15px; cursor: pointer; color: var(--ink); }

/* ---------- hero ---------- */
.hero {
  background: radial-gradient(1100px 500px at 80% -10%, #24468a 0%, var(--navy) 55%);
  color: #fff; padding: 88px 0 72px;
}
.hero .kicker {
  display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .6px;
  color: #ffd58a; background: rgba(245,158,11,.14); border: 1px solid rgba(245,158,11,.35);
  padding: 6px 14px; border-radius: 999px; margin-bottom: 22px;
}
.hero h1 { font-size: 44px; line-height: 1.18; max-width: 820px; letter-spacing: -.5px; }
.hero h1 .hero-en { display: block; font-size: 38px; white-space: nowrap; letter-spacing: 0; }
.hero p.sub { margin: 20px 0 30px; font-size: 18px; color: #c6d4ea; max-width: 640px; }
.btn {
  display: inline-block; padding: 13px 26px; border-radius: 10px;
  font-weight: 600; font-size: 15.5px; transition: .15s; border: none; cursor: pointer;
}
.btn-p { background: var(--blue); color: #fff; }
.btn-p:hover { background: var(--blue-d); }
.btn-o { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.45); margin-left: 12px; }
.btn-o:hover { border-color: #fff; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 56px; }
.stat {
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.13);
  border-radius: var(--radius); padding: 18px 20px;
}
.stat b { display: block; font-size: 27px; color: #ffd58a; }
.stat span { font-size: 13.5px; color: #b9c8e0; }

/* ---------- sections ---------- */
.sec { padding: 72px 0; }
.sec.alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec h2 { font-size: 31px; color: var(--navy); letter-spacing: -.3px; position: relative; padding-bottom: 14px; }
.sec h2::after { content: ""; position: absolute; left: 0; bottom: 0; width: 46px; height: 4px; border-radius: 2px; background: var(--blue); }
[dir="rtl"] .sec h2::after { left: auto; right: 0; }
.sec .sub { color: var(--gray); margin: 10px 0 36px; max-width: 640px; }

/* brands */
.brands { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.brand-chip {
  background: var(--card); border: 1px solid var(--line); border-radius: 12px;
  padding: 20px 10px; text-align: center; font-weight: 700; color: var(--navy);
  font-size: 17px; box-shadow: var(--shadow); transition: .18s;
}
.brand-chip small { display: block; font-weight: 500; color: var(--gray); font-size: 12px; margin-top: 3px; }
.brand-chip:hover { box-shadow: var(--shadow-h); transform: translateY(-3px); border-color: #cdddf5; }

/* car cards */
.cars-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.car-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow); transition: .18s; display: flex; flex-direction: column;
}
.car-card:hover { box-shadow: var(--shadow-h); transform: translateY(-3px); }
.car-img { height: 132px; display: flex; align-items: center; justify-content: center; color: #fff; position: relative; }
.car-img .ph { font-size: 26px; font-weight: 800; opacity: .9; letter-spacing: 1px; }
.badge {
  position: absolute; top: 10px; left: 10px; font-size: 11.5px; font-weight: 700;
  padding: 3px 10px; border-radius: 999px; color: #fff;
}
.badge.new { background: var(--ok); }
.badge.used { background: var(--amber); }
.car-body { padding: 15px 16px 16px; display: flex; flex-direction: column; flex: 1; }
.car-body h3 { font-size: 16.5px; color: var(--navy); }
.car-specs { margin: 9px 0 12px; font-size: 13px; color: var(--gray); display: grid; gap: 3px; }
.car-price { margin-top: auto; }
.car-price small { color: var(--gray); font-size: 12px; }
.car-price b { display: block; font-size: 20px; color: var(--navy); }
.car-price .btn { width: 100%; text-align: center; margin-top: 10px; padding: 10px; font-size: 14px; }
.center { text-align: center; margin-top: 34px; }
.note-box {
  margin-top: 26px; background: #fff8ec; border: 1px solid #f3ddb0; color: #7c5a14;
  border-radius: 10px; padding: 13px 18px; font-size: 14px;
}

/* filters */
.filters { display: flex; gap: 10px; margin-bottom: 26px; }
.filters button {
  padding: 9px 20px; border-radius: 999px; border: 1px solid var(--line);
  background: #fff; font-size: 14px; font-weight: 600; color: var(--gray); cursor: pointer;
}
.filters button.on { background: var(--navy); border-color: var(--navy); color: #fff; }

/* process */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: st; }
.step {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; box-shadow: var(--shadow); position: relative; transition: .18s;
}
.step .n {
  width: 34px; height: 34px; border-radius: 999px; background: #e8effc; color: var(--blue);
  font-weight: 800; display: flex; align-items: center; justify-content: center; margin-bottom: 12px; font-size: 15px;
}
.step h3 { font-size: 15.5px; color: var(--navy); margin-bottom: 6px; }
.step p { font-size: 13.5px; color: var(--gray); }
.step:hover { box-shadow: var(--shadow-h); transform: translateY(-3px); border-color: #cdddf5; }

/* why */
.why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.why .card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; box-shadow: var(--shadow); transition: .18s;
}
.why .card h3 { font-size: 16.5px; color: var(--navy); margin-bottom: 7px; }
.why .card h3::before { content: "✓ "; color: var(--ok); }
.why .card p { font-size: 14px; color: var(--gray); }
.why .card:hover { box-shadow: var(--shadow-h); transform: translateY(-3px); border-color: #cdddf5; }

/* markets */
.markets { display: flex; flex-wrap: wrap; gap: 10px; }
.mkt {
  background: var(--card); border: 1px solid var(--line); border-radius: 999px;
  padding: 9px 20px; font-size: 14.5px; font-weight: 600; color: var(--navy); box-shadow: var(--shadow);
}

/* cta band */
.cta-band { background: linear-gradient(120deg, var(--navy), var(--navy2)); color: #fff; padding: 60px 0; text-align: center; }
.cta-band h2 { font-size: 30px; }
.cta-band p { color: #c6d4ea; margin: 12px auto 26px; max-width: 560px; }

/* services */
.svc { display: grid; gap: 18px; }
.svc-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 28px; box-shadow: var(--shadow); display: grid; grid-template-columns: 70px 1fr; gap: 20px;
}
.svc-card .num { font-size: 30px; font-weight: 800; color: #d7e2f5; }
.svc-card h3 { font-size: 19px; color: var(--navy); margin-bottom: 7px; }
.svc-card p { color: var(--gray); font-size: 14.5px; margin-bottom: 12px; }
.svc-card ul { list-style: none; display: grid; gap: 6px; }
.svc-card li { font-size: 14px; color: var(--ink); padding-left: 22px; position: relative; }
.svc-card li::before { content: "→"; position: absolute; left: 0; color: var(--blue); font-weight: 700; }

/* about */
.about-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 22px; align-items: start; }
.panel {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 28px; box-shadow: var(--shadow);
}
.panel h3 { font-size: 19px; color: var(--navy); margin-bottom: 12px; }
.panel p { color: var(--ink); font-size: 15px; margin-bottom: 12px; }
.panel ul { list-style: none; display: grid; gap: 9px; }
.panel li { padding-left: 24px; position: relative; font-size: 14.5px; }
.panel li::before { content: "✓"; position: absolute; left: 0; color: var(--ok); font-weight: 800; }
.muted-note { font-size: 13.5px; color: var(--gray); border-top: 1px dashed var(--line); padding-top: 14px; margin-top: 16px; }

/* faq */
.faq-list { display: grid; gap: 12px; max-width: 860px; }
details.faq {
  background: var(--card); border: 1px solid var(--line); border-radius: 12px;
  padding: 0 22px; box-shadow: var(--shadow);
}
details.faq summary {
  cursor: pointer; font-weight: 600; font-size: 15.5px; color: var(--navy);
  padding: 17px 0; list-style: none; position: relative; padding-right: 30px;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: "+"; position: absolute; right: 2px; top: 14px; font-size: 21px; color: var(--blue); }
details.faq[open] summary::after { content: "–"; }
details.faq .a { padding: 0 0 18px; color: var(--gray); font-size: 14.5px; }

.hint { font-size: 13px; color: var(--gray); }
.timeline { list-style: none; display: grid; gap: 0; }
.timeline li { position: relative; padding: 0 0 26px 42px; }
.timeline li::before {
  content: ""; position: absolute; left: 12px; top: 22px; bottom: -2px; width: 2px; background: var(--line);
}
.timeline li:last-child::before { display: none; }
.timeline .dot {
  position: absolute; left: 2px; top: 2px; width: 22px; height: 22px; border-radius: 999px;
  background: #fff; border: 2.5px solid var(--line); display: flex; align-items: center; justify-content: center;
  font-size: 12px; color: #fff; font-weight: 800;
}
.timeline li.done .dot { background: var(--ok); border-color: var(--ok); }
.timeline li.done .dot::after { content: "✓"; }
.timeline li.now .dot { background: var(--blue); border-color: var(--blue); box-shadow: 0 0 0 5px rgba(26,86,219,.15); }
.timeline li .t { font-weight: 600; font-size: 15px; color: var(--navy); }
.timeline li.pending .t { color: #9aa8bd; font-weight: 500; }
.timeline li.now .t { color: var(--blue); }
.searates-link { display: inline-block; margin-top: 8px; font-size: 14px; font-weight: 600; }

/* contact */
.ct-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 22px; align-items: start; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid .full { grid-column: 1 / -1; }
.form-grid label { font-size: 13px; font-weight: 600; color: var(--navy); display: block; margin-bottom: 5px; }
.form-grid input:not([type="checkbox"]):not([type="radio"]), .form-grid textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px;
  font-size: 15px; font-family: inherit; outline: none; background: #fff;
}
.form-grid input:focus, .form-grid textarea:focus { border-color: var(--blue); }
.form-grid textarea { min-height: 110px; resize: vertical; }
.form-note { font-size: 12.5px; color: var(--gray); margin-top: 10px; }
.ct-item { display: grid; gap: 3px; padding: 13px 0; border-bottom: 1px dashed var(--line); }
.ct-item:last-child { border-bottom: none; }
.ct-item small { color: var(--gray); font-size: 12.5px; }
.ct-item b { color: var(--navy); font-size: 15px; }

/* privacy */
.prose { max-width: 780px; }
.prose p { margin-bottom: 16px; color: var(--ink); font-size: 15.5px; }

/* footer */
.site-footer { background: var(--navy); color: #b9c8e0; padding: 52px 0 30px; margin-top: 0; }
.ft-grid { display: grid; grid-template-columns: 1.6fr 1fr 1.2fr; gap: 30px; }
.ft-grid b.t { color: #fff; display: block; margin-bottom: 12px; font-size: 15px; }
.ft-grid .lg { font-size: 19px; font-weight: 800; color: #fff; }
.ft-grid p { font-size: 13.5px; margin-top: 10px; max-width: 340px; }
.ft-grid ul { list-style: none; display: grid; gap: 8px; }
.ft-grid a { color: #b9c8e0; font-size: 14px; }
.ft-grid a:hover { color: #fff; }
.ft-bottom {
  border-top: 1px solid rgba(255,255,255,.12); margin-top: 36px; padding-top: 20px;
  font-size: 12.5px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
}

/* floating contact buttons */
.float-wrap {
  position: fixed; right: 22px; bottom: 24px; z-index: 60;
  display: flex; flex-direction: column; gap: 12px; align-items: flex-end;
}
[dir="rtl"] .float-wrap { right: auto; left: 22px; align-items: flex-start; }
.wa-float, .tg-float {
  display: flex; align-items: center; gap: 10px;
  color: #fff; font-weight: 700; font-size: 14.5px;
  padding: 13px 20px; border-radius: 999px; transition: .15s;
}
.wa-float { background: #25d366; box-shadow: 0 6px 22px rgba(37,211,102,.45); }
.tg-float { background: #229ED9; box-shadow: 0 6px 22px rgba(34,158,217,.4); }
.wa-float:hover, .tg-float:hover { transform: scale(1.04); }
.wa-float svg, .tg-float svg { width: 21px; height: 21px; flex: none; }

/* footer social row */
.ft-social {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  margin-top: 30px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.12);
}
.ft-social > span { color: #fff; font-size: 14px; font-weight: 600; margin-right: 4px; }
.ft-social a {
  width: 40px; height: 40px; border-radius: 11px; background: rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: center; color: #fff; transition: .15s;
}
.ft-social a:hover { background: rgba(255,255,255,.2); transform: translateY(-2px); }
.ft-social svg { width: 20px; height: 20px; flex: none; }

/* contact page — 4 cards */
.contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: start; }
.big-btn {
  display: flex; align-items: center; gap: 12px; padding: 16px 20px; border-radius: 12px;
  font-weight: 700; font-size: 16px; margin-bottom: 12px; color: #fff;
}
.big-btn:last-child { margin-bottom: 0; }
.big-btn svg { width: 26px; height: 26px; flex: none; }
.big-btn.tg { background: #229ED9; }
.big-btn.wa { background: #25d366; }
.soc-icons { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 4px; }
.soc-icons a {
  width: 56px; height: 56px; border-radius: 14px; background: #eef3fb;
  display: flex; align-items: center; justify-content: center; color: var(--navy); transition: .15s;
}
.soc-icons a:hover { transform: translateY(-2px); background: #e2ebfb; }
.soc-icons svg { width: 26px; height: 26px; flex: none; }

/* reviews */
.reviews { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 26px; }
.rev-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.rev-card p { font-size: 14.5px; color: var(--ink); margin-bottom: 14px; }
.rev-by { display: flex; align-items: center; gap: 10px; }
.rev-by b { font-size: 14.5px; color: var(--navy); }
.rev-by span { font-size: 13px; color: var(--gray); background: #eef3fb; padding: 3px 10px; border-radius: 999px; }

/* team */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 26px; }
.team-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.team-photo { height: 150px; background: linear-gradient(135deg, #e9eef6, #dde7f3); color: var(--gray); display: flex; align-items: center; justify-content: center; font-size: 13px; text-align: center; padding: 0 10px; }
.team-body { padding: 18px 18px 20px; }
.team-body h3 { font-size: 16px; color: var(--navy); margin-bottom: 4px; }
.team-role { font-size: 13.5px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.team-region { display: inline-block; font-size: 12px; color: var(--gray); background: #eef3fb; padding: 3px 10px; border-radius: 999px; margin-bottom: 10px; }
.team-body p { font-size: 13.5px; color: var(--gray); line-height: 1.6; }

/* cars stock count */
.stock-count { color: var(--navy); font-size: 15px; margin-bottom: 18px; }
.stock-count b { color: var(--blue); font-size: 17px; }

/* anti-fraud notice */
.note-box.scam {
  margin-top: 26px; background: #fdeceb; border-color: #f3b1ad; color: #8a2a23;
  display: flex; align-items: flex-start; gap: 8px;
}
.note-box.scam::before {
  content: "!"; flex: none; width: 22px; height: 22px; border-radius: 999px;
  background: #c0392b; color: #fff; font-weight: 800; display: flex; align-items: center;
  justify-content: center; margin-top: 1px; font-size: 14px;
}

/* responsive */
@media (max-width: 960px) {
  .stats, .steps, .cars-grid { grid-template-columns: repeat(2, 1fr); }
  .brands { grid-template-columns: repeat(3, 1fr); }
  .why { grid-template-columns: 1fr 1fr; }
  .about-grid, .ct-grid, .contact-cards, .reviews, .team-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 34px; }
  .nav { display: none; position: absolute; top: 66px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 10px 16px 16px; flex-direction: column; }
  .nav.open { display: flex; }
  .burger { display: block; }
  .lang-sw { margin-left: auto; }
  .ft-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .stats, .steps, .cars-grid, .why, .brands, .form-grid, .contact-cards, .reviews, .team-grid { grid-template-columns: 1fr; }
  @media (min-width: 560px) and (max-width: 920px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
  .hero { padding: 60px 0 50px; }
  .hero h1 { font-size: 28px; }
  .btn-o { margin-left: 0; margin-top: 10px; }
  .svc-card { grid-template-columns: 1fr; }
  .sec { padding: 52px 0; }
  .wa-float span, .tg-float span { display: none; }
  .wa-float, .tg-float { padding: 14px; }
}

/* anti-scrape honeypot — visually hidden, kept out of the tab order */
.hp-field {
  position: absolute !important;
  left: -9999px;
  top: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* language switcher — active state */
.lang-sw a.active { background: var(--navy); color: #fff; }
.lang-sw a.active:hover { background: var(--navy); }

/* ---------- news column ---------- */
.news-hero {
  background: radial-gradient(1100px 500px at 80% -10%, #24468a 0%, var(--navy) 55%);
  color: #fff; padding: 70px 0 54px;
}
.news-hero .kicker {
  display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .6px;
  color: #ffd58a; background: rgba(245,158,11,.14); border: 1px solid rgba(245,158,11,.35);
  padding: 6px 14px; border-radius: 999px; margin-bottom: 18px;
}
.news-hero h1 { font-size: 38px; letter-spacing: -.4px; }
.news-hero p.sub { margin-top: 14px; font-size: 17px; color: #c6d4ea; max-width: 640px; }

.news-cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 44px; }
.news-cat {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow); transition: .18s; color: inherit;
}
.news-cat:hover { box-shadow: var(--shadow-h); transform: translateY(-3px); }
.news-cat .ic { font-size: 22px; color: var(--blue); }
.news-cat h3 { color: var(--navy); font-size: 19px; margin: 10px 0 6px; }
.news-cat p { color: var(--gray); font-size: 14px; }

.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.news-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow); transition: .18s; display: flex; flex-direction: column;
}
.news-card:hover { box-shadow: var(--shadow-h); transform: translateY(-3px); }
.news-img { height: 162px; background: var(--bg); overflow: hidden; display: block; }
.news-img img { width: 100%; height: 100%; object-fit: cover; }
.news-body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.news-meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 9px; font-size: 12px; }
.news-meta .tag { padding: 3px 10px; border-radius: 999px; font-weight: 600; }
.tag.cat { background: #e8effc; color: var(--blue); }
.tag.reg { background: #eef3fb; color: var(--gray); }
.news-date { color: var(--gray); }
.news-body h3 { font-size: 16.5px; color: var(--navy); line-height: 1.35; margin-bottom: 8px; }
.news-body h3 a { color: inherit; }
.news-body p { font-size: 13.5px; color: var(--gray); flex: 1; }
.news-more { margin-top: 12px; font-weight: 700; color: var(--blue); font-size: 14px; }

.news-detail .hero-img { width: 100%; max-height: 380px; object-fit: cover; border-radius: var(--radius); margin: 22px 0; }
.news-detail .prose { max-width: 820px; }
.news-detail .prose p { margin-bottom: 16px; font-size: 16px; color: var(--ink); }
.news-source { font-size: 13.5px; color: var(--gray); margin-top: 12px; }
.news-source a { font-weight: 600; }
.news-related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 18px; }
.news-back { display: inline-block; margin-bottom: 16px; font-weight: 600; color: var(--blue); }

@media (max-width: 960px) {
  .news-grid, .news-cats, .news-related { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .news-grid, .news-cats, .news-related { grid-template-columns: 1fr; }
  .news-hero h1 { font-size: 30px; }
}

/* ---------- region selector ---------- */
.hd-right { display: flex; align-items: center; gap: 10px; }
.reg-pick { position: relative; }
.reg-toggle { display: flex; align-items: center; gap: 6px; background: var(--blue); color: #fff; border: none; padding: 8px 13px; border-radius: 999px; cursor: pointer; font-size: 13px; font-weight: 700; }
.reg-toggle svg { width: 16px; height: 16px; }
.reg-menu { position: absolute; top: calc(100% + 8px); right: 0; background: #fff; border: 1px solid #e4ebf3; border-radius: 12px; box-shadow: 0 10px 30px rgba(20,40,80,.14); padding: 6px; display: none; min-width: 190px; z-index: 70; }
.reg-menu.open { display: block; }
.reg-opt { display: block; width: 100%; text-align: left; background: none; border: none; padding: 9px 12px; border-radius: 8px; cursor: pointer; font-size: 14px; color: var(--ink); }
.reg-opt:hover { background: #f1f6fc; }
[dir="rtl"] .reg-menu { right: auto; left: 0; }

/* ---------- region filter chips (cars page) ---------- */
.reg-filters { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 14px 0 6px; }
.reg-filters-label { font-weight: 600; color: var(--gray); font-size: 14px; }
.rchip { border: 1px solid #d7e0ec; background: #fff; color: var(--ink); padding: 7px 14px; border-radius: 999px; cursor: pointer; font-size: 13.5px; }
.rchip.on { background: var(--navy); color: #fff; border-color: var(--navy); }

/* ---------- procurement standards by market ---------- */
.standards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 18px; }
.std-row { background: #fff; border: 1px solid #e6edf5; border-radius: 12px; padding: 16px 18px; }
.std-reg { font-weight: 700; color: var(--blue); font-size: 14px; display: block; margin-bottom: 6px; }
.std-row p { font-size: 14px; color: var(--gray); margin: 0; }
@media (max-width: 700px) { .standards { grid-template-columns: 1fr; } }

/* ---------- team direct links ---------- */
.team-links { display: flex; gap: 10px; margin-top: 12px; }
.team-wa, .team-tg { flex: 1; text-align: center; padding: 9px; border-radius: 9px; font-weight: 700; font-size: 13.5px; text-decoration: none; display: flex; align-items: center; justify-content: center; gap: 6px; }
.team-wa { background: #e9f9ef; color: #1c8a4d; }
.team-tg { background: #e7f1fb; color: #2273c4; }
.team-wa svg, .team-tg svg { width: 16px; height: 16px; }

/* privacy checkbox + share button (contact form / news detail) */
.privacy-row { margin-top: 4px; }
.privacy-lbl { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; color: #555; line-height: 1.45; }
.privacy-lbl input { margin-top: 3px; flex: none; }
.privacy-lbl a { color: var(--navy); text-decoration: underline; }
.share-row { margin-top: 18px; }
.share-btn { border: 1px solid var(--line); background: #fff; color: var(--navy); padding: 8px 18px; border-radius: 8px; cursor: pointer; font-size: 14px; transition: background .15s, color .15s; }
.share-btn:hover { background: var(--navy); color: #fff; }
.share-channels { display: none; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.share-channels.open { display: flex; }
.sc { display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); background: #fff; color: var(--navy); padding: 7px 14px; border-radius: 8px; cursor: pointer; font-size: 13px; text-decoration: none; transition: background .15s, color .15s, border-color .15s; }
.sc:hover { background: var(--navy); color: #fff; }
.sc-wa:hover { background: #25D366; border-color: #25D366; }
.sc-tg:hover { background: #229ED9; border-color: #229ED9; }
.sc-mail:hover { background: #555; border-color: #555; }
.lang-pick { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 6px; }
.lang-pick .lp { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; cursor: pointer; }
.advisor-box { margin-top: 14px; }
.adv-card { background: #f3faf6; border: 1px solid #cfe9da; border-radius: 12px; padding: 14px 16px; display: flex; flex-direction: column; gap: 6px; }
.adv-card b { color: #1c8a4d; font-size: 13px; }
.adv-name { font-size: 18px; font-weight: 600; }
.adv-links { display: flex; gap: 10px; margin-top: 4px; }

/* ==========================================================================
   RTL / Arabic (dir="rtl" 由 build.py 输出在 <html> 上)
   --------------------------------------------------------------------------
   原则：flex / grid / 默认 text-align 由浏览器随 dir 自动镜像，这里 **不** 用
   flex-direction: row-reverse（那会二次翻转，把版面又转回 LTR）。
   只针对无法自动镜像的“物理属性”做修正：
     margin-left/right、padding-left/right、absolute 的 left/right、
     写死的 text-align、方向性箭头字符、字体与字距。
   ========================================================================== */

/* --- 1. 字体与排版基线：阿拉伯文需要更大行距，且必须清除字距（字距会打断连写） --- */
[dir="rtl"] body,
[dir="rtl"] button,
[dir="rtl"] input,
[dir="rtl"] textarea,
[dir="rtl"] select {
  font-family: "Segoe UI", Tahoma, "Geeza Pro", "Noto Naskh Arabic", "Noto Sans Arabic", "Al Bayan", Arial, sans-serif;
}
[dir="rtl"] body { line-height: 1.8; }
[dir="rtl"] .hero h1,
[dir="rtl"] .hero .kicker,
[dir="rtl"] .news-hero h1,
[dir="rtl"] .news-hero .kicker,
[dir="rtl"] .sec h2,
[dir="rtl"] .cta-band h2,
[dir="rtl"] .hero-brand,
[dir="rtl"] .logo b,
[dir="rtl"] .car-img .ph { letter-spacing: normal; }
/* 纯数字/价格/日期做双向隔离，避免与阿拉伯文混排时符号跑位 */
[dir="rtl"] .stat b,
[dir="rtl"] .car-price b,
[dir="rtl"] .car-specs span,
[dir="rtl"] .stock-count b,
[dir="rtl"] .news-date { unicode-bidi: isolate; }
/* hero 渐变光斑跟随阅读方向镜像 */
[dir="rtl"] .hero,
[dir="rtl"] .news-hero { background: radial-gradient(1100px 500px at 20% -10%, #24468a 0%, var(--navy) 55%); }

/* --- 2. 头部导航：auto 外边距需要左右互换，否则 nav 会被顶回 logo 一侧 --- */
[dir="rtl"] .nav { margin-left: 0; margin-right: auto; }
[dir="rtl"] .burger { margin-left: 0; margin-right: auto; }
[dir="rtl"] .lang-sw { margin-left: 0; margin-right: 10px; }
[dir="rtl"] .reg-opt { text-align: right; }

/* --- 3. hero / 按钮间距 --- */
[dir="rtl"] .hero-brand span { margin-left: 0; margin-right: 12px; }
[dir="rtl"] .btn-o { margin-left: 0; margin-right: 12px; }

/* --- 4. 绝对定位角标：车卡「新车/二手」徽章 --- */
[dir="rtl"] .badge { left: auto; right: 10px; }

/* --- 5. 列表项目符号：padding 与 ::before 一起换边，箭头方向翻转 --- */
[dir="rtl"] .svc-card li { padding-left: 0; padding-right: 22px; }
[dir="rtl"] .svc-card li::before { content: "←"; left: auto; right: 0; }
[dir="rtl"] .panel li { padding-left: 0; padding-right: 24px; }
[dir="rtl"] .panel li::before { left: auto; right: 0; }

/* --- 6. FAQ 折叠面板的 +/- 指示器 --- */
[dir="rtl"] details.faq summary { padding-right: 0; padding-left: 30px; }
[dir="rtl"] details.faq summary::after { right: auto; left: 2px; }

/* --- 7. 时间线 --- */
[dir="rtl"] .timeline li { padding: 0 42px 26px 0; }
[dir="rtl"] .timeline li::before { left: auto; right: 12px; }
[dir="rtl"] .timeline .dot { left: auto; right: 2px; }

/* --- 8. 页脚社交行标题的收尾间距 --- */
[dir="rtl"] .ft-social > span { margin-right: 0; margin-left: 4px; }

/* --- 9. 蜜罐字段：RTL 下 left:-9999px 会撑出横向滚动条，必须改到右侧溢出 --- */
/*        （不用 overflow-x:hidden 兜底，那会让 sticky 头部失效）            */
[dir="rtl"] .hp-field { left: auto; right: -9999px; }

/* --- 10. 响应式下 auto 外边距的镜像修正 --- */
@media (max-width: 960px) {
  [dir="rtl"] .lang-sw { margin-left: 0; margin-right: auto; }
}
@media (max-width: 600px) {
  [dir="rtl"] .btn-o { margin-right: 0; }
}
