/* Fontes hospedadas localmente em assets/fonts/ (antes: @import do Google Fonts,
   que bloqueava a renderização e adicionava 2 domínios externos ao caminho crítico). */
@font-face { font-family:'Figtree'; font-style:normal; font-weight:400; font-display:swap; src:url('../fonts/figtree-latin-400-normal.woff2') format('woff2'); unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family:'Figtree'; font-style:normal; font-weight:500; font-display:swap; src:url('../fonts/figtree-latin-500-normal.woff2') format('woff2'); unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family:'Figtree'; font-style:normal; font-weight:600; font-display:swap; src:url('../fonts/figtree-latin-600-normal.woff2') format('woff2'); unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family:'Figtree'; font-style:normal; font-weight:700; font-display:swap; src:url('../fonts/figtree-latin-700-normal.woff2') format('woff2'); unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family:'Source Serif 4'; font-style:normal; font-weight:600; font-display:swap; src:url('../fonts/source-serif-4-latin-600-normal.woff2') format('woff2'); unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family:'Source Serif 4'; font-style:normal; font-weight:700; font-display:swap; src:url('../fonts/source-serif-4-latin-700-normal.woff2') format('woff2'); unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }

:root {
  --rm-navy-900: #0B2239;
  --rm-navy-800: #14295A;
  --rm-navy-700: #1D3E7B;
  --rm-navy-600: #2A5296;
  --rm-yellow: #EDC602;
  --rm-yellow-dark: #D8B402;
  --rm-text-muted: #5A6B7B;
  --rm-text-mutedLight: #647686;
  --rm-border: #E3E9EF;
  --rm-bg-light: #F4F6F9;
  --rm-serif: 'Source Serif 4', Georgia, serif;
  --rm-sans: 'Figtree', -apple-system, sans-serif;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: var(--rm-sans);
  color: #12233F;
  background: #FFFFFF;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; }
img { max-width: 100%; display: block; }

/* ===== Top utility bar ===== */
.rm-topbar { background: var(--rm-navy-800); color: #93A6B8; font-size: 13px; letter-spacing: 0.02em; }
.rm-topbar-inner { max-width: 1240px; margin: 0 auto; padding: 9px 40px; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.rm-topbar-left { display: flex; gap: 26px; align-items: center; }
.rm-topbar-right { display: flex; gap: 22px; align-items: center; }
.rm-topbar a { color: #93A6B8; }
.rm-topbar a.rm-phone { color: #FFFFFF; font-weight: 600; }
.rm-lang-switch { display: flex; gap: 8px; align-items: center; padding-right: 4px; border-right: 1px solid #3C556C; margin-right: 4px; }
.rm-lang-btn { display: flex; border-radius: 2px; overflow: hidden; opacity: 0.55; transition: opacity 0.15s ease, transform 0.15s ease; line-height: 0; }
.rm-lang-btn:hover { opacity: 1; transform: translateY(-1px); }
.rm-lang-btn.rm-lang-active { opacity: 1; box-shadow: 0 0 0 1.5px #EDC602; }

/* ===== Header / nav ===== */
.rm-header { position: sticky; top: 0; z-index: 60; background: var(--rm-navy-700); border-bottom: 1px solid rgba(255,255,255,0.10); }
.rm-header-inner { max-width: 1240px; margin: 0 auto; padding: 16px 40px; display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.rm-logo img { height: 48px; width: auto; }
.rm-nav-links { display: flex; align-items: center; gap: 28px; font-size: 14.5px; font-weight: 500; }
.rm-nav-links > a, .rm-nav-item > button { color: #DCE5ED; background: none; border: none; font: inherit; cursor: pointer; padding: 0; display: flex; align-items: center; gap: 5px; }
.rm-nav-links > a:hover, .rm-nav-item > button:hover { color: #FFFFFF; }
.rm-nav-item { position: relative; }
.rm-nav-submenu {
  position: absolute; top: 100%; left: -18px; margin-top: 14px;
  background: #FFFFFF; border-radius: 4px; box-shadow: 0 22px 50px rgba(11,34,57,0.28);
  min-width: 280px; padding: 8px; opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
}
.rm-nav-item:hover .rm-nav-submenu, .rm-nav-item:focus-within .rm-nav-submenu { opacity: 1; visibility: visible; transform: translateY(0); }
.rm-nav-submenu a { display: block; padding: 11px 14px; border-radius: 3px; color: var(--rm-navy-700); font-size: 14.5px; font-weight: 500; }
.rm-nav-submenu a:hover { background: var(--rm-bg-light); }
.rm-nav-actions { display: flex; align-items: center; gap: 12px; }
.rm-btn-ghost { display: flex; align-items: center; gap: 8px; border: 1px solid rgba(255,255,255,0.28); color: #FFFFFF; padding: 10px 16px; border-radius: 3px; font-size: 14px; font-weight: 600; }
.rm-btn-ghost:hover { background: rgba(255,255,255,0.08); }
.rm-btn-yellow { background: var(--rm-yellow); color: var(--rm-navy-800); padding: 11px 20px; border-radius: 3px; font-size: 14px; font-weight: 600; display: inline-block; }
.rm-btn-yellow:hover { background: var(--rm-yellow-dark); }
.rm-nav-toggle { display: none; background: transparent; border: none; padding: 8px; cursor: pointer; width: 40px; height: 40px; align-items: center; justify-content: center; }
.rm-nav-mobile-panel { display: none; flex-direction: column; padding: 8px 20px 20px; gap: 2px; border-top: 1px solid rgba(255,255,255,0.10); }
.rm-nav-mobile-panel a { color: #DCE5ED; padding: 12px 0; font-size: 15px; font-weight: 500; border-bottom: 1px solid rgba(255,255,255,0.08); }
.rm-nav-mobile-sub { display: none; flex-direction: column; padding-left: 14px; }
.rm-nav-mobile-sub a { border-bottom: none; padding: 9px 0; font-size: 14px; color: #B9C9D8; }
.rm-nav-mobile-panel .rm-nav-mobile-toggle { display: flex; align-items: center; justify-content: space-between; width: 100%; background: none; border: none; font: inherit; cursor: pointer; }

/* ===== Hero / breadcrumb ===== */
.rm-page-hero {
  position: relative; overflow: hidden; background: var(--rm-navy-900);
  min-height: 480px; display: flex; align-items: flex-end;
  background-size: cover;
}
.rm-page-hero-gradient {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(11,34,57,0.82) 0%, rgba(11,34,57,0.72) 38%, rgba(11,34,57,0.3) 70%, rgba(11,34,57,0.05) 100%);
}
.rm-page-hero-inner { position: relative; z-index: 1; max-width: 1240px; margin: 0 auto; padding: 0 40px 48px; width: 100%; box-sizing: border-box; }
.rm-breadcrumb { font-size: 13px; color: #8FA7BE; margin-bottom: 22px; }
.rm-breadcrumb a { color: #8FA7BE; }
.rm-breadcrumb a:hover { color: #FFFFFF; }
.rm-eyebrow { color: var(--rm-yellow); font-size: 12.5px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 16px; }
.rm-h1 { font-family: var(--rm-serif); font-size: 46px; line-height: 1.1; font-weight: 600; color: #FFFFFF; margin: 0 0 20px; letter-spacing: -0.02em; max-width: 780px; }
.rm-hero-lead { font-size: 17px; line-height: 1.65; color: #C6D4E0; max-width: 640px; margin: 0 0 32px; }

/* ===== Sections ===== */
section { padding: 0; }
.rm-section { max-width: 1240px; margin: 0 auto; padding: 88px 40px; }
.rm-section-tight { padding: 56px 40px; }
.rm-h2 { font-family: var(--rm-serif); font-size: 36px; line-height: 1.16; font-weight: 600; margin: 0 0 18px; letter-spacing: -0.02em; color: var(--rm-navy-700); }
.rm-lead { font-size: 16.5px; line-height: 1.7; color: var(--rm-text-muted); max-width: 720px; }
.rm-bg-light { background: var(--rm-bg-light); border-top: 1px solid var(--rm-border); border-bottom: 1px solid var(--rm-border); }

.rm-grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: var(--rm-border); border: 1px solid var(--rm-border); }
.rm-grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 1px; background: var(--rm-border); border: 1px solid var(--rm-border); }
.rm-grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.rm-card { background: #FFFFFF; padding: 34px 30px; }
.rm-card-icon { width: 44px; height: 44px; border-radius: 8px; background: #EEF3FA; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.rm-card-title { font-size: 18px; font-weight: 600; margin-bottom: 10px; color: var(--rm-navy-700); }
.rm-card-text { font-size: 14.5px; line-height: 1.65; color: var(--rm-text-muted); }

/* ===== Enhanced feature cards (icon + hover lift + staggered entrance) ===== */
.rm-fcard { background: #FFFFFF; padding: 36px 30px; position: relative; transition: background 0.28s ease, transform 0.28s ease, box-shadow 0.28s ease; }
.rm-fcard-icon { width: 48px; height: 48px; border-radius: 10px; background: #EEF3FA; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; transition: background 0.28s ease, transform 0.28s ease; }
.rm-fcard-icon svg { transition: stroke 0.28s ease; }
.rm-fcard-title { font-size: 17px; font-weight: 600; margin-bottom: 9px; color: var(--rm-navy-700); transition: color 0.28s ease; }
.rm-fcard-text { font-size: 14.5px; line-height: 1.65; color: var(--rm-text-muted); }
.rm-fcard:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(11,34,57,0.14); z-index: 2; }
.rm-fcard:hover .rm-fcard-icon { background: var(--rm-navy-700); transform: scale(1.06); }
.rm-fcard:hover .rm-fcard-icon svg { stroke: #FFFFFF; }
.rm-fgrid { display: grid; gap: 1px; background: var(--rm-border); border: 1px solid var(--rm-border); }
.rm-fgrid.rm-cols-3 { grid-template-columns: repeat(3, 1fr); }
.rm-fgrid.rm-cols-4 { grid-template-columns: repeat(4, 1fr); }
.rm-fgrid .rm-fcard { animation: rmFadeIn 0.6s ease both; }
.rm-fgrid .rm-fcard:nth-child(1) { animation-delay: 0s; }
.rm-fgrid .rm-fcard:nth-child(2) { animation-delay: 0.08s; }
.rm-fgrid .rm-fcard:nth-child(3) { animation-delay: 0.16s; }
.rm-fgrid .rm-fcard:nth-child(4) { animation-delay: 0.24s; }
.rm-fgrid .rm-fcard:nth-child(5) { animation-delay: 0.32s; }
.rm-fgrid .rm-fcard:nth-child(6) { animation-delay: 0.4s; }

/* Numbered step cards (used in "Como funciona") */
.rm-step-card { background: #FFFFFF; border: 1px solid var(--rm-border); border-radius: 6px; padding: 28px 26px; transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease; animation: rmFadeIn 0.6s ease both; }
.rm-step-card:nth-child(1) { animation-delay: 0s; }
.rm-step-card:nth-child(2) { animation-delay: 0.1s; }
.rm-step-card:nth-child(3) { animation-delay: 0.2s; }
.rm-step-card:nth-child(4) { animation-delay: 0.3s; }
.rm-step-card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(11,34,57,0.14); border-color: var(--rm-navy-700); }
.rm-step-num { font-family: var(--rm-serif); font-size: 26px; font-weight: 700; color: var(--rm-navy-700); margin-bottom: 10px; transition: color 0.28s ease; }
.rm-step-card:hover .rm-step-num { color: var(--rm-yellow-dark); }

.rm-check-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; }
.rm-check-list li { display: flex; gap: 12px; font-size: 15.5px; line-height: 1.6; color: #223A57; }
.rm-check-list li::before { content: "✓"; color: var(--rm-navy-700); font-weight: 700; flex-shrink: 0; }

.rm-cta-block { background: var(--rm-navy-700); border-radius: 4px; padding: 52px 56px; text-align: center; }
.rm-cta-block .rm-h2 { color: #FFFFFF; }
.rm-cta-block p { color: #C6D4E0; font-size: 15.5px; margin: 0 0 26px; }

/* ===== Footer ===== */
.rm-footer { background: var(--rm-navy-700); border-top: 1px solid rgba(255,255,255,0.10); }
.rm-footer-grid { max-width: 1240px; margin: 0 auto; padding: 64px 40px 30px; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 50px; }
.rm-footer-col-title { font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: #9EAFBE; margin-bottom: 16px; }
.rm-footer-links { display: flex; flex-direction: column; gap: 11px; font-size: 14.5px; }
.rm-footer-links a, .rm-footer-links span { color: #C6D4E0; }
.rm-footer-links a:hover { color: #FFFFFF; }
.rm-footer-bottom { max-width: 1240px; margin: 0 auto; padding: 22px 40px 40px; border-top: 1px solid rgba(255,255,255,0.10); display: flex; justify-content: space-between; font-size: 13px; color: #9EAFBE; }

/* ===== Floating WhatsApp ===== */
.rm-float-whatsapp {
  position: fixed; right: 24px; bottom: 24px; z-index: 9999; width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 18px rgba(0,0,0,0.28); transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.rm-float-whatsapp:hover { transform: scale(1.08); box-shadow: 0 8px 22px rgba(0,0,0,0.34); }

/* ===== Reveal animation ===== */
@keyframes rmFadeIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
.rm-reveal { animation: rmFadeIn 0.7s ease both; }

/* ===== Gallery ===== */
.rm-gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 150px; grid-auto-flow: dense; gap: 10px; }
.rm-gallery-item { position: relative; display: block; overflow: hidden; border-radius: 6px; }
.rm-gallery-featured { grid-column: span 2; grid-row: span 2; }
.rm-gallery-grid-4 { display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: 320px 220px; gap: 10px; }
.rm-gallery-item-lg { grid-column: 1 / -1; grid-row: 1; }
.rm-gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s ease; }
.rm-gallery-item:hover img { transform: scale(1.06); }
.rm-gallery-item::after { content: ""; position: absolute; inset: 0; background: rgba(11,34,57,0); transition: background 0.25s ease; }
.rm-gallery-item:hover::after { background: rgba(11,34,57,0.08); }

/* ===== News cards ===== */
.rm-news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.rm-news-card {
  background: #FFFFFF; border: 1px solid var(--rm-border); border-radius: 8px; overflow: hidden;
  display: flex; flex-direction: column; color: var(--rm-navy-700); text-decoration: none;
  transition: transform 0.35s cubic-bezier(0.16,0.84,0.44,1), box-shadow 0.35s ease, border-color 0.35s ease;
  animation: rmFadeIn 0.65s ease both;
}
.rm-news-card:hover { transform: translateY(-8px); box-shadow: 0 24px 50px rgba(11,34,57,0.18); border-color: var(--rm-navy-700); }
.rm-news-grid .rm-news-card:nth-child(3n+1) { animation-delay: 0s; }
.rm-news-grid .rm-news-card:nth-child(3n+2) { animation-delay: 0.12s; }
.rm-news-grid .rm-news-card:nth-child(3n) { animation-delay: 0.24s; }
.rm-news-thumb { height: 190px; overflow: hidden; position: relative; background: #EEF3FA; }
.rm-news-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.6s cubic-bezier(0.16,0.84,0.44,1); }
.rm-news-card:hover .rm-news-thumb img { transform: scale(1.09); }
.rm-news-thumb::after {
  content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,34,57,0) 60%, rgba(11,34,57,0.25) 100%);
  opacity: 0; transition: opacity 0.35s ease;
}
.rm-news-card:hover .rm-news-thumb::after { opacity: 1; }
.rm-news-body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.rm-news-date { font-size: 12.5px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--rm-text-mutedLight); }
.rm-news-title { font-family: var(--rm-serif); font-size: 18px; line-height: 1.34; font-weight: 600; transition: color 0.3s ease; }
.rm-news-card:hover .rm-news-title { color: var(--rm-navy-600); }
.rm-news-cta {
  font-size: 13.5px; font-weight: 600; color: var(--rm-navy-700); display: flex; align-items: center; gap: 6px;
  margin-top: auto; padding-top: 6px; opacity: 0; transform: translateX(-8px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.rm-news-card:hover .rm-news-cta { opacity: 1; transform: translateX(0); }
.rm-news-cta svg { transition: transform 0.3s ease; }
.rm-news-card:hover .rm-news-cta svg { transform: translateX(3px); }

/* ===== Parallax-style section (no fixed attachment — more compatible) ===== */
.rm-parallax {
  background-size: cover; background-position: center;
  min-height: 420px; display: flex; align-items: center; justify-content: center;
  position: relative; text-align: center;
}
.rm-parallax-overlay { position: absolute; inset: 0; background: linear-gradient(rgba(11,34,57,0.6),rgba(11,34,57,0.6)); }
.rm-parallax-content { position: relative; z-index: 1; max-width: 760px; padding: 24px; }
.rm-parallax-eyebrow { color: var(--rm-yellow); font-size: 12.5px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 16px; }
.rm-parallax-quote { font-family: var(--rm-serif); font-size: 32px; line-height: 1.35; font-weight: 600; color: #FFFFFF; margin-bottom: 18px; }
.rm-parallax-sub { font-size: 15.5px; color: #C6D4E0; }

/* ===== Video thumbnail cards (link out to YouTube) ===== */
.rm-video-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.rm-video-thumb {
  position: relative; display: block; padding-bottom: 56.25%; height: 0; overflow: hidden; border-radius: 8px;
  box-shadow: 0 18px 44px rgba(11,34,57,0.16); background: #0B2239;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.rm-video-thumb:hover { transform: translateY(-5px); box-shadow: 0 24px 54px rgba(11,34,57,0.24); }
.rm-video-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease, filter 0.4s ease; }
.rm-video-thumb:hover img { transform: scale(1.05); filter: brightness(0.75); }
.rm-video-play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 68px; height: 68px; border-radius: 50%; background: rgba(11,34,57,0.78);
  display: flex; align-items: center; justify-content: center; transition: background 0.3s ease, transform 0.3s ease;
}
.rm-video-thumb:hover .rm-video-play { background: #EDC602; transform: translate(-50%, -50%) scale(1.08); }
.rm-video-thumb:hover .rm-video-play svg { fill: #14295A; }

/* ===== Property catalog (Sanity) ===== */
.rm-property-toolbar { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 32px; }
.rm-property-toolbar input, .rm-property-toolbar select {
  padding: 11px 14px; border: 1px solid var(--rm-border); border-radius: 4px; font-size: 14px; font-family: var(--rm-sans); color: #12233F;
}
.rm-property-toolbar input[type="text"] { flex: 1; min-width: 200px; }
.rm-property-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.rm-property-card {
  background: #FFFFFF; border: 1px solid var(--rm-border); border-radius: 8px; overflow: hidden; cursor: pointer;
  display: flex; flex-direction: column; transition: transform 0.32s cubic-bezier(0.16,0.84,0.44,1), box-shadow 0.32s ease, border-color 0.32s ease;
  animation: rmFadeIn 0.6s ease both;
}
.rm-property-card:hover { transform: translateY(-7px); box-shadow: 0 22px 46px rgba(11,34,57,0.16); border-color: var(--rm-navy-700); }
.rm-property-thumb { height: 200px; position: relative; overflow: hidden; background: #EEF3FA; }
.rm-property-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.rm-property-card:hover .rm-property-thumb img { transform: scale(1.07); }
.rm-property-badge {
  position: absolute; top: 14px; left: 14px; background: rgba(11,34,57,0.85); color: #FFFFFF; font-size: 11.5px; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase; padding: 5px 10px; border-radius: 3px;
}
.rm-property-badge.disponivel { background: rgba(37,140,90,0.9); }
.rm-property-badge.reservada { background: rgba(200,150,20,0.9); }
.rm-property-badge.vendida { background: rgba(150,40,40,0.9); }
.rm-property-badge-categoria {
  position: absolute; top: 14px; right: 14px; background: rgba(255,255,255,0.92); color: var(--rm-navy-700); font-size: 11.5px; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase; padding: 5px 10px; border-radius: 3px;
}
.rm-property-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.rm-property-price { font-family: var(--rm-serif); font-size: 20px; font-weight: 700; color: var(--rm-navy-700); }
.rm-property-title { font-size: 15.5px; font-weight: 600; color: #12233F; line-height: 1.35; }
.rm-property-meta { font-size: 13.5px; color: var(--rm-text-muted); display: flex; gap: 12px; flex-wrap: wrap; }
.rm-property-empty, .rm-property-loading { text-align: center; padding: 60px 20px; color: var(--rm-text-mutedLight); font-size: 15px; }

.rm-property-modal-overlay {
  position: fixed; inset: 0; background: rgba(11,34,57,0.72); z-index: 200; display: none;
  align-items: center; justify-content: center; padding: 28px; backdrop-filter: blur(3px);
}
.rm-property-modal-overlay.rm-open { display: flex; }
.rm-property-modal {
  background: #FFFFFF; border-radius: 6px; max-width: 1080px; width: 100%; max-height: 92vh; overflow-y: auto;
  position: relative; animation: rmFadeIn 0.3s ease both; box-sizing: border-box; box-shadow: 0 30px 80px rgba(0,0,0,0.35);
}
.rm-property-modal-close {
  position: absolute; top: 20px; right: 20px; width: 38px; height: 38px; border-radius: 50%;
  background: rgba(11,34,57,0.55); backdrop-filter: blur(6px);
  color: #FFFFFF; border: 1px solid rgba(255,255,255,0.25); cursor: pointer; display: flex; align-items: center; justify-content: center; z-index: 4;
  transition: background 0.2s ease;
}
.rm-property-modal-close:hover { background: rgba(11,34,57,0.85); }

/* ===== Property modal carousel ===== */
.rm-carousel { position: relative; width: 100%; background: #0B2239; }
.rm-carousel-main { width: 100%; aspect-ratio: 16 / 8; max-height: 560px; overflow: hidden; position: relative; }
.rm-carousel-main img, .rm-carousel-main iframe {
  width: 100%; height: 100%; object-fit: cover; display: block; border: 0;
  animation: rmCarouselFade 0.35s ease both;
}
@keyframes rmCarouselFade { from { opacity: 0; } to { opacity: 1; } }
.rm-carousel-edge { position: absolute; top: 0; bottom: 0; width: 90px; z-index: 1; pointer-events: none; opacity: 0; transition: opacity 0.25s ease; }
.rm-carousel:hover .rm-carousel-edge { opacity: 1; }
.rm-carousel-edge-left { left: 0; background: linear-gradient(90deg, rgba(11,34,57,0.35), transparent); }
.rm-carousel-edge-right { right: 0; background: linear-gradient(270deg, rgba(11,34,57,0.35), transparent); }
.rm-carousel-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; border-radius: 50%;
  background: rgba(11,34,57,0.38); backdrop-filter: blur(6px); border: 1px solid rgba(255,255,255,0.35);
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  z-index: 2; opacity: 0; transition: opacity 0.25s ease, background 0.2s ease, transform 0.2s ease;
}
.rm-carousel:hover .rm-carousel-arrow { opacity: 1; }
.rm-carousel-arrow:hover { background: rgba(11,34,57,0.6); transform: translateY(-50%) scale(1.06); }
.rm-carousel-arrow svg { stroke: #FFFFFF; }
.rm-carousel-arrow-prev { left: 18px; }
.rm-carousel-arrow-next { right: 18px; }
.rm-carousel-counter {
  position: absolute; bottom: 16px; right: 18px; background: rgba(11,34,57,0.5); backdrop-filter: blur(6px);
  color: #FFFFFF; font-size: 11.5px; font-weight: 600; letter-spacing: 0.04em; padding: 5px 12px; border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.2); z-index: 2;
}
.rm-carousel-thumbs { display: flex; gap: 10px; padding: 16px; background: #F4F6F9; overflow-x: auto; border-bottom: 1px solid var(--rm-border); }
.rm-carousel-thumb {
  flex-shrink: 0; width: 96px; height: 68px; border-radius: 4px; overflow: hidden; border: 2px solid transparent;
  padding: 0; cursor: pointer; background: #14295A; display: flex; align-items: center; justify-content: center;
  opacity: 0.55; filter: grayscale(35%); transition: opacity 0.22s ease, border-color 0.22s ease, filter 0.22s ease, transform 0.22s ease;
}
.rm-carousel-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rm-carousel-thumb:hover { opacity: 0.85; filter: grayscale(0%); }
.rm-carousel-thumb-active { opacity: 1; filter: grayscale(0%); border-color: var(--rm-yellow); transform: translateY(-2px); }
.rm-carousel-thumb-video { background: #14295A; }

.rm-modal-docs { margin: 22px 0; padding: 16px; background: #F4F6F9; border-radius: 6px; }
.rm-modal-docs-title { font-size: 12.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #5A6B7B; margin-bottom: 10px; }
.rm-modal-doc-item {
  display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 4px; background: #FFFFFF;
  border: 1px solid #E3E9EF; font-size: 13.5px; font-weight: 600; color: #1D3E7B; text-decoration: none; margin-bottom: 6px;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.rm-modal-doc-item:hover { border-color: var(--rm-navy-700); background: #EEF3FA; }
.rm-modal-doc-item:last-child { margin-bottom: 0; }

.rm-property-modal-body { padding: 28px 28px 36px; box-sizing: border-box; }

@media (max-width: 860px) {
  .rm-topbar { display: none; }
  .rm-nav-links, .rm-nav-actions { display: none; }
  .rm-nav-toggle { display: flex; }
  .rm-nav-mobile-panel.rm-open { display: flex; }
  .rm-header-inner { padding: 14px 20px; }
  .rm-page-hero-inner { padding: 0 20px 32px; }
  .rm-page-hero { min-height: 340px; }
  .rm-h1 { font-size: 30px; }
  .rm-h2 { font-size: 26px; }
  .rm-section, .rm-section-tight { padding: 48px 20px; }
  .rm-grid-3, .rm-grid-2, .rm-grid-4 { grid-template-columns: 1fr; }
  .rm-fgrid.rm-cols-3, .rm-fgrid.rm-cols-4 { grid-template-columns: 1fr; }
  .rm-split-panel { grid-template-columns: 1fr !important; }
  .rm-news-grid { grid-template-columns: 1fr !important; }
  .rm-property-grid { grid-template-columns: 1fr !important; }
  .rm-property-modal { max-width: 100% !important; max-height: 94vh !important; border-radius: 0 !important; }
  .rm-carousel-main { aspect-ratio: 4 / 3 !important; max-height: none !important; }
  .rm-carousel-arrow { width: 36px !important; height: 36px !important; opacity: 1 !important; }
  .rm-carousel-edge { opacity: 1 !important; }
  .rm-carousel-thumb { width: 68px !important; height: 50px !important; }
  .rm-carousel-thumbs { padding: 12px !important; gap: 8px !important; }
  .rm-property-modal-body { padding: 22px 18px 28px !important; }
  .rm-parallax { min-height: 320px !important; }
  .rm-parallax-quote { font-size: 24px !important; }
  .rm-video-grid { grid-template-columns: 1fr !important; }
  .rm-footer-grid { grid-template-columns: 1fr; gap: 34px; padding: 48px 20px 24px; }
  .rm-footer-bottom { flex-direction: column; gap: 8px; padding: 18px 20px 28px; }
  .rm-cta-block { padding: 36px 24px; }
  .rm-map-card { grid-template-columns: 1fr !important; }
  .rm-gallery-grid { grid-template-columns: repeat(2, 1fr) !important; grid-auto-rows: 130px !important; }
  .rm-gallery-featured { grid-column: span 2 !important; grid-row: span 1 !important; height: 200px; }
  .rm-gallery-grid-4 { grid-template-columns: 1fr !important; grid-template-rows: 220px repeat(3, 160px) !important; }
  .rm-gallery-item-lg { grid-column: 1 !important; }
  .rm-section > div[style*="display:flex"][style*="align-items:flex-start"] { flex-direction: column; align-items: flex-start !important; gap: 20px !important; }
}

