/* ============================================================
   سمارت — عروض اليوم الوطني السعودي 96
   ملف التنسيق الموحّد (لا يحتاج أي بناء أو أدوات خارجية)
   ============================================================ */

/* ---- الخط الثانوي: IBM Plex Sans Arabic (مستضاف داخل المشروع) ---- */
@font-face{font-family:'IBM Plex Sans Arabic';font-style:normal;font-weight:400;font-display:swap;
  src:url('../fonts/ibm-plex-sans-arabic-arabic-400-normal.woff2') format('woff2');
  unicode-range:U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0898-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FEFF;}
@font-face{font-family:'IBM Plex Sans Arabic';font-style:normal;font-weight:500;font-display:swap;
  src:url('../fonts/ibm-plex-sans-arabic-arabic-500-normal.woff2') format('woff2');
  unicode-range:U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0898-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FEFF;}
@font-face{font-family:'IBM Plex Sans Arabic';font-style:normal;font-weight:600;font-display:swap;
  src:url('../fonts/ibm-plex-sans-arabic-arabic-600-normal.woff2') format('woff2');
  unicode-range:U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0898-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FEFF;}
@font-face{font-family:'IBM Plex Sans Arabic';font-style:normal;font-weight:700;font-display:swap;
  src:url('../fonts/ibm-plex-sans-arabic-arabic-700-normal.woff2') format('woff2');
  unicode-range:U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0898-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FEFF;}
@font-face{font-family:'IBM Plex Sans Arabic';font-style:normal;font-weight:400;font-display:swap;
  src:url('../fonts/ibm-plex-sans-arabic-latin-400-normal.woff2') format('woff2');
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215;}
@font-face{font-family:'IBM Plex Sans Arabic';font-style:normal;font-weight:600;font-display:swap;
  src:url('../fonts/ibm-plex-sans-arabic-latin-600-normal.woff2') format('woff2');
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215;}
/* ==========================================================================
   نظام الألوان والقياسات — مستمد من الدليل الإرشادي لهوية اليوم الوطني السعودي 96
   ========================================================================== */
:root {
  color-scheme: dark;

  /* ألوان الهوية الرسمية */
  --nd-canvas:        #002629; /* الأخضر الداكن الأساس */
  --nd-canvas-deep:   #001A1A;
  --nd-surface:       #05332F;
  --nd-surface-2:     #073B34;
  --nd-green:         #02884D; /* الأخضر الرئيسي */
  --nd-green-600:     #017040;
  --nd-lime:          #5ABA1C; /* عزّنا بأصالتنا */
  --nd-lime-light:    #88DC46;
  --nd-rose:          #971A4D; /* عزّنا بهمّتنا */
  --nd-rose-light:    #CD3979;
  --nd-blue:          #0356AF; /* عزّنا بكرمنا */
  --nd-blue-light:    #2C81DC;
  --nd-purple:        #6565E0; /* عزّنا بجودنا */
  --nd-gold:          #7C5D21; /* عزّنا برؤيتنا */
  --nd-gold-light:    #B09053;
  --nd-olive:         #607C4F; /* عزّنا بشجاعتنا */

  /* محايدة */
  --ink:              #FFFFFF;
  --ink-90:           rgba(255,255,255,.90);
  --ink-72:           rgba(255,255,255,.72);
  --ink-58:           rgba(255,255,255,.58);
  --line:             rgba(136, 220, 70, .18);
  --line-soft:        rgba(255,255,255,.10);

  /* مسافات */
  --sp-1: 4px;  --sp-2: 8px;  --sp-3: 12px; --sp-4: 16px;
  --sp-5: 24px; --sp-6: 32px; --sp-7: 48px; --sp-8: 64px; --sp-9: 88px;

  --radius-sm: 10px;
  --radius:    16px;
  --radius-lg: 22px;

  --wrap: 1180px;
  --header-h: 68px;

  --shadow-card: 0 18px 40px -24px rgba(0,0,0,.85);
  --shadow-pop:  0 24px 60px -28px rgba(0,0,0,.9);

  --ease: cubic-bezier(.2,.7,.3,1);
}

@media (min-width: 900px) {
  :root { --header-h: 84px; }
}
/* ==========================================================================
   الأساسات — RTL، الخطوط، إمكانية الوصول
   ========================================================================== */

/* الخط الرئيسي: الخط السعودي — يُحمّل تلقائيًا من assets/css/saudi-font.css
   إذا وضعت ملفاته داخل assets/fonts (راجع assets/fonts/README-SAUDI-FONT.txt).
   الخط الثانوي/البديل: IBM Plex Sans Arabic المضمّن داخل المشروع. */

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

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}

body {
  margin: 0;
  font-family: 'Saudi', 'IBM Plex Sans Arabic', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.75;
  font-weight: 400;
  color: var(--ink-90);
  background: var(--nd-canvas-deep);
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  margin: 0;
  line-height: 1.28;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0;
}

p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

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

a { color: inherit; text-decoration: none; }

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

/* حالات التركيز — واضحة على كل العناصر التفاعلية */
:where(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: 3px solid var(--nd-lime-light);
  outline-offset: 3px;
  border-radius: 6px;
}

.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; inset-inline-start: 50%; top: -100px;
  transform: translateX(50%);
  z-index: 200;
  background: var(--nd-lime); color: #06231A;
  padding: 10px 18px; border-radius: 0 0 12px 12px;
  font-weight: 700;
  transition: top .18s var(--ease);
}
.skip-link:focus { top: 0; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 32px);
}

.section {
  padding-block: clamp(44px, 6vw, 80px);
  position: relative;
}

/* عناوين الأقسام */
.section-head { margin-bottom: clamp(24px, 4vw, 44px); }
.section-kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: .04em;
  color: var(--nd-lime-light);
  margin-bottom: 10px;
}
.section-kicker::before {
  content: ''; width: 22px; height: 2px; background: var(--nd-lime); display: block;
}
.section-title { font-size: clamp(24px, 4.4vw, 38px); }
.section-sub {
  margin-top: 10px; color: var(--ink-72);
  font-size: clamp(15px, 2vw, 17px); max-width: 62ch;
}
/* ==========================================================================
   خلفية الصفحة العامة
   ========================================================================== */
.page {
  position: relative;
  min-height: 100vh;
  background:
    radial-gradient(1100px 620px at 85% -8%, rgba(2,136,77,.28), transparent 62%),
    radial-gradient(900px 520px at 8% 12%, rgba(3,86,175,.14), transparent 60%),
    linear-gradient(180deg, #02332C 0%, var(--nd-canvas) 42%, var(--nd-canvas-deep) 100%);
}

/* شبكة النسيج السعودي الخفيفة في الخلفية */
.page::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(136,220,70,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(136,220,70,.045) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,.9), transparent 45%);
          mask-image: linear-gradient(180deg, rgba(0,0,0,.9), transparent 45%);
  pointer-events: none;
}
.page > * { position: relative; }

/* ==========================================================================
   الأزرار
   ========================================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700; font-size: 16px; line-height: 1.2;
  cursor: pointer;
  text-align: center;
  transition: transform .18s var(--ease), background-color .18s var(--ease), border-color .18s var(--ease), box-shadow .18s var(--ease);
  min-height: 50px;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--nd-lime);
  color: #06231A;
  box-shadow: 0 14px 30px -16px rgba(90,186,28,.85);
}
.btn--primary:hover { background: var(--nd-lime-light); }

.btn--ghost {
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.22);
  color: var(--ink);
}
.btn--ghost:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.4); }

.btn--wa {
  background: #FFFFFF; color: #05372A; border-color: transparent;
}
.btn--wa:hover { background: #ECFBE9; }

.btn--block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: not-allowed; transform: none; }

/* ==========================================================================
   الشريط العلوي
   ========================================================================== */
.header {
  position: sticky; top: 0; z-index: 60;
  height: var(--header-h);
  display: flex; align-items: center;
  background: rgba(0,26,26,.78);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
          backdrop-filter: saturate(150%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.header__inner {
  width: 100%; max-width: var(--wrap); margin-inline: auto;
  padding-inline: clamp(14px, 4vw, 32px);
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
}
/* شعار اليوم الوطني في أعلى اليمين — وشعار سمارت في الجهة المقابلة (قاعدة الدليل 1.7) */
.header__nd img { width: clamp(138px, 34vw, 200px); height: auto; }
.header__side { display: flex; align-items: center; gap: clamp(10px, 2vw, 18px); }
.header__smart img { width: clamp(62px, 15vw, 92px); height: auto; }
.header__cta { display: none; }
@media (min-width: 720px) { .header__cta { display: inline-flex; padding: 11px 22px; min-height: 44px; font-size: 15px; } }

/* ==========================================================================
   الواجهة الرئيسية Hero
   ========================================================================== */
.hero { padding-block: clamp(34px, 7vw, 76px) clamp(28px, 5vw, 56px); }
.hero__grid {
  display: grid; gap: clamp(26px, 5vw, 48px);
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 980px) {
  .hero__grid { grid-template-columns: 1.05fr .95fr; }
}

.hero__badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 15px 7px 12px;
  border: 1px solid var(--line);
  background: rgba(90,186,28,.10);
  border-radius: 999px;
  font-size: 13.5px; font-weight: 600; color: var(--nd-lime-light);
  margin-bottom: 18px;
}
.hero__badge span { width: 7px; height: 7px; border-radius: 2px; background: var(--nd-lime); }

.hero h1 {
  font-size: clamp(30px, 6.6vw, 56px);
  line-height: 1.16;
  letter-spacing: -.01em;
}
.hero h1 .num { color: var(--nd-lime); }

.hero__slogan {
  margin-top: 14px;
  font-size: clamp(19px, 3.6vw, 28px);
  font-weight: 700;
  color: var(--ink);
}
.hero__slogan em {
  font-style: normal;
  background: linear-gradient(90deg, var(--nd-lime-light), var(--nd-green));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero__lead {
  margin-top: 16px;
  font-size: clamp(15.5px, 2.4vw, 18px);
  color: var(--ink-72);
  max-width: 54ch;
}

.hero__price-note {
  margin-top: 18px;
  display: inline-flex; align-items: baseline; gap: 10px;
  padding: 10px 18px;
  border-radius: 14px;
  background: rgba(255,255,255,.05);
  border: 1px solid var(--line);
}
.hero__price-note b { font-size: clamp(22px, 4vw, 30px); color: var(--nd-lime); }
.hero__price-note small { font-size: 14px; color: var(--ink-72); }

.hero__actions {
  margin-top: 26px;
  display: flex; flex-wrap: wrap; gap: 12px;
}
.hero__actions .btn { flex: 1 1 210px; }

.hero__trust {
  margin-top: 26px;
  display: flex; flex-wrap: wrap; gap: 8px 10px;
}
.hero__trust li {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 13.5px; color: var(--ink-72);
  padding: 7px 13px; border-radius: 999px;
  background: rgba(255,255,255,.045);
  border: 1px solid var(--line-soft);
}
.hero__trust svg { flex: none; color: var(--nd-lime); }

/* بطاقة الشعار الرسمي */
.hero__mark {
  position: relative;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background:
    linear-gradient(160deg, rgba(2,136,77,.20), rgba(0,26,26,.55));
  padding: clamp(22px, 4vw, 40px);
  text-align: center;
  box-shadow: var(--shadow-pop);
  overflow: hidden;
}
.hero__mark img { width: min(100%, 420px); margin-inline: auto; }
.hero__mark-cap {
  margin-top: 18px; font-size: 14px; color: var(--ink-58);
}

/* ==========================================================================
   شريط زخرفة النسيج السعودي
   ========================================================================== */
.sadu {
  width: 100%; height: 14px; display: block;
  opacity: .9;
}
.sadu--divider { margin-block: clamp(20px, 4vw, 34px); }

/* ==========================================================================
   العروض
   ========================================================================== */
.offers__grid {
  display: grid; gap: clamp(14px, 2.4vw, 22px);
  grid-template-columns: 1fr;
}
@media (min-width: 620px) { .offers__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .offers__grid { grid-template-columns: repeat(3, 1fr); } }

.offer {
  display: flex; flex-direction: column;
  border-radius: var(--radius);
  border: 1px solid var(--line-soft);
  background: linear-gradient(180deg, var(--nd-surface-2), var(--nd-surface));
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform .22s var(--ease), border-color .22s var(--ease);
}
.offer:hover { transform: translateY(-4px); border-color: var(--offer-accent, var(--nd-lime)); }
.offer:focus-within { border-color: var(--offer-accent, var(--nd-lime)); }

.offer__media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: radial-gradient(120% 120% at 50% 20%, rgba(2,136,77,.20), rgba(0,20,20,.9));
  display: grid; place-items: center;
  overflow: hidden;
}
.offer__media img {
  width: 100%; height: 100%; object-fit: contain;
  padding: 6px;
}
.offer__media--portrait img { object-fit: contain; padding: 10px 6px; }

.offer__tag {
  position: absolute; inset-block-start: 12px; inset-inline-start: 12px;
  padding: 5px 11px; border-radius: 999px;
  font-size: 12px; font-weight: 700; letter-spacing: .02em;
  background: var(--offer-accent, var(--nd-lime));
  color: #06231A;
}

.offer__body { padding: 18px 18px 20px; display: flex; flex-direction: column; flex: 1; }
.offer__name { font-size: 19px; }
.offer__spec { margin-top: 5px; font-size: 14.5px; color: var(--nd-lime-light); font-weight: 600; }
.offer__detail { margin-top: 9px; font-size: 14.5px; color: var(--ink-58); line-height: 1.65; }

.offer__foot {
  margin-top: auto; padding-top: 18px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.offer__price { display: flex; align-items: baseline; gap: 6px; }
.offer__price b { font-size: 30px; color: var(--ink); line-height: 1; }
.offer__price span { font-size: 14px; color: var(--ink-72); }
.offer__btn { padding: 11px 18px; min-height: 44px; font-size: 14.5px; white-space: nowrap; }

/* ==========================================================================
   المزايا
   ========================================================================== */
.adv__grid {
  display: grid; gap: clamp(12px, 2vw, 18px);
  grid-template-columns: 1fr;
}
@media (min-width: 620px) { .adv__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .adv__grid { grid-template-columns: repeat(4, 1fr); } }

.adv {
  padding: 22px 20px;
  border-radius: var(--radius);
  border: 1px solid var(--line-soft);
  background: rgba(255,255,255,.035);
  border-top: 3px solid var(--adv-accent, var(--nd-lime));
}
.adv__icon {
  width: 42px; height: 42px; border-radius: 12px;
  display: grid; place-items: center; margin-bottom: 14px;
  background: color-mix(in srgb, var(--adv-accent, var(--nd-lime)) 20%, transparent);
  color: var(--adv-accent, var(--nd-lime));
}
.adv h3 { font-size: 17px; }
.adv p { margin-top: 7px; font-size: 14.5px; color: var(--ink-58); line-height: 1.65; }

/* ==========================================================================
   خطوات الطلب
   ========================================================================== */
.steps__grid {
  display: grid; gap: clamp(14px, 2.4vw, 22px);
  grid-template-columns: 1fr; counter-reset: step;
}
@media (min-width: 760px) { .steps__grid { grid-template-columns: repeat(3, 1fr); } }

.step {
  position: relative; padding: 24px 22px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(2,136,77,.14), rgba(255,255,255,.03));
  border: 1px solid var(--line-soft);
}
.step__n {
  font-size: 34px; font-weight: 700; line-height: 1;
  color: rgba(136,220,70,.55);
  margin-bottom: 12px;
}
.step h3 { font-size: 18px; }
.step p { margin-top: 8px; font-size: 14.5px; color: var(--ink-58); }

/* ==========================================================================
   النموذج
   ========================================================================== */
.form-section { scroll-margin-top: calc(var(--header-h) + 12px); }

.form-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: linear-gradient(170deg, rgba(2,136,77,.14), rgba(0,26,26,.6));
  padding: clamp(20px, 4vw, 38px);
  box-shadow: var(--shadow-pop);
}

.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
.field__label { font-size: 14.5px; font-weight: 600; color: var(--ink-90); }
.field__label .opt { color: var(--ink-58); font-weight: 400; font-size: 13px; }
.field__hint { font-size: 12.5px; color: var(--ink-58); }

.input, .select, .textarea {
  width: 100%;
  background: rgba(0,20,20,.55);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 12px;
  padding: 13px 15px;
  color: var(--ink);
  min-height: 50px;
  transition: border-color .18s var(--ease), background-color .18s var(--ease);
}
.input::placeholder, .textarea::placeholder { color: rgba(255,255,255,.5); }
.input:hover, .select:hover, .textarea:hover { border-color: rgba(255,255,255,.3); }
.input:focus, .select:focus, .textarea:focus { border-color: var(--nd-lime); background: rgba(0,20,20,.8); }
.textarea { min-height: 104px; resize: vertical; line-height: 1.6; }

.select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath fill='%2388DC46' d='M7 9 0 2l2-2 5 5 5-5 2 2z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left 16px center;
  padding-inline-start: 15px; padding-inline-end: 42px;
}
.select option { background: #04302B; color: #fff; }

.input--phone { direction: ltr; text-align: right; font-variant-numeric: tabular-nums; }

.field--error .input, .field--error .select, .field--error .textarea { border-color: #FF7A8A; }
.error-text { font-size: 13px; color: #FF9AA6; display: flex; align-items: center; gap: 6px; }

.form-grid { display: grid; gap: 0 16px; grid-template-columns: 1fr; }
@media (min-width: 680px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .span-2 { grid-column: 1 / -1; } }

.radio-row { display: flex; gap: 10px; flex-wrap: wrap; }
.radio {
  position: relative; flex: 1 1 140px;
}
.radio input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; cursor: pointer; }
.radio span {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 14px; min-height: 50px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(0,20,20,.5);
  font-size: 15px; font-weight: 600;
  transition: all .18s var(--ease);
}
.radio input:checked + span {
  border-color: var(--nd-lime); background: rgba(90,186,28,.16); color: #fff;
}
.radio input:focus-visible + span { outline: 3px solid var(--nd-lime-light); outline-offset: 3px; }

.consent { display: flex; align-items: flex-start; gap: 11px; margin: 6px 0 18px; }
.consent input {
  width: 22px; height: 22px; margin: 2px 0 0; flex: none;
  accent-color: var(--nd-lime); cursor: pointer;
}
.consent label { font-size: 14.5px; color: var(--ink-72); line-height: 1.6; }
.consent a { color: var(--nd-lime-light); text-decoration: underline; text-underline-offset: 3px; }

.form-status {
  margin-top: 16px; padding: 15px 17px; border-radius: 14px;
  font-size: 15px; line-height: 1.65;
  display: flex; gap: 11px; align-items: flex-start;
}
.form-status--ok { background: rgba(90,186,28,.14); border: 1px solid rgba(136,220,70,.45); color: #E7FBDD; }
.form-status--err { background: rgba(151,26,77,.2); border: 1px solid rgba(205,57,121,.5); color: #FFDCE6; }
.form-status--info { background: rgba(3,86,175,.16); border: 1px solid rgba(44,129,220,.4); color: #DCEBFF; }
.form-status svg { flex: none; margin-top: 3px; }
.form-status a { text-decoration: underline; text-underline-offset: 3px; font-weight: 600; }

.spinner {
  width: 18px; height: 18px; border-radius: 50%;
  border: 2px solid rgba(6,35,26,.35); border-top-color: #06231A;
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.summary-chip {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 15px; border-radius: 14px;
  background: rgba(90,186,28,.10); border: 1px dashed rgba(136,220,70,.4);
  margin-bottom: 20px; font-size: 14.5px;
}
.summary-chip b { color: var(--nd-lime-light); }

/* ==========================================================================
   الأسئلة الشائعة
   ========================================================================== */
.faq__list { display: grid; gap: 10px; }
.faq__item {
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-soft);
  background: rgba(255,255,255,.035);
  overflow: hidden;
}
.faq__q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 17px 19px; background: none; border: 0; cursor: pointer;
  text-align: start; font-size: 16px; font-weight: 600; color: var(--ink);
  min-height: 56px;
}
.faq__q:hover { background: rgba(255,255,255,.04); }
.faq__icon { flex: none; color: var(--nd-lime); transition: transform .22s var(--ease); }
.faq__item[data-open='true'] .faq__icon { transform: rotate(45deg); }
.faq__a { padding: 0 19px 18px; font-size: 14.8px; color: var(--ink-72); line-height: 1.75; }

/* ==========================================================================
   التذييل
   ========================================================================== */
.footer {
  border-top: 1px solid var(--line);
  background: rgba(0,20,20,.6);
  padding-block: clamp(34px, 5vw, 56px) 0;
}
.footer__grid {
  display: grid; gap: clamp(24px, 4vw, 40px);
  grid-template-columns: 1fr;
}
@media (min-width: 780px) { .footer__grid { grid-template-columns: 1.2fr 1fr 1fr; } }

.footer__logo img { width: 150px; margin-bottom: 16px; }
.footer__about { font-size: 14.5px; color: var(--ink-58); max-width: 40ch; }
.footer h3 { font-size: 15px; margin-bottom: 14px; color: var(--nd-lime-light); }
.footer__list li + li { margin-top: 10px; }
.footer__list a, .footer__list span {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 14.5px; color: var(--ink-72);
}
.footer__list a:hover { color: var(--ink); }
.footer__list svg { flex: none; color: var(--nd-lime); }

.footer__social { display: flex; gap: 10px; margin-top: 16px; }
.footer__social a {
  width: 42px; height: 42px; border-radius: 12px;
  display: grid; place-items: center;
  background: rgba(255,255,255,.06); border: 1px solid var(--line-soft);
  transition: background-color .18s var(--ease);
}
.footer__social a:hover { background: rgba(255,255,255,.14); }

.footer__bar {
  margin-top: clamp(28px, 4vw, 44px);
  padding-block: 18px;
  border-top: 1px solid var(--line-soft);
  display: flex; flex-wrap: wrap; gap: 8px 18px;
  align-items: center; justify-content: space-between;
  font-size: 13.5px; color: var(--ink-58);
}
.footer__bar a { text-decoration: underline; text-underline-offset: 3px; }

/* ==========================================================================
   زر CTA الثابت للجوال
   ========================================================================== */
.sticky-cta {
  position: fixed; inset-inline: 0; bottom: 0; z-index: 70;
  padding: 10px clamp(12px, 4vw, 20px) calc(10px + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, rgba(0,26,26,0), rgba(0,26,26,.94) 34%);
  display: flex; gap: 10px;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.sticky-cta .btn { flex: 1; min-height: 52px; padding-inline: 14px; font-size: 15.5px; }
.sticky-cta .btn--wa { flex: 0 0 auto; width: 58px; padding: 0; }
@media (min-width: 900px) { .sticky-cta { display: none; } }

/* حشوة سفلية للجوال حتى لا يحجب الزر الثابت المحتوى */
.page-bottom-space { height: 76px; }
@media (min-width: 900px) { .page-bottom-space { height: 0; } }

/* ==========================================================================
   تحسينات نهائية
   ========================================================================== */
.nowrap { white-space: nowrap; }

/* توسيط البطاقة الأخيرة إذا بقيت وحدها في الصف */
@media (min-width: 1000px) {
  .offers__grid > li:last-child:nth-child(3n + 1) { grid-column: 2 / 3; }
}
@media (min-width: 620px) and (max-width: 999px) {
  .offers__grid > li:last-child:nth-child(2n + 1) { grid-column: 1 / -1; }
  .offers__grid > li:last-child:nth-child(2n + 1) .offer__media { aspect-ratio: 21 / 9; }
}

/* مربع الموافقة — أوضح بصريًا */
.consent {
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(0,20,20,.45);
  border: 1px solid rgba(255,255,255,.12);
}
.consent:has(input:focus-visible) { border-color: var(--nd-lime); }

/* تباعد أدق داخل الواجهة الرئيسية */
.hero__price-note { align-items: center; }
.hero__price-note b { line-height: 1; }

/* تفادي اختفاء العناصر خلف الشريط العلوي الثابت عند التنقل بلوحة المفاتيح أو الروابط */
.section, .offer, .faq__item, [id] {
  scroll-margin-top: calc(var(--header-h) + 16px);
}

/* رسوم العروض غير المادية (SVG من عناصر الهوية بدل صور Stock) */
.offer__art { display: block; width: 100%; height: 100%; }
.offer__art svg { width: 100%; height: 100%; display: block; }

/* ملاحظة صغيرة أسفل وصف العرض */
.offer__note {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink-72);
  padding: 8px 11px;
  border-radius: 9px;
  background: rgba(255,255,255,.05);
  border-inline-start: 3px solid var(--offer-accent, var(--nd-lime));
}

/* فخ العناكب الآلية — مخفي بصريًا دون التأثير على عرض الصفحة */
.hp-field {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
  opacity: 0;
  pointer-events: none;
}

/* ==========================================================================
   تحديث واجهة الموبايل — سبتمبر 2026
   توسيط الـHero، تكبير الشعارات، شريط عائم ذكي، وحركة احتفالية خفيفة
   ========================================================================== */

:root {
  --smart-blue:      #0A4FD6;   /* أزرق سمارت — للتفاصيل الصلبة */
  --smart-blue-tint: #6FB0FF;   /* درجة فاتحة للنصوص على الخلفية الداكنة */
  --sticky-h:        76px;      /* ارتفاع الشريط العائم */
}

/* --------------------------------------------------------------------------
   1) الشعارات — أحجام أوضح مع الحفاظ على قاعدة الدليل (اليوم الوطني ≥ ضعف سمارت)
   -------------------------------------------------------------------------- */
.header__nd img    { width: clamp(160px, 44vw, 230px); }
.header__smart img { width: clamp(78px,  21vw, 110px); }

@media (max-width: 380px) {
  .header__nd img    { width: 152px; }
  .header__smart img { width: 74px; }
}

.header__inner { gap: 10px; }

/* --------------------------------------------------------------------------
   2) الـHero على الموبايل — توسيط فعلي لكل المحتوى
   -------------------------------------------------------------------------- */
.hero { position: relative; overflow: hidden; }

.hero__by {
  margin-top: 10px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--smart-blue-tint);
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero__by::before {
  content: '';
  width: 20px; height: 2px; flex: none;
  background: linear-gradient(90deg, var(--smart-blue-tint), transparent);
}

.hero__price-note .dot { color: var(--nd-lime); font-size: 13px; }

@media (max-width: 767px) {
  .hero__copy { text-align: center; }
  .hero__copy > * { margin-inline: auto; }

  .hero h1 {
    font-size: clamp(27px, 8.2vw, 40px);
    line-height: 1.25;
    text-wrap: balance;
  }

  .hero__by { justify-content: center; }
  .hero__by::before { display: none; }

  .hero__slogan { font-size: clamp(17px, 5vw, 23px); }

  .hero__lead {
    font-size: clamp(15px, 4vw, 17px);
    max-width: 34ch;
    line-height: 1.8;
  }

  .hero__price-note {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 10px;
    padding: 11px 16px;
    text-align: center;
  }
  .hero__price-note b { font-size: clamp(17px, 4.8vw, 21px); }
  .hero__price-note small { font-size: 13.5px; }

  .hero__actions { justify-content: center; }
  .hero__actions .btn { flex: 1 1 100%; }

  .hero__trust {
    justify-content: center;
    gap: 8px;
  }
  .hero__trust li { font-size: 12.8px; padding: 6px 11px; }

  .hero__mark { padding: 20px 16px; }
  .hero__mark-cap { font-size: 13px; }

  .wrap { padding-inline: 18px; }
}

@media (max-width: 380px) {
  .hero__trust li { font-size: 12px; padding: 5px 9px; }
}

/* --------------------------------------------------------------------------
   3) الشريط العائم — يظهر فقط بعد اختفاء أزرار الـHero
   -------------------------------------------------------------------------- */
.sticky-cta {
  gap: 8px;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
  transform: translateY(110%);
  transition: transform .28s var(--ease), opacity .2s var(--ease);
  opacity: 0;
  will-change: transform;
}
.sticky-cta[hidden] { display: none; }
.sticky-cta.is-visible { transform: translateY(0); opacity: 1; }
.sticky-cta.is-tucked  { transform: translateY(110%); opacity: 0; pointer-events: none; }

.sticky-cta__main { flex: 1 1 auto; min-width: 0; }
.sticky-cta__wa {
  flex: 0 0 auto;
  width: auto;
  padding-inline: 16px;
  gap: 7px;
  font-size: 14.5px;
}
.sticky-cta__wa span { white-space: nowrap; }

@media (max-width: 360px) {
  .sticky-cta { padding-inline: 10px; gap: 6px; }
  .sticky-cta .btn { font-size: 14.5px; padding-inline: 12px; }
  .sticky-cta__wa { padding-inline: 12px; }
}

/* مساحة سفلية تساوي ارتفاع الشريط حتى لا يغطي أي محتوى */
.page-bottom-space { height: calc(var(--sticky-h) + env(safe-area-inset-bottom, 0px)); }
@media (min-width: 900px) { .page-bottom-space { height: 0; } }

/* --------------------------------------------------------------------------
   4) الحركة الاحتفالية — خفيفة، تعمل بـ transform/opacity فقط
   -------------------------------------------------------------------------- */

/* دخول عناصر الـHero بالتتابع */
@keyframes smRise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes smLogoIn { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }
@keyframes smPop { 0% { transform: scale(1); } 45% { transform: scale(1.16); } 100% { transform: scale(1); } }
@keyframes smDrift { from { transform: translate3d(0,0,0); } to { transform: translate3d(-56px,-56px,0); } }
@keyframes smSpark { 0% { opacity: 0; transform: translate(0,0) scale(.4); } 25% { opacity: 1; } 100% { opacity: 0; transform: translate(var(--tx), var(--ty)) scale(1); } }

.js-anim .anim      { opacity: 0; animation: smRise .62s var(--ease) forwards; animation-delay: var(--d, 0s); }
.js-anim .anim-logo { opacity: 0; animation: smLogoIn .5s var(--ease) forwards; }
.js-anim .header__nd.anim-logo    { animation-delay: .05s; }
.js-anim .header__smart.anim-logo { animation-delay: .16s; }

/* نبضة واحدة لرقم 96 */
.js-anim .hero h1 .num { display: inline-block; }
.js-anim .hero h1 .num.is-pop { animation: smPop .7s var(--ease) 1; }

/* زخرفة هندسية بطيئة جدًا داخل الـHero — تتوقف عند خروجه من الشاشة */
.hero__deco {
  position: absolute; inset: -60px;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(136,220,70,.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(136,220,70,.055) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(120% 90% at 70% 10%, #000 20%, transparent 72%);
          mask-image: radial-gradient(120% 90% at 70% 10%, #000 20%, transparent 72%);
}
.js-anim .hero.is-live .hero__deco { animation: smDrift 48s linear infinite; }

/* ظهور الأقسام والبطاقات عند التمرير */
.js-anim .reveal      { opacity: 0; transform: translateY(22px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js-anim .reveal.is-in { opacity: 1; transform: none; }
.js-anim .reveal-item { opacity: 0; transform: translateY(18px); transition: opacity .5s var(--ease), transform .5s var(--ease); transition-delay: var(--i, 0ms); }
.js-anim .reveal-item.is-in { opacity: 1; transform: none; }

/* تفاعل دقيق عند لمس الأزرار */
.btn { position: relative; overflow: hidden; -webkit-tap-highlight-color: transparent; }
.btn:active { transform: translateY(1px) scale(.985); }
.btn .ripple {
  position: absolute; border-radius: 50%; pointer-events: none;
  background: currentColor; opacity: .22;
  transform: translate(-50%, -50%) scale(0);
  animation: smRipple .5s ease-out forwards;
}
@keyframes smRipple { to { transform: translate(-50%, -50%) scale(2.6); opacity: 0; } }

/* احتفال قصير عند نجاح التسجيل */
.celebrate { position: relative; }
.celebrate .spark {
  position: absolute; top: 50%; inset-inline-start: 50%;
  width: 9px; height: 9px; border-radius: 2px;
  pointer-events: none;
  animation: smSpark 1.05s ease-out forwards;
}

/* احترام تقليل الحركة */
@media (prefers-reduced-motion: reduce) {
  .js-anim .anim,
  .js-anim .anim-logo { opacity: 1; animation: none; }
  .js-anim .reveal,
  .js-anim .reveal-item { opacity: 1; transform: none; transition: none; }
  .js-anim .hero.is-live .hero__deco { animation: none; }
  .btn:active { transform: none; }
  .btn .ripple, .celebrate .spark { display: none; }
}

/* الفاصل بين شطري شريط السعر يظهر فقط عندما يتسع السطر */
@media (max-width: 520px) {
  .hero__price-note .dot { display: none; }
  .hero__price-note { flex-direction: column; gap: 4px; }
}

/* نص رسالة حالة النموذج داخل عنصر واحد حتى لا يتفكك في حاوية flex */
.form-status__body { flex: 1 1 auto; min-width: 0; }
.form-status svg { flex: none; margin-top: 3px; }
