/* =========================================================
   ASK Translation — style.css
   الهوية: كحلي + ذهبي من اللوجو — مع الحركة والأنيميشن
   ========================================================= */
:root {
  --navy-950: #081722;
  --navy-900: #0B1F2E;
  --navy-800: #0C2D44;
  --navy-700: #0C3954;
  --ocean: #0D5C8F;
  --gold: #C99A3E;
  --gold-light: #F1D892;
  --gold-dark: #8F6118;

  --ink: #0B1F2E;
  --muted: #566474;
  --paper: #F2F5F8;
  --sheet: #FFFFFF;
  --line: #DDE3EA;
  --wa: #1FA855;

  --gold-grad: linear-gradient(135deg, #926318 0%, #E9C878 38%, #F6DB92 50%, #C99A3E 70%, #8F6118 100%);
  --navy-grad: radial-gradient(120% 90% at 85% 0%, #0D5C8F 0%, #0C3954 38%, #0B1F2E 75%, #081722 100%);
  --ease: cubic-bezier(.22, 1, .36, 1);

  --header-bg: #144E72;
  --font-display: "Alexandria", "IBM Plex Sans Arabic", Tahoma, sans-serif;
  --font-body: "Alexandria", "IBM Plex Sans Arabic", Tahoma, sans-serif;

  --step-0: 1.0625rem;
  --step-1: 1.3rem;
  --step-3: clamp(1.9rem, 1.4rem + 2vw, 2.6rem);
  --step-4: clamp(2.3rem, 1.4rem + 3.6vw, 4.1rem);

  --wrap: 1180px;
  --radius-sm: 10px;
  --radius: 20px;
  --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--step-0);
  font-weight: 400;
  line-height: 1.85;
  color: var(--ink);
  background: var(--sheet);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.3; margin: 0 0 .5em; font-weight: 600; }
h1 { font-size: var(--step-4); font-weight: 800; line-height: 1.35; }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.section { padding-block: clamp(4.5rem, 9vw, 7rem); }
.section--paper { background: var(--paper); }
.section-head { max-width: 640px; margin-bottom: 3rem; }
.section-head h2::after {
  content: ""; display: block; width: 64px; height: 4px; margin-top: .7rem;
  background: var(--gold-grad); border-radius: 4px;
  transform-origin: right; transition: transform 1s var(--ease) .3s;
}
.js .section-head:not(.in) h2::after { transform: scaleX(0); }
.section-head p { color: var(--muted); font-size: var(--step-1); line-height: 1.7; }
.skip { position: absolute; inset-inline-start: -999px; top: 0; background: var(--navy-900); color: #fff; padding: .6rem 1rem; z-index: 100; }
.skip:focus { inset-inline-start: 1rem; }

/* ---------- ظهور العناصر مع النزول في الصفحة ---------- */
.js [data-reveal] {
  opacity: 0; translate: 0 28px;
  transition: opacity .8s var(--ease) var(--d, 0ms), translate .8s var(--ease) var(--d, 0ms), transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s;
}
.js [data-reveal].in { opacity: 1; translate: none; }

/* شريط التقدم الذهبي أعلى الصفحة */
.progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 80; background: var(--gold-grad); transform: scaleX(0); transform-origin: right; }

/* ---------- الأزرار ---------- */
.btn {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  font: 600 var(--step-0)/1 var(--font-display);
  padding: 1rem 1.7rem; border-radius: var(--radius-sm);
  border: 2px solid transparent; text-decoration: none; cursor: pointer;
  transition: background-color .25s, color .25s, border-color .25s, box-shadow .25s, transform .25s var(--ease);
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--gold { background: var(--gold-grad); color: var(--navy-950); box-shadow: 0 12px 28px -12px rgba(201,154,62,.85); }
.btn--gold::after {
  content: ""; position: absolute; z-index: -1; top: 0; bottom: 0; width: 40%; inset-inline-start: -60%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.65), transparent);
  transform: skewX(-20deg); transition: inset-inline-start .7s var(--ease);
}
.btn--gold:hover::after { inset-inline-start: 120%; }
.btn--gold:hover { box-shadow: 0 18px 34px -12px rgba(201,154,62,.95); }
.btn--navy { background: var(--navy-900); color: #fff; }
.btn--navy:hover { background: var(--navy-700); box-shadow: 0 14px 30px -14px rgba(11,31,46,.7); }
.btn--light { border-color: rgba(255,255,255,.35); color: #fff; background: rgba(255,255,255,.06); }
.btn--light:hover { border-color: var(--gold-light); color: var(--gold-light); }
.btn--outline { border-color: var(--navy-900); color: var(--navy-900); background: transparent; }
.btn--outline:hover { background: var(--navy-900); color: #fff; }
.btn--wa { background: var(--wa); color: #fff; }
.btn--wa:hover { background: #178A45; box-shadow: 0 14px 30px -14px rgba(31,168,85,.8); }
.btn--block { width: 100%; }

/* ---------- الهيدر ---------- */
.header {
  position: sticky; top: 0; z-index: 50; color: #fff;
  background: var(--header-bg);
  transition: background-color .35s, box-shadow .35s;
}
.header.scrolled { background: rgba(14,58,88,.98); box-shadow: 0 12px 30px -12px rgba(0,0,0,.55); }
.header .wrap { display: flex; align-items: center; gap: 2.5rem; height: var(--header-h); transition: height .35s var(--ease); }
.header.scrolled .wrap { height: calc(var(--header-h) - 14px); }
.brand { display: flex; align-items: center; gap: .8rem; text-decoration: none; color: #fff; }
.brand img { width: 64px; height: 64px; filter: drop-shadow(0 4px 12px rgba(0,0,0,.4)); transition: transform .6s var(--ease), width .35s var(--ease), height .35s var(--ease); animation: fadeIn .8s ease both; }
.header.scrolled .brand img { width: 54px; height: 54px; }
.brand:hover img { transform: rotate(-14deg) scale(1.06); }
.brand-text { font-family: var(--font-display); line-height: 1.2; }
.brand-text strong { display: block; font-size: 1.2rem; }
.brand-text span { font-size: .8rem; color: var(--gold-light); }
.nav { margin-inline-start: auto; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2.2rem; }
.nav li { animation: rise .7s var(--ease) both; }
.nav li:nth-child(1) { animation-delay: .1s; }
.nav li:nth-child(2) { animation-delay: .16s; }
.nav li:nth-child(3) { animation-delay: .22s; }
.nav li:nth-child(4) { animation-delay: .28s; }
.nav li:nth-child(5) { animation-delay: .34s; }
.nav a { position: relative; text-decoration: none; font-size: 1.08rem; font-weight: 400; color: rgba(255,255,255,.85); padding-block: .5rem; transition: color .2s; }
.nav a::after {
  content: ""; position: absolute; inset: auto 0 -4px 0; height: 2px; border-radius: 2px; background: var(--gold-grad);
  transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease);
}
.nav a:hover, .nav a[aria-current="true"] { color: #fff; }
.nav a:hover::after, .nav a[aria-current="true"]::after { transform: scaleX(1); }
.header .btn { padding: .85rem 1.4rem; font-size: 1rem; font-weight: 700; border-radius: 14px; animation: fadeIn .8s ease .4s both; }
.header .btn svg { width: 24px; height: 24px; }
.menu-btn { display: none; background: none; border: 0; padding: .5rem; cursor: pointer; color: #fff; }
.menu-btn svg { width: 30px; height: 30px; }

/* ---------- الهيرو: صورة على عرض الشاشة كلها ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate; color: #fff;
  display: flex; align-items: center;
  min-height: calc(100vh - var(--header-h)); min-height: calc(100svh - var(--header-h));
  padding-block: clamp(4rem, 9vw, 7rem);
  background: var(--navy-grad);
}
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.08); animation: kenburns 10s var(--ease) forwards;
}
@keyframes kenburns { to { transform: scale(1.02); } }
.hero::before { /* طبقة كحلي موحّدة فوق الصورة، من غير أي غمقان في الأطراف */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(to top, rgba(12,30,44,.35) 0%, rgba(12,30,44,0) 30%),
    rgba(17,38,54,.68);
}
.hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 5px; background: var(--gold-grad); }
.hero .wrap { position: relative; }
.hero-copy { max-width: 680px; }
@media (min-width: 1001px) { .hero h1 { white-space: nowrap; } }

/* العنوان بيظهر كلمة كلمة */
.hero h1 { margin-bottom: 1.6rem; line-height: 1.3; text-wrap: balance; text-shadow: 0 6px 30px rgba(0,0,0,.35); }
.hero h1::after { /* خط ذهبي قصير تحت العنوان */
  content: ""; display: block; width: 88px; height: 4px; margin-top: 1.5rem; border-radius: 4px;
  background: var(--gold-grad); transform-origin: right; animation: barIn .9s var(--ease) .9s both;
}
@keyframes barIn { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.hero h1 .w { display: inline-block; animation: wordIn .9s var(--ease) both; animation-delay: calc(.25s + var(--i) * .12s); }
@keyframes wordIn { from { opacity: 0; transform: translateY(40px); filter: blur(8px); } to { opacity: 1; transform: none; filter: none; } }

.hero-lead {
  font-size: clamp(1.1rem, 1rem + .45vw, 1.4rem); line-height: 1.95; font-weight: 400;
  color: rgba(255,255,255,.88); text-align: start; text-wrap: pretty; max-width: 560px; margin-bottom: 2.4rem;
  animation: rise 1s var(--ease) 1s both;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; animation: rise 1s var(--ease) 1.2s both; }

/* شارة الأيزو تحت أزرار الهيرو */
.hero-iso {
  display: inline-flex; align-items: center; gap: .75rem; margin-top: 2rem;
  padding: .55rem 1.1rem .55rem .9rem; border-radius: 100px;
  background: rgba(10,30,45,.45); border: 1px solid rgba(241,216,146,.4);
  font-size: .95rem; color: rgba(255,255,255,.92);
  animation: rise 1s var(--ease) 1.4s both;
}
.hero-iso svg { width: 38px; height: 38px; flex: none; }
.hero-iso b { color: var(--gold-light); font-weight: 700; direction: ltr; unicode-bidi: isolate; }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }

/* علامة "انزل لتحت" */
.scroll-cue {
  position: absolute; bottom: 2rem; left: 50%; translate: -50% 0;
  width: 30px; height: 48px; border: 2px solid rgba(255,255,255,.55); border-radius: 20px;
  display: flex; justify-content: center; padding-top: 8px;
  animation: rise 1s var(--ease) 1.6s both;
}
.scroll-cue::before { content: ""; width: 4px; height: 10px; border-radius: 4px; background: var(--gold-light); animation: wheel 1.8s ease-in-out infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(16px); } }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
@keyframes spin { to { rotate: 360deg; } }

/* ---------- شريط المستندات ---------- */
.docs-strip { background: var(--sheet); border-bottom: 1px solid var(--line); padding-block: 1.7rem; }
.docs-strip .wrap { display: flex; align-items: center; gap: 1.25rem 1.5rem; flex-wrap: wrap; }
.docs-strip p { margin: 0; font-weight: 600; font-family: var(--font-display); }
.chips { display: flex; flex-wrap: wrap; gap: .55rem; list-style: none; margin: 0; padding: 0; }
.chip {
  font: 500 .92rem/1 var(--font-body); color: var(--ink);
  background: var(--paper); border: 1px solid transparent; border-radius: 100px;
  padding: .7rem 1.1rem; cursor: pointer;
  transition: border-color .25s, background-color .25s, transform .25s var(--ease), box-shadow .25s;
}
.chip:hover { border-color: var(--gold); background: #fff; transform: translateY(-3px); box-shadow: 0 10px 20px -12px rgba(143,97,24,.6); }

/* ---------- حاسبة السعر ---------- */
.quote { display: grid; grid-template-columns: 1.3fr 1fr; border-radius: var(--radius); overflow: hidden; background: var(--sheet); box-shadow: 0 40px 80px -40px rgba(11,31,46,.45), 0 0 0 1px var(--line); }
.quote-form { padding: clamp(1.5rem, 4vw, 2.75rem); display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
.field { display: grid; gap: .45rem; }
.field--full { grid-column: 1 / -1; }
.field label, .field legend { font-weight: 600; font-size: .95rem; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; color: var(--ink);
  border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  padding: .8rem .95rem; background: var(--sheet); width: 100%;
  transition: border-color .2s, box-shadow .2s;
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: #C5CED8; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(201,154,62,.18); }
.field small { color: var(--muted); font-size: .82rem; }
fieldset.field { border: 0; margin: 0; padding: 0; }
.segmented { position: relative; display: flex; min-height: 49px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
.segmented label { flex: 1; display: flex; position: relative; cursor: pointer; }
.segmented input { position: absolute; opacity: 0; }
.segmented span { flex: 1; display: grid; place-items: center; padding: .5rem; font-weight: 500; font-size: .95rem; transition: background-color .3s, color .3s; }
.segmented label + label span { border-inline-start: 1.5px solid var(--line); }
.segmented input:not(:checked) + span:hover { background: var(--paper); }
.segmented input:checked + span { background: var(--header-bg); color: #fff; }
.segmented input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: -3px; }
.stepper { display: flex; align-items: center; border: 1.5px solid var(--line); border-radius: var(--radius-sm); }
.stepper button { width: 46px; height: 46px; border: 0; background: none; font-size: 1.4rem; cursor: pointer; color: var(--ink); border-radius: 8px; transition: background-color .2s, color .2s; }
.stepper button:hover { color: var(--gold-dark); background: var(--paper); }
.stepper input { border: 0 !important; box-shadow: none !important; text-align: center; padding-inline: 0; appearance: textfield; -moz-appearance: textfield; }
.stepper input::-webkit-inner-spin-button { -webkit-appearance: none; }

.quote-result {
  /* أزرق ملكي متدرج بنفس لون الهيدر، مع لمعة ذهبي خفيفة في الركن */
  background:
    radial-gradient(90% 70% at 0% 0%, rgba(241,216,146,.18), transparent 60%),
    radial-gradient(80% 60% at 100% 100%, rgba(255,255,255,.06), transparent 60%),
    linear-gradient(160deg, #1A6797 0%, #134F75 50%, #0D3B58 100%);
  color: #fff; padding: clamp(1.5rem, 4vw, 2.75rem); display: flex; flex-direction: column; position: relative; overflow: hidden; isolation: isolate;
}
.quote-result::before { /* خط ذهبي فوق الكارت */
  content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--gold-grad);
}
.quote-result .watermark { position: absolute; z-index: -1; width: 280px; inset-inline-start: -80px; bottom: -80px; opacity: .12; }
.quote-result h3 { color: rgba(255,255,255,.85); font-size: 1rem; font-weight: 500; font-family: var(--font-body); }
.price { font-family: var(--font-display); font-size: clamp(2.8rem, 2rem + 2.8vw, 3.8rem); font-weight: 700; line-height: 1.1; margin-bottom: .3rem; color: var(--gold-light); font-variant-numeric: tabular-nums; text-shadow: 0 4px 18px rgba(8,23,34,.35); }
.price.bump { animation: bump .45s var(--ease); }
@keyframes bump { 40% { transform: scale(1.06); } }
.price small { font-size: 1.1rem; font-weight: 500; margin-inline-start: .35rem; color: #fff; }
.price-note { color: rgba(255,255,255,.8); font-size: .9rem; margin-bottom: 1.5rem; }
.breakdown { list-style: none; margin: 0 0 1.75rem; padding: 1.1rem 0 0; border-top: 1px solid rgba(255,255,255,.22); display: grid; gap: .55rem; font-size: .95rem; }
.breakdown li { display: flex; justify-content: space-between; gap: 1rem; animation: rise .4s var(--ease) both; }
.breakdown span:first-child { color: rgba(255,255,255,.82); }
.breakdown li.is-bulk { justify-content: flex-start; font-size: .85rem; color: var(--gold-light); }
.breakdown li.is-bulk span { color: var(--gold-light); }
.breakdown li.is-bulk::before { content: "✓"; font-weight: 700; }
.quote-result .btn { margin-top: auto; }

/* ---------- كروت الخدمات ---------- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.service {
  --x: 50%; --y: 0%;
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column;
  border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; background: var(--sheet);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s;
}
.service::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s;
  background: radial-gradient(380px circle at var(--x) var(--y), rgba(241,216,146,.28), transparent 60%);
}
.service::after {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--gold-grad);
  transform: scaleX(0); transition: transform .5s var(--ease);
}
.service:hover { transform: translateY(-8px); border-color: transparent; box-shadow: 0 30px 50px -28px rgba(11,31,46,.45); }
.service:hover::before { opacity: 1; }
.service:hover::after { transform: scaleX(1); }
.service-icon {
  width: 58px; height: 58px; padding: 14px; border-radius: 16px; margin-bottom: 1.25rem;
  color: var(--gold-light); background: var(--navy-900);
  transition: background .45s var(--ease), color .45s, transform .6s var(--ease);
}
.service:hover .service-icon { background: var(--gold-grad); color: var(--navy-950); transform: rotate(-8deg) scale(1.08); }
.service p { color: var(--muted); }
.service ul { list-style: none; margin: 0 0 1.5rem; padding: 0; display: flex; flex-wrap: wrap; gap: .45rem; }
.service li { font-size: .86rem; background: var(--paper); border-radius: 100px; padding: .35rem .85rem; transition: background-color .3s; }
.service:hover li { background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.card-link {
  margin-top: auto; align-self: flex-start;
  display: inline-flex; align-items: center; gap: .45rem;
  font: 600 .95rem/1 var(--font-display); color: var(--navy-700);
  background: none; border: 0; padding: .4rem 0; cursor: pointer;
}
.card-link svg { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.card-link:hover { color: var(--gold-dark); }
.card-link:hover svg { transform: translateX(-6px); }

/* ---------- من نحن ---------- */
.about { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.about-text .section-head { margin-bottom: 1.5rem; }
.about-text > p { color: var(--muted); font-size: 1.1rem; text-align: justify; }
.about-points { list-style: none; margin: 1.5rem 0 2rem; padding: 0; display: grid; gap: .8rem; }
.about-points li { display: flex; gap: .75rem; align-items: center; font-weight: 500; }
.about-points svg { width: 26px; height: 26px; padding: 5px; border-radius: 50%; background: var(--gold-grad); color: var(--navy-950); flex: none; }
.why { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; margin: 0; padding: 0; list-style: none; }
.why li {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: auto 1fr; align-items: center; column-gap: 1rem; row-gap: .9rem;
  align-content: start;
  background: var(--sheet); border-radius: var(--radius); padding: 1.75rem 1.6rem;
  box-shadow: 0 0 0 1px var(--line), 0 18px 36px -30px rgba(11,31,46,.35);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.why li::before { /* خط ذهبي على جنب الكارت بيظهر مع الماوس */
  content: ""; position: absolute; inset-block: 0; inset-inline-start: 0; width: 4px;
  background: var(--gold-grad); transform: scaleY(0); transform-origin: top; transition: transform .45s var(--ease);
}
.why li:hover { transform: translateY(-6px); box-shadow: 0 0 0 1px rgba(201,154,62,.55), 0 28px 48px -28px rgba(11,31,46,.45); }
.why li:hover::before { transform: scaleY(1); }
.why-icon { position: relative; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; background: var(--navy-900); transition: background .45s var(--ease), transform .6s var(--ease); }
.why-icon svg { width: 26px; height: 26px; color: var(--gold-light); transition: color .45s; }
.why li:hover .why-icon { background: var(--gold-grad); transform: rotate(-8deg) scale(1.06); }
.why li:hover .why-icon svg { color: var(--navy-950); }
.why h3 { font-size: 1.12rem; margin: 0; line-height: 1.4; }
.why p { grid-column: 1 / -1; color: var(--muted); font-size: .95rem; line-height: 1.8; margin: 0; padding-top: .9rem; border-top: 1px solid var(--line); }

/* ---------- شريط شهادة الأيزو ---------- */
.iso-band {
  position: relative; overflow: hidden; isolation: isolate; color: #fff;
  padding-block: clamp(3.5rem, 7vw, 5.5rem);
  background:
    radial-gradient(60% 90% at 85% 50%, rgba(241,216,146,.14), transparent 60%),
    linear-gradient(160deg, #1A6797 0%, #144E72 50%, #0D3B58 100%);
}
.iso-band::before, .iso-band::after { content: ""; position: absolute; inset-inline: 0; height: 4px; background: var(--gold-grad); }
.iso-band::before { top: 0; }
.iso-band::after { bottom: 0; }
.iso { display: grid; grid-template-columns: auto 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.iso-seal { width: clamp(180px, 22vw, 240px); aspect-ratio: 1; filter: drop-shadow(0 25px 40px rgba(0,0,0,.4)); }
.iso-seal svg { width: 100%; height: 100%; overflow: visible; }
.iso-ring { transform-box: view-box; transform-origin: 100px 100px; animation: spin 40s linear infinite; }
.iso-seal:hover .iso-ring { animation-duration: 12s; }
.iso-kicker {
  display: inline-block; font-size: .85rem; font-weight: 600; letter-spacing: .04em; margin-bottom: .9rem;
  padding: .3rem .85rem; border-radius: 100px; color: var(--navy-950); background: var(--gold-grad);
}
.iso-text h2 { font-size: clamp(1.7rem, 1.2rem + 1.8vw, 2.4rem); margin-bottom: .8rem; }
.iso-text h2 span { color: var(--gold-light); direction: ltr; unicode-bidi: isolate; }
.iso-text p { color: rgba(255,255,255,.86); max-width: 62ch; font-size: 1.05rem; }
.iso-points { list-style: none; margin: 1.4rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .7rem; }
.iso-points li {
  display: inline-flex; align-items: center; gap: .55rem; padding: .55rem 1rem; border-radius: 12px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); font-size: .95rem; font-weight: 500;
  transition: background-color .3s, border-color .3s, transform .3s var(--ease);
}
.iso-points li:hover { background: rgba(241,216,146,.14); border-color: rgba(241,216,146,.5); transform: translateY(-3px); }
.iso-points svg { width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: var(--gold-grad); color: var(--navy-950); flex: none; }

/* شارة الأيزو في الفوتر */
.footer-iso { display: inline-flex; align-items: center; gap: .6rem; margin-top: .4rem; padding: .4rem .9rem .4rem .5rem; border-radius: 100px; border: 1px solid rgba(241,216,146,.45); font-size: .85rem; color: #fff; }
.footer-iso svg { width: 30px; height: 30px; flex: none; }

/* ---------- خطوات العمل ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); counter-reset: s; position: relative; }
.steps::before, .steps::after { content: ""; position: absolute; top: 25px; inset-inline: 8%; }
.steps::before { border-top: 2px dashed var(--line); }
.steps::after {
  height: 2px; background: var(--gold-grad); transform-origin: right;
  transform: scaleX(0); transition: transform 1.8s var(--ease) .2s;
}
.steps.in::after { transform: scaleX(1); }
.steps li { counter-increment: s; text-align: center; padding-inline: .5rem; position: relative; z-index: 1; }
.steps li::before {
  content: counter(s); display: grid; place-items: center;
  width: 52px; height: 52px; margin: 0 auto 1rem; border-radius: 50%;
  background: var(--navy-900); color: var(--gold-light); box-shadow: 0 0 0 4px var(--sheet), 0 0 0 6px var(--gold);
  font: 700 1.15rem/1 var(--font-display);
  transition: transform .4s var(--ease);
}
.steps li:hover::before { transform: scale(1.12); }
.steps li:last-child::before { background: var(--gold-grad); color: var(--navy-950); }
.steps h3 { font-size: 1.02rem; margin-bottom: .3rem; }
.steps p { font-size: .88rem; color: var(--muted); margin: 0; line-height: 1.6; }

/* ---------- اللغات: شريطين بيتحركوا ---------- */
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); margin-bottom: .9rem; }
.marquee-track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee--rev .marquee-track { animation-direction: reverse; animation-duration: 46s; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(50%); } }
.lang {
  display: flex; gap: .7rem; align-items: baseline; flex: none; margin-inline-end: .75rem;
  border: 1px solid var(--line); background: var(--sheet); border-radius: 100px;
  padding: .75rem 1.4rem; font-weight: 600; transition: border-color .3s, background-color .3s, color .3s;
}
.lang span { font-size: .82rem; font-weight: 500; color: var(--gold-dark); direction: ltr; }
.lang:hover { background: var(--navy-900); color: #fff; border-color: var(--navy-900); }
.lang:hover span { color: var(--gold-light); }
.langs-more { color: var(--muted); margin-top: 1.5rem; }
.langs-more strong { color: var(--ink); }
.langs-more a { color: var(--navy-700); font-weight: 600; }

/* ---------- الأسئلة ---------- */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 3rem; align-items: start; }
.faq { display: grid; gap: .75rem; }
.faq details { background: var(--sheet); border-radius: 14px; box-shadow: 0 0 0 1px var(--line); padding-inline: 1.4rem; transition: box-shadow .3s; }
.faq details[open] { box-shadow: 0 0 0 1.5px var(--gold), 0 20px 40px -28px rgba(11,31,46,.4); }
.faq summary { list-style: none; cursor: pointer; padding: 1.2rem 0; font: 600 1.06rem/1.5 var(--font-display); display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%;
  font-size: 1.3rem; line-height: 1; color: var(--gold-dark); background: var(--paper);
  transition: transform .4s var(--ease), background-color .3s, color .3s;
}
.faq details[open] summary::after { transform: rotate(135deg); background: var(--navy-900); color: var(--gold-light); }
.faq details p { color: var(--muted); padding-bottom: 1.3rem; margin: 0; }
.faq details[open] p { animation: rise .45s var(--ease); }

/* ---------- تواصل معنا ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 2.75rem; }
.contact-list { list-style: none; margin: 0 0 1.75rem; padding: 0; display: grid; gap: 1.15rem; }
.contact-list li { display: flex; gap: .95rem; align-items: flex-start; }
.contact-list svg { width: 46px; height: 46px; padding: 12px; border-radius: 50%; color: var(--gold-light); background: var(--navy-900); flex: none; transition: transform .4s var(--ease), background .4s, color .4s; }
.contact-list li:hover svg { transform: scale(1.1) rotate(-8deg); background: var(--gold-grad); color: var(--navy-950); }
.contact-list b { display: block; font-size: .85rem; color: var(--muted); font-weight: 500; }
.contact-list a { text-decoration: none; font-weight: 600; }
.contact-list a:hover { color: var(--gold-dark); }
.map { border: 0; width: 100%; height: 260px; border-radius: var(--radius); }
.contact-form { border-radius: var(--radius); padding: clamp(1.5rem, 4vw, 2.25rem); display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; background: var(--sheet); box-shadow: 0 40px 80px -40px rgba(11,31,46,.4), 0 0 0 1px var(--line); border-top: 4px solid var(--gold); }
.contact-form h3 { grid-column: 1 / -1; margin-bottom: 0; }

/* ---------- الفوتر ---------- */
.footer { background: var(--header-bg); color: rgba(255,255,255,.8); padding-block: 0 1.5rem; font-size: .95rem; }
.footer::before { content: ""; display: block; height: 5px; background: var(--gold-grad); margin-bottom: 3.5rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(255,255,255,.18); }
.footer h3 { color: var(--gold-light); font-size: 1.05rem; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.footer a { text-decoration: none; transition: color .2s; }
.footer a:hover { color: #fff; }
.footer .brand img { width: 72px; height: 72px; }
.footer-bottom { padding-top: 1.5rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; font-size: .85rem; }
.socials { display: flex; gap: .75rem; }
.socials a { width: 40px; height: 40px; border: 1px solid rgba(241,216,146,.45); border-radius: 50%; display: grid; place-items: center; color: var(--gold-light); transition: background .3s, color .3s, transform .3s var(--ease); }
.socials a:hover { background: var(--gold); color: var(--navy-950); transform: translateY(-3px); }
.socials svg { width: 18px; height: 18px; }

/* واتساب عائم بنبضة */
.wa-float {
  position: fixed; inset-inline-start: 1.25rem; bottom: 1.25rem; z-index: 60;
  width: 60px; height: 60px; border-radius: 50%; background: var(--wa); color: #fff;
  display: grid; place-items: center; box-shadow: 0 10px 25px -8px rgba(31,168,85,.6);
  transition: transform .3s var(--ease);
}
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--wa); z-index: -1; animation: pulse 2.4s ease-out infinite; }
@keyframes pulse { from { transform: scale(1); opacity: .6; } to { transform: scale(1.8); opacity: 0; } }
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; }

/* ---------- الموبايل والتابلت ---------- */
@media (max-width: 1000px) {
  .faq-grid, .contact-grid, .about { grid-template-columns: 1fr; }
  .iso { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .iso-text p { margin-inline: auto; }
  .iso-points { justify-content: center; }
  .scroll-cue { display: none; }
  .quote { grid-template-columns: 1fr; }
  .services { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: repeat(3, 1fr); row-gap: 2.5rem; }
  .steps::before, .steps::after { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 960px) {
  .menu-btn { display: block; margin-inline-start: auto; }
  .header .btn { display: none; }
  .nav { position: fixed; inset: var(--header-h) 0 auto 0; background: var(--header-bg); border-bottom: 2px solid var(--gold); padding: .5rem 1.25rem 1.25rem; display: none; }
  .nav.open { display: block; animation: rise .35s var(--ease); }
  .nav ul { flex-direction: column; gap: 0; }
  .nav a { display: block; padding: .95rem 0; border-bottom: 1px solid rgba(255,255,255,.1); }
  .nav a::after { display: none; }
}
@media (max-width: 600px) {
  :root { --header-h: 68px; }
  .brand img, .header.scrolled .brand img { width: 50px; height: 50px; }
  .quote-form, .contact-form { grid-template-columns: 1fr; }
  .services, .why { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero::before { background: rgba(14,34,50,.78); }
  .hero-iso { font-size: .85rem; }
  .hero-lead { text-align: start; }
  .quote, .contact-form { box-shadow: 0 0 0 1px var(--line); }
}

/* لو المستخدم قافل الحركة من إعدادات جهازه */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal] { opacity: 1; translate: none; }
  .steps::after { transform: scaleX(1); }
  .hero-bg img { transform: none; }
  .iso-ring { animation: none; }
}