/* سفرة — الموقع التسويقي.
   نفس هوية النظام: كريمي دافئ، زيتوني، برتقالي. موبايل أولاً، RTL كامل.
   مستقل عن app.css حتى الزائر ما ينزّل ستايل لوحات ما راح يشوفها. */

:root {
    --cream:       #F7F1E5;
    --cream-deep:  #EFE6D5;
    --surface:     #FFFCF6;
    --border:      #E3D9C6;

    --olive:       #40532F;
    --olive-deep:  #2E3D22;
    --olive-dark:  #1B2415;
    --olive-soft:  #6B7F58;
    --olive-tint:  #EAEFE2;

    --orange:      #C9662B;
    --orange-soft: #E08B4E;
    --orange-tint: #FBEDE0;

    --ink:         #2A2721;
    --ink-soft:    #5C564A;
    --ink-muted:   #8B8373;

    --r:    16px;
    --r-lg: 24px;
    --shadow:    0 1px 2px rgba(53, 44, 26, .06), 0 4px 14px rgba(53, 44, 26, .06);
    --shadow-lg: 0 14px 44px rgba(43, 36, 20, .14);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
    font-family: 'Cairo', 'Segoe UI', Tahoma, sans-serif;
    background: var(--cream);
    color: var(--ink);
    line-height: 1.75;
    font-size: 16px;
    overflow-x: hidden;
}

img, svg, iframe { max-width: 100%; display: block; }
a { color: inherit; }

.s-wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.s-ltr { direction: ltr; text-align: right; font-variant-numeric: tabular-nums; }

/* ── أزرار ─────────────────────────────────────────────────────────────── */
.s-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 14px 26px; border: 0; border-radius: 999px;
    font: inherit; font-weight: 700; font-size: 1rem;
    text-decoration: none; cursor: pointer; white-space: nowrap;
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.s-btn:hover { transform: translateY(-2px); }
.s-btn:active { transform: translateY(0); }
.s-btn-sm   { padding: 9px 18px; font-size: .9rem; }
.s-btn-full { width: 100%; }

.s-btn-orange { background: var(--orange); color: #fff; box-shadow: 0 6px 18px rgba(201, 102, 43, .3); }
.s-btn-orange:hover { background: #B85922; }
.s-btn-olive  { background: var(--olive); color: #fff; }
.s-btn-olive:hover { background: var(--olive-deep); }
.s-btn-ghost  { background: transparent; color: var(--olive-deep); box-shadow: inset 0 0 0 2px var(--olive-soft); }
.s-btn-ghost:hover { background: var(--olive-tint); }
.s-btn-wa     { background: #25D366; color: #08331A; }

/* ── الشريط العلوي ─────────────────────────────────────────────────────── */
.s-top {
    position: sticky; top: 0; z-index: 40;
    background: rgba(247, 241, 229, .88);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}
.s-top-in { display: flex; align-items: center; gap: 14px; height: 62px; }
.s-brand {
    display: inline-flex; align-items: center; gap: 9px;
    font-weight: 800; font-size: 1.35rem; color: var(--olive-deep); text-decoration: none;
}
.s-brand-dot {
    width: 11px; height: 11px; border-radius: 50%;
    background: var(--orange); box-shadow: 0 0 0 4px var(--orange-tint);
}
.s-brand-light { color: var(--cream); }
.s-topnav { display: none; margin-inline-start: auto; gap: 22px; }
.s-topnav a { text-decoration: none; font-weight: 600; color: var(--ink-soft); font-size: .95rem; }
.s-topnav a:hover { color: var(--olive); }
.s-top .s-btn { margin-inline-start: auto; }
.s-topnav ~ .s-btn { margin-inline-start: 0; }

/* ── Hero ──────────────────────────────────────────────────────────────── */
.s-hero {
    position: relative;
    background:
        radial-gradient(ellipse 70% 55% at 85% 0%, var(--orange-tint) 0%, transparent 60%),
        radial-gradient(ellipse 60% 50% at 10% 20%, var(--olive-tint) 0%, transparent 65%),
        var(--cream);
    padding: 44px 0 52px;
    overflow: hidden;
}
.s-hero-in { display: grid; gap: 38px; }

.s-eyebrow {
    display: inline-block; margin-bottom: 14px;
    padding: 5px 14px; border-radius: 999px;
    background: var(--olive-tint); color: var(--olive-deep);
    font-size: .82rem; font-weight: 700;
}
.s-eyebrow-light { background: rgba(255, 255, 255, .14); color: #E7EEDD; }

.s-hero h1 {
    font-size: clamp(1.72rem, 6.2vw, 3.1rem);
    line-height: 1.32; font-weight: 800; letter-spacing: -.4px;
    color: var(--olive-deep);
}
.s-lede {
    margin-top: 16px; font-size: clamp(1rem, 3.4vw, 1.2rem);
    color: var(--ink-soft); max-width: 46ch;
}
.s-cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.s-trust {
    display: flex; flex-wrap: wrap; gap: 8px 20px;
    margin-top: 24px; list-style: none;
    font-size: .9rem; font-weight: 600; color: var(--olive-soft);
}

/* ── إطار التلفون ──────────────────────────────────────────────────────── */
.s-hero-shot, .s-try-frame { display: flex; justify-content: center; }
.s-phone {
    position: relative; width: 268px; padding: 11px;
    background: linear-gradient(160deg, #3A4630, var(--olive-dark));
    border-radius: 38px;
    box-shadow: var(--shadow-lg), inset 0 0 0 1px rgba(255, 255, 255, .08);
}
.s-phone-notch {
    position: absolute; top: 17px; left: 50%; transform: translateX(-50%);
    width: 74px; height: 5px; border-radius: 3px;
    background: rgba(0, 0, 0, .45); z-index: 2;
}
.s-phone img, .s-phone iframe {
    width: 100%; border-radius: 28px; background: var(--surface); border: 0;
}
.s-phone img { height: auto; }

/* الإطار الحي: نخلي الديمو يرسم بعرض تلفون حقيقي (٣٩٠) ثم نصغّره بصرياً.
   لو خليناه يرسم بعرض الإطار (٢٤٦) چان طلع بتخطيط ما يشوفه ولا زبون —
   أضيق من أنحف تلفون بالسوق. */
.s-phone-live .s-screen {
    position: relative;
    width: 246px; height: 505px;
    border-radius: 28px; overflow: hidden;
    background: var(--surface);
}
/* الموضع مطلق ومثبّت بـtop/right: وضع الكتلة الفائضة يفرق بين RTL وLTR،
   والتثبيت الصريح يخلي المقياس ينطبق نفس الشي بأي اتجاه. */
.s-phone-live iframe {
    position: absolute; top: 0; right: 0;
    /* max-width:none إلزامي: القاعدة العامة `img, svg, iframe { max-width:100% }`
       تقصّ الـ390 لعرض الحاوية (٢٤٦)، فيرسم الديمو بعرض ما موجود بأي تلفون. */
    width: 390px; max-width: none; height: 800px; border: 0; border-radius: 0;
    transform: scale(.631);
    transform-origin: top right;
}

/* ── شريط الوجع ────────────────────────────────────────────────────────── */
.s-pain { background: var(--olive-deep); padding: 34px 0; }
.s-pain-grid { display: grid; gap: 16px; }
.s-pain-card {
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: var(--r); padding: 18px 20px;
}
.s-pain-q {
    font-weight: 800; font-size: 1.06rem; color: #F3D8B9; margin-bottom: 6px;
}
.s-pain-a { color: #D6DECB; font-size: .95rem; line-height: 1.7; }

/* ── أقسام عامة ────────────────────────────────────────────────────────── */
.s-sec { padding: 58px 0; }
.s-sec-alt { background: var(--cream-deep); }
.s-sec-head { text-align: center; max-width: 40ch; margin: 0 auto 34px; }
.s-sec-head h2 {
    font-size: clamp(1.45rem, 5vw, 2.15rem); font-weight: 800;
    color: var(--olive-deep); line-height: 1.35;
}
.s-sec-head p { margin-top: 10px; color: var(--ink-soft); }

/* ── المزايا ───────────────────────────────────────────────────────────── */
.s-feat-grid { display: grid; gap: 16px; }
.s-feat {
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--r); padding: 22px;
    box-shadow: var(--shadow);
    transition: transform .18s ease, box-shadow .18s ease;
}
.s-feat:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.s-feat-ico {
    width: 46px; height: 46px; border-radius: 13px;
    background: var(--orange-tint);
    display: grid; place-items: center; font-size: 1.4rem; margin-bottom: 13px;
}
.s-feat h3 { font-size: 1.12rem; font-weight: 800; color: var(--olive-deep); margin-bottom: 6px; }
.s-feat p { color: var(--ink-soft); font-size: .95rem; }

/* ── جرّب بنفسك ────────────────────────────────────────────────────────── */
.s-try {
    background:
        radial-gradient(ellipse 70% 60% at 15% 0%, #34432A 0%, transparent 60%),
        var(--olive-dark);
    color: var(--cream); padding: 56px 0;
}
.s-try-in { display: grid; gap: 34px; }
.s-try h2 { font-size: clamp(1.45rem, 5vw, 2.1rem); font-weight: 800; line-height: 1.35; }
.s-try p { margin-top: 12px; color: #C9D2BC; max-width: 44ch; }
.s-try-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 24px; }
.s-qr {
    display: flex; align-items: center; gap: 11px;
    font-size: .82rem; color: #B9C4AA;
}
.s-qr-code {
    background: #fff; padding: 8px; border-radius: 11px;
    width: 78px; height: 78px; display: grid; place-items: center;
}
.s-qr-code svg { width: 100%; height: 100%; }

/* ── الخطوات ───────────────────────────────────────────────────────────── */
.s-steps { display: grid; gap: 16px; list-style: none; counter-reset: step; }
.s-steps li {
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--r); padding: 22px; position: relative;
}
.s-step-n {
    display: grid; place-items: center;
    width: 40px; height: 40px; border-radius: 50%;
    background: var(--olive); color: #fff;
    font-weight: 800; font-size: 1.1rem; margin-bottom: 12px;
}
.s-steps h3 { font-size: 1.08rem; font-weight: 800; color: var(--olive-deep); margin-bottom: 5px; }
.s-steps p { color: var(--ink-soft); font-size: .94rem; }

/* ── الأسعار ───────────────────────────────────────────────────────────── */
.s-plans { display: grid; gap: 18px; }
.s-plan {
    position: relative; background: var(--surface);
    border: 1px solid var(--border); border-radius: var(--r-lg);
    padding: 26px 22px; display: flex; flex-direction: column;
    box-shadow: var(--shadow);
}
.s-plan.is-featured {
    border: 2px solid var(--orange);
    box-shadow: 0 12px 36px rgba(201, 102, 43, .16);
}
.s-plan-tag {
    position: absolute; top: -13px; inset-inline-start: 22px;
    background: var(--orange); color: #fff;
    padding: 4px 14px; border-radius: 999px;
    font-size: .78rem; font-weight: 700;
}
.s-plan h3 { font-size: 1.15rem; font-weight: 800; color: var(--olive-deep); }
.s-plan-price { display: flex; align-items: baseline; gap: 7px; margin: 12px 0 4px; }
.s-plan-price strong {
    font-size: 2.15rem; font-weight: 800; color: var(--ink);
    font-variant-numeric: tabular-nums;
}
.s-plan-price span { color: var(--ink-muted); font-size: .92rem; }
.s-plan-free {
    display: inline-block; align-self: flex-start;
    background: var(--olive-tint); color: var(--olive-deep);
    padding: 4px 12px; border-radius: 999px;
    font-size: .82rem; font-weight: 700; margin-bottom: 16px;
}
.s-plan-feats { list-style: none; margin-bottom: 20px; flex: 1; }
.s-plan-feats li {
    padding: 6px 0 6px 0; padding-inline-start: 24px; position: relative;
    color: var(--ink-soft); font-size: .93rem;
}
.s-plan-feats li::before {
    content: '✓'; position: absolute; inset-inline-start: 0;
    color: var(--olive-soft); font-weight: 800;
}
.s-plans-note { text-align: center; margin-top: 20px; color: var(--ink-muted); font-size: .9rem; }

/* ── الحجز ─────────────────────────────────────────────────────────────── */
.s-book {
    background: linear-gradient(165deg, var(--olive-deep), var(--olive-dark));
    color: var(--cream); padding: 56px 0;
}
.s-book-in { display: grid; gap: 30px; }
.s-book h2 { font-size: clamp(1.45rem, 5vw, 2.1rem); font-weight: 800; line-height: 1.35; }
.s-book-text p { margin-top: 12px; color: #C9D2BC; max-width: 40ch; }
.s-wa {
    display: inline-flex; align-items: center; gap: 8px; margin-top: 20px;
    color: #8FE3AC; font-weight: 700; text-decoration: none;
}
.s-wa:hover { text-decoration: underline; }

.s-book-card {
    background: var(--surface); color: var(--ink);
    border-radius: var(--r-lg); padding: 24px;
    box-shadow: var(--shadow-lg);
}
.s-form { display: grid; gap: 14px; }
.s-field { display: grid; gap: 6px; }
.s-field label { font-weight: 700; font-size: .92rem; color: var(--olive-deep); }
.s-field input, .s-field select {
    width: 100%; padding: 13px 14px;
    border: 1.5px solid var(--border); border-radius: 11px;
    font: inherit; font-size: 1rem; background: #fff; color: var(--ink);
}
.s-field input:focus, .s-field select:focus {
    outline: 0; border-color: var(--olive-soft);
    box-shadow: 0 0 0 3px var(--olive-tint);
}
.s-field input.is-bad { border-color: var(--orange); }
.s-hint { font-size: .82rem; color: var(--orange); min-height: 1em; }
.s-hint.is-ok { color: var(--olive-soft); }
.s-form-note { text-align: center; font-size: .84rem; color: var(--ink-muted); }
.s-form-err {
    background: #F9E5E2; color: #8A2C21; border: 1px solid #E9C4BE;
    border-radius: 11px; padding: 12px 14px; margin-bottom: 16px;
    font-size: .93rem; font-weight: 600;
}
/* الفخ: مخفي بلا display:none — بعض البوتات تتجاهل الحقول المخفية بالكامل */
.s-hp {
    position: absolute; width: 1px; height: 1px;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

.s-done { text-align: center; padding: 14px 0; }
.s-done-ico {
    width: 58px; height: 58px; margin: 0 auto 14px;
    border-radius: 50%; background: var(--olive-tint); color: var(--olive);
    display: grid; place-items: center; font-size: 1.8rem; font-weight: 800;
}
.s-done h3 { font-size: 1.25rem; font-weight: 800; color: var(--olive-deep); margin-bottom: 8px; }
.s-done p { color: var(--ink-soft); margin-bottom: 18px; }

/* ── أسئلة ─────────────────────────────────────────────────────────────── */
.s-faq-wrap { max-width: 780px; }
.s-faq { display: grid; gap: 11px; }
.s-faq details {
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--r); overflow: hidden;
}
.s-faq summary {
    padding: 17px 20px; cursor: pointer; list-style: none;
    font-weight: 700; color: var(--olive-deep);
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.s-faq summary::-webkit-details-marker { display: none; }
.s-faq summary::after {
    content: '+'; font-size: 1.35rem; font-weight: 400;
    color: var(--olive-soft); flex-shrink: 0; transition: transform .2s ease;
}
.s-faq details[open] summary::after { transform: rotate(45deg); }
.s-faq p { padding: 0 20px 18px; color: var(--ink-soft); font-size: .95rem; }

/* ── Footer ────────────────────────────────────────────────────────────── */
.s-foot { background: var(--olive-dark); color: #C4CDB6; padding: 40px 0 20px; }
.s-foot-in { display: grid; gap: 24px; }
.s-foot-brand p { margin-top: 8px; font-size: .92rem; }
.s-foot-brand strong { color: var(--cream); }
.s-foot-links { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.s-foot-links a { text-decoration: none; font-size: .93rem; }
.s-foot-links a:hover { color: var(--cream); text-decoration: underline; }
.s-foot .s-btn { align-self: flex-start; }
.s-foot-legal {
    margin-top: 26px; padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, .1);
    font-size: .84rem; color: #8B9680;
}

/* زر واتساب عائم — أهم قناة تواصل بالعراق، فيظل بمتناول الإبهام دائماً */
.s-fab {
    position: fixed; inset-block-end: 18px; inset-inline-end: 18px; z-index: 50;
    width: 54px; height: 54px; border-radius: 50%;
    background: #25D366; color: #08331A;
    display: grid; place-items: center; font-size: 1.5rem;
    text-decoration: none; box-shadow: 0 6px 20px rgba(0, 0, 0, .25);
}

/* ── لوحي فما فوق ──────────────────────────────────────────────────────── */
@media (min-width: 720px) {
    .s-pain-grid { grid-template-columns: repeat(3, 1fr); }
    .s-feat-grid { grid-template-columns: repeat(2, 1fr); }
    .s-steps     { grid-template-columns: repeat(3, 1fr); }
    .s-plans     { grid-template-columns: repeat(3, 1fr); align-items: start; }
    .s-sec       { padding: 72px 0; }
}

@media (min-width: 960px) {
    .s-topnav { display: flex; }
    .s-hero { padding: 66px 0 76px; }
    .s-hero-in  { grid-template-columns: 1.08fr .92fr; align-items: center; gap: 46px; }
    .s-try-in   { grid-template-columns: 1fr 1fr; align-items: center; }
    .s-book-in  { grid-template-columns: 1fr 1fr; align-items: center; gap: 48px; }
    .s-feat-grid { grid-template-columns: repeat(3, 1fr); }
    .s-foot-in  { grid-template-columns: 1.4fr 1fr auto; align-items: center; }
    .s-phone { width: 300px; }
    .s-phone-live .s-screen { width: 278px; height: 570px; }
    .s-phone-live iframe { transform: scale(.713); }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .s-btn, .s-feat { transition: none; }
    .s-btn:hover, .s-feat:hover { transform: none; }
}
