/* ==========================================================================
   Control House — site styles
   Navy + white + restrained orange · desktop & app-like mobile · LTR/RTL
   ========================================================================== */
:root {
  --navy: #0B2A5B;
  --navy-2: #13407F;
  --navy-9: #071B3D;
  --ink: #0B1F3F;
  --text: #2B3A55;
  --muted: #5D6D88;
  --line: #E1E8F1;
  --line-2: #D3DDEA;
  --surface: #F3F6FB;
  --surface-2: #EAF0F8;
  --orange: #F5821F;
  --orange-d: #DF6D0A;
  --white: #fff;
  --r-sm: 8px;
  --r: 12px;
  --r-lg: 16px;
  --sh-1: 0 1px 2px rgba(11, 42, 91, .06), 0 1px 1px rgba(11, 42, 91, .04);
  --sh-2: 0 10px 30px -12px rgba(11, 42, 91, .22);
  --sh-3: 0 24px 48px -20px rgba(11, 42, 91, .35);
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --container: 1200px;
  --gutter: 24px;
  --hdr-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
[dir="rtl"] { --font: "Cairo", system-ui, -apple-system, "Segoe UI", Tahoma, Arial, sans-serif; }

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: hidden; overflow-x: clip; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr-h) + 12px); }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.6; color: var(--text); background: var(--white); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; overflow-x: clip; }
[dir="rtl"] body, [dir="rtl"] * { letter-spacing: 0 !important; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4, h5 { color: var(--ink); margin: 0 0 .5em; line-height: 1.2; font-weight: 800; }
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3 { line-height: 1.35; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid rgba(245, 130, 31, .55); outline-offset: 2px; border-radius: 6px; }
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 200; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { top: 12px; }
.hp { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
.muted { color: var(--muted); }
.center { text-align: center; justify-content: center; }

/* Icons */
.ic { width: 24px; height: 24px; flex: none; }
.ic-sm { width: 18px; height: 18px; }
.ic-xs { width: 14px; height: 14px; }
[dir="rtl"] .ic-dir { transform: scaleX(-1); }

/* Typography helpers */
.h2 { font-size: clamp(1.6rem, 1.1rem + 1.6vw, 2.15rem); letter-spacing: -.02em; }
.h3 { font-size: 1.4rem; letter-spacing: -.01em; margin-top: 1.6em; }
.h3-first { margin-top: .4em; }
.h4 { font-size: 1.15rem; }
.h5 { font-size: 1rem; margin-bottom: .2em; }
.eyebrow { display: flex; align-items: center; gap: 14px; margin: 0 0 .75em; color: var(--navy); font-size: .92rem; font-weight: 600; }
.eyebrow-line { width: 32px; height: 2px; background: var(--orange); border-radius: 2px; flex: none; }
.prose p { color: var(--text); font-size: 1.02rem; }
.show-m { display: none !important; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: var(--r-sm); border: 1.5px solid transparent; font-weight: 700; font-size: .95rem; line-height: 1; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s var(--ease), box-shadow .2s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn-navy, .btn-hero { background: var(--navy); color: #fff; }
.btn-navy:hover, .btn-hero:hover { background: var(--navy-2); box-shadow: var(--sh-2); }
.btn-orange { background: var(--orange); color: #fff; }
.btn-orange:hover { background: var(--orange-d); box-shadow: 0 10px 24px -10px rgba(245, 130, 31, .7); }
.btn-outline { background: rgba(255, 255, 255, .7); border-color: var(--navy); color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-outline-light { border-color: rgba(255, 255, 255, .75); color: #fff; background: transparent; }
.btn-outline-light:hover { background: #fff; color: var(--navy); }
.btn-soft { background: var(--surface); border-color: var(--line-2); color: var(--navy); font-weight: 600; }
.btn-soft:hover { border-color: var(--navy); }
.btn-ghost { background: var(--surface); color: var(--navy); border-color: var(--line); }
.btn-ghost-light { background: rgba(255, 255, 255, .1); color: #fff; border-color: rgba(255, 255, 255, .25); flex: 1; }
.btn-ghost-light:hover { background: rgba(255, 255, 255, .2); }
.btn-lg { min-height: 54px; padding: 0 28px; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; color: var(--navy); font-weight: 700; font-size: .93rem; }
.link-arrow .ic { transition: transform .2s var(--ease); }
.link-arrow:hover { color: var(--orange-d); }
.link-arrow:hover .ic { transform: translateX(3px); }
[dir="rtl"] .link-arrow:hover .ic { transform: scaleX(-1) translateX(3px); }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line); background: #fff; color: var(--navy); cursor: pointer; }

/* ---------------- Header ---------------- */
.site-header { position: sticky; top: 0; z-index: 60; background: rgba(255, 255, 255, .96); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: box-shadow .25s, border-color .25s; }
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(11, 42, 91, .45); }
.hdr { display: flex; align-items: center; gap: 24px; height: var(--hdr-h); }
.brand { display: flex; align-items: center; gap: 10px; flex: 0 1 auto; min-width: 0; }
.brand-mark { width: 54px; height: auto; }
.brand-txt { display: flex; flex-direction: column; line-height: 1.05; min-width: 0; }
.brand-en { white-space: nowrap; font-family: "Plus Jakarta Sans", var(--font); font-weight: 800; color: var(--navy); font-size: 1.28rem; letter-spacing: -.02em; }
.brand-ar { font-family: "Cairo", "Plus Jakarta Sans", sans-serif; font-weight: 700; color: var(--navy); font-size: 1.02rem; line-height: 1.25; }
.brand-tag { font-family: "Plus Jakarta Sans", var(--font); font-size: .62rem; color: var(--text); font-weight: 600; letter-spacing: .01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
[dir="rtl"] .brand-txt { align-items: flex-start; }
.main-nav { margin-inline-start: auto; }
.main-nav > ul { display: flex; align-items: center; gap: 4px; }
.main-nav li { position: relative; display: flex; align-items: center; }
.nav-link { position: relative; display: block; white-space: nowrap; padding: 26px 12px; font-weight: 600; font-size: .93rem; color: var(--ink); transition: color .2s; }
.nav-link::after { content: ""; position: absolute; inset-inline: 12px; bottom: 16px; height: 2.5px; border-radius: 2px; background: var(--orange); transform: scaleX(0); transition: transform .25s var(--ease); }
.nav-link:hover { color: var(--navy-2); }
.nav-link.is-active::after, .nav-link:hover::after { transform: scaleX(1); }
.nav-link.is-active { color: var(--navy); }
.has-dd .nav-link { padding-inline-end: 2px; }
.dd-btn { background: none; border: 0; padding: 6px 4px; cursor: pointer; color: var(--ink); display: grid; place-items: center; }
.dd-btn .ic { transition: transform .2s; }
.has-dd.open .dd-btn .ic { transform: rotate(180deg); }
.dd { position: absolute; top: calc(100% - 8px); inset-inline-start: -16px; width: 560px; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; padding: 12px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--sh-3); opacity: 0; visibility: hidden; transform: translateY(8px); transition: .2s var(--ease); }
.has-dd:hover .dd, .has-dd.open .dd, .has-dd:focus-within .dd { opacity: 1; visibility: visible; transform: none; }
.dd a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; font-weight: 600; font-size: .9rem; color: var(--ink); line-height: 1.3; }
.dd a:hover { background: var(--surface); color: var(--navy); }
.dd-ic { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: var(--surface); color: var(--navy); flex: none; }
.dd a:hover .dd-ic { background: var(--navy); color: #fff; }
.dd-sm { width: 320px; grid-template-columns: 1fr; }
.dd-sm a > span:last-child { display: flex; flex-direction: column; line-height: 1.3; }
.dd-sm small { font-weight: 500; color: var(--muted); font-size: .8rem; }
.dd-all { grid-column: 1 / -1; justify-content: center; margin-top: 6px; background: var(--surface); color: var(--navy) !important; }
.hdr-actions { display: flex; align-items: center; gap: 14px; }
.hdr-cta { min-height: 44px; padding: 0 18px; font-size: .9rem; }
.burger { display: none; }

.lang-dd { position: relative; }
.lang-dd summary { list-style: none; display: flex; align-items: center; gap: 6px; cursor: pointer; padding: 8px 6px; font-weight: 700; font-size: .88rem; color: var(--ink); border-radius: 8px; }
.lang-dd summary::-webkit-details-marker { display: none; }
.lang-dd summary .ic:first-child { width: 20px; height: 20px; }
.lang-dd[open] summary { background: var(--surface); }
.lang-menu { position: absolute; top: calc(100% + 6px); inset-inline-end: 0; min-width: 150px; padding: 6px; background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--sh-3); z-index: 5; }
.lang-menu a { display: block; padding: 10px 12px; border-radius: 8px; font-weight: 600; font-size: .92rem; }
.lang-menu a:hover, .lang-menu a[aria-current] { background: var(--surface); color: var(--navy); }
.lang-menu a[lang="ar"] { font-family: "Cairo", sans-serif; }

/* Drawer (mobile menu) */
.drawer { position: fixed; inset: 0; z-index: 100; visibility: hidden; }
.drawer.open { visibility: visible; }
.drawer-backdrop { position: absolute; inset: 0; background: rgba(7, 27, 61, .5); opacity: 0; transition: opacity .25s; }
.drawer.open .drawer-backdrop { opacity: 1; }
.drawer-panel { position: absolute; top: 0; bottom: 0; inset-inline-end: 0; width: min(420px, 90vw); background: #fff; display: flex; flex-direction: column; transform: translateX(100%); transition: transform .3s var(--ease); overflow-y: auto; overscroll-behavior: contain; }
[dir="rtl"] .drawer-panel { transform: translateX(-100%); }
.drawer.open .drawer-panel { transform: none; }
.drawer-top { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.brand-sm .brand-mark { width: 44px; }
.brand-sm .brand-en { font-size: 1.1rem; }
.brand-sm .brand-tag { display: none; }
.drawer-nav { display: flex; flex-direction: column; padding: 10px 12px; }
.drawer-nav > a, .drawer-sub > summary { display: flex; align-items: center; justify-content: space-between; min-height: 54px; padding: 0 12px; font-weight: 700; font-size: 1.06rem; color: var(--ink); border-radius: 10px; cursor: pointer; list-style: none; }
.drawer-sub > summary::-webkit-details-marker { display: none; }
.drawer-nav > a.is-active, .drawer-sub > summary.is-active { color: var(--navy); background: var(--surface); box-shadow: inset 3px 0 0 var(--orange); }
[dir="rtl"] .drawer-nav > a.is-active, [dir="rtl"] .drawer-sub > summary.is-active { box-shadow: inset -3px 0 0 var(--orange); }
.drawer-sub[open] > summary .ic { transform: rotate(180deg); }
.drawer-sub > div { display: flex; flex-direction: column; padding: 4px 8px 10px; }
.drawer-sub > div a { display: flex; align-items: center; gap: 12px; min-height: 46px; padding: 0 12px; border-radius: 10px; font-weight: 600; font-size: .95rem; color: var(--text); }
.drawer-sub > div a .ic { width: 22px; height: 22px; color: var(--navy); }
.drawer-sub > div a:active, .drawer-nav > a:active { background: var(--surface); }
.drawer-foot { margin-top: auto; padding: 18px; border-top: 1px solid var(--line); display: grid; gap: 12px; background: var(--surface); }
.drawer-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.drawer-row .btn { background: #fff; }
.drawer-lang { display: grid; grid-template-columns: 1fr 1fr; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 4px; }
.drawer-lang a { text-align: center; padding: 10px; border-radius: 8px; font-weight: 700; color: var(--muted); }
.drawer-lang a[lang="ar"] { font-family: "Cairo", sans-serif; }
.drawer-lang a.on { background: var(--navy); color: #fff; }
body.no-scroll { overflow: hidden; }

/* ---------------- Hero ---------------- */
.hero { position: relative; overflow: hidden; background: linear-gradient(100deg, #F7FAFE 0%, #EEF4FC 45%, #E6EFFA 100%); min-height: 520px; display: flex; align-items: center; }
.hero-media { position: absolute; inset-block: 0; inset-inline-end: 0; width: 58%; }
.hero-media picture, .hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 40%; }
.hero-media { -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 26%); mask-image: linear-gradient(to right, transparent 0%, #000 26%); }
[dir="rtl"] .hero-media { -webkit-mask-image: linear-gradient(to left, transparent 0%, #000 26%); mask-image: linear-gradient(to left, transparent 0%, #000 26%); }
[dir="rtl"] .hero-media img { transform: scaleX(-1); }
.hero-in { position: relative; z-index: 1; padding-block: 56px 96px; }
.hero-copy { max-width: 560px; }
.hero-title { font-size: clamp(2.1rem, 1.2rem + 2.8vw, 3.35rem); line-height: 1.08; letter-spacing: -.03em; margin-bottom: .45em; }
[dir="rtl"] .hero-title { line-height: 1.3; }
.hero-text { font-size: 1.08rem; color: var(--text); max-width: 520px; margin-bottom: 28px; }
.trust { display: flex; flex-wrap: wrap; gap: 14px 26px; margin-top: 34px; }
.trust li { display: flex; align-items: center; gap: 10px; font-size: .8rem; font-weight: 600; color: var(--ink); line-height: 1.25; max-width: 138px; }
.trust .ic { width: 28px; height: 28px; color: var(--navy); }

/* Stats */
.stats-wrap { position: relative; z-index: 2; margin-top: -48px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px 8px; box-shadow: var(--sh-1); }
.stats-float { background: rgba(243, 246, 251, .96); backdrop-filter: blur(6px); box-shadow: var(--sh-2); }
.stat { display: flex; align-items: center; justify-content: center; gap: 16px; padding: 8px 18px; }
.stat + .stat { border-inline-start: 1px solid var(--line-2); }
.stat-ic .ic { width: 38px; height: 38px; color: var(--navy); stroke-width: 1.4; }
.stat-txt { display: flex; flex-direction: column; line-height: 1.2; }
.stat-txt b { font-size: 1.55rem; font-weight: 800; color: var(--ink); letter-spacing: -.02em; }
.stat-txt span { font-size: .87rem; color: var(--text); font-weight: 500; }

/* Sections */
.section { padding-block: 64px; }
.section-sm { padding-block: 36px; }
.surface { background: var(--surface); }
.sec-head { margin-bottom: 32px; }
.sec-head.split { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; }
.sec-head.split > div { max-width: 640px; }
.sec-head .h2 { margin: 0; }
.sec-head.center { text-align: center; }
.sec-head.center .eyebrow { justify-content: center; }
.sec-side { max-width: 380px; margin: 0; color: var(--text); font-size: .95rem; }

/* Solution cards (image-led) */
.sol-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.sol-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; box-shadow: var(--sh-1); transition: transform .25s var(--ease), box-shadow .25s, border-color .25s; }
.sol-media { display: block; aspect-ratio: 2.5 / 1; overflow: hidden; background: var(--surface-2); }
.sol-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.sol-body { display: flex; align-items: center; gap: 12px; padding: 14px 16px; flex: 1; }
.sol-ic .ic { width: 30px; height: 30px; color: var(--navy); stroke-width: 1.4; }
.sol-title { flex: 1; font-weight: 700; font-size: .95rem; color: var(--ink); line-height: 1.3; }
.sol-arrow { color: var(--navy); transition: transform .25s var(--ease), color .2s; }
.sol-arrow .ic { width: 20px; height: 20px; }
.sol-card:hover, .sol-card:focus-visible { transform: translateY(-4px); box-shadow: var(--sh-3); border-color: var(--line-2); }
.sol-card:hover .sol-media img { transform: scale(1.06); }
.sol-card:hover .sol-arrow { color: var(--orange); transform: translateX(4px); }
[dir="rtl"] .sol-card:hover .sol-arrow { transform: translateX(-4px); }
.img-ph { display: grid; place-items: center; width: 100%; height: 100%; min-height: 120px; color: var(--line-2); background: linear-gradient(135deg, var(--surface), var(--surface-2)); }
.img-ph .ic { width: 48px; height: 48px; }

/* Why strip */
.why-strip { display: flex; align-items: center; gap: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px 26px; }
.why-title { font-size: 1.35rem; margin: 0; flex: 0 0 auto; min-width: 240px; }
.why-list { display: grid; grid-template-columns: repeat(4, 1fr); flex: 1; }
.why-list li { display: flex; align-items: center; gap: 14px; padding: 6px 22px; font-weight: 600; font-size: .9rem; color: var(--ink); line-height: 1.3; }
.why-list li + li { border-inline-start: 1px solid var(--line-2); }
.why-list .ic { width: 32px; height: 32px; color: var(--navy); stroke-width: 1.4; }

/* Projects */
.proj-card { position: relative; display: block; border-radius: var(--r); overflow: hidden; aspect-ratio: 2.25 / 1; background: var(--navy-9); isolation: isolate; box-shadow: var(--sh-1); }
.proj-card img, .proj-card .img-ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.proj-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7, 27, 61, 0) 35%, rgba(7, 27, 61, .82) 100%); z-index: 0; }
.proj-cap { position: absolute; inset-inline: 0; bottom: 0; z-index: 1; padding: 16px 18px; color: #fff; display: flex; flex-direction: column; gap: 2px; }
.proj-title { font-weight: 800; font-size: 1.08rem; line-height: 1.25; }
.proj-scope { font-size: .82rem; opacity: .92; }
.proj-card:hover img { transform: scale(1.05); }
.proj-card:focus-visible { outline-offset: 3px; }
.carousel { position: relative; }
.car-track { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.car-dots { display: none; }
.proj-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.projx { display: flex; flex-direction: column; gap: 12px; }
.projx .proj-card { aspect-ratio: 1.6 / 1; }
.projx-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 0; padding-inline: 4px; }
.projx-meta div { display: flex; gap: 6px; font-size: .85rem; }
.projx-meta dt { color: var(--muted); }
.projx-meta dt::after { content: ":"; }
.projx-meta dd { margin: 0; color: var(--ink); font-weight: 600; }

/* Brands */
.brand-row { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.brand-tile { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 70px; padding: 12px 16px; background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--sh-1); transition: border-color .2s, box-shadow .2s, transform .2s var(--ease); }
a.brand-tile:hover, .brand-tile:hover { border-color: var(--line-2); box-shadow: var(--sh-2); transform: translateY(-2px); }
.brand-logo { display: flex; align-items: center; justify-content: center; width: 100%; }
.brand-logo img { max-height: 40px; max-width: 150px; width: auto; object-fit: contain; }
.wordmark { font-family: "Plus Jakarta Sans", sans-serif; font-weight: 800; font-size: 1.35rem; letter-spacing: -.02em; font-style: italic; text-transform: uppercase; white-space: nowrap; }
.brand-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.brand-tile-lg { min-height: 170px; gap: 18px; padding: 26px 18px; }
.brand-tile-lg .brand-logo { flex: 1; min-height: 64px; }
.brand-tile-lg .wordmark { font-size: 1.7rem; }
.brand-cap { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 2px; border-top: 1px solid var(--line); padding-top: 12px; width: 100%; }
.brand-cap b { color: var(--ink); font-size: .95rem; }
.brand-cap span { color: var(--muted); font-size: .84rem; }

/* Testimonials */
.tes-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tes-card { margin: 0; padding: 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--sh-1); }
.stars { display: flex; gap: 2px; color: var(--orange); margin-bottom: 12px; }
.stars .ic { width: 18px; height: 18px; fill: currentColor; }
.tes-card blockquote { margin: 0 0 18px; color: var(--text); }
.tes-card figcaption { display: flex; flex-direction: column; }
.tes-card figcaption b { color: var(--ink); }
.tes-card figcaption span { color: var(--muted); font-size: .88rem; }

/* CTA banner */
.cta-band { position: relative; overflow: hidden; border-radius: var(--r-lg); background: linear-gradient(100deg, var(--navy-9) 0%, var(--navy) 45%, #1C5299 100%); color: #fff; min-height: 150px; display: flex; align-items: center; isolation: isolate; }
.cta-img { position: absolute; inset-block: 0; inset-inline-end: 0; width: 60%; z-index: -1; -webkit-mask-image: linear-gradient(to right, transparent, #000 45%); mask-image: linear-gradient(to right, transparent, #000 45%); opacity: .9; }
[dir="rtl"] .cta-img { -webkit-mask-image: linear-gradient(to left, transparent, #000 45%); mask-image: linear-gradient(to left, transparent, #000 45%); }
.cta-img img { width: 100%; height: 100%; object-fit: cover; }
.cta-copy { padding: 30px 48px; max-width: 640px; }
.cta-copy h2 { color: #fff; font-size: clamp(1.4rem, 1rem + 1.2vw, 1.9rem); margin-bottom: .3em; letter-spacing: -.02em; }
.cta-copy p { opacity: .9; margin-bottom: 18px; }
.cta-copy .btn { min-height: 44px; }

/* ---------------- Inner page hero ---------------- */
.phero { position: relative; overflow: hidden; background: linear-gradient(100deg, #F7FAFE 0%, #EEF4FC 50%, #E3EDF9 100%); border-bottom: 1px solid var(--line); }
.phero-img { position: absolute; inset-block: 0; inset-inline-end: 0; width: 50%; -webkit-mask-image: linear-gradient(to right, transparent, #000 55%); mask-image: linear-gradient(to right, transparent, #000 55%); opacity: .95; }
[dir="rtl"] .phero-img { -webkit-mask-image: linear-gradient(to left, transparent, #000 55%); mask-image: linear-gradient(to left, transparent, #000 55%); }
.phero-img img { width: 100%; height: 100%; object-fit: cover; }
.phero-in { position: relative; padding-block: 46px 54px; }
.phero h1 { font-size: clamp(1.9rem, 1.2rem + 2vw, 2.8rem); letter-spacing: -.03em; max-width: 640px; margin-bottom: .3em; }
.phero-text { max-width: 560px; font-size: 1.05rem; margin: 0; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: .85rem; color: var(--muted); margin-bottom: 14px; font-weight: 600; }
.crumbs a:hover { color: var(--navy); }
.crumbs [aria-current] { color: var(--navy); }
.crumbs .ic { opacity: .6; }

/* About */
.about-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 64px; align-items: center; }
.about-media { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 3.4; box-shadow: var(--sh-3); background: var(--surface-2); }
.about-media img { width: 100%; height: 100%; object-fit: cover; }
.about-badge { position: absolute; inset-inline-start: 18px; bottom: 18px; display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 12px; padding: 10px 16px 10px 10px; box-shadow: var(--sh-2); color: var(--ink); }
.about-badge span { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: var(--orange); color: #fff; }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; margin: 22px 0 28px; }
.checks li { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--ink); }
.checks .ic { color: var(--orange); }
.val-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.val-card { padding: 30px 26px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; box-shadow: var(--sh-1); }
.val-ic, .why-ic, .info-ic, .side-ic { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 14px; background: var(--surface); color: var(--navy); margin-bottom: 16px; }
.val-ic .ic, .why-ic .ic, .info-ic .ic, .side-ic .ic { width: 28px; height: 28px; }
.val-card h3, .why-card h3 { font-size: 1.12rem; margin-bottom: .35em; }
.val-card p, .why-card p { margin: 0; color: var(--muted); font-size: .95rem; }
.why-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.why-card { position: relative; padding: 28px 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--sh-1); transition: transform .25s var(--ease), box-shadow .25s; }
.why-card:hover { transform: translateY(-4px); box-shadow: var(--sh-2); }
.why-num { position: absolute; top: 20px; inset-inline-end: 22px; font-weight: 800; font-size: 1.6rem; color: var(--surface-2); }

/* Solutions page */
.solx-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.solx-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; box-shadow: var(--sh-1); transition: transform .25s var(--ease), box-shadow .25s; }
.solx-card:hover { transform: translateY(-4px); box-shadow: var(--sh-3); }
.solx-media { position: relative; display: block; aspect-ratio: 2.1 / 1; overflow: hidden; background: var(--surface-2); }
.solx-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.solx-card:hover .solx-media img { transform: scale(1.05); }
.solx-ic { position: absolute; inset-inline-start: 16px; bottom: -22px; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--navy); color: #fff; box-shadow: var(--sh-2); }
.solx-ic .ic { width: 28px; height: 28px; }
.solx-media { overflow: visible; }
.solx-media img { border-radius: var(--r) var(--r) 0 0; }
.solx-body { display: flex; flex-direction: column; padding: 34px 22px 22px; flex: 1; }
.solx-title { font-size: 1.15rem; margin-bottom: .45em; }
.solx-title a:hover { color: var(--navy-2); }
.solx-body > p { color: var(--muted); font-size: .94rem; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
.chips li { font-size: .78rem; font-weight: 600; color: var(--navy); background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 4px 10px; }
.solx-body .link-arrow { margin-top: auto; }

/* Detail pages */
.detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; align-items: start; }
.detail-img { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 2.4 / 1; margin-bottom: 28px; background: var(--surface-2); }
.detail-img-lg { aspect-ratio: 16 / 8; }
.detail-img img { width: 100%; height: 100%; object-fit: cover; }
.feat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.feat-grid li { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; font-weight: 600; color: var(--ink); }
.feat-grid .ic { color: var(--orange); }
.detail-side { position: sticky; top: calc(var(--hdr-h) + 20px); display: grid; gap: 18px; }
.side-card { padding: 24px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; box-shadow: var(--sh-1); }
.side-quote { background: linear-gradient(160deg, var(--navy) 0%, var(--navy-9) 100%); color: #fff; border: 0; }
.side-quote h2 { color: #fff; }
.side-quote p { opacity: .85; font-size: .93rem; }
.side-quote .side-ic { background: rgba(255, 255, 255, .12); color: #fff; }
.side-row { display: flex; gap: 10px; margin-top: 10px; }
.side-row .btn { min-height: 42px; padding: 0 12px; font-size: .86rem; }
.side-links { display: grid; gap: 2px; margin-top: 8px; }
.side-links a { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 10px; font-weight: 600; font-size: .9rem; color: var(--ink); }
.side-links a span { flex: 1; line-height: 1.3; }
.side-links a .ic:first-child { color: var(--navy); width: 22px; height: 22px; }
.side-links a:hover { background: var(--surface); color: var(--navy); }
.meta-list { margin: 0 0 8px; display: grid; gap: 12px; }
.meta-list div { display: grid; gap: 2px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.meta-list dt { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: .82rem; font-weight: 600; }
.meta-list dd { margin: 0; color: var(--ink); font-weight: 700; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.gal-item { display: block; aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; background: var(--surface-2); }
.gal-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.gal-item:hover img { transform: scale(1.05); }
.lightbox { position: fixed; inset: 0; z-index: 120; background: rgba(4, 14, 32, .92); display: grid; place-items: center; padding: 24px; }
.lightbox img { max-height: 86vh; max-width: 92vw; border-radius: 8px; }
.lightbox .icon-btn { position: absolute; top: 16px; inset-inline-end: 16px; }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); }
.lb-prev { inset-inline-start: 16px; } .lb-next { inset-inline-end: 16px; }

/* Products */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.chip-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-2); background: #fff; color: var(--ink); font-weight: 600; font-size: .88rem; cursor: pointer; transition: .2s; }
.chip-btn span { font-size: .75rem; color: var(--muted); background: var(--surface); border-radius: 999px; padding: 1px 8px; }
.chip-btn:hover { border-color: var(--navy); }
.chip-btn.is-on { background: var(--navy); border-color: var(--navy); color: #fff; }
.chip-btn.is-on span { background: rgba(255, 255, 255, .15); color: #fff; }
.prod-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.prod-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; box-shadow: var(--sh-1); transition: transform .25s var(--ease), box-shadow .25s; }
.prod-card:hover { transform: translateY(-3px); box-shadow: var(--sh-2); }
.prod-card[hidden] { display: none; }
.prod-media { position: relative; aspect-ratio: 16 / 10; background: var(--surface-2); overflow: hidden; }
.prod-media img { width: 100%; height: 100%; object-fit: cover; }
.prod-ph { display: grid; place-items: center; width: 100%; height: 100%; color: var(--navy); background: radial-gradient(circle at 70% 20%, #fff 0, transparent 55%), linear-gradient(135deg, #EEF3FA 0%, #DCE7F5 100%); }
.prod-ph .ic { width: 56px; height: 56px; stroke-width: 1.2; opacity: .85; transition: transform .4s var(--ease); }
.prod-card:hover .prod-ph .ic { transform: scale(1.08); }
.prod-tag { position: absolute; z-index: 1; inset-inline-start: 10px; bottom: 10px; display: inline-flex; align-items: center; gap: 6px; max-width: calc(100% - 20px); padding: 5px 10px; border-radius: 999px; background: rgba(255, 255, 255, .95); color: var(--navy); font-size: .74rem; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.prod-body { display: flex; flex-direction: column; flex: 1; padding: 16px 18px 18px; }
.prod-brand { margin: 0 0 2px; font-size: .75rem; font-weight: 700; color: var(--orange-d); text-transform: uppercase; letter-spacing: .06em; }
.prod-name { font-size: 1.02rem; margin-bottom: .4em; }
.prod-desc { font-size: .88rem; color: var(--muted); margin-bottom: .8em; }
.prod-specs { display: grid; gap: 4px; margin-bottom: 14px; font-size: .84rem; color: var(--text); }
.prod-specs li { display: flex; align-items: center; gap: 6px; }
.prod-specs .ic { color: var(--orange); }
.prod-cta { margin-top: auto; font-size: .86rem; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 380px minmax(0, 1fr); gap: 40px; align-items: start; }
.contact-info { display: grid; gap: 14px; }
.info-card { display: flex; gap: 16px; padding: 18px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; box-shadow: var(--sh-1); }
.info-card .info-ic { margin: 0; width: 48px; height: 48px; flex: none; }
.info-card p { margin: 0; color: var(--text); }
.info-card a:not(.link-arrow):hover { color: var(--orange-d); }
.info-card .link-arrow { margin-top: 6px; font-size: .85rem; }
.wa-card { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: var(--r); background: #E9F9EF; border: 1px solid #C9EED6; color: #0E6B34; }
.wa-card > .ic:first-child { width: 34px; height: 34px; color: #25D366; }
.wa-card > span { flex: 1; display: flex; flex-direction: column; line-height: 1.3; }
.wa-card b { color: #0E5A2D; }
.form-card { padding: 34px; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; box-shadow: var(--sh-2); }
.form-card .h3 { margin-top: 0; }
.qform { display: grid; gap: 16px; margin-top: 18px; }
.frow { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 700; font-size: .88rem; color: var(--ink); }
.field label span { color: var(--orange-d); }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: 12px 14px; border: 1.5px solid var(--line-2); border-radius: 10px; background: #FBFCFE; font: inherit; font-size: 1rem; color: var(--ink); transition: border-color .2s, box-shadow .2s, background .2s; }
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--navy); background: #fff; box-shadow: 0 0 0 4px rgba(19, 64, 127, .12); }
.field.has-err input, .field.has-err textarea { border-color: #D93838; }
[dir="rtl"] .field input[dir="ltr"] { text-align: right; }
.ferr { margin: 0; color: #C42B2B; font-size: .82rem; min-height: 0; }
.ferr:empty { display: none; }
.form-status { font-weight: 600; }
.form-status:empty { display: none; }
.form-status.ok { padding: 14px 16px; border-radius: 10px; background: #E9F9EF; color: #0E5A2D; }
.form-status.err { padding: 14px 16px; border-radius: 10px; background: #FDECEC; color: #9F2424; }
.form-status a { text-decoration: underline; margin-inline-start: 6px; }
.qform .btn[disabled] { opacity: .7; cursor: progress; }
.map-box { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 21 / 8; }
.map-box iframe { width: 100%; height: 100%; border: 0; }

/* 404 */
.nf-in { text-align: center; max-width: 560px; }
.nf-code { display: block; font-size: 6rem; font-weight: 800; line-height: 1; color: var(--surface-2); -webkit-text-stroke: 2px var(--navy); margin-bottom: 10px; }

/* ---------------- Footer ---------------- */
.site-footer { margin-top: 40px; background: var(--navy-9); color: rgba(255, 255, 255, .78); font-size: .93rem; }
.ft-grid { display: grid; grid-template-columns: 1.3fr .8fr 1.2fr 1.1fr; gap: 40px; padding-block: 60px 40px; }
.ft-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.ft-mark { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 12px; background: #fff; flex: none; }
.ft-logo b { display: block; color: #fff; font-size: 1.2rem; font-family: "Plus Jakarta Sans", var(--font); }
.ft-logo span span { font-family: "Cairo", sans-serif; color: rgba(255, 255, 255, .85); font-weight: 600; }
.ft-brand p { max-width: 340px; }
.ft-h { color: #fff; font-size: 1rem; margin-bottom: 16px; position: relative; padding-bottom: 10px; }
.ft-h::after { content: ""; position: absolute; inset-inline-start: 0; bottom: 0; width: 28px; height: 2px; background: var(--orange); }
.ft-col ul { display: grid; gap: 9px; }
.ft-col a:hover { color: #fff; }
.ft-contact li { display: flex; gap: 10px; align-items: flex-start; }
.ft-contact .ic { margin-top: 3px; color: var(--orange); }
.socials { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.socials a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: rgba(255, 255, 255, .08); color: #fff; transition: background .2s; }
.socials a:hover { background: var(--orange); }
.socials .ic { width: 19px; height: 19px; }
.socials-dark a { background: var(--surface); color: var(--navy); border: 1px solid var(--line); }
.socials-dark a:hover { background: var(--navy); color: #fff; }
.ft-bottom { display: flex; justify-content: space-between; gap: 16px; padding-block: 20px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .85rem; }
.ft-bottom p { margin: 0; }
.ft-lang a:hover { color: #fff; }
.ft-lang a[lang="ar"] { font-family: "Cairo", sans-serif; }

/* Floating actions */
.wa-float { position: fixed; z-index: 50; bottom: 24px; inset-inline-end: 24px; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: #25D366; color: #fff; box-shadow: 0 10px 24px -8px rgba(37, 211, 102, .7); transition: transform .2s var(--ease); }
.wa-float:hover { transform: scale(1.07); }
.wa-float .ic { width: 30px; height: 30px; }
.to-top { position: fixed; z-index: 50; bottom: 92px; inset-inline-end: 30px; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--navy); display: grid; place-items: center; cursor: pointer; box-shadow: var(--sh-2); opacity: 0; visibility: hidden; transform: translateY(10px); transition: .25s; }
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.mbar { display: none; }

/* Video modal */
.vmodal { position: fixed; inset: 0; z-index: 130; background: rgba(4, 14, 32, .88); display: grid; place-items: center; padding: 20px; }
.vmodal[hidden] { display: none; }
.vmodal-box { position: relative; width: min(1000px, 100%); }
.vmodal-x { position: absolute; top: -54px; inset-inline-end: 0; }
.vmodal-frame { aspect-ratio: 16 / 9; background: #000; border-radius: 10px; overflow: hidden; }
.vmodal-frame iframe, .vmodal-frame video { width: 100%; height: 100%; border: 0; }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1260px) {
  .hdr { gap: 14px; }
  .nav-link { padding-inline: 9px; font-size: .9rem; }
  .nav-link::after { inset-inline: 9px; }
  .brand-tag { display: none; }
  .hdr-cta { padding: 0 14px; }
}
@media (max-width: 1080px) {
  .main-nav { display: none; }
  .burger { flex: none; display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 10px; border: 0; background: transparent; color: var(--navy); cursor: pointer; }
  .burger .ic { width: 30px; height: 30px; }
  .hdr-actions { margin-inline-start: auto; }
  .why-strip { flex-direction: column; align-items: flex-start; }
  .why-list { width: 100%; }
  .ft-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1023px) {
  .sol-grid, .prod-grid { grid-template-columns: repeat(3, 1fr); }
  .brand-row { grid-template-columns: repeat(3, 1fr); }
  .solx-grid, .proj-grid, .tes-grid, .val-grid { grid-template-columns: repeat(2, 1fr); }
  .why-cards { grid-template-columns: repeat(2, 1fr); }
  .brand-grid { grid-template-columns: repeat(3, 1fr); }
  .detail-grid, .contact-grid, .about-grid { grid-template-columns: 1fr; }
  .detail-side { position: static; }
  .about-grid { gap: 36px; }
  .stats { grid-template-columns: repeat(2, 1fr); row-gap: 8px; }
  .stat:nth-child(3) { border-inline-start: 0; }
  .hero-media { width: 62%; }
  .hero-copy { max-width: 520px; }
}

/* ----- Mobile: app-like layout ----- */
@media (max-width: 767px) {
  :root { --gutter: 18px; --hdr-h: 68px; }
  body { font-size: 15.5px; padding-bottom: calc(74px + env(safe-area-inset-bottom)); }
  .show-m { display: inline-flex !important; }
  .btn-block.show-m { display: flex !important; }
  .hide-m { display: none !important; }
  .hdr { gap: 10px; }
  .brand-mark { width: 46px; }
  .brand-en { font-size: 1.12rem; }
  .brand-ar { font-size: .92rem; }
  .brand-tag { font-size: .56rem; }
  .hdr-cta { display: none; }
  .hdr-actions { gap: 4px; }
  .lang-dd summary { padding: 10px 6px; }

  .hero { min-height: 0; display: block; background: linear-gradient(180deg, #F6F9FE 0%, #E9F1FB 100%); }
  .hero-media { width: 54%; }
  .hero-media { -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,.25) 30%, #000 62%); mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,.25) 30%, #000 62%); }
  [dir="rtl"] .hero-media { -webkit-mask-image: linear-gradient(to left, transparent 0%, rgba(0,0,0,.25) 30%, #000 62%); mask-image: linear-gradient(to left, transparent 0%, rgba(0,0,0,.25) 30%, #000 62%); }
  .hero-media img { object-position: 60% 50%; }
  .hero-in { padding-block: 30px 34px; }
  .eyebrow { font-size: .8rem; gap: 10px; max-width: 72%; line-height: 1.35; }
  .eyebrow-line { width: 24px; }
  .hero-title { font-size: clamp(1.75rem, 1.2rem + 3.6vw, 2.3rem); max-width: 86%; }
  .hero-text { font-size: .93rem; line-height: 1.55; max-width: 64%; margin-bottom: 20px; font-size: .9rem; text-shadow: 0 0 10px rgba(240, 246, 253, .95), 0 0 2px rgba(240, 246, 253, .9); }
  .hero .btn-row { gap: 10px; flex-wrap: nowrap; }
  .hero .btn { min-height: 46px; padding: 0 16px; font-size: .9rem; }
  .btn-hero { background: var(--orange); }
  .btn-hero:hover { background: var(--orange-d); }
  .trust { display: none; }

  .stats-wrap { margin-top: 18px; }
  .stats, .stats-float { grid-template-columns: repeat(4, 1fr); padding: 14px 4px; border-radius: 14px; box-shadow: var(--sh-1); }
  .stat { flex-direction: column; gap: 6px; padding: 4px 6px; text-align: center; }
  .stat:nth-child(3) { border-inline-start: 1px solid var(--line-2); }
  .stat-ic .ic { width: 28px; height: 28px; }
  .stat-txt b { font-size: 1.08rem; }
  .stat-txt span { font-size: .74rem; line-height: 1.25; }

  .section { padding-block: 44px; }
  .section-sm { padding-block: 26px; }
  .sec-head { margin-bottom: 18px; }
  .sec-head.split { align-items: flex-end; gap: 12px; }
  .sec-side { display: none; }
  .h2 { font-size: 1.5rem; }
  .h2-m-line { display: flex; align-items: center; gap: 12px; font-size: 1.35rem; }
  .h2-m-line::before { content: ""; width: 26px; height: 2px; background: var(--orange); flex: none; }

  .sol-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .sol-card:nth-child(n+7) { display: none; }
  .sol-media { aspect-ratio: 2 / 1; }
  .sol-card { position: relative; }
  .sol-body { gap: 6px; padding: 10px 10px 11px; }
  .sol-ic { position: absolute; inset-inline-start: 8px; top: calc((100vw - var(--gutter) * 2 - 12px) / 4 - 20px); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: #fff; box-shadow: var(--sh-2); }
  .sol-ic .ic { width: 20px; height: 20px; }
  .sol-title { font-size: .8rem; line-height: 1.3; padding-top: 6px; }
  .sol-arrow .ic { width: 16px; height: 16px; }
  .view-all { margin-top: 14px; min-height: 48px; }

  .why-strip { padding: 18px; gap: 12px; border-radius: 14px; }
  .why-title { font-size: 1.15rem; min-width: 0; }
  .why-list { grid-template-columns: 1fr 1fr; gap: 10px; }
  .why-list li { padding: 10px; background: #fff; border-radius: 10px; border: 1px solid var(--line); font-size: .82rem; gap: 10px; }
  .why-list li + li { border-inline-start: 1px solid var(--line); }
  .why-list .ic { width: 26px; height: 26px; }

  /* Carousel */
  .car-track { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); }
  .car-track::-webkit-scrollbar { display: none; }
  .car-item { flex: 0 0 84%; scroll-snap-align: start; aspect-ratio: 2.1 / 1; }
  .car-dots { display: flex; justify-content: center; gap: 8px; margin-top: 14px; }
  .car-dots button { width: 10px; height: 10px; border-radius: 50%; border: 0; padding: 0; background: var(--line-2); cursor: pointer; transition: .2s; }
  .car-dots button[aria-selected="true"] { background: var(--orange); width: 22px; border-radius: 6px; }

  .brand-row { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; gap: 10px; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); padding-bottom: 4px; }
  .brand-row::-webkit-scrollbar { display: none; }
  .brand-row .brand-tile { flex: 0 0 40%; scroll-snap-align: start; min-height: 60px; }
  .wordmark { font-size: 1.05rem; }

  .cta-band { flex-direction: column; align-items: stretch; min-height: 0; border-radius: 14px; }
  .cta-img, [dir="rtl"] .cta-img { width: 100%; height: 100%; -webkit-mask-image: none; mask-image: none; opacity: .22; }
  .cta-copy { padding: 26px 22px 28px; }
  .cta-copy .btn-row { flex-direction: column; }
  .cta-copy .btn { width: 100%; }

  .phero-img { width: 58%; opacity: .32; }
  .phero-text { text-shadow: 0 0 8px rgba(243, 247, 253, .9); }
  .phero-in { padding-block: 26px 30px; }
  .phero h1 { font-size: 1.75rem; }
  .phero-text { font-size: .95rem; max-width: 92%; }

  .solx-grid, .proj-grid, .tes-grid, .val-grid, .why-cards { grid-template-columns: 1fr; }
  .prod-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .prod-body { padding: 12px; }
  .prod-name { font-size: .9rem; }
  .prod-tag { font-size: .66rem; padding: 4px 8px; }
  .prod-desc, .prod-specs { display: none; }
  .prod-cta { font-size: .8rem; }
  .filters { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); margin-bottom: 18px; }
  .filters::-webkit-scrollbar { display: none; }
  .chip-btn { flex: none; }
  .brand-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .brand-tile-lg { min-height: 140px; padding: 18px 12px; }
  .brand-tile-lg .wordmark { font-size: 1.2rem; }
  .checks { grid-template-columns: 1fr; }
  .feat-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .detail-img { aspect-ratio: 16 / 9; }
  .frow { grid-template-columns: 1fr; }
  .form-card { padding: 22px 18px; border-radius: 14px; }
  .contact-grid { gap: 22px; }
  .contact-info { order: 2; }
  .map-box { aspect-ratio: 4 / 3; }

  .ft-grid { grid-template-columns: 1fr; gap: 28px; padding-block: 40px 24px; }
  .ft-col ul { grid-template-columns: 1fr 1fr; }
  .ft-contact { grid-template-columns: 1fr !important; }
  .ft-bottom { flex-direction: column; align-items: flex-start; gap: 6px; }

  .wa-float, .to-top { display: none; }
  .mbar { position: fixed; z-index: 70; inset-inline: 0; bottom: 0; display: flex; align-items: center; gap: 10px; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .97); backdrop-filter: blur(10px); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px -16px rgba(11, 42, 91, .35); transform: translateY(110%); transition: transform .3s var(--ease); }
  .mbar.show { transform: none; }
  .mbar-ic { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 12px; background: var(--surface); color: var(--navy); border: 1px solid var(--line); flex: none; }
  .mbar-wa { color: #1FAF54; }
  .mbar-cta { flex: 1; min-height: 50px; }
  .page-contact .mbar-cta { display: none; }
}
@media (max-width: 389px) {
  .brand-tag { display: none; }
  .hero-text { max-width: 100%; }
  .stats, .stats-float { grid-template-columns: 1fr 1fr; row-gap: 12px; }
  .stat:nth-child(3) { border-inline-start: 0; }
  .sol-grid { grid-template-columns: 1fr 1fr; }
  .hero .btn-row { flex-wrap: wrap; }
}
