/* =========================================================
   REALTY ASSISTANT — Bootstrap 5 theme layer
   Breakpoints follow Bootstrap: sm 576 · md 768 · lg 992 · xl 1200
========================================================= */
:root {
  --brand-blue: #4561b2;
  --brand-pink: #c4447d;
  --brand-gradient: linear-gradient(90deg, #4561b2 0%, #c4447d 100%);
  --navy: #17145f;
  --gold: #d9a441;
  --lux-bg: #0a0e2a;
}

.ra-home { overflow-x: hidden; }
.ra-home a { text-decoration: none; }
/* the "Schedule a visit" block is also included outside .ra-home (calculators, compare, shortlist) */
.ra-contact-section a, .ra-contact-section a:hover { text-decoration: none; }
.ra-home img { max-width: 100%; }

/* ---------- Shared helpers ---------- */
.text-navy { color: var(--navy) !important; }
.text-gradient { background: var(--brand-gradient); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.font-display { font-family: "Playfair Display", serif; }
.ra-container { width: 100%; max-width: 1450px; margin: 0 auto; padding: 0 20px; }

.btn-brand {
  background: var(--brand-gradient); background-size: 200% 100%;
  color: #fff; border: 0;
  transition: transform .3s ease, box-shadow .3s ease, background-position .5s ease;
}
.btn-brand:hover, .btn-brand:focus { color: #fff; transform: translateY(-2px); background-position: 100% 50%; box-shadow: 0 10px 24px rgba(196, 68, 125, .22); }

.section-title { margin: 0; font-size: 20px; line-height: 1.15; font-weight: 600; color: var(--navy); letter-spacing: -.3px; }
@media (min-width: 768px) { .section-title { font-size: 30px; } }
.brand-underline { height: 3px; margin-top: 10px; border-radius: 999px; background: linear-gradient(to right, #325998 0, #45376c 50%, #584587 60%, #af3869 100%); max-width: 100%; }
@media (max-width: 767.98px) { .brand-underline { width: 94px !important; height: 2px; margin-top: 6px; } }

.view-all { display: inline-flex; align-items: center; gap: 6px; color: #111; font-size: 11px; font-weight: 500; white-space: nowrap; }
.view-all svg { width: 14px; height: 14px; }
.view-all:hover { color: var(--brand-pink); }
@media (min-width: 768px) { .view-all { font-size: 15px; } }

.scroll-x { overflow-x: auto; scrollbar-width: none; -ms-overflow-style: none; -webkit-overflow-scrolling: touch; scroll-snap-type: x proximity; }
.scroll-x::-webkit-scrollbar { display: none; }

.ra-eyebrow { font-size: 9px; text-transform: uppercase; letter-spacing: 1.7px; font-weight: 700; color: var(--brand-pink); margin-bottom: 6px; }

@keyframes raPing { 75%, 100% { transform: scale(2); opacity: 0; } }
@keyframes raRevealUp { from { opacity: 0; transform: translate3d(0, 22px, 0); } to { opacity: 1; transform: none; } }
.ra-home > section { animation: raRevealUp .8s cubic-bezier(.22, 1, .36, 1) both; }

/* =========================================================
   HERO
========================================================= */
.ra-hero { position: relative; overflow: hidden; background: #120d2b; border-radius: 0 0 24px 24px; }
@media (min-width: 768px) { .ra-hero { border-radius: 0 0 70px 70px; } }
.ra-hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ra-hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.45), rgba(0,0,0,.2) 50%, rgba(0,0,0,.1)), rgba(0,0,0,.4); }

.ra-hero-content { position: relative; z-index: 10; margin: 57px 0 0; padding: 48px 10px 36px; }
@media (min-width: 768px) { .ra-hero-content { width: calc(100% - 62px); margin: 0 auto; padding: 173px 0 48px; } }
@media (min-width: 992px) { .ra-hero-content { width: calc(100% - 80px); max-width: 1360px; padding-bottom: 130px; } }

.ra-hero-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 9px; color: #fff; opacity: .9; font-size: 8px; line-height: 11px; font-weight: 600; letter-spacing: 1.35px; text-transform: uppercase; }
.ra-hero-copy h1 { margin: 0; max-width: 285px; color: #fff; font-size: 31px; line-height: 1.02; font-weight: 800; letter-spacing: -.65px; }
.ra-hero-copy p { margin: 10px 0 0; max-width: 300px; color: #fff; opacity: .95; font-size: 10px; line-height: 14px; }
@media (min-width: 768px) {
  .ra-hero-tags { font-size: 11px; gap: 14px; margin-bottom: 14px; letter-spacing: 2px; }
  .ra-hero-copy h1 { font-size: 44px; max-width: 560px; letter-spacing: -1px; }
  .ra-hero-copy p { font-size: 14px; line-height: 20px; max-width: 500px; margin-top: 12px; }
}
@media (min-width: 992px) { .ra-hero-copy h1 { font-size: 52px; line-height: 1.08; max-width: 620px; letter-spacing: -1.5px; } }
/* tablet + desktop: exactly 2 lines, "India's Finest" / "Real Estate Dimensions" (the <br> in the markup); no width cap */
@media (min-width: 768px) { .ra-hero-copy h1 { max-width: none; white-space: nowrap; } }

/* ---------- Search panel (mobile first: stacked) ---------- */
.ra-search-wrap { margin-top: 10px; }
.ra-search { display: flex; flex-direction: column; background: #fff; border-radius: 13px; padding: 0 16px 15px; box-shadow: 0 8px 22px rgba(0,0,0,.18); }
.ra-search-input { display: flex; align-items: center; gap: 4px; height: 57px; border-bottom: 1px solid #e5e7eb; }
.ra-search-ico { width: 21px; height: 21px; flex: 0 0 21px; margin-right: 6px; color: #38508f; }
.ra-search-input input { flex: 1; min-width: 0; padding: 0; border: 0; outline: 0; background: transparent; font-size: 15px; color: #293248; }
.ra-search-input input::placeholder { color: #9aa3b6; }

.ra-home .ra-icon-btn { position: relative; flex: 0 0 30px; width: 30px; height: 30px; padding: 0; display: flex; align-items: center; justify-content: center; border: 0; border-radius: 50%; background: transparent; color: #7c3f83; transition: background .2s, transform .3s; }
.ra-home .ra-icon-btn svg { position: relative; width: 20px; height: 20px; }
.ra-home .ra-icon-btn:hover { background: #f4eef7; transform: scale(1.08); }
.ra-voice-pulse { display: none; position: absolute; inset: 0; border-radius: 50%; background: rgba(196, 69, 128, .3); animation: raPing 1s cubic-bezier(0, 0, .2, 1) infinite; }
#voiceBtn.is-listening { color: var(--brand-pink); }
#voiceBtn.is-listening .ra-voice-pulse { display: block; }
#voiceBtn.is-unsupported { opacity: .4; }

.ra-field { position: relative; border-bottom: 1px solid #e1e4ea; }
.ra-field-btn { width: 100%; height: 62px; padding: 0; border: 0; background: transparent; text-align: left; display: flex; flex-direction: column; justify-content: center; }
.ra-field-label { display: block; margin-bottom: 4px; font-size: 12px; line-height: 14px; color: #8d9ab0; }
.ra-field-value { display: flex; align-items: center; justify-content: space-between; width: 100%; font-size: 15px; line-height: 18px; font-weight: 500; color: #20283b; }
.ra-field-value svg { width: 18px; height: 18px; flex-shrink: 0; color: #475569; transition: transform .2s; }
.ra-field-btn.show .ra-field-value svg { transform: rotate(180deg); }
.ra-field .dropdown-menu { min-width: 170px; padding: 8px; border-color: #e5e5e5; border-radius: 8px; box-shadow: 0 10px 25px rgba(0,0,0,.12); font-size: 13px; }
.ra-field .dropdown-item { padding: 8px 12px; border-radius: 6px; color: #333; }
.ra-field .dropdown-item:hover, .ra-field .dropdown-item.active { background: #f5f5f7; color: #333; }

.ra-near-me { align-items: center; gap: 6px; flex-shrink: 0; height: 32px; padding: 0 13px; margin-right: 14px; border: 1px solid #c44580; border-radius: 999px; background: #fff; color: #74366f; font-size: 13px; font-weight: 500; }
.ra-near-me svg { width: 14px; height: 14px; }
.ra-near-me:hover { background: #fdf2f7; }
[data-near-me].is-busy { opacity: .7; cursor: progress; }
[data-near-me].is-busy svg { animation: raNearSpin 1s linear infinite; }
@keyframes raNearSpin { to { transform: rotate(360deg); } }
.ra-near-toast { display: none; max-width: 560px; margin: 10px auto 0; padding: 9px 14px; border-radius: 10px; background: rgba(23,32,51,.88); color: #fff; font-size: 13px; line-height: 1.4; text-align: center; }
.ra-near-toast.show { display: block; }
.ra-divider { width: 1px; height: 34px; flex: 0 0 1px; margin-right: 16px; background: #e5e5e5; }

.ra-search-btn { height: 47px; margin-top: 15px; display: flex; align-items: center; justify-content: center; gap: 8px; border-radius: 7px; font-size: 15px; font-weight: 500; }
.ra-search-btn svg { width: 20px; height: 20px; }

/* Trending — mobile: light chips */
.ra-trending { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 18px; padding: 0 11px; }
.ra-trending-title { width: 100%; color: #fff; font-size: 15px; line-height: 19px; font-weight: 600; }
.ra-chip { display: inline-flex; align-items: center; min-height: 29px; padding: 4px 11px; border-radius: 6px; background: #f7f7fb; color: #536078; font-size: 12px; white-space: nowrap; }
.ra-dot { color: #fff; opacity: .55; }

/* Search — tablet & up: single row */
@media (min-width: 768px) {
  .ra-search-wrap { margin-top: 30px; }
  .ra-search { flex-direction: row; align-items: center; height: 64px; padding: 0 14px; border-radius: 14px 14px 0 0; }
  .ra-search-input { flex: 1; min-width: 0; height: auto; border: 0; }
  .ra-search-ico { width: 16px; height: 16px; flex-basis: 16px; }
  .ra-search-input input { font-size: 13px; }
  .ra-home .ra-icon-btn svg { width: 16px; height: 16px; }
  .ra-field { flex: 0 0 auto; width: 112px; height: 40px; margin-right: 12px; padding-right: 12px; border-bottom: 0; border-right: 1px solid #e5e5e5; }
  .ra-field-btn { height: 40px; }
  .ra-field-label { font-size: 10px; text-transform: uppercase; margin-bottom: 3px; color: #9ba0ad; }
  .ra-field-value { font-size: 12px; font-weight: 600; }
  .ra-field-value svg { width: 11px; height: 11px; }
  .ra-search-btn { width: 96px; flex: 0 0 96px; height: 40px; margin: 0; border-radius: 6px; font-size: 13px; font-weight: 600; }
  .ra-search-btn svg { width: 14px; height: 14px; }

  .ra-trending { flex-wrap: nowrap; overflow: hidden; gap: 10px; margin: 0; padding: 10px 18px; border-radius: 0 0 14px 14px; background: var(--brand-gradient); white-space: nowrap; }
  .ra-trending-title { width: auto; font-size: 12px; line-height: 16px; }
  .ra-chip { min-height: 0; padding: 0; background: transparent; color: #fff; opacity: .9; font-size: 12px; border-radius: 0; }
  .ra-chip:hover { opacity: 1; text-decoration: underline; }
}

/* Search — large desktop reference */
@media (min-width: 1200px) {
  .ra-search { height: 104px; padding: 0 22px; border-radius: 20px 20px 0 0; }
  .ra-search-ico { width: 22px; height: 22px; flex-basis: 22px; margin-right: 14px; color: #713f88; }
  .ra-search-input input { font-size: 20px; }
  .ra-search-input input::placeholder { color: #91a2bd; }
  .ra-home .ra-icon-btn svg { width: 20px; height: 20px; }
  .ra-near-me { height: 40px; padding: 0 15px; margin-right: 16px; border-radius: 22px; font-size: 15px; gap: 8px; }
  .ra-near-me svg { width: 18px; height: 18px; }
  .ra-divider { height: 50px; background: #e4e7ec; }
  .ra-field { height: 54px; margin-right: 16px; padding-right: 18px; }
  .ra-field-btn { height: 54px; }
  .ra-field-type { width: 177px; }
  .ra-field-budget { width: 181px; }
  .ra-field-possession { width: 160px; margin-right: 18px; }
  .ra-field-label { font-size: 13px; line-height: 16px; text-transform: none; color: #9aa7ba; }
  .ra-field-value { font-size: 16px; line-height: 21px; }
  .ra-field-value svg { width: 15px; height: 15px; }
  .ra-search-btn { width: 156px; flex-basis: 156px; height: 56px; border-radius: 9px; font-size: 17px; gap: 9px; box-shadow: 0 6px 14px rgba(86,44,91,.18); }
  .ra-search-btn svg { width: 20px; height: 20px; }

  .ra-trending { height: 58px; padding: 0 67px; gap: 12px; border-radius: 0 0 20px 20px; background: linear-gradient(90deg, #4561b212 0%, #c4447dc9 100%); }
  .ra-trending-title { font-size: 18px; }
  .ra-chip, .ra-dot { font-size: 17px; }
}

/* ---------- Trust stats ---------- */
.ra-trust { display: flex; flex-direction: column; gap: 16px; margin-top: 30px; padding: 0 4px; }
.ra-trust-item { display: flex; align-items: center; height: 64px; padding: 0 18px; border: 1px solid rgba(255,255,255,.12); border-radius: 12px; background: #241d34; }
.ra-trust-icon { flex: 0 0 40px; width: 40px; height: 40px; margin-right: 14px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: #f3e8ff; color: #a855f7; }
.ra-trust-icon svg { width: 55%; height: 55%; }
.ra-trust-value { color: #fff; font-size: 16px; line-height: 20px; font-weight: 500; }
.ra-trust-label { margin-top: 2px; color: #9d95ad; font-size: 11px; line-height: 14px; }

@media (min-width: 768px) {
  .ra-trust { flex-direction: row; gap: 0; margin: 18px 24px 0; padding: 12px 10px; border: 1px solid rgba(255,255,255,.1); border-radius: 10px; background: rgba(17,19,33,.65); backdrop-filter: blur(5px); }
  .ra-trust-item { height: auto; min-width: 0; padding: 0 10px; border: 0; border-right: 1px solid rgba(255,255,255,.15); border-radius: 0; background: transparent; }
  .ra-trust-item:last-child { border-right: 0; }
  .ra-trust-item:nth-child(1), .ra-trust-item:nth-child(2) { width: 19%; }
  .ra-trust-item:nth-child(3) { width: 23%; }
  .ra-trust-item:nth-child(4) { width: 22%; }
  .ra-trust-item:nth-child(5) { width: 17%; }
  .ra-trust-icon { flex: 0 0 26px; width: 26px; height: 26px; margin-right: 8px; }
  .ra-trust-value { font-size: 11px; line-height: 14px; font-weight: 700; white-space: nowrap; }
  /* the descriptions are sentences ("Because ownership is just the beginning."): wrap instead of spilling out */
  .ra-trust-label { font-size: 8px; line-height: 1.25; color: rgba(255,255,255,.55); white-space: normal; }
}
@media (min-width: 1200px) {
  .ra-trust { padding: 15px 20px; }
  .ra-trust-icon { flex: 0 0 38px; width: 38px; height: 38px; margin-right: 10px; }
  .ra-trust-value { font-size: 17px; line-height: 22px; }
  .ra-trust-label { font-size: 9px; }
}

/* ---------- Showcase ---------- */
.ra-showcase-heading { margin-top: 26px; align-items: flex-end; justify-content: space-between; gap: 12px; }
.ra-showcase-heading h2 { margin: 0; color: #fff; font-size: 26px; font-weight: 500; line-height: 1.2; }
.ra-line-white { width: 254px; max-width: 100%; height: 2px; margin-top: 6px; background: #fff; }
.ra-round-btn { width: 30px; height: 30px; display: flex; align-items: center; justify-content: center; border: 1px solid rgba(255,255,255,.5); border-radius: 50%; background: transparent; color: #fff; font-size: 13px; }

.ra-mobile-showcase-heading { margin: 38px 0 0; padding: 0 15px; }
.ra-mobile-showcase-heading h2 { margin: 0; color: var(--navy); font-size: 22px; line-height: 1.2; font-weight: 600; }
.ra-line-pink { width: 254px; max-width: 100%; height: 2px; margin-top: 6px; background: var(--brand-pink); }

.ra-showcase-wrap { position: relative; z-index: 20; margin: 35px 0 40px; padding: 0 15px; }
.ra-showcase-track { display: flex; gap: 12px; padding: 12px; border-radius: 16px; background: #fff; box-shadow: 0 8px 30px rgba(0,0,0,.25); scroll-snap-type: x mandatory; scroll-padding-inline: 12px; }
.ra-showcase-card { flex: 0 0 calc(100vw - 76px); border: 1px solid #eee; border-radius: 12px; overflow: hidden; scroll-snap-align: start; transition: transform .35s cubic-bezier(.22,1,.36,1), box-shadow .35s; }
.ra-showcase-card:hover { transform: translateY(-7px); box-shadow: 0 16px 35px rgba(23,32,51,.13); }
.ra-showcase-img { height: 180px; }
.ra-badge { position: absolute; left: 12px; top: 10px; padding: 6px 12px; border-radius: 999px; color: #fff; font-size: 9px; font-weight: 600; text-transform: uppercase; }
.ra-showcase-card .card-body { padding: 14px 16px 16px; }
.ra-showcase-card .min-w-0 { min-width: 0; }
.ra-showcase-img img { transition: transform .5s ease; }
.ra-showcase-card:hover .ra-showcase-img img { transform: scale(1.05); }
.ra-showcase-img { overflow: hidden; }
.ra-card-title { margin: 0; color: #172033; font-size: 18px; line-height: 22px; font-weight: 700; }
.ra-card-meta { margin-top: 5px; color: #8c9aae; font-size: 11px; }
.ra-card-meta2 { color: #4d5870; font-size: 11px; }
.ra-small-caps { color: #9da5b4; font-size: 8px; text-transform: uppercase; }
.ra-card-price { color: #152037; font-size: 17px; font-weight: 700; }
.ra-btn-sm { display: inline-flex; align-items: center; height: 32px; padding: 0 14px; border-radius: 6px; font-size: 10px; font-weight: 600; white-space: nowrap; }

@media (min-width: 992px) {
  .ra-showcase-wrap { width: calc(100% - 40px); max-width: 1406px; margin: -110px auto 40px; padding: 0 12px; }
  /* slider: 3 cards per view, JS (home.js) scrolls one page at a time */
  .ra-showcase-track { gap: 16px; scroll-behavior: smooth; }
  .ra-showcase-card { flex: 0 0 calc((100% - 32px) / 3); }
}

/* ---------- Floating social ---------- */

/* =========================================================
   POPULAR CITIES
========================================================= */
.ra-cities-section { position: relative; overflow: hidden; background: #faf9ff; padding: 20px 0 27px; }
@media (min-width: 768px) { .ra-cities-section { background: #f7f7fa; padding: 80px 0; } }
.ra-cities-section .ra-container { padding: 0 10px; }
@media (min-width: 768px) { .ra-cities-section .ra-container { padding: 0 20px; } }
.ra-mandala { position: absolute; left: -55px; top: 10px; z-index: 0; width: 150px; height: 150px; opacity: .55; pointer-events: none; }
.ra-cities-header { position: relative; z-index: 1; margin-bottom: 27px; }
.ra-cities-sub { max-width: 290px; margin: 12px 0 0; color: #222; font-size: 10px; line-height: 13px; }
@media (min-width: 768px) {
  .ra-cities-header { margin-bottom: 85px; }
  /* 680px: "Buy Landmark Residential and Commercial properties in India" needs ~631px at 22px, so the text stays on
     the 2 lines set by the <br> (600px pushed "India" onto its own line); still inside the 694px list column */
  .ra-cities-sub { max-width: 680px; margin-top: 26px; font-size: 18px; line-height: 30px; }
}

.ra-home .ra-city-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 13px; }
/* overflow-y:auto also clips the x-axis, so pad the scroll box (and pull it back with a negative margin)
   to leave room for the hover shift + icon scale + drop-shadow instead of cutting them off */
@media (min-width: 768px) {
  /* design (1440): 2 columns 334px apart, rows every 100px; max-height = 5 rows + scroll-box padding */
  .ra-home .ra-city-grid { grid-template-columns: repeat(2, 300px); gap: 42px 34px; max-height: 506px; overflow: hidden; padding: 24px 36px 24px 24px; margin: -24px -24px -24px -24px; }
  /* scroll only after "Explore More Cities" (home.js adds .is-expanded) — hover never triggers a scrollbar */
  .ra-home .ra-city-grid.is-expanded { overflow-x: hidden; overflow-y: auto; }
}

.city-item { display: flex; align-items: center; gap: 8px; min-width: 0; border-radius: 10px; outline: none; -webkit-tap-highlight-color: transparent; user-select: none; transition: transform .35s cubic-bezier(.22,1,.36,1), filter .35s; animation: raRevealUp .65s cubic-bezier(.22,1,.36,1) both; }
.city-item:focus-visible { outline: 2px solid #a442df; outline-offset: 4px; }
.city-item:hover { transform: translateX(7px); filter: drop-shadow(0 8px 16px rgba(69,97,178,.12)); }
.city-item > div { min-width: 0; }
/* lilac circle with a blue→pink ring; brand "R" shield hangs off its bottom-right */
.city-ico { position: relative; flex: 0 0 38px; width: 38px; height: 38px; display: flex; align-items: center; justify-content: center; border: 1px solid transparent; border-radius: 50%; background: linear-gradient(#f4e8f7, #f4e8f7) padding-box, linear-gradient(135deg, #7f8fd8, #e3a1c5) border-box; transition: transform .3s; }
.city-badge { position: absolute; right: -2px; bottom: -5px; width: 12px; height: 13px; }
.city-image { width: 18px; height: 18px; flex-shrink: 0; object-fit: contain; }
/* uploaded icon (ring drawn into the image): no ring / fill of our own, the image fills the circle */
.city-ico.has-img { border: 0; background: none; }
.city-ico.has-img .city-image { width: 100%; height: 100%; }
.city-title { margin: 0 0 2px; color: var(--navy); font-size: 12px; line-height: 14px; font-weight: 600; white-space: nowrap; transition: color .3s; }
.city-props { display: flex; align-items: center; gap: 3px; margin: 0; color: #747474; font-size: 8.5px; line-height: 10px; white-space: nowrap; }
.city-arrow { transition: transform .3s; }
.city-item:hover .city-arrow { transform: translateX(4px); }
.city-item:hover .city-ico, .city-item.active-city .city-ico { transform: scale(1.05); }
.city-item:hover .city-title { background: var(--brand-gradient); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.city-item.active-city .city-title { color: var(--brand-pink); }
@media (min-width: 768px) {
  .city-item { gap: 16px; }
  .city-ico { flex-basis: 58px; width: 58px; height: 58px; border-width: 1.5px; }
  .city-badge { right: 4px; bottom: -8px; width: 18px; height: 20px; }
  .city-image { width: 28px; height: 28px; }
  .city-title { margin-bottom: 6px; font-size: 20px; line-height: 1.2; }
  .city-props { gap: 8px; color: #8b8b9a; font-size: 13px; line-height: 1.3; }
}

.ra-explore-btn { display: flex; align-items: center; gap: 8px; width: fit-content; margin: 29px auto 0; padding: 0; border: 0; background: transparent; color: #111; font-size: 11px; font-weight: 500; transition: color .2s, border-color .2s; }
.ra-explore-btn svg { width: 11px; height: 11px; transition: transform .3s; }
.ra-explore-btn[aria-expanded="true"] svg { transform: rotate(180deg); }
@media (min-width: 768px) {
  /* pill with a blue→pink gradient outline (195 × 41 in the design) */
  .ra-explore-btn { height: 41px; margin: 56px 0 0; padding: 0 22px; border: 1px solid transparent; border-radius: 999px; background: linear-gradient(#fff, #fff) padding-box, var(--brand-gradient) border-box; color: #1d1d35; font-size: 14px; font-weight: 500; }
  .ra-explore-btn svg { width: 14px; height: 14px; }
  .ra-explore-btn:hover { color: #a442df; }
}

/* Map */
.ra-map-wrapper { position: relative; width: 100%; max-width: 560px; margin: 0 auto; }
@media (min-width: 992px) { .ra-map-wrapper { width: 560px; } }
.ra-map { position: relative; width: 100%; min-height: 560px; overflow: visible; }
.ra-map-svg { position: absolute; inset: 0; overflow: visible; }
.ra-map-svg svg { width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 14px 22px rgba(150,110,210,.22)); }
.ra-map-svg svg path { transition: opacity .25s; }
.ra-map-svg svg path:hover { opacity: 1 !important; }
.ra-connector { position: absolute; inset: 0; z-index: 90; width: 100%; height: 100%; pointer-events: none; }

.map-city-marker { position: absolute; z-index: 20; width: 24px; height: 24px; padding: 0; display: flex; align-items: center; justify-content: center; border: 0; border-radius: 50%; background: rgba(255,255,255,.96); box-shadow: 0 0 0 3px rgba(196,160,240,.28), 0 4px 12px rgba(100,50,140,.18); transform: translate(-50%, -50%); cursor: pointer; transition: transform .2s, box-shadow .2s; }
.map-city-marker::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: rgba(182,77,226,.13); transform: scale(.7); opacity: 0; transition: transform .3s, opacity .3s; }
.map-city-marker:hover, .map-city-marker.is-active { z-index: 40; transform: translate(-50%, -50%) scale(1.18); box-shadow: 0 0 0 4px rgba(196,160,240,.4), 0 8px 22px rgba(145,70,200,.3); }
.map-city-marker:hover::before, .map-city-marker.is-active::before { transform: scale(1.5); opacity: 1; }
.map-city-marker:focus-visible { outline: 2px solid #a442df; outline-offset: 3px; }
.marker-icon { position: relative; z-index: 2; width: 13px; height: 13px; color: #a442df; }

.ra-home .ra-city-card { position: absolute; z-index: 100; width: 188px; padding: 10px; overflow: hidden; pointer-events: none; border: 1px solid rgba(255,255,255,.8); border-radius: 14px; background: rgba(255,255,255,.95); backdrop-filter: blur(12px); box-shadow: 0 20px 60px rgba(70,40,120,.18); animation: cityInfoIn .2s ease-out; }
.ra-home .ra-city-card img { width: 100%; height: 80px; object-fit: cover; }
.ra-home .ra-city-card h3 { margin: 8px 0 0; color: var(--navy); font-size: 14px; font-weight: 700; }
.ra-city-card-count { color: #222; font-size: 11px; font-weight: 600; }
.ra-city-card-label { color: #777; font-size: 9px; }
.ra-verified-dot { width: 20px; height: 20px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: #e9f9ef; color: #16a34a; font-size: 10px; font-weight: 700; }
.ra-verified-text { color: #16a34a; font-size: 10px; font-weight: 600; }
@keyframes cityInfoIn { from { opacity: 0; transform: translateY(7px) scale(.97); } to { opacity: 1; transform: none; } }

.ra-stat-ico { width: 30px; height: 30px; flex: 0 0 30px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: #f2e8ff; color: #a442df; }
.ra-stat-ico svg { width: 14px; height: 14px; }
.ra-stat-ico-sm { width: 24px; height: 24px; flex-basis: 24px; }
.ra-map-stats { position: absolute; right: 10px; bottom: 10px; z-index: 80; width: 150px; max-width: calc(100% - 16px); padding: 10px; border: 2px solid #fff; border-radius: 16px; background: rgba(255,255,255,.95); backdrop-filter: blur(12px); box-shadow: 0 20px 60px rgba(70,40,120,.18); }
.ra-map-stat { display: flex; align-items: center; gap: 8px; padding: 9px 0; border-bottom: 1px solid #f0e9fb; }
.ra-map-stat:first-child { padding-top: 0; }
.ra-map-stat:last-child { padding-bottom: 0; border-bottom: 0; }
.ra-map-stat-value { color: var(--navy); font-size: 13px; line-height: 1.1; font-weight: 700; white-space: nowrap; }
/* card grows to fit the longest value ("2+ Million Sq. Ft.") on one line; the fixed width stays as the minimum */
.ra-map-stats { width: max-content; min-width: 150px; }
.ra-map-stat-label { margin-top: 2px; color: #777; font-size: 9px; line-height: 1.15; }
/* desktop stats card (213px wide in the design): 50px icons, 15 / 13px text */
@media (min-width: 992px) {
  .ra-map-stats { right: 0; bottom: 0; width: max-content; min-width: 213px; padding: 14px 17px; border-radius: 20px; }
  .ra-map-stat { gap: 15px; padding: 10px 0; }
  .ra-map-stats .ra-stat-ico { width: 50px; height: 50px; flex-basis: 50px; }
  .ra-map-stats .ra-stat-ico svg { width: 22px; height: 22px; }
  .ra-map-stat-value { font-size: 15px; }
  .ra-map-stat-label { margin-top: 4px; color: #6b6b80; font-size: 13px; }
}

/* =========================================================
   TRENDING PROJECTS
========================================================= */
.ra-projects-section { padding: 34px 0 36px; background: #f5f5f7; overflow: hidden; }
@media (min-width: 768px) { .ra-projects-section { padding: 65px 0; } }
.ra-projects-head { margin-bottom: 27px; }
@media (min-width: 768px) { .ra-projects-head { margin-bottom: 45px; } }

.city-btn { flex-shrink: 0; height: 25px; min-width: 69px; padding: 0 12px; border: 1px solid #e2e2e2; border-radius: 4px; background: #fff; color: #333; font-size: 10px; font-weight: 400; white-space: nowrap; transition: all .25s; touch-action: manipulation; }
.city-btn:hover { border-color: var(--brand-pink); color: var(--brand-pink); }
.city-btn.active { border-color: var(--navy); color: var(--navy); background: #f0f0fb; }
@media (min-width: 768px) { .city-btn { height: auto; padding: 10px 26px; border-radius: 8px; font-size: 15px; font-weight: 500; } }

/* city tabs slider: single row; edges fade + arrows only while there is more to scroll that way */
.ra-city-slider { position: relative; }
.ra-city-filter { scroll-behavior: smooth; }
.ra-city-filter .city-btn { scroll-snap-align: start; }
.ra-city-nav { display: none; }
@media (min-width: 768px) {
  .ra-city-slider.can-prev .ra-city-filter { -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 70px); mask-image: linear-gradient(90deg, transparent 0, #000 70px); }
  .ra-city-slider.can-next .ra-city-filter { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 70px), transparent 100%); mask-image: linear-gradient(90deg, #000 calc(100% - 70px), transparent 100%); }
  .ra-city-slider.can-prev.can-next .ra-city-filter { -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 70px, #000 calc(100% - 70px), transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 70px, #000 calc(100% - 70px), transparent 100%); }
  .ra-city-nav { position: absolute; top: 50%; z-index: 2; width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; padding: 0; border: 1px solid #e2e2e2; border-radius: 50%; background: #fff; color: var(--navy); box-shadow: 0 4px 12px rgba(23,20,95,.12); transform: translateY(-50%); cursor: pointer; transition: border-color .2s, color .2s; }
  .ra-city-nav[hidden] { display: none; }
  .ra-city-nav:hover { border-color: var(--brand-pink); color: var(--brand-pink); }
  .ra-city-nav svg { width: 16px; height: 16px; }
  .ra-city-nav-prev { left: -6px; }
  .ra-city-nav-next { right: -6px; }
}

.ra-slider-viewport { overflow: hidden; }
.ra-slides-track { display: flex; transition: transform .6s cubic-bezier(.65,0,.35,1); }
.slide-page { flex: 0 0 100%; min-width: 100%; max-width: 100%; }

/* Mobile: every visible card in one swipeable row */
@media (max-width: 767.98px) {
  .ra-slider-viewport { overflow-x: auto; margin-right: -20px; scrollbar-width: none; }
  .ra-slider-viewport::-webkit-scrollbar { display: none; }
  .ra-slides-track { transform: none !important; transition: none; gap: 14px; width: max-content; padding-right: 20px; }
  .slide-page { flex: 0 0 auto; min-width: 0; max-width: none; }
  .slide-page > .row { flex-wrap: nowrap; --bs-gutter-x: 14px; margin: 0; width: max-content; }
  .slide-page > .row > .project-card { width: 236px; flex: 0 0 236px; padding: 0; }
  .slide-page > .row > .project-card + .project-card { margin-left: 14px; }
}

.ra-project-card { border: 1px solid #e8e8e8; border-radius: 14px; overflow: hidden; }
.ra-project-img { height: 230px; object-fit: cover; border-radius: 0; }
.ra-project-badge { position: absolute; top: 12px; right: 12px; padding: 6px 12px; border-radius: 999px; background: rgba(23,20,95,.9); color: #fff; font-size: 11px; font-weight: 600; letter-spacing: .4px; }
.ra-project-loc { position: absolute; left: 12px; bottom: 12px; padding: 5px 12px; border-radius: 999px; background: rgba(255,255,255,.95); color: var(--navy); font-size: 12px; font-weight: 500; }
.ra-project-card .card-body { padding: 18px; }
.ra-project-price { margin: 0; font-size: 18px; font-weight: 600; }
.ra-heart { width: 42px; height: 42px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; padding: 0; border: 1px solid #e4dcef; border-radius: 50%; background: #fff; color: var(--brand-pink); }
.ra-heart svg { width: 18px; height: 18px; }
.ra-project-name { margin-bottom: 6px; color: var(--navy); font-size: 20px; line-height: 1.2; font-weight: 600; }
.ra-project-addr { margin: 0; color: #7a7a7a; font-size: 14px; line-height: 1.5; }
.ra-project-meta { color: #555; font-size: 13px; }
.view-details-btn { display: block; width: 100%; margin-top: 16px; padding: 12px; border: 1.5px solid #d98fb0; border-radius: 10px; color: var(--navy); font-size: 15px; font-weight: 600; text-align: center; transition: all .25s; }
.view-details-btn:hover { background: var(--brand-gradient); border-color: transparent; color: #fff; }

/* Same card size everywhere: title max 2 lines (space always reserved), address 1 line, button pinned to bottom */
.ra-project-card .card-body { display: flex; flex-direction: column; }
.ra-project-card .ra-project-name { display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.4em; }
.ra-project-card .ra-project-addr { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.ra-project-card .ra-project-meta { margin-bottom: 16px; }
.ra-project-card .view-details-btn { margin-top: auto; }
@media (max-width: 767.98px) { .ra-project-card .ra-project-meta { margin-bottom: 11px; } }

@media (max-width: 767.98px) {
  .ra-project-img { height: 140px; }
  .ra-project-badge { top: 9px; right: 9px; padding: 5px 9px; font-size: 9px; }
  .ra-project-loc { left: 9px; bottom: 8px; padding: 4px 9px; font-size: 9px; }
  .ra-project-card .card-body { padding: 12px; }
  .ra-project-price, .ra-project-name { font-size: 15px; line-height: 18px; }
  .ra-project-addr { font-size: 10px; line-height: 14px; }
  .ra-project-meta { gap: 10px !important; font-size: 9px; white-space: nowrap; }
  .ra-heart { width: 32px; height: 32px; }
  .view-details-btn { margin-top: 11px; padding: 8px; border-radius: 8px; font-size: 12px; }
}

.ra-side-tab { position: absolute; top: 50%; z-index: 30; width: 28px; height: 58px; padding: 0; align-items: center; justify-content: center; border: 0; color: #fff; font-size: 22px; transform: translateY(-50%); transition: filter .2s; }
.ra-side-tab svg { width: 15px; height: 15px; }
.ra-side-tab:hover { filter: brightness(1.08); }
.ra-side-tab-left { left: -29px; border-radius: 8px 0 0 8px; }
.ra-side-tab-right { right: -29px; border-radius: 0 8px 8px 0; }
/* the arrow last clicked is pink, the other grey (right one starts active); home.js moves .is-active */
.ra-side-tab { background: #dedede; transition: filter .2s, background-color .25s; }
.ra-side-tab.is-active { background: #b93470; }
@media (max-width: 1499px) { .ra-projects-section .ra-side-tab-left { left: -18px; } .ra-projects-section .ra-side-tab-right { right: -18px; } }

.ra-dots { align-items: center; justify-content: center; gap: 8px; margin-top: 26px; }
.ra-dots .dot { width: 8px; height: 8px; border-radius: 999px; background: #e2d6ec; cursor: pointer; transition: all .3s; }
.ra-dots .dot.active { width: 26px; background: var(--brand-gradient); }

/* =========================================================
   PROPERTY RESOURCES
========================================================= */
.ra-resources { padding: 24px 10px 30px; background: #fff; overflow: hidden; }
@media (min-width: 768px) { .ra-resources { padding: 56px 24px; } }
@media (min-width: 992px) { .ra-resources { padding: 56px 64px; } }
.ra-resources-head { margin-bottom: 34px; }
@media (min-width: 768px) { .ra-resources-head { margin-bottom: 64px; } }
.ra-resources-line { width: 262px; }
@media (max-width: 767.98px) { .ra-resources-line { width: 154px !important; height: 3px; } }
.ra-doc-ico { width: 52px; height: 52px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: #f2eaff; }
.ra-doc-ico span { width: 28px; height: 34px; display: flex; align-items: center; justify-content: center; border: 2px solid #a64fd1; border-radius: 4px; color: #a64fd1; font-size: 18px; }
.ra-resources-sub { color: #3f506c; font-size: 16px; line-height: 1.45; font-weight: 500; }

.ra-resources-row { --bs-gutter-x: 10px; scroll-snap-type: x mandatory; }
@media (max-width: 767.98px) { .ra-resources-row > .col-auto { width: 251px; scroll-snap-align: start; } }
/* desktop: 3 cards visible, the rest slide in (arrows/dots in home.js); top/bottom padding keeps the hover lift + shadow from being clipped */
@media (min-width: 768px) { .ra-resources-row { --bs-gutter-x: 16px; padding-top: 8px; padding-bottom: 24px; margin-top: -8px; margin-bottom: -24px; scroll-behavior: smooth; } .ra-resources-row > .col-md-4 { scroll-snap-align: start; } }
.ra-static-dot { padding: 0; border: 0; cursor: pointer; }
.ra-resource-card { position: relative; display: block; aspect-ratio: 415 / 319; overflow: hidden; border-radius: 12px; isolation: isolate; transition: transform .35s, box-shadow .35s; } /* image (415x319) ke ratio me — crop nahi hota */
@media (min-width: 768px) { .ra-resource-card { border-radius: 18px; } }
.ra-resource-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.ra-resource-card:hover { transform: translateY(-6px); box-shadow: 0 14px 30px rgba(69, 97, 178, .18); } /* zoom nahi (image katti thi), card upar uthta hai */
.ra-resource-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(24,43,92,.4), transparent 60%); }
.ra-resource-icon { position: absolute; left: 10px; top: 10px; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border-radius: 9px; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.05); color: #a24bd0; font-size: 20px; }
.ra-resource-cta { position: absolute; left: 50%; bottom: 15px; width: 85%; min-height: 34px; padding: 7px 12px; display: flex; align-items: center; justify-content: space-between; transform: translateX(-50%); border-radius: 7px; background: linear-gradient(90deg, rgba(52,90,158,.6), rgba(157,40,95,.6)); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); border: 1px solid rgba(255,255,255,.2); color: #fff; font-size: 12px; font-weight: 500; }
.ra-resource-arrow { font-size: 25px; font-weight: 300; line-height: 1; }
@media (min-width: 768px) {
  .ra-resource-icon { left: 16px; top: 16px; width: 52px; height: 52px; border-radius: 10px; font-size: 24px; }
  .ra-resource-cta { bottom: 20px; width: 82%; padding: 12px 20px; border-radius: 8px; font-size: 16px; }
  .ra-resource-arrow { font-size: 30px; }
}
/* Resources slider controls: SVG arrows (text arrows rendered thin + off-centre), dots match .ra-dots */
.ra-circle-arrow { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; padding: 0; border: 1px solid #d6cde3; border-radius: 50%; background: #fff; color: var(--brand-blue); cursor: pointer; box-shadow: 0 4px 12px rgba(69, 97, 178, .08); transition: background .2s, color .2s, border-color .2s, box-shadow .2s; }
.ra-circle-arrow svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ra-circle-arrow:hover { background: var(--brand-gradient); border-color: transparent; color: #fff; box-shadow: 0 8px 18px rgba(69, 97, 178, .22); }
.ra-circle-arrow:focus:not(:focus-visible) { outline: none; }
.ra-static-dot { width: 8px; height: 8px; border-radius: 999px; background: #e2d6ec; transition: width .3s, background .3s; }
.ra-static-dot.active { width: 26px; background: var(--brand-gradient); }

/* =========================================================
   JOURNEY + HELP CTA
========================================================= */
.ra-journey { padding: 50px 0; background: #f3f1fb; }
@media (min-width: 768px) { .ra-journey { padding: 70px 0; } }
.ra-journey-badge { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px; padding: 7px 16px; border-radius: 999px; background: #efe3fb; color: #7b3fb0; font-size: 11px; font-weight: 600; letter-spacing: .4px; }
.ra-journey-sub { max-width: 380px; color: #5b5b6b; font-size: 14px; line-height: 1.6; }

/* mobile journey: numbered vertical timeline (desktop uses .jf-flow) */
.jm-list { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-direction: column; gap: 18px; }
.jm-step { position: relative; display: grid; grid-template-columns: 40px 1fr; column-gap: 12px; }
.jm-step::before { content: ""; position: absolute; left: 19px; top: 44px; bottom: -18px; width: 2px; background: linear-gradient(180deg, #4561b2, #c4447d); opacity: .55; }
.jm-step:last-child::before { display: none; }
.jm-num { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: #fff; box-shadow: 0 4px 12px rgba(69, 97, 178, .14); color: #654b91; font-size: 14px; font-weight: 700; }
.jm-card { padding: 10px 10px 16px; border-radius: 16px; background: #fff; box-shadow: 0 8px 24px rgba(69, 97, 178, .08); text-align: center; }
.jm-card img { display: block; width: 100%; height: auto; aspect-ratio: 527 / 389; object-fit: cover; border-radius: 12px; background: #d9d4ee; }
.jm-title { margin: 14px 0 8px; color: #1b1f4b; font-size: 16px; font-weight: 600; line-height: 1.35; }
.jm-tag { display: inline-block; padding: 3px 12px; border-radius: 999px; background: #ece8f5; color: #584587; font-size: 12px; font-weight: 600; }

/* desktop interactive journey flow (js/home-journey.js) — jf- prefix keeps clear of Bootstrap's .card/.badge */
@property --jf-ang { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
.jf-flow {
  --jf-card: #fff; --jf-ink: #1d1b3a; --jf-shadow: rgba(80,60,160,.10); --jf-dim: .28;
  --jf-gap: clamp(28px, 3.6vw, 46px);
  --jf-grad: linear-gradient(to right, #325998 0, #45376c 50%, #584587 60%, #af3869 100%);
  position: relative; width: 100%; padding-right: calc(var(--jf-gap) + 14px); color: var(--jf-ink);
}
.jf-grid { display: grid; grid-template-columns: repeat(8, 1fr); column-gap: var(--jf-gap); row-gap: clamp(28px, 4vw, 56px); }
.jf-card:nth-child(1) { grid-column: 1/3; grid-row: 1; }
.jf-card:nth-child(2) { grid-column: 3/5; grid-row: 1; }
.jf-card:nth-child(3) { grid-column: 5/7; grid-row: 1; }
.jf-card:nth-child(4) { grid-column: 7/9; grid-row: 1; }
.jf-card:nth-child(5) { grid-column: 6/8; grid-row: 2; }
.jf-card:nth-child(6) { grid-column: 4/6; grid-row: 2; }
.jf-card:nth-child(7) { grid-column: 2/4; grid-row: 2; }

.jf-card {
  position: relative; padding: 6% 6% 7%; border-radius: clamp(18px, 2.4vw, 30px); background: var(--jf-card);
  box-shadow: 0 10px 30px var(--jf-shadow); text-align: center; cursor: pointer;
  font-size: clamp(13px, 1.45vw, 19px);
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--lift, 0px)) scale(var(--sc, 1));
  animation: jf-pop .7s cubic-bezier(.2,.9,.3,1.2) backwards; animation-delay: var(--d, 0s);
  transition: box-shadow .4s, transform .25s ease-out;
}
.jf-card:hover { --lift: -4px; }
.jf-card:focus-visible { outline: 3px solid #584587; outline-offset: 3px; }
.jf-card::after { /* rotating gradient border on the active card */
  content: ""; position: absolute; inset: 0; padding: 3px; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: conic-gradient(from var(--jf-ang), #325998, #45376c, #584587, #af3869, #584587, #325998);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  animation: jf-spin 4s linear infinite;
}
.jf-card.active { --lift: -8px; --sc: 1.03; box-shadow: 0 18px 44px rgba(139,42,62,.28); }
.jf-card.active::after { opacity: 1; }
.jf-pic { width: 100%; aspect-ratio: 230/170; overflow: hidden; border-radius: 1.1em; background: #d9d4ee; }
.jf-pic img { width: 100%; height: 100%; display: block; object-fit: cover; filter: blur(14px); transform: scale(1.08); transition: transform .8s, filter .8s; }
.jf-pic img.ld { filter: none; transform: none; }
.jf-card.active .jf-pic img.ld { transform: scale(1.08); }
.jf-badge {
  position: relative; width: 2.9em; height: 2.9em; margin: -1.5em auto 0; display: grid; place-items: center;
  border-radius: 50%; background: #fff; box-shadow: 0 4px 14px rgba(0,0,0,.14);
  font-size: .95em; font-weight: 700; letter-spacing: .12em; transition: background .4s;
}
.jf-badge span { background: var(--jf-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.jf-card.done .jf-badge, .jf-card.active .jf-badge { background: var(--jf-grad); }
.jf-card.done .jf-badge span, .jf-card.active .jf-badge span { background: none; -webkit-text-fill-color: #fff; color: #fff; }
.jf-card.active .jf-badge { animation: jf-pulse 1.2s infinite; }
.jf-label { min-height: 2.6em; margin-top: .7em; display: flex; align-items: center; justify-content: center; font-weight: 600; line-height: 1.3; }
.jf-tag { display: inline-block; margin-top: .55em; padding: .3em .9em; border-radius: 99px; background: rgba(88,69,135,.12); color: #584587; font-size: .68em; font-weight: 600; letter-spacing: .04em; } /* no transition: a gradient can't animate, so the text colour must switch with it */
.jf-card.active .jf-tag { background: var(--jf-grad); color: #fff; }

/* connectors */
.jf-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.jf-arrow, .jf-curve { fill: none; stroke-width: 2.5; stroke-linecap: round; opacity: var(--jf-dim); transition: opacity .45s, stroke-width .45s, filter .45s; animation: jf-fade .5s ease backwards; }
.jf-curve { stroke-dasharray: 8 7; animation: jf-fade .6s ease backwards, jf-dash 1.2s linear infinite; }
.jf-arrow.done, .jf-curve.done { opacity: .9; stroke-width: 3; }
.jf-arrow.on, .jf-curve.on { opacity: 1; stroke-width: 4; filter: drop-shadow(0 0 5px rgba(175,56,105,.65)); }
.jf-lines.static .jf-arrow, .jf-lines.static .jf-curve { animation-duration: 0s, 1.2s; animation-delay: 0s; }
.jf-dot { fill: #af3869; opacity: .4; transition: opacity .4s; }
.jf-dot.done { opacity: .75; }
.jf-dot.on { opacity: 1; }

/* nothing animates until the section is on screen */
.jf-flow:not(.visible) .jf-card, .jf-flow:not(.visible) .jf-card::after, .jf-flow:not(.visible) .jf-lines * { animation-play-state: paused; }

@keyframes jf-pop { from { opacity: 0; transform: translateY(30px) scale(.92); } }
@keyframes jf-pulse { 0% { box-shadow: 0 0 0 0 rgba(175,56,105,.5); } 100% { box-shadow: 0 0 0 14px rgba(175,56,105,0); } }
@keyframes jf-spin { to { --jf-ang: 360deg; } }
@keyframes jf-fade { from { opacity: 0; } }
@keyframes jf-dash { to { stroke-dashoffset: -30; } }
@media (prefers-reduced-motion: reduce) {
  .jf-flow *, .jf-flow *::after { animation: none !important; transition: none !important; }
}

.ra-help-cta { position: relative; margin-top: 20px; padding: 18px 17px; display: flex; flex-direction: column; align-items: center; border: 1px solid #ead8f4; border-radius: 22px; background: #fff; }
.ra-help-text { width: 100%; }
.ra-help-text h3 { margin: 0 0 6px; color: var(--navy); font-size: 20px; line-height: 1.2; font-weight: 700; }
.ra-help-text p { margin: 0; color: #6b6b7a; font-size: 12.5px; line-height: 1.45; }
.ra-help-image { width: 220px; height: 190px; margin: 4px auto 10px; pointer-events: none; }
.ra-help-image img { width: 100%; height: 100%; object-fit: contain; object-position: center bottom; }
.ra-help-buttons { width: 100%; display: flex; flex-direction: column; gap: 9px; }
.ra-help-btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; height: 38px; padding: 0 18px; border-radius: 7px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.ra-help-btn svg { width: 14px; height: 14px; }
.ra-help-btn-outline { border: 1px solid #9b8fd1; color: var(--navy); background: #fff; }
.ra-help-btn-outline:hover { border-color: var(--brand-pink); color: var(--brand-pink); }

@media (min-width: 768px) {
  .ra-help-cta { flex-direction: row; justify-content: flex-start; gap: 55px; min-height: 155px; margin-top: 25px; padding: 30px 330px 30px 36px; border: 0; border-radius: 18px; box-shadow: 0 1px 2px rgba(0,0,0,.05); }
  /* text takes the free width (was a fixed 300px, so "Not Sure How To Begin?" + its sentence ran to 6 lines and
     left the middle empty); heading on one line, sentence on ~2 */
  /* min-content = the one-line heading's own width, so the text never gets narrower than its heading */
  .ra-help-text { width: auto; flex: 1 1 380px; min-width: min-content; max-width: 640px; }
  .ra-help-text h3 { font-size: 22px; white-space: nowrap; }
  .ra-help-text p { font-size: 14px; line-height: 1.55; }
  .ra-help-image { position: absolute; right: -5px; bottom: -38px; width: 320px; height: 245px; margin: 0; }
  .ra-help-buttons { width: auto; flex-shrink: 0; flex-direction: row; flex-wrap: wrap; gap: 20px; }
  /* when text + buttons don't fit in one row, the buttons wrap below the text */
  .ra-help-cta { flex-wrap: wrap; row-gap: 18px; column-gap: 40px; }
}
/* tablet: the house image (320px, bottom-right) would sit under the wrapped buttons; keep them clear of it */
@media (min-width: 768px) and (max-width: 991.98px) {
  .ra-help-buttons { max-width: calc(100% - 20px); }
  .ra-help-image { width: 260px; height: 200px; bottom: -30px; }
  .ra-help-cta { padding-right: 270px; }
}
@media (min-width: 992px) {
  .ra-help-cta { padding-right: 370px; }
  .ra-help-image { width: 340px; height: 255px; }
  .ra-help-buttons { gap: 40px; }
}

/* =========================================================
   ULTRA-LUXURY
========================================================= */
.ra-luxury { position: relative; overflow: hidden; padding: 22px 10px 20px; background: var(--lux-bg); }
@media (min-width: 768px) { .ra-luxury { padding: 48px 24px; } }
@media (min-width: 992px) { .ra-luxury { padding: 48px 48px; } }
.ra-lux-glow { position: absolute; border-radius: 50%; pointer-events: none; filter: blur(120px); }
.ra-lux-glow-1 { top: -160px; left: 33%; width: 600px; height: 600px; background: rgba(67,56,202,.2); }
.ra-lux-glow-2 { bottom: 0; right: 0; width: 500px; height: 400px; background: rgba(107,33,168,.1); }
.ra-lux-container { width: 100%; max-width: 1400px; margin: 0 auto; }

.ra-lux-head { margin-bottom: 18px; }
.ra-lux-title { margin: 0; max-width: 155px; color: #fff; font-size: 18px; line-height: 1.05; font-weight: 400; }
.ra-lux-line-l, .ra-lux-line-r { display: block; width: 42px; height: 1px; }
.ra-lux-line-l { background: linear-gradient(90deg, transparent, var(--brand-blue)); }
.ra-lux-line-r { background: linear-gradient(270deg, transparent, var(--brand-pink)); }
.ra-lux-ornament { margin-top: 7px !important; gap: 5px !important; }
.ra-lux-viewall { display: inline-flex; align-items: center; gap: 3px; margin-top: 7px; color: #fff; font-size: 8px; font-weight: 300; transition: color .2s; }
.ra-lux-viewall:hover { color: var(--gold); }
.ra-lux-viewall span { font-size: 11px; line-height: 1; }
@media (min-width: 768px) {
  .ra-lux-head { margin-bottom: 50px; }
  .ra-lux-title { max-width: none; font-size: 30px; line-height: 1.1; }
  .ra-lux-line-l, .ra-lux-line-r { width: 120px; }
  .ra-lux-ornament { margin-top: 16px !important; gap: 12px !important; }
  .ra-lux-viewall { margin-top: 20px; font-size: 12px; gap: 8px; }
  .ra-lux-viewall span { font-size: 18px; }
}

#luxuryCarousel .carousel-inner { border-radius: 15px; }
.ra-lux-card { position: relative; height: 205px; overflow: hidden; border-radius: 11px; }
.ra-lux-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s; }
.ra-lux-card:hover img { transform: scale(1.05); }
.ra-lux-shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.9), rgba(0,0,0,.25) 50%, rgba(0,0,0,.4)); }
.ra-lux-body { position: relative; height: 100%; padding: 11px; display: flex; flex-direction: column; justify-content: space-between; }
.ra-lux-body h3 { margin: 0 0 2px; color: #fff; font-size: 15px; line-height: 18px; }
.ra-lux-body p { margin: 0 0 7px; color: #d1d5db; font-size: 8px; line-height: 11px; }
.ra-lux-body .ra-lux-loc { margin-bottom: 2px; color: var(--gold); letter-spacing: .5px; }
.ra-lux-badge { align-self: flex-start; padding: 4px 7px; border: 1px solid rgba(217,164,65,.6); border-radius: 999px; background: rgba(0,0,0,.3); backdrop-filter: blur(4px); color: var(--gold); font-size: 6px; font-weight: 600; letter-spacing: 1px; }
.ra-gold-btn { text-decoration: none; display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border: 1px solid var(--gold); border-radius: 5px; background: transparent; color: var(--gold); font-size: 7px; font-weight: 500; transition: all .2s; }
.ra-gold-btn svg { width: 10px; height: 10px; }
.ra-gold-btn:hover { background: var(--gold); color: #000; }
.ra-lux-features { gap: 24px; margin-top: 16px; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.1); color: #e5e7eb; font-size: 12px; }
.ra-lux-features span { display: flex; align-items: center; gap: 8px; }
.ra-lux-features i { color: var(--gold); font-style: normal; font-size: 12px; }

@media (min-width: 768px) {
  .ra-lux-card { height: 260px; border-radius: 15px; }
  .ra-lux-body { padding: 20px; }
  .ra-lux-body h3 { font-size: 20px; line-height: 1.3; margin-bottom: 4px; }
  .ra-lux-body p { font-size: 12px; line-height: 1.4; margin-bottom: 12px; }
  .ra-lux-badge { padding: 4px 12px; font-size: 9px; letter-spacing: 2px; }
  .ra-gold-btn { padding: 8px 16px; border-radius: 8px; font-size: 12px; }
  .ra-gold-btn svg { width: 14px; height: 14px; }
}
@media (min-width: 992px) {
  .ra-lux-card-lg { height: 485px; }
  .ra-lux-card-sm { flex: 1 1 0; height: auto; min-height: 0; }
  .ra-lux-card-lg .ra-lux-body { padding: 28px; }
  .ra-lux-card-lg h3 { font-size: 30px; margin-bottom: 8px; }
  .ra-lux-card-lg p { font-size: 14px; margin-bottom: 16px; }
  .ra-lux-card-lg .ra-lux-badge { padding: 6px 16px; font-size: 10px; }
  .ra-lux-card-lg .ra-gold-btn { padding: 10px 20px; font-size: 14px; }
}

.ra-lux-arrow { position: absolute; top: 50%; z-index: 30; width: 28px; height: 63px; padding: 0; align-items: center; justify-content: center; border: 0; color: #fff; transform: translateY(-50%); backdrop-filter: blur(4px); transition: filter .2s; }
.ra-lux-arrow svg { width: 20px; height: 20px; }
.ra-lux-arrow:hover { filter: brightness(1.15); }
.ra-lux-prev { left: -29px; border-radius: 10px 4px 4px 10px; }
.ra-lux-next { right: -29px; border-radius: 4px 10px 10px 4px; }
/* same as .ra-side-tab: the arrow last clicked is pink, the other grey (next starts active) */
.ra-lux-arrow { background: rgba(58,58,58,.8); transition: filter .2s, background-color .25s; }
.ra-lux-arrow.is-active { background: #b93470; }

.ra-lux-indicators { position: static; margin: 28px 0 0; gap: 8px; }
.ra-lux-indicators [data-bs-target] { width: 8px; height: 8px; margin: 0; border: 0; border-radius: 999px; background: rgba(255,255,255,.25); opacity: 1; transition: all .3s; }
.ra-lux-indicators .active { width: 22px; background: var(--brand-pink); }

.ra-lux-mobile-features { display: flex; justify-content: space-around; margin-top: 17px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.1); color: rgba(255,255,255,.72); }
.ra-lux-mobile-features > div { width: 33.333%; display: flex; flex-direction: column; align-items: center; gap: 5px; text-align: center; font-size: 7px; line-height: 9px; }
.ra-lux-feature-ico { width: 22px; height: 22px; display: flex; align-items: center; justify-content: center; border: 1px solid rgba(217,164,65,.7); border-radius: 50%; color: var(--gold); font-size: 10px; }

/* =========================================================
   COMMERCIAL PORTFOLIO
========================================================= */
.ra-commercial { padding: 40px 20px; background: #fff; }
@media (min-width: 576px) { .ra-commercial { padding: 40px 32px; } }
@media (min-width: 992px) { .ra-commercial { padding: 40px 48px; } }
.ra-commercial-title { font-size: 24px !important; }
.ra-commercial-sub { max-width: 430px; margin: 16px 0 0; color: #4d5a73; font-size: 13px; line-height: 1.5; }
.ra-commercial .ra-side-tab { width: 25px; height: 57px; }
.ra-commercial .ra-side-tab-left { left: -28px; }
.ra-commercial .ra-side-tab-right { right: -28px; }

.ra-com-card { position: relative; overflow: hidden; border-radius: 9px; }
.ra-com-card-lg { height: 403px; }
.ra-com-card-sm { height: 194px; }
@media (min-width: 992px) { .ra-com-card-lg { height: 469px; } .ra-com-card-sm { flex: 1 1 0; height: auto; } }
.ra-com-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s; }
.ra-com-card:hover img { transform: scale(1.05); }
.ra-com-shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.9), rgba(0,0,0,.3) 50%, transparent); }
.ra-com-body { position: absolute; inset: auto 0 0 0; padding: 18px; color: #fff; }
.ra-com-body h3 { margin: 0; font-size: 17px; font-weight: 600; }
.ra-com-body p { margin: 7px 0 0; color: rgba(255,255,255,.8); font-size: 11px; }
.ra-com-body strong { color: #fff; }
.ra-com-body-sm { padding: 14px; }
.ra-com-body-sm h3 { font-size: 14px; }
.ra-com-body-sm p { margin-top: 5px; font-size: 10px; }
.ra-com-invest { font-size: 10px !important; }
.ra-com-invest-abs { position: absolute; right: 14px; bottom: 14px; margin: 0 !important; font-size: 9px !important; }
.ra-glass-btn { display: inline-flex; align-items: center; gap: 8px; margin-top: 9px; padding: 6px 13px; border: 1px solid rgba(255,255,255,.3); border-radius: 999px; background: rgba(255,255,255,.1); backdrop-filter: blur(4px); color: #fff; font-size: 10px; transition: all .2s; }
.ra-glass-btn:hover { background: #fff; color: #17245c; }
/* commercial cards are links to the project detail page: whole card clickable, long titles max 2 lines */
a.ra-com-card { color: #fff; text-decoration: none; }
a.ra-com-card:hover .ra-glass-btn { background: #fff; color: #17245c; }
.ra-com-text { min-width: 0; }
.ra-com-body-sm .ra-com-text { padding-right: 110px; }
.ra-com-text h3 { display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* =========================================================
   CALCULATOR
========================================================= */
.ra-calc-section { padding: 48px 20px; background: #f4f2fa; }
@media (min-width: 992px) { .ra-calc-section { padding: 48px; } }
.ra-calc-intro { max-width: 300px; color: #4d5a73; font-size: 13px; line-height: 1.55; }
.ra-calc-card { padding: 20px; border-radius: 24px; background: #fff; box-shadow: 0 20px 60px rgba(80,50,150,.08); }
@media (min-width: 768px) { .ra-calc-card { padding: 24px; } }
.ra-calc-hero { position: relative; height: 220px; overflow: hidden; border-radius: 18px; background: var(--brand-gradient); }
.ra-calc-hero img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ra-calc-hero-pill { position: absolute; left: 14px; bottom: 14px; display: flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: rgba(255,255,255,.92); backdrop-filter: blur(4px); color: #1f2937; font-size: 13px; font-weight: 600; }
.ra-calc-hero-ico { width: 22px; height: 22px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--brand-gradient); color: #fff; font-size: 12px; }
.ra-calc-heading { margin: 22px 0 16px; color: #1f2937; font-size: 16px; font-weight: 700; }
.ra-calc-label { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; color: #1f2937; font-size: 14px; font-weight: 500; }
.ra-calc-ico { width: 28px; height: 28px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; border-radius: 8px; background: #f3f0fb; font-size: 14px; }
.ra-calc-value { min-width: 88px; padding: 8px 6px; border: 1px solid #e8e6f0; border-radius: 10px; color: #1f2937; font-size: 13px; font-weight: 600; text-align: center; }
.ra-calc-note { display: flex; align-items: flex-start; gap: 10px; padding: 14px 16px; border-radius: 12px; background: #f6f3fc; color: #6b7280; font-size: 12.5px; line-height: 1.5; }

.investment-range { height: 4px; border-radius: 4px; outline: none; cursor: pointer; -webkit-appearance: none; appearance: none; background: linear-gradient(90deg, #4561b2 0%, #c4447d var(--fill, 50%), #e5e2f0 var(--fill, 50%)); }
.investment-range::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 18px; height: 18px; border: 3px solid var(--brand-pink); border-radius: 50%; background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,.2); cursor: pointer; }
.investment-range::-moz-range-thumb { width: 18px; height: 18px; border: 3px solid var(--brand-pink); border-radius: 50%; background: #fff; cursor: pointer; }

.ra-calc-results-title { margin: 0; color: #1f2937; font-size: 18px; }
.ra-calc-pill { display: flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: #f3f0fb; color: #7c3aed; font-size: 12px; font-weight: 600; white-space: nowrap; }
.ra-calc-stat { height: 100%; display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px; border: 1px solid #e8e6f0; border-radius: 14px; }
.ra-calc-stat-ico { width: 34px; height: 34px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; border-radius: 10px; font-size: 15px; }
.ra-calc-stat-label { margin-bottom: 4px; color: #6b7280; font-size: 12px; }
.ra-calc-stat-value { color: #1f2937; font-size: 19px; font-weight: 700; }
.ra-calc-stat-green { margin-top: 2px; color: #16a34a; font-size: 11.5px; font-weight: 600; }

.ra-chart-box { display: flex; flex-direction: column; min-height: 190px; padding: 16px 18px 8px; border: 1px solid #e8e6f0; border-radius: 14px; }
.ra-chart-title { margin-bottom: 10px; color: #1f2937; font-size: 14px; font-weight: 700; }
.ra-chart-wrap { position: relative; flex: 1; min-height: 190px; }
.ra-chart-wrap svg { width: 100%; height: 100%; overflow: visible; }
.ra-chart-y { position: absolute; top: 0; bottom: 24px; left: 0; display: flex; flex-direction: column; justify-content: space-between; color: #9ca3af; font-size: 11px; }
.ra-chart-x { display: flex; justify-content: space-between; margin-top: 4px; padding: 0 4px; color: #6b7280; font-size: 11.5px; }
.ra-chart-tag { position: absolute; padding: 3px 9px; border-radius: 8px; background: var(--brand-gradient); color: #fff; font-size: 11px; font-weight: 700; white-space: nowrap; transform: translate(-50%, -130%); }

.ra-calc-btn { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 13px; border-radius: 12px; font-size: 14px; font-weight: 600; }
.ra-calc-btn-outline { border: 1.5px solid var(--brand-pink); background: #fff; color: var(--brand-pink); transition: all .2s; }
.ra-calc-btn-outline:hover { background: #fdf2f7; }
a.ra-calc-btn-outline, a.ra-calc-btn-outline:hover { color: var(--brand-pink); text-decoration: none; }

/* =========================================================
   TESTIMONIALS
========================================================= */
.ra-testimonials { padding: 48px 0 52px; background: #faf9ff; overflow: hidden; }
.ra-testimonials .ra-container { padding: 0 24px; }
.ra-testimonial-track { display: flex; gap: 22px; cursor: grab; scroll-snap-type: x mandatory; }
.ra-testimonial-track.is-dragging { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.ra-testimonial-card { flex: 0 0 calc(100vw - 48px); padding: 22px 24px; border-radius: 14px; background: #fff; scroll-snap-align: start; }
@media (min-width: 768px) { .ra-testimonial-card { flex-basis: 440px; } }
.ra-stars { color: #dda02b; font-size: 17px; letter-spacing: 3px; }
.ra-verified-inv { display: flex; align-items: center; gap: 5px; color: #32ad63; font-size: 10px; font-weight: 500; white-space: nowrap; }
.ra-verified-inv span { font-size: 15px; }
.ra-testimonial-text { margin: 18px 0 0; color: #333; font-size: 13px; line-height: 1.65; }
.ra-avatar { width: 37px; height: 37px; flex: 0 0 37px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: #f4dfb8; color: #263248; font-size: 12px; font-weight: 600; }
.ra-t-name { color: #20273a; font-size: 12px; font-weight: 700; }
.ra-t-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin-top: 3px; color: #7c8494; font-size: 9px; }

/* =========================================================
   BLOG
========================================================= */
.ra-blog { padding: 70px 0; background: #fff; }
.ra-blog .ra-container { padding: 0 24px; }
.ra-blog-nav { width: 100%; overflow: hidden; border: 1px solid #ececec; border-radius: 14px; background: #fff; }
@media (min-width: 992px) { .ra-blog-nav { width: 300px; } }
.ra-blog-btn { position: relative; width: 100%; height: 92px; padding: 0 22px; display: flex; align-items: center; justify-content: space-between; border: 0; border-bottom: 1px solid #ececec; background: #fff; color: #666; font-size: 18px; font-weight: 500; text-align: left; transition: color .3s; }
.ra-blog-btn:last-child { border-bottom: 0; }
.ra-blog-btn img { width: 22px; height: 22px; object-fit: contain; opacity: .6; }
.ra-blog-btn-arrow { font-size: 30px; line-height: 1; }
.ra-blog-btn:hover, .ra-blog-btn.active { color: #7b4ea1; }
.ra-blog-btn.active img { opacity: 1; }
.ra-blog-btn.active::before { content: ""; position: absolute; left: 0; top: 50%; width: 5px; height: 42px; border-radius: 20px; background: var(--brand-gradient); transform: translateY(-50%); }
.ra-blog-item { padding-bottom: 34px; border-bottom: 1px solid #d9d9d9; }
/* all blogs of the active category: scroll inside the panel, capped near the category list height */
.ra-blog-scroll { max-height: 560px; overflow-y: auto; padding-right: 14px; scrollbar-width: thin; scrollbar-color: #d7d1ea transparent; }
.ra-blog-scroll::-webkit-scrollbar { width: 6px; }
.ra-blog-scroll::-webkit-scrollbar-thumb { background: #d7d1ea; border-radius: 10px; }
.ra-blog-scroll .ra-blog-item + .ra-blog-item { padding-top: 30px; }
.ra-blog-meta { color: #9a9a9a; font-size: 15px; font-weight: 500; }
.ra-blog-title { margin-bottom: 14px; color: #111; font-size: 26px; line-height: 1.3; font-weight: 600; }
@media (min-width: 992px) { .ra-blog-title { font-size: 36px; } }
.ra-blog-desc { max-width: 920px; margin-bottom: 18px; color: #8a8a8a; font-size: 15px; line-height: 1.8; }
.ra-blog-read { color: #7b4ea1; font-size: 16px; font-weight: 600; }
.ra-blog-time { color: #111; font-size: 16px; font-weight: 500; }
/* tag names are long SEO phrases: clamp tab labels to 2 lines, tags as chips linking to /blog/tag/{slug} */
.ra-blog-btn > span:first-child { min-width: 0; text-align: left; }
.ra-blog-btn > span:first-child > span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.35; }
.ra-blog-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.ra-blog-tag { padding: 5px 12px; border-radius: 20px; background: #f4f3fb; color: #45376c; font-size: 13px; font-weight: 500; line-height: 1.3; transition: background .2s, color .2s; }
.ra-blog-tag:hover { background: #45376c; color: #fff; }

.ra-blog-mobile { padding: 24px 8px 30px; background: #fff; overflow: hidden; }
.ra-blog-m-title { margin: 0; color: var(--navy); font-size: 20px; line-height: 1.15; font-weight: 600; letter-spacing: -.35px; }
.ra-blog-m-viewall { margin-top: 4px; color: var(--navy); font-size: 11px; font-weight: 500; white-space: nowrap; }
.ra-blog-m-viewall span { font-size: 14px; margin-left: 2px; }
.ra-blog-m-cats { display: flex; gap: 7px; padding: 0 16px 4px 0; mask-image: linear-gradient(to right, #000 calc(100% - 18px), transparent); -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 18px), transparent); }
.ra-blog-m-cat { flex: 0 0 auto; height: 29px; min-width: 89px; padding: 0 14px; border: 1px solid transparent; border-radius: 6px; background: #f4f3fb; color: #222; font-size: 11px; scroll-snap-align: start; }
.ra-blog-m-cat.active { border-color: var(--brand-blue); background: #fff; }
.ra-blog-m-list { margin-top: 30px; border-top: 1px solid #eee; }
.ra-blog-m-item { padding: 23px 0 22px; border-bottom: 1px solid #eee; }
.ra-blog-m-meta { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 17px; color: #999; font-size: 11px; }
.ra-blog-m-item h3 { margin: 0; color: #111; font-size: 17px; line-height: 1.28; font-weight: 500; letter-spacing: -.15px; }
.ra-blog-m-bottom { display: flex; align-items: center; justify-content: space-between; margin-top: 18px; color: #111; font-size: 11px; font-weight: 500; }
.ra-blog-m-bottom a { color: var(--brand-blue); }
.ra-blog-m-bottom a span { color: var(--brand-pink); font-size: 15px; margin-left: 2px; }

/* =========================================================
   DEVELOPER PARTNERS
========================================================= */
.developer-partners-section { padding: 25px 0 45px; background: #f5f6f8; }
.developer-container { width: 100%; max-width: 1440px; margin: 0 auto; padding: 0 20px; }
.developer-partners-section .heading { margin: 0 0 42px; text-align: center; font-size: 27px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; background: var(--brand-gradient); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.developer-partners-section .partners-card { padding: 55px 35px; border-left: 3px solid #3457c9; border-right: 3px solid #c22a6d; border-radius: 28px; background: #fff; box-shadow: 0 8px 25px rgba(0,0,0,.08); }
.developer-partners-section .logos { display: flex; align-items: center; justify-content: center; gap: 85px; flex-wrap: nowrap; }
@media (max-width: 1199.98px) { .developer-partners-section .logos { gap: 35px; } .developer-partners-section .partners-card { padding: 45px 25px; } }
.developer-partners-section .logo { display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1; flex-shrink: 0; }
.developer-partners-section .tata-icon { width: 36px; height: 22px; margin-bottom: 2px; }
.developer-partners-section .tata-name { color: #1e2a9e; font-weight: 900; font-size: 17px; letter-spacing: .03em; }
.developer-partners-section .tata-sub { margin-top: -2px; color: #1e2a9e; font-weight: 700; font-size: 10px; letter-spacing: .15em; }
.developer-partners-section .dlf { display: flex; align-items: center; gap: 4px; flex-shrink: 0; }
.developer-partners-section .dlf-text { color: #111; font-size: 28px; font-weight: 900; font-style: italic; letter-spacing: -.02em; }
.developer-partners-section .dlf-icon { width: 24px; height: 24px; }
.developer-partners-section .embassy-icon { width: 32px; height: 28px; margin-bottom: 2px; }
.developer-partners-section .embassy-name { color: #f5850e; font-weight: 800; font-size: 13px; letter-spacing: .03em; }
.developer-partners-section .embassy-sub { color: #333; font-weight: 600; font-size: 9px; letter-spacing: .35em; }
.developer-partners-section .mahagun-icon { width: 56px; height: 20px; margin-bottom: 2px; }
.developer-partners-section .mahagun-name { margin-top: -2px; color: #1c3f66; font-weight: 800; font-size: 15px; letter-spacing: .03em; }
.developer-partners-section .mahagun-sub { color: #8a8a8a; font-size: 8px; letter-spacing: .1em; }
.developer-partners-section .kalpataru { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.developer-partners-section .kalpataru-box { width: 24px; height: 24px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; border-radius: 4px; background: #2fa8e0; }
.developer-partners-section .kalpataru-box svg { width: 16px; height: 16px; }
.developer-partners-section .kalpataru-name { color: #111; font-weight: 700; font-size: 13px; letter-spacing: .03em; }
.developer-partners-section .m3m-logo { display: flex; align-items: baseline; font-size: 26px; font-weight: 900; font-style: italic; letter-spacing: -.02em; }
.developer-partners-section .m3m-green { color: #4caf3d; }
.developer-partners-section .m3m-blue { color: #1a56c4; }
.developer-partners-section .m3m-sub { margin-top: -3px; color: #555; font-size: 9px; }
.developer-partners-section .partners-footer { margin: 25px 0 0; text-align: center; color: #6b7280; font-size: 15px; line-height: 1.6; }
.developer-partners-section .partners-footer b { color: #374151; }

@media (max-width: 767.98px) {
  .developer-partners-section { padding: 52px 0 46px; background: #faf8ff; }
  .developer-partners-section .heading { max-width: 420px; margin: 0 auto 60px; font-size: 22px; line-height: 1.28; letter-spacing: .19em; }
  .developer-partners-section .partners-card { max-width: 430px; margin: 0 auto; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
  .developer-partners-section .logos { display: grid; grid-template-columns: repeat(3, 94px); grid-auto-rows: 94px; justify-content: space-between; gap: 30px 0; max-width: 360px; margin: 0 auto; }
  .developer-partners-section .logos > .logo, .developer-partners-section .logos > .dlf, .developer-partners-section .logos > .kalpataru { width: 94px; height: 94px; padding: 10px; flex-direction: column; justify-content: center; border-radius: 16px; background: #fff; overflow: hidden; }
  .developer-partners-section .logos > .dlf, .developer-partners-section .logos > .kalpataru { flex-direction: row; }
  .developer-partners-section .kalpataru-name { font-size: 8px; white-space: nowrap; }
  .developer-partners-section .mahagun-sub { font-size: 5px; white-space: nowrap; }
  .developer-partners-section .m3m-sub { font-size: 6px; white-space: nowrap; }
  .developer-partners-section .tata-icon { width: 46px; height: 30px; }
  .developer-partners-section .embassy-icon { width: 53px; height: 44px; }
  .developer-partners-section .embassy-name { font-size: 11px; }
  .developer-partners-section .partners-footer { max-width: 360px; margin: 40px auto 0; color: #596176; font-size: 17px; line-height: 1.3; }
}
@media (max-width: 379.98px) { .developer-partners-section .logos { grid-template-columns: repeat(3, 84px); grid-auto-rows: 84px; } .developer-partners-section .logos > * { width: 84px !important; height: 84px !important; } }

/* =========================================================
   CONTACT
========================================================= */
.ra-contact-section { max-width: 1440px; margin: 0 auto; padding: 12px 7px 28px; background: #fff; }
.ra-contact-section > .row { --bs-gutter-x: 0; }
@media (min-width: 768px) { .ra-contact-section { padding: 88px 44px 59px; } }
@media (min-width: 992px) { .ra-contact-section > .row { --bs-gutter-x: 73px; } }

.ra-expert-card { overflow: hidden; border: 1px solid #eeeaf8; border-radius: 16px; background: #f9f8fd; }
@media (min-width: 992px) { .ra-expert-card { width: 402px; border: 0; background: #f4f2fb; box-shadow: 0 1px 2px rgba(0,0,0,.05); } }
.ra-expert-img { position: relative; aspect-ratio: 805 / 419; overflow: hidden; }
.ra-expert-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ra-expert-body { padding: 20px 18px 26px; }
@media (min-width: 992px) { .ra-expert-body { padding: 27px 29px 36px; } }
.ra-expert-body h3 { margin: 0 0 24px; color: #080808; font-size: 20px; font-weight: 700; }
.ra-expert-desc { display: none; }
@media (min-width: 992px) {
  .ra-expert-body h3 { margin-bottom: 8px; color: #111827; font-weight: 600; }
  .ra-expert-desc { display: block; margin-bottom: 21px; color: #6b7280; font-size: 14px; line-height: 1.5; }
}

.ra-call-pill { display: flex; align-items: center; gap: 13px; width: 100%; height: 46px; padding: 4px 5px; border: 2px solid transparent; border-radius: 999px; background: linear-gradient(#fff, #fff) padding-box, var(--brand-gradient) border-box; color: #111; font-size: 15px; white-space: nowrap; transition: opacity .2s; }
.ra-call-pill:hover { opacity: .9; color: #111; }
.ra-call-label { flex: 0 0 94px; height: 36px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; background: #f0ddf6; }
.ra-call-phone { display: inline-flex; align-items: center; gap: 8px; }
.ra-call-phone svg { width: 18px; height: 18px; color: #5b4a90; }
@media (min-width: 992px) {
  .ra-call-pill { display: inline-flex; width: auto; height: auto; gap: 8px; padding: 9px 23px; border-width: 1px; background: linear-gradient(#f4f2fb, #f4f2fb) padding-box, var(--brand-gradient) border-box; font-size: 12px; font-weight: 500; }
  .ra-call-label { flex: none; height: auto; background: transparent; }
  .ra-call-phone svg { width: 16px; height: 16px; color: #111827; }
}

.ra-expert-email { margin-top: 50px; }
@media (min-width: 992px) { .ra-expert-email { margin-top: 74px; } }
.ra-expert-email p { margin: 0 0 8px; color: #66666d; font-size: 14px; }
.ra-expert-email a { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; }
.ra-expert-email svg { width: 18px; height: 18px; color: #4f4c92; flex-shrink: 0; }

.ra-contact-title { margin: 24px 5px 14px; color: #111; font-size: 17px; line-height: 1.3; font-weight: 600; }
.ra-contact-sub { display: none; }
@media (min-width: 768px) {
  .ra-contact-title { margin: 0 0 17px; font-size: 28px; line-height: 34px; font-weight: 700; }
  .ra-contact-sub { display: block; margin-bottom: 61px; color: #6b7280; font-size: 21px; line-height: 27px; }
}

.ra-contact-form { padding: 10px 9px 12px; border: 1px solid var(--brand-blue); border-radius: 7px; background: #faf9ff; }
@media (min-width: 768px) { .ra-contact-form { padding: 0; border: 0; border-radius: 0; background: transparent; } }
.ra-line-input.form-control, .ra-line-input.form-select { height: 45px; padding: 0 2px; border: 0; border-bottom: 1px solid #e1e1e5; border-radius: 0; background-color: transparent; box-shadow: none !important; color: #333; font-size: 11px; }
.ra-line-input.form-select { padding-right: 24px; background-position: right 0 center; color: #a2a2a8; }
.ra-line-input.form-select:valid { color: #333; }
.ra-line-input.form-select option { color: #333; } /* Windows Chrome: options inherit the grey placeholder colour and look disabled */
.ra-line-input::placeholder { color: #a2a2a8; }
.ra-line-input:focus { border-bottom-color: #4f46e5; background-color: transparent; }
@media (min-width: 768px) {
  .ra-form-grid { row-gap: 40px; }
  .ra-line-input.form-control, .ra-line-input.form-select { height: auto; padding-bottom: 17px; border-bottom-color: #d1d5db; font-size: 14px; }
  .ra-line-input.form-select { background-position: right 0 top 4px; }
}

.form-check.ra-consent { display: flex; align-items: flex-start; gap: 6px; margin: 0; padding: 17px 1px 5px; color: #666; font-size: 8px; line-height: 11px; }
.form-check.ra-consent .form-check-input[type="checkbox"] { float: none; flex: 0 0 16px; width: 16px; height: 16px; margin: 1px 0 0; border: 1px solid #45376c; border-radius: 50%; box-shadow: none; cursor: pointer; }
.form-check.ra-consent .form-check-input[type="checkbox"]:checked { border-color: transparent; background-image: radial-gradient(circle, #fff 28%, transparent 32%), var(--brand-gradient); }
@media (min-width: 768px) {
  .form-check.ra-consent { gap: 12px; padding: 32px 0 0; color: #6b7280; font-size: 14px; line-height: 20px; }
  .form-check.ra-consent .form-check-input[type="checkbox"] { flex-basis: 26px; width: 26px; height: 26px; border-width: 1.5px; margin: 0; }
}

.ra-form-actions { gap: 9px !important; padding-top: 4px; }
.ra-captcha { display: flex; align-items: center; justify-content: space-between; width: 100%; height: 36px; padding: 0 8px; border: 1px solid #d1d5db; border-radius: 5px; background: #fff; color: #4b5563; font-size: 9px; }
.ra-captcha .form-check-input { width: 15px; height: 15px; }
.ra-captcha svg { width: 18px; height: 18px; color: #3b82f6; }
.ra-submit { width: 100%; height: 36px; border-radius: 6px; font-size: 10px; font-weight: 500; }
@media (min-width: 576px) {
  .ra-form-actions { gap: 16px !important; padding-top: 28px; }
  .ra-captcha { width: 277px; height: 49px; padding: 0 13px; border-radius: 6px; font-size: 14px; }
  .ra-captcha .form-check-input { width: 22px; height: 22px; }
  .ra-captcha svg { width: 24px; height: 24px; }
  .ra-submit { width: 264px; height: 49px; border-radius: 8px; font-size: 16px; }
}

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
/* ---------- Developer partners: DB logos marquee ---------- */
.developer-partners-section .ra-partner-marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.developer-partners-section .ra-partner-track { display: flex; align-items: center; gap: 60px; width: max-content; animation: ra-partner-scroll 60s linear infinite; }
.developer-partners-section .ra-partner-marquee:hover .ra-partner-track { animation-play-state: paused; }
.developer-partners-section .ra-partner-logo { flex-shrink: 0; height: 64px; display: flex; align-items: center; }
.developer-partners-section .ra-partner-logo img { max-height: 64px; max-width: 140px; object-fit: contain; }
@keyframes ra-partner-scroll { to { transform: translateX(calc(-50% - 30px)); } }
@media (max-width: 767.98px) { .developer-partners-section .ra-partner-track { gap: 36px; } .developer-partners-section .ra-partner-logo, .developer-partners-section .ra-partner-logo img { height: 48px; max-height: 48px; max-width: 100px; } }
@media (prefers-reduced-motion: reduce) { .developer-partners-section .ra-partner-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; } .developer-partners-section .ra-partner-logo[aria-hidden] { display: none; } }

/* ---------- Developer partners: DB logos marquee ---------- */
.developer-partners-section .ra-partner-marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.developer-partners-section .ra-partner-track { display: flex; align-items: center; gap: 60px; width: max-content; animation: ra-partner-scroll 60s linear infinite; }
.developer-partners-section .ra-partner-marquee:hover .ra-partner-track { animation-play-state: paused; }
.developer-partners-section .ra-partner-logo { flex-shrink: 0; height: 64px; display: flex; align-items: center; }
.developer-partners-section .ra-partner-logo img { max-height: 64px; max-width: 140px; object-fit: contain; }
@keyframes ra-partner-scroll { to { transform: translateX(calc(-50% - 30px)); } }
@media (max-width: 767.98px) { .developer-partners-section .ra-partner-track { gap: 36px; } .developer-partners-section .ra-partner-logo, .developer-partners-section .ra-partner-logo img { height: 48px; max-height: 48px; max-width: 100px; } }
@media (prefers-reduced-motion: reduce) { .developer-partners-section .ra-partner-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; } .developer-partners-section .ra-partner-logo[aria-hidden] { display: none; } }

/* Full-width sections without a container: keep their content inside the same 1410px column as .ra-container
   on wide screens, so the fixed side icons (shown from 1600px) never overlap it. Background stays full width. */
@media (min-width: 1600px) {
  .ra-resources, .ra-calc-section { padding-left: calc((100% - 1410px) / 2); padding-right: calc((100% - 1410px) / 2); }
}

/* Trending Searches slides (CMS) — ek waqt me ek slide, home.js rotate karta hai */
.ra-trending-slides { display: flex; flex: 1 1 auto; min-width: 0; }
.ra-trending-slide { display: none; flex-wrap: wrap; align-items: center; min-width: 0; }
.ra-trending-slides, .ra-trending-slide { gap: 8px; }
.ra-trending-slide.active { display: flex; animation: raTrendingIn .4s ease; }
@keyframes raTrendingIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (min-width: 768px) { .ra-trending-slide { flex-wrap: nowrap; gap: 10px; } }
@media (min-width: 1200px) { .ra-trending-slide { gap: 12px; } }
@media (prefers-reduced-motion: reduce) { .ra-trending-slide.active { animation: none; } }
.ra-blog-m-cat { max-width: 220px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---------- Top Compare Properties (pairs from /compare-projects) ---------- */
.ra-compare { padding: 24px 10px 30px; background: #fff; overflow: hidden; }
@media (min-width: 768px) { .ra-compare { padding: 48px 24px 56px; } }
@media (min-width: 992px) { .ra-compare { padding: 48px 64px 56px; } }
.ra-compare-line { width: 160px; }
.ra-compare-all { flex: none; margin-top: 6px; color: #4c3f8f; font-size: 13px; font-weight: 500; white-space: nowrap; }
.ra-compare-all:hover { color: var(--brand-pink, #c4447d); }
.ra-compare-track { display: flex; gap: 20px; margin: 24px -10px 0; padding: 6px 10px 16px; scroll-snap-type: x mandatory; }
@media (min-width: 768px) { .ra-compare-track { margin-top: 32px; } }
.ra-compare-card { flex: 0 0 82%; display: flex; flex-direction: column; padding: 10px; border-radius: 14px; background: #fff; box-shadow: 0 4px 22px rgba(23, 20, 95, .1); scroll-snap-align: start; }
@media (min-width: 576px) { .ra-compare-card { flex-basis: calc((100% - 20px) / 2); } }
@media (min-width: 992px) { .ra-compare-card { flex-basis: calc((100% - 40px) / 3); } }
.ra-compare-media { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; overflow: hidden; border-radius: 10px; background: #eef0f6; }
.ra-compare-media img { width: 100%; height: 130px; object-fit: cover; }
@media (min-width: 1200px) { .ra-compare-media img { height: 150px; } }
.ra-compare-vs { position: absolute; top: 50%; left: 50%; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: linear-gradient(to right, #325998 0, #45376c 50%, #584587 60%, #af3869 100%); color: #fff; font-size: 9px; font-weight: 700; transform: translate(-50%, -50%); box-shadow: 0 0 0 3px rgba(255, 255, 255, .85); }
.ra-compare-info { display: grid; grid-template-columns: 1fr 1fr; margin: 12px 0; }
.ra-compare-info > div { min-width: 0; padding: 0 6px; }
.ra-compare-info > div + div { padding-left: 10px; border-left: 1px solid #e5e7eb; }
.ra-compare-info h3 { margin: 0 0 3px; overflow: hidden; color: var(--navy); font-size: 14px; font-weight: 600; white-space: nowrap; text-overflow: ellipsis; }
.ra-compare-info p { margin: 0 0 3px; overflow: hidden; color: #6b7280; font-size: 11px; white-space: nowrap; text-overflow: ellipsis; }
.ra-compare-info strong { color: var(--navy); font-size: 13px; font-weight: 600; }
.ra-compare-btn { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: auto; padding: 10px; border-radius: 8px; background: linear-gradient(to right, #325998 0, #45376c 50%, #584587 60%, #af3869 100%); color: #fff; font-size: 13px; font-weight: 500; transition: filter .2s; }
.ra-compare-btn:hover { color: #fff; filter: brightness(1.08); }
.ra-compare-sub { color: #3f506c; font-size: 14px; }
@media (min-width: 768px) { .ra-compare-sub { font-size: 16px; } }
.ra-compare-arrow { display: grid; place-items: center; width: 34px; height: 34px; padding: 0; border: 1px solid #d9d6e8; border-radius: 50%; background: #fff; color: var(--navy); font-size: 18px; line-height: 1; transition: all .2s; }
.ra-compare-arrow:hover { border-color: transparent; background: var(--brand-gradient); color: #fff; }

/* Desktop: full width, side space only for the floating WhatsApp / social icons (they sit 12-52px
   from each edge) — same 64px as the site-wide .container rule in layouts/new/bootstrap/frontend.
   Last in the file so it wins over the per-section paddings and the 1410px column above. */
@media (min-width: 992px) {
  .ra-container,
  .ra-cities-section .ra-container,
  .ra-testimonials .ra-container,
  .ra-blog .ra-container,
  .developer-container,
  .ra-contact-section { max-width: none; padding-left: 64px; padding-right: 64px; }
  .ra-resources, .ra-luxury, .ra-commercial, .ra-calc-section, .ra-compare { padding-left: 64px; padding-right: 64px; }
  .ra-lux-container { max-width: none; }
  /* hero copy and the project cards overlapping it are sized with margins, not padding */
  .ra-hero-content, .ra-showcase-wrap { width: auto; max-width: none; margin-left: 64px; margin-right: 64px; }
  .ra-showcase-wrap { padding-left: 0; padding-right: 0; }
}

/* =========================================================
   FIGMA 3.0 TEXT SIZES — HOME (desktop 1200px+)
   Each size scales with the screen: today's size is the floor, the Figma size (drawn at
   1920px) is reached at a 1920px-wide screen. Below 1200px nothing changes.
========================================================= */
@media (min-width: 1200px) {
  /* Hero (showcase cards are narrower than in Figma, so their text is Figma x0.78) */
  .ra-home .ra-card-title { line-height: 1.25; }
  .ra-home .ra-hero-copy h1 { font-size: clamp(52px, 4.8021vw, 92.2px); }
  .ra-home .ra-hero-copy p { font-size: clamp(14px, 1.1458vw, 22px); }
  .ra-home .ra-hero-tags span { font-size: clamp(11px, 0.7292vw, 14px); }
  .ra-home .ra-trust-value { font-size: clamp(17px, 1.1667vw, 22.4px); }
  .ra-home .ra-trust-label { font-size: clamp(9px, 0.8333vw, 16px); }
  .ra-home .ra-field-label { font-size: clamp(13px, 0.8281vw, 15.9px); }
  .ra-home .ra-field-value { font-size: clamp(16px, 0.9792vw, 18.8px); }
  .ra-home .ra-search-btn { font-size: clamp(17px, 1.125vw, 21.6px); }
  .ra-home .ra-near-me { font-size: clamp(15px, 0.8854vw, 17px); }
  .ra-home .ra-showcase-heading .ra-eyebrow { font-size: clamp(9px, 0.7292vw, 14px); }
  .ra-home .ra-showcase-heading h2 { font-size: clamp(26px, 2.0833vw, 40px); }
  .ra-home .ra-showcase-card .ra-badge { font-size: clamp(9px, 0.6563vw, 12.6px); }
  .ra-home .ra-card-title { font-size: clamp(18px, 1.151vw, 22.1px); }
  .ra-home .ra-card-meta { font-size: clamp(11px, 0.75vw, 14.4px); }
  .ra-home .ra-card-meta2 { font-size: clamp(11px, 0.7813vw, 15px); }
  .ra-home .ra-small-caps { font-size: clamp(8px, 0.6198vw, 11.9px); }
  .ra-home .ra-card-price { font-size: clamp(17px, 1.0052vw, 19.3px); }
  .ra-home .ra-showcase-card .ra-btn-sm { font-size: clamp(10px, 0.7031vw, 13.5px); }
  /* Popular Cities */
  .ra-home .ra-cities-section .section-title { font-size: clamp(30px, 1.875vw, 36px); }
  .ra-home .ra-cities-sub { font-size: clamp(18px, 1.1458vw, 22px); }
  .ra-home .ra-cities-section .city-title { font-size: clamp(20px, 1.1458vw, 22px); }
  .ra-home .ra-cities-section .city-props { font-size: clamp(13px, 0.8854vw, 17px); }
  .ra-home .ra-explore-btn { font-size: clamp(14px, 1.0313vw, 19.8px); }
  /* Trending Projects */
  .ra-home .ra-projects-section .section-title { font-size: clamp(30px, 1.875vw, 36px); }
  .ra-home .ra-projects-section .view-all { font-size: clamp(15px, 1.1458vw, 22px); }
  .ra-home .ra-projects-section .city-btn { font-size: clamp(15px, 1.1458vw, 22px); }
  .ra-home .ra-project-badge { font-size: clamp(11px, 0.8385vw, 16.1px); }
  .ra-home .ra-project-loc { font-size: clamp(12px, 0.9063vw, 17.4px); }
  .ra-home .ra-project-price { font-size: clamp(18px, 1.3542vw, 26px); }
  .ra-home .ra-project-name { font-size: clamp(20px, 1.3542vw, 26px); }
  .ra-home .ra-project-addr { font-size: clamp(14px, 0.9792vw, 18.8px); }
  .ra-home .ra-project-meta { font-size: clamp(13px, 1.0417vw, 20px); }
  .ra-home .ra-project-card .view-details-btn { font-size: clamp(15px, 0.9792vw, 18.8px); }
  /* Resources */
  .ra-home .ra-resources .section-title { font-size: clamp(30px, 1.7708vw, 34px); }
  .ra-home .ra-resources-sub { font-size: clamp(16px, 1.1458vw, 22px); }
  .ra-home .ra-resource-cta span { font-size: clamp(16px, 1.1458vw, 22px); }
  /* Top Compare */
  .ra-home .ra-compare .section-title { font-size: clamp(30px, 1.7708vw, 34px); }
  .ra-home .ra-compare-sub { font-size: clamp(16px, 1.1458vw, 22px); }
  .ra-home .ra-compare-vs { font-size: clamp(9px, 0.7292vw, 14px); }
  .ra-home .ra-compare-info h3 { font-size: clamp(14px, 0.9375vw, 18px); }
  .ra-home .ra-compare-info p { font-size: clamp(11px, 0.6771vw, 13px); }
  .ra-home .ra-compare-info strong { font-size: clamp(13px, 0.8333vw, 16px); }
  .ra-home .ra-compare-btn { font-size: clamp(13px, 0.8333vw, 16px); }
  /* Buying Journey */
  .ra-home .ra-journey .section-title { font-size: clamp(30px, 1.7448vw, 33.5px); }
  .ra-home .ra-journey-sub { font-size: clamp(14px, 1.1458vw, 22px); }
  .ra-home .ra-help-text h3 { font-size: clamp(22px, 2.0885vw, 40.1px); }
  .ra-home .ra-help-text p { font-size: clamp(14px, 1.1458vw, 22px); }
  .ra-home .ra-help-btn { font-size: clamp(12px, 1.1979vw, 23px); }
  /* Ultra-Luxury */
  .ra-home .ra-lux-title { font-size: clamp(30px, 3.8281vw, 73.5px); }
  /* Grade-A Commercial */
  .ra-home .ra-commercial-title { font-size: clamp(24px, 1.875vw, 36px) !important; } /* beats the older 24px !important */
  .ra-home .ra-commercial-sub { max-width: none; font-size: clamp(13px, 1.1458vw, 22px); }
  .ra-home .ra-com-body h3 { font-size: clamp(17px, 1.5469vw, 29.7px); }
  .ra-home .ra-com-body-sm h3 { font-size: clamp(14px, 1.2656vw, 24.3px); }
  .ra-home .ra-com-body p { font-size: clamp(11px, 0.9115vw, 17.5px); }
  .ra-home .ra-com-body-sm p { font-size: clamp(10px, 0.7708vw, 14.8px); }
  /* Returns Calculator */
  .ra-home .ra-calc-section .section-title { font-size: clamp(30px, 1.875vw, 36px); }
  .ra-home .ra-calc-heading { font-size: clamp(16px, 1.1406vw, 21.9px); }
  .ra-home .ra-calc-label { font-size: clamp(14px, 0.9375vw, 18px); }
  .ra-home .ra-calc-value { font-size: clamp(13px, 0.9375vw, 18px); }
  .ra-home .ra-calc-results-title { font-size: clamp(18px, 1.2344vw, 23.7px); }
  .ra-home .ra-calc-stat-label { font-size: clamp(12px, 0.8229vw, 15.8px); }
  .ra-home .ra-calc-stat-value { font-size: clamp(19px, 1.5052vw, 28.9px); }
  .ra-home .ra-calc-stat-green { font-size: clamp(11.5px, 0.8906vw, 17.1px); }
  .ra-home .ra-calc-note { font-size: clamp(12.5px, 0.8333vw, 16px); }
  /* Blogs */
  .ra-home .ra-blog .section-title { font-size: clamp(30px, 1.875vw, 36px); }
  .ra-home .ra-blog .view-all { font-size: clamp(15px, 1.1719vw, 22.5px); }
  .ra-home .ra-blog-title { font-size: clamp(26px, 1.5625vw, 30px); }
  .ra-home .ra-blog-desc { font-size: clamp(15px, 0.9375vw, 18px); }
  .ra-home .ra-blog-tag { font-size: clamp(13px, 1.1458vw, 22px); }
  .ra-home .ra-blog-time { font-size: clamp(16px, 1.0417vw, 20px); }
  .ra-home .ra-blog-read { font-size: clamp(16px, 1.0365vw, 19.9px); }
  /* Developer Partners */
  .ra-home .developer-partners-section .heading { font-size: clamp(27px, 1.5625vw, 30px); }
  /* Contact */
  .ra-home .ra-contact-title { font-size: clamp(28px, 2.224vw, 42.7px); }
  .ra-home .ra-contact-sub { font-size: clamp(21px, 1.776vw, 34.1px); }
  .ra-home .ra-expert-body h3 { font-size: clamp(20px, 1.6667vw, 32px); }
  .ra-home .ra-expert-desc { font-size: clamp(14px, 1.1458vw, 22px); }
  .ra-home .ra-call-label { font-size: clamp(12px, 1.2083vw, 23.2px); }
  .ra-home .ra-call-phone { font-size: clamp(12px, 1.2083vw, 23.2px); }
  .ra-home .ra-expert-email p { font-size: clamp(14px, 1.2344vw, 23.7px); }
  .ra-home .ra-expert-email a { font-size: clamp(14px, 1.2344vw, 23.7px); }
  .ra-home .ra-contact-form .ra-line-input { font-size: clamp(14px, 1.1406vw, 21.9px); }
  .ra-home .ra-contact-form .ra-consent { font-size: clamp(14px, 1.0938vw, 21px); }
  .ra-home .ra-contact-form .ra-submit { font-size: clamp(16px, 1.2813vw, 24.6px); }
}

/* Developer partner logos: the logo files are 300x300 squares with wide empty margins, so each gets a
   bigger square box and is scaled UP to fill it; the card loses some padding so the strip keeps its height. */
.developer-partners-section .partners-card { padding-top: 30px; padding-bottom: 30px; }
.developer-partners-section .ra-partner-track { gap: 40px; }
.developer-partners-section .ra-partner-logo { width: 130px; height: 130px; justify-content: center; }
.developer-partners-section .ra-partner-logo img { width: 100%; height: 100%; max-width: none; max-height: none; object-fit: contain; }
@media (max-width: 767.98px) {
  .developer-partners-section .ra-partner-track { gap: 24px; }
  .developer-partners-section .ra-partner-logo,
  .developer-partners-section .ra-partner-logo img { width: 92px; height: 92px; max-width: none; max-height: none; }
}

/* Popular Cities: heading sits in the list column, so the India map beside it runs the column's full
   height (heading to "Explore More Cities" at 1920px) and is centred in the space right of the list.
   The map takes whatever width is left (never forcing itself below the list) and stays square. */
@media (min-width: 992px) {
  .ra-cities-map-col { align-self: stretch; align-items: center; min-width: 0; }
  .ra-cities-map-col .ra-map-wrapper { width: 100%; max-width: 560px; }
  .ra-cities-map-col .ra-map { min-height: 0; aspect-ratio: 1 / 1; }
}
/* 992-1199px: no room beside the 2-column city list, so the map sits under it at full size */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .ra-cities-section .row > .ra-cities-map-col { flex: 0 0 100%; }
}
@media (min-width: 1200px) {
  .ra-cities-map-col .ra-map-wrapper { max-width: clamp(560px, 43vw, 830px); }
}
