:root {
  --blue: #1f8fe5;
  --blue-600: #1677c9;
  --blue-50: #eaf5fe;
  --navy: #0b2545;
  --navy-800: #102f57;
  --ink: #142235;
  --muted: #5b6b80;
  --line: #e3e9f1;
  --bg: #ffffff;
  --bg-soft: #f5f8fc;
  --radius: 18px;
  --shadow: 0 10px 30px -12px rgba(11, 37, 69, .18);
  --shadow-lg: 0 30px 60px -20px rgba(11, 37, 69, .35);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  font-family: 'IBM Plex Sans Arabic', system-ui, -apple-system, 'Segoe UI', Tahoma, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { line-height: 1.3; margin: 0; }
p { margin: 0; }
[hidden] { display: none !important; }

.container { width: min(1200px, 100% - 32px); margin-inline: auto; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: inherit; font-weight: 600; font-size: 15px;
  padding: 12px 24px; border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; transition: transform .2s, background .2s, color .2s, border-color .2s, box-shadow .2s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 8px 20px -8px rgba(31, 143, 229, .7); }
.btn-primary:hover { background: var(--blue-600); }
.btn-ghost { border-color: rgba(255,255,255,.35); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.1); border-color: #fff; }
.btn-outline { border-color: var(--line); color: var(--navy); background: #fff; }
.btn-outline:hover { border-color: var(--blue); color: var(--blue); }
.btn-sm { padding: 8px 18px; font-size: 14px; }
.btn-block { width: 100%; }

.eyebrow {
  display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .02em;
  color: var(--blue); background: var(--blue-50);
  padding: 4px 14px; border-radius: 999px; margin-bottom: 14px;
}

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.88);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 4px 20px -12px rgba(11,37,69,.25); }
.header-inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 48px; height: 48px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-text strong { font-size: 17px; color: var(--navy); }
.brand-text small { text-align: right; font-size: 10.5px; letter-spacing: .12em; color: var(--muted); font-weight: 500; }
.nav { display: flex; align-items: center; gap: 28px; font-weight: 500; font-size: 15px; }
.nav a:not(.btn) { color: var(--muted); transition: color .2s; }
.nav a:not(.btn):hover { color: var(--navy); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--navy); margin: 5px 0; border-radius: 2px; transition: transform .25s, opacity .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 500px at 15% 10%, rgba(31,143,229,.35), transparent 60%),
    radial-gradient(700px 400px at 90% 100%, rgba(31,143,229,.18), transparent 60%),
    linear-gradient(160deg, var(--navy) 0%, #081a33 100%);
  color: #fff;
  padding: 72px 0 96px;
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,.07) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: linear-gradient(to bottom, #000 40%, transparent);
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero .eyebrow { background: rgba(31,143,229,.18); color: #8cc8f7; }
.hero h1 { font-size: clamp(34px, 5vw, 56px); font-weight: 700; letter-spacing: -.01em; }
.hero h1 .accent { color: #6fbaf5; }
.lead { margin-top: 20px; font-size: 18px; color: rgba(255,255,255,.78); max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-points { list-style: none; padding: 0; margin: 36px 0 0; display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: 14.5px; color: rgba(255,255,255,.8); }
.hero-points li { display: flex; align-items: center; gap: 8px; }
.hero-points li::before {
  content: ""; width: 18px; height: 18px; border-radius: 50%; flex: none;
  background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center/12px no-repeat;
}

.hero-media { position: relative; min-height: 460px; }
.hero-card { margin: 0; position: absolute; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid rgba(255,255,255,.12); }
.hero-card img { width: 100%; height: 100%; object-fit: cover; }
.hero-card-main { inset: 0 0 60px 70px; }
.hero-card-small { width: 46%; aspect-ratio: 4/3; bottom: 0; left: 0; border: 5px solid var(--navy); }
.hero-badge {
  position: absolute; top: 24px; left: 20px;
  display: flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,.95); color: var(--navy);
  padding: 10px 16px 10px 12px; border-radius: 14px; box-shadow: var(--shadow);
}
.hero-badge strong { display: block; text-align: right; font-size: 14px; line-height: 1.2; }
.hero-badge span { font-size: 12px; color: var(--muted); }

/* Category strip */
.cats { margin-top: -48px; position: relative; z-index: 2; }
.cats-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px;
  background: #fff; border-radius: var(--radius); padding: 14px; box-shadow: var(--shadow-lg);
}
.cat {
  font: inherit; display: flex; align-items: center; gap: 12px;
  padding: 14px 16px; border-radius: 12px; border: 0; background: transparent;
  color: var(--navy); font-weight: 600; font-size: 14.5px; cursor: pointer; text-align: start;
  transition: background .2s;
}
.cat:hover { background: var(--blue-50); }
.cat svg {
  width: 42px; height: 42px; padding: 9px; flex: none; border-radius: 10px;
  background: var(--blue-50); stroke: var(--blue); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
}

/* Sections */
.section { padding: 104px 0; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 48px; }
.section-head h2, .about-copy h2, .contact-info h2 { font-size: clamp(28px, 3.4vw, 40px); color: var(--navy); }
.section-head p { margin-top: 14px; color: var(--muted); font-size: 16.5px; }
.section-head.light h2 { color: #fff; }

/* About */
.about-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; }
.about-media { position: relative; }
.about-media img { border-radius: 24px; aspect-ratio: 4/3.4; object-fit: cover; width: 100%; box-shadow: var(--shadow); }
.about-stamp {
  position: absolute; bottom: -28px; right: -20px;
  background: var(--navy); color: #fff; border-radius: 18px; padding: 18px 24px;
  box-shadow: var(--shadow-lg); display: flex; flex-direction: column; line-height: 1.4;
}
.about-stamp span { font-size: 13px; color: #8cc8f7; }
.about-stamp strong { font-size: 26px; letter-spacing: .02em; direction: ltr; text-align: right; }
.about-stamp small { font-size: 13px; color: rgba(255,255,255,.7); }
.about-copy p { color: var(--muted); font-size: 16.5px; margin-top: 16px; }
.about-copy p:first-of-type { color: var(--ink); font-size: 18px; margin-top: 20px; }

/* Products */
.products { background: var(--bg-soft); }
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 40px; }
.filter {
  font: inherit; font-size: 14.5px; font-weight: 500;
  padding: 9px 20px; border-radius: 999px; cursor: pointer;
  background: #fff; color: var(--muted); border: 1px solid var(--line);
  transition: all .2s;
}
.filter:hover { color: var(--navy); border-color: #c9d6e6; }
.filter.is-active { background: var(--navy); color: #fff; border-color: var(--navy); }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.card {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); display: flex; flex-direction: column;
  transition: transform .25s, box-shadow .25s;
  animation: fade .35s ease both;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } }
.card-media { position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--bg-soft); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card:hover .card-media img { transform: scale(1.05); }
.card-cat {
  position: absolute; top: 12px; right: 12px;
  font-size: 12px; font-weight: 600; color: var(--navy);
  background: rgba(255,255,255,.92); padding: 3px 12px; border-radius: 999px;
}
.card-body { padding: 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card-body h3 { font-size: 18px; color: var(--navy); }
.card-body p { color: var(--muted); font-size: 14.5px; line-height: 1.7; }
.tags { list-style: none; padding: 0; margin: 2px 0 8px; display: flex; flex-wrap: wrap; gap: 6px; }
.tags li { font-size: 12.5px; color: var(--blue-600); background: var(--blue-50); padding: 2px 10px; border-radius: 6px; }
.card-body .btn { margin-top: auto; }

/* Activities */
.activities { background: linear-gradient(160deg, var(--navy), #081a33); color: #fff; }
.activities .eyebrow { background: rgba(31,143,229,.18); color: #8cc8f7; }
.act-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.act {
  border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius);
  padding: 28px 22px; background: rgba(255,255,255,.03);
  transition: background .25s, border-color .25s;
}
.act:hover { background: rgba(31,143,229,.12); border-color: rgba(31,143,229,.5); }
.act-num { font-size: 32px; font-weight: 700; color: #6fbaf5; line-height: 1; }
.act h3 { font-size: 18px; margin-top: 18px; }
.act p { margin-top: 8px; color: rgba(255,255,255,.7); font-size: 14.5px; }

/* Why */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.why-item { padding: 28px; border-radius: var(--radius); background: var(--bg-soft); border: 1px solid var(--line); }
.why-icon { width: 52px; height: 52px; border-radius: 14px; background: var(--blue); display: grid; place-items: center; }
.why-icon svg { width: 26px; height: 26px; stroke: #fff; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.why-item h3 { font-size: 18px; color: var(--navy); margin-top: 20px; }
.why-item p { margin-top: 8px; color: var(--muted); font-size: 15px; }

/* Contact */
.contact { background: var(--bg-soft); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.contact-info > p { color: var(--muted); font-size: 16.5px; margin-top: 14px; }
.contact-list { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 16px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; }
.ci { width: 44px; height: 44px; flex: none; border-radius: 12px; background: var(--blue-50); display: grid; place-items: center; }
.ci svg { width: 22px; height: 22px; stroke: var(--blue); fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.contact-list small { display: block; color: var(--muted); font-size: 13px; }
.contact-list a, .contact-list address { font-style: normal; font-weight: 600; color: var(--navy); font-size: 16px; }
.contact-list a:hover { color: var(--blue); }

.contact-form { background: #fff; border-radius: 22px; padding: 32px; box-shadow: var(--shadow); border: 1px solid var(--line); display: grid; gap: 16px; }
.contact-form h3 { font-size: 22px; color: var(--navy); margin-bottom: 4px; }
.contact-form label { display: grid; gap: 6px; font-size: 14px; font-weight: 500; color: var(--ink); }
.contact-form input, .contact-form select, .contact-form textarea {
  font: inherit; font-size: 15px; color: var(--ink);
  padding: 11px 14px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg-soft);
  transition: border-color .2s, box-shadow .2s, background .2s; width: 100%;
}
.contact-form textarea { resize: vertical; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(31,143,229,.14);
}
.form-note { font-size: 12.5px; color: var(--muted); text-align: center; }

/* Footer */
.site-footer { background: var(--navy); color: rgba(255,255,255,.75); padding: 56px 0 24px; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; padding-bottom: 32px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-brand strong { display: block; color: #fff; font-size: 16px; }
.footer-brand span { font-size: 13.5px; }
.footer-nav { display: flex; gap: 24px; flex-wrap: wrap; font-size: 14.5px; }
.footer-nav a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 22px; font-size: 13.5px; }
.footer-bottom a:hover { color: #fff; }

/* Focus */
:focus-visible { outline: 3px solid rgba(31,143,229,.55); outline-offset: 2px; }

/* Responsive */
@media (max-width: 1080px) {
  .act-grid { grid-template-columns: repeat(3, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .cats-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 880px) {
  :root { --header-h: 66px; }
  .nav-toggle { display: block; }
  .nav {
    position: absolute; top: var(--header-h); inset-inline: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    padding: 8px 16px 16px;
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a:not(.btn) { padding: 12px 4px; border-bottom: 1px solid var(--line); color: var(--ink); }
  .nav .btn { margin-top: 12px; }
  .brand img { width: 42px; height: 42px; }

  .hero { padding: 48px 0 88px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-media { min-height: 340px; }
  .hero-card-main { inset: 0 0 50px 40px; }

  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 56px; }
  .about-stamp { right: 12px; }
  .section { padding: 80px 0; }
}

@media (max-width: 600px) {
  .brand-text small { display: none; }
  .brand-text strong { font-size: 15.5px; }
  .lead { font-size: 16.5px; }
  .hero-actions .btn { flex: 1; }
  .hero-media { min-height: 280px; }
  .hero-badge { top: 12px; left: 8px; padding: 8px 12px 8px 10px; }
  .hero-badge img { width: 32px; height: 32px; }
  .cats-grid { grid-template-columns: repeat(2, 1fr); gap: 6px; padding: 10px; }
  .cats-grid .cat:last-child { grid-column: 1 / -1; }
  .cat { padding: 10px; font-size: 13.5px; gap: 10px; }
  .cat svg { width: 36px; height: 36px; padding: 7px; }
  .filters { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; margin-inline: -16px; padding: 0 16px 6px; scrollbar-width: none; }
  .filters::-webkit-scrollbar { display: none; }
  .filter { flex: none; }
  .act-grid, .why-grid { grid-template-columns: 1fr; }
  .contact-form { padding: 22px; }
  .footer-inner, .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
