/* مؤسسة لينونا للحلول والأنظمة - one stylesheet for the company pages (home + privacy). No script anywhere: the
   phone menu is a <details> box. Colours and type are the company profile's (docs/company-profile in the school
   project): night black, gold, paper; Markazi Text for headings, IBM Plex Sans Arabic for the words. */
@font-face{font-family:'Plex';font-weight:400;font-display:swap;src:url('/fonts/ibm-plex-sans-arabic-400-arabic.woff2') format('woff2');unicode-range:U+0600-06FF,U+0750-077F,U+FB50-FDFF,U+FE70-FEFC,U+200C-200F;}
@font-face{font-family:'Plex';font-weight:400;font-display:swap;src:url('/fonts/ibm-plex-sans-arabic-400-latin.woff2') format('woff2');unicode-range:U+0000-00FF,U+2000-206F;}
@font-face{font-family:'Plex';font-weight:600;font-display:swap;src:url('/fonts/ibm-plex-sans-arabic-600-arabic.woff2') format('woff2');unicode-range:U+0600-06FF,U+0750-077F,U+FB50-FDFF,U+FE70-FEFC,U+200C-200F;}
@font-face{font-family:'Plex';font-weight:600;font-display:swap;src:url('/fonts/ibm-plex-sans-arabic-600-latin.woff2') format('woff2');unicode-range:U+0000-00FF,U+2000-206F;}
@font-face{font-family:'Plex';font-weight:700;font-display:swap;src:url('/fonts/ibm-plex-sans-arabic-700-arabic.woff2') format('woff2');unicode-range:U+0600-06FF,U+0750-077F,U+FB50-FDFF,U+FE70-FEFC,U+200C-200F;}
@font-face{font-family:'Plex';font-weight:700;font-display:swap;src:url('/fonts/ibm-plex-sans-arabic-700-latin.woff2') format('woff2');unicode-range:U+0000-00FF,U+2000-206F;}
@font-face{font-family:'Markazi';font-weight:500;font-display:swap;src:url('/fonts/markazi-text-500-arabic.woff2') format('woff2');unicode-range:U+0600-06FF,U+0750-077F,U+FB50-FDFF,U+FE70-FEFC,U+200C-200F;}

:root{
  --night:#0c0a06; --night-2:#15110a; --night-3:#1f190e;
  --gold:#c9a24f; --gold-deep:#9c7a32; --gold-light:#f1d78f;
  --paper:#fbf8f1; --paper-2:#f3ecdc; --line:#e4d8bd; --white:#fff;
  --ink:#17130b; --ink-soft:#5d5443;
  --on-night:#f3ead6; --on-night-soft:#bcae8f; --night-line:rgba(201,162,79,.28);
  --display:'Markazi','Plex',serif; --body:'Plex',system-ui,-apple-system,'Segoe UI',Tahoma,sans-serif;
  --wrap:1160px; --radius:18px;
}
*{box-sizing:border-box;}
html{scroll-behavior:smooth; scroll-padding-top:84px; -webkit-text-size-adjust:100%;}
body{margin:0; background:var(--paper); color:var(--ink); font-family:var(--body); font-size:17px; line-height:1.9; overflow-x:hidden;}
img{max-width:100%; height:auto; display:block;}
a{color:inherit;}
p{margin:0;}
h1,h2,h3{margin:0; font-weight:500;}
:focus-visible{outline:2px solid var(--gold); outline-offset:3px; border-radius:6px;}
.wrap{max-width:var(--wrap); margin:0 auto; padding:0 24px;}
.ltr{direction:ltr; unicode-bidi:isolate;}

/* the logo's three little squares: the mark every section heading carries (the brand's own motif, not a decoration) */
.bits{display:inline-flex; gap:4px; align-items:flex-end; margin-inline-end:10px; vertical-align:middle;}
.bits i{width:7px; height:7px; border-radius:1.5px; background:var(--gold);}
.bits i:nth-child(2){width:5px; height:5px; opacity:.75;}
.bits i:nth-child(3){width:4px; height:4px; opacity:.5; margin-bottom:6px;}
.eyebrow{display:flex; align-items:center; font-size:14px; font-weight:600; letter-spacing:.3px; color:var(--gold-deep); margin-bottom:6px;}
.night .eyebrow{color:var(--gold);}

/* ------------------------------------------------------------------ buttons */
.btn{display:inline-flex; align-items:center; justify-content:center; gap:8px; min-height:50px; padding:0 26px; border-radius:999px;
  font-family:var(--body); font-size:16px; font-weight:700; text-decoration:none; border:1.5px solid transparent; transition:transform .2s, background .2s, color .2s;}
.btn:hover{transform:translateY(-2px);}
.btn-gold{background:linear-gradient(180deg,var(--gold-light),var(--gold) 70%); color:var(--night); box-shadow:0 10px 26px -12px rgba(201,162,79,.8);}
.btn-line{border-color:var(--night-line); color:var(--on-night); background:rgba(255,255,255,.03);}
.btn-line:hover{border-color:var(--gold); color:var(--gold-light);}
.btn-ink{background:var(--night); color:var(--gold-light);}

/* ------------------------------------------------------------------ header */
.top{position:sticky; top:0; z-index:20; background:rgba(12,10,6,.92); backdrop-filter:saturate(1.2) blur(10px); -webkit-backdrop-filter:saturate(1.2) blur(10px);
  border-bottom:1px solid var(--night-line); color:var(--on-night);}
.top-row{display:flex; align-items:center; gap:22px; min-height:70px;}
.brand{display:flex; align-items:center; gap:10px; text-decoration:none; margin-inline-end:auto;}
.brand img{width:38px; height:auto;}
.brand span{display:flex; flex-direction:column; line-height:1.05;}
.brand b{font-family:var(--display); font-weight:500; font-size:28px; color:var(--gold-light);}
.brand small{font-size:12px; color:var(--on-night-soft); letter-spacing:.2px;}
.nav{display:flex; gap:4px;}
.nav a{padding:8px 12px; border-radius:10px; text-decoration:none; font-size:15.5px; color:var(--on-night-soft); transition:color .2s, background .2s;}
.nav a:hover,.nav a[aria-current="page"]{color:var(--gold-light); background:rgba(201,162,79,.08);}
.top .btn{min-height:42px; padding:0 18px; font-size:15px;}
.burger{display:none; position:relative;}
.burger > summary{list-style:none; cursor:pointer; display:flex; align-items:center; gap:8px; min-height:42px; padding:0 14px; border:1px solid var(--night-line); border-radius:999px; font-size:15px; font-weight:600;}
.burger > summary::-webkit-details-marker{display:none;}
.burger-ic{display:grid; gap:4px;}
.burger-ic i{display:block; width:16px; height:2px; border-radius:2px; background:var(--gold-light);}
.burger nav{position:absolute; inset-inline-end:0; top:calc(100% + 10px); width:min(78vw,280px); padding:10px; display:grid; gap:2px;
  background:var(--night-2); border:1px solid var(--night-line); border-radius:16px; box-shadow:0 24px 50px -20px rgba(0,0,0,.7);}
.burger nav a{padding:11px 14px; border-radius:10px; text-decoration:none; color:var(--on-night);}
.burger nav a:hover{background:rgba(201,162,79,.1); color:var(--gold-light);}

/* ------------------------------------------------------------------ night bands (hero, products, contact, footer) */
.night{background:linear-gradient(180deg,var(--night-2),var(--night) 80%); color:var(--on-night);}

/* the hero: the company profile's cover - a fine gold frame around the mark and the name */
.hero{position:relative; overflow:hidden; text-align:center;
  background:
    radial-gradient(55% 45% at 50% 30%, rgba(216,178,90,.20), transparent 70%),
    radial-gradient(80% 55% at 50% 115%, rgba(184,147,74,.12), transparent 65%),
    linear-gradient(180deg,var(--night-2),var(--night) 75%);}
.hero-frame{position:relative; margin:22px auto; max-width:calc(var(--wrap) + 40px); border:1px solid var(--night-line); border-radius:26px;
  padding:clamp(56px,9vw,104px) 22px clamp(48px,7vw,84px);}
.hero-frame::before,.hero-frame::after{content:''; position:absolute; width:22px; height:22px; border:2px solid var(--gold); opacity:.75;}
.hero-frame::before{top:-1px; inset-inline-start:-1px; border-inline-end:0; border-bottom:0; border-start-start-radius:26px;}
.hero-frame::after{bottom:-1px; inset-inline-end:-1px; border-inline-start:0; border-top:0; border-end-end-radius:26px;}
.hero-mark{position:relative; width:clamp(118px,18vw,170px); margin:0 auto;}
.hero-mark img{width:100%; filter:drop-shadow(0 14px 40px rgba(216,178,90,.32)); animation:rise 1s cubic-bezier(.22,1,.36,1) both;}
/* the mark's squares keep coming: three more drift up out of it and fade - systems built bit by bit */
.hero-mark .fly{position:absolute; border-radius:2px; background:var(--gold-light); opacity:0; animation:fly 5.5s ease-in-out infinite;}
.hero-mark .fly:nth-of-type(1){width:9px; height:9px; top:4%; left:88%; animation-delay:1.2s;}
.hero-mark .fly:nth-of-type(2){width:6px; height:6px; top:-6%; left:96%; animation-delay:2.6s;}
.hero-mark .fly:nth-of-type(3){width:5px; height:5px; top:-14%; left:84%; animation-delay:4s;}
.hero h1{margin-top:26px; font-family:var(--display); font-size:clamp(50px,9vw,96px); line-height:1.05;
  background:linear-gradient(180deg,var(--gold-light),var(--gold) 58%,var(--gold-deep)); -webkit-background-clip:text; background-clip:text; color:transparent;
  animation:rise 1s .15s cubic-bezier(.22,1,.36,1) both;}
.hero .tagline{margin-top:6px; font-size:clamp(17px,2.4vw,22px); font-weight:600; letter-spacing:.06em; color:var(--gold);
  animation:rise 1s .25s cubic-bezier(.22,1,.36,1) both;}
.hero .rule{width:80px; height:2px; margin:26px auto 22px; border-radius:2px; background:linear-gradient(90deg,transparent,var(--gold),transparent);}
.hero .lead{max-width:640px; margin:0 auto; font-size:clamp(17px,2vw,19.5px); line-height:2; color:#e4d8bd; animation:rise 1s .35s cubic-bezier(.22,1,.36,1) both;}
.hero .actions{display:flex; flex-wrap:wrap; gap:12px; justify-content:center; margin-top:32px; animation:rise 1s .45s cubic-bezier(.22,1,.36,1) both;}
.hero .base{margin-top:42px; font-size:14px; color:var(--on-night-soft); letter-spacing:.3px;}

/* ------------------------------------------------------------------ sections */
.sec{padding:clamp(64px,9vw,104px) 0;}
.sec-tint{background:var(--paper-2);}
.sec-head{max-width:720px; margin-bottom:38px;}
.sec-head h2,.h2{font-family:var(--display); font-size:clamp(38px,5.4vw,56px); line-height:1.15; color:var(--ink);}
.night .sec-head h2{color:var(--gold-light);}
.sec-head p{margin-top:10px; font-size:18px; color:var(--ink-soft);}
.night .sec-head p{color:var(--on-night-soft);}

/* من نحن */
.about{display:grid; grid-template-columns:1.15fr 1fr; gap:clamp(28px,5vw,64px); align-items:start;}
.about-text p{font-size:18.5px; line-height:2.05; text-align:justify;}
.about-text p + p{margin-top:16px;}
.vm{display:grid; gap:16px;}
.card{background:var(--white); border:1px solid var(--line); border-radius:var(--radius); padding:24px 26px;}
.vm .card h3{font-family:var(--display); font-size:30px; color:var(--gold-deep); line-height:1.2; margin-bottom:6px;}
.vm .card p{font-size:16.5px; line-height:1.95;}
.values{margin-top:56px;}
.values h3{font-family:var(--display); font-size:36px; margin-bottom:18px;}
.values ul{list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(4,1fr); gap:16px;}
.values li{background:var(--paper-2); border-radius:16px; padding:22px 22px 24px; border-top:3px solid var(--gold); font-size:15.5px; line-height:1.85; color:var(--ink-soft);}
.values li b{display:block; font-size:17px; color:var(--ink); margin-bottom:6px;}

/* خدماتنا */
.services{display:grid; grid-template-columns:repeat(3,1fr); gap:18px;}
.svc{background:var(--white); border:1px solid var(--line); border-radius:var(--radius); padding:28px 26px; transition:transform .25s, box-shadow .25s, border-color .25s;}
.svc:hover{transform:translateY(-4px); border-color:#d6c193; box-shadow:0 20px 40px -26px rgba(23,19,11,.45);}
.ic{width:54px; height:54px; border-radius:15px; background:var(--night); display:grid; place-items:center; margin-bottom:18px;}
.ic svg{width:28px; height:28px; color:var(--gold-light);}
.svc h3{font-size:19px; font-weight:700; line-height:1.5; margin-bottom:6px;}
.svc p{font-size:15.5px; line-height:1.9; color:var(--ink-soft);}
.serve{margin-top:22px; display:flex; gap:24px; align-items:center; background:var(--night); color:var(--on-night); border-radius:var(--radius); padding:24px 30px;}
.serve b{font-family:var(--display); font-weight:500; font-size:30px; color:var(--gold-light); white-space:nowrap;}
.serve p{font-size:16.5px; line-height:1.9;}

/* منتجاتنا */
.product{display:grid; grid-template-columns:1fr 1.15fr; gap:clamp(28px,5vw,60px); align-items:center;
  border:1px solid var(--night-line); border-radius:26px; padding:clamp(24px,4vw,44px); background:rgba(255,255,255,.025);}
.tag{display:inline-block; font-size:13px; font-weight:700; color:var(--night); background:var(--gold); border-radius:999px; padding:3px 14px;}
.product h3{margin-top:14px; font-family:var(--display); font-size:clamp(40px,5vw,54px); line-height:1.1; color:var(--gold-light);}
.product .sub{margin-top:4px; font-size:17px; font-weight:600; color:var(--gold);}
.product .desc{margin-top:14px; font-size:16.5px; line-height:2; color:#e4d8bd;}
.ticks{list-style:none; margin:18px 0 0; padding:0; display:grid; grid-template-columns:1fr 1fr; gap:8px 18px;}
.ticks li{display:flex; gap:9px; align-items:flex-start; font-size:15.5px; line-height:1.7; color:var(--on-night);}
.ticks li::before{content:''; flex:none; width:9px; height:9px; margin-top:8px; border-radius:2px; background:var(--gold); transform:rotate(45deg);}
.for{margin-top:18px; font-size:15px; color:var(--on-night-soft); line-height:1.9;}
.product .actions{display:flex; flex-wrap:wrap; gap:12px 18px; align-items:center; margin-top:24px;}
.text-link{color:var(--gold-light); font-weight:600; font-size:15.5px; text-underline-offset:5px;}
.window{margin:0; border-radius:16px; overflow:hidden; background:var(--white); border:1px solid rgba(201,162,79,.35); box-shadow:0 30px 60px -30px rgba(0,0,0,.9);}
.window-bar{height:30px; display:flex; align-items:center; gap:6px; padding:0 14px; background:var(--paper-2); direction:ltr;}
.window-bar i{width:9px; height:9px; border-radius:50%; background:#d6c79f;}
.window img{width:100%; aspect-ratio:1280/520; object-fit:cover; object-position:50% 100%;}

/* كيف نعمل: a real order, so the steps carry numbers and a line joins them */
.steps{list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(6,1fr); gap:14px; position:relative; counter-reset:s;}
.steps::before{content:''; position:absolute; top:27px; inset-inline:8%; height:2px; background:repeating-linear-gradient(90deg,var(--gold) 0 8px,transparent 8px 16px); opacity:.6;}
.steps li{position:relative; text-align:center; counter-increment:s;}
.steps li::before{content:counter(s, arabic-indic); display:grid; place-items:center; width:56px; height:56px; margin:0 auto 14px; border-radius:50%;
  background:var(--night); color:var(--gold-light); font-family:var(--display); font-size:30px; line-height:1; border:3px solid var(--paper);}
.steps b{display:block; font-size:17px; line-height:1.5;}
.steps span{display:block; margin-top:4px; font-size:14.5px; line-height:1.75; color:var(--ink-soft);}

/* التزامنا بأمن البيانات */
.trust{list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(3,1fr); gap:16px;}
.trust li{background:var(--white); border:1px solid var(--line); border-radius:16px; padding:22px 24px; font-size:15.5px; line-height:1.85; color:var(--ink-soft);}
.trust li b{display:flex; align-items:center; gap:10px; font-size:17.5px; color:var(--ink); margin-bottom:6px;}
.trust li b::before{content:''; width:10px; height:10px; border-radius:2px; background:var(--gold);}

/* تواصل معنا */
.contact{text-align:center;}
.contact .sec-head{margin:0 auto 30px;}
.contact .eyebrow{justify-content:center;}
.mail{display:inline-flex; flex-direction:column; gap:4px; align-items:center; text-decoration:none; padding:22px 34px; border-radius:22px;
  border:1px solid var(--night-line); background:rgba(255,255,255,.035); transition:border-color .2s, transform .2s;}
.mail:hover{border-color:var(--gold); transform:translateY(-3px);}
.mail span{font-size:14px; color:var(--on-night-soft);}
.mail b{font-size:clamp(19px,3.6vw,26px); font-weight:600; color:var(--gold-light); letter-spacing:.3px; word-break:break-all;}
.contact .place{margin-top:18px; color:var(--on-night-soft); font-size:15.5px;}
.contact .school-note{max-width:600px; margin:30px auto 0; padding-top:22px; border-top:1px solid var(--night-line); font-size:15.5px; color:var(--on-night-soft);}
.contact .school-note a{color:var(--gold-light); font-weight:600; text-underline-offset:5px;}

/* ------------------------------------------------------------------ footer */
.foot{background:var(--night); color:var(--on-night-soft); border-top:1px solid var(--night-line); padding:36px 0 30px; font-size:14.5px;}
.foot-row{display:flex; flex-wrap:wrap; gap:18px 30px; align-items:center; justify-content:space-between;}
.foot .brand b{font-size:24px;}
.foot-facts{display:flex; flex-wrap:wrap; gap:6px 22px;}
.foot-links{display:flex; flex-wrap:wrap; gap:6px 20px;}
.foot-links a{color:var(--gold-light); text-decoration:none;}
.foot-links a:hover{text-decoration:underline; text-underline-offset:5px;}
.foot-copy{margin-top:20px; padding-top:18px; border-top:1px solid rgba(201,162,79,.14); font-size:13.5px;}

/* ------------------------------------------------------------------ the privacy page: a document to read */
.doc-hero{padding:clamp(48px,7vw,80px) 0 clamp(36px,5vw,56px); text-align:center;}
.doc-hero h1{font-family:var(--display); font-size:clamp(46px,7vw,72px); line-height:1.1; color:var(--gold-light);}
.doc-hero p{margin-top:8px; color:var(--on-night-soft); font-size:16px;}
.doc{max-width:820px; margin:0 auto; padding:clamp(40px,6vw,64px) 24px clamp(64px,8vw,96px);}
.doc .intro{font-size:18.5px; line-height:2.05;}
.toc{margin:30px 0 8px; padding:22px 26px; background:var(--paper-2); border-radius:16px;}
.toc b{display:block; font-size:16px; margin-bottom:8px;}
.toc ol{margin:0; padding-inline-start:24px; columns:2; column-gap:30px; font-size:15.5px; line-height:2.1;}
.toc a{color:var(--gold-deep); text-decoration:none;}
.toc a:hover{text-decoration:underline; text-underline-offset:4px;}
.doc section{padding-top:34px;}
.doc h2{display:flex; align-items:baseline; gap:12px; font-family:var(--display); font-size:clamp(30px,4vw,38px); line-height:1.25; color:var(--ink); margin-bottom:10px;}
.doc h2 .n{font-size:.8em; color:var(--gold-deep);}
.doc p,.doc li{font-size:17px; line-height:2;}
.doc p + p{margin-top:10px;}
.doc ul{margin:8px 0 0; padding-inline-start:22px;}
.doc li + li{margin-top:4px;}
.doc li::marker{color:var(--gold-deep);}
.doc a{color:var(--gold-deep); font-weight:600; text-underline-offset:4px;}
.doc .note{margin-top:14px; padding:16px 20px; border-inline-start:4px solid var(--gold); background:var(--white); border-radius:12px; font-size:16px;}
.product-list{list-style:none; padding:0 !important;}
.product-list li{display:flex; flex-wrap:wrap; gap:4px 14px; align-items:center; justify-content:space-between; padding:14px 18px; background:var(--white); border:1px solid var(--line); border-radius:12px;}

/* ------------------------------------------------------------------ motion */
@keyframes rise{from{opacity:0; transform:translateY(16px);} to{opacity:1; transform:none;}}
@keyframes fly{0%{opacity:0; transform:translate(0,8px);} 20%{opacity:.9;} 70%{opacity:.5;} 100%{opacity:0; transform:translate(18px,-46px) rotate(25deg);}}
@media (prefers-reduced-motion:reduce){*,*::before,*::after{animation:none !important; transition:none !important;} html{scroll-behavior:auto;} .hero-mark .fly{display:none;}}

/* ------------------------------------------------------------------ smaller screens */
@media (max-width:1020px){
  .nav,.top .btn{display:none;}
  .burger{display:block;}
  .services{grid-template-columns:repeat(2,1fr);}
  .values ul{grid-template-columns:repeat(2,1fr);}
  .product{grid-template-columns:1fr;}
  .product-pic{order:-1;}
  .steps{grid-template-columns:repeat(3,1fr); row-gap:30px;}
  .steps::before{display:none;}
  .trust{grid-template-columns:repeat(2,1fr);}
}
@media (max-width:720px){
  body{font-size:16px;}
  .wrap{padding:0 16px;}
  .hero-frame{margin:14px 12px; padding-inline:16px;}
  .about{grid-template-columns:1fr;}
  .about-text p{text-align:start;}
  .services,.trust,.values ul{grid-template-columns:1fr;}
  .serve{flex-direction:column; align-items:flex-start; gap:6px; padding:22px;}
  .ticks{grid-template-columns:1fr;}
  .steps{grid-template-columns:1fr; gap:0;}
  .steps li{display:grid; grid-template-columns:56px 1fr; column-gap:14px; text-align:start; padding-bottom:22px;}
  .steps li::before{grid-row:span 2; margin:0;}
  .steps li:not(:last-child)::after{content:''; position:absolute; top:58px; bottom:2px; inset-inline-start:27px; width:2px; background:repeating-linear-gradient(180deg,var(--gold) 0 7px,transparent 7px 14px); opacity:.6;}
  .steps b{align-self:end;}
  .toc ol{columns:1;}
  .doc{padding-inline:16px;}
  .brand b{font-size:25px;}
  .brand small{display:none;}
}
.doc-hero .eyebrow{justify-content:center;}
