/* مساكن الدوحة: clean proptech look, search-first. Fonts: IBM Plex Sans Arabic + Manrope. */
@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+Arabic:wght@400;500;600;700&family=Manrope:wght@500;700;800&display=swap");
body.site-rent { --bg: #f4f6fa; --ink: #0f1b33; --muted: #5c6478; --line: #e1e5ee; --accent: #1d3b6e; --accent2: #c9a35b; --sky: #e8eef8; --ok: #11795b;
  --font: "IBM Plex Sans Arabic", "Manrope", sans-serif; --display: "Manrope", "IBM Plex Sans Arabic", sans-serif; font-family: var(--font); background: var(--bg); }
.site-rent svg { width: 18px; height: 18px; flex: none; }

/* header: white minimal bar */
.site-rent #top { background: #fff; border-bottom: 1px solid var(--line); padding: 10px clamp(16px, 4vw, 48px); backdrop-filter: none; }
.r-brand { display: flex; align-items: center; gap: 10px; }
.r-brand img { width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line); }
.r-brand b { display: block; font-size: 17px; line-height: 1.15; } .r-brand small { color: var(--muted); font-size: 12px; }
.r-nav { display: flex; gap: 4px; background: var(--bg); border-radius: 999px; padding: 4px; }
.r-nav a { padding: 6px 14px; border-radius: 999px; font-size: 14.5px; color: var(--muted); font-weight: 500; }
.r-nav a:hover { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(15,27,51,.1); }
.r-end { display: flex; align-items: center; gap: 8px; }
.r-track, .r-lang { background: none; border: 1px solid var(--line); border-radius: 10px; padding: 7px 12px; font-size: 14px; font-weight: 600; }
.r-cta { display: inline-flex; align-items: center; background: var(--accent); color: #fff; border-radius: 10px; padding: 8px 16px; font-weight: 700; font-size: 14.5px; }
.r-tabs { display: none; }

/* hero: rounded photo banner + floating search bar */
body.site-rent #hero { min-height: 0; display: block; max-width: 1320px; margin: 0 auto; padding: 18px clamp(16px, 4vw, 48px) 10px; }
.r-banner { position: relative; border-radius: 22px; overflow: hidden; min-height: 470px; display: flex; align-items: flex-end; }
.r-banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.r-banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(8,16,34,.86) 8%, rgba(8,16,34,.25) 60%, rgba(8,16,34,.05)); }
.r-cap { position: relative; z-index: 1; color: #fff; padding: 34px clamp(20px, 4vw, 52px) 86px; max-width: 760px; }
.r-areas { list-style: none; margin: 0 0 14px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.r-areas li { background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.28); backdrop-filter: blur(6px); border-radius: 999px; padding: 3px 12px; font-size: 13px; }
.r-cap h1 { font-size: clamp(32px, 4.2vw, 52px); font-weight: 800; letter-spacing: -.5px; line-height: 1.15; margin-bottom: 10px; }
.r-cap p { margin: 0; font-size: 17px; color: rgba(255,255,255,.86); max-width: 620px; }
.r-search { position: relative; z-index: 2; margin: -54px clamp(12px, 3vw, 40px) 0; background: #fff; border-radius: 18px; box-shadow: 0 24px 50px -18px rgba(15,27,51,.35); padding: 10px; display: grid; grid-template-columns: 1fr 1fr 1fr auto; gap: 0; }
.r-f { display: grid; gap: 2px; padding: 8px 16px; border-inline-end: 1px solid var(--line); }
.r-f span { font-size: 12px; font-weight: 700; color: var(--accent); text-transform: uppercase; letter-spacing: .3px; }
.r-f select { border: 0; padding: 4px 0; font-weight: 600; font-size: 15.5px; background: transparent; cursor: pointer; }
.r-go { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 12px; background: var(--accent); color: #fff; font-weight: 700; font-size: 16px; padding: 0 30px; margin-inline-start: 8px; }
.r-go:hover { filter: brightness(1.12); }
.r-stats { list-style: none; padding: 0; margin: 22px auto 0; display: flex; justify-content: center; gap: clamp(18px, 5vw, 70px); }
.r-stats li { display: flex; align-items: baseline; gap: 8px; }
.r-stats b { font-family: var(--display); font-size: 24px; font-weight: 800; color: var(--accent); direction: ltr; }
.r-stats span { color: var(--muted); font-size: 14px; }

/* listings */
.r-homes { max-width: 1320px; padding-top: 34px; }
.r-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; margin-bottom: 16px; }
.r-head h2 { font-size: clamp(26px, 3vw, 36px); font-weight: 800; }
.r-count { margin: 2px 0 0; color: var(--muted); font-size: 14.5px; }
.r-tools { display: flex; gap: 8px; align-items: center; }
.r-sort { width: auto; border-radius: 10px; padding: 8px 12px; font-size: 14px; font-weight: 600; }
.r-clear { background: none; border: 0; color: var(--accent); text-decoration: underline; font-size: 14px; font-weight: 600; }
.r-chips { display: flex; gap: 8px; overflow-x: auto; padding: 2px 0 14px; margin-bottom: 8px; scrollbar-width: none; }
.r-chips::-webkit-scrollbar { display: none; }
.r-chips button { flex: none; display: inline-flex; gap: 8px; align-items: center; border: 1px solid var(--line); background: #fff; border-radius: 10px; padding: 7px 14px; font-size: 14.5px; font-weight: 600; }
.r-chips button i { font-style: normal; font-size: 12px; background: var(--bg); color: var(--muted); border-radius: 6px; padding: 0 7px; }
.r-chips button.on { background: var(--ink); color: #fff; border-color: var(--ink); } .r-chips button.on i { background: rgba(255,255,255,.18); color: #fff; }
.r-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.r-card { background: #fff; border-radius: 16px; overflow: hidden; cursor: pointer; border: 1px solid var(--line); display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; animation: kitpop .45s both; }
.r-card:hover { box-shadow: 0 20px 40px -22px rgba(15,27,51,.45); transform: translateY(-3px); }
.r-ph { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.r-ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; } .r-card:hover .r-ph img { transform: scale(1.05); }
.r-badge { position: absolute; top: 12px; inset-inline-start: 12px; background: #fff; color: var(--ok); font-weight: 700; font-size: 12.5px; border-radius: 8px; padding: 3px 10px; }
.r-price { position: absolute; bottom: 12px; inset-inline-start: 12px; background: var(--ink); color: #fff; font-family: var(--display); font-weight: 800; font-size: 16px; border-radius: 10px; padding: 6px 12px; }
.r-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.r-loc { margin: 0; display: flex; align-items: center; gap: 5px; color: var(--accent); font-size: 13.5px; font-weight: 600; }
.r-loc svg { width: 15px; height: 15px; }
.r-loc em { margin-inline-start: auto; font-style: normal; color: var(--muted); font-weight: 500; background: var(--bg); border-radius: 6px; padding: 1px 8px; font-size: 12.5px; }
.r-body h3 { font-size: 17px; font-family: var(--font); font-weight: 700; line-height: 1.4; }
.r-spec { list-style: none; padding: 10px 0; margin: 0; display: flex; gap: 14px; border-block: 1px dashed var(--line); }
.r-spec li { display: flex; align-items: center; gap: 6px; font-size: 14px; color: var(--ink); }
.r-spec svg { color: var(--muted); }
.r-bills { margin: 0; font-size: 13.5px; color: #8a6418; display: flex; gap: 7px; align-items: center; }
.r-bills::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent2); flex: none; }
.r-bills.yes { color: var(--ok); } .r-bills.yes::before { background: var(--ok); }
.r-book { margin-top: auto; border: 1.5px solid var(--accent); color: var(--accent); background: #fff; border-radius: 10px; padding: 9px; font-weight: 700; }
.r-card:hover .r-book { background: var(--accent); color: #fff; }
.r-empty { grid-column: 1 / -1; text-align: center; background: #fff; border: 1px dashed var(--line); border-radius: 16px; padding: 40px 16px; }

/* how it works: navy band, horizontal timeline */
.r-how { background: var(--ink); color: #fff; margin-top: 30px; }
.r-howin { max-width: 1320px; margin: 0 auto; padding: clamp(46px, 6vw, 76px) clamp(16px, 4vw, 48px); }
.r-how h2 { font-size: clamp(26px, 3vw, 36px); font-weight: 800; margin-bottom: 34px; }
.r-how ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; position: relative; }
.r-how ol::before { content: ""; position: absolute; top: 21px; inset-inline: 22px; height: 2px; background: repeating-linear-gradient(90deg, rgba(255,255,255,.35) 0 8px, transparent 8px 14px); }
.r-how li { position: relative; }
.r-how li b { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--accent2); color: var(--ink); font-family: var(--display); font-size: 19px; font-weight: 800; margin-bottom: 14px; position: relative; }
.r-how h3 { font-size: 18px; font-family: var(--font); margin-bottom: 4px; } .r-how p { margin: 0; color: rgba(255,255,255,.72); font-size: 15px; }

/* request */
.r-req { max-width: 1320px; display: grid; grid-template-columns: .8fr 1.2fr; gap: 26px; align-items: stretch; }
.r-reqside { position: relative; border-radius: 18px; overflow: hidden; min-height: 380px; display: flex; align-items: flex-end; }
.r-reqside img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.r-reqside::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(15,27,51,.92), rgba(15,27,51,0) 60%); }
.r-reqside div { position: relative; z-index: 1; color: #fff; padding: 24px; }
.r-reqside h2 { font-size: clamp(24px, 2.6vw, 32px); font-weight: 800; } .r-reqside p { margin: 6px 0 0; color: rgba(255,255,255,.85); }
.r-reqbox .inline-form { max-width: none; border-radius: 18px; height: 100%; margin: 0; }
.site-rent .inline-form h3, .site-rent .form-sheet h3 { font-family: var(--font); font-size: 20px; }
.site-rent .btn { border-radius: 10px; } .site-rent .chips button { border-radius: 8px; } .site-rent .chips button.on { background: var(--ink); border-color: var(--ink); }

/* faq */
.r-faq { max-width: 1320px; }
.r-faq h2 { font-size: clamp(26px, 3vw, 36px); font-weight: 800; margin-bottom: 20px; }
.r-faqgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: start; }
.r-faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; }
.r-faq summary { list-style: none; cursor: pointer; font-weight: 700; display: flex; justify-content: space-between; gap: 12px; }
.r-faq summary::-webkit-details-marker { display: none; }
.r-faq summary::after { content: "+"; flex: none; width: 26px; height: 26px; border-radius: 8px; background: var(--sky); color: var(--accent); display: grid; place-items: center; font-weight: 700; }
.r-faq details[open] summary::after { content: "–"; background: var(--accent); color: #fff; }
.r-faq details p { margin: 10px 0 0; color: var(--muted); }

/* footer */
.site-rent #foot { display: block; background: #0b1428; color: #c9d1e3; border: 0; padding: 0; text-align: start; }
.r-foot { max-width: 1320px; margin: 0 auto; padding: 46px clamp(16px, 4vw, 48px) 100px; display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 26px; }
.r-fbrand img { width: 46px; height: 46px; border-radius: 10px; background: #fff; margin-bottom: 10px; }
.r-fbrand b { font-size: 19px; color: #fff; } .r-fbrand p { margin: 4px 0 0; }
.r-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.r-fend p { margin: 0 0 6px; } .site-rent #foot .photo-note { color: #8f9ab3; }

@media (max-width: 1000px) { .r-list { grid-template-columns: 1fr 1fr; } .r-how ol { grid-template-columns: 1fr 1fr; } .r-how ol::before { display: none; } }
@media (max-width: 900px) {
  .r-nav, .r-cta, .r-brand small { display: none; }
  .r-tabs { display: flex; position: fixed; bottom: 0; inset-inline: 0; z-index: 45; background: #fff; border-top: 1px solid var(--line); padding: 6px 6px calc(6px + env(safe-area-inset-bottom)); box-shadow: 0 -8px 24px -12px rgba(15,27,51,.25); }
  .r-tabs a { flex: 1; text-align: center; font-size: 13px; font-weight: 600; color: var(--muted); padding: 9px 2px; border-radius: 10px; white-space: nowrap; }
  .r-tabs a:first-child { background: var(--sky); color: var(--accent); }
  body.site-rent #hero { padding: 10px 12px 0; }
  .r-banner { min-height: 440px; border-radius: 18px; }
  .r-cap { padding: 22px 18px 70px; } .r-cap p { font-size: 15px; }
  .r-search { grid-template-columns: 1fr 1fr; margin: -48px 8px 0; padding: 8px; }
  .r-f { border: 0; border-bottom: 1px solid var(--line); padding: 8px 10px; }
  .r-f:first-child { grid-column: 1 / -1; }
  .r-go { grid-column: 1 / -1; margin: 8px 0 0; padding: 13px; }
  .r-stats { gap: 16px; flex-wrap: wrap; } .r-stats li { flex-direction: column; align-items: center; gap: 0; } .r-stats span { font-size: 12.5px; }
  .r-req, .r-faqgrid, .r-foot { grid-template-columns: 1fr; }
  .r-reqside { min-height: 260px; }
}
@media (max-width: 640px) {
  .r-list { grid-template-columns: 1fr; } .r-how ol { grid-template-columns: 1fr; }
  .r-head { flex-wrap: wrap; } .r-track, .r-lang { padding: 6px 9px; font-size: 13px; }
}
