/* =====================================================================
   RAVELYNT — site styles
   Static CSS, no build step. Uses logical properties (inline-start /
   inline-end) so the same rules work for English (LTR) and Arabic (RTL).
   ===================================================================== */

/* ---------------------------------------------------------------- fonts */
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 300; font-display: swap; src: url('../fonts/poppins-latin-300.woff') format('woff'); }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/poppins-latin-400.woff') format('woff'); }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/poppins-latin-500.woff') format('woff'); }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/poppins-latin-700.woff') format('woff'); }

/* OPTIONAL — Arabic web font.
   Arabic currently uses the visitor's system fonts (Segoe UI / Tahoma on Windows,
   Geeza Pro on Apple devices). To bundle a dedicated Arabic font (for example
   Cairo or IBM Plex Sans Arabic, both free under the SIL Open Font License),
   download the .woff2 files, put them in assets/fonts/ and enable the rules below.
   See README.md > "Arabic font".

@font-face { font-family: 'Cairo'; font-weight: 400; font-display: swap; src: url('../fonts/cairo-arabic-400.woff2') format('woff2'); unicode-range: U+0600-06FF, U+0750-077F, U+FB50-FDFF, U+FE70-FEFF; }
@font-face { font-family: 'Cairo'; font-weight: 700; font-display: swap; src: url('../fonts/cairo-arabic-700.woff2') format('woff2'); unicode-range: U+0600-06FF, U+0750-077F, U+FB50-FDFF, U+FE70-FEFF; }
*/

/* --------------------------------------------------------------- tokens */
:root {
  --navy: #091F44;
  --navy-2: #0D2B5E;
  --blue: #1F4ED8;
  --blue-hover: #1A42B8;
  --blue-deep: #023380;
  --tint: #F2F6FF;
  --tint-2: #E3ECFF;
  --line: #DAE3F3;
  --line-strong: #7F94BD;
  --ink: #0B1B3A;
  --muted: #475779;
  --white: #FFFFFF;
  --danger: #B42318;
  --success: #0E7C42;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(9, 31, 68, .06), 0 8px 24px rgba(9, 31, 68, .06);
  --shadow-lg: 0 2px 4px rgba(9, 31, 68, .06), 0 24px 60px rgba(9, 31, 68, .14);
  --container: 1180px;
  --header-h: 76px;
  --font-latin: 'Poppins', 'Segoe UI', system-ui, -apple-system, 'Helvetica Neue', Arial, sans-serif;
  --font-arabic: 'Cairo', 'IBM Plex Sans Arabic', 'Segoe UI', Tahoma, 'Noto Sans Arabic', 'Geeza Pro', 'Arabic Typesetting', 'Poppins', system-ui, sans-serif;
}

/* ---------------------------------------------------------------- base */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font-latin);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
html[lang="ar"] body { font-family: var(--font-arabic); line-height: 1.9; }
img, svg { max-width: 100%; display: block; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--blue-deep); }
h1, h2, h3, h4 { margin: 0 0 .6em; font-weight: 500; line-height: 1.18; letter-spacing: -.015em; color: var(--navy); }
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3, html[lang="ar"] h4 { font-weight: 700; line-height: 1.4; letter-spacing: 0; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
.muted { color: var(--muted); }
.icon { width: 1.25em; height: 1.25em; flex: none; }
[dir="rtl"] .icon-flip { transform: scaleX(-1); }
[hidden] { display: none !important; }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
.on-dark :focus-visible, .site-footer :focus-visible { outline-color: #fff; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link {
  position: absolute; inset-inline-start: 16px; top: -80px; z-index: 200;
  background: var(--navy); color: #fff; padding: 12px 18px; border-radius: 10px; text-decoration: none; font-weight: 500;
}
.skip-link:focus { top: 12px; color: #fff; }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }
.noscript-banner { background: var(--navy); color: #fff; padding: 12px 24px; text-align: center; font-size: .9rem; }
.ltr { direction: ltr; unicode-bidi: isolate; }

/* ------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 48px; padding: 0 26px; border-radius: var(--radius-sm);
  font: inherit; font-weight: 500; font-size: .98rem; line-height: 1.2; text-decoration: none; text-align: center;
  border: 1.5px solid transparent; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, box-shadow .2s, transform .2s;
}
.btn-sm { min-height: 42px; padding: 0 20px; font-size: .92rem; }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 6px 18px rgba(31, 78, 216, .28); }
.btn-primary:hover { background: var(--blue-hover); color: #fff; box-shadow: 0 8px 22px rgba(31, 78, 216, .34); }
.btn-secondary { background: #fff; color: var(--navy); border-color: var(--navy); }
.btn-secondary:hover { background: var(--navy); color: #fff; }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--tint-2); color: var(--navy); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .7); }
.btn-outline-light:hover { background: #fff; color: var(--navy); }
.btn[disabled] { opacity: .6; cursor: not-allowed; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* -------------------------------------------------------------- header */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .97); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 4px 20px rgba(9, 31, 68, .06); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { height: 36px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 28px; margin-inline-start: auto; }
.nav-list { display: flex; align-items: center; gap: 4px; }
.nav-list > li { display: flex; align-items: center; height: var(--header-h); }
.nav-list a, .menu-trigger {
  display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: 10px;
  color: var(--navy); font: inherit; font-size: .95rem; font-weight: 500; text-decoration: none; background: none; border: 0; cursor: pointer;
}
.nav-list a:hover, .menu-trigger:hover, .has-menu.open > .menu-trigger { background: var(--tint); color: var(--blue-deep); }
.nav-list a[aria-current="page"], .menu-trigger[data-active="true"] { color: var(--blue); }
.menu-trigger .icon { width: 1em; height: 1em; transition: transform .2s; }
.has-menu.open .menu-trigger .icon { transform: rotate(180deg); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.lang-switch {
  display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 16px; border-radius: var(--radius-sm);
  background: #fff; color: var(--navy); border: 1.5px solid var(--line-strong); font: inherit; font-size: .92rem; font-weight: 500; cursor: pointer;
}
.lang-switch:hover { border-color: var(--navy); background: var(--tint); }
.lang-switch .icon { width: 1.1em; height: 1.1em; }
.nav-toggle { display: none; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 12px; background: #fff; border: 1.5px solid var(--line-strong); color: var(--navy); cursor: pointer; }
.nav-toggle .icon { width: 22px; height: 22px; }
.nt-close { display: none; }
.nav-open .nt-open { display: none; }
.nav-open .nt-close { display: inline-flex; }

.has-menu .mega {
  display: none; position: absolute; top: 100%; inset-inline: 0;
  background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  box-shadow: 0 24px 40px rgba(9, 31, 68, .1);
  padding: 28px max(24px, calc((100% - var(--container)) / 2 + 24px)) 20px;
}
.has-menu.open .mega { display: block; }
.mega-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.mega-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.mega-ico, .ic-ico {
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  width: 40px; height: 40px; border-radius: 12px; background: var(--tint-2); color: var(--blue-deep);
}
.mega-title { font-weight: 500; color: var(--navy); line-height: 1.3; }
.mega-col ul { margin-top: 12px; }
.mega-col li a { display: block; padding: 8px 0; color: var(--blue); font-weight: 500; text-decoration: none; }
.mega-col li a:hover { text-decoration: underline; }
.mega-note { margin: 12px 0 0; font-size: .9rem; color: var(--muted); }
.mega-foot { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.mega-foot a { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; text-decoration: none; }
.mega-foot a:hover { text-decoration: underline; }

@media (max-width: 960px) {
  :root { --header-h: 68px; }
  .brand img { height: 30px; }
  .nav-toggle { display: inline-flex; }
  .site-nav {
    display: none; position: absolute; top: 100%; inset-inline: 0; flex-direction: column; align-items: stretch; gap: 16px;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px rgba(9, 31, 68, .12);
    padding: 12px 24px 24px; max-height: calc(100vh - var(--header-h)); max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
  }
  .nav-open .site-nav { display: flex; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list > li { display: block; height: auto; border-bottom: 1px solid var(--line); }
  .nav-list a, .menu-trigger { width: 100%; min-height: 48px; padding: 12px 4px; justify-content: space-between; border-radius: 0; font-size: 1rem; }
  .nav-list a:hover, .menu-trigger:hover, .has-menu.open > .menu-trigger { background: none; }
  .has-menu .mega { position: static; box-shadow: none; border: 0; padding: 4px 0 16px; }
  .mega-grid { grid-template-columns: 1fr; gap: 20px; }
  .nav-actions { flex-direction: column; align-items: stretch; }
  .nav-actions .btn, .lang-switch { width: 100%; justify-content: center; }
}

/* ---------------------------------------------------------------- hero */
.hero { position: relative; overflow: hidden; background: var(--tint); padding: 88px 0 104px; isolation: isolate; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background-image: radial-gradient(#C3D2F2 1.2px, transparent 1.2px); background-size: 26px 26px;
  -webkit-mask-image: linear-gradient(to bottom, #000 0, transparent 85%); mask-image: linear-gradient(to bottom, #000 0, transparent 85%);
}
.hero::after {
  content: ""; position: absolute; z-index: -1; inset-inline-end: -140px; bottom: -120px; width: 620px; height: 420px;
  background: url('../img/ravelynt-mark.svg') center / contain no-repeat; opacity: .06;
}
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; }
.eyebrow { display: inline-block; margin-bottom: 18px; font-size: .8rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); }
html[lang="ar"] .eyebrow { letter-spacing: 0; text-transform: none; font-size: .92rem; font-weight: 700; }
.hero h1 { font-size: clamp(2.3rem, 4.8vw, 3.9rem); margin-bottom: .45em; }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: var(--muted); max-width: 62ch; }
.hero .lead { margin-bottom: 2em; }

.hero-panel { background: #fff; border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow-lg); padding: 26px 26px 20px; }
.hp-title { margin: 0 0 6px; font-size: .78rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
html[lang="ar"] .hp-title { letter-spacing: 0; text-transform: none; font-size: .9rem; font-weight: 700; }
.hp-row { display: flex; align-items: center; gap: 14px; padding: 16px 0; border-top: 1px solid var(--line); }
.hp-row:first-child { border-top: 0; }
.hp-text { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.hp-name { font-weight: 500; color: var(--navy); line-height: 1.35; }
.hp-sub { font-size: .85rem; color: var(--muted); line-height: 1.4; }
.hp-legend { margin: 6px 0 0; padding-top: 14px; border-top: 1px solid var(--line); font-size: .82rem; color: var(--muted); line-height: 1.6; }
.hp-legend span { display: block; }

.badge {
  display: inline-flex; align-items: center; gap: 6px; flex: none; white-space: nowrap;
  padding: 4px 12px 4px 10px; border-radius: 999px; font-size: .78rem; font-weight: 500; line-height: 1.5; border: 1px solid transparent;
}
[dir="rtl"] .badge { padding: 4px 10px 4px 12px; }
.badge .icon { width: 14px; height: 14px; }
.badge-available { background: var(--tint-2); color: var(--blue-deep); border-color: #B9CCF7; }
.badge-planned { background: #fff; color: #33466D; border: 1px dashed var(--line-strong); }
.badge-open { background: var(--tint); color: #33466D; border-color: var(--line); }

/* ------------------------------------------------------------ sections */
.section { padding: 96px 0; }
.section-tint { background: var(--tint); }
.section-dark { background: var(--navy); color: #D5DFF3; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .eyebrow { color: #9DB9FF; }
.section-dark .lead { color: #C3D0EA; }
.section-head { max-width: 760px; margin-bottom: 52px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .lead { margin-inline: auto; }
.section-head h2, .split-text h2 { font-size: clamp(1.75rem, 3.2vw, 2.55rem); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.split-text p { color: var(--muted); }
.section-dark .split-text p { color: #C3D0EA; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.grid-5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }
.card h3 { font-size: 1.15rem; margin-bottom: .4em; }
.card p { margin: 0; color: var(--muted); font-size: .96rem; }

/* intro facts */
.fact-list { display: grid; gap: 16px; }
.fact { display: flex; gap: 16px; align-items: flex-start; padding: 20px 22px; background: var(--tint); border-radius: var(--radius); }
.fact .ic-ico { background: #fff; }
.fact h3 { font-size: 1.02rem; margin: 0 0 .15em; }
.fact p { margin: 0; font-size: .94rem; color: var(--muted); }

/* vision / mission / principles */
.vm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 24px; }
.vm-card { padding: 36px; border-radius: 24px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .16); }
.vm-card .ic-ico { background: rgba(255, 255, 255, .12); color: #fff; margin-bottom: 20px; }
.vm-card h3 { font-size: 1.3rem; }
.vm-card p { margin: 0; color: #D5DFF3; font-size: 1.04rem; }
.pr-card { padding: 24px 22px; border-radius: var(--radius); background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .14); }
.pr-card .ic-ico { width: 36px; height: 36px; background: rgba(255, 255, 255, .1); color: #9DB9FF; margin-bottom: 16px; }
.pr-card h3 { font-size: 1rem; margin-bottom: .4em; }
.pr-card p { margin: 0; font-size: .9rem; color: #C3D0EA; line-height: 1.65; }
.pr-title { margin: 44px 0 20px; font-size: 1.1rem; color: #fff; }
.section-tint .pr-card, .section-light .pr-card { background: #fff; border-color: var(--line); }
.section-tint .pr-card h3 { color: var(--navy); }
.section-tint .pr-card p { color: var(--muted); }
.section-tint .pr-card .ic-ico { background: var(--tint-2); color: var(--blue-deep); }
.section-tint .vm-card { background: #fff; border-color: var(--line); }
.section-tint .vm-card .ic-ico { background: var(--tint-2); color: var(--blue-deep); }
.section-tint .vm-card h3 { color: var(--navy); }
.section-tint .vm-card p { color: var(--muted); }

/* portfolio */
.portfolio-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.industry-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 30px; box-shadow: var(--shadow); }
.ic-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 22px; }
.industry-card h3 { font-size: 1.3rem; }
.industry-card > p { color: var(--muted); font-size: .96rem; }
.ic-products { margin-top: auto; padding-top: 12px; display: grid; gap: 12px; }
.product-card {
  display: flex; flex-direction: column; gap: 6px; padding: 20px; border-radius: 16px; text-decoration: none;
  background: var(--tint); border: 1px solid var(--line); color: var(--ink); transition: border-color .2s, box-shadow .2s, transform .2s;
}
.product-card:hover { border-color: var(--blue); box-shadow: var(--shadow); transform: translateY(-2px); color: var(--ink); }
.pc-top { display: flex; }
.pc-name { font-size: 1.05rem; font-weight: 500; color: var(--navy); line-height: 1.35; margin-top: 4px; }
.pc-sum { font-size: .92rem; color: var(--muted); }
.pc-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; font-weight: 500; color: var(--blue); font-size: .94rem; }
.industry-block { padding: 44px 0; border-top: 1px solid var(--line); }
.industry-block:first-child { border-top: 0; padding-top: 0; }
.ib-head { display: flex; align-items: flex-start; gap: 18px; margin-bottom: 24px; }
.ib-head > div { flex: 1; }
.ib-head h2 { font-size: 1.6rem; margin-bottom: .2em; }
.ib-head p { margin: 0; color: var(--muted); }
.ib-products { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; }
.ib-products > .muted { grid-column: 1 / -1; margin: 0; padding: 18px 22px; border: 1px dashed var(--line-strong); border-radius: 16px; background: #fff; }

/* approach */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.step { position: relative; padding-top: 22px; border-top: 2px solid var(--navy); }
.step::before { counter-increment: step; content: "0" counter(step); display: block; margin-bottom: 14px; font-size: 2rem; font-weight: 300; color: var(--blue); line-height: 1; }
.step h3 { font-size: 1.1rem; }
.step p { margin: 0; color: var(--muted); font-size: .95rem; }
.steps-5 { grid-template-columns: repeat(5, 1fr); gap: 20px; }

.check-list { display: grid; gap: 14px; margin-top: 8px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; color: var(--navy); }
.check-list .icon { color: var(--blue); margin-top: 3px; }

.rule-list { display: grid; gap: 16px; }
.rule { display: flex; gap: 16px; padding: 20px 22px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.rule .icon { color: var(--blue); width: 24px; height: 24px; margin-top: 2px; }
.rule h3 { font-size: 1.02rem; margin: 0 0 .15em; }
.rule p { margin: 0; font-size: .94rem; color: var(--muted); }

/* CTA band */
.cta-band { background: var(--navy); color: #fff; padding: 84px 0; position: relative; overflow: hidden; isolation: isolate; }
.cta-band::after { content: ""; position: absolute; z-index: -1; inset-inline-start: -120px; top: -60px; width: 520px; height: 350px; background: url('../img/ravelynt-mark-reversed.svg') center / contain no-repeat; opacity: .07; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.cta-inner h2 { color: #fff; font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: .4em; }
.cta-inner p { margin: 0; color: #C3D0EA; max-width: 58ch; }

/* ----------------------------------------------------------- inner pages */
.page-hero { background: var(--tint); padding: 56px 0 64px; border-bottom: 1px solid var(--line); position: relative; overflow: hidden; isolation: isolate; }
.page-hero::after { content: ""; position: absolute; z-index: -1; inset-inline-end: -80px; bottom: -80px; width: 420px; height: 285px; background: url('../img/ravelynt-mark.svg') center / contain no-repeat; opacity: .06; }
.page-hero h1 { font-size: clamp(2rem, 4vw, 3.1rem); margin-bottom: .4em; }
.page-hero .lead { margin-bottom: 0; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px 10px; margin-bottom: 26px; font-size: .88rem; color: var(--muted); }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--blue); }
.crumbs li + li::before { content: "/"; margin-inline-end: 10px; color: var(--line-strong); }
.crumbs [aria-current] { color: var(--navy); font-weight: 500; }
.hero-badge-row { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }

.legend { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: 26px; font-size: .9rem; color: var(--muted); }
.legend span { display: inline-flex; align-items: center; gap: 10px; }

/* capabilities */
.cap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cap { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.cap .ic-ico { margin-bottom: 18px; }
.cap h3 { font-size: 1.08rem; margin-bottom: .35em; }
.cap p { margin: 0; color: var(--muted); font-size: .94rem; }
.scope-box { display: flex; gap: 18px; padding: 28px 30px; border-radius: var(--radius); background: #fff; border: 1.5px solid var(--line-strong); }
.scope-box > span { flex: none; color: var(--blue-deep); margin-top: 3px; }
.scope-box > span .icon { width: 28px; height: 28px; }
.scope-box h3 { font-size: 1.15rem; }
.scope-box p { color: var(--muted); }
.scope-box ul { display: grid; gap: 6px; margin: 0 0 1em; padding-inline-start: 1.2em; list-style: disc; color: var(--ink); }
.scope-box p:last-child { margin: 0; }

/* contact page */
.contact-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.contact-list { display: grid; gap: 18px; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; }
.ci-ico { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 44px; height: 44px; border-radius: 12px; background: var(--tint-2); color: var(--blue-deep); }
.ci-body { display: flex; flex-direction: column; min-width: 0; }
.ci-label { font-size: .8rem; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
html[lang="ar"] .ci-label { letter-spacing: 0; text-transform: none; font-size: .88rem; }
.ci-value { font-size: 1.02rem; font-weight: 500; color: var(--navy); overflow-wrap: anywhere; text-decoration: none; }
a.ci-value { color: var(--blue); }
a.ci-value:hover { text-decoration: underline; }
[dir="rtl"] .ci-value[dir="ltr"] { text-align: end; align-self: flex-start; }
.contact-box { padding: 30px; border-radius: var(--radius); background: var(--tint); border: 1px solid var(--line); }
.contact-box + .contact-box { margin-top: 20px; }
.contact-box h2 { font-size: 1.25rem; }
.social-list { display: flex; flex-wrap: wrap; gap: 10px; }
.social-link { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 12px; background: #fff; border: 1px solid var(--line-strong); color: var(--navy); transition: background-color .2s, color .2s, border-color .2s; }
.social-link:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.social-link .icon { width: 22px; height: 22px; }

.form-card { padding: 36px; border-radius: 24px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.form-card h2 { font-size: 1.5rem; margin-bottom: .6em; }
.notice { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; margin-bottom: 22px; border-radius: var(--radius-sm); background: var(--tint); border: 1px solid var(--line); font-size: .92rem; color: #33466D; }
.notice .icon { margin-top: 2px; color: var(--blue-deep); }
.notice p { margin: 0; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label, .field .label { font-size: .92rem; font-weight: 500; color: var(--navy); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 11px 14px; font: inherit; font-size: 1rem; color: var(--ink);
  background: #fff; border: 1.5px solid var(--line-strong); border-radius: var(--radius-sm); transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 150px; resize: vertical; line-height: 1.6; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--navy); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid rgba(31, 78, 216, .35); outline-offset: 0; border-color: var(--blue); border-radius: var(--radius-sm); }
.field [aria-invalid="true"] { border-color: var(--danger); }
.field-error { margin: 0; font-size: .86rem; color: var(--danger); font-weight: 500; }
.field-check { display: flex; gap: 12px; align-items: flex-start; }
.field-check input { width: 22px; height: 22px; min-height: 0; margin-top: 3px; accent-color: var(--blue); flex: none; }
.field-check label { font-weight: 400; font-size: .92rem; color: var(--muted); }
.hp-field { position: absolute; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-summary { margin: 0 0 16px; padding: 12px 16px; border-radius: var(--radius-sm); background: #FEF3F2; border: 1px solid #F4B4AE; color: var(--danger); font-weight: 500; font-size: .94rem; }
.form-actions { margin-top: 24px; }
.form-result { margin-top: 24px; padding: 20px 22px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--tint); }
.form-result:focus { outline: 3px solid rgba(31, 78, 216, .35); }
.form-result p { margin: 0 0 .8em; font-size: .96rem; }
.form-result p:last-child { margin-bottom: 0; }
.form-result.is-success { background: #ECFDF3; border-color: #9BDDB7; }
.form-result.is-error { background: #FEF3F2; border-color: #F4B4AE; }
.fr-title { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--navy); }
.fr-title .icon { color: var(--blue-deep); }
.is-success .fr-title .icon { color: var(--success); }
.is-error .fr-title .icon { color: var(--danger); }
.fr-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 14px; }

/* legal pages */
.legal { max-width: 780px; }
.legal .notice { margin-bottom: 14px; }
.legal-date { color: var(--muted); font-size: .92rem; margin-bottom: 32px; }
.legal h2 { font-size: 1.4rem; margin-top: 2.2em; }
.legal h2:first-of-type { margin-top: 1em; }
.legal p, .legal li { color: #2B3C60; line-height: 1.8; }
.legal ul { list-style: disc; padding-inline-start: 1.4em; margin: 0 0 1em; display: grid; gap: 6px; }

/* ---------------------------------------------------------------- footer */
.site-footer { background: var(--navy); color: #C3D0EA; padding-top: 72px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 48px; padding-bottom: 56px; }
.footer-brand img { height: 36px; width: auto; margin-bottom: 20px; }
.footer-brand p { max-width: 34ch; font-size: .96rem; }
.footer-social { margin-top: 20px; }
.footer-social .social-link { background: transparent; border-color: rgba(255, 255, 255, .35); color: #fff; }
.footer-social .social-link:hover { background: #fff; color: var(--navy); border-color: #fff; }
.footer-h { margin: 0 0 18px; font-size: .8rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: #fff; }
html[lang="ar"] .footer-h { letter-spacing: 0; text-transform: none; font-size: 1rem; font-weight: 700; }
.footer-links { display: grid; gap: 10px; }
.footer-links a { color: #C3D0EA; text-decoration: none; font-size: .95rem; }
.footer-links a:hover { color: #fff; text-decoration: underline; }
.contact-list-footer { gap: 14px; margin-bottom: 18px; }
.contact-list-footer .ci-ico { width: 36px; height: 36px; background: rgba(255, 255, 255, .1); color: #fff; }
.contact-list-footer .ci-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
.contact-list-footer .ci-value { color: #fff; font-size: .95rem; font-weight: 400; }
.contact-list-footer .ci-body { justify-content: center; min-height: 36px; }
.contact-list-footer a.ci-value:hover { text-decoration: underline; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .14); padding-block: 24px; font-size: .88rem; }
.footer-bottom p { margin: 0; }

/* ------------------------------------------------------- floating WhatsApp */
.wa-float {
  position: fixed; inset-inline-end: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 90;
  display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 50%;
  background: var(--success); color: #fff; box-shadow: 0 8px 24px rgba(9, 31, 68, .3); transition: transform .2s, background-color .2s;
}
.wa-float:hover { background: #0A6636; color: #fff; transform: translateY(-2px); }
.wa-float:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; box-shadow: 0 0 0 3px #fff; }
.wa-float .icon { width: 28px; height: 28px; }
body.has-wa-float .site-footer { padding-bottom: 0; }
@media (max-width: 960px) { body.has-wa-float .footer-bottom { padding-bottom: 96px; } }

/* ----------------------------------------------------------------- motion */
.anim .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.anim .reveal.is-visible { opacity: 1; transform: none; }
.anim .d1 { transition-delay: .08s; } .anim .d2 { transition-delay: .16s; } .anim .d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .anim .reveal { opacity: 1; transform: none; }
}

/* ------------------------------------------------------------- responsive */
@media (max-width: 1100px) {
  .grid-5 { grid-template-columns: repeat(3, 1fr); }
  .steps-5 { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  .hero { padding: 56px 0 72px; }
  .hero-grid, .split, .contact-layout { grid-template-columns: 1fr; gap: 40px; }
  .section { padding: 72px 0; }
  .grid-3, .cap-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-4, .steps { grid-template-columns: repeat(2, 1fr); }
  .portfolio-grid, .vm-grid { grid-template-columns: 1fr; }
  .cta-band { padding: 64px 0; }
}
@media (max-width: 640px) {
  .container { padding-inline: 16px; }
  .section { padding: 56px 0; }
  .section-head { margin-bottom: 36px; }
  .grid-2, .grid-3, .grid-4, .grid-5, .cap-grid, .steps, .steps-5, .form-grid, .footer-grid { grid-template-columns: 1fr; }
  .grid-5 { gap: 14px; }
  .hero-panel { padding: 20px 18px 16px; }
  .hp-row { flex-wrap: wrap; }
  .vm-card, .industry-card, .form-card, .card { padding: 24px 20px; }
  .btn-row .btn { width: 100%; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .cta-inner .btn-row { width: 100%; }
  .scope-box { flex-direction: column; padding: 22px 20px; }
  .ib-head { flex-wrap: wrap; }
  .ib-products { grid-template-columns: 1fr; }
  .footer-grid { gap: 36px; }
  .site-nav { padding-inline: 16px; }
  .has-menu .mega { padding-inline: 0; }
}

@media print {
  .site-header, .wa-float, .site-footer, .cta-band { display: none !important; }
  .anim .reveal { opacity: 1 !important; transform: none !important; }
}
