/* =========================================================
   عبقري الشمال — Northern Prestige House
   Unified design system (landing + shared tokens)
   CMS bridge: app.js sets --primary / --accent / --hero-bg
   ========================================================= */

:root {
  /* CMS-driven tokens (defaults match brand; app.js overrides) */
  --primary: #060D1A;
  --primary-light: #0D1B2E;
  --primary-lighter: #162742;
  --accent: #C9A84C;
  --accent-hover: #E8CC7A;
  --accent-glow: rgba(201, 168, 76, 0.35);
  --hero-bg: url("assets/hero-northern-prestige.jpg");

  /* UI aliases → bridge so --p/--gold follow CMS */
  --p: var(--primary);
  --p1: var(--primary-light);
  --p2: var(--primary-lighter);
  --gold: var(--accent);
  --gold-light: var(--accent-hover);
  --gold-dim: rgba(201, 168, 76, 0.18);
  --gold-d: rgba(201, 168, 76, 0.14);

  --white: #ffffff;
  --muted: #8CA0B8;
  --text: #ffffff;
  --text-muted: #8CA0B8;
  --success: #10B981;
  --warning: #F59E0B;
  --danger: #EF4444;

  --glass: rgba(255, 255, 255, 0.035);
  --glass-border: rgba(255, 255, 255, 0.08);
  --gb: rgba(255, 255, 255, 0.08);

  --nav-h: 78px;
  --ann-bar-height: 42px;
  --r: 16px;
  --transition: 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  --tr: all 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Cairo", sans-serif;
  background: var(--p);
  color: var(--white);
  direction: rtl;
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font-family: inherit; }
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* ====== ANNOUNCEMENT BAR ====== */
#announcement-bar {
  background: var(--gold);
  color: var(--p);
  text-align: center;
  font-size: 14px;
  font-weight: 800;
  padding: 10px 48px;
  position: relative;
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  overflow: hidden;
  min-height: var(--ann-bar-height);
}
#announcement-bar.hidden { display: none; }
.ann-text {
  animation: marquee 18s linear infinite;
  white-space: nowrap;
}
@keyframes marquee {
  0% { transform: translateX(-12%); }
  100% { transform: translateX(12%); }
}
#ann-close {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--p);
  font-size: 16px;
  cursor: pointer;
  opacity: 0.7;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}
#ann-close:hover { opacity: 1; }

/* ====== NAVBAR (compact single row) ====== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-h);
  min-height: var(--nav-h);
  max-height: var(--nav-h);
  padding: 0 5%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: rgba(6, 13, 26, 0.55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease, top 0.35s ease;
}

.navbar.solid {
  background: rgba(6, 13, 26, 0.96);
  border-bottom-color: rgba(201, 168, 76, 0.14);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
}

body.has-ann-bar .navbar {
  top: var(--ann-bar-height);
}

body.has-ann-bar .navbar.solid {
  top: 0;
}

.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  flex-shrink: 0;
  z-index: 1002;
  max-height: none;
  overflow: visible;
}

.nav-brand-icon,
#header-logo-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--gold), #8a6820);
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 24px;
  color: var(--p);
  box-shadow: 0 4px 14px var(--accent-glow);
  flex-shrink: 0;
}

#header-logo-img {
  display: none;
  height: 52px;
  width: auto;
  border-radius: 8px;
  object-fit: contain;
}

.nav-brand-text {
  font-size: 23px;
  font-weight: 800;
  /* لا نستخدم background-clip:text — يخفي نقاط الياء العربية في كثير من المتصفحات */
  color: #F5F0E6;
  background: none;
  -webkit-text-fill-color: unset;
  -webkit-background-clip: unset;
  background-clip: unset;
  white-space: nowrap;
  line-height: 1.55;
  padding: 2px 0 5px;
  overflow: visible;
  text-shadow: 0 0 24px rgba(201, 168, 76, 0.22);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px 22px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1;
  justify-content: center;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  padding: 8px 2px;
  position: relative;
  transition: color 0.25s;
  white-space: nowrap;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 4px;
  right: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active { color: var(--white); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

.nav-marketer-cta {
  color: var(--gold-light) !important;
}
.nav-marketer-cta .mk-icon {
  color: var(--accent-hover) !important;
  margin-inline-end: 6px;
}

.nav-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  z-index: 1002;
}

.nav-cta {
  background: linear-gradient(135deg, var(--gold), #8a6820);
  color: var(--p) !important;
  font-weight: 800 !important;
  padding: 10px 20px !important;
  border-radius: 12px;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(201, 168, 76, 0.28);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  white-space: nowrap;
  font-size: 13px !important;
  min-height: 44px;
  display: inline-flex !important;
  align-items: center;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201, 168, 76, 0.4);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--glass-border);
  color: var(--white);
  width: 44px;
  height: 44px;
  border-radius: 10px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}
.nav-toggle:hover { color: var(--gold); border-color: var(--gold); }

/* ====== HERO ====== */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding:
    calc(var(--nav-h) + 48px) 6% 72px;
  overflow: hidden;
  isolation: isolate;
}

body.has-ann-bar .hero {
  padding-top: calc(var(--nav-h) + var(--ann-bar-height) + 40px);
}

.hero-bg {
  position: absolute;
  inset: -4%;
  background-color: var(--p);
  background-image:
    linear-gradient(105deg, rgba(6, 13, 26, 0.94) 0%, rgba(6, 13, 26, 0.78) 42%, rgba(6, 13, 26, 0.52) 100%),
    linear-gradient(180deg, rgba(6, 13, 26, 0.28) 0%, rgba(6, 13, 26, 0.9) 100%),
    var(--hero-bg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
  animation: heroKenBurns 28s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes heroKenBurns {
  from { transform: scale(1.02) translate3d(0, 0, 0); }
  to { transform: scale(1.1) translate3d(-1.5%, 1%, 0); }
}

.hero-vignette {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 55% 60% at 78% 42%, rgba(201, 168, 76, 0.08), transparent 70%),
    radial-gradient(ellipse 50% 55% at 12% 80%, rgba(40, 90, 140, 0.12), transparent 65%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image:
    linear-gradient(rgba(201, 168, 76, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 168, 76, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.55), transparent 85%);
  pointer-events: none;
  opacity: 0.85;
  animation: heroGridDrift 22s linear infinite;
}
@keyframes heroGridDrift {
  from { background-position: 0 0, 0 0; }
  to { background-position: 64px 32px, 64px 32px; }
}

/* طبقات شفافة متحركة */
.hero-fx {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.55;
  mix-blend-mode: screen;
}
.hero-orb-a {
  width: min(42vw, 420px);
  height: min(42vw, 420px);
  top: 8%;
  left: 6%;
  background: radial-gradient(circle, rgba(201, 168, 76, 0.35), transparent 68%);
  animation: orbFloatA 14s ease-in-out infinite;
}
.hero-orb-b {
  width: min(36vw, 360px);
  height: min(36vw, 360px);
  bottom: 6%;
  right: 8%;
  background: radial-gradient(circle, rgba(90, 140, 200, 0.28), transparent 70%);
  animation: orbFloatB 18s ease-in-out infinite;
}
.hero-orb-c {
  width: min(28vw, 260px);
  height: min(28vw, 260px);
  top: 42%;
  left: 42%;
  background: radial-gradient(circle, rgba(232, 204, 122, 0.18), transparent 68%);
  animation: orbFloatC 16s ease-in-out infinite;
}
@keyframes orbFloatA {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); opacity: 0.45; }
  50% { transform: translate3d(4%, 6%, 0) scale(1.12); opacity: 0.7; }
}
@keyframes orbFloatB {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); opacity: 0.4; }
  50% { transform: translate3d(-5%, -4%, 0) scale(1.08); opacity: 0.65; }
}
@keyframes orbFloatC {
  0%, 100% { transform: translate3d(0, 0, 0); opacity: 0.3; }
  50% { transform: translate3d(3%, -5%, 0); opacity: 0.55; }
}

.hero-glass {
  position: absolute;
  margin: 0;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(6, 13, 26, 0.35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 18px 40px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  opacity: 0.92;
}
.hero-glass img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.72;
  filter: saturate(0.85) contrast(1.05);
  transform: scale(1.04);
  transition: transform 8s ease;
}
.hero-glass::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(6, 13, 26, 0.15) 0%, rgba(6, 13, 26, 0.72) 100%),
    linear-gradient(135deg, rgba(201, 168, 76, 0.12), transparent 55%);
  pointer-events: none;
  z-index: 1;
}
.hero-glass figcaption {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 2;
  font-size: 11px;
  font-weight: 800;
  color: rgba(232, 204, 122, 0.95);
  letter-spacing: 0.02em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.55);
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(6, 13, 26, 0.55);
  border: 1px solid rgba(201, 168, 76, 0.25);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.hero-glass-1 {
  width: min(18vw, 180px);
  height: min(28vw, 260px);
  top: 18%;
  left: 10%;
  transform: rotate(-8deg);
  animation: glassDrift1 12s ease-in-out infinite;
}
.hero-glass-2 {
  width: min(14vw, 140px);
  height: min(20vw, 190px);
  bottom: 16%;
  left: 22%;
  transform: rotate(6deg);
  animation: glassDrift2 15s ease-in-out infinite;
  opacity: 0.88;
}
.hero-glass-3 {
  width: min(12vw, 120px);
  height: min(16vw, 150px);
  top: 28%;
  left: 28%;
  transform: rotate(12deg);
  animation: glassDrift3 17s ease-in-out infinite;
  opacity: 0.84;
}
@keyframes glassDrift1 {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(-8deg); }
  50% { transform: translate3d(12px, -18px, 0) rotate(-4deg); }
}
@keyframes glassDrift2 {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(6deg); }
  50% { transform: translate3d(-10px, 14px, 0) rotate(10deg); }
}
@keyframes glassDrift3 {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(12deg) scale(1); }
  50% { transform: translate3d(8px, 10px, 0) rotate(16deg) scale(1.04); }
}

.hero-spark {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(232, 204, 122, 0.85);
  box-shadow: 0 0 10px rgba(201, 168, 76, 0.7);
  opacity: 0;
  animation: sparkFloat 9s ease-in-out infinite;
}
.hero-spark.s1 { top: 22%; left: 48%; animation-delay: 0s; }
.hero-spark.s2 { top: 38%; left: 62%; animation-delay: 1.2s; width: 3px; height: 3px; }
.hero-spark.s3 { top: 58%; left: 40%; animation-delay: 2.1s; }
.hero-spark.s4 { top: 30%; left: 18%; animation-delay: 3s; width: 2px; height: 2px; }
.hero-spark.s5 { top: 70%; left: 55%; animation-delay: 4.2s; }
.hero-spark.s6 { top: 18%; left: 72%; animation-delay: 5s; width: 3px; height: 3px; }
.hero-spark.s7 { top: 48%; left: 8%; animation-delay: 6.1s; }
.hero-spark.s8 { top: 64%; left: 28%; animation-delay: 7.4s; width: 2px; height: 2px; }
@keyframes sparkFloat {
  0% { opacity: 0; transform: translate3d(0, 12px, 0) scale(0.6); }
  20% { opacity: 0.9; }
  60% { opacity: 0.55; transform: translate3d(8px, -28px, 0) scale(1); }
  100% { opacity: 0; transform: translate3d(16px, -50px, 0) scale(0.4); }
}

.hero-sheen {
  position: absolute;
  inset: -20% -40%;
  background: linear-gradient(
    115deg,
    transparent 35%,
    rgba(255, 255, 255, 0.045) 48%,
    rgba(201, 168, 76, 0.07) 52%,
    transparent 65%
  );
  animation: sheenSweep 10s ease-in-out infinite;
  mix-blend-mode: soft-light;
}
@keyframes sheenSweep {
  0%, 100% { transform: translate3d(-18%, 0, 0); opacity: 0.35; }
  50% { transform: translate3d(18%, 0, 0); opacity: 0.7; }
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 920px;
}

.hero-rule,
.hero-title,
.hero-sub,
.hero-actions {
  animation: heroReveal 0.9s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.hero-rule { animation-delay: 0.05s; }
.hero-title { animation-delay: 0.18s; }
.hero-sub { animation-delay: 0.32s; }
.hero-actions { animation-delay: 0.46s; }

@keyframes heroReveal {
  from { opacity: 0; transform: translate3d(0, 22px, 0); filter: blur(4px); }
  to { opacity: 1; transform: translate3d(0, 0, 0); filter: blur(0); }
}

.hero-rule {
  width: 56px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
  margin-bottom: 22px;
  border-radius: 2px;
  position: relative;
  overflow: hidden;
}
.hero-rule::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
  animation: ruleShine 3.5s ease-in-out infinite;
}
@keyframes ruleShine {
  0% { transform: translateX(-120%); opacity: 0; }
  30% { opacity: 1; }
  100% { transform: translateX(160%); opacity: 0; }
}

.hero-title {
  font-size: clamp(28px, 4.2vw, 48px);
  font-weight: 900;
  line-height: 1.35;
  color: var(--white);
  margin-bottom: 18px;
  max-width: min(34em, 100%);
  text-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
}

/* سطران على الشاشات الأكبر — على الجوال يُلغى الكسر الإجباري */
.hero-title-br { display: none; }
@media (min-width: 769px) {
  .hero-title {
    max-width: min(14.5em, 92%);
  }
  .hero-title-br { display: inline; }
}

.hero-sub {
  font-size: clamp(15px, 1.6vw, 18px);
  color: var(--muted);
  line-height: 1.85;
  max-width: 540px;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--gold), #8a6820);
  color: var(--p);
  font-weight: 800;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: 12px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  box-shadow: 0 6px 22px rgba(201, 168, 76, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  min-height: 48px;
  position: relative;
  overflow: hidden;
}
.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, 0.28) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.6s ease;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(201, 168, 76, 0.45);
}
.btn-primary:hover::after { transform: translateX(120%); }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--white);
  font-weight: 700;
  font-size: 14px;
  padding: 14px 22px;
  border-radius: 12px;
  text-decoration: none;
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: border-color 0.3s, color 0.3s, background 0.3s, box-shadow 0.3s;
  min-height: 48px;
}
.btn-secondary:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(201, 168, 76, 0.08);
  box-shadow: 0 0 0 1px rgba(201, 168, 76, 0.12);
}

/* Keep JS target; never show in hero viewport */
#hero-stats-container,
.hero-stats {
  display: none !important;
}

/* إيقاف الرسوم المتحركة الثقيلة عند إخفاء التبويب / خروج الهيرو */
.hero.hero-motion-paused .hero-bg,
.hero.hero-motion-paused .hero-grid,
.hero.hero-motion-paused .hero-orb,
.hero.hero-motion-paused .hero-glass,
.hero.hero-motion-paused .hero-spark,
.hero.hero-motion-paused .hero-sheen,
.hero.hero-motion-paused .hero-rule::after {
  animation-play-state: paused !important;
}

@media (prefers-reduced-motion: reduce) {
  .hero-bg,
  .hero-grid,
  .hero-orb,
  .hero-glass,
  .hero-spark,
  .hero-sheen,
  .hero-rule,
  .hero-title,
  .hero-sub,
  .hero-actions,
  .hero-rule::after {
    animation: none !important;
  }
  .hero-bg { transform: none; inset: 0; }
  .hero-rule,
  .hero-title,
  .hero-sub,
  .hero-actions {
    opacity: 1;
    filter: none;
    transform: none;
  }
}

@media (max-width: 768px) {
  .hero-glass-2,
  .hero-glass-3 { display: none; }
  .hero-orb-c { display: none; }
  .hero-spark.s4,
  .hero-spark.s7,
  .hero-spark.s8 { display: none; }

  /* توسيط الهيرو للجوال فقط — الكمبيوتر يبقى يمين */
  .hero-inner {
    max-width: 100%;
    text-align: center;
    margin-inline: auto;
  }
  .hero-rule {
    margin-inline: auto;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
  }
  .hero-title,
  .hero-sub {
    max-width: none;
    margin-inline: auto;
  }
  .hero-actions {
    justify-content: center;
  }
}

/* ====== SECTIONS SHARED ====== */
.section {
  padding: 88px 6%;
  position: relative;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: 0.02em;
}
.section-label::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}

.section-title {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 900;
  line-height: 1.35;
  margin-bottom: 12px;
  color: var(--white);
}

.section-sub {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.8;
  max-width: 560px;
}

/* ====== SERVICES ====== */
.services-section { background: #070E1C; }

.services-head { margin-bottom: 48px; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.service-card-v2 {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 18px;
  padding: 32px 26px;
  transition: transform 0.4s var(--transition), border-color 0.4s, background 0.4s;
  position: relative;
  overflow: hidden;
}
.service-card-v2::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50px;
  right: 50px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.5;
}
.service-card-v2:hover {
  transform: translateY(-6px);
  border-color: rgba(201, 168, 76, 0.28);
  background: rgba(201, 168, 76, 0.04);
}

.service-card-v2-icon {
  width: 56px;
  height: 56px;
  background: var(--gold-dim);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--gold);
  margin-bottom: 22px;
}

.service-card-v2-title {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 10px;
}

.service-card-v2-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 20px;
}

.service-card-v2-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}
.service-card-v2-link:hover { color: var(--gold-light); }

/* ====== NUMBERS STRIP ====== */
.numbers-strip {
  padding: 56px 6%;
  background: linear-gradient(135deg, #0A1627 0%, #0D1B2E 100%);
  border-top: 1px solid rgba(201, 168, 76, 0.1);
  border-bottom: 1px solid rgba(201, 168, 76, 0.1);
}

.numbers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.number-value {
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 900;
  color: var(--gold);
  line-height: 1.2;
  margin-bottom: 6px;
}

.number-label {
  font-size: 13px;
  color: var(--muted);
  font-weight: 600;
}

/* ====== ADVISOR + REQUEST (balanced duo cards) ====== */
.advisor-section { background: var(--p); }

.advisor-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: stretch;
  max-width: 1200px;
  margin: 0 auto;
}

.duo-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 100%;
  background: linear-gradient(160deg, rgba(13, 27, 46, 0.92), rgba(6, 13, 26, 0.96));
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 28px 26px;
  position: relative;
}
.duo-card::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 40px;
  right: 40px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.duo-card-head {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  margin-bottom: 22px;
  min-height: 132px;
}
.duo-card-head .section-label {
  margin-bottom: 12px;
}
.duo-card-head .section-title {
  font-size: clamp(22px, 2.2vw, 28px);
  margin: 0 0 10px;
  line-height: 1.35;
  min-height: 2.7em;
}
.duo-card-head .section-sub {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  min-height: 2.9em;
  max-width: none;
}

.duo-card-body {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.advisor-journey {
  display: flex;
  flex-direction: column;
  gap: 18px;
  flex: 1;
  min-height: 0;
}

.adv-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  border: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
.adv-hidden-text { display: none !important; }

.adv-progress {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin-bottom: 4px;
}
.adv-prog-step {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 1 auto;
  opacity: 0.45;
  transition: opacity 0.3s ease;
}
.adv-prog-step.is-active,
.adv-prog-step.is-done {
  opacity: 1;
}
.adv-prog-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--glass-border);
  background: rgba(0, 0, 0, 0.25);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  color: var(--muted);
  flex-shrink: 0;
  transition: all 0.3s ease;
}
.adv-prog-step.is-active .adv-prog-num,
.adv-prog-step.is-done .adv-prog-num {
  background: var(--gold-dim);
  border-color: rgba(201, 168, 76, 0.45);
  color: var(--gold);
}
.adv-prog-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  white-space: nowrap;
}
.adv-prog-step.is-active .adv-prog-label {
  color: var(--white);
}
.adv-prog-line {
  flex: 1 1 16px;
  height: 1px;
  background: linear-gradient(90deg, rgba(201, 168, 76, 0.35), rgba(255, 255, 255, 0.08));
  min-width: 12px;
}

.adv-panel {
  display: none;
  flex-direction: column;
  gap: 18px;
  flex: 1;
  animation: advFadeIn 0.35s ease;
}
.adv-panel.is-active {
  display: flex;
}
@keyframes advFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.adv-doors {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.adv-door {
  position: relative;
  overflow: hidden;
  text-align: right;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 16px 16px 16px 14px;
  cursor: pointer;
  color: var(--white);
  font-family: "Cairo", sans-serif;
  display: grid;
  grid-template-columns: 48px 1fr;
  grid-template-rows: auto auto;
  column-gap: 12px;
  row-gap: 4px;
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  min-height: 76px;
}
.adv-door:hover,
.adv-door.is-selected {
  border-color: rgba(201, 168, 76, 0.55);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28), 0 0 0 1px rgba(201, 168, 76, 0.12);
}
.adv-door-glow {
  position: absolute;
  inset: auto -20% -40% auto;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(201, 168, 76, 0.22), transparent 70%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s ease;
}
.adv-door:hover .adv-door-glow,
.adv-door.is-selected .adv-door-glow {
  opacity: 1;
}
.adv-door-icon {
  grid-row: 1 / span 2;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(201, 168, 76, 0.28), rgba(138, 104, 32, 0.18));
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  align-self: center;
}
.adv-door-title {
  font-size: 17px;
  font-weight: 900;
  align-self: end;
}
.adv-door-desc {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
  align-self: start;
}

.adv-confirm-block { display: flex; flex-direction: column; gap: 10px; }
.adv-confirm-q {
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  margin: 0;
}
.adv-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.adv-pill {
  border: 1px solid var(--glass-border);
  background: rgba(0, 0, 0, 0.28);
  color: var(--muted);
  border-radius: 999px;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 700;
  font-family: "Cairo", sans-serif;
  cursor: pointer;
  min-height: 44px;
  transition: all 0.25s ease;
}
.adv-pill:hover {
  border-color: rgba(201, 168, 76, 0.35);
  color: var(--white);
}
.adv-pill.is-selected {
  background: var(--gold-dim);
  border-color: rgba(201, 168, 76, 0.55);
  color: var(--gold-light);
}

.adv-nav-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
  padding-top: 4px;
}
.adv-btn-gold,
.adv-btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  border-radius: 12px;
  font-family: "Cairo", sans-serif;
  font-weight: 800;
  font-size: 14px;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  padding: 12px 16px;
}
.adv-btn-gold {
  flex: 1 1 180px;
  border: none;
  background: linear-gradient(135deg, var(--gold), #8a6820);
  color: var(--p);
  box-shadow: 0 6px 22px rgba(201, 168, 76, 0.28);
}
.adv-btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(201, 168, 76, 0.42);
}
.adv-btn-ghost {
  flex: 0 0 auto;
  background: transparent;
  border: 1px solid var(--glass-border);
  color: var(--muted);
}
.adv-btn-ghost:hover {
  border-color: rgba(201, 168, 76, 0.35);
  color: var(--white);
}

.advisor-result {
  margin-top: 0;
  padding: 16px 18px;
  background: linear-gradient(160deg, rgba(201, 168, 76, 0.1), rgba(0, 0, 0, 0.22));
  border: 1px solid rgba(201, 168, 76, 0.28);
  border-radius: 16px;
  box-shadow: inset 0 1px 0 rgba(201, 168, 76, 0.12);
}
.adv-result-card { flex: 1; }

.advisor-result-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}
.advisor-result-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
}
.advisor-badge {
  background: rgba(16, 185, 129, 0.12);
  color: #10B981;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
}
.advisor-badge.warning,
.advisor-badge.pending {
  background: rgba(245, 158, 11, 0.12);
  color: var(--warning);
}
.advisor-badge.approved {
  background: rgba(16, 185, 129, 0.12);
  color: #10B981;
}

.adv-result-service {
  font-size: 20px;
  font-weight: 900;
  color: var(--gold-light);
  margin: 0 0 10px;
  line-height: 1.35;
}
#wiz-advice-text {
  font-size: 13px;
  color: #B0C4D8;
  line-height: 1.75;
  margin: 0 0 14px;
}
.adv-result-block {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.adv-result-block h4 {
  font-size: 12px;
  font-weight: 800;
  color: var(--gold);
  margin: 0 0 8px;
}
.adv-steps-list,
.adv-docs-list {
  margin: 0;
  padding: 0 18px 0 0;
  color: #B0C4D8;
  font-size: 13px;
  line-height: 1.7;
}
.adv-steps-list li,
.adv-docs-list li {
  margin-bottom: 4px;
}

.form-field input,
.form-field select,
.form-field textarea,
.f-ctrl {
  width: 100%;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid var(--glass-border);
  color: var(--white);
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 14px;
  font-family: "Cairo", sans-serif;
  transition: border-color 0.25s, box-shadow 0.25s;
  min-height: 48px;
}
.form-field input:focus,
.form-field select:focus,
.f-ctrl:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.12);
}
.form-field select option { background: #0D1B2E; color: #fff; }

.request-info-box { margin-top: 0; }

.lead-form-grid {
  display: flex;
  flex-direction: column;
  gap: 18px;
  height: 100%;
  flex: 1;
}

.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field label {
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  min-height: 18px;
}

.form-submit {
  width: 100%;
  background: linear-gradient(135deg, var(--gold), #8a6820);
  color: var(--p);
  font-weight: 800;
  font-size: 15px;
  padding: 14px;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 6px 22px rgba(201, 168, 76, 0.28);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  min-height: 48px;
  margin-top: auto;
}
.form-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(201, 168, 76, 0.42);
}

/* ====== ABOUT / WHY ====== */
#about { background: #070E1C; }

.why-inner {
  display: flex;
  flex-direction: column;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.why-intro {
  text-align: right;
  max-width: 820px;
  margin: 0;
}
.why-intro .section-title {
  margin-bottom: 14px;
}
.why-intro .section-sub {
  max-width: none;
  margin-bottom: 0;
  font-size: 15px;
  line-height: 1.85;
}

.why-features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  align-items: stretch;
}

.why-item {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 22px;
  transition: border-color 0.3s, transform 0.3s;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.why-item:hover {
  border-color: rgba(201, 168, 76, 0.25);
  transform: translateY(-3px);
}

.why-icon {
  width: 44px;
  height: 44px;
  background: var(--gold-dim);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--gold);
  margin-bottom: 14px;
}

.why-item h4 {
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 8px;
}
.why-item p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
  flex: 1;
}

.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
  justify-content: flex-start;
}
.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 50px;
  border: 1px solid var(--glass-border);
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
}
.trust-badge i { color: var(--gold); }

/* ====== TESTIMONIALS ====== */
.testimonials-section {
  padding: 88px 6%;
  background: linear-gradient(180deg, #070E1C 0%, #060D1A 100%);
}
.testimonials-section .section-sub { margin-bottom: 40px; }

.testi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}

.testi-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 18px;
  padding: 26px;
  position: relative;
  transition: transform 0.35s ease, border-color 0.35s;
}
.testi-card:hover {
  transform: translateY(-5px);
  border-color: rgba(201, 168, 76, 0.25);
}

.testi-quote {
  position: absolute;
  top: 16px;
  left: 20px;
  font-size: 44px;
  color: var(--gold);
  opacity: 0.15;
  line-height: 1;
}
.testi-stars {
  color: var(--gold);
  font-size: 13px;
  margin-bottom: 12px;
  letter-spacing: 2px;
}
.testi-text {
  font-size: 14px;
  line-height: 1.8;
  color: #B0C4D8;
  margin-bottom: 18px;
}
.testi-author {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 14px;
}
.testi-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), #8a6820);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 16px;
  color: var(--p);
  flex-shrink: 0;
}
.testi-name { font-size: 14px; font-weight: 700; }
.testi-role { font-size: 12px; color: var(--muted); }

/* ====== FOOTER ====== */
.footer-v2 {
  background: #030810;
  padding: 64px 6% 28px;
  border-top: 1px solid rgba(201, 168, 76, 0.1);
}

.footer-v2-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-v2-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

#footer-logo-img {
  display: none;
  height: 42px;
  border-radius: 8px;
}

.footer-about-p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.8;
  max-width: 360px;
}

.footer-v2-heading {
  font-size: 15px;
  font-weight: 800;
  color: var(--gold);
  margin-bottom: 16px;
}

.footer-v2-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-v2-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.25s, padding-right 0.25s;
}
.footer-v2-links a:hover {
  color: var(--gold);
  padding-right: 4px;
}

.footer-contact-items {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--muted);
}
.footer-contact-item i {
  color: var(--gold);
  width: 16px;
  margin-top: 4px;
}

.footer-trust-strip {
  margin-bottom: 28px;
}

.ft-panels {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  align-items: stretch;
}

/* عمودان فقط عند وجود مربعي التوثيق والتواصل معاً */
.ft-panels:has(.ft-panel-verify):has(.ft-panel-social) {
  grid-template-columns: minmax(0, 1.55fr) minmax(260px, 0.85fr);
}

.ft-panel {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  padding: 20px 22px 22px;
  border: 1px solid rgba(201, 168, 76, 0.18);
  background:
    linear-gradient(145deg, rgba(201, 168, 76, 0.08), transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.02));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.ft-panel::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 16px;
  bottom: 16px;
  width: 3px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--gold), transparent);
}

.ft-panel-social {
  border-color: rgba(255, 255, 255, 0.1);
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.06), transparent 50%),
    rgba(0, 0, 0, 0.18);
}

.ft-panel-head {
  margin-bottom: 16px;
  padding-inline-start: 8px;
}

.ft-panel-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.ft-panel-title {
  margin: 6px 0 0;
  color: #fff;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.35;
}

.ft-tiles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.ft-tile {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 88px;
  padding: 14px;
  border-radius: 16px;
  text-decoration: none;
  color: #e8eef7;
  background: rgba(6, 13, 26, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

a.ft-tile:hover {
  transform: translateY(-2px);
  border-color: rgba(201, 168, 76, 0.35);
  background: rgba(6, 13, 26, 0.62);
}

.ft-tile-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.28);
}

.ft-tile-icon.has-logo {
  background: #fff !important;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.22);
  padding: 5px;
}

.ft-tile-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  border-radius: 8px;
}

.ft-tile-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.ft-tile-label {
  font-size: 12px;
  color: #9fb0c6;
  font-weight: 600;
}

.ft-tile-value {
  font-size: 14px;
  font-weight: 800;
  color: #fff;
  line-height: 1.35;
  word-break: break-word;
}

.ft-tile-value.ltr {
  direction: ltr;
  text-align: right;
  letter-spacing: 0.3px;
  font-variant-numeric: tabular-nums;
}

.ft-social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  width: 100%;
  padding-inline-start: 4px;
}

.ft-social-item {
  display: inline-flex;
  flex: 1 1 0;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-width: 88px;
  padding: 14px 10px;
  border-radius: 16px;
  text-decoration: none;
  color: #e8eef7;
  background: rgba(6, 13, 26, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

a.ft-social-item:hover {
  transform: translateY(-2px);
  border-color: rgba(201, 168, 76, 0.35);
}

.ft-social-item.is-static {
  opacity: 0.75;
}

.ft-social-name {
  font-size: 12px;
  font-weight: 700;
  color: #c9d6e6;
}

.footer-trust-social-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 18px;
}

.footer-trust-social-btn.social-tiktok {
  background: #111;
  border-color: rgba(255, 255, 255, 0.2);
}

.footer-trust-social-btn.social-snapchat {
  background: #fffc00;
  color: #111;
  border-color: rgba(0, 0, 0, 0.08);
}

.footer-trust-social-btn.social-instagram {
  background: linear-gradient(135deg, #f58529, #dd2a7b 45%, #8134af 75%, #515bd4);
  border-color: transparent;
}

.footer-v2-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 22px;
  text-align: center;
  font-size: 13px;
  color: var(--muted);
}
#footer-copyright { margin-bottom: 6px; color: #fff; }
#footer-credit,
#footer-credit a {
  color: #fff !important;
  text-decoration: none;
}

/* ====== WHATSAPP FAB ====== */
.wa-fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: #fff;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45);
  z-index: 9000;
  text-decoration: none;
  transition: transform 0.3s ease;
}
.wa-fab:hover { transform: scale(1.1); }
.wa-fab.hidden { display: none; }

/* ====== TOAST ====== */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: rgba(13, 27, 46, 0.97);
  backdrop-filter: blur(16px);
  border-right: 3px solid var(--gold);
  color: var(--white);
  padding: 14px 22px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
  z-index: 9500;
  transform: translateX(120%);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  max-width: 340px;
}
.toast.show { transform: translateX(0); opacity: 1; }
.toast.success { border-right-color: var(--success); }
.toast.error { border-right-color: var(--danger); }

/* ====== RESPONSIVE ====== */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: 1fr 1fr; }
  .advisor-inner { grid-template-columns: 1fr; gap: 24px; }
  .duo-card-head {
    min-height: 0;
    margin-bottom: 20px;
  }
  .duo-card-head .section-title,
  .duo-card-head .section-sub { min-height: 0; }
  .why-features { grid-template-columns: 1fr 1fr; }
  .footer-v2-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .numbers-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}

@media (max-width: 900px) {
  .nav-links {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(6, 13, 26, 0.98);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(201, 168, 76, 0.14);
    padding: 12px 5% 20px;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s ease, opacity 0.35s ease;
    z-index: 999;
    justify-content: flex-start;
  }

  body.has-ann-bar .nav-links {
    top: calc(var(--nav-h) + var(--ann-bar-height));
  }
  body.has-ann-bar .navbar.solid .nav-links {
    top: var(--nav-h);
  }

  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links li { width: 100%; }
  .nav-links a {
    width: 100%;
    padding: 14px 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }
  .nav-links a::after { display: none; }

  .nav-toggle { display: inline-flex; }
  .nav-cta { display: none !important; }

  .nav-brand-text { font-size: 19px; }
  .nav-brand-icon,
  #header-logo-icon { width: 46px; height: 46px; font-size: 21px; }
  #header-logo-img { height: 46px; }
}

@media (max-width: 1100px) {
  .ft-panels,
  .ft-panels:has(.ft-panel-verify):has(.ft-panel-social) {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  :root { --nav-h: 72px; }

  .hero {
    min-height: auto;
    padding: calc(var(--nav-h) + 36px) 5% 56px;
  }
  body.has-ann-bar .hero {
    padding-top: calc(var(--nav-h) + var(--ann-bar-height) + 28px);
  }

  .section { padding: 64px 5%; }
  .services-grid { grid-template-columns: 1fr; }
  .why-features { grid-template-columns: 1fr; }
  .footer-v2-grid { grid-template-columns: 1fr; }
  .ft-panels {
    grid-template-columns: 1fr;
  }
  .ft-tiles {
    grid-template-columns: 1fr;
  }
  .ft-social-row {
    justify-content: flex-start;
  }
  .numbers-strip { padding: 40px 5%; }
  .numbers-grid { grid-template-columns: 1fr 1fr; }
  .testimonials-section { padding: 64px 5%; }
  .wa-fab { bottom: 18px; right: 18px; width: 52px; height: 52px; font-size: 26px; }
}

@media (max-width: 480px) {
  .nav-brand-text { font-size: 16px; }
  .nav-brand-icon,
  #header-logo-icon { width: 42px; height: 42px; font-size: 19px; }
  #header-logo-img { height: 42px; }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
  }
  .btn-primary,
  .btn-secondary { justify-content: center; width: 100%; }
  .numbers-grid { grid-template-columns: 1fr; }
  #announcement-bar { font-size: 13px; padding: 10px 40px; }
  .adv-prog-label { display: none; }
  .adv-progress { justify-content: center; gap: 10px; }
  .adv-nav-row { flex-direction: column; }
  .adv-btn-gold,
  .adv-btn-ghost { width: 100%; }
}

/* Landscape phones / short tablets: keep CTA reachable — بدون توسيط (يمين كما الكمبيوتر) */
@media (max-height: 520px) and (orientation: landscape) {
  :root { --nav-h: 64px; }
  .hero {
    min-height: auto;
    padding: calc(var(--nav-h) + 20px) 5% 36px;
  }
  .hero-inner {
    text-align: right;
    margin-inline: 0;
  }
  .hero-rule {
    margin-inline: 0;
    background: linear-gradient(90deg, var(--gold), transparent);
  }
  .hero-title,
  .hero-sub {
    margin-inline: 0;
  }
  .hero-actions { justify-content: flex-start; }
  .hero-title { font-size: 24px; margin-bottom: 10px; }
  .hero-sub { font-size: 14px; margin-bottom: 16px; max-width: 70%; }
  .hero-rule { margin-bottom: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .ann-text { animation: none; }
}

/* ??? ?? ?????? � ???? ?? ???????? */
.hp-field {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
