:root {
  --navy-950: #061826;
  --navy-900: #071b2d;
  --navy-800: #0b2740;
  --navy-700: #10385a;
  --blue-400: #55c7ff;
  --blue-100: #d9f4ff;
  --gold-500: #c99b4f;
  --gold-300: #e5c47d;
  --ink: #132231;
  --muted: #637487;
  --line: #dce4eb;
  --bg: #f6f8fa;
  --white: #ffffff;
  --shadow: 0 18px 60px rgba(7, 27, 45, .12);
  --radius: 22px;
  --font: "Inter", "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  --arabic: "Segoe UI", "Tahoma", "Arial", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 118px; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
html[lang="ar"] body { font-family: var(--arabic); }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
.container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.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; }

.topbar { background: var(--navy-950); color: rgba(255,255,255,.76); font-size: 13px; }
.topbar-inner { height: 36px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94); backdrop-filter: blur(18px); border-bottom: 1px solid rgba(220,228,235,.9); }
.site-header.is-scrolled { box-shadow: 0 10px 35px rgba(7,27,45,.08); }
.nav-inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 26px; }
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.brand-mark { width: 44px; height: 44px; flex: 0 0 auto; }
.brand-text { display: grid; gap: 1px; }
.brand-text strong { display: block; color: var(--navy-900); font-size: 17px; line-height: 1.25; letter-spacing: -.02em; }
.brand-text small { display: block; color: var(--muted); font-size: 8.6px; line-height: 1.25; letter-spacing: .08em; font-weight: 700; }
.site-nav { display: flex; align-items: center; gap: 22px; }
.site-nav > a { position: relative; color: #294054; font-size: 14.5px; font-weight: 650; padding: 30px 0; }
.site-nav > a:not(.nav-cta)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 22px; height: 2px; background: var(--gold-500); transform: scaleX(0); transform-origin: center; transition: transform .25s ease; }
.site-nav > a:hover::after { transform: scaleX(1); }
.nav-cta { background: var(--navy-900); color: #fff; padding: 10px 17px; border-radius: 999px; }
.lang-switch { flex-shrink: 0; }
.nav-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 12px; background: #fff; padding: 10px; }
.nav-toggle span { display: block; height: 2px; background: var(--navy-900); margin: 4px 0; transition: transform .25s, opacity .25s; }

.hero { position: relative; overflow: hidden; background: radial-gradient(circle at 80% 15%, rgba(85,199,255,.18), transparent 32%), linear-gradient(135deg, var(--navy-950), var(--navy-800) 58%, #0e3351); color: #fff; }
.hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px); background-size: 46px 46px; mask-image: linear-gradient(to bottom, #000, transparent 85%); }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 58px; align-items: center; padding: 88px 0 92px; }
.eyebrow, .kicker { margin: 0 0 14px; color: var(--gold-300); text-transform: uppercase; letter-spacing: .17em; font-size: 12px; font-weight: 800; }
.hero h1 { margin: 0; max-width: 720px; font-size: clamp(36px, 4.3vw, 58px); line-height: 1.13; letter-spacing: -.045em; }
.hero-lead { margin: 22px 0 0; color: rgba(255,255,255,.78); font-size: 17.5px; max-width: 680px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 22px; border-radius: 999px; border: 1px solid transparent; font-weight: 750; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: linear-gradient(135deg, var(--gold-300), var(--gold-500)); color: #17202a; box-shadow: 0 12px 32px rgba(201,155,79,.25); }
.btn-ghost { border-color: rgba(255,255,255,.25); color: #fff; background: rgba(255,255,255,.04); }
.hero-badges { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 42px 0 0; padding: 0; list-style: none; }
.hero-badges div { border: 1px solid rgba(255,255,255,.13); background: rgba(255,255,255,.055); border-radius: 16px; padding: 16px; }
.hero-badges dt { font-size: 23px; font-weight: 850; color: var(--blue-100); }
.hero-badges dd { margin: 3px 0 0; color: rgba(255,255,255,.7); font-size: 13px; }
.hero-visual { position: relative; }
.visual-card { position: relative; padding: 18px; border: 1px solid rgba(255,255,255,.14); border-radius: 30px; background: linear-gradient(145deg, rgba(255,255,255,.1), rgba(255,255,255,.035)); box-shadow: 0 30px 90px rgba(0,0,0,.28); }
.visual-note { position: absolute; display: grid; gap: 2px; padding: 13px 16px; border-radius: 16px; background: rgba(6,24,38,.86); border: 1px solid rgba(255,255,255,.14); backdrop-filter: blur(10px); box-shadow: var(--shadow); }
.visual-note strong { color: var(--blue-100); font-size: 16px; }
.visual-note span { color: rgba(255,255,255,.72); font-size: 12px; }
.note-a { left: -18px; bottom: 34px; }
.note-b { right: -14px; top: 34px; }

.ticker { background: #05131f; color: rgba(255,255,255,.58); padding: 14px 0; overflow: hidden; }
.ticker-track { display: flex; justify-content: space-between; gap: 26px; white-space: nowrap; font-size: 12px; letter-spacing: .18em; font-weight: 800; }

.section { padding: 92px 0; }
.split-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 66px; align-items: center; }
.split-grid.reverse .section-heading { order: 2; }
.section-heading h2 { margin: 0; color: var(--navy-900); font-size: clamp(28px, 3vw, 42px); line-height: 1.18; letter-spacing: -.035em; }
.hero .section-heading h2, .engineering-section .section-heading h2, .contact-section h2 { color: #fff; }
.section-heading p { margin: 18px 0 0; color: var(--muted); font-size: 16px; }
.centered { text-align: center; max-width: 820px; margin: 0 auto 46px; }
.centered p { color: var(--muted); }
.kicker.light { color: var(--gold-300); }
.check-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.check-list li { position: relative; padding-left: 30px; font-weight: 650; color: #263d4f; }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; background: rgba(85,199,255,.13); color: #087cad; font-size: 12px; font-weight: 900; }
.about-card { border-radius: 28px; padding: 32px; background: linear-gradient(160deg, #fff, #eef5f9); border: 1px solid #e5edf3; box-shadow: var(--shadow); }
.about-card-top { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; }
.status-dot { width: 10px; height: 10px; border-radius: 50%; background: #28b56b; box-shadow: 0 0 0 6px rgba(40,181,107,.12); }
.about-card h3 { margin: 18px 0 26px; color: var(--navy-900); font-size: 25px; line-height: 1.3; }
.capability-lines { display: grid; gap: 14px; }
.capability-lines div { display: flex; gap: 16px; align-items: center; padding: 16px; border-radius: 16px; background: rgba(255,255,255,.78); border: 1px solid #e1e9ef; }
.capability-lines i { font-style: normal; color: var(--gold-500); font-weight: 900; }
.capability-lines span { font-weight: 700; color: #23394c; }

.products-section { background: linear-gradient(180deg, var(--navy-900), #0a243a); color: #fff; }
.products-section .section-heading h2 { color: #fff; }
.products-section .section-heading p { color: rgba(255,255,255,.68); }
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.product-card { position: relative; display: flex; flex-direction: column; min-height: 100%; padding: 25px; border-radius: 24px; background: rgba(255,255,255,.055); border: 1px solid rgba(255,255,255,.12); transition: transform .25s, border-color .25s, background .25s; }
.product-card:hover { transform: translateY(-6px); border-color: rgba(229,196,125,.62); background: rgba(255,255,255,.08); }
.product-icon { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 17px; color: var(--gold-300); background: rgba(229,196,125,.11); border: 1px solid rgba(229,196,125,.22); margin-bottom: 22px; }
.product-icon .icon { width: 30px; height: 30px; }
.icon { width: 28px; height: 28px; }
.product-card h3 { margin: 0; font-size: 20px; line-height: 1.32; color: #fff; min-height: 53px; }
.product-card > p { margin: 14px 0 19px; color: rgba(255,255,255,.68); font-size: 14.2px; flex-grow: 1; }
.product-features { list-style: none; margin: 0 0 18px; padding: 16px 0; border-block: 1px solid rgba(255,255,255,.1); display: grid; gap: 9px; }
.product-features li { position: relative; padding-left: 17px; color: rgba(255,255,255,.78); font-size: 13.2px; line-height: 1.45; }
.product-features li::before { content: ""; position: absolute; left: 0; top: .72em; width: 6px; height: 6px; border-radius: 50%; background: var(--gold-300); }
.product-meta { color: rgba(255,255,255,.62); font-size: 12.6px; line-height: 1.55; }
.product-meta strong { display: block; color: var(--blue-100); margin-bottom: 4px; font-size: 12px; text-transform: uppercase; letter-spacing: .09em; }
.product-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 20px; color: var(--gold-300); font-weight: 800; font-size: 14px; }
.product-link .icon { width: 18px; height: 18px; }

.solutions-section { background: #fff; }
.solution-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; }
.solution-grid article { padding: 28px; min-height: 216px; border-radius: 22px; background: linear-gradient(180deg, #f8fbfd, #fff); border: 1px solid var(--line); transition: transform .25s, box-shadow .25s; }
.solution-grid article:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.solution-grid h3 { position: relative; margin: 0 0 14px; color: var(--navy-900); font-size: 20px; padding-bottom: 12px; }
.solution-grid h3::after { content: ""; position: absolute; left: 0; bottom: 0; width: 34px; height: 3px; border-radius: 99px; background: var(--gold-500); }
.solution-grid p { margin: 0; color: var(--muted); font-size: 14.5px; }

.engineering-section { background: linear-gradient(135deg, #092135, #0d314e); color: #fff; }
.engineering-section .section-heading p { color: rgba(255,255,255,.7); }
.quality-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; }
.quality-grid article { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 22px; padding: 24px; }
.quality-grid .icon { color: var(--gold-300); margin-bottom: 16px; }
.quality-grid h3 { margin: 0 0 8px; font-size: 18px; }
.quality-grid p { margin: 0; color: rgba(255,255,255,.68); font-size: 14px; }

.services-section { background: #f6f8fa; }
.process-list { list-style: none; counter-reset: step; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(6, minmax(0,1fr)); gap: 14px; }
.process-list li { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 24px 18px; }
.process-list span { display: inline-flex; margin-bottom: 24px; color: var(--gold-500); font-size: 22px; font-weight: 900; letter-spacing: -.04em; }
.process-list h3 { margin: 0 0 8px; color: var(--navy-900); font-size: 16.5px; }
.process-list p { margin: 0; color: var(--muted); font-size: 13.2px; line-height: 1.55; }

.contact-section { background: linear-gradient(135deg, var(--navy-950), #0c2c46); color: #fff; }
.contact-grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: 64px; align-items: start; }
.contact-section p { color: rgba(255,255,255,.72); }
.contact-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.contact-list li { display: grid; grid-template-columns: 86px 1fr; gap: 12px; padding: 15px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.contact-list strong { color: var(--blue-100); font-size: 13px; }
.contact-list span { color: rgba(255,255,255,.78); }
.contact-list a { color: inherit; text-decoration: none; overflow-wrap: anywhere; }
.contact-list a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.inquiry-form { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; padding: 28px; border-radius: 26px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.13); }
.inquiry-form label { display: grid; gap: 7px; color: rgba(255,255,255,.84); font-size: 13.5px; font-weight: 700; }
.inquiry-form .full { grid-column: 1 / -1; }
.inquiry-form input, .inquiry-form select, .inquiry-form textarea { width: 100%; border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.94); color: var(--ink); border-radius: 13px; padding: 12px 13px; outline: none; }
.inquiry-form input:focus, .inquiry-form select:focus, .inquiry-form textarea:focus { border-color: var(--blue-400); box-shadow: 0 0 0 4px rgba(85,199,255,.14); }
.inquiry-form textarea { resize: vertical; }
.inquiry-form .btn { border: 0; min-height: 50px; }
.form-status { grid-column: 1/-1; min-height: 24px; margin: 0; font-size: 14px; color: var(--gold-300); }

.site-footer { background: #041019; color: rgba(255,255,255,.68); padding: 36px 0; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr auto; gap: 28px; align-items: center; }
.site-footer strong { display: block; color: #fff; font-size: 16px; }
.site-footer p { margin: 4px 0 0; font-size: 12px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 18px; justify-content: center; font-size: 13.5px; }
.site-footer a:hover { color: #fff; }
.copyright { font-size: 12.5px; margin: 0; }

[dir="rtl"] .brand-text small { letter-spacing: 0; }
[dir="rtl"] .check-list li { padding-left: 0; padding-right: 30px; }
[dir="rtl"] .check-list li::before { left: auto; right: 0; }
[dir="rtl"] .capability-lines div { gap: 16px; }
[dir="rtl"] .product-features li { padding-left: 0; padding-right: 17px; }
[dir="rtl"] .product-features li::before { left: auto; right: 0; }
[dir="rtl"] .contact-list li { grid-template-columns: 86px 1fr; }
[dir="rtl"] .product-link .icon { transform: scaleX(-1); }
[dir="rtl"] .eyebrow, [dir="rtl"] .kicker { letter-spacing: 0; }

@media (max-width: 1100px) {
  .brand { min-width: 220px; }
  .brand-text small { display: block; }
  .site-nav { gap: 16px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .process-list { grid-template-columns: repeat(3, minmax(0,1fr)); }
}

@media (max-width: 860px) {
  .topbar { display: none; }
  .nav-toggle { display: block; }
  .nav-inner { min-height: 72px; }
  .brand { min-width: 0; }
  .brand-text strong { font-size: 15px; }
  .site-nav { position: absolute; top: 72px; left: 12px; right: 12px; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 12px; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); }
  .site-nav.is-open { display: flex; }
  .site-nav > a { padding: 13px 10px; }
  .site-nav > a:not(.nav-cta)::after { display: none; }
  .nav-cta { text-align: center; margin-top: 6px; }
  .lang-switch { padding: 6px 0 2px; }
  .lang-switch select { width: 100%; }
  .hero-grid, .split-grid, .contact-grid, .footer-grid { grid-template-columns: 1fr; }
  .split-grid.reverse .section-heading { order: 0; }
  .hero-grid { gap: 38px; padding: 64px 0; }
  .note-a { left: 8px; bottom: 24px; }
  .note-b { right: 8px; top: 22px; }
  .visual-note { position: static; margin-top: 12px; }
  .ticker-track { overflow-x: auto; justify-content: flex-start; }
  .solution-grid, .quality-grid { grid-template-columns: 1fr; }
  .section { padding: 70px 0; }
  .footer-grid { text-align: center; }
  .site-footer nav { justify-content: center; }
}

@media (max-width: 560px) {
  .container { width: min(100% - 28px, 1180px); }
  .hero-badges, .product-grid, .process-list, .inquiry-form { grid-template-columns: 1fr; }
  .inquiry-form .full { grid-column: auto; }
  .hero-actions .btn { width: 100%; }
  .contact-list li { grid-template-columns: 1fr; gap: 3px; }
  .about-card, .inquiry-form { padding: 22px; }
}