:root {
  --navy: #061433;
  --navy-2: #0b1d46;
  --ink: #101828;
  --ink-soft: #475467;
  --paper: #f4f6fb;
  --paper-2: #e8edf6;
  --card: #ffffff;
  --line: rgba(16, 24, 40, 0.08);
  --magenta: #ec008c;
  --magenta-dark: #c40074;
  --cyan: #00b4e5;
  --yellow: #ffe14a;
  --gold: #c9a227;
  --whatsapp: #1ebe57;
  --shadow: 0 18px 50px rgba(6, 20, 51, 0.1);
  --shadow-lg: 0 30px 80px rgba(6, 20, 51, 0.18);
  --radius: 24px;
  --max: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Cairo", "IBM Plex Sans Arabic", sans-serif;
  line-height: 1.75;
  min-height: 100vh;
  overflow-x: hidden;
}

a { color: var(--cyan); }
img { max-width: 100%; }
button, input, label { font-family: inherit; }

.wrap {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
#services, .section, .process-section, .legal {
  scroll-margin-top: 84px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(6, 20, 51, 0.92);
  backdrop-filter: blur(18px) saturate(140%);
}
.site-header::after {
  content: "";
  display: block;
  height: 3px;
  background: linear-gradient(90deg, var(--magenta) 0 34%, var(--cyan) 34% 67%, var(--yellow) 67%);
}
.cmyk-stripes {
  display: inline-flex;
  align-items: flex-end;
  gap: 3px;
  height: 14px;
}
.cmyk-stripes i {
  display: block;
  width: 5px;
  border-radius: 99px;
  transform-origin: bottom center;
}
.cmyk-stripes i:nth-child(1) { height: 14px; background: var(--magenta); transform: rotate(-18deg); }
.cmyk-stripes i:nth-child(2) { height: 12px; background: var(--cyan); transform: rotate(-10deg); }
.cmyk-stripes i:nth-child(3) { height: 10px; background: var(--yellow); transform: rotate(-4deg); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  position: relative;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  min-width: 0;
}
.brand-logo {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  object-fit: cover;
  display: block;
  flex-shrink: 0;
  background: var(--navy);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1), 0 8px 20px rgba(0, 0, 0, 0.22);
}
.brand-text { color: #eef3fb; }
.brand-text strong { display: block; font-size: 1.12rem; line-height: 1.2; }
.brand-text small { color: rgba(238, 243, 251, 0.62); font-size: 0.78rem; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}
nav a {
  text-decoration: none;
  color: rgba(238, 243, 251, 0.78);
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 600;
  transition: background 0.2s ease, color 0.2s ease;
}
nav a:hover, nav a.active { color: #fff; background: rgba(255, 255, 255, 0.1); }
.btn-nav {
  padding: 9px 16px;
  font-size: 0.9rem;
  white-space: nowrap;
}
.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block;
  width: 18px;
  height: 2px;
  background: #eef3fb;
  border-radius: 999px;
  content: "";
  position: relative;
}
.menu-toggle span::before { top: -6px; position: absolute; }
.menu-toggle span::after { top: 6px; position: absolute; }
.nav-toggle { position: absolute; opacity: 0; pointer-events: none; }

.hero-section {
  position: relative;
  background:
    radial-gradient(900px 420px at 85% 10%, rgba(236, 0, 140, 0.28), transparent 55%),
    radial-gradient(700px 380px at 10% 90%, rgba(0, 180, 229, 0.22), transparent 50%),
    linear-gradient(180deg, var(--navy) 0%, #08183c 100%);
  color: #f7f9ff;
  overflow: hidden;
}
.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(circle at 50% 40%, black, transparent 78%);
  pointer-events: none;
}
.hero {
  padding: 72px 0 80px;
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 48px;
  align-items: center;
}
.kicker {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 0.82rem;
  color: #fff;
  font-weight: 700;
  backdrop-filter: blur(10px);
}
.kicker a { color: #9be7ff; text-decoration: none; }
h1 {
  font-size: clamp(2.2rem, 5.4vw, 4.25rem);
  line-height: 1.12;
  margin: 18px 0 14px;
  letter-spacing: -0.04em;
  font-weight: 800;
}
.hero h1 { color: #fff; }
.lede { font-size: 1.12rem; color: var(--ink-soft); max-width: 52ch; }
.hero .lede { color: rgba(247, 249, 255, 0.78); font-size: 1.16rem; }
.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.82rem;
  font-weight: 600;
}
.chip i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: block;
}
.chip i.c { background: var(--cyan); }
.chip i.m { background: var(--magenta); }
.chip i.y { background: var(--yellow); }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  border-radius: 999px;
  padding: 13px 22px;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
  font: inherit;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { box-shadow: 0 12px 30px rgba(6, 20, 51, 0.18); }
.hero .btn-primary,
.cta-band .btn-primary { background: #fff; color: var(--navy); }
.hero .btn-primary:hover,
.cta-band .btn-primary:hover { box-shadow: 0 12px 30px rgba(255, 255, 255, 0.16); }
.btn-ghost { background: transparent; color: var(--ink); border-color: rgba(16, 24, 40, 0.18); }
.hero .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, 0.22); }
.hero .btn-ghost:hover { background: rgba(255, 255, 255, 0.08); }
.btn-stamp { background: var(--magenta); color: #fff; box-shadow: 0 12px 28px rgba(236, 0, 140, 0.28); }
.btn-stamp:hover { background: var(--magenta-dark); }
.btn-whatsapp { background: var(--whatsapp); color: #fff; box-shadow: 0 12px 28px rgba(30, 190, 87, 0.25); }
.btn-whatsapp:hover { background: #18a84c; }

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 440px;
}
.logo-stage {
  position: relative;
  width: min(100%, 420px);
  aspect-ratio: 1;
}
.cmyk-shift {
  position: absolute;
  inset: 18px;
  border-radius: 36px;
  z-index: 0;
}
.cmyk-shift.m { background: var(--magenta); transform: translate(16px, -12px); }
.cmyk-shift.c { background: var(--cyan); transform: translate(-18px, 10px); }
.cmyk-shift.y { background: var(--yellow); transform: translate(8px, 18px); opacity: 0.88; }
.logo-mark {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  border-radius: 36px;
  overflow: hidden;
  background: var(--navy);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.35);
}
.logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.logo-crop {
  position: absolute;
  width: 16px;
  height: 16px;
  z-index: 3;
  pointer-events: none;
  border-color: rgba(255, 255, 255, 0.55);
}
.logo-crop.tl { top: 6px; left: 6px; border-top: 1.5px solid; border-left: 1.5px solid; }
.logo-crop.tr { top: 6px; right: 6px; border-top: 1.5px solid; border-right: 1.5px solid; }
.logo-crop.bl { bottom: 6px; left: 6px; border-bottom: 1.5px solid; border-left: 1.5px solid; }
.logo-crop.br { bottom: 6px; right: 6px; border-bottom: 1.5px solid; border-right: 1.5px solid; }
.float-chip {
  position: absolute;
  z-index: 4;
  background: rgba(255, 255, 255, 0.96);
  color: var(--navy);
  border-radius: 999px;
  padding: 10px 14px;
  font-size: 0.86rem;
  font-weight: 700;
  box-shadow: var(--shadow);
  animation: floaty 5.5s ease-in-out infinite;
}
.chip-1 { top: 18px; inset-inline-start: -8px; }
.chip-2 { bottom: 42px; inset-inline-end: -10px; animation-delay: -1.8s; }
.chip-3 { top: 58%; inset-inline-start: -22px; animation-delay: -3.2s; }
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.section {
  padding: 72px 0 12px;
}
.section-head {
  max-width: 640px;
  margin-bottom: 8px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--magenta);
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  margin: 0 0 10px;
}
.section-title {
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  margin: 0 0 8px;
  letter-spacing: -0.03em;
  font-weight: 800;
}
.meta { color: var(--ink-soft); font-size: 1rem; }

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 28px;
}
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(236, 0, 140, 0.18);
}
.card h3 { margin: 0 0 8px; font-size: 1.12rem; }
.card p { margin: 0; color: var(--ink-soft); }
.service-icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  color: var(--navy);
  background: linear-gradient(180deg, #fff, var(--paper-2));
  border: 1px solid var(--line);
}
.service-icon svg { width: 22px; height: 22px; }
.service-card:nth-child(3n+1) .service-icon { color: var(--magenta); background: rgba(236, 0, 140, 0.1); border-color: rgba(236, 0, 140, 0.12); }
.service-card:nth-child(3n+2) .service-icon { color: #008fb6; background: rgba(0, 180, 229, 0.12); border-color: rgba(0, 180, 229, 0.16); }
.service-card:nth-child(3n) .service-icon { color: #8a6d00; background: rgba(255, 225, 74, 0.28); border-color: rgba(201, 162, 39, 0.2); }

.process-section {
  padding: 80px 0;
  margin-top: 56px;
  background:
    radial-gradient(600px 240px at 80% 0%, rgba(0, 180, 229, 0.08), transparent 60%),
    linear-gradient(180deg, #eef2f9, #f7f9fc);
}
.steps { counter-reset: step; }
.step-card {
  position: relative;
  padding: 26px 24px 24px;
}
.step-card::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 8px;
  border-radius: 14px;
  background: var(--navy);
  color: #fff;
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: 0.04em;
}
.step-card:nth-child(1)::before { background: var(--magenta); }
.step-card:nth-child(2)::before { background: var(--cyan); color: var(--navy); }
.step-card:nth-child(3)::before { background: var(--navy); }

.cta-section { padding: 20px 0 8px; }
.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 32px;
  border-radius: 32px;
  background:
    radial-gradient(500px 180px at 90% 20%, rgba(236, 0, 140, 0.35), transparent 60%),
    linear-gradient(135deg, var(--navy) 0%, #10275f 100%);
  color: #fff;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0;
  bottom: 0;
  width: 8px;
  background: linear-gradient(180deg, var(--magenta), var(--cyan), var(--yellow));
}
.cta-band h2 {
  margin: 0 0 8px;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  letter-spacing: -0.03em;
}
.cta-band p { margin: 0; color: rgba(255, 255, 255, 0.74); max-width: 48ch; }
.cta-actions { display: flex; gap: 10px; flex-wrap: wrap; flex-shrink: 0; }

.notice {
  margin-top: 22px;
  padding: 16px 18px;
  border-radius: 16px;
  background: #fff8dc;
  border: 1px solid rgba(176, 137, 62, 0.28);
  color: #5c4818;
}

.legal { padding: 48px 0 80px; }
.legal h1 { font-size: clamp(1.9rem, 4vw, 2.9rem); letter-spacing: -0.03em; }
.legal h2 { margin-top: 32px; font-size: 1.25rem; }
.legal p, .legal li { color: var(--ink-soft); }
.legal ul { padding-inline-start: 1.3em; }
.updated { color: var(--magenta); font-weight: 700; font-size: 0.9rem; }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 24px; }
.contact-grid .card { display: flex; flex-direction: column; gap: 8px; min-height: 180px; }
.contact-grid .btn { margin-top: auto; align-self: flex-start; }
.contact-grid h2 { margin: 0; font-size: 1.15rem; }

.site-footer {
  margin-top: 64px;
  background: var(--navy);
  color: rgba(247, 249, 255, 0.78);
  position: relative;
  z-index: 1;
}
.footer-inner { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 32px; padding: 48px 0; }
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  margin-bottom: 12px;
}
.footer-brand img {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  object-fit: cover;
  display: block;
}
.site-footer strong { color: #fff; font-size: 1.15rem; }
.site-footer .meta { color: rgba(247, 249, 255, 0.64); }
.site-footer a { color: #9be7ff; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { color: rgba(247, 249, 255, 0.72); text-decoration: none; font-weight: 600; }
.footer-links a:hover { color: #fff; }
.legal-strip {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 16px 0 28px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  color: rgba(247, 249, 255, 0.5);
  font-size: 0.88rem;
}

.whatsapp-fab {
  position: fixed;
  bottom: 22px;
  inset-inline-end: 22px;
  z-index: 30;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--whatsapp);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 14px 32px rgba(30, 190, 87, 0.38);
  text-decoration: none;
  transition: transform 0.18s ease;
}
.whatsapp-fab:hover { transform: scale(1.06); color: #fff; }
.whatsapp-fab svg { width: 28px; height: 28px; }

@media (max-width: 860px) {
  .hero, .grid, .contact-grid, .footer-inner, .cta-band { grid-template-columns: 1fr; }
  .cta-band { flex-direction: column; align-items: flex-start; }
  .hero { padding: 36px 0 44px; gap: 28px; }
  .hero-visual { min-height: 0; }
  .logo-stage { width: min(72vw, 280px); margin-inline: auto; }
  .float-chip { display: none; }
  .cmyk-shift.m { transform: translate(10px, -8px); }
  .cmyk-shift.c { transform: translate(-10px, 8px); }
  .cmyk-shift.y { transform: translate(6px, 12px); }
  .menu-toggle { display: inline-flex; }
  .btn-nav { display: none; }
  nav {
    display: none;
    position: absolute;
    top: 70px;
    inset-inline: 0;
    background: #102048;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 10px;
    flex-direction: column;
    align-items: stretch;
    box-shadow: var(--shadow-lg);
  }
  .nav-toggle:checked ~ .header-actions nav { display: flex; }
  nav a { color: #eef3fb; }
  nav a:hover, nav a.active { color: #fff; background: rgba(255, 255, 255, 0.1); }
}

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