/* ==========================================================
   ZEYN DAİMON — الأنماط الرئيسية (اتجاه RTL)
   ========================================================== */
:root {
  --navy: #0A192F; --navy-2: #112240; --slate: #1E293B;
  --gold: #C5A059; --gold-2: #D4AF37; --gold-ink: #8A6A2C; --gold-soft: rgba(197, 160, 89, .14);
  --bg: #F8FAFC; --ink: #0F172A; --muted: #526075; --line: #E2E8F0; --wa: #25D366;
  --r: 16px; --header-h: 78px;
  --shadow: 0 22px 45px -20px rgba(10, 25, 47, .35);
  --shadow-sm: 0 8px 20px -10px rgba(10, 25, 47, .25);
  --font-head: "Readex Pro", "Cairo", system-ui, sans-serif;
  --font-body: "Cairo", system-ui, "Segoe UI", Tahoma, sans-serif;
}

/* ---------- الأساسيات ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; overflow-x: clip; font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.85; color: var(--ink); background: #fff; -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--font-head); font-weight: 700; line-height: 1.35; color: var(--navy); margin: 0 0 .6em; }
h1 { font-size: clamp(2rem, 4.4vw, 3.4rem); }
h2 { font-size: clamp(1.55rem, 2.8vw, 2.3rem); }
h3 { font-size: 1.18rem; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
[id] { scroll-margin-top: calc(var(--header-h) + 24px); }
.container { width: min(100% - 32px, 1200px); margin-inline: auto; }
.gold { color: var(--gold); }
.muted { color: var(--muted); }
.skip { position: absolute; top: -80px; inset-inline-start: 16px; z-index: 300; background: var(--gold); color: var(--navy); padding: .5em 1em; border-radius: 8px; font-weight: 700; }
.skip:focus { top: 12px; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.i { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; vertical-align: -.22em; }

/* ---------- الأزرار ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; padding: .8em 1.5em; border: 2px solid transparent; border-radius: 999px; font-family: var(--font-head); font-weight: 500; font-size: 1rem; line-height: 1.2; white-space: nowrap; cursor: pointer; transition: transform .2s, box-shadow .2s, background-color .2s, color .2s, border-color .2s; }
.btn:hover { transform: translateY(-2px); }
.btn:hover .i { transform: translateX(-3px); }
.btn .i { transition: transform .2s; }
.btn--gold { background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: var(--navy); box-shadow: 0 10px 24px -10px rgba(197, 160, 89, .8); }
.btn--gold:hover { box-shadow: 0 14px 30px -10px rgba(197, 160, 89, .95); }
.btn--ghost { border-color: rgba(255, 255, 255, .55); color: #fff; }
.btn--ghost:hover { background: #fff; color: var(--navy); }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--slate); }
.btn--wa { background: var(--wa); color: #fff; }
.btn--lg { padding: .95em 1.8em; font-size: 1.05rem; }
.btn--sm { padding: .55em 1.1em; font-size: .92rem; }
.btn--block { width: 100%; }
.btn.is-loading { opacity: .75; pointer-events: none; }
.btn.is-loading .i { display: none; }
.btn.is-loading::after { content: ""; width: 1em; height: 1em; border: 2px solid currentColor; border-inline-end-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- الشريط العلوي والهيدر ---------- */
.topbar { background: var(--navy); color: #b8c4d6; font-size: .86rem; border-bottom: 1px solid rgba(255, 255, 255, .07); }
.topbar__in { display: flex; align-items: center; gap: 1.6rem; min-height: 40px; }
.topbar__in > * { display: inline-flex; align-items: center; gap: .45em; }
.topbar .i { color: var(--gold); }
.topbar a:hover { color: #fff; }
.topbar__end { margin-inline-start: auto; }

.header { position: sticky; top: 0; z-index: 100; background: rgba(10, 25, 47, .95); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid rgba(197, 160, 89, .2); transition: box-shadow .3s; }
.header.is-scrolled { box-shadow: 0 10px 30px -12px rgba(0, 0, 0, .5); }
.header__in { display: flex; align-items: center; gap: 1.5rem; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: .75rem; color: #fff; }
.brand__mark { width: 46px; height: 46px; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1.2; }
.brand__text b { font-family: var(--font-head); font-size: 1.2rem; font-weight: 700; letter-spacing: .08em; }
.brand__text small { margin-top: 3px; font-size: .76rem; color: var(--gold); }
.nav { display: flex; align-items: center; gap: .2rem; margin-inline-start: auto; }
.nav a:not(.btn) { position: relative; padding: .5em .95em; color: #d5deea; font-weight: 600; border-radius: 8px; transition: color .2s, background-color .2s; }
.nav a:not(.btn):hover, .nav a[aria-current] { color: #fff; }
.nav a[aria-current]::after { content: ""; position: absolute; inset-inline: .95em; bottom: .1em; height: 2px; background: var(--gold); border-radius: 2px; }
.nav__cta { margin-inline-start: .8rem; }
.burger { display: none; position: relative; margin-inline-start: auto; width: 46px; height: 46px; border: 1px solid rgba(255, 255, 255, .22); border-radius: 12px; background: transparent; color: #fff; cursor: pointer; }
.burger span { position: absolute; top: 50%; left: 50%; width: 20px; height: 2px; margin: -1px 0 0 -10px; background: currentColor; transition: background-color .2s; }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 100%; background: currentColor; transition: transform .25s; }
.burger span::before { transform: translateY(-6px); }
.burger span::after { transform: translateY(6px); }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { transform: rotate(45deg); }
.burger[aria-expanded="true"] span::after { transform: rotate(-45deg); }

/* ---------- عناوين الأقسام ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: .6em; margin: 0 0 .9rem; font-family: var(--font-head); font-weight: 500; font-size: .92rem; color: var(--gold-ink); }
.eyebrow::before { content: ""; flex: none; width: 8px; height: 8px; background: var(--gold); transform: rotate(45deg); }
.eyebrow--pill { padding: .45em 1.1em; border: 1px solid rgba(197, 160, 89, .45); border-radius: 999px; background: rgba(197, 160, 89, .1); }
.section--navy .eyebrow, .hero .eyebrow { color: var(--gold); }
.section { padding: clamp(64px, 9vw, 110px) 0; }
.section--soft { background: var(--bg); }
.section--navy { background: radial-gradient(1100px 480px at 85% -10%, rgba(197, 160, 89, .13), transparent 60%), var(--navy); color: #cbd5e1; }
.section--navy h2, .section--navy h3 { color: #fff; }
.head { max-width: 720px; margin: 0 auto 3rem; text-align: center; }
.head p { color: var(--muted); font-size: 1.08rem; }
.head .eyebrow { justify-content: center; }

/* ---------- الواجهة الرئيسية ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: center; min-height: min(88vh, 780px); padding: 96px 0 150px; color: #fff; }
.hero__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; animation: zoom 18s ease-out both; }
@keyframes zoom { from { transform: scale(1.08); } }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to left, rgba(10, 25, 47, .97), rgba(10, 25, 47, .85) 48%, rgba(10, 25, 47, .45)), linear-gradient(to top, rgba(10, 25, 47, .85), transparent 45%); }
.hero::after { content: ""; position: absolute; z-index: -1; left: -160px; bottom: -260px; width: 520px; aspect-ratio: 1; border: 1px solid rgba(197, 160, 89, .35); box-shadow: inset 0 0 0 46px rgba(197, 160, 89, .05), 0 0 0 46px rgba(197, 160, 89, .04); transform: rotate(45deg); }
.hero__in { max-width: 760px; }
.hero h1 { color: #fff; margin-bottom: .5em; }
.hero__lead { max-width: 640px; font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: #d3dcea; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .9rem; margin: 2.1rem 0 1.7rem; }
.hero__checks { display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; font-size: .95rem; color: #e2e8f0; }
.hero__checks li { display: inline-flex; align-items: center; gap: .45em; }
.hero__checks .i { color: var(--gold); }

.stats { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, 1fr); margin-top: -84px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); overflow: hidden; }
.stat { padding: 1.7rem 1.2rem; text-align: center; border-inline-start: 1px solid var(--line); }
.stat:first-child { border-inline-start: 0; }
.stat b { display: block; font-family: var(--font-head); font-size: clamp(1.45rem, 2.4vw, 2rem); line-height: 1.3; color: var(--navy); }
.stat b::after { content: ""; display: block; width: 28px; height: 3px; margin: .5rem auto .4rem; background: var(--gold); border-radius: 3px; }
.stat span { font-size: .95rem; color: var(--muted); }

/* ---------- الشبكات والبطاقات ---------- */
.grid { display: grid; gap: 1.5rem; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.card { position: relative; overflow: hidden; padding: 2rem 1.6rem; background: #fff; border: 1px solid var(--line); border-radius: var(--r); transition: transform .3s, box-shadow .3s, border-color .3s; }
.card::before { content: ""; position: absolute; inset-inline: 0; top: 0; height: 3px; background: linear-gradient(90deg, var(--gold), var(--gold-2)); transform: scaleX(0); transform-origin: right; transition: transform .4s; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card:hover::before { transform: scaleX(1); }
.card p { margin: 0; font-size: 1rem; color: var(--muted); }
.card__icon { display: inline-grid; place-items: center; width: 58px; height: 58px; margin-bottom: 1.2rem; border-radius: 14px; background: var(--navy); color: var(--gold); transition: background .3s, color .3s; }
.card__icon .i { width: 28px; height: 28px; }
.card:hover .card__icon { background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: var(--navy); }
.card__n { position: absolute; top: 1.1rem; inset-inline-end: 1.4rem; font-family: var(--font-head); font-size: 3rem; font-weight: 700; line-height: 1; color: rgba(197, 160, 89, .25); }
.card--lg { padding: 2.4rem 2rem; }
.card--center { text-align: center; }
.card--link { display: flex; flex-direction: column; }
.card--link p { flex: 1; margin-bottom: 1.3rem; }
.card--navy { background: var(--navy); border-color: var(--navy); }
.card--navy h2, .card--navy h3 { color: #fff; }
.card--navy p, .card--navy .ticks li { color: #cbd5e1; }
.card--navy .card__icon { background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: var(--navy); }
.more { display: inline-flex; align-items: center; gap: .4em; font-family: var(--font-head); font-weight: 700; color: var(--gold-ink); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 5vw, 4.5rem); align-items: center; }
.media { position: relative; isolation: isolate; margin: 0; }
.media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r); box-shadow: var(--shadow); }
.media::before { content: ""; position: absolute; inset: 26px -16px -16px 26px; z-index: -1; border: 2px solid var(--gold); border-radius: var(--r); }
.media__badge { position: absolute; bottom: -24px; inset-inline-start: 24px; display: flex; align-items: center; gap: .8rem; padding: .9rem 1.3rem; background: var(--navy); color: #fff; border: 1px solid rgba(197, 160, 89, .45); border-radius: 14px; box-shadow: var(--shadow); }
.media__badge b { font-family: var(--font-head); font-size: 2rem; line-height: 1; color: var(--gold); }
.media__badge span { font-weight: 600; line-height: 1.4; }

.ticks { display: grid; gap: .55rem; margin-top: 1.3rem; }
.ticks li { position: relative; padding-inline-start: 2rem; }
.ticks li::before { content: ""; position: absolute; inset-inline-start: 0; top: .38em; width: 1.2rem; height: 1.2rem; border-radius: 50%; background: var(--gold-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B08A45' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 68% no-repeat; }

/* ---------- قسم التسعير وحلقتي التواصل ---------- */
.chips { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.6rem; }
.chips li { padding: .4em 1.1em; border: 1px solid rgba(197, 160, 89, .45); border-radius: 999px; background: rgba(197, 160, 89, .08); color: #f1e3c0; font-weight: 600; font-size: .95rem; }
.loops { padding: 2rem; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1); border-radius: 20px; }
.loops h3 { margin-bottom: 1.6rem; font-size: 1.15rem; }
.loops__flow { display: flex; align-items: flex-start; gap: .5rem; margin-bottom: 1.6rem; }
.node { display: flex; flex: none; flex-direction: column; align-items: center; gap: .55rem; width: 92px; text-align: center; font-weight: 700; font-size: .92rem; line-height: 1.4; color: #fff; }
.node > span { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18); color: var(--gold); }
.node .i { width: 28px; height: 28px; }
.node--gold > span { background: var(--navy-2); border: 2px solid var(--gold); box-shadow: 0 0 0 7px rgba(197, 160, 89, .14); }
.i--logo { width: 36px !important; height: 36px !important; }
.link { position: relative; flex: 1; height: 2px; margin-top: 31px; background: repeating-linear-gradient(90deg, var(--gold) 0 7px, transparent 7px 13px); }
.link em { position: absolute; bottom: 9px; left: 50%; transform: translateX(-50%); font-style: normal; font-size: .8rem; white-space: nowrap; color: var(--gold); }
.link::after { content: ""; position: absolute; top: -3px; right: 0; width: 8px; height: 8px; border-radius: 50%; background: var(--gold-2); box-shadow: 0 0 10px var(--gold-2); animation: flow 2.6s ease-in-out infinite alternate; }
@keyframes flow { to { right: calc(100% - 8px); } }
@keyframes flow-v { to { top: calc(100% - 8px); } }
.loops__list li { padding: .9rem 0; border-top: 1px solid rgba(255, 255, 255, .1); }
.loops__list b { color: var(--gold); }

/* ---------- خطوات العمل ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.step { position: relative; padding: 2rem 1.5rem 1.6rem; background: #fff; border: 1px solid var(--line); border-radius: var(--r); }
.step__n { display: inline-grid; place-items: center; width: 54px; height: 54px; margin-bottom: 1.1rem; border-radius: 50%; background: var(--navy); color: var(--gold); font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; box-shadow: 0 0 0 6px var(--gold-soft); }
.step p { margin: 0; font-size: .98rem; color: var(--muted); }
.step:not(:last-child)::after { content: ""; position: absolute; top: 58px; inset-inline-end: calc(-1.5rem - 1px); width: 1.5rem; height: 2px; background: var(--gold); }

/* ---------- شريط الدعوة للتواصل ---------- */
.cta { position: relative; isolation: isolate; overflow: hidden; padding: clamp(64px, 8vw, 100px) 0; color: #fff; }
.cta__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to left, rgba(10, 25, 47, .96), rgba(10, 25, 47, .82) 55%, rgba(10, 25, 47, .6)); }
.cta__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 2rem; }
.cta h2 { max-width: 660px; margin-bottom: .4em; color: #fff; }
.cta p { max-width: 600px; margin: 0; color: #cbd5e1; }
.cta__actions { display: flex; flex-wrap: wrap; gap: .8rem; }

/* ---------- رأس الصفحات الداخلية ---------- */
.page-hero { position: relative; overflow: hidden; padding: clamp(72px, 10vw, 124px) 0 clamp(56px, 8vw, 92px); color: #fff; background: linear-gradient(to left, rgba(10, 25, 47, .96), rgba(10, 25, 47, .72)), var(--img) center / cover no-repeat; }
.page-hero::after { content: ""; position: absolute; left: -120px; bottom: -200px; width: 380px; aspect-ratio: 1; border: 1px solid rgba(197, 160, 89, .35); transform: rotate(45deg); }
.page-hero h1 { margin: .35em 0 .3em; color: #fff; }
.page-hero p { max-width: 640px; margin: 0; font-size: 1.15rem; color: #d3dcea; }
.crumbs { display: flex; flex-wrap: wrap; gap: .5rem; font-size: .92rem; color: #a9b5c7; }
.crumbs a:hover, .crumbs [aria-current] { color: var(--gold); }

/* ---------- مجالات التوريد ---------- */
.domain { display: flex; flex-direction: column; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: var(--r); transition: transform .3s, box-shadow .3s; }
.domain:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.domain__media { overflow: hidden; }
.domain__media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .7s; }
.domain:hover .domain__media img { transform: scale(1.06); }
.domain__body { position: relative; padding: 2.4rem 1.7rem 1.9rem; }
.domain__body .card__icon { position: absolute; top: -30px; inset-inline-start: 1.7rem; margin: 0; box-shadow: 0 0 0 6px #fff; }
.domain__body p { margin: 0; color: var(--muted); }

.checklist { display: grid; gap: .7rem; counter-reset: c; }
.checklist li { counter-increment: c; display: flex; align-items: center; gap: .9rem; padding: .95rem 1.2rem; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); border-radius: 12px; color: #e2e8f0; font-weight: 600; transition: border-color .2s, background-color .2s; }
.checklist li:hover { border-color: rgba(197, 160, 89, .5); background: rgba(197, 160, 89, .08); }
.checklist li::before { content: counter(c); flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: var(--navy); font-family: var(--font-head); font-weight: 700; font-size: .9rem; }

/* ---------- صفحة التواصل والنموذج ---------- */
.contact { display: grid; grid-template-columns: 1.6fr 1fr; gap: 2rem; align-items: start; }
.form-card { padding: clamp(1.4rem, 4vw, 2.6rem); background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); }
.form-card h2 { margin-bottom: .3em; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1.2rem; margin: 1.6rem 0; }
.field { display: flex; flex-direction: column; gap: .4rem; }
.field--full { grid-column: 1 / -1; }
.field label, .label { font-weight: 700; font-size: .95rem; color: var(--navy); }
.label .muted { font-weight: 400; font-size: .85rem; }
.req { color: #c2410c; }
input, select, textarea { width: 100%; padding: .75em 1em; font: inherit; font-size: 1rem; color: var(--ink); background: var(--bg); border: 1.5px solid var(--line); border-radius: 12px; transition: border-color .2s, box-shadow .2s, background-color .2s; }
input[dir="ltr"] { text-align: right; }
input::placeholder, textarea::placeholder { color: #94a3b8; }
input:focus, select:focus, textarea:focus { outline: none; background: #fff; border-color: var(--gold); box-shadow: 0 0 0 4px var(--gold-soft); }
[aria-invalid="true"] { border-color: #dc2626; background: #fef2f2; }
select { appearance: none; padding-inline-end: 2.6em; background: var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23526075' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") left 1rem center / 16px no-repeat; }
textarea { min-height: 150px; resize: vertical; }
.err { font-size: .85rem; color: #dc2626; }
.err:empty { display: none; }
.drop { position: relative; display: flex; flex-direction: column; align-items: center; gap: .3rem; padding: 1.6rem 1rem; text-align: center; color: var(--muted); background: var(--bg); border: 2px dashed #cbd5e1; border-radius: 14px; cursor: pointer; transition: border-color .2s, background-color .2s; }
.drop:hover, .drop.is-over { border-color: var(--gold); background: var(--gold-soft); }
.drop:focus-within { outline: 3px solid var(--gold); outline-offset: 2px; }
.drop .i { width: 34px; height: 34px; color: var(--gold-ink); }
.drop b { color: var(--navy); }
.drop small { font-size: .8rem; }
.drop input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.files { display: grid; gap: .5rem; margin-top: .7rem; }
.files:empty { display: none; }
.files li { display: flex; align-items: center; gap: .6rem; padding: .5rem .8rem; border: 1px solid var(--line); border-radius: 10px; font-size: .92rem; }
.files li > .i { color: var(--gold-ink); }
.files__name { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.files small { color: var(--muted); }
.files button { display: grid; padding: .2rem; border: 0; background: none; color: var(--muted); cursor: pointer; }
.files button:hover { color: #dc2626; }
/* بلا إزاحة سالبة: في صفحة RTL تصنع تمريرًا أفقيًا بعرض الإزاحة */
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.form-alert { margin-bottom: 1rem; padding: 1rem 1.2rem; color: #9a3412; background: #fff7ed; border: 1px solid #fdba74; border-radius: 12px; }
.form-alert p { margin: 0 0 .7rem; }
.fine { margin: 1rem 0 0; font-size: .85rem; text-align: center; color: var(--muted); }
.success { padding: 2rem 0; text-align: center; }
.success:focus { outline: none; }
.success__icon { display: inline-grid; place-items: center; width: 84px; height: 84px; margin-bottom: 1.2rem; border-radius: 50%; background: #dcfce7; color: #16a34a; box-shadow: 0 0 0 10px #f0fdf4; }
.success__icon .i { width: 42px; height: 42px; stroke-width: 2.5; }
.success p { max-width: 460px; margin-inline: auto; color: var(--muted); }
.contact__side { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 1rem; }
.info { display: flex; align-items: center; gap: 1rem; padding: 1.1rem 1.2rem; background: #fff; border: 1px solid var(--line); border-radius: 14px; transition: border-color .2s, transform .2s, box-shadow .2s; }
a.info:hover { transform: translateY(-3px); border-color: var(--gold); box-shadow: var(--shadow-sm); }
.info__icon { display: grid; flex: none; place-items: center; width: 50px; height: 50px; border-radius: 12px; background: var(--navy); color: var(--gold); }
.info--wa .info__icon { background: var(--wa); color: #fff; }
.info small { display: block; font-size: .85rem; color: var(--muted); }
.info b, .info span > a { display: block; font-family: var(--font-head); font-weight: 700; color: var(--navy); overflow-wrap: anywhere; }
.info b[dir="ltr"] { text-align: right; }
.info span > a:hover { color: var(--gold-ink); }
.tip { margin: 0; padding: 1.2rem 1.3rem; font-size: .95rem; color: #cbd5e1; background: var(--navy); border-inline-start: 4px solid var(--gold); border-radius: 14px; }
.tip b { color: var(--gold); }

/* ---------- الفوتر ---------- */
.footer { padding-top: 72px; font-size: .96rem; color: #94a3b8; background: #071324; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.4fr; gap: 2.5rem; padding-bottom: 3rem; }
.footer h3 { margin-bottom: 1.1rem; font-size: 1.05rem; color: #fff; }
.footer ul { display: grid; gap: .6rem; }
.footer a:hover { color: var(--gold); }
.footer__brand p { max-width: 340px; margin-top: 1.1rem; }
.footer__contact li { display: flex; align-items: flex-start; gap: .6rem; }
.footer__contact .i { margin-top: .35em; color: var(--gold); }
.footer__contact a { overflow-wrap: anywhere; }
.footer__bottom { padding: 1.2rem 0; font-size: .88rem; text-align: center; border-top: 1px solid rgba(255, 255, 255, .08); }
.powered { display: block; margin-top: .3rem; font-size: .8rem; }
.powered a { font-weight: 600; color: var(--gold); }
.powered a:hover { text-decoration: underline; }

/* ---------- زر واتساب العائم ---------- */
.wa-float { position: fixed; bottom: 22px; inset-inline-end: 22px; z-index: 90; display: flex; align-items: center; gap: .5rem; padding: .8rem; color: #fff; background: var(--wa); border-radius: 999px; box-shadow: 0 12px 28px -8px rgba(37, 211, 102, .65); transition: transform .2s; }
.wa-float:hover { transform: translateY(-3px); }
.wa-float .i { width: 30px; height: 30px; }
.wa-float span { max-width: 0; overflow: hidden; white-space: nowrap; font-family: var(--font-head); font-weight: 500; font-size: .95rem; transition: max-width .35s, padding .35s; }
.wa-float:hover span, .wa-float:focus-visible span { max-width: 200px; padding-inline-end: .5rem; }
.wa-float::before { content: ""; position: absolute; inset: 0; z-index: -1; border: 2px solid var(--wa); border-radius: inherit; animation: pulse 2.2s ease-out infinite; }
@keyframes pulse { from { transform: scale(1); opacity: .7; } to { transform: scale(1.45); opacity: 0; } }

/* ---------- حركة الظهور ---------- */
.js .reveal { opacity: 0; }
.js .reveal.is-in { opacity: 1; animation: rise .8s cubic-bezier(.2, .7, .2, 1) backwards; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } }
.reveal:nth-child(2) { animation-delay: .08s; }
.reveal:nth-child(3) { animation-delay: .16s; }
.reveal:nth-child(4) { animation-delay: .24s; }

/* ---------- التجاوب ---------- */
@media (max-width: 1024px) {
  .topbar { display: none; }
  .burger { display: block; }
  .nav { position: absolute; top: 100%; inset-inline: 0; flex-direction: column; align-items: stretch; gap: .25rem; max-height: calc(100vh - var(--header-h)); overflow: auto; padding: 1rem 16px 1.5rem; background: var(--navy); border-bottom: 1px solid rgba(197, 160, 89, .25); box-shadow: 0 20px 40px -10px rgba(0, 0, 0, .5); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .25s, transform .25s, visibility .25s; }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav a:not(.btn) { padding: .85em 1em; font-size: 1.05rem; border-radius: 10px; }
  .nav a:not(.btn):hover, .nav a[aria-current] { background: rgba(255, 255, 255, .06); }
  .nav a[aria-current]::after { inset: .7em 0 .7em auto; width: 3px; height: auto; }
  .nav__cta { margin: .75rem 0 0; }
  .grid--4, .steps { grid-template-columns: repeat(2, 1fr); }
  .step::after { display: none; }
}
@media (max-width: 900px) {
  .split, .contact { grid-template-columns: 1fr; }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 > :last-child:nth-child(odd) { grid-column: 1 / -1; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .contact__side { position: static; }
  .media { margin-bottom: 1.5rem; }
}
@media (max-width: 640px) {
  :root { --header-h: 68px; }
  body { font-size: 1rem; }
  .grid--2, .grid--3, .grid--4, .steps, .fields, .footer__grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { padding: 1.3rem .8rem; }
  .stat:nth-child(3) { border-inline-start: 0; }
  .stat:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .hero { min-height: auto; padding: 72px 0 130px; }
  .hero__actions .btn, .cta__actions, .cta__actions .btn { width: 100%; }
  .brand__mark { width: 38px; height: 38px; }
  .brand__text b { font-size: 1rem; }
  .brand__text small { font-size: .68rem; }
  .loops { padding: 1.5rem 1.2rem; }
  .loops__flow { flex-direction: column; align-items: center; gap: .4rem; }
  .link { flex: none; width: 2px; height: 54px; margin: 0; background: repeating-linear-gradient(180deg, var(--gold) 0 7px, transparent 7px 13px); }
  .link em { top: 50%; bottom: auto; left: auto; right: 14px; transform: translateY(-50%); }
  .link::after { top: 0; right: -3px; animation-name: flow-v; }
  .media__badge { inset-inline-start: 12px; }
  .wa-float { bottom: 16px; inset-inline-end: 16px; }
  .footer__bottom { padding-bottom: 88px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
