/* «ارفع شعارك وشوف المينيو الخاص بكم» landing: Mustashar house style (paper, ink, lime, Cairo). */
:root {
  --paper: #f4f2ec; --paper-2: #eeeae1; --card: #fffdf8; --ink: #14150f; --muted: #5d5f55; --line: #dfdacd;
  --lime: #c9f24d; --violet: #6b3fd4;
  --try: #7a4e2d; --try-tint: #efe5da;
  --f: "Cairo", system-ui, sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--f); font-size: 16px; line-height: 1.7; -webkit-font-smoothing: antialiased; }
[hidden] { display: none !important; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; padding: 0; }
a { color: inherit; }
.ico { width: 1.25em; height: 1.25em; flex: none; }
:focus-visible { outline: 2.5px solid var(--violet); outline-offset: 3px; }

/* header */
.top { position: sticky; top: 10px; z-index: 30; display: flex; align-items: center; justify-content: space-between; gap: 12px; max-width: 1180px; margin: 10px auto 0; padding: 8px 10px 8px 14px; border-radius: 100px; background: color-mix(in srgb, var(--paper) 88%, transparent); box-shadow: inset 0 0 0 1px var(--line); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); width: calc(100% - 24px); }
[dir="rtl"] .top { padding: 8px 14px 8px 10px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: auto; height: 38px; }
.brand span { display: grid; line-height: 1.15; }
.brand b { font-size: 17px; font-weight: 800; }
.brand small { font-size: 12px; color: var(--muted); }

.pill { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 20px; border-radius: 100px; font-weight: 700; font-size: 15px; text-decoration: none; white-space: nowrap; transition: transform .15s var(--ease), background .2s; }
.pill:active { transform: scale(.97); }
.pill-line { background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.pill-lime { background: var(--lime); color: var(--ink); }
.pill-ink { background: var(--ink); color: var(--paper); }
.pill-ghost { box-shadow: inset 0 0 0 1.5px var(--ink); }
.top .pill { min-height: 40px; padding: 0 16px; font-size: 14px; }

/* hero */
.hero { max-width: 1180px; margin: 0 auto; padding: 28px 16px 20px; display: grid; gap: 26px; }
@media (min-width: 980px) { .hero { grid-template-columns: 1.05fr .95fr; align-items: start; gap: 48px; padding: 52px 24px 30px; } }
.kicker { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 12px; padding: 6px 14px; border-radius: 100px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); font-size: 13.5px; font-weight: 700; color: var(--violet); }
.hero h1 { margin: 0; font-size: clamp(31px, 7.4vw, 54px); line-height: 1.25; font-weight: 900; letter-spacing: 0; }
.mark { background: linear-gradient(transparent 58%, var(--lime) 58%, var(--lime) 92%, transparent 92%); padding: 0 4px; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.lead { margin: 14px 0 22px; font-size: 17px; color: var(--muted); max-width: 54ch; }

/* form */
.try { display: grid; gap: 12px; padding: 16px; border-radius: 28px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line), 0 20px 50px -34px rgba(20, 21, 15, .35); scroll-margin-top: 90px; }
.drop { position: relative; display: flex; align-items: center; gap: 14px; min-height: 96px; padding: 14px 16px; border-radius: 20px; background: var(--paper); border: 2px dashed #cfc8b8; cursor: pointer; transition: border-color .2s, background .2s; }
.drop:hover, .drop.is-over { border-color: var(--ink); background: var(--paper-2); }
.drop.is-set { border-style: solid; border-color: var(--ink); }
.drop.is-bad { animation: shake .4s; border-color: #d64545; }
@keyframes shake { 25% { transform: translateX(-6px); } 50% { transform: translateX(6px); } 75% { transform: translateX(-3px); } }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.drop-ico { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: var(--ink); color: var(--lime); flex: none; }
.drop-ico .ico { width: 26px; height: 26px; }
.drop-text { display: grid; line-height: 1.4; flex: 1; min-width: 0; }
.drop-text b { font-size: 16.5px; }
.drop-text small { font-size: 13px; color: var(--muted); }
.drop-thumb { width: 64px; height: 64px; border-radius: 16px; object-fit: contain; background: #fff; box-shadow: inset 0 0 0 1px var(--line); flex: none; }
.fields { display: grid; grid-template-columns: 1.3fr 1fr; gap: 10px; }
@media (max-width: 420px) { .fields { grid-template-columns: 1fr; } }
.field { display: grid; gap: 4px; font-size: 13.5px; font-weight: 700; }
.field em { font-style: normal; font-weight: 500; color: var(--muted); }
.field input { height: 50px; padding: 0 16px; border-radius: 16px; border: 0; box-shadow: inset 0 0 0 1px var(--line); background: var(--paper); font: inherit; font-size: 16px; font-weight: 500; color: var(--ink); outline: 0; min-width: 0; }
.field input:focus { box-shadow: inset 0 0 0 2px var(--ink); background: #fff; }
.go { display: flex; align-items: center; justify-content: center; gap: 10px; height: 56px; border-radius: 18px; background: var(--ink); color: var(--paper); font-size: 17px; font-weight: 800; transition: transform .15s var(--ease); }
.go b { color: var(--lime); font-size: 18px; }
.go:active { transform: scale(.98); }
.go.is-busy { opacity: .7; pointer-events: none; }
.form-msg { margin: 0; padding: 10px 14px; border-radius: 14px; background: #fde8e8; color: #9b1c1c; font-size: 14px; font-weight: 600; }
.privacy { display: flex; align-items: center; gap: 8px; margin: 2px 0 0; font-size: 12.5px; color: var(--muted); }
.privacy .ico { width: 16px; height: 16px; }

/* stage + phone */
.stage { position: relative; display: grid; justify-items: center; gap: 14px; padding: 22px 12px 18px; border-radius: 32px; isolation: isolate; scroll-margin-top: 80px; }
.stage-bg { position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: var(--try-tint); transition: background .6s; }
.stage-bg::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: radial-gradient(circle at 50% 40%, transparent 0 30%, color-mix(in srgb, var(--try) 9%, transparent) 30% calc(30% + 1px), transparent calc(30% + 1px) 46%, color-mix(in srgb, var(--try) 7%, transparent) 46% calc(46% + 1px), transparent calc(46% + 1px) 62%, color-mix(in srgb, var(--try) 5%, transparent) 62% calc(62% + 1px), transparent calc(62% + 1px)); }
@media (min-width: 980px) { .stage { position: sticky; top: 86px; } }
.swatches { display: flex; align-items: center; gap: 10px; padding: 6px 8px 6px 14px; border-radius: 100px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); font-size: 13px; font-weight: 700; }
[dir="rtl"] .swatches { padding: 6px 14px 6px 8px; }
.swatches i { display: flex; gap: 4px; }
.swatches i span { width: 22px; height: 22px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12); }
.phone { --w: 340px; width: var(--w); padding: 10px; border-radius: 52px; background: #111; box-shadow: 0 0 0 1px #2a2a2a, 0 40px 70px -40px rgba(20, 21, 15, .7); position: relative; }
.phone::before { content: ""; position: absolute; z-index: 2; top: 18px; left: 50%; width: 92px; height: 26px; margin-left: -46px; border-radius: 20px; background: #111; }
.phone-screen { position: relative; overflow: hidden; border-radius: 42px; background: #fff; width: 100%; aspect-ratio: 390 / 800; }
.phone-screen iframe { position: absolute; top: 0; left: 0; width: 390px; height: 800px; border: 0; transform-origin: 0 0; background: #fff; }
.phone-close { position: absolute; z-index: 5; top: 12px; inset-inline-end: 12px; padding: 8px 14px; border-radius: 100px; background: var(--ink); color: var(--paper); font-weight: 700; font-size: 14px; }
.stage-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.stage-note { margin: 0; font-size: 13px; color: var(--muted); text-align: center; }
/* phone: after the first preview the main buttons stay on screen */
@media (max-width: 979px) {
  .has-preview body { padding-bottom: 86px; }
  .has-preview .stage-actions { position: fixed; z-index: 40; inset-inline: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); flex-wrap: nowrap; padding: 8px; border-radius: 22px; background: var(--ink); box-shadow: 0 16px 34px -14px rgba(20, 21, 15, .6); }
  .has-preview .stage-actions #want { flex: 1; }
  .has-preview .stage-actions #again { display: none; }
  .has-preview .stage-actions #full { background: rgba(244, 242, 236, .1); color: var(--paper); box-shadow: none; }
}
/* full screen preview */
html.is-full { overflow: hidden; }
.phone.is-full { position: fixed; inset: 0; z-index: 100; width: auto; padding: 0; border-radius: 0; background: #000; }
.phone.is-full::before { display: none; }
.phone.is-full .phone-screen { width: 100%; height: 100%; aspect-ratio: auto; border-radius: 0; }
.phone.is-full .phone-screen iframe { width: 100%; height: 100%; transform: none !important; }

/* blocks */
.block { max-width: 1180px; margin: 0 auto; padding: 46px 16px 10px; }
@media (min-width: 980px) { .block { padding: 70px 24px 10px; } }
.eyebrow { margin: 0 0 4px; color: var(--violet); font-weight: 800; font-size: 14px; }
.block h2, .band h2 { margin: 0 0 22px; font-size: clamp(25px, 5vw, 38px); line-height: 1.3; font-weight: 900; }
.grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.grid article { padding: 20px; border-radius: 24px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.grid article > span { width: 48px; height: 48px; border-radius: 15px; display: grid; place-items: center; background: var(--ink); color: var(--lime); margin-bottom: 12px; }
.grid article > span .ico { width: 24px; height: 24px; }
.grid h3 { margin: 0 0 4px; font-size: 18px; font-weight: 800; }
.grid p { margin: 0; color: var(--muted); font-size: 15px; }
.steps ol { list-style: none; margin: 0; padding: 22px; display: grid; gap: 12px; border-radius: 32px; background: var(--ink); color: var(--paper); }
@media (min-width: 760px) { .steps ol { grid-template-columns: repeat(3, 1fr); padding: 28px; } }
.steps li { padding: 18px; border-radius: 22px; background: rgba(244, 242, 236, .06); box-shadow: inset 0 0 0 1px rgba(244, 242, 236, .12); }
.steps li b { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--lime); color: var(--ink); font-size: 19px; font-weight: 900; margin-bottom: 10px; }
.steps h3 { margin: 0 0 2px; font-size: 18px; font-weight: 800; }
.steps p { margin: 0; color: rgba(244, 242, 236, .72); font-size: 15px; }
.faq details { border-radius: 20px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); margin-bottom: 8px; }
.faq summary { list-style: none; cursor: pointer; padding: 16px 20px; font-weight: 800; font-size: 16.5px; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--violet); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0; padding: 0 20px 18px; color: var(--muted); }
.band { max-width: 1180px; margin: 56px auto 0; padding: 40px 22px; border-radius: 32px; background: var(--lime); text-align: center; width: calc(100% - 32px); }
.band h2 { margin-bottom: 6px; }
.band p { margin: 0 0 20px; font-size: 17px; }
.band-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.foot { display: grid; justify-items: center; gap: 6px; padding: 40px 16px 36px; text-align: center; color: var(--muted); font-size: 14px; }
.foot img { border-radius: 12px; }
.foot p { margin: 0; }
.foot a { color: var(--ink); font-weight: 700; text-decoration: none; }

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

/* request form (goes to the Mustashar dashboard, not WhatsApp) */
.req { scroll-margin-top: 80px; }
.req-lead { margin: -12px 0 18px; color: var(--muted); font-size: 16px; max-width: 60ch; }
.req-card { display: grid; gap: 14px; padding: 18px; border-radius: 28px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line), 0 20px 50px -34px rgba(20, 21, 15, .35); max-width: 860px; }
@media (min-width: 760px) { .req-card { padding: 26px; } }
.req-grid { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; }
@media (max-width: 620px) { .req-grid { grid-template-columns: 1fr; } }
.req-star { color: #c2410c; font-weight: 800; }
.field select, .field textarea { border: 0; box-shadow: inset 0 0 0 1px var(--line); background: var(--paper); font: inherit; font-size: 16px; font-weight: 500; color: var(--ink); outline: 0; border-radius: 16px; min-width: 0; }
.field select { height: 50px; padding: 0 14px; -webkit-appearance: none; appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: left 20px center, left 14px center; background-size: 6px 6px; background-repeat: no-repeat; }
[dir="ltr"] .field select { background-position: right 14px center, right 20px center; }
.field textarea { padding: 12px 16px; resize: vertical; min-height: 90px; line-height: 1.6; }
.field select:focus, .field textarea:focus { box-shadow: inset 0 0 0 2px var(--ink); background-color: #fff; }
.field input.is-bad, .field select.is-bad { box-shadow: inset 0 0 0 2px #d64545; }
.check { display: flex; align-items: flex-start; gap: 10px; font-size: 14.5px; font-weight: 600; cursor: pointer; }
.check input, .opts input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--ink); flex: none; }
.consent { padding: 12px 14px; border-radius: 16px; background: var(--paper-2); font-weight: 500; }
.consent.is-bad { box-shadow: inset 0 0 0 2px #d64545; }
.opts { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.opts legend { width: 100%; padding: 0; margin-bottom: 8px; font-size: 13.5px; font-weight: 700; }
.opts legend em { font-style: normal; font-weight: 500; color: var(--muted); }
.opts label { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 100px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); font-size: 14px; font-weight: 600; cursor: pointer; }
.opts label:has(input:checked) { background: var(--ink); color: var(--paper); box-shadow: none; }
.opts input { margin: 0; width: 16px; height: 16px; accent-color: var(--lime); }
.req-logo { display: flex; align-items: center; gap: 14px; padding: 10px 12px; border-radius: 18px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); }
.req-logo img { width: 56px; height: 56px; border-radius: 14px; object-fit: contain; background: #fff; box-shadow: inset 0 0 0 1px var(--line); flex: none; }
.req-done { display: grid; justify-items: start; gap: 8px; padding: 26px; border-radius: 28px; background: var(--card); box-shadow: inset 0 0 0 2px var(--ink); max-width: 860px; }
.req-done h3 { margin: 0; font-size: 22px; font-weight: 900; }
.req-done p { margin: 0 0 8px; color: var(--muted); }
.req-done b { color: var(--ink); }
.req-ok { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--lime); color: var(--ink); }
.req-ok .ico { width: 28px; height: 28px; stroke-width: 2.2; }
.req-files { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 620px) { .req-files { grid-template-columns: 1fr; } }
.req-up { position: relative; display: flex; align-items: center; gap: 12px; min-height: 84px; padding: 12px 14px; border-radius: 20px; background: var(--paper); border: 2px dashed #cfc8b8; cursor: pointer; transition: border-color .2s, background .2s; }
.req-up:hover { border-color: var(--ink); background: var(--paper-2); }
.req-up.is-set { border-style: solid; border-color: var(--ink); }
.req-up.is-bad { border-color: #d64545; animation: shake .4s; }
.req-up input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.req-up-ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--ink); color: var(--lime); flex: none; }
.req-up-ico .ico { width: 24px; height: 24px; }
.req-up-img { width: 48px; height: 48px; border-radius: 14px; object-fit: contain; background: #fff; box-shadow: inset 0 0 0 1px var(--line); flex: none; }
.req-up-text { display: grid; line-height: 1.4; min-width: 0; }
.req-up-text b { font-size: 15.5px; }
.req-up-text em { font-style: normal; font-weight: 500; color: var(--muted); font-size: 13px; }
.req-up-text small { font-size: 12.5px; color: var(--muted); }
.req-thumbs { display: flex; flex-wrap: wrap; gap: 8px; }
.req-thumbs figure { position: relative; margin: 0; width: 76px; height: 96px; border-radius: 14px; overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); background: #fff; }
.req-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.req-thumbs button { position: absolute; top: 4px; inset-inline-end: 4px; width: 24px; height: 24px; border-radius: 50%; background: rgba(20, 21, 15, .8); color: #fff; font-size: 13px; line-height: 1; }
