/* MGMT – الصفحة الرئيسية الجديدة [rento_home] */
.ro-home { --b: #b02486; --bd: #8a1b69; --bl: #fbeff6; --ac: #fb6a27; --ink: #1a202c; --mut: #5f6b7a; --line: #e6e9ef; --soft: #f7f8fb; --r: 18px; --sh: 0 1px 2px rgba(26, 32, 44, .04), 0 8px 24px rgba(26, 32, 44, .06); color: var(--ink); line-height: 1.6; overflow-x: clip; }
.ro-home *, .ro-home *::before, .ro-home *::after { box-sizing: border-box; }
.ro-home a { text-decoration: none; color: inherit; }
.rh-wrap { max-width: 1240px; margin-inline: auto; padding-inline: 20px; }
/* البانر */
.rh-hero { position: relative; color: #fff; background: linear-gradient(120deg, #4e0c3c, #8a1b69 45%, #b02486); overflow: hidden; }
.rh-hero.has-bg { background: linear-gradient(90deg, rgba(78, 12, 60, .88), rgba(138, 27, 105, .55) 55%, rgba(0, 0, 0, .1)), var(--rh-bg) center / cover no-repeat; }
.ro-home[dir=rtl] .rh-hero.has-bg { background: linear-gradient(-90deg, rgba(78, 12, 60, .88), rgba(138, 27, 105, .55) 55%, rgba(0, 0, 0, .1)), var(--rh-bg) center / cover no-repeat; }
.rh-hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 12% 25%, rgba(255, 255, 255, .12), transparent 40%), radial-gradient(circle at 92% 95%, rgba(251, 106, 39, .3), transparent 45%); pointer-events: none; }
.rh-hero-in { position: relative; z-index: 1; padding-top: 64px; padding-bottom: 130px; max-width: 1240px; }
.rh-hero h1 { color: #fff; font-size: clamp(30px, 4.4vw, 50px); line-height: 1.2; margin: 0 0 12px; max-width: 720px; }
.rh-lead { font-size: clamp(16px, 1.6vw, 19px); opacity: .92; margin: 0 0 18px; max-width: 640px; }
.rh-trust { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 14px; }
.rh-trust li::before { content: "✓"; color: #ffa100; font-weight: 800; margin-inline-end: 6px; }
.rh-search { position: relative; z-index: 5; margin-top: -92px; }
.rh-search .ro-offer { max-width: none; padding-bottom: 0; }
/* الأقسام */
.rh-sec { padding-top: 64px; }
.rh-sh { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.rh-sh h2 { margin: 0; font-size: clamp(22px, 2.4vw, 30px); }
.rh-sh p { margin: 4px 0 0; color: var(--mut); }
.rh-link, .rh-more a { color: var(--b); font-weight: 800; font-size: 15px; }
.rh-more { text-align: center; margin: 18px 0 0; }
.rh-btn { display: inline-block; background: var(--b); color: #fff !important; border-radius: 10px; padding: 9px 18px; font-weight: 800; font-size: 14px; white-space: nowrap; }
.rh-btn-ac { background: var(--ac); }
/* العروض */
.rh-offers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.rh-offers.is-1 { grid-template-columns: 1fr; }
.rh-offers.is-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
/* الصورة بنفس نسبة تصميم صورة العرض (1600×700) علشان الكلام اللي في التصميم ما يتقصش */
.rh-offer { display: flex; flex-direction: column; border-radius: var(--r); overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--sh); transition: transform .2s, box-shadow .2s; }
.rh-offer:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(176, 36, 134, .14); }
.rh-offer-im { display: block; aspect-ratio: 16 / 7; background: linear-gradient(135deg, var(--b), var(--ac)); }
.rh-offer-im img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rh-offer-b { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 14px 16px; }
.rh-offer-b b { display: block; }
.rh-offer-b small { color: var(--mut); font-size: 12px; }
.rh-offer.is-soon { border-style: dashed; background: var(--soft, #f8fafc); }
.rh-offer.is-soon:hover { transform: none; box-shadow: var(--sh); }
.rh-offer.is-soon .rh-offer-im { background: #e2e8f0; }
.rh-soon-a { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.rh-notify { border: 1.5px solid var(--line); border-radius: 10px; padding: 6px 14px; font-weight: 800; font-size: 13px; background: #fff; white-space: nowrap; }
.rh-notify:hover { border-color: #25d366; color: #128c4a; }
.rh-soon { background: #e2e8f0; color: #4a5568; border-radius: 999px; padding: 5px 14px; font-weight: 800; font-size: 13px; white-space: nowrap; }
/* السيارات */
.rh-cars { max-width: none; padding: 0; }
.rh-tabs { margin-bottom: 14px; }
/* الخطوات */
.rh-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.rh-step { background: var(--soft); border-radius: var(--r); padding: 24px; }
.rh-step i { font-style: normal; display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--b); color: #fff; font-weight: 800; font-size: 19px; margin-bottom: 10px; }
.rh-step h3 { margin: 0 0 4px; font-size: 18px; }
.rh-step p { margin: 0; color: var(--mut); font-size: 14px; }
/* الاشتراك */
.rh-plans { display: grid; grid-template-columns: 1.1fr .9fr; gap: 24px; align-items: center; background: linear-gradient(120deg, #1a202c, #2d3748); border-radius: 24px; color: #fff; padding: 34px; }
.rh-plans h2 { color: #fff; margin: 0 0 6px; font-size: clamp(22px, 2.4vw, 30px); }
.rh-plans p { opacity: .85; margin: 0 0 16px; }
.rh-pl { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.rh-pl a { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .15); border-radius: 14px; padding: 16px 8px; text-align: center; color: #fff; transition: background .2s; }
.rh-pl a:hover { background: rgba(255, 255, 255, .16); }
.rh-pl b { display: block; font-size: 26px; color: #ffa100; line-height: 1.1; }
.rh-pl small { opacity: .8; }
/* ليه رينتو */
.rh-why { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.rh-why > div { border: 1px solid var(--line); border-radius: var(--r); padding: 20px; }
.rh-ic { width: 34px; height: 34px; fill: none; stroke: var(--b); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; background: var(--bl); border-radius: 10px; padding: 6px; }
.rh-why b { display: block; margin: 8px 0 4px; }
.rh-why p { margin: 0; color: var(--mut); font-size: 14px; }
/* الفروع */
.rh-br { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.rh-regions { display: grid; gap: 10px; align-content: start; }
.rh-rg { border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; }
.rh-rg b { display: block; margin-bottom: 8px; }
.rh-rg a { display: inline-block; margin: 0 0 6px 6px; font-size: 14px; border: 1px solid var(--line); border-radius: 999px; padding: 4px 14px; transition: all .2s; }
.rh-rg a:hover { border-color: var(--b); color: var(--b); }
.rh-map { width: 100%; min-height: 320px; height: 100%; border: 0; border-radius: var(--r); background: var(--soft); }
/* الأسئلة */
.rh-faq-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 32px; align-items: start; }
.rh-faq-side { position: sticky; top: 100px; background: var(--soft); border-radius: var(--r); padding: 26px; }
.rh-faq-side h2 { margin: 0 0 8px; font-size: clamp(22px, 2.4vw, 30px); }
.rh-faq-side p { margin: 0 0 16px; color: var(--mut); }
.rh-btn-wa { background: #25d366; }
.rh-faq { display: grid; gap: 10px; }
.rh-faq details { border: 1px solid var(--line); border-radius: 14px; padding: 0 18px; background: #fff; }
.rh-faq summary { cursor: pointer; list-style: none; padding: 15px 0; font-weight: 700; display: flex; justify-content: space-between; gap: 12px; }
.rh-faq summary::-webkit-details-marker { display: none; }
.rh-faq summary::after { content: "+"; color: var(--b); font-weight: 800; font-size: 20px; line-height: 1; }
.rh-faq details[open] summary::after { content: "−"; }
.rh-faq p { margin: 0 0 15px; color: var(--mut); }
/* واتساب والتطبيق */
.rh-app { margin: 64px 0; background: var(--bl); border-radius: 24px; padding: 28px 32px; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.rh-app h2 { margin: 0 0 4px; font-size: 24px; }
.rh-app p { margin: 0; color: var(--mut); }
.rh-app-a { display: flex; gap: 8px; flex-wrap: wrap; }
.rh-app-a a { background: #1a202c; color: #fff; border-radius: 12px; padding: 11px 18px; font-weight: 700; font-size: 14px; }
.rh-app-a .rh-wa { background: #25d366; }
.ro-home > .rh-sec:last-child { padding-bottom: 64px; }
@media (max-width: 900px) {
  .rh-faq-wrap { grid-template-columns: 1fr; gap: 14px; }
  .rh-faq-side { position: static; padding: 0; background: none; }
  .rh-hero.has-bg { background-image: linear-gradient(180deg, rgba(78, 12, 60, .55), rgba(78, 12, 60, .88)), var(--rh-bg-m, var(--rh-bg)); background-size: cover; background-position: center; }
  .ro-home[dir=rtl] .rh-hero.has-bg { background-image: linear-gradient(180deg, rgba(78, 12, 60, .55), rgba(78, 12, 60, .88)), var(--rh-bg-m, var(--rh-bg)); }
  .rh-hero-in { padding-top: 36px; padding-bottom: 110px; }
  .rh-offers, .rh-offers.is-2, .rh-steps, .rh-why { grid-template-columns: 1fr; }
  .rh-plans, .rh-br { grid-template-columns: 1fr; }
  .rh-plans { padding: 24px; }
  .rh-pl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rh-why { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rh-search { margin-top: -84px; padding-inline: 12px; }
}
/* 0.36.9: «تصفح الأسطول كاملًا» و«كل العروض» زرار، بمسافة أكبر عن الكروت */
.rh-more { margin: 36px 0 0; }
.ro-home .rh-more a { display: inline-flex; align-items: center; gap: 8px; border: 2px solid var(--b); color: var(--b); background: #fff; border-radius: 12px; padding: 12px 28px; font-size: 15px; font-weight: 800; transition: background .15s, color .15s, transform .15s; }
.ro-home .rh-more a:hover { background: var(--b); color: #fff; transform: translateY(-1px); }
@media (max-width: 640px) { .rh-more { margin-top: 28px; } .ro-home .rh-more a { display: flex; justify-content: center; } }
/* 0.36.10: مسافة مضمونة بين كروت السيارات/العروض والزرار (القالب كان بيلغي هامش الفقرة) */
.ro-home .rh-cars, .ro-home .rh-offers { margin-bottom: 0 !important; }
.ro-home .rh-more { margin: 44px 0 0 !important; padding: 0; }
@media (max-width: 640px) { .ro-home .rh-more { margin-top: 32px !important; } }

/* سلايدر الرئيسية: صور 1600×700 (16:7) */
.rh-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.rh-slider { position: relative; max-width: 1600px; margin-inline: auto; aspect-ratio: 16 / 7; overflow: hidden; background: linear-gradient(120deg, #4e0c3c, #8a1b69 45%, #b02486); }
.rh-sl-track { position: absolute; inset: 0; }
.rh-slide { position: absolute; inset: 0; display: block; opacity: 0; visibility: hidden; transition: opacity .6s ease, visibility .6s; color: #fff; }
.rh-slide.is-on { opacity: 1; visibility: visible; }
.rh-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rh-slide.has-txt::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(78, 12, 60, .82), rgba(138, 27, 105, .35) 50%, rgba(0, 0, 0, 0) 75%); }
.ro-home[dir=rtl] .rh-slide.has-txt::before { background: linear-gradient(-90deg, rgba(78, 12, 60, .82), rgba(138, 27, 105, .35) 50%, rgba(0, 0, 0, 0) 75%); }
.rh-slide-t { position: absolute; inset: 0; z-index: 2; display: flex; align-items: center; }
.rh-slide-t .rh-wrap { width: 100%; padding-bottom: 40px; }
.rh-slide-t h2 { color: #fff; font-size: clamp(22px, 3.6vw, 46px); line-height: 1.2; margin: 0 0 10px; max-width: 620px; }
.rh-slide-t p { font-size: clamp(13px, 1.5vw, 18px); margin: 0 0 16px; max-width: 560px; opacity: .95; }
.rh-btn-w { background: #fff; color: var(--b) !important; }
.rh-sl-a { all: unset; box-sizing: border-box; position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 42px; height: 42px; border-radius: 50%; background: rgba(255, 255, 255, .85); color: var(--b); display: grid; place-items: center; font-size: 26px; font-weight: 800; line-height: 1; cursor: pointer; box-shadow: 0 4px 14px rgba(0, 0, 0, .15); }
.rh-sl-a:hover { background: #fff; }
.rh-sl-a.is-prev { inset-inline-start: 14px; }
.rh-sl-a.is-next { inset-inline-end: 14px; }
.ro-home[dir=rtl] .rh-sl-a { transform: translateY(-50%) scaleX(-1); }
.rh-sl-dots { position: absolute; z-index: 3; bottom: 54px; left: 50%; transform: translateX(-50%); display: flex; gap: 6px; }
.rh-sl-dots button { all: unset; cursor: pointer; width: 8px; height: 8px; border-radius: 9px; background: rgba(255, 255, 255, .6); transition: width .3s; }
.rh-sl-dots button.is-on { width: 24px; background: #fff; }
.ro-home.has-slider .rh-search { margin-top: -40px; }
@media (max-width: 900px) {
  .rh-slide-t .rh-wrap { padding-bottom: 16px; }
  .rh-slide-t p { display: none; }
  .rh-slide-t .rh-btn { padding: 6px 12px; font-size: 12px; }
  .rh-sl-a { display: none; }
  .rh-sl-dots { bottom: 26px; }
  .ro-home.has-slider .rh-search { margin-top: -20px; }
}
@media (prefers-reduced-motion: reduce) { .rh-slide { transition: none; } }
.rh-slider.is-multi .rh-slide-t .rh-wrap { padding-inline: 72px; }
@media (max-width: 900px) { .rh-slider.is-multi .rh-slide-t .rh-wrap { padding-inline: 16px; } }
/* 0.47.64: تصغير سلايدر الرئيسية: عرض الصفحة كامل وارتفاع 480 بكسل بحد أقصى (زي شكل 0.47.59) */
.rh-slider { width: 100%; max-width: none; aspect-ratio: auto; height: min(43.75vw, 480px); }
.rh-sl-dots { bottom: 54px; }

/* 0.47.70: الصورة بتظهر كاملة بأي مقاس (من غير قص)، والفراغ حواليها بيتملا بنسخة مموّهة من نفس الصورة */
.rh-slide-bg { position: absolute; inset: -60px; background-size: cover; background-position: center; filter: blur(26px) brightness(.8); transform: scale(1.05); }
.rh-slide img { position: relative; object-fit: contain; }
.rh-hero.has-bg { --rh-img: var(--rh-bg); isolation: isolate; }
.rh-hero.has-bg, .ro-home[dir=rtl] .rh-hero.has-bg { background: #4e0c3c !important; }
.rh-hero.has-bg::before { content: ""; position: absolute; inset: -60px; z-index: 0; display: block; aspect-ratio: auto; height: auto; background: var(--rh-img) center / cover no-repeat; filter: blur(26px) brightness(.75); transform: scale(1.05); }
.rh-hero.has-bg::after { content: ""; position: absolute; inset: 0; z-index: 0; display: block; background: linear-gradient(90deg, rgba(78, 12, 60, .88), rgba(138, 27, 105, .55) 55%, rgba(0, 0, 0, .1)), var(--rh-img) center / contain no-repeat; }
[dir=rtl] .rh-hero.has-bg::after, .rh-hero.has-bg[dir=rtl]::after { background: linear-gradient(-90deg, rgba(78, 12, 60, .88), rgba(138, 27, 105, .55) 55%, rgba(0, 0, 0, .1)), var(--rh-img) center / contain no-repeat; }
.rh-hero.has-bg > .rh-wrap { position: relative; z-index: 1; }
@media (max-width: 900px) {
  .rh-hero.has-bg { --rh-img: var(--rh-bg-m, var(--rh-bg)); }
  .rh-hero.has-bg::after, [dir=rtl] .rh-hero.has-bg::after { background: linear-gradient(180deg, rgba(78, 12, 60, .55), rgba(78, 12, 60, .88)), var(--rh-img) center / contain no-repeat; }
}
/* 0.47.71: نقط السلايدر مخفية على الجوال (التقليب بالسحب بالإصبع وتلقائي) */
@media (max-width: 900px) { .rh-sl-dots { display: none !important; } }

/* 0.47.73: الجوال زي الكمبيوتر: نفس الصورة بنفس شكلها (16:5) كاملة فوق، والعنوان تحتها */
@media (max-width: 900px) {
  .rh-hero.has-bg, .ro-home[dir=rtl] .rh-hero.has-bg { padding-top: 31.25vw; background: linear-gradient(180deg, #8a1b69, #4e0c3c) !important; }
  .rh-hero.has-bg::before { inset: auto; top: -30px; left: -30px; right: -30px; height: calc(31.25vw + 60px); clip-path: inset(30px); }
  .rh-hero.has-bg::after, [dir=rtl] .rh-hero.has-bg::after { inset: auto; top: 0; left: 0; right: 0; height: 31.25vw; background: var(--rh-img) center / contain no-repeat !important; }
  .rh-hero.has-bg .rh-hero-in { padding-top: 18px; }
}
@media (max-width: 900px) {
  .rh-hero.has-bg:not(.ra-hero):not(.rc-hero) .rh-hero-in { padding-bottom: 26px; }
  .ro-home.ro-main:not(.has-slider) .rh-hero.has-bg .rh-hero-in { padding-bottom: 100px; } /* الرئيسية من غير سلايدر: خانة البحث راكبة على آخر القسم */
}
