/* ==========================================================
   شركة الأنوار للاستثمارات العقارية — الأنماط العامة
   ========================================================== */

/* ---------- الخطوط (مستضافة محلياً) ---------- */
/* IBM Plex Sans Arabic — للنصوص */
@font-face { font-family: "IBM Plex Sans Arabic"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/ibm-plex-sans-arabic-arabic-400-normal.woff2") format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FEFC; }
@font-face { font-family: "IBM Plex Sans Arabic"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/ibm-plex-sans-arabic-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF, U+FFFD; }
@font-face { font-family: "IBM Plex Sans Arabic"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/ibm-plex-sans-arabic-arabic-500-normal.woff2") format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FEFC; }
@font-face { font-family: "IBM Plex Sans Arabic"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/ibm-plex-sans-arabic-latin-500-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF, U+FFFD; }
@font-face { font-family: "IBM Plex Sans Arabic"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/ibm-plex-sans-arabic-arabic-700-normal.woff2") format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FEFC; }
@font-face { font-family: "IBM Plex Sans Arabic"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/ibm-plex-sans-arabic-latin-700-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF, U+FFFD; }
/* Tajawal — للعناوين واسم الشركة */
@font-face { font-family: "Tajawal"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/tajawal-arabic-700-normal.woff2") format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FEFC; }
@font-face { font-family: "Tajawal"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/tajawal-latin-700-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF, U+FFFD; }
@font-face { font-family: "Tajawal"; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/tajawal-arabic-800-normal.woff2") format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FEFC; }
@font-face { font-family: "Tajawal"; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/tajawal-latin-800-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF, U+FFFD; }

/* ---------- الألوان: الوضع الفاتح (افتراضي) ---------- */
:root {
  --charcoal: #2e2e33;
  --charcoal-2: #3a3a40;
  --gold: #e8b54a;
  --gold-soft: #f6d68a;
  --on-gold: #2a2410;

  --bg: #faf7f0;
  --surface: #ffffff;
  --surface-2: #f3eee2;
  --text: #26262a;
  --muted: #5d5c63;
  --border: #e7dfcd;
  --accent: #9a6c12;          /* ذهبي داكن للنصوص على خلفية فاتحة */
  --header-bg: var(--charcoal);
  --hero-bg: #2a2a2f;
  --shadow: 0 1px 2px rgb(40 34 20 / .06), 0 8px 24px rgb(40 34 20 / .07);

  --font-text: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, system-ui, sans-serif;
  --font-display: "Tajawal", "IBM Plex Sans Arabic", "Segoe UI", Tahoma, sans-serif;

  --radius: 14px;
  --radius-lg: 22px;
  --container: 1160px;
  --gutter: clamp(16px, 4vw, 32px);

  color-scheme: light;
}

/* ---------- الوضع الداكن ---------- */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #141416;
    --surface: #1d1d21;
    --surface-2: #25252a;
    --text: #f1efe9;
    --muted: #aaa8a1;
    --border: #34343b;
    --accent: #f0c463;
    --header-bg: #1b1b1f;
    --hero-bg: #1b1b1f;
    --shadow: 0 1px 2px rgb(0 0 0 / .3), 0 10px 28px rgb(0 0 0 / .35);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #141416;
  --surface: #1d1d21;
  --surface-2: #25252a;
  --text: #f1efe9;
  --muted: #aaa8a1;
  --border: #34343b;
  --accent: #f0c463;
  --header-bg: #1b1b1f;
  --hero-bg: #1b1b1f;
  --shadow: 0 1px 2px rgb(0 0 0 / .3), 0 10px 28px rgb(0 0 0 / .35);
  color-scheme: dark;
}

/* ---------- أساسيات ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body {
  margin: 0;
  font-family: var(--font-text);
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--text);
  background: var(--bg);
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.35; margin: 0 0 .5em; font-weight: 800; }
/* العناوين واسم الشركة بخط Tajawal، وباقي النصوص بخط IBM Plex */
h1, h2, h3, .brand-text strong, .hero-card .tag, .step::before { font-family: var(--font-display); }
.hero-card .tag span { font-family: var(--font-text); }
p { margin: 0 0 1em; }
.ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }

.skip-link {
  position: absolute; inset-inline-start: 1rem; top: -100px; z-index: 100;
  background: var(--gold); color: var(--on-gold); padding: .6rem 1rem; border-radius: 10px; font-weight: 700;
}
.skip-link:focus { top: 1rem; }

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

/* ---------- الأزرار ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .8rem 1.35rem; border-radius: 12px; border: 2px solid transparent;
  font: inherit; font-weight: 700; font-size: 1rem; line-height: 1.2;
  text-decoration: none; cursor: pointer; transition: transform .15s ease, background-color .15s ease, border-color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-gold { background: var(--gold); color: var(--on-gold); }
.btn-gold:hover { background: var(--gold-soft); }
.btn-ghost { border-color: rgb(255 255 255 / .35); color: #fff; }
.btn-ghost:hover { border-color: var(--gold); }
.btn-outline { border-color: var(--border); color: var(--text); background: var(--surface); }
.btn-outline:hover { border-color: var(--gold); }

/* ---------- الترويسة ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--header-bg); color: #fff; }
.site-header::after {           /* شريط ذهبي مثل الورق الرسمي */
  content: ""; display: block; height: 5px;
  background: linear-gradient(90deg, var(--gold-soft), var(--gold) 45%, #c9932c);
}
.header-inner { display: flex; align-items: center; gap: 1.25rem; min-height: 76px; }
.brand { display: flex; align-items: center; gap: .8rem; text-decoration: none; color: #fff; margin-inline-end: auto; }
.brand img { width: 62px; height: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-text strong { font-size: 1.15rem; font-weight: 800; }
.brand-text span { font-size: .82rem; color: var(--gold-soft); font-weight: 500; }

.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: .35rem; }
.nav a {
  display: block; padding: .5rem .9rem; border-radius: 10px; text-decoration: none;
  color: rgb(255 255 255 / .85); font-weight: 500;
}
.nav a:hover { color: #fff; background: rgb(255 255 255 / .07); }
.nav a[aria-current="page"] { color: var(--gold); font-weight: 700; }

.header-actions { display: flex; align-items: center; gap: .5rem; }
.icon-btn {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px;
  border: 1px solid rgb(255 255 255 / .18); background: transparent; color: #fff; cursor: pointer;
}
.icon-btn:hover { border-color: var(--gold); color: var(--gold); }
.icon-btn svg { width: 21px; height: 21px; }
.theme-toggle .icon-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .icon-moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .icon-sun { display: block; }
  :root:not([data-theme="light"]) .theme-toggle .icon-moon { display: none; }
}
.header-call { padding: .6rem 1rem; }
.menu-toggle { display: none; }

@media (max-width: 860px) {
  .menu-toggle { display: inline-grid; }
  .header-call { display: none; }
  .brand img { width: 52px; }
  .brand-text span { display: none; }
  .nav {
    position: absolute; inset-inline: 0; top: 100%;
    background: var(--header-bg); border-top: 1px solid rgb(255 255 255 / .08);
    display: none; padding: .5rem var(--gutter) 1rem;
  }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; }
  .nav a { padding: .8rem .9rem; font-size: 1.05rem; }
}

/* ---------- البطل (الواجهة) ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  background: radial-gradient(1200px 500px at 85% -10%, #3c3c43 0%, transparent 60%), var(--hero-bg);
  color: #fff;
}
.hero-watermark {
  position: absolute; z-index: -1; inset-inline-end: -4%; bottom: -12%;
  width: min(620px, 70vw); opacity: .05; pointer-events: none;
}
.hero-inner {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 5vw, 4rem); align-items: center;
  padding-block: clamp(3.5rem, 9vw, 6.5rem);
}
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem; margin-bottom: 1rem;
  color: var(--gold-soft); font-weight: 700; font-size: .95rem;
}
.eyebrow::before { content: ""; width: 28px; height: 3px; border-radius: 3px; background: var(--gold); }
.hero h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero p.lead { font-size: clamp(1.05rem, 2vw, 1.2rem); color: rgb(255 255 255 / .78); max-width: 34em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }

.hero-card {
  position: relative; border-radius: var(--radius-lg); padding: 2.25rem 2rem 2rem;
  background: linear-gradient(160deg, #3a3a40, #2a2a2f);
  border: 1px solid rgb(255 255 255 / .08);
  box-shadow: 0 30px 60px rgb(0 0 0 / .35);
  overflow: hidden;
}
.hero-card .ribbon { position: absolute; inset-inline: 0; top: 0; height: 64px; width: 100%; }
.hero-card img { width: 62%; margin: 3rem auto 1.4rem; }
.hero-card .tag { text-align: center; font-weight: 700; font-size: 1.1rem; margin: 0; }
.hero-card .tag span { display: block; color: var(--gold-soft); font-size: .95rem; font-weight: 500; }

@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-card { max-width: 320px; width: 100%; margin-inline: auto; padding: 1.75rem 1.5rem 1.5rem; }
  .hero-card img { width: 56%; margin-top: 2.4rem; }
}

/* ---------- الأقسام ---------- */
.section { padding-block: clamp(3.5rem, 8vw, 6rem); }
.section-alt { background: var(--surface-2); }
.section-head { max-width: 640px; margin-bottom: 2.5rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head .kicker { color: var(--accent); font-weight: 700; margin-bottom: .4rem; display: block; }
.section-head h2 { font-size: clamp(1.6rem, 3.4vw, 2.25rem); }
.section-head p { color: var(--muted); }

.grid { display: grid; gap: 1.25rem; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.6rem; box-shadow: var(--shadow); transition: transform .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--gold) 55%, var(--border)); }
.card h3 { font-size: 1.2rem; margin-bottom: .35rem; }
.card p { color: var(--muted); margin: 0; font-size: 1rem; }
.card-icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 1rem;
  background: color-mix(in srgb, var(--gold) 16%, transparent); color: var(--accent);
}
.card-icon svg { width: 26px; height: 26px; }

/* لماذا نحن */
.feature { display: flex; gap: 1rem; align-items: flex-start; }
.feature .card-icon { flex: none; margin: 0; }
.feature h3 { font-size: 1.1rem; margin-bottom: .2rem; }
.feature p { color: var(--muted); margin: 0; font-size: 1rem; }

/* الخطوات */
.steps { counter-reset: step; }
.step { position: relative; padding-top: 3.6rem; }
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; top: 1.4rem; inset-inline-start: 1.6rem;
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: var(--charcoal); color: var(--gold); font-weight: 800; font-size: 1.1rem;
}
:root[data-theme="dark"] .step::before { background: var(--gold); color: var(--on-gold); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .step::before { background: var(--gold); color: var(--on-gold); } }
.step { padding: 4.4rem 1.6rem 1.6rem; }

/* شريط الدعوة */
.cta-section { padding-top: 0; }
.cta-band {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  background: linear-gradient(120deg, var(--gold-soft), var(--gold) 55%, #cf9a33);
  color: var(--on-gold); padding: clamp(2rem, 5vw, 3rem);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem;
}
.cta-band h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); margin-bottom: .3rem; }
.cta-band p { margin: 0; opacity: .85; }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.btn-dark { background: var(--charcoal); color: #fff; }
.btn-dark:hover { background: #45454c; }
.btn-light { background: rgb(255 255 255 / .55); color: var(--on-gold); }
.btn-light:hover { background: rgb(255 255 255 / .8); }

/* ---------- رأس الصفحات الداخلية ---------- */
.page-hero { background: var(--hero-bg); color: #fff; position: relative; overflow: hidden; isolation: isolate; }
.page-hero .container { padding-block: clamp(2.75rem, 7vw, 4.25rem); }
.page-hero h1 { font-size: clamp(1.9rem, 4.5vw, 2.75rem); margin-bottom: .3rem; }
.page-hero p { color: rgb(255 255 255 / .75); margin: 0; max-width: 40em; }
.page-hero .hero-watermark { width: min(380px, 55vw); bottom: -30%; }
.breadcrumb { font-size: .9rem; color: var(--gold-soft); margin-bottom: .75rem; }
.breadcrumb a { color: var(--gold-soft); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

/* من نحن */
.about-intro { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.about-intro .lead { font-size: 1.15rem; }
.about-intro p { color: var(--muted); }
.about-badge {
  border-radius: var(--radius-lg); background: var(--charcoal); padding: 2.5rem 2rem; text-align: center; color: #fff;
  box-shadow: var(--shadow); position: relative; overflow: hidden;
}
.about-badge img { width: 50%; margin: 0 auto 1.25rem; }
.about-badge p { margin: 0; color: var(--gold-soft); font-weight: 700; }
@media (max-width: 860px) { .about-intro { grid-template-columns: 1fr; } }

.values { list-style: none; padding: 0; margin: 0; }
.values li { display: flex; gap: .75rem; align-items: flex-start; padding: .9rem 0; border-bottom: 1px solid var(--border); }
.values li:last-child { border-bottom: 0; }
.values svg { width: 24px; height: 24px; flex: none; color: var(--accent); margin-top: .2rem; }
.values strong { display: block; }
.values span { color: var(--muted); }

/* ---------- تواصل معنا ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 1.5rem; align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-list { display: grid; gap: 1rem; }
.contact-item { display: flex; gap: 1rem; align-items: center; text-decoration: none; }
.contact-item .card-icon { margin: 0; flex: none; }
.contact-item small { display: block; color: var(--muted); font-size: .9rem; }
.contact-item strong { font-size: 1.1rem; }
a.contact-item:hover strong { color: var(--accent); }

.form { display: grid; gap: 1rem; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 600px) { .form .row { grid-template-columns: 1fr; } }
.field label { display: block; font-weight: 700; margin-bottom: .35rem; font-size: .98rem; }
.field label .opt { color: var(--muted); font-weight: 400; font-size: .88rem; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--text); background: var(--bg);
  border: 1.5px solid var(--border); border-radius: 12px; padding: .8rem 1rem; transition: border-color .15s ease;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px color-mix(in srgb, var(--gold) 25%, transparent); }
.field input[type="tel"], .field input[type="email"] { direction: ltr; text-align: right; }
.form-note { font-size: .92rem; color: var(--muted); margin: 0; }
.form-status { display: none; padding: .9rem 1rem; border-radius: 12px; background: color-mix(in srgb, var(--gold) 15%, transparent); border: 1px solid color-mix(in srgb, var(--gold) 45%, transparent); }
.form-status.show { display: block; }
.hp { position: absolute; inset-inline-start: -9999px; }

.map-card { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }

/* ---------- التذييل ---------- */
.site-footer { background: var(--header-bg); color: rgb(255 255 255 / .75); margin-top: 0; }
.site-footer::before { content: ""; display: block; height: 5px; background: linear-gradient(90deg, #c9932c, var(--gold) 55%, var(--gold-soft)); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 2rem; padding-block: 3rem 2rem; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand img { width: 84px; margin-bottom: 1rem; }
.footer-brand p { font-size: .98rem; max-width: 28em; }
.site-footer h3 { color: #fff; font-size: 1.05rem; margin-bottom: .9rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.site-footer a { text-decoration: none; color: rgb(255 255 255 / .75); }
.site-footer a:hover { color: var(--gold); }
.footer-contact li { display: flex; gap: .6rem; align-items: flex-start; }
.footer-contact svg { width: 19px; height: 19px; flex: none; color: var(--gold); margin-top: .3rem; }
.footer-bottom { border-top: 1px solid rgb(255 255 255 / .08); padding-block: 1.1rem; font-size: .9rem; text-align: center; }

/* زر واتساب العائم */
.wa-float {
  position: fixed; z-index: 40; inset-inline-start: 18px; bottom: 18px;
  width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  background: #25d366; color: #fff; box-shadow: 0 10px 24px rgb(0 0 0 / .25); transition: transform .15s ease;
}
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 30px; height: 30px; }

/* ==========================================================
   الحركة: طفو بطاقة الشعار + ظهور العناصر عند التمرير
   ========================================================== */
:root { --ease-out: cubic-bezier(.2, .7, .2, 1); }

/* طفو هادئ كأن البطاقة على سطح الماء (فترتان مختلفتان لحركة طبيعية) */
@keyframes float-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes float-sway { 0%, 100% { rotate: -0.45deg; } 50% { rotate: 0.45deg; } }
.hero-card { animation: float-bob 6.5s ease-in-out infinite, float-sway 9.5s ease-in-out infinite; }

/* منع ظهور شريط تمرير أفقي أثناء دخول العناصر من الجانبين */
main { overflow-x: clip; }

/* الحالة الأولى قبل الظهور (تُفعَّل فقط عند عمل JavaScript) */
.js .hero-inner > *, .js .page-hero .container > *, .js .section-head, .js .grid > *,
.js .about-intro > *, .js .values li, .js .contact-list > *, .js .contact-grid > .card,
.js .map-card, .js .cta-band > * {
  opacity: 0;
  translate: 0 28px;
  transition: opacity .8s var(--ease-out) var(--d, 0ms), translate .9s var(--ease-out) var(--d, 0ms),
              transform .2s ease, border-color .2s ease;
}
.js [data-from="right"] { translate: 56px 0; }
.js [data-from="left"]  { translate: -56px 0; }
.js [data-from="up"]    { translate: 0 28px; }
.js .hero-inner > .is-in, .js .page-hero .container > .is-in, .js .section-head.is-in, .js .grid > .is-in,
.js .about-intro > .is-in, .js .values li.is-in, .js .contact-list > .is-in, .js .contact-grid > .card.is-in,
.js .map-card.is-in, .js .cta-band > .is-in {
  opacity: 1;
  translate: 0 0;
}

/* احترام إعداد "تقليل الحركة" في جهاز الزائر */
@media (prefers-reduced-motion: reduce) {
  .hero-card { animation: none; }
  .js .hero-inner > *, .js .page-hero .container > *, .js .section-head, .js .grid > *,
  .js .about-intro > *, .js .values li, .js .contact-list > *, .js .contact-grid > .card,
  .js .map-card, .js .cta-band > * { opacity: 1; translate: none; transition: none; }
}
