/* ==========================================================================
   AdSparkNet — Design System
   Palette: deep navy base + vivid orange (primary) + electric blue (accent)
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  /* Brand */
  --navy-900: #060A14;
  --navy-800: #0A0F1E;
  --navy-700: #101830;
  --navy-600: #182242;
  --navy-500: #22305A;

  --orange-600: #E8551A;
  --orange-500: #FF6B2C;
  --orange-400: #FF8A54;
  --orange-100: #FFE8DC;

  --blue-600: #1F63D6;
  --blue-500: #2D7DFF;
  --blue-400: #5C9BFF;
  --blue-100: #DEEAFF;

  --amber-500: #FFB020;
  --green-500: #16B364;
  --red-500: #E5484D;

  /* Neutrals */
  --white: #FFFFFF;
  --gray-50: #F7F8FB;
  --gray-100: #EFF1F6;
  --gray-200: #E1E5EE;
  --gray-300: #C9CFDD;
  --gray-400: #98A1B5;
  --gray-500: #6B7488;
  --gray-600: #4A5266;
  --gray-700: #333A4D;

  /* Semantic */
  --bg: var(--white);
  --bg-soft: var(--gray-50);
  --bg-dark: var(--navy-800);
  --text: #0E1424;
  --text-soft: var(--gray-500);
  --text-invert: #FFFFFF;
  --border: var(--gray-200);
  --border-dark: rgba(255, 255, 255, 0.12);

  /* Type */
  --font-ar: "Tajawal", "Cairo", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-en: "Plus Jakarta Sans", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font: var(--font-ar);

  --fs-xs: 0.8125rem;
  --fs-sm: 0.9375rem;
  --fs-base: 1.0625rem;
  --fs-lg: 1.1875rem;
  --fs-xl: 1.375rem;
  --fs-2xl: 1.75rem;
  --fs-3xl: 2.25rem;
  --fs-4xl: 3rem;
  --fs-5xl: 3.75rem;

  /* Space */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.5rem;
  --sp-6: 2rem;
  --sp-7: 2.5rem;
  --sp-8: 3rem;
  --sp-9: 4rem;
  --sp-10: 5rem;
  --sp-11: 6.5rem;

  /* Shape */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-full: 999px;

  /* Shadow */
  --sh-sm: 0 1px 2px rgba(10, 15, 30, 0.06), 0 1px 3px rgba(10, 15, 30, 0.04);
  --sh-md: 0 4px 12px rgba(10, 15, 30, 0.07), 0 2px 4px rgba(10, 15, 30, 0.04);
  --sh-lg: 0 12px 32px rgba(10, 15, 30, 0.10), 0 4px 8px rgba(10, 15, 30, 0.04);
  --sh-xl: 0 24px 60px rgba(10, 15, 30, 0.14);
  --sh-orange: 0 10px 30px rgba(255, 107, 44, 0.28);
  --sh-blue: 0 10px 30px rgba(45, 125, 255, 0.26);

  --container: 1200px;
  --header-h: 76px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- 2. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-base);
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.no-scroll { overflow: hidden; }

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 var(--sp-4);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.015em;
  color: var(--text);
}

h1 { font-size: clamp(2rem, 5.2vw, var(--fs-5xl)); line-height: 1.12; }
h2 { font-size: clamp(1.6rem, 3.6vw, var(--fs-3xl)); }
h3 { font-size: clamp(1.2rem, 2.2vw, var(--fs-xl)); }
h4 { font-size: var(--fs-lg); }

p { margin: 0 0 var(--sp-4); }
p:last-child { margin-bottom: 0; }

a { color: var(--blue-600); text-decoration: none; transition: color 0.2s var(--ease); }
a:hover { color: var(--orange-500); }

img { max-width: 100%; height: auto; display: block; }

ul, ol { margin: 0 0 var(--sp-4); padding-inline-start: 1.4em; }
li { margin-bottom: var(--sp-2); }

button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: none; background: none; }

:focus-visible {
  outline: 3px solid var(--blue-500);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection { background: var(--orange-500); color: #fff; }

/* ---------- 3. Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--sp-5);
}

.section { padding-block: clamp(3.5rem, 8vw, var(--sp-11)); }
.section--soft { background: var(--bg-soft); }
.section--dark { background: var(--bg-dark); color: var(--text-invert); }
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 { color: var(--text-invert); }
.section--dark p { color: rgba(255, 255, 255, 0.76); }

.section-head { max-width: 720px; margin-bottom: var(--sp-8); }
.section-head--center { margin-inline: auto; text-align: center; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange-500);
  margin-bottom: var(--sp-3);
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--orange-500);
  border-radius: 2px;
}
.section-head--center .eyebrow::after {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--orange-500);
  border-radius: 2px;
}

.lead { font-size: var(--fs-lg); color: var(--text-soft); line-height: 1.8; }
.section--dark .lead { color: rgba(255, 255, 255, 0.72); }

.grid { display: grid; gap: var(--sp-5); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- 4. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: 0.85rem 1.6rem;
  min-height: 48px;
  font-size: var(--fs-sm);
  font-weight: 700;
  border-radius: var(--r-full);
  border: 2px solid transparent;
  transition: transform 0.2s var(--ease), box-shadow 0.25s var(--ease),
              background-color 0.2s var(--ease), color 0.2s var(--ease),
              border-color 0.2s var(--ease);
  white-space: nowrap;
  text-align: center;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--orange-500);
  color: #fff;
  box-shadow: var(--sh-orange);
}
.btn--primary:hover { background: var(--orange-600); color: #fff; box-shadow: 0 14px 36px rgba(255, 107, 44, 0.36); }

.btn--blue {
  background: var(--blue-500);
  color: #fff;
  box-shadow: var(--sh-blue);
}
.btn--blue:hover { background: var(--blue-600); color: #fff; }

.btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn--ghost:hover { border-color: var(--navy-800); color: var(--navy-800); background: var(--gray-50); }

.btn--light {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.24);
  backdrop-filter: blur(8px);
}
.btn--light:hover { background: rgba(255, 255, 255, 0.18); color: #fff; border-color: rgba(255, 255, 255, 0.4); }
.btn--telegram { background: #229ED9; color: #fff; border-color: #229ED9; }
.btn--telegram:hover { background: #1b87ba; border-color: #1b87ba; color: #fff; }

.btn--white { background: #fff; color: var(--navy-800); }
.btn--white:hover { background: var(--gray-100); color: var(--navy-800); }

.btn--lg { padding: 1.05rem 2.1rem; font-size: var(--fs-base); min-height: 56px; }
.btn--block { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: var(--sp-3); }
.btn-row--center { justify-content: center; }

/* ---------- 5. Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.header.is-stuck { border-bottom-color: var(--border); box-shadow: var(--sh-sm); }

.header__inner {
  display: flex;
  align-items: center;
  gap: var(--sp-5);
  min-height: var(--header-h);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: -0.02em;
  color: var(--navy-800);
  flex-shrink: 0;
}
.logo:hover { color: var(--navy-800); }
.logo__mark {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--orange-500), var(--orange-600));
  display: grid;
  place-items: center;
  color: #fff;
  box-shadow: var(--sh-orange);
  flex-shrink: 0;
}
.logo__mark svg { width: 21px; height: 21px; }
.logo__text b { color: var(--orange-500); }

.nav { margin-inline-start: auto; }
.nav__list {
  display: flex;
  align-items: center;
  gap: var(--sp-1);
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav__list li { margin: 0; }

.nav__link {
  display: block;
  padding: 0.55rem 0.85rem;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--gray-600);
  border-radius: var(--r-sm);
  transition: color 0.2s var(--ease), background-color 0.2s var(--ease);
}
.nav__link:hover { color: var(--navy-800); background: var(--gray-100); }
.nav__link.is-active { color: var(--orange-500); }

.header__actions { display: flex; align-items: center; gap: var(--sp-3); flex-shrink: 0; }

/* Language switcher — always-visible segmented AR | EN */
.lang {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px 6px;
  background: var(--gray-100);
  border: 1px solid var(--border);
  border-radius: var(--r-full);
  flex-shrink: 0;
}
.lang__globe {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--gray-500);
  margin-inline-end: 3px;
}
.lang__seg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  min-height: 34px;
  padding: 0 0.45rem;
  border: 0;
  border-radius: var(--r-full);
  background: transparent;
  color: var(--gray-600);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background-color 0.18s var(--ease), color 0.18s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.lang__seg:hover { color: var(--navy-800); background: var(--gray-200); }
.lang__seg[aria-selected="true"] {
  background: var(--orange-500);
  color: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.14);
}
.lang__seg:focus-visible {
  outline: 2px solid var(--orange-500);
  outline-offset: 2px;
}
.lang__sep {
  color: var(--gray-300);
  font-size: 0.8rem;
  font-weight: 600;
  user-select: none;
  line-height: 1;
}
.lang__seg[aria-selected="true"] + .lang__sep,
.lang__sep:has(+ .lang__seg[aria-selected="true"]) { opacity: 0.35; }

/* Burger */
.burger {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: var(--r-sm);
  border: 1px solid var(--border);
  background: #fff;
  place-items: center;
  flex-shrink: 0;
}
.burger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--navy-800);
  border-radius: 2px;
  transition: transform 0.28s var(--ease), opacity 0.2s var(--ease);
}
.burger span + span { margin-top: 5px; }
.burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 890;
  background: #fff;
  padding: calc(var(--header-h) + var(--sp-5)) var(--sp-5) var(--sp-6);
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  transition: opacity 0.28s var(--ease), transform 0.28s var(--ease), visibility 0.28s;
}
.drawer.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
.drawer__list { list-style: none; margin: 0 0 var(--sp-5); padding: 0; }
.drawer__list li { margin: 0; border-bottom: 1px solid var(--border); }
.drawer__link {
  display: block;
  padding: 1rem 0.25rem;
  font-size: var(--fs-lg);
  font-weight: 700;
  color: var(--navy-800);
}
.drawer__link.is-active { color: var(--orange-500); }

/* ---------- 6. Hero ---------- */
.hero {
  position: relative;
  background: var(--navy-800);
  color: #fff;
  overflow: hidden;
  padding-block: clamp(3.5rem, 8vw, 6.5rem);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(760px 420px at 88% 8%, rgba(255, 107, 44, 0.20), transparent 62%),
    radial-gradient(680px 420px at 6% 92%, rgba(45, 125, 255, 0.20), transparent 62%);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.hero h1 { color: #fff; margin-bottom: var(--sp-5); }
.hero h1 .hl {
  color: var(--orange-500);
  position: relative;
  white-space: nowrap;
}
.hero__text { font-size: var(--fs-lg); color: rgba(255, 255, 255, 0.78); max-width: 56ch; margin-bottom: var(--sp-6); }
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem 1rem;
  margin-bottom: var(--sp-5);
  font-size: var(--fs-xs);
  font-weight: 700;
  color: #fff;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--r-full);
  backdrop-filter: blur(8px);
}
.hero__badge .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--green-500);
  box-shadow: 0 0 0 4px rgba(22, 179, 100, 0.22);
}
.hero__media { position: relative; }
.hero__media img {
  width: 100%;
  border-radius: var(--r-lg);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-5);
  margin-top: var(--sp-7);
  padding-top: var(--sp-5);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.hero__trust-item { display: flex; align-items: center; gap: 0.6rem; font-size: var(--fs-sm); color: rgba(255, 255, 255, 0.72); }
.hero__trust-item svg { width: 19px; height: 19px; color: var(--orange-500); flex-shrink: 0; }

/* Page hero (inner pages) */
.page-hero {
  position: relative;
  background: var(--navy-800);
  color: #fff;
  padding-block: clamp(2.75rem, 6vw, 4.5rem);
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(620px 340px at 92% 0%, rgba(255, 107, 44, 0.20), transparent 60%),
    radial-gradient(520px 320px at 0% 100%, rgba(45, 125, 255, 0.18), transparent 60%);
  pointer-events: none;
}
.page-hero__inner { position: relative; max-width: 800px; }
.page-hero h1 { color: #fff; margin-bottom: var(--sp-4); }
.page-hero p { color: rgba(255, 255, 255, 0.76); font-size: var(--fs-lg); margin: 0; }

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
  margin: 0 0 var(--sp-4);
  padding: 0;
  font-size: var(--fs-xs);
  color: rgba(255, 255, 255, 0.6);
}
.breadcrumb li { margin: 0; }
.breadcrumb a { color: rgba(255, 255, 255, 0.72); }
.breadcrumb a:hover { color: var(--orange-400); }
.breadcrumb li + li::before { content: "/"; margin-inline-end: 0.5rem; opacity: 0.5; }

/* ---------- 7. Cards ---------- */
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--sp-6);
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease), border-color 0.28s var(--ease);
}
.card--hover:hover { transform: translateY(-5px); box-shadow: var(--sh-lg); border-color: var(--gray-300); }

.card__icon {
  width: 56px;
  height: 56px;
  border-radius: var(--r-md);
  display: grid;
  place-items: center;
  margin-bottom: var(--sp-4);
  background: var(--orange-100);
  color: var(--orange-600);
}
.card__icon svg { width: 27px; height: 27px; }
.card__icon--blue { background: var(--blue-100); color: var(--blue-600); }
.card__icon--navy { background: var(--navy-700); color: #fff; }
.card__icon--green { background: #DCFCE7; color: #15803D; }

.card h3 { margin-bottom: var(--sp-3); }
.card p { color: var(--text-soft); font-size: var(--fs-sm); margin-bottom: var(--sp-4); }

.card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--orange-500);
}
.card__link svg { width: 16px; height: 16px; transition: transform 0.25s var(--ease); }
.card__link:hover svg { transform: translateX(4px); }
[dir="rtl"] .card__link svg { transform: scaleX(-1); }
[dir="rtl"] .card__link:hover svg { transform: scaleX(-1) translateX(4px); }

/* Service card with image */
.svc-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease);
}
.svc-card:hover { transform: translateY(-5px); box-shadow: var(--sh-lg); }
.svc-card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--navy-800); }
.svc-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.svc-card:hover .svc-card__media img { transform: scale(1.05); }
.svc-card__body { padding: var(--sp-5); display: flex; flex-direction: column; flex: 1; }
.svc-card__body h3 { margin-bottom: var(--sp-2); }
.svc-card__body p { color: var(--text-soft); font-size: var(--fs-sm); flex: 1; }
.svc-card__tag {
  display: inline-block;
  padding: 0.25rem 0.7rem;
  margin-bottom: var(--sp-3);
  font-size: var(--fs-xs);
  font-weight: 700;
  border-radius: var(--r-full);
  background: var(--gray-100);
  color: var(--gray-600);
  align-self: flex-start;
}

/* ---------- 8. Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-5); }
.stat { text-align: center; padding: var(--sp-5) var(--sp-3); }
.stat__num {
  display: block;
  font-size: clamp(2rem, 4.4vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--orange-500);
  margin-bottom: var(--sp-2);
}
.stat__num .suffix { font-size: 0.62em; }
.stat__label { font-size: var(--fs-sm); color: var(--text-soft); font-weight: 600; }
.section--dark .stat__label { color: rgba(255, 255, 255, 0.7); }

/* ---------- 9. Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-5); counter-reset: step; }
.step { position: relative; padding-top: var(--sp-6); }
.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  position: absolute;
  top: 0;
  inset-inline-start: 0;
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1;
  color: var(--gray-200);
  letter-spacing: -0.04em;
}
.step h3 { font-size: var(--fs-lg); margin-bottom: var(--sp-2); }
.step p { font-size: var(--fs-sm); color: var(--text-soft); margin: 0; }
.section--dark .step::before { color: rgba(255, 255, 255, 0.16); }
.section--dark .step p { color: rgba(255, 255, 255, 0.7); }

/* ---------- 10. Testimonials ---------- */
.quote {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--sp-6);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.quote__stars { display: flex; gap: 3px; margin-bottom: var(--sp-4); color: var(--amber-500); }
.quote__stars svg { width: 17px; height: 17px; }
.quote__text { font-size: var(--fs-base); line-height: 1.85; color: var(--gray-700); flex: 1; margin-bottom: var(--sp-5); }
.quote__author { display: flex; align-items: center; gap: var(--sp-3); padding-top: var(--sp-4); border-top: 1px solid var(--border); }
.quote__avatar {
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center;
  font-weight: 800; font-size: var(--fs-base); color: #fff;
  background: linear-gradient(135deg, var(--blue-500), var(--navy-600));
  flex-shrink: 0;
}
.quote__name { font-weight: 700; font-size: var(--fs-sm); line-height: 1.4; }
.quote__role { font-size: var(--fs-xs); color: var(--text-soft); }

/* ---------- 11. Pricing ---------- */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-5); align-items: start; }
.price {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: var(--sp-7) var(--sp-6);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease);
}
.price:hover { transform: translateY(-5px); box-shadow: var(--sh-lg); }
.price--featured {
  border-color: var(--orange-500);
  box-shadow: var(--sh-lg);
  background: linear-gradient(180deg, #FFF9F5 0%, #fff 42%);
}
.price__badge {
  position: absolute;
  top: -14px;
  inset-inline-start: 50%;
  transform: translateX(-50%);
  padding: 0.3rem 1rem;
  font-size: var(--fs-xs);
  font-weight: 800;
  color: #fff;
  background: var(--orange-500);
  border-radius: var(--r-full);
  white-space: nowrap;
  box-shadow: var(--sh-orange);
}
[dir="rtl"] .price__badge { transform: translateX(50%); }
.price__name { font-size: var(--fs-lg); font-weight: 800; margin-bottom: var(--sp-2); }
.price__desc { font-size: var(--fs-sm); color: var(--text-soft); margin-bottom: var(--sp-5); min-height: 3em; }
.price__amount { display: flex; align-items: baseline; gap: 0.4rem; margin-bottom: var(--sp-2); }
.price__amount .val { font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 800; letter-spacing: -0.03em; color: var(--navy-800); }
.price__amount .cur { font-size: var(--fs-base); font-weight: 700; color: var(--text-soft); }
.price__note { font-size: var(--fs-xs); color: var(--text-soft); margin-bottom: var(--sp-5); }
.price__list { list-style: none; margin: 0 0 var(--sp-6); padding: 0; flex: 1; }
.price__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: var(--fs-sm);
  color: var(--gray-700);
  margin-bottom: var(--sp-3);
}
.price__list svg { width: 18px; height: 18px; color: var(--green-500); flex-shrink: 0; margin-top: 4px; }
.price__list li.is-off { color: var(--gray-400); }
.price__list li.is-off svg { color: var(--gray-300); }

/* ---------- 12. Table ---------- */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: #fff;
  -webkit-overflow-scrolling: touch;
}
table.tbl { width: 100%; border-collapse: collapse; min-width: 620px; }
table.tbl th, table.tbl td {
  padding: 0.95rem 1.1rem;
  text-align: start;
  font-size: var(--fs-sm);
  border-bottom: 1px solid var(--border);
}
table.tbl th {
  background: var(--gray-50);
  font-weight: 700;
  color: var(--navy-800);
  white-space: nowrap;
  font-size: var(--fs-xs);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
table.tbl tbody tr:last-child td { border-bottom: none; }
table.tbl tbody tr:hover { background: var(--gray-50); }
table.tbl td strong { color: var(--navy-800); }
.tbl__pos { color: var(--green-500); font-weight: 700; }

/* ---------- 13. FAQ ---------- */
.faq { max-width: 860px; margin-inline: auto; }
.faq__item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  margin-bottom: var(--sp-3);
  overflow: hidden;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.faq__item.is-open { border-color: var(--orange-500); box-shadow: var(--sh-md); }
.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  width: 100%;
  padding: 1.15rem 1.35rem;
  font-size: var(--fs-base);
  font-weight: 700;
  color: var(--navy-800);
  text-align: start;
  min-height: 56px;
}
.faq__q:hover { color: var(--orange-500); }
.faq__icon {
  width: 26px; height: 26px;
  flex-shrink: 0;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--gray-100);
  color: var(--navy-800);
  transition: transform 0.3s var(--ease), background-color 0.25s var(--ease), color 0.25s var(--ease);
}
.faq__icon svg { width: 14px; height: 14px; }
.faq__item.is-open .faq__icon { transform: rotate(45deg); background: var(--orange-500); color: #fff; }
.faq__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s var(--ease);
}
.faq__a-inner {
  padding: 0 1.35rem 1.35rem;
  font-size: var(--fs-sm);
  color: var(--text-soft);
  line-height: 1.85;
}
.faq__a-inner p:last-child { margin-bottom: 0; }

/* ---------- 14. Forms ---------- */
.form { display: grid; gap: var(--sp-4); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-4); }
.field { display: flex; flex-direction: column; gap: 0.45rem; }
.field label { font-size: var(--fs-sm); font-weight: 700; color: var(--navy-800); }
.field .req { color: var(--red-500); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  min-height: 50px;
  font-size: var(--fs-sm);
  color: var(--text);
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.field textarea { min-height: 140px; resize: vertical; line-height: 1.7; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--gray-300); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--blue-500);
  box-shadow: 0 0 0 4px rgba(45, 125, 255, 0.14);
}
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236B7488' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 17px;
  padding-inline-end: 2.6rem;
}
[dir="rtl"] .field select { background-position: left 1rem center; }
.field .err {
  font-size: var(--fs-xs);
  color: var(--red-500);
  font-weight: 600;
  display: none;
}
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--red-500); }
.field.has-error .err { display: block; }

.check {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: var(--fs-sm);
  color: var(--gray-600);
  line-height: 1.7;
  cursor: pointer;
}
.check input {
  width: 20px; height: 20px;
  margin: 3px 0 0;
  flex-shrink: 0;
  accent-color: var(--orange-500);
  cursor: pointer;
}
.check .err {
  font-size: var(--fs-xs);
  color: var(--red-500);
  font-weight: 600;
  display: none;
}
.check.has-error .err { display: block; }
.check.has-error input { outline: 2px solid var(--red-500); outline-offset: 2px; border-radius: 4px; }

.form__note {
  display: flex;
  gap: 0.6rem;
  padding: var(--sp-4);
  font-size: var(--fs-xs);
  line-height: 1.7;
  color: var(--gray-600);
  background: var(--blue-100);
  border-radius: var(--r-sm);
  border: 1px solid rgba(45, 125, 255, 0.2);
}
.form__note svg { width: 18px; height: 18px; color: var(--blue-600); flex-shrink: 0; margin-top: 2px; }

.form-success {
  display: none;
  text-align: center;
  padding: var(--sp-8) var(--sp-5);
  background: #F0FDF4;
  border: 1.5px solid #86EFAC;
  border-radius: var(--r-lg);
}
.form-success.is-visible { display: block; animation: pop 0.4s var(--ease); }
.form-success__icon {
  width: 68px; height: 68px;
  margin: 0 auto var(--sp-4);
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--green-500);
  color: #fff;
  box-shadow: 0 10px 26px rgba(22, 179, 100, 0.32);
}
.form-success__icon svg { width: 34px; height: 34px; }
.form-success h3 { color: #15803D; margin-bottom: var(--sp-2); }
.form-success p { color: #166534; font-size: var(--fs-sm); margin: 0; }

@keyframes pop {
  0% { opacity: 0; transform: scale(0.94); }
  100% { opacity: 1; transform: scale(1); }
}

/* ---------- 15. Contact info ---------- */
.info-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--sp-4); }
.info-list li { display: flex; gap: var(--sp-4); align-items: flex-start; margin: 0; }
.info-list__icon {
  width: 46px; height: 46px;
  flex-shrink: 0;
  border-radius: var(--r-md);
  display: grid; place-items: center;
  background: var(--orange-100);
  color: var(--orange-600);
}
.info-list__icon svg { width: 21px; height: 21px; }
.info-list__label { font-size: var(--fs-xs); color: var(--text-soft); font-weight: 600; }
.info-list__value { font-weight: 700; color: var(--navy-800); font-size: var(--fs-sm); word-break: break-word; }
.info-list__value a { color: var(--navy-800); }
.info-list__value a:hover { color: var(--orange-500); }

/* ---------- 16. CTA band ---------- */
.cta {
  position: relative;
  background: var(--navy-800);
  border-radius: var(--r-xl);
  padding: clamp(2.5rem, 6vw, 4.5rem);
  text-align: center;
  overflow: hidden;
  color: #fff;
}
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(560px 300px at 12% 0%, rgba(255, 107, 44, 0.26), transparent 62%),
    radial-gradient(560px 300px at 88% 100%, rgba(45, 125, 255, 0.24), transparent 62%);
  pointer-events: none;
}
.cta > * { position: relative; }
.cta h2 { color: #fff; margin-bottom: var(--sp-4); }
.cta p { color: rgba(255, 255, 255, 0.76); font-size: var(--fs-lg); max-width: 60ch; margin: 0 auto var(--sp-6); }

/* ---------- 17. Legal / prose ---------- */
.prose { max-width: 820px; }
.prose h2 { margin-top: var(--sp-8); padding-top: var(--sp-5); border-top: 1px solid var(--border); }
.prose h2:first-of-type { margin-top: 0; padding-top: 0; border-top: none; }
.prose h3 { margin-top: var(--sp-6); }
.prose p, .prose li { color: var(--gray-700); font-size: var(--fs-sm); line-height: 1.9; }
.prose ul { padding-inline-start: 1.3em; }
.prose strong { color: var(--navy-800); }
.prose .updated {
  display: inline-block;
  padding: 0.35rem 0.9rem;
  margin-bottom: var(--sp-6);
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--gray-600);
  background: var(--gray-100);
  border-radius: var(--r-full);
}

/* ---------- 18. Footer ---------- */
.footer { background: var(--navy-900); color: rgba(255, 255, 255, 0.66); padding-block: var(--sp-9) var(--sp-5); }
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: var(--sp-7);
  padding-bottom: var(--sp-7);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer .logo { color: #fff; margin-bottom: var(--sp-4); }
.footer .logo:hover { color: #fff; }
.footer__about { font-size: var(--fs-sm); line-height: 1.85; max-width: 34ch; margin-bottom: var(--sp-5); }
.footer__title { font-size: var(--fs-sm); font-weight: 800; color: #fff; margin-bottom: var(--sp-4); }
.footer__list { list-style: none; margin: 0; padding: 0; }
.footer__list li { margin-bottom: var(--sp-3); }
.footer__list a { font-size: var(--fs-sm); color: rgba(255, 255, 255, 0.66); }
.footer__list a:hover { color: var(--orange-400); }

.socials { display: flex; gap: var(--sp-3); }
.socials a {
  width: 42px; height: 42px;
  border-radius: var(--r-sm);
  display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.8);
  transition: background-color 0.22s var(--ease), color 0.22s var(--ease), transform 0.22s var(--ease);
}
.socials a:hover { background: var(--orange-500); color: #fff; transform: translateY(-3px); }
.socials svg { width: 19px; height: 19px; }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  padding-top: var(--sp-5);
  font-size: var(--fs-xs);
}
.footer__bottom p { margin: 0; }
.footer__legal { display: flex; flex-wrap: wrap; gap: var(--sp-5); list-style: none; margin: 0; padding: 0; }
.footer__legal li { margin: 0; }
.footer__legal a { color: rgba(255, 255, 255, 0.66); }
.footer__legal a:hover { color: var(--orange-400); }

/* ---------- 19. Utilities ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mb-4 { margin-bottom: var(--sp-4); }
.mb-6 { margin-bottom: var(--sp-6); }
.mb-8 { margin-bottom: var(--sp-8); }
.mx-auto { margin-inline: auto; }
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute;
  top: -100px;
  inset-inline-start: var(--sp-4);
  z-index: 1000;
  padding: 0.75rem 1.25rem;
  background: var(--orange-500);
  color: #fff;
  font-weight: 700;
  border-radius: 0 0 var(--r-sm) var(--r-sm);
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 0; color: #fff; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- 20. Responsive ---------- */
@media (max-width: 1080px) {
  .nav { display: none; }
  .burger { display: grid; }
  .header__actions { margin-inline-start: auto; gap: var(--sp-2); }
  .header__inner { gap: var(--sp-3); }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__media { order: -1; max-width: 620px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: var(--sp-6); }
}

@media (max-width: 900px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .price-grid { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  .price--featured { order: -1; }
}

@media (max-width: 720px) {
  :root { --header-h: 68px; }
  .container { padding-inline: var(--sp-4); }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: var(--sp-6); }
  .stats { grid-template-columns: repeat(2, 1fr); gap: var(--sp-3); }
  .form__row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: var(--sp-6); }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .btn-row .btn { width: 100%; }
  .hero__trust { gap: var(--sp-4); }
  .card { padding: var(--sp-5); }
  .quote { padding: var(--sp-5); }
  .cta { border-radius: var(--r-lg); }
  .lang__menu { min-width: 170px; }
}

@media (max-width: 620px) {
  /* the free-consult CTA lives in the drawer on phones — keep the header lean */
  .header__actions > .btn--primary { display: none; }
  .header__inner { gap: var(--sp-2); }
}

@media (max-width: 400px) {
  .stats { grid-template-columns: 1fr; }
  .logo { font-size: 1.15rem; }
  .logo__mark { width: 34px; height: 34px; }
  .lang { padding: 2px 4px; gap: 1px; }
  .lang__globe { display: none; }
  .lang__seg { min-width: 34px; min-height: 32px; padding: 0 0.3rem; font-size: 0.75rem; }
}

/* ---------- 21. Motion & print ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

@media print {
  .header, .drawer, .footer, .cta, .lang { display: none !important; }
  body { color: #000; }
  .section { padding-block: 1rem; }
}
