/* ==========================================================================
   Argon Scientific Bureau (ASB) — Futuristic stylesheet
   Bilingual (EN / AR) · Dark neon / glassmorphism · heavy motion design
   ========================================================================== */

/* ---------- Design tokens ---------- */
:root {
  --bg: #05070d;
  --bg-2: #080d18;
  --surface: rgba(15, 23, 42, 0.55);
  --surface-2: rgba(22, 32, 58, 0.65);
  --line: rgba(125, 165, 240, 0.14);
  --line-soft: rgba(125, 165, 240, 0.09);

  --neon: #00e5c3;
  --neon-2: #5b8cff;
  --neon-3: #b16bff;
  --neon-4: #ff5d8f;
  --neon-dim: rgba(0, 229, 195, 0.35);

  --ink: #eaf2ff;
  --muted: #92a6c4;
  --faint: #6b7f9e;
  --heading: #f2f7ff;

  --radius: 20px;
  --radius-sm: 14px;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 30px 80px rgba(0, 0, 0, 0.6);
  --font-head: "Poppins", "Tajawal", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", "Tajawal", system-ui, -apple-system, "Segoe UI", sans-serif;
  --header-h: 76px;
  --transition: 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

html[lang="ar"] {
  --font-head: "Tajawal", "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Tajawal", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  font-size: 1.02rem;
  overflow-x: hidden;
  min-height: 100vh;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.22;
  font-weight: 700;
  color: var(--heading);
  letter-spacing: -0.01em;
}

.container { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: 24px; position: relative; }

::selection { background: rgba(0, 229, 195, 0.3); color: #fff; }

/* Custom scrollbar */
::-webkit-scrollbar { width: 11px; }
::-webkit-scrollbar-track { background: #060a13; }
::-webkit-scrollbar-thumb {
  background: linear-gradient(var(--neon), var(--neon-2));
  border-radius: 8px; border: 2px solid #060a13;
}

:focus-visible { outline: 2px solid var(--neon); outline-offset: 3px; border-radius: 6px; }

/* ==========================================================================
   FIXED AMBIENT BACKGROUND (aurora blobs, grid, vignette, noise)
   ========================================================================== */
.fx { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }

.fx-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(120, 170, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120, 170, 255, 0.055) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(ellipse 120% 80% at 50% 0%, #000 25%, transparent 78%);
  mask-image: radial-gradient(ellipse 120% 80% at 50% 0%, #000 25%, transparent 78%);
}

.blob { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.5; mix-blend-mode: screen; animation: drift 26s ease-in-out infinite alternate; }
.blob.b1 { width: 48vw; height: 48vw; left: -12vw; top: -14vw; background: radial-gradient(circle, rgba(0, 229, 195, 0.5), transparent 62%); }
.blob.b2 { width: 42vw; height: 42vw; right: -10vw; top: 16vh; background: radial-gradient(circle, rgba(91, 140, 255, 0.5), transparent 62%); animation-delay: -9s; animation-duration: 33s; }
.blob.b3 { width: 38vw; height: 38vw; left: 28vw; bottom: -16vw; background: radial-gradient(circle, rgba(177, 107, 255, 0.42), transparent 62%); animation-delay: -17s; animation-duration: 39s; }
@keyframes drift { from { transform: translate(0, 0) scale(1); } to { transform: translate(7vw, 5vw) scale(1.18); } }

.fx-vignette { position: absolute; inset: 0; background: radial-gradient(ellipse at center, transparent 52%, rgba(2, 4, 10, 0.9) 100%); }

.fx-noise {
  position: absolute; inset: 0; opacity: 0.05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Scroll progress bar ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 4000;
  background: linear-gradient(90deg, var(--neon), var(--neon-2), var(--neon-3));
  transform-origin: left; transform: scaleX(0);
  box-shadow: 0 0 14px rgba(0, 229, 195, 0.7);
}

/* ---------- Cursor ---------- */
.cursor-glow {
  position: fixed; top: 0; left: 0; width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 229, 195, 0.11), rgba(91, 140, 255, 0.05) 42%, transparent 70%);
  pointer-events: none; z-index: 1; mix-blend-mode: screen;
}
.cursor-ring {
  position: fixed; top: 0; left: 0; width: 30px; height: 30px; border-radius: 50%;
  border: 1.5px solid rgba(0, 229, 195, 0.75); pointer-events: none; z-index: 3000;
  box-shadow: 0 0 14px rgba(0, 229, 195, 0.55), inset 0 0 9px rgba(0, 229, 195, 0.35);
}

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute; inset-inline-start: 12px; top: -60px;
  background: var(--neon); color: #04120d; padding: 10px 18px; border-radius: 8px;
  z-index: 5000; transition: top 0.2s; font-weight: 600;
}
.skip-link:focus { top: 12px; }

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 27px; border-radius: 999px;
  font-weight: 600; font-size: 0.98rem;
  transition: box-shadow var(--transition), background var(--transition), color var(--transition), border-color var(--transition), transform 0.15s ease;
  border: 1.5px solid transparent; white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn::after {
  content: ""; position: absolute; top: 0; left: -140%; width: 55%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  transform: skewX(-20deg); transition: left 0.65s ease;
}
.btn:hover::after { left: 170%; }

.btn-primary {
  background: linear-gradient(120deg, #00c2a8, var(--neon) 45%, #2ee6d6);
  color: #04130f; box-shadow: 0 10px 30px rgba(0, 229, 195, 0.32);
}
.btn-primary:hover { box-shadow: 0 16px 46px rgba(0, 229, 195, 0.5); }

.btn-navy { background: linear-gradient(120deg, #3a66ff, var(--neon-2) 55%, #7aa0ff); color: #fff; box-shadow: 0 10px 30px rgba(91, 140, 255, 0.32); }
.btn-navy:hover { box-shadow: 0 16px 46px rgba(91, 140, 255, 0.5); }

.btn-ghost { background: rgba(255, 255, 255, 0.05); color: #fff; border-color: rgba(255, 255, 255, 0.28); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.14); border-color: rgba(255, 255, 255, 0.6); }

.btn-outline { background: transparent; color: var(--neon); border-color: rgba(0, 229, 195, 0.5); }
.btn-outline:hover { background: rgba(0, 229, 195, 0.12); border-color: var(--neon); box-shadow: 0 0 26px rgba(0, 229, 195, 0.3); }

.btn-lg { padding: 17px 34px; font-size: 1.05rem; }

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(6, 10, 20, 0.6);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line-soft);
  transition: box-shadow var(--transition), background var(--transition);
}
.site-header::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--neon), var(--neon-2), transparent);
  opacity: 0; transition: opacity var(--transition);
}
.site-header.scrolled { background: rgba(6, 10, 20, 0.85); box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5); }
.site-header.scrolled::after { opacity: 0.8; }

.header-inner { display: flex; align-items: center; gap: 20px; height: var(--header-h); }

.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand img { width: 46px; height: auto; filter: drop-shadow(0 0 12px rgba(0, 229, 195, 0.4)); }
.brand-text { display: flex; flex-direction: column; line-height: 1.18; }
.brand-text strong {
  font-family: var(--font-head); font-size: 1.02rem; font-weight: 700; letter-spacing: 0.01em;
  background: linear-gradient(90deg, #fff, #bde7ff);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.brand-text small { font-size: 0.7rem; color: var(--muted); font-weight: 500; letter-spacing: 0.06em; }

.main-nav { margin-inline-start: auto; }
.nav-list { display: flex; align-items: center; gap: 6px; }
.nav-list a {
  position: relative; padding: 9px 15px; border-radius: 999px;
  font-weight: 500; font-size: 0.95rem; color: #c4d4e8; transition: var(--transition);
}
.nav-list a:hover { color: #fff; background: rgba(0, 229, 195, 0.1); }
.nav-list a.active { color: #fff; font-weight: 600; }
.nav-list a.active::after {
  content: ""; position: absolute; inset-inline: 15px; bottom: 3px; height: 2px;
  background: var(--neon); border-radius: 2px; box-shadow: 0 0 10px var(--neon);
}

.header-actions { display: flex; align-items: center; gap: 10px; }

.lang-switch {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 14px; border: 1.5px solid var(--line); border-radius: 999px;
  font-weight: 600; font-size: 0.88rem; color: #d5e3f4; transition: var(--transition);
  background: rgba(255, 255, 255, 0.03);
}
.lang-switch:hover { border-color: var(--neon); color: var(--neon); box-shadow: 0 0 18px rgba(0, 229, 195, 0.25); }
.lang-switch svg { width: 16px; height: 16px; }

.header-cta { padding: 10px 20px; font-size: 0.9rem; }

.hamburger { display: none; width: 44px; height: 44px; border-radius: 10px; border: 1.5px solid var(--line); place-items: center; color: #eaf2ff; }
.hamburger svg { width: 22px; height: 22px; }

.mobile-nav {
  display: none; flex-direction: column; gap: 4px;
  padding: 12px 24px 22px; border-top: 1px solid var(--line-soft);
  background: rgba(6, 10, 20, 0.96);
}
.mobile-nav a { padding: 13px 14px; border-radius: 10px; font-weight: 500; color: #c4d4e8; }
.mobile-nav a:hover, .mobile-nav a.active { background: rgba(0, 229, 195, 0.12); color: #fff; }
.mobile-nav .btn { justify-content: center; margin-top: 8px; }
.nav-open .mobile-nav { display: flex; }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(900px 480px at 85% -10%, rgba(0, 229, 195, 0.18), transparent 60%),
    radial-gradient(700px 500px at -10% 110%, rgba(91, 140, 255, 0.16), transparent 55%),
    linear-gradient(160deg, rgba(5, 8, 16, 0.4), rgba(8, 14, 28, 0.1));
}
.particles { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero .container { position: relative; z-index: 1; }

.hero-grid {
  display: grid; grid-template-columns: 1.15fr 0.85fr;
  align-items: center; gap: 40px; padding: 66px 0 74px;
}

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  background: rgba(0, 229, 195, 0.08); border: 1px solid rgba(0, 229, 195, 0.35);
  color: #9ff3e6; padding: 8px 16px; border-radius: 999px;
  font-size: 0.84rem; font-weight: 600; letter-spacing: 0.02em;
  backdrop-filter: blur(6px);
}
.hero-eyebrow::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--neon);
  box-shadow: 0 0 0 4px rgba(0, 229, 195, 0.25), 0 0 12px var(--neon);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }

.hero-title { color: #fff; font-size: clamp(2.1rem, 4.6vw, 3.4rem); font-weight: 800; margin: 22px 0 18px; text-shadow: 0 10px 40px rgba(0, 0, 0, 0.5); }

.accent { color: var(--neon); text-shadow: 0 0 26px rgba(0, 229, 195, 0.55); }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .accent {
    background: linear-gradient(90deg, var(--neon), var(--neon-2), var(--neon-3), var(--neon));
    background-size: 240% auto;
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent;
    animation: shimmer 6s linear infinite;
  }
}
@keyframes shimmer { to { background-position: 240% center; } }

.hero-sub { color: #b9cde4; font-size: 1.1rem; max-width: 560px; }

/* Typewriter line */
.type-line { display: flex; align-items: baseline; gap: 10px; margin-top: 18px; font-family: var(--font-head); font-size: 1.08rem; font-weight: 600; color: #cfe0f2; flex-wrap: wrap; }
.type-label { color: var(--faint); font-size: 0.92rem; font-weight: 500; }
.type-word { color: var(--neon); text-shadow: 0 0 18px rgba(0, 229, 195, 0.6); min-width: 1ch; }
.type-caret { display: inline-block; width: 2px; height: 1.1em; background: var(--neon); box-shadow: 0 0 10px var(--neon); animation: caret 0.8s steps(1) infinite; align-self: center; }
@keyframes caret { 50% { opacity: 0; } }

.hero-cta, .hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
/* hero text column: both names occur across the templates */
.hero-copy, .hero-content { position: relative; z-index: 1; min-width: 0; }

.hero-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 8px 15px; border-radius: 999px; font-size: 0.84rem; color: #dcebf5; font-weight: 500;
  backdrop-filter: blur(6px);
}
.chip svg { width: 15px; height: 15px; color: var(--neon); }

.hero-media { position: relative; display: flex; justify-content: center; }
.hero-media .ring {
  position: absolute; border-radius: 50%; border: 1.5px dashed rgba(0, 229, 195, 0.28);
  inset: 8%; animation: spin 40s linear infinite;
}
.hero-media .ring.two { inset: 16%; border-color: rgba(91, 140, 255, 0.3); animation-direction: reverse; animation-duration: 26s; }
@keyframes spin { to { transform: rotate(360deg); } }

.logo-card {
  position: relative; z-index: 1; width: min(380px, 82%);
  background: linear-gradient(160deg, rgba(20, 30, 54, 0.9), rgba(10, 16, 30, 0.9));
  border: 1px solid rgba(125, 165, 240, 0.22);
  border-radius: 26px; padding: 26px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6), 0 0 60px rgba(0, 229, 195, 0.12);
  backdrop-filter: blur(10px);
}
.logo-card::before {
  content: ""; position: absolute; inset: 0; border-radius: 26px; padding: 1px;
  background: linear-gradient(140deg, rgba(0, 229, 195, 0.7), transparent 35%, transparent 70%, rgba(91, 140, 255, 0.6));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none;
}
.logo-card img { width: 100%; height: auto; filter: drop-shadow(0 14px 30px rgba(0, 0, 0, 0.5)); }
.logo-card .tag {
  display: flex; align-items: center; gap: 8px; justify-content: center;
  margin-top: 12px; color: #dcebf5; font-weight: 600; font-size: 0.85rem;
  font-family: var(--font-head); letter-spacing: 0.05em;
}
.logo-card .tag svg { width: 15px; height: 15px; color: var(--neon); filter: drop-shadow(0 0 6px var(--neon)); }

/* Scroll hint */
.scroll-hint {
  position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%);
  width: 26px; height: 42px; border: 2px solid rgba(255, 255, 255, 0.35); border-radius: 14px; z-index: 2;
}
.scroll-hint::before {
  content: ""; position: absolute; top: 7px; left: 50%; width: 4px; height: 8px; margin-left: -2px;
  border-radius: 2px; background: var(--neon); box-shadow: 0 0 8px var(--neon);
  animation: wheel 1.7s ease infinite;
}
@keyframes wheel { 0% { opacity: 1; transform: translateY(0); } 70% { opacity: 0; transform: translateY(15px); } 100% { opacity: 0; } }

/* The scroll hint is a desktop-only affordance: on narrow screens it collides
   with the hero CTA button, so hide it (JS also skips creating it). */
@media (max-width: 900px) {
  .scroll-hint { display: none; }
}

/* ==========================================================================
   TICKER / MARQUEE
   ========================================================================== */
.ticker {
  position: relative; overflow: hidden;
  border-block: 1px solid var(--line-soft);
  background: linear-gradient(90deg, rgba(0, 229, 195, 0.05), rgba(91, 140, 255, 0.05));
}
.ticker-track { display: flex; align-items: center; width: max-content; padding-block: 15px; animation: ticker 38s linear infinite; white-space: nowrap; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ti { font-family: var(--font-head); font-weight: 600; letter-spacing: 0.08em; color: #a9c0da; font-size: 0.88rem; text-transform: uppercase; }
html[lang="ar"] .ti { text-transform: none; letter-spacing: 0; }
.ts { margin-inline: 1.5rem; color: var(--neon); filter: drop-shadow(0 0 8px var(--neon)); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Trust strip ---------- */
.trust-strip { border-bottom: 1px solid var(--line-soft); background: rgba(8, 13, 24, 0.4); backdrop-filter: blur(6px); }
.trust-strip .container { display: flex; flex-wrap: wrap; gap: 10px 34px; padding-block: 20px; }
.trust-strip span { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-weight: 500; font-size: 0.9rem; }
.trust-strip svg { width: 17px; height: 17px; color: var(--neon); filter: drop-shadow(0 0 6px var(--neon-dim)); }

/* ==========================================================================
   SECTIONS
   ========================================================================== */
.section { padding: 62px 0; position: relative; }
.section.alt { background: linear-gradient(180deg, transparent, rgba(15, 23, 42, 0.35), transparent); }

.section-head { max-width: 720px; margin-bottom: 34px; }
.section-head.center { margin-inline: auto; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--neon); font-weight: 700; font-size: 0.82rem;
  letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 12px;
  text-shadow: 0 0 14px rgba(0, 229, 195, 0.5);
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--neon); border-radius: 2px; box-shadow: 0 0 10px var(--neon); }
html[lang="ar"] .eyebrow { letter-spacing: 0; text-transform: none; }
.section-title { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
.section-sub { color: var(--muted); margin-top: 12px; font-size: 1.04rem; }

/* ---------- Word-split reveal (headings) ---------- */
.wi, .wi-accent {
  display: inline-block; opacity: 0; transform: translateY(0.7em);
  filter: blur(8px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1), filter 0.7s ease;
  transition-delay: calc(var(--i, 0) * 70ms);
}
html[lang="ar"] .wi, html[lang="ar"] .wi-accent { transform: translateY(0.7em); }
.split.in .wi, .split.in .wi-accent { opacity: 1; transform: translateY(0); filter: none; }

/* ---------- Cards (shared) ---------- */
.card-base {
  position: relative; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}

.service-card {
  position: relative; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; height: 100%; overflow: hidden;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transition: border-color var(--transition), box-shadow var(--transition), transform 0.2s ease;
}
.service-card::before {
  content: ""; position: absolute; top: 0; inset-inline: 0; height: 3px;
  background: linear-gradient(90deg, var(--acc, var(--neon)), transparent);
  opacity: 0.5; transition: opacity var(--transition);
}
.service-card::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; opacity: 0; transition: opacity 0.35s;
  background: radial-gradient(520px circle at var(--mx, 50%) var(--my, 50%), color-mix(in srgb, var(--acc, var(--neon)) 13%, transparent), transparent 45%);
  pointer-events: none;
}
.service-card:hover { border-color: color-mix(in srgb, var(--acc, var(--neon)) 50%, transparent); box-shadow: var(--shadow-lg), 0 0 42px color-mix(in srgb, var(--acc, var(--neon)) 16%, transparent); }
.service-card:hover::before { opacity: 1; }
.service-card:hover::after { opacity: 1; }

/* accent colors per card */
.service-card:nth-child(4n+1) { --acc: var(--neon); }
.service-card:nth-child(4n+2) { --acc: var(--neon-2); }
.service-card:nth-child(4n+3) { --acc: var(--neon-3); }
.service-card:nth-child(4n+4) { --acc: var(--neon-4); }

.icon-badge {
  width: 60px; height: 60px; border-radius: 16px; display: grid; place-items: center;
  background: color-mix(in srgb, var(--acc, var(--neon)) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--acc, var(--neon)) 32%, transparent);
  color: var(--acc, var(--neon)); margin-bottom: 18px;
  box-shadow: inset 0 0 20px color-mix(in srgb, var(--acc, var(--neon)) 12%, transparent);
}
.icon-badge svg { width: 28px; height: 28px; filter: drop-shadow(0 0 8px color-mix(in srgb, var(--acc, var(--neon)) 60%, transparent)); }
.service-card h3 { font-size: 1.18rem; margin-bottom: 10px; }
.service-card p { color: var(--muted); font-size: 0.95rem; }
.service-card .link { display: inline-flex; align-items: center; gap: 7px; margin-top: 16px; color: var(--acc, var(--neon)); font-weight: 600; font-size: 0.9rem; }
.service-card .link svg { width: 16px; height: 16px; transition: transform var(--transition); }
.service-card:hover .link svg { transform: translateX(4px); }
html[lang="ar"] .service-card:hover .link svg { transform: translateX(-4px); }

/* ---------- Stats band ---------- */
.stats-band {
  position: relative; overflow: hidden;
  background:
    radial-gradient(700px 300px at 100% 0%, rgba(0, 229, 195, 0.16), transparent 55%),
    linear-gradient(150deg, rgba(6, 11, 22, 0.6), rgba(12, 20, 40, 0.4));
  color: #fff; padding: 50px 0;
  border-block: 1px solid var(--line-soft);
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; text-align: center; }
.stat { padding: 12px; }
.stat-num { font-family: var(--font-head); font-size: clamp(2.3rem, 4.5vw, 3.1rem); font-weight: 800; color: #fff; }
.stat-num .plus, .stat-num [data-count] {
  text-shadow: 0 0 30px rgba(0, 229, 195, 0.6);
  background: linear-gradient(90deg, var(--neon), var(--neon-2));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.stat-label { color: #9fb6cf; margin-top: 6px; font-weight: 500; font-size: 0.95rem; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 40px; align-items: center; }
.about-media { position: relative; }
.about-media .frame {
  position: relative; border-radius: 24px; padding: 26px;
  background: var(--surface); border: 1px solid var(--line);
  box-shadow: var(--shadow-lg); backdrop-filter: blur(8px);
}
.about-media .frame img { width: 100%; }
.about-media .badge {
  position: absolute; bottom: -22px; inset-inline-start: -20px;
  background: linear-gradient(140deg, #0d2240, #0a1730); color: #fff;
  border: 1px solid rgba(0, 229, 195, 0.35); border-radius: 16px; padding: 16px 22px;
  box-shadow: var(--shadow-lg), 0 0 30px rgba(0, 229, 195, 0.2);
  display: flex; align-items: center; gap: 12px;
}
.about-media .badge svg { width: 30px; height: 30px; color: var(--neon); filter: drop-shadow(0 0 8px var(--neon-dim)); }
.about-media .badge strong { font-family: var(--font-head); font-size: 1.25rem; display: block; line-height: 1.1; }
.about-media .badge span { font-size: 0.8rem; color: #9fb6cf; }

.check-list { display: grid; gap: 14px; margin: 22px 0 28px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list svg { width: 22px; height: 22px; color: var(--neon); flex-shrink: 0; margin-top: 3px; filter: drop-shadow(0 0 6px var(--neon-dim)); }
.check-list span { color: var(--ink); }
.check-list strong { color: #fff; }

/* ---------- Why us ---------- */
.why-item {
  --acc: var(--neon);
  display: flex; gap: 16px; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 22px; height: 100%;
  backdrop-filter: blur(8px);
  transition: border-color var(--transition), box-shadow var(--transition), transform 0.2s ease;
  position: relative; overflow: hidden;
}
.why-item::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; opacity: 0; transition: opacity 0.35s;
  background: radial-gradient(460px circle at var(--mx, 50%) var(--my, 50%), color-mix(in srgb, var(--acc) 12%, transparent), transparent 45%);
  pointer-events: none;
}
.why-item:hover { box-shadow: var(--shadow), 0 0 30px color-mix(in srgb, var(--acc) 14%, transparent); border-color: color-mix(in srgb, var(--acc) 45%, transparent); }
.why-item:hover::after { opacity: 1; }
.why-item:nth-child(6n+1) { --acc: var(--neon); }
.why-item:nth-child(6n+2) { --acc: var(--neon-2); }
.why-item:nth-child(6n+3) { --acc: var(--neon-3); }
.why-item:nth-child(6n+4) { --acc: var(--neon-4); }
.why-item:nth-child(6n+5) { --acc: var(--neon-2); }
.why-item:nth-child(6n+6) { --acc: var(--neon); }
.why-item .icon-badge { width: 48px; height: 48px; border-radius: 12px; margin: 0; flex-shrink: 0; }
.why-item .icon-badge svg { width: 24px; height: 24px; }
.why-item h4 { font-size: 1.02rem; margin-bottom: 6px; }
.why-item p { color: var(--muted); font-size: 0.9rem; }

/* ---------- Coverage ---------- */
.region-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; backdrop-filter: blur(8px); position: relative; overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition), transform 0.2s ease;
}
.region-card::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; opacity: 0; transition: opacity 0.35s;
  background: radial-gradient(460px circle at var(--mx, 50%) var(--my, 50%), rgba(0, 229, 195, 0.12), transparent 45%);
  pointer-events: none;
}
.region-card:hover { box-shadow: var(--shadow), 0 0 30px rgba(0, 229, 195, 0.14); border-color: rgba(0, 229, 195, 0.4); }
.region-card:hover::after { opacity: 1; }
.region-card .region-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.region-card .region-head svg { width: 26px; height: 26px; color: var(--neon); filter: drop-shadow(0 0 8px var(--neon-dim)); }
.region-card h3 { font-size: 1.12rem; }
.region-card ul { display: flex; flex-wrap: wrap; gap: 8px; }
.region-card ul li { background: rgba(125, 165, 240, 0.1); color: var(--muted); font-size: 0.82rem; padding: 5px 12px; border-radius: 999px; font-weight: 500; border: 1px solid var(--line-soft); }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden;
  background:
    radial-gradient(600px 260px at 12% 0%, rgba(255, 255, 255, 0.16), transparent 55%),
    linear-gradient(120deg, #00b8a0, #00d4b4 40%, #3a7bff);
  color: #fff; border-radius: 26px; padding: 40px 40px;
  display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5), 0 0 60px rgba(0, 229, 195, 0.25);
}
.cta-band::before {
  content: ""; position: absolute; inset: 0; opacity: 0.4; pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, 0.35) 1px, transparent 1.6px); background-size: 24px 24px;
  -webkit-mask-image: linear-gradient(100deg, transparent 20%, #000);
  mask-image: linear-gradient(100deg, transparent 20%, #000);
}
.cta-band h2 { color: #fff; font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: 8px; text-shadow: 0 4px 24px rgba(0, 0, 0, 0.3); }
.cta-band p { color: #eafffd; max-width: 560px; }
.cta-band .btn { background: #fff; color: #03241d; border-color: #fff; box-shadow: 0 12px 34px rgba(3, 30, 26, 0.35); }
.cta-band .btn:hover { background: #0a1730; color: #fff; }
.cta-band > * { position: relative; z-index: 1; }

/* ---------- Footer ---------- */
.site-footer { position: relative; background: linear-gradient(180deg, rgba(5, 8, 16, 0.6), #04060d); border-top: 1px solid var(--line-soft); color: #a9c0d6; }
.site-footer::before {
  content: ""; position: absolute; top: -1px; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--neon), var(--neon-2), transparent); opacity: 0.6;
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 36px; padding: 46px 0 30px; }
.footer-brand p { font-size: 0.92rem; margin-top: 14px; max-width: 300px; }
.footer-brand .brand img { width: 42px; }
.footer-brand .brand small { color: var(--faint); }
.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.footer-social a {
  width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line);
  color: #cfe1f0; transition: var(--transition);
}
.footer-social a:hover { background: rgba(0, 229, 195, 0.14); color: var(--neon); border-color: var(--neon); box-shadow: 0 0 20px rgba(0, 229, 195, 0.3); }
.footer-social svg { width: 19px; height: 19px; }

.footer-col h4 { color: #fff; font-size: 0.95rem; margin-bottom: 18px; letter-spacing: 0.03em; }
.footer-col ul { display: grid; gap: 11px; }
.footer-col ul a { color: #9db5cf; font-size: 0.92rem; transition: var(--transition); }
.footer-col ul a:hover { color: var(--neon); padding-inline-start: 4px; }
.footer-contact li { display: flex; gap: 11px; align-items: flex-start; font-size: 0.92rem; }
.footer-contact svg { width: 18px; height: 18px; color: var(--neon); flex-shrink: 0; margin-top: 4px; }
.footer-contact a:hover { color: var(--neon); }

.footer-bottom { border-top: 1px solid var(--line-soft); padding: 22px 0; display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; justify-content: space-between; font-size: 0.85rem; color: var(--faint); }
.footer-bottom a:hover { color: var(--neon); }
.footer-bottom svg { width: 16px; height: 16px; vertical-align: -3px; color: var(--neon); }

/* ==========================================================================
   INNER PAGES
   ========================================================================== */
.page-hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(700px 380px at 90% -20%, rgba(0, 229, 195, 0.16), transparent 60%),
    radial-gradient(600px 400px at -10% 110%, rgba(91, 140, 255, 0.14), transparent 55%),
    linear-gradient(160deg, rgba(6, 11, 22, 0.5), rgba(8, 14, 28, 0.1));
  padding: 74px 0;
  border-bottom: 1px solid var(--line-soft);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; font-size: clamp(1.9rem, 4vw, 2.8rem); margin: 14px 0 12px; text-shadow: 0 10px 40px rgba(0, 0, 0, 0.5); }
.page-hero p { color: #b9cde4; max-width: 680px; font-size: 1.06rem; }

.breadcrumbs { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 0.86rem; color: #7e95b4; }
.breadcrumbs a { color: var(--neon); }
.breadcrumbs svg { width: 13px; height: 13px; color: #4a5f7c; }
html[lang="ar"] .breadcrumbs svg { transform: scaleX(-1); }

/* ---------- Feature (services detail) ---------- */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.feature + .feature { margin-top: 56px; }
.feature .icon-badge { width: 66px; height: 66px; }
.feature .icon-badge svg { width: 30px; height: 30px; }
.feature h2 { font-size: clamp(1.4rem, 2.8vw, 1.9rem); margin-bottom: 12px; }
.feature p { color: var(--muted); }
.feature .check-list { margin-top: 18px; }
.feature-media {
  position: relative; border-radius: 24px; padding: 40px;
  display: grid; place-items: center; min-height: 300px;
  background:
    radial-gradient(300px 200px at 30% 20%, color-mix(in srgb, var(--acc, var(--neon)) 16%, transparent), transparent 70%),
    var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg), 0 0 50px color-mix(in srgb, var(--acc, var(--neon)) 12%, transparent);
}
.feature:nth-of-type(1) .feature-media, .feature:nth-of-type(1) .icon-badge { --acc: var(--neon); }
.feature:nth-of-type(2) .feature-media, .feature:nth-of-type(2) .icon-badge { --acc: var(--neon-2); }
.feature:nth-of-type(3) .feature-media, .feature:nth-of-type(3) .icon-badge { --acc: var(--neon-3); }
.feature:nth-of-type(4) .feature-media, .feature:nth-of-type(4) .icon-badge { --acc: var(--neon-4); }
.feature-media svg { width: 120px; height: 120px; color: var(--acc, var(--neon)); filter: drop-shadow(0 0 30px color-mix(in srgb, var(--acc, var(--neon)) 60%, transparent)); animation: floaty 5s ease-in-out infinite; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

/* Process steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.step {
  position: relative; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px 24px; backdrop-filter: blur(8px); overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition), transform 0.2s ease;
}
.step:hover { border-color: rgba(0, 229, 195, 0.4); box-shadow: var(--shadow), 0 0 30px rgba(0, 229, 195, 0.12); }
.step .num {
  font-family: var(--font-head); font-weight: 800; font-size: 2.4rem; line-height: 1;
  margin-bottom: 14px;
  background: linear-gradient(90deg, var(--neon), var(--neon-2));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  opacity: 0.9;
}
.step h3 { font-size: 1.05rem; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 0.9rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 30px; align-items: start; }
.info-card {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 22px; backdrop-filter: blur(8px); position: relative; overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition), transform 0.2s ease;
}
.info-card:hover { box-shadow: var(--shadow), 0 0 30px rgba(0, 229, 195, 0.12); border-color: rgba(0, 229, 195, 0.4); }
.info-card .icon-badge { width: 48px; height: 48px; border-radius: 12px; margin: 0; flex-shrink: 0; }
.info-card .icon-badge svg { width: 23px; height: 23px; }
.info-card h4 { font-size: 0.95rem; margin-bottom: 4px; }
.info-card p, .info-card a { color: var(--muted); font-size: 0.92rem; word-break: break-word; }
.info-card a:hover { color: var(--neon); }
.info-stack { display: grid; gap: 16px; }

.form-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px; box-shadow: var(--shadow-lg); backdrop-filter: blur(10px); position: relative;
}
.form-card::before {
  content: ""; position: absolute; inset: 0; border-radius: var(--radius); padding: 1px;
  background: linear-gradient(140deg, rgba(0, 229, 195, 0.5), transparent 30%, transparent 70%, rgba(91, 140, 255, 0.5));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 7px; margin-bottom: 18px; }
.field label { font-weight: 600; font-size: 0.9rem; color: #dcebf5; }
.field label .req { color: var(--neon-4); }
.field input, .field select, .field textarea {
  width: 100%; border: 1.5px solid var(--line); border-radius: 12px;
  padding: 13px 16px; background: rgba(8, 13, 24, 0.6); transition: var(--transition); font-size: 0.95rem; color: var(--ink);
}
.field select { appearance: none; }
.field input::placeholder, .field textarea::placeholder { color: var(--faint); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--neon); background: rgba(8, 13, 24, 0.85);
  box-shadow: 0 0 0 4px rgba(0, 229, 195, 0.14), 0 0 20px rgba(0, 229, 195, 0.2);
}
.field textarea { min-height: 140px; resize: vertical; }
.form-note { font-size: 0.82rem; color: var(--faint); margin-top: 10px; }

.form-success { display: none; text-align: center; padding: 30px 10px; }
.form-success .icon-badge { margin: 0 auto 16px; width: 64px; height: 64px; background: rgba(0, 229, 195, 0.14); color: var(--neon); }
.form-success h3 { color: #fff; margin-bottom: 8px; }
.form-success p { color: var(--muted); margin-bottom: 20px; }
.form-success .actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.map-wrap { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-lg); line-height: 0; }
.map-wrap iframe { width: 100%; height: 360px; border: 0; filter: saturate(0.85) contrast(1.05); }

/* FAQ */
.faq { display: grid; gap: 14px; max-width: 820px; margin-inline: auto; }
.faq-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; backdrop-filter: blur(8px); transition: border-color var(--transition), box-shadow var(--transition); }
.faq-item[open] { border-color: rgba(0, 229, 195, 0.4); box-shadow: 0 0 30px rgba(0, 229, 195, 0.12); }
.faq-item summary {
  cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 24px; font-weight: 600; color: #eaf2ff; font-family: var(--font-head); font-size: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .icon { width: 22px; height: 22px; color: var(--neon); flex-shrink: 0; transition: transform var(--transition); }
.faq-item[open] summary .icon { transform: rotate(45deg); }
.faq-item .faq-body { padding: 0 24px 22px; color: var(--muted); font-size: 0.95rem; }

/* ==========================================================================
   MOTION — reveal on scroll, tilt, parallax
   ========================================================================== */
html.js .reveal { opacity: 0; translate: 0 30px; filter: blur(6px); transition: opacity 0.8s ease, translate 0.8s cubic-bezier(0.2, 0.7, 0.2, 1), filter 0.8s ease; }
/* NOTE: must be at least as specific as `html.js .reveal` (0,2,1), otherwise
   the hidden state wins and every animated block stays invisible. */
html.js .reveal.visible { opacity: 1; translate: 0 0; filter: none; }

/* 3D tilt (transform composes with `translate` above) */
.tilt { transform: perspective(1100px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transform-style: preserve-3d; will-change: transform; transition: transform 0.18s ease; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
/* --------------------------------------------------------------------------
   Grid utilities  (base rules - the responsive overrides further down rely
   on these existing, so they must stay ABOVE the @media blocks)
   -------------------------------------------------------------------------- */
.grid { display: grid; gap: 22px; align-items: stretch; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }

@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-grid { gap: 32px; }
}

@media (max-width: 900px) {
  .main-nav, .header-cta { display: none; }
  .hamburger { display: grid; }
  .hero-grid, .about-grid, .feature, .contact-grid { grid-template-columns: 1fr; }
  .hero-grid { padding: 56px 0 84px; text-align: center; }
  .hero-sub { margin-inline: auto; }
  .hero-cta, .hero-chips, .type-line { justify-content: center; }
  .hero-media { order: -1; }
  .hero-eyebrow { justify-content: center; }
  .about-media { order: -1; max-width: 480px; margin-inline: auto; }
  .feature-media { min-height: 220px; order: -1; }
  .cta-band { padding: 44px 30px; text-align: center; justify-content: center; }
  .section { padding: 50px 0; }
  .footer-grid { gap: 32px; }
  .blob.b1 { width: 80vw; height: 80vw; }
  .blob.b2 { width: 70vw; height: 70vw; }
  .blob.b3 { width: 70vw; height: 70vw; }
}

@media (max-width: 560px) {
  .grid-4, .grid-3, .grid-2, .steps, .form-row { grid-template-columns: 1fr; }
  .brand-text strong { font-size: 0.9rem; }
  .brand-text small { display: none; }
  .lang-switch span { display: none; }
  .lang-switch { padding: 8px 11px; }
  .header-actions { gap: 8px; }
  .hero .btn { width: 100%; justify-content: center; }
  .footer-grid { grid-template-columns: 1fr; padding: 38px 0 26px; }
  .about-media .badge { inset-inline-start: 8px; }
  .form-card { padding: 24px 20px; }
  .logo-card { width: 78%; }
}

/* ==========================================================================
   REDUCED MOTION
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001s !important; animation-iteration-count: 1 !important; transition-duration: 0.001s !important; }
  html.js .reveal, html.js .reveal.visible,
  .split .wi, .split .wi-accent,
  html[lang="ar"] .wi, html[lang="ar"] .wi-accent,
  .wi, .wi-accent { opacity: 1; transform: none; translate: 0 0; filter: none; }
  .ticker-track { animation: none; }
  .particles, .cursor-glow, .cursor-ring, .scroll-hint { display: none; }
}

/* ==================================================================
   Utility classes (replace inline styles so we can run a strict CSP)
   ================================================================== */
.mb-14 { margin-bottom: 14px; }
.text-muted { color: var(--muted); }
.my-10-24 { margin: 10px 0 24px; }
.btn-full { width: 100%; justify-content: center; }
.page-404 { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 40px 20px; }
.code-404 { font-size: 3rem; }

/* Visible focus ring for keyboard users (a11y / WCAG 2.4.7) */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--neon);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ==================================================================
   Privacy-first map (click-to-load) + form honeypot
   ================================================================== */
.map-consent {
  position: relative;
  min-height: 300px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 30px 24px;
  line-height: 1.6;
  background:
    radial-gradient(120% 120% at 20% 0%, rgba(0, 229, 195, 0.10), transparent 60%),
    radial-gradient(120% 120% at 90% 100%, rgba(91, 140, 255, 0.12), transparent 60%),
    var(--surface, #0b1020);
}
.map-consent::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 34px 34px;
  pointer-events: none;
}
.map-consent-inner { position: relative; max-width: 420px; }
.map-consent-icon { display: inline-grid; place-items: center; margin-bottom: 14px; color: var(--neon); }
.map-consent-icon svg { width: 34px; height: 34px; }
.map-consent-text { color: var(--muted); font-size: 0.92rem; margin: 0 0 14px; }
.map-open-link { display: inline-block; margin-top: 12px; font-size: 0.85rem; color: var(--muted); text-decoration: underline; }
.map-open-link:hover { color: var(--neon); }
.map-loaded { width: 100%; height: 360px; border: 0; filter: saturate(0.85) contrast(1.05); }

/* Honeypot: invisible to people, but NOT display:none (bots skip those).
   Must stay direction-neutral: a large negative `left` offset is harmless in
   LTR but creates thousands of pixels of horizontal overflow in RTL. */
.hp-field {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* ==================================================================
   Contact form — status message + sending state
   ================================================================== */
.form-status { margin: 10px 0 0; font-size: 0.9rem; min-height: 1.2em; }
.form-status:empty { display: none; }
.form-status.is-error { color: #ff5d8f; }
.form-status.is-ok { color: var(--neon); }

.btn[disabled], .btn.is-loading { opacity: 0.65; cursor: progress; }
.btn.is-loading { pointer-events: none; }
.btn.is-loading::after {
  content: "";
  display: inline-block;
  width: 14px; height: 14px;
  margin-inline-start: 10px;
  border: 2px solid currentColor;
  border-top-color: transparent;
  border-radius: 50%;
  vertical-align: -2px;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .btn.is-loading::after { animation: none; }
}

/* ==================================================================
   Products page — therapeutic areas, filters, homepage area strip
   ================================================================== */
/* .hero.compact must NOT add outer padding - .hero-grid already has its own,
   otherwise inner-page heroes get padded twice. */
.hero.compact { padding-block: 0; }
.hero.compact .hero-grid { padding-block: clamp(30px, 3.6vw, 48px) clamp(26px, 3vw, 40px); }

.center-wrap { display: flex; justify-content: center; margin-top: 34px; }

/* ---- filter bar ---- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin: 0 0 34px;
}
.filter-btn {
  appearance: none;
  cursor: pointer;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 500;
  padding: 9px 18px;
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  transition: color 0.25s, border-color 0.25s, background 0.25s, transform 0.25s;
}
.filter-btn:hover {
  color: var(--text);
  border-color: var(--neon);
  transform: translateY(-2px);
}
.filter-btn.is-active {
  color: #04121a;
  background: linear-gradient(120deg, var(--neon), var(--neon-2));
  border-color: transparent;
  box-shadow: 0 8px 26px -12px var(--neon);
}

/* ---- product grid ---- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 18px;
}
.product-card {
  position: relative;
  padding: 26px 22px 22px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface-2, rgba(255, 255, 255, 0.025));
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1), border-color 0.4s, opacity 0.35s;
}
.product-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(140deg, var(--neon), var(--neon-3));
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
  -webkit-mask: linear-gradient(#000, #000) content-box, linear-gradient(#000, #000);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  padding: 1px;
}
.product-card:hover { transform: translateY(-6px); }
.product-card:hover::before { opacity: 0.65; }

.product-icon {
  display: inline-grid;
  place-items: center;
  width: 46px; height: 46px;
  margin-bottom: 16px;
  border-radius: 13px;
  color: var(--neon);
  background: linear-gradient(140deg, rgba(0, 229, 195, 0.14), rgba(91, 140, 255, 0.14));
  border: 1px solid var(--line);
}
.product-icon svg { width: 23px; height: 23px; }
.product-card h3 { font-size: 1.06rem; margin: 0 0 8px; }
.product-card p { color: var(--muted); font-size: 0.9rem; margin: 0 0 18px; line-height: 1.65; }
.product-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--neon);
}
.product-link svg { width: 15px; height: 15px; transition: transform 0.3s; }
.product-link:hover svg { transform: translateX(4px); }
[dir="rtl"] .product-link:hover svg { transform: translateX(-4px); }

/* cards hidden by the filter */
.product-card.is-filtered-out { display: none; }

.products-note {
  margin: 26px auto 0;
  max-width: 640px;
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
}

/* ---- homepage therapeutic-area strip ---- */
.area-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}
.area-chip {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 15px 17px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 500;
  transition: transform 0.3s cubic-bezier(0.2, 0.7, 0.2, 1), border-color 0.3s, background 0.3s;
}
.area-chip svg { width: 19px; height: 19px; color: var(--neon); flex: none; }
.area-chip:hover {
  transform: translateY(-4px);
  border-color: var(--neon);
  background: rgba(0, 229, 195, 0.06);
}

/* ==================================================================
   Small screens — keep the header inside the viewport.
   `.brand` is `flex-shrink: 0`, so on narrow phones the language
   switch + hamburger were pushed outside the viewport (57px overflow
   at 320px on the English pages, whose brand text is wider).
   ================================================================== */
@media (max-width: 560px) {
  .brand { min-width: 0; flex-shrink: 1; }
  .brand-text { min-width: 0; }
  .brand-text strong {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .header-actions { flex-shrink: 0; }
}

@media (max-width: 360px) {
  .container { padding-inline: 14px; }
  .header-inner { gap: 8px; }
  .brand { gap: 8px; }
  .brand img { width: 34px; }
  .brand-text strong { font-size: 0.78rem; }
  .lang-switch { padding: 7px 9px; }
  .hamburger { width: 38px; height: 38px; }
  .hero-title { font-size: clamp(1.7rem, 8vw, 2.2rem); }
}
