/* Realist public pages · home, search, detail, content */

/* ---------- Home: hero ---------- */
.rl-hero { position: relative; background: var(--rl-ink) }
.rl-hero-slider { position: relative; height: clamp(360px, 62vh, 620px); overflow: hidden }
.rl-hero-slider:focus { outline: none }
.rl-slides, .rl-slide { position: absolute; inset: 0; margin: 0 }
.rl-slide { opacity: 0; transition: opacity 700ms var(--rl-ease); visibility: hidden }
.rl-slide.is-active { opacity: 1; visibility: visible }
.rl-slide picture, .rl-slide img { display: block; width: 100%; height: 100%; object-fit: cover }
.rl-slide-empty { background: linear-gradient(135deg, #2a2d32, #16181b) }
.rl-hero-slider::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgb(22 24 27 / .45) 0%, rgb(22 24 27 / 0) 30%, rgb(22 24 27 / 0) 55%, rgb(22 24 27 / .55) 100%) }
.rl-slide-caption { position: absolute; z-index: 2; right: var(--rl-gutter); top: 1.25rem; display: grid; gap: .35rem; justify-items: start; max-width: 360px; padding: .9rem 1rem; border-radius: var(--rl-radius); background: rgb(22 24 27 / .72); color: #fff }
.rl-slide-caption strong { font: 700 1.125rem/1.25 var(--rl-font) }
.rl-slider-controls { position: absolute; z-index: 3; right: var(--rl-gutter); bottom: 1.25rem; display: flex; align-items: center; gap: .4rem; padding: .3rem; border-radius: 999px; background: rgb(22 24 27 / .6) }
.rl-slider-btn { display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 999px; background: transparent; color: #fff; cursor: pointer }
.rl-slider-btn:hover { background: rgb(255 255 255 / .15) }
.rl-slider-dots { display: flex; gap: 2px }
.rl-slider-dots button { display: grid; place-items: center; width: 28px; height: 40px; border: 0; background: none; cursor: pointer; padding: 0 }
.rl-slider-dots span { width: 9px; height: 9px; border-radius: 999px; background: rgb(255 255 255 / .55); transition: width var(--rl-fast), background-color var(--rl-fast) }
.rl-slider-dots [aria-current=true] span { width: 22px; background: var(--rl-yellow) }
.rl-hero-slider:not(.is-ready) .rl-slider-controls { display: none }

.rl-hero-panel { position: relative; z-index: 4; margin-top: clamp(-11rem, -18vw, -7rem); display: grid; gap: 1rem }
.rl-hero-intro { color: #fff; text-shadow: 0 1px 12px rgb(0 0 0 / .45) }
.rl-hero-intro .rl-eyebrow { color: var(--rl-yellow) }
.rl-hero-intro h1 { margin: 0; font: var(--rl-display) !important; letter-spacing: -.03em; max-width: 16ch }
.rl-hero-search { display: grid; gap: .9rem; padding: clamp(1rem, 2.4vw, 1.5rem); background: var(--rl-surface); border-radius: var(--rl-radius-lg); box-shadow: 0 24px 60px rgb(22 24 27 / .22) }
.rl-hero-offer { border: 0; margin: 0; padding: 0 }
.rl-hero-fields { display: grid; grid-template-columns: 1.1fr 1.1fr 1.1fr .8fr auto; gap: .75rem; align-items: end }
.rl-hero-fields label { font-size: .8125rem }
.rl-hero-submit { min-height: 46px; padding-inline: 1.4rem; font-size: 1.0625rem }
.rl-hero-links { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0; font: var(--rl-small) }
.rl-hero-links a { font-weight: 650 }
@media (max-width: 1023px) {
  .rl-hero-fields { grid-template-columns: 1fr 1fr }
  .rl-hero-submit { grid-column: 1 / -1 }
}
@media (max-width: 560px) {
  .rl-hero-slider { height: 300px }
  .rl-hero-panel { margin-top: -5.5rem }
  .rl-hero-intro h1 { font-size: 1.9rem !important }
  .rl-hero-fields { grid-template-columns: 1fr }
  .rl-slide-caption { display: none }
  .rl-slider-controls { bottom: auto; top: .75rem; right: .75rem }
  .rl-slider-dots { display: none }
}

/* Segmented control (radios) */
.rl-segment { display: inline-grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 3px; padding: 3px; border-radius: 999px; background: var(--rl-soft); width: 100% }
.rl-hero-offer .rl-segment { width: auto }
.rl-segment label { margin: 0; position: relative }
.rl-segment input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer }
.rl-segment span { display: grid; place-items: center; min-height: 40px; padding: 0 1rem; border-radius: 999px; font: 650 .9375rem/1 var(--rl-font); color: var(--rl-muted); white-space: nowrap; transition: background-color var(--rl-fast), color var(--rl-fast) }
.rl-segment input:checked + span { background: var(--rl-ink); color: #fff }
.rl-segment input:focus-visible + span { outline: 3px solid var(--rl-focus); outline-offset: 1px }
.rl-segment-4 span { padding: 0 .4rem; font-size: .875rem }

/* ---------- Home: sections ---------- */
.rl-quick { padding-top: clamp(2rem, 4vw, 3rem) }
.rl-quick-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 1rem }
.rl-quick-card { display: grid; gap: .6rem; padding: 1.25rem; border: 1px solid var(--rl-line); border-radius: var(--rl-radius-lg); background: var(--rl-surface) }
.rl-quick-card > .rl-icon { width: 46px; height: 46px; padding: 10px; border-radius: 12px; background: var(--rl-yellow) }
.rl-quick-card h3 { margin: 0; font-size: 1.25rem }
.rl-quick-links { display: flex; flex-wrap: wrap; gap: .5rem }
.rl-quick-links a { display: inline-flex; align-items: center; gap: .5rem; min-height: 40px; padding: 0 .9rem; border-radius: 999px; border: 1px solid var(--rl-line-strong); font-weight: 650; text-decoration: none }
.rl-quick-links a:hover { border-color: var(--rl-ink); background: var(--rl-yellow-soft); text-decoration: none }
.rl-quick-links span { min-width: 1.6rem; padding: .1rem .4rem; border-radius: 999px; background: var(--rl-soft); font-size: .8125rem; text-align: center }
.rl-tabs { display: flex; gap: .4rem; overflow-x: auto; margin: 0 0 1.25rem; padding-bottom: .25rem; scrollbar-width: thin }
.rl-tabs a { flex: none; display: inline-flex; align-items: center; min-height: 40px; padding: 0 1rem; border-radius: 999px; border: 1px solid var(--rl-line-strong); font: 650 .9375rem/1 var(--rl-font); text-decoration: none; background: var(--rl-surface) }
.rl-tabs a:hover { border-color: var(--rl-ink); text-decoration: none }
.rl-tabs a[aria-current] { background: var(--rl-ink); border-color: var(--rl-ink); color: #fff }
.rl-band { background: var(--rl-soft); border-block: 1px solid var(--rl-line) }
.rl-section.rl-band { padding-block: clamp(2.5rem, 5vw, 4rem); margin-bottom: clamp(2.25rem, 5vw, 4rem) }
.rl-ad { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); overflow: hidden; border-radius: var(--rl-radius-lg); border: 1px dashed var(--rl-line-strong); background: var(--rl-surface); text-decoration: none }
.rl-ad img { width: 100%; height: 100%; object-fit: cover }
.rl-ad div { padding: 1.5rem; display: grid; align-content: center; gap: .5rem }
.rl-ad-label { justify-self: start; padding: .15rem .55rem; border-radius: 4px; background: var(--rl-soft); font: 700 .75rem/1.2 var(--rl-font); letter-spacing: .08em; text-transform: uppercase; color: var(--rl-muted) }
@media (max-width: 700px) { .rl-ad { grid-template-columns: 1fr } }

/* Advisors */
.rl-advisor-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 1rem }
.rl-advisor { display: grid; gap: .85rem; align-content: start; padding: 1.25rem; border: 1px solid var(--rl-line); border-radius: var(--rl-radius-lg); background: var(--rl-surface) }
.rl-advisor-head { display: flex; align-items: center; gap: .9rem }
.rl-advisor-photo { width: 72px; height: 72px; flex: none; border-radius: 999px; object-fit: cover; background: var(--rl-soft); border: 2px solid var(--rl-yellow) }
.rl-advisor-initials { display: grid; place-items: center; font: 700 1.25rem/1 var(--rl-font) }
.rl-advisor h3 { margin: 0 0 .15rem; font-size: 1.125rem }
.rl-advisor-head p { margin: 0; color: var(--rl-muted); font: var(--rl-small); font-size: .875rem }
.rl-advisor-bio { margin: 0; color: var(--rl-ink-2); font: var(--rl-small) }
.rl-advisor-actions { display: grid; gap: .5rem }
.rl-advisor-actions .rl-btn { justify-content: center; width: 100% }
.rl-advisor-number { font-weight: 500; opacity: .85 }
.rl-advisor-portfolio { justify-self: start; font-size: .9375rem }
.rl-advisor-compact { padding: 0; border: 0; background: none }

/* News */
.rl-news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 1rem }
.rl-home .rl-news-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 300px)) }
.rl-news-card { position: relative; display: grid; grid-template-rows: auto 1fr; overflow: hidden; border: 1px solid var(--rl-line); border-radius: var(--rl-radius); background: var(--rl-surface); transition: box-shadow var(--rl-fast) }
.rl-news-card:hover { box-shadow: var(--rl-shadow-lift) }
.rl-news-media { display: block; aspect-ratio: 2 / 1; background: var(--rl-soft) }
.rl-news-media { background: #fff; border-bottom: 1px solid var(--rl-line) }
.rl-news-media img { width: 100%; height: 100%; padding: .5rem; object-fit: contain }
.rl-news-body { display: grid; gap: .3rem; align-content: start; padding: .75rem .85rem .9rem }
.rl-news-body time { color: var(--rl-muted); font: var(--rl-label); font-size: .8125rem }
.rl-news-body h3 { margin: 0; font-size: 1rem !important; line-height: 1.3 }
.rl-news-body h3 a { text-decoration: none }
.rl-news-body h3 a::after { content: ""; position: absolute; inset: 0 }
.rl-news-body h3 a:hover { text-decoration: underline }
.rl-news-body p { margin: 0; color: var(--rl-muted); font: var(--rl-small); font-size: .875rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden }

/* Tools */
.rl-tools-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 1rem }
.rl-tool { display: grid; gap: .6rem; align-content: start; padding: 1.4rem; border: 1px solid var(--rl-line); border-radius: var(--rl-radius-lg); background: var(--rl-surface) }
.rl-tool > .rl-icon { width: 44px; height: 44px; padding: 10px; border-radius: 12px; background: var(--rl-soft) }
.rl-tool h3 { margin: 0; font-size: 1.25rem }
.rl-tool p { margin: 0; color: var(--rl-muted); font: var(--rl-small) }
.rl-tool > .rl-btn { justify-self: start; margin-top: .4rem }
.rl-tool-credit { background: var(--rl-ink); color: #fff; border-color: var(--rl-ink) }
.rl-tool-credit p { color: #c9c6bf }
.rl-tool-credit > .rl-icon { background: var(--rl-yellow); color: var(--rl-ink) }
.rl-tool-credit .rl-btn-dark { background: var(--rl-yellow); border-color: var(--rl-yellow); color: var(--rl-ink) }
.rl-exchange-form { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: .5rem; margin-top: .25rem }
.rl-exchange-form output { grid-column: 1 / -1; padding: .65rem .85rem; border-radius: var(--rl-radius-sm); background: var(--rl-yellow-soft); font: var(--rl-price); font-size: 1.25rem }
.rl-assistant > summary { list-style: none; justify-self: start }
.rl-assistant > summary::-webkit-details-marker { display: none }
.rl-assistant[open] > summary { margin-bottom: .75rem }

/* ---------- Search ---------- */
.rl-search-head h1 { margin-bottom: .2rem }
.rl-search { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: clamp(1rem, 2.5vw, 2rem); align-items: start }
.rl-filters { position: sticky; top: 124px; max-height: calc(100vh - 140px); display: flex; border: 1px solid var(--rl-line); border-radius: var(--rl-radius-lg); background: var(--rl-surface); overflow: hidden }
.rl-filter-form { display: flex; flex-direction: column; width: 100%; min-height: 0 }
.rl-filter-top { display: flex; align-items: center; justify-content: space-between; padding: 1rem 1.1rem .6rem }
.rl-filter-top h2 { margin: 0; font-size: 1.125rem !important; display: flex; gap: .5rem; align-items: center }
.rl-filter-close { display: none }
.rl-filter-scroll { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 0 1.1rem 1rem; scrollbar-width: thin }
.rl-filter-group { margin: 0; padding: 1rem 0; border: 0; border-top: 1px solid var(--rl-line); display: grid; gap: .65rem; min-width: 0 }
.rl-filter-group > legend, .rl-filter-more > summary { float: left; width: 100%; padding: 0 0 .1rem; margin: 0; font: 700 .9375rem/1.3 var(--rl-font) }
.rl-filter-group > legend + * { clear: both }
.rl-filter-more > summary { list-style: none; display: flex; justify-content: space-between; cursor: pointer; float: none }
.rl-filter-more > summary::-webkit-details-marker { display: none }
.rl-filter-more > summary::after { content: "+"; font-weight: 400; font-size: 1.2rem; line-height: 1 }
.rl-filter-more[open] > summary::after { content: "−" }
.rl-legend-note { font-weight: 500; color: var(--rl-muted) }
.rl-filter-field { display: grid; gap: 0 }
.rl-pair { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem }
.rl-hint { margin: 0; color: var(--rl-muted); font: var(--rl-small); font-size: .8125rem }
.rl-dyn-field { margin: 0; padding: .65rem 0 0; border: 0; min-width: 0 }
.rl-dyn-field + .rl-dyn-field { border-top: 1px dashed var(--rl-line) }
.rl-dyn-field legend { font: var(--rl-label); padding: 0; margin-bottom: .3rem }
.rl-dyn-field .listing-field small { display: block; color: var(--rl-muted); margin-bottom: .3rem; font-size: .8125rem }
.rl-filter-actions { display: grid; grid-template-columns: auto 1fr; gap: .5rem; padding: .85rem 1.1rem; border-top: 1px solid var(--rl-line); background: var(--rl-surface) }
.rl-count { display: inline-grid; place-items: center; min-width: 1.4rem; height: 1.4rem; padding: 0 .35rem; border-radius: 999px; background: var(--rl-yellow); color: var(--rl-ink); font: 700 .75rem/1 var(--rl-font) }
.rl-check { display: flex !important; align-items: center; gap: .1rem; font-weight: 500 !important }

.rl-results { min-width: 0; display: grid; gap: 1rem; align-content: start }
.rl-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: .6rem }
.rl-filter-open { display: none; margin-right: auto }
.rl-sort { display: flex; align-items: center; gap: .5rem }
.rl-sort label { margin: 0; white-space: nowrap; color: var(--rl-muted) }
.rl-sort select { min-height: 42px !important; width: auto !important; border-radius: 999px !important }
.rl-view-toggle { display: inline-flex; padding: 3px; border-radius: 999px; background: var(--rl-soft) }
.rl-view-toggle a { display: inline-flex; align-items: center; gap: .35rem; min-height: 38px; padding: 0 .9rem; border-radius: 999px; font: 650 .9375rem/1 var(--rl-font); text-decoration: none; color: var(--rl-muted) }
.rl-view-toggle a[aria-current] { background: var(--rl-surface); color: var(--rl-ink); box-shadow: 0 1px 3px rgb(0 0 0 / .12) }
.rl-chips { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .75rem }
.rl-chips ul { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0; padding: 0; list-style: none }
.rl-chip { display: inline-flex; align-items: center; gap: .35rem; min-height: 36px; padding: 0 .55rem 0 .85rem; border-radius: 999px; background: var(--rl-yellow-soft); border: 1px solid #f0d986; font: 600 .875rem/1.2 var(--rl-font); text-decoration: none }
.rl-chip:hover { border-color: var(--rl-ink); text-decoration: none }
.rl-chip .rl-icon { width: 16px; height: 16px }
.rl-chips .rl-link { font-size: .9375rem }
.rl-save-search { position: relative; margin-left: auto }
.rl-save-search > summary { list-style: none }
.rl-save-search > summary::-webkit-details-marker { display: none }
.rl-save-search form { position: absolute; right: 0; top: calc(100% + 8px); z-index: 20; display: grid; gap: .5rem; width: 300px; padding: 1rem; background: var(--rl-surface); border: 1px solid var(--rl-line); border-radius: var(--rl-radius); box-shadow: var(--rl-shadow-lift) }
.rl-chips > .rl-btn { margin-left: auto }

.rl-map-wrap { display: grid; gap: .5rem }
.rl-map { position: relative; z-index: 0; height: 320px; border-radius: var(--rl-radius-lg); overflow: hidden; background: var(--rl-soft); border: 1px solid var(--rl-line) }
.rl-map-results .rl-map { height: clamp(360px, 55vh, 560px) }
.rl-map-fallback { display: grid; place-items: center; height: 100%; margin: 0; padding: 1rem; text-align: center; color: var(--rl-muted) }
.rl-map-note { display: flex; gap: .4rem; align-items: center; margin: 0; color: var(--rl-muted); font: var(--rl-small); font-size: .875rem }

.rl-pagination { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .5rem; margin-top: 1rem }
.rl-pagination ol { display: flex; gap: .3rem; margin: 0; padding: 0; list-style: none }
.rl-page, .rl-page-step { display: inline-flex; align-items: center; justify-content: center; gap: .3rem; min-width: 44px; min-height: 44px; padding: 0 .6rem; border-radius: 999px; border: 1px solid var(--rl-line-strong); background: var(--rl-surface); font: 650 .9375rem/1 var(--rl-font); text-decoration: none; font-variant-numeric: tabular-nums }
.rl-page-step { padding: 0 1rem }
a.rl-page:hover, a.rl-page-step:hover { border-color: var(--rl-ink); text-decoration: none }
.rl-page[aria-current] { background: var(--rl-ink); border-color: var(--rl-ink); color: #fff }
.rl-page-step[aria-disabled] { opacity: .4 }
.rl-page-gap { display: grid; place-items: center; min-width: 28px; color: var(--rl-muted) }

@media (max-width: 1023px) {
  .rl-search { grid-template-columns: minmax(0, 1fr) }
  .rl-filter-open { display: inline-flex }
  .rl-filters { display: none; position: fixed; inset: 0; z-index: 80; max-height: none; border-radius: 0; border: 0 }
  .rl-filters.is-open, .rl-filters:target { display: flex }
  .rl-filter-close { display: grid }
  .rl-filter-top { border-bottom: 1px solid var(--rl-line); padding: .75rem 1rem }
  .rl-filter-actions { grid-template-columns: 1fr 2fr; padding-bottom: calc(.85rem + env(safe-area-inset-bottom)) }
}
@media (max-width: 560px) {
  .rl-toolbar { justify-content: space-between }
  .rl-sort label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%) }
  .rl-view-toggle a { padding: 0 .7rem }
  .rl-page-step span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%) }
  .rl-page-step { padding: 0; width: 44px }
  .rl-save-search form { right: auto; left: 0; width: min(300px, 86vw) }
}
body.rl-locked { overflow: hidden }

/* ---------- Detail ---------- */
.rl-back { display: inline-flex; align-items: center; gap: .3rem; margin: -.25rem 0 .9rem; font-weight: 650; text-decoration: none }
.rl-back:hover { text-decoration: underline }
.rl-detail-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1rem 2rem; align-items: end; margin-bottom: 1.25rem }
.rl-detail-badges { position: static; margin-bottom: .6rem; pointer-events: auto }
.rl-detail-badges .rl-badge:not(.rl-badge-offer):not(.rl-badge-drop) { background: var(--rl-soft); box-shadow: none }
.rl-detail-title h1 { margin: 0 0 .45rem }
.rl-detail-location { display: flex; align-items: center; gap: .35rem; margin: 0; color: var(--rl-ink-2); font-weight: 600 }
.rl-detail-meta { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; margin: .35rem 0 0; color: var(--rl-muted); font: var(--rl-small) }
.rl-detail-pricebox { display: grid; justify-items: end; gap: .35rem; text-align: right }
.rl-detail-price { margin: 0; font: var(--rl-price-xl); letter-spacing: -.02em; font-variant-numeric: tabular-nums }
.rl-detail-original { margin: 0; color: var(--rl-muted); font: var(--rl-small); font-size: .875rem }
.rl-detail-actions { display: flex; flex-wrap: wrap; gap: .4rem; justify-content: flex-end; align-items: center }
.rl-detail-actions .rl-icon-btn[aria-pressed=true] { color: #c2261d; --heart-fill: #e0382d; border-color: #e7b4ae }
.rl-price-history { position: relative }
.rl-price-history > summary { list-style: none }
.rl-price-history > summary::-webkit-details-marker { display: none }
.rl-price-history-panel { position: absolute; right: 0; top: calc(100% + 8px); z-index: 30; width: min(340px, 88vw); padding: .9rem; background: var(--rl-surface); border: 1px solid var(--rl-line); border-radius: var(--rl-radius); box-shadow: var(--rl-shadow-lift); text-align: left }
.rl-price-history table { width: 100%; border-collapse: collapse; font: var(--rl-small); font-size: .875rem }
.rl-price-history caption { text-align: left; font-weight: 700; margin-bottom: .4rem }
.rl-price-history th { text-align: left; color: var(--rl-muted); font-weight: 600; padding: .3rem .25rem; border-bottom: 1px solid var(--rl-line) }
.rl-price-history td { padding: .45rem .25rem; border-bottom: 1px solid var(--rl-line); font-variant-numeric: tabular-nums }
.rl-down { color: var(--rl-success); font-weight: 700 }
.rl-up { color: var(--rl-danger); font-weight: 700 }
.rl-first-price td { color: var(--rl-muted) }

.rl-detail { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(1.25rem, 3vw, 2.25rem); align-items: start }
.rl-detail-main { min-width: 0; display: grid; gap: 1.25rem }
.rl-detail-side { position: sticky; top: 124px }
.rl-contact-card { display: grid; gap: .75rem; padding: 1.25rem; border: 1px solid var(--rl-line); border-radius: var(--rl-radius-lg); background: var(--rl-surface); box-shadow: var(--rl-shadow) }
.rl-contact-card .rl-eyebrow { margin: 0 }
.rl-ask { justify-self: center; font-size: .9375rem }

.rl-gallery { display: grid; gap: .6rem; min-width: 0 }
.rl-gallery-stage { position: relative; aspect-ratio: 3 / 2; overflow: hidden; border-radius: var(--rl-radius-lg); background: var(--rl-soft) }
.rl-gallery-main, .rl-gallery-main img { display: block; width: 100%; height: 100% }
.rl-gallery-main img { object-fit: cover }
.rl-gallery-empty { position: absolute; inset: 0; font-size: 1rem }
.rl-gallery-arrow { position: absolute; top: 50%; z-index: 2; display: grid; place-items: center; width: 46px; height: 46px; margin-top: -23px; border: 0; border-radius: 999px; background: rgb(255 255 255 / .92); color: var(--rl-ink); box-shadow: 0 2px 8px rgb(0 0 0 / .2); cursor: pointer; transition: transform var(--rl-fast) }
.rl-gallery-arrow:hover { transform: scale(1.06) }
.rl-gallery-prev { left: .75rem }
.rl-gallery-next { right: .75rem }
.rl-gallery-count { position: absolute; left: .75rem; bottom: .75rem; z-index: 2; display: inline-flex; align-items: center; gap: .35rem; padding: .3rem .7rem; border-radius: 999px; background: rgb(22 24 27 / .78); color: #fff; font: 650 .875rem/1.2 var(--rl-font); font-variant-numeric: tabular-nums }
.rl-gallery-tools { position: absolute; right: .75rem; bottom: .75rem; z-index: 2; display: flex; gap: .4rem }
.rl-gallery-tools .rl-btn:not(.rl-btn-primary) { background: rgb(255 255 255 / .94); border-color: transparent }
.rl-gallery-thumbs { display: flex; gap: .5rem; overflow-x: auto; padding-bottom: .25rem; scrollbar-width: thin; scroll-snap-type: x proximity }
.rl-gallery-thumbs button { flex: none; width: 104px; aspect-ratio: 3 / 2; padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; background: var(--rl-soft); cursor: pointer; opacity: .75; scroll-snap-align: start; transition: opacity var(--rl-fast), border-color var(--rl-fast) }
.rl-gallery-thumbs button:hover { opacity: 1 }
.rl-gallery-thumbs button[aria-pressed=true] { border-color: var(--rl-yellow); opacity: 1 }
.rl-gallery-thumbs img { width: 100%; height: 100%; object-fit: cover }
.rl-lightbox { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgb(12 13 15 / .96); color: #fff }
.rl-lightbox::backdrop { background: rgb(12 13 15 / .9) }
.rl-lightbox[open] { display: grid; grid-template-rows: auto 1fr }
.rl-lightbox-bar { display: flex; justify-content: space-between; align-items: center; padding: .75rem 1rem; font-weight: 650 }
.rl-lightbox-bar .rl-icon-btn { background: transparent; color: #fff; border-color: #555 }
.rl-lightbox-stage { position: relative; display: grid; place-items: center; min-height: 0; padding: 0 4rem 1.5rem }
.rl-lightbox-stage img { max-width: 100%; max-height: calc(100vh - 6rem); object-fit: contain }
.rl-lightbox-stage .rl-gallery-arrow:first-child { left: 1rem }
.rl-lightbox-stage .rl-gallery-arrow:last-child { right: 1rem }

.rl-keyfacts { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: .5rem; margin: 0; padding: 0; list-style: none }
.rl-keyfacts li { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: .6rem; align-items: center; padding: .8rem .9rem; border: 1px solid var(--rl-line); border-radius: var(--rl-radius); background: var(--rl-surface) }
.rl-keyfacts .rl-icon { grid-row: span 2; width: 32px; height: 32px; padding: 6px; border-radius: 8px; background: var(--rl-yellow-soft) }
.rl-keyfacts span { color: var(--rl-muted); font: var(--rl-label); font-size: .8125rem }
.rl-keyfacts strong { font-weight: 700; overflow-wrap: anywhere }
.rl-detail-tabs { position: sticky; top: 108px; z-index: 5; display: flex; gap: .25rem; overflow-x: auto; padding: .35rem; border: 1px solid var(--rl-line); border-radius: 999px; background: rgb(255 255 255 / .96) }
.rl-detail-tabs a { flex: none; min-height: 38px; display: inline-flex; align-items: center; padding: 0 .95rem; border-radius: 999px; font: 650 .9375rem/1 var(--rl-font); text-decoration: none }
.rl-detail-tabs a:hover { background: var(--rl-soft); text-decoration: none }
.rl-detail-section { scroll-margin-top: 170px; padding: clamp(1.1rem, 2.5vw, 1.6rem); border: 1px solid var(--rl-line); border-radius: var(--rl-radius-lg); background: var(--rl-surface) }
.rl-detail-section h2 { margin: 0 0 1rem; font-size: 1.375rem !important }
.rl-detail-section h3 { margin: 1.25rem 0 .5rem; font-size: 1rem; color: var(--rl-muted); text-transform: uppercase; letter-spacing: .06em }
.rl-detail-section h2 + h3 { margin-top: 0 }
.rl-dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1.5rem; margin: 0 }
.rl-dl > div { display: flex; justify-content: space-between; gap: 1rem; padding: .6rem 0; border-bottom: 1px solid var(--rl-line) }
.rl-dl dt { color: var(--rl-muted); font-weight: 500 }
.rl-dl dd { margin: 0; font-weight: 650; text-align: right; overflow-wrap: anywhere }
.rl-prose { max-width: 70ch; line-height: 1.7 }
.rl-similar { padding-bottom: 0 }
.rl-mobile-bar { display: none }
@media (max-width: 1023px) {
  .rl-detail { grid-template-columns: minmax(0, 1fr) }
  .rl-detail-side { position: static }
  .rl-detail-tabs { top: 72px }
}
@media (max-width: 700px) {
  .rl-detail-head { grid-template-columns: 1fr }
  .rl-detail-pricebox { justify-items: start; text-align: left }
  .rl-detail-actions { justify-content: flex-start }
  .rl-price-history-panel { right: auto; left: 0 }
  .rl-dl { grid-template-columns: 1fr }
  .rl-gallery-stage { aspect-ratio: 4 / 3; margin-inline: calc(var(--rl-gutter) * -1); border-radius: 0 }
  .rl-gallery-arrow { width: 40px; height: 40px; margin-top: -20px }
  .rl-gallery-tools .rl-gallery-full { display: none }
  .rl-lightbox-stage { padding: 0 0 1rem }
  .rl-lightbox-stage .rl-gallery-arrow { top: auto; bottom: 1.5rem }
  .rl-mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 35; display: grid; grid-template-columns: 1fr 1fr 1.2fr; gap: .5rem; padding: .6rem var(--rl-gutter) calc(.6rem + env(safe-area-inset-bottom)); background: rgb(255 255 255 / .97); border-top: 1px solid var(--rl-line); box-shadow: 0 -6px 20px rgb(0 0 0 / .08) }
  .rl-mobile-bar .rl-btn { padding-inline: .5rem }
  .rl-detail-page .rl-footer { padding-bottom: 5rem }
  .rl-detail-page .rl-toast { bottom: 5.5rem }
}

/* ---------- Content & forms pages ---------- */
.rl .page-heading h1, .rl-main > h1 { margin: 0 0 1.25rem }
.rl .corporate-content, .rl .article-body > div { max-width: 75ch; padding: clamp(1.25rem, 3vw, 2.25rem); background: var(--rl-surface); border: 1px solid var(--rl-line); border-radius: var(--rl-radius-lg); line-height: 1.7 }
.rl .article-body { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(1rem, 3vw, 2rem); align-items: start }
.rl .article-body img, .rl .corporate-content img { width: 100%; border-radius: var(--rl-radius); object-fit: cover }
.rl .contact-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(1rem, 3vw, 2rem); align-items: start }
.rl .contact-box { padding: clamp(1.25rem, 3vw, 2rem); background: var(--rl-surface); border: 1px solid var(--rl-line); border-radius: var(--rl-radius-lg) }
.rl .contact-form, .rl form.stack { display: grid; gap: .3rem }
.rl .contact-form button, .rl form.stack button { justify-self: start; margin-top: .75rem }
.rl .contact-form label, .rl form.stack label { margin-top: .5rem }
.rl .striped-info { display: grid; grid-template-columns: minmax(110px, 36%) minmax(0, 1fr); margin: 0 }
.rl .striped-info dt, .rl .striped-info dd { margin: 0; padding: .6rem 0; border-bottom: 1px solid var(--rl-line) }
.rl .striped-info dt { color: var(--rl-muted) }
.rl .prose { max-width: 560px }
.rl .actions { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem }
.rl .surface + .surface, .rl section.surface, .rl details.surface { margin-top: 1rem }
.rl .surface > h2 { font-size: 1.25rem !important; margin: 0 0 .75rem }
.rl .filters { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr)); gap: .85rem; align-items: end }
.rl .advisor-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 1rem }
.rl .card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 1rem }
.rl .empty { padding: 2rem; text-align: center; background: var(--rl-surface); border: 1px dashed var(--rl-line-strong); border-radius: var(--rl-radius-lg); color: var(--rl-muted) }
.rl-account-page { display: grid; gap: 1rem; max-width: 900px }
.rl-account-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .6rem 1rem; padding: .75rem 0; border-bottom: 1px solid var(--rl-line) }
.rl-account-row:last-child { border-bottom: 0 }
.rl-account-row form { margin: 0 }
.rl-auth { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 460px); gap: clamp(1.5rem, 4vw, 3rem); align-items: start }
.rl-auth-aside { padding: clamp(1.5rem, 4vw, 2.5rem); border-radius: var(--rl-radius-lg); background: var(--rl-ink); color: #fff }
.rl-auth-aside h2 { color: var(--rl-yellow) }
.rl-auth-aside ul { margin: 1rem 0 0; padding-left: 1.1rem; display: grid; gap: .5rem; color: #d6d3cc }
@media (max-width: 760px) {
  .rl .contact-grid, .rl .article-body, .rl-auth { grid-template-columns: 1fr }
  .rl-auth-aside { order: 2 }
}
.rl-en-search { margin-bottom: .5rem }
.rl-en-fields { grid-template-columns: minmax(0, 1fr) auto }
.rl-en-search .rl-tabs { margin: 0 }
.rl-section.rl-en-list { padding-top: 1.5rem }

/* ---------- 360° virtual tour ---------- */
.rl-tour-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem }
.rl-tour { display: grid; gap: .85rem }
.rl-tour-stage { position: relative; height: clamp(320px, 62vh, 680px); overflow: hidden; border-radius: var(--rl-radius-lg); background: #111214; user-select: none; -webkit-user-select: none }
.rl-tour-stage { touch-action: none }
.rl-tour-stage canvas { position: absolute; inset: 0; display: block; width: 100%; height: 100%; touch-action: none; cursor: grab; outline-offset: -4px }
.rl-tour-stage.is-dragging canvas { cursor: grabbing }
.rl-tour.is-loading .rl-tour-stage::after { content: ""; position: absolute; left: 50%; top: 50%; width: 42px; height: 42px; margin: -21px; border: 3px solid rgb(255 255 255 / .25); border-top-color: var(--rl-yellow); border-radius: 50%; animation: rl-spin .8s linear infinite }
@keyframes rl-spin { to { transform: rotate(360deg) } }
.rl-tour-overlay { position: absolute; left: 0; right: 0; top: 0; display: flex; justify-content: space-between; align-items: flex-start; gap: .5rem; padding: .75rem; pointer-events: none }
.rl-tour-room-name { padding: .35rem .8rem; border-radius: 999px; background: rgb(22 24 27 / .78); color: #fff; font: 700 .9375rem/1.2 var(--rl-font) }
.rl-tour-room-name:empty { display: none }
.rl-tour-buttons { display: flex; gap: .35rem; pointer-events: auto }
.rl-tour-btn { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 999px; background: rgb(255 255 255 / .94); color: var(--rl-ink); font: 700 1.35rem/1 var(--rl-font); cursor: pointer; box-shadow: 0 2px 8px rgb(0 0 0 / .25) }
.rl-tour-btn:hover { background: var(--rl-yellow) }
.rl-tour-btn .rl-icon { width: 20px; height: 20px }
.rl-tour-hotspot { position: absolute; z-index: 2; transform: translate(-50%, -50%); min-height: 44px; padding: .5rem 1rem; border: 2px solid #fff; border-radius: 999px; background: var(--rl-yellow); color: var(--rl-ink); font: 700 .9375rem/1.2 var(--rl-font); cursor: pointer; box-shadow: 0 4px 14px rgb(0 0 0 / .35) }
.rl-tour-hotspot:hover { background: #fff }
.rl-tour-hint { position: absolute; left: 50%; bottom: 1rem; transform: translateX(-50%); display: inline-flex; align-items: center; gap: .45rem; margin: 0; padding: .5rem 1rem; border-radius: 999px; background: rgb(22 24 27 / .78); color: #fff; font: 600 .9375rem/1.2 var(--rl-font); pointer-events: none; transition: opacity 400ms }
.rl-tour-hint.is-hidden { opacity: 0 }
.rl-tour-rooms { display: flex; gap: .5rem; overflow-x: auto; padding-bottom: .2rem }
.rl-tour-room { flex: none; min-height: 44px; padding: 0 1.1rem; border: 1px solid var(--rl-line-strong); border-radius: 999px; background: var(--rl-surface); color: var(--rl-ink); font: 650 .9375rem/1 var(--rl-font); cursor: pointer }
.rl-tour-room:hover { border-color: var(--rl-ink) }
.rl-tour-room[aria-pressed=true] { background: var(--rl-ink); border-color: var(--rl-ink); color: #fff }
.rl-tour:fullscreen, .rl-tour.tour-expanded { position: fixed; inset: 0; z-index: 90; display: grid; grid-template-rows: 1fr auto; gap: .5rem; padding: .5rem; background: #111214; overflow: hidden }
.rl-tour:fullscreen .rl-tour-stage, .rl-tour.tour-expanded .rl-tour-stage { height: auto; min-height: 0; border-radius: 10px }
.rl-tour:fullscreen > :not(.rl-tour-stage):not(.rl-tour-rooms), .rl-tour.tour-expanded > :not(.rl-tour-stage):not(.rl-tour-rooms) { display: none }
.rl-tour.is-fullscreen .rl-tour-room { background: rgb(255 255 255 / .1); color: #fff; border-color: #555 }
.rl-tour.is-fullscreen .rl-tour-room[aria-pressed=true] { background: var(--rl-yellow); color: var(--rl-ink); border-color: var(--rl-yellow) }
body.tour-expanded-body { overflow: hidden }
.rl-tour-credits { margin-top: 1.5rem; font: var(--rl-small); color: var(--rl-muted) }
@media (max-width: 700px) {
  .rl-tour-stage { height: min(70vh, 520px); margin-inline: calc(var(--rl-gutter) * -1); border-radius: 0 }
  .rl-tour-buttons [data-tour-zoom] { display: none }
}

/* ---------- References ---------- */
.rl-trust { padding-top: 0 }
.rl-trust-band { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 1rem 1.75rem; align-items: center; padding: 1rem 1.5rem; border: 1px solid var(--rl-line); border-radius: var(--rl-radius-lg); background: var(--rl-surface) }
.rl-trust-stats { display: flex; gap: 1.5rem; margin: 0 }
.rl-trust-stats div { display: grid }
.rl-trust-stats dt { order: 2; color: var(--rl-muted); font: var(--rl-label); font-size: .8125rem }
.rl-trust-stats dd { order: 1; margin: 0; font: 700 1.75rem/1.1 var(--rl-font); font-variant-numeric: tabular-nums }
.rl-trust-refs { display: grid; gap: .35rem; min-width: 0; padding-inline: 1.5rem; border-inline: 1px solid var(--rl-line) }
.rl-trust-refs .rl-eyebrow { margin: 0 }
.rl-trust-refs .rl-link { justify-self: start; font-size: .875rem }
.rl-logo-strip { display: flex; gap: .4rem; margin: 0; padding: 0; list-style: none; overflow-x: auto; scrollbar-width: none }
.rl-logo-strip li { flex: none }
.rl-logo-strip a { display: flex; align-items: center; justify-content: center; overflow: hidden; width: 68px; height: 40px; padding: 4px; border-radius: 8px; background: #fff; border: 1px solid var(--rl-line); text-decoration: none; font: 700 .75rem/1.1 var(--rl-font); text-align: center }
.rl .rl-logo-strip img { width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; filter: grayscale(1); opacity: .75; transition: filter var(--rl-fast), opacity var(--rl-fast) }
.rl-logo-strip a:hover img, .rl-logo-strip a:focus-visible img { filter: none; opacity: 1 }
.rl-trust-cta p { margin: 0 0 .5rem; font: var(--rl-small); font-size: .875rem }
.rl-trust-cta strong { display: block; font-size: .9375rem; color: var(--rl-ink) }
.rl-trust-actions { display: flex; gap: .4rem }
.rl-trust-actions .rl-btn { white-space: nowrap }
@media (max-width: 1100px) {
  .rl-trust-band { grid-template-columns: 1fr 1fr }
  .rl-trust-refs { grid-column: 1 / -1; grid-row: 2; padding: 1rem 0 0; border-inline: 0; border-top: 1px solid var(--rl-line) }
}
@media (max-width: 640px) {
  .rl-trust-band { grid-template-columns: 1fr; padding: 1rem }
  .rl-trust-refs { grid-row: auto }
}

.rl-ref-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 1rem; margin: 0; padding: 0; list-style: none }
.rl-ref-card { position: relative; display: grid; grid-template-rows: auto 1fr; overflow: hidden; border: 1px solid var(--rl-line); border-radius: var(--rl-radius); background: var(--rl-surface); transition: box-shadow var(--rl-fast) }
.rl-ref-card:hover { box-shadow: var(--rl-shadow-lift) }
.rl-ref-logo { display: flex; align-items: center; justify-content: center; overflow: hidden; height: 120px; padding: 1rem; background: #fff; border-bottom: 1px solid var(--rl-line); font: 700 1.25rem/1.2 var(--rl-font) }
.rl .rl-ref-logo img { width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain }
.rl-ref-body { display: grid; gap: .3rem; align-content: start; padding: .85rem 1rem 1rem }
.rl-ref-body h2 { margin: 0; font-size: 1.0625rem !important }
.rl-ref-body h2 a { text-decoration: none }
.rl-ref-body h2 a::after { content: ""; position: absolute; inset: 0 }
.rl-ref-body h2 a:hover { text-decoration: underline }
.rl-ref-body p { margin: 0; color: var(--rl-muted); font: var(--rl-small); font-size: .875rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden }
.rl-ref-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; margin-top: 2rem; padding: 1.5rem; border-radius: var(--rl-radius-lg); background: var(--rl-ink); color: #fff }
.rl-ref-cta h2 { margin: 0 0 .35rem; color: var(--rl-yellow); font-size: 1.375rem !important }
.rl-ref-cta p { margin: 0; color: #d6d3cc; max-width: 60ch }
.rl-ref-cta-actions { display: flex; flex-wrap: wrap; gap: .5rem }
.rl-ref-cta .rl-btn-ghost { color: #fff; border-color: #55585e }
