/* ============ Fast Ship Supply — نظام التصميم (يُحمَّل بعد CSS الأساسي) ============ */

/* --- خطوط محلية: Manrope للعناوين، Inter للنص، IBM Plex Sans Arabic للعربية --- */
@font-face{font-family:"Inter";font-style:normal;font-weight:100 900;font-display:swap;src:url(/assets/fonts/inter-latin.woff2) format("woff2")}
@font-face{font-family:"Manrope";font-style:normal;font-weight:200 800;font-display:swap;src:url(/assets/fonts/manrope-latin.woff2) format("woff2")}
@font-face{font-family:"IBM Plex Sans Arabic";font-style:normal;font-weight:400;font-display:swap;src:url(/assets/fonts/plex-arabic-400.woff2) format("woff2")}
@font-face{font-family:"IBM Plex Sans Arabic";font-style:normal;font-weight:500;font-display:swap;src:url(/assets/fonts/plex-arabic-500.woff2) format("woff2")}
@font-face{font-family:"IBM Plex Sans Arabic";font-style:normal;font-weight:700;font-display:swap;src:url(/assets/fonts/plex-arabic-700.woff2) format("woff2")}

/* --- الألوان: كحلي بحري + برتقالي محروق (تباين AA: الزر 5.2:1، النص 12.7:1) --- */
:root{
  --font-body:"Inter",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
  --font-head:"Manrope","Inter",system-ui,sans-serif;
  --font-ar:"IBM Plex Sans Arabic","Inter",system-ui,sans-serif;
  --font-inter:var(--font-body);--font-poppins:var(--font-head);
  --navy:#0f3554;--navy-deep:#0a2438;--accent-hex:#c2410c;
  --primary:#0f3554;--primary-foreground:#ffffff;
  --secondary:#c2410c;--secondary-foreground:#ffffff;
  --accent:#c2410c;--accent-foreground:#ffffff;--ring:#c2410c;
  --background:#f5f8fb;--foreground:#11202e;
  --card:#ffffff;--card-foreground:#11202e;
  --muted:#e3eaf1;--muted-foreground:#4b5d70;
  --border:#d6dfe8;--input:#c3cfdb;
  --sidebar-primary:#0f3554;--sidebar:#0f3554;--sidebar-accent:#c2410c;--sidebar-ring:#c2410c;
  --radius:.875rem;
}
body{font-family:var(--font-body);line-height:1.65;color:var(--foreground);background:var(--background);-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
h1,h2,h3,h4,h5,h6{font-family:var(--font-head);font-weight:800;letter-spacing:-.02em;line-height:1.15}
h3,h4{font-weight:700;letter-spacing:-.01em}
html[lang=ar] body,html[lang=ar] h1,html[lang=ar] h2,html[lang=ar] h3,html[lang=ar] h4,html[lang=ar] h5,html[lang=ar] h6,html[lang=ar] button,html[lang=ar] input,html[lang=ar] textarea,html[lang=ar] select,.font-arabic{font-family:var(--font-ar)}
html[lang=ar] body{line-height:1.9}
html[lang=ar] h1,html[lang=ar] h2,html[lang=ar] h3,html[lang=ar] h4{letter-spacing:0;line-height:1.4;font-weight:700}
button,input,select,textarea{font-family:inherit}

/* --- الهيدر --- */
header.sticky{background:rgb(255 255 255 / .92);border-bottom:1px solid var(--border);box-shadow:0 1px 0 rgb(15 53 84 / .04),0 6px 20px -14px rgb(15 53 84 / .25)}
header.sticky a.font-bold{color:var(--navy);font-family:var(--font-head);letter-spacing:-.01em}
header nav a{font-weight:600;color:#33465a}
header nav a:hover{color:var(--navy);background:rgb(15 53 84 / .07)}

/* --- الهيرو: بلا بقع ضبابية متحركة، وخلفية ثابتة تُعطّل لأنها بطيئة على الجوال --- */
section.min-h-screen [class*="blur-3xl"],section [class*="blur-3xl"]{display:none}
section.min-h-screen{background-attachment:scroll!important;min-height:min(100svh,780px)}
section.min-h-screen>div.absolute.inset-0:not(.opacity-20){background:linear-gradient(180deg,rgb(10 36 56 / .78) 0%,rgb(15 53 84 / .72) 55%,rgb(10 36 56 / .88) 100%)}
section.min-h-screen h1{font-size:clamp(2.25rem,6vw,4.5rem);text-shadow:0 2px 24px rgb(0 0 0 / .35);max-width:22ch;margin-inline:auto}
section.min-h-screen p{max-width:60ch;margin-inline:auto;color:rgb(255 255 255 / .92)}

/* --- أقسام وعناوين --- */
section.py-24{padding-block:5.5rem}
section h2{font-size:clamp(1.875rem,4vw,2.75rem);color:var(--navy)}
section.text-primary-foreground h2,section[class*="from-primary"] h2{color:#fff}
.bg-gradient-to-r.from-accent.via-primary.to-accent{background:var(--accent-hex);height:4px;width:3.5rem}

/* --- البطاقات --- */
[data-slot=card],div[class*="bg-card"][class*="rounded-xl"]{border:1px solid var(--border);border-radius:1rem;box-shadow:0 1px 2px rgb(15 53 84 / .04),0 8px 24px -16px rgb(15 53 84 / .22);transition:box-shadow .25s,transform .25s,border-color .25s}
div[class*="bg-card"][class*="rounded-xl"]:hover{box-shadow:0 14px 34px -16px rgb(15 53 84 / .35);border-color:#b9c9d9;transform:translateY(-3px)}
[class*="hover:scale"]:hover{scale:none!important}
.stagger-item h3,div[class*="bg-card"] .font-semibold.text-lg{color:var(--navy);font-family:var(--font-head)}
/* شارات الأرقام: لوحة موحّدة بدل قوس قزح */
div.w-10.h-10.from-orange-500,div.w-10.h-10.from-red-500{--tw-gradient-from:#c2410c;--tw-gradient-to:#9a3412}
div.w-10.h-10.from-blue-500,div.w-10.h-10.from-cyan-500,div.w-10.h-10.from-purple-500{--tw-gradient-from:#1d5f8f;--tw-gradient-to:#0f3554}
div.w-10.h-10.from-green-500{--tw-gradient-from:#0f766e;--tw-gradient-to:#115e59}
div[class*="from-primary/10"]{background:#e8eff6}
div[class*="from-accent/10"]{background:#fbece4}
h3.text-primary{color:var(--navy)}h3.text-accent{color:#9a3412}

/* --- الأزرار وأهداف اللمس --- */
button,a[class*="inline-flex"]{font-weight:600;letter-spacing:.005em}
button[class*="inline-flex"],a[class*="inline-flex"]{min-height:44px}
button[class~="bg-accent"],button[class~="bg-secondary"],a[class~="bg-accent"]{background:var(--accent-hex);color:#fff;box-shadow:0 6px 16px -8px rgb(194 65 12 / .7)}
button[class~="bg-accent"]:hover,button[class~="bg-secondary"]:hover{background:#9a3412}
a[class~="text-accent"]{color:var(--accent-hex)}
header button{min-height:40px}

/* --- النماذج --- */
input,textarea,select{border:1.5px solid var(--input);border-radius:.625rem;background:#fff;color:var(--foreground);min-height:46px}
textarea{min-height:130px}
input:focus,textarea:focus,select:focus{border-color:var(--navy);box-shadow:0 0 0 3px rgb(15 53 84 / .15);outline:none}
label{font-weight:600;color:#23384c}
::placeholder{color:#6b7c8d}

/* --- تباين النصوص الثانوية (≥ 4.5:1) --- */
[class*="text-foreground/"],.text-muted-foreground,[class*="text-gray-"]{color:#4b5d70}
[class*="bg-accent/"][class*="text-accent"],[class*="bg-accent/"] [class*="text-accent"]{color:#9a3412}
[class*="bg-primary/"][class*="text-primary"]{color:var(--navy)}

/* --- التذييل --- */
footer{background:var(--navy-deep)!important}
footer a{color:rgb(255 255 255 / .78)}footer a:hover{color:#fff;text-decoration:underline}

/* --- واتساب --- */
a.fixed.bottom-6.right-6{box-shadow:0 10px 26px -8px rgb(0 0 0 / .45)}
html[dir=rtl] a.fixed.bottom-6.right-6{right:auto;left:1.5rem}

/* --- RTL --- */
html[dir=rtl] .lucide-arrow-right,html[dir=rtl] svg.lucide-arrow-right{transform:scaleX(-1)}
html[dir=rtl] input,html[dir=rtl] textarea,html[dir=rtl] select{text-align:start}
html[dir=rtl] input[type=email],html[dir=rtl] input[type=tel]{direction:ltr;text-align:right}
html[dir=rtl] div.absolute.top-4.right-4.w-10{right:auto;left:1rem}
a[href^="tel:"],a[href^="mailto:"]{unicode-bidi:plaintext}

/* --- إمكانية الوصول --- */
.skip-link{position:absolute;inset-inline-start:.5rem;top:-4rem;z-index:100000;background:#fff;color:#111;padding:.6rem 1rem;border-radius:.5rem;box-shadow:0 2px 8px rgb(0 0 0 / .3)}
.skip-link:focus{top:.5rem}
:where(a,button,input,select,textarea,[tabindex]):focus-visible{outline:3px solid #c2410c;outline-offset:2px}
footer :where(a,button):focus-visible,section.min-h-screen :where(a,button):focus-visible{outline-color:#ffb38a}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{overflow-x:clip}
@media (max-width:640px){section.py-24{padding-block:3.75rem}section.min-h-screen{min-height:auto;padding-block:3rem}}
@media (prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}
