/* =========================================================
   United Four Technical Supply — site stylesheet
   Palette and type taken from the United Four logo:
   deep navy wordmark, navy→ice-blue wing gradient,
   flame/fan orange and snowflake ice blue.
   ========================================================= */

:root {
  --navy-950: #081b2a;
  --navy-900: #0c2538;
  --navy-800: #15324a;
  --navy-700: #24435b;
  --steel-600: #4a6a80;
  --steel-500: #5f7f93;
  --steel-400: #7d9aab;
  --ice-300: #a9cfe0;
  --ice-200: #cfe4ee;
  --ice-100: #e8f2f7;
  --orange-500: #f05a24;
  --orange-600: #d94a17;
  --orange-100: #fde9e0;

  --bg: #f6f7f8;
  --surface: #ffffff;
  --text: #0c2538;
  --text-2: #3d556a;
  --text-3: #6a8293;
  --line: #dfe6eb;

  --wing: linear-gradient(90deg, var(--navy-900) 0%, var(--steel-500) 55%, var(--ice-300) 100%);
  --wing-dark: linear-gradient(120deg, var(--navy-950) 0%, var(--navy-900) 45%, var(--navy-700) 100%);

  --font: "Readex Pro", "Lexend", system-ui, -apple-system, "Segoe UI", Tahoma, sans-serif;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(12, 37, 56, .06), 0 8px 24px rgba(12, 37, 56, .08);
  --shadow-lg: 0 2px 4px rgba(12, 37, 56, .06), 0 24px 48px rgba(12, 37, 56, .14);
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
svg[aria-hidden="true"] { width: 1.15em; height: 1.15em; flex: none; }
.logo-row > svg { width: 22px; height: 22px; color: var(--navy-900); }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; font-weight: 600; letter-spacing: -0.01em; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--orange-500); outline-offset: 3px; border-radius: 4px; }

/* ---------- Language switching ---------- */
html[lang="en"] body [lang="ar"] { display: none !important; }
html[lang="ar"] body [lang="en"] { display: none !important; }
html[lang="ar"] body { font-size: 17.5px; line-height: 1.85; }
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3 { letter-spacing: 0; line-height: 1.35; }
[dir="rtl"] .flip { transform: scaleX(-1); }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 9vw, 112px); }
.section--white { background: var(--surface); }
.section--ice { background: var(--ice-100); }
.section--dark { background: var(--wing-dark); color: #fff; position: relative; overflow: hidden; }
.section--dark .lead, .section--dark p { color: rgba(255, 255, 255, .78); }
.grid { display: grid; gap: clamp(20px, 3vw, 32px); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split--rev > :first-child { order: 2; }
@media (max-width: 960px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split, .split--rev { grid-template-columns: 1fr; }
  .split--rev > :first-child { order: 0; }
}
@media (max-width: 620px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* ---------- Type helpers ---------- */
.eyebrow {
  display: flex; align-items: center; gap: 12px;
  font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--text-2); margin-bottom: 18px;
}
html[lang="ar"] .eyebrow { letter-spacing: 0; font-size: 14px; }
.eyebrow::before { content: ""; width: 10px; height: 10px; background: var(--orange-500); flex: none; }
.eyebrow::after { content: ""; height: 1px; background: currentColor; opacity: .25; flex: 1; max-width: 120px; }
.section--dark .eyebrow { color: var(--ice-300); }
.h1 { font-size: clamp(38px, 5.6vw, 68px); font-weight: 600; }
.h2 { font-size: clamp(30px, 3.8vw, 46px); }
.h3 { font-size: clamp(20px, 2vw, 24px); }
.grad-text {
  background: linear-gradient(90deg, var(--navy-900), var(--steel-500));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.section--dark .grad-text, .hero .grad-text {
  background: linear-gradient(90deg, #fff 10%, var(--ice-300));
  -webkit-background-clip: text; background-clip: text;
}
.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--text-2); max-width: 62ch; }
.muted { color: var(--text-3); }
.head { margin-bottom: clamp(36px, 5vw, 56px); max-width: 780px; }
.head .lead { margin-top: 16px; }
.head--center { margin-inline: auto; text-align: center; }
.head--center .eyebrow { justify-content: center; }
.head--center .eyebrow::after { display: none; }
.head--center .lead { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 24px; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 500; font-size: 16px; line-height: 1; white-space: nowrap;
  transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--primary { background: var(--orange-500); color: #fff; box-shadow: 0 6px 18px rgba(240, 90, 36, .28); }
.btn--primary:hover { background: var(--orange-600); transform: translateY(-1px); }
.btn--dark { background: var(--navy-900); color: #fff; }
.btn--dark:hover { background: var(--navy-700); }
.btn--ghost { border-color: rgba(255, 255, 255, .45); color: #fff; }
.btn--ghost:hover { background: rgba(255, 255, 255, .1); border-color: #fff; }
.btn--outline { border-color: var(--navy-900); color: var(--navy-900); }
.btn--outline:hover { background: var(--navy-900); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; color: var(--navy-900); }
.link-arrow svg { width: 18px; height: 18px; transition: transform .2s; }
.link-arrow:hover svg { transform: translateX(4px); }
[dir="rtl"] .link-arrow:hover svg { transform: scaleX(-1) translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: rgba(246, 247, 248, .88);
  backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .2s, background .2s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); background: rgba(255, 255, 255, .94); }
.site-header .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand-logo img { height: 46px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav > a, .nav-dd > button {
  padding: 10px 14px; border-radius: 999px; font-size: 15px; font-weight: 400; color: var(--text-2);
  background: none; border: 0; display: inline-flex; align-items: center; gap: 6px;
  transition: color .2s, background .2s;
}
.nav > a:hover, .nav-dd > button:hover { color: var(--navy-900); background: rgba(12, 37, 56, .05); }
.nav a[aria-current="page"], .nav-dd.is-current > button { color: var(--navy-900); font-weight: 500; }
.nav a[aria-current="page"]::after { content: ""; display: block; }
.nav-dd { position: relative; }
.nav-dd > button svg { width: 14px; height: 14px; transition: transform .2s; }
.nav-dd.is-open > button svg { transform: rotate(180deg); }
.dd-menu {
  position: absolute; top: calc(100% + 10px); inset-inline-start: -12px; min-width: 300px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: 8px; opacity: 0; visibility: hidden; transform: translateY(-6px); transition: .18s;
}
.nav-dd.is-open .dd-menu { opacity: 1; visibility: visible; transform: none; }
.dd-menu a { display: grid; grid-template-columns: 44px 1fr; gap: 12px; align-items: center; padding: 10px; border-radius: 10px; }
.dd-menu a:hover { background: var(--ice-100); }
.dd-menu .dd-ic { width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center; background: var(--ice-100); color: var(--navy-900); }
.dd-menu .dd-ic svg { width: 22px; height: 22px; }
.dd-menu strong { display: block; font-weight: 600; font-size: 15px; }
.dd-menu small { display: block; font-size: 13px; color: var(--text-3); line-height: 1.35; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.lang-btn {
  border: 1.5px solid var(--line); background: #fff; color: var(--navy-900); border-radius: 999px;
  padding: 8px 14px; font-size: 14px; font-weight: 500; display: inline-flex; align-items: center; gap: 6px;
}
.lang-btn:hover { border-color: var(--navy-900); }
.lang-btn svg { width: 16px; height: 16px; }
.lang-btn [lang="ar"] { font-family: var(--font); }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; color: var(--navy-900); place-items: center; }
.menu-btn svg { width: 22px; height: 22px; }
.header-cta { padding: 11px 18px; font-size: 15px; }

@media (max-width: 1060px) {
  .menu-btn { display: grid; }
  .header-cta { display: none; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 2px;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg);
    padding: 12px var(--gutter) 20px; max-height: calc(100dvh - var(--header-h)); overflow: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: .2s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav > a, .nav-dd > button { padding: 14px 12px; font-size: 17px; border-radius: 10px; width: 100%; justify-content: space-between; }
  .dd-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 6px; min-width: 0; display: none; }
  .nav-dd.is-open .dd-menu { display: block; }
}
@media (max-width: 420px) { .brand-logo img { height: 38px; } .lang-btn { padding: 8px 10px; } }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background: var(--wing-dark);
  padding-block: clamp(56px, 8vw, 96px) clamp(64px, 9vw, 110px);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 80% at 85% 10%, rgba(169, 207, 224, .22), transparent 60%),
              radial-gradient(40% 50% at 0% 100%, rgba(240, 90, 36, .14), transparent 60%);
}
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero .tagline { display: flex; flex-wrap: wrap; gap: 8px 14px; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--ice-300); font-weight: 500; margin-bottom: 22px; }
html[lang="ar"] .hero .tagline { letter-spacing: 0; font-size: 14px; }
.hero .tagline span + span::before { content: "•"; margin-inline-end: 14px; color: var(--orange-500); }
.hero h1 { font-size: clamp(36px, 4.8vw, 60px); }
.hero h1 em { font-style: normal; color: var(--orange-500); }
.hero .lead { color: rgba(255, 255, 255, .8); margin-top: 22px; }
.hero-stats { display: grid; grid-template-columns: repeat(3, auto); gap: clamp(16px, 4vw, 44px); margin-top: 44px; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, .15); justify-content: start; }
.hero-stats strong { display: block; font-size: clamp(26px, 3vw, 34px); font-weight: 600; color: #fff; line-height: 1.1; }
.hero-stats span { font-size: 14px; color: rgba(255, 255, 255, .65); }

/* three slanted "wings" echo the logo's three feathers */
.wings { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; height: clamp(380px, 44vw, 540px); transform: skewX(-8deg); }
[dir="rtl"] .wings { transform: skewX(8deg); }
.wing { position: relative; overflow: hidden; border-radius: 18px; background: var(--navy-800); box-shadow: 0 30px 60px rgba(0, 0, 0, .35); margin: 0; }
.wing:nth-child(2) { margin-top: 36px; margin-bottom: -36px; }
.wing:nth-child(3) { margin-top: 72px; margin-bottom: -72px; }
.wing img { position: absolute; top: 0; left: -25%; width: 150%; max-width: none; height: 100%; object-fit: cover; transform: skewX(8deg); }
[dir="rtl"] .wing img { transform: skewX(-8deg); }
.wing::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(8, 27, 42, .92)); }
.wing figcaption { position: absolute; z-index: 1; inset-inline: 16px; bottom: 18px; transform: skewX(8deg); }
[dir="rtl"] .wing figcaption { transform: skewX(-8deg); }
.wing figcaption small { display: block; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--ice-300); }
html[lang="ar"] .wing figcaption small { letter-spacing: 0; font-size: 13px; }
.wing figcaption strong { font-size: 18px; font-weight: 600; }
@media (max-width: 960px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .wings { height: 320px; margin-top: 8px; }
}
@media (max-width: 520px) {
  .wings { height: 260px; gap: 8px; transform: none; }
  [dir="rtl"] .wings { transform: none; }
  .wing img, [dir="rtl"] .wing img, .wing figcaption, [dir="rtl"] .wing figcaption { transform: none; }
  .wing img { left: 0; width: 100%; }
  .wing:nth-child(2), .wing:nth-child(3) { margin: 0; }
  .wing figcaption { inset-inline: 10px; bottom: 10px; }
  .wing figcaption strong { font-size: 14px; }
  .hero-stats { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; overflow: hidden; color: #fff; background: var(--wing-dark); padding-block: clamp(56px, 7vw, 88px); }
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero .crumbs { display: flex; gap: 8px; font-size: 14px; color: rgba(255, 255, 255, .6); margin-bottom: 18px; }
.page-hero .crumbs a:hover { color: #fff; }
.page-hero h1 { font-size: clamp(36px, 5vw, 60px); max-width: 18ch; }
.page-hero .lead { color: rgba(255, 255, 255, .78); margin-top: 18px; }
.watermark {
  position: absolute; inset-inline-end: -40px; top: 50%; transform: translateY(-50%);
  width: clamp(240px, 34vw, 460px); opacity: .07; pointer-events: none;
}
.page-hero--brand { padding-block: clamp(56px, 7vw, 96px); }
.page-hero--brand .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.page-hero--brand .brand-plate { margin-bottom: 26px; }
.page-hero--brand .hero-img { border-radius: var(--radius); overflow: hidden; box-shadow: 0 30px 60px rgba(0, 0, 0, .35); aspect-ratio: 4 / 3; background: rgba(255,255,255,.06); }
.page-hero--brand .hero-img img { width: 100%; height: 100%; object-fit: cover; }
.page-hero--brand .hero-img.contain { background: linear-gradient(160deg, #ffffff, var(--ice-200)); display: grid; place-items: center; padding: 24px; }
.page-hero--brand .hero-img.contain img { object-fit: contain; }
.tagpill { display: inline-flex; align-items: center; gap: 8px; margin-top: 24px; padding: 8px 16px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); font-size: 14px; color: #fff; }
.tagpill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--orange-500); }
@media (max-width: 960px) { .page-hero--brand .wrap { grid-template-columns: 1fr; } }

/* ---------- Brand logo plates ---------- */
.brand-plate { display: inline-flex; align-items: center; justify-content: center; padding: 14px 22px; border-radius: 12px; background: #fff; }
.brand-plate img { height: 36px; width: auto; }
.brand-plate--dark { background: var(--navy-950); border: 1px solid rgba(255, 255, 255, .12); }
.page-hero .brand-plate img { height: 44px; }

/* ---------- Cards ---------- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 2.6vw, 32px); transition: transform .25s, box-shadow .25s, border-color .25s; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; }
.card h3 { font-size: 20px; margin-bottom: 10px; }
.card p { color: var(--text-2); font-size: 16px; }
.icon-tile { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--ice-100); color: var(--navy-900); margin-bottom: 20px; }
.icon-tile svg { width: 26px; height: 26px; }
.icon-tile--orange { background: var(--orange-100); color: var(--orange-600); }
.icon-tile--dark { background: var(--navy-900); color: #fff; }
.num { font-size: 14px; font-weight: 600; color: var(--orange-500); letter-spacing: .06em; margin-bottom: 14px; display: block; }

/* solution cards (home + brands) */
.sol-card { position: relative; display: flex; flex-direction: column; background: var(--surface); border-radius: 20px; overflow: hidden; border: 1px solid var(--line); transition: transform .25s, box-shadow .25s; }
.sol-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.sol-card .media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--ice-100); }
.sol-card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.sol-card:hover .media img { transform: scale(1.04); }
.sol-card .media .idx { position: absolute; top: 14px; inset-inline-start: 14px; width: 40px; height: 40px; border-radius: 50%; background: var(--navy-900); color: #fff; display: grid; place-items: center; font-weight: 600; font-size: 15px; }
.sol-card .body { padding: 26px 26px 28px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.sol-card .cat { font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--orange-500); }
html[lang="ar"] .sol-card .cat { letter-spacing: 0; }
.sol-card h3 { font-size: 26px; }
.sol-card p { color: var(--text-2); font-size: 16px; flex: 1; }
.sol-card .logo-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line); }
.sol-card .logo-row .brand-plate { padding: 8px 12px; border: 1px solid var(--line); }
.sol-card .logo-row .brand-plate img { height: 22px; }

/* ---------- Lists ---------- */
.ticks { display: grid; gap: 12px; }
.ticks li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; color: var(--text-2); }
.ticks li svg { width: 22px; height: 22px; color: var(--orange-500); margin-top: 3px; }
.section--dark .ticks li { color: rgba(255, 255, 255, .85); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { padding: 9px 16px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 15px; color: var(--text-2); display: inline-flex; align-items: center; gap: 8px; }
.chips li svg { width: 18px; height: 18px; color: var(--steel-500); }
.section--dark .chips li { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .14); color: #fff; }
.section--dark .chips li svg { color: var(--ice-300); }

/* sector tiles */
.sector { display: flex; align-items: center; gap: 14px; padding: 18px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; font-weight: 500; }
.sector svg { width: 26px; height: 26px; color: var(--steel-500); flex: none; }

/* ---------- Media frames ---------- */
.frame { position: relative; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-lg); background: var(--ice-100); }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.frame--tall { aspect-ratio: 4 / 5; }
.frame--wide { aspect-ratio: 16 / 10; }
.frame-stack { position: relative; padding-bottom: 48px; padding-inline-end: 48px; }
.frame-stack .frame--accent { position: absolute; width: 46%; bottom: 0; inset-inline-end: 0; border: 6px solid var(--bg); aspect-ratio: 1; }
.section--white .frame-stack .frame--accent { border-color: #fff; }
.badge-float { position: absolute; top: 24px; inset-inline-start: -16px; background: var(--orange-500); color: #fff; border-radius: 14px; padding: 16px 20px; box-shadow: var(--shadow-lg); max-width: 220px; }
.badge-float strong { display: block; font-size: 15px; font-weight: 600; line-height: 1.3; }
.badge-float span { font-size: 13px; opacity: .9; }
@media (max-width: 620px) { .badge-float { inset-inline-start: 12px; } .frame-stack { padding-inline-end: 24px; padding-bottom: 24px; } }

/* ---------- Vision / mission ---------- */
.vm-card { position: relative; border-radius: 20px; padding: clamp(28px, 4vw, 44px); overflow: hidden; }
.vm-card--navy { background: var(--wing-dark); color: #fff; }
.vm-card--navy p { color: rgba(255, 255, 255, .85); }
.vm-card--ice { background: linear-gradient(135deg, var(--ice-200), var(--ice-100)); }
.vm-card h3 { font-size: 15px; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 18px; display: flex; align-items: center; gap: 12px; }
html[lang="ar"] .vm-card h3 { letter-spacing: 0; font-size: 17px; }
.vm-card h3 svg { width: 28px; height: 28px; color: var(--orange-500); }
.vm-card p { font-size: clamp(19px, 2vw, 23px); line-height: 1.55; font-weight: 300; }

/* ---------- Process / steps ---------- */
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; background: var(--surface); }
.step { padding: 28px 24px 30px; border-inline-end: 1px solid var(--line); border-bottom: 1px solid var(--line); position: relative; }
.step:nth-child(4n) { border-inline-end: 0; }
.step:nth-last-child(-n+4) { border-bottom: 0; }
.step .n { font-size: 40px; font-weight: 600; line-height: 1; background: var(--wing); -webkit-background-clip: text; background-clip: text; color: transparent; display: block; margin-bottom: 18px; }
.step h3 { font-size: 17px; font-weight: 500; line-height: 1.35; }
.step svg { position: absolute; top: 28px; inset-inline-end: 24px; width: 24px; height: 24px; color: var(--steel-400); }
@media (max-width: 960px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step { border-inline-end: 1px solid var(--line) !important; border-bottom: 1px solid var(--line) !important; }
  .step:nth-child(2n) { border-inline-end: 0 !important; }
  .step:nth-last-child(-n+2) { border-bottom: 0 !important; }
}
@media (max-width: 520px) {
  .steps { grid-template-columns: 1fr; }
  .step { border-inline-end: 0 !important; }
  .step:nth-last-child(2) { border-bottom: 1px solid var(--line) !important; }
}

/* commitment flow */
.flow { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; position: relative; }
.flow::before { content: ""; position: absolute; top: 34px; inset-inline: 10%; height: 2px; background: linear-gradient(90deg, var(--orange-500), var(--ice-300)); opacity: .55; }
.flow-item { position: relative; text-align: center; padding: 0 6px; }
.flow-item .dot { width: 68px; height: 68px; margin: 0 auto 18px; border-radius: 50%; background: var(--navy-900); color: #fff; display: grid; place-items: center; box-shadow: 0 0 0 8px var(--bg); position: relative; }
.section--white .flow-item .dot { box-shadow: 0 0 0 8px #fff; }
.section--dark .flow-item .dot { background: #fff; color: var(--navy-900); box-shadow: 0 0 0 8px var(--navy-900); }
.flow-item .dot svg { width: 28px; height: 28px; }
.flow-item .dot b { position: absolute; top: -4px; inset-inline-end: -4px; width: 26px; height: 26px; border-radius: 50%; background: var(--orange-500); color: #fff; font-size: 13px; display: grid; place-items: center; font-weight: 600; }
.flow-item h3 { font-size: 17px; font-weight: 500; }
@media (max-width: 860px) {
  .flow { grid-template-columns: 1fr; gap: 18px; }
  .flow::before { top: 0; bottom: 0; inset-inline: auto; inset-inline-start: 33px; width: 2px; height: auto; background: linear-gradient(180deg, var(--orange-500), var(--ice-300)); }
  .flow-item { display: grid; grid-template-columns: 68px 1fr; gap: 18px; align-items: center; text-align: start; padding: 0; }
  .flow-item .dot { margin: 0; }
}

/* ---------- Brand page specifics ---------- */
.support-box { position: relative; border-radius: 20px; padding: clamp(28px, 4vw, 44px); background: var(--wing-dark); color: #fff; overflow: hidden; }
.support-box .eyebrow { color: var(--ice-300); }
.support-box p { color: rgba(255, 255, 255, .85); font-size: 18px; max-width: 70ch; }
.support-box .chips { margin-top: 22px; }
.support-box .watermark { opacity: .08; width: 260px; inset-inline-end: -30px; }

.prod { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; transition: transform .25s, box-shadow .25s; }
.prod:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.prod .pimg { aspect-ratio: 4 / 3; background: linear-gradient(160deg, #fff, var(--ice-100)); display: grid; place-items: center; padding: 18px; }
.prod .pimg img { width: 100%; height: 100%; object-fit: contain; }
.prod .pimg.cover { padding: 0; }
.prod .pimg.cover img { object-fit: cover; }
.prod .pbody { padding: 20px 22px 24px; }
.prod h3 { font-size: 18px; margin-bottom: 6px; }
.prod p { font-size: 15px; color: var(--text-2); }

.sol-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.sol-list li { display: flex; gap: 16px; align-items: flex-start; padding: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; }
.sol-list li .n { font-size: 14px; font-weight: 600; color: #fff; background: var(--navy-900); border-radius: 8px; padding: 5px 9px; line-height: 1; flex: none; margin-top: 2px; }
.sol-list li span:last-child { font-weight: 500; line-height: 1.4; }
@media (max-width: 960px) { .sol-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .sol-list { grid-template-columns: 1fr; } }

.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.fact { background: var(--surface); padding: 24px; }
.fact strong { display: block; font-size: clamp(24px, 2.6vw, 32px); font-weight: 600; line-height: 1.1; margin-bottom: 6px; }
.fact span { font-size: 14px; color: var(--text-3); line-height: 1.4; display: block; }
@media (max-width: 860px) { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.stage-flow { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.stage { position: relative; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); border-radius: 16px; padding: 22px 18px; }
.stage .n { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: #fff; color: var(--navy-900); font-weight: 600; font-size: 14px; margin-bottom: 14px; }
.stage h3 { font-size: 17px; font-weight: 500; color: #fff; }
.stage p { font-size: 14px; margin-top: 8px; }
.stage:not(:last-child)::after { content: ""; position: absolute; top: 40px; inset-inline-end: -12px; width: 10px; height: 10px; border-top: 2px solid var(--ice-300); border-inline-end: 2px solid var(--ice-300); transform: rotate(45deg); z-index: 1; }
[dir="rtl"] .stage:not(:last-child)::after { transform: rotate(-45deg); }
@media (max-width: 960px) { .stage-flow { grid-template-columns: 1fr 1fr; } .stage::after { display: none; } }
@media (max-width: 520px) { .stage-flow { grid-template-columns: 1fr; } }

.spec { width: 100%; border-collapse: collapse; font-size: 15px; background: var(--surface); border-radius: 14px; overflow: hidden; border: 1px solid var(--line); }
.spec th, .spec td { text-align: start; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec tr:last-child th, .spec tr:last-child td { border-bottom: 0; }
.spec th { width: 38%; font-weight: 500; color: var(--text); background: var(--ice-100); }
.spec td { color: var(--text-2); }

.note { font-size: 13px; color: var(--text-3); margin-top: 18px; }

/* brand overview rows (brands.html) */
.brand-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; padding-block: clamp(40px, 6vw, 72px); border-bottom: 1px solid var(--line); }
.brand-row:last-child { border-bottom: 0; }
.brand-row:nth-child(even) > :first-child { order: 2; }
.brand-row .brand-plate { border: 1px solid var(--line); margin-bottom: 20px; }
.brand-row h2 { font-size: clamp(26px, 3vw, 36px); margin-bottom: 14px; }
.brand-row p { color: var(--text-2); }
.brand-row .chips { margin-top: 20px; }
@media (max-width: 860px) { .brand-row { grid-template-columns: 1fr; } .brand-row:nth-child(even) > :first-child { order: 0; } }

/* ---------- CTA band ---------- */
.cta { position: relative; overflow: hidden; border-radius: 24px; padding: clamp(36px, 6vw, 64px); background: var(--wing-dark); color: #fff; display: grid; grid-template-columns: 1.4fr auto; gap: 32px; align-items: center; }
.cta::after { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 90% at 100% 0%, rgba(240, 90, 36, .22), transparent 60%); pointer-events: none; }
.cta > * { position: relative; z-index: 1; }
.cta h2 { font-size: clamp(28px, 3.4vw, 42px); }
.cta p { color: rgba(255, 255, 255, .78); margin-top: 12px; max-width: 56ch; }
.cta .btn-row { margin-top: 0; }
@media (max-width: 860px) { .cta { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 56px); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.cinfo { display: grid; gap: 14px; }
.cinfo a, .cinfo div.ci { display: grid; grid-template-columns: 52px 1fr; gap: 16px; align-items: center; padding: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; transition: border-color .2s, box-shadow .2s; }
.cinfo a:hover { border-color: var(--navy-900); box-shadow: var(--shadow); }
.cinfo small { display: block; font-size: 13px; color: var(--text-3); }
.cinfo strong { display: block; font-weight: 500; font-size: 17px; direction: ltr; unicode-bidi: isolate; }
html[lang="ar"] .cinfo strong { text-align: right; }
.cinfo .icon-tile { margin: 0; }
.form { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow); }
.form h2 { font-size: 26px; margin-bottom: 8px; }
.form .muted { font-size: 15px; margin-bottom: 26px; }
.fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fgrid .full { grid-column: 1 / -1; }
@media (max-width: 560px) { .fgrid { grid-template-columns: 1fr; } }
.field label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 16px; font-weight: 300; color: var(--text);
  padding: 13px 14px; border: 1.5px solid var(--line); border-radius: 10px; background: var(--bg); transition: border-color .2s, background .2s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy-900); background: #fff; }
.checks { display: flex; flex-wrap: wrap; gap: 10px; }
.checks label { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border: 1.5px solid var(--line); border-radius: 999px; font-size: 15px; font-weight: 400; cursor: pointer; margin: 0; }
.checks input { width: auto; accent-color: var(--orange-500); }
.checks label:has(input:checked) { border-color: var(--orange-500); background: var(--orange-100); }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; align-items: center; }
.form-status { font-size: 14px; color: var(--text-3); }
.map { border-radius: 20px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 21 / 9; background: var(--ice-100); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }
@media (max-width: 620px) { .map { aspect-ratio: 4 / 3; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: rgba(255, 255, 255, .72); padding-top: clamp(56px, 7vw, 80px); position: relative; overflow: hidden; }
.site-footer .fgrid-main { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 40px; }
@media (max-width: 960px) { .site-footer .fgrid-main { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .site-footer .fgrid-main { grid-template-columns: 1fr; } }
.site-footer .f-logo img { width: 150px; }
.site-footer .f-about { margin-top: 20px; font-size: 15px; max-width: 34ch; }
.site-footer h4 { color: #fff; font-size: 15px; font-weight: 600; margin-bottom: 18px; letter-spacing: .04em; }
.site-footer ul { display: grid; gap: 10px; font-size: 15px; }
.site-footer a:hover { color: #fff; }
.site-footer .fc li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start; }
.site-footer .fc svg { width: 18px; height: 18px; color: var(--orange-500); margin-top: 4px; }
.site-footer .fc .ltr { direction: ltr; unicode-bidi: isolate; }
.f-tag { margin-top: 48px; padding-block: 22px; border-top: 1px solid rgba(255, 255, 255, .1); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; }
.f-tag .tl { letter-spacing: .16em; text-transform: uppercase; color: var(--ice-300); }
html[lang="ar"] .f-tag .tl { letter-spacing: 0; }

/* WhatsApp floating button */
.wa-float { position: fixed; bottom: 20px; inset-inline-end: 20px; z-index: 40; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 24px rgba(0, 0, 0, .2); transition: transform .2s; }
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 30px; height: 30px; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { transition-duration: 0s !important; }
}
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; top: -60px; inset-inline-start: 12px; z-index: 100; background: var(--navy-900); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { top: 12px; }
