:root {
  --ink: #14202c;
  --muted: #526272;
  --blue: #0b6ec4;
  --blue-d: #084e8f;
  --navy: #06284a;
  --cyan: #14b4e6;
  --paper: #f4f7fb;
  --card: #ffffff;
  --line: #d5e0eb;
  --wa: #25d366;
  --wa-d: #128c7e;
  --shadow: 0 10px 30px rgba(8, 40, 74, 0.08);
  --header-h: 118px;
  --max: 1160px;
  --font: "Source Sans 3", "Segoe UI", sans-serif;
  --display: "Barlow", "Source Sans 3", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
}
html[lang="ar"] body,
html[lang="ar"] button,
html[lang="ar"] input,
html[lang="ar"] textarea,
html[lang="ar"] select {
  font-family: "Noto Sans Arabic", "Source Sans 3", sans-serif;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-d); }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.2; margin: 0 0 .5em; letter-spacing: -0.02em; }
p { margin: 0 0 1em; }
ul { margin: 0 0 1em; padding-inline-start: 1.2em; }

.skip {
  position: absolute;
  inset-inline-start: 12px;
  top: -40px;
  background: #fff;
  padding: 8px 12px;
  z-index: 10000;
}
.skip:focus { top: 8px; }

.wrap { width: min(var(--max), calc(100% - 32px)); margin: 0 auto; }
.wrap-wide { width: min(1240px, calc(100% - 32px)); margin: 0 auto; }

/* Header — logo sits on the white brand row */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  box-shadow: 0 1px 0 var(--line);
}
.util {
  background: var(--navy);
  color: #d5e6f5;
  font-size: 13.5px;
}
.util-inner, .brand-row, .nav-inner {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 16px;
}
.util-inner { min-height: 36px; justify-content: space-between; }
.util a { color: #fff; text-decoration: none; }
.util a:hover { text-decoration: underline; }
.util-links { display: flex; gap: 16px; flex-wrap: wrap; }
.brand-row { min-height: 86px; justify-content: space-between; gap: 20px; }
.logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--ink);
  min-width: 0;
}
.logo-frame {
  display: block;
  width: 292px;
  height: 74px;
  overflow: hidden;
  position: relative;
  flex: 0 0 auto;
}
.logo-frame img {
  position: absolute;
  width: 320px;
  height: auto;
  aspect-ratio: 1983 / 793;
  max-width: none;
  left: -14px;
  top: -26px;
}
.logo-tag { display: none; }
.logo-tag strong {
  font-family: var(--display);
  font-size: 15px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--blue-d);
}
.logo-tag span { color: var(--muted); font-size: 13.5px; }

.lang { position: relative; }
.lang-btn {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 999px;
  padding: 4px 12px;
  cursor: pointer;
}
.lang-menu {
  display: none;
  position: absolute;
  inset-inline-end: 0;
  top: calc(100% + 8px);
  background: #fff;
  color: var(--ink);
  min-width: 210px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 8px;
  z-index: 60;
}
.lang.open .lang-menu { display: grid; grid-template-columns: 1fr 1fr; }
.lang-menu a {
  color: var(--ink);
  text-decoration: none;
  padding: 7px 8px;
  border-radius: 8px;
  font-size: 14px;
}
.lang-menu a:hover, .lang-menu a[aria-current="true"] { background: #e7f3fc; color: var(--blue-d); }

.nav-bar { background: #fff; border-top: 1px solid var(--line); }
.nav-inner { min-height: 52px; justify-content: space-between; }
.mainnav { display: flex; align-items: center; gap: 2px; flex-wrap: nowrap; }
.mainnav a, .drop-link {
  color: var(--ink);
  text-decoration: none;
  font-family: var(--display);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .01em;
  padding: 14px 10px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}
.mainnav a:hover, .drop-link:hover, .mainnav a[aria-current="page"] { color: var(--blue); }
.drop { position: relative; }
.drop-menu {
  display: none;
  position: absolute;
  top: 100%;
  inset-inline-start: 0;
  background: #fff;
  min-width: 280px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 8px;
  border: 1px solid var(--line);
  z-index: 40;
}
.drop:hover .drop-menu, .drop:focus-within .drop-menu { display: block; }
.drop-menu a {
  display: block;
  padding: 9px 12px;
  border-radius: 8px;
  white-space: normal;
  font-size: 14.5px;
}
.drop-menu a:hover { background: #eef6fd; }
.nav-cta {
  background: var(--blue);
  color: #fff !important;
  border-radius: 999px;
  padding: 9px 16px !important;
  margin-inline-start: 6px;
}
.nav-cta:hover { background: var(--blue-d); }
.menu-btn {
  display: none;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 8px;
  width: 44px;
  height: 40px;
  cursor: pointer;
}
.menu-btn span, .menu-btn span:before, .menu-btn span:after {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--navy);
  position: relative;
}
.menu-btn span:before, .menu-btn span:after {
  content: "";
  position: absolute;
  left: 0; right: 0;
}
.menu-btn span:before { top: -7px; }
.menu-btn span:after { top: 7px; }

/* Hero */
.hero {
  background:
    radial-gradient(900px 420px at 90% 0%, rgba(20,180,230,.35), transparent 60%),
    linear-gradient(115deg, #041e38 0%, #0a5ea8 58%, #1287c8 100%);
  color: #fff;
  padding: 54px 0 72px;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 42px; align-items: center; }
.eyebrow {
  color: #9ad7f5;
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: 13px;
  margin-bottom: 10px;
}
.hero h1 { font-size: clamp(32px, 4vw, 48px); color: #fff; max-width: 16ch; }
.hero .sub { font-size: 20px; color: #e7f5fd; margin-bottom: 12px; font-weight: 600; }
.hero p { color: #e4eef6; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  border-radius: 999px;
  padding: 12px 18px;
  font-family: var(--display);
  font-weight: 600;
  border: 2px solid transparent;
  cursor: pointer;
}
.btn-primary { background: #fff; color: var(--navy); }
.btn-primary:hover { background: #e7f6ff; }
.btn-line { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn-line:hover { background: rgba(255,255,255,.1); }
.btn-blue { background: var(--blue); color: #fff; border: 0; }
.btn-blue:hover { background: var(--blue-d); }
.btn-ghost { background: #fff; color: var(--blue-d); border: 1px solid var(--line); }
.hero-photo { position: relative; }
.hero-photo img {
  width: 100%;
  border-radius: 18px;
  box-shadow: 0 20px 50px rgba(0,0,0,.25);
  aspect-ratio: 4/3;
  object-fit: cover;
}
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.pill {
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.28);
  color: #fff;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 13px;
}

.stats { margin-top: -36px; position: relative; z-index: 2; }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.stat {
  background: #fff;
  border-radius: 14px;
  padding: 16px 16px 14px;
  box-shadow: var(--shadow);
  border-top: 3px solid var(--cyan);
}
.stat b { display: block; font-family: var(--display); font-size: 22px; color: var(--navy); }
.stat span { color: var(--muted); font-size: 14px; }

.section { padding: 64px 0; }
.section h2 { font-size: clamp(28px, 3vw, 36px); color: var(--navy); }
.kicker {
  color: var(--blue);
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: 13px;
  margin-bottom: 6px;
}
.lead { font-size: 18.5px; color: #243646; }

.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 22px; }
.card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.card img { width: 100%; height: 210px; object-fit: cover; }
.card-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card h3 { font-size: 22px; margin: 0; }
.card p { color: var(--muted); flex: 1; }
.card .btn { align-self: flex-start; }

.table-wrap { overflow-x: auto; background: #fff; border-radius: 14px; border: 1px solid var(--line); }
table { width: 100%; border-collapse: collapse; min-width: 640px; }
th, td { padding: 12px 14px; text-align: start; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--navy); color: #fff; font-family: var(--display); font-weight: 600; }
tr:last-child td { border-bottom: 0; }
tbody tr:nth-child(even) { background: #f7fbfe; }
.note { color: var(--muted); font-size: 14.5px; }

.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 18px; }
.shot {
  margin: 0;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  cursor: zoom-in;
}
.shot img { width: 100%; height: 170px; object-fit: cover; }
.shot figcaption { padding: 8px 10px 10px; font-size: 13.5px; color: var(--muted); }

section[data-videos] { display: none; }
section[data-videos].has-video { display: block; }
.videos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 18px; }
.video-card { background: #0c2238; border-radius: 14px; overflow: hidden; }
.video-card video { width: 100%; aspect-ratio: 16/9; background: #04121f; }
.video-card p { color: #d7e7f4; padding: 8px 12px 12px; margin: 0; font-size: 14px; }

.app-grid, .why-grid, .info-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 18px; }
.app, .why, .info {
  background: #fff;
  border-radius: 14px;
  padding: 16px;
  border: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
  display: block;
}
.app:hover, .why:hover { border-color: var(--cyan); }
.app h3, .why h3, .info h3 { font-size: 18px; }
.app p, .why p, .info p { color: var(--muted); margin: 0; font-size: 15px; }
.why-grid, .info-grid { grid-template-columns: repeat(3, 1fr); }

.sizes { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 16px; }
.size {
  background: #e7f3fc;
  color: var(--navy);
  border-radius: 999px;
  padding: 6px 12px;
  font-weight: 600;
  font-size: 14px;
}

.layout { display: grid; grid-template-columns: 1.4fr .8fr; gap: 28px; align-items: start; }
.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
}
.page-hero { padding: 36px 0 10px; }
.page-hero h1 { font-size: clamp(30px, 4vw, 44px); color: var(--navy); max-width: 20ch; }
.crumbs { font-size: 14px; color: var(--muted); margin-bottom: 8px; }
.crumbs a { color: var(--muted); text-decoration: none; }

.faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 16px;
  margin-bottom: 10px;
}
.faq summary { cursor: pointer; font-weight: 700; color: var(--navy); }
.faq details p { margin: 8px 0 4px; }

.quote-band {
  background: linear-gradient(160deg, #06284a, #0b6ec4);
  color: #fff;
  padding: 56px 0;
}
.quote-band h2 { color: #fff; }
.quote-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 28px; align-items: start; }
.quote-band p, .quote-band li { color: #e5f2fb; }
.quote-band .panel,
.quote-band .panel p,
.quote-band .panel label { color: var(--ink); }
.quote-band .panel .note { color: var(--muted); }
form.inquiry { display: grid; gap: 10px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
label { display: grid; gap: 4px; font-size: 14px; font-weight: 600; }
label.full { grid-column: 1 / -1; }
input, select, textarea {
  width: 100%;
  border: 1px solid #c5d4e2;
  border-radius: 10px;
  padding: 10px 12px;
  background: #fff;
}
textarea { min-height: 120px; resize: vertical; }
.form-thanks {
  background: #e8fff1;
  color: #0d6b32;
  border-radius: 10px;
  padding: 12px 14px;
  font-weight: 800;
  letter-spacing: .02em;
}
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; }
.side-card a { display: inline-block; margin-top: 8px; }

.prose h2 { margin-top: 1.4em; font-size: 28px; color: var(--navy); }
.prose h3 { margin-top: 1.1em; font-size: 20px; color: var(--blue-d); }
.prose img { border-radius: 12px; margin: 12px 0; }
.blog-list { display: grid; gap: 16px; }
.blog-card { display: grid; grid-template-columns: 240px 1fr; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.blog-card img { width: 100%; height: 100%; object-fit: cover; min-height: 150px; }
.blog-copy { padding: 14px 14px 14px 0; }
.blog-meta { color: var(--muted); font-size: 14px; display: flex; gap: 12px; }
.post-video video { width: 100%; border-radius: 12px; }

footer.site-footer { background: #07131f; color: #c5d4e2; padding: 42px 0 18px; }
.foot-grid { display: grid; grid-template-columns: 1.3fr .8fr .8fr .9fr; gap: 22px; }
.footer-logo {
  background: #fff;
  display: block;
  width: max-content;
  max-width: 100%;
  border-radius: 10px;
  padding: 6px 8px 2px;
  margin: 0 0 14px;
}
.footer-logo .logo-frame { width: 230px; height: 58px; overflow: hidden; }
.footer-logo .logo-frame img { width: 252px; max-width: none; left: -11px; top: -20px; }
.site-footer a { color: #e7f2fb; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer h3 { color: #fff; font-size: 16px; letter-spacing: .04em; text-transform: uppercase; }
.site-footer ul { list-style: none; padding: 0; }
.site-footer li { margin: 6px 0; }
.lang-links { display: flex; flex-wrap: wrap; gap: 8px 12px; }
.legal { border-top: 1px solid rgba(255,255,255,.12); margin-top: 22px; padding-top: 14px; font-size: 13.5px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

.wa {
  position: fixed;
  z-index: 70;
  inset-inline-end: 18px;
  bottom: 18px;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: var(--wa);
  display: grid;
  place-items: center;
  box-shadow: 0 10px 24px rgba(18, 140, 126, .35);
  text-decoration: none;
}
.wa svg { width: 34px; height: 34px; fill: #fff; }
.wa::before, .wa::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--wa);
  animation: pulse 1.8s ease-out infinite;
}
.wa::after { animation-delay: .6s; }
.wa-tip {
  position: absolute;
  inset-inline-end: 72px;
  background: #07331f;
  color: #fff;
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 13px;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(4px);
  pointer-events: none;
  transition: .2s ease;
}
.wa:hover .wa-tip, .wa:focus .wa-tip { opacity: 1; transform: none; }
@keyframes pulse {
  0% { transform: scale(1); opacity: .7; }
  100% { transform: scale(1.55); opacity: 0; }
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(4, 12, 20, .88);
  z-index: 80;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: min(1100px, 100%); max-height: 88vh; border-radius: 8px; }
.lightbox button {
  position: absolute;
  top: 16px;
  inset-inline-end: 16px;
  background: #fff;
  border: 0;
  border-radius: 999px;
  width: 40px;
  height: 40px;
  cursor: pointer;
  font-size: 22px;
}

@media (max-width: 1100px) {
  .mainnav a, .drop-link { padding: 11px 12px; }
  .menu-btn { display: grid; place-items: center; }
  .nav-inner { min-height: 0; }
  .mainnav {
    display: none;
    position: absolute;
    inset-inline: 0;
    top: 100%;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 8px 12px 16px;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    max-height: calc(100vh - 120px);
    overflow: auto;
  }
  .site-header.nav-open .mainnav { display: flex; }
  .drop-menu { position: static; display: none; box-shadow: none; border: 0; padding-inline-start: 10px; min-width: 0; }
  .drop.open .drop-menu { display: block; }
  .drop:hover .drop-menu { display: none; }
  .drop.open:hover .drop-menu { display: block; }
  .nav-cta { margin: 8px 10px; text-align: center; }
  .hero-grid, .layout, .quote-grid, .blog-card { grid-template-columns: 1fr; }
  .blog-copy { padding: 0 14px 14px; }
  .stat-grid, .app-grid { grid-template-columns: 1fr 1fr; }
  .gallery, .videos, .why-grid, .info-grid, .foot-grid { grid-template-columns: 1fr 1fr; }
  .cards { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .logo-frame { width: 210px; height: 54px; }
  .logo-frame img { width: 230px; left: -10px; top: -18px; }
  .stat-grid, .app-grid, .gallery, .videos, .why-grid, .info-grid, .foot-grid, .fields { grid-template-columns: 1fr; }
  .hero { padding-top: 32px; }
  .util-links span.export { display: none; }
  .legal { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  .wa::before, .wa::after { animation: none; }
  html { scroll-behavior: auto; }
}
