/* ==========================================================================
   SKYLINK — skylinksoft.ae
   Static bilingual (Arabic default / English) corporate website.
   Single stylesheet, organised as:
     1. Design tokens (brand colours, type, spacing, shadows)
     2. Base & reset
     3. Utilities (reveal, gradient text, dividers, buttons, chips)
     4. Layout (container, header, hero, sections, footer)
     5. Components (cards, bento, timeline, legal table, form, icons)
     6. Animations (preloader, orbit, orbs, sheen, shimmer)
     7. Responsive
     8. Reduced motion
     9. Print (Corporate & Legal Details)
   No build step. Fonts: Inter (Latin) + IBM Plex Sans Arabic (Arabic).
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. DESIGN TOKENS
   -------------------------------------------------------------------------- */
:root {
  /* Brand colours — sampled from the official SKYLINK logo */
  --sky-400: #2db2ff;          /* bright highlight blue */
  --sky-500: #12a0f5;          /* primary electric blue */
  --blue-600: #0b6fdb;         /* core brand blue */
  --blue-700: #0a4fb0;
  --blue-900: #0a2f6b;         /* deep blue */
  --navy-950: #061630;         /* dark sections, footer */
  --navy-900: #0a2144;
  --silver-200: #dce3ec;
  --silver-400: #a9b5c4;       /* brushed silver from the logo */
  --silver-600: #6f7d90;
  --bg: #f5f9fd;               /* very light blue-white */
  --surface: #ffffff;
  --text: #0b1f3a;
  --text-muted: #51627a;
  --line: #d9e4ef;
  --success: #0e7a4d;
  --error: #b42318;

  /* Signature gradients */
  --grad-brand: linear-gradient(135deg, #2db2ff 0%, #0b6fdb 55%, #0a3e91 100%);
  --grad-silver: linear-gradient(135deg, #e6ebf2 0%, #a9b5c4 50%, #7c899b 100%);
  --grad-hero: linear-gradient(160deg, #061630 0%, #0a2f6b 45%, #0a4fb0 78%, #0b6fdb 100%);

  /* Type */
  --font-latin: "Inter", "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-arabic: "IBM Plex Sans Arabic", "Tajawal", "Cairo", "Segoe UI", Tahoma, sans-serif;
  --font-base: var(--font-latin);
  --lh-body: 1.7;
  --lh-ar: 1.9;

  /* Fluid type scale */
  --fs-display: clamp(2.1rem, 5.2vw + 0.6rem, 3.9rem);
  --fs-h2: clamp(1.65rem, 2.6vw + 0.7rem, 2.5rem);
  --fs-h3: clamp(1.15rem, 1.2vw + 0.7rem, 1.45rem);
  --fs-lead: clamp(1.05rem, 0.6vw + 0.8rem, 1.25rem);
  --fs-body: clamp(0.98rem, 0.25vw + 0.85rem, 1.06rem);
  --fs-small: 0.875rem;

  /* Spacing */
  --space-section: clamp(4rem, 9vw, 7rem);
  --container: min(1560px, 100% - 3rem); /* full-width feel on laptop/desktop; was 1200px, which left the content looking centred in a narrow middle column */
  --radius-card: 24px;
  --radius-sm: 16px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(11, 31, 58, 0.06), 0 4px 14px rgba(11, 31, 58, 0.06);
  --shadow-md: 0 2px 6px rgba(11, 31, 58, 0.07), 0 14px 34px rgba(11, 31, 58, 0.10);
  --shadow-lg: 0 4px 12px rgba(11, 31, 58, 0.09), 0 28px 60px rgba(11, 31, 58, 0.16);
  --shadow-glow: 0 0 0 1px rgba(45, 178, 255, 0.35), 0 12px 40px rgba(11, 111, 219, 0.35);

  --header-h: 76px;
  --ease: cubic-bezier(0.22, 0.61, 0.21, 1);
  --dur: 0.45s;
}

[lang="ar"] { --font-base: var(--font-arabic); }

/* --------------------------------------------------------------------------
   2. BASE & RESET
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-base);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--text);
  background: var(--bg);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

[lang="ar"] body, [lang="ar"] { line-height: var(--lh-ar); }
[lang="ar"] h1, [lang="ar"] h2, [lang="ar"] h3, [lang="ar"] .btn, [lang="ar"] .nav-link {
  letter-spacing: 0 !important;   /* never letter-space or uppercase Arabic */
  text-transform: none !important;
}

h1, h2, h3, h4 { line-height: 1.25; margin: 0 0 0.6em; color: var(--text); font-weight: 700; }
h1 { font-size: var(--fs-display); letter-spacing: -0.02em; }
h2 { font-size: var(--fs-h2); letter-spacing: -0.015em; }
h3 { font-size: var(--fs-h3); }
p { margin: 0 0 1em; }
.lead { font-size: var(--fs-lead); color: var(--text-muted); max-width: 62ch; }
a { color: var(--blue-600); text-decoration: none; }
a:hover { color: var(--blue-700); }
img, svg, video, canvas { max-width: 100%; height: auto; display: block; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }

/* Numbers, emails, licence numbers and URLs stay LTR inside Arabic text */
.ltr, [dir="ltr"] { direction: ltr; unicode-bidi: isolate; }
.num { direction: ltr; unicode-bidi: isolate; white-space: nowrap; }

/* Focus: visible brand-blue ring everywhere */
:focus-visible {
  outline: 3px solid var(--sky-500);
  outline-offset: 3px;
  border-radius: 6px;
}

/* Brand-blue selection + custom scrollbar */
::selection { background: var(--blue-600); color: #fff; }
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: linear-gradient(var(--sky-500), var(--blue-700)); border-radius: 8px; border: 2px solid var(--bg); }
html { scrollbar-color: var(--blue-600) var(--bg); }

/* Skip link */
.skip-link {
  position: fixed; inset-inline-start: 1rem; top: -100px; z-index: 200;
  background: var(--navy-950); color: #fff; padding: 0.75rem 1.25rem;
  border-radius: 0 0 12px 12px; font-weight: 600; transition: top 0.25s var(--ease);
}
.skip-link:focus { top: 0; color: #fff; }

/* --------------------------------------------------------------------------
   3. UTILITIES
   -------------------------------------------------------------------------- */
.container { width: var(--container); margin-inline: auto; }
.section { padding-block: var(--space-section); scroll-margin-top: calc(var(--header-h) + 12px); }
.section--dark { background: var(--navy-950); color: #e8eef6; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark .lead, .section--dark p { color: #b9c8dc; }
.section--tint { background: linear-gradient(180deg, var(--bg), #eaf2fa); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.82rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--blue-600); margin-block-end: 0.9rem;
}
.eyebrow::before { content: ""; inline-size: 2rem; block-size: 2px; background: var(--grad-brand); border-radius: 2px; }
.section--dark .eyebrow { color: var(--sky-400); }

.grad-text {
  background: var(--grad-brand);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.shimmer {
  background: linear-gradient(110deg, #7c899b 20%, #eef2f7 40%, #a9b5c4 55%, #7c899b 75%);
  background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  animation: shimmer 7s linear infinite;
}
@keyframes shimmer { to { background-position: -220% 0; } }

.section-head { max-width: 760px; margin-block-end: clamp(2rem, 5vw, 3.25rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow::after { content: ""; inline-size: 2rem; block-size: 2px; background: var(--grad-brand); border-radius: 2px; }
.section-head--center .lead { margin-inline: auto; }

/* Curved / angled SVG divider + orbit-line motif */
.divider { display: block; width: 100%; height: clamp(36px, 6vw, 72px); margin-block: -1px; }
.divider--navy { background: var(--bg); }
.divider--navy path { fill: var(--navy-950); }
.divider--light { background: var(--navy-950); }
.divider--light path { fill: var(--bg); }
.orbit-line {
  display: flex; align-items: center; gap: 0.9rem; color: var(--silver-400);
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
}
.orbit-line::before, .orbit-line::after {
  content: ""; flex: 1; block-size: 1px;
  background: linear-gradient(90deg, transparent, var(--silver-400), transparent);
}
.orbit-dot { inline-size: 9px; block-size: 9px; border-radius: 50%; background: var(--sky-500); box-shadow: 0 0 0 4px rgba(45, 178, 255, 0.22); flex: none; }

/* Buttons — pill, gradient fill, sheen sweep, press effect, nudging arrow */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  min-height: 48px; padding: 0.8rem 1.6rem; border-radius: 999px;
  font-weight: 700; font-size: 1rem; line-height: 1.2; text-align: center;
  position: relative; overflow: hidden; isolation: isolate;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background var(--dur) var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.btn::after { /* sheen sweep */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.45) 50%, transparent 65%);
  transform: translateX(-130%); transition: transform 0.7s var(--ease);
}
[dir="rtl"] .btn::after { transform: translateX(130%); }
.btn:hover::after { transform: translateX(130%); }
[dir="rtl"] .btn:hover::after { transform: translateX(-130%); }
.btn:active { transform: translateY(1px) scale(0.98); }
.btn--primary { background: var(--grad-brand); color: #fff; box-shadow: 0 10px 26px rgba(11, 111, 219, 0.38); }
.btn--primary:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 16px 34px rgba(11, 111, 219, 0.45); }
.btn--ghost {
  background: rgba(255, 255, 255, 0.08); color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.45);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.btn--ghost:hover { color: #fff; background: rgba(255, 255, 255, 0.16); transform: translateY(-2px); }
.btn--outline { background: var(--surface); color: var(--blue-700); border: 1.5px solid var(--blue-600); box-shadow: var(--shadow-sm); }
.btn--outline:hover { color: #fff; background: var(--grad-brand); transform: translateY(-2px); }
.btn .ico { flex: none; transition: transform var(--dur) var(--ease); }
.btn:hover .ico--arrow { transform: translateX(4px); }
[dir="rtl"] .btn:hover .ico--arrow { transform: translateX(-4px) scaleX(-1); }
[dir="rtl"] .ico--arrow { transform: scaleX(-1); } /* mirror directional icons in RTL */

/* Scroll-reveal (JS adds .is-visible; transform + opacity only) */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); transition-delay: var(--reveal-delay, 0s); will-change: opacity, transform; }
.reveal--left { transform: translateX(-28px); }
.reveal--right { transform: translateX(28px); }
[dir="rtl"] .reveal--left { transform: translateX(28px); }
[dir="rtl"] .reveal--right { transform: translateX(-28px); }
.reveal.is-visible { opacity: 1; transform: none; }

/* Icon chip — one consistent line-icon style */
.ico-chip {
  inline-size: 52px; block-size: 52px; flex: none; border-radius: 16px;
  display: grid; place-items: center; color: var(--blue-600);
  background: linear-gradient(135deg, rgba(45, 178, 255, 0.16), rgba(11, 111, 219, 0.10));
  border: 1px solid rgba(11, 111, 219, 0.18);
  transition: transform var(--dur) var(--ease), color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.ico-chip svg { inline-size: 26px; block-size: 26px; }

/* --------------------------------------------------------------------------
   4. LAYOUT — HEADER
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed; inset-inline: 0; top: 0; z-index: 100;
  min-height: var(--header-h);
  background: rgba(255, 255, 255, 0.72);
  -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4);
  border-block-end: 1px solid rgba(11, 31, 58, 0.08);
  transition: background var(--dur) var(--ease), box-shadow var(--dur) var(--ease), min-height var(--dur) var(--ease);
}
.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 8px 30px rgba(11, 31, 58, 0.12);
  min-height: 64px;
}
.header-inner { display: flex; align-items: center; gap: 1.25rem; min-height: inherit; padding-block: 0.55rem; }
.brand { display: inline-flex; align-items: center; gap: 0.7rem; flex: none; color: var(--text); }
.brand__logo { height: 46px; width: auto; transition: height var(--dur) var(--ease); }
.site-header.is-scrolled .brand__logo { height: 40px; }
.brand__name { display: flex; flex-direction: column; line-height: 1.25; }
.brand__name strong { font-size: 1.02rem; letter-spacing: 0.04em; }
.brand__name span { font-size: 0.68rem; color: var(--text-muted); max-width: 26ch; }
.main-nav { margin-inline-start: auto; }
.main-nav ul { display: flex; align-items: center; gap: 0.25rem; }
.nav-link {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0.5rem 0.7rem; white-space: nowrap;
  color: var(--text); font-weight: 600; font-size: 0.95rem; position: relative; border-radius: 10px;
  transition: color var(--dur) var(--ease);
}
.nav-link::after {
  content: ""; position: absolute; inset-inline: 0.75rem; bottom: 0.3rem; block-size: 2.5px;
  background: var(--grad-brand); border-radius: 2px;
  transform: scaleX(0); transform-origin: inline-start; transition: transform var(--dur) var(--ease);
}
.nav-link:hover, .nav-link.is-active { color: var(--blue-700); }
.nav-link:hover::after, .nav-link.is-active::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 0.6rem; margin-inline-start: 0.5rem; }
.lang-switch {
  display: inline-flex; align-items: center; gap: 0.45rem; min-height: 44px; padding: 0.5rem 0.95rem; white-space: nowrap;
  border-radius: 999px; border: 1px solid var(--line); background: var(--surface);
  color: var(--text); font-weight: 700; font-size: 0.9rem;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.lang-switch:hover { border-color: var(--sky-500); box-shadow: var(--shadow-sm); transform: translateY(-1px); color: var(--blue-700); }
.header-cta { min-height: 44px; padding: 0.65rem 1.15rem; font-size: 0.92rem; white-space: nowrap; }
.nav-toggle { display: none; inline-size: 48px; block-size: 48px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); position: relative; z-index: 120; }
.nav-toggle span { position: absolute; inset-inline: 12px; block-size: 2px; background: var(--text); border-radius: 2px; transition: transform 0.35s var(--ease), opacity 0.25s, top 0.35s var(--ease); }
.nav-toggle span:nth-child(1) { top: 17px; } .nav-toggle span:nth-child(2) { top: 23px; } .nav-toggle span:nth-child(3) { top: 29px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { top: 23px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { top: 23px; transform: rotate(-45deg); }

/* Mobile full-screen overlay menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 110; display: flex; flex-direction: column;
  background: linear-gradient(160deg, var(--navy-950), var(--blue-900));
  color: #fff; padding: calc(var(--header-h) + 1rem) 1.5rem calc(2rem + env(safe-area-inset-bottom));
  opacity: 0; visibility: hidden; transform: translateY(-12px);
  transition: opacity 0.4s var(--ease), visibility 0.4s, transform 0.4s var(--ease);
}
.mobile-menu.is-open { opacity: 1; visibility: visible; transform: none; }
.mobile-menu .nav-link { color: #fff; font-size: 1.35rem; padding: 0.7rem 0; opacity: 0; transform: translateY(14px); transition: opacity 0.4s var(--ease), transform 0.4s var(--ease); transition-delay: var(--menu-delay, 0s); }
.mobile-menu.is-open .nav-link { opacity: 1; transform: none; }
.mobile-menu .nav-link::after { display: none; }
.mobile-menu .nav-link:hover { color: var(--sky-400); }
.mobile-menu__foot { margin-top: auto; display: grid; gap: 0.9rem; }
.mobile-menu__foot .lang-switch { justify-content: center; background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.35); color: #fff; }
.mobile-menu__foot .lang-switch:hover { color: #fff; }

/* --------------------------------------------------------------------------
   4. LAYOUT — HERO
   -------------------------------------------------------------------------- */
.hero {
  position: relative; overflow: clip; color: #fff;
  min-height: 100vh; min-height: 100dvh;
  display: flex; align-items: center;
  padding-block: calc(var(--header-h) + 3rem) 4.5rem;
  background: var(--grad-hero);
  isolation: isolate;
}
.hero__mesh { position: absolute; inset: 0; z-index: -3; background:
  linear-gradient(180deg, rgba(6, 22, 48, 0) 70%, var(--navy-950) 94%, var(--navy-950) 100%),
  radial-gradient(42rem 30rem at 82% 12%, rgba(45, 178, 255, 0.38), transparent 60%),
  radial-gradient(36rem 28rem at 8% 88%, rgba(10, 79, 176, 0.55), transparent 62%),
  radial-gradient(30rem 22rem at 55% 45%, rgba(18, 160, 245, 0.22), transparent 65%),
  var(--grad-hero);
  animation: mesh-drift 22s ease-in-out infinite alternate;
}
@keyframes mesh-drift { to { background-position: 4% 6%, 92% 90%, 50% 40%; } }
.hero__orb { position: absolute; z-index: -2; border-radius: 50%; filter: blur(70px); opacity: 0.55; animation: orb-float 11s ease-in-out infinite alternate; }
.hero__orb--a { inline-size: 340px; block-size: 340px; background: #2db2ff; inset-inline-start: -90px; top: 12%; }
.hero__orb--b { inline-size: 280px; block-size: 280px; background: #0a4fb0; inset-inline-end: -60px; bottom: 6%; animation-delay: -5s; }
@keyframes orb-float { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(24px, -30px, 0) scale(1.12); } }
.hero__grid {
  position: absolute; inset: 0; z-index: -2; opacity: 0.35;
  background-image: radial-gradient(rgba(255, 255, 255, 0.28) 1px, transparent 1.4px);
  background-size: 34px 34px;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
  mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
}
#hero-canvas { position: absolute; inset: 0; z-index: -1; inline-size: 100%; block-size: 100%; }
.hero__orbit {
  position: absolute; z-index: -1; inset-inline-end: -14%; top: 50%; translate: 0 -50%;
  inline-size: min(58vw, 640px); aspect-ratio: 1; opacity: 0.85; pointer-events: none;
  animation: orbit-spin 46s linear infinite;
}
[dir="rtl"] .hero__orbit { animation-direction: reverse; }
@keyframes orbit-spin { to { transform: rotate(360deg); } }
.hero__content { max-width: 780px; position: relative; text-align: start; margin-inline: 0; padding-inline: 1.5rem; }
.hero__chip {
  display: inline-flex; align-items: center; gap: 0.55rem; margin-block-end: 1.4rem;
  padding: 0.5rem 1.05rem; border-radius: 999px; font-weight: 700; font-size: 0.92rem;
  color: #eaf6ff; background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.hero__chip .orbit-dot { inline-size: 8px; block-size: 8px; }
.hero h1 { color: #fff; margin-block-end: 1.1rem; }
.hero__sub { font-size: var(--fs-lead); color: #c9d9ec; max-width: 60ch; margin-block-end: 2rem; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-block-end: 2.6rem; }
.hero__trust {
  display: flex; flex-wrap: wrap; gap: 0.6rem 1.6rem; padding-block-start: 1.5rem;
  border-block-start: 1px solid rgba(255, 255, 255, 0.22);
  font-size: 0.92rem; font-weight: 600; color: #d7e5f5;
}
.hero__trust li { display: inline-flex; align-items: center; gap: 0.5rem; }
.hero__trust .ico { color: var(--sky-400); flex: none; }
/* Hero staggered entrance (JS adds .hero--in) */
.hero .anim { opacity: 0; transform: translateY(22px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); transition-delay: var(--d, 0s); }
.hero--in .anim { opacity: 1; transform: none; }

/* --------------------------------------------------------------------------
   4. LAYOUT — SECTIONS
   -------------------------------------------------------------------------- */
.about-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
/* About office photo: its own grid column, in normal flow — nothing overlaps it */
.about-media { margin: 0; border-radius: var(--radius-card); overflow: hidden; box-shadow: var(--shadow-md); border: 1px solid var(--line); }
.about-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3 / 2; }
/* Fact boxes: one row of three, full width under the image + text — never stacked over the image */
.about-grid .facts { grid-column: 1 / -1; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-block-start: 0.25rem; }
.facts { display: grid; gap: 0.9rem; }
.fact {
  display: flex; gap: 1rem; align-items: flex-start; padding: 1.15rem 1.25rem;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}
.fact strong { display: block; font-size: 1.05rem; }
.fact span { color: var(--text-muted); font-size: 0.95rem; }
.about-tagline {
  margin-block-start: 1.6rem; padding: 1.1rem 1.3rem; border-inline-start: 4px solid var(--blue-600);
  background: linear-gradient(135deg, rgba(45, 178, 255, 0.12), rgba(11, 111, 219, 0.06));
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-weight: 600; font-size: 1.08rem;
}
[dir="rtl"] .about-tagline { border-radius: var(--radius-sm) 0 0 var(--radius-sm); }

/* Vision / mission */
.vm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; margin-block-end: 2.6rem; }
.vm-card { padding: 2rem; border-radius: var(--radius-card); color: #fff; position: relative; overflow: hidden; }
.vm-card--vision { background: linear-gradient(140deg, var(--blue-900), var(--blue-700)); }
.vm-card--mission { background: linear-gradient(140deg, var(--navy-950), var(--blue-900)); }
.vm-card h3 { color: #fff; }
.vm-card p { color: #c9d9ec; margin: 0; }
.vm-card .orbit-ring { position: absolute; inset-inline-end: -46px; top: -46px; inline-size: 150px; block-size: 150px; border: 1.5px dashed rgba(255,255,255,0.35); border-radius: 50%; }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }

/* --------------------------------------------------------------------------
   5. COMPONENTS — CARDS, BENTO, TIMELINE, LEGAL, FORM, FOOTER
   -------------------------------------------------------------------------- */
/* Base card: 1px gradient border, layered shadow, hover lift + glow, spotlight */
.card {
  position: relative; background: var(--surface); border-radius: var(--radius-card);
  padding: 1.8rem; overflow: hidden;
  border: 1px solid transparent;
  background-image: linear-gradient(var(--surface), var(--surface)), linear-gradient(135deg, rgba(45, 178, 255, 0.55), rgba(217, 228, 239, 0.9) 35%, rgba(169, 181, 196, 0.55));
  background-origin: border-box; background-clip: padding-box, border-box;
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.card::before { /* cursor-follow spotlight (JS sets --mx/--my) */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity 0.35s;
  background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 50%), rgba(45, 178, 255, 0.16), transparent 65%);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg), var(--shadow-glow); }
.card:hover::before { opacity: 1; }
.card:hover .ico-chip { transform: translateY(-3px) scale(1.06) rotate(-3deg); background: var(--grad-brand); color: #fff; }
.card h3 { margin-block: 1rem 0.5rem; }
.card p { color: var(--text-muted); margin-block-end: 1rem; }
.card__tag {
  display: inline-block; font-size: 0.8rem; font-weight: 700; color: var(--blue-700);
  background: rgba(18, 160, 245, 0.1); border: 1px solid rgba(11, 111, 219, 0.2);
  padding: 0.3rem 0.75rem; border-radius: 999px; margin-block-end: 0.6rem;
}
.card__licence { font-size: 0.9rem; color: var(--text-muted); border-block-start: 1px dashed var(--line); padding-block-start: 0.9rem; margin: 0; }
.card__licence strong { color: var(--text); font-weight: 600; }
.card__note { font-size: 0.9rem; color: var(--text-muted); background: var(--bg); border-radius: 10px; padding: 0.7rem 0.9rem; margin-block-end: 0.9rem; }

/* Services: bento-style grid */
.services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4rem; }
.services-grid .card:first-child { grid-row: span 1; }
.service-num {
  font-size: 0.8rem; font-weight: 800; letter-spacing: 0.12em; color: var(--silver-600);
  display: inline-flex; align-items: center; gap: 0.5rem; margin-block-end: 0.9rem;
}
.service-num::after { content: ""; inline-size: 1.6rem; block-size: 2px; background: var(--grad-silver); border-radius: 2px; }

/* Capabilities: bento grid (7 items, varied spans on desktop) */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1.2rem; }
.bento .card { padding: 1.6rem; }
.bento .card:nth-child(1), .bento .card:nth-child(2) { grid-column: span 3; }
.bento .card:nth-child(3), .bento .card:nth-child(4), .bento .card:nth-child(5) { grid-column: span 2; }
.bento .card:nth-child(6), .bento .card:nth-child(7) { grid-column: span 3; }
.bento .card h3 { font-size: 1.12rem; }

/* Why SKYLINK: numbered cards */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; counter-reset: why; }
.why-card { counter-increment: why; }
.why-card__num {
  font-size: 2.4rem; font-weight: 800; line-height: 1;
  background: var(--grad-silver); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.why-card h3 { margin-block-start: 0.7rem; }

/* Sectors */
.sectors-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
.sector-card { display: flex; flex-direction: column; }
.sector-card .btn { margin-block-start: auto; align-self: flex-start; }
.section-note {
  margin-block-start: 1.6rem; text-align: center; color: var(--text-muted); font-size: 0.95rem;
  display: flex; align-items: center; justify-content: center; gap: 0.6rem;
}
.section-note .ico { color: var(--sky-500); flex: none; }

/* Methodology timeline — glowing line draws on scroll (JS adds .is-drawn) */
.timeline { position: relative; padding-block-start: 0.6rem; }
.timeline__track {
  position: absolute; inset-inline: 0; top: 34px; block-size: 3px; border-radius: 3px;
  background: var(--line); overflow: hidden;
}
.timeline__track::after {
  content: ""; position: absolute; inset: 0; background: var(--grad-brand);
  transform: scaleX(0); transform-origin: inline-start; transition: transform 1.4s var(--ease);
}
.timeline.is-drawn .timeline__track::after { transform: scaleX(1); }
.timeline ol { display: grid; grid-template-columns: repeat(7, 1fr); gap: 1rem; position: relative; }
.timeline li { text-align: start; opacity: 0.45; transition: opacity 0.6s var(--ease); }
.timeline li.is-lit { opacity: 1; }
.timeline__dot {
  inline-size: 68px; block-size: 68px; border-radius: 50%; margin-block-end: 1rem;
  display: grid; place-items: center; position: relative; z-index: 1;
  background: var(--surface); border: 2px solid var(--line); color: var(--silver-600);
  font-weight: 800; font-size: 1.05rem; box-shadow: var(--shadow-sm);
  transition: border-color 0.5s, color 0.5s, box-shadow 0.5s, transform 0.5s var(--ease);
}
.timeline li.is-lit .timeline__dot {
  border-color: var(--sky-500); color: #fff; background: var(--grad-brand);
  box-shadow: 0 0 0 6px rgba(45, 178, 255, 0.22), 0 10px 26px rgba(11, 111, 219, 0.4);
  transform: scale(1.05);
}
.timeline h3 { font-size: 1.02rem; margin-block-end: 0.3rem; }
.timeline p { color: var(--text-muted); font-size: 0.92rem; margin: 0; }
.method-note { margin-block-start: 2.2rem; padding: 1.1rem 1.4rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); color: var(--text-muted); box-shadow: var(--shadow-sm); }

/* Legal details — elegant table, stacked cards on mobile */
.legal-table { inline-size: 100%; border-collapse: separate; border-spacing: 0; background: var(--surface); border-radius: var(--radius-card); overflow: hidden; box-shadow: var(--shadow-md); border: 1px solid var(--line); }
.legal-table th, .legal-table td { padding: 1.05rem 1.4rem; text-align: start; vertical-align: top; border-block-end: 1px solid var(--line); }
.legal-table tr:last-child th, .legal-table tr:last-child td { border-block-end: 0; }
.legal-table th { inline-size: 34%; color: var(--text); font-weight: 700; background: linear-gradient(135deg, rgba(45, 178, 255, 0.08), rgba(11, 111, 219, 0.04)); }
.legal-table td { color: var(--text-muted); font-weight: 600; }
.legal-table td .num { color: var(--text); }
.legal-source { margin-block-start: 1.2rem; color: var(--text-muted); font-size: 0.92rem; display: flex; gap: 0.5rem; align-items: center; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.contact-card { padding: 1.8rem; }
.contact-list { display: grid; gap: 1.1rem; margin-block: 1.4rem 0; }
.contact-list li { display: flex; gap: 0.9rem; align-items: flex-start; }
.contact-list .ico-chip { inline-size: 46px; block-size: 46px; border-radius: 12px; }
.contact-list strong { display: block; font-size: 0.88rem; color: var(--text-muted); font-weight: 600; }
.contact-list a { color: var(--text); font-weight: 700; }
.contact-list a:hover { color: var(--blue-700); }
.form-card { padding: clamp(1.5rem, 3vw, 2.2rem); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field { display: grid; gap: 0.4rem; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 700; font-size: 0.92rem; }
.field label .req { color: var(--error); }
.field input, .field select, .field textarea {
  inline-size: 100%; min-height: 48px; padding: 0.7rem 0.95rem; border-radius: 12px;
  border: 1.5px solid var(--line); background: var(--surface); color: var(--text);
  transition: border-color 0.25s, box-shadow 0.25s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--sky-500); box-shadow: 0 0 0 4px rgba(45, 178, 255, 0.22); }
.field--error input, .field--error select, .field--error textarea { border-color: var(--error); box-shadow: 0 0 0 4px rgba(180, 35, 24, 0.12); }
.field__error { color: var(--error); font-size: 0.85rem; font-weight: 600; min-height: 1.2em; }
.consent { display: flex; gap: 0.7rem; align-items: flex-start; font-size: 0.92rem; color: var(--text-muted); cursor: pointer; }
.consent input { inline-size: 20px; block-size: 20px; margin-block-start: 0.15rem; accent-color: var(--blue-600); flex: none; }
.honeypot { position: absolute; inset-inline-start: -9999px; inline-size: 1px; block-size: 1px; overflow: hidden; opacity: 0; }
.form-status { display: none; border-radius: 12px; padding: 1rem 1.2rem; font-weight: 600; margin-block-start: 1rem; animation: status-in 0.45s var(--ease); }
.form-status.is-show { display: block; }
.form-status--success { background: #e6f6ee; color: var(--success); border: 1px solid #bfe8d2; }
.form-status--error { background: #fdecea; color: var(--error); border: 1px solid #f5c6c0; }
@keyframes status-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* Footer (dark navy) */
.site-footer { background: var(--navy-950); color: #c3d2e4; padding-block: 4rem 0; position: relative; overflow: clip; }
.site-footer::before {
  content: ""; position: absolute; inset-inline-end: -120px; top: -120px; inline-size: 340px; block-size: 340px;
  border: 1.5px dashed rgba(45, 178, 255, 0.35); border-radius: 50%; pointer-events: none;
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 0.8fr 0.9fr 0.9fr; gap: clamp(1.5rem, 4vw, 3rem); padding-block-end: 3rem; }
.footer-brand .brand__name strong { color: #fff; }
.footer-brand .brand__name span { color: #9db1c8; }
.footer-logo { height: 84px; width: auto; filter: drop-shadow(0 0 14px rgba(45, 178, 255, 0.35)); margin-block-end: 1rem; }
.footer-tagline { color: var(--sky-400); font-weight: 700; margin-block-end: 0.7rem; }
.site-footer h3 { color: #fff; font-size: 1.05rem; margin-block-end: 1rem; }
.footer-links li { margin-block-end: 0.55rem; }
.footer-links a { color: #c3d2e4; display: inline-flex; align-items: center; gap: 0.5rem; transition: color 0.25s, transform 0.25s var(--ease); }
.footer-links a:hover { color: #fff; transform: translateX(3px); }
[dir="rtl"] .footer-links a:hover { transform: translateX(-3px); }
.footer-contact li { margin-block-end: 0.7rem; }
.footer-contact a { color: #fff; font-weight: 600; }
.footer-bottom {
  border-block-start: 1px solid rgba(255, 255, 255, 0.14);
  padding-block: 1.4rem calc(1.4rem + env(safe-area-inset-bottom));
  display: flex; flex-wrap: wrap; gap: 0.6rem 1.6rem; align-items: center; justify-content: space-between;
  font-size: 0.88rem; color: #9db1c8;
}
.footer-bottom a { color: #c3d2e4; }
.footer-bottom a:hover { color: #fff; }

/* Preloader */
.preloader {
  position: fixed; inset: 0; z-index: 300; display: grid; place-items: center;
  background: var(--navy-950); color: #fff;
  transition: opacity 0.5s var(--ease), visibility 0.5s;
}
.preloader.is-done { opacity: 0; visibility: hidden; }
.preloader__inner { display: grid; place-items: center; gap: 1rem; text-align: center; }
.preloader__mark { position: relative; inline-size: 132px; block-size: 132px; display: grid; place-items: center; }
.preloader__mark img { inline-size: 96px; block-size: auto; animation: pre-fade 0.9s var(--ease) both; filter: drop-shadow(0 0 18px rgba(45, 178, 255, 0.55)); }
.preloader__ring {
  position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid transparent; border-block-start-color: var(--sky-400); border-inline-end-color: rgba(45, 178, 255, 0.4);
  animation: orbit-spin 1.1s linear infinite;
}
.preloader__word { font-weight: 800; letter-spacing: 0.32em; font-size: 0.95rem; animation: pre-fade 0.9s 0.15s var(--ease) both; }
[lang="ar"] .preloader__word { letter-spacing: 0; }
@keyframes pre-fade { from { opacity: 0; transform: scale(0.92); } to { opacity: 1; transform: scale(1); } }
.preloader__skip { position: absolute; bottom: calc(1.4rem + env(safe-area-inset-bottom)); inset-inline-start: 50%; transform: translateX(-50%); color: #9db1c8; font-size: 0.85rem; text-decoration: underline; }
[dir="rtl"] .preloader__skip { transform: translateX(50%); }

/* Back to top */
.back-to-top {
  position: fixed; inset-inline-end: 1.25rem; bottom: calc(1.25rem + env(safe-area-inset-bottom)); z-index: 90;
  inline-size: 50px; block-size: 50px; border-radius: 50%; display: grid; place-items: center;
  background: var(--grad-brand); color: #fff; box-shadow: 0 12px 28px rgba(11, 111, 219, 0.42);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity 0.35s var(--ease), visibility 0.35s, transform 0.35s var(--ease);
}
.back-to-top.is-show { opacity: 1; visibility: visible; transform: none; }
.back-to-top:hover { transform: translateY(-3px); color: #fff; }

/* Language cross-fade (JS toggles .lang-fade on <html>) */
.lang-fade body { opacity: 0; }
body { transition: opacity 0.3s ease; }

/* Simple content pages (privacy / terms) */
.page-hero { padding-block: calc(var(--header-h) + 3rem) 2.5rem; background: var(--grad-hero); color: #fff; }
.page-hero h1 { color: #fff; font-size: clamp(1.8rem, 4vw, 2.6rem); }
.page-hero p { color: #c9d9ec; margin: 0; }
.prose { max-width: 760px; }
.prose h2 { margin-block-start: 2rem; }
.prose p { color: var(--text-muted); }

/* --------------------------------------------------------------------------
   7. RESPONSIVE
   -------------------------------------------------------------------------- */
@media (max-width: 1080px) {
  .main-nav, .header-cta { display: none; }
  .nav-toggle { display: block; }
  .header-actions { margin-inline-start: auto; }
  .values-grid, .why-grid { grid-template-columns: repeat(2, 1fr); }
  .bento .card:nth-child(n) { grid-column: span 3; }
  .timeline ol { grid-template-columns: repeat(4, 1fr); row-gap: 2rem; }
  .timeline__track { display: none; }
  .timeline__dot { inline-size: 58px; block-size: 58px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .brand__name span { display: none; }
  .brand__logo { height: 40px; }
  .hero { padding-block: calc(var(--header-h) + 2rem) 3.5rem; }
  .hero__orbit { inset-inline-end: -45%; opacity: 0.5; }
  .services-grid, .vm-grid, .sectors-grid { grid-template-columns: 1fr; }
  .about-grid .facts { grid-template-columns: 1fr; }
  .values-grid, .why-grid { grid-template-columns: 1fr; }
  .bento .card:nth-child(n) { grid-column: span 6; }
  .timeline ol { grid-template-columns: 1fr; gap: 1.6rem; }
  .timeline li { display: grid; grid-template-columns: 58px 1fr; column-gap: 1rem; align-items: start; }
  .timeline__dot { grid-row: 1 / span 2; margin: 0; }
  .timeline h3 { margin-block-end: 0.15rem; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .btn { inline-size: 100%; }
  .hero__ctas .btn { inline-size: auto; flex: 1 1 200px; }
  /* Legal table -> stacked cards */
  .legal-table, .legal-table tbody, .legal-table tr, .legal-table th, .legal-table td { display: block; inline-size: 100%; }
  .legal-table { background: transparent; border: 0; box-shadow: none; }
  .legal-table tr { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); margin-block-end: 0.8rem; overflow: hidden; box-shadow: var(--shadow-sm); }
  .legal-table th { padding-block-end: 0.2rem; background: none; }
  .legal-table td { border-block-end: 0; padding-block-start: 0; }
}

@media (max-width: 390px) {
  :root { --space-section: 3.5rem; }
  .lang-switch span { display: none; } /* globe icon only on very small screens */
  .lang-switch { padding: 0.5rem 0.7rem; }
  .hero__trust { font-size: 0.85rem; }
  .card { padding: 1.4rem; }
}

/* --------------------------------------------------------------------------
   8. REDUCED MOTION — disable parallax, particles, large movements; keep fades
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .reveal, .hero .anim { opacity: 1 !important; transform: none !important; }
  .hero__orbit, .hero__orb, .hero__mesh { animation: none !important; }
  .shimmer { animation: none !important; }
  #hero-canvas { display: none; }
  .preloader { display: none; }
}

/* --------------------------------------------------------------------------
   9. PRINT — Corporate & Legal Details section only
   -------------------------------------------------------------------------- */
@media print {
  .site-header, .hero, .mobile-menu, .preloader, .back-to-top, .site-footer, .form-card, .contact-card { display: none !important; }
  body { background: #fff; color: #000; font-size: 11pt; }
  .section { padding: 0; }
  .legal-table { box-shadow: none; }
  .legal-table th, .legal-table td { border: 1px solid #999; color: #000; }
  a { color: #000; text-decoration: underline; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; }
}

/* --------------------------------------------------------------------------
   Floating WhatsApp button — icon only, sitewide.
   Owner changed 2026-11-23: uses the display number 971526666252 (was 971522100504).
   The number is never shown as text anywhere on the site.
   -------------------------------------------------------------------------- */
.whatsapp-float {
  position: fixed; inset-inline-end: 1.25rem; bottom: calc(1.25rem + env(safe-area-inset-bottom)); z-index: 95;
  inline-size: 56px; block-size: 56px; border-radius: 50%; display: grid; place-items: center;
  background: #25d366; color: #fff;
  box-shadow: 0 10px 26px rgba(37, 211, 102, 0.45), 0 4px 12px rgba(11, 31, 58, 0.22);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.whatsapp-float::after { /* soft pulse ring */
  content: ""; position: absolute; inset: -4px; border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, 0.55); animation: wa-pulse 2.6s ease-out infinite;
}
@keyframes wa-pulse { 0% { transform: scale(0.92); opacity: 0.9; } 70% { transform: scale(1.18); opacity: 0; } 100% { transform: scale(1.18); opacity: 0; } }
.whatsapp-float:hover { color: #fff; transform: translateY(-3px) scale(1.05); box-shadow: 0 16px 34px rgba(37, 211, 102, 0.55), 0 4px 12px rgba(11, 31, 58, 0.22); }
.whatsapp-float svg { inline-size: 30px; block-size: 30px; }
/* Back-to-top sits above the WhatsApp button */
.back-to-top { bottom: calc(6.5rem + env(safe-area-inset-bottom)); }

/* FAQ — details/summary accordion (AEO/GEO: visible answers + FAQPage JSON-LD) */
.faq-list { display: grid; gap: .85rem; max-width: 880px; margin-inline: auto; }
.faq-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow-sm); overflow: hidden; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.faq-item:hover { transform: translateY(-2px); border-color: var(--sky-400); box-shadow: var(--shadow-md); }
.faq-item summary { cursor: pointer; padding: 1.05rem 1.25rem; font-weight: 600; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; flex: none; width: 1.75rem; height: 1.75rem; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--blue-600); font-weight: 700; transition: transform .25s ease, background .25s ease, color .25s ease; }
.faq-item[open ] summary::after { transform: rotate(45deg); background: var(--sky-500); border-color: var(--sky-500); color: #fff; }
.faq-item p { padding: 0 1.25rem 1.1rem; margin: 0; color: var(--text-muted); }
.faq-item p a { color: var(--blue-600); }

/* Delay utility classes — replaces inline style="--d/--menu-delay/--reveal-delay" (SEOptimer: remove inline styles) */
.ad-05 { --d: .05s; }
.ad-15 { --d: .15s; }
.ad-28 { --d: .28s; }
.ad-40 { --d: .4s; }
.ad-52 { --d: .52s; }
.md-05 { --menu-delay: .05s; }
.md-10 { --menu-delay: .1s; }
.md-15 { --menu-delay: .15s; }
.md-20 { --menu-delay: .2s; }
.md-25 { --menu-delay: .25s; }
.md-30 { --menu-delay: .3s; }
.md-35 { --menu-delay: .35s; }
.md-40 { --menu-delay: .4s; }
.rd-06 { --reveal-delay: .06s; }
.rd-08 { --reveal-delay: .08s; }
.rd-10 { --reveal-delay: .1s; }
.rd-12 { --reveal-delay: .12s; }
