/* ==========================================================================
   RajkotProperties — frontend design system (Bootstrap 5 theme layer)
   ========================================================================== */
@font-face {
    font-family: 'Plus Jakarta Sans';
    src: url('../fonts/PlusJakartaSans.woff2') format('woff2-variations'), url('../fonts/PlusJakartaSans.woff2') format('woff2');
    font-weight: 200 800;
    font-display: swap;
}

:root {
    --rp-navy: #0B1F33;
    --rp-navy-2: #13304D;
    --rp-navy-3: #1E4469;
    --rp-amber: #D9944B;
    --rp-amber-2: #C27E35;
    --rp-amber-soft: #FBF3EA;
    --rp-ink: #111827;
    --rp-muted: #6B7280;
    --rp-line: #E5E7EB;
    --rp-bg: #F6F7F9;
    --rp-success: #15803D;
    --rp-danger: #DC2626;
    --rp-wa: #25D366;
    --rp-radius: 18px;
    --rp-radius-sm: 12px;
    --rp-shadow: 0 1px 2px rgba(11, 31, 51, .04), 0 8px 24px rgba(11, 31, 51, .06);
    --rp-shadow-lg: 0 20px 50px rgba(11, 31, 51, .14);

    --bs-body-font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --bs-body-color: var(--rp-ink);
    --bs-body-bg: #fff;
    --bs-primary: #0B1F33;
    --bs-primary-rgb: 11, 31, 51;
    --bs-link-color: #0B1F33;
    --bs-link-color-rgb: 11, 31, 51;
    --bs-link-hover-color: #C27E35;
    --bs-link-hover-color-rgb: 194, 126, 53;
    --bs-border-color: #E5E7EB;
    --bs-border-radius: 12px;
    --bs-border-radius-lg: 18px;
}

html { scroll-behavior: smooth; }
body { font-size: 15px; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; }
h1, h2, h3, h4, h5, .rp-heading { font-weight: 800; letter-spacing: -.02em; color: var(--rp-navy); }
.text-muted, .rp-muted { color: var(--rp-muted) !important; }
.text-amber { color: var(--rp-amber) !important; }
.text-navy { color: var(--rp-navy) !important; }
.bg-navy { background: var(--rp-navy) !important; }
.bg-soft { background: var(--rp-bg) !important; }
.bg-amber-soft { background: var(--rp-amber-soft) !important; }
a { text-decoration: none; }
.fw-800 { font-weight: 800 !important; }
.small-2 { font-size: 12.5px; }
.min-w-0 { min-width: 0; }
.section { padding: 72px 0; }
.section-sm { padding: 44px 0; }
@media (max-width: 767.98px) { .section { padding: 48px 0; } .section-sm { padding: 32px 0; } }

.section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 26px; flex-wrap: wrap; }
.section-head .eyebrow { color: var(--rp-amber-2); font-weight: 700; font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 6px; }
.section-head h2 { font-size: clamp(1.5rem, 2.6vw, 2.15rem); margin: 0; }
.section-head p { margin: 6px 0 0; color: var(--rp-muted); }

/* ---------- buttons ---------- */
.btn { font-weight: 600; border-radius: 999px; padding: .62rem 1.25rem; transition: all .18s ease; }
.btn-lg { padding: .8rem 1.6rem; font-size: 1rem; }
.btn-sm { padding: .38rem .9rem; font-size: .84rem; }
.btn-primary, .btn-navy { --bs-btn-bg: var(--rp-navy); --bs-btn-border-color: var(--rp-navy); --bs-btn-hover-bg: var(--rp-navy-2); --bs-btn-hover-border-color: var(--rp-navy-2); --bs-btn-active-bg: var(--rp-navy-2); --bs-btn-color: #fff; --bs-btn-hover-color: #fff; --bs-btn-disabled-bg: var(--rp-navy); --bs-btn-disabled-border-color: var(--rp-navy); }
.btn-amber { --bs-btn-bg: var(--rp-amber); --bs-btn-border-color: var(--rp-amber); --bs-btn-hover-bg: var(--rp-amber-2); --bs-btn-hover-border-color: var(--rp-amber-2); --bs-btn-active-bg: var(--rp-amber-2); --bs-btn-color: #fff; --bs-btn-hover-color: #fff; --bs-btn-active-color: #fff; }
.btn-outline-navy { --bs-btn-color: var(--rp-navy); --bs-btn-border-color: #CBD5E1; --bs-btn-hover-bg: var(--rp-navy); --bs-btn-hover-border-color: var(--rp-navy); --bs-btn-hover-color: #fff; --bs-btn-active-bg: var(--rp-navy); --bs-btn-active-color: #fff; }
.btn-light-soft { background: #fff; border: 1px solid var(--rp-line); color: var(--rp-navy); }
.btn-light-soft:hover { border-color: var(--rp-navy); color: var(--rp-navy); }
.btn-wa { background: var(--rp-wa); color: #fff; border-color: var(--rp-wa); }
.btn-wa:hover { background: #1fb457; color: #fff; }
.btn-icon { width: 42px; height: 42px; padding: 0; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; }
.link-arrow { font-weight: 700; color: var(--rp-navy); display: inline-flex; align-items: center; gap: 6px; }
.link-arrow:hover { color: var(--rp-amber-2); }
.link-arrow i { transition: transform .2s; }
.link-arrow:hover i { transform: translateX(3px); }

/* ---------- forms ---------- */
.form-control, .form-select { border-radius: 12px; border-color: var(--rp-line); padding: .68rem .95rem; font-size: .95rem; }
.form-control:focus, .form-select:focus, .form-check-input:focus { border-color: var(--rp-navy); box-shadow: 0 0 0 .2rem rgba(11, 31, 51, .1); }
.form-label { font-weight: 600; font-size: .86rem; color: #374151; margin-bottom: .35rem; }
.form-check-input:checked { background-color: var(--rp-navy); border-color: var(--rp-navy); }
.input-group-text { border-radius: 12px; background: #F9FAFB; border-color: var(--rp-line); }
.invalid-feedback { font-size: .8rem; }

/* ---------- header ---------- */
.rp-topbar { background: var(--rp-navy); color: #CBD5E1; font-size: 12.5px; }
.rp-topbar a { color: #E2E8F0; }
.rp-topbar a:hover { color: var(--rp-amber); }
.rp-header { position: sticky; top: 0; z-index: 1030; background: rgba(255, 255, 255, .96); backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid rgba(11, 31, 51, .06); }
.rp-header.scrolled { box-shadow: 0 6px 24px rgba(11, 31, 51, .08); }
.rp-logo { display: inline-flex; align-items: center; gap: 10px; color: var(--rp-navy); font-weight: 800; font-size: 1.15rem; letter-spacing: -.02em; }
.rp-logo-mark { width: 40px; height: 40px; border-radius: 12px; background: linear-gradient(135deg, var(--rp-navy), var(--rp-navy-3)); color: var(--rp-amber); display: inline-flex; align-items: center; justify-content: center; font-size: 1.1rem; }
.rp-logo small { display: block; font-size: 10.5px; color: var(--rp-muted); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; margin-top: -2px; }
.rp-nav .nav-link { color: #1F2937; font-weight: 600; font-size: .92rem; padding: .55rem .8rem !important; border-radius: 999px; }
.rp-nav .nav-link:hover, .rp-nav .nav-link.active { color: var(--rp-navy); background: var(--rp-bg); }
.rp-nav .dropdown-menu { border: 0; border-radius: 16px; box-shadow: var(--rp-shadow-lg); padding: 10px; min-width: 240px; }
.rp-nav .dropdown-item { border-radius: 10px; padding: .5rem .8rem; font-weight: 500; font-size: .9rem; }
.rp-nav .dropdown-item:hover { background: var(--rp-bg); }
.rp-mega { min-width: 560px !important; }
.rp-mega h6 { font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--rp-muted); margin: 6px 10px 6px; }
.badge-new { background: var(--rp-amber); color: #fff; font-size: 9.5px; padding: 3px 6px; border-radius: 6px; margin-left: 4px; vertical-align: 2px; }
.offcanvas-nav .nav-link { color: var(--rp-ink); font-weight: 600; padding: .8rem 0; border-bottom: 1px solid var(--rp-line); display: flex; justify-content: space-between; align-items: center; }

/* ---------- hero ---------- */
.rp-hero { position: relative; color: #fff; background: var(--rp-navy); overflow: hidden; }
.rp-hero::before { content: ""; position: absolute; inset: 0; background: var(--hero-img, none) center/cover no-repeat; opacity: .38; }
.rp-hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(1200px 500px at 10% 0%, rgba(217, 148, 75, .28), transparent 60%), linear-gradient(180deg, rgba(11, 31, 51, .35) 0%, rgba(11, 31, 51, .92) 100%); }
.rp-hero > .container { position: relative; z-index: 2; }
.rp-hero h1 { color: #fff; font-size: clamp(2rem, 4.6vw, 3.6rem); line-height: 1.08; }
.rp-hero .lead { color: #CBD5E1; max-width: 640px; }
.rp-hero-stats { display: flex; gap: 34px; flex-wrap: wrap; margin-top: 28px; }
.rp-hero-stats b { display: block; font-size: 1.6rem; color: #fff; }
.rp-hero-stats span { color: #94A3B8; font-size: 13px; }
.pill-tabs { display: inline-flex; background: rgba(255, 255, 255, .12); padding: 5px; border-radius: 999px; gap: 4px; }
.pill-tabs button, .pill-tabs a { border: 0; background: transparent; color: #E2E8F0; font-weight: 700; padding: .45rem 1.1rem; border-radius: 999px; font-size: .9rem; }
.pill-tabs .active { background: #fff; color: var(--rp-navy); }

/* ---------- search panel ---------- */
.rp-search { background: #fff; border-radius: 22px; box-shadow: var(--rp-shadow-lg); padding: 14px; color: var(--rp-ink); }
.rp-search .field { position: relative; border-right: 1px solid var(--rp-line); padding: 6px 14px; min-width: 0; }
.rp-search .field:last-of-type { border-right: 0; }
.rp-search .field label { display: block; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--rp-muted); }
.rp-search .field .ms-toggle { border: 0; background: transparent; padding: 2px 0; width: 100%; text-align: left; font-weight: 600; color: var(--rp-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rp-search .field .ms-toggle::after { content: "\f107"; font-family: "Font Awesome 6 Free"; font-weight: 900; float: right; color: var(--rp-muted); font-size: 12px; margin-top: 4px; }
.rp-search .btn-search { min-height: 56px; border-radius: 16px; }
@media (max-width: 991.98px) { .rp-search .field { border-right: 0; border-bottom: 1px solid var(--rp-line); padding: 10px 6px; } }
.ms-menu { padding: 12px; min-width: 280px; max-height: 340px; overflow: auto; border: 0; border-radius: 16px; box-shadow: var(--rp-shadow-lg); }
.ms-menu .ms-search { margin-bottom: 8px; }
.ms-menu .form-check { padding: 6px 8px 6px 34px; border-radius: 10px; margin: 0; }
.ms-menu .form-check:hover { background: var(--rp-bg); }
.chip-check { display: inline-block; }
.chip-check input { display: none; }
.chip-check span { display: inline-block; border: 1px solid var(--rp-line); border-radius: 999px; padding: .38rem .9rem; font-weight: 600; font-size: .86rem; cursor: pointer; user-select: none; background: #fff; transition: all .15s; }
.chip-check input:checked + span { background: var(--rp-navy); border-color: var(--rp-navy); color: #fff; }
.chip-check span:hover { border-color: var(--rp-navy); }

/* ---------- chips & badges ---------- */
.rp-chip { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--rp-line); border-radius: 999px; padding: .42rem .95rem; font-weight: 600; font-size: .88rem; color: var(--rp-ink); background: #fff; transition: all .15s; }
.rp-chip:hover { border-color: var(--rp-navy); color: var(--rp-navy); box-shadow: var(--rp-shadow); }
.rp-chip .count { color: var(--rp-muted); font-weight: 500; }
.rp-chip-dark { background: var(--rp-navy); border-color: var(--rp-navy); color: #fff; }
.rp-chip-dark:hover { color: #fff; }
.rp-badge { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 700; padding: 4px 9px; border-radius: 999px; background: rgba(255, 255, 255, .92); color: var(--rp-navy); }
.rp-badge.featured { background: var(--rp-amber); color: #fff; }
.rp-badge.premium { background: #7C3AED; color: #fff; }
.rp-badge.top { background: var(--rp-navy); color: #fff; }
.rp-badge.urgent { background: var(--rp-danger); color: #fff; }
.rp-badge.sponsored { background: #0284C7; color: #fff; }
.rp-badge.verified { background: #DCFCE7; color: var(--rp-success); }
.status-pill { font-size: 11.5px; font-weight: 700; padding: 3px 10px; border-radius: 999px; display: inline-block; text-transform: capitalize; }
.status-approved, .status-converted, .status-confirmed, .status-completed { background: #DCFCE7; color: #15803D; }
.status-pending, .status-new, .status-requested, .status-draft, .status-rescheduled { background: #FEF3C7; color: #B45309; }
.status-rejected, .status-lost, .status-cancelled, .status-expired { background: #FEE2E2; color: #B91C1C; }
.status-sold, .status-rented, .status-contacted, .status-interested, .status-site_visit, .status-negotiation { background: #E0F2FE; color: #0369A1; }

/* ---------- property card ---------- */
.p-card { background: #fff; border: 1px solid var(--rp-line); border-radius: var(--rp-radius); overflow: hidden; height: 100%; display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .2s ease; position: relative; }
.p-card:hover { transform: translateY(-3px); box-shadow: var(--rp-shadow-lg); }
.p-card .p-media { position: relative; aspect-ratio: 16/10; background: #E9ECF1; overflow: hidden; display: block; }
.p-card .p-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.p-card:hover .p-media img { transform: scale(1.05); }
.p-card .p-badges { position: absolute; top: 12px; left: 12px; display: flex; gap: 6px; flex-wrap: wrap; z-index: 2; }
.p-card .p-purpose { position: absolute; bottom: 12px; left: 12px; z-index: 2; }
.p-card .p-photos { position: absolute; bottom: 12px; right: 12px; z-index: 2; background: rgba(0, 0, 0, .55); color: #fff; font-size: 11.5px; font-weight: 600; border-radius: 999px; padding: 3px 9px; }
.fav-btn { position: absolute; top: 10px; right: 10px; z-index: 3; width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .94); color: var(--rp-navy); display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 2px 8px rgba(0, 0, 0, .12); transition: transform .15s; }
.fav-btn:hover { transform: scale(1.08); }
.fav-btn.active { color: #EF4444; }
.fav-btn.active i::before { font-weight: 900; }
.p-card .p-body { padding: 16px 18px 6px; flex: 1; display: flex; flex-direction: column; }
.p-card .p-price { font-size: 1.32rem; font-weight: 800; color: var(--rp-navy); letter-spacing: -.02em; }
.p-card .p-price small { font-size: .78rem; color: var(--rp-muted); font-weight: 600; }
.p-card .p-title { font-weight: 700; font-size: 1rem; color: var(--rp-ink); margin: 4px 0 4px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.p-card .p-title a { color: inherit; }
.p-card .p-title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.p-card .p-loc { color: var(--rp-muted); font-size: .87rem; }
.p-card .p-specs { display: flex; gap: 14px; flex-wrap: wrap; margin: 12px 0 4px; padding-top: 12px; border-top: 1px dashed var(--rp-line); font-size: .85rem; color: #374151; }
.p-card .p-specs span { display: inline-flex; align-items: center; gap: 6px; }
.p-card .p-specs i { color: var(--rp-amber-2); }
.p-card .p-foot { padding: 12px 18px 16px; display: flex; align-items: center; justify-content: space-between; gap: 10px; position: relative; z-index: 2; }
.p-card .p-foot .who { font-size: .8rem; color: var(--rp-muted); }
/* list view */
.view-list .p-col { width: 100%; flex: 0 0 100%; max-width: 100%; }
@media (min-width: 768px) {
    .view-list .p-card { flex-direction: row; }
    .view-list .p-card .p-top { width: 38%; flex-shrink: 0; }
    .view-list .p-card .p-media { width: 100%; height: 100%; aspect-ratio: auto; min-height: 230px; }
    .view-list .p-card .p-content { flex: 1; display: flex; flex-direction: column; }
}
.p-content { display: flex; flex-direction: column; flex: 1; }

/* ---------- locality / category tiles ---------- */
.loc-tile { position: relative; display: block; border-radius: var(--rp-radius); overflow: hidden; aspect-ratio: 4/3; background: linear-gradient(135deg, var(--rp-navy-2), var(--rp-navy)); color: #fff; }
.loc-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; opacity: .85; }
.loc-tile:hover img { transform: scale(1.06); }
.loc-tile .overlay { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(11, 31, 51, .9)); display: flex; flex-direction: column; justify-content: flex-end; padding: 18px; }
.loc-tile .overlay h3 { color: #fff; font-size: 1.12rem; margin: 0; }
.loc-tile .overlay span { color: #E2E8F0; font-size: .84rem; }
.loc-tile .pattern { position: absolute; inset: 0; opacity: .14; background-image: radial-gradient(#fff 1px, transparent 1px); background-size: 16px 16px; }
.cat-tile { display: flex; gap: 14px; align-items: center; padding: 18px; border-radius: var(--rp-radius); border: 1px solid var(--rp-line); background: #fff; color: var(--rp-ink); transition: all .18s; height: 100%; }
.cat-tile:hover { border-color: var(--rp-navy); box-shadow: var(--rp-shadow); color: var(--rp-ink); }
.cat-tile .ico { width: 52px; height: 52px; border-radius: 14px; background: var(--rp-amber-soft); color: var(--rp-amber-2); display: inline-flex; align-items: center; justify-content: center; font-size: 1.3rem; flex-shrink: 0; }
.cat-tile b { display: block; }
.cat-tile span { color: var(--rp-muted); font-size: .85rem; }

/* ---------- generic cards ---------- */
.rp-card { background: #fff; border: 1px solid var(--rp-line); border-radius: var(--rp-radius); padding: 24px; }
.rp-card-flat { background: #fff; border-radius: var(--rp-radius); padding: 24px; box-shadow: var(--rp-shadow); }
.feature-card { padding: 26px; border-radius: var(--rp-radius); background: #fff; border: 1px solid var(--rp-line); height: 100%; }
.feature-card .ico { width: 54px; height: 54px; border-radius: 16px; background: var(--rp-navy); color: var(--rp-amber); display: inline-flex; align-items: center; justify-content: center; font-size: 1.3rem; margin-bottom: 16px; }
.feature-card h3 { font-size: 1.08rem; }
.testimonial { background: #fff; border-radius: var(--rp-radius); padding: 26px; border: 1px solid var(--rp-line); height: 100%; }
.testimonial .quote { color: var(--rp-amber); font-size: 1.6rem; }
.rp-cta { background: linear-gradient(120deg, var(--rp-navy) 0%, var(--rp-navy-3) 100%); color: #fff; border-radius: 26px; padding: 48px; position: relative; overflow: hidden; }
.rp-cta::after { content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%; background: rgba(217, 148, 75, .22); }
.rp-cta h2 { color: #fff; }
.rp-cta p { color: #CBD5E1; }
@media (max-width: 575.98px) { .rp-cta { padding: 30px 22px; } }
.link-grid a { display: block; color: #374151; padding: 5px 0; font-size: .9rem; }
.link-grid a:hover { color: var(--rp-amber-2); }
.seo-content { color: #4B5563; line-height: 1.75; }
.seo-content h2, .seo-content h3 { margin-top: 1.4rem; font-size: 1.25rem; }

/* ---------- page header / breadcrumb ---------- */
.page-hero { background: linear-gradient(180deg, var(--rp-bg), #fff); padding: 34px 0 22px; border-bottom: 1px solid var(--rp-line); }
.page-hero h1 { font-size: clamp(1.55rem, 3vw, 2.3rem); margin: 6px 0 4px; }
.rp-breadcrumb { font-size: .84rem; margin: 0; }
.rp-breadcrumb .breadcrumb-item + .breadcrumb-item::before { content: "\f105"; font-family: "Font Awesome 6 Free"; font-weight: 900; font-size: 10px; color: #9CA3AF; }
.rp-breadcrumb a { color: var(--rp-muted); }
.rp-breadcrumb .active { color: var(--rp-navy); font-weight: 600; }

/* ---------- listing page ---------- */
.filter-panel { background: #fff; border: 1px solid var(--rp-line); border-radius: var(--rp-radius); padding: 20px; position: sticky; top: 92px; }
.filter-panel h6 { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--rp-muted); font-weight: 700; margin: 18px 0 10px; }
.filter-panel h6:first-child { margin-top: 0; }
.filter-panel .scroll-list { max-height: 210px; overflow: auto; padding-right: 4px; }
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.view-toggle .btn { border-radius: 10px; }
.view-toggle .btn.active { background: var(--rp-navy); color: #fff; border-color: var(--rp-navy); }
.active-filters .rp-chip { padding: .3rem .4rem .3rem .8rem; font-size: .82rem; background: var(--rp-amber-soft); border-color: #F3D9BA; }
.active-filters .rp-chip i { width: 20px; height: 20px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: #fff; font-size: 10px; }
.empty-state { text-align: center; padding: 60px 20px; background: #fff; border: 1px dashed #CBD5E1; border-radius: var(--rp-radius); }
.empty-state .ico { width: 84px; height: 84px; border-radius: 50%; background: var(--rp-amber-soft); color: var(--rp-amber-2); display: inline-flex; align-items: center; justify-content: center; font-size: 2rem; margin-bottom: 16px; }
.pagination { --bs-pagination-border-radius: 12px; --bs-pagination-color: var(--rp-navy); --bs-pagination-active-bg: var(--rp-navy); --bs-pagination-active-border-color: var(--rp-navy); gap: 6px; }
.pagination .page-link { border-radius: 10px !important; min-width: 40px; text-align: center; font-weight: 600; }

/* ---------- property detail ---------- */
.gallery-main { position: relative; border-radius: 22px; overflow: hidden; background: #E9ECF1; aspect-ratio: 16/9; cursor: zoom-in; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-main .g-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); color: var(--rp-navy); z-index: 2; }
.gallery-main .g-prev { left: 14px; } .gallery-main .g-next { right: 14px; }
.gallery-main .g-count { position: absolute; bottom: 14px; right: 14px; background: rgba(0, 0, 0, .6); color: #fff; border-radius: 999px; padding: 4px 12px; font-size: 12.5px; font-weight: 600; z-index: 2; }
.gallery-thumbs { display: flex; gap: 10px; overflow-x: auto; padding: 12px 0 4px; scrollbar-width: thin; }
.gallery-thumbs button { border: 2px solid transparent; padding: 0; border-radius: 12px; overflow: hidden; width: 96px; height: 70px; flex-shrink: 0; opacity: .72; background: #E9ECF1; }
.gallery-thumbs button.active { border-color: var(--rp-amber); opacity: 1; }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.lightbox .modal-content { background: #000; border: 0; }
.lightbox img { max-height: 82vh; object-fit: contain; width: 100%; }
.lightbox .g-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .15); color: #fff; }
.detail-price { font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 800; color: var(--rp-navy); letter-spacing: -.02em; }
.key-facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; }
.key-fact { background: var(--rp-bg); border-radius: 14px; padding: 14px; }
.key-fact i { color: var(--rp-amber-2); }
.key-fact span { display: block; font-size: 12px; color: var(--rp-muted); margin-top: 6px; }
.key-fact b { font-size: .98rem; }
.detail-section { padding: 26px 0; border-top: 1px solid var(--rp-line); }
.detail-section h2 { font-size: 1.28rem; margin-bottom: 16px; }
.spec-table { width: 100%; }
.spec-table td { padding: 10px 0; border-bottom: 1px dashed var(--rp-line); font-size: .92rem; }
.spec-table td:first-child { color: var(--rp-muted); width: 46%; }
.spec-table td:last-child { font-weight: 600; }
.amenity { display: flex; align-items: center; gap: 10px; padding: 10px 12px; background: var(--rp-bg); border-radius: 12px; font-weight: 500; font-size: .9rem; }
.amenity i { color: var(--rp-success); }
.contact-card { position: sticky; top: 96px; }
.owner-box { display: flex; align-items: center; gap: 12px; }
.owner-avatar { width: 52px; height: 52px; border-radius: 50%; background: var(--rp-amber-soft); color: var(--rp-amber-2); display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.2rem; overflow: hidden; flex-shrink: 0; }
.owner-avatar img { width: 100%; height: 100%; object-fit: cover; }
.map-embed { border-radius: 18px; overflow: hidden; border: 1px solid var(--rp-line); }
.map-embed iframe { width: 100%; height: 320px; border: 0; display: block; }
.mobile-contact-bar { position: fixed; bottom: 0; left: 0; right: 0; z-index: 1040; background: #fff; border-top: 1px solid var(--rp-line); padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); box-shadow: 0 -6px 20px rgba(0, 0, 0, .06); }
@media (max-width: 991.98px) { body.has-mobile-bar { padding-bottom: 76px; } }
.slot-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }

/* ---------- auth ---------- */
.auth-wrap { min-height: calc(100vh - 80px); display: flex; align-items: stretch; background: var(--rp-bg); }
.auth-side { background: linear-gradient(160deg, var(--rp-navy), var(--rp-navy-3)); color: #fff; padding: 56px; position: relative; overflow: hidden; }
.auth-side h2 { color: #fff; }
.auth-side p, .auth-side li { color: #CBD5E1; }
.auth-side::after { content: ""; position: absolute; right: -120px; bottom: -120px; width: 380px; height: 380px; border-radius: 50%; background: rgba(217, 148, 75, .2); }
.auth-card { background: #fff; border-radius: 24px; box-shadow: var(--rp-shadow); padding: 36px; width: 100%; max-width: 480px; }
@media (max-width: 575.98px) { .auth-card { padding: 24px 18px; border-radius: 18px; } }
.segmented { display: flex; background: var(--rp-bg); border-radius: 999px; padding: 4px; }
.segmented button { flex: 1; border: 0; background: transparent; border-radius: 999px; padding: .5rem; font-weight: 700; color: var(--rp-muted); font-size: .9rem; }
.segmented button.active { background: #fff; color: var(--rp-navy); box-shadow: 0 1px 4px rgba(0, 0, 0, .08); }
.pw-toggle { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); border: 0; background: transparent; color: var(--rp-muted); }
.role-option input { display: none; }
.role-option label { display: block; border: 1px solid var(--rp-line); border-radius: 14px; padding: 12px; text-align: center; cursor: pointer; font-weight: 600; font-size: .88rem; }
.role-option label i { display: block; font-size: 1.2rem; color: var(--rp-navy); margin-bottom: 4px; }
.role-option input:checked + label { border-color: var(--rp-amber); background: var(--rp-amber-soft); }

/* ---------- dashboard ---------- */
.dash { background: var(--rp-bg); min-height: calc(100vh - 80px); }
.dash-side { background: #fff; border-radius: var(--rp-radius); padding: 18px; position: sticky; top: 96px; }
.dash-user { display: flex; gap: 12px; align-items: center; padding: 6px 6px 16px; border-bottom: 1px solid var(--rp-line); margin-bottom: 10px; }
.dash-nav a { display: flex; align-items: center; gap: 12px; padding: .65rem .85rem; border-radius: 12px; color: #374151; font-weight: 600; font-size: .92rem; }
.dash-nav a i { width: 18px; text-align: center; color: var(--rp-muted); }
.dash-nav a:hover { background: var(--rp-bg); color: var(--rp-navy); }
.dash-nav a.active { background: var(--rp-navy); color: #fff; }
.dash-nav a.active i { color: var(--rp-amber); }
.stat-card { background: #fff; border-radius: var(--rp-radius); padding: 20px; height: 100%; border: 1px solid var(--rp-line); }
.stat-card .ico { width: 46px; height: 46px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; background: var(--rp-amber-soft); color: var(--rp-amber-2); }
.stat-card b { font-size: 1.7rem; display: block; margin-top: 10px; color: var(--rp-navy); }
.stat-card.dark { background: var(--rp-navy); border-color: var(--rp-navy); }
.stat-card.dark b { color: #fff; } .stat-card.dark span { color: #CBD5E1; } .stat-card.dark .ico { background: rgba(255, 255, 255, .1); color: var(--rp-amber); }
.dash-table { width: 100%; }
.dash-table th { font-size: 11.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--rp-muted); font-weight: 700; padding: 10px 12px; border-bottom: 1px solid var(--rp-line); }
.dash-table td { padding: 14px 12px; border-bottom: 1px solid #F1F5F9; vertical-align: middle; font-size: .9rem; }
.thumb-sm { width: 72px; height: 54px; border-radius: 10px; object-fit: cover; background: #E9ECF1; flex-shrink: 0; }

/* ---------- post property wizard ---------- */
.wizard-steps { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 4px; }
.wizard-steps .ws { flex: 1; min-width: 104px; text-align: center; font-size: 12px; font-weight: 700; color: var(--rp-muted); }
.wizard-steps .ws .dot { width: 34px; height: 34px; border-radius: 50%; background: #fff; border: 2px solid var(--rp-line); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 6px; color: var(--rp-muted); }
.wizard-steps .ws.done .dot { background: var(--rp-success); border-color: var(--rp-success); color: #fff; }
.wizard-steps .ws.current .dot { background: var(--rp-navy); border-color: var(--rp-navy); color: #fff; }
.wizard-steps .ws.current { color: var(--rp-navy); }
.cat-option input { display: none; }
.cat-option label { display: block; text-align: center; border: 2px solid var(--rp-line); border-radius: 18px; padding: 22px 12px; cursor: pointer; font-weight: 700; height: 100%; }
.cat-option label i { font-size: 1.8rem; color: var(--rp-navy); display: block; margin-bottom: 8px; }
.cat-option input:checked + label { border-color: var(--rp-amber); background: var(--rp-amber-soft); }
.upload-drop { border: 2px dashed #CBD5E1; border-radius: 18px; padding: 34px; text-align: center; cursor: pointer; background: #FAFBFC; transition: all .15s; }
.upload-drop.drag { border-color: var(--rp-amber); background: var(--rp-amber-soft); }
.img-preview { position: relative; border-radius: 14px; overflow: hidden; aspect-ratio: 4/3; background: #E9ECF1; border: 2px solid transparent; }
.img-preview.primary { border-color: var(--rp-amber); }
.img-preview img { width: 100%; height: 100%; object-fit: cover; }
.img-preview .acts { position: absolute; top: 6px; right: 6px; display: flex; gap: 6px; }
.img-preview .acts button { width: 30px; height: 30px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .95); font-size: 12px; }
.img-preview .primary-tag { position: absolute; left: 6px; bottom: 6px; background: var(--rp-amber); color: #fff; font-size: 11px; font-weight: 700; border-radius: 999px; padding: 2px 8px; }

/* ---------- footer ---------- */
.rp-footer { background: #081726; color: #94A3B8; padding-top: 64px; font-size: .9rem; }
.rp-footer h5 { color: #fff; font-size: .95rem; margin-bottom: 16px; letter-spacing: 0; }
.rp-footer a { color: #CBD5E1; }
.rp-footer a:hover { color: var(--rp-amber); }
.rp-footer .f-links li { margin-bottom: 9px; }
.rp-footer .social a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255, 255, 255, .08); display: inline-flex; align-items: center; justify-content: center; margin-right: 6px; }
.rp-footer .social a:hover { background: var(--rp-amber); color: #fff; }
.rp-footer .bottom { border-top: 1px solid rgba(255, 255, 255, .08); margin-top: 44px; padding: 20px 0; font-size: .82rem; }
.rp-footer .rp-logo { color: #fff; }
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 1035; width: 56px; height: 56px; border-radius: 50%; background: var(--rp-wa); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 1.6rem; box-shadow: 0 10px 24px rgba(37, 211, 102, .4); }
.wa-float:hover { color: #fff; transform: scale(1.05); }
@media (max-width: 991.98px) { body.has-mobile-bar .wa-float { bottom: 88px; } }

/* ---------- misc ---------- */
.toast-container { z-index: 1090; }
.hscroll { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: thin; }
.hscroll > * { scroll-snap-align: start; flex: 0 0 auto; width: min(340px, 82vw); }
.faq .accordion-item { border: 1px solid var(--rp-line); border-radius: 14px !important; margin-bottom: 10px; overflow: hidden; }
.faq .accordion-button { font-weight: 700; color: var(--rp-navy); }
.faq .accordion-button:not(.collapsed) { background: var(--rp-amber-soft); color: var(--rp-navy); box-shadow: none; }
.faq .accordion-button:focus { box-shadow: none; }
.prose { color: #374151; line-height: 1.8; max-width: 860px; }
.prose h2 { font-size: 1.3rem; margin-top: 2rem; }
.prose h3 { font-size: 1.1rem; margin-top: 1.4rem; }
.error-page { min-height: 70vh; display: flex; align-items: center; text-align: center; }
.error-page .code { font-size: clamp(5rem, 16vw, 9rem); font-weight: 800; line-height: 1; background: linear-gradient(135deg, var(--rp-navy), var(--rp-amber)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.skeleton { background: linear-gradient(90deg, #EEF0F3 25%, #F6F7F9 50%, #EEF0F3 75%); background-size: 200% 100%; animation: sk 1.2s infinite; }
@keyframes sk { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
.visually-hidden-focusable:focus { position: fixed; top: 8px; left: 8px; z-index: 2000; background: #fff; padding: 8px 14px; border-radius: 8px; }

/* dashboard logout button */
.dash-nav-btn{border-radius:12px;font-size:.92rem;background:transparent;border:0}
.dash-nav-btn:hover{background:#FEF2F2}

/* ---- responsive hardening (no horizontal overflow on small screens) ---- */
.row > [class*="col"] { min-width: 0; }
.rp-footer a, .prose a, .contact-card a { overflow-wrap: anywhere; }
@media (max-width: 575.98px) {
    .row.g-5, .row.gx-5 { --bs-gutter-x: 1.5rem; }
    .row.g-5, .row.gy-5 { --bs-gutter-y: 2rem; }
}
.error-page { flex-direction: column; justify-content: center; }

/* ---- header fit on 1200–1399px laptops ---- */
.rp-header .rp-nav { flex-wrap: nowrap; }
.rp-nav .nav-link, .rp-header .btn { white-space: nowrap; }
.rp-logo > span:last-child { white-space: nowrap; }
@media (max-width: 1399.98px) {
    .rp-header .rp-logo small { display: none; }
    .rp-nav .nav-link { padding: .5rem .6rem !important; font-size: .9rem; }
    .rp-nav .nav-xxl { display: none; }
}
/* Bootstrap's .h1–.h6 utility classes would otherwise drop headings to weight 500 */
h1.h1, h1.h2, h1.h3, h1.h4, h2.h3, h2.h4, h2.h5, h2.h6, h3.h4, h3.h5, h3.h6, .rp-heading { font-weight: 800; }
h2.h5, h2.h6, h3.h5, h3.h6 { font-weight: 700; }

/* ---- wizard progress on phones: compact, only current label ---- */
@media (max-width: 575.98px) {
    .wizard-steps { gap: 2px; }
    .wizard-steps .ws { min-width: 0; font-size: 11px; }
    .wizard-steps .ws:not(.current) { font-size: 0; }
    .wizard-steps .ws .dot { width: 30px; height: 30px; font-size: 12px; }
}
/* hide alt text while a photo is loading / missing — the grey placeholder background shows instead */
.p-media img, .gallery-main img, .gallery-thumbs img, .thumb-sm, .img-preview img, .loc-tile img { color: transparent; font-size: 0; }

/* ---------- Captcha ---------- */
.rp-captcha__row { display: flex; align-items: center; gap: 10px; }
.rp-captcha__img { border: 1px solid var(--rp-line); border-radius: 10px; background: #fff; }
.rp-captcha__refresh { border: 0; background: none; color: var(--rp-navy-3); font-size: 13px; text-decoration: underline; }
.rp-captcha__input { max-width: 220px; margin-top: 8px; text-transform: uppercase; letter-spacing: .25em; }
.rp-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }

/* ---------- Network additions (Dec 2026) ---------- */
.rp-logo-mark { font-weight: 800; font-size: 1rem; letter-spacing: .02em; }
.rp-logo-img { max-height: 48px; width: auto; }
.rp-footer .rp-logo-img { background: #fff; padding: 6px 10px; border-radius: 10px; max-height: 64px; box-sizing: content-box; }
.rp-topbar__item { display: inline-flex; align-items: center; gap: 6px; }
.rp-topbar .rp-phone-img { height: 15px; width: auto; vertical-align: middle; }
.rp-phone-img { height: 20px; width: auto; vertical-align: middle; }

/* "List Property for Free" – the most visible action in the header */
.btn-list-free {
    position: relative; display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px;
    background: linear-gradient(135deg, #F59E0B 0%, #EF4444 55%, #DB2777 100%); color: #fff !important; font-weight: 700; font-size: 14px;
    box-shadow: 0 8px 22px rgba(239, 68, 68, .35); white-space: nowrap; isolation: isolate; overflow: hidden;
    transition: transform .2s ease, box-shadow .2s ease;
}
.btn-list-free b { background: #fff; color: #DC2626; border-radius: 999px; padding: 1px 8px; margin-left: 2px; font-weight: 800; }
.btn-list-free::after {
    content: ''; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.45) 50%, transparent 70%);
    transform: translateX(-100%); animation: rp-shine 3.2s ease-in-out infinite;
}
.btn-list-free:hover { transform: translateY(-1px); box-shadow: 0 12px 28px rgba(239, 68, 68, .45); }
@keyframes rp-shine { 0%, 60% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }
@media (prefers-reduced-motion: reduce) { .btn-list-free::after { animation: none; } }

/* Back to top ("bookmark" on every page) */
.rp-top { position: fixed; right: 18px; bottom: 86px; z-index: 1030; width: 44px; height: 44px; border-radius: 50%; border: 0;
    background: var(--rp-navy); color: #fff; box-shadow: var(--rp-shadow-lg); opacity: 0; pointer-events: none; transform: translateY(10px); transition: all .25s ease; }
.rp-top.show { opacity: 1; pointer-events: auto; transform: none; }
.rp-top:hover { background: var(--rp-amber-2); }
.rp-logo--light { color: #fff; }
.rp-footer-promo { padding: 28px 0; background: var(--rp-bg); }
.rp-footer-promo__img { max-width: 100%; height: auto; border-radius: var(--rp-radius-sm); box-shadow: var(--rp-shadow); }
.rp-network { border-top: 1px solid rgba(255,255,255,.08); font-size: 13px; }
.rp-network h5 { font-size: 14px; }
.rp-network__list { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.rp-network__city b { color: #fff; font-weight: 600; }
.rp-credit a { color: inherit; text-decoration: underline; text-decoration-color: rgba(255,255,255,.3); }
.rp-quick { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
@media (max-width: 1199.98px) { .rp-quick { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 575.98px) { .rp-quick { grid-template-columns: repeat(2, 1fr); gap: 10px; } }
.rp-quick__item { display: flex; align-items: center; gap: 12px; padding: 16px; border-radius: var(--rp-radius-sm); background: #fff; border: 1px solid var(--rp-line); box-shadow: var(--rp-shadow); color: var(--rp-ink); transition: transform .2s, box-shadow .2s; min-width: 0; }
.rp-quick__item:hover { transform: translateY(-2px); box-shadow: var(--rp-shadow-lg); color: var(--rp-ink); }
.rp-quick__item .ico { flex: 0 0 42px; height: 42px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; background: var(--rp-amber-soft); color: var(--rp-amber-2); font-size: 18px; }
.rp-quick__item b { display: block; font-size: 14px; line-height: 1.2; }
.rp-quick__item small { color: var(--rp-muted); font-size: 12px; }
.rp-quick__item--hot { background: linear-gradient(135deg, #F59E0B, #EF4444 60%, #DB2777); border: 0; color: #fff; }
.rp-quick__item--hot small, .rp-quick__item--hot:hover { color: #fff; }
.rp-quick__item--hot .ico { background: rgba(255,255,255,.2); color: #fff; }
.rp-verified { display: inline-flex; align-items: center; gap: 5px; background: #ECFDF5; color: #047857; border: 1px solid #A7F3D0; border-radius: 999px; padding: 2px 10px; font-size: 12px; font-weight: 700; letter-spacing: 0; text-transform: none; }
.rp-builder-slides .rp-slide { position: relative; display: block; aspect-ratio: 21 / 8; background: #0f2740; }
@media (max-width: 767.98px) { .rp-builder-slides .rp-slide { aspect-ratio: 4 / 3; } }
.rp-slide img { width: 100%; height: 100%; object-fit: cover; }
.rp-slide__cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 28px 24px; color: #fff; background: linear-gradient(transparent, rgba(0,0,0,.75)); display: flex; flex-direction: column; align-items: flex-start; }
.rp-slide__cap b { font-size: 1.4rem; }
.rp-slide__cap small { opacity: .85; }
.rp-tabs .nav-link { border-radius: 999px; color: var(--rp-navy); font-weight: 600; }
.rp-tabs .nav-link.active { background: var(--rp-navy); }
.rp-reel { position: relative; padding-top: 177%; border-radius: var(--rp-radius-sm); overflow: hidden; background: #fff; box-shadow: var(--rp-shadow); }
.rp-reel iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Property card: overlay anchor (root-cause fix for badge/pill overlapping the footer) */
.p-card .p-top { position: relative; flex-shrink: 0; }
.p-card .p-foot { flex-wrap: wrap; }
.p-card .p-foot .who { min-width: 0; flex: 1 1 auto; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.p-card .p-foot .btn { flex-shrink: 0; }
.rp-badge.verified { background: #ECFDF5; color: #047857; }
.calc-out { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.calc-out--5 { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 767.98px) { .calc-out, .calc-out--5 { grid-template-columns: 1fr 1fr; } }
.calc-out > div { background: var(--rp-bg); border-radius: var(--rp-radius-sm); padding: 12px 14px; }
.calc-out span { display: block; font-size: 12px; color: var(--rp-muted); }
.calc-out b { font-size: 1.1rem; color: var(--rp-navy); }
.pkg-card { position: relative; height: 100%; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--rp-line); border-radius: var(--rp-radius); padding: 24px; box-shadow: var(--rp-shadow); }
.pkg-card--popular { border: 2px solid var(--rp-amber); box-shadow: var(--rp-shadow-lg); }
.pkg-ribbon { position: absolute; top: -12px; left: 24px; background: var(--rp-amber); color: #fff; font-size: 12px; font-weight: 700; border-radius: 999px; padding: 3px 12px; }
.pkg-name { font-weight: 800; color: var(--rp-navy); font-size: 1.1rem; }
.pkg-price { font-size: 2rem; font-weight: 800; color: var(--rp-navy); margin-top: 6px; }
.pkg-price small { font-size: .8rem; color: var(--rp-muted); font-weight: 600; }
.pkg-dur { color: var(--rp-muted); font-size: 13px; margin-bottom: 14px; }
.pkg-list { list-style: none; padding: 0; margin: 0 0 20px; flex: 1; }
.pkg-list li { padding: 6px 0 6px 24px; position: relative; font-size: 14px; border-bottom: 1px dashed var(--rp-line); }
.pkg-list li::before { content: '\f00c'; font-family: 'Font Awesome 6 Free'; font-weight: 900; position: absolute; left: 0; color: var(--rp-success); }
.rp-network-banner { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; padding: 22px 26px; border-radius: var(--rp-radius); background: linear-gradient(135deg, var(--rp-navy), var(--rp-navy-3)); color: #E2E8F0; }
.rp-network-banner h2 { color: #fff; }
.rp-network-banner > div:first-child { font-size: 2rem; color: var(--rp-amber); }
.rp-adv-hero { background: linear-gradient(135deg, #0B1F33 0%, #1E4469 60%, #C27E35 140%); color: #fff; }
.rp-adv-hero .breadcrumb a, .rp-adv-hero .breadcrumb-item { color: #CBD5E1; }
.rp-adv-stat { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15); border-radius: var(--rp-radius-sm); padding: 18px 10px; }
.rp-adv-stat b { display: block; font-size: 1.5rem; color: #fff; }
.rp-adv-stat span { font-size: 12.5px; color: #CBD5E1; }
.upi-qr { max-width: 260px; border: 1px solid var(--rp-line); border-radius: var(--rp-radius-sm); padding: 10px; background: #fff; }
@media (max-width: 1499.98px) { .rp-nav .nav-xxl { display: none; } .rp-nav .nav-link { padding-left: .55rem; padding-right: .55rem; } }

/* ---------- home hero search (tabbed) ---------- */
.rp-hsearch { background: #fff; border-radius: 20px; box-shadow: var(--rp-shadow-lg); border: 1px solid var(--rp-line); max-width: 1020px; margin: 0 auto; text-align: left; overflow: hidden; }
.rp-hsearch__tabs { display: flex; align-items: center; gap: 4px; padding: 6px 18px 0; border-bottom: 1px solid var(--rp-line); overflow-x: auto; scrollbar-width: none; }
.rp-hsearch__tabs button { border: 0; background: none; padding: 14px 14px 12px; font-weight: 600; color: var(--rp-muted); border-bottom: 3px solid transparent; white-space: nowrap; }
.rp-hsearch__tabs button:hover { color: var(--rp-navy); }
.rp-hsearch__tabs button.active { color: var(--rp-navy); border-bottom-color: var(--rp-amber); }
.rp-hsearch__free { margin-left: auto; white-space: nowrap; font-weight: 700; font-size: .9rem; color: #fff !important; background: linear-gradient(90deg, #F97316, #E11D48); padding: 7px 14px; border-radius: 999px; box-shadow: 0 6px 16px rgba(234, 88, 12, .3); }
.rp-hsearch__free span { background: #fff; color: #E11D48; font-size: .7rem; padding: 1px 6px; border-radius: 6px; margin-left: 4px; }
.rp-hsearch__row { display: flex; gap: 10px; padding: 16px 18px; align-items: stretch; }
.rp-hsearch__loc, .rp-hsearch__kw { display: flex; align-items: center; gap: 8px; border: 1px solid var(--rp-line); border-radius: 12px; padding: 0 12px; background: #fff; }
.rp-hsearch__loc { background: var(--rp-bg); flex: 0 0 200px; }
.rp-hsearch__loc i, .rp-hsearch__kw i { color: var(--rp-muted); }
.rp-hsearch__loc select { border: 0; background: transparent; font-weight: 600; color: var(--rp-ink); width: 100%; padding: 12px 0; outline: none; }
.rp-hsearch__kw { flex: 1 1 auto; }
.rp-hsearch__kw input { border: 0; outline: none; width: 100%; padding: 12px 0; background: transparent; }
.rp-hsearch__btn { border-radius: 12px !important; padding: 0 28px; }
.rp-hsearch__popular { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 12px 18px 16px; background: var(--rp-bg); border-top: 1px solid var(--rp-line); font-size: .85rem; }
.rp-hsearch__popular > span { font-weight: 600; color: var(--rp-ink); margin-right: 4px; }
.rp-hsearch__popular a { border: 1px solid var(--rp-line); background: #fff; border-radius: 999px; padding: 5px 12px; color: var(--rp-navy); font-weight: 600; }
.rp-hsearch__popular a i { color: var(--rp-muted); font-size: .75rem; margin-right: 3px; }
.rp-hsearch__popular a:hover { border-color: var(--rp-navy); }
@media (max-width: 767.98px) {
    .rp-hsearch__row { flex-direction: column; }
    .rp-hsearch__loc { flex: 0 0 auto; }
    .rp-hsearch__btn { padding: 12px; }
    .rp-hsearch__free { display: none; }
}

/* ---------- compact home hero ---------- */
.rp-hero--compact { text-align: center; }
.rp-hero--compact .container { padding-top: 44px; padding-bottom: 40px; }
.rp-hero--compact .eyebrow { font-weight: 800; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--rp-amber); margin-bottom: 10px; }
.rp-hero--compact h1 { font-size: clamp(1.8rem, 3.6vw, 2.9rem); margin-bottom: 10px; }
.rp-hero--compact .lead { margin: 0 auto 26px; font-size: 1.05rem; max-width: 760px; }

/* ---------- home: facts card beside builder slideshow ---------- */
.rp-facts { height: 100%; display: flex; flex-direction: column; background: #fff; color: var(--rp-ink); border-radius: var(--rp-radius); padding: 26px; box-shadow: var(--rp-shadow-lg); }
.rp-facts__title { font-weight: 800; font-size: 1.2rem; color: var(--rp-navy); line-height: 1.3; margin-bottom: 16px; }
.rp-facts__title span { display: block; color: var(--rp-amber-2); font-size: 1.05rem; word-break: break-word; }
.rp-facts ul { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 14px; }
.rp-facts li { display: flex; gap: 12px; align-items: flex-start; }
.rp-facts li i { flex: 0 0 40px; height: 40px; border-radius: 12px; background: var(--rp-amber-soft); color: var(--rp-amber-2); display: inline-flex; align-items: center; justify-content: center; }
.rp-builder-slides .rp-slide { height: 100%; min-height: 300px; }
.h2-xl { font-size: clamp(1.8rem, 3.2vw, 2.6rem) !important; }
.btn-glow { box-shadow: 0 8px 20px rgba(217, 148, 75, .35); }

/* compact quick actions */
.rp-quick-wrap { padding: 22px 0; }
.rp-quick__item { padding: 12px 14px; }

/* highlighted header links: Advertise with Us + Packages */
.rp-topbar .rp-topbar__cta { background: var(--rp-amber); color: #fff !important; padding: 3px 12px; border-radius: 999px; font-weight: 700; }
.rp-topbar .rp-topbar__cta:hover { background: var(--rp-amber-2); }
.rp-nav .nav-link.nav-pill-hl { border: 1.5px solid var(--rp-amber); color: var(--rp-amber-2); border-radius: 999px; font-weight: 700; padding-left: 14px; padding-right: 14px; }
.rp-nav .nav-link.nav-pill-hl:hover, .rp-nav .nav-link.nav-pill-hl.active { background: var(--rp-amber); color: #fff; }

/* ---------- Advertise with Us (v2) ---------- */
.rp-adv2-hero { background: radial-gradient(900px 400px at 85% 10%, var(--rp-amber-soft), transparent 70%), linear-gradient(180deg, var(--rp-bg), #fff); border-bottom: 1px solid var(--rp-line); }
.rp-adv2-hero h1 { font-size: clamp(1.9rem, 3.8vw, 3rem); line-height: 1.12; }
.rp-adv2-hero h1 span { color: var(--rp-amber-2); }
.rp-adv2-hero .lead { color: #4B5563; }
.rp-adv2-badge { display: inline-flex; gap: 8px; align-items: center; background: #fff; border: 1px solid var(--rp-line); border-radius: 999px; padding: 6px 14px; font-weight: 700; font-size: .85rem; color: var(--rp-navy); }
.rp-adv2-badge i { color: var(--rp-amber); }
.rp-adv2-ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.rp-adv2-ticks i { color: var(--rp-success); margin-right: 8px; }
.rp-adv2-call { display: flex; align-items: center; gap: 8px; color: var(--rp-muted); font-weight: 600; }
.rp-adv2-form { background: #fff; border-radius: 22px; padding: 26px; box-shadow: var(--rp-shadow-lg); border-top: 5px solid var(--rp-amber); }
.rp-adv2-stats { margin-top: -1px; padding: 26px 0; background: var(--rp-navy); }
.rp-adv2-stat { color: #fff; padding: 8px; }
.rp-adv2-stat i { color: var(--rp-amber); font-size: 1.3rem; display: block; margin-bottom: 6px; }
.rp-adv2-stat b { display: block; font-size: 1.6rem; }
.rp-adv2-stat span { color: #CBD5E1; font-size: .85rem; }
.rp-adv2-opt { position: relative; background: #fff; border: 1px solid var(--rp-line); border-radius: var(--rp-radius); padding: 26px; transition: transform .2s, box-shadow .2s, border-color .2s; }
.rp-adv2-opt:hover { transform: translateY(-4px); box-shadow: var(--rp-shadow-lg); border-color: var(--rp-amber); }
.rp-adv2-opt .ico { width: 56px; height: 56px; border-radius: 16px; display: inline-flex; align-items: center; justify-content: center; font-size: 1.4rem; color: #fff; background: linear-gradient(135deg, var(--rp-navy), var(--rp-navy-3)); margin-bottom: 16px; }
.rp-adv2-opt h3 { font-size: 1.1rem; }
.rp-adv2-tag { position: absolute; top: 16px; right: 16px; background: var(--rp-amber-soft); color: var(--rp-amber-2); font-size: 11px; font-weight: 800; padding: 4px 10px; border-radius: 999px; }
.rp-adv2-step { background: #fff; border-radius: var(--rp-radius); padding: 26px; height: 100%; border: 1px solid var(--rp-line); }
.rp-adv2-step span { width: 44px; height: 44px; border-radius: 50%; background: var(--rp-amber); color: #fff; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 12px; }
.rp-adv2-step h3 { font-size: 1.05rem; }
.rp-adv2-network { background: #fff; border: 1px dashed var(--rp-line); border-radius: var(--rp-radius); padding: 22px; }
.rp-geo-bar { background: var(--rp-amber-soft); color: var(--rp-ink); border-bottom: 1px solid var(--rp-line); }
.rp-geo-bar a { color: var(--rp-navy); }

/* footer: legal links on their own row, copyright line alone below */
.rp-footer-legal { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 26px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .08); font-weight: 600; font-size: .88rem; }
.rp-footer .bottom { margin-top: 18px; text-align: center; }
.rp-footer .bottom .rp-credit { display: block; }
.rp-network__city { white-space: normal; }

/* domain logo in the top bar (same size as footer, white background); the header shows it again once scrolled */
.rp-topbar .rp-topbar__logo { background: #fff; border-radius: 10px; padding: 6px 10px; line-height: 0; }
.rp-topbar .rp-topbar__logo .rp-logo-img { max-height: 64px; height: 64px; width: auto; }
.rp-topbar .rp-topbar__logo:not(:has(img)) { line-height: 1.2; color: var(--rp-navy); font-size: 1rem; }
@media (min-width: 768px) {
    .rp-header .rp-header__logo { max-width: 0; opacity: 0; overflow: hidden; transition: max-width .25s, opacity .25s; }
    .rp-header.scrolled .rp-header__logo { max-width: 260px; opacity: 1; }
}

/* top bar: bigger phone, hours and social icons */
.rp-topbar .rp-topbar__phone { font-size: 16px; }
.rp-topbar .rp-topbar__phone .rp-phone-img { height: 20px; }
.rp-topbar .rp-topbar__phone i { font-size: 16px; color: var(--rp-amber); }
.rp-topbar .rp-topbar__hours { font-size: 15px; font-weight: 500; }
.rp-topbar .rp-topbar__hours i { color: var(--rp-amber); }
.rp-topbar__social { display: inline-flex; gap: 8px; }
.rp-topbar__social a { width: 36px; height: 36px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 17px; background: rgba(255, 255, 255, .12); color: #fff !important; transition: transform .15s, background .15s; }
.rp-topbar__social a:hover { transform: translateY(-2px); }
.rp-topbar__social a.is-facebook:hover { background: #1877F2; }
.rp-topbar__social a.is-instagram:hover { background: radial-gradient(circle at 30% 110%, #FDCB52, #FD5949 45%, #D6249F 65%, #285AEB); }
.rp-topbar__social a.is-youtube:hover { background: #FF0000; }
.rp-topbar__social a.is-linkedin:hover { background: #0A66C2; }
.rp-topbar__social a.is-x-twitter:hover { background: #000; }
.rp-topbar .rp-topbar__cta { font-size: 14px; padding: 6px 14px; }
.rp-topbar__social a.is-pinterest:hover { background: #E60023; }
.rp-topbar > .container > div:last-child > a:not(.rp-topbar__cta) { font-size: 14px; font-weight: 500; }

/* Locality photos (uploaded, or automatic from Google Maps) */
.loc-credit { position: absolute; top: 6px; right: 8px; font-size: .62rem; line-height: 1.3; color: #fff; background: rgba(0,0,0,.45); padding: 1px 6px; border-radius: 4px; z-index: 2; max-width: 80%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.loc-card-img { position: relative; display: block; margin: -24px -24px 16px; aspect-ratio: 16/9; overflow: hidden; border-radius: var(--rp-radius) var(--rp-radius) 0 0; background: linear-gradient(135deg, var(--rp-navy-2), var(--rp-navy)); }
.loc-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.loc-card-img:hover img { transform: scale(1.05); }
.rp-network-banner__text { flex: 1 1 320px; min-width: 0; }
.rp-login-btn { line-height: 1.2; }
.rp-login-btn i { font-size: .95em; line-height: 1; display: inline-block; vertical-align: middle; }
