:root{
    --navy-900:#F8F9FB;
    --navy-800:#EFF2F6;
    --navy-700:#E4E9F0;
    --navy-600:#D7DFE9;
    --orange-500:#dd7c31;
    --orange-300:#e89652;
    --orange-100:#fbead9;
    --blue-500:#2f6ba3;
    --blue-300:#4f89bf;
    --ink-100:#16202e;
    --ink-300:#3d4a5c;
    --ink-500:#6b7a90;
    --line:rgba(16,32,46,0.09);
    --shadow:0 20px 50px rgba(16,32,46,0.10);
    --deep:#12212f;
  }

  *{margin:0;padding:0;box-sizing:border-box;}
  html{scroll-behavior:smooth;}
  body{
    background:var(--navy-900);
    color:var(--ink-100);
    font-family:'IBM Plex Sans Arabic', sans-serif;
    line-height:1.7;
    overflow-x:hidden;
  }
  ::selection{background:var(--orange-500);color:#fff;}

  a{color:inherit;text-decoration:none;}
  ul{list-style:none;}
  img{max-width:100%;display:block;}
  button{font-family:inherit;cursor:pointer;border:none;background:none;color:inherit;}

  .display{font-family:'Lalezar', sans-serif; font-weight:400; letter-spacing:0.5px;}
  .tagline{
    font-family:'IBM Plex Sans Arabic', sans-serif;
    font-weight:700;
    font-size:1.05rem;
    letter-spacing:0.02em;
    margin-bottom:12px;
    background:linear-gradient(100deg, var(--orange-500) 0%, var(--orange-300) 35%, var(--blue-300) 70%, var(--blue-500) 100%);
    -webkit-background-clip:text; background-clip:text; color:transparent;
    display:inline-block;
  }
  .eyebrow{
    font-family:'Tajawal', sans-serif;
    font-size:0.78rem;
    letter-spacing:0.12em;
    color:var(--orange-300);
    font-weight:500;
    display:flex;align-items:center;gap:10px;
  }
  .eyebrow::before{
    content:"";
    width:22px;height:2px;
    background:linear-gradient(90deg, var(--orange-500), var(--blue-500));
    display:inline-block;
    border-radius:2px;
  }

  .wrap{max-width:1180px;margin:0 auto;padding:0 28px;}
  section{position:relative;}

  /* ---------- Hexagon signature (from brand mark) ---------- */
  .hex-frame{
    --hx-b: 2px;
    position:relative;
    clip-path:polygon(26% 0%, 74% 0%, 100% 50%, 74% 100%, 26% 100%, 0% 50%);
    background:linear-gradient(145deg, var(--navy-700), var(--navy-800));
  }
  .hex-frame::before{
    content:"";
    position:absolute; inset:0;
    clip-path:polygon(26% 0%, 74% 0%, 100% 50%, 74% 100%, 26% 100%, 0% 50%);
    padding:var(--hx-b);
    background:linear-gradient(135deg, var(--orange-500), var(--blue-500));
    -webkit-mask:linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events:none;
  }

  /* ---------- Header ---------- */
  header{
    position:fixed; inset-inline:0; top:0; z-index:100;
    padding:18px 0;
    backdrop-filter:blur(14px);
    background:rgba(248,249,251,0.78);
    border-bottom:1px solid transparent;
    transition:border-color .3s ease, padding .3s ease;
  }
  header.scrolled{border-bottom-color:var(--line); padding:12px 0;}
  header .wrap{display:flex; align-items:center; justify-content:space-between; gap:24px;}
  .brand{display:flex; align-items:center; gap:12px;}
  .brand img{height:42px; width:auto;}
  .brand-name{display:flex; flex-direction:column; line-height:1.3;}
  .brand-name .brand-ar{font-family:'Tajawal',sans-serif; font-weight:700; font-size:1rem; color:var(--ink-100); order:1;}
  .brand-name .brand-en{font-family:'Tajawal',sans-serif; font-weight:400; font-size:0.72rem; color:var(--ink-500); order:2;}
  html[dir="ltr"] .brand-name .brand-ar{font-weight:400; font-size:0.72rem; color:var(--ink-500); order:2;}
  html[dir="ltr"] .brand-name .brand-en{font-weight:700; font-size:1rem; color:var(--ink-100); order:1;}
  .brand-name span{display:block;}

  nav ul{display:flex; gap:34px;}
  nav a{
    font-size:0.92rem; color:var(--ink-300); position:relative; padding:4px 0;
    transition:color .25s ease;
  }
  nav a::after{
    content:""; position:absolute; right:0; bottom:-2px; width:0; height:2px;
    background:linear-gradient(90deg, var(--orange-500), var(--blue-500));
    transition:width .25s ease;
  }
  nav a:hover{color:var(--ink-100);}
  nav a:hover::after{width:100%;}

  .btn{
    display:inline-flex; align-items:center; gap:10px;
    padding:13px 28px; border-radius:999px;
    font-size:0.92rem; font-weight:600;
    transition:transform .25s ease, box-shadow .25s ease, background .25s ease;
    white-space:nowrap;
  }
  .btn-primary{
    background:linear-gradient(120deg, var(--orange-500), var(--orange-300));
    color:#fff;
  }
  .btn-primary:hover{transform:translateY(-2px); box-shadow:0 12px 26px rgba(232,134,60,0.28);}
  .btn-ghost{
    border:1px solid var(--line); color:var(--ink-100);
    background:rgba(16,32,46,0.02);
  }
  .btn-ghost:hover{border-color:var(--blue-300); background:rgba(111,168,220,0.08);}
  .header-actions{display:flex; align-items:center; gap:8px;}
  .lang-toggle-btn{padding:9px 12px !important; gap:6px !important;}
  .lang-toggle-btn svg{width:14px; height:14px;}
  .lang-toggle-btn .lang-toggle-label{font-size:0.78rem; font-weight:700;}
  .menu-toggle{display:none;}

  /* ---------- Hero ---------- */
  .hero{
    min-height:100vh;
    display:flex; align-items:center;
    padding-top:120px; padding-bottom:80px;
    position:relative;
    background:
      radial-gradient(ellipse 900px 500px at 78% 8%, rgba(62,124,184,0.16), transparent 60%),
      radial-gradient(ellipse 700px 500px at 15% 10%, rgba(232,134,60,0.14), transparent 55%),
      var(--navy-900);
  }
  .hero .wrap{display:grid; grid-template-columns:1.15fr 0.85fr; gap:56px; align-items:center;}
  .hero h1{
    font-size:clamp(2.6rem, 5vw, 4.3rem);
    line-height:1.15;
    font-weight:700;
    margin-bottom:22px;
  }
  .hero h1 .accent{
    font-family:'Lalezar', sans-serif; font-weight:400;
    background:linear-gradient(100deg, var(--orange-300), var(--blue-300));
    -webkit-background-clip:text; background-clip:text; color:transparent;
    display:inline-block;
  }
  .hero p.lead{
    font-size:1.12rem; color:var(--ink-300); max-width:520px; margin-bottom:36px;
  }
  .hero .cta-row{display:flex; gap:16px; flex-wrap:wrap; margin-bottom:52px;}

  .hero-stats{display:flex; gap:38px;}
  .hero-stats div strong{
    display:block; font-family:'Lalezar',sans-serif; font-size:1.7rem; color:var(--ink-100);
  }
  .hero-stats div span{font-size:0.82rem; color:var(--ink-500);}

  /* hero visual: brand mark + orbiting hexagons */
  .hero-visual{
    position:relative; height:420px; display:flex; align-items:center; justify-content:center;
  }
  .hero-visual .glow{
    position:absolute; width:340px; height:340px; border-radius:50%;
    background:radial-gradient(circle, rgba(232,134,60,0.20), rgba(62,124,184,0.14) 55%, transparent 72%);
    filter:blur(6px);
  }
  .hero-visual img.mark{
    position:relative; width:230px; z-index:2;
    filter:drop-shadow(0 20px 40px rgba(16,32,46,0.16));
    animation:float 6s ease-in-out infinite;
  }
  .orbit-hex{
    position:absolute; width:64px; height:64px;
    clip-path:polygon(26% 0%, 74% 0%, 100% 50%, 74% 100%, 26% 100%, 0% 50%);
  }
  .orbit-hex.o1{top:8%; right:6%; background:linear-gradient(135deg, var(--orange-500), transparent); opacity:.55; animation:float 7s ease-in-out infinite;}
  .orbit-hex.o2{bottom:10%; left:2%; width:44px; height:44px; background:linear-gradient(135deg, var(--blue-500), transparent); opacity:.5; animation:float 5.5s ease-in-out infinite reverse;}
  .orbit-hex.o3{bottom:22%; right:14%; width:30px; height:30px; background:linear-gradient(135deg, var(--blue-300), transparent); opacity:.4; animation:float 4.5s ease-in-out infinite;}

  @keyframes float{
    0%,100%{transform:translateY(0px);}
    50%{transform:translateY(-16px);}
  }

  .horizon-divider{
    position:absolute; right:0; bottom:0; left:0; height:120px;
    background:linear-gradient(to top, rgba(232,134,60,0.05), transparent);
    border-top:1px solid var(--line);
  }

  /* ---------- Marquee strip ---------- */
  .strip{
    border-top:1px solid var(--line); border-bottom:1px solid var(--line);
    background:var(--navy-800);
    padding:20px 0; overflow:hidden;
  }
  .strip-track{
    display:flex; gap:56px; white-space:nowrap;
    animation:scroll-x 26s linear infinite;
    font-family:'Tajawal',sans-serif; font-size:0.95rem; color:var(--ink-500);
  }
  .strip-track span{display:flex; align-items:center; gap:10px;}
  .strip-track span::after{content:"◆"; color:var(--orange-500); font-size:0.6rem; margin-inline-start:56px;}
  @keyframes scroll-x{
    from{transform:translateX(0);}
    to{transform:translateX(-50%);}
  }

  /* ---------- Section shared ---------- */
  .section{padding:120px 0;}
  .section-head{max-width:640px; margin-bottom:64px;}
  .section-head h2{
    font-size:clamp(2rem, 3.4vw, 2.9rem);
    font-weight:700; margin-top:14px; line-height:1.25;
  }
  .section-head p{color:var(--ink-300); margin-top:18px; font-size:1.02rem;}

  .reveal{opacity:0; transform:translateY(28px); transition:opacity .7s ease, transform .7s ease;}
  .reveal.in{opacity:1; transform:translateY(0);}

  /* ---------- Services (shop-window cards) ---------- */
  .services-grid{
    display:grid; grid-template-columns:repeat(2, 1fr); gap:28px;
  }
  .service-card{
    position:relative;
    background:linear-gradient(160deg, #ffffff, var(--navy-700));
    border-radius:22px;
    padding:38px 34px;
    border:1px solid var(--line);
    box-shadow:var(--shadow);
    transition:transform .3s ease, border-color .3s ease, box-shadow .3s ease;
    overflow:hidden;
  }
  .service-card:hover{transform:translateY(-6px); border-color:rgba(232,134,60,0.35); box-shadow:0 26px 60px rgba(16,32,46,0.14);}
  .service-card .icon-hex{
    width:64px; height:64px; margin-bottom:26px;
    display:flex; align-items:center; justify-content:center;
    font-size:1.5rem;
  }
  .service-card h3{font-size:1.28rem; font-weight:700; margin-bottom:12px;}
  .service-card p{color:var(--ink-300); font-size:0.96rem;}
  .service-card .tag{
    position:absolute; top:28px; left:34px;
    font-family:'Tajawal',sans-serif; font-size:0.7rem; color:var(--ink-500);
    letter-spacing:0.08em;
  }

  /* ---------- Process ---------- */
  .process{
    display:grid; grid-template-columns:repeat(4,1fr); gap:0;
    position:relative;
  }
  .process::before{
    content:""; position:absolute; top:32px; right:12%; left:12%; height:1px;
    background:linear-gradient(90deg, transparent, var(--line) 15%, var(--line) 85%, transparent);
  }
  .process-step{padding:0 20px; position:relative;}
  .process-step .num{
    width:64px; height:64px; margin-bottom:22px; position:relative; z-index:1;
    display:flex; align-items:center; justify-content:center;
    font-family:'Lalezar',sans-serif; font-size:1.3rem; color:#fff;
    background:linear-gradient(135deg, var(--orange-300), var(--blue-300));
  }
  .process-step h4{font-size:1.08rem; font-weight:700; margin-bottom:10px;}
  .process-step p{font-size:0.9rem; color:var(--ink-500);}

  /* ---------- Why us ---------- */
  .why{
    display:grid; grid-template-columns:0.9fr 1.1fr; gap:64px; align-items:center;
  }
  .why-visual{
    position:relative; aspect-ratio:1/1; max-width:400px;
  }
  .why-visual .hex-frame{
    position:absolute; inset:0;
    display:flex; align-items:center; justify-content:center;
  }
  .why-visual .hex-frame img{width:70%; opacity:0.9;}
  .why-list{display:flex; flex-direction:column; gap:0;}
  .why-item{
    display:flex; gap:20px; padding:26px 0;
    border-bottom:1px solid var(--line);
  }
  .why-item:first-child{padding-top:0;}
  .why-item .mark{
    flex:none; width:38px; height:38px;
    clip-path:polygon(26% 0%, 74% 0%, 100% 50%, 74% 100%, 26% 100%, 0% 50%);
    background:linear-gradient(135deg, var(--orange-500), var(--blue-500));
    display:flex; align-items:center; justify-content:center;
    font-family:'Lalezar',sans-serif; color:#fff; font-size:0.85rem;
  }
  .why-item h4{font-size:1.08rem; font-weight:700; margin-bottom:6px;}
  .why-item p{font-size:0.92rem; color:var(--ink-500);}

  /* ---------- CTA band ---------- */
  .cta-band{
    background:linear-gradient(120deg, #ffffff, var(--navy-700));
    border-radius:28px; margin:0 auto; max-width:1180px;
    padding:72px 60px;
    display:flex; align-items:center; justify-content:space-between; gap:40px;
    position:relative; overflow:hidden;
    border:1px solid var(--line);
    box-shadow:var(--shadow);
  }
  .cta-band::before{
    content:""; position:absolute; width:420px; height:420px; border-radius:50%;
    background:radial-gradient(circle, rgba(232,134,60,0.18), transparent 70%);
    top:-160px; left:-120px;
  }
  .cta-band h3{font-size:clamp(1.6rem,3vw,2.2rem); font-weight:700; max-width:480px; position:relative;}
  .cta-band .btn{position:relative;}

  /* ---------- Contact ---------- */
  .contact-grid{
    display:grid; grid-template-columns:1fr 1.1fr; gap:60px;
  }
  .contact-info .item{
    display:flex; gap:16px; margin-bottom:28px; align-items:flex-start;
  }
  .contact-info .mark{
    flex:none; width:46px; height:46px;
    clip-path:polygon(26% 0%, 74% 0%, 100% 50%, 74% 100%, 26% 100%, 0% 50%);
    background:var(--navy-700); border:1px solid var(--line);
    display:flex; align-items:center; justify-content:center; font-size:1.1rem;
  }
  .contact-info h4{font-size:0.98rem; font-weight:700; margin-bottom:4px;}
  .contact-info p{font-size:0.92rem; color:var(--ink-500);}

  form{display:grid; gap:16px;}
  .form-row{display:grid; grid-template-columns:1fr 1fr; gap:16px;}
  input, textarea, select{
    width:100%; padding:15px 18px;
    background:var(--navy-800); border:1px solid var(--line);
    border-radius:12px; color:var(--ink-100); font-family:inherit; font-size:0.94rem;
    transition:border-color .25s ease;
  }
  input:focus, textarea:focus, select:focus{outline:none; border-color:var(--blue-300);}
  textarea{resize:vertical; min-height:120px;}
  ::placeholder{color:var(--ink-500);}

  /* ---------- Footer ---------- */
  footer{
    border-top:1px solid var(--line); padding:56px 0 28px;
    background:var(--navy-800);
  }
  .footer-top{
    display:grid; grid-template-columns:1.3fr 0.8fr 0.8fr 0.8fr; gap:40px;
    padding-bottom:44px; margin-bottom:32px; border-bottom:1px solid var(--line);
  }
  .footer-brand p{color:var(--ink-500); font-size:0.9rem; margin-top:16px; max-width:280px;}
  footer h5{font-size:0.9rem; font-weight:700; margin-bottom:18px;}
  footer ul li{margin-bottom:11px;}
  footer ul a{color:var(--ink-500); font-size:0.9rem; transition:color .2s ease;}
  footer ul a:hover{color:var(--orange-300);}
  .footer-bottom{
    display:flex; justify-content:space-between; align-items:center;
    font-size:0.82rem; color:var(--ink-500); flex-wrap:wrap; gap:12px;
  }
  .socials{display:flex; gap:12px;}
  .socials a{
    width:36px; height:36px; border-radius:50%; border:1px solid var(--line);
    display:flex; align-items:center; justify-content:center; font-size:0.72rem; font-weight:700;
    transition:border-color .2s ease, color .2s ease, background .2s ease;
  }
  .socials a:hover{border-color:var(--orange-300); color:var(--orange-300); background:var(--orange-100);}
  .socials a.brand{border-color:transparent; transition:transform .2s ease, box-shadow .2s ease;}
  .socials a.brand:hover{transform:translateY(-3px); border-color:transparent; box-shadow:0 8px 18px rgba(16,32,46,0.18);}
  .socials a.brand-fb{background:#1877F2;}
  .socials a.brand-ig{background:linear-gradient(45deg, #F9CE34 0%, #EE2A7B 45%, #6228D7 100%);}
  .socials a.brand-wa{background:#25D366;}
  .socials a.brand-x{background:#000000;}
  .socials a.brand-sc{background:#FFFC00;}
  .socials a.brand-tt{background:#010101;}
  .socials a.brand svg{width:16px; height:16px; display:block;}
  .contact-info p a{color:var(--ink-100); font-weight:500; transition:color .2s ease;}
  .contact-info p a:hover{color:var(--orange-500);}

  /* ---------- Responsive ---------- */
  @media (max-width:960px){
    nav, .hero-stats{display:none;}
    .menu-toggle{display:block; font-size:1.4rem; z-index:101; position:relative;}
    header nav{
      display:none;
      position:fixed; top:76px; right:16px; left:16px;
      background:#fff; border:1px solid var(--line); border-radius:16px;
      box-shadow:var(--shadow); padding:18px; z-index:100;
    }
    header.nav-open nav{display:block;}
    header nav ul{flex-direction:column; gap:6px;}
    header nav ul li{width:100%;}
    header nav ul li a{display:block; padding:10px 6px;}
    .hero .wrap{grid-template-columns:1fr;}
    .hero-visual{order:-1; height:280px;}
    .services-grid{grid-template-columns:1fr;}
    .process{grid-template-columns:1fr 1fr; row-gap:44px;}
    .process::before{display:none;}
    .why{grid-template-columns:1fr;}
    .why-visual{margin:0 auto;}
    .contact-grid{grid-template-columns:1fr;}
    .form-row{grid-template-columns:1fr;}
    .cta-band{flex-direction:column; text-align:center; padding:48px 28px;}
    .footer-top{grid-template-columns:1fr 1fr; row-gap:32px;}
  }
  @media (max-width:600px){
    .process{grid-template-columns:1fr;}
    .footer-top{grid-template-columns:1fr;}
    .hero{padding-top:110px;}
  }

  @media (prefers-reduced-motion: reduce){
    *{animation:none !important; transition:none !important;}
  }

  .service-more{
    display:inline-flex; align-items:center; gap:6px;
    font-size:0.88rem; font-weight:600; color:var(--orange-500); margin-top:16px;
  }
  .service-more:hover{color:var(--blue-500);}

/* ---------- Cookie consent banner ---------- */
.cookie-banner{
  display:none;
  position:fixed; inset-inline:0; bottom:0; z-index:200;
  background:#fff; border-top:1px solid var(--line);
  box-shadow:0 -10px 30px rgba(16,32,46,0.10);
  padding:18px 24px;
  align-items:center; justify-content:space-between; gap:20px;
  flex-wrap:wrap;
}
.cookie-banner.visible{display:flex;}
.cookie-banner-text{
  font-size:0.88rem; color:var(--ink-300); flex:1; min-width:240px; margin:0;
}
.cookie-banner-actions{display:flex; gap:10px; flex:none;}
.cookie-banner-actions .btn{padding:10px 20px; font-size:0.85rem;}
@media (max-width:600px){
  .cookie-banner{padding:16px;}
  .cookie-banner-actions{width:100%;}
  .cookie-banner-actions .btn{flex:1; justify-content:center;}
}
