/* ==========================================================================
   السلسال — نظام التصميم الرئيسي
   استيراد المواشي • التسمين • التجهيز • التوريد للسوق المحلي
   ========================================================================== */

/* 1) المتغيرات ------------------------------------------------------------ */
:root {
  --green-900: #0E2A22;
  --green-800: #173D32;
  --green-600: #245748;
  --green-050: #EEF2EF;
  --gold:      #C9A66B;
  --gold-700:  #A9873F;
  --copper:    #D97A52;   /* لون الشعار — يُستخدم بإبراز محدود جدًا */
  --ivory:     #F5F1E8;
  --ivory-2:   #FAF8F2;
  --paper:     #FFFFFF;
  --ink:       #1E2925;
  --muted:     #5B6B64;
  --line:      rgba(23, 61, 50, .14);
  --line-soft: rgba(23, 61, 50, .08);

  /* عائلة خطوط الموقع */
  --font-head: "Noto Kufi Arabic", "Noto Sans Arabic", system-ui, sans-serif;
  --font-body: "Noto Kufi Arabic", "Noto Sans Arabic", system-ui, sans-serif;
  --font-num:  "Noto Kufi Arabic", "Noto Sans Arabic", system-ui, sans-serif;

  --r-sm: 10px;
  --r:    16px;
  --r-lg: 24px;

  --shadow-sm: 0 1px 2px rgba(14, 42, 34, .05), 0 6px 18px rgba(14, 42, 34, .05);
  --shadow-md: 0 2px 6px rgba(14, 42, 34, .06), 0 18px 40px rgba(14, 42, 34, .09);

  --sec-y: clamp(60px, 8vw, 108px);
  --header-h: 76px;
}

/* 2) الأساسيات ------------------------------------------------------------ */
* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.95;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* قواعد خاصة بالعربية: لا فصل بالشرطة، لا تباعد بين الحروف، وكسر آمن للكلمات اللاتينية الطويلة */
  hyphens: none;
  -webkit-hyphens: none;
  letter-spacing: 0;
  overflow-wrap: break-word;
  word-break: normal;
  line-break: normal;
  font-kerning: normal;
}

/* العربية خط متصل: أي letter-spacing يفكّ اتصال الحروف — ممنوع في كل العناصر */
h1, h2, h3, h4, h5, h6, p, a, span, li, label, button, input, select, textarea, summary { letter-spacing: 0; }

h1, h2, h3, h4, h5, .font-head { font-family: var(--font-head); color: var(--green-800); }
h1, h2, h3, h4 { line-height: 1.5; font-weight: 700; margin: 0 0 .6em; text-wrap: balance; }

h1 { font-size: clamp(28px, 5.2vw, 52px); line-height: 1.4; }
h2 { font-size: clamp(23px, 3.6vw, 36px); }
h3 { font-size: clamp(19px, 2.2vw, 24px); }
h4 { font-size: clamp(17px, 1.8vw, 20px); }

p { margin: 0 0 1.1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

/* حقول النماذج والأزرار ترث الخط العربي بدل خط النظام الافتراضي */
input, select, textarea, button { font-family: inherit; font-size: inherit; letter-spacing: 0; }
::placeholder { color: #93A099; opacity: 1; }

/* الأرقام واللاتينية داخل نص عربي */
.num, [dir="ltr"] { direction: ltr; unicode-bidi: isolate; }

a { color: var(--green-600); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--gold-700); }

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

::selection { background: var(--gold); color: var(--green-900); }

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

.container { max-width: 1200px; }

.lead { font-size: clamp(17px, 1.9vw, 19px); color: var(--muted); }
.text-muted-2 { color: var(--muted); }
.num { font-family: var(--font-num); font-variant-numeric: tabular-nums lining-nums; direction: ltr; unicode-bidi: isolate; font-weight: 600; }

.skip-link {
  position: absolute; right: 16px; inset-inline-start: 16px; top: -60px;
  background: var(--green-800); color: #fff; padding: 10px 18px;
  border-radius: 0 0 var(--r-sm) var(--r-sm); z-index: 1200; transition: top .2s ease;
}
.skip-link:focus { top: 0; color: #fff; }

/* 3) عناصر مشتركة --------------------------------------------------------- */
.section { padding-block: var(--sec-y); }
.section--ivory { background: var(--ivory); }
.section--soft  { background: var(--ivory-2); }
.section--dark  { background: var(--green-800); color: #E9EFEA; }
.section--dark h2, .section--dark h3, .section--dark h4 { color: #fff; }
.section--dark .lead, .section--dark p { color: rgba(255, 255, 255, .78); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-size: 13px; font-weight: 600;
  color: var(--gold-700); margin-bottom: 14px;
}
.eyebrow::before {
  content: ""; width: 26px; height: 2px; background: var(--gold); border-radius: 2px;
}
.section--dark .eyebrow { color: var(--gold); }

.section-head { max-width: 720px; margin-bottom: clamp(30px, 4vw, 52px); }
.section-head p, .lead, .page-head p { max-width: 68ch; }
.section-head.is-center { margin-left: auto; margin-right: auto; margin-inline: auto; text-align: center; }
.section-head.is-center .eyebrow { justify-content: center; }

.rule { height: 1px; background: var(--line); border: 0; margin: 0; }

/* الأزرار */
.btn {
  --btn-bg: var(--green-800);
  --btn-fg: #fff;
  --btn-bd: var(--green-800);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-head); font-size: 15px; font-weight: 600;
  padding: 13px 26px; border-radius: 999px;
  background: var(--btn-bg); color: var(--btn-fg); border: 1.5px solid var(--btn-bd);
  transition: transform .18s ease, box-shadow .22s ease, background-color .22s ease, color .22s ease;
  cursor: pointer; line-height: 1.6; text-align: center;
}
.btn:hover { color: var(--btn-fg); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn:active { transform: translateY(0); }
.btn svg { width: 19px; height: 19px; flex: none; }

.btn--gold  { --btn-bg: var(--gold); --btn-bd: var(--gold); --btn-fg: var(--green-900); }
.btn--ghost { --btn-bg: transparent; --btn-bd: var(--line); --btn-fg: var(--green-800); }
.btn--ghost:hover { --btn-bg: var(--green-050); }
.btn--light { --btn-bg: #fff; --btn-bd: #fff; --btn-fg: var(--green-800); }
.btn--outline-light { --btn-bg: transparent; --btn-bd: rgba(255,255,255,.45); --btn-fg: #fff; }
.btn--outline-light:hover { --btn-bg: rgba(255,255,255,.1); }
.btn--wa { --btn-bg: #1F9D55; --btn-bd: #1F9D55; --btn-fg: #fff; }
.btn--sm { padding: 10px 20px; font-size: 14px; }
.btn--icon { padding: 0; width: 42px; height: 42px; border-radius: 50%; flex: none; }
.btn--icon svg { width: 21px; height: 21px; }
.btn--icon .btn-label { display: none; }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 600; font-size: 15px; color: var(--green-600);
}
.link-arrow svg { width: 17px; height: 17px; transition: transform .2s ease; }
.link-arrow:hover svg { transform: translateX(-4px); }

/* البطاقات */
.card-s {
  background: var(--paper); border: 1px solid var(--line-soft); border-radius: var(--r);
  padding: clamp(22px, 3vw, 32px); height: 100%;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card-s:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--line); }
.card-s h3 { margin-bottom: .5em; }
.card-s p { color: var(--muted); font-size: 16px; }
.card-s--flat:hover { transform: none; box-shadow: none; }

.icon-badge {
  width: 52px; height: 52px; border-radius: 14px;
  display: grid; place-items: center; margin-bottom: 18px;
  background: var(--green-050); color: var(--green-600);
  border: 1px solid var(--line-soft);
}
.icon-badge svg { width: 26px; height: 26px; }
.icon-badge--gold { background: rgba(201, 166, 107, .16); color: var(--gold-700); border-color: rgba(201,166,107,.3); }

/* 4) الهيدر --------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line-soft);
  transition: box-shadow .25s ease, background-color .25s ease;
}
.site-header.is-stuck {
  background: rgba(255, 255, 255, .97);
  box-shadow: 0 6px 24px rgba(14, 42, 34, .07);
}
.header-inner { display: flex; align-items: center; gap: 16px; min-height: var(--header-h); flex-wrap: nowrap; }

.brand { display: flex; align-items: center; gap: 12px; padding-block: 8px; }
.brand img { width: auto; height: 50px; object-fit: contain; display: block; }
.brand-text { display: flex; flex-direction: column; line-height: 1.25; font-family: var(--font-head); }
.brand-name { font-family: var(--font-head); font-weight: 700; font-size: 19px; color: var(--green-800); }
.brand-tag  { font-family: var(--font-head); font-size: 11.5px; font-weight: 400; color: var(--muted); line-height: 1.65; }

.nav { margin-left: auto; margin-inline-start: auto; display: flex; align-items: center; gap: 2px; flex-wrap: nowrap; }
.nav a {
  font-family: var(--font-head); font-size: 14.5px; font-weight: 500; color: var(--ink);
  padding: 9px 13px; border-radius: 999px; white-space: nowrap;
}
.nav a:hover { background: var(--green-050); color: var(--green-800); }
.nav a.is-active { color: var(--green-800); font-weight: 700; background: var(--green-050); }

.header-cta { display: flex; align-items: center; gap: 8px; flex: none; }
.header-cta .btn { white-space: nowrap; }

.nav-toggle {
  display: none; margin-left: auto; margin-inline-start: auto;
  width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line);
  background: #fff; padding: 0; place-items: center; cursor: pointer;
}
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--green-800); border-radius: 2px; position: relative; transition: .25s ease; }
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; right: 0; inset-inline-start: 0; width: 20px; height: 2px;
  background: var(--green-800); border-radius: 2px; transition: .25s ease;
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after  { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after  { top: 0; transform: rotate(-45deg); }

/* 5) الواجهة الرئيسية Hero ------------------------------------------------ */
.hero {
  position: relative; overflow: hidden;
  background: var(--green-800);
  color: #fff;
  padding-block: clamp(56px, 8vw, 104px);
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(120% 90% at 88% 8%, rgba(201, 166, 107, .20) 0%, rgba(201, 166, 107, 0) 55%),
    radial-gradient(90% 70% at 10% 100%, rgba(36, 87, 72, .85) 0%, rgba(23, 61, 50, 0) 60%);
  pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; inset: 0; opacity: .35; pointer-events: none;
  background-image:
    repeating-linear-gradient(to left, rgba(255,255,255,.05) 0 1px, transparent 1px 92px);
}
.hero > .container { position: relative; z-index: 2; }

.hero h1 { color: #fff; margin-bottom: .45em; }
.hero .hero-sub {
  font-family: var(--font-head); font-weight: 500;
  font-size: clamp(16px, 2vw, 20px); line-height: 1.85;
  color: var(--gold); margin-bottom: 22px;
}
.hero p.hero-text { color: rgba(255, 255, 255, .8); max-width: 620px; }
.hero .hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16);
  color: #fff; font-family: var(--font-head); font-size: 13px; font-weight: 600;
  padding: 8px 16px; border-radius: 999px; margin-bottom: 22px;
}
.hero-badge b { color: var(--copper); font-weight: 700; }

/* ميدالية الشعار في الواجهة */
.hero-emblem { position: relative; text-align: center; margin: 0; }
.hero-emblem .medallion {
  position: relative;
  width: min(400px, 86%);
  aspect-ratio: 1 / 1;
  margin-left: auto; margin-right: auto; margin-inline: auto;
  display: grid; place-items: center;
  border-radius: 50%;
}
/* حلقة ذهبية رفيعة حول الشعار */
.hero-emblem .medallion::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 1px solid rgba(201, 166, 107, .5);
}
.hero-emblem .medallion::after {
  content: ""; position: absolute; inset: 12px; border-radius: 50%;
  background: radial-gradient(circle at 50% 42%, rgba(217, 122, 82, .18), transparent 68%);
}
.hero-emblem img { position: relative; z-index: 2; width: 86%; height: auto; object-fit: contain; display: block; }
.hero-emblem figcaption {
  margin-top: 24px; font-family: var(--font-head); font-size: 14px; font-weight: 600;
  color: var(--gold); text-align: center;
}

/* نسخة بديلة: الشعار داخل قرص عاجي (بدّل class إلى "medallion medallion--plate") */
.hero-emblem .medallion--plate {
  background: radial-gradient(circle at 50% 38%, #FFFFFF 0%, var(--ivory-2) 62%, var(--ivory) 100%);
  box-shadow: 0 0 0 10px rgba(201, 166, 107, .16), 0 26px 60px rgba(0, 0, 0, .32);
}
.hero-emblem .medallion--plate::before { border-color: rgba(201, 166, 107, .35); }
.hero-emblem .medallion--plate::after { display: none; }
.hero-emblem .medallion--plate img { width: 80%; }

/* شريط الثقة */
.trust {
  background: var(--green-900); color: rgba(255, 255, 255, .82);
  border-top: 1px solid rgba(255, 255, 255, .08);
}
.trust ul {
  list-style: none; margin: 0; padding: 18px 0; display: grid; gap: 10px 26px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.trust li {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-size: 13.5px; font-weight: 500;
}
.trust li svg { width: 18px; height: 18px; color: var(--gold); flex: none; }

/* 6) سلسلة القيمة (العنصر المميّز) ---------------------------------------- */
.chain { position: relative; margin-top: 8px; }
.chain-track { position: relative; display: grid; gap: 26px; }

.chain-step { position: relative; padding-right: 62px; padding-inline-start: 62px; }
.chain-num {
  position: absolute; right: 0; inset-inline-start: 0; top: 0;
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--paper); border: 1.5px solid var(--gold);
  font-family: var(--font-num); font-weight: 600; font-size: 14px; color: var(--gold-700);
  z-index: 2;
}
.chain-step h3 { font-size: 18px; margin-bottom: .25em; }
.chain-step p { font-size: 15px; color: var(--muted); margin: 0; }
.chain-step::before {
  content: ""; position: absolute; right: 23px; inset-inline-start: 23px; top: 46px; bottom: -26px;
  width: 1.5px; background: linear-gradient(var(--gold), rgba(201, 166, 107, .25));
  z-index: 1;
}
.chain-step:last-child::before { display: none; }

.section--dark .chain-num { background: var(--green-900); border-color: var(--gold); color: var(--gold); }
.section--dark .chain-step p { color: rgba(255, 255, 255, .72); }

/* 7) بطاقات المواشي ------------------------------------------------------- */
.stock-card {
  position: relative; overflow: hidden; height: 100%;
  background: var(--paper); border: 1px solid var(--line-soft);
  border-radius: var(--r); padding: clamp(24px, 3vw, 34px);
  transition: transform .25s ease, box-shadow .25s ease;
}
.stock-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.stock-card .tag {
  display: inline-block; font-family: var(--font-head); font-size: 12px; font-weight: 700;
  color: var(--gold-700); background: rgba(201, 166, 107, .16);
  border: 1px solid rgba(201, 166, 107, .3);
  padding: 5px 12px; border-radius: 999px; margin-bottom: 14px;
}
.stock-card--primary {
  background: var(--green-800); border-color: var(--green-800); color: #fff;
}
.stock-card--primary h3 { color: #fff; }
.stock-card--primary p { color: rgba(255, 255, 255, .8); }
.stock-card--primary .tag { background: var(--gold); border-color: var(--gold); color: var(--green-900); }
.stock-card--primary .link-arrow { color: var(--gold); }
.stock-card--primary .icon-badge { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.18); color: var(--gold); }

/* 8) قوائم ومزايا --------------------------------------------------------- */
.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.check-list li { position: relative; padding-right: 34px; padding-inline-start: 34px; font-size: 16px; }
.check-list li::before {
  content: ""; position: absolute; right: 0; inset-inline-start: 0; top: 11px;
  width: 20px; height: 20px; border-radius: 50%;
  background: rgba(201, 166, 107, .18); border: 1px solid rgba(201, 166, 107, .45);
}
.check-list li::after {
  content: ""; position: absolute; right: 6px; inset-inline-start: 6px; top: 17px;
  width: 8px; height: 4px; border-right: 1.8px solid var(--gold-700); border-inline-start: 1.8px solid var(--gold-700);
  border-bottom: 1.8px solid var(--gold-700); transform: rotate(-45deg);
}
.section--dark .check-list li { color: rgba(255,255,255,.85); }

.stat-row { display: grid; gap: 20px; grid-template-columns: 1fr; }
.stat {
  border-right: 2px solid var(--gold); border-inline-start: 2px solid var(--gold);
  padding-right: 16px; padding-inline-start: 16px;
}
.stat b { display: block; font-family: var(--font-head); font-size: 17px; color: var(--green-800); }
.stat span { font-size: 14.5px; color: var(--muted); }
.section--dark .stat b { color: #fff; }
.section--dark .stat span { color: rgba(255,255,255,.7); }

/* 9) صندوق المعلومات / الخرائط -------------------------------------------- */
.info-panel {
  background: var(--ivory); border: 1px solid var(--line-soft);
  border-radius: var(--r); padding: clamp(24px, 3vw, 34px);
}
.info-row { display: flex; gap: 14px; align-items: flex-start; padding-block: 14px; }
.info-row + .info-row { border-top: 1px solid var(--line-soft); }
.info-row svg { width: 22px; height: 22px; color: var(--gold-700); flex: none; margin-top: 6px; }
.info-row .k { font-family: var(--font-head); font-size: 13px; color: var(--muted); display: block; }
.info-row .v { font-family: var(--font-head); font-size: 17px; font-weight: 600; color: var(--green-800); }
a.v:hover { color: var(--gold-700); }

/* 10) النموذج ------------------------------------------------------------- */
.form-card {
  background: var(--paper); border: 1px solid var(--line-soft); border-radius: var(--r-lg);
  padding: clamp(24px, 3.4vw, 40px); box-shadow: var(--shadow-sm);
}
.form-label {
  font-family: var(--font-head); font-size: 14px; font-weight: 600;
  color: var(--green-800); margin-bottom: 7px; display: block;
}
.form-control-s {
  width: 100%; font-family: var(--font-body); font-size: 16px; color: var(--ink);
  background: var(--ivory-2); border: 1.5px solid var(--line-soft); border-radius: var(--r-sm);
  padding: 12px 15px; transition: border-color .2s ease, background-color .2s ease;
}
.form-control-s:focus {
  outline: none; border-color: var(--green-600); background: #fff;
  box-shadow: 0 0 0 4px rgba(36, 87, 72, .1);
}
select.form-control-s {
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23245748' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left 15px center;
  padding-left: 42px; padding-inline-end: 42px;
}
.form-hint { font-size: 13px; color: var(--muted); }
.form-note {
  display: none; margin-top: 14px; padding: 12px 16px; border-radius: var(--r-sm);
  background: rgba(201, 166, 107, .14); border: 1px solid rgba(201, 166, 107, .35);
  font-size: 14.5px; color: var(--green-800);
}
.form-note.is-visible { display: block; }
.field-error { display: none; font-size: 13px; color: #B3261E; margin-top: 5px; }
.is-invalid + .field-error, .field-error.is-visible { display: block; }
.form-control-s.is-invalid { border-color: #B3261E; background: #FFF7F6; }

/* 11) الأسئلة الشائعة ----------------------------------------------------- */
.faq-item {
  background: var(--paper); border: 1px solid var(--line-soft);
  border-radius: var(--r); margin-bottom: 12px; overflow: hidden;
}
.faq-item summary {
  list-style: none; cursor: pointer; padding: 20px 24px;
  font-family: var(--font-head); font-weight: 600; font-size: 16.5px; color: var(--green-800);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ""; flex: none; width: 11px; height: 11px;
  border-left: 2px solid var(--gold-700); border-inline-end: 2px solid var(--gold-700); border-bottom: 2px solid var(--gold-700);
  transform: rotate(45deg); transition: transform .25s ease; margin-top: -4px;
}
.faq-item[open] summary::after { transform: rotate(-135deg); margin-top: 4px; }
.faq-item .faq-body { padding: 0 24px 22px; color: var(--muted); font-size: 16px; }

/* 12) شريط الدعوة النهائية ------------------------------------------------ */
.cta-band {
  position: relative; overflow: hidden;
  background: var(--green-800); color: #fff; border-radius: var(--r-lg);
  padding: clamp(30px, 5vw, 60px);
}
.cta-band::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(80% 120% at 90% 0%, rgba(201, 166, 107, .25), transparent 60%);
}
.cta-band > * { position: relative; z-index: 2; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, .8); }

/* 13) الفوتر -------------------------------------------------------------- */
.site-footer { background: var(--green-900); color: rgba(255, 255, 255, .74); padding-top: clamp(48px, 6vw, 76px); }
.site-footer h4 { color: #fff; font-size: 16px; margin-bottom: 18px; }
.site-footer a { color: rgba(255, 255, 255, .74); font-size: 15px; }
.site-footer a:hover { color: var(--gold); }
.footer-brand-plate {
  display: grid; place-items: center; background: var(--ivory);
  width: 96px; height: 96px; border-radius: 50%; margin-bottom: 20px;
  box-shadow: 0 0 0 6px rgba(201, 166, 107, .14);
}
.footer-brand-plate img { width: 76px; height: auto; object-fit: contain; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.footer-bottom {
  margin-top: clamp(34px, 4vw, 54px); border-top: 1px solid rgba(255, 255, 255, .12);
  padding-block: 22px; font-size: 13.5px; display: flex; flex-wrap: wrap; gap: 8px 20px;
  align-items: center; justify-content: space-between;
}
.footer-motto { color: var(--gold); font-family: var(--font-head); font-weight: 600; }

/* 14) زر واتساب العائم ---------------------------------------------------- */
.wa-float {
  position: fixed; left: 16px; inset-inline-end: 16px; bottom: 16px; inset-block-end: 16px; z-index: 1050;
  width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  background: #1F9D55; color: #fff; box-shadow: 0 10px 26px rgba(0, 0, 0, .22);
  transition: transform .2s ease;
}
.wa-float:hover { color: #fff; transform: scale(1.06); }
.wa-float svg { width: 30px; height: 30px; }

/* 15) صفحات داخلية -------------------------------------------------------- */
.page-head {
  background: var(--green-800); color: #fff; padding-block: clamp(44px, 6vw, 78px);
  position: relative; overflow: hidden;
}
.page-head::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(70% 120% at 85% 0%, rgba(201, 166, 107, .22), transparent 60%);
}
.page-head::after {
  content: ""; position: absolute; top: 50%; left: -60px; transform: translateY(-50%);
  width: 300px; height: 300px; pointer-events: none; opacity: .10;
  background: url("../img/logo/logo-512.png") center / contain no-repeat;
}
@media (max-width: 991.98px) { .page-head::after { display: none; } }
.page-head > .container { position: relative; z-index: 2; }
.page-head h1 { color: #fff; margin-bottom: .3em; }
.page-head p { color: rgba(255, 255, 255, .78); max-width: 640px; margin: 0; }

.breadcrumb-s { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0 0 18px; font-size: 13.5px; }
.breadcrumb-s a { color: rgba(255, 255, 255, .7); }
.breadcrumb-s a:hover { color: var(--gold); }
.breadcrumb-s li + li::before { content: "‹"; margin-left: 8px; margin-inline-end: 8px; color: rgba(255, 255, 255, .45); }
.breadcrumb-s li[aria-current] { color: var(--gold); }

.media-slot {
  position: relative; border-radius: var(--r-lg); overflow: hidden; min-height: 260px;
  background:
    linear-gradient(140deg, rgba(23, 61, 50, .92), rgba(36, 87, 72, .92)),
    repeating-linear-gradient(45deg, rgba(201,166,107,.12) 0 2px, transparent 2px 14px);
  border: 1px solid var(--line-soft);
  display: grid; place-items: center; text-align: center; padding: 28px;
}
.media-slot img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.media-slot .slot-label {
  position: relative; color: rgba(255, 255, 255, .82);
  font-family: var(--font-head); font-size: 14px; line-height: 1.9;
}
.media-slot .slot-label b { display: block; color: var(--gold); font-size: 16px; margin-bottom: 6px; }

/* 15b) مشغّل الفيديو ------------------------------------------------------ */
.video-block { margin: 0; }
.video-frame {
  position: relative; overflow: hidden;
  border-radius: var(--r-lg);
  aspect-ratio: 16 / 9;
  background: var(--green-900) url("../img/photos/pens-video-poster.jpg") center / cover no-repeat;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line-soft);
}
.video-frame video,
.video-frame iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0; display: block; object-fit: cover; background: #000;
}
/* قبل التشغيل: الملصق فقط مع زر التشغيل */
.video-block:not(.is-playing) .video-frame video { opacity: 0; }

.video-play {
  position: absolute; inset: 0; margin: 0; padding: 0;
  display: grid; place-items: center; gap: 14px;
  width: 100%; height: 100%; border: 0; cursor: pointer;
  background: linear-gradient(180deg, rgba(14, 42, 34, .18), rgba(14, 42, 34, .42));
  color: #fff; font-family: var(--font-head); font-size: 15px; font-weight: 600;
  transition: background-color .25s ease;
  z-index: 3;
}
.video-play:hover { background: rgba(14, 42, 34, .5); }
.video-play .play-dot {
  width: 78px; height: 78px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--gold); color: var(--green-900);
  box-shadow: 0 12px 32px rgba(0, 0, 0, .35);
  transition: transform .25s ease;
}
.video-play:hover .play-dot { transform: scale(1.07); }
.video-play .play-dot svg { width: 30px; height: 30px; margin-inline-start: 4px; }
.video-block.is-playing .video-play { display: none; }

/* رسالة تظهر تلقائيًا إذا لم يُرفع ملف الفيديو بعد */
.video-missing {
  position: absolute; inset: 0; z-index: 4; display: none;
  place-items: center; text-align: center; padding: 24px;
  background: rgba(14, 42, 34, .82);
  color: rgba(255, 255, 255, .88);
  font-family: var(--font-head); font-size: 14px; line-height: 2;
}
.video-missing b { display: block; color: var(--gold); font-size: 16px; margin-bottom: 6px; }
.video-block.is-missing .video-missing { display: grid; }
.video-block.is-missing .video-play { display: none; }

.video-caption {
  margin-top: 16px; font-size: 14.5px; color: var(--muted); text-align: center;
}
.section--dark .video-caption { color: rgba(255, 255, 255, .7); }


.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* 17) الاستجابة ----------------------------------------------------------- */
@media (min-width: 576px) {
  .trust ul { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .stat-row { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1199.98px) {
  .nav-toggle { display: grid; }
  .nav {
    position: fixed; top: var(--header-h); inset-block-start: var(--header-h); left: 0; right: 0; inset-inline: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; gap: 2px;
    padding: 12px 16px 20px; margin: 0;
    max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
    transform: translateY(-12px); opacity: 0; visibility: hidden;
    transition: opacity .22s ease, transform .22s ease, visibility .22s;
    box-shadow: var(--shadow-md);
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav a { padding: 13px 14px; border-radius: var(--r-sm); font-size: 16px; }
  .nav .header-cta { flex-direction: column; align-items: stretch; gap: 10px; margin-top: 12px; }
  .nav .header-cta .btn { width: 100%; }
  /* داخل قائمة الجوال يعود زر واتساب بنصّه وشكله الكامل */
  .nav .btn--icon { width: 100%; height: auto; padding: 13px 20px; border-radius: 999px; }
  .nav .btn--icon .btn-label { display: inline; }
  body.nav-open { overflow: hidden; }
}

@media (min-width: 1200px) {
  /* القياسات تتمدد مع عرض الشاشة حتى لا تزدحم الروابط مع زرَّي الدعوة */
  .nav a { font-size: clamp(13px, 1.02vw, 14.5px); padding: 9px clamp(6px, .72vw, 13px); }
  .nav { gap: clamp(0px, .2vw, 4px); }
  /* فاصل بصري بين روابط القائمة وزرّي الدعوة */
  .header-cta {
    margin-right: 8px; margin-inline-start: 8px;
    padding-right: 12px; padding-inline-start: 12px;
    border-right: 1px solid var(--line-soft); border-inline-start: 1px solid var(--line-soft);
  }
  .brand-tag { display: none; }
  .wa-float { display: none; }
}

@media (min-width: 1440px) {
  .brand-tag { display: block; }
}

@media (min-width: 992px) {
  .chain-track { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0; }
  .chain-step { padding-right: 0; padding-inline-start: 0; padding-top: 66px; padding-left: 22px; padding-inline-end: 22px; }
  .chain-step::before {
    right: 46px; inset-inline-start: 46px; left: -22px; inset-inline-end: -22px; top: 23px; bottom: auto;
    width: auto; height: 1.5px;
    background: linear-gradient(to left, var(--gold), rgba(201, 166, 107, .3));
  }
  .chain-step:last-child::before { display: none; }
  .chain-num { top: 0; right: 0; inset-inline-start: 0; }
}

@media (min-width: 992px) {
  .brand img { height: 52px; }
}

@media (min-width: 1440px) {
  .brand img { height: 56px; }
}

@media (max-width: 575.98px) {
  body { font-size: 16px; line-height: 1.9; }
  .brand img { height: 44px; }
  .brand-name { font-size: 17px; }
  .brand-tag { display: none; }
  .hero .hero-actions .btn { width: 100%; }
  .btn { padding: 13px 20px; }
  .footer-bottom { justify-content: flex-start; }
}

@media print {
  .site-header, .wa-float, .hero-actions, .site-footer { display: none !important; }
  body { color: #000; }
}

/* 18) تحسين بصري احترافي — النسخة المحسّنة -------------------------------- */
:root {
  --green-950: #09251E;
  --green-850: #12372E;
  --sand: #E9E0CF;
  --shadow-lg: 0 28px 70px rgba(9, 37, 30, .14);
}

body {
  background: #FCFBF8;
}

/* هيدر أكثر هدوءًا وفخامة */
.site-header {
  background: rgba(252, 251, 248, .90);
  border-bottom-color: rgba(23, 61, 50, .09);
}
.site-header.is-stuck {
  background: rgba(252, 251, 248, .97);
  box-shadow: 0 10px 34px rgba(9, 37, 30, .08);
}
.brand { gap: 13px; }
.brand img {
  filter: drop-shadow(0 5px 10px rgba(14, 42, 34, .10));
}
.brand-name { letter-spacing: 0; }
.nav a { transition: background-color .2s ease, color .2s ease, transform .2s ease; }
.nav a:hover { transform: translateY(-1px); }
.nav a.is-active {
  background: rgba(201, 166, 107, .13);
  box-shadow: inset 0 0 0 1px rgba(201, 166, 107, .18);
}
.header-cta .btn:not(.btn--wa) {
  --btn-bg: #B85C3F;
  --btn-bd: #B85C3F;
  --btn-fg: #fff;
  box-shadow: 0 8px 20px rgba(184, 92, 63, .22);
}
.header-cta .btn:not(.btn--wa):hover {
  --btn-bg: #A64F36;
  --btn-bd: #A64F36;
  box-shadow: 0 10px 24px rgba(166, 79, 54, .27);
}

/* Hero: عمق بصري أكبر مع الحفاظ على هوية الشركة */
.hero {
  min-height: min(760px, calc(100vh - var(--header-h)));
  display: flex;
  align-items: center;
  padding-block: clamp(70px, 8vw, 112px) clamp(90px, 10vw, 132px);
  background:
    linear-gradient(132deg, var(--green-950) 0%, var(--green-800) 52%, #1D4B3F 100%);
}
.hero::before {
  background:
    radial-gradient(55% 70% at 88% 24%, rgba(217, 122, 82, .18) 0%, transparent 68%),
    radial-gradient(70% 90% at 6% 100%, rgba(201, 166, 107, .18) 0%, transparent 64%),
    radial-gradient(38% 38% at 52% 30%, rgba(255,255,255,.045), transparent 72%);
}
.hero::after {
  opacity: .22;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: linear-gradient(to bottom, #000, transparent 88%);
}
.hero h1 {
  max-width: 720px;
  font-size: clamp(34px, 5.1vw, 62px);
  line-height: 1.32;
  text-shadow: 0 10px 34px rgba(0,0,0,.12);
}
.hero .hero-sub {
  max-width: 660px;
  color: #E4C88F;
  font-size: clamp(17px, 1.8vw, 21px);
}
.hero p.hero-text {
  max-width: 660px;
  color: rgba(255,255,255,.79);
  font-size: 16.5px;
}
.hero-badge {
  background: rgba(255,255,255,.075);
  border-color: rgba(229, 204, 151, .24);
  box-shadow: inset 0 1px rgba(255,255,255,.06);
}
.hero-actions { margin-bottom: 30px; }
.hero-actions .btn {
  min-height: 50px;
  padding-inline: 28px;
}
.hero-actions .btn--gold {
  box-shadow: 0 12px 28px rgba(201,166,107,.18);
}

.hero-proof {
  max-width: 690px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.hero-proof-item {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
  padding: 12px 13px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 14px;
  background: rgba(255,255,255,.055);
  backdrop-filter: blur(7px);
}
.hero-proof-mark {
  flex: none;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(201,166,107,.13);
  color: var(--gold);
  border: 1px solid rgba(201,166,107,.25);
  font-size: 11px;
}
.hero-proof-item > span:last-child { min-width: 0; }
.hero-proof-item b {
  display: block;
  color: #fff;
  font-family: var(--font-head);
  font-size: 13px;
  line-height: 1.55;
}
.hero-proof-item small {
  display: block;
  color: rgba(255,255,255,.62);
  font-size: 11.5px;
  line-height: 1.55;
}

.hero-emblem {
  isolation: isolate;
  padding-block: 16px;
}
.hero-emblem::before,
.hero-emblem::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  pointer-events: none;
}
.hero-emblem::before {
  width: 92%;
  aspect-ratio: 1;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -54%);
  border: 1px dashed rgba(201,166,107,.20);
}
.hero-emblem::after {
  width: 68%;
  aspect-ratio: 1;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -54%);
  box-shadow: 0 0 90px 34px rgba(201,166,107,.12);
}
.hero-emblem .medallion {
  width: min(420px, 88%);
}
.hero-emblem .medallion--plate {
  background:
    radial-gradient(circle at 48% 36%, #FFFFFF 0%, #FBF8F0 56%, #EFE6D6 100%);
  box-shadow:
    0 0 0 1px rgba(255,255,255,.18),
    0 0 0 11px rgba(201,166,107,.09),
    0 34px 70px rgba(0,0,0,.28);
}
.hero-emblem .medallion--plate::before {
  inset: 12px;
  border-color: rgba(169,135,63,.34);
}
.hero-emblem .medallion--plate img { width: 76%; }
.hero-emblem figcaption {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 25px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(9,37,30,.30);
  border: 1px solid rgba(255,255,255,.08);
}
.hero-emblem figcaption b { color: #fff; }
.hero-emblem figcaption span { color: var(--gold); }

/* شريط الثقة يصبح بطاقة عائمة بدل شريط ثقيل */
.trust {
  position: relative;
  z-index: 5;
  background: var(--ivory);
  border-top: 0;
}
.trust .container {
  transform: translateY(-34px);
  margin-bottom: -34px;
}
.trust ul {
  padding: 19px clamp(18px, 3vw, 30px);
  border-radius: 22px;
  background: rgba(14,42,34,.985);
  border: 1px solid rgba(255,255,255,.09);
  box-shadow: 0 22px 52px rgba(9,37,30,.18);
}
.trust li { color: rgba(255,255,255,.80); }
.trust li svg {
  width: 20px;
  height: 20px;
  padding: 2px;
}

/* الأقسام والعناوين */
.section { position: relative; }
.section--ivory { background: var(--ivory); }
.section--soft { background: #F8F5ED; }
.section--dark {
  background:
    radial-gradient(70% 110% at 100% 0%, rgba(201,166,107,.11), transparent 58%),
    linear-gradient(145deg, var(--green-950), var(--green-800));
}
.section-head h2 { margin-bottom: .45em; }
.section-head > p { color: var(--muted); }
.section--dark .section-head > p { color: rgba(255,255,255,.72); }
.eyebrow {
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(201,166,107,.09);
}
.eyebrow::before { width: 18px; }
.section--dark .eyebrow { background: rgba(201,166,107,.10); }

/* بطاقات أكثر عمقًا بدون مبالغة */
.card-s,
.stock-card,
.info-panel,
.form-card,
.faq-item {
  border-color: rgba(23,61,50,.10);
}
.card-s,
.stock-card {
  border-radius: 20px;
  box-shadow: 0 12px 34px rgba(9,37,30,.045);
}
.card-s:hover,
.stock-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 52px rgba(9,37,30,.11);
  border-color: rgba(201,166,107,.28);
}
.card-s--flat {
  box-shadow: 0 16px 42px rgba(9,37,30,.07);
  background: linear-gradient(145deg, #fff, #FCFBF7);
}
.card-s--flat:hover { box-shadow: 0 16px 42px rgba(9,37,30,.07); }
.stock-card::after {
  content: "";
  position: absolute;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  inset-inline-end: -46px;
  inset-block-start: -54px;
  background: radial-gradient(circle, rgba(201,166,107,.12), transparent 70%);
  pointer-events: none;
}
.stock-card--primary {
  background:
    radial-gradient(80% 120% at 100% 0%, rgba(201,166,107,.18), transparent 58%),
    linear-gradient(145deg, var(--green-850), var(--green-950));
  box-shadow: 0 20px 46px rgba(9,37,30,.16);
}
.icon-badge {
  border-radius: 16px;
  box-shadow: inset 0 1px rgba(255,255,255,.6);
}

/* سلسلة القيمة */
.chain-track { gap: 30px; }
.chain-num {
  box-shadow: 0 8px 20px rgba(9,37,30,.08);
}
.section--dark .chain-num {
  box-shadow: 0 8px 20px rgba(0,0,0,.16);
}

/* بدائل الصور: لا تعرض تعليمات تقنية للزائر */
.media-slot {
  min-height: 320px;
  isolation: isolate;
  background:
    radial-gradient(80% 100% at 100% 0%, rgba(201,166,107,.24), transparent 60%),
    linear-gradient(145deg, #153E34 0%, #0B2A22 100%);
  border: 1px solid rgba(201,166,107,.18);
  box-shadow: var(--shadow-lg);
}
.media-slot::before {
  content: "";
  position: absolute;
  inset: 10%;
  z-index: -1;
  background: url("../img/logo/logo-512.png") center / min(250px, 52%) auto no-repeat;
  opacity: .055;
  filter: saturate(.6);
}
.media-slot::after {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: calc(var(--r-lg) - 7px);
  pointer-events: none;
}
.media-slot .slot-label {
  max-width: 420px;
  display: grid;
  justify-items: center;
  gap: 7px;
  padding: 22px 26px;
  border-radius: 18px;
  background: rgba(9,37,30,.48);
  border: 1px solid rgba(255,255,255,.09);
  backdrop-filter: blur(9px);
  color: rgba(255,255,255,.68);
}
.media-slot .slot-label b {
  margin: 0;
  font-size: clamp(17px, 2vw, 21px);
  color: #fff;
}
.media-slot .slot-label span:not(.slot-kicker) { font-size: 13.5px; }
.slot-kicker {
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
}

/* نموذج التواصل */
.form-card {
  background: linear-gradient(145deg, #FFFFFF, #FCFBF7);
  box-shadow: 0 20px 52px rgba(9,37,30,.08);
}
.form-control-s {
  background: #fff;
  border-color: rgba(23,61,50,.13);
  min-height: 50px;
}
textarea.form-control-s { min-height: 126px; }
.form-control-s:hover { border-color: rgba(36,87,72,.30); }
.info-panel {
  background: linear-gradient(145deg, #F6F1E6, #FBF8F1);
  border-radius: 20px;
}
.info-row svg {
  padding: 3px;
  border-radius: 7px;
  background: rgba(201,166,107,.12);
}

/* FAQ */
.faq-item {
  border-radius: 16px;
  transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.faq-item:hover { border-color: rgba(201,166,107,.28); }
.faq-item[open] {
  border-color: rgba(201,166,107,.32);
  box-shadow: 0 12px 30px rgba(9,37,30,.055);
  background: #FFFDF9;
}
.faq-item summary { padding-block: 21px; }

/* CTA */
.cta-band {
  border-radius: 28px;
  background:
    radial-gradient(70% 150% at 100% 0%, rgba(217,122,82,.20), transparent 55%),
    radial-gradient(65% 130% at 0% 100%, rgba(201,166,107,.16), transparent 58%),
    linear-gradient(135deg, var(--green-950), var(--green-800));
  border: 1px solid rgba(201,166,107,.17);
  box-shadow: 0 28px 70px rgba(9,37,30,.15);
}
.cta-band::after {
  content: "";
  position: absolute;
  width: 170px;
  height: 170px;
  border: 1px solid rgba(201,166,107,.17);
  border-radius: 50%;
  inset-inline-end: -70px;
  inset-block-end: -85px;
}

/* صفحات داخلية */
.page-head {
  padding-block: clamp(58px, 7vw, 92px);
  background:
    linear-gradient(135deg, var(--green-950), var(--green-800));
}
.page-head::before {
  background:
    radial-gradient(60% 100% at 90% 0%, rgba(217,122,82,.15), transparent 62%),
    radial-gradient(60% 100% at 0% 100%, rgba(201,166,107,.13), transparent 62%);
}
.page-head::after {
  opacity: .07;
  width: 330px;
  height: 330px;
}
.page-head h1 { font-size: clamp(31px, 4.7vw, 52px); }
.breadcrumb-s {
  width: fit-content;
  padding: 6px 12px;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 999px;
  background: rgba(255,255,255,.045);
}

/* الفيديو */
.video-frame {
  border-radius: 26px;
  border-color: rgba(201,166,107,.18);
  box-shadow: 0 25px 62px rgba(9,37,30,.16);
}
.video-play {
  background: linear-gradient(180deg, rgba(9,37,30,.16), rgba(9,37,30,.58));
}
.video-play .play-dot {
  box-shadow: 0 14px 38px rgba(0,0,0,.32), 0 0 0 9px rgba(201,166,107,.10);
}
.video-missing p {
  max-width: 460px;
  padding: 22px 24px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 18px;
  background: rgba(9,37,30,.44);
}
.video-missing b { margin-bottom: 8px; }
.video-missing span { display: block; color: rgba(255,255,255,.72); }

/* الفوتر */
.site-footer {
  background:
    radial-gradient(60% 100% at 100% 0%, rgba(201,166,107,.08), transparent 60%),
    var(--green-950);
}
.footer-brand-plate {
  width: 104px;
  height: 104px;
  box-shadow: 0 0 0 1px rgba(201,166,107,.26), 0 0 0 8px rgba(201,166,107,.07);
}
.footer-links a { transition: color .2s ease, padding .2s ease; }
.footer-links a:hover { padding-inline-start: 4px; }

.wa-float {
  width: 60px;
  height: 60px;
  border: 4px solid rgba(255,255,255,.92);
  box-shadow: 0 14px 32px rgba(0,0,0,.24);
}

@media (max-width: 1199.98px) {
  .nav {
    background: rgba(252,251,248,.99);
    backdrop-filter: blur(16px);
  }
}

@media (max-width: 991.98px) {
  .hero {
    min-height: auto;
    padding-block: 60px 92px;
    text-align: center;
  }
  .hero p.hero-text,
  .hero .hero-sub { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .hero-proof { margin-inline: auto; }
  .hero-emblem { margin-top: 8px; }
  .hero-emblem .medallion { width: min(340px, 78vw); }
  .trust .container { transform: translateY(-26px); margin-bottom: -26px; }
  .trust ul { border-radius: 20px; }
}

@media (max-width: 767.98px) {
  .hero-proof { grid-template-columns: 1fr; max-width: 430px; }
  .hero-proof-item { padding: 11px 13px; text-align: start; }
  .trust ul { grid-template-columns: 1fr 1fr; }
  .cta-band { border-radius: 22px; }
}

@media (max-width: 575.98px) {
  :root { --r-lg: 20px; }
  .hero { padding-block: 46px 78px; }
  .hero h1 { font-size: clamp(31px, 9.2vw, 41px); }
  .hero-badge { font-size: 11.5px; padding: 7px 11px; }
  .hero-proof-item small { font-size: 11px; }
  .hero-emblem { padding-block: 2px 8px; }
  .hero-emblem figcaption { font-size: 12px; }
  .trust .container { transform: translateY(-20px); margin-bottom: -20px; }
  .trust ul {
    grid-template-columns: 1fr;
    padding: 16px 18px;
    gap: 12px;
  }
  .trust li { font-size: 12.5px; }
  .eyebrow { font-size: 12px; }
  .media-slot .slot-label { padding: 18px; }
  .page-head { padding-block: 46px 56px; }
  .breadcrumb-s { font-size: 12.5px; }
  .form-card { border-radius: 20px; }
}

/* منع أي امتداد أفقي ناتج عن gutters الواسعة على الشاشات الصغيرة */
html { overflow-x: clip; }
