/*
 * Right Move – PropFusion listings.
 * Follows rightmoveuae.com: Playfair Display headings, Rubik 300 body, gold #BB9556
 * pill CTAs, #D8E0EE action buttons (10px radius), square gold tags, soft 35px shadows.
 * Card motion borrowed from Elite Horizon (lift, gold bar, image zoom).
 */
.rmpf {
    --rm-navy: #304548; /* site's dark slate (top bar + logo); variable name kept */
    --rm-gold: #BB9556;
    --rm-gold-dark: #A07D3F;
    --rm-text: #444444;
    --rm-heading: #3D3D3D;
    --rm-title: #464646;
    --rm-muted: #858585;
    --rm-line: #EAEAEA;
    --rm-soft: #F4F7F6;      /* faint slate-green tint */
    --rm-green-soft: #E6EDEC; /* light slate-green for chips, buttons and fact pills */
    --rm-action: #E6EDEC;
    --rm-action-text: #304548;
    --rm-wa: #25D366;
    --rm-shadow: 0 3px 35px rgba(0, 0, 0, .14);
    --rm-shadow-hover: 0 24px 60px -20px rgba(48, 69, 72, .38);
    --rm-serif: "Playfair Display", Georgia, serif;
    --rm-sans: "Rubik", system-ui, -apple-system, "Segoe UI", sans-serif;

    font-family: var(--rm-sans);
    font-weight: 300;
    color: var(--rm-text);
    line-height: 1.5;
    font-size: 16px;
}
.rmpf *, .rmpf *::before, .rmpf *::after { box-sizing: border-box; }
.rmpf a { color: inherit; text-decoration: none; box-shadow: none; }
.rmpf img { max-width: 100%; display: block; }
.rmpf h1, .rmpf h2, .rmpf h3 { font-family: var(--rm-serif); color: var(--rm-heading); font-weight: 700; margin: 0; line-height: 1.2; letter-spacing: 0; text-transform: none; }
.rmpf p { margin: 0; }
.rmpf button { font-family: inherit; cursor: pointer; }
.rmpf [hidden] { display: none !important; }
.rmpf-ic { width: 17px; height: 17px; flex: none; }
.rmpf-wrap, .rmpf-detail { max-width: 1200px; margin: 0 auto; padding-left: 16px; padding-right: 16px; }

/* ---------- Hero (same treatment as the Projects page banner) ---------- */
.rmpf-hero {
    position: relative;
    /* Same size as the site's other page banners (Projects, About, Developers…):
       full screen height on desktop/tablet, 450px on phones. */
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 16px 180px; /* bottom room for the overlapping search box; puts the title ~42% down, like the other pages */
    background: var(--rm-navy);
    color: #fff;
    overflow: hidden;
}
.rmpf-hero__bg { position: absolute; inset: 0; background: var(--rmpf-hero) var(--rmpf-hero-pos, center) / cover no-repeat; }
.rmpf-hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(0,0,0,.38) 0%, rgba(0,0,0,.42) 55%, rgba(29,38,40,.78) 100%); }
.rmpf-hero__inner { position: relative; z-index: 2; max-width: 1140px; }
.rmpf-hero h1 { color: #fff; font-size: 110px; line-height: 1.05; margin: 14px 0 22px; }
.rmpf-hero p { color: #fff; font-size: 16px; max-width: 780px; margin: 0 auto; }
.rmpf-crumbs { display: flex; justify-content: center; gap: 8px; font-size: 13px; font-weight: 400; color: rgba(255,255,255,.85); flex-wrap: wrap; text-transform: uppercase; letter-spacing: .12em; }
.rmpf-crumbs a:hover { color: var(--rm-gold); }
.rmpf-crumbs--dark { justify-content: flex-start; color: var(--rm-muted); text-transform: none; letter-spacing: 0; margin: 28px 0 18px; }
.rmpf-crumbs--dark span:last-child { color: var(--rm-heading); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 60ch; }

/* ---------- Search panel (overlaps the hero, like TCR / Elite Horizon) ---------- */
.rmpf-search {
    position: relative;
    z-index: 2;
    margin-top: -96px;
    background: #fff;
    border-radius: 10px;
    padding: 22px;
    box-shadow: var(--rm-shadow);
    border-top: 3px solid var(--rm-gold);
}
.rmpf-search__row { display: grid; grid-template-columns: 1.4fr 1.25fr repeat(3, 1fr) auto; grid-template-areas: "q c t mn mx b"; gap: 12px; align-items: end; }
.rmpf-search__row > :nth-child(1) { grid-area: q; }
.rmpf-search__row > :nth-child(2) { grid-area: c; }
.rmpf-search__row > :nth-child(3) { grid-area: t; }
.rmpf-search__row > :nth-child(4) { grid-area: mn; }
.rmpf-search__row > :nth-child(5) { grid-area: mx; }
.rmpf-search__row > :nth-child(6) { grid-area: b; }
.rmpf-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; margin: 0; }
.rmpf-field > span, .rmpf-pills-group legend { font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: .14em; color: var(--rm-navy); }
.rmpf-field input, .rmpf-field select, .rmpf-enquiry input, .rmpf-enquiry textarea, .rmpf-sort select {
    width: 100%;
    height: 48px;
    border: 1px solid var(--rm-line);
    border-radius: 10px;
    background-color: var(--rm-soft);
    padding: 0 14px;
    font: inherit;
    font-weight: 400;
    font-size: 15px;
    color: var(--rm-heading);
    margin: 0;
    box-shadow: none;
    outline: none;
}
.rmpf-field select, .rmpf-sort select { appearance: none; -webkit-appearance: none; padding-right: 34px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23BB9556' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.rmpf-field input:focus, .rmpf-field select:focus, .rmpf-enquiry input:focus, .rmpf-enquiry textarea:focus { border-color: var(--rm-gold); background-color: #fff; }
.rmpf-search__buttons { display: flex; gap: 8px; }

.rmpf-advanced { border-top: 1px solid var(--rm-line); margin-top: 20px; padding-top: 20px; display: flex; flex-wrap: wrap; gap: 20px 36px; align-items: flex-start; }
.rmpf-pills-group { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; min-width: 0; }
.rmpf-pills-group legend { margin-bottom: 8px; padding: 0; }
.rmpf-choice { margin: 0; position: relative; }
.rmpf-choice input { position: absolute; opacity: 0; pointer-events: none; }
.rmpf-choice span { display: inline-block; min-width: 42px; text-align: center; padding: 8px 12px; border-radius: 10px; background: var(--rm-soft); border: 1px solid var(--rm-line); font-size: 14px; font-weight: 400; color: var(--rm-heading); cursor: pointer; transition: all .2s; }
.rmpf-choice span:hover { border-color: var(--rm-gold); }
.rmpf-choice input:checked + span { background: var(--rm-navy); border-color: var(--rm-navy); color: #fff; }
.rmpf-choice input:focus-visible + span { outline: 2px solid var(--rm-gold); outline-offset: 2px; }
.rmpf-area { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; flex: 1 1 320px; max-width: 420px; }
.rmpf-advanced__foot { flex: 1 0 100%; display: flex; justify-content: flex-end; align-items: center; gap: 20px; }

/* The Phlox theme styles every input/select (content-box sizing, 16px 48px padding,
   its own arrow); these more specific rules keep the plugin's fields intact. */
.rmpf .rmpf-field input, .rmpf .rmpf-field select, .rmpf .rmpf-sort select,
.rmpf .rmpf-enquiry input, .rmpf .rmpf-enquiry textarea {
    box-sizing: border-box !important;
    max-width: 100%;
    min-width: 0;
    margin: 0;
    line-height: 1.2;
}
.rmpf .rmpf-field input, .rmpf .rmpf-enquiry input { padding: 0 14px; }
.rmpf .rmpf-field select, .rmpf .rmpf-sort select {
    padding: 0 34px 0 14px;
    border-color: var(--rm-line);
    border-radius: 10px;
    background-color: var(--rm-soft);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23BB9556' stroke-width='1.6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 12px 8px;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.rmpf .rmpf-sort select { background-color: #fff; }
.rmpf .rmpf-enquiry textarea { padding: 12px 14px; line-height: 1.5; }

/* ---------- Buttons (site "GET A QUOTE" + action buttons) ---------- */
.rmpf-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    height: 48px; padding: 0 30px;
    border-radius: 999px; border: 0;
    background: var(--rm-navy); color: #fff !important;
    font-family: var(--rm-sans); font-weight: 500; font-size: 12px; letter-spacing: .06em; text-transform: uppercase;
    transition: background .3s, color .3s, transform .3s, box-shadow .3s;
    white-space: nowrap;
}
.rmpf-btn:hover { transform: translateY(-2px); }
.rmpf .rmpf-btn { margin: 0; line-height: 1; } /* Phlox adds margin-bottom: 12px to buttons */
.rmpf-btn--gold { background: var(--rm-gold); box-shadow: 5px 5px 35px rgba(48, 69, 70, .42); }
.rmpf-btn--gold:hover { background: var(--rm-navy); }
.rmpf-btn--light { background: var(--rm-navy); color: #fff !important; padding: 0 22px; }
.rmpf-btn--light:hover, .rmpf-btn--light[aria-expanded="true"] { background: #22343a; color: #fff !important; }
.rmpf-btn--outline { background: transparent; border: 1px solid rgba(255,255,255,.55); }
.rmpf-btn--outline:hover { background: #fff; color: var(--rm-navy) !important; }
.rmpf-btn--block { width: 100%; }
.rmpf-badge-count { font-style: normal; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--rm-gold); color: #fff; font-size: 11px; display: inline-grid; place-items: center; letter-spacing: 0; }
.rmpf-link { background: none; border: 0; padding: 0; color: var(--rm-gold-dark) !important; font-weight: 500; font-size: 14px; }
.rmpf-link:hover { text-decoration: underline; }

/* ---------- Toolbar ---------- */
.rmpf-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin: 44px 0 26px; flex-wrap: wrap; }
.rmpf-chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px; }
.rmpf-chips::-webkit-scrollbar { display: none; }
.rmpf-chip { white-space: nowrap; padding: 10px 20px; border-radius: 999px; background: #fff; border: 1px solid var(--rm-line); color: var(--rm-heading) !important; font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: .06em; transition: all .2s; }
.rmpf-chip:hover { border-color: var(--rm-gold); color: var(--rm-gold-dark) !important; }
.rmpf-chip.is-active { background: var(--rm-navy); border-color: var(--rm-navy); color: #fff !important; }
.rmpf-sort label { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--rm-muted); margin: 0; }
.rmpf-sort select { width: auto; height: 42px; background-color: #fff; }

/* ---------- Grid + card (layout of the site's Projects cards) ---------- */
.rmpf-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; }
.rmpf-card {
    position: relative;
    background: #fff;
    box-shadow: var(--rm-shadow);
    display: flex;
    flex-direction: column;
    transition: transform .5s, box-shadow .5s;
    cursor: pointer;
    overflow: hidden;
}
.rmpf-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; z-index: 2; background: linear-gradient(90deg, #D9BC85, var(--rm-gold-dark)); transform: scaleX(0); transform-origin: left; transition: transform .5s; }
.rmpf-card:hover { transform: translateY(-6px); box-shadow: var(--rm-shadow-hover); }
.rmpf-card:hover::before { transform: scaleX(1); }
.rmpf-card__media { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: #e4eae9; }
.rmpf-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s; }
.rmpf-card:hover .rmpf-card__media img { transform: scale(1.06); }
.rmpf-card__tags { position: absolute; top: 18px; left: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.rmpf-tag { background: var(--rm-navy); color: #fff; font-size: 11px; font-weight: 400; letter-spacing: .08em; padding: 6px 14px; line-height: 1.4; }
.rmpf-tag--glass { background: rgba(48, 69, 72,.55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.rmpf-card__count { position: absolute; right: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 999px; background: rgba(0,0,0,.45); color: #fff; font-size: 12px; font-weight: 400; }
.rmpf-card__count .rmpf-ic { width: 14px; height: 14px; }
.rmpf-card__body { padding: 20px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.rmpf-card__price { display: flex; align-items: baseline; gap: 6px; margin-bottom: 8px; }
.rmpf-card__price strong { font-family: var(--rm-sans); font-size: 22px; font-weight: 600; color: var(--rm-navy); line-height: 1.1; }
.rmpf-card__price span { font-size: 15px; font-weight: 500; color: var(--rm-gold-dark); }
.rmpf-card__price .rmpf-poa { font-size: 19px; }
.rmpf-per { font-style: normal; font-size: 13px; font-weight: 400; color: var(--rm-muted); }
.rmpf-card__title { font-family: var(--rm-sans) !important; font-size: 19px !important; font-weight: 600 !important; line-height: 1.3 !important; color: var(--rm-title) !important; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.6em; }
.rmpf-card__title a:hover { color: var(--rm-gold-dark); }
.rmpf-card__loc { margin-top: 8px !important; font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: .2em; color: var(--rm-gold-dark); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rmpf-card__specs { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 16px 0 18px; padding-top: 14px; border-top: 1px solid rgba(187,149,86,.25); }
.rmpf-card__specs ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.rmpf-card__specs li { display: inline-flex; align-items: center; gap: 6px; margin: 0; font-size: 14px; font-weight: 400; color: var(--rm-heading); }
.rmpf-card__specs .rmpf-ic { color: var(--rm-navy); }
.rmpf-card__agent { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; object-position: top; border: 2px solid var(--rm-gold); flex: none; }
.rmpf-actions { display: flex; gap: 8px; margin-top: auto; }
.rmpf-action { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 11px 8px; border-radius: 10px; background: var(--rm-action); color: var(--rm-action-text) !important; font-size: 14px; font-weight: 500; line-height: 1; white-space: nowrap; transition: background .25s, color .25s; }
.rmpf-action .rmpf-ic { width: 15px; height: 15px; }
.rmpf-action:hover { background: var(--rm-navy); color: #fff !important; }
.rmpf-action--wa:hover { background: var(--rm-wa); }

/* Consultation card */
.rmpf-consult {
    position: relative; overflow: hidden;
    padding: 40px 30px;
    background: var(--rm-navy);
    color: #fff;
    display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 16px;
    box-shadow: var(--rm-shadow);
}
.rmpf-consult::after { content: ""; position: absolute; width: 280px; height: 280px; border-radius: 50%; border: 1px solid rgba(187,149,86,.4); right: -120px; top: -120px; }
.rmpf-consult h3 { color: #fff; font-size: 30px; }
.rmpf-consult p { color: rgba(255,255,255,.85); }
.rmpf-consult .rmpf-btn { width: 100%; }
.rmpf-eyebrow { color: var(--rm-gold); font-size: 12px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; }

/* Empty + pagination */
.rmpf-empty { text-align: center; padding: 60px 20px; background: var(--rm-soft); }
.rmpf-empty h3, .rmpf-empty h1 { margin-bottom: 10px; }
.rmpf-empty p { color: var(--rm-muted); margin-bottom: 18px; }
.rmpf-empty a:not(.rmpf-btn) { color: var(--rm-gold-dark); font-weight: 500; }
.rmpf-empty--page { max-width: 1200px; margin: 40px auto; padding: 80px 20px; }
.rmpf-pagination { display: flex; justify-content: center; gap: 8px; margin: 50px 0 0; flex-wrap: wrap; }
.rmpf-pagination a, .rmpf-pagination span { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: #fff; box-shadow: 0 2px 12px rgba(0,0,0,.08); font-weight: 500; color: var(--rm-heading); transition: all .2s; }
.rmpf-pagination a:hover { color: var(--rm-gold-dark); }
.rmpf-pagination .is-active { background: var(--rm-navy); color: #fff; }
.rmpf-pagination a:hover { background: var(--rm-green-soft); }
.rmpf-buy .rmpf-wrap { padding-bottom: 80px; }

/* ---------- Detail (gallery like TCR, sticky enquiry like Elite Horizon) ---------- */
.rmpf-gallery { position: relative; display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 8px; height: 540px; }
.rmpf-gallery__item { position: relative; border: 0; padding: 0; background: #e9edf3; overflow: hidden; border-radius: 0; }
.rmpf-gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.rmpf-gallery__item:hover img { transform: scale(1.05); }
.rmpf-gallery__item.is-main { grid-row: 1 / span 2; }
.rmpf-gallery__more { position: absolute; inset: 0; background: rgba(48, 69, 72,.6); color: #fff; display: grid; place-items: center; font-weight: 500; font-size: 18px; }
.rmpf-gallery__count { position: absolute; right: 16px; bottom: 16px; background: #fff; color: var(--rm-heading); font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: .06em; padding: 9px 16px; border-radius: 999px; display: inline-flex; align-items: center; gap: 6px; pointer-events: none; box-shadow: var(--rm-shadow); }
.rmpf-gallery:has(.rmpf-gallery__item:only-child) { grid-template-columns: 1fr; }

.rmpf-detail__layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 40px; margin-top: 40px; align-items: start; }
.rmpf-detail__head h1 { font-size: clamp(30px, 3.6vw, 44px); margin: 16px 0 12px; }
.rmpf-detail__loc { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: .16em; color: var(--rm-gold-dark); }
.rmpf-detail__price { display: flex; align-items: baseline; gap: 8px; margin: 18px 0; }
.rmpf-detail__price strong { font-size: clamp(28px, 3vw, 36px); font-weight: 600; color: var(--rm-navy); }
.rmpf-detail__price span { font-size: 18px; font-weight: 500; color: var(--rm-gold-dark); }
.rmpf-keyfacts { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.rmpf-keyfacts li { display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px; border-radius: 10px; background: var(--rm-action); color: var(--rm-action-text); font-weight: 500; font-size: 15px; margin: 0; }
.rmpf-keyfacts .rmpf-ic { color: var(--rm-navy); }
.rmpf-head-badges { display: flex; flex-wrap: wrap; gap: 6px; }
.rmpf-box { margin-top: 30px; padding: 30px; background: #fff; box-shadow: var(--rm-shadow); }
.rmpf-box h2 { font-size: 26px; margin-bottom: 18px; }
.rmpf-desc { color: var(--rm-text); }
.rmpf-desc p { margin: 0 0 12px; }
.rmpf-desc.is-clamped { max-height: 230px; overflow: hidden; -webkit-mask-image: linear-gradient(#000 60%, transparent); mask-image: linear-gradient(#000 60%, transparent); }
.rmpf-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; margin: 0; }
.rmpf-facts > div { display: flex; justify-content: space-between; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--rm-line); }
.rmpf-facts dt { color: var(--rm-muted); font-weight: 300; margin: 0; }
.rmpf-facts dd { margin: 0; font-weight: 500; color: var(--rm-heading); text-align: right; }
.rmpf-facts--compact { grid-template-columns: 1fr; }
.rmpf-amenities { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.rmpf-amenities li { display: flex; align-items: center; gap: 10px; margin: 0; font-weight: 400; }
.rmpf-amenities .rmpf-ic { color: #fff; background: var(--rm-gold); border-radius: 50%; padding: 3px; width: 20px; height: 20px; }
.rmpf-muted { color: var(--rm-muted); }
.rmpf-permit { display: flex; gap: 24px; justify-content: space-between; align-items: center; }
.rmpf-permit > div { flex: 1; }
.rmpf-permit img { border: 1px solid var(--rm-line); padding: 6px; }

.rmpf-detail__side { position: sticky; top: 120px; }
/* Phlox sets overflow-x: hidden on #inner-body for full-width pages, which breaks
   position: sticky. clip still prevents sideways scroll but keeps sticky working. */
/* body.rmpf-page + !important: the theme's ".aux-full-width #inner-body" has the same
   specificity and 10Web loads it after this file, so a plain rule loses. */
@supports (overflow: clip) { body.rmpf-page #inner-body { overflow-x: clip !important; } }
/* Keep the whole pinned card reachable on shorter laptop screens (taller screens keep the full shadow). */
@media (min-width: 901px) and (max-height: 880px) {
    .rmpf-detail__side { max-height: calc(100vh - 140px); overflow-y: auto; scrollbar-width: thin; scrollbar-color: rgba(48, 69, 72,.25) transparent; padding: 0 4px 4px 0; }
    .rmpf-detail__side::-webkit-scrollbar { width: 5px; }
    .rmpf-detail__side::-webkit-scrollbar-thumb { background: rgba(48, 69, 72,.25); border-radius: 5px; }
}
.rmpf-agent-card { padding: 26px; background: #fff; box-shadow: var(--rm-shadow); border-top: 3px solid var(--rm-gold); }
.rmpf-agent-card__top { display: flex; gap: 14px; align-items: center; margin-bottom: 18px; }
.rmpf-agent-card__top img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; object-position: top; border: 2px solid var(--rm-gold); }
.rmpf-agent-card__top strong { display: block; font-family: var(--rm-serif); font-size: 21px; font-weight: 700; color: var(--rm-heading); }
.rmpf-agent-card__top span { color: var(--rm-gold-dark); font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: .16em; }
.rmpf-enquiry { margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--rm-line); display: flex; flex-direction: column; gap: 12px; }
.rmpf-enquiry h3 { font-size: 20px; margin-bottom: 2px; }
.rmpf-enquiry label { display: flex; flex-direction: column; gap: 5px; margin: 0; }
.rmpf-enquiry label > span { font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: .14em; color: var(--rm-gold-dark); }
.rmpf-enquiry input { height: 46px; }
.rmpf-enquiry textarea { height: auto; padding: 12px 14px; resize: vertical; }
.rmpf-hp { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; opacity: 0; }
.rmpf-form-msg { font-size: 14px; min-height: 1.2em; font-weight: 400; }
.rmpf-form-msg.is-ok { color: #157a2d; }
.rmpf-form-msg.is-err { color: #b42318; }

.rmpf-map { height: 360px; overflow: hidden; background: #e9edf3; z-index: 0; position: relative; margin: 14px 0; }
.rmpf-similar { margin: 70px 0; }
.rmpf-similar h2 { font-size: clamp(28px, 3.2vw, 40px); margin-bottom: 26px; }
.rmpf-mobilebar { display: none; }

/* Lightbox */
.rmpf-lightbox { position: fixed; inset: 0; z-index: 999999; background: rgba(20,28,30,.95); display: flex; align-items: center; justify-content: center; }
.rmpf-lightbox img { max-width: 92vw; max-height: 84vh; object-fit: contain; }
.rmpf-lightbox button { position: absolute; background: rgba(255,255,255,.12); color: #fff; border: 0; width: 52px; height: 52px; border-radius: 50%; font-size: 26px; line-height: 1; display: grid; place-items: center; cursor: pointer; padding: 0; }
.rmpf-lightbox button:hover { background: #BB9556; }
.rmpf-lightbox .rmpf-lb-close { top: 20px; right: 20px; }
.rmpf-lightbox .rmpf-lb-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.rmpf-lightbox .rmpf-lb-next { right: 20px; top: 50%; transform: translateY(-50%); }
.rmpf-lightbox .rmpf-lb-count { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); color: #fff; font: 400 14px "Rubik", sans-serif; }

/* ---------- Responsive ---------- */
/* Banner title sizes follow the site's Elementor breakpoints: 110px / 70px (≤1024) / 35px (≤767). */
@media (max-width: 1024px) { .rmpf-hero h1 { font-size: 70px; } }
@media (max-width: 767px) { .rmpf-hero h1 { font-size: 35px; line-height: 1.2; margin: 10px 0 14px; } .rmpf-hero { min-height: 450px; } }
@media (max-width: 1180px) {
    .rmpf-search__row { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-areas: "q q b b" "c t mn mx"; }
    .rmpf-search__buttons { justify-content: flex-end; }
    .rmpf-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
    .rmpf-detail__layout { grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; }
    .rmpf-facts { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
    .rmpf-detail__layout { grid-template-columns: 1fr; }
    .rmpf-detail__side { position: static; }
    .rmpf-gallery { height: 420px; grid-template-columns: 1fr 1fr; }
    .rmpf-gallery__item.is-main { grid-column: 1 / -1; grid-row: auto; }
    .rmpf-gallery__item:nth-child(n+4) { display: none; }
    .rmpf-gallery .rmpf-gallery__more--small { display: grid; } /* only 3 photos show here, so the count moves to the 3rd */
    .rmpf-gallery:has(.rmpf-gallery__more--small) .rmpf-gallery__count { display: none; } /* the "+N photos" tile already opens the gallery */
    .rmpf-amenities { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
    .rmpf-hero { min-height: 450px; padding: 40px 16px 130px; }
    .rmpf-hero p { font-size: 15px; }
    .rmpf-search { padding: 16px; margin-top: -90px; }
    .rmpf-search__row { grid-template-columns: 1fr 1fr; grid-template-areas: "q q" "c t" "mn mx" "b b"; }
    .rmpf-search__buttons .rmpf-btn { flex: 1; padding: 0 12px; }
    .rmpf-area { max-width: none; }
    .rmpf-grid { grid-template-columns: 1fr; }
    .rmpf-toolbar { flex-direction: column; flex-wrap: nowrap; align-items: stretch; margin-top: 32px; }
    .rmpf-toolbar > * { min-width: 0; max-width: 100%; }
    .rmpf-chips { flex-wrap: wrap; overflow: visible; }
    .rmpf-sort label { justify-content: space-between; }
    .rmpf-action { font-size: 13px; padding: 11px 6px; gap: 4px; }
    .rmpf-detail { padding-bottom: 90px; }
    .rmpf-gallery { height: 300px; margin: 0 -16px; }
    .rmpf-box { padding: 22px; }
    .rmpf-amenities { grid-template-columns: 1fr; }
    .rmpf-permit { flex-direction: column; align-items: flex-start; }
    .rmpf-mobilebar { display: flex; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 9999; gap: 8px; padding: 8px; border-radius: 999px; background: #fff; box-shadow: 0 10px 30px rgba(0,0,0,.25); }
    .rmpf-mobilebar a { flex: 1; height: 44px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; background: var(--rm-navy); color: #fff !important; font-weight: 500; font-size: 13px; text-transform: uppercase; letter-spacing: .04em; }
    .rmpf-mobilebar a.is-wa { background: var(--rm-wa); }
    .rmpf-mobilebar a:last-child { background: var(--rm-gold); }
}

/* ---------- Animations ----------
 * Hero + search run on CSS alone. Scroll reveals only hide content once rmpf.js
 * has added .rmpf-js, so a delayed/blocked script (10Web Booster) never leaves
 * anything invisible. */
@keyframes rmpf-fade-up { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes rmpf-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes rmpf-zoom-out { from { transform: scale(1.12); } to { transform: scale(1); } }
@keyframes rmpf-line { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.rmpf-hero__bg { animation: rmpf-zoom-out 9s cubic-bezier(.2,.6,.2,1) both; }
.rmpf-hero__inner > * { animation: rmpf-fade-up .9s cubic-bezier(.2,.7,.2,1) both; }
.rmpf-hero__inner > :nth-child(1) { animation-delay: .1s; }
.rmpf-hero__inner > :nth-child(2) { animation-delay: .25s; }
.rmpf-hero__inner > :nth-child(3) { animation-delay: .45s; }
.rmpf-search { animation: rmpf-fade-up .9s .6s cubic-bezier(.2,.7,.2,1) both; }
.rmpf-search::before { content: ""; position: absolute; top: -3px; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, #D9BC85, var(--rm-gold-dark)); border-radius: 10px 10px 0 0; transform-origin: left; animation: rmpf-line 1.2s 1s cubic-bezier(.2,.7,.2,1) both; }
.rmpf-advanced:not([hidden]) { animation: rmpf-fade-up .45s cubic-bezier(.2,.7,.2,1) both; }
.rmpf-gallery__item { animation: rmpf-fade .8s cubic-bezier(.2,.7,.2,1) both; }
.rmpf-gallery__item:nth-child(2) { animation-delay: .08s; }
.rmpf-gallery__item:nth-child(3) { animation-delay: .16s; }
.rmpf-gallery__item:nth-child(4) { animation-delay: .24s; }
.rmpf-gallery__item:nth-child(5) { animation-delay: .32s; }
.rmpf-lightbox { animation: rmpf-fade .25s ease both; }
.rmpf-lightbox img { animation: rmpf-fade-up .35s cubic-bezier(.2,.7,.2,1) both; }

/* Hide instantly (no fade-out), then animate in when scrolled into view. */
.rmpf-js .rmpf-reveal { opacity: 0; transform: translateY(32px); }
.rmpf-js .rmpf-reveal.is-in { opacity: 1; transform: none; transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); transition-delay: var(--rmpf-delay, 0s); }

/* Small interaction details */
.rmpf-chip, .rmpf-choice span, .rmpf-action, .rmpf-pagination a { transition: background .25s, color .25s, border-color .25s, transform .25s, box-shadow .25s; }
.rmpf-chip:hover, .rmpf-pagination a:hover { transform: translateY(-2px); }
.rmpf-action:hover .rmpf-ic { animation: rmpf-nudge .5s ease; }
@keyframes rmpf-nudge { 0%, 100% { transform: none; } 40% { transform: translateY(-2px) rotate(-8deg); } }
.rmpf-card__specs .rmpf-ic { transition: transform .4s; }
.rmpf-card:hover .rmpf-card__specs .rmpf-ic { transform: scale(1.15); }
.rmpf-card__agent { transition: transform .4s; }
.rmpf-card:hover .rmpf-card__agent { transform: scale(1.12); }

@media (prefers-reduced-motion: reduce) {
    .rmpf *, .rmpf *::before, .rmpf *::after { animation: none !important; transition: none !important; }
    .rmpf-js .rmpf-reveal { opacity: 1; transform: none; }
}

/* ---------- Instant filtering ---------- */
.rmpf-results { position: relative; transition: opacity .25s; }
.rmpf-results.is-loading { opacity: .45; pointer-events: none; }
.rmpf-results.is-loading::before { content: ""; position: absolute; top: -18px; left: 0; height: 2px; width: 40%; background: var(--rm-gold); border-radius: 2px; animation: rmpf-loading 1s ease-in-out infinite; }
@keyframes rmpf-loading { 0% { left: 0; width: 10%; } 50% { left: 30%; width: 40%; } 100% { left: 90%; width: 10%; } }
.rmpf-live .rmpf-advanced__foot .rmpf-btn { display: none; } /* filters apply as you pick them */

/* ---------- Property page (v1.4 redesign) ---------- */
.rmpf-detail-page { background: linear-gradient(180deg, #fff 0, #fff 120px, #F7F4EE 120px, #F7F4EE 100%); padding-bottom: 80px; }
.rmpf-detail-page .rmpf-detail { padding-bottom: 0; }
.rmpf-detail-page .rmpf-box { box-shadow: 0 10px 40px -18px rgba(48, 69, 72,.18); border: 1px solid rgba(48, 69, 72,.05); }
.rmpf-detail-page .rmpf-similar { margin-bottom: 0; }

/* Section label above headings */
.rmpf-kicker { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 8px; color: var(--rm-gold-dark); font-size: 11px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; }
.rmpf-kicker::before { content: ""; width: 26px; height: 1px; background: currentColor; }
.rmpf-box h2, .rmpf-similar h2 { position: relative; }

/* Gallery */
.rmpf-gallery { border-radius: 4px; overflow: hidden; box-shadow: 0 20px 50px -25px rgba(48, 69, 72,.45); }
.rmpf-gallery__count { cursor: pointer; }
.rmpf-gallery__more--small { display: none; }

/* Overview card */
.rmpf-overview { padding: 34px 36px 30px; border-top: 3px solid var(--rm-gold) !important; }
.rmpf-overview__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.rmpf-overview__title { font-size: clamp(26px, 3vw, 38px) !important; line-height: 1.2 !important; margin: 16px 0 12px !important; color: var(--rm-heading); }
.rmpf-share { display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 16px; margin: 0; border-radius: 999px; border: 1px solid var(--rm-line); background: #fff; color: var(--rm-heading); font: 500 12px var(--rm-sans); letter-spacing: .06em; text-transform: uppercase; transition: all .25s; }
.rmpf-share .rmpf-ic { width: 15px; height: 15px; color: var(--rm-gold-dark); }
.rmpf-share:hover, .rmpf-share.is-done { border-color: var(--rm-gold); background: var(--rm-gold); color: #fff; }
.rmpf-share:hover .rmpf-ic, .rmpf-share.is-done .rmpf-ic { color: #fff; }

.rmpf-overview__bottom { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.4fr); align-items: stretch; gap: 14px; margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--rm-line); }
.rmpf-price-panel { display: flex; flex-direction: column; justify-content: center; gap: 4px; padding: 18px 22px; background: var(--rm-navy); color: #fff; position: relative; overflow: hidden; }
.rmpf-price-panel::after { content: ""; position: absolute; right: -40px; top: -40px; width: 120px; height: 120px; border-radius: 50%; border: 1px solid rgba(187,149,86,.45); }
.rmpf-price-panel__label { font-size: 11px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--rm-gold); }
.rmpf-price-panel__value { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.rmpf-price-panel__value strong { font-size: clamp(26px, 2.6vw, 34px); font-weight: 600; color: #fff; line-height: 1.1; }
.rmpf-price-panel__value span { font-size: 15px; font-weight: 400; color: rgba(255,255,255,.75); }
.rmpf-price-panel__note { font-size: 13px; color: rgba(255,255,255,.65); }

.rmpf-stats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.rmpf-stats li { min-width: 0; margin: 0; display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: center; padding: 12px 14px; background: var(--rm-soft); border: 1px solid var(--rm-line); transition: border-color .25s, transform .25s; }
.rmpf-stats li .rmpf-stats__icon { grid-row: 1 / span 2; margin: 0 !important; }
.rmpf-stats li strong { align-self: end; }
.rmpf-stats li small { align-self: start; }
.rmpf-stats li:hover { border-color: var(--rm-gold); transform: translateY(-2px); }
.rmpf-stats__icon { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: rgba(187,149,86,.14); color: var(--rm-gold-dark); margin-bottom: 4px; }
.rmpf-stats__icon .rmpf-ic { width: 17px; height: 17px; }
.rmpf-stats strong { font-size: 17px; font-weight: 600; color: var(--rm-heading); line-height: 1.2; }
.rmpf-stats small { font-size: 11px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--rm-muted); }

.rmpf-highlights { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.rmpf-highlights li { margin: 0; display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: 999px; background: rgba(187,149,86,.1); color: var(--rm-heading); font-size: 13.5px; font-weight: 400; }
.rmpf-highlights .rmpf-ic { width: 15px; height: 15px; color: var(--rm-gold-dark); }

/* Specifications as icon tiles */
.rmpf-spec { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.rmpf-spec li { margin: 0; display: flex; align-items: center; gap: 12px; padding: 14px; border: 1px solid var(--rm-line); background: #fff; transition: border-color .25s, box-shadow .25s; }
.rmpf-spec li:hover { border-color: rgba(187,149,86,.6); box-shadow: 0 8px 24px -14px rgba(48, 69, 72,.3); }
.rmpf-spec__icon { flex: none; width: 38px; height: 38px; display: grid; place-items: center; background: var(--rm-navy); color: var(--rm-gold); }
.rmpf-spec__icon .rmpf-ic { width: 18px; height: 18px; }
.rmpf-spec__text { display: flex; flex-direction: column; min-width: 0; }
.rmpf-spec__text small { font-size: 11px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--rm-muted); }
.rmpf-spec__text strong { font-size: 15px; font-weight: 500; color: var(--rm-heading); overflow-wrap: anywhere; }

/* Amenities as chips */
.rmpf-amenities { display: flex !important; flex-wrap: wrap; gap: 10px !important; }
.rmpf-amenities li { padding: 10px 16px 10px 12px; border: 1px solid var(--rm-line); background: var(--rm-soft); border-radius: 999px; font-size: 14px; transition: border-color .25s, background .25s; }
.rmpf-amenities li:hover { border-color: var(--rm-gold); background: #fff; }

/* Mortgage calculator */
.rmpf-mortgage__grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 28px; align-items: stretch; }
.rmpf-mortgage__inputs { display: flex; flex-direction: column; gap: 22px; justify-content: center; }
.rmpf-mortgage__inputs label { display: flex; flex-direction: column; gap: 10px; margin: 0; }
.rmpf-mortgage__inputs label > span { display: flex; justify-content: space-between; font-size: 12px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--rm-muted); }
.rmpf-mortgage__inputs b { color: var(--rm-heading); font-weight: 600; letter-spacing: 0; font-size: 15px; text-transform: none; }
.rmpf-mortgage input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 999px; margin: 0; padding: 0; border: 0; background: linear-gradient(90deg, var(--rm-gold) var(--fill, 50%), var(--rm-line) var(--fill, 50%)); outline: none; box-shadow: none; }
.rmpf-mortgage input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 3px solid var(--rm-gold); box-shadow: 0 2px 8px rgba(0,0,0,.2); cursor: pointer; }
.rmpf-mortgage input[type=range]::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 3px solid var(--rm-gold); cursor: pointer; }
.rmpf-mortgage__result { padding: 24px; background: var(--rm-navy); color: #fff; display: flex; flex-direction: column; gap: 6px; }
.rmpf-mortgage__result small { font-size: 11px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--rm-gold); }
.rmpf-mortgage__result > strong { font-size: clamp(24px, 2.4vw, 30px); font-weight: 600; color: #fff; }
.rmpf-mortgage__per { font-size: 13px; color: rgba(255,255,255,.65); margin-top: -4px; }
.rmpf-mortgage__result dl { margin: 10px 0 0; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.15); display: grid; gap: 6px; }
.rmpf-mortgage__result dl div { display: flex; justify-content: space-between; gap: 12px; }
.rmpf-mortgage__result dt { color: rgba(255,255,255,.65); font-weight: 300; margin: 0; }
.rmpf-mortgage__result dd { margin: 0; color: #fff; font-weight: 500; }
.rmpf-mortgage__result p { margin-top: 10px !important; font-size: 12px; color: rgba(255,255,255,.55); }

.rmpf-loc-line { display: flex; align-items: center; gap: 6px; }
.rmpf-loc-line .rmpf-ic { color: var(--rm-gold-dark); }

/* Agent card with navy header */
.rmpf-agent-card { padding: 0 !important; border-top: 0 !important; overflow: hidden; box-shadow: 0 18px 50px -20px rgba(48, 69, 72,.35) !important; }
.rmpf-agent-card__head { display: flex; gap: 14px; align-items: center; padding: 24px 26px; background: var(--rm-navy); border-bottom: 3px solid var(--rm-gold); position: relative; overflow: hidden; }
.rmpf-agent-card__head::after { content: ""; position: absolute; right: -50px; top: -50px; width: 140px; height: 140px; border-radius: 50%; border: 1px solid rgba(187,149,86,.35); }
.rmpf-agent-card__head img { width: 66px; height: 66px; border-radius: 50%; object-fit: cover; object-position: top; border: 2px solid var(--rm-gold); flex: none; }
.rmpf-agent-card__head span { display: block; font-size: 10px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: rgba(255,255,255,.6); }
.rmpf-agent-card__head strong { display: block; font-family: var(--rm-serif); font-size: 21px; font-weight: 700; color: #fff; line-height: 1.25; }
.rmpf-agent-card__head em { display: block; font-style: normal; font-size: 11px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--rm-gold); }
.rmpf-agent-card__body { padding: 22px 26px 26px; }

@media (max-width: 1180px) {
    .rmpf-spec { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .rmpf-overview__bottom { grid-template-columns: 1fr; }
    .rmpf-mortgage__grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
    .rmpf-detail-page { background: #F7F4EE; padding-bottom: 100px; }
    .rmpf-overview { padding: 24px 20px; }
    .rmpf-spec { grid-template-columns: 1fr; }
    .rmpf-share span { display: none; }
    .rmpf-stats li { padding: 10px; column-gap: 9px; }
    .rmpf-stats__icon { width: 30px; height: 30px; }
    .rmpf-stats strong { font-size: 15px; overflow-wrap: anywhere; }
    .rmpf-stats small { font-size: 10px; letter-spacing: .08em; }
    .rmpf-share { width: 36px; padding: 0; justify-content: center; }
}

/* ---------- Off-plan projects (v1.7) ---------- */
.rmpf-projects .rmpf-wrap { padding-top: 70px; }
.rmpf-section-head { text-align: center; max-width: 760px; margin: 0 auto 34px; }
.rmpf-section-head h2 { font-size: clamp(32px, 4vw, 48px); margin: 4px 0 12px; }
.rmpf-section-head p { color: var(--rm-muted); }
.rmpf-section-head .rmpf-kicker::after { content: ""; width: 26px; height: 1px; background: currentColor; }
.rmpf-search--inline { margin-top: 0; animation: none; }
.rmpf-search__row--projects { grid-template-columns: 1.4fr repeat(5, 1fr) auto; grid-template-areas: none; }
.rmpf-search__row--projects > * { grid-area: auto !important; }
.rmpf-toolbar__count { margin: 0; color: var(--rm-muted); font-size: 14px; }
.rmpf-toolbar__count strong { color: var(--rm-heading); font-weight: 500; }

.rmpf-card__dev { position: absolute; right: 12px; top: 12px; background: #fff; padding: 2px; border-radius: 4px; box-shadow: 0 4px 14px rgba(0,0,0,.18); }
.rmpf-card__dev img { height: 52px; width: 52px; object-fit: contain; }
.rmpf-card--project .rmpf-card__count { gap: 6px; }
.rmpf-per--before { margin-right: 4px; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.rmpf-card__devname { margin: -6px 0 14px !important; font-size: 13px; color: var(--rm-muted); }
.rmpf-card__devname strong { color: var(--rm-heading); font-weight: 500; }

/* Payment plan */
.rmpf-plan__bar { display: flex; height: 44px; overflow: hidden; gap: 3px; margin: 6px 0 22px; }
.rmpf-plan__seg { display: grid; place-items: center; color: #fff; font-weight: 600; font-size: 14px; min-width: 52px; }
.rmpf-plan__seg--0 { background: var(--rm-gold); }
.rmpf-plan__seg--1 { background: var(--rm-navy); }
.rmpf-plan__seg--2 { background: #5c7376; }
.rmpf-plan__seg--3 { background: var(--rm-gold-dark); }
.rmpf-plan__steps { list-style: none; margin: 0 0 12px; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.rmpf-plan__step { margin: 0; padding: 16px; border: 1px solid var(--rm-line); border-top: 3px solid var(--rm-gold); display: flex; flex-direction: column; gap: 2px; }
.rmpf-plan__step--1 { border-top-color: var(--rm-navy); }
.rmpf-plan__step--2 { border-top-color: #5c7376; }
.rmpf-plan__step--3 { border-top-color: var(--rm-gold-dark); }
.rmpf-plan__step strong { font-size: 26px; font-weight: 600; color: var(--rm-heading); line-height: 1.1; }
.rmpf-plan__step span { font-weight: 500; color: var(--rm-heading); }
.rmpf-plan__step small { color: var(--rm-muted); font-size: 13px; }
.rmpf-plan__step em { font-style: normal; color: var(--rm-gold-dark); font-size: 13px; font-weight: 500; margin-top: 4px; }
.rmpf-small { font-size: 12.5px; }

/* Unit types */
.rmpf-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.rmpf-tab { margin: 0; height: 36px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--rm-line); background: #fff; color: var(--rm-heading); font: 500 12px var(--rm-sans); letter-spacing: .05em; text-transform: uppercase; transition: all .2s; }
.rmpf-tab:hover { border-color: var(--rm-gold); }
.rmpf-tab.is-active { background: var(--rm-navy); border-color: var(--rm-navy); color: #fff; }
.rmpf-units { border: 1px solid var(--rm-line); }
.rmpf-units__head, .rmpf-units__row { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr auto; gap: 12px; align-items: center; padding: 12px 16px; }
.rmpf-units__head { background: var(--rm-soft); font-size: 11px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--rm-muted); }
.rmpf-units__row { border-top: 1px solid var(--rm-line); font-size: 14.5px; transition: background .2s; }
.rmpf-units__row:hover { background: #fcfbf8; }
.rmpf-units__row[hidden] { display: none !important; }
.rmpf-units__row.is-sold { opacity: .55; }
.rmpf-units__name strong { display: block; font-weight: 500; color: var(--rm-heading); }
.rmpf-units__name small { color: var(--rm-muted); font-size: 12px; }
.rmpf-units__price { font-weight: 600; color: var(--rm-navy); }
.rmpf-plan-btn { margin: 0; display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--rm-gold); background: #fff; color: var(--rm-gold-dark); font: 500 12px var(--rm-sans); letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; transition: all .2s; }
.rmpf-plan-btn .rmpf-ic { width: 14px; height: 14px; }
.rmpf-plan-btn:hover { background: var(--rm-gold); color: #fff; }

/* Timeline */
.rmpf-timeline__track { position: relative; height: 10px; border-radius: 999px; background: var(--rm-line); overflow: hidden; margin: 8px 0 18px; }
.rmpf-timeline__track span { position: absolute; inset: 0 auto 0 0; border-radius: 999px; background: linear-gradient(90deg, var(--rm-navy), var(--rm-gold)); }
.rmpf-timeline__points { display: flex; justify-content: space-between; gap: 12px; }
.rmpf-timeline__points div { display: flex; flex-direction: column; }
.rmpf-timeline__points div:last-child { text-align: right; }
.rmpf-timeline__now { text-align: center; }
.rmpf-timeline__points small { font-size: 11px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--rm-muted); }
.rmpf-timeline__points strong { font-size: 17px; font-weight: 600; color: var(--rm-heading); }

/* Master plan + developer */
.rmpf-masterplan { position: relative; display: block; width: 100%; margin: 0; padding: 0; border: 1px solid var(--rm-line); background: #fff; cursor: zoom-in; }
.rmpf-masterplan img { width: 100%; max-height: 420px; object-fit: contain; }
.rmpf-masterplan span { position: absolute; right: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; background: #fff; box-shadow: var(--rm-shadow); font: 500 12px var(--rm-sans); text-transform: uppercase; letter-spacing: .06em; color: var(--rm-heading); }
.rmpf-developer { display: flex; align-items: center; gap: 24px; }
.rmpf-developer img { width: 120px; height: 80px; object-fit: contain; padding: 10px; border: 1px solid var(--rm-line); background: #fff; flex: none; }
.rmpf-developer h2 { margin-bottom: 6px !important; }
.rmpf-lightbox--plan img { background: #fff; padding: 12px; }

@media (max-width: 1180px) {
    .rmpf-search__row--projects { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .rmpf-search__row--projects .rmpf-field--grow { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
    .rmpf-projects .rmpf-wrap { padding-top: 40px; }
    .rmpf-search__row--projects { grid-template-columns: 1fr 1fr; }
    .rmpf-search__row--projects .rmpf-search__buttons { grid-column: 1 / -1; }
    .rmpf-units__head { display: none; }
    .rmpf-units__row { grid-template-columns: 1fr 1fr; gap: 6px 12px; padding: 14px; }
    .rmpf-units__row > [data-label]::before { content: attr(data-label); display: block; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--rm-muted); }
    .rmpf-units__plan { grid-column: 1 / -1; }
    .rmpf-developer { flex-direction: column; align-items: flex-start; }
}


/* ---------- Team (v1.8) ---------- */
.rmpf-team .rmpf-wrap { padding-top: 70px; }
.rmpf-team__head { margin-bottom: 26px; }
.rmpf-team__filters { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 30px; }
.rmpf-team__filters .rmpf-chip { cursor: pointer; margin: 0; font-family: var(--rm-sans); }
.rmpf-team__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px; }
.rmpf-agent[hidden] { display: none !important; }
.rmpf-agent__photo { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; background: linear-gradient(160deg, #e9ecea, #d5dbd9); }
.rmpf-agent__photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .7s; }
.rmpf-card:hover .rmpf-agent__photo img { transform: scale(1.05); }
.rmpf-agent__initial { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--rm-serif); font-size: 72px; font-weight: 700; color: var(--rm-navy); opacity: .35; }
.rmpf-agent__name { font-family: var(--rm-serif) !important; font-size: 22px !important; font-weight: 700 !important; color: var(--rm-heading) !important; margin: 0 0 4px !important; line-height: 1.25 !important; }
.rmpf-agent__name a:hover { color: var(--rm-gold-dark); }
.rmpf-agent .rmpf-card__loc { margin: 0 0 12px !important; white-space: normal; }
.rmpf-agent__langs { list-style: none; margin: 0 0 16px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.rmpf-agent__langs li { margin: 0; padding: 4px 10px; border-radius: 999px; background: var(--rm-green-soft); border: 1px solid transparent; font-size: 12px; font-weight: 400; color: var(--rm-heading); }
.rmpf-agent .rmpf-action { font-size: 13px; padding: 10px 6px; }
.rmpf-team-cta { margin-top: 80px; padding: 70px 0; background: var(--rm-navy); color: #fff; text-align: center; position: relative; overflow: hidden; }
.rmpf-team-cta::after { content: ""; position: absolute; right: -120px; top: -120px; width: 320px; height: 320px; border-radius: 50%; border: 1px solid rgba(187,149,86,.35); }
.rmpf-team-cta h2 { color: #fff !important; max-width: 760px; margin: 10px auto 26px !important; font-size: clamp(26px, 3vw, 38px) !important; }
.rmpf-team-cta__buttons { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.rmpf-team .rmpf-wrap { padding-bottom: 0; }

/* Agent profile */
.rmpf-profile { display: grid; grid-template-columns: 300px 1fr; gap: 36px; align-items: center; padding: 30px; border-top: 3px solid var(--rm-gold) !important; margin-top: 0; }
.rmpf-profile__photo { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: linear-gradient(160deg, #e9ecea, #d5dbd9); box-shadow: 0 20px 50px -25px rgba(48,69,72,.5); }
.rmpf-profile__photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.rmpf-profile .rmpf-overview__title { font-size: clamp(32px, 4vw, 52px) !important; }
.rmpf-stats--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 22px 0 !important; max-width: 560px; }
.rmpf-profile__buttons { display: flex; flex-wrap: wrap; gap: 10px; }
.rmpf-btn--wa { background: var(--rm-wa); }
.rmpf-btn--wa:hover { background: #1ea952; }
.rmpf-subhead { font-size: 20px !important; margin: 26px 0 14px !important; }
.rmpf-flag { display: inline-block; vertical-align: -2px; margin-right: 6px; border-radius: 2px; }
.rmpf-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.rmpf-agent-panel[hidden] { display: none !important; }
.rmpf-agent-panel__more { margin-top: 22px; }
.rmpf-agent-card__profile { display: block; padding: 12px 26px; background: rgba(187,149,86,.12); color: var(--rm-gold-dark) !important; font-size: 13px; font-weight: 500; letter-spacing: .04em; border-bottom: 1px solid var(--rm-line); }
.rmpf-agent-card__profile:hover { background: rgba(187,149,86,.2); }
.rmpf-agent-card .rmpf-facts--compact { margin-bottom: 4px; }
.rmpf-agent-filter { margin: -6px 0 18px !important; padding: 10px 16px; background: rgba(187,149,86,.1); font-size: 14px; color: var(--rm-heading); }
.rmpf-agent-filter a { color: var(--rm-gold-dark) !important; font-weight: 500; }

@media (max-width: 1180px) {
    .rmpf-team__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .rmpf-profile { grid-template-columns: 240px 1fr; }
}
@media (max-width: 900px) {
    .rmpf-team__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .rmpf-profile { grid-template-columns: 1fr; }
    .rmpf-profile__photo { max-width: 320px; }
}
@media (max-width: 560px) {
    .rmpf-team__grid, .rmpf-grid--2 { grid-template-columns: 1fr; }
    .rmpf-stats--3 { grid-template-columns: 1fr 1fr; }
    .rmpf-profile { padding: 20px; }
}

/* ---------- Areas (v1.9) ---------- */
.rmpf-areas .rmpf-wrap { padding-bottom: 80px; }
.rmpf-areas__search { display: flex; align-items: flex-end; gap: 20px; margin-top: -60px; position: relative; z-index: 3; }
.rmpf-areas__search .rmpf-field { flex: 1; }
.rmpf-areas__count { margin: 0 0 14px !important; color: var(--rm-muted); font-size: 14px; white-space: nowrap; }
.rmpf-areas__group { margin-top: 60px; }
.rmpf-areas__group[hidden], .rmpf-area[hidden], .rmpf-area-mini[hidden] { display: none !important; }
.rmpf-section-head--left { text-align: left; margin: 0 0 26px; max-width: none; }
.rmpf-section-head--left .rmpf-kicker::after { display: none; }
.rmpf-area .rmpf-card__media::after { content: ""; position: absolute; inset: 40% 0 0; background: linear-gradient(180deg, transparent, rgba(20,28,30,.78)); pointer-events: none; }
.rmpf-area__overlay { position: absolute; left: 20px; right: 20px; bottom: 16px; z-index: 1; color: #fff; }
.rmpf-area__overlay small { display: block; font-size: 11px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--rm-gold); }
.rmpf-area__overlay strong { display: block; font-family: var(--rm-serif); font-size: 24px; font-weight: 700; line-height: 1.2; }
.rmpf-area .rmpf-card__body { flex-direction: row; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 20px; }
.rmpf-area__counts { margin: 0 !important; font-size: 14px; font-weight: 400; color: var(--rm-heading); }
.rmpf-areas__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.rmpf-area-mini { margin: 0; }
.rmpf-area-mini a { display: flex; align-items: center; gap: 12px; padding: 8px; background: #fff; border: 1px solid var(--rm-line); transition: border-color .2s, box-shadow .2s, transform .2s; height: 100%; }
.rmpf-area-mini a:hover { border-color: var(--rm-gold); box-shadow: 0 8px 22px -14px rgba(48,69,72,.4); transform: translateY(-2px); }
.rmpf-area-mini__img { flex: none; width: 58px; height: 46px; background: #e9ecea; overflow: hidden; }
.rmpf-area-mini__img img { width: 100%; height: 100%; object-fit: cover; }
.rmpf-area-mini strong { display: block; font-size: 14px; font-weight: 500; color: var(--rm-heading); line-height: 1.3; }
.rmpf-area-mini small { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--rm-gold-dark); }

/* Area guide page */
.rmpf-progress { position: fixed; left: 0; right: 0; top: 0; height: 3px; z-index: 100000; pointer-events: none; }
.rmpf-progress span { display: block; height: 100%; background: var(--rm-gold); transform-origin: left; transform: scaleX(0); }
.rmpf-hero--area { min-height: 75vh; }
.rmpf-hero--area h1 { font-size: 80px; }
.rmpf-hero__bg--blur { filter: blur(22px) saturate(1.15); transform: scale(1.2); animation: none !important; }
.rmpf-hero--split::before { background: linear-gradient(110deg, rgba(20,28,30,.86) 0%, rgba(20,28,30,.66) 55%, rgba(20,28,30,.5) 100%); }
.rmpf-hero--split .rmpf-hero__inner { max-width: 1200px; width: 100%; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 56px; align-items: center; text-align: left; }
.rmpf-hero--split .rmpf-hero__inner > * { animation: rmpf-fade-up .9s cubic-bezier(.2,.7,.2,1) both; }
.rmpf-hero--split .rmpf-hero__photo { animation-delay: .3s; }
.rmpf-hero--split .rmpf-crumbs { justify-content: flex-start; }
.rmpf-hero--split p { margin: 0; max-width: 620px; }
.rmpf-hero__photo { position: relative; margin: 0; border: 6px solid #fff; box-shadow: 0 30px 60px -20px rgba(0,0,0,.6); aspect-ratio: 4 / 3; max-width: 520px; justify-self: end; width: 100%; background: #fff; }
.rmpf-hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.rmpf-hero__photo figcaption { position: absolute; left: -6px; bottom: 18px; background: var(--rm-gold); color: #fff; padding: 6px 14px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.rmpf-area-stats { list-style: none; margin: -70px 0 0; padding: 0; position: relative; z-index: 3; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: #fff; box-shadow: var(--rm-shadow); border-top: 3px solid var(--rm-gold); }
.rmpf-area-stats li { margin: 0; border-right: 1px solid var(--rm-line); }
.rmpf-area-stats li:last-child { border-right: 0; }
.rmpf-area-stats li > a, .rmpf-area-stats li { display: flex; align-items: center; gap: 14px; padding: 22px 24px; }
.rmpf-area-stats li > a { padding: 0; width: 100%; }
.rmpf-area-stats li > a:hover strong { color: var(--rm-gold-dark); }
.rmpf-area-stats strong { display: block; font-size: 22px; font-weight: 600; color: var(--rm-heading); line-height: 1.1; }
.rmpf-area-stats small { font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--rm-muted); }
.rmpf-area-body { margin-top: 10px; }
.rmpf-area-stats--empty { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 26px; }
.rmpf-area-stats--empty p { margin: 0 !important; color: var(--rm-text); }
.rmpf-area-stats--empty strong { color: var(--rm-heading); font-weight: 600; display: block; margin-bottom: 2px; }
@media (max-width: 720px) { .rmpf-area-stats--empty { flex-direction: column; align-items: stretch; } }

.rmpf-guide__title { font-size: clamp(24px, 2.4vw, 30px) !important; margin-bottom: 18px !important; }
.rmpf-guide__content { color: var(--rm-text); }
.rmpf-guide__content .lead, .rmpf-guide__content > div > p:first-child { font-size: 17px; color: var(--rm-heading); }
.rmpf-guide__content h2 { font-size: 24px; margin: 34px 0 12px; padding-top: 22px; border-top: 1px solid var(--rm-line); scroll-margin-top: 140px; }
.rmpf-guide__content h3 { font-size: 18px; margin: 20px 0 8px; }
.rmpf-guide__content p { margin: 0 0 12px; }
.rmpf-guide__content ul { list-style: none; margin: 10px 0 16px; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.rmpf-guide__content li { margin: 0; padding: 10px 12px 10px 30px; background: var(--rm-soft); border: 1px solid var(--rm-line); position: relative; font-size: 14.5px; }
.rmpf-guide__content li::before { content: ""; position: absolute; left: 12px; top: 17px; width: 7px; height: 7px; background: var(--rm-gold); transform: rotate(45deg); }
.rmpf-guide__content strong { color: var(--rm-heading); font-weight: 500; }
.rmpf-guide__content hr { border: 0; border-top: 1px solid var(--rm-line); margin: 24px 0; }

.rmpf-faq details { border: 1px solid var(--rm-line); margin-bottom: 10px; background: #fff; }
.rmpf-faq summary { cursor: pointer; list-style: none; padding: 16px 48px 16px 18px; font-weight: 500; color: var(--rm-heading); position: relative; }
.rmpf-faq summary::-webkit-details-marker { display: none; }
.rmpf-faq summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); width: 24px; height: 24px; border-radius: 50%; background: rgba(187,149,86,.15); color: var(--rm-gold-dark); display: grid; place-items: center; font-size: 18px; line-height: 1; }
.rmpf-faq details[open] summary::after { content: "−"; background: var(--rm-gold); color: #fff; }
.rmpf-faq details[open] { border-color: rgba(187,149,86,.5); }
.rmpf-faq details p { margin: 0 !important; padding: 0 18px 18px; color: var(--rm-text); }

.rmpf-toc { background: #fff; box-shadow: var(--rm-shadow); padding: 22px 24px; margin-bottom: 20px; }
.rmpf-toc ol { margin: 6px 0 0; padding: 0; list-style: none; counter-reset: toc; }
.rmpf-toc li { margin: 0; counter-increment: toc; }
.rmpf-toc a { display: flex; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--rm-line); font-size: 14px; color: var(--rm-heading) !important; }
.rmpf-toc li:last-child a { border-bottom: 0; }
.rmpf-toc a::before { content: counter(toc, decimal-leading-zero); color: var(--rm-gold-dark); font-weight: 500; font-size: 12px; min-width: 20px; padding-top: 2px; }
.rmpf-toc a:hover { color: var(--rm-gold-dark) !important; }
.rmpf-area-page .rmpf-agent-card__head strong { font-size: 19px; }

@media (max-width: 1180px) {
    .rmpf-areas__list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .rmpf-area-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .rmpf-area-stats li:nth-child(2) { border-right: 0; }
    .rmpf-area-stats li:nth-child(-n+2) { border-bottom: 1px solid var(--rm-line); }
}
@media (max-width: 1024px) {
    .rmpf-hero--area h1 { font-size: 56px; }
    .rmpf-hero--split .rmpf-hero__inner { grid-template-columns: 1fr; text-align: center; gap: 30px; }
    .rmpf-hero--split .rmpf-crumbs { justify-content: center; }
    .rmpf-hero--split p { margin: 0 auto; }
    .rmpf-hero__photo { justify-self: center; max-width: 420px; }
}
@media (max-width: 900px) { .rmpf-toc { display: none; } }
@media (max-width: 720px) {
    .rmpf-areas__search { flex-direction: column; align-items: stretch; margin-top: -50px; }
    .rmpf-areas__list { grid-template-columns: 1fr 1fr; }
    .rmpf-hero--area { min-height: 450px; }
    .rmpf-hero__photo { display: none; }
    .rmpf-hero--area h1 { font-size: 35px; }
    .rmpf-area-stats { margin-top: -50px; }
    .rmpf-area-stats li { padding: 14px; gap: 10px; }
    .rmpf-area-stats strong { font-size: 17px; }
    .rmpf-guide__content ul { grid-template-columns: 1fr; }
}

/* ---------- Area guide: editorial layout (v1.9) ---------- */
.rmpf-guide { padding: 40px 44px; }
.rmpf-guide__title { font-size: clamp(26px, 2.6vw, 34px) !important; margin: 2px 0 22px !important; }
.rmpf-guide__lead { padding-bottom: 30px; margin-bottom: 8px; border-bottom: 1px solid var(--rm-line); }
.rmpf-guide__lead p { font-size: 17px; line-height: 1.75; color: var(--rm-text); margin: 0 0 14px !important; }
.rmpf-guide__lead p.is-first { font-family: var(--rm-serif); font-size: 21px; line-height: 1.6; color: var(--rm-heading); padding-left: 22px; border-left: 3px solid var(--rm-gold); }

.rmpf-chapter { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; padding: 34px 0; border-bottom: 1px solid var(--rm-line); scroll-margin-top: 140px; }
.rmpf-chapter:last-child { border-bottom: 0; padding-bottom: 6px; }
.rmpf-chapter__head { display: flex; align-items: center; gap: 18px; }
.rmpf-chapter__num { flex: none; font-family: var(--rm-serif); font-size: 44px; font-weight: 700; line-height: 1; color: transparent; -webkit-text-stroke: 1px var(--rm-gold); }
.rmpf-chapter__head h3 { font-size: 22px !important; line-height: 1.3 !important; margin: 0 !important; color: var(--rm-heading); padding-left: 18px; border-left: 1px solid var(--rm-line); }
.rmpf-chapter__body > p { margin: 0 0 18px !important; line-height: 1.7; }
.rmpf-chapter__body > p:last-child { margin-bottom: 0 !important; }
.rmpf-fig { color: var(--rm-navy); font-weight: 600; white-space: nowrap; }

/* Points: label + detail tiles */
.rmpf-points { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin: 0; background: var(--rm-line); border: 1px solid var(--rm-line); }
.rmpf-points > div { background: #fff; padding: 18px 20px; }
.rmpf-points > div:only-child, .rmpf-points > div:last-child:nth-child(odd) { grid-column: 1 / -1; }
.rmpf-points dt { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--rm-gold-dark); margin: 0 0 6px; }
.rmpf-points dd { margin: 0; font-size: 15px; line-height: 1.6; color: var(--rm-text); }

/* Journeys: destination ……… time */
.rmpf-journeys { list-style: none; margin: 0; padding: 0; }
.rmpf-journeys li { display: grid; grid-template-columns: auto 1fr auto; align-items: baseline; gap: 12px; margin: 0; padding: 14px 0; border-bottom: 1px solid var(--rm-line); }
.rmpf-journeys li:first-child { border-top: 1px solid var(--rm-line); }
.rmpf-journeys__to { font-weight: 500; color: var(--rm-heading); }
.rmpf-journeys__line { border-bottom: 1px dotted rgba(48,69,72,.35); transform: translateY(-4px); }
.rmpf-journeys__time { font-weight: 600; color: var(--rm-navy); white-space: nowrap; }
.rmpf-journeys li.is-note { display: block; }
.rmpf-journeys li.is-note small { display: block; margin-top: 3px; font-size: 14px; color: var(--rm-muted); }

/* Figures: the number does the talking */
.rmpf-figures { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; }
.rmpf-figures__item { padding: 20px; border: 1px solid var(--rm-line); background: var(--rm-soft); display: flex; flex-direction: column; gap: 6px; }
.rmpf-figures__item.has-figure { background: var(--rm-navy); border-color: var(--rm-navy); }
.rmpf-figures__item strong { font-family: var(--rm-serif); font-size: 30px; font-weight: 700; line-height: 1.1; color: var(--rm-gold); }
.rmpf-figures__item span { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--rm-gold-dark); }
.rmpf-figures__item.has-figure span { color: #fff; }
.rmpf-figures__item p { margin: 0 !important; font-size: 14px; line-height: 1.55; color: var(--rm-text); }
.rmpf-figures__item.has-figure p { color: rgba(255,255,255,.72); }

@media (max-width: 720px) {
    .rmpf-chapter__num { font-size: 34px; }
    .rmpf-chapter__head h3 { font-size: 19px !important; padding-left: 14px; }
}
@media (max-width: 720px) {
    .rmpf-guide { padding: 26px 20px; }
    .rmpf-guide__lead p.is-first { font-size: 18px; }
    .rmpf-points { grid-template-columns: 1fr; }
    .rmpf-points > div:last-child:nth-child(odd) { grid-column: auto; }
    .rmpf-journeys li { grid-template-columns: 1fr auto; }
    .rmpf-journeys__line { display: none; }
}


/* ---------- More brand green (v1.11) ---------- */
/* Listing pages sit on a faint slate-green ground so the white cards lift off it. */
.rmpf.rmpf-buy { background: var(--rm-soft); }
.rmpf .rmpf-search .rmpf-field input, .rmpf .rmpf-search .rmpf-field select { background-color: #fff; border-color: #DCE4E3; }
.rmpf .rmpf-sort select { border-color: #DCE4E3; }
.rmpf-chip:not(.is-active):hover { background: var(--rm-green-soft); border-color: var(--rm-green-soft); color: var(--rm-navy) !important; }
/* Green band at the foot of Buy / Rent / Projects / Areas (same as the team page). */
.rmpf-cta-band { margin-top: 0; }
.rmpf-cta-band::before { content: ""; position: absolute; left: -90px; bottom: -140px; width: 260px; height: 260px; border-radius: 50%; border: 1px solid rgba(255,255,255,.08); }
.rmpf-buy .rmpf-wrap:has(+ .rmpf-cta-band) { padding-bottom: 90px; }

/* Property details card on brand green (v1.12) */
.rmpf .rmpf-box--green { background: var(--rm-navy) !important; border-color: var(--rm-navy) !important; }
.rmpf-box--green h2 { color: #fff !important; }
.rmpf-box--green .rmpf-kicker { color: var(--rm-gold); }
.rmpf-box--green .rmpf-spec li { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.12); }
.rmpf-box--green .rmpf-spec li:hover { border-color: var(--rm-gold); background: rgba(255,255,255,.08); box-shadow: none; }
.rmpf-box--green .rmpf-spec__icon { background: rgba(187,149,86,.16); color: var(--rm-gold); }
.rmpf-box--green .rmpf-spec__text small { color: rgba(255,255,255,.6); }
.rmpf-box--green .rmpf-spec__text strong { color: #fff; }

/* Areas page: cards turn brand green on hover (v1.12) */
.rmpf-card.rmpf-area { transition: transform .4s, box-shadow .4s, background-color .35s; }
.rmpf-area .rmpf-card__body, .rmpf-area__counts, .rmpf-area .rmpf-link { transition: background-color .35s, color .35s; }
.rmpf-card.rmpf-area:hover { background: var(--rm-navy); }
.rmpf-card.rmpf-area:hover .rmpf-card__body { background: var(--rm-navy); }
.rmpf-card.rmpf-area:hover .rmpf-area__counts { color: rgba(255,255,255,.85); }
.rmpf-card.rmpf-area:hover .rmpf-link { color: var(--rm-gold) !important; }
.rmpf-area-mini a { transition: background-color .25s, border-color .2s, box-shadow .2s, transform .2s; }
.rmpf-area-mini a:hover { background: var(--rm-navy); border-color: var(--rm-navy); }
.rmpf-area-mini a:hover strong { color: #fff; }
.rmpf-area-mini a:hover small { color: var(--rm-gold); }

/* Area FAQ on brand green (v1.12) */
.rmpf-box--green .rmpf-faq details { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.12); }
.rmpf-box--green .rmpf-faq details[open] { border-color: rgba(187,149,86,.6); background: rgba(255,255,255,.08); }
.rmpf-box--green .rmpf-faq summary { color: #fff; }
.rmpf-box--green .rmpf-faq summary:hover { color: var(--rm-gold); }
.rmpf-box--green .rmpf-faq summary::after { background: rgba(187,149,86,.18); color: var(--rm-gold); }
.rmpf-box--green .rmpf-faq details[open] summary::after { background: var(--rm-gold); color: #fff; }
.rmpf-box--green .rmpf-faq details p { color: rgba(255,255,255,.78); }

/* Team page: agent cards turn brand green on hover (v1.13) */
.rmpf-agent .rmpf-card__body, .rmpf-agent__name a, .rmpf-agent .rmpf-card__loc, .rmpf-agent__langs li { transition: background-color .35s, color .35s, border-color .35s; }
.rmpf-card.rmpf-agent:hover { background: var(--rm-navy); }
.rmpf-card.rmpf-agent:hover .rmpf-card__body { background: var(--rm-navy); }
.rmpf-card.rmpf-agent:hover .rmpf-agent__name, .rmpf-card.rmpf-agent:hover .rmpf-agent__name a { color: #fff !important; }
.rmpf-card.rmpf-agent:hover .rmpf-card__loc { color: var(--rm-gold); }
.rmpf-card.rmpf-agent:hover .rmpf-agent__langs li { background: rgba(255,255,255,.1); color: #fff; }
.rmpf-card.rmpf-agent:hover .rmpf-action { background: rgba(255,255,255,.1); color: #fff !important; }
.rmpf-card.rmpf-agent:hover .rmpf-action:hover { background: var(--rm-gold); }
.rmpf-card.rmpf-agent:hover .rmpf-action--wa:hover { background: var(--rm-wa); }

/* Search / filter panel on brand green (v1.13) */
.rmpf .rmpf-search { background: var(--rm-navy); border-top-color: var(--rm-gold); box-shadow: 0 20px 50px -20px rgba(0,0,0,.45); }
.rmpf-search .rmpf-field > span, .rmpf-search .rmpf-pills-group legend { color: #D9BC85; }
.rmpf .rmpf-search .rmpf-field input, .rmpf .rmpf-search .rmpf-field select { background-color: #fff; border-color: transparent; }
.rmpf .rmpf-search .rmpf-field input:focus, .rmpf .rmpf-search .rmpf-field select:focus { border-color: var(--rm-gold); }
.rmpf-search .rmpf-btn--light { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.25); }
.rmpf-search .rmpf-btn--light:hover, .rmpf-search .rmpf-btn--light[aria-expanded="true"] { background: rgba(255,255,255,.18); }
.rmpf-search .rmpf-btn--gold:hover { background: #fff; color: var(--rm-navy) !important; }
.rmpf-search .rmpf-choice span { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.18); color: #fff; }
.rmpf-search .rmpf-choice input:checked + span { background: var(--rm-gold); border-color: var(--rm-gold); }
.rmpf-search .rmpf-areas__count, .rmpf-search p, .rmpf-search a:not(.rmpf-btn) { color: rgba(255,255,255,.75); }
.rmpf-search .rmpf-advanced { border-top-color: rgba(255,255,255,.15); }

/* Chips never shrink (the theme gives <button> overflow:hidden, which let them squash and crop the text) */
.rmpf-chip { flex: none; overflow: visible; }
