/* =========================================================
   BISSONETTE PROPERTIES — Main Stylesheet
   Design system translated from React/Tailwind prototype
   ========================================================= */

/* ---------------------------------------------------------
   1. RESET & BASE
   --------------------------------------------------------- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    /* Color Palette */
    --navy-900: #0B162C;
    --navy-800: #14284B;
    --navy-700: #1D3A6A;

    --brand-900: #004A82;
    --brand-800: #0060A9;
    --brand-700: #2B7CB8;

    --sand-100: #f4f1eb;
    --sand-200: #e8e1d5;
    --sand-300: #dcd0be;
    --sand-400: #c4a47c;

    --ice-100: #E8F4FD;
    --ice-200: #D0E8F9;
    --ice-300: #9DCBEF;
    --ice-400: #5BACD8;

    --rust: #b75d32;
    --cream: #fbfaf8;
    --white: #ffffff;

    /* Typography */
    --font-sans: 'Lato', ui-sans-serif, system-ui, sans-serif;
    --font-body: var(--font-sans);
    --font-serif: 'Playfair Display', ui-serif, Georgia, serif;

    /* Spacing */
    --container-max: 1280px;
    --section-py: 6rem;
    --container-px: 1.5rem;

    /* Transitions */
    --transition-base: 0.3s ease;
    --transition-slow: 0.6s ease;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-sans);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--navy-900);
    background-color: var(--cream);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    line-height: 1.15;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    cursor: pointer;
    font-family: inherit;
    border: none;
    background: none;
}

input, select, textarea {
    font-family: inherit;
}

/* ---------------------------------------------------------
   2. LAYOUT HELPERS
   --------------------------------------------------------- */
.section-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: var(--section-py) var(--container-px);
}

/* ---------------------------------------------------------
   3. NAVBAR
   --------------------------------------------------------- */
.site-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    transition: all var(--transition-base);
}

.site-header.nav-solid,
.site-header.is-scrolled {
    position: fixed;
}

/* Announcement Bar */
.announcement-bar {
    background: var(--brand-800);
    color: var(--sand-100);
    font-size: 0.8rem;
    text-align: center;
    padding: 0.5rem 1rem;
    font-weight: 300;
    letter-spacing: 0.02em;
    transition: all var(--transition-base);
    overflow: hidden;
}

.site-header.is-scrolled .announcement-bar,
.site-header.nav-solid .announcement-bar {
    height: 0;
    padding-top: 0;
    padding-bottom: 0;
    opacity: 0;
}

/* Main Nav */
.main-nav {
    width: 100%;
    transition: all var(--transition-base);
    padding: 1.25rem 0;
}

.site-header.is-scrolled .main-nav,
.site-header.nav-solid .main-nav {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(11, 22, 44, 0.08);
    padding: 0.5rem 0;
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo */
.nav-logo {
    display: block;
    flex-shrink: 0;
}

/* Transparent nav logo: h-14 base, h-20 at md (matches React prototype) */
.site-header:not(.is-scrolled):not(.nav-solid) .logo-dark,
.site-header:not(.is-scrolled):not(.nav-solid) .logo-white {
    height: 3.5rem;
    width: auto;
    object-fit: contain;
    transition: all var(--transition-base);
    transform: translateY(-6px); /* ← TWEAK THIS to nudge logo up/down in transparent nav only */
}

@media (min-width: 768px) {
    .site-header:not(.is-scrolled):not(.nav-solid) .logo-dark,
    .site-header:not(.is-scrolled):not(.nav-solid) .logo-white {
        height: 5rem;
    }
}

/* Solid nav logo: h-12 base, h-16 at md (matches React prototype) */
.site-header.is-scrolled .logo-dark,
.site-header.is-scrolled .logo-white,
.site-header.nav-solid .logo-dark,
.site-header.nav-solid .logo-white {
    height: 3rem;
    width: auto;
    object-fit: contain;
    transition: all var(--transition-base);
}

@media (min-width: 768px) {
    .site-header.is-scrolled .logo-dark,
    .site-header.is-scrolled .logo-white,
    .site-header.nav-solid .logo-dark,
    .site-header.nav-solid .logo-white {
        height: 4rem;
    }
}

/* Logo visibility toggling */
.site-header.is-scrolled .logo-dark,
.site-header.nav-solid .logo-dark {
    display: block;
}

.site-header.is-scrolled .logo-white,
.site-header.nav-solid .logo-white {
    display: none;
}

.site-header:not(.is-scrolled):not(.nav-solid) .logo-dark {
    display: none;
}

.site-header:not(.is-scrolled):not(.nav-solid) .logo-white {
    display: block;
}

/* Desktop Nav Links */
.nav-desktop {
    display: none;
    align-items: center;
    gap: 1.25rem; /* tighter gap at lg */
}

@media (min-width: 1024px) {
    .nav-desktop {
        display: flex;
    }
}

@media (min-width: 1280px) {
    .nav-desktop {
        gap: 2rem; /* full gap restored at xl+ */
    }
}

/* lg (1024–1279px): smaller text to avoid crowding the logo */
.nav-link {
    font-size: 0.8rem; /* ← TWEAK: lg nav link size */
    font-weight: 500;
    letter-spacing: 0.03em;
    color: var(--white);
    transition: color var(--transition-base);
    white-space: nowrap;
}

/* xl+ (1280px+): full size */
@media (min-width: 1280px) {
    .nav-link {
        font-size: 0.875rem;
    }
}

.site-header.is-scrolled .nav-link,
.site-header.nav-solid .nav-link {
    color: var(--navy-800);
}

.nav-link:hover {
    color: var(--sand-400) !important;
}

.nav-phone {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.nav-divider {
    border-left: 1px solid rgba(255, 255, 255, 0.3);
    padding-left: 1.25rem; /* tighter at lg */
    transition: border-color var(--transition-base);
}

@media (min-width: 1280px) {
    .nav-divider {
        padding-left: 2rem; /* restored at xl+ */
    }
}

.site-header.is-scrolled .nav-divider,
.site-header.nav-solid .nav-divider {
    border-left-color: var(--sand-200);
}

.nav-cta {
    display: inline-block;
    padding: 0.6rem 1rem; /* slightly less padding at lg */
    border-radius: 2px;
    font-size: 0.8rem; /* ← TWEAK: lg CTA button size */
    font-weight: 600;
    letter-spacing: 0.03em;
    transition: all var(--transition-base);
    white-space: nowrap;
    background: var(--white);
    color: var(--navy-900);
}

@media (min-width: 1280px) {
    .nav-cta {
        padding: 0.6rem 1.5rem;
        font-size: 0.875rem; /* restored at xl+ */
    }
}

.nav-cta:hover {
    background: var(--sand-100);
}

.site-header.is-scrolled .nav-cta,
.site-header.nav-solid .nav-cta {
    background: var(--brand-800);
    color: var(--white);
}

.site-header.is-scrolled .nav-cta:hover,
.site-header.nav-solid .nav-cta:hover {
    background: var(--brand-900);
}

/* Mobile Toggle */
.mobile-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    color: var(--white);
    transition: color var(--transition-base);
}

.site-header.is-scrolled .mobile-menu-toggle,
.site-header.nav-solid .mobile-menu-toggle {
    color: var(--navy-900);
}

@media (min-width: 1024px) {
    .mobile-menu-toggle {
        display: none;
    }
}

/* Mobile Overlay */
.mobile-overlay {
    position: fixed;
    inset: 0;
    z-index: 200;
    background: rgba(0, 74, 130, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.mobile-overlay.is-open {
    opacity: 1;
    pointer-events: all;
}

.mobile-overlay-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    color: var(--white);
    padding: 0.5rem;
    z-index: 1;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
    gap: 2rem;
}

.mobile-nav-link {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--white);
    transition: color var(--transition-base);
    opacity: 0;
    transform: translateY(20px);
    transition: color 0.3s, opacity 0.4s, transform 0.4s;
}

.mobile-overlay.is-open .mobile-nav-link {
    opacity: 1;
    transform: translateY(0);
}

.mobile-nav > :nth-child(1) { transition-delay: 0.05s; }
.mobile-nav > :nth-child(2) { transition-delay: 0.1s; }
.mobile-nav > :nth-child(3) { transition-delay: 0.15s; }
.mobile-nav > :nth-child(4) { transition-delay: 0.2s; }
.mobile-nav > :nth-child(5) { transition-delay: 0.25s; }

.mobile-nav-link:hover {
    color: var(--sand-400);
}

.mobile-nav-phone {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255,255,255,0.7);
    font-size: 1.1rem;
    transition: color var(--transition-base);
    opacity: 0;
    transform: translateY(20px);
    transition: color 0.3s, opacity 0.4s 0.3s, transform 0.4s 0.3s;
}

.mobile-overlay.is-open .mobile-nav-phone {
    opacity: 1;
    transform: translateY(0);
}

.mobile-nav-phone:hover {
    color: var(--white);
}

.mobile-nav-cta {
    margin-top: 1rem;
    padding: 1rem 2rem;
    background: var(--sand-400);
    color: var(--navy-900);
    font-weight: 700;
    font-size: 0.875rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: 2px;
    transition: background var(--transition-base);
    opacity: 0;
    transform: translateY(20px);
    transition: background 0.3s, opacity 0.4s 0.35s, transform 0.4s 0.35s;
}

.mobile-overlay.is-open .mobile-nav-cta {
    opacity: 1;
    transform: translateY(0);
}

.mobile-nav-cta:hover {
    background: var(--sand-300);
}

/* Desktop Nav Dropdown */
.nav-dropdown {
    position: relative;
}

.nav-dropdown-trigger {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.nav-dropdown-chevron {
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.nav-dropdown:hover .nav-dropdown-chevron {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(4px);
    min-width: 200px;
    background: var(--white);
    border-radius: 4px;
    box-shadow: 0 8px 30px rgba(11, 22, 44, 0.12), 0 2px 8px rgba(11, 22, 44, 0.08);
    padding: 0.5rem 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
    z-index: 150;
    pointer-events: none;
}

.nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

.nav-dropdown-menu::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 0;
    right: 0;
    height: 8px;
}

.nav-dropdown-item {
    display: block;
    padding: 0.5rem 1.25rem;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--navy-800);
    white-space: nowrap;
    transition: background var(--transition-base), color var(--transition-base);
}

.nav-dropdown-item:hover {
    background: var(--sand-100);
    color: var(--brand-800) !important;
}

.nav-dropdown-divider {
    height: 1px;
    background: var(--sand-200);
    margin: 0.35rem 1rem;
}

/* Mobile Nav Expandable Sub-Menu */
.mobile-nav-expandable {
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s, transform 0.4s;
    transition-delay: 0.05s;
}

.mobile-overlay.is-open .mobile-nav-expandable {
    opacity: 1;
    transform: translateY(0);
}

.mobile-nav-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--white);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.mobile-nav-toggle:hover {
    color: var(--sand-400);
}

.mobile-nav-chevron {
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.mobile-nav-expandable.is-expanded .mobile-nav-chevron {
    transform: rotate(180deg);
}

.mobile-nav-submenu {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
    padding: 0;
}

.mobile-nav-expandable.is-expanded .mobile-nav-submenu {
    max-height: 500px;
    padding: 1rem 0 0.5rem;
}

.mobile-nav-sublink {
    font-size: 1rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.8);
    transition: color var(--transition-base);
}

.mobile-nav-sublink:hover {
    color: var(--sand-400);
}

/* ---------------------------------------------------------
   4. HERO
   --------------------------------------------------------- */
.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(11, 22, 44, 0.6) 0%,
        rgba(11, 22, 44, 0.4) 40%,
        rgba(11, 22, 44, 0.8) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1.5rem;
    padding-top: 10rem; /* ← TWEAK THIS to adjust gap between nav and hero text */
    padding-bottom: 4rem;
}

.hero-text {
    max-width: 48rem; /* max-w-3xl matches React prototype */
}

/* Hero title: text-5xl / lg:text-6xl / 2xl:text-8xl — exact Tailwind values */
.hero-title {
    font-family: var(--font-serif);
    font-size: 3rem;        /* text-5xl = 48px */
    line-height: 1.1;
    color: var(--white);
    margin-bottom: 2rem;    /* mb-8 = 2rem */
    font-weight: 400;
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 3.75rem; /* text-6xl = 60px */
    }
}

@media (min-width: 1536px) {
    .hero-title {
        font-size: 6rem;    /* text-8xl = 96px */
    }
}

.hero-title-italic {
    font-style: italic;
    font-weight: 300;
    color: var(--ice-200);
}

/* Hero subtitle: text-lg / md:text-xl — exact Tailwind values */
.hero-subtitle {
    font-size: 1.125rem;    /* text-lg = 18px */
    color: rgba(244, 241, 235, 0.9);
    font-weight: 300;
    max-width: 36rem;       /* max-w-xl = 576px */
    margin-bottom: 3rem;    /* mb-12 = 3rem */
    line-height: 1.625;     /* leading-relaxed */
}

@media (min-width: 768px) {
    .hero-subtitle {
        font-size: 1.25rem; /* md:text-xl = 20px */
    }
}

/* Search Bar */
.hero-search {
    max-width: 40rem;
}

.search-bar {
    background: var(--white);
    padding: 0.5rem;
    border-radius: 2px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

@media (min-width: 640px) {
    .search-bar {
        flex-direction: row;
        align-items: stretch;
    }
}

.search-field {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    background: rgba(244, 241, 235, 0.5);
    border-radius: 2px;
    gap: 0.75rem;
    color: var(--navy-700);
}

.search-field svg {
    flex-shrink: 0;
}

.search-input {
    background: transparent;
    border: none;
    outline: none;
    width: 100%;
    color: var(--navy-900);
    font-weight: 500;
    font-size: 0.95rem;
}

.search-input::placeholder {
    color: rgba(11, 22, 44, 0.5);
}

.search-divider {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    background: rgba(244, 241, 235, 0.5);
    border-radius: 2px;
    border-top: 1px solid var(--sand-200);
}

@media (min-width: 640px) {
    .search-divider {
        border-top: none;
        border-left: 1px solid var(--sand-200);
    }
}

.search-select {
    background: transparent;
    border: none;
    outline: none;
    width: 100%;
    color: var(--navy-900);
    font-weight: 500;
    font-size: 0.95rem;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
}

.search-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: var(--brand-800);
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: 2px;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.03em;
    transition: background var(--transition-base);
    white-space: nowrap;
}

.search-btn:hover {
    background: var(--brand-900);
}

/* ---------------------------------------------------------
   5. SCROLL ANIMATIONS
   --------------------------------------------------------- */
.fade-up {
    opacity: 0;
    transform: translateY(2rem);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-up--delay-1 { transition-delay: 0.2s; }
.fade-up--delay-2 { transition-delay: 0.4s; }

.reveal {
    opacity: 0;
    transform: translateY(1.5rem);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal--delay-1 { transition-delay: 0.1s; }
.reveal--delay-2 { transition-delay: 0.2s; }
.reveal--delay-3 { transition-delay: 0.3s; }

/* ---------------------------------------------------------
   6. SECTION COMMON ELEMENTS
   --------------------------------------------------------- */
.section-eyebrow {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.eyebrow-line {
    display: block;
    height: 1px;
    width: 2rem;
    background: var(--brand-800);
    flex-shrink: 0;
}

.eyebrow-line--sand {
    background: var(--sand-400);
}

.eyebrow-text {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--brand-800);
}

.eyebrow-text--sand {
    color: var(--sand-400);
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--navy-900);
    line-height: 1.15;
    font-weight: 400;
}

.title-italic {
    font-style: italic;
    color: var(--brand-700);
}

/* ---------------------------------------------------------
   7. FEATURED PROPERTIES SECTION
   --------------------------------------------------------- */
.featured-properties {
    background: var(--cream);
}

.featured-properties .section-container {
    padding-top: var(--section-py);
    padding-bottom: var(--section-py);
}

.section-header {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 3.5rem;
    align-items: flex-start;
}

@media (min-width: 768px) {
    .section-header {
        flex-direction: row;
        align-items: flex-end;
        justify-content: space-between;
    }
}

.section-header-left {
    max-width: 36rem;
}

.view-all-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: var(--navy-800);
    white-space: nowrap;
    transition: color var(--transition-base);
    flex-shrink: 0;
}

.view-all-link svg {
    transition: transform var(--transition-base);
}

.view-all-link:hover {
    color: var(--ice-400);
}

.view-all-link:hover svg {
    transform: translateX(4px);
}

/* Property Grid */
.property-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .property-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .property-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Property Card */
.property-card {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

.property-card-img-wrap {
    position: relative;
    overflow: hidden;
    border-radius: 2px;
    aspect-ratio: 4 / 3;
    margin-bottom: 1.5rem;
}

.property-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.property-photo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 2rem;
    background: linear-gradient(145deg, var(--sand-100), #e7e0d3);
    color: var(--navy-700);
    text-align: center;
}

.property-photo-placeholder svg {
    width: 3rem;
    height: 3rem;
    opacity: 0.65;
}

.property-photo-placeholder span {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    line-height: 1.4;
    text-transform: uppercase;
}

.property-photo-placeholder--gallery svg {
    width: 4rem;
    height: 4rem;
}

.property-photo-placeholder--gallery span {
    font-size: 0.875rem;
}

.property-card:hover .property-card-img {
    transform: scale(1.05);
}

.property-tag {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 10;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(4px);
    padding: 0.25rem 0.75rem;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--navy-900);
    border-radius: 2px;
}

.property-card-hover-overlay {
    position: absolute;
    inset: 0;
    background: rgba(11, 22, 44, 0);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.5s ease;
}

.property-card:hover .property-card-hover-overlay {
    background: rgba(11, 22, 44, 0.2);
}

.property-card-hover-icon {
    width: 3rem;
    height: 3rem;
    background: var(--white);
    color: var(--navy-900);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    opacity: 0;
    transform: translateY(1rem);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.property-card:hover .property-card-hover-icon {
    opacity: 1;
    transform: translateY(0);
}

.property-card-body {
    padding: 0;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.property-card-meta {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.property-card-address {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    color: var(--navy-900);
    transition: color var(--transition-base);
    font-weight: 400;
    line-height: 1.2;
}

.property-card:hover .property-card-address {
    color: var(--ice-400);
}

.property-card-price {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    color: var(--navy-800);
    white-space: nowrap;
    font-weight: 400;
}

.property-card-title {
    color: rgba(11, 22, 44, 0.6);
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.property-card-details {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-top: auto;
    border-top: 1px solid var(--sand-200);
    padding-top: 1rem;
}

.property-detail {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--navy-800);
    font-size: 0.875rem;
    font-weight: 500;
}

.property-detail svg {
    color: var(--sand-400);
    flex-shrink: 0;
}

.property-detail--rbr {
    color: #0d7377;
}

.property-detail--rbr svg {
    color: #0d7377;
}

.no-properties {
    text-align: center;
    color: rgba(11, 22, 44, 0.6);
    font-size: 1.1rem;
    padding: 3rem 0;
}

/* ---------------------------------------------------------
   8. LIFESTYLE SECTION
   --------------------------------------------------------- */
.lifestyle-section {
    background: var(--brand-900);
    color: var(--sand-100);
    overflow: hidden;
}

.lifestyle-section .section-container {
    padding-top: var(--section-py);
    padding-bottom: var(--section-py);
}

.lifestyle-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .lifestyle-grid {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }
}

.lifestyle-text {
    order: 2;
}

@media (min-width: 1024px) {
    .lifestyle-text {
        order: 1;
    }
}

.lifestyle-title {
    font-family: var(--font-serif);
    font-size: clamp(2.25rem, 4vw, 3.5rem);
    line-height: 1.1;
    color: var(--sand-100);
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.lifestyle-title-italic {
    font-style: italic;
    color: var(--sand-300);
}

.lifestyle-body {
    font-size: 1.05rem;
    color: rgba(244, 241, 235, 0.8);
    font-weight: 300;
    line-height: 1.8;
    max-width: 32rem;
    margin-bottom: 2rem;
}

.lifestyle-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--brand-700);
}

.lifestyle-stat {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.stat-number {
    font-family: var(--font-serif);
    font-size: 1.875rem;
    color: var(--sand-300);
    font-weight: 400;
}

.stat-label {
    font-size: 0.7rem;
    color: rgba(244, 241, 235, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Lifestyle Images Collage */
.lifestyle-images {
    position: relative;
    height: 28rem;
    order: 1;
}

@media (min-width: 1024px) {
    .lifestyle-images {
        height: 36rem;
        order: 2;
    }
}

.lifestyle-img {
    position: absolute;
    object-fit: cover;
    border-radius: 2px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.lifestyle-img--top {
    top: 0;
    right: 0;
    width: 75%;
    height: 65%;
}

.lifestyle-img--bottom {
    bottom: 0;
    left: 0;
    width: 60%;
    height: 55%;
    border: 4px solid var(--brand-900);
}

/* ---------------------------------------------------------
   9. FOOTER
   --------------------------------------------------------- */
.site-footer {
    background: var(--brand-900);
    border-top: 1px solid var(--brand-800);
}

.footer-inner {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 5rem 1.5rem 2.5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: minmax(15rem, 1.35fr) minmax(12rem, 1fr) minmax(16rem, 1.05fr);
        gap: 3rem;
    }
}

.footer-logo {
    height: 4rem;
    width: auto;
    object-fit: contain;
    margin-bottom: 1.25rem;
}

.footer-brand-desc {
    color: rgba(244, 241, 235, 0.8);
    font-size: 0.875rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.social-link {
    color: rgba(244, 241, 235, 0.8);
    transition: color var(--transition-base);
}

.social-link:hover {
    color: var(--sand-400);
}

.footer-col-title {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    color: var(--white);
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    color: rgba(244, 241, 235, 0.6);
    font-size: 0.875rem;
    transition: color var(--transition-base);
}

.footer-links a:hover {
    color: var(--sand-400);
}

.footer-contact-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: rgba(244, 241, 235, 0.6);
    font-size: 0.875rem;
    line-height: 1.6;
}

.footer-contact-list li svg {
    color: var(--sand-400);
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.footer-contact-list a {
    color: rgba(244, 241, 235, 0.6);
    transition: color var(--transition-base);
}

.footer-contact-list a:hover {
    color: var(--sand-100);
}

.footer-newsletter-desc {
    color: rgba(244, 241, 235, 0.6);
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.footer-newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.newsletter-input {
    background: var(--brand-800);
    border: 1px solid var(--brand-700);
    color: var(--white);
    padding: 0.625rem 1rem;
    font-size: 0.875rem;
    border-radius: 2px;
    outline: none;
    transition: border-color var(--transition-base);
}

.newsletter-input::placeholder {
    color: rgba(255,255,255,0.4);
}

.newsletter-input:focus {
    border-color: var(--sand-400);
}

.newsletter-btn {
    background: var(--white);
    color: var(--navy-900);
    font-weight: 600;
    font-size: 0.8rem;
    padding: 0.625rem;
    border-radius: 2px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: background var(--transition-base);
    cursor: pointer;
    border: none;
}

.newsletter-btn:hover {
    background: var(--sand-100);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--brand-800);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}

.footer-copyright {
    color: rgba(244, 241, 235, 0.4);
    font-size: 0.75rem;
}

.footer-credit-separator {
    margin: 0 0.45rem;
}

.footer-marketing-credit {
    color: var(--white);
    font-weight: 600;
    transition: color var(--transition-base);
}

.footer-marketing-credit:hover,
.footer-marketing-credit:focus-visible {
    color: var(--sand-300);
}

.footer-legal-links {
    display: flex;
    gap: 1.5rem;
}

.footer-legal-links a {
    color: rgba(244, 241, 235, 0.4);
    font-size: 0.75rem;
    transition: color var(--transition-base);
}

.footer-legal-links a:hover {
    color: var(--sand-100);
}

/* ---------------------------------------------------------
   10. MOBILE CONTACT BAR
   --------------------------------------------------------- */
.mobile-contact-bar {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 90;
    background: var(--navy-900);
    border-top: 1px solid rgba(255,255,255,0.08);
    transition: transform 0.3s ease;
}

@media (min-width: 768px) {
    .mobile-contact-bar {
        display: none;
    }
}

.mobile-contact-bar.is-hidden {
    transform: translateY(100%);
}

.mobile-contact-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    padding: 0.75rem 0.5rem;
    color: rgba(255,255,255,0.8);
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    transition: color var(--transition-base);
    text-decoration: none;
}

.mobile-contact-item:hover {
    color: var(--sand-400);
}

/* ---------------------------------------------------------
   11. SINGLE PROPERTY PAGE
   --------------------------------------------------------- */
.single-property-page {
    padding-top: 5rem;
}

@media (min-width: 768px) {
    .single-property-page {
        padding-top: 7rem;
    }
}

.listing-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 2rem 1.5rem 4rem;
    /* clip contains overflow without creating a scroll container,
       so position: sticky on the sidebar still works. */
    overflow: clip;
}

.listing-breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: rgba(11, 22, 44, 0.5);
    margin-bottom: 1.5rem;
}

.listing-breadcrumb a {
    color: rgba(11, 22, 44, 0.5);
    transition: color var(--transition-base);
}

.listing-breadcrumb a:hover {
    color: var(--brand-800);
}

.listing-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: flex-start;
    /* Prevent grid children from overflowing their columns */
    min-width: 0;
}

/* Both grid children must have min-width: 0 so overflow-x: auto on
   gallery-thumbs (and any other scrollable child) actually constrains
   itself to the column width instead of expanding the whole grid. */
.listing-main,
.listing-sidebar {
    min-width: 0;
}

@media (max-width: 1023px) {
    .listing-main {
        display: contents;
    }
    .listing-main > * {
        min-width: 0;
    }
    .listing-layout .listing-section {
        order: 1;
    }
    .listing-gallery,
    .listing-header,
    .listing-layout .listing-section {
        margin-bottom: 0;
    }
}

@media (min-width: 1024px) {
    .listing-layout {
        grid-template-columns: 1fr 22rem;
        gap: 3rem;
    }
}

/* Gallery */
.listing-gallery {
    margin-bottom: 2rem;
}

.gallery-main-wrap {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: var(--sand-100);
    margin-bottom: 0.75rem;
}

.gallery-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.gallery-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.gallery-slide.is-active {
    opacity: 1;
}

.gallery-slide-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-tag {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 10;
    background: rgba(255, 255, 255, 0.92);
    padding: 0.25rem 0.75rem;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--navy-900);
    border-radius: 2px;
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 2.75rem;
    height: 2.75rem;
    background: rgba(255,255,255,0.9);
    color: var(--navy-900);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: all var(--transition-base);
}

.gallery-nav:hover {
    background: var(--white);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

.gallery-prev { left: 1rem; }
.gallery-next { right: 1rem; }

.gallery-counter {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    z-index: 10;
    background: rgba(0,0,0,0.5);
    color: var(--white);
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    border-radius: 2px;
}

.gallery-thumbs {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding-bottom: 0.25rem;
    scrollbar-width: thin;
}

.gallery-thumb {
    flex-shrink: 0;
    width: 5rem;
    height: 3.75rem;
    border-radius: 2px;
    overflow: hidden;
    border: 2px solid transparent;
    transition: border-color var(--transition-base);
    cursor: pointer;
}

.gallery-thumb.is-active {
    border-color: var(--brand-800);
}

.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Listing Header */
.listing-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--sand-200);
}

.listing-title {
    font-family: var(--font-serif);
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    color: var(--navy-900);
    font-weight: 400;
    margin-bottom: 0.5rem;
}

.listing-address {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: rgba(11, 22, 44, 0.6);
    font-size: 0.9rem;
}

.listing-price-badge {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--brand-800);
    white-space: nowrap;
    font-weight: 500;
}

/* Listing Sections */
.listing-section {
    margin-bottom: 2.5rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid var(--sand-200);
}

.listing-section:last-child {
    border-bottom: none;
}

.listing-section-title {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    color: var(--navy-900);
    margin-bottom: 1.25rem;
    font-weight: 400;
}

.listing-description {
    color: rgba(11, 22, 44, 0.75);
    line-height: 1.8;
    font-size: 0.95rem;
}

.listing-description p {
    margin-bottom: 1rem;
}

.listing-description a {
    color: var(--brand-800);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.2em;
    overflow-wrap: anywhere;
    transition: color var(--transition-base);
}

.listing-description a:hover,
.listing-description a:focus-visible {
    color: var(--navy-900);
}

/* Amenities Grid */
.amenities-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

@media (min-width: 768px) {
    .amenities-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.amenity-item {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding: 1rem;
    background: var(--sand-100);
    border-radius: 4px;
}

.amenity-item svg {
    color: var(--brand-800);
}

.amenity-label {
    font-size: 0.75rem;
    color: rgba(11, 22, 44, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.07em;
    margin-top: 0.25rem;
}

.amenity-value {
    font-size: 1rem;
    font-weight: 600;
    color: var(--navy-900);
}

/* Map */
.listing-map {
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid var(--sand-200);
}

.listing-map iframe {
    display: block;
}

/* Sidebar */
.listing-sidebar {
    position: relative;
}

@media (max-width: 1023px) {
    .listing-sidebar {
        position: static;
    }
}

@media (min-width: 1024px) {
    .listing-sidebar {
        position: sticky;
        top: 7rem;
    }
}

.sidebar-card {
    background: var(--white);
    border: 1px solid var(--sand-200);
    border-radius: 6px;
    padding: 1.75rem;
    box-shadow: 0 4px 24px rgba(11, 22, 44, 0.08);
}

.sidebar-price {
    font-family: var(--font-serif);
    font-size: 2rem;
    color: var(--navy-900);
    font-weight: 500;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.sidebar-price-period {
    font-size: 1rem;
    color: rgba(11, 22, 44, 0.5);
    font-weight: 400;
}

.sidebar-tag {
    display: inline-block;
    background: var(--ice-100);
    color: var(--brand-800);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.2rem 0.75rem;
    border-radius: 2px;
    margin-bottom: 0.5rem;
}

.sidebar-divider {
    height: 1px;
    background: var(--sand-200);
    margin: 1.25rem 0;
}

.sidebar-details {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
}

.sidebar-detail {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--navy-800);
}

.sidebar-detail svg {
    color: var(--sand-400);
    flex-shrink: 0;
}

.sidebar-detail > div {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.sidebar-detail-label {
    font-size: 0.7rem;
    color: rgba(11, 22, 44, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.07em;
}

.sidebar-detail-value {
    font-size: 0.9rem;
    font-weight: 600;
}

.sidebar-ctas {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.btn {
    display: block;
    text-align: center;
    padding: 0.875rem 1.5rem;
    border-radius: 2px;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.04em;
    transition: all var(--transition-base);
    cursor: pointer;
}

.btn-primary {
    background: var(--brand-800);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--brand-900);
}

.btn-outline {
    background: transparent;
    color: var(--navy-800);
    border: 1.5px solid var(--sand-200);
}

.btn-outline:hover {
    border-color: var(--navy-800);
    background: var(--sand-100);
}

/* ---------------------------------------------------------
   11. CONTENT PAGES
   --------------------------------------------------------- */
.content-page-main {
    padding-top: 5rem;
    background: var(--cream);
}

.content-page-shell {
    overflow: hidden;
}

.bp-page {
    background: var(--cream);
}

.bp-page-hero {
    position: relative;
    min-height: 22rem;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--navy-900), var(--brand-900));
    background-position: center;
    background-size: cover;
    color: var(--white);
    isolation: isolate;
}

.bp-page-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 18%, rgba(196, 164, 124, 0.24), transparent 30%),
        linear-gradient(90deg, rgba(11, 22, 44, 0.88), rgba(11, 22, 44, 0.48));
    z-index: -1;
}

.bp-page-hero--simple {
    min-height: 18rem;
}

.bp-page-hero__inner {
    width: min(var(--container-max), calc(100% - 2 * var(--container-px)));
    margin: 0 auto;
    padding: 4.5rem 0 4rem;
}

.bp-page-hero h1 {
    max-width: 58rem;
    font-size: clamp(2.45rem, 6vw, 5rem);
    font-weight: 400;
    letter-spacing: 0;
    margin-bottom: 1rem;
}

.bp-page-hero__lead {
    max-width: 44rem;
    color: rgba(255, 255, 255, 0.82);
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    line-height: 1.75;
}

.bp-eyebrow {
    color: var(--sand-400);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 0.9rem;
}

.bp-section {
    padding: clamp(3.5rem, 7vw, 6rem) var(--container-px);
}

.bp-section--tint {
    background: var(--sand-100);
}

.bp-section--navy {
    background: var(--navy-900);
    color: var(--white);
}

.bp-section__inner {
    width: min(var(--container-max), 100%);
    margin: 0 auto;
}

.bp-section__header {
    max-width: 46rem;
    margin-bottom: 2.25rem;
}

.bp-section__header h2,
.bp-rich-text h2 {
    color: var(--navy-900);
    font-size: clamp(2rem, 4vw, 3.3rem);
    font-weight: 400;
    margin-bottom: 0.9rem;
}

.bp-section--navy .bp-section__header h2,
.bp-section--navy .bp-section__header p,
.bp-section--navy .bp-card p,
.bp-section--navy .bp-card h3 {
    color: var(--white);
}

.bp-section__header p,
.bp-rich-text p,
.bp-card p,
.bp-team-card p,
.bp-contact-card p {
    color: rgba(11, 22, 44, 0.64);
    line-height: 1.75;
}

.bp-split {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(2rem, 4vw, 4rem);
    align-items: center;
}

.bp-split--form {
    align-items: start;
}

@media (min-width: 860px) {
    .bp-split {
        grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.82fr);
    }

    .bp-split--reverse {
        grid-template-columns: minmax(18rem, 0.82fr) minmax(0, 1fr);
    }

    .bp-split--form {
        grid-template-columns: minmax(15rem, 0.62fr) minmax(34rem, 1.38fr);
    }

    .bp-split--form.bp-split--reverse {
        grid-template-columns: minmax(34rem, 1.38fr) minmax(15rem, 0.62fr);
    }
}

.bp-media,
.bp-image-card {
    overflow: hidden;
    border-radius: 4px;
    background: var(--sand-200);
    box-shadow: 0 18px 48px rgba(11, 22, 44, 0.11);
}

.bp-media img,
.bp-image-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    height: auto;
    object-fit: cover;
}

.bp-card-grid,
.bp-doc-grid,
.bp-sitemap-grid,
.bp-contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
    gap: 1rem;
}

.bp-card,
.bp-contact-card,
.bp-resource-card,
.bp-sitemap-card {
    background: var(--white);
    border: 1px solid var(--sand-200);
    border-radius: 4px;
    padding: clamp(1.35rem, 3vw, 2rem);
    box-shadow: 0 10px 32px rgba(11, 22, 44, 0.06);
}

.bp-card h3,
.bp-contact-card h3,
.bp-resource-card h3,
.bp-sitemap-card h3,
.bp-team-card h3 {
    color: var(--navy-900);
    font-family: var(--font-serif);
    font-size: 1.45rem;
    font-weight: 400;
    margin-bottom: 0.65rem;
}

.bp-card__meta,
.bp-team-card__role {
    color: var(--brand-800);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.11em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.bp-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.bp-actions .btn,
.bp-card .btn,
.bp-resource-card .btn,
.bp-contact-card .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.bp-page-hero .btn-outline {
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.72);
    background: rgba(255, 255, 255, 0.04);
}

.bp-page-hero .btn-outline:hover {
    color: var(--white);
    border-color: var(--white);
    background: rgba(255, 255, 255, 0.14);
}

.bp-feature-list {
    display: grid;
    gap: 1rem;
    margin-top: 1.5rem;
}

.bp-feature-list li,
.bp-check-list li {
    list-style: none;
    position: relative;
    padding-left: 1.55rem;
    color: rgba(11, 22, 44, 0.7);
    line-height: 1.7;
}

.bp-feature-list li::before,
.bp-check-list li::before {
    content: "";
    position: absolute;
    top: 0.7em;
    left: 0;
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 50%;
    background: var(--sand-400);
}

.bp-store-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 1.25rem;
    align-items: center;
}

.bp-store-badges img {
    height: 3rem;
    width: auto;
}

.bp-team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
    gap: 1.25rem;
}

.bp-team-card {
    background: var(--white);
    border: 1px solid var(--sand-200);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 10px 32px rgba(11, 22, 44, 0.06);
}

.bp-team-card img {
    width: 100%;
    aspect-ratio: 4 / 4.6;
    object-fit: cover;
}

.bp-team-card__body {
    padding: 1.35rem;
}

.bp-quote-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
    gap: 1rem;
}

.bp-quote {
    border-left: 3px solid var(--sand-400);
    padding: 0.25rem 0 0.25rem 1.25rem;
    color: rgba(255, 255, 255, 0.75);
}

.bp-quote strong {
    display: block;
    color: var(--white);
    margin-top: 0.8rem;
}

.bp-table-wrap {
    overflow-x: auto;
    border: 1px solid var(--sand-200);
    border-radius: 4px;
    background: var(--white);
}

.bp-table {
    width: 100%;
    min-width: 42rem;
    border-collapse: collapse;
}

.bp-table th,
.bp-table td {
    padding: 0.95rem 1rem;
    text-align: left;
    border-bottom: 1px solid var(--sand-200);
}

.bp-table th {
    background: var(--navy-900);
    color: var(--white);
    font-size: 0.78rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.bp-table tr:last-child td {
    border-bottom: 0;
}

.bp-note {
    color: rgba(11, 22, 44, 0.55);
    font-size: 0.9rem;
    margin-top: 0.8rem;
}

.bp-rich-text {
    max-width: 52rem;
}

.bp-rich-text h2 {
    margin-top: 2.25rem;
}

.bp-rich-text h3 {
    color: var(--navy-900);
    font-family: var(--font-serif);
    font-size: 1.55rem;
    font-weight: 400;
    margin: 1.6rem 0 0.55rem;
}

.bp-rich-text ul {
    display: grid;
    gap: 0.4rem;
    margin: 1rem 0 1.25rem;
}

.bp-rich-text li {
    margin-left: 1.2rem;
    color: rgba(11, 22, 44, 0.68);
    line-height: 1.7;
}

.bp-legal {
    max-width: 56rem;
}

.bp-legal p,
.bp-legal li {
    color: rgba(11, 22, 44, 0.68);
}

.bp-legal h2 {
    font-size: clamp(1.65rem, 3vw, 2.25rem);
    margin-top: 2.2rem;
}

.bp-sitemap-card ul {
    display: grid;
    gap: 0.55rem;
    margin-top: 0.8rem;
}

.bp-sitemap-card li {
    list-style: none;
}

.bp-sitemap-card a,
.bp-contact-card a,
.bp-rich-text a,
.bp-legal a {
    color: var(--brand-800);
    font-weight: 700;
    transition: color var(--transition-base);
}

.bp-sitemap-card a:hover,
.bp-contact-card a:hover,
.bp-rich-text a:hover,
.bp-legal a:hover {
    color: var(--brand-900);
}

.bp-contact-card a.btn-primary,
.bp-contact-card a.btn-primary:hover {
    color: var(--white);
}

.bp-contact-card a.btn-outline {
    color: var(--navy-800);
}

.bp-contact-list {
    display: grid;
    gap: 0.7rem;
}

.bp-contact-list div {
    color: rgba(11, 22, 44, 0.68);
}

.bp-contact-list strong {
    color: var(--navy-900);
}

.home-contact-copy h2 {
    color: var(--navy-900);
    font-size: clamp(2rem, 4vw, 3.3rem);
    font-weight: 400;
    margin-bottom: 1rem;
}

.home-contact-copy > p {
    color: rgba(11, 22, 44, 0.66);
    line-height: 1.8;
    max-width: 42rem;
}

.home-contact-details {
    display: grid;
    gap: 1rem;
    margin-top: 2rem;
}

.home-contact-details div {
    border-left: 2px solid var(--sand-300);
    padding-left: 1rem;
}

.home-contact-details span {
    display: block;
    color: var(--sand-400);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 0.25rem;
}

.home-contact-details a,
.home-contact-details p {
    color: var(--navy-900);
    font-weight: 700;
    line-height: 1.55;
}

.bp-contact-form-card {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.9)),
        var(--white);
    align-self: start;
    padding: clamp(2rem, 4vw, 3rem);
}

.bp-wufoo-form {
    width: 100%;
}

.bp-wufoo-form--contact {
    min-height: 617px;
    margin-top: clamp(0.35rem, 1vw, 0.85rem);
}

.bp-wufoo-form--job {
    min-height: 623px;
    margin-top: 1.25rem;
}

.bp-wufoo-form--north-street {
    min-height: 583px;
    margin-top: clamp(0.35rem, 1vw, 0.85rem);
}

.bp-wufoo-form--newsletter {
    min-height: 320px;
    margin-top: 0.75rem;
}

.site-footer .bp-wufoo-fallback {
    color: rgba(244, 241, 235, 0.72);
}

.site-footer .bp-wufoo-fallback a {
    color: var(--sand-100);
}

.bp-wufoo-form iframe {
    display: block;
    width: 100% !important;
    max-width: 100%;
    border: 0;
}

.bp-wufoo-fallback {
    color: rgba(11, 22, 44, 0.66);
    font-size: 0.95rem;
    line-height: 1.6;
}

.bp-wufoo-fallback a {
    color: var(--brand-800);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 0.18em;
}

.bp-static-contact-form {
    display: grid;
    gap: 1rem;
}

.bp-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.bp-form-field {
    display: grid;
    gap: 0.45rem;
}

.bp-form-field--full {
    grid-column: 1 / -1;
}

.bp-form-field label {
    color: var(--navy-900);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.bp-form-field input,
.bp-form-field select,
.bp-form-field textarea {
    width: 100%;
    border: 1px solid var(--sand-200);
    border-radius: 3px;
    background: var(--cream);
    color: var(--navy-900);
    font-size: 1rem;
    line-height: 1.5;
    padding: 0.85rem 0.95rem;
    transition: border-color var(--transition-base), box-shadow var(--transition-base), background var(--transition-base);
}

.bp-form-field input:focus,
.bp-form-field select:focus,
.bp-form-field textarea:focus {
    outline: none;
    border-color: var(--brand-800);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(0, 96, 169, 0.12);
}

.bp-form-field textarea {
    min-height: 9rem;
    resize: vertical;
}

.bp-form-submit {
    justify-self: start;
    margin-top: 0.35rem;
    border: 0;
}

@media (max-width: 767px) {
    .content-page-main {
        padding-top: 4.5rem;
        padding-bottom: 4.25rem;
    }

    .bp-page-hero__inner {
        padding: 3.5rem 0 3rem;
    }

    .bp-page-hero h1 {
        font-size: 2.45rem;
    }

    .bp-actions,
    .bp-store-badges {
        align-items: stretch;
        flex-direction: column;
    }

    .bp-contact-form-card {
        padding: 1.35rem;
    }

    .bp-wufoo-form--contact {
        margin-top: 0.25rem;
    }

    .bp-wufoo-form--job {
        margin-top: 1rem;
    }

    .bp-wufoo-form--north-street {
        margin-top: 0.25rem;
    }

    .bp-actions .btn {
        width: 100%;
    }

    .bp-form-grid {
        grid-template-columns: 1fr;
    }

    .bp-form-submit {
        width: 100%;
    }
}

.sidebar-video {
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--sand-200);
}

.sidebar-video-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: rgba(11, 22, 44, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.75rem;
}

.sidebar-video-list {
    display: grid;
    gap: 0.75rem;
}

.property-video-trigger {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    aspect-ratio: 16 / 9;
    border: 0;
    border-radius: 4px;
    overflow: hidden;
    background: var(--navy-900);
    color: var(--white);
    cursor: pointer;
    box-shadow: 0 5px 18px rgba(11, 22, 44, 0.14);
}

.property-video-trigger img,
.property-video-trigger__shade {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.property-video-trigger img {
    object-fit: cover;
    transition: transform 0.35s ease;
}

.property-video-trigger__shade {
    background: linear-gradient(180deg, rgba(11, 22, 44, 0.08), rgba(11, 22, 44, 0.68));
}

.property-video-trigger__play {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 3.75rem;
    height: 3.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.94);
    color: var(--navy-900);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.28);
    transform: translate(-50%, -50%);
    transition: transform 0.25s ease, background 0.25s ease;
}

.property-video-trigger__play svg {
    width: 1.65rem;
    height: 1.65rem;
    margin-left: 0.2rem;
}

.property-video-trigger__label {
    position: absolute;
    left: 0.85rem;
    right: 0.85rem;
    bottom: 0.7rem;
    z-index: 1;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-align: left;
    text-transform: uppercase;
}

.property-video-trigger:hover img,
.property-video-trigger:focus-visible img {
    transform: scale(1.04);
}

.property-video-trigger:hover .property-video-trigger__play,
.property-video-trigger:focus-visible .property-video-trigger__play {
    background: var(--white);
    transform: translate(-50%, -50%) scale(1.08);
}

.property-video-trigger:focus-visible {
    outline: 3px solid var(--ice-400);
    outline-offset: 3px;
}

.property-video-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.22s ease, visibility 0.22s ease;
}

.property-video-modal.is-open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}

.property-video-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(5, 11, 23, 0.9);
    backdrop-filter: blur(5px);
}

.property-video-modal__dialog {
    position: relative;
    z-index: 1;
    width: min(68rem, 100%);
    border-radius: 8px;
    overflow: hidden;
    background: var(--navy-900);
    color: var(--white);
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.5);
    transform: translateY(1rem) scale(0.98);
    transition: transform 0.22s ease;
}

.property-video-modal.is-open .property-video-modal__dialog {
    transform: translateY(0) scale(1);
}

.property-video-modal__header {
    min-height: 4rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.9rem 1rem 0.9rem 1.25rem;
}

.property-video-modal__header h2 {
    margin: 0;
    font-family: var(--font-serif);
    font-size: clamp(1.2rem, 2.5vw, 1.65rem);
    font-weight: 400;
}

.property-video-modal__close {
    width: 2.6rem;
    height: 2.6rem;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 50%;
    background: transparent;
    color: var(--white);
    cursor: pointer;
}

.property-video-modal__close svg {
    width: 1.2rem;
    height: 1.2rem;
}

.property-video-modal__close:hover,
.property-video-modal__close:focus-visible {
    background: var(--white);
    color: var(--navy-900);
}

.property-video-modal__frame {
    position: relative;
    aspect-ratio: 16 / 9;
    background: #000;
}

.property-video-modal__frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

body.property-video-modal-open {
    overflow: hidden;
}

@media (max-width: 600px) {
    .property-video-modal {
        padding: 0.75rem;
    }

    .property-video-modal__header {
        min-height: 3.5rem;
        padding: 0.7rem 0.75rem 0.7rem 1rem;
    }
}

.sidebar-contact {
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--sand-200);
    text-align: center;
}

.sidebar-contact-label {
    font-size: 0.8rem;
    color: rgba(11, 22, 44, 0.5);
    margin-bottom: 0.35rem;
}

.sidebar-contact-phone {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--brand-800);
    transition: color var(--transition-base);
}

.sidebar-contact-phone:hover {
    color: var(--brand-900);
}

/* ---------------------------------------------------------
   12. ARCHIVE HEADER
   --------------------------------------------------------- */
.archive-property-page {
    padding-top: 5rem;
}

@media (min-width: 768px) {
    .archive-property-page {
        padding-top: 5rem;
    }
}

.archive-property-page .section-container {
    padding-top: 2rem;
    padding-bottom: 4rem;
}

.archive-header {
    padding: 3rem 0 2.5rem;
    max-width: 36rem;
    margin-bottom: 2rem;
}

.archive-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--navy-900);
    margin-bottom: 0.75rem;
    font-weight: 400;
}

.archive-subtitle {
    color: rgba(11, 22, 44, 0.6);
    font-size: 1rem;
}

/* ---- Pill-style Sticky Filter Bar ---- */
.prop-filters {
    position: sticky;
    top: 72px;
    z-index: 80;
    background: var(--sand-100);
    border-bottom: 1px solid var(--sand-200);
    margin-bottom: 2rem;
    border-radius: 4px;
    transition: box-shadow 0.2s ease;
}

.prop-filters__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    flex-wrap: wrap;
}

.prop-filters__pills {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.prop-filters__meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-left: auto;
}

.prop-filters__count {
    font-size: 0.8rem;
    color: rgba(11, 22, 44, 0.5);
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.prop-filters__clear {
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 600;
    color: rgba(11, 22, 44, 0.45);
    background: none;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color var(--transition-base);
    padding: 0;
}

.prop-filters__clear:hover {
    color: var(--brand-800);
}

/* Individual pill dropdown wrapper */
.prop-filter {
    position: relative;
}

/* Pill button */
.prop-filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.5rem 0.85rem;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--navy-900);
    background: var(--white);
    border: 1px solid var(--sand-300);
    border-radius: 100px;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.15s ease;
}

.prop-filter-btn:hover {
    border-color: var(--brand-800);
    color: var(--brand-800);
}

.prop-filter-btn.is-active {
    background: var(--brand-800);
    border-color: var(--brand-800);
    color: var(--white);
}

.prop-filter-btn.is-active:hover {
    background: var(--brand-900);
    border-color: var(--brand-900);
    color: var(--white);
}

.prop-filter-btn__label {
    pointer-events: none;
}

.prop-filter-btn__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    font-size: 0.68rem;
    font-weight: 700;
    line-height: 1;
    border-radius: 100px;
    background: var(--white);
    color: var(--brand-800);
}

.prop-filter-btn.is-active .prop-filter-btn__badge {
    background: rgba(255, 255, 255, 0.25);
    color: var(--white);
}

.prop-filter-btn__chevron {
    flex-shrink: 0;
    opacity: 0.45;
    transition: transform 0.2s ease;
}

.prop-filter.is-open .prop-filter-btn__chevron {
    transform: rotate(180deg);
}

.prop-filter.is-open .prop-filter-btn {
    border-color: var(--brand-800);
    color: var(--brand-800);
}

.prop-filter.is-open .prop-filter-btn.is-active {
    color: var(--white);
}

/* Dropdown panel */
.prop-filter-panel {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    min-width: 190px;
    background: var(--white);
    border: 1px solid var(--sand-200);
    border-radius: 8px;
    box-shadow: 0 8px 28px rgba(11, 22, 44, 0.12);
    padding: 0.4rem 0;
    z-index: 90;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s;
}

.prop-filter.is-open .prop-filter-panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Checkbox rows inside panels */
.prop-filter-check {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.5rem 0.85rem;
    cursor: pointer;
    transition: background 0.12s ease;
    user-select: none;
}

.prop-filter-check:hover {
    background: var(--sand-100);
}

.prop-filter-check input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.prop-filter-check__box {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    border: 2px solid var(--sand-300);
    border-radius: 3px;
    background: var(--white);
    transition: all 0.12s ease;
    position: relative;
}

.prop-filter-check input:checked + .prop-filter-check__box {
    background: var(--brand-800);
    border-color: var(--brand-800);
}

.prop-filter-check input:checked + .prop-filter-check__box::after {
    content: '';
    position: absolute;
    left: 4px;
    top: 1px;
    width: 6px;
    height: 10px;
    border: solid var(--white);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.prop-filter-check__text {
    font-size: 0.85rem;
    color: var(--navy-900);
    line-height: 1.3;
}

.prop-filter-check__count {
    margin-left: auto;
    font-size: 0.75rem;
    color: rgba(11, 22, 44, 0.38);
    font-variant-numeric: tabular-nums;
}

/* Loading state */
.property-grid.is-loading {
    opacity: 0.45;
    pointer-events: none;
    transition: opacity 0.15s ease;
}

/* Pagination (AJAX-generated) */
.property-pagination {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    padding: 2rem 0;
}

.property-pagination .page-numbers {
    padding: 0.5rem 1rem;
    border: 1px solid var(--sand-200);
    border-radius: 2px;
    font-size: 0.875rem;
    transition: all var(--transition-base);
    color: var(--navy-800);
    text-decoration: none;
    cursor: pointer;
}

.property-pagination .page-numbers:hover {
    border-color: var(--brand-800);
    color: var(--brand-800);
}

.property-pagination .page-numbers.current {
    background: var(--brand-800);
    color: var(--white);
    border-color: var(--brand-800);
}

/* Search input in filter bar */
.prop-filter-search-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.prop-filter-search__icon {
    position: absolute;
    left: 0.7rem;
    pointer-events: none;
    opacity: 0.4;
    color: var(--navy-900);
}

.prop-filter-search {
    font-family: var(--font-body);
    font-size: 0.8rem;
    padding: 0.5rem 0.75rem 0.5rem 2rem;
    border: 1px solid var(--sand-300);
    border-radius: 100px;
    background: var(--white);
    color: var(--navy-900);
    outline: none;
    width: 170px;
    transition: border-color 0.15s ease, width 0.2s ease;
}

.prop-filter-search:focus {
    border-color: var(--brand-800);
    width: 210px;
}

.prop-filter-search::placeholder {
    color: rgba(11, 22, 44, 0.4);
}

/* Price dropdown panel */
.prop-filter-panel--price {
    padding: 0.85rem 1rem;
    min-width: 200px;
}

.prop-price-field + .prop-price-field {
    margin-top: 0.7rem;
}

.prop-price-field__label {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(11, 22, 44, 0.5);
    margin-bottom: 0.3rem;
}

.prop-price-field__input-wrap {
    display: flex;
    align-items: center;
    background: var(--sand-100);
    border: 1px solid var(--sand-200);
    border-radius: 4px;
    overflow: hidden;
    transition: border-color 0.15s ease;
}

.prop-price-field__input-wrap:focus-within {
    border-color: var(--brand-800);
}

.prop-price-field__prefix {
    padding: 0.5rem 0 0.5rem 0.65rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(11, 22, 44, 0.4);
    line-height: 1;
    user-select: none;
}

.prop-price-field__input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 0.5rem 0.5rem 0.5rem 0.25rem;
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: var(--navy-900);
    outline: none;
    min-width: 0;
    -moz-appearance: textfield;
}

.prop-price-field__input::-webkit-outer-spin-button,
.prop-price-field__input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.prop-price-field__input::placeholder {
    color: rgba(11, 22, 44, 0.35);
}

/* Mobile: stack pills and meta vertically */
@media (max-width: 899px) {
    .prop-filters__inner {
        flex-direction: column;
        align-items: stretch;
    }
    .prop-filters__pills {
        gap: 0.4rem;
    }
    .prop-filters__meta {
        margin-left: 0;
        justify-content: space-between;
    }
    .prop-filter {
        position: static;
    }
    .prop-filter-panel {
        left: 1rem;
        right: 1rem;
        min-width: 160px;
        max-width: calc(100vw - 2rem);
    }
    .prop-filter-panel--price {
        min-width: 0;
    }
    .prop-filter-search {
        width: 100%;
    }
    .prop-filter-search:focus {
        width: 100%;
    }
}

@media (min-width: 1024px) {
    .prop-filters {
        top: 80px;
    }
}

.no-properties-wrap {
    text-align: center;
    padding: 4rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.no-properties-wrap[hidden] {
    display: none;
}

/* ---------------------------------------------------------
   13. WORDPRESS CORE OVERRIDES
   --------------------------------------------------------- */
.wp-block-image img {
    border-radius: 4px;
}

/* Pagination */
.nav-links {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    padding: 2rem 0;
}

.nav-links .page-numbers {
    padding: 0.5rem 1rem;
    border: 1px solid var(--sand-200);
    border-radius: 2px;
    font-size: 0.875rem;
    transition: all var(--transition-base);
    color: var(--navy-800);
}

.nav-links .page-numbers.current,
.nav-links .page-numbers:hover {
    background: var(--brand-800);
    color: var(--white);
    border-color: var(--brand-800);
}

/* Mobile contact bar body padding */
@media (max-width: 767px) {
    body {
        padding-bottom: 4.5rem;
    }
}

/* WordPress admin bar offset */
.admin-bar .site-header {
    top: 32px;
}

@media (max-width: 782px) {
    .admin-bar .site-header {
        top: 46px;
    }
}

/* ── Unavailable property banner ─────────────────────────────────────────── */

.listing-unavailable-banner {
    background: #fef3c7;
    border-bottom: 2px solid #f59e0b;
    padding: 1rem 0;
}

.listing-unavailable-inner {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-px);
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.listing-unavailable-icon {
    flex-shrink: 0;
    color: #d97706;
    display: flex;
    align-items: center;
}

.listing-unavailable-text {
    flex: 1;
    min-width: 200px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.listing-unavailable-text strong {
    font-size: 0.95rem;
    color: #92400e;
}

.listing-unavailable-text span {
    font-size: 0.82rem;
    color: #78350f;
}

.listing-unavailable-cta {
    flex-shrink: 0;
    border-color: #d97706;
    color: #92400e;
    font-size: 0.85rem;
    padding: 0.4rem 1rem;
    white-space: nowrap;
}

.listing-demo-banner {
    background: #eff6ff;
    border-bottom-color: #3b82f6;
}

.listing-demo-banner .listing-unavailable-icon {
    color: #2563eb;
}

.listing-demo-banner .listing-unavailable-text strong {
    color: #1e3a8a;
}

.listing-demo-banner .listing-unavailable-text span {
    color: #1e40af;
}

.listing-demo-disabled {
    cursor: not-allowed;
    opacity: 0.72;
    text-align: center;
}

.listing-password-container {
    min-height: 62vh;
    display: grid;
    place-items: center;
}

.listing-password-card {
    width: min(100%, 620px);
    padding: clamp(2rem, 5vw, 3.5rem);
    border: 1px solid rgba(11, 22, 44, 0.12);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 24px 60px rgba(11, 22, 44, 0.1);
}

.listing-password-card h1 {
    margin: 0.5rem 0 1rem;
    color: var(--brand-900);
    font-family: var(--font-serif);
    font-size: clamp(2rem, 5vw, 3.25rem);
    line-height: 1.08;
}

.listing-password-card > p:not(.bp-eyebrow) {
    margin-bottom: 1.5rem;
    color: rgba(11, 22, 44, 0.72);
}

.listing-password-card .post-password-form p:last-child {
    display: flex;
    align-items: flex-end;
    gap: 0.75rem;
    margin-bottom: 0;
}

.listing-password-card .post-password-form label {
    flex: 1;
    font-weight: 700;
    color: var(--brand-900);
}

.listing-password-card .post-password-form input[type="password"] {
    width: 100%;
    margin-top: 0.45rem;
    padding: 0.75rem 0.9rem;
    border: 1px solid rgba(11, 22, 44, 0.22);
    border-radius: 5px;
}

.listing-password-card .post-password-form input[type="submit"] {
    min-height: 46px;
    padding: 0.75rem 1.25rem;
    border: 0;
    border-radius: 5px;
    background: var(--brand-800);
    color: #fff;
    font-weight: 700;
    cursor: pointer;
}

@media (max-width: 560px) {
    .listing-password-card .post-password-form p:last-child {
        align-items: stretch;
        flex-direction: column;
    }
}

/* ── Rent By Room banner ────────────────────────────────────────────────── */

.listing-rbr-banner {
    background: #e0f2f1;
    border: 1px solid #80cbc4;
    border-radius: 8px;
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
}

.listing-rbr-inner {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.listing-rbr-icon {
    flex-shrink: 0;
    color: #00796b;
    display: flex;
    align-items: center;
    margin-top: 2px;
}

.listing-rbr-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.listing-rbr-text strong {
    font-size: 0.95rem;
    color: #004d40;
}

.listing-rbr-text span {
    font-size: 0.82rem;
    color: #00695c;
    line-height: 1.4;
}

.listing-unavailable-cta:hover {
    background: #d97706;
    color: #fff;
    border-color: #d97706;
}

@media (max-width: 640px) {
    .listing-unavailable-inner {
        flex-direction: column;
        align-items: flex-start;
    }
    .listing-unavailable-cta {
        align-self: stretch;
        text-align: center;
    }
}

/* ── Similar available properties section ────────────────────────────────── */

.similar-properties-section {
    background: var(--cream);
    border-top: 1px solid var(--sand-200);
    padding: clamp(3.5rem, 7vw, 6rem) var(--container-px);
    margin-top: clamp(3rem, 6vw, 5rem);
}

.similar-properties-container {
    max-width: var(--container-max);
    margin: 0 auto;
}

.similar-properties-header {
    text-align: center;
    max-width: 44rem;
    margin: 0 auto 2.5rem;
}

.similar-properties-kicker {
    margin-left: auto;
    margin-right: auto;
}

.similar-properties-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 400;
    color: var(--navy-900);
    margin: 0 0 0.5rem;
}

.similar-properties-sub {
    color: rgba(11, 22, 44, 0.62);
    font-size: 1rem;
    line-height: 1.7;
    margin: 0;
}

.similar-properties-grid {
    margin-bottom: 2.5rem;
}

.similar-properties-footer {
    display: flex;
    justify-content: center;
}

.similar-properties-footer .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-sm {
    font-size: 0.8rem;
    padding: 0.35rem 0.9rem;
}

.property-card-no-image {
    background: var(--sand-100);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    color: rgba(11, 22, 44, 0.45);
}
