:root {
  color-scheme: light;
  --ink: #142a48;
  --navy: #032961;
  --blue: #0649bb;
  --blue-dark: #033687;
  --muted: #52606b;
  --paper: #f3f6fa;
  --white: #fff;
  --red: #c8102e;
  --red-dark: #99182a;
  --border: #dcdedc;
  --radius: 18px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--white);
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
[hidden] { display: none !important; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid #126fbb; outline-offset: 4px; }
h1, h2, h3, p { margin: 0; }
h1, h2 { font-weight: 780; letter-spacing: -.043em; }
h1 { font-size: clamp(2.15rem, 4.6vw, 4.5rem); line-height: 1.06; }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); line-height: 1.06; }
h3 { font-size: 1.25rem; line-height: 1.35; letter-spacing: -.025em; }
p { line-height: 1.65; }
.rv-wrap { width: min(100% - 72px, 1216px); margin-inline: auto; }
.rv-kicker { font-size: .71rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; color: var(--red); margin-bottom: 14px; }
.rv-lead { font-size: clamp(1rem, 2vw, 1.16rem); color: var(--muted); max-width: 52ch; }
.rv-skip { position: absolute; top: 8px; left: 12px; transform: translateY(-160%); z-index: 10; padding: 12px; background: white; }
.rv-skip:focus { transform: none; }
.rv-button {
  border: 1px solid transparent; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center;
  gap: 14px; min-height: 48px; padding: 10px 19px; font-size: .91rem; font-weight: 700; text-decoration: none;
  line-height: 1.35; transition: background-color .18s, color .18s, border-color .18s;
}
.rv-button-primary { background: var(--blue); color: white; }
.rv-button-primary:hover { background: var(--blue-dark); }
.rv-button-outline { border-color: #aab0b5; color: var(--ink); background: transparent; }
.rv-button-outline:hover { background: var(--ink); border-color: var(--ink); color: white; }
.rv-button-light { background: white; color: var(--ink); }
.rv-button-light:hover { background: #f0eae0; }
.rv-button:disabled { opacity: .66; cursor: wait; }
.rv-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.rv-text-link { color: var(--blue-dark); font-weight: 750; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.rv-text-link:hover { color: var(--red-dark); }
.rv-header { background: var(--navy); color: white; border-bottom: 3px solid var(--red); }
.rv-header-inner { min-height: 86px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px; }
.rv-brand { display: inline-flex; width: fit-content; align-items: center; gap: 9px; text-decoration: none; line-height: 1; }
.rv-brand img { width: clamp(105px, 11vw, 148px); height: auto; }
.rv-brand span { border-left: 1px solid #ffffff70; padding-left: 9px; font-size: .7rem; font-weight: 750; letter-spacing: .16em; }
.rv-header nav { display: flex; justify-content: center; gap: clamp(14px, 2.2vw, 32px); }
.rv-header nav a { text-decoration: none; font-weight: 650; font-size: .92rem; padding-block: 11px; }
.rv-header nav a:hover, .rv-header nav [aria-current] { text-decoration: underline; text-underline-offset: 7px; }
.rv-header-call { justify-self: end; }
.rv-header-call .rv-button { min-height: 42px; color: white; border-color: #ffffff80; }
.rv-header-call .rv-button:hover { background: #ffffff1f; }
.rv-menu-toggle { display: none; }
.rv-section { padding: clamp(52px, 7vw, 96px) 0; }
.rv-section-compact { padding-top: 38px; }
.rv-section-head { display: flex; justify-content: space-between; align-items: end; gap: 22px; margin-bottom: 26px; }
.rv-office-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.rv-article, .rv-office { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.rv-article-copy, .rv-office { padding: 22px; }
.rv-article-copy h3 { margin-bottom: 12px; }
.rv-sell-band { background: #152b42; color: white; padding: 45px 0; }
.rv-sell-band .rv-kicker { color: #ffc3c8; }
.rv-band-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.rv-band-inner p:not(.rv-kicker) { margin-top: 12px; max-width: 56ch; }
.rv-article-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.rv-article { display: flex; flex-direction: column; }
.rv-article-image { display: block; aspect-ratio: 16 / 10; background: var(--paper); overflow: hidden; }
.rv-article-image img { width: 100%; height: 100%; object-fit: cover; }
.rv-image-placeholder { display: grid; height: 100%; place-items: center; font-weight: 850; color: var(--muted); letter-spacing: .12em; }
.rv-article-copy { flex: 1; display: flex; flex-direction: column; align-items: flex-start; }
.rv-article-copy time { color: var(--muted); font-size: .8rem; margin-bottom: 7px; }
.rv-article-copy h3 a { text-decoration: none; }
.rv-article-copy h3 a:hover { text-decoration: underline; }
.rv-article-copy .rv-text-link { margin-top: auto; }
.rv-contact-strip { background: var(--paper); padding: 44px 0; }
.rv-footer { background: #102134; color: white; padding: 45px 0 20px; }
.rv-footer-grid { display: grid; grid-template-columns: 1.3fr .65fr 1fr; gap: 30px; }
.rv-footer-grid h2 { font: 750 1rem system-ui, sans-serif; letter-spacing: 0; margin-bottom: 10px; }
.rv-footer-grid a:not(.rv-brand) { display: block; width: fit-content; margin-bottom: 8px; color: #d8e0e8; text-underline-offset: 4px; overflow-wrap: anywhere; }
.rv-footer-grid p { color: #d8e0e8; margin-top: 12px; }
.rv-footer-bottom { display: flex; justify-content: space-between; gap: 15px; border-top: 1px solid #486075; margin-top: 26px; padding-top: 16px; color: #d8e0e8; font-size: .82rem; }
.rv-intro { background: var(--paper); padding: clamp(50px, 8vw, 96px) 0; }
.rv-intro h1 { font-size: clamp(2.35rem, 5vw, 4.2rem); }
.rv-intro .rv-lead { margin-top: 16px; }
.rv-office h2, .rv-aside h2 { font-size: clamp(1.55rem, 3vw, 2.5rem); }
.rv-office p:not(.rv-kicker), .rv-aside p:not(.rv-kicker) { color: var(--muted); margin: 12px 0; }
.rv-office-grid { margin-bottom: 28px; }
.rv-form-layout { display: grid; grid-template-columns: minmax(0, 2.1fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.rv-form, .rv-aside { border: 1px solid var(--border); border-radius: var(--radius); padding: clamp(18px, 3vw, 32px); }
.rv-form h2 { font-size: clamp(1.65rem, 3.5vw, 2.65rem); }
.rv-aside { background: var(--paper); }
.rv-aside a { display: block; width: fit-content; margin-top: 10px; overflow-wrap: anywhere; }
.rv-muted { color: var(--muted); margin-top: 7px; }
.rv-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 20px 0; }
.rv-field-wide { grid-column: 1 / -1; }
.rv-field label, .rv-blog-search label { display: block; font-weight: 700; margin-bottom: 6px; font-size: .91rem; }
.rv-field input, .rv-field select, .rv-field textarea, .rv-blog-search input {
  border: 1px solid #aab0b5; border-radius: 7px; min-height: 46px; width: 100%; padding: 10px 12px; color: var(--ink); background: white;
}
.rv-field textarea { resize: vertical; }
.rv-field input[type="file"] { max-width: 100%; }
.rv-field [aria-invalid="true"] { border-color: var(--red); }
.rv-field-error { color: var(--red-dark); display: block; margin-top: 4px; }
.rv-form-status { padding: 12px; margin: 0 0 16px; border-radius: 7px; background: var(--paper); font-weight: 650; }
.rv-form-status[data-state="success"] { background: #e1f4e8; color: #115731; }
.rv-form-status[data-state="error"] { background: #fbe7e9; color: var(--red-dark); }
.rv-blog-search { max-width: 610px; margin-bottom: 26px; }
.rv-blog-search .rv-actions { flex-wrap: nowrap; }
.rv-blog-search input { flex: 1; min-width: 0; }
.rv-pagination { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 28px; }
.rv-empty { padding: 22px; background: var(--paper); border-radius: var(--radius); }
@media (max-width: 1040px) {
  .rv-wrap { width: calc(100% - 40px); }
  .rv-header-inner { grid-template-columns: auto 1fr; gap: 12px; padding-block: 12px; }
  .rv-header nav { justify-content: start; grid-column: 1 / -1; flex-wrap: wrap; gap: 5px 20px; grid-row: 2; }
  .rv-header-call { display: none; }
  .rv-menu-toggle:not([hidden]) { display: inline-flex; justify-self: end; align-items: center; gap: 8px; border: 1px solid var(--border); border-radius: 8px; background: transparent; padding: 8px 12px; min-height: 42px; color: white; }
  .rv-header-inner { min-height: 64px; }
  .rv-article-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .rv-wrap { width: calc(100% - 30px); }
  .rv-section-head, .rv-band-inner { align-items: start; flex-direction: column; }
  .rv-office-grid, .rv-article-grid, .rv-footer-grid, .rv-form-layout, .rv-fields { grid-template-columns: 1fr; }
  .rv-footer-grid { gap: 21px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
.rv-visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.rv-brand-hero {
  background: linear-gradient(90deg, #032353d9, #0323537d 58%, #03235355), url("/vizion/tirane.jpg") center 51% / cover no-repeat, var(--navy);
  color: white; padding: clamp(50px, 8vw, 108px) 0 clamp(48px, 6.5vw, 84px);
}
.rv-brand-hero h1 { max-width: 18ch; margin: 12px 0; }
.rv-hero-label { font-size: .78rem; letter-spacing: .16em; font-weight: 800; display: flex; align-items: center; gap: 10px; }
.rv-hero-label::before { content: ""; width: 26px; height: 3px; background: #ff5069; }
.rv-brand-hero-lead { max-width: 58ch; color: #f4f8ff; font-size: clamp(1rem, 1.8vw, 1.16rem); }
.rv-catalog-search {
  max-width: 960px; margin-top: 26px; padding: 16px; border: 1px solid #d8e3f2; border-radius: 12px; background: white;
  color: var(--ink); box-shadow: 0 12px 30px #142a4817;
}
.rv-transaction { display: flex; flex-wrap: wrap; gap: 6px; border: 0; padding: 0; margin: 0 0 15px; }
.rv-transaction label { position: relative; cursor: pointer; }
.rv-transaction input { position: absolute; opacity: 0; }
.rv-transaction span {
  display: block; padding: 8px 15px; font-size: .88rem; font-weight: 750; border-radius: 6px; border: 1px solid #d4dfef;
}
.rv-transaction input:checked + span { color: white; background: var(--blue-dark); border-color: var(--blue-dark); }
.rv-transaction input:focus-visible + span { outline: 3px solid #126fbb; outline-offset: 2px; }
.rv-search-fields { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1.3fr) minmax(0, 1fr) auto; gap: 10px; align-items: end; }
.rv-search-fields label > span:first-child { display: block; font-size: .77rem; font-weight: 750; margin-bottom: 5px; }
.rv-search-fields select, .rv-search-fields input {
  border: 1px solid #a9b8cc; border-radius: 7px; color: var(--ink); width: 100%; min-height: 48px; padding: 10px 11px; background: white;
}
.rv-search-input { position: relative; display: block; }
.rv-search-input svg { position: absolute; top: 15px; left: 11px; color: var(--blue-dark); pointer-events: none; }
.rv-search-input input { padding-left: 36px; }
.rv-home-catalog { padding-top: clamp(34px, 5vw, 64px); }
.rv-categories { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 23px; }
.rv-categories a {
  color: var(--blue-dark); text-decoration: none; border: 1px solid #cfddf1; background: #f4f8ff; border-radius: 7px;
  padding: 9px 13px; font-weight: 750; font-size: .87rem;
}
.rv-categories a:hover { background: #e6efff; }
.rv-property-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.rv-property-card { border: 1px solid #dce4ef; border-radius: 12px; background: white; }
.rv-property-link { display: flex; flex-direction: column; height: 100%; text-decoration: none; border-radius: inherit; }
.rv-property-link:hover { box-shadow: 0 10px 24px #142a481c; }
.rv-property-image { position: relative; aspect-ratio: 16 / 10; background: #eef3fa; overflow: hidden; border-radius: 11px 11px 0 0; }
.rv-property-image img { width: 100%; height: 100%; object-fit: cover; }
.rv-property-placeholder { display: grid; height: 100%; place-items: center; color: var(--navy); }
.rv-property-badge {
  position: absolute; left: 12px; top: 12px; background: var(--navy); color: white; padding: 5px 9px;
  border-radius: 4px; font-size: .75rem; font-weight: 800;
}
.rv-property-badge.is-rent { background: var(--red); }
.rv-property-body { padding: 16px; flex: 1; display: flex; flex-direction: column; gap: 7px; }
.rv-property-type { color: var(--muted); font-size: .77rem; }
.rv-price { font-size: 1.28rem; font-weight: 800; color: var(--navy); }
.rv-price small { font-size: .8rem; font-weight: 650; }
.rv-property-body h3 { font-size: 1.08rem; }
.rv-property-location { display: flex; align-items: flex-start; gap: 6px; color: var(--muted); font-size: .87rem; }
.rv-property-location svg { flex-shrink: 0; margin-top: 2px; }
.rv-property-stats { list-style: none; display: flex; flex-wrap: wrap; padding: 0; margin: 6px 0 0; gap: 7px 12px; color: var(--muted); font-size: .79rem; }
.rv-property-stats li { display: flex; align-items: center; gap: 5px; }
.rv-property-more { display: flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 9px; color: var(--blue-dark); font-size: .89rem; font-weight: 800; }
.rv-results-page .rv-intro { padding-block: 42px; }
.rv-results-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.rv-results-head h2 { font-size: 1.55rem; }
.rv-detail .rv-property-location { margin-top: 9px; }
.rv-detail-text { white-space: pre-line; margin-top: 15px; }
.rv-detail .rv-price { font-size: 1.65rem; }
@media (max-width: 850px) {
  .rv-property-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rv-search-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rv-location-field { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .rv-property-grid { grid-template-columns: 1fr; }
  .rv-catalog-search { padding: 12px; }
  .rv-search-fields button { grid-column: 1 / -1; }
}

.rv-location-field > label { display: block; font-size: .77rem; font-weight: 750; margin-bottom: 5px; }
.rv-location-suggestions {
  position: absolute; z-index: 5; top: calc(100% + 4px); left: 0; right: 0; color: var(--ink);
  border: 1px solid #d8e3f2; border-radius: 8px; background: white; box-shadow: 0 10px 24px #142a4826; overflow: hidden;
}
.rv-suggestions-heading { padding: 8px 12px; background: var(--paper); color: var(--blue-dark); font-size: .82rem; font-weight: 750; }
.rv-location-suggestions ul { margin: 0; padding: 0; list-style: none; max-height: min(260px, 36vh); overflow-y: auto; overscroll-behavior: contain; }
.rv-location-suggestions li { min-height: 42px; padding: 9px 12px; cursor: pointer; overflow-wrap: anywhere; }
.rv-location-suggestions li:hover, .rv-location-suggestions li[aria-selected="true"] { background: #e6efff; color: var(--blue-dark); }

.rv-detail { background: var(--paper); padding: clamp(22px, 4vw, 46px) 0 64px; }
.rv-detail-crumb { display: flex; flex-wrap: wrap; gap: 7px; font-size: .88rem; color: var(--muted); margin-bottom: 20px; }
.rv-detail-crumb a { color: var(--blue-dark); text-decoration: none; }
.rv-detail-crumb a:hover { text-decoration: underline; }
.rv-detail-hero { display: grid; gap: 22px; align-items: center; }
.rv-detail-has-gallery { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); }
.rv-detail-summary { min-width: 0; }
.rv-detail-tag { display: inline-block; background: var(--navy); color: white; font-weight: 750; font-size: .8rem; border-radius: 5px; padding: 5px 10px; }
.rv-detail-summary h1 { font-size: clamp(1.9rem, 3.4vw, 3.25rem); margin: 10px 0 13px; overflow-wrap: anywhere; }
.rv-detail-price-line { display: flex; flex-wrap: wrap; gap: 4px 16px; align-items: baseline; }
.rv-detail-price-line > span { color: var(--muted); font-size: .82rem; }
.rv-detail-summary .rv-detail-location { color: var(--blue-dark); width: fit-content; text-underline-offset: 3px; }
.rv-detail-summary .rv-property-stats { margin-top: 15px; }
.rv-detail-actions { margin-top: 20px; }
.rv-gallery-preview {
  display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: repeat(2, minmax(0, 1fr)); aspect-ratio: 8 / 5;
  gap: 5px; position: relative; overflow: hidden; border-radius: 12px; background: #dce4ef;
}
.rv-gallery-preview > a[data-photo]:not(.rv-gallery-open) { display: block; min-width: 0; min-height: 0; }
.rv-gallery-preview > a:first-child { grid-row: span 2; }
.rv-gallery-preview img { width: 100%; height: 100%; object-fit: cover; }
.rv-gallery-single { grid-template-columns: 1fr; }
.rv-gallery-two > a:nth-child(2) { grid-row: span 2; }
.rv-gallery-preview .rv-gallery-open { position: absolute; bottom: 12px; right: 12px; display: inline-flex; min-height: 40px; box-shadow: 0 2px 8px #10213442; }
.rv-gallery-dialog { width: min(1050px, calc(100% - 24px)); max-height: calc(100% - 24px); padding: 14px; border: 0; border-radius: 12px; background: #102134; color: white; }
.rv-gallery-dialog::backdrop { background: #061020d9; }
body:has(.rv-gallery-dialog[open]) { overflow: hidden; }
.rv-gallery-toolbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.rv-gallery-control { min-width: 42px; min-height: 42px; border: 1px solid #ffffff80; border-radius: 7px; background: transparent; color: white; font-size: 1.6rem; line-height: 1; }
.rv-gallery-control:hover { background: #ffffff24; }
.rv-gallery-stage { display: grid; grid-template-columns: 42px minmax(0, 1fr) 42px; gap: 8px; align-items: center; }
.rv-gallery-stage img { grid-column: 2; width: 100%; height: min(70vh, 680px); object-fit: contain; }
.rv-detail-body { display: grid; grid-template-columns: minmax(0, 1.85fr) minmax(0, 1fr); align-items: start; gap: 22px; margin-top: 26px; }
.rv-detail-main { display: grid; gap: 14px; min-width: 0; }
.rv-detail-panel { background: white; border: 1px solid #dce4ef; border-radius: 12px; padding: clamp(16px, 3vw, 27px); min-width: 0; }
.rv-detail-panel h2, .rv-detail-related h2 { font-size: clamp(1.35rem, 2.4vw, 2rem); }
.rv-detail-panel h3 { margin-top: 12px; }
.rv-detail-text { overflow-wrap: anywhere; }
.rv-spec-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 16px 0 0; }
.rv-spec-grid div { padding: 10px; background: var(--paper); border-radius: 6px; }
.rv-spec-grid dt { color: var(--muted); font-size: .8rem; }
.rv-spec-grid dd { margin: 4px 0 0; font-weight: 750; }
.rv-detail-features ul { display: flex; flex-wrap: wrap; gap: 7px; list-style: none; padding: 0; margin: 12px 0 0; }
.rv-detail-features li { background: #eaf1fa; color: var(--blue-dark); border-radius: 5px; padding: 6px 9px; font-size: .86rem; }
.rv-detail-panel .rv-text-link { display: inline-block; margin-top: 12px; }
.rv-detail-contact { position: sticky; top: 14px; }
.rv-detail-contact p:not(.rv-kicker) { margin: 10px 0 14px; }
.rv-detail-contact .rv-button { display: flex; margin-bottom: 8px; }
.rv-detail-related { margin-top: 34px; }
@media (max-width: 800px) {
  .rv-detail-has-gallery, .rv-detail-body { grid-template-columns: 1fr; }
  .rv-detail-contact { position: static; }
}
@media (max-width: 560px) {
  .rv-gallery-dialog { padding: 8px; }
  .rv-gallery-stage { gap: 4px; }
  .rv-gallery-stage img { height: min(60vh, 420px); }
  .rv-gallery-preview .rv-gallery-open { bottom: 7px; right: 7px; }
}
