/* ================================================================
   Plots N Beyond — Main Stylesheet v2.0
   Brand: #E05A1A | #8B2E18 | #2B5FAC | #FAFAF8 | #1A1A1A
   Fonts: Playfair Display · Montserrat · Lato
   ================================================================ */

/* ── Reset ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
img, video, svg { display: block; max-width: 100%; height: auto; }
button { cursor: pointer; border: none; background: none; font: inherit; }
a { text-decoration: none; }
ul { list-style: none; }

/* ── Custom Properties ──────────────────────────────────────── */
:root {
    /* Brand */
    --orange:        #E05A1A;
    --orange-dk:     #C44D14;
    --orange-lt:     #FBE9E0;
    --sienna:        #8B2E18;
    --sienna-dk:     #6E2412;
    --blue:          #2B5FAC;
    --blue-dk:       #1F4A88;
    --blue-lt:       #EAF0FA;
    --ivory:         #FAFAF8;
    --ivory-dk:      #F0EDE8;
    --charcoal:      #1A1A1A;
    --charcoal-80:   #333;
    --charcoal-60:   #555;
    --charcoal-40:   #888;
    --charcoal-20:   #CCC;
    --white:         #FFF;
    --border:        #E5E0D8;
    --wa-green:      #25D366;
    --wa-hover:      #1DA853;
    --success:       #27AE60;
    --error:         #C0392B;

    /* Typography */
    --font-display:  'Playfair Display', Georgia, serif;
    --font-heading:  'Montserrat', system-ui, sans-serif;
    --font-body:     'Lato', system-ui, sans-serif;

    /* Layout */
    --container:     1240px;
    --header-h:      72px;
    --radius:        8px;
    --radius-lg:     16px;
    --shadow-sm:     0 1px 4px rgba(0,0,0,.07);
    --shadow-md:     0 4px 20px rgba(0,0,0,.10);
    --shadow-lg:     0 12px 48px rgba(0,0,0,.14);
    --transition:    .2s ease;
    --gap:           32px;
}

/* ── Base ───────────────────────────────────────────────────── */
html { font-size: 16px; scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    color: var(--charcoal);
    background: var(--ivory);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

h1, .h1 { font-family: var(--font-display); font-weight: 700; line-height: 1.15; letter-spacing: -.01em; }
h2, h3, h4, h5, h6 { font-family: var(--font-heading); font-weight: 700; line-height: 1.25; }
h2 { letter-spacing: -.01em; }
p  { font-family: var(--font-body); }
a  { color: var(--blue); transition: color var(--transition); }
a:hover { color: var(--blue-dk); }

/* Font sizes */
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.1rem; }

/* ── Layout Helpers ─────────────────────────────────────────── */
.container {
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: clamp(16px, 4vw, 40px);
}
.section          { padding: 72px 0; }
.section--alt     { background: var(--ivory-dk); }
.section-header   { text-align: center; max-width: 680px; margin: 0 auto 48px; }
.section-label    { font-family: var(--font-heading); font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--orange); display: block; margin-bottom: 8px; }
.section-title    { margin-bottom: 12px; }
.section-sub      { color: var(--charcoal-60); font-size: 1.05rem; }

/* ── Buttons ────────────────────────────────────────────────── */
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    font-family: var(--font-heading); font-weight: 600; font-size: .875rem;
    letter-spacing: .02em; padding: 12px 24px; border-radius: var(--radius);
    transition: background var(--transition), color var(--transition), box-shadow var(--transition), transform var(--transition);
    white-space: nowrap; line-height: 1;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--orange); color: var(--white); }
.btn--primary:hover { background: var(--orange-dk); color: var(--white); }

.btn--whatsapp { background: var(--wa-green); color: var(--white); }
.btn--whatsapp:hover { background: var(--wa-hover); color: var(--white); }

.btn--call { background: var(--blue); color: var(--white); }
.btn--call:hover { background: var(--blue-dk); color: var(--white); }

.btn--outline { border: 2px solid var(--orange); color: var(--orange); }
.btn--outline:hover { background: var(--orange); color: var(--white); }

.btn--outline-white { border: 2px solid var(--white); color: var(--white); }
.btn--outline-white:hover { background: var(--white); color: var(--charcoal); }

.btn--ghost { border: 1px solid var(--border); color: var(--charcoal-60); }
.btn--ghost:hover { border-color: var(--charcoal-40); color: var(--charcoal); }

.btn--text { color: var(--orange); padding: 0; border-radius: 0; font-weight: 600; font-size: .875rem; }
.btn--text:hover { color: var(--orange-dk); }

.btn--sm   { padding: 8px 16px; font-size: .8125rem; }
.btn--lg   { padding: 15px 32px; font-size: 1rem; }
.btn--full { width: 100%; justify-content: center; }

/* ── Skip Link ──────────────────────────────────────────────── */
.skip-link { position: absolute; top: -100%; left: 16px; background: var(--charcoal); color: var(--white); padding: 8px 16px; border-radius: 0 0 6px 6px; z-index: 9999; }
.skip-link:focus { top: 0; }

/* ── Header ─────────────────────────────────────────────────── */
.site-header {
    position: sticky; top: 0; z-index: 100;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    height: var(--header-h);
}
.header-inner {
    height: 100%;
    display: flex; align-items: center;
    gap: 24px;
}

/* Transparent header when over hero */
.site-header.header--over-hero {
    background: transparent;
    border-bottom-color: transparent;
    box-shadow: none;
}
.site-header.header--over-hero .brand-name,
.site-header.header--over-hero .nav-menu li a { color: rgba(255,255,255,.9); }
.site-header.header--over-hero .brand-tagline { color: rgba(255,255,255,.6); }
.site-header.header--over-hero .nav-menu li a:hover { background: rgba(255,255,255,.12); color: var(--white); }
.site-header.header--over-hero .mobile-toggle span { background: var(--white); }
.site-header.is-scrolled { box-shadow: var(--shadow-md); }

/* Brand */
.brand-link { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; }
.brand-name { font-family: var(--font-heading); font-weight: 700; font-size: 1.1rem; color: var(--charcoal); line-height: 1.1; }
.brand-tagline { font-size: .65rem; color: var(--charcoal-60); letter-spacing: .03em; font-family: var(--font-body); }
.brand-link img.custom-logo { height: 44px; width: auto; }

/* Nav */
.site-nav { flex: 1; }
.nav-menu { display: flex; align-items: center; gap: 4px; }
.nav-menu li a {
    font-family: var(--font-heading); font-size: .8125rem; font-weight: 600;
    color: #1A1A1A; padding: 6px 12px; border-radius: 6px;
    transition: color var(--transition), background var(--transition);
}
.nav-menu li a:hover,
.nav-menu li.current-menu-item > a,
.nav-menu li.current_page_item > a { color: var(--orange); background: var(--orange-lt); }

/* Header Actions */
.header-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.header-wa { display: none; }

/* Mobile Toggle — minimum 44×44 tap target */
.mobile-toggle { display: none; flex-direction: column; gap: 5px; padding: 10px 8px; border-radius: 6px; min-width: 44px; min-height: 44px; align-items: center; justify-content: center; }
.mobile-toggle span { display: block; width: 22px; height: 2px; background: var(--charcoal); border-radius: 2px; transition: transform var(--transition), opacity var(--transition); }
.mobile-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.mobile-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Page Banner ────────────────────────────────────────────── */
.page-banner {
    background: linear-gradient(135deg, var(--sienna) 0%, var(--charcoal) 100%);
    padding: 56px 0 48px;
    color: var(--white);
}
.page-banner--sm { padding: 36px 0 30px; }
.page-banner__title { color: var(--white); margin-bottom: 8px; }
.page-banner__sub { color: rgba(255,255,255,.75); font-size: 1.05rem; }

/* ── Breadcrumb ─────────────────────────────────────────────── */
.breadcrumb-bar { background: var(--ivory-dk); border-bottom: 1px solid var(--border); padding: 10px 0; }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: .8125rem; color: var(--charcoal-60); }
.breadcrumb a { color: var(--charcoal-60); }
.breadcrumb a:hover { color: var(--orange); }
.breadcrumb li + li::before { content: '/'; margin-right: 6px; color: var(--charcoal-20); }
.breadcrumb li { display: flex; align-items: center; gap: 6px; }
.breadcrumb [aria-current="page"] { color: var(--charcoal); font-weight: 600; }

/* ── Property Grid ──────────────────────────────────────────── */
.property-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--gap);
}

/* Property Card */
.property-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--transition), transform var(--transition);
    display: flex; flex-direction: column;
}
.property-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }

.property-card__img-wrap { position: relative; aspect-ratio: 3/2; overflow: hidden; display: block; }
.property-card__img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.property-card:hover .property-card__img { transform: scale(1.04); }

.property-card__body { padding: 20px; flex: 1; display: flex; flex-direction: column; gap: 10px; }
.property-card__meta { display: flex; gap: 8px; flex-wrap: wrap; }
.card-meta-type     { font-family: var(--font-heading); font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--orange); }
.card-meta-location { font-family: var(--font-heading); font-size: .7rem; color: var(--charcoal-60); letter-spacing: .02em; }
.card-meta-location::before { content: '·'; margin-right: 4px; }

.property-card__title { font-size: 1rem; line-height: 1.4; flex: 1; }
.property-card__title a { color: var(--charcoal); }
.property-card__title a:hover { color: var(--orange); }

.property-card__details { display: flex; gap: 12px; flex-wrap: wrap; }
.card-detail { display: flex; align-items: center; gap: 5px; font-size: .8rem; color: var(--charcoal-60); }
.card-detail svg { color: var(--charcoal-40); flex-shrink: 0; }

.property-card__footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--border); }
.property-card__price { font-family: var(--font-heading); font-weight: 700; font-size: 1.05rem; color: var(--charcoal); }

/* ── Badges ─────────────────────────────────────────────────── */
.badge { display: inline-block; font-family: var(--font-heading); font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; padding: 3px 10px; border-radius: 30px; }
.badge--available { background: #e6f7ee; color: #1a7a40; }
.badge--reserved  { background: #fff3e0; color: #c07600; }
.badge--sold      { background: #fde9e9; color: #b71c1c; }
.badge--featured  { background: var(--orange); color: var(--white); }

/* Badges positioned on images */
.property-card__img-wrap .badge { position: absolute; top: 12px; left: 12px; }
.property-card__img-wrap .badge--featured { top: 12px; right: 12px; left: auto; }
.gallery-badge { position: absolute; top: 16px; left: 16px; }

/* ── Filter Bar ─────────────────────────────────────────────── */
.filter-bar { background: var(--white); border-bottom: 1px solid var(--border); padding: 20px 0; position: sticky; top: var(--header-h); z-index: 50; box-shadow: var(--shadow-sm); }
.filter-form { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; }
.filter-group { display: flex; flex-direction: column; gap: 4px; }
.filter-label { font-family: var(--font-heading); font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--charcoal-60); }
.filter-select,
.filter-input {
    font-family: var(--font-body); font-size: .875rem; color: var(--charcoal);
    border: 1px solid var(--border); border-radius: var(--radius);
    padding: 9px 12px; background: var(--ivory); min-width: 150px;
    transition: border-color var(--transition);
}
.filter-select:focus,
.filter-input:focus { outline: none; border-color: var(--orange); }
.filter-group--price .price-inputs { display: flex; align-items: center; gap: 6px; }
.filter-group--price .filter-input { min-width: 90px; }
.price-sep { color: var(--charcoal-40); font-size: .875rem; }
.filter-actions { display: flex; gap: 8px; align-items: flex-end; padding-bottom: 1px; }

/* Archive Results */
.archive-body { padding-top: 32px; padding-bottom: 72px; }
.archive-results-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.results-count { font-family: var(--font-heading); font-size: .875rem; color: var(--charcoal-60); }
.active-filters { display: flex; gap: 8px; flex-wrap: wrap; }
.filter-tag { display: flex; align-items: center; gap: 6px; font-size: .8rem; background: var(--orange-lt); color: var(--sienna); padding: 4px 10px; border-radius: 30px; font-family: var(--font-heading); font-weight: 600; }
.filter-tag a { color: inherit; line-height: 1; font-size: 1rem; }

.no-results-block { text-align: center; padding: 80px 20px; color: var(--charcoal-60); }
.no-results-block svg { margin: 0 auto 16px; color: var(--charcoal-20); }
.no-results-block h3 { margin-bottom: 8px; color: var(--charcoal-60); }
.no-results-block a { color: var(--orange); }

/* ── CTA Strip ──────────────────────────────────────────────── */
.cta-strip { background: linear-gradient(135deg, var(--orange) 0%, var(--sienna) 100%); padding: 32px 0; }
.cta-strip .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.cta-strip p { color: var(--white); font-size: 1.05rem; font-family: var(--font-heading); font-weight: 600; }

/* ── Property Detail Layout ─────────────────────────────────── */
.property-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: var(--gap);
    padding-top: 40px;
    padding-bottom: 72px;
    align-items: start;
}

/* Gallery — track-based swipeable */
.property-gallery { margin-bottom: 32px; }

/* Viewport clips the sliding track */
.gallery-viewport {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 16/9;
    background: var(--ivory-dk);
    user-select: none;
    -webkit-user-select: none;
    cursor: zoom-in;
}
/* cursor flips to grabbing during mouse-drag navigation */
.gallery-viewport.is-dragging { cursor: grabbing; }
.gallery-viewport--single { overflow: hidden; }

/* Track: flex row — JS moves via pixel transform */
.gallery-track {
    display: flex;
    /* Width is pinned to viewport so pixel offsets in JS stay correct */
    width: 100%;
    height: 100%;
    /* flex children overflow this box; viewport clips them */
    flex-wrap: nowrap;
    transition: transform .35s cubic-bezier(.25,.46,.45,.94);
    will-change: transform;
    /* Prevent track shrinking below viewport when all slides are inside */
    min-width: 100%;
}
.gallery-track.is-dragging { transition: none; }

/* Each slide is exactly as wide as the viewport */
.gallery-slide {
    flex: 0 0 auto;
    width: 100%;           /* 100% of .gallery-viewport (containing block) */
    height: 100%;
    overflow: hidden;
    position: relative;
}
.gallery-slide__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
}

/* Prev / next arrow buttons */
.gallery-btn {
    position: absolute; top: 50%; transform: translateY(-50%);
    background: rgba(0,0,0,.55); color: var(--white);
    border-radius: 50%; width: 44px; height: 44px;
    display: flex; align-items: center; justify-content: center;
    transition: background var(--transition), opacity var(--transition);
    z-index: 2;
}
.gallery-btn:hover  { background: var(--orange); }
.gallery-btn--prev  { left: 12px; }
.gallery-btn--next  { right: 12px; }
.gallery-btn:disabled { opacity: .3; pointer-events: none; }

/* Counter pill */
.gallery-counter {
    position: absolute; bottom: 12px; right: 12px;
    background: rgba(0,0,0,.55); color: var(--white);
    font-size: .8rem; font-family: var(--font-heading);
    padding: 4px 10px; border-radius: 20px; z-index: 2;
}

/* Dot indicators */
.gallery-dots {
    position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%);
    display: flex; gap: 6px; z-index: 2;
}
.gallery-dot {
    width: 7px; height: 7px; border-radius: 50%;
    background: rgba(255,255,255,.5);
    transition: background var(--transition), transform var(--transition);
}
.gallery-dot.is-active { background: var(--white); transform: scale(1.3); }

/* Swipe hint — mobile only; JS fades it out on first swipe */
.gallery-swipe-hint {
    position: absolute; bottom: 44px; left: 50%; transform: translateX(-50%);
    background: rgba(0,0,0,.45); color: rgba(255,255,255,.9);
    font-size: .72rem; font-family: var(--font-heading); letter-spacing: .04em;
    padding: 5px 14px; border-radius: 20px; pointer-events: none;
    display: none;                  /* hidden on desktop by default */
    align-items: center; gap: 4px;
    transition: opacity .4s ease; z-index: 2;
}
.gallery-swipe-hint.is-hidden { opacity: 0; }

/* Placeholder for no-image state */
.gallery-placeholder {
    display: flex; flex-direction: column; align-items: center;
    justify-content: center; height: 100%; gap: 12px; color: var(--charcoal-40);
}

/* Thumbnail strip */
.gallery-thumbs {
    display: flex; gap: 8px; margin-top: 10px;
    overflow-x: auto; padding-bottom: 4px; scrollbar-width: none;
}
.gallery-thumbs::-webkit-scrollbar { display: none; }
.gallery-thumb {
    border-radius: 6px; overflow: hidden;
    border: 2px solid transparent;
    transition: border-color var(--transition);
    flex-shrink: 0; background: none; padding: 0;
}
.gallery-thumb.is-active,
.gallery-thumb:hover { border-color: var(--orange); }
.gallery-thumb img { width: 90px; height: 60px; object-fit: cover; display: block; }

/* Status badge inside viewport */
.gallery-badge { position: absolute; top: 16px; left: 16px; z-index: 2; }

/* Zoom / expand button */
.gallery-zoom-btn {
    position: absolute; bottom: 12px; left: 12px; z-index: 2;
    background: rgba(0,0,0,.55); color: var(--white);
    border-radius: var(--radius); width: 36px; height: 36px;
    display: flex; align-items: center; justify-content: center;
    transition: background var(--transition);
}
.gallery-zoom-btn:hover { background: var(--orange); }

/* ── Lightbox overlay ───────────────────────────────────────────── */
.pnb-lightbox {
    position: fixed; inset: 0; z-index: 9999;
    background: rgba(0,0,0,.96);
    display: flex; flex-direction: column;
    /* Hidden state */
    opacity: 0; pointer-events: none; visibility: hidden;
    transition: opacity .28s ease, visibility .28s ease;
}
.pnb-lightbox.is-open {
    opacity: 1; pointer-events: auto; visibility: visible;
}

/* Close button */
.lb-close {
    position: absolute; top: 14px; right: 14px; z-index: 10;
    background: rgba(255,255,255,.12); color: #fff;
    border-radius: 50%; width: 44px; height: 44px;
    display: flex; align-items: center; justify-content: center;
    transition: background var(--transition);
}
.lb-close:hover { background: var(--orange); }

/* Stage holds viewport + prev/next */
.lb-stage {
    flex: 1; display: flex; align-items: center;
    min-height: 0; position: relative;
    padding: 0 60px; /* room for arrow buttons */
}

/* Prev / next inside lightbox */
.lb-btn {
    position: absolute; top: 50%; transform: translateY(-50%);
    background: rgba(255,255,255,.12); color: #fff;
    border-radius: 50%; width: 48px; height: 48px;
    display: flex; align-items: center; justify-content: center;
    transition: background var(--transition); z-index: 2;
    flex-shrink: 0;
}
.lb-btn:hover  { background: var(--orange); }
.lb-prev       { left: 8px; }
.lb-next       { right: 8px; }
.lb-btn:disabled { opacity: .25; pointer-events: none; }

/* Lightbox viewport + track */
.lb-viewport {
    flex: 1; height: 100%; overflow: hidden;
    user-select: none; -webkit-user-select: none;
    cursor: grab; position: relative;
}
.lb-viewport:active { cursor: grabbing; }
.lb-track {
    display: flex; width: 100%; height: 100%;
    flex-wrap: nowrap;
    transition: transform .32s cubic-bezier(.25,.46,.45,.94);
    will-change: transform;
}
.lb-track.is-dragging { transition: none; }

/* Each lightbox slide */
.lb-slide {
    flex: 0 0 auto; width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
}
.lb-img {
    max-width: 100%; max-height: 100%;
    object-fit: contain; display: block;
    pointer-events: none; border-radius: 4px;
}

/* Footer: counter + dots */
.lb-footer {
    display: flex; flex-direction: column; align-items: center; gap: 8px;
    padding: 12px 0 20px; flex-shrink: 0;
}
.lb-counter {
    color: rgba(255,255,255,.65);
    font-family: var(--font-heading); font-size: .8rem; letter-spacing: .04em;
}
.lb-dots {
    display: flex; gap: 7px;
}
.lb-dot {
    width: 7px; height: 7px; border-radius: 50%;
    background: rgba(255,255,255,.3);
    transition: background var(--transition), transform var(--transition);
}
.lb-dot.is-active { background: #fff; transform: scale(1.3); }



/* Property header */
.property-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.property-title { margin-bottom: 8px; }
.property-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.tag { background: var(--blue-lt); color: var(--blue); font-family: var(--font-heading); font-size: .75rem; font-weight: 600; padding: 3px 10px; border-radius: 20px; }
.property-price { font-family: var(--font-heading); font-weight: 700; font-size: 1.75rem; color: var(--orange); flex-shrink: 0; }

/* Key Details */
.key-details { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; margin-bottom: 32px; }
.key-detail { display: flex; align-items: center; gap: 10px; background: var(--ivory-dk); padding: 14px 16px; border-radius: var(--radius); }
.key-detail svg { color: var(--orange); flex-shrink: 0; }
.kd-label { display: block; font-family: var(--font-heading); font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--charcoal-60); margin-bottom: 2px; }
.kd-val { display: block; font-weight: 600; font-size: .925rem; color: var(--charcoal); }

/* Property Sections */
.property-section { margin-bottom: 36px; }
.property-section h2 { font-size: 1.25rem; margin-bottom: 16px; padding-bottom: 10px; border-bottom: 2px solid var(--border); }

.features-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px; }
.features-list li { display: flex; align-items: center; gap: 8px; font-size: .9rem; color: var(--charcoal-80); }
.features-list li svg { color: var(--success); flex-shrink: 0; }

.prose p   { margin-bottom: 1em; line-height: 1.75; }
.prose h3  { font-family: var(--font-heading); margin: 1.5em 0 .5em; }
.prose ul  { list-style: disc; padding-left: 1.5rem; margin-bottom: 1em; }
.prose li  { margin-bottom: .25em; }

/* Sidebar */
.property-sidebar { position: sticky; top: calc(var(--header-h) + 24px); display: flex; flex-direction: column; gap: 20px; }
.sidebar-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; }
.sidebar-card h3 { font-size: 1rem; margin-bottom: 16px; padding-bottom: 10px; border-bottom: 1px solid var(--border); }
.sidebar-card--cta { border-top: 4px solid var(--orange); }

.sc-price { font-family: var(--font-heading); font-size: 1.75rem; font-weight: 700; color: var(--orange); margin-bottom: 8px; }
.sidebar-card--cta .badge { margin-bottom: 16px; }
.sidebar-card--cta .btn { margin-bottom: 8px; }

.quick-facts { display: flex; flex-direction: column; gap: 10px; }
.quick-facts li { display: flex; justify-content: space-between; align-items: center; font-size: .875rem; gap: 8px; }
.quick-facts strong { color: var(--charcoal-60); font-weight: 600; font-family: var(--font-heading); font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; }
.quick-facts span { font-weight: 600; color: var(--charcoal); text-align: right; }

/* ── Inquiry Form ───────────────────────────────────────────── */
.inquiry-form { display: flex; flex-direction: column; gap: 14px; }
.form-row { display: flex; flex-direction: column; gap: 5px; }
.form-label { font-family: var(--font-heading); font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--charcoal-60); }
.form-label span { color: var(--error); }
.form-input {
    font-family: var(--font-body); font-size: .9rem; color: var(--charcoal);
    border: 1px solid var(--border); border-radius: var(--radius);
    padding: 10px 14px; background: var(--ivory); width: 100%;
    transition: border-color var(--transition);
}
.form-input:focus { outline: none; border-color: var(--orange); background: var(--white); }
.form-textarea { resize: vertical; min-height: 100px; }
.form-success { background: #e6f7ee; color: #1a7a40; border: 1px solid #b7dfc5; padding: 12px 16px; border-radius: var(--radius); display: flex; align-items: center; gap: 8px; font-family: var(--font-heading); font-size: .875rem; font-weight: 600; }
.form-error   { background: #fde9e9; color: var(--error); border: 1px solid #f5b7b7; padding: 12px 16px; border-radius: var(--radius); font-size: .875rem; margin-bottom: 8px; }

/* ── Pagination ─────────────────────────────────────────────── */
.pagination { display: flex; justify-content: center; gap: 6px; flex-wrap: wrap; margin-top: 48px; }
.pagination .page-numbers { font-family: var(--font-heading); font-size: .875rem; font-weight: 600; padding: 8px 14px; border-radius: var(--radius); border: 1px solid var(--border); color: var(--charcoal-60); transition: background var(--transition), color var(--transition), border-color var(--transition); }
.pagination .page-numbers.current,
.pagination .page-numbers:hover { background: var(--orange); color: var(--white); border-color: var(--orange); }

/* ── Blog Grid ──────────────────────────────────────────────── */
.blog-archive-layout { display: grid; grid-template-columns: 1fr 280px; gap: var(--gap); padding: 48px 0 72px; }
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 28px; align-content: start; }
.blog-sidebar { position: sticky; top: calc(var(--header-h) + 24px); }

.post-card { background: var(--white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: box-shadow var(--transition), transform var(--transition); display: flex; flex-direction: column; }
.post-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.post-card__thumb { display: block; aspect-ratio: 16/9; overflow: hidden; }
.post-card__img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.post-card:hover .post-card__img { transform: scale(1.04); }
.post-card__body { padding: 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post-card__meta { font-size: .8rem; color: var(--charcoal-60); font-family: var(--font-heading); }
.post-card__title { font-size: 1.05rem; line-height: 1.4; }
.post-card__title a { color: var(--charcoal); }
.post-card__title a:hover { color: var(--orange); }
.post-card__excerpt { font-size: .9rem; color: var(--charcoal-60); flex: 1; line-height: 1.6; }

.blog-single-layout { display: grid; grid-template-columns: 1fr 260px; gap: var(--gap); padding: 48px 0 72px; align-items: start; }
.blog-post__meta { font-size: .8rem; color: var(--charcoal-60); margin-bottom: 8px; font-family: var(--font-heading); }
.blog-post__title { margin-bottom: 24px; }
.blog-post__thumb { border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 28px; }
.blog-post__content { font-size: 1rem; line-height: 1.8; }

/* Widgets */
.widget { margin-bottom: 28px; }
.widget__title { font-size: 1rem; margin-bottom: 12px; padding-bottom: 8px; border-bottom: 2px solid var(--border); }

/* ── Footer ─────────────────────────────────────────────────── */
.site-footer { background: var(--charcoal); color: rgba(255,255,255,.75); margin-top: auto; }
.footer-inner { padding-top: 64px; padding-bottom: 32px; }
.footer-grid  { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer-col--brand { }

.footer-brand-name { font-family: var(--font-heading); font-weight: 700; font-size: 1.25rem; color: var(--white); margin-bottom: 8px; }
.footer-brand-ltd { color: var(--orange); }
.footer-tagline { font-size: .9rem; color: rgba(255,255,255,.55); margin-bottom: 20px; font-style: italic; }
.footer-contact { display: flex; flex-direction: column; gap: 10px; }
.footer-contact a { display: flex; align-items: center; gap: 8px; font-size: .875rem; color: rgba(255,255,255,.65); transition: color var(--transition); }
.footer-contact a:hover { color: var(--orange); }
.footer-col img.custom-logo { filter: brightness(0) invert(1); height: 40px; width: auto; margin-bottom: 12px; }

.footer-heading { font-family: var(--font-heading); font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--orange); margin-bottom: 16px; }
.footer-links   { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: .875rem; color: rgba(255,255,255,.65); transition: color var(--transition); }
.footer-links a:hover { color: var(--white); }
.footer-links .menu-item a { font-size: .875rem; color: rgba(255,255,255,.65); transition: color var(--transition); }
.footer-links .menu-item a:hover { color: var(--white); }

.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.footer-bottom p { font-size: .8rem; color: rgba(255,255,255,.45); }

/* ── WhatsApp Float ─────────────────────────────────────────── */
.wa-float {
    position: fixed; bottom: 28px; right: 28px; z-index: 200;
    background: var(--wa-green); color: var(--white);
    width: 60px; height: 60px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 20px rgba(37,211,102,.45);
    transition: transform var(--transition), box-shadow var(--transition);
}
.wa-float:hover { transform: scale(1.1); box-shadow: 0 6px 28px rgba(37,211,102,.6); color: var(--white); }

/* ── Page Content (Elementor pages) ────────────────────────── */
.page-content { min-height: 300px; }
.page-content .elementor { width: 100%; }

/* ── Shortcode Locations List ───────────────────────────────── */
.locations-list { display: flex; flex-wrap: wrap; gap: 10px; }
.locations-list li a { display: inline-block; background: var(--blue-lt); color: var(--blue); font-family: var(--font-heading); font-size: .8125rem; font-weight: 600; padding: 6px 14px; border-radius: 20px; transition: background var(--transition), color var(--transition); }
.locations-list li a:hover { background: var(--blue); color: var(--white); }

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE — MOBILE & TABLET
   Breakpoints: 1024 · 768 · 540 · 400
   ══════════════════════════════════════════════════════════════ */

/* Global: prevent any element from causing horizontal scroll */
html, body { overflow-x: hidden; }

/* ── Tablet landscape (≤1024px) ──────────────────────────────── */
@media (max-width: 1024px) {

    /* Layouts */
    .footer-grid                    { grid-template-columns: 1fr 1fr; }
    .property-layout                { grid-template-columns: 1fr; }
    .blog-archive-layout            { grid-template-columns: 1fr; }
    .blog-single-layout             { grid-template-columns: 1fr; }
    .blog-sidebar                   { position: static; }

    /* On tablet the sidebar stacks below the main column.
       Show its cards in a 2-column grid so they don't feel like a wall of boxes. */
    .property-sidebar {
        position: static;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
        align-items: start;
    }
    /* Price/CTA card always spans both columns */
    .property-sidebar .sidebar-card--cta { grid-column: 1 / -1; }
}

/* ── Tablet portrait / large mobile (≤768px) ─────────────────── */
@media (max-width: 768px) {
    :root { --header-h: 60px; --gap: 24px; }

    /* Sections */
    .section { padding: 52px 0; }
    .page-wrap { padding: 36px 0 56px; }

    /* ── Header / Nav ─────── */
    .header-wa                      { display: inline-flex; }
    .mobile-toggle                  { display: flex; }
    .site-nav {
        display: none;
        position: absolute; top: var(--header-h); left: 0; right: 0;
        background: var(--white); border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow-md); padding: 12px 0;
        z-index: 101;               /* stay above all page content */
    }
    .site-nav.is-open               { display: block; }
    .nav-menu                       { flex-direction: column; align-items: stretch; gap: 2px; padding: 0 16px; }
    .nav-menu li a                  { padding: 11px 12px; display: flex; align-items: center; min-height: 44px; }

    /* ── Page banner ──────── */
    .page-banner                    { padding: 36px 0 28px; }
    .page-banner__title             { font-size: clamp(1.5rem, 6vw, 2.25rem); }
    .page-banner--sm                { padding: 28px 0 22px; }

    /* ── Float WhatsApp ───── */
    .wa-float                       { width: 52px; height: 52px; bottom: 18px; right: 18px; }

    /* ── Filter bar ────────── */
    .filter-form                    { flex-direction: column; }
    .filter-group                   { width: 100%; }
    .filter-select, .filter-input   { min-width: unset; width: 100%; }
    .filter-actions                 { display: flex; gap: 8px; }
    .filter-actions .btn            { flex: 1; min-height: 44px; justify-content: center; }

    /* ── Property grid ─────── */
    .property-grid                  { grid-template-columns: 1fr 1fr; }

    /* ── Archive CTA strip ─── */
    .cta-strip .container           { flex-direction: column; text-align: center; gap: 16px; }

    /* ── Property detail ────── */
    .key-details                    { grid-template-columns: 1fr 1fr; }
    .property-header                { flex-direction: column; }
    .property-price                 { font-size: 1.4rem; }

    /* ── Gallery: show swipe hint on touch devices ── */
    .gallery-swipe-hint             { display: flex; }

    /* ── Breadcrumb ────────── */
    .breadcrumb                     { font-size: .75rem; }

    /* ── Footer ─────────────── */
    .footer-grid                    { grid-template-columns: 1fr 1fr; gap: 28px; }
    .footer-col--brand              { grid-column: 1 / -1; }
    .footer-inner                   { padding-top: 48px; padding-bottom: 24px; }
    .footer-bottom                  { flex-direction: column; text-align: center; align-items: center; gap: 6px; }

    /* ── Page article alignment ── */
    .page-article .alignwide,
    .page-article .alignfull        { margin-left: 0; margin-right: 0; }
}

/* ── Large phones (≤540px) ───────────────────────────────────── */
@media (max-width: 540px) {

    /* ── Layout ────────────── */
    .property-grid                  { grid-template-columns: 1fr; }
    .footer-grid                    { grid-template-columns: 1fr; }
    .features-list                  { grid-template-columns: 1fr; }

    /* ── Property sidebar: single column on phone ── */
    .property-sidebar               { grid-template-columns: 1fr; }
    .property-sidebar .sidebar-card--cta { grid-column: auto; }

    /* ── Gallery thumbnails ── */
    .gallery-thumbs                 { gap: 6px; }
    .gallery-thumb img              { width: 70px; height: 48px; }
    .gallery-btn                    { width: 38px; height: 38px; }

    /* ── Cards ─────────────── */
    .property-card__body            { padding: 14px 14px 18px; }
    .property-card__footer          { flex-wrap: wrap; }

    /* ── Lightbox ──────────── */
    .lb-stage                       { padding: 0 44px; }
    .lb-btn                         { width: 38px; height: 38px; }
    .lb-prev                        { left: 4px; }
    .lb-next                        { right: 4px; }

    /* ── Homepage ──────────── */
    .hp-stats__grid                 { grid-template-columns: 1fr 1fr; }
    .hp-hero__actions               { flex-direction: column; }
    .hp-hero__actions .btn          { width: 100%; justify-content: center; min-height: 48px; }
    .hp-why-card                    { padding: 24px 20px; }
    .hp-testimonial-card            { padding: 24px 20px; }
    .hp-section__border-wrap        { padding: 44px 0; }
    .hp-search-panel                { padding: 24px 20px; }
    .hp-search-form                 { gap: 20px; }
    .hp-cta-banner                  { padding: 48px 0; }
    .hp-cta-banner__actions .btn    { flex: 1; justify-content: center; }
}

/* ── Small phones (≤400px) ───────────────────────────────────── */
@media (max-width: 400px) {

    /* ── Stats: single column ── */
    .hp-stats__grid                 { grid-template-columns: 1fr; }
    .hp-stat                        { border-right: none; border-bottom: 1px solid rgba(255,255,255,.08); }
    .hp-stat:last-child             { border-bottom: none; }

    /* ── Search panel: very compact ── */
    .hp-search-panel                { padding: 16px 12px; }
    .hp-search-row--top             { flex-direction: column; }
    .hp-search-row--top .hp-search-field { min-width: 0; width: 100%; }

    /* ── Gallery thumbnails tiny ── */
    .gallery-thumb img              { width: 56px; height: 38px; }
    .gallery-btn                    { width: 34px; height: 34px; }

    /* ── Footer minimal padding ── */
    .footer-inner                   { padding-top: 32px; }
    .footer-grid                    { gap: 20px; }

    /* ── Ensure minimum tap targets across all buttons ── */
    .btn                            { min-height: 44px; }
    .nav-menu li a                  { min-height: 48px; }
}

/* ════════════════════════════════════════════════════════════
   HOMEPAGE — PREMIUM SECTIONS
   ════════════════════════════════════════════════════════════ */

/* ── Section Wrapper with border accent ─────────────────────── */
.hp-section {
    padding: 0;
    position: relative;
}
.hp-section__border-wrap {
    padding: 80px 0;
    position: relative;
}
.hp-section__border-wrap::before {
    content: '';
    position: absolute;
    top: 0; left: 50%; transform: translateX(-50%);
    width: calc(100% - 80px);
    max-width: var(--container);
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
}
.hp-section__border-wrap--alt {
    background: var(--ivory-dk);
}
.hp-section__border-wrap--sienna {
    background: linear-gradient(135deg, #fdf6f2 0%, #faf0ea 100%);
    border-top: 3px solid var(--orange);
    border-bottom: 3px solid var(--orange);
}

/* Section header variants */
.hp-section__header { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.hp-section__header--flex {
    display: flex; align-items: flex-end; justify-content: space-between;
    text-align: left; max-width: 100%; gap: 24px; flex-wrap: wrap;
}
.hp-section__header--flex .section-sub { max-width: 480px; }
.hp-section__header .section-title { position: relative; display: inline-block; }
.hp-section__header .section-title::after {
    content: '';
    display: block;
    width: 48px; height: 3px;
    background: var(--orange);
    border-radius: 2px;
    margin: 10px auto 0;
}
.hp-section__header--flex .section-title::after {
    margin: 10px 0 0;
}

/* ── Hero ───────────────────────────────────────────────────── */
.hp-hero {
    position: relative;
    min-height: 100svh;
    display: flex; flex-direction: column;
    overflow: hidden;
    margin-top: calc(-1 * var(--header-h));
}
.hp-hero__bg {
    position: absolute; inset: 0; z-index: 0;
}
.hp-hero__img {
    width: 100%; height: 100%; object-fit: cover;
    object-position: center 60%;
}
.hp-hero__img--fallback {
    background: linear-gradient(145deg, var(--sienna) 0%, #2a1a0e 40%, var(--charcoal) 100%);
    height: 100%;
}
.hp-hero__overlay {
    position: absolute; inset: 0;
    background: linear-gradient(
        160deg,
        rgba(26,10,4,.72) 0%,
        rgba(139,46,24,.55) 45%,
        rgba(26,26,26,.65) 100%
    );
}

.hp-hero__content {
    position: relative; z-index: 1;
    flex: 1;
    display: flex; align-items: center;
    padding-top: calc(var(--header-h) + 60px);
    padding-bottom: 60px;
}
.hp-hero__inner { max-width: 720px; }

.hp-hero__eyebrow {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: .75rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: .14em;
    color: var(--orange);
    background: rgba(224,90,26,.15);
    border: 1px solid rgba(224,90,26,.4);
    padding: 6px 16px; border-radius: 30px;
    margin-bottom: 28px;
}

.hp-hero__headline {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 7vw, 5rem);
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: -.02em;
    color: var(--white);
    margin-bottom: 24px;
    text-shadow: 0 2px 24px rgba(0,0,0,.4);
}
.hp-hero__headline em { color: var(--orange); font-style: normal; }

.hp-hero__tagline {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(255,255,255,.85);
    line-height: 1.65;
    max-width: 560px;
    margin-bottom: 40px;
    font-family: var(--font-body);
}

.hp-hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Scroll cue */
.hp-hero__scroll {
    position: relative; z-index: 1;
    display: flex; flex-direction: column; align-items: center; gap: 6px;
    padding-bottom: 28px; color: rgba(255,255,255,.5);
    font-family: var(--font-heading); font-size: .7rem;
    letter-spacing: .1em; text-transform: uppercase;
    animation: scrollBounce 2.4s ease-in-out infinite;
}
.hp-hero__scroll span::before { content: 'Scroll'; }
@keyframes scrollBounce {
    0%,100% { transform: translateY(0); opacity: .5; }
    50%      { transform: translateY(6px); opacity: .9; }
}

/* ── Stats Strip ────────────────────────────────────────────── */
.hp-stats {
    background: var(--charcoal);
    padding: 0;
    position: relative;
    z-index: 2;
}
.hp-stats::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--sienna), var(--orange), var(--sienna));
}
.hp-stats__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}
.hp-stat {
    display: flex; flex-direction: column; align-items: center;
    padding: 40px 24px;
    text-align: center;
    border-right: 1px solid rgba(255,255,255,.08);
    position: relative;
    transition: background var(--transition);
}
.hp-stat:last-child { border-right: none; }
.hp-stat:hover { background: rgba(255,255,255,.03); }

.hp-stat__icon { color: var(--orange); margin-bottom: 12px; opacity: .85; }
.hp-stat__num {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1;
    margin-bottom: 8px;
}
.hp-stat__label {
    font-family: var(--font-heading);
    font-size: .75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: rgba(255,255,255,.5);
}

/* "Properties Available" stat — Trust Blue on Ivory White */
.hp-stat--available {
    background: #FAFAF8;
    border-right-color: rgba(43,95,172,.15);
}
.hp-stat--available .hp-stat__icon { color: #2B5FAC; opacity: 1; }
.hp-stat--available .hp-stat__num  { color: #2B5FAC; }
.hp-stat--available .hp-stat__label { color: #1A1A1A; opacity: .65; }
.hp-stat--available:hover { background: #f0f4fb; }

/* ── Property Search Module ─────────────────────────────────── */
.hp-search-panel {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px 44px;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}
.hp-search-panel::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0; height: 4px;
    background: linear-gradient(90deg, var(--orange), var(--sienna), var(--orange));
}

.hp-search-form { display: flex; flex-direction: column; gap: 28px; }

/* Row 1 — type + location */
.hp-search-row { display: flex; align-items: flex-end; gap: 20px; flex-wrap: wrap; }
.hp-search-row--top .hp-search-field { flex: 1; min-width: 200px; }

/* Row 2 — price range + submit */
.hp-search-row--price { align-items: flex-end; gap: 16px; }
.hp-search-field--price-label {
    display: flex; align-items: flex-end;
    padding-bottom: 12px;
    flex-shrink: 0;
}
.hp-search-field--min,
.hp-search-field--max { flex: 1; min-width: 160px; }
.hp-search-field--range-sep { flex-shrink: 0; padding-bottom: 12px; }
.hp-search-field--submit { flex-shrink: 0; }

.hp-search-label {
    display: flex; align-items: center; gap: 6px;
    font-family: var(--font-heading);
    font-size: .72rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: .1em;
    color: var(--charcoal-60);
    margin-bottom: 8px;
}
.hp-search-label--sub { font-size: .68rem; }
.hp-search-label svg { color: var(--orange); flex-shrink: 0; }

.hp-search-select,
.hp-search-input {
    width: 100%;
    font-family: var(--font-body); font-size: .925rem;
    color: var(--charcoal);
    background: var(--ivory);
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    padding: 12px 16px;
    transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
    -webkit-appearance: none;
    appearance: none;
}
.hp-search-select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2'%3E%3Cpath d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 40px;
}
.hp-search-select:focus,
.hp-search-input:focus {
    outline: none;
    border-color: var(--orange);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(224,90,26,.1);
}
.hp-search-select optgroup { font-weight: 700; color: var(--charcoal-60); }
.hp-search-select option   { font-weight: 400; color: var(--charcoal); }

.hp-search-input-wrap { position: relative; }
.hp-search-prefix {
    position: absolute; left: 12px; top: 50%; transform: translateY(-50%);
    font-family: var(--font-heading); font-size: .75rem; font-weight: 700;
    color: var(--charcoal-40); pointer-events: none;
}
.hp-search-input-wrap .hp-search-input { padding-left: 40px; }

.hp-search-range-sep {
    font-family: var(--font-heading); font-size: .8rem; font-weight: 600;
    color: var(--charcoal-40);
    padding-bottom: 14px;
}

.hp-search-btn { gap: 10px; white-space: nowrap; }
.hp-search-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 24px rgba(224,90,26,.35); }

/* Quick-pick pills */
.hp-search-quickpicks {
    display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}
.hp-search-quickpicks__label {
    font-family: var(--font-heading); font-size: .72rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: .1em;
    color: var(--charcoal-40); flex-shrink: 0;
}
.hp-search-pill {
    display: inline-flex; align-items: center; gap: 5px;
    font-family: var(--font-heading); font-size: .8rem; font-weight: 600;
    color: var(--charcoal-60);
    background: var(--ivory-dk);
    border: 1px solid var(--border);
    border-radius: 30px;
    padding: 6px 14px;
    transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition);
    text-decoration: none;
}
.hp-search-pill:hover {
    background: var(--orange-lt);
    color: var(--sienna);
    border-color: var(--orange);
    transform: translateY(-1px);
}
.hp-search-pill__count {
    background: var(--white);
    color: var(--charcoal-60);
    font-size: .7rem; font-weight: 700;
    padding: 1px 6px; border-radius: 20px;
    border: 1px solid var(--border);
}
.hp-search-pill--all {
    background: var(--charcoal);
    color: var(--white);
    border-color: var(--charcoal);
}
.hp-search-pill--all:hover {
    background: var(--orange);
    color: var(--white);
    border-color: var(--orange);
}
.hp-search-pill--all svg { color: currentColor; }

/* Responsive search */
@media (max-width: 900px) {
    .hp-search-panel { padding: 28px 24px; }
    .hp-search-row--price { flex-wrap: wrap; }
    .hp-search-field--price-label { width: 100%; padding-bottom: 0; }
    .hp-search-field--min,
    .hp-search-field--max { min-width: 130px; }
    .hp-search-field--submit { width: 100%; }
    .hp-search-btn { width: 100%; justify-content: center; }
}
@media (max-width: 640px) {
    .hp-search-row--top .hp-search-field { min-width: 100%; }
    .hp-search-field--min,
    .hp-search-field--max,
    .hp-search-field--range-sep { min-width: unset; }
    .hp-search-range-sep { padding-bottom: 0; align-self: flex-end; padding-bottom: 12px; }
}

/* ── Property Types ─────────────────────────────────────────── */
.hp-types__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 28px;
}
.hp-type-card {
    display: flex; gap: 24px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
    position: relative; overflow: hidden;
}
.hp-type-card::before {
    content: '';
    position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
    background: var(--orange);
    transform: scaleY(0); transform-origin: bottom;
    transition: transform .3s ease;
    border-radius: 0 2px 2px 0;
}
.hp-type-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: var(--orange-lt); }
.hp-type-card:hover::before { transform: scaleY(1); }

.hp-type-card__icon {
    flex-shrink: 0;
    width: 64px; height: 64px;
    background: var(--orange-lt);
    border-radius: var(--radius);
    display: flex; align-items: center; justify-content: center;
    color: var(--orange);
    transition: background var(--transition);
}
.hp-type-card:hover .hp-type-card__icon { background: var(--orange); color: var(--white); }

.hp-type-card__body { flex: 1; }
.hp-type-card__title { font-size: 1.15rem; margin-bottom: 14px; color: var(--charcoal); }
.hp-type-card__children { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.hp-type-card__children a {
    display: flex; align-items: center; gap: 8px;
    font-family: var(--font-heading); font-size: .875rem; font-weight: 600;
    color: var(--charcoal-60);
    transition: color var(--transition);
}
.hp-type-card__children a:hover { color: var(--orange); }
.hp-type-card__children svg { color: var(--charcoal-20); flex-shrink: 0; }
.hp-type-card__children a:hover svg { color: var(--orange); }
.child-count {
    margin-left: auto;
    background: var(--ivory-dk);
    font-size: .75rem; font-weight: 700;
    padding: 2px 8px; border-radius: 20px;
    color: var(--charcoal-60);
    font-family: var(--font-heading);
}

/* ── Story / Transformation ─────────────────────────────────── */
.hp-story__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 72px;
    align-items: start;
}
.hp-story__text { }
.hp-story__text .section-title { text-align: left; }
.hp-story__text .section-title::after { margin: 10px 0 0; }
.hp-story__text p { color: var(--charcoal-60); margin: 20px 0 28px; font-size: 1.05rem; line-height: 1.8; }
.hp-story__text .btn { margin-top: 8px; }

.hp-story__quote {
    border-left: 4px solid var(--orange);
    padding: 16px 24px;
    margin: 28px 0;
    background: var(--orange-lt);
    border-radius: 0 var(--radius) var(--radius) 0;
}
.hp-story__quote p {
    font-family: var(--font-display);
    font-size: 1.15rem; font-style: italic;
    color: var(--sienna);
    margin: 0;
}

.hp-story__pillars { display: flex; flex-direction: column; gap: 20px; }
.hp-pillar {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px 28px;
    display: grid; grid-template-columns: 2.5rem 1fr 1fr; gap: 16px;
    align-items: start;
    transition: box-shadow var(--transition), border-color var(--transition);
}
.hp-pillar:hover { box-shadow: var(--shadow-md); border-color: var(--orange-lt); }

.hp-pillar__num {
    font-family: var(--font-display); font-size: 1.5rem; font-weight: 700;
    color: var(--orange); line-height: 1;
}
.hp-pillar__transform { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; }
.hp-pillar__from { font-family: var(--font-heading); font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--charcoal-40); text-decoration: line-through; }
.hp-pillar__transform svg { color: var(--orange); }
.hp-pillar__to   { font-family: var(--font-heading); font-size: .9rem; font-weight: 700; color: var(--charcoal); }
.hp-pillar__desc { font-size: .875rem; color: var(--charcoal-60); line-height: 1.6; grid-column: 2 / -1; }

/* ── Why Grid ───────────────────────────────────────────────── */
.hp-why__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.hp-why-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
    position: relative; overflow: hidden;
}
.hp-why-card::after {
    content: '';
    position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, var(--orange), var(--sienna));
    transform: scaleX(0); transform-origin: left;
    transition: transform .3s ease;
}
.hp-why-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); border-color: var(--orange-lt); }
.hp-why-card:hover::after { transform: scaleX(1); }

.hp-why-card__icon {
    width: 58px; height: 58px;
    background: var(--orange-lt);
    border-radius: var(--radius);
    display: flex; align-items: center; justify-content: center;
    color: var(--orange);
    margin-bottom: 20px;
    transition: background var(--transition);
}
.hp-why-card:hover .hp-why-card__icon { background: var(--orange); color: var(--white); }
.hp-why-card h3 { font-size: 1rem; margin-bottom: 10px; color: var(--charcoal); }
.hp-why-card p  { font-size: .9rem; color: var(--charcoal-60); line-height: 1.65; }

/* ── Locations ──────────────────────────────────────────────── */
.hp-locations__grid { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.hp-location-chip {
    display: inline-flex; align-items: center; gap: 7px;
    padding: 10px 20px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 40px;
    font-family: var(--font-heading); font-size: .875rem; font-weight: 600;
    color: var(--charcoal-60);
    text-decoration: none;
    transition: background var(--transition), color var(--transition), border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.hp-location-chip svg { color: var(--orange); flex-shrink: 0; }
.hp-location-chip:hover {
    background: var(--orange); color: var(--white);
    border-color: var(--orange);
    box-shadow: 0 4px 16px rgba(224,90,26,.3);
    transform: translateY(-2px);
}
.hp-location-chip:hover svg { color: var(--white); }
.chip-count {
    background: var(--orange-lt);
    color: var(--orange);
    font-size: .7rem; font-weight: 700;
    padding: 2px 7px; border-radius: 20px;
    transition: background var(--transition), color var(--transition);
}
.hp-location-chip:hover .chip-count { background: rgba(255,255,255,.25); color: var(--white); }

/* ── Testimonials ───────────────────────────────────────────── */
.hp-testimonials__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.hp-testimonial-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    display: flex; flex-direction: column; gap: 16px;
    position: relative;
    transition: box-shadow var(--transition), transform var(--transition);
}
.hp-testimonial-card::before {
    content: '\201C';
    position: absolute; top: 16px; right: 24px;
    font-family: var(--font-display); font-size: 5rem; line-height: 1;
    color: var(--orange-lt);
    font-weight: 900;
}
.hp-testimonial-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }

.hp-testimonial-card__stars { color: var(--orange); font-size: 1rem; letter-spacing: 2px; }
.hp-testimonial-card__body  { font-size: .925rem; color: var(--charcoal-60); line-height: 1.75; font-style: italic; flex: 1; }
.hp-testimonial-card__author { display: flex; align-items: center; gap: 12px; }
.hp-testimonial-card__avatar {
    width: 44px; height: 44px; border-radius: 50%;
    background: linear-gradient(135deg, var(--orange), var(--sienna));
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-heading); font-weight: 700; font-size: 1rem;
    color: var(--white); flex-shrink: 0;
}
.hp-testimonial-card__name { font-family: var(--font-heading); font-weight: 700; font-size: .9rem; color: var(--charcoal); }
.hp-testimonial-card__role { font-size: .8rem; color: var(--charcoal-60); }

/* ── CTA Banner ─────────────────────────────────────────────── */
.hp-cta-banner {
    position: relative; overflow: hidden;
    padding: 80px 0;
}
.hp-cta-banner__bg {
    position: absolute; inset: 0;
    background: linear-gradient(135deg, var(--sienna) 0%, #1a0a06 50%, var(--charcoal) 100%);
}
.hp-cta-banner__bg::before {
    content: '';
    position: absolute; inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23E05A1A' fill-opacity='0.06'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
}
.hp-cta-banner .container { position: relative; z-index: 1; }
.hp-cta-banner__inner {
    display: flex; align-items: center;
    justify-content: space-between; gap: 40px; flex-wrap: wrap;
}
.hp-cta-banner__text h2 {
    font-family: var(--font-display); font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 700; color: var(--white); line-height: 1.2; margin-bottom: 12px;
}
.hp-cta-banner__text p { color: rgba(255,255,255,.75); font-size: 1.05rem; max-width: 440px; }
.hp-cta-banner__actions { display: flex; gap: 14px; flex-wrap: wrap; flex-shrink: 0; }

/* ── No listings placeholder ────────────────────────────────── */
.hp-no-listings {
    text-align: center; padding: 60px 20px;
    background: var(--white); border: 1px dashed var(--border);
    border-radius: var(--radius-lg); color: var(--charcoal-60);
}
.hp-no-listings a { color: var(--orange); font-weight: 600; }

/* ── Enquiry Strip ──────────────────────────────────────────── */
.hp-enquiry-strip__inner {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 64px; align-items: start;
}
.hp-enquiry-strip__text h2 { margin-bottom: 12px; }
.hp-enquiry-strip__text p  { color: var(--charcoal-60); margin-bottom: 24px; font-size: 1.05rem; line-height: 1.75; }
.hp-enquiry-strip__promises { display: flex; flex-direction: column; gap: 10px; }
.hp-enquiry-strip__promises li { display: flex; align-items: center; gap: 8px; font-size: .9rem; color: var(--charcoal-60); font-family: var(--font-heading); font-weight: 600; }
.hp-enquiry-strip__promises svg { color: var(--success); flex-shrink: 0; }

/* ── Page Article (About, Contact, standard pages) ──────────── */
.page-wrap { padding: 56px 0 80px; }
.page-article { max-width: 860px; margin: 0 auto; }
.page-article__content.wp-content { }

/* Block editor content styles (front-end mirror) */
.wp-content > * + * { margin-top: 1.25em; }
.wp-content h1 { font-family: var(--font-display); font-size: 2rem; }
.wp-content h2 { font-size: 1.6rem; padding-bottom: 8px; border-bottom: 2px solid var(--border); margin-bottom: .75em; }
.wp-content h3 { font-size: 1.2rem; color: var(--charcoal); }
.wp-content p  { line-height: 1.8; color: var(--charcoal-80); }
.wp-content ul,
.wp-content ol { padding-left: 1.5rem; }
.wp-content li { margin-bottom: .3em; line-height: 1.7; }
.wp-content a  { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.wp-content blockquote {
    border-left: 4px solid var(--orange);
    padding: 16px 24px;
    background: var(--orange-lt);
    border-radius: 0 var(--radius) var(--radius) 0;
    font-style: italic; color: var(--sienna);
    margin: 1.5em 0;
}
.wp-content img { border-radius: var(--radius); }
.wp-content figure { margin: 1.5em 0; }
.wp-content figcaption { font-size: .85rem; color: var(--charcoal-60); text-align: center; margin-top: 6px; }
.wp-content .wp-block-separator { border: none; border-top: 2px solid var(--border); margin: 2em 0; }
.wp-content .wp-block-image.alignfull img,
.wp-content .wp-block-cover.alignfull { border-radius: 0; }

/* Wide / full alignment */
.page-article .alignwide  { margin-left: calc(50% - 50vw + 80px); margin-right: calc(50% - 50vw + 80px); }
.page-article .alignfull  { margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .5s ease, transform .5s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ── Responsive: Homepage ───────────────────────────────────── */
@media (max-width: 1024px) {
    .hp-stats__grid                 { grid-template-columns: repeat(2, 1fr); }
    .hp-stat                        { border-bottom: 1px solid rgba(255,255,255,.08); }
    .hp-stat:nth-child(2)           { border-right: none; }
    .hp-story__grid                 { grid-template-columns: 1fr; gap: 40px; }
    .hp-why__grid                   { grid-template-columns: repeat(2, 1fr); }
    .hp-testimonials__grid          { grid-template-columns: repeat(2, 1fr); }
    .hp-enquiry-strip__inner        { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
    .hp-section__border-wrap        { padding: 56px 0; }
    .hp-hero__headline              { font-size: clamp(2rem, 10vw, 3rem); }
    .hp-stats__grid                 { grid-template-columns: repeat(2, 1fr); }
    .hp-types__grid                 { grid-template-columns: 1fr; }
    .hp-why__grid                   { grid-template-columns: 1fr; }
    .hp-testimonials__grid          { grid-template-columns: 1fr; }
    .hp-cta-banner__inner           { flex-direction: column; text-align: center; }
    .hp-cta-banner__text p          { margin: 0 auto; }
    .hp-pillar                      { grid-template-columns: 2rem 1fr; }
    .hp-pillar__desc                { grid-column: 1 / -1; }
    .hp-section__header--flex       { flex-direction: column; align-items: flex-start; gap: 16px; }
    /* Hero content padding with smaller header */
    .hp-hero__content               { padding-top: calc(var(--header-h) + 40px); padding-bottom: 40px; }
    .hp-hero__tagline               { margin-bottom: 28px; }
    /* Locations: tighter gaps on tablet */
    .hp-locations__grid             { gap: 8px; }
    .hp-location-chip               { padding: 9px 16px; font-size: .8125rem; }
}

/* ── Elementor Overrides (kept for safety) ──────────────────── */
.elementor-section { width: 100%; }
.elementor-section.elementor-section-stretched { left: 0 !important; width: 100% !important; }
