/* =========================================================
   RENT — listing + rental detail
   ========================================================= */

/* ---------- Listing layout ---------- */
.rent-layout { display: grid; grid-template-columns: 290px 1fr; gap: 2.5rem; align-items: start; }
.rent-filters { position: sticky; top: 100px; border: 1px solid var(--stone); background: #fff; }
.rf-head { display: flex; justify-content: space-between; align-items: center; padding: 1.2rem 1.4rem; border-bottom: 1px solid var(--stone); }
.rf-head h2 { font-size: 1.6rem; font-weight: 400; margin: 0; }
.rf-reset { background: none; border: 0; font-size: .64rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-deep); }
.rf-reset:hover { color: var(--black); }
.rf-group { padding: 1.2rem 1.4rem; border-bottom: 1px solid var(--stone); }
.rf-group h3 { font-family: var(--sans); font-size: .62rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin-bottom: .8rem; }
.rf-select { width: 100%; border: 1px solid var(--line); background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23a4854f' stroke-width='1.2'/%3E%3C/svg%3E") no-repeat right .9rem center; padding: .65rem 2.2rem .65rem .9rem; font-size: .86rem; color: var(--black); appearance: none; border-radius: 0; outline: none; }
.rf-select:focus { border-color: var(--gold); }
.rf-sort { width: auto; }
.rf-chips { display: grid; grid-template-columns: 1fr 1fr; gap: .4rem; }
.rf-chips label { cursor: pointer; }
.rf-chips input { position: absolute; opacity: 0; pointer-events: none; }
.rf-chips span { display: block; text-align: center; border: 1px solid var(--line); padding: .55rem .4rem; font-size: .8rem; transition: all .25s; }
.rf-chips input:checked + span { background: var(--black); border-color: var(--black); color: #fff; }
.rf-chips input:focus-visible + span { outline: 2px solid var(--gold); }
.rf-check { display: flex; align-items: center; gap: .7rem; padding: .3rem 0; font-size: .9rem; cursor: pointer; }
.rf-check input { width: 16px; height: 16px; accent-color: var(--black); }
.rf-list-cta { padding: 1.4rem; background: var(--black); color: #fff; }
.rf-list-cta p { font-family: var(--serif); font-size: 1.25rem; margin-bottom: .8rem; }
.rent-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; padding-bottom: 1.2rem; margin-bottom: 1.5rem; border-bottom: 1px solid var(--stone); }
@media (max-width: 991.98px) {
  .rent-layout { grid-template-columns: 1fr; }
  .rent-filters { position: fixed; inset: 0 auto 0 0; width: min(340px, 88%); z-index: 1060; overflow-y: auto; transform: translateX(-100%); transition: transform .45s var(--ease); box-shadow: 30px 0 60px rgba(0, 0, 0, .25); }
  .rent-filters.is-open { transform: none; }
}

/* ---------- Rental card ---------- */
.r-list { display: grid; gap: 1.5rem; }
.r-card { display: grid; grid-template-columns: 320px 1fr; background: #fff; border: 1px solid var(--stone); transition: border-color .3s, box-shadow .3s; }
.r-card:hover { border-color: var(--gold); box-shadow: 0 26px 50px -34px rgba(11, 11, 12, .45); }
.r-card.is-hidden { display: none; }
.r-media { position: relative; display: block; overflow: hidden; min-height: 260px; background: var(--stone); }
.r-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.r-card:hover .r-media img { transform: scale(1.06); }
.r-photos { position: absolute; left: .8rem; bottom: .8rem; background: rgba(11, 11, 12, .75); color: #fff; font-size: .72rem; padding: .3rem .6rem; }
.r-furn { position: absolute; left: .8rem; top: .8rem; background: #fff; color: var(--black); font-size: .6rem; letter-spacing: .16em; text-transform: uppercase; padding: .38rem .65rem; }
.r-body { padding: 1.4rem 1.6rem; display: flex; flex-direction: column; min-width: 0; }
.r-project { font-size: .62rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: .3rem; }
.r-title { font-size: 1.5rem; font-weight: 500; margin-bottom: .2rem; }
.r-title a { color: var(--black); }
.r-title a:hover { color: var(--gold-deep); }
.r-loc { font-size: .85rem; color: var(--muted); margin-bottom: .8rem; }
.r-loc i { color: var(--gold-deep); }
.r-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: .4rem 1rem; margin-bottom: .9rem; }
.r-price strong { font-family: var(--serif); font-size: 1.9rem; font-weight: 500; color: var(--black); line-height: 1; }
.r-price strong small { font-family: var(--sans); font-size: .8rem; color: var(--muted); font-weight: 400; }
.r-price span { font-size: .82rem; color: var(--muted); }
.r-stats { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); padding: 0; margin: 0 0 .9rem; border-top: 1px solid var(--stone); border-bottom: 1px solid var(--stone); }
.r-stats li { padding: .7rem 0; }
.r-stats li + li { border-left: 1px solid var(--stone); padding-left: .9rem; }
.r-stats b { display: block; font-weight: 500; font-size: .92rem; color: var(--black); }
.r-stats span { font-size: .72rem; color: var(--muted); }
.r-desc { font-size: .88rem; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 1rem; }
.r-foot { margin-top: auto; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .8rem; }
.r-avail { font-size: .78rem; color: var(--muted); }
.r-avail i { color: #2f9e6e; }
.r-actions { display: flex; gap: .5rem; align-items: center; }
.r-icon { width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; color: #25d366; font-size: 1.05rem; }
.r-icon:hover { background: #25d366; color: #fff; border-color: #25d366; }
.r-list-compact { grid-template-columns: repeat(3, 1fr); }
.r-list-compact .r-card { grid-template-columns: 1fr; }
.r-list-compact .r-media { min-height: 0; aspect-ratio: 16 / 10; }
.r-list-compact .r-desc { display: none; }
@media (max-width: 1199.98px) { .r-list-compact { grid-template-columns: 1fr 1fr; } }
@media (max-width: 767.98px) {
  .r-card, .r-list-compact { grid-template-columns: 1fr; }
  .r-media { min-height: 0; aspect-ratio: 16 / 10; }
  .r-body { padding: 1.2rem; }
  .r-title { font-size: 1.3rem; }
  .r-actions { width: 100%; }
  .r-actions .btn { flex: 1; }
}

/* ---------- Rental detail ---------- */
.rent-top { padding-top: 110px; }
.rent-top .crumbs li { color: var(--muted); }
.rent-top .crumbs a { color: var(--text); }
.rent-top .crumbs a:hover { color: var(--gold-deep); }
.rent-top .crumbs li[aria-current] { color: var(--gold-deep); }
.mosaic { display: grid; gap: .5rem; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 230px 230px; margin-bottom: 2rem; }
.mosaic-item { position: relative; overflow: hidden; display: block; background: var(--stone); }
.mosaic-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.mosaic-item:hover img { transform: scale(1.05); }
.mosaic-item:first-child { grid-row: span 2; }
.mosaic-3 { grid-template-columns: 2fr 1fr; }
.mosaic-4 .mosaic-item:nth-child(2) { grid-column: span 2; }
.mosaic-all { position: absolute; right: .8rem; bottom: .8rem; background: #fff; color: var(--black); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; padding: .55rem .9rem; box-shadow: 0 10px 25px rgba(0, 0, 0, .2); }
@media (max-width: 767.98px) {
  .mosaic, .mosaic-3 { grid-template-columns: 1fr 1fr; grid-template-rows: 220px 110px; }
  .mosaic-item:first-child { grid-column: span 2; grid-row: auto; }
  .mosaic-item:nth-child(n+4) { display: none; }
  .mosaic-4 .mosaic-item:nth-child(2) { grid-column: auto; }
}
.rent-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 1.5rem 3rem; padding-bottom: 2rem; border-bottom: 1px solid var(--stone); }
.rent-title { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 400; margin: 0 0 .5rem; }
.rent-loc { color: var(--muted); margin-bottom: 1rem; }
.rent-loc i { color: var(--gold-deep); }
.rent-tags { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; margin: 0; }
.rent-tags li { font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; border: 1px solid var(--line); padding: .45rem .8rem; color: var(--muted); }
.rent-price { text-align: right; }
.rent-price strong { display: block; font-family: var(--serif); font-size: clamp(2.4rem, 4vw, 3.4rem); font-weight: 500; line-height: 1; color: var(--black); }
.rent-price strong small { font-family: var(--sans); font-size: .9rem; color: var(--muted); font-weight: 400; }
.rent-price span { display: block; font-size: .86rem; color: var(--muted); margin-top: .35rem; }
@media (max-width: 767.98px) { .rent-price { text-align: left; } }
.rent-block { padding: 2.2rem 0; border-bottom: 1px solid var(--stone); }
.rent-block:first-child { padding-top: 0; }
.rent-h { font-size: clamp(1.7rem, 2.6vw, 2.2rem); font-weight: 400; margin-bottom: 1.4rem; }
.rent-h em { color: var(--gold-deep); }
.fact-grid { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0; border-top: 1px solid var(--stone); border-left: 1px solid var(--stone); }
.fact-grid div { position: relative; padding: 1.1rem 1.2rem 1.1rem 3.4rem; border-right: 1px solid var(--stone); border-bottom: 1px solid var(--stone); }
.fact-grid i { position: absolute; left: 1.2rem; top: 1.25rem; font-size: 1.2rem; color: var(--gold-deep); }
.fact-grid dt { font-size: .6rem; font-weight: 400; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.fact-grid dd { margin: .15rem 0 0; font-family: var(--serif); font-size: 1.15rem; color: var(--black); line-height: 1.3; }
@media (max-width: 767.98px) { .fact-grid { grid-template-columns: 1fr 1fr; } .fact-grid div { padding-left: 2.8rem; } .fact-grid i { left: .9rem; } }
.rent-desc { font-size: 1.05rem; color: #4a463f; margin: 0; }
.furn-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: .6rem; }
.furn-grid li { display: flex; align-items: center; gap: .7rem; padding: .8rem 1rem; border: 1px solid var(--stone); font-size: .9rem; }
.furn-grid i { font-size: 1.15rem; color: var(--gold-deep); }
.furn-grid-lg { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.proj-strip { display: grid; grid-template-columns: 200px 1fr; border: 1px solid var(--stone); color: var(--black); transition: border-color .3s; }
.proj-strip:hover { border-color: var(--gold); color: var(--black); }
.proj-strip img { width: 100%; height: 100%; object-fit: cover; min-height: 140px; }
.proj-strip span { padding: 1.2rem 1.4rem; display: flex; flex-direction: column; justify-content: center; gap: .3rem; }
.proj-strip small { font-size: .6rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-deep); }
.proj-strip strong { font-family: var(--serif); font-size: 1.35rem; font-weight: 500; line-height: 1.25; }
.proj-strip em { font-style: normal; font-size: .78rem; color: var(--muted); }
@media (max-width: 575.98px) { .proj-strip { grid-template-columns: 1fr; } .proj-strip img { aspect-ratio: 16 / 9; } }
.rent-side { top: 100px; }
.rent-side-actions { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line-dark); }
.rent-side-actions a { display: flex; align-items: center; justify-content: center; gap: .5rem; padding: 1rem; color: #fff; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; }
.rent-side-actions a + a { border-left: 1px solid var(--line-dark); }
.rent-side-actions a:hover { background: var(--char-2); color: var(--gold-2); }
.rent-side-actions i { color: var(--gold); }
