/* =========================================================
   Golden Fahd Car Inspection — الفهد الذهبي للفحص الفني للسيارات
   ========================================================= */

:root {
  --gold-3: #8a6a22;
  --gold-grad: linear-gradient(135deg, #8a6a22 0%, #f1d27a 45%, #c9a24a 60%, #8a6a22 100%);
  --cut: 14px;
  --gutter: clamp(16px, 4vw, 64px);
  --max: 1440px;
  --ease: cubic-bezier(.2, .7, .1, 1);

  --font-head: "Barlow Condensed", "Cairo", system-ui, sans-serif;
  --font-body: "Barlow", "Tajawal", system-ui, sans-serif;
}

/* ---------- Colour themes ----------
   Dark is the default. Sections that sit on photography (hero, service cards,
   offer image, CTA band, header over the hero) stay dark in light mode too. */
:root,
html[data-theme="light"] :is(.hero, .cta-band, .service, .offer-visual),
html[data-theme="light"] body:not(.menu-open) .site-header:not(.scrolled) {
  color-scheme: dark;
  --bg: #000;
  --bg-2: #0d0d0d;
  --bg-3: #161616;
  --line: rgba(255, 255, 255, .12);
  --line-strong: rgba(255, 255, 255, .28);
  --text: #fff;
  --text-2: #cfcfcf;
  --muted: #a3a3a3;
  --gold: #c9a24a;
  --gold-2: #f1d27a;
  --gold-text: var(--gold-grad);
  --header-bg: rgba(0, 0, 0, .88);
  --ticker-stroke: rgba(255, 255, 255, .45);
  --ticker-fill: rgba(255, 255, 255, .55);
  --map-filter: grayscale(1) invert(.92) contrast(.9) brightness(.9);
  --logo-on-dark: block;
  --logo-on-light: none;
  color: var(--text);
}

html[data-theme="light"] {
  color-scheme: light;
  --bg: #f6f4ef;
  --bg-2: #ece8df;
  --bg-3: #e2dccf;
  --line: rgba(0, 0, 0, .12);
  --line-strong: rgba(0, 0, 0, .3);
  --text: #0b0b0b;
  --text-2: #333;
  --muted: #5f5a52;
  --gold: #b08a35;
  --gold-2: #8a6519;
  --gold-text: linear-gradient(135deg, #6e5418 0%, #b8902f 50%, #7a5c1a 100%);
  --header-bg: rgba(246, 244, 239, .92);
  --ticker-stroke: rgba(0, 0, 0, .4);
  --ticker-fill: rgba(0, 0, 0, .5);
  --map-filter: grayscale(1) contrast(1.05);
  --logo-on-dark: none;
  --logo-on-light: block;
}

html[lang="ar"] {
  --font-head: "Cairo", "Barlow Condensed", system-ui, sans-serif;
  --font-body: "Tajawal", "Barlow", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  transition: background-color .4s var(--ease), color .4s var(--ease);
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, video, iframe { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-head); margin: 0; line-height: 1.05; font-weight: 700; }
html[lang="en"] h1, html[lang="en"] h2, html[lang="en"] h3 { text-transform: uppercase; letter-spacing: .01em; }
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3 { line-height: 1.35; font-weight: 800; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
body.menu-open { overflow: hidden; }

.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.skip-link { position: absolute; inset-inline-start: -999px; top: 8px; background: var(--gold); color: #000; padding: 8px 14px; z-index: 999; }
.skip-link:focus { inset-inline-start: 8px; }

/* ---------- Eyebrow / labels ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--font-head);
  font-size: 13px; font-weight: 600;
  letter-spacing: .28em; text-transform: uppercase;
  color: var(--gold-2);
  margin-bottom: 22px;
}
html[lang="ar"] .eyebrow { letter-spacing: 0; font-size: 15px; }
.eyebrow::before { content: ""; width: 42px; height: 1px; background: var(--gold); }

.section { padding-block: clamp(80px, 11vw, 160px); position: relative; }
.section-head { display: grid; gap: 24px; margin-bottom: clamp(40px, 6vw, 80px); }
.section-head h2 { font-size: clamp(2.2rem, 5.4vw, 4.6rem); }
.section-head p { color: var(--muted); max-width: 640px; font-size: 1.1rem; }
@media (min-width: 900px) {
  .section-head.split { grid-template-columns: 1.2fr 1fr; align-items: end; }
  .section-head.split p { margin: 0; justify-self: end; }
}

/* ---------- Buttons (angled cut like supercar UI) ---------- */
.btn {
  --b: var(--text);
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 56px; padding: 0 34px;
  font-family: var(--font-head);
  font-size: 15px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--bg); background: var(--text);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%);
  transition: background .35s var(--ease), color .35s var(--ease);
  cursor: pointer; border: 0;
}
html[lang="ar"] .btn { letter-spacing: 0; font-size: 16px; }
.btn:hover { background: var(--gold-2); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-gold { background: var(--gold-grad); background-size: 200% 200%; color: #000; }
.btn-gold:hover { background-position: 100% 0; background-color: var(--gold-2); }
.btn-ghost {
  background: transparent; color: var(--text);
  box-shadow: inset 0 0 0 1px var(--line-strong);
}
.btn-ghost::after {
  content: ""; position: absolute; inset-inline-end: 0; bottom: 0;
  width: calc(var(--cut) * 1.42); height: 1px; background: var(--line-strong);
  transform-origin: right bottom; transform: rotate(-45deg) translateX(1px);
}
html[dir="rtl"] .btn-ghost::after { display: none; }
.btn-ghost:hover { background: var(--text); color: var(--bg); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-weight: 600; font-size: 14px;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold-2);
}
html[lang="ar"] .link-arrow { letter-spacing: 0; font-size: 16px; }
.link-arrow svg { width: 18px; height: 18px; transition: transform .3s var(--ease); }
html[dir="rtl"] .link-arrow svg, html[dir="rtl"] .flip-rtl { transform: scaleX(-1); }
.link-arrow:hover svg { transform: translateX(6px); }
html[dir="rtl"] .link-arrow:hover svg { transform: scaleX(-1) translateX(6px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background .4s var(--ease), border-color .4s var(--ease), transform .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled { background: var(--header-bg); backdrop-filter: blur(12px); border-color: var(--line); }
.site-header .bar {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  height: 84px;
}
.site-header.scrolled .bar { height: 70px; }
.menu-btn {
  display: inline-flex; align-items: center; gap: 14px;
  background: none; border: 0; color: var(--text); cursor: pointer; padding: 8px 0;
  font-family: var(--font-head); font-size: 14px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  justify-self: start;
}
html[lang="ar"] .menu-btn { letter-spacing: 0; font-size: 16px; }
.menu-btn .lines { width: 28px; height: 12px; position: relative; }
.menu-btn .lines::before, .menu-btn .lines::after {
  content: ""; position: absolute; inset-inline-start: 0; height: 2px; background: currentColor;
  transition: transform .35s var(--ease), width .35s var(--ease), top .35s var(--ease);
}
.menu-btn .lines::before { top: 0; width: 100%; }
.menu-btn .lines::after { top: 10px; width: 64%; }
.menu-btn:hover .lines::after { width: 100%; }
body.menu-open .menu-btn .lines::before { top: 5px; transform: rotate(45deg); }
body.menu-open .menu-btn .lines::after { top: 5px; width: 100%; transform: rotate(-45deg); }

.brand { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; line-height: 1.1; }
.brand-mark { display: flex; align-items: center; justify-content: center; height: 52px; transition: height .4s var(--ease); }
.brand-mark img { height: 100%; width: auto; max-width: none; }
.site-header.scrolled .brand-mark { height: 40px; }
/* Each theme scope picks the logo made for its background */
.logo-on-dark { display: var(--logo-on-dark); }
.logo-on-light { display: var(--logo-on-light); }
/* CSS crest placeholder until logo.png exists */
.brand-mark:has(img) .crest { display: none; }
.crest {
  height: 100%; aspect-ratio: 34 / 38;
  background: var(--gold-grad);
  clip-path: polygon(50% 0, 100% 18%, 100% 62%, 50% 100%, 0 62%, 0 18%);
  display: grid; place-items: center;
}
.crest::after {
  content: ""; width: 76%; height: 79%; background: var(--bg);
  clip-path: polygon(50% 0, 100% 18%, 100% 62%, 50% 100%, 0 62%, 0 18%);
}
.brand-name { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.brand-name strong {
  font-family: "Barlow Condensed", sans-serif; font-weight: 700;
  font-size: 18px; letter-spacing: .32em; text-transform: uppercase;
  background: var(--gold-text); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.brand-name small { font-family: "Cairo", sans-serif; font-size: 11px; color: var(--muted); font-weight: 600; }
/* Arabic page shows only the Arabic name, styled as the wordmark */
html[lang="ar"] .brand-name small {
  font-size: 15px; font-weight: 800; line-height: 1.3;
  padding-bottom: .25em; /* keep the dots under ي inside the gold text clip */
  background: var(--gold-text); -webkit-background-clip: text; background-clip: text; color: transparent;
}
html[lang="ar"] .footer-top .brand-name small { font-size: 18px; }

.header-actions { justify-self: end; display: flex; align-items: center; gap: clamp(10px, 2vw, 28px); }
.lang-switch {
  font-family: var(--font-head); font-size: 14px; font-weight: 600; letter-spacing: .14em;
  padding: 6px 2px; border-bottom: 1px solid var(--line-strong);
  transition: color .3s, border-color .3s;
}
.lang-switch:hover { color: var(--gold-2); border-color: var(--gold); }
.header-call { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 600; letter-spacing: .08em; }
.header-call svg { width: 20px; height: 20px; color: var(--gold-2); }
.header-call span { direction: ltr; unicode-bidi: isolate; }
@media (max-width: 760px) {
  .header-call span, .menu-btn .label { display: none; }
  .brand-mark { height: 44px; }
  .site-header .bar { height: 72px; }
}

/* ---------- Fullscreen menu ---------- */
.menu-overlay {
  position: fixed; inset: 0; z-index: 40;
  background: var(--bg);
  display: grid; grid-template-rows: minmax(0, 1fr) auto;
  height: 100vh; height: 100dvh;
  padding: 100px var(--gutter) 24px;
  opacity: 0; visibility: hidden;
  transition: opacity .5s var(--ease), visibility .5s;
  overflow: hidden;
}
.menu-overlay::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(60% 50% at 85% 20%, rgba(201, 162, 74, .14), transparent 70%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='97' viewBox='0 0 56 97'%3E%3Cpath d='M28 0l28 16v32L28 64 0 48V16zM28 64l28 16v32M28 64L0 80v32' fill='none' stroke='%23ffffff' stroke-opacity='.04'/%3E%3C/svg%3E");
}
html[data-theme="light"] .menu-overlay::before {
  background:
    radial-gradient(60% 50% at 85% 20%, rgba(176, 138, 53, .16), transparent 70%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='97' viewBox='0 0 56 97'%3E%3Cpath d='M28 0l28 16v32L28 64 0 48V16zM28 64l28 16v32M28 64L0 80v32' fill='none' stroke='%23000000' stroke-opacity='.05'/%3E%3C/svg%3E");
}
body.menu-open .menu-overlay { opacity: 1; visibility: visible; }
.menu-overlay nav { position: relative; display: flex; flex-direction: column; justify-content: safe center; gap: 4px; min-height: 0; overflow-y: auto; padding-block: 8px; max-width: var(--max); width: 100%; margin-inline: auto; }
.menu-overlay nav a {
  font-family: var(--font-head); font-weight: 700;
  font-size: clamp(1.5rem, min(5.5vw, 6.4vh), 4.4rem); line-height: 1.15;
  color: var(--text);
  display: inline-flex; align-items: baseline; gap: 22px;
  opacity: 0; transform: translateY(30px);
  transition: color .3s, opacity .6s var(--ease), transform .6s var(--ease);
  width: fit-content;
}
html[lang="en"] .menu-overlay nav a { text-transform: uppercase; }
.menu-overlay nav a small { font-size: 14px; color: var(--gold); font-family: "Barlow Condensed", sans-serif; letter-spacing: .1em; }
.menu-overlay nav a:hover { color: var(--gold-2); }
body.menu-open .menu-overlay nav a { opacity: 1; transform: none; }
body.menu-open .menu-overlay nav a:nth-child(2) { transition-delay: .05s; }
body.menu-open .menu-overlay nav a:nth-child(3) { transition-delay: .1s; }
body.menu-open .menu-overlay nav a:nth-child(4) { transition-delay: .15s; }
body.menu-open .menu-overlay nav a:nth-child(5) { transition-delay: .2s; }
body.menu-open .menu-overlay nav a:nth-child(6) { transition-delay: .25s; }
.menu-foot {
  position: relative; max-width: var(--max); width: 100%; margin-inline: auto;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px;
  border-top: 1px solid var(--line); padding-top: 18px; color: var(--muted); font-size: 15px;
  align-items: center;
}
.menu-foot a:hover { color: var(--gold-2); }

.theme-switch { display: inline-flex; align-items: center; gap: 14px; }
.theme-switch .label { font-family: var(--font-head); font-size: 13px; letter-spacing: .22em; text-transform: uppercase; }
html[lang="ar"] .theme-switch .label { letter-spacing: 0; font-size: 15px; }
.theme-switch .seg { display: inline-flex; box-shadow: inset 0 0 0 1px var(--line-strong); }
.theme-switch button {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 42px; padding: 0 16px;
  background: transparent; border: 0; color: var(--muted); cursor: pointer;
  font-family: var(--font-head); font-size: 14px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  transition: background .3s var(--ease), color .3s var(--ease);
}
html[lang="ar"] .theme-switch button { letter-spacing: 0; font-size: 15px; }
.theme-switch button svg { width: 17px; height: 17px; }
.theme-switch button:hover { color: var(--text); }
.theme-switch button[aria-pressed="true"] { background: var(--text); color: var(--bg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: flex-end;
  overflow: hidden; isolation: isolate;
}
.hero-media {
  position: absolute; inset: 0; z-index: -2;
  background:
    url("../img/hero.jpg") center / cover no-repeat,
    radial-gradient(70% 60% at 70% 45%, #3a2c10 0%, #0b0b0b 55%, #000 100%);
  animation: heroZoom 18s var(--ease) forwards;
}
.hero-media video { width: 100%; height: 100%; object-fit: cover; }
@keyframes heroZoom { from { transform: scale(1.12); } to { transform: scale(1); } }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,0) 28%, rgba(0,0,0,.25) 55%, #000 100%),
    linear-gradient(90deg, rgba(0,0,0,.6), rgba(0,0,0,0) 60%);
}
html[dir="rtl"] .hero::after {
  background:
    linear-gradient(180deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,0) 28%, rgba(0,0,0,.25) 55%, #000 100%),
    linear-gradient(-90deg, rgba(0,0,0,.6), rgba(0,0,0,0) 60%);
}
.hero-inner { padding-bottom: clamp(56px, 9vh, 110px); padding-top: 140px; width: 100%; }
.hero h1 {
  font-size: clamp(2.6rem, 7.4vw, 7rem);
  max-width: 14ch;
  margin-bottom: 26px;
}
html[lang="ar"] .hero h1 { font-size: clamp(2.3rem, 6vw, 5.6rem); max-width: 16ch; }
.hero h1 .gold { background: var(--gold-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-lead { font-size: clamp(1.05rem, 1.5vw, 1.3rem); color: #d6d6d6; max-width: 620px; margin-bottom: 38px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-meta {
  margin-top: clamp(40px, 7vh, 80px);
  display: flex; flex-wrap: wrap; gap: 14px 40px;
  border-top: 1px solid var(--line); padding-top: 22px;
  font-family: var(--font-head); font-size: 14px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
}
html[lang="ar"] .hero-meta { letter-spacing: 0; font-size: 15px; }
.hero-meta span { display: inline-flex; align-items: center; gap: 10px; }
.hero-meta span::before { content: ""; width: 7px; height: 7px; background: var(--gold); transform: rotate(45deg); }
.scroll-cue {
  position: absolute; inset-inline-end: var(--gutter); bottom: clamp(56px, 9vh, 110px);
  writing-mode: vertical-rl; font-family: "Barlow Condensed", sans-serif; font-size: 12px; letter-spacing: .3em; color: var(--muted);
  display: flex; align-items: center; gap: 14px;
}
.scroll-cue::after { content: ""; width: 1px; height: 70px; background: linear-gradient(var(--gold), transparent); animation: cue 2.2s infinite; }
@keyframes cue { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
@media (max-width: 900px) { .scroll-cue { display: none; } }

/* ---------- Offer badge (hexagon) ---------- */
.offer-badge {
  --s: 190px;
  position: absolute; z-index: 3;
  top: clamp(110px, 18vh, 180px); inset-inline-end: var(--gutter);
  width: var(--s); height: calc(var(--s) * 1.1547);
  display: grid; place-items: center; text-align: center;
  filter: drop-shadow(0 18px 40px rgba(201, 162, 74, .35));
  animation: floaty 5s ease-in-out infinite;
  transition: transform .4s var(--ease);
}
.offer-badge:hover { transform: scale(1.04); }
.offer-badge .hex, .offer-badge .hex-inner {
  position: absolute; inset: 0;
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}
.offer-badge .hex { background: var(--gold-grad); background-size: 200% 200%; animation: shine 4s linear infinite; }
.offer-badge .hex-inner { inset: 5px; background: #050505; }
.offer-badge .hex-inner::after {
  content: ""; position: absolute; inset: 7px; background: var(--gold-grad);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  opacity: .08;
}
.offer-badge .content { position: relative; display: grid; gap: 0; line-height: 1; padding: 0 18px; }
.offer-badge .kicker { font-family: var(--font-head); font-size: 12px; font-weight: 700; letter-spacing: .22em; color: var(--gold-2); text-transform: uppercase; margin-bottom: 8px; }
html[lang="ar"] .offer-badge .kicker { letter-spacing: 0; font-size: 14px; }
.offer-badge .price {
  font-family: "Barlow Condensed", sans-serif; font-weight: 700; font-size: 70px; line-height: .9;
  background: var(--gold-text); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.offer-badge .cur { font-family: var(--font-head); font-size: 15px; font-weight: 700; letter-spacing: .2em; margin-top: 4px; }
html[lang="ar"] .offer-badge .cur { letter-spacing: 0; font-size: 17px; }
.offer-badge .desc { font-size: 12px; color: var(--muted); margin-top: 8px; line-height: 1.3; }
html[lang="ar"] .offer-badge .desc { font-size: 13px; }
@keyframes floaty { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
@keyframes shine { 0% { background-position: 0 0; } 100% { background-position: 200% 200%; } }
@media (max-width: 760px) {
  .offer-badge { --s: 132px; top: 92px; }
  .offer-badge .price { font-size: 46px; }
  .offer-badge .kicker { font-size: 10px; margin-bottom: 4px; }
  .offer-badge .cur { font-size: 12px; }
  .offer-badge .desc { display: none; }
}

/* ---------- Ticker ---------- */
.ticker { border-block: 1px solid var(--line); overflow: hidden; background: var(--bg); padding-block: 22px; }
.ticker-track { display: flex; width: max-content; animation: ticker 40s linear infinite; }
html[dir="rtl"] .ticker-track { animation-name: tickerRtl; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-track span {
  display: inline-flex; align-items: center; gap: 36px; padding-inline-end: 36px; white-space: nowrap;
  font-family: var(--font-head); font-size: clamp(1.1rem, 2vw, 1.6rem); font-weight: 700;
  color: transparent; -webkit-text-stroke: 1px var(--ticker-stroke);
}
html[lang="en"] .ticker-track span { text-transform: uppercase; letter-spacing: .06em; }
html[lang="ar"] .ticker-track span { color: var(--ticker-fill); -webkit-text-stroke: 0; }
.ticker-track span::after { content: ""; width: 9px; height: 9px; background: var(--gold); transform: rotate(45deg); }
@keyframes ticker { to { transform: translateX(-50%); } }
@keyframes tickerRtl { to { transform: translateX(50%); } }

/* ---------- Services ---------- */
.services-grid { display: grid; gap: 2px; grid-template-columns: repeat(3, 1fr); background: var(--line); border: 1px solid var(--line); }
@media (max-width: 1000px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .services-grid { grid-template-columns: 1fr; } }
.service {
  position: relative; overflow: hidden; background: var(--bg);
  aspect-ratio: 4 / 5; display: flex; flex-direction: column; justify-content: flex-end;
  padding: clamp(22px, 2.6vw, 36px); isolation: isolate;
}
@media (max-width: 620px) { .service { aspect-ratio: 4 / 4.2; } }
.service .bg {
  position: absolute; inset: 0; z-index: -2;
  background-size: cover; background-position: center;
  transform: scale(1.04);
  transition: transform 1.2s var(--ease), filter .8s var(--ease);
  filter: grayscale(.35) brightness(.75);
}
.service::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(0,0,0,.1) 20%, rgba(0,0,0,.92) 100%);
}
.service:hover .bg { transform: scale(1.12); filter: grayscale(0) brightness(.9); }
.service .num {
  position: absolute; top: clamp(22px, 2.6vw, 36px); inset-inline-start: clamp(22px, 2.6vw, 36px);
  font-family: "Barlow Condensed", sans-serif; font-size: 15px; letter-spacing: .2em; color: var(--gold-2);
}
.service h3 { font-size: clamp(1.5rem, 2.2vw, 2.1rem); margin-bottom: 12px; }
.service p { color: #c9c9c9; font-size: 15.5px; margin: 0; max-height: 0; opacity: 0; transition: max-height .6s var(--ease), opacity .5s var(--ease), margin .5s; overflow: hidden; }
.service:hover p, .service:focus-within p { max-height: 160px; opacity: 1; margin-bottom: 14px; }
@media (hover: none) { .service p { max-height: none; opacity: 1; margin-bottom: 14px; } }
.service .rule { height: 2px; width: 46px; background: var(--gold); transition: width .6s var(--ease); }
.service:hover .rule { width: 100%; }

.bg-s1 { background-image: url("../img/service-pre-purchase.jpg"), linear-gradient(140deg, #2a2a2a, #0a0a0a); }
.bg-s2 { background-image: url("../img/service-engine.jpg"), linear-gradient(140deg, #3a2a10, #0a0a0a); }
.bg-s3 { background-image: url("../img/service-paint.jpg"), linear-gradient(140deg, #222, #050505); }
.bg-s4 { background-image: url("../img/service-diagnostics.jpg"), linear-gradient(140deg, #1d2a2a, #050505); }
.bg-s5 { background-image: url("../img/service-suspension.jpg"), linear-gradient(140deg, #2a2418, #050505); }
.bg-s6 { background-image: url("../img/service-road-test.jpg"), linear-gradient(140deg, #262626, #050505); }

/* ---------- Offer section ---------- */
.offer { background: var(--bg-2); overflow: hidden; }
.offer-grid { display: grid; gap: clamp(40px, 6vw, 90px); align-items: center; }
@media (min-width: 1000px) { .offer-grid { grid-template-columns: 1.05fr 1fr; } }
.offer-visual {
  position: relative; aspect-ratio: 5 / 4;
  background: url("../img/offer-car.jpg") center / cover no-repeat, radial-gradient(70% 70% at 50% 60%, #3b2d10, #0a0a0a 70%);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 48px), calc(100% - 48px) 100%, 0 100%);
}
.offer-visual .offer-badge { position: absolute; top: auto; bottom: -1px; inset-inline-start: 24px; inset-inline-end: auto; --s: 170px; animation: none; transform: translateY(40%); }
@media (max-width: 760px) { .offer-visual .offer-badge { --s: 130px; transform: translateY(35%); } }
.offer h2 { font-size: clamp(2.2rem, 5vw, 4.4rem); margin-bottom: 22px; }
.offer h2 .price-inline { background: var(--gold-text); -webkit-background-clip: text; background-clip: text; color: transparent; white-space: nowrap; }
.offer .lead { color: var(--muted); font-size: 1.1rem; margin-bottom: 34px; }
.checklist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; margin-bottom: 40px; border-top: 1px solid var(--line); }
@media (max-width: 520px) { .checklist { grid-template-columns: 1fr; } }
.checklist li { display: flex; gap: 14px; align-items: center; padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.checklist li::before {
  content: ""; flex: none; width: 18px; height: 18px;
  background: var(--gold-grad);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}
.offer-note { font-size: 14px; color: var(--muted); margin-top: 18px; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-block: 1px solid var(--line); }
@media (max-width: 860px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat { padding: clamp(28px, 4vw, 54px) clamp(16px, 2.4vw, 36px); border-inline-end: 1px solid var(--line); }
.stat:last-child { border-inline-end: 0; }
@media (max-width: 860px) { .stat:nth-child(2) { border-inline-end: 0; } .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }
.stat strong { display: block; font-family: "Barlow Condensed", sans-serif; font-size: clamp(2.8rem, 5.5vw, 5rem); line-height: 1; font-weight: 700; }
.stat strong em { font-style: normal; color: var(--gold-2); }
.stat > span { display: block; margin-top: 10px; color: var(--muted); font-size: 15px; }

/* ---------- Process ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; background: var(--line); border: 1px solid var(--line); counter-reset: s; }
@media (max-width: 1000px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.step { background: var(--bg); padding: clamp(28px, 3vw, 44px); min-height: 300px; display: flex; flex-direction: column; transition: background .4s; }
.step:hover { background: var(--bg-3); }
.step .big {
  font-family: "Barlow Condensed", sans-serif; font-weight: 700; font-size: 96px; line-height: 1;
  color: transparent; -webkit-text-stroke: 1px var(--gold); margin-bottom: auto; padding-bottom: 30px;
  transition: color .4s;
}
.step:hover .big { color: var(--gold); }
.step h3 { font-size: 1.6rem; margin-bottom: 10px; }
.step p { color: var(--muted); margin: 0; font-size: 15.5px; }

/* ---------- Feature split ---------- */
.feature { display: grid; min-height: 90vh; }
@media (min-width: 1000px) { .feature { grid-template-columns: 1fr 1fr; } }
.feature-media { min-height: 52vh; background: url("../img/report-tablet.jpg") center / cover no-repeat, radial-gradient(80% 80% at 30% 40%, #2b2414, #050505); }
.feature-body { display: flex; flex-direction: column; justify-content: center; padding: clamp(48px, 7vw, 120px) var(--gutter); background: var(--bg-2); }
.feature-body h2 { font-size: clamp(2rem, 4.4vw, 3.8rem); margin-bottom: 24px; }
.feature-body p { color: var(--muted); font-size: 1.08rem; max-width: 560px; }
.feature-body .link-arrow { margin-top: 18px; }

/* ---------- Areas (SEO) ---------- */
.areas-grid { display: grid; gap: 2px; background: var(--line); border: 1px solid var(--line); grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.area { background: var(--bg); padding: 34px 30px; transition: background .4s; }
.area:hover { background: var(--bg-3); }
.area h3 { font-size: 1.45rem; margin-bottom: 10px; display: flex; align-items: center; gap: 12px; }
.area h3::before { content: ""; width: 10px; height: 10px; background: var(--gold); transform: rotate(45deg); flex: none; }
.area p { color: var(--muted); margin: 0; font-size: 15.5px; }

/* ---------- FAQ ---------- */
.faq-list { border-top: 1px solid var(--line); max-width: 1000px; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 28px 0;
  font-family: var(--font-head); font-size: clamp(1.15rem, 2vw, 1.5rem); font-weight: 600;
  transition: color .3s;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:hover { color: var(--gold-2); }
.faq-list summary::after {
  content: "+"; flex: none; width: 40px; height: 40px; display: grid; place-items: center;
  border: 1px solid var(--line-strong); font-size: 22px; font-weight: 400; transition: transform .4s var(--ease), background .3s;
}
.faq-list details[open] summary::after { transform: rotate(45deg); background: var(--gold); color: #000; border-color: var(--gold); }
.faq-list details p { color: var(--muted); padding-bottom: 28px; margin: 0; max-width: 820px; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden; isolation: isolate; text-align: center;
  padding-block: clamp(100px, 14vw, 200px);
}
.cta-band::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background: url("../img/cta-night.jpg") center / cover no-repeat, radial-gradient(60% 80% at 50% 100%, #3b2d10, #000 70%);
}
.cta-band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(0, 0, 0, .55); }
.cta-band h2 { font-size: clamp(2.4rem, 6.4vw, 6rem); margin-bottom: 24px; }
.cta-band p { color: #d0d0d0; max-width: 620px; margin: 0 auto 40px; font-size: 1.15rem; }
.cta-band .hero-ctas { justify-content: center; }
.cta-band .phone-big {
  display: block; margin-top: 34px; direction: ltr;
  font-family: "Barlow Condensed", sans-serif; font-size: clamp(2rem, 5vw, 3.6rem); font-weight: 700; letter-spacing: .06em;
  background: var(--gold-text); -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: 2px; background: var(--line); border: 1px solid var(--line); }
@media (min-width: 1000px) { .contact-grid { grid-template-columns: 1fr 1.4fr; } }
.contact-info { background: var(--bg); padding: clamp(32px, 4vw, 60px); display: flex; flex-direction: column; gap: 30px; }
.contact-item small { display: block; font-family: var(--font-head); font-size: 13px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-2); margin-bottom: 6px; }
html[lang="ar"] .contact-item small { letter-spacing: 0; font-size: 15px; }
.contact-item a, .contact-item p { font-size: 1.3rem; font-family: var(--font-head); font-weight: 600; margin: 0; }
.contact-item a:hover { color: var(--gold-2); }
.contact-item .ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }
.contact-info .btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: auto; }
.map { background: var(--bg); min-height: 460px; position: relative; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: var(--map-filter); transition: filter .6s; }
.map:hover iframe { filter: none; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding-block: 70px 34px; background: var(--bg); }
.footer-top { display: grid; gap: 40px; grid-template-columns: 1.4fr repeat(3, 1fr); padding-bottom: 50px; }
@media (max-width: 900px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-top { grid-template-columns: 1fr; } }
.footer-top .brand { align-items: flex-start; text-align: start; }
.footer-top .brand-mark { height: 92px; }
.footer-top .brand-name { align-items: flex-start; }
.footer-top .brand-name strong { font-size: 22px; }
.footer-top p { color: var(--muted); font-size: 15px; margin-top: 18px; max-width: 340px; }
.footer-top h4 { font-size: 13px; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-2); margin-bottom: 18px; font-weight: 600; }
html[lang="ar"] .footer-top h4 { letter-spacing: 0; font-size: 16px; }
.footer-top li { margin-bottom: 10px; color: var(--text-2); font-size: 15px; }
.footer-top li a:hover { color: var(--gold-2); }
.footer-bottom { border-top: 1px solid var(--line); padding-top: 26px; display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; color: var(--muted); font-size: 13.5px; }
.footer-bottom .credit a { color: var(--gold-2); transition: color .3s; }
.footer-bottom .credit a:hover { color: var(--text); }

/* ---------- Floating actions ---------- */
.float-actions { position: fixed; bottom: 20px; inset-inline-end: 20px; z-index: 45; display: flex; flex-direction: column; gap: 12px; }
.float-actions a {
  width: 58px; height: 58px; display: grid; place-items: center;
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  transition: transform .3s var(--ease);
}
.float-actions a:hover { transform: scale(1.08); }
body.menu-open .float-actions { opacity: 0; pointer-events: none; }
.float-actions .wa { background: #25d366; color: #fff; }
.float-actions .call { background: var(--gold-grad); color: #000; }
.float-actions svg { width: 26px; height: 26px; }

/* ---------- Reveal ---------- */
[data-reveal] { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal-delay="1"] { transition-delay: .1s; }
[data-reveal-delay="2"] { transition-delay: .2s; }
[data-reveal-delay="3"] { transition-delay: .3s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  [data-reveal] { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
