/* ================= TOKENS ================= */
:root {
  --ink: #07111d;
  --ink-2: #0d1c2b;
  --paper: #f6f2e9;
  --sheet: #ffffff;
  --gold: #c99832;
  --gold-2: #f1c45b;
  --teal: #17b3a3;
  --teal-deep: #0d7d72;
  --blue: #2f7fd0;
  --blue-deep: #1c5fa3;
  --copper: #d97742;
  --green: #1f9d55;
  --muted: #68778a;
  --line-dark: rgba(246, 242, 233, 0.16);
  --line-light: rgba(7, 17, 29, 0.14);
  --grad-gold: linear-gradient(120deg, #f1c45b, #c99832);
  --grad-brand: linear-gradient(90deg, #c99832, #17b3a3 50%, #2f7fd0);
  --max: 1240px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --display: "Noto Kufi Arabic", sans-serif;
  --body-font: "IBM Plex Sans Arabic", Tahoma, "Segoe UI", sans-serif;
  --mono-font: "IBM Plex Mono", Consolas, monospace;
}

/* ================= BASE ================= */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body-font);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
body.menu-open { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--display); line-height: 1.35; margin: 0 0 0.5em; }
h2 { font-size: clamp(28px, 4.4vw, 50px); font-weight: 800; max-width: 24ch; }
h3 { font-size: clamp(18px, 2.2vw, 24px); font-weight: 700; }
p { margin: 0 0 1em; }
.lede { max-width: 58ch; opacity: 0.84; font-size: clamp(15px, 1.35vw, 18px); }
.shell { max-width: var(--max); margin-inline: auto; padding-inline: clamp(18px, 4vw, 56px); }
.section-pad { padding-block: clamp(72px, 9vw, 132px); }
.sheet-dark { background: var(--ink); color: var(--paper); position: relative; overflow: hidden; }
.sheet-light { background: var(--paper); color: var(--ink); position: relative; overflow: hidden; }
.sheet-dark > .shell, .sheet-dark > .carousel, .sheet-dark > .car-dots { position: relative; z-index: 1; }
.skip-link { position: absolute; inset-inline-start: -999px; z-index: 99; }
.skip-link:focus { inset-inline-start: 12px; top: 12px; background: var(--gold); color: var(--ink); padding: 8px 14px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* technical text (codes, sizes) — always LTR */
.mono {
  font-family: var(--mono-font);
  direction: ltr;
  unicode-bidi: isolate;
  letter-spacing: 0.1em;
  font-size: 0.72em;
  font-weight: 500;
}

/* ============ EYEBROW BADGES (section labels) ============ */
.eyebrow {
  display: inline-flex; align-items: center;
  font-family: var(--display); font-weight: 700; font-size: 13px;
  padding: 7px 18px; border-radius: 999px;
  margin-block-end: 18px;
  background: rgba(201, 152, 50, 0.14); color: #8a6516;
}
.sheet-dark .eyebrow { background: rgba(241, 196, 91, 0.14); color: var(--gold-2); }
#about .eyebrow { background: rgba(23, 179, 163, 0.14); color: var(--teal-deep); }
#brands .eyebrow { background: rgba(47, 127, 208, 0.13); color: var(--blue-deep); }
#process .eyebrow { background: rgba(31, 157, 85, 0.14); color: #16713d; }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  background-image: var(--grad-gold); color: var(--ink);
  font-family: var(--display); font-weight: 700; font-size: 15px;
  padding: 14px 28px; border: 0; border-radius: 10px; cursor: pointer;
  box-shadow: 0 10px 28px rgba(201, 152, 50, 0.28);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), filter 0.3s var(--ease);
}
.btn:hover { filter: brightness(1.07); transform: translateY(-1px); box-shadow: 0 14px 34px rgba(201, 152, 50, 0.36); }
.btn-ghost {
  background-image: none; background-color: transparent; color: inherit;
  border: 1px solid rgba(246, 242, 233, 0.3); box-shadow: none; border-radius: 10px;
}
.sheet-light .btn-ghost, .rfq-sheet .btn-ghost { border-color: rgba(7, 17, 29, 0.2); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); transform: none; filter: none; box-shadow: none; }
.btn-small { padding: 9px 18px; font-size: 13px; box-shadow: none; }
.lead-arrow { position: relative; width: 20px; height: 2px; background: currentColor; transition: width 0.35s var(--ease); }
.lead-arrow::after {
  content: ""; position: absolute; inset-inline-end: -1px; top: -3px;
  border: solid currentColor; border-width: 2px 2px 0 0; width: 6px; height: 6px;
  transform: rotate(45deg);
}
html[dir="rtl"] .lead-arrow::after { transform: rotate(-135deg); }
.btn:hover .lead-arrow { width: 32px; }

/* ============ REVEALS ============ */
[data-reveal] {
  opacity: 0; transform: translateY(16px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: var(--d, 0ms);
}
[data-reveal].is-in { opacity: 1; transform: none; }

/* ============ STEP DOTS (numbered circles) ============ */
.step-dot {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: 50%;
  font-family: var(--display); font-weight: 800; font-size: 18px;
  color: #fff; background: var(--sd, var(--gold));
  box-shadow: 0 10px 24px color-mix(in srgb, var(--sd, var(--gold)) 40%, transparent);
}

/* ============ WATERMARK (soft, dark sections) ============ */
.wm {
  position: absolute; inset-block-start: -0.08em; inset-inline-end: -4%;
  font-family: var(--display); font-weight: 900;
  font-size: clamp(180px, 30vw, 460px); line-height: 1;
  color: rgba(201, 152, 50, 0.05);
  pointer-events: none; user-select: none; z-index: 0;
}

/* ================= HEADER ================= */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--ink) 92%, transparent);
  backdrop-filter: blur(14px);
  color: var(--paper);
  border-block-end: 1px solid var(--line-dark);
}
.header-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  max-width: var(--max); margin-inline: auto;
  padding: 10px clamp(18px, 4vw, 56px);
}
.brand img { width: auto; height: 56px; object-fit: contain; }
.desktop-nav { display: flex; gap: clamp(12px, 2.2vw, 30px); }
.desktop-nav a {
  font-size: 14px; font-weight: 600;
  padding-block: 6px; border-block-end: 2px solid transparent;
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease);
}
.desktop-nav a:hover { border-block-end-color: var(--gold); color: var(--gold-2); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.lang-toggle { background: none; border: 1px solid var(--line-dark); border-radius: 8px; padding: 8px 12px; cursor: pointer; font-size: 11px; }
.lang-toggle:hover { border-color: var(--gold); color: var(--gold); }
.menu-toggle {
  display: none; background: none; border: 1px solid var(--line-dark); border-radius: 8px;
  width: 42px; height: 38px; flex-direction: column; align-items: center; justify-content: center; gap: 6px; cursor: pointer;
}
.menu-toggle span { display: block; width: 18px; height: 2px; background: currentColor; }
.mobile-nav { display: none; }
/* backdrop-filter makes .site-header the containing block for fixed
   descendants — drop it while the menu is open */
body.menu-open .site-header { backdrop-filter: none; }
@media (max-width: 880px) {
  .desktop-nav { display: none; }
  .menu-toggle { display: flex; }
  .header-actions .btn-small { display: none; }
  .mobile-nav {
    position: fixed; inset: 0; z-index: 40; background: var(--ink);
    padding: 120px clamp(24px, 8vw, 56px) 40px;
    flex-direction: column; gap: 4px;
  }
  .mobile-nav.open { display: flex; }
  .mobile-nav a {
    font-family: var(--display); font-weight: 800; font-size: clamp(26px, 8vw, 42px);
    padding-block: 12px; border-block-end: 1px solid var(--line-dark);
  }
}

/* ================= HERO (centered) ================= */
.hero {
  display: flex; align-items: center;
  padding-block: clamp(64px, 8vw, 110px) clamp(64px, 8vw, 104px);
  background:
    radial-gradient(1200px 600px at 50% 45%, rgba(0, 0, 0, 0.58), transparent 78%),
    radial-gradient(900px 480px at 80% -10%, rgba(47, 127, 208, 0.14), transparent 65%),
    radial-gradient(760px 440px at 10% 115%, rgba(23, 179, 163, 0.1), transparent 62%),
    #050b13;
}
.hero-inner {
  width: 100%; min-width: 0; max-width: 100%;
  display: flex; flex-direction: column; align-items: center; text-align: center;
}
.hero-word {
  font-size: clamp(52px, 20vw, 300px); font-weight: 900; line-height: 1.08; margin: 0;
  max-width: 100%;
  background-image: linear-gradient(rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.24) 50%, rgba(255, 255, 255, 0.06)),
    url("/assets/images/hero-saudi-jeddah.webp");
  background-size: cover; background-position: center 32%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 12px 60px rgba(241, 196, 91, 0.38)) drop-shadow(0 3px 12px rgba(0, 0, 0, 0.65));
}
@supports not ((-webkit-background-clip: text) or (background-clip: text)) {
  .hero-word { background: none; color: var(--gold); filter: none; }
}
html[dir="ltr"] .hero-word { font-size: clamp(44px, 15vw, 220px); }
.hero-id { margin-block: 14px 24px; width: min(680px, 100%); }
.hero-id hr { border: 0; height: 2px; background: var(--grad-brand); margin: 0 0 12px; opacity: 0.9; }
.hero-id .mono { display: block; font-size: 10px; opacity: 0.72; white-space: normal; overflow-wrap: break-word; }
.hero-copy { max-width: 54ch; font-size: clamp(15px, 1.4vw, 18px); opacity: 0.88; margin-inline: auto; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; margin-block-start: 26px; }
@media (max-width: 880px) {
  .hero { padding-block: 60px 110px; }
}

/* ================= ABOUT ================= */
.about-sec { overflow: hidden; }
.blob { position: absolute; border-radius: 50%; pointer-events: none; filter: blur(60px); }
.blob-1 { width: 420px; height: 420px; inset-block-start: -120px; inset-inline-start: -140px; background: rgba(23, 179, 163, 0.18); }
.blob-2 { width: 480px; height: 480px; inset-block-end: -160px; inset-inline-end: -150px; background: rgba(201, 152, 50, 0.16); }
.about-cols {
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 5vw, 80px); align-items: center;
  position: relative; z-index: 1;
}
.about-points { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.ap { display: flex; gap: 16px; align-items: flex-start; --apc: var(--gold); }
.ap-1 { --apc: var(--teal); }
.ap-2 { --apc: var(--blue); }
.ap-ico {
  flex: 0 0 auto; width: 40px; height: 40px; border-radius: 13px;
  background: color-mix(in srgb, var(--apc) 16%, var(--paper));
  border: 1px solid color-mix(in srgb, var(--apc) 35%, transparent);
  position: relative;
}
.ap-ico::after {
  content: ""; position: absolute; inset-inline-start: 14px; top: 11px;
  width: 8px; height: 14px;
  border: solid var(--apc); border-width: 0 3px 3px 0;
  transform: rotate(41deg); border-radius: 1px;
}
.ap strong { font-family: var(--display); font-size: 15px; color: color-mix(in srgb, var(--apc) 75%, var(--ink)); display: block; }
.ap p { margin: 2px 0 0; font-size: 14px; opacity: 0.8; }
/* visual: photo + rotated gradient tile + floating badge */
.about-visual { position: relative; padding: 18px; }
.about-tile {
  position: absolute; inset: 0;
  border-radius: 28px; transform: rotate(-4deg);
  background: var(--grad-brand); opacity: 0.3;
}
.about-float {
  position: absolute; inset-block-end: -16px; inset-inline-start: clamp(-6px, -1vw, 8px);
  background: var(--sheet); border-radius: 16px;
  padding: 14px 22px;
  box-shadow: 0 22px 54px rgba(7, 17, 29, 0.22);
  display: flex; flex-direction: column; gap: 2px;
  border-inline-start: 5px solid var(--gold);
}
.about-float strong { font-size: 15px; letter-spacing: 0.06em; color: #8a6516; }
.about-float span { font-size: 12px; color: var(--muted); font-weight: 600; }
/* full-colour photo in a soft frame */
.plate { margin: 0; position: relative; z-index: 1; }
.plate-frame {
  display: block; border-radius: 20px; overflow: hidden;
  box-shadow: 0 30px 70px rgba(7, 17, 29, 0.24);
}
.plate img { width: 100%; display: block; }
@media (max-width: 880px) {
  .about-cols { grid-template-columns: 1fr; }
  .about-visual { margin-block-end: 20px; }
}

/* ================= SERVICES — CARD CAROUSEL ================= */
#services {
  background:
    radial-gradient(800px 420px at 85% 0%, rgba(47, 127, 208, 0.18), transparent 60%),
    radial-gradient(700px 400px at 5% 30%, rgba(23, 179, 163, 0.12), transparent 60%),
    var(--ink);
}
.services-head { padding-block-end: clamp(20px, 3vw, 34px); }
.services-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.carousel-nav { display: flex; gap: 10px; }
.car-btn {
  width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid rgba(246, 242, 233, 0.3); background: transparent;
  color: var(--paper); font-size: 24px; line-height: 1; cursor: pointer;
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease), background-color 0.25s var(--ease);
}
.car-btn:hover { border-color: var(--gold); color: var(--ink); background-color: var(--gold); }
.carousel {
  display: grid; grid-auto-flow: column;
  grid-auto-columns: 100%;
  gap: clamp(18px, 3vw, 40px);
  overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 14px clamp(18px, 4vw, 56px) 10px;
  scrollbar-width: none;
}
.carousel::-webkit-scrollbar { display: none; }
.svc-card {
  scroll-snap-align: center;
  background: var(--ink-2); border: 1px solid rgba(246, 242, 233, 0.1);
  border-radius: 24px; padding: clamp(18px, 2.4vw, 30px);
  display: grid; grid-template-columns: 1.05fr 1fr;
  gap: clamp(18px, 2.6vw, 34px); align-items: center;
  --accent: var(--gold);
}
.svc-card:nth-child(2) { --accent: var(--teal); }
.svc-photo { margin: 0; border-radius: 16px; overflow: hidden; }
.svc-photo img { width: 100%; height: clamp(260px, 30vw, 400px); object-fit: cover; display: block; transition: transform 0.6s var(--ease); }
.svc-card:hover .svc-photo img { transform: scale(1.04); }
.svc-card h3 {
  margin: 0 0 10px; font-size: clamp(24px, 2.8vw, 34px);
  color: color-mix(in srgb, var(--accent) 45%, var(--paper));
}
.svc-card p { margin: 0; font-size: clamp(14.5px, 1.2vw, 16.5px); opacity: 0.85; max-width: 46ch; }
/* colourful category tags inside each service card */
.tags { display: flex; flex-wrap: wrap; gap: 9px; margin-block-start: 18px; }
.tag {
  padding: 7px 15px; border-radius: 11px;
  font-size: 13px; font-weight: 600; line-height: 1.5;
  background: color-mix(in srgb, var(--tg, var(--gold)) 20%, var(--ink-2));
  color: color-mix(in srgb, var(--tg, var(--gold)) 78%, white);
  border: 1px solid color-mix(in srgb, var(--tg, var(--gold)) 36%, transparent);
}
.tg-0 { --tg: var(--gold); }
.tg-1 { --tg: var(--teal); }
.tg-2 { --tg: var(--blue); }
.tg-3 { --tg: var(--green); }
.tg-4 { --tg: var(--copper); }
@media (max-width: 820px) {
  .svc-card { grid-template-columns: 1fr; align-items: start; }
  .svc-photo img { height: 210px; }
}
.car-dots { display: flex; justify-content: center; gap: 8px; margin-block-start: 20px; }
.car-dot {
  width: 8px; height: 8px; border-radius: 999px; border: 0; padding: 0;
  background: rgba(246, 242, 233, 0.25); cursor: pointer;
  transition: width 0.3s var(--ease), background-color 0.3s var(--ease);
}
.car-dot.active { background: var(--gold); width: 24px; }

/* ================= SECTORS — PHOTO MOSAIC ================= */
#sectors {
  background:
    radial-gradient(760px 420px at 12% -10%, rgba(23, 179, 163, 0.14), transparent 60%),
    radial-gradient(760px 420px at 92% 110%, rgba(201, 152, 50, 0.12), transparent 62%),
    var(--ink);
}
.sector-slide {
  margin: 0; position: relative; border-radius: 22px; overflow: hidden;
  scroll-snap-align: center;
  --tc: var(--gold);
}
.sl-1 { --tc: var(--teal); }
.sl-2 { --tc: var(--blue); }
.sl-3 { --tc: var(--green); }
.sl-4 { --tc: var(--copper); }
.sl-5 { --tc: var(--gold-2); }
.sector-slide img { width: 100%; height: clamp(300px, 42vw, 520px); object-fit: cover; display: block; }
.sector-slide figcaption {
  position: absolute; inset-inline: 0; inset-block-end: 0;
  padding: 80px 30px 24px;
  background: linear-gradient(0deg, rgba(7, 17, 29, 0.88), transparent);
  font-family: var(--display); font-weight: 800;
  font-size: clamp(20px, 2.6vw, 32px); color: #fff;
}
.sector-slide::after { content: ""; position: absolute; inset-block-start: 0; inset-inline: 0; height: 4px; background: var(--tc); }
@media (max-width: 760px) {
  .sector-slide img { height: 260px; }
  .sector-slide figcaption { padding: 50px 20px 16px; }
}

/* ================= VISION 2030 BAND ================= */
.vision-wrap { padding-block: clamp(10px, 2vw, 24px) clamp(64px, 8vw, 104px); }
.vision-band {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: auto 1fr;
  gap: clamp(24px, 4vw, 56px); align-items: center;
  background: var(--sheet); border-radius: 24px;
  padding: clamp(24px, 4vw, 48px);
  box-shadow: 0 26px 64px rgba(7, 17, 29, 0.12);
}
.vision-band::before {
  content: ""; position: absolute; inset-block-start: 0; inset-inline: 0;
  height: 4px; background: var(--grad-brand);
}
.vision-band img { width: clamp(160px, 20vw, 250px); height: auto; }
.vision-band h2 { font-size: clamp(22px, 2.6vw, 32px); margin: 0 0 8px; }
.vision-band p { margin: 0; font-size: 14.5px; opacity: 0.85; max-width: 62ch; }
.vision-band .tags { margin-block-start: 14px; }
.vision-band .tag {
  background: color-mix(in srgb, var(--tg, var(--gold)) 13%, #fff);
  color: color-mix(in srgb, var(--tg, var(--gold)) 62%, var(--ink));
  border-color: color-mix(in srgb, var(--tg, var(--gold)) 32%, transparent);
}
@media (max-width: 720px) {
  .vision-band { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .vision-band .tags { justify-content: center; }
}

/* ================= WHY MASHRAQ — TRUST CARDS ================= */
.why-cards {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: clamp(14px, 2vw, 22px); margin-block-start: 16px;
}
.why-card {
  background: var(--sheet); border-radius: 18px; padding: 24px;
  box-shadow: 0 18px 44px rgba(7, 17, 29, 0.08);
  display: flex; flex-direction: column; gap: 12px;
  --apc: var(--gold);
  border-block-start: 4px solid var(--apc);
}
.wc-1 { --apc: var(--teal); }
.wc-2 { --apc: var(--blue); }
.wc-3 { --apc: var(--copper); }
.why-card h3 { margin: 0; font-size: 17px; }
.why-card p { margin: 0; font-size: 13.5px; opacity: 0.8; }
@media (max-width: 980px) { .why-cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .why-cards { grid-template-columns: 1fr; } }

/* ================= FAQ — SPLIT LAYOUT + ACCORDION ================= */
#faq .eyebrow { background: rgba(47, 127, 208, 0.13); color: var(--blue-deep); }
.faq-grid {
  display: grid; grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(32px, 5vw, 80px); align-items: start;
}
.faq-intro { position: sticky; top: 110px; }
.faq-intro .btn { margin-block-start: 10px; }
.faq-list { display: flex; flex-direction: column; gap: 14px; margin: 0; }
.faq-item {
  background: var(--sheet); border-radius: 18px; overflow: hidden;
  border: 1px solid rgba(7, 17, 29, 0.07);
  box-shadow: 0 10px 30px rgba(7, 17, 29, 0.05);
  --fqc: var(--gold);
  transition: box-shadow 0.3s var(--ease);
}
.fq-1 { --fqc: var(--teal); }
.fq-2 { --fqc: var(--blue); }
.fq-3 { --fqc: var(--green); }
.fq-4 { --fqc: var(--copper); }
.faq-item[open] {
  box-shadow: 0 22px 52px rgba(7, 17, 29, 0.13);
  border-color: color-mix(in srgb, var(--fqc) 35%, transparent);
}
.faq-item summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 24px;
  font-family: var(--display); font-weight: 700; font-size: 16px;
  transition: color 0.25s var(--ease);
}
.faq-item[open] summary { color: color-mix(in srgb, var(--fqc) 70%, var(--ink)); }
.faq-item summary::-webkit-details-marker { display: none; }
.fq-plus {
  position: relative; flex: 0 0 auto; width: 32px; height: 32px; border-radius: 10px;
  background: var(--fqc);
  box-shadow: 0 6px 16px color-mix(in srgb, var(--fqc) 35%, transparent);
}
.fq-plus::before, .fq-plus::after {
  content: ""; position: absolute; background: #fff;
  inset-inline-start: 9px; top: 15px; width: 14px; height: 2.5px; border-radius: 2px;
  transition: transform 0.3s var(--ease);
}
.fq-plus::after { transform: rotate(90deg); }
.faq-item[open] .fq-plus::after { transform: rotate(0); }
.faq-item > p {
  margin: 0 18px 18px; padding: 14px 18px;
  background: color-mix(in srgb, var(--fqc) 7%, #fff);
  border-radius: 12px;
  font-size: 14px; opacity: 0.9;
}
@media (max-width: 880px) {
  .faq-grid { grid-template-columns: 1fr; }
  .faq-intro { position: static; }
}

/* ================= PROCESS — CONNECTED STEPS ================= */
.steps {
  list-style: none; margin: 30px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: clamp(14px, 2vw, 24px);
  position: relative;
}
/* the connector running behind the numbered dots */
.steps::before {
  content: ""; position: absolute; top: 26px; inset-inline: 13%;
  height: 3px; border-radius: 3px;
  background: linear-gradient(90deg, var(--gold), var(--teal) 38%, var(--blue) 70%, var(--green));
  opacity: 0.5;
}
html[dir="rtl"] .steps::before { background: linear-gradient(-90deg, var(--gold), var(--teal) 38%, var(--blue) 70%, var(--green)); }
.step { position: relative; display: flex; flex-direction: column; gap: 10px; text-align: center; align-items: center; padding: 0 6px; }
.step:nth-child(1) { --sd: var(--gold); }
.step:nth-child(2) { --sd: var(--teal); }
.step:nth-child(3) { --sd: var(--blue); }
.step:nth-child(4) { --sd: var(--green); }
.step h3 { margin: 6px 0 0; font-size: clamp(17px, 1.9vw, 21px); }
.step p { margin: 0; font-size: 14px; opacity: 0.8; max-width: 30ch; }
@media (max-width: 880px) {
  .steps { grid-template-columns: 1fr; gap: 8px; }
  .steps::before { inset-inline: auto; inset-inline-start: 25px; top: 30px; bottom: 30px; width: 3px; height: auto; background: linear-gradient(180deg, var(--gold), var(--teal) 38%, var(--blue) 70%, var(--green)); }
  .step {
    display: grid; grid-template-columns: 52px 1fr;
    column-gap: 16px; row-gap: 4px;
    text-align: start; align-items: start; padding-block: 14px;
  }
  .step .step-dot { grid-row: 1 / 3; }
  .step h3 { grid-column: 2; margin: 4px 0 0; }
  .step p { grid-column: 2; max-width: none; }
}

/* ================= BRAND CARDS (on dark) ================= */
#brands {
  background:
    radial-gradient(700px 400px at 90% -10%, rgba(201, 152, 50, 0.12), transparent 60%),
    radial-gradient(700px 420px at 6% 110%, rgba(47, 127, 208, 0.14), transparent 62%),
    var(--ink);
}
#brands .eyebrow { background: rgba(47, 127, 208, 0.2); color: #8fbdf0; }
.brand-cards {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: clamp(14px, 2vw, 22px); margin-block-start: 14px;
}
.brand-card {
  background: var(--sheet); border-radius: 18px;
  padding: 26px 18px 22px;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  box-shadow: 0 18px 44px rgba(7, 17, 29, 0.1);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.brand-card:hover { transform: translateY(-4px); box-shadow: 0 26px 56px rgba(7, 17, 29, 0.16); }
.brand-logo { height: 44px; display: flex; align-items: center; }
.brand-logo img { max-height: 44px; max-width: 130px; object-fit: contain; }
.brand-card strong { font-family: var(--display); font-size: 15px; }
.pill {
  display: inline-block; padding: 5px 14px; border-radius: 999px;
  font-size: 12.5px; font-weight: 600; line-height: 1.5;
}
.pill-teal { background: rgba(23, 179, 163, 0.14); color: var(--teal-deep); }
.pill-blue { background: rgba(47, 127, 208, 0.13); color: var(--blue-deep); }

/* ================= RFQ — MODAL WITH SPLIT CARD ================= */
.rfq-modal {
  border: 0; padding: 0; background: transparent;
  width: min(1020px, 94vw); max-width: none;
  margin: auto;
}
.rfq-modal::backdrop { background: rgba(7, 17, 29, 0.72); backdrop-filter: blur(6px); }
.modal-close {
  position: absolute; top: 14px; inset-inline-end: 14px; z-index: 2;
  width: 38px; height: 38px; border-radius: 50%; border: 0;
  background: rgba(7, 17, 29, 0.35); color: #fff;
  font-size: 15px; line-height: 1; cursor: pointer;
  transition: background-color 0.25s var(--ease);
}
.modal-close:hover { background: rgba(7, 17, 29, 0.65); }
.rfq-sheet {
  position: relative;
  margin: 0; max-height: 88vh; overflow: auto;
  border-radius: 24px;
  box-shadow: 0 34px 90px rgba(7, 17, 29, 0.4);
  display: grid; grid-template-columns: 0.85fr 1.35fr;
  background: var(--sheet);
}
.rfq-side {
  background:
    radial-gradient(420px 320px at 85% -10%, rgba(47, 127, 208, 0.35), transparent 65%),
    radial-gradient(380px 300px at 0% 110%, rgba(23, 179, 163, 0.28), transparent 60%),
    var(--ink);
  color: var(--paper);
  padding: clamp(26px, 4vw, 44px);
  display: flex; flex-direction: column; gap: 12px;
}
.rfq-side h2 { margin: 0; font-size: clamp(22px, 2.6vw, 30px); max-width: none; }
.rfq-side > p { margin: 0; font-size: 14px; opacity: 0.82; }
.side-list { display: flex; flex-direction: column; gap: 10px; margin-block-start: auto; padding-block-start: 22px; }
.side-item { display: flex; align-items: center; gap: 10px; font-size: 13.5px; opacity: 0.9; }
.side-item::before { content: ""; width: 9px; height: 9px; border-radius: 50%; flex: 0 0 auto; background: var(--gold); }
.side-item.si-1::before { background: var(--teal); }
.side-item.si-2::before { background: var(--blue); }
.rfq-meta { display: flex; gap: 12px; flex-wrap: wrap; font-size: 10px; opacity: 0.85; margin-block-start: 14px; }
.rfq-meta b { color: var(--gold-2); font-weight: 600; background: rgba(241, 196, 91, 0.14); padding: 3px 10px; border-radius: 8px; }
.rfq-main { padding: clamp(24px, 4vw, 44px); }
.rfq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; }
@media (max-width: 840px) {
  .rfq-sheet { grid-template-columns: 1fr; }
  .side-list { margin-block-start: 8px; }
}
.field { display: flex; flex-direction: column; gap: 6px; }
.field-wide { grid-column: 1 / -1; }
.field > span { font-size: 12.5px; font-weight: 600; }
.field b { color: var(--gold); }
.field input, .field select, .field textarea {
  border: 1.5px solid transparent; border-radius: 12px;
  background: #f4f1ea; padding: 12px 14px;
  transition: border-color 0.25s, background-color 0.25s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--gold); background: #fff;
}
/* upload zone */
.pocket {
  margin-block-start: 22px;
  border: 2px dashed rgba(23, 179, 163, 0.5);
  border-radius: 16px; background: rgba(23, 179, 163, 0.06);
  padding: clamp(22px, 4vw, 38px);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  text-align: center; cursor: pointer;
  transition: border-color 0.3s, background-color 0.3s;
}
.pocket strong { font-family: var(--display); font-size: 15px; }
.pocket .mono { font-size: 9px; opacity: 0.55; }
.pocket:hover, .pocket.is-drag { border-color: var(--teal); background: rgba(23, 179, 163, 0.11); }
/* file list */
.translog { display: flex; flex-direction: column; gap: 8px; margin-block-start: 12px; }
.translog-row {
  display: grid; grid-template-columns: 1fr auto auto auto;
  gap: 14px; align-items: center;
  padding: 10px 14px; border-radius: 12px;
  background: #f4f1ea; font-size: 13px;
}
.translog-row .mono { font-size: 10px; opacity: 0.6; }
.tl-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; direction: ltr; unicode-bidi: isolate; text-align: start; }
.tl-remove {
  background: none; border: 1px solid rgba(7, 17, 29, 0.15); border-radius: 8px;
  width: 26px; height: 26px; cursor: pointer; line-height: 1;
}
.tl-remove:hover { border-color: #b3372e; color: #b3372e; }
.form-msg { min-height: 1.2em; font-size: 13px; margin-block: 12px 0; }
.form-msg.error { color: #b3372e; }
.form-msg.success { color: #1c7a43; font-weight: 600; }
.rfq-foot { display: flex; justify-content: flex-end; margin-block-start: 18px; }
@media (max-width: 680px) { .rfq-grid { grid-template-columns: 1fr; } .rfq-foot .btn { width: 100%; justify-content: center; } }

/* ================= FOOTER ================= */
.site-footer {
  background:
    radial-gradient(700px 380px at 88% 0%, rgba(47, 127, 208, 0.14), transparent 60%),
    radial-gradient(600px 340px at 8% 100%, rgba(23, 179, 163, 0.1), transparent 60%),
    var(--ink);
  color: var(--paper); position: relative; overflow: hidden;
  padding-block: clamp(48px, 7vw, 84px) 28px;
}
.site-footer .shell { position: relative; z-index: 1; }
.site-footer .wm { font-size: clamp(160px, 26vw, 380px); inset-block-start: auto; inset-block-end: -0.1em; }
.endset { text-align: center; font-size: 13px; opacity: 0.65; margin-block-end: 36px; font-family: var(--display); font-weight: 700; }
.foot-cells { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 48px); margin-block-end: 40px; }
.foot-cell h3 { font-size: 15px; margin-block-end: 12px; }
.foot-cell:nth-child(1) h3 { color: var(--gold-2); }
.foot-cell:nth-child(2) h3 { color: color-mix(in srgb, var(--teal) 70%, white); }
.foot-cell:nth-child(3) h3 { color: color-mix(in srgb, var(--blue) 65%, white); }
.foot-cell a, .foot-cell span { display: block; font-size: 13.5px; opacity: 0.75; padding-block: 4px; }
.foot-cell a:hover { opacity: 1; color: var(--gold-2); }
.colophon { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.colophon .foil { width: 150px; }
.colophon .mono { font-size: 9px; opacity: 0.55; }
.legal { font-size: 11px; opacity: 0.45; max-width: 72ch; margin-inline: auto; }
@media (max-width: 760px) { .foot-cells { grid-template-columns: 1fr; gap: 20px; } }

/* ================= LANGUAGE PAGE-TURN ================= */
::view-transition-old(root) { animation: vt-out 0.2s ease both; }
::view-transition-new(root) { animation: vt-in 0.24s ease both; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; transform: translateX(var(--vt-dx, 12px)); } to { opacity: 1; transform: none; } }
html[data-vt="to-rtl"] { --vt-dx: -12px; }
html[data-vt="to-ltr"] { --vt-dx: 12px; }

/* ================= REDUCED MOTION ================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .btn { transition: none; }
  .btn .lead-arrow { transition: none; }
  .svc-photo img { transition: none; }
  .brand-card { transition: none; }
  .car-dot { transition: none; }
}
