/* =========================================================
   VPlex Software — site styles
   Brand: navy #12294A · blue #23548A · gold #D4A84B · teal #2E7766
   ========================================================= */

/* ---------- Self-hosted fonts ---------- */
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../assets/fonts/plus-jakarta-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../assets/fonts/plus-jakarta-sans-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: italic;
  font-weight: 700;
  font-display: swap;
  src: url("../assets/fonts/plus-jakarta-sans-italic-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+2000-206F;
}
@font-face {
  font-family: "Noto Kufi Arabic";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../assets/fonts/noto-kufi-arabic-500-arabic.woff2") format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+200C-200E, U+FB50-FDFF, U+FE70-FEFC;
}

:root {
  --navy-950: #0a1830;
  --navy-900: #0f2341;
  --navy-800: #12294a;
  --navy-700: #1a3a66;
  --blue-600: #23548a;
  --blue-500: #2f6bad;
  --blue-100: #e3ecf7;
  --gold-500: #d4a84b;
  --gold-400: #e0bd6e;
  --gold-100: #f8efdc;
  --teal-600: #2e7766;
  --teal-100: #dcefe9;

  --ink: #14223a;
  --ink-soft: #46556d;
  --ink-mute: #6b7890;
  --line: #e2e8f0;
  --surface-2: #f4f7fb;
  --surface-3: #eef2f8;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(15, 35, 65, .06), 0 2px 8px rgba(15, 35, 65, .05);
  --shadow: 0 6px 24px rgba(15, 35, 65, .08), 0 2px 6px rgba(15, 35, 65, .05);
  --shadow-lg: 0 24px 60px rgba(10, 24, 48, .18);

  --container: 1200px;
  --header-h: 76px;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.65; color: var(--ink); background: #fff;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3 { margin: 0; line-height: 1.15; letter-spacing: -0.02em; color: var(--navy-800); }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }
:focus-visible { outline: 3px solid var(--gold-500); outline-offset: 3px; border-radius: 6px; }

.skip-link { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--gold-500); color: var(--navy-900); padding: 10px 16px; border-radius: 8px; font-weight: 700; }
.skip-link:focus { top: 12px; }

.container { width: min(100% - 40px, var(--container)); margin-inline: auto; }
.icon { width: 24px; height: 24px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 14px 24px; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 700; font-size: 15px; line-height: 1; white-space: nowrap;
  transition: transform .25s var(--ease), background .25s, color .25s, border-color .25s;
}
.btn .icon { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn-gold { background: var(--gold-500); color: var(--navy-950); box-shadow: 0 8px 24px rgba(212, 168, 75, .35); }
.btn-gold:hover { background: var(--gold-400); transform: translateY(-2px); }
.btn-ghost { border-color: rgba(255, 255, 255, .28); color: #fff; }
.btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }
.btn-navy { background: var(--navy-800); color: #fff; }
.btn-navy:hover { background: var(--blue-600); transform: translateY(-2px); }
.btn-outline { border-color: var(--line); color: var(--navy-800); background: #fff; }
.btn-outline:hover { border-color: var(--navy-800); }
.btn-sm { padding: 11px 18px; font-size: 14px; }

/* ---------- Sections ---------- */
.section { padding: 104px 0; }
.section-tint { background: var(--surface-2); }
.section-dark { background: var(--navy-900); color: #c9d4e5; }
.section-dark h2, .section-dark h3 { color: #fff; }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--blue-600); }
.eyebrow::before { content: ""; width: 28px; height: 3px; border-radius: 3px; background: var(--gold-500); }
.section-dark .eyebrow, .contact-info .eyebrow { color: var(--gold-500); }

.section-head { max-width: 720px; margin-bottom: 52px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(30px, 4vw, 46px); margin-top: 16px; font-weight: 800; }
.section-head p { margin-top: 16px; font-size: 18px; color: var(--ink-soft); }
.section-dark .section-head p { color: #aab8cd; }
.lead { font-size: 18px; color: var(--ink-soft); }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h); display: flex; align-items: center; transition: background .3s, box-shadow .3s; }
.site-header.scrolled { background: rgba(10, 24, 48, .88); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); box-shadow: 0 1px 0 rgba(255, 255, 255, .06); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand img { height: 38px; width: auto; }
.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a.nav-link { color: #d5deec; font-weight: 600; font-size: 15px; padding: 8px 14px; border-radius: 999px; white-space: nowrap; transition: color .2s, background .2s; }
.main-nav a.nav-link:hover, .main-nav a.nav-link.active { color: #fff; background: rgba(255, 255, 255, .08); }
.main-nav > .btn { display: none; }
.header-cta { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .2); background: transparent; color: #fff; align-items: center; justify-content: center; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { display: block; width: 20px; height: 2px; background: currentColor; border-radius: 2px; position: relative; transition: transform .3s; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #c9d4e5;
  background:
    radial-gradient(1100px 600px at 85% 10%, rgba(47, 107, 173, .45), transparent 60%),
    radial-gradient(700px 500px at 10% 90%, rgba(212, 168, 75, .12), transparent 60%),
    linear-gradient(160deg, var(--navy-950) 0%, var(--navy-800) 60%, #183766 100%);
  padding: calc(var(--header-h) + 64px) 0 112px;
  min-height: min(100vh, 900px); display: flex; align-items: center;
}
#hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .9; }
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 56px 56px; mask-image: radial-gradient(ellipse at 50% 40%, #000 30%, transparent 75%);
}
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.2fr .8fr; gap: 64px; align-items: center; }
.hero-badge { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 8px; border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); font-size: 13.5px; font-weight: 600; color: #e4eaf4; }
.hero-badge b { background: var(--gold-500); color: var(--navy-950); padding: 4px 10px; border-radius: 999px; font-size: 12px; letter-spacing: .04em; }
.hero h1 { color: #fff; font-size: clamp(38px, 5vw, 62px); font-weight: 800; margin: 26px 0 24px; letter-spacing: -0.035em; line-height: 1.05; }
.hero h1 .accent { background: linear-gradient(90deg, var(--gold-400), var(--gold-500) 40%, #f3d9a0); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { font-size: 19px; max-width: 560px; color: #b8c6da; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero-partners { display: flex; align-items: center; gap: 14px; margin-top: 44px; flex-wrap: wrap; font-size: 13px; color: #8ea0bb; }
.hero-partners .chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 10px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); color: #e6ecf5; font-weight: 700; font-size: 14px; }
.hero-partners .chip i { width: 8px; height: 8px; border-radius: 50%; background: var(--gold-500); }

.hero-visual { position: relative; height: 500px; }
.glass { position: absolute; border-radius: 20px; padding: 20px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 30px 60px rgba(0, 0, 0, .25); color: #e6ecf5; }
.g-title { color: #fff; font-size: 15px; font-weight: 700; }
.glass small { color: #9fb0c9; font-size: 12.5px; }
.g-main { left: 6%; right: 0; top: 0; padding: 24px; }
.row-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.status-pill { font-size: 12px; font-weight: 700; padding: 5px 10px; border-radius: 999px; background: rgba(46, 119, 102, .35); color: #9be3cd; display: inline-flex; align-items: center; gap: 6px; }
.status-pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #5fd3ae; box-shadow: 0 0 0 4px rgba(95, 211, 174, .2); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(95, 211, 174, 0); } }
.flow { display: grid; gap: 10px; }
.flow-step { display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 12px; background: rgba(255, 255, 255, .05); font-size: 14px; transition: background .4s; }
.flow-step .num { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font-weight: 800; font-size: 13px; background: rgba(212, 168, 75, .18); color: var(--gold-400); }
.flow-step .tag { font-size: 11.5px; color: #9fb0c9; }
.flow-step .ok { color: #5fd3ae; font-weight: 700; font-size: 12px; transition: opacity .4s; }
.flow-step.active { background: rgba(212, 168, 75, .14); outline: 1px solid rgba(212, 168, 75, .35); }
.g-stat { left: -6%; bottom: -40px; width: 200px; }
.g-stat .big { font-size: 38px; font-weight: 800; color: var(--gold-400); line-height: 1; margin: 6px 0 4px; letter-spacing: -0.03em; }
.g-agent { right: -4%; bottom: -70px; width: 250px; }
.msg { font-size: 13px; background: rgba(255, 255, 255, .08); padding: 10px 12px; border-radius: 12px 12px 12px 4px; margin-top: 10px; }
.msg.me { background: rgba(47, 107, 173, .45); border-radius: 12px 12px 4px 12px; margin-left: 24px; }
.float { animation: float 7s ease-in-out infinite; }
.float.d2 { animation-delay: -2.5s; }
.float.d3 { animation-delay: -4.5s; }
@keyframes float { 50% { transform: translateY(-12px); } }

/* ---------- Clients ---------- */
.clients { padding: 64px 0 56px; background: #fff; border-bottom: 1px solid var(--line); }
.clients-title { text-align: center; font-size: 14px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 32px; }
.logo-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 16px; }
.logo-tile {
  height: 104px; border-radius: 14px; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; padding: 18px;
  transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
}
.logo-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #d3dceb; }
.logo-tile.dark { background: var(--navy-800); border-color: var(--navy-800); }
.logo-tile img { max-height: 48px; width: auto; object-fit: contain; filter: grayscale(.15); transition: filter .3s; }
.logo-tile img.tall { max-height: 62px; }
.logo-tile:hover img { filter: none; }
.wordmark { font-weight: 800; font-size: 19px; color: var(--navy-800); letter-spacing: -0.01em; text-align: center; line-height: 1.1; }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #d3dceb; }
.card h3 { font-size: 18.5px; font-weight: 700; margin-bottom: 8px; }
.card p { color: var(--ink-soft); font-size: 15.5px; }
.icon-tile { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 20px; background: var(--blue-100); color: var(--blue-600); }
.icon-tile.gold { background: var(--gold-100); color: #a57a1f; }
.icon-tile.teal { background: var(--teal-100); color: var(--teal-600); }
.icon-tile.navy { background: var(--navy-800); color: var(--gold-400); }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-statement { font-size: clamp(30px, 3.6vw, 42px); font-weight: 800; margin: 16px 0 20px; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 32px; }
.fact { padding: 18px; border-radius: var(--radius-sm); background: var(--surface-2); }
.fact b { display: block; font-size: 26px; color: var(--navy-800); font-weight: 800; letter-spacing: -0.02em; }
.fact span { font-size: 13.5px; color: var(--ink-soft); }
.pillars { display: grid; gap: 16px; }
.pillar { display: flex; gap: 18px; padding: 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.pillar .icon-tile { margin: 0; flex-shrink: 0; }
.pillar h3 { font-size: 18px; margin-bottom: 6px; }
.pillar p { color: var(--ink-soft); font-size: 15px; }

/* ---------- Products ---------- */
.product-hero { display: grid; grid-template-columns: 1.1fr .9fr; border-radius: var(--radius-lg); overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.ph-body { padding: 48px; }
.ph-body h3 { font-size: 34px; font-weight: 800; margin: 8px 0 14px; }
.ph-body .lead { font-size: 17px; }
.ph-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.label-kind { font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-500); }
.ph-side { background: linear-gradient(160deg, var(--navy-800), var(--blue-600)); padding: 44px; display: flex; align-items: center; }
.module-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; width: 100%; }
.module { padding: 15px 18px; border-radius: 12px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .12); color: #fff; font-weight: 700; font-size: 15px; display: flex; align-items: center; gap: 10px; transition: background .25s, transform .25s var(--ease); }
.module:hover { background: rgba(212, 168, 75, .2); transform: translateY(-2px); }
.module .icon { width: 20px; height: 20px; color: var(--gold-400); }
.products-row { margin-top: 24px; }

/* ---------- Proof band ---------- */
.proof-band { margin-top: 40px; display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: center; padding: 40px 44px; border-radius: var(--radius-lg); background: linear-gradient(120deg, var(--navy-800), var(--blue-600)); color: #c9d4e5; }
.proof-copy h3 { color: #fff; font-size: 24px; font-weight: 800; margin-bottom: 10px; }
.proof-nums { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.proof-nums div { padding: 18px; border-radius: 14px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); }
.proof-nums b { display: block; font-size: 36px; font-weight: 800; color: var(--gold-400); line-height: 1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.proof-nums div > span { display: block; font-size: 13.5px; margin-top: 8px; color: #dbe4f1; }

/* ---------- Industries ---------- */
.ind-card { padding: 30px; border-radius: var(--radius); background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .09); transition: transform .3s var(--ease), background .3s, border-color .3s; }
.ind-card:hover { transform: translateY(-4px); background: rgba(255, 255, 255, .07); border-color: rgba(212, 168, 75, .45); }
.ind-card .icon { width: 30px; height: 30px; color: var(--gold-400); margin-bottom: 18px; }
.ind-card h3 { font-size: 19px; margin-bottom: 8px; }
.ind-card p { color: #aab8cd; font-size: 15px; }

/* ---------- Approach ---------- */
.timeline { display: grid; grid-template-columns: repeat(5, 1fr); position: relative; }
.timeline::before { content: ""; position: absolute; top: 27px; left: 10%; right: 10%; height: 2px; background: repeating-linear-gradient(90deg, var(--blue-500) 0 8px, transparent 8px 14px); opacity: .5; }
.t-step { text-align: center; padding: 0 14px; position: relative; }
.t-step .n { width: 56px; height: 56px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 2px solid var(--blue-600); color: var(--navy-800); font-weight: 800; font-size: 17px; position: relative; z-index: 1; transition: background .3s, color .3s, transform .3s var(--ease); }
.t-step:hover .n { background: var(--navy-800); color: var(--gold-400); transform: scale(1.08); }
.t-step h3 { font-size: 18px; margin-bottom: 6px; }
.t-step p { font-size: 14.5px; color: var(--ink-soft); }
.engage { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 56px; }
.engage li { padding: 12px 20px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 700; color: var(--navy-800); font-size: 14.5px; box-shadow: var(--shadow-sm); }
.engage li::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--gold-500); margin-right: 10px; vertical-align: middle; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: .95fr 1.05fr; border-radius: 28px; overflow: hidden; box-shadow: var(--shadow-lg); }
.contact-info { background: linear-gradient(160deg, var(--navy-800), var(--navy-950)); color: #c9d4e5; padding: 56px; position: relative; overflow: hidden; }
.contact-info::before { content: ""; position: absolute; width: 380px; height: 380px; right: -140px; top: -140px; border-radius: 50%; background: radial-gradient(circle, rgba(47, 107, 173, .5), transparent 70%); }
.contact-info h2 { color: #fff; font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; margin: 16px 0; position: relative; }
.contact-info .q { font-size: 19px; font-style: italic; color: var(--gold-400); font-weight: 700; margin: 8px 0 36px; position: relative; }
.contact-lines { display: grid; gap: 18px; position: relative; }
.c-line { display: flex; gap: 16px; align-items: flex-start; }
.c-line .icon-tile { width: 44px; height: 44px; margin: 0; border-radius: 12px; background: rgba(255, 255, 255, .08); color: var(--gold-400); }
.c-line .icon { width: 20px; height: 20px; }
.c-line small { display: block; font-size: 11.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #8193ad; }
.c-line a { color: #fff; font-weight: 600; }
.c-line a:hover { color: var(--gold-400); }
.socials { display: flex; gap: 10px; margin-top: 32px; position: relative; }
.socials a { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, .08); color: #fff; transition: background .25s, color .25s; }
.socials a:hover { background: var(--gold-500); color: var(--navy-950); }
.socials svg { width: 18px; height: 18px; fill: currentColor; }

.contact-form { background: #fff; padding: 56px; }
.contact-form h3 { font-size: 24px; margin-bottom: 6px; }
.contact-form > p { color: var(--ink-soft); margin-bottom: 28px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13.5px; font-weight: 700; color: var(--navy-800); }
.field input, .field select, .field textarea { font: inherit; font-size: 15px; padding: 13px 15px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--surface-2); color: var(--ink); transition: border-color .2s, background .2s, box-shadow .2s; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue-600); background: #fff; box-shadow: 0 0 0 4px rgba(35, 84, 138, .12); }
.form-actions { display: flex; align-items: center; gap: 16px; margin-top: 24px; flex-wrap: wrap; }
.form-status { font-size: 14px; color: var(--teal-600); font-weight: 600; }
.form-status.error { color: #b4432f; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: #8ea0bb; padding: 64px 0 28px; font-size: 14.5px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer-grid img { height: 40px; width: auto; margin-bottom: 16px; }
.f-title { margin: 0 0 14px; color: #fff; font-size: 14px; letter-spacing: .06em; }
.footer-grid li { margin-bottom: 9px; }
.footer-grid a:hover { color: var(--gold-400); }
.footer-bottom { margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .08); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; }
.footer-bottom .ar { font-family: "Noto Kufi Arabic", "Segoe UI", Tahoma, sans-serif; }
.tm-note { margin-top: 12px; font-size: 12px; color: #61728d; }

.to-top { position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 48px; height: 48px; border-radius: 50%; border: none; background: var(--gold-500); color: var(--navy-950); display: grid; place-items: center; box-shadow: var(--shadow); opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity .3s, transform .3s var(--ease); }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top .icon { width: 20px; height: 20px; }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .main-nav a.nav-link { padding: 8px 10px; font-size: 14.5px; }
  .logo-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 960px) {
  :root { --header-h: 68px; }
  .section { padding: 80px 0; }
  .main-nav, .header-cta .btn { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-open .site-header { background: rgba(10, 24, 48, .98); }
  .nav-open .main-nav { display: flex; flex-direction: column; align-items: stretch; gap: 4px; position: fixed; top: var(--header-h); left: 0; right: 0; padding: 16px 20px 28px; background: rgba(10, 24, 48, .98); border-top: 1px solid rgba(255, 255, 255, .08); }
  .nav-open .main-nav a.nav-link { padding: 14px 16px; font-size: 17px; }
  .nav-open .main-nav > .btn { display: inline-flex; justify-content: center; margin-top: 12px; }

  .hero { min-height: auto; padding-bottom: 120px; }
  .hero-grid, .about-grid, .product-hero, .contact, .proof-band { grid-template-columns: 1fr; }
  .hero-visual { height: 460px; max-width: 520px; width: 100%; margin-inline: auto; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: 1fr; gap: 22px; }
  .timeline::before { display: none; }
  .t-step { display: grid; grid-template-columns: 56px 1fr; gap: 0 18px; text-align: left; padding: 0; }
  .t-step .n { margin: 0; grid-row: span 2; }
}

@media (max-width: 640px) {
  .container { width: min(100% - 32px, var(--container)); }
  .section { padding: 64px 0; }
  .grid-3, .grid-4, .form-grid, .facts, .proof-nums { grid-template-columns: 1fr; }
  .logo-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .logo-tile { height: 88px; padding: 14px; }
  .ph-body, .ph-side, .contact-info, .contact-form, .proof-band { padding: 28px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .hero-visual { height: 400px; }
  .g-stat { display: none; }
  .g-agent { right: 0; bottom: -60px; width: 220px; }
  .g-main { left: 0; }
}
