/* ============================================================
   الموقع كله: الرئيسية وصفحة الطلب
   الألوان والخطوط من هنا
   ============================================================ */
:root {
  --bg: #f6f3ed;
  --paper: #fffdf9;
  --soft: #ece6da;
  --ink: #1f1d1a;
  --muted: #6b665d;
  --line: #e0d9cc;
  --green: #274a3c;
  --green-dark: #1b3629;
  --gold: #a8834a;
  --red: #b3452f;

  --f-body: "IBM Plex Sans Arabic", system-ui, -apple-system, "Segoe UI", Tahoma, sans-serif;
  --f-head: "Amiri", "Noto Naskh Arabic", "Times New Roman", serif;

  --wrap: 1180px;
  --gut: 20px;
  --r: 6px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--f-head); font-weight: 700; line-height: 1.3; margin: 0; }
p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }

/* ---------- أزرار ولينكات ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: 0 1.4em;
  background: var(--green); color: #fff;
  border: 1px solid var(--green); border-radius: var(--r);
  font-weight: 500; text-decoration: none; cursor: pointer;
  transition: background .15s;
}
.btn:hover { background: var(--green-dark); }
.btn--sm { min-height: 40px; padding: 0 1.1em; font-size: .92rem; }
.btn--ghost { background: transparent; color: var(--green); }
.btn--ghost:hover { background: var(--soft); }
.btn[disabled] { opacity: .5; cursor: not-allowed; }

.link {
  color: var(--green); font-weight: 500;
  text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px;
}
.link:hover { text-decoration-thickness: 2px; }

/* ---------- الهيدر ---------- */
.top {
  position: sticky; top: 0; z-index: 20;
  background: rgba(246, 243, 237, .94);
  backdrop-filter: saturate(1.2) blur(6px);
  border-bottom: 1px solid var(--line);
}
.top__in { display: flex; align-items: center; gap: 28px; height: 64px; }
.logo { font-family: var(--f-head); font-size: 1.45rem; font-weight: 700; text-decoration: none; white-space: nowrap; }
.nav { display: flex; gap: 24px; margin-inline-start: auto; font-size: .95rem; }
.nav a { text-decoration: none; color: var(--muted); }
.nav a:hover, .nav a[aria-current] { color: var(--ink); }
.top .btn { margin-inline-start: 4px; }

/* ---------- البداية ---------- */
.hero { padding: 56px 0 72px; }
.hero__in { display: grid; grid-template-columns: 5fr 7fr; gap: 56px; align-items: center; }
.eyebrow { color: var(--muted); font-size: .92rem; margin-bottom: 18px; }
.hero h1 { font-size: clamp(2.5rem, 5.2vw, 4.1rem); line-height: 1.2; }
.hero__lead { margin-top: 22px; color: #3f3b35; max-width: 34em; }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 30px; }
.facts {
  display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 34px;
  margin: 40px 0 0; padding-top: 22px; border-top: 1px solid var(--line);
}
.facts div { min-width: 0; }
.facts dt { color: var(--muted); font-size: .82rem; }
.facts dd { margin: 2px 0 0; font-weight: 600; font-size: .98rem; }

.hero__art { position: relative; padding-bottom: 40px; }
.hero__big { margin: 0; }
.hero__big img { width: 100%; aspect-ratio: 36 / 25; object-fit: cover; border-radius: var(--r); }
.hero__big figcaption { margin-top: 10px; font-size: .82rem; color: var(--muted); text-align: start; }
.hero__phone { position: absolute; left: -28px; bottom: 0; width: 30%; max-width: 210px; }

/* إطار موبايل للسكرين شوتس */
.phone {
  background: #151515; padding: 7px; border-radius: 30px;
  box-shadow: 0 18px 40px -18px rgba(30, 25, 15, .45);
}
.phone img { width: 100%; aspect-ratio: 390 / 844; object-fit: cover; object-position: top; border-radius: 24px; }

/* ---------- أقسام ---------- */
.sec { padding: 88px 0; }
.sec--paper { background: var(--paper); border-block: 1px solid var(--line); }
.sec__head { display: grid; grid-template-columns: 5fr 7fr; gap: 56px; align-items: end; margin-bottom: 40px; }
.sec h2 { font-size: clamp(2rem, 3.6vw, 2.8rem); }
.sec__head p { color: var(--muted); max-width: 40em; }
.note { margin-top: 32px; font-size: .9rem; color: var(--muted); }

/* ---------- الدعوات ---------- */
.tabs { display: flex; flex-wrap: wrap; gap: 6px 26px; border-bottom: 1px solid var(--line); margin-bottom: 36px; }
.tabs button {
  appearance: none; background: none; border: 0; cursor: pointer;
  padding: 10px 0 12px; margin-bottom: -1px;
  color: var(--muted); border-bottom: 2px solid transparent;
  font-size: 1rem;
}
.tabs button small { unicode-bidi: isolate; font-size: .78rem; margin-inline-start: 2px; color: var(--muted); }
.tabs button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--ink); font-weight: 500; }
.tabs button:hover { color: var(--ink); }

.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px 28px; }
.card { display: flex; flex-direction: column; }
.card__media {
  position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden;
  border-radius: var(--r); background: var(--soft);
}
.card__media > img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card__media:hover > img { transform: scale(1.025); }
.card__media--phone { display: flex; align-items: center; justify-content: center; padding: 18px 0; }
.card__media--phone .phone { height: 100%; aspect-ratio: 404 / 858; padding: 5px; border-radius: 20px; box-shadow: 0 12px 24px -14px rgba(30, 25, 15, .5); }
.card__media--phone .phone img { height: 100%; border-radius: 16px; }
.card__media--phone:hover .phone { transform: translateY(-3px); }
.card__media--phone .phone { transition: transform .3s ease; }
.card[data-cat="classic"] .card__media--phone { background: #efe3dc; }
.card[data-cat="3d"] .card__media--phone { background: #e6e2d6; }
.card[data-cat="world"] .card__media--phone { background: #dfe3dc; }

.card__meta { display: flex; justify-content: space-between; gap: 12px; margin-top: 16px; font-size: .82rem; color: var(--muted); }
.card h3 { font-size: 1.5rem; margin-top: 2px; }
.card__line { margin-top: 6px; color: #4a463f; font-size: .95rem; line-height: 1.7; }
.card__actions { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 14px; font-size: .93rem; }
.card__actions a { text-decoration: none; font-weight: 500; }
.card__actions .open { color: var(--green); text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.card__actions .want { color: var(--muted); }
.card__actions .want:hover { color: var(--ink); }
.more { display: none; width: 100%; margin-top: 28px; }

/* ---------- الأسعار ---------- */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.plan { padding: 28px 28px 32px; border-inline-start: 1px solid var(--line); display: flex; flex-direction: column; }
.plan:first-child { border-inline-start: 0; padding-inline-start: 0; }
.plan:last-child { padding-inline-end: 0; }
.plan h3 { font-size: 1.75rem; }
.plan__line { margin-top: 6px; color: #4a463f; min-height: 3.5em; }
.plan__from { margin-top: 20px; color: var(--muted); font-size: .85rem; }
.plan__price { margin-top: 2px; display: flex; align-items: baseline; gap: 8px; }
.plan__price b { font-size: 2.1rem; font-weight: 600; line-height: 1; letter-spacing: -.01em; }
.plan__price span { color: var(--muted); font-size: .9rem; }
.plan__days { color: var(--muted); font-size: .9rem; margin-top: 6px; }
.plan ul { list-style: none; padding: 0; margin: 22px 0 0; border-top: 1px solid var(--line); }
.plan li { padding: 9px 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.plan__fits { margin-top: 20px; font-size: .92rem; color: var(--muted); }
.plan__fits b { color: var(--ink); font-weight: 500; }
.plan__actions { margin-top: auto; padding-top: 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.plan__actions button { background: none; border: 0; padding: 0; cursor: pointer; }

/* ---------- مساعدة الاختيار ---------- */
.pick { display: grid; grid-template-columns: 4fr 8fr; gap: 56px; align-items: start; }
.pick__intro p { margin-top: 12px; color: var(--muted); }
.quiz { display: grid; gap: 26px; }
.quiz fieldset { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.quiz legend { font-weight: 600; margin-bottom: 10px; padding: 0; width: 100%; }
.quiz label { position: relative; cursor: pointer; }
.quiz input { position: absolute; opacity: 0; pointer-events: none; }
.quiz label span {
  display: inline-block; padding: 9px 16px;
  border: 1px solid var(--line); border-radius: var(--r); background: var(--paper);
  font-size: .95rem; transition: border-color .15s, background .15s;
}
.quiz label:hover span { border-color: #b9b0a0; }
.quiz input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.quiz input:focus-visible + span { outline: 2px solid var(--green); outline-offset: 2px; }

.answer {
  grid-column: 2; margin-top: 8px;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r);
  padding: 26px 28px;
}
.answer__kicker { color: var(--muted); font-size: .88rem; }
.answer h3 { font-size: 1.9rem; margin-top: 2px; }
.answer__why { margin-top: 10px; color: #4a463f; }
.answer__eg { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 20px; }
.answer__eg a { display: flex; gap: 12px; align-items: center; text-decoration: none; font-size: .92rem; }
.answer__eg img { width: 72px; height: 54px; object-fit: cover; border-radius: 4px; flex: none; background: var(--soft); }
.answer__eg img.is-phone { object-position: center 42%; }
.answer__eg b { display: block; font-family: var(--f-head); font-size: 1.1rem; }
.answer__eg small { color: var(--muted); }
.answer__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin-top: 22px; }

/* ---------- الخطوات ---------- */
.steps { list-style: none; counter-reset: s; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 28px; }
.steps li { counter-increment: s; font-size: .95rem; color: #4a463f; border-top: 1px solid var(--ink); padding-top: 14px; }
.steps li::before { content: counter(s); display: block; font-family: var(--f-head); font-size: 1.6rem; line-height: 1; color: var(--ink); margin-bottom: 12px; }
.steps b { color: var(--ink); font-weight: 600; }

/* ---------- الدفع ---------- */
.pay { display: grid; grid-template-columns: 5fr 7fr; gap: 56px; align-items: start; }
.pay__lead { margin-top: 16px; font-size: 1.08rem; }
.pay__rules { margin: 22px 0 0; padding: 0 1.1em 0 0; color: #4a463f; font-size: .95rem; }
.pay__rules li { margin-bottom: 8px; }
.methods { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.methods li { display: grid; grid-template-columns: 180px 1fr; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.methods b { font-weight: 600; }
.methods span { color: var(--muted); font-size: .95rem; }

/* ---------- أسئلة ---------- */
.faq { display: grid; grid-template-columns: 4fr 8fr; gap: 56px; }
.faq__list { border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 18px 0; font-weight: 500;
  display: flex; justify-content: space-between; gap: 20px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.3rem; line-height: 1; color: var(--muted); }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 0 20px; color: #4a463f; max-width: 44em; }

/* ---------- آخر الصفحة ---------- */
.end { background: var(--green); color: #f3efe6; }
.end__in { text-align: center; max-width: 720px; }
.end h2 { font-size: clamp(2.1rem, 4vw, 3rem); }
.end p { margin-top: 12px; color: #d5ddd6; }
.end__cta { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 22px; margin-top: 28px; }
.end .btn { background: #f3efe6; color: var(--green-dark); border-color: #f3efe6; }
.end .btn:hover { background: #fff; }
.end .link { color: #f3efe6; }

/* ---------- الفوتر ---------- */
.foot { padding: 48px 0 28px; font-size: .92rem; }
.foot__in { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
.foot__brand { font-family: var(--f-head); font-size: 1.4rem; font-weight: 700; }
.foot__line { color: var(--muted); margin-top: 4px; }
.foot__links { list-style: none; margin: 0; padding: 0; }
.foot__links li { margin-bottom: 6px; }
.foot__links a { text-decoration: none; color: var(--muted); }
.foot__links a:hover { color: var(--ink); }
.foot__bottom { margin-top: 36px; color: var(--muted); font-size: .85rem; }
.foot__bottom > span { display: block; padding-top: 18px; border-top: 1px solid var(--line); }

/* زرار واتساب ثابت */
.wa-float {
  position: fixed; left: 18px; bottom: 18px; z-index: 30;
  width: 54px; height: 54px; border-radius: 50%;
  display: grid; place-items: center;
  background: #1f8f4e; color: #fff;
  box-shadow: 0 8px 20px -8px rgba(0, 0, 0, .45);
}
.wa-float:hover { background: #197a42; }

/* ============================================================
   صفحة الطلب
   ============================================================ */
.order { padding: 48px 0 96px; }
.order__head { max-width: 680px; margin-bottom: 40px; }
.order__head h1 { font-size: clamp(2.2rem, 4.4vw, 3.2rem); }
.order__head p { margin-top: 12px; color: var(--muted); }
.order__grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 48px; align-items: start; }

.block { border-top: 1px solid var(--ink); padding: 22px 0 40px; }
.block__head { display: flex; align-items: baseline; gap: 14px; margin-bottom: 18px; }
.block__head span { font-family: var(--f-head); font-size: 1.5rem; line-height: 1; color: var(--muted); }
.block__head h2 { font-size: 1.6rem; }
.block__hint { color: var(--muted); font-size: .92rem; margin: -8px 0 18px; }

/* اختيار النوع */
.cats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.opt { position: relative; cursor: pointer; display: block; }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt__box {
  display: block; height: 100%; padding: 16px 16px 14px;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r);
  transition: border-color .15s, box-shadow .15s;
}
.opt:hover .opt__box { border-color: #b9b0a0; }
.opt input:checked + .opt__box { border-color: var(--green); box-shadow: inset 0 0 0 1px var(--green); }
.opt input:focus-visible + .opt__box { outline: 2px solid var(--green); outline-offset: 2px; }
.opt__name { display: block; font-family: var(--f-head); font-size: 1.3rem; font-weight: 700; }
.opt__sub { display: block; color: var(--muted); font-size: .86rem; line-height: 1.6; margin-top: 2px; }
.opt__price { display: block; margin-top: 10px; font-weight: 600; }
.opt__price small { font-weight: 400; color: var(--muted); }

/* اختيار التصميم */
.designs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.design .opt__box { padding: 6px 6px 10px; }
.design__img { display: block; aspect-ratio: 4 / 3; border-radius: 4px; overflow: hidden; background: var(--soft); }
.design__img img { width: 100%; height: 100%; object-fit: cover; }
.design__img--phone img { object-position: center 42%; }
.design__name { display: block; font-size: .9rem; font-weight: 500; margin: 8px 4px 0; line-height: 1.4; }
.design__new { display: flex; align-items: center; justify-content: center; text-align: center; aspect-ratio: 4 / 3; border-radius: 4px; border: 1px dashed #b9b0a0; color: var(--muted); font-size: .88rem; padding: 10px; line-height: 1.5; }
.designs__empty { color: var(--muted); font-size: .95rem; }

/* الإضافات */
.adds { display: grid; gap: 8px; }
.add .opt__box { display: flex; align-items: center; gap: 14px; padding: 13px 16px; }
.add__tick { flex: none; width: 20px; height: 20px; border: 1.5px solid #a79e8d; border-radius: 4px; display: grid; place-items: center; }
.add__tick::after { content: ""; width: 10px; height: 6px; border: 2px solid #fff; border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px, -1px); opacity: 0; }
.add input:checked + .opt__box .add__tick { background: var(--green); border-color: var(--green); }
.add input:checked + .opt__box .add__tick::after { opacity: 1; }
.add__name { flex: 1; }
.add__price { color: var(--muted); font-size: .92rem; white-space: nowrap; }

/* حقول */
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .9rem; font-weight: 500; }
.field label small { color: var(--muted); font-weight: 400; }
.field input, .field textarea {
  width: 100%; padding: 12px 14px; min-height: 48px;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r);
  font-size: 1rem;
}
.field textarea { resize: vertical; min-height: 110px; line-height: 1.7; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 1px var(--green); }
.field input[aria-invalid="true"] { border-color: var(--red); box-shadow: 0 0 0 1px var(--red); }
.field__err { color: var(--red); font-size: .85rem; }

/* الدفع في الطلب */
.paymethods { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.paymethods .opt__box { padding: 14px 16px; }
.paymethods .opt__name { font-family: var(--f-body); font-size: 1rem; font-weight: 600; }
.plans-pay { display: grid; gap: 8px; margin-top: 18px; }
.plans-pay .opt__box { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 13px 16px; }
.plans-pay b { font-weight: 600; white-space: nowrap; }

/* الملخص */
.summary {
  position: sticky; top: 88px;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r);
  padding: 24px;
}
.summary h2 { font-size: 1.5rem; }
.summary__code { color: var(--muted); font-size: .85rem; margin-top: 2px; }
#code { direction: ltr; unicode-bidi: isolate; }
.summary__rows { margin-top: 16px; border-top: 1px solid var(--line); }
.row { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .93rem; }
.row span { color: #4a463f; }
.row b { font-weight: 500; white-space: nowrap; }
.row--total { border-bottom: 0; padding-top: 14px; }
.row--total span { color: var(--ink); font-weight: 600; }
.row--total b { font-size: 1.4rem; font-weight: 600; }
.row--now { background: var(--bg); margin: 4px -12px 0; padding: 10px 12px; border-radius: 4px; border: 0; }
.row--now b { color: var(--green); font-weight: 600; }
.summary__empty { color: var(--muted); font-size: .93rem; padding: 14px 0; border-bottom: 1px solid var(--line); }
.summary .btn { width: 100%; margin-top: 18px; }
.summary__fine { margin-top: 12px; color: var(--muted); font-size: .84rem; line-height: 1.7; }
.summary__copy { background: none; border: 0; padding: 0; color: var(--green); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; font-size: .84rem; }
.form-err { margin-top: 12px; color: var(--red); font-size: .9rem; }

.field select {
  width: 100%; min-height: 48px; padding: 10px 12px;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); font-size: 1rem;
}
.field select:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 1px var(--green); }
.field__hint { color: var(--muted); font-size: .84rem; line-height: 1.6; }
.field__hint:empty { display: none; }
.field__hint.is-good { color: var(--green); font-weight: 500; }
.field__hint.is-bad { color: var(--red); }
.row--off b { color: var(--green); }
.summary__share {
  display: block; margin-top: 14px; padding: 10px 12px; text-align: center;
  border: 1px dashed #b9b0a0; border-radius: var(--r); color: var(--ink); text-decoration: none; font-size: .9rem;
}
.summary__share:hover { border-color: var(--green); color: var(--green); }

/* بعد الإرسال: بيانات التحويل */
.sent { margin-top: 20px; padding-top: 20px; border-top: 1px dashed #b9b0a0; }
.sent h3 { font-family: var(--f-body); font-size: 1.02rem; font-weight: 600; }
.sent > p { margin-top: 6px; font-size: .9rem; color: #4a463f; }
.sent__box { margin-top: 14px; background: var(--bg); border-radius: var(--r); padding: 14px; }
.sent__method { font-weight: 600; font-size: .95rem; }
.sent__field { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 10px; }
.sent__field small { display: block; color: var(--muted); font-size: .78rem; }
.sent__field code { font-family: var(--f-body); font-size: .98rem; font-weight: 500; direction: ltr; unicode-bidi: embed; word-break: break-all; }
.copy {
  flex: none; background: var(--paper); border: 1px solid var(--line); border-radius: 4px;
  padding: 5px 10px; font-size: .8rem; cursor: pointer;
}
.copy:hover { border-color: #b9b0a0; }
.sent__ref { margin-top: 12px; font-size: .88rem; color: #4a463f; }
.sent__ref b { direction: ltr; unicode-bidi: isolate; }
.sent .btn { margin-top: 14px; }

/* شريط الموبايل في صفحة الطلب */
.mbar { display: none; }

/* ============================================================
   الموبايل والتابلت
   ============================================================ */
@media (max-width: 1000px) {
  .hero__in, .sec__head, .pick, .pay, .faq { grid-template-columns: 1fr; gap: 28px; }
  .answer { grid-column: 1; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero__art { max-width: 680px; }
  .order__grid { grid-template-columns: 1fr; }
  .summary { position: static; }
  .designs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav { display: none; }
  .top .btn { margin-inline-start: auto; }
  .hero { padding: 32px 0 48px; }
  .hero h1 { font-size: 2.45rem; }
  .facts { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
  .facts dd { font-size: .9rem; }
  .hero__phone { left: 10px; bottom: 10px; width: 25%; padding: 4px; border-radius: 18px; }
  .hero__phone img { border-radius: 14px; }
  .hero__big figcaption { padding-inline-end: 0; }
  .sec { padding: 64px 0; }
  .grid { grid-template-columns: 1fr; gap: 40px; }
  .grid.is-clipped .is-extra { display: none; }
  .grid.is-clipped ~ .more { display: flex; }
  .plans { grid-template-columns: 1fr; }
  .plan__line { min-height: 0; }
  .plan, .plan:first-child, .plan:last-child { border-inline-start: 0; border-bottom: 1px solid var(--line); padding: 26px 0 30px; }
  .plan:last-child { border-bottom: 0; }
  .steps { grid-template-columns: 1fr; gap: 20px; }
  .steps li { position: relative; padding: 12px 36px 0 0; }
  .steps li::before { position: absolute; top: 12px; right: 0; margin: 0; }
  .methods li { grid-template-columns: 1fr; gap: 2px; }
  .answer { padding: 22px 18px; }
  .answer__eg { grid-template-columns: 1fr; }
  .foot__in { grid-template-columns: 1fr 1fr; }
  .foot__in > div:first-child { grid-column: 1 / -1; }
  .wa-float { width: 50px; height: 50px; left: 14px; bottom: 14px; }

  .order { padding: 28px 0 120px; }
  .cats { grid-template-columns: 1fr; }
  .designs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fields, .paymethods { grid-template-columns: 1fr; }
  .mbar {
    display: flex; align-items: center; gap: 14px;
    position: fixed; inset: auto 0 0 0; z-index: 30;
    padding: 12px var(--gut) calc(12px + env(safe-area-inset-bottom));
    background: var(--paper); border-top: 1px solid var(--line);
  }
  .mbar div { flex: 1; line-height: 1.3; }
  .mbar small { display: block; color: var(--muted); font-size: .78rem; }
  .mbar b { font-size: 1.15rem; font-weight: 600; }
  .mbar .btn { min-height: 44px; }
}

/* ============================================================
   الإضافات: عرض الدعوة، أساميكم على الدعوة، جدول الردود
   ============================================================ */
html.is-locked { overflow: hidden; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.link--muted { color: var(--muted); }
button.link { background: none; border: 0; padding: 0; cursor: pointer; }

/* ---------- الموبايل اللي بيقلب في أول الصفحة ---------- */
.hero__phone { display: grid; border: 0; cursor: pointer; transition: transform .3s ease; }
.hero__phone:hover { transform: translateY(-3px); }
.hero__phone img { grid-area: 1 / 1; opacity: 0; transition: opacity .9s ease; }
.hero__phone img.is-on { opacity: 1; }
.hero__now { position: absolute; left: -28px; bottom: -30px; font-size: .8rem; color: var(--muted); white-space: nowrap; }

/* ---------- أساميكم على الدعوة ---------- */
.try__in { display: grid; grid-template-columns: 7fr 5fr; gap: 56px; align-items: center; }
.try__lead { margin-top: 12px; color: var(--muted); max-width: 36em; }
.tryf { margin-top: 28px; display: grid; gap: 16px; max-width: 580px; }
.tryf__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tf { display: flex; flex-direction: column; gap: 6px; }
.tf > span { font-size: .88rem; font-weight: 500; }
.tf input {
  width: 100%; min-height: 46px; padding: 10px 12px;
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--r); font-size: 1rem;
}
.tf input:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 1px var(--green); }
.chips { border: 0; padding: 0; margin: 4px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips legend { font-size: .88rem; font-weight: 500; margin-bottom: 8px; padding: 0; width: 100%; }
.chips label { position: relative; cursor: pointer; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span {
  display: inline-block; padding: 7px 15px;
  border: 1px solid var(--line); border-radius: var(--r); background: var(--bg); font-size: .93rem;
  transition: border-color .15s, background .15s;
}
.chips label:hover span { border-color: #b9b0a0; }
.chips input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.chips input:focus-visible + span { outline: 2px solid var(--green); outline-offset: 2px; }
.try__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 30px; }
.try__stage { display: flex; flex-direction: column; align-items: center; }
.try__phone { width: min(330px, 100%); }
.try__note { margin-top: 12px; color: var(--muted); font-size: .82rem; }

/* الدعوة نفسها: المقاسات بتتحسب من عرض الموبايل (cqi) */
.inv {
  position: relative; display: flex; align-items: center; justify-content: center;
  aspect-ratio: 390 / 844; overflow: hidden; border-radius: 24px;
  container-type: inline-size; text-align: center; line-height: 1.6;
}
.inv.is-new { animation: invIn .5s ease; }
@keyframes invIn { from { opacity: 0; transform: scale(.98); } to { opacity: 1; transform: none; } }
.inv .is-empty { opacity: .4; }
.inv__body { position: relative; z-index: 1; width: 100%; padding: 0 10cqi; }
.inv__pre { font-family: var(--f-head); font-size: 14px; font-size: 4cqi; line-height: 1.9; }
.inv__mid { font-size: 13px; font-size: 3.8cqi; margin-top: 4cqi; line-height: 1.7; }
.inv__names {
  display: flex; flex-direction: column; align-items: center;
  font-family: "Aref Ruqaa", var(--f-head); font-size: 40px; font-size: 12.5cqi; line-height: 1.2; margin: 3cqi 0;
  overflow-wrap: anywhere;
}
.inv__names i { font-style: normal; font-size: .45em; line-height: 1.1; }
.inv__post { font-size: 13px; font-size: 3.8cqi; }
.inv__date { display: flex; align-items: center; justify-content: center; gap: 3.5cqi; margin-top: 6cqi; font-size: 13px; font-size: 3.7cqi; }
.inv__date span { min-width: 23cqi; padding: 1.4cqi 0; border-block: 1px solid currentColor; white-space: nowrap; }
.inv__date b { font-family: var(--f-head); font-weight: 400; font-size: 36px; font-size: 11cqi; line-height: 1; }
.inv__time { font-size: 12px; font-size: 3.5cqi; margin-top: 3cqi; }
.inv__venue { font-size: 14px; font-size: 4.2cqi; font-weight: 500; margin-top: 1cqi; }

/* ورد */
.inv--rose { background: #fdf8f3; color: #735d54; }
.inv--rose::before {
  content: ""; position: absolute; inset: 8cqi 6.5cqi;
  border: 1px solid #e8c6bd; border-radius: 45cqi 45cqi 3cqi 3cqi;
}
.inv__corner { position: absolute; width: 66cqi; height: 66cqi; pointer-events: none; }
.inv__corner--tr { top: -9cqi; right: -10cqi; transform: rotate(90deg); }
.inv__corner--bl { bottom: -9cqi; left: -10cqi; transform: rotate(-90deg); }
.inv--rose .inv__pre { color: #9c837a; }
.inv--rose .inv__names { color: #c2665b; }
.inv--rose .inv__date span { border-color: #e6c0b6; }

/* ليلة ذهبي */
.inv--night { background: radial-gradient(130% 75% at 50% 0%, #29345f 0%, #161c3b 55%, #0d1128 100%); color: #ebe4d2; }
.inv__stars {
  position: absolute; inset: 0; opacity: .85;
  background-image:
    radial-gradient(circle at 12% 14%, #fff 0 1px, transparent 1.6px),
    radial-gradient(circle at 26% 7%, #fff 0 .8px, transparent 1.4px),
    radial-gradient(circle at 78% 11%, #fff 0 1px, transparent 1.6px),
    radial-gradient(circle at 88% 24%, #fff 0 .8px, transparent 1.4px),
    radial-gradient(circle at 64% 5%, #fff 0 .7px, transparent 1.3px),
    radial-gradient(circle at 7% 38%, #fff 0 .7px, transparent 1.3px),
    radial-gradient(circle at 93% 52%, #fff 0 .9px, transparent 1.5px),
    radial-gradient(circle at 5% 70%, #fff 0 .8px, transparent 1.4px),
    radial-gradient(circle at 90% 82%, #fff 0 .7px, transparent 1.3px),
    radial-gradient(circle at 18% 92%, #fff 0 .9px, transparent 1.5px),
    radial-gradient(circle at 70% 95%, #fff 0 .7px, transparent 1.3px),
    radial-gradient(circle at 40% 3%, #fff 0 .8px, transparent 1.4px);
}
.inv__moon { position: absolute; z-index: 2; top: 8.5cqi; left: 50%; width: 11cqi; height: 11cqi; color: #dcb66e; transform: translateX(-50%) rotate(-25deg); }
.inv__frame { position: absolute; inset: 6cqi; display: flex; align-items: center; border: 1px solid rgba(220, 182, 110, .55); }
.inv__frame::before { content: ""; position: absolute; inset: 1.6cqi; border: 1px solid rgba(220, 182, 110, .25); }
.inv--night .inv__body { padding: 0 6cqi; }
.inv--night .inv__pre { color: #cdc3aa; }
.inv--night .inv__names { color: #e4c07a; }
.inv--night .inv__date span { border-color: rgba(220, 182, 110, .5); }

/* تذكرة سفر */
.inv--ticket {
  flex-direction: column;
  background: linear-gradient(180deg, #dce8e4 0%, #edf3ef 55%, #e2ebe6 100%); color: #22342c;
}
.tk__pre { width: 82%; font-family: var(--f-head); font-size: 12px; font-size: 3.6cqi; line-height: 1.8; color: #4d6258; margin-bottom: 5cqi; }
.tk { position: relative; width: 86%; background: #fbf7ec; border-radius: 4cqi; box-shadow: 0 3cqi 9cqi -4cqi rgba(20, 45, 32, .38); overflow: hidden; }
.tk__head { display: flex; justify-content: space-between; align-items: center; padding: 3cqi 5cqi; background: #1f4d3c; color: #f3e8cc; font-size: 11px; font-size: 3.2cqi; }
.tk__route { display: flex; align-items: center; justify-content: space-between; padding: 5cqi 8cqi 1cqi; }
.tk__route div { display: flex; flex-direction: column; align-items: center; }
.tk__route b { font-size: 30px; font-size: 9cqi; font-weight: 600; line-height: 1.1; color: #1f4d3c; }
.tk__route small { font-size: 10px; font-size: 3cqi; color: #6d7d73; }
.tk__plane { width: 8cqi; height: 8cqi; color: #b8924f; transform: rotate(-90deg); }
.inv--ticket .inv__mid { font-size: 11px; font-size: 3.3cqi; margin-top: 2cqi; padding: 0 5cqi; color: #56675e; }
.inv--ticket .inv__names { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 0 2.2cqi; font-size: 32px; font-size: 9.5cqi; margin: 1cqi 0 3cqi; color: #1f4d3c; }
.inv--ticket .inv__names i { align-self: center; font-size: .6em; }
.tk__grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3cqi 2cqi;
  margin: 0 5cqi; padding: 3.5cqi 0 4cqi; border-top: 1px solid #e3d8bf; text-align: start;
}
.tk__grid small { display: block; font-size: 9px; font-size: 2.7cqi; color: #86938b; }
.tk__grid b { display: block; font-size: 12px; font-size: 3.5cqi; font-weight: 600; line-height: 1.35; overflow-wrap: anywhere; }
.tk__wide { grid-column: span 2; }
.tk__cut { position: relative; margin: 0 5cqi; border-top: 1.5px dashed #cfc2a2; }
.tk__cut::before, .tk__cut::after { content: ""; position: absolute; top: -3.6cqi; width: 7cqi; height: 7cqi; border-radius: 50%; background: #e9f0ec; }
.tk__cut::before { right: -8.6cqi; }
.tk__cut::after { left: -8.6cqi; }
.tk__foot { display: flex; align-items: center; justify-content: space-between; gap: 4cqi; padding: 4cqi 5cqi 4.5cqi; }
.tk__bars {
  flex: 1; max-width: 46cqi; height: 9cqi; opacity: .85;
  background: repeating-linear-gradient(90deg, #22342c 0 1px, transparent 1px 3px, #22342c 3px 5px, transparent 5px 6px, #22342c 6px 7px, transparent 7px 10px);
}
.tk__foot small { font-size: 11px; font-size: 3.2cqi; color: #56675e; }

/* ---------- جدول الردود ---------- */
.rsvp { display: grid; grid-template-columns: 5fr 7fr; gap: 56px; align-items: center; }
.rsvp__lead { margin-top: 14px; color: #4a463f; }
.ticks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.ticks li { position: relative; padding-inline-start: 28px; font-size: .95rem; color: #4a463f; }
.ticks li::before {
  content: ""; position: absolute; right: 2px; top: .5em; width: 12px; height: 7px;
  border: 2px solid var(--green); border-top: 0; border-right: 0; transform: rotate(-45deg);
}
.sheet { margin: 0; background: var(--paper); border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 24px 50px -30px rgba(40, 30, 15, .35); overflow: hidden; }
.sheet__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.sheet__top b { font-weight: 600; font-size: .98rem; }
.sheet__xl { flex: none; padding: 3px 10px; border: 1px solid #b9d7c3; border-radius: 4px; background: #eef7f1; color: #1d6b3f; font-size: .8rem; }
.sheet__stats { display: grid; grid-template-columns: repeat(3, 1fr); padding: 16px 18px 10px; }
.sheet__stats b { display: block; font-size: 1.6rem; font-weight: 600; line-height: 1.15; }
.sheet__stats small { color: var(--muted); font-size: .82rem; }
.sheet__stats div:nth-child(1) b { color: var(--green); }
.sheet__stats div:nth-child(2) b { color: #a3412c; }
.sheet__stats div:nth-child(3) b { color: var(--muted); }
.sheet__bar { display: flex; height: 6px; margin: 0 18px 16px; background: var(--soft); border-radius: 3px; overflow: hidden; }
.sheet__bar .is-yes { background: var(--green); }
.sheet__bar .is-no { background: #c98b7a; }
.sheet__scroll { overflow-x: auto; }
.sheet table { width: 100%; border-collapse: collapse; font-size: .88rem; }
.sheet th { padding: 8px 14px; background: var(--bg); border-block: 1px solid var(--line); color: var(--muted); font-weight: 500; text-align: start; white-space: nowrap; }
.sheet td { padding: 10px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.sheet td:first-child { font-weight: 500; white-space: nowrap; }
.sheet td:nth-child(2) { text-align: center; }
.sheet td:last-child { color: #4a463f; min-width: 180px; }
.tag { display: inline-block; padding: 1px 8px; border-radius: 3px; font-size: .78rem; white-space: nowrap; }
.tag--yes { background: #e5f0e9; color: #1f6b43; }
.tag--no { background: #f6e5e0; color: #a3412c; }
.sheet figcaption { padding: 10px 18px 14px; color: var(--muted); font-size: .8rem; }

/* ---------- الطلب والدفع ---------- */
.pay { grid-template-columns: 7fr 5fr; align-items: start; }
.pay .steps { display: block; margin-top: 26px; }
.pay .steps li { position: relative; padding: 14px 44px 14px 0; border-top: 1px solid var(--line); }
.pay .steps li:first-child { border-top-color: var(--ink); }
.pay .steps li::before { position: absolute; right: 0; top: 13px; margin: 0; }
.pay__box { background: var(--bg); border: 1px solid var(--line); border-radius: var(--r); padding: 26px 28px 22px; }
.pay__box h3 { font-family: var(--f-body); font-size: 1.05rem; font-weight: 600; }
.pay__box .methods { margin-top: 12px; border-top: 1px solid var(--line); }
.pay__box .methods li { grid-template-columns: 120px 1fr; gap: 14px; padding: 12px 0; }
.pay__box .pay__lead { font-size: 1rem; margin-top: 18px; }
.pay__box .pay__rules { font-size: .9rem; margin-top: 14px; }

/* ---------- عرض الدعوة جوه الموقع ---------- */
.viewer {
  --s: .8;
  position: fixed; inset: 0; z-index: 100; display: flex;
  background: rgba(24, 21, 17, .8); backdrop-filter: blur(6px);
}
.viewer[hidden] { display: none; }
.viewer__bar { display: none; }
.viewer__in { position: relative; display: flex; align-items: center; gap: 52px; margin: auto; padding: 28px; }
.viewer__screen {
  position: relative; flex: none;
  width: calc(406px * var(--s)); height: calc(860px * var(--s));
  background: #111; border-radius: calc(48px * var(--s));
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .6), inset 0 0 0 1px #2c2c2c;
}
.viewer__device {
  position: absolute; top: calc(8px * var(--s)); left: calc(8px * var(--s));
  width: 390px; height: 844px; transform: scale(var(--s)); transform-origin: 0 0;
  border-radius: 40px; overflow: hidden; background: #fff;
}
.viewer__device iframe { display: block; width: 100%; height: 100%; border: 0; }
.viewer__load {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  background: var(--bg); color: var(--muted); font-size: 16px;
}
.viewer__load[hidden] { display: none; }
.viewer__load span { width: 30px; height: 30px; border: 2px solid var(--line); border-top-color: var(--green); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.viewer__side { width: 320px; color: #f3efe6; }
.viewer__cat, .viewer__couple { color: #c9c2b3; font-size: .88rem; }
.viewer__side h2 { font-size: 2.5rem; margin-top: 2px; }
.viewer__line { margin-top: 14px; color: #e6e0d4; }
.viewer__tip { margin-top: 16px; padding-inline-start: 12px; border-inline-start: 2px solid #6f8c7f; color: #aaa394; font-size: .86rem; }
.viewer__cta { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; margin-top: 26px; }
.viewer .btn { background: #f3efe6; color: var(--green-dark); border-color: #f3efe6; }
.viewer .btn:hover { background: #fff; }
.viewer .link { color: #f3efe6; }
.viewer .link--muted { color: #b8b1a2; }
.viewer__nav {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-top: 34px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .14);
  color: #aaa394; font-size: .88rem;
}
.viewer__nav button { background: none; border: 0; padding: 6px 0; color: #f3efe6; cursor: pointer; font-size: .92rem; }
.viewer__nav button:hover { text-decoration: underline; text-underline-offset: 4px; }
.viewer__close {
  position: fixed; top: 18px; left: 18px; width: 46px; height: 46px; border: 0; border-radius: 50%;
  display: grid; place-items: center; background: rgba(255, 255, 255, .12); color: #fff; cursor: pointer;
}
.viewer__close:hover { background: rgba(255, 255, 255, .22); }

@media (max-width: 1000px) {
  .try__in, .rsvp { grid-template-columns: 1fr; gap: 36px; }
  .pay { grid-template-columns: 1fr; }
  .viewer__in { gap: 32px; }
  .viewer__side { width: 250px; }
  .viewer__side h2 { font-size: 1.9rem; }
}

@media (max-width: 760px) {
  .hero__now { left: 10px; bottom: -22px; font-size: .75rem; }
  /* على الموبايل: العنوان، بعده الموبايل، بعده الخانات */
  .try__in { gap: 0; }
  .try__side { display: contents; }
  .try__side h2 { order: 1; }
  .try__lead { order: 2; }
  .try__stage { order: 3; margin-top: 24px; }
  .tryf { order: 4; }
  .try__cta { order: 5; }
  .try__more { order: 6; }
  .try__phone { width: min(250px, 72%); }
  .sheet th:last-child, .sheet td:last-child { display: none; }
  .tryf__row { grid-template-columns: 1fr 1fr; gap: 10px; }
  .pay__box { padding: 22px 18px 18px; }
  .pay__box .methods li { grid-template-columns: 1fr; gap: 2px; }
  .sheet__stats b { font-size: 1.35rem; }

  .viewer { flex-direction: column; background: #111; backdrop-filter: none; }
  .viewer__bar {
    display: flex; flex: none; align-items: center; gap: 10px; height: 56px; padding: 0 10px 0 12px;
    background: var(--paper); border-bottom: 1px solid var(--line);
  }
  .viewer__x { display: grid; place-items: center; width: 40px; height: 40px; border: 0; background: none; color: var(--ink); cursor: pointer; }
  .viewer__barTitle { flex: 1; overflow: hidden; font-family: var(--f-head); font-size: 1.25rem; white-space: nowrap; text-overflow: ellipsis; }
  .viewer .viewer__bar .btn { background: var(--green); border-color: var(--green); color: #fff; }
  .viewer__in { display: block; flex: 1; min-height: 0; margin: 0; padding: 0; }
  .viewer__screen { width: 100%; height: 100%; border-radius: 0; box-shadow: none; }
  .viewer__device { inset: 0; width: 100%; height: 100%; transform: none; border-radius: 0; }
  .viewer__side, .viewer__close { display: none; }
}

/* ============================================================
   أرقام الدفع، رسايل الإرسال، و«كلّمونا»
   ============================================================ */
.code { direction: ltr; unicode-bidi: isolate; }
/* خانة مخفية للروبوتات (من غير left سالب عشان الصفحة RTL ماتوسعش) */
.hp { position: absolute; width: 1px; height: 1px; margin: 0; padding: 0; border: 0; overflow: hidden; clip-path: inset(50%); opacity: 0; pointer-events: none; }

/* كروت فودافون كاش وإنستاباي */
.pcards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.pcards--one { grid-template-columns: 1fr; margin-top: 12px; }
.pcard {
  background: var(--paper); border: 1px solid var(--line); border-top: 3px solid var(--line);
  border-radius: var(--r); padding: 14px 16px 14px;
}
.pcard--vodafone { border-top-color: #e60000; }
.pcard--instapay { border-top-color: #5b2d8e; }
.pcard__name { font-weight: 600; }
.pcard__main { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 6px; }
.pcard__main small { display: block; color: var(--muted); font-size: .78rem; }
.pcard__main code {
  display: block; font-family: var(--f-body); font-size: 1.35rem; font-weight: 600; line-height: 1.3;
  direction: ltr; unicode-bidi: isolate; text-align: right; letter-spacing: .02em; word-break: break-all;
}
.pcard__more { margin-top: 6px; font-size: .88rem; color: #4a463f; }
.pcard__more small { color: var(--muted); font-size: .82rem; }
.pcard__link { display: inline-block; margin-top: 8px; font-size: .9rem; }
.pcard__note { margin-top: 8px; color: var(--muted); font-size: .8rem; line-height: 1.6; }
.copy--sm { padding: 2px 8px; font-size: .74rem; }
.paychips { margin-top: 20px; }
.paychips legend { font-size: .95rem; font-weight: 600; }
.summary .pcard { background: var(--bg); }

/* زرار الإرسال والواتساب في الملخص */
.summary button.btn { width: 100%; margin-top: 18px; }
.summary .btn[disabled] { opacity: .75; cursor: default; }
.summary__wa { display: block; margin-top: 10px; text-align: center; color: #1b7a44; font-size: .9rem; font-weight: 500; }
.summary__help { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); color: var(--muted); font-size: .86rem; }
.summary__help a { color: #1b7a44; font-weight: 500; }
.btn--wa { background: #1f8f4e; border-color: #1f8f4e; color: #fff; }
.btn--wa:hover { background: #197a42; }
.sent .btn--wa { width: 100%; margin: 0 0 6px; }
.sent__title { margin-top: 18px; }

.notice { display: flex; align-items: flex-start; gap: 12px; padding: 14px; border-radius: var(--r); margin-bottom: 12px; }
.notice h3 { margin: 0; font-family: var(--f-body); font-size: 1rem; font-weight: 600; color: inherit; }
.notice p { margin-top: 2px; font-size: .88rem; line-height: 1.65; color: inherit; }
.notice a { color: inherit; font-weight: 600; }
.notice--ok { background: #e6f1e9; color: #1d5638; }
.notice--bad { background: #f8e7e2; color: #8a3522; }
.notice__ico { flex: none; position: relative; width: 26px; height: 26px; margin-top: 1px; border-radius: 50%; background: currentColor; }
.notice--ok .notice__ico::after {
  content: ""; position: absolute; left: 8px; top: 8px; width: 10px; height: 5px;
  border: 2px solid #fff; border-top: 0; border-right: 0; transform: rotate(-45deg);
}
.notice--bad .notice__ico::after {
  content: "!"; position: absolute; inset: 0; display: grid; place-items: center;
  color: #fff; font-weight: 700; font-size: .95rem; line-height: 1;
}

/* «كلّمونا» */
.contact { display: grid; grid-template-columns: 6fr 5fr; gap: 56px; align-items: center; }
.contact__text > p { max-width: 36em; }
.ways { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.way {
  display: flex; align-items: center; gap: 12px; min-width: 220px; padding: 12px 16px;
  border: 1px solid rgba(243, 239, 230, .28); border-radius: var(--r); color: #f3efe6; text-decoration: none;
  transition: background .15s;
}
.way:hover { background: rgba(255, 255, 255, .07); }
.way__ico { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #1f8f4e; color: #fff; }
.way--call .way__ico { background: #f3efe6; color: var(--green-dark); }
.way b { display: block; font-weight: 600; }
.way small { display: block; color: #c9d3cc; font-size: .92rem; direction: ltr; unicode-bidi: isolate; text-align: right; }
.end .contact__note { margin-top: 18px; font-size: .9rem; color: #c9d3cc; }
.contact__text .btn { margin-top: 22px; }

.cform { display: grid; gap: 14px; padding: 26px; background: var(--paper); color: var(--ink); border-radius: 10px; }
.cform h3 { font-size: 1.5rem; }
.cform textarea {
  width: 100%; min-height: 110px; padding: 10px 12px; resize: vertical; line-height: 1.7;
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--r); font-size: 1rem;
}
.cform textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 1px var(--green); }
.end .cform .btn { justify-self: start; background: var(--green); border-color: var(--green); color: #fff; }
.end .cform .btn:hover { background: var(--green-dark); }
.end .cform__msg { margin: 0; color: var(--muted); font-size: .9rem; }
.end .cform__msg:empty { display: none; }
.end .cform__msg.is-ok { color: var(--green); font-weight: 500; }
.end .cform__msg.is-bad { color: var(--red); }
.end .cform__msg a { color: #1b7a44; font-weight: 600; }

@media (max-width: 1000px) {
  .contact { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 760px) {
  .pcards { grid-template-columns: 1fr; }
  .ways li { flex: 1 1 100%; }
  .way { width: 100%; }
  .cform { padding: 20px 16px; }
}

/* ============================================================
   متابعة الطلب
   ============================================================ */
.track__grid { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 40px; align-items: start; }
.tform {
  position: sticky; top: 88px; display: grid; gap: 14px; padding: 22px;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r);
}
.tform .btn { width: 100%; }
.tmine p { color: var(--muted); font-size: .86rem; }
.tmine__list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.tmine__btn {
  padding: 5px 12px; direction: ltr; cursor: pointer;
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--r); font: inherit;
}
.tmine__btn:hover { border-color: var(--green); color: var(--green); }

.tres { padding: 24px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); }
.tres__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.tres__code { font-family: var(--f-head); font-size: 1.8rem; font-weight: 700; line-height: 1.3; }
.tres__date { color: var(--muted); font-size: .85rem; }
.badge { padding: 4px 12px; border-radius: 20px; background: #e5f0e9; color: #1f6b43; font-size: .88rem; font-weight: 600; white-space: nowrap; }
.badge--off { background: #eeeae3; color: #6b665d; }
.tres__now { margin-top: 12px; font-size: 1.05rem; }

/* خط سير الطلب */
.tsteps { list-style: none; margin: 24px 0 6px; padding: 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.tsteps li { position: relative; padding-top: 24px; color: var(--muted); font-size: .78rem; line-height: 1.4; text-align: center; }
.tsteps li::before { content: ""; position: absolute; top: 9px; right: 50%; width: calc(100% + 4px); height: 2px; background: var(--line); }
.tsteps li:last-child::before { display: none; }
.tsteps li span {
  position: absolute; z-index: 1; top: 4px; right: 50%; transform: translateX(50%);
  width: 12px; height: 12px; border-radius: 50%; background: var(--line);
}
.tsteps li.is-done { color: var(--ink); }
.tsteps li.is-done span, .tsteps li.is-done::before { background: var(--green); }
.tsteps li.is-now { color: var(--green); font-weight: 600; }
.tsteps li.is-now span { top: 2px; width: 16px; height: 16px; background: var(--paper); box-shadow: inset 0 0 0 3px var(--green); }

.tres__rows { margin: 20px 0 0; border-top: 1px solid var(--line); }
.tres__rows div { display: grid; grid-template-columns: 120px 1fr; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.tres__rows dt { color: var(--muted); }
.tres__rows dd { margin: 0; }
.tres__money { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 18px; }
.tres__money div { padding: 12px 14px; background: var(--bg); border-radius: var(--r); }
.tres__money small { display: block; color: var(--muted); font-size: .8rem; }
.tres__money b { font-size: 1.15rem; font-weight: 600; }
.tres__fine { margin-top: 8px; color: var(--muted); font-size: .85rem; }
.tres .pcards { margin-top: 10px; }

/* لينك الدعوة + QR + كود الترشيح (صفحة المتابعة) */
.invlink, .refcard { display: grid; gap: 10px; margin-top: 18px; padding: 18px; background: var(--bg); border-radius: var(--r); }
.invlink__title, .refcard__title { font-weight: 600; }
.invlink__btns { display: flex; flex-wrap: wrap; gap: 10px; }
.invlink__qr { display: grid; justify-items: start; gap: 8px; }
.invlink__qr img { width: 180px; height: 180px; border-radius: 8px; background: #fff; }
.invlink__qr small, .refcard small { color: var(--muted); font-size: .85rem; }
.refcard__code { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.refcard__code b { font-size: 1.2rem; letter-spacing: .06em; }

/* الدفع أونلاين */
.paynow { display: grid; gap: 8px; margin-top: 18px; padding: 18px; background: var(--bg); border-radius: var(--r); }
.paynow__title { font-weight: 600; }
.paynow__btns { display: flex; flex-wrap: wrap; gap: 10px; }
.paynow small { color: var(--muted); font-size: .85rem; }
.paynow__msg { color: var(--red); font-size: .9rem; }
.paynow__msg:empty { display: none; }
.paybanner { margin: 0 0 14px; padding: 12px 16px; border-radius: var(--r); background: var(--bg); color: var(--green); font-weight: 500; }
.paybanner.is-bad { color: var(--red); }

/* رفع سكرين التحويل */
.upload { display: grid; gap: 12px; margin-top: 18px; padding: 18px; border: 1.5px dashed #b9b0a0; border-radius: var(--r); }
.upload__title { font-weight: 600; }
.upload__had { color: var(--green); font-size: .88rem; }
.upload__pick {
  position: relative; display: flex; align-items: center; justify-content: center; min-height: 52px; padding: 10px;
  overflow: hidden; background: var(--bg); border-radius: var(--r); color: var(--muted); text-align: center; cursor: pointer;
}
.upload__pick:hover { color: var(--ink); }
.upload__pick input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.upload .btn { justify-self: start; }
.upload__msg:empty { display: none; }
.upload__msg.is-ok { color: var(--green); font-weight: 500; }
.upload__msg.is-bad { color: var(--red); }

@media (max-width: 1000px) {
  .track__grid { grid-template-columns: 1fr; gap: 24px; }
  .tform { position: static; }
}
@media (max-width: 760px) {
  .tres { padding: 18px 16px; }
  .tsteps { grid-template-columns: 1fr; gap: 0; }
  .tsteps li { padding: 0 28px 14px 0; text-align: start; font-size: .9rem; }
  .tsteps li span { top: 4px; right: 0; transform: none; }
  .tsteps li.is-now span { top: 2px; right: -2px; }
  .tsteps li::before { top: 12px; right: 5px; width: 2px; height: 100%; }
  .tres__rows div { grid-template-columns: 100px 1fr; }
  .tres__money { gap: 6px; }
  .tres__money div { padding: 10px; }
  .tres__money b { font-size: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
  .inv.is-new { animation: none; }
}

/* ============================================================
   اللغتين: الإنجليزي (الأساسي، من الشمال لليمين) والعربي
   ============================================================ */
/* العربي بيستخبى لحظة لحد ما الكلام يتبدّل (ولو الـ JS وقع بيظهر بعد ثانية ونص) */
html.i18n-wait body { visibility: hidden; animation: i18nShow 0s 1.5s forwards; }
@keyframes i18nShow { to { visibility: visible; } }

html[lang="en"] {
  --f-body: "IBM Plex Sans", "IBM Plex Sans Arabic", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-head: "Cormorant Garamond", "Amiri", Georgia, serif;
}
html[lang="en"] h1, html[lang="en"] h2, html[lang="en"] h3 { font-weight: 600; letter-spacing: -.005em; line-height: 1.15; }
html[lang="en"] .hero h1 { font-size: clamp(2.7rem, 5.6vw, 4.5rem); }
html[lang="en"] .sec h2 { font-size: clamp(2.2rem, 3.9vw, 3.05rem); }
html[lang="en"] .card h3 { font-size: 1.65rem; }
html[lang="en"] .logo, html[lang="en"] .foot__brand { font-weight: 600; }
html[lang="en"] body { line-height: 1.65; }

/* زرار اللغة */
.langsw {
  flex: none; padding: 6px 12px; min-height: 36px; cursor: pointer; white-space: nowrap;
  background: none; border: 1px solid var(--line); border-radius: var(--r); color: var(--ink); font-size: .88rem;
}
.langsw:hover { border-color: #b9b0a0; background: var(--paper); }
.langsw:lang(ar) { font-family: "IBM Plex Sans Arabic", sans-serif; }
.langsw:lang(en) { font-family: "IBM Plex Sans", sans-serif; }

/* الحاجات اللي مكانها بالشمال واليمين (مش بـ start/end) بتتقلب في الإنجليزي */
[dir="ltr"] .hero__phone { left: auto; right: -28px; }
[dir="ltr"] .hero__now { left: auto; right: -28px; }
[dir="ltr"] .pay__rules { padding: 0 0 0 1.1em; }
[dir="ltr"] .pay .steps li { padding: 14px 0 14px 44px; }
[dir="ltr"] .pay .steps li::before { right: auto; left: 0; }
[dir="ltr"] .ticks li::before { right: auto; left: 2px; }
[dir="ltr"] .way small, [dir="ltr"] .pcard__main code { text-align: left; }
[dir="ltr"] .viewer__close { left: auto; right: 18px; }
[dir="ltr"] .tsteps li::before { right: auto; left: 50%; }
[dir="ltr"] .tsteps li span { right: auto; left: 50%; transform: translateX(-50%); }
@media (max-width: 760px) {
  [dir="ltr"] .hero__phone { right: 10px; }
  [dir="ltr"] .hero__now { right: 10px; }
  [dir="ltr"] .steps li { padding: 12px 0 0 36px; }
  [dir="ltr"] .steps li::before { right: auto; left: 0; }
  [dir="ltr"] .tsteps li { padding: 0 0 14px 28px; }
  [dir="ltr"] .tsteps li span { left: 0; transform: none; }
  [dir="ltr"] .tsteps li.is-now span { left: -2px; }
  [dir="ltr"] .tsteps li::before { left: 5px; }
}

/* الدعوة في «شوفوا أساميكم» بلغتها هي، مش بلغة الموقع */
.inv--ar { --f-head: "Amiri", serif; font-family: "IBM Plex Sans Arabic", sans-serif; }
.inv--en { --f-head: "Cormorant Garamond", serif; font-family: "IBM Plex Sans", sans-serif; }
.inv--en .inv__names { font-family: "Great Vibes", cursive; font-size: 13.5cqi; line-height: 1.05; }
.inv--en .inv__pre { font-style: italic; font-size: 4.6cqi; }
.inv--en.inv--ticket .inv__names { font-size: 10.5cqi; }
.inv--en .inv__date b { font-weight: 600; }

/* الهيدر: القايمة بتستخبى بدري شوية عشان زرار اللغة */
@media (max-width: 1120px) {
  .nav { gap: 16px; font-size: .9rem; }
  .top__in { gap: 18px; }
}
@media (max-width: 960px) {
  .nav { display: none; }
  .langsw { margin-inline-start: auto; }
  .top .btn { margin-inline-start: 0; }
}
@media (max-width: 400px) {
  .top__in { gap: 10px; }
  .top .btn--sm { padding: 0 .8em; font-size: .85rem; }
  .langsw { padding: 5px 9px; }
}

/* زراير شكلها لينك */
.link--plain { background: none; border: 0; padding: 0; margin: 0; font: inherit; color: inherit; cursor: pointer; text-align: inherit; }
.foot__links .link--plain { color: var(--muted); }
.foot__links .link--plain:hover { color: var(--ink); }
.summary__help .link--plain { color: #1b7a44; font-weight: 500; }
.try__more { margin-top: 18px; font-size: .95rem; }
button.way { font: inherit; background: none; cursor: pointer; text-align: start; }
.way--chat .way__ico { background: #f3efe6; color: var(--green-dark); }

/* صفحة الطلب: كارت التصميم اللي معمول في الاستوديو */
.design__swatch {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  aspect-ratio: 4 / 3; border-radius: 4px; background: var(--bg); color: var(--ink);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08);
}
.design__swatch i { width: 42%; height: 8px; border-radius: 4px; background: var(--ac); }
.design__swatch b { font-family: var(--f-head); font-size: 1.05rem; color: var(--ac); padding: 0 6px; text-align: center; line-height: 1.3; }

/* ============================================================
   شات خدمة العملاء
   ============================================================ */
.cw-launch {
  position: fixed; z-index: 90; bottom: 18px; inset-inline-end: 18px;
  display: flex; align-items: center; gap: 8px; height: 52px; padding: 0 20px 0 16px;
  border: 0; border-radius: 26px; background: var(--green); color: #fff; cursor: pointer;
  font: inherit; font-weight: 500; font-size: .95rem;
  box-shadow: 0 10px 26px -10px rgba(20, 40, 30, .6);
  transition: transform .15s, background .15s;
}
[dir="rtl"] .cw-launch { padding: 0 16px 0 20px; }
.cw-launch:hover { background: var(--green-dark); transform: translateY(-1px); }
.cw-badge {
  position: absolute; top: -5px; inset-inline-end: -4px; display: grid; place-items: center;
  min-width: 21px; height: 21px; padding: 0 5px; border-radius: 11px; border: 2px solid var(--bg);
  background: var(--red); color: #fff; font-size: .72rem; font-weight: 600;
}
.cw {
  position: fixed; z-index: 91; bottom: 84px; inset-inline-end: 18px;
  width: min(380px, calc(100vw - 36px)); height: min(620px, calc(100vh - 110px)); height: min(620px, calc(100dvh - 110px));
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--paper); border: 1px solid var(--line); border-radius: 14px;
  box-shadow: 0 28px 70px -24px rgba(30, 25, 15, .5);
}
.cw[hidden] { display: none; }
.cw__head { display: flex; align-items: center; gap: 10px; padding: 12px 8px 12px 14px; background: var(--green); color: #fff; }
[dir="rtl"] .cw__head { padding: 12px 14px 12px 8px; }
.cw__avatar {
  flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  background: #f3efe6; color: var(--green); font-size: 17px; line-height: 1;
}
.cw__avatar::after { content: "\2726"; }
.cw__avatar.is-team {
  background:
    radial-gradient(circle at 50% 36%, var(--green) 0 5px, transparent 5.6px),
    radial-gradient(ellipse 10px 8px at 50% 92%, var(--green) 0 95%, transparent 100%),
    #e9d9b8;
}
.cw__avatar.is-team::after { content: ""; }
.cw__who { flex: 1; min-width: 0; line-height: 1.3; }
.cw__who b { display: block; font-size: .98rem; font-weight: 600; }
.cw__who small { display: block; font-size: .76rem; opacity: .82; }
.cw__icon {
  flex: none; display: grid; place-items: center; width: 38px; height: 38px; border: 0; border-radius: 50%;
  background: none; color: #fff; cursor: pointer;
}
.cw__icon:hover { background: rgba(255, 255, 255, .14); }
.cw__log { flex: 1; min-height: 0; overflow-y: auto; display: flex; flex-direction: column; gap: 8px; padding: 14px; background: var(--bg); }
.cw__msg { display: flex; flex-direction: column; align-items: flex-start; max-width: 86%; }
.cw__msg--me { align-self: flex-end; align-items: flex-end; }
.cw__msg--sys { align-self: center; align-items: center; max-width: 94%; }
.cw__bubble {
  padding: 9px 13px; border-radius: 16px; background: var(--paper); border: 1px solid var(--line);
  font-size: .93rem; line-height: 1.6; overflow-wrap: anywhere;
}
.cw__msg--them .cw__bubble { border-end-start-radius: 4px; }
.cw__msg--me .cw__bubble { background: var(--green); border-color: var(--green); color: #fff; border-end-end-radius: 4px; }
.cw__msg--me .cw__bubble a { color: #fff; }
.cw__bubble a { color: var(--green); font-weight: 500; }
.cw__msg--sys .cw__bubble { background: none; border-style: dashed; color: var(--muted); font-size: .83rem; text-align: center; }
.cw__msg.is-pending { opacity: .55; }
.cw__by { margin: 0 6px 2px; color: var(--muted); font-size: .72rem; }
.cw__acts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.cw__act {
  padding: 6px 13px; border: 1px solid var(--green); border-radius: 16px; background: var(--paper);
  color: var(--green); font: inherit; font-size: .85rem; font-weight: 500; text-decoration: none; cursor: pointer;
}
.cw__act:hover { background: var(--green); color: #fff; }
.cw__typing { display: flex; gap: 4px; padding: 13px 14px; }
.cw__typing i { width: 7px; height: 7px; border-radius: 50%; background: #a9a293; animation: cwDot 1.1s ease-in-out infinite; }
.cw__typing i:nth-child(2) { animation-delay: .15s; }
.cw__typing i:nth-child(3) { animation-delay: .3s; }
@keyframes cwDot { 0%, 60%, 100% { transform: none; opacity: .5; } 30% { transform: translateY(-4px); opacity: 1; } }
.cw__quick { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 12px 10px; background: var(--bg); }
.cw__quick[hidden] { display: none; }
.cw__quick button {
  padding: 5px 12px; border: 1px solid var(--line); border-radius: 16px; background: var(--paper);
  font: inherit; font-size: .84rem; cursor: pointer;
}
.cw__quick button:hover { border-color: var(--green); color: var(--green); }
.cw__quick [data-human] { border-color: #b9b0a0; font-weight: 500; }
.cw__human { display: grid; gap: 8px; padding: 12px 14px; background: var(--paper); border-top: 1px solid var(--line); }
.cw__human p { font-size: .88rem; color: #4a463f; }
.cw__human input {
  width: 100%; min-height: 42px; padding: 8px 12px; border: 1px solid var(--line); border-radius: var(--r);
  background: var(--bg); font-size: .95rem;
}
.cw__human input:focus, .cw__form textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 1px var(--green); }
.cw__humanBtns { display: flex; align-items: center; gap: 16px; }
.cw__err { color: var(--red); font-size: .84rem; }
.cw__err a { color: #1b7a44; font-weight: 600; }
.cw__form { display: flex; align-items: flex-end; gap: 8px; padding: 10px 12px; background: var(--paper); border-top: 1px solid var(--line); }
.cw__form textarea {
  flex: 1; min-width: 0; min-height: 42px; max-height: 120px; padding: 10px 14px; resize: none;
  border: 1px solid var(--line); border-radius: 21px; background: var(--bg); font-size: .95rem; line-height: 1.4;
}
.cw__send { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border: 0; border-radius: 50%; background: var(--green); color: #fff; cursor: pointer; }
.cw__send:hover { background: var(--green-dark); }
[dir="rtl"] .cw__send svg { transform: scaleX(-1); }
.cw__foot { padding: 0 14px 8px; background: var(--paper); color: var(--muted); font-size: .72rem; text-align: center; }

@media (max-width: 760px) {
  .cw-launch { bottom: 14px; inset-inline-end: 14px; height: 50px; }
  body.has-mbar .cw-launch { bottom: 84px; }
  .cw { inset: 0; width: auto; height: auto; border: 0; border-radius: 0; }
  .cwr.is-open .cw-launch { display: none; }
  .cw__log { padding: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .cw__typing i { animation: none; }
}

/* شات الطلب: بعد الإرسال وفي صفحة المتابعة */
.sent__btns { display: flex; flex-wrap: wrap; gap: 8px; }
.sent__btns .btn { flex: 1 1 auto; margin-top: 0; }
.tres__chat { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: 16px; padding: 14px; background: var(--bg); border-radius: var(--r); }
.tres__chat small { flex: 1 1 200px; color: var(--muted); font-size: .85rem; }

/* الشات: الطلب خلص أو العميل ممنوع */
.cw__ended { margin: 0; padding: 12px 16px; background: #f1ede5; border-top: 1px solid var(--line); color: #5a554c; font-size: .86rem; text-align: center; }
.cw__avatar.is-online { box-shadow: 0 0 0 2px var(--green), 0 0 0 4px #7fd49a; }
.tres__chat--off { background: #f1ede5; }
.tres__chat--off small { color: #5a554c; }

/* الشات: الاختيارات (المساعد، الفريق، الطلبات) */
.cw__back { margin-inline-start: -6px; }
[dir="rtl"] .cw__back svg { transform: scaleX(-1); }
.cw__home { flex: 1; min-height: 0; overflow-y: auto; display: flex; flex-direction: column; gap: 8px; padding: 16px 14px; background: var(--bg); }
.cw__home[hidden], .cw__log[hidden] { display: none; }
.cw__hello { color: #4a463f; font-size: .92rem; margin-bottom: 4px; }
.cw__topic {
  display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 14px; text-align: start; cursor: pointer;
  background: var(--paper); border: 1px solid var(--line); border-radius: 12px; font: inherit; color: inherit;
  transition: border-color .15s, transform .15s;
}
.cw__topic:hover { border-color: var(--green); transform: translateY(-1px); }
.cw__topicIco { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: #e7efe9; color: var(--green); }
.cw__topicIco.is-team { background: #f3e9d4; color: #8a5a00; }
.cw__topicIco.is-order { background: #ece6da; color: #4a463f; }
.cw__topicTxt { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.4; }
.cw__topicTxt b { font-weight: 600; font-size: .95rem; }
.cw__topicTxt small { color: var(--muted); font-size: .82rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cw__count { flex: none; display: grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: var(--red); color: #fff; font-size: .74rem; }
.cw__homeK { margin-top: 10px; color: var(--muted); font-size: .8rem; font-weight: 600; letter-spacing: .02em; }
.cw__homeNone { color: var(--muted); font-size: .86rem; }
.cw__homeNone a { color: var(--green); font-weight: 500; }

/* ============================================================
   تحديث دراسة المنافسين: ٤ باقات، الشعار، «إيه اللي بيميّزنا»،
   اللي في كل دعوة والإضافات، مناسبات جاية قريب، وصفحة «حكايتنا»
   ============================================================ */

/* الشعار في أول الصفحة */
.hero h1.hero__slogan { font-size: clamp(2.2rem, 4.4vw, 3.5rem); line-height: 1.22; letter-spacing: -.005em; }

/* ٤ باقات بدل ٣، وآخر باقة متميّزة شوية */
.plans { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.plan { padding: 28px 22px 32px; }
.plan h3 { font-size: 1.55rem; }
.plan__price b { font-size: 1.9rem; }
.plan--top { background: linear-gradient(180deg, rgba(168,131,74,.08), rgba(168,131,74,0) 60%); }
.plan--top h3::after { content: "★"; color: var(--gold); font-size: .8em; margin-inline-start: 8px; }

/* إيه اللي بيميّز دعواتنا */
.diff__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.diff__card { background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 26px 24px 28px; }
.sec--paper .diff__card { background: var(--bg); }
.sec:not(.sec--paper) .diff__card { background: var(--paper); }
.diff__n { display: block; font-family: var(--f-head); font-size: 2.1rem; line-height: 1; color: var(--gold); margin-bottom: 14px; }
.diff__card h3 { font-size: 1.4rem; margin-bottom: 8px; }
.diff__card p { color: #4a463f; font-size: .97rem; }

/* اللي في كل دعوة + الإضافات */
.extras { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 40px; }
.extras__box { background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: 24px 26px 26px; }
.extras__box h3 { font-size: 1.35rem; margin-bottom: 12px; }
.extras__box .btn { margin-top: 18px; }
.included { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 18px; }
.included li { display: flex; align-items: flex-start; gap: 10px; font-size: .95rem; line-height: 1.55; }
.chk { flex: none; width: 18px; height: 18px; margin-top: 3px; border-radius: 50%; background: var(--green); position: relative; }
.chk::after { content: ""; position: absolute; left: 5px; top: 4px; width: 7px; height: 4px; border: 2px solid #fff; border-top: 0; border-right: 0; transform: rotate(-45deg); }
.addons-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.addons-list li { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.addons-list li small { display: inline-block; color: var(--muted); font-size: .8rem; margin-inline-start: 4px; }
.addons-list li b { font-weight: 600; white-space: nowrap; color: var(--green); }
.addons-list--sm li { font-size: .9rem; padding: 8px 0; }

/* صفحة الطلب: قايمة كل اللي متاح */
.included--order { margin: 8px 0 4px; padding: 14px 16px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); }
.block__hint--gap { margin-top: 18px; }
.add--express .add__name::before { content: "⚡ "; }

/* مناسبات جاية قريب */
.soon__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.soon__card { position: relative; background: var(--paper); border: 1px dashed #cdbf9f; border-radius: 10px; padding: 26px 24px 24px; }
.sec--paper .soon__card { background: var(--bg); }
.soon__tag { display: inline-block; font-size: .78rem; letter-spacing: .04em; color: var(--gold); border: 1px solid rgba(168,131,74,.45); border-radius: 999px; padding: 2px 12px; margin-bottom: 12px; }
.soon__card h3 { font-size: 1.5rem; margin-bottom: 6px; }
.soon__card p { color: var(--muted); font-size: .95rem; margin-bottom: 14px; }

/* صفحة «حكايتنا» */
.story__head { padding-bottom: 24px; }
.story__ar { font-family: "Aref Ruqaa", var(--f-head); color: var(--gold); font-weight: 400; margin-inline-start: .2em; }
.story__slogan { margin-top: 16px; font-family: var(--f-head); font-size: clamp(1.25rem, 2.4vw, 1.7rem); color: var(--green); max-width: 34em; line-height: 1.5; }
.story__cols { display: grid; grid-template-columns: 6fr 5fr; gap: 48px; align-items: center; }
.story__text p { font-size: 1.05rem; color: #3d3a34; }
.story__text p + p { margin-top: 16px; }
.story__promise { padding: 16px 20px; border-inline-start: 3px solid var(--gold); background: var(--paper); border-radius: 0 var(--r) var(--r) 0; font-family: var(--f-head); font-size: 1.15rem !important; color: var(--ink) !important; }
.story__art img { border-radius: 10px; border: 1px solid var(--line); }
.story__art figcaption { margin-top: 8px; font-size: .85rem; color: var(--muted); }
.story__cta { text-align: center; }
.story__cta h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); }
.story__cta p { color: var(--muted); max-width: 36em; margin: 10px auto 0; }
.story__btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 24px; }

@media (max-width: 1120px) {
  .nav a[data-i18n="nav.try"] { display: none; }
}
@media (max-width: 1000px) {
  .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plan:nth-child(3) { border-inline-start: 0; padding-inline-start: 0; }
  .plan:nth-child(2) { padding-inline-end: 0; }
  .plan:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .diff__grid, .soon__grid { grid-template-columns: 1fr; gap: 14px; }
  .extras { grid-template-columns: 1fr; }
  .story__cols { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 760px) {
  .plans { grid-template-columns: 1fr; }
  .plan, .plan:nth-child(n) { border-inline-start: 0; padding: 26px 0 30px; border-bottom: 1px solid var(--line); }
  .plan:last-child { border-bottom: 0; }
  .plan--top { padding-inline: 14px !important; border-radius: 10px; }
  .included { grid-template-columns: 1fr; }
  .hero h1.hero__slogan { font-size: 2.05rem; }
}
