/* تنسيق صفحات الموقع العامة: الرئيسية و/parts و/sell-car.
   النموذج في كل صفحة يفتح واتساب 209 برسالة جاهزة (js/wa-order.js)، والتطبيق
   يكمّل الطلب بنفس الرقم. الألوان نفسها ألوان التطبيق. */

:root {
    --ink: #0D3B2E;
    --ink-2: #13463A;
    --ink-deep: #0A2E24;
    --brand: #2ECC71;
    --brand-700: #047857;
    --brand-800: #065F46;
    --mint: #A8EDCA;
    --mint-50: #ECFDF5;
    --amber-700: #B45309;
    --amber-800: #92400E;
    --amber-50: #FFF4E5;
    --bg: #F5F8F6;
    --surface: #FFFFFF;
    --soft: #EEF3F0;
    --line: #E2E8E5;
    --field: #D5DED9;
    --text: #0F1C17;
    --muted: #56665F;
    --placeholder: #687770;
    --danger: #B91C1C;
    /* الخط: Cairo للعربي واللاتيني، وخط Noto للغات الأخرى (utils/site-i18n.js يحمّله في صفحة لغته) */
    --font: 'Cairo', system-ui, -apple-system, 'Segoe UI', Tahoma, sans-serif;
}
html[lang="hi"], html[lang="ne"] { --font: 'Noto Sans Devanagari', 'Cairo', system-ui, sans-serif; }
html[lang="ur"] { --font: 'Noto Nastaliq Urdu', 'Cairo', serif; }
html[lang="bn"] { --font: 'Noto Sans Bengali', 'Cairo', system-ui, sans-serif; }
html[lang="ml"] { --font: 'Noto Sans Malayalam', 'Cairo', system-ui, sans-serif; }
html[lang="ta"] { --font: 'Noto Sans Tamil', 'Cairo', system-ui, sans-serif; }
html[lang="te"] { --font: 'Noto Sans Telugu', 'Cairo', system-ui, sans-serif; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 8px; }
[hidden] { display: none !important; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.ic { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ───────── الهيدر ───────── */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--surface); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 900; font-size: 1.2rem; color: var(--text); white-space: nowrap; }
.brand img { width: 40px; height: 40px; border-radius: 11px; }
.nav-links { display: flex; gap: 26px; margin-inline-start: auto; font-weight: 700; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--brand-700); }
.btn-app { display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 18px; border-radius: 12px; background: var(--ink); color: #fff; font-weight: 800; white-space: nowrap; }
.btn-app:hover { background: var(--ink-2); }
.btn-app .ic { width: 18px; height: 18px; }

/* ───────── الهيرو والنموذج ───────── */
.hero { background-color: var(--ink); background-image: radial-gradient(rgba(168, 237, 202, .1) 1px, transparent 1px); background-size: 22px 22px; color: #fff; }
.hero-grid { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; padding-block: 64px 72px; }
.hero-copy { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.crumbs { font-size: .9rem; font-weight: 700; color: rgba(255, 255, 255, .72); }
.crumbs a { color: var(--mint); }
.eyebrow { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: rgba(168, 237, 202, .12); border: 1px solid rgba(168, 237, 202, .35); color: var(--mint); font-size: .95rem; font-weight: 800; }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand); }
.hero h1 { font-size: clamp(2rem, 5vw, 3.6rem); line-height: 1.25; font-weight: 900; }
.hero h1 .hl { color: var(--mint); }
.lead { font-size: clamp(1rem, 1.6vw, 1.25rem); line-height: 1.8; color: rgba(255, 255, 255, .82); max-width: 32em; }

.checks { display: flex; flex-direction: column; gap: 10px; font-weight: 700; }
.checks li { display: flex; align-items: flex-start; gap: 10px; }
.checks .ic { margin-top: 3px; color: var(--brand); }

.hero-stores { display: flex; flex-direction: column; gap: 10px; }
.hero-stores > span { font-size: .95rem; font-weight: 800; color: var(--mint); }
.stores { display: flex; flex-wrap: wrap; gap: 12px; }
.store-btn { display: inline-flex; align-items: center; gap: 10px; min-height: 56px; padding: 0 18px; border-radius: 14px; background: #000; color: #fff; border: 1px solid rgba(255, 255, 255, .28); transition: transform .2s; }
.store-btn:hover { transform: translateY(-2px); }
.store-btn svg { width: 26px; height: 26px; flex-shrink: 0; }
.store-btn small { display: block; font-size: .7rem; font-weight: 600; opacity: .82; line-height: 1.3; }
.store-btn strong { display: block; font-size: 1.05rem; font-weight: 800; line-height: 1.2; }
.stores.fill .store-btn { flex: 1 1 0; justify-content: center; padding: 0 10px; }

.order-card { flex: 1 1 460px; min-width: 0; max-width: 520px; background: var(--surface); color: var(--text); border-radius: 28px; padding: 28px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .45); display: flex; flex-direction: column; gap: 18px; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.card-head h2 { font-size: 1.25rem; font-weight: 900; }
.pill { font-size: .8rem; font-weight: 800; color: var(--brand-700); background: var(--mint-50); padding: 4px 10px; border-radius: 999px; white-space: nowrap; }

.tabs { display: flex; gap: 6px; padding: 6px; border-radius: 16px; background: var(--soft); }
.tab { flex: 1; min-height: 48px; border: 0; border-radius: 12px; display: flex; align-items: center; justify-content: center; gap: 8px; font: 800 1rem var(--font); background: transparent; color: var(--muted); cursor: pointer; }
.tab .ic { width: 20px; height: 20px; }
.tab[aria-selected="true"] { background: #fff; color: var(--brand-700); box-shadow: 0 1px 2px rgba(13, 59, 46, .08), 0 4px 12px rgba(13, 59, 46, .08); }
.tab[data-tab="car"][aria-selected="true"] { color: var(--amber-700); }

.wa-form { display: flex; flex-direction: column; gap: 16px; }
.row { display: flex; gap: 12px; }
.row > .grow { flex: 2 1 0; min-width: 0; }
.row > .narrow { flex: 1 1 0; min-width: 0; }
.lbl { display: block; font-size: .92rem; font-weight: 700; margin-bottom: 6px; }
.lbl small { font-weight: 600; color: var(--muted); font-size: .85rem; }
.inp { width: 100%; height: 52px; border: 1.5px solid var(--field); border-radius: 14px; padding: 0 14px; font: 600 1rem var(--font); color: var(--text); background: #fff; }
textarea.inp { height: 92px; padding: 12px 14px; resize: vertical; line-height: 1.6; }
.inp::placeholder { color: var(--placeholder); }
.inp:focus { outline: none; border-color: var(--brand-700); box-shadow: 0 0 0 3px #CDEFE0; }
.inp[aria-invalid="true"] { border-color: var(--danger); }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend { padding: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 999px; border: 1.5px solid var(--field); background: #fff; font-weight: 700; font-size: .92rem; cursor: pointer; }
.chip input:checked + span { background: var(--amber-50); border-color: var(--amber-700); color: var(--amber-800); }
.chip input:focus-visible + span { outline: 3px solid var(--brand); outline-offset: 2px; }
fieldset[aria-invalid="true"] .chip span { border-color: var(--danger); }
.note { display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px; border-radius: 14px; background: var(--mint-50); color: var(--brand-800); font-size: .9rem; font-weight: 700; line-height: 1.6; }
.note .ic { width: 20px; height: 20px; margin-top: 2px; }
.note.amber { background: var(--amber-50); color: #7C2D12; }
.form-error { color: var(--danger); font-size: .9rem; font-weight: 700; }
.form-error:empty { display: none; }
.cta { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 58px; width: 100%; border: 0; border-radius: 16px; background: var(--brand-700); color: #fff; font: 800 1.1rem var(--font); cursor: pointer; }
.cta:hover { background: var(--brand-800); }
.hint { margin-top: -4px; text-align: center; font-size: .88rem; color: var(--muted); }
.or { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: .85rem; font-weight: 800; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.card-stores { display: none; flex-direction: column; gap: 14px; }

/* ───────── الأقسام ───────── */
.section { padding: 72px 0; }
.section-head { display: flex; flex-direction: column; align-items: center; gap: 10px; max-width: 720px; margin: 0 auto 32px; text-align: center; }
.kicker { font-size: .95rem; font-weight: 800; color: var(--brand-700); }
.section-head h2 { font-size: clamp(1.5rem, 3.4vw, 2.4rem); line-height: 1.35; font-weight: 900; }
.section-head p { color: var(--muted); font-size: 1.05rem; line-height: 1.8; }
.section-title { font-size: clamp(1.35rem, 2.6vw, 1.9rem); font-weight: 900; margin-bottom: 14px; }

/* الواتساب والتطبيق */
.ways { display: flex; flex-wrap: wrap; gap: 20px; align-items: stretch; }
.way { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 18px; padding: 28px; border-radius: 26px; background: var(--surface); border: 1px solid var(--line); }
.way.app { background: var(--ink); color: #fff; border-color: var(--ink); }
.way-head { display: flex; align-items: center; gap: 14px; }
.way-ico { width: 54px; height: 54px; flex-shrink: 0; border-radius: 17px; display: grid; place-items: center; background: var(--mint-50); color: var(--brand-700); }
.way-ico .ic { width: 28px; height: 28px; }
.way.app .way-ico { background: rgba(168, 237, 202, .14); color: var(--mint); }
.way-head h3 { font-size: 1.45rem; font-weight: 900; line-height: 1.3; }
.way-head p { font-size: .95rem; font-weight: 700; color: var(--muted); }
.way.app .way-head p { color: var(--mint); }
.way .checks .ic { color: var(--brand-700); }
.way.app .checks .ic { color: var(--brand); }
.way-foot { margin-top: auto; }
.btn-line { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 54px; border-radius: 14px; border: 1.5px solid var(--brand-700); color: var(--brand-700); font-weight: 800; }
.btn-line:hover { background: var(--mint-50); }

/* الخطوات */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.step { display: flex; flex-direction: column; gap: 10px; padding: 24px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); }
.num { width: 44px; height: 44px; flex-shrink: 0; border-radius: 14px; display: grid; place-items: center; background: var(--ink); color: var(--mint); font-size: 1.25rem; font-weight: 900; }
.step h3 { font-size: 1.3rem; font-weight: 900; }
.step p { color: var(--muted); line-height: 1.8; }
.fine { margin-top: 14px; padding: 12px 16px; border-radius: 14px; background: var(--surface); border: 1px dashed var(--field); font-size: .9rem; color: var(--muted); line-height: 1.8; }

/* بطاقات صفحتي التسويق */
.paths { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.path { display: flex; align-items: flex-start; gap: 18px; padding: 26px; border-radius: 24px; background: var(--surface); border: 1px solid var(--line); transition: border-color .2s; }
.path:hover { border-color: var(--brand-700); }
.path-ico { width: 56px; height: 56px; flex-shrink: 0; border-radius: 18px; display: grid; place-items: center; background: var(--mint-50); color: var(--brand-700); }
.path-ico .ic { width: 28px; height: 28px; }
.path.car .path-ico { background: var(--amber-50); color: var(--amber-700); }
.path h3 { font-size: 1.3rem; font-weight: 900; }
.path p { margin-top: 4px; color: var(--muted); line-height: 1.7; }
.go { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; font-weight: 800; color: var(--brand-700); }
.go .ic { width: 18px; height: 18px; }
.path.car .go { color: var(--amber-700); }

/* روابط وماركات (صفحات التسويق) */
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 16px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); font-weight: 800; font-size: .95rem; }
.tag .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--amber-700); margin-inline-end: 8px; }
button.tag { font: inherit; font-weight: 800; color: var(--text); cursor: pointer; }
a.tag:hover, button.tag:hover { border-color: var(--brand-700); color: var(--brand-700); }
.why { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.why li { display: flex; gap: 12px; padding: 18px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); }
.why .ico { width: 42px; height: 42px; flex-shrink: 0; border-radius: 13px; display: grid; place-items: center; background: var(--mint-50); color: var(--brand-700); }
.why b { display: block; font-weight: 900; }
.why p { color: var(--muted); font-size: .95rem; line-height: 1.7; }
.sample { max-width: 460px; border-radius: 22px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); }
.sample-photo { position: relative; height: 140px; display: grid; place-items: center; background: var(--soft); color: #8FA198; }
.sample-photo .ic { width: 64px; height: 64px; stroke-width: 1.5; }
.sample-photo .badge { position: absolute; top: 12px; padding: 4px 10px; border-radius: 999px; font-size: .78rem; font-weight: 800; }
.sample-photo .timer { inset-inline-start: 12px; background: var(--ink); color: #fff; }
.sample-photo .ex { inset-inline-end: 12px; background: #fff; color: var(--muted); }
.sample-body { padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.sample-title { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-weight: 900; font-size: 1.1rem; }
.sample-title span { padding: 3px 10px; border-radius: 999px; background: var(--amber-50); color: var(--amber-800); font-size: .78rem; }
.sample-high { display: flex; align-items: flex-end; justify-content: space-between; padding: 12px 14px; border-radius: 14px; background: var(--mint-50); }
.sample-high small { display: block; font-size: .78rem; font-weight: 700; color: var(--brand-700); }
.sample-high b { font-size: 1.6rem; font-weight: 900; color: var(--brand-800); font-variant-numeric: tabular-nums; }
.sample-high em { font-style: normal; font-size: .85rem; font-weight: 800; color: var(--brand-700); }

/* شريط التطبيق في صفحات التسويق */
.app-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding: 28px; border-radius: 26px; background: var(--ink); color: #fff; }
.app-band > div:first-child { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.app-band h2 { font-size: clamp(1.3rem, 2.6vw, 1.8rem); font-weight: 900; }
.app-band p { color: rgba(255, 255, 255, .82); line-height: 1.8; }

/* الأسئلة */
.faq { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 0 18px; }
.faq summary { list-style: none; cursor: pointer; min-height: 58px; display: flex; align-items: center; justify-content: space-between; gap: 12px; font-weight: 800; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { color: var(--muted); transition: transform .2s; }
.faq details[open] summary .ic { transform: rotate(180deg); }
.faq details p { margin-bottom: 16px; color: var(--muted); line-height: 1.8; }

/* ───────── الفوتر ───────── */
.site-footer { background: var(--ink-deep); color: rgba(255, 255, 255, .7); padding: 56px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; }
.site-footer h4 { color: #fff; font-size: 1.02rem; font-weight: 800; margin-bottom: 14px; }
.site-footer li { margin-bottom: 9px; }
.site-footer a:hover { color: #fff; }
.site-footer .brand { color: #fff; margin-bottom: 14px; }
.contact-li { display: flex; align-items: center; gap: 10px; }
.contact-li .ic { width: 17px; height: 17px; color: var(--brand); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); margin-top: 40px; padding-top: 22px; font-size: .9rem; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* زر واتساب الدعم العائم (الرئيسية) */
.wa-float { position: fixed; bottom: 22px; inset-inline-end: 22px; z-index: 60; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: #25D366; color: #fff; box-shadow: 0 10px 25px rgba(37, 211, 102, .4); transition: transform .2s; }
.wa-float:hover { transform: scale(1.07); }
.wa-float svg { width: 28px; height: 28px; fill: currentColor; }

/* زر ثابت أسفل الجوال (صفحات التسويق) */
.sticky-cta { display: none; }

/* الروابط لا تنكسر لسطرين (العناوين الإنجليزية أطول)، وفي الشاشات الأضيق يختفي «الواتساب والتطبيق» */
.nav-links a { white-space: nowrap; }
@media (max-width: 1180px) {
    .nav-links { gap: 16px; font-size: .92rem; }
    .nav-links a[href$="#both"] { display: none; }
}

/* ───────── قائمة اللغات (الهيدر) ───────── */
.lang-menu { position: relative; }
.lang-menu summary { list-style: none; display: inline-flex; align-items: center; gap: 6px; min-height: 46px; padding: 0 12px; border-radius: 12px; border: 1.5px solid var(--line); font-weight: 800; cursor: pointer; white-space: nowrap; }
.lang-menu summary::-webkit-details-marker { display: none; }
.lang-menu summary .ic { width: 19px; height: 19px; }
.lang-menu .lang-code { display: none; }
.lang-menu[open] summary, .lang-menu summary:hover { border-color: var(--brand-700); color: var(--brand-700); }
.lang-menu ul { position: absolute; top: calc(100% + 8px); inset-inline-end: 0; z-index: 70; min-width: 180px; padding: 6px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); box-shadow: 0 18px 40px -16px rgba(13, 59, 46, .35); display: grid; gap: 2px; }
.lang-menu li a { display: flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 10px; font-weight: 700; color: var(--text); }
.lang-menu li a:hover { background: var(--mint-50); color: var(--brand-700); }
.lang-menu li a[aria-current] { background: var(--mint-50); color: var(--brand-800); font-weight: 900; }
.footer-langs { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 32px; font-weight: 700; }
.footer-langs a[aria-current] { color: #fff; }

/* ───────── التشاليح المسجلة معنا (utils/scrapyards.js) ───────── */
.yards .section-title { margin-bottom: 6px; }
.yards-sub { color: var(--muted); margin-bottom: 16px; }
.yards-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 8px; }
.yard { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 52px; padding: 8px 14px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); font-weight: 800; }
.yard-name { display: flex; flex-direction: column; line-height: 1.4; min-width: 0; }
.yard-name small { font-size: .78rem; font-weight: 700; color: var(--muted); font-family: 'Cairo', system-ui, sans-serif; }
.yard-no { flex-shrink: 0; min-width: 40px; padding: 2px 8px; border-radius: 10px; background: var(--mint-50); color: var(--brand-800); font-weight: 900; text-align: center; font-variant-numeric: tabular-nums; font-family: 'Cairo', system-ui, sans-serif; }
.yards-more { margin-top: 10px; }
.yards-more summary { list-style: none; display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 18px; border-radius: 14px; border: 1.5px solid var(--brand-700); color: var(--brand-700); font-weight: 800; cursor: pointer; }
.yards-more summary::-webkit-details-marker { display: none; }
.yards-more summary .ic { width: 18px; height: 18px; transition: transform .2s; }
.yards-more summary:hover { background: var(--mint-50); }
.yards-more .less, .yards-more[open] .more { display: none; }
.yards-more[open] .less { display: inline; }
.yards-more[open] summary .ic { transform: rotate(180deg); }
.yards-more[open] .yards-list { margin-top: 10px; }

/* ───────── الصفحات اليسارية (الإنجليزي والهندي…): السهم يشير لليمين ───────── */
[dir="ltr"] .go .ic { transform: scaleX(-1); }

/* الأردو بخط النستعليق: سطوره أطول، فالمسافات أوسع والعناوين بلا خط 900 */
html[lang="ur"] body { line-height: 2.1; }
html[lang="ur"] h1, html[lang="ur"] h2, html[lang="ur"] h3 { line-height: 1.9; font-weight: 700; }
html[lang="ur"] .hero h1 { font-size: clamp(1.7rem, 4.2vw, 3rem); }
html[lang="ur"] .inp { height: 56px; }
html[lang="ur"] .chip span, html[lang="ur"] .tag { line-height: 2; }

/* ───────── الجوال ───────── */
@media (max-width: 900px) {
    .nav-links { display: none; }
    .lang-menu { margin-inline-start: auto; }
    .lang-menu summary { border-color: rgba(255, 255, 255, .25); color: #fff; }
    .lang-menu[open] summary, .lang-menu summary:hover { border-color: var(--mint); color: var(--mint); }
    .site-header { background: var(--ink); border-bottom-color: var(--ink); }
    .site-header .brand { color: #fff; }
    .site-header .btn-app { background: var(--mint); color: var(--ink); }

    .hero-grid { padding-block: 18px 0; gap: 22px; }
    .hero .checks, .hero-stores { display: none; }
    .order-card { max-width: none; padding: 18px; border-radius: 24px; margin-bottom: -84px; position: relative; z-index: 2; box-shadow: 0 24px 48px -18px rgba(13, 59, 46, .35); }
    .card-stores { display: flex; }
    .after-hero { padding-top: 120px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
    .footer-grid > :first-child, .footer-grid > :last-child { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
    .wrap { padding: 0 16px; }
    .header-inner { gap: 12px; min-height: 62px; }
    .brand { font-size: 1.08rem; gap: 8px; }
    .brand img { width: 36px; height: 36px; }
    .btn-app { min-height: 44px; padding: 0 12px; font-size: .9rem; gap: 6px; }
    .lang-menu summary { min-height: 44px; padding: 0 9px; gap: 4px; }
    .lang-menu .lang-now { display: none; }
    .lang-menu .lang-code { display: inline; font-size: .85rem; font-family: 'Cairo', system-ui, sans-serif; }
    .yards-list { grid-template-columns: 1fr 1fr; }
    .yard { padding: 8px 10px; font-size: .9rem; }
    .card-head h2 { font-size: 1.1rem; }
    .tab { font-size: .9rem; gap: 6px; white-space: nowrap; padding: 0 6px; }
    .tab .ic { width: 18px; height: 18px; }
    .section { padding: 44px 0; }
    .section-head { align-items: flex-start; text-align: start; margin-bottom: 18px; }
    .way, .app-band { padding: 18px; border-radius: 22px; }
    .way-head h3 { font-size: 1.2rem; }
    .step { flex-direction: row; align-items: flex-start; gap: 12px; padding: 14px; border-radius: 18px; }
    .num { width: 36px; height: 36px; border-radius: 11px; font-size: 1rem; }
    .step h3 { font-size: 1.05rem; }
    .step p { font-size: .92rem; }
    .path { padding: 16px; gap: 14px; }
    .path-ico { width: 46px; height: 46px; border-radius: 14px; }
    .path h3 { font-size: 1.1rem; }
    .stores .store-btn { flex: 1 1 0; justify-content: center; padding: 0 10px; }
    .wa-float { bottom: 16px; inset-inline-end: 16px; }
    .sticky-cta { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; padding: 10px 16px calc(12px + env(safe-area-inset-bottom)); background: rgba(245, 248, 246, .96); border-top: 1px solid var(--line); }
    .sticky-cta .cta { min-height: 52px; }
    .has-sticky { padding-bottom: 84px; }

    /* لغات عناوينها أطول (النيبالي والبنغالي والمليالم والتاميل والتيلوغو): زر التطبيق أيقونة فقط
       (اسمه يبقى لقارئ الشاشة)، والتبويبان والأزرار تنكسر لسطرين بدل أن تخرج عن الشاشة */
    html:is([lang="ne"], [lang="bn"], [lang="ml"], [lang="ta"], [lang="te"]) .btn-app { font-size: 0; gap: 0; width: 44px; padding: 0; justify-content: center; }
    html:is([lang="ne"], [lang="bn"], [lang="ml"], [lang="ta"], [lang="te"]) .btn-app .ic { width: 20px; height: 20px; }
    html:not([lang="ar"]) .tab { white-space: normal; line-height: 1.3; text-align: center; padding: 6px; }
    html:not([lang="ar"]) .cta { padding: 8px 12px; line-height: 1.4; text-align: center; }
    html:not([lang="ar"]) .card-head { flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .store-btn, .wa-float, .path, .faq summary .ic, .yards-more summary .ic { transition: none; }
}
