/**
 * RealEstate Hub - Public Styles
 * @package RealEstate_Hub
 */

/* Property Cards */
.reh-featured-properties {
    display: grid;
    gap: 30px;
    margin: 30px 0;
}

.reh-featured-properties.columns-2 { grid-template-columns: repeat(2, 1fr); }
.reh-featured-properties.columns-3 { grid-template-columns: repeat(3, 1fr); }
.reh-featured-properties.columns-4 { grid-template-columns: repeat(4, 1fr); }

.reh-property-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.reh-property-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.reh-property-card .property-image {
    position: relative;
    overflow: hidden;
}

.reh-property-card .property-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s;
}

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

.reh-property-card .property-status {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #3498db;
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
}

.reh-property-card .property-details {
    padding: 20px;
}

.reh-property-card .property-price {
    font-size: 24px;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 10px;
}

.reh-property-card h3 {
    font-size: 18px;
    margin: 10px 0;
}

.reh-property-card h3 a {
    color: #2c3e50;
    text-decoration: none;
}

.reh-property-card h3 a:hover {
    color: #3498db;
}

.reh-property-card .property-location {
    color: #7f8c8d;
    font-size: 14px;
    margin-bottom: 15px;
}

.reh-property-card .property-features {
    display: flex;
    gap: 15px;
    font-size: 14px;
    color: #95a5a6;
    padding-top: 15px;
    border-top: 1px solid #ecf0f1;
}

/* Search Form */
.reh-search-form {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.reh-search-form .form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 15px;
}

.reh-search-form input,
.reh-search-form select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.reh-search-form button {
    background: #3498db;
    color: #fff;
    padding: 12px 30px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
}

.reh-search-form button:hover {
    background: #2980b9;
}

/* Agents Grid */
.reh-agents-grid {
    display: grid;
    gap: 30px;
    margin: 30px 0;
}

.reh-agents-grid.columns-2 { grid-template-columns: repeat(2, 1fr); }
.reh-agents-grid.columns-3 { grid-template-columns: repeat(3, 1fr); }
.reh-agents-grid.columns-4 { grid-template-columns: repeat(4, 1fr); }

.reh-agent-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
}

.reh-agent-card .agent-photo img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
}

/* Market Trends */
.reh-market-trends {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    margin: 30px 0;
}

.reh-market-trends .trend-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 20px;
}

.reh-market-trends .stat {
    text-align: center;
}

.reh-market-trends .stat label {
    display: block;
    color: #7f8c8d;
    font-size: 14px;
    margin-bottom: 5px;
}

.reh-market-trends .stat strong {
    font-size: 28px;
    color: #2c3e50;
}

.reh-market-trends .stat strong.up {
    color: #3498db;
}

.reh-market-trends .stat strong.down {
    color: #e74c3c;
}

/* Responsive */
@media (max-width: 768px) {
    .reh-featured-properties.columns-3,
    .reh-featured-properties.columns-4 {
        grid-template-columns: repeat(1, 1fr);
    }

    .reh-agents-grid.columns-3,
    .reh-agents-grid.columns-4 {
        grid-template-columns: repeat(1, 1fr);
    }

    .reh-market-trends .trend-stats {
        grid-template-columns: 1fr;
    }
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 10px 20px;
    background: #3498db;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    transition: background 0.3s;
}

.btn:hover {
    background: #2980b9;
    color: #fff;
}

/* ========================================
   SINGLE PROPERTY PAGE STYLES
   ======================================== */

/* Load Font Awesome */
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css');

/* Container */
.reh-single-property-wrapper {
    padding: 40px 20px;
    max-width: 1400px;
    margin: 0 auto;
    background: #f8f9fa;
}

.reh-archive-wrapper {
    padding: 30px 0 60px;
}

.reh-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 30px;
}

/* Archive Hero Header */
.reh-archive-hero {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    padding: 40px 30px;
    border-radius: 16px;
    margin-bottom: 30px;
    text-align: center;
}

.reh-archive-hero-inner {
    max-width: 700px;
    margin: 0 auto;
}

.reh-archive-hero .reh-archive-title {
    color: #fff;
    font-size: 2rem;
    font-weight: 800;
    margin: 0 0 8px 0;
    letter-spacing: -0.5px;
}

.reh-archive-hero .reh-archive-subtitle {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1rem;
    margin: 0 0 16px 0;
    font-weight: 400;
}

.reh-archive-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.reh-archive-cta:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.6);
    color: #fff;
    transform: translateY(-1px);
}

/* Results Header with Sort */
.reh-results-header-modern {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    margin-bottom: 20px;
    border-bottom: 1px solid #e9ecef;
}

.results-count {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #6c757d;
    font-size: 0.9375rem;
}

.results-count i {
    color: #3498db;
}

.view-toggle {
    display: flex;
    gap: 4px;
}

.view-btn {
    padding: 8px 12px;
    border: 1px solid #dee2e6;
    background: #fff;
    border-radius: 6px;
    cursor: pointer;
    color: #6c757d;
    transition: all 0.2s ease;
}

.view-btn.active,
.view-btn:hover {
    background: #3498db;
    border-color: #3498db;
    color: #fff;
}

/* Breadcrumb */
.reh-breadcrumb {
    font-size: 14px;
    color: #6c757d;
    margin-bottom: 20px;
    padding: 10px 0;
}

.reh-breadcrumb a {
    color: #3498db;
    text-decoration: none;
    transition: color 0.3s;
}

.reh-breadcrumb a:hover {
    color: #2980b9;
}

.reh-breadcrumb .separator {
    margin: 0 8px;
    color: #adb5bd;
}

.reh-breadcrumb .current {
    color: #495057;
}

/* Property Hero — Gallery + Key Info Side by Side */
.reh-property-hero {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

.reh-property-hero-gallery {
    border-radius: 12px;
    overflow: hidden;
}

.reh-property-hero-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.reh-hero-price {
    font-size: 2.25rem;
    font-weight: 800;
    color: #2c3e50;
    letter-spacing: -0.5px;
    margin-top: 8px;
}

.reh-hero-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 0;
    line-height: 1.3;
}

.reh-hero-specs {
    font-size: 0.9375rem;
    color: #6c757d;
    font-weight: 500;
}

.reh-hero-mls {
    font-size: 0.8125rem;
    color: #95a5a6;
    font-weight: 500;
}

.reh-hero-highlights {
    list-style: none;
    padding: 0;
    margin: 12px 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.reh-hero-highlights li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9375rem;
    color: #495057;
}

.reh-hero-highlights li i {
    color: #3498db;
    font-size: 0.75rem;
}

.reh-hero-cta {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: auto;
    padding-top: 16px;
}

.reh-hero-agent-line {
    text-align: center;
    font-size: 0.875rem;
    color: #6c757d;
    margin: 0;
}

/* Sticky CTA Sidebar */
.reh-sticky-cta {
    position: sticky;
    top: 90px;
}

.sticky-price {
    font-size: 1.75rem;
    font-weight: 800;
    color: #2c3e50;
    margin-bottom: 4px;
}

.sticky-address {
    font-size: 1rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 4px;
}

.sticky-specs {
    font-size: 0.875rem;
    color: #6c757d;
    margin-bottom: 16px;
}

.sticky-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 12px;
}

.sticky-trust-line {
    text-align: center;
    font-size: 0.8125rem;
    color: #6c757d;
    margin: 0;
}

/* Quiet Attribution */
.reh-attribution-quiet {
    background: #f8f9fa;
    border: none;
    box-shadow: none;
    padding: 16px;
}

.reh-attribution-quiet .attr-line {
    font-size: 0.8125rem;
    color: #95a5a6;
    margin-bottom: 2px;
}

.reh-attribution-quiet .attr-brokerage {
    font-weight: 500;
}

.reh-attribution-quiet .attr-mls {
    font-family: monospace;
    font-size: 0.75rem;
}

.reh-attribution-quiet .attr-disclaimer {
    font-size: 0.6875rem;
    color: #b0bec5;
    margin-top: 8px;
    line-height: 1.4;
}

/* Leaflet Multi-Marker Map */
.reh-leaflet-map {
    background: #edf2f7;
}

.reh-map-marker {
    background: none !important;
    border: none !important;
}

.reh-marker-price {
    background: #2c3e50;
    color: #fff;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    white-space: nowrap;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.25);
    position: relative;
}

.reh-marker-price::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid #2c3e50;
}

.reh-popup-wrapper .leaflet-popup-content-wrapper {
    padding: 0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.reh-popup-wrapper .leaflet-popup-content {
    margin: 0;
    min-width: 200px;
}

.reh-popup-wrapper .leaflet-popup-tip {
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Map Embed (single property) */
.reh-property-map-embed {
    margin-bottom: 12px;
}

.reh-property-map-embed iframe {
    width: 100%;
    min-height: 350px;
}

.reh-location-details {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9375rem;
    color: #6c757d;
    padding: 12px 0;
}

.reh-location-details i {
    color: #3498db;
}

/* Responsive: Property Hero */
@media (max-width: 992px) {
    .reh-property-hero {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .reh-hero-price {
        font-size: 1.75rem;
    }
    .reh-hero-title {
        font-size: 1.25rem;
    }
}

/* Property Gallery Slider */
.reh-property-gallery,
.reh-property-hero-gallery {
    margin-bottom: 0;
}

.reh-gallery-slider {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.slider-main {
    position: relative;
    background: #000;
    overflow: hidden;
}

.slide-item {
    display: none;
    width: 100%;
    max-height: 600px;
}

.slide-item.active {
    display: block;
}

.slide-item img {
    width: 100%;
    height: auto;
    max-height: 600px;
    object-fit: contain;
    display: block;
}

.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.slider-nav:hover {
    background: #fff;
    transform: translateY(-50%) scale(1.1);
}

.slider-nav.prev {
    left: 20px;
}

.slider-nav.next {
    right: 20px;
}

.slider-nav i {
    font-size: 1.25rem;
    color: #2c3e50;
}

.slider-counter {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(0,0,0,0.7);
    color: #fff;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.slider-thumbnails {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 10px;
    padding: 15px;
    background: #f8f9fa;
}

.thumb-item {
    cursor: pointer;
    border-radius: 8px;
    overflow: hidden;
    border: 3px solid transparent;
    transition: all 0.3s;
    opacity: 0.7;
}

.thumb-item:hover,
.thumb-item.active {
    border-color: #3498db;
    opacity: 1;
    transform: scale(1.05);
}

.thumb-item img {
    width: 100%;
    height: 80px;
    object-fit: cover;
    display: block;
}

/* Content Grid Layout */
.reh-content-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 30px;
    align-items: start;
}

.reh-content-main {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* Section Styling */
.reh-section {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.section-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 20px 0;
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 15px;
    border-bottom: 3px solid #3498db;
}

.section-title i {
    color: #3498db;
    font-size: 1.5rem;
}

.section-content {
    color: #495057;
    line-height: 1.8;
    font-size: 1rem;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 10px;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.feature-item:hover {
    border-color: #3498db;
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(52,152,219,0.15);
}

.feature-item i {
    font-size: 2rem;
    color: #3498db;
    min-width: 40px;
}

.feature-details {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.feature-label {
    font-size: 0.875rem;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.feature-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: #2c3e50;
}

/* Map Section */
.reh-property-map {
    height: 400px;
    border-radius: 10px;
    background: #e9ecef;
    overflow: hidden;
}

.map-placeholder {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    gap: 10px;
}

.map-placeholder i {
    font-size: 3rem;
    color: #adb5bd;
}

.map-placeholder p {
    font-size: 1.125rem;
    font-weight: 600;
    color: #495057;
    margin: 0;
}

.map-placeholder small {
    font-size: 0.875rem;
    color: #6c757d;
}

/* Smooth scrolling for anchor links */
html {
    scroll-behavior: smooth;
}

/* Sidebar Cards */
.reh-content-sidebar {
    display: flex;
    flex-direction: column;
    gap: 25px;
    position: sticky;
    top: 20px;
}

/* Quick Action Card - Prominent CTAs */
.quick-action-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%) !important;
    border: none !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.12) !important;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.quick-action-card .btn {
    margin: 0;
}

.reh-sidebar-card {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    border: 2px solid #e9ecef;
    transition: all 0.3s;
}

.reh-sidebar-card:hover {
    border-color: #3498db;
    box-shadow: 0 4px 16px rgba(52,152,219,0.15);
}

.reh-sidebar-card .card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 20px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e9ecef;
}

.reh-sidebar-card .card-title i {
    color: #3498db;
}

.card-content {
    color: #495057;
}

/* Listing Attribution Card (CREA Compliance) */
.attribution-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.attribution-content {
    font-size: 0.9375rem;
}

.attribution-agent {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #dee2e6;
}

.attribution-agent .agent-name {
    font-weight: 600;
    color: #2c3e50;
    font-size: 1rem;
    margin-bottom: 8px;
}

.attribution-agent .agent-phone,
.attribution-agent .agent-email {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 5px 0;
    color: #495057;
}

.attribution-agent .agent-phone i,
.attribution-agent .agent-email i {
    color: #3498db;
    font-size: 0.875rem;
    width: 16px;
}

.attribution-agent a,
.attribution-brokerage a {
    color: #3498db;
    text-decoration: none;
}

.attribution-agent a:hover,
.attribution-brokerage a:hover {
    text-decoration: underline;
}

.attribution-brokerage {
    margin-bottom: 15px;
}

.attribution-brokerage .brokerage-label {
    font-size: 0.8125rem;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.attribution-brokerage .brokerage-name {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 5px;
}

.attribution-brokerage .brokerage-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #495057;
}

.attribution-brokerage .brokerage-phone i {
    color: #3498db;
    font-size: 0.875rem;
}

.attribution-disclaimer {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #dee2e6;
}

.attribution-disclaimer small {
    display: block;
    font-size: 0.75rem;
    color: #6c757d;
    line-height: 1.5;
}

/* Property Summary Card */
.summary-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f1f3f5;
}

.summary-item:last-child {
    border-bottom: none;
}

.summary-label {
    font-size: 0.9375rem;
    color: #6c757d;
    font-weight: 500;
}

.summary-value {
    font-size: 1rem;
    font-weight: 700;
    color: #2c3e50;
}

/* Lightbox Modal */
.reh-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.95);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-image {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
}

.lightbox-close {
    position: fixed;
    top: 20px;
    right: 20px;
    background: rgba(255,255,255,0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-close:hover {
    background: #fff;
    transform: rotate(90deg);
}

.lightbox-close i {
    font-size: 1.5rem;
    color: #2c3e50;
}

.lightbox-nav {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-nav:hover {
    background: #fff;
}

.lightbox-nav.lightbox-prev {
    left: 20px;
}

.lightbox-nav.lightbox-next {
    right: 20px;
}

.lightbox-nav i {
    font-size: 1.5rem;
    color: #2c3e50;
}

.lightbox-counter {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255,255,255,0.9);
    color: #2c3e50;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 600;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .reh-content-grid {
        grid-template-columns: 1fr 320px;
    }
}

@media (max-width: 992px) {
    .reh-content-grid {
        grid-template-columns: 1fr;
    }

    .reh-content-sidebar {
        position: static;
    }

    .reh-property-title {
        font-size: 2rem;
    }

    .reh-property-price .price-value {
        font-size: 2rem;
    }

    .reh-quick-stats {
        padding: 20px 10px;
    }
}

@media (max-width: 768px) {
    .reh-single-property-wrapper {
        padding: 20px 15px;
    }

    .reh-property-header {
        padding: 20px;
    }

    .reh-property-header-content {
        flex-direction: column;
    }

    .reh-header-right {
        text-align: left;
        width: 100%;
    }

    .reh-property-title {
        font-size: 1.75rem;
    }

    .reh-property-price .price-value {
        font-size: 1.75rem;
    }

    .reh-quick-stats {
        justify-content: flex-start;
        gap: 15px;
    }

    .quick-stat-item {
        min-width: 80px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .reh-section {
        padding: 20px;
    }

    .slider-nav {
        width: 40px;
        height: 40px;
    }

    .slider-nav.prev {
        left: 10px;
    }

    .slider-nav.next {
        right: 10px;
    }

    .slider-thumbnails {
        grid-template-columns: repeat(auto-fill, minmax(70px, 1fr));
        gap: 8px;
        padding: 10px;
    }

    .thumb-item img {
        height: 60px;
    }
}

/* ========================================
   PROFESSIONAL BUTTON STYLES
   ======================================== */

/* Primary Button */
.btn,
.reh-btn,
input[type="submit"],
button[type="submit"],
.wp-block-button__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: #fff !important;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none !important;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(52,152,219,0.25);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Button Block */
.btn-block {
    width: 100%;
    display: flex;
}

/* Large Button */
.btn-lg {
    padding: 18px 32px;
    font-size: 1.125rem;
}

.btn:hover,
.reh-btn:hover,
input[type="submit"]:hover,
button[type="submit"]:hover,
.wp-block-button__link:hover {
    background: linear-gradient(135deg, #2980b9 0%, #2472a4 100%);
    box-shadow: 0 6px 20px rgba(52,152,219,0.35);
    transform: translateY(-2px);
    color: #fff !important;
}

.btn:active,
.reh-btn:active,
input[type="submit"]:active,
button[type="submit"]:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(52,152,219,0.3);
}

/* Secondary Button - Outline Style */
.btn-secondary,
.reh-btn-secondary {
    background: #fff !important;
    color: #3498db !important;
    border: 2px solid #3498db !important;
    box-shadow: 0 2px 8px rgba(52,152,219,0.15) !important;
}

.btn-secondary:hover,
.reh-btn-secondary:hover {
    background: #3498db !important;
    color: #fff !important;
    border-color: #3498db !important;
    box-shadow: 0 4px 16px rgba(52,152,219,0.25) !important;
    transform: translateY(-2px);
}

/* Success Button */
.btn-success,
.reh-btn-success {
    background: linear-gradient(135deg, #2980b9 0%, #2472a4 100%);
    box-shadow: 0 4px 12px rgba(39,174,96,0.25);
}

.btn-success:hover,
.reh-btn-success:hover {
    background: linear-gradient(135deg, #2472a4 0%, #1a6fa0 100%);
    box-shadow: 0 6px 20px rgba(39,174,96,0.35);
}

/* Outline Button */
.btn-outline,
.reh-btn-outline {
    background: transparent;
    color: #3498db !important;
    border: 2px solid #3498db;
    box-shadow: none;
}

.btn-outline:hover,
.reh-btn-outline:hover {
    background: #3498db;
    color: #fff !important;
    box-shadow: 0 4px 12px rgba(52,152,219,0.25);
}

/* Large Button */
.btn-large,
.reh-btn-large {
    padding: 18px 36px;
    font-size: 1.125rem;
}

/* Small Button */
.btn-small,
.reh-btn-small {
    padding: 10px 20px;
    font-size: 0.875rem;
}

/* Icon Buttons */
.btn i,
.reh-btn i {
    font-size: 1.1em;
}

/* Form Inputs - Professional Styling */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="date"],
input[type="time"],
select,
textarea {
    width: 100%;
    padding: 14px 16px;
    font-size: 1rem;
    color: #2c3e50;
    background: #fff;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-family: inherit;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="number"]:focus,
input[type="date"]:focus,
input[type="time"]:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52,152,219,0.1);
}

textarea {
    min-height: 120px;
    resize: vertical;
}

/* Form Labels */
label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #2c3e50;
    font-size: 0.9375rem;
}

/* Form Groups */
.form-group {
    margin-bottom: 20px;
}

/* Contact Form Styling */
.reh-sidebar-card form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.reh-sidebar-card input,
.reh-sidebar-card textarea,
.reh-sidebar-card select {
    margin-bottom: 0;
}

/* Price Highlight */
.reh-property-price .price-value {
    background: linear-gradient(135deg, #2980b9 0%, #2472a4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Enhanced Shadows and Depth */
.reh-property-header,
.reh-section,
.reh-sidebar-card,
.reh-gallery-slider {
    position: relative;
}

.reh-property-header::before,
.reh-section::before,
.reh-sidebar-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: inherit;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    z-index: -1;
}

.reh-property-header:hover::before,
.reh-section:hover::before,
.reh-sidebar-card:hover::before {
    opacity: 1;
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Selection Color */
::selection {
    background: #3498db;
    color: #fff;
}

::-moz-selection {
    background: #3498db;
    color: #fff;
}

/* ========================================
   COMPACT SEARCH FORM - MODERN DESIGN
   ======================================== */

.reh-search-form-modern {
    background: #fff;
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    max-width: 100%;
}

.search-form-container {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.search-main-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.filter-item {
    position: relative;
    display: flex;
    align-items: center;
    flex: 0 0 auto;
}

.filter-item i {
    position: absolute;
    left: 12px;
    color: #6c757d;
    z-index: 1;
    font-size: 0.875rem;
    pointer-events: none;
}

.reh-search-form-modern .filter-item input,
.reh-search-form-modern .filter-item input[type="text"],
.reh-search-form-modern .filter-item input[type="number"],
.reh-search-form-modern .filter-item select {
    height: 44px !important;
    padding: 0 12px 0 36px !important;
    border: none !important;
    border-radius: 8px !important;
    font-size: 0.875rem !important;
    transition: all 0.2s ease;
    background: #f5f7fa !important;
    cursor: pointer;
    color: #333 !important;
    width: auto;
    box-shadow: none !important;
}

.reh-search-form-modern .filter-item input::placeholder {
    color: #6c757d;
}

.reh-search-form-modern .filter-item input,
.reh-search-form-modern .filter-item input[type="text"] {
    width: 200px;
}

.reh-search-form-modern .filter-item input[type="number"] {
    width: 130px;
}

.reh-search-form-modern .filter-item select {
    width: 130px;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236c757d' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-color: #f5f7fa;
    padding-right: 28px;
}

.reh-search-form-modern .filter-item input:hover,
.reh-search-form-modern .filter-item select:hover {
    background: #eef1f5;
}

.reh-search-form-modern .filter-item input:focus,
.reh-search-form-modern .filter-item select:focus {
    background: #fff !important;
    border: none !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.15) !important;
}

.filter-keyword {
    flex: 2 1 240px;
    min-width: 200px;
}

.filter-sort {
    margin-left: auto;
}

.filter-keyword input {
    width: 100%;
}

.filter-price {
    display: none;
}

.price-separator {
    display: none;
}

.reh-search-form--advanced .filter-price {
    display: flex;
    gap: 8px;
}

.reh-search-form--advanced .filter-price input {
    width: 130px;
}

.reh-search-form--advanced .filter-price input[name="max_price"] {
    padding-left: 12px;
}

.reh-search-form--advanced .price-separator {
    display: inline-flex;
    align-items: center;
    padding: 0 8px;
    color: #6c757d;
    font-weight: 600;
}

.reh-search-form--vertical .search-main-filters {
    flex-direction: column;
    align-items: stretch;
}

.reh-search-form--vertical .filter-item {
    width: 100%;
}

.reh-search-form--vertical .filter-item input,
.reh-search-form--vertical .filter-item select {
    width: 100%;
}

.reh-search-form--vertical .btn-search {
    width: 100%;
    justify-content: center;
}

.reh-search-form--vertical.reh-search-form--advanced .filter-price {
    flex-wrap: wrap;
}

.reh-search-form--vertical.reh-search-form--advanced .price-separator {
    display: none;
}

.reh-search-form--vertical.reh-search-form--advanced .filter-price input[name="max_price"] {
    padding-left: 36px;
}

.filter-sort select {
    width: 130px;
}

.btn-search {
    padding: 0 24px;
    height: 44px;
    white-space: nowrap;
    border-radius: 8px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex: 0 0 auto;
}

.btn-search i {
    font-size: 0.875rem;
}

.btn-clear-filters {
    padding: 0 16px;
    height: 44px;
    white-space: nowrap;
    border-radius: 8px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex: 0 0 auto;
    background: #f5f7fa;
    color: #6c757d;
    border: 1px solid #dee2e6;
    text-decoration: none;
    font-size: 0.875rem;
    transition: all 0.2s ease;
}

.btn-clear-filters:hover {
    background: #e9ecef;
    color: #495057;
}

.search-advanced-toggle {
    display: none;
}

.search-advanced-filters {
    display: none;
}

/* Results Header */
.reh-results-header-modern {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    margin-bottom: 25px;
    border-bottom: 2px solid #e9ecef;
}

.results-count {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.125rem;
    color: #495057;
}

.results-count i {
    color: #3498db;
    font-size: 1.25rem;
}

.results-count strong {
    color: #2c3e50;
    font-size: 1.25rem;
}

.view-toggle {
    display: flex;
    gap: 8px;
}

.view-btn {
    width: 40px;
    height: 40px;
    border: 2px solid #e9ecef;
    background: #fff;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
}

.view-btn:hover {
    border-color: #3498db;
    color: #3498db;
}

.view-btn.active {
    background: #3498db;
    border-color: #3498db;
    color: #fff;
}

/* Properties Grid */
.reh-properties-grid {
    display: grid;
    gap: 25px;
    margin-bottom: 40px;
}

.reh-properties-grid.columns-3 {
    grid-template-columns: repeat(3, 1fr);
}

.reh-properties-grid.columns-1 {
    grid-template-columns: 1fr;
}

/* Modern Property Card */
.reh-property-card-modern {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.reh-property-card-modern:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    transform: translateY(-4px);
    border-color: #3498db;
}

.reh-property-card-modern .property-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/10;
}

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

.reh-property-card-modern:hover .property-image img {
    transform: scale(1.08);
}

.property-badges {
    position: absolute;
    top: 15px;
    left: 15px;
    display: flex;
    gap: 8px;
}

.badge-status {
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: #fff;
    color: #2c3e50;
    box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}

.badge-status.status-active {
    background: linear-gradient(135deg, #2980b9 0%, #2472a4 100%);
    color: #fff;
}

.badge-status.status-sold {
    background: linear-gradient(135deg, #95a5a6 0%, #7f8c8d 100%);
    color: #fff;
}

.property-content {
    padding: 22px;
}

.property-price {
    font-size: 1.875rem;
    font-weight: 800;
    color: #2c3e50;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

/* Rental price indicator */
.rental-frequency {
    font-size: 0.6em;
    font-weight: 500;
    color: #6c757d;
    -webkit-text-fill-color: #6c757d;
    background: none;
}

.property-title {
    margin: 0 0 6px 0;
    font-size: 1.0625rem;
    font-weight: 600;
    line-height: 1.4;
}

.property-title a {
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.3s ease;
}

.property-title a:hover {
    color: #3498db;
}

.property-location {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #95a5a6;
    font-size: 0.875rem;
    margin-bottom: 16px;
}

.property-location i {
    color: #3498db;
    font-size: 0.8125rem;
}

.property-type-label {
    color: #b0bec5;
    font-weight: 500;
}

.property-meta {
    display: flex;
    gap: 15px;
    padding: 15px 0;
    border-top: 1px solid #e9ecef;
    border-bottom: 1px solid #e9ecef;
    margin-bottom: 15px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #495057;
    font-size: 0.9375rem;
    font-weight: 600;
}

.meta-item i {
    color: #3498db;
    font-size: 1rem;
}

.property-actions {
    display: flex;
    gap: 10px;
}

.btn-view-details {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* No Results */
.reh-no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    background: #f8f9fa;
    border-radius: 12px;
}

.reh-no-results i {
    font-size: 4rem;
    color: #adb5bd;
    margin-bottom: 20px;
}

.reh-no-results h3 {
    font-size: 1.5rem;
    color: #495057;
    margin-bottom: 10px;
}

.reh-no-results p {
    color: #6c757d;
    font-size: 1.0625rem;
}

/* Pagination */
.reh-pagination-modern {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
}

.reh-pagination-modern a,
.reh-pagination-modern span {
    padding: 10px 16px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    color: #495057;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.reh-pagination-modern a:hover {
    border-color: #3498db;
    background: #3498db;
    color: #fff;
}

.reh-pagination-modern .current {
    background: #3498db;
    border-color: #3498db;
    color: #fff;
}

/* Responsive */
@media (max-width: 1200px) {
    .filter-item input {
        width: 160px;
    }

    .filter-item select {
        width: 110px;
    }

    .btn-search {
        padding: 0 16px;
    }
}

@media (max-width: 992px) {
    .reh-properties-grid.columns-3 {
        grid-template-columns: repeat(2, 1fr);
    }

    .reh-search-form-modern {
        padding: 16px;
    }

    .filter-item {
        flex: 1 1 calc(50% - 10px);
    }

    .filter-keyword {
        flex: 1 1 100%;
    }

    .filter-item input,
    .filter-item select {
        width: 100%;
        height: 42px;
        font-size: 0.8125rem;
    }

    .btn-search {
        flex: 1 1 100%;
        height: 44px;
    }
}

@media (max-width: 768px) {
    .reh-search-form-modern {
        border-radius: 12px;
        padding: 15px;
    }

    .filter-item {
        flex: 1 1 100%;
    }

    .filter-item input,
    .filter-item select {
        width: 100%;
        height: 44px;
    }

    .btn-search {
        width: 100%;
        height: 48px;
    }

    .reh-properties-grid.columns-3,
    .reh-properties-grid.columns-2 {
        grid-template-columns: 1fr;
    }

    .reh-results-header-modern {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
}

/* ==================================================
   ABOUT PROFILE SECTION
   ================================================== */

/* Hide sidebar widgets on About page */
body.page-id-5 .widget-area,
body.page-id-5 aside.sidebar,
body.page .widget-area {
    display: none;
}

/* Ensure About page content takes full width */
body.page-id-5 .content-area,
body.page .content-area {
    width: 100%;
    max-width: 100%;
}

.reh-about {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

/* Hero Section with Photo and Content */
.reh-about-hero {
    display: flex;
    gap: 60px;
    align-items: flex-start;
    margin-bottom: 60px;
    padding: 50px;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(52, 152, 219, 0.3);
}

.reh-about-photo {
    flex-shrink: 0;
}

.reh-about-photo img {
    width: 300px;
    height: 300px;
    object-fit: cover;
    object-position: center top;
    border-radius: 50%;
    border: 8px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.reh-about-copy {
    flex: 1;
    color: #fff;
}

.reh-about-kicker {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 10px 0;
}

.reh-about-copy h1 {
    font-size: 3rem;
    font-weight: 800;
    color: #fff;
    margin: 0 0 10px 0;
    line-height: 1.1;
}

.reh-about-title {
    font-size: 1.25rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.95);
    margin: 0 0 25px 0;
}

/* Credentials Chips */
.reh-about-credentials {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 25px;
}

.reh-about-credentials .chip {
    display: inline-block;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    color: #fff;
    padding: 8px 18px;
    border-radius: 25px;
    font-size: 0.875rem;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.reh-about-credentials .chip:hover {
    background: rgba(255, 255, 255, 0.35);
    transform: translateY(-2px);
}

/* Bio Text */
.reh-about-bio {
    font-size: 1.125rem;
    line-height: 1.8;
    margin-bottom: 30px;
}

/* Hard white text for bio on blue hero - prevents theme defaults from bleeding through */
.reh-about-hero .reh-about-bio,
.reh-about-hero .reh-about-bio p,
.reh-about-hero .reh-about-bio a,
.reh-about-hero .reh-about-bio li {
    color: #fff;
}

.reh-about-bio p {
    margin: 0 0 15px 0;
}

/* Call to Action Buttons */
.reh-about-cta {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.reh-about-cta .btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.reh-about-cta .btn-primary {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.6);
}

.reh-about-cta .btn-primary:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: #fff;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.reh-about-cta .btn-ghost {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.reh-about-cta .btn-ghost:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.8);
    transform: translateY(-3px);
}

/* Stats Bar */
.reh-about-stats {
    display: flex;
    justify-content: space-around;
    gap: 30px;
    padding: 50px;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    margin-bottom: 60px;
}

.reh-about-stats .stat {
    text-align: center;
    flex: 1;
}

.reh-about-stats .stat strong {
    display: block;
    font-size: 3rem;
    font-weight: 800;
    color: #3498db;
    line-height: 1;
    margin-bottom: 10px;
}

.reh-about-stats .stat span {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Services / Process Section */
.reh-about-services {
    padding: 50px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 15px;
}

.reh-about-services h2 {
    font-size: 2.25rem;
    font-weight: 800;
    color: #2c3e50;
    margin: 0 0 35px 0;
    text-align: center;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.service-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(52, 152, 219, 0.15);
}

.service-item i {
    font-size: 1.5rem;
    color: #2980b9;
    flex-shrink: 0;
}

.service-item span {
    font-size: 1rem;
    font-weight: 600;
    color: #2c3e50;
}

/* Responsive Design */
@media (max-width: 992px) {
    .reh-about-hero {
        flex-direction: column;
        gap: 40px;
        padding: 40px 30px;
        text-align: center;
    }

    .reh-about-photo {
        margin: 0 auto;
    }

    .reh-about-photo img {
        width: 250px;
        height: 250px;
    }

    .reh-about-copy h1 {
        font-size: 2.5rem;
    }

    .reh-about-credentials {
        justify-content: center;
    }

    .reh-about-cta {
        justify-content: center;
    }

    .reh-about-stats {
        flex-wrap: wrap;
        padding: 35px 25px;
    }

    .reh-about-stats .stat {
        min-width: 150px;
    }
}

@media (max-width: 768px) {
    .reh-about {
        padding: 40px 15px;
    }

    .reh-about-hero {
        padding: 30px 20px;
        gap: 30px;
        margin-bottom: 40px;
    }

    .reh-about-photo img {
        width: 200px;
        height: 200px;
    }

    .reh-about-copy h1 {
        font-size: 2rem;
    }

    .reh-about-bio {
        font-size: 1rem;
    }

    .reh-about-stats {
        flex-direction: column;
        gap: 30px;
        padding: 30px 20px;
        margin-bottom: 40px;
    }

    .reh-about-stats .stat strong {
        font-size: 2.5rem;
    }

    .reh-about-services {
        padding: 30px 20px;
    }

    .reh-about-services h2 {
        font-size: 1.75rem;
        margin-bottom: 25px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .reh-about-cta .btn {
        width: 100%;
        justify-content: center;
    }
}
/* ==================================================
   TESTIMONIALS SHOWCASE SECTION (Matching About Us Design)
   ================================================== */

/* Main Container */
.reh-testimonials-showcase {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 20px;
}

/* Header */
.reh-testimonials-header {
    text-align: center;
    margin-bottom: 60px;
}

.reh-testimonials-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #2c3e50;
    margin: 0 0 15px 0;
    line-height: 1.2;
}

.reh-testimonials-subheading {
    font-size: 1.125rem;
    color: #6c757d;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Grid Layout - Dynamic columns */
.testimonials-grid {
    display: grid;
    gap: 30px;
    margin-bottom: 50px;
}

.testimonials-grid[data-columns="2"] {
    grid-template-columns: repeat(2, 1fr);
}

.testimonials-grid[data-columns="3"] {
    grid-template-columns: repeat(3, 1fr);
}

.testimonials-grid[data-columns="4"] {
    grid-template-columns: repeat(4, 1fr);
}

/* Individual Testimonial Card */
.testimonial-card-modern {
    background: #fff;
    border-radius: 20px;
    padding: 35px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.testimonial-card-modern:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(37, 99, 235, 0.18);
}

/* Quote Icon (Background) */
.testimonial-card-modern::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 25px;
    font-size: 4rem;
    color: rgba(37, 99, 235, 0.12);
    font-family: Georgia, serif;
    line-height: 1;
    pointer-events: none;
}

/* Rating Stars */
.testimonial-rating {
    display: flex;
    gap: 5px;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.testimonial-rating i {
    color: #f39c12;
    font-size: 1.125rem;
}

.testimonial-rating .far {
    color: #ddd;
}

/* Verified Badge */
.verified-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #1d4ed8, #2563eb);
    color: #fff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.verified-badge i {
    font-size: 0.875rem;
}

/* Testimonial Text */
.testimonial-text {
    flex: 1;
    font-size: 1rem;
    line-height: 1.8;
    color: #2c3e50;
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
}

.testimonial-text p {
    margin: 0;
}

/* Client Info Section */
.testimonial-client {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-top: 20px;
    border-top: 2px solid #f0f0f0;
    position: relative;
    z-index: 1;
}

/* Avatar Container */
.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 3px solid rgba(37, 99, 235, 0.14);
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Initials Circle (Fallback) */
.testimonial-initials {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    text-transform: uppercase;
}

/* Client Info Text */
.testimonial-client-info {
    flex: 1;
}

.testimonial-client-name {
    font-size: 1rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 3px 0;
}

.testimonial-client-subtitle {
    font-size: 0.875rem;
    color: #6c757d;
    margin: 0;
}

/* CTA Button Section */
.reh-testimonials-cta {
    text-align: center;
    margin-top: 50px;
}

.reh-testimonials-cta .btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 40px;
    background: linear-gradient(135deg, #1d4ed8, #2563eb);
    color: #fff;
    font-size: 1.125rem;
    font-weight: 700;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.28);
}

.reh-testimonials-cta .btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(37, 99, 235, 0.36);
    background: linear-gradient(135deg, #1e40af, #1d4ed8);
}

.reh-testimonials-cta .btn-cta i {
    font-size: 1.25rem;
}

/* Empty State */
.reh-testimonials-empty {
    text-align: center;
    padding: 100px 20px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.reh-testimonials-empty .empty-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 30px;
    background: linear-gradient(135deg, #3498db, #2980b9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.reh-testimonials-empty .empty-icon i {
    font-size: 3rem;
    color: #fff;
}

.reh-testimonials-empty h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 10px 0;
}

.reh-testimonials-empty p {
    font-size: 1.125rem;
    color: #6c757d;
    margin: 0 0 30px 0;
}

.reh-testimonials-empty .btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: #fff;
    font-weight: 700;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(52, 152, 219, 0.3);
}

.reh-testimonials-empty .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(52, 152, 219, 0.4);
}

/* Featured Testimonial Highlight */
.testimonial-card-modern.featured {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05), rgba(118, 75, 162, 0.05));
    border: 2px solid rgba(102, 126, 234, 0.2);
    box-shadow: 0 12px 35px rgba(102, 126, 234, 0.15);
}

.testimonial-card-modern.featured:hover {
    border-color: rgba(102, 126, 234, 0.4);
    box-shadow: 0 15px 45px rgba(102, 126, 234, 0.25);
}

/* Responsive Design */
@media (max-width: 992px) {
    .testimonials-grid[data-columns="3"],
    .testimonials-grid[data-columns="4"] {
        grid-template-columns: repeat(2, 1fr);
    }

    .reh-testimonials-header h2 {
        font-size: 2rem;
    }

    .testimonial-card-modern {
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .reh-testimonials-showcase {
        padding: 60px 15px;
    }

    .reh-testimonials-header {
        margin-bottom: 40px;
    }

    .reh-testimonials-header h2 {
        font-size: 1.75rem;
    }

    .reh-testimonials-subheading {
        font-size: 1rem;
    }

    .testimonials-grid,
    .testimonials-grid[data-columns="2"],
    .testimonials-grid[data-columns="3"],
    .testimonials-grid[data-columns="4"] {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .testimonial-card-modern {
        padding: 25px;
    }

    .testimonial-card-modern::before {
        font-size: 3rem;
        top: 15px;
        left: 20px;
    }

    .testimonial-text {
        font-size: 0.9375rem;
    }

    .testimonial-avatar,
    .testimonial-initials {
        width: 50px;
        height: 50px;
    }

    .testimonial-initials {
        font-size: 1.125rem;
    }

    .reh-testimonials-cta .btn-cta {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .reh-testimonials-header h2 {
        font-size: 1.5rem;
    }

    .testimonial-client {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }

    .testimonial-avatar,
    .testimonial-initials {
        margin-bottom: 10px;
    }
}

/* ============================================
   CONTACT PAGE
   ============================================ */

.reh-contact-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

.reh-contact-hero {
    display: grid;
    grid-template-columns: minmax(320px, 420px) 1fr;
    gap: 32px;
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 35%, #2563eb 100%);
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 20px 50px rgba(37, 99, 235, 0.25);
    color: #0f172a;
}

.reh-contact-profile {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 16px;
    padding: 20px;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 16px;
    align-items: start;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.6);
}

.reh-contact-avatar {
    flex-shrink: 0;
}

.reh-contact-avatar img {
    width: 96px;
    height: 96px;
    object-fit: cover;
    object-position: center top;
    border-radius: 50%;
    border: 4px solid #ffffff;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.18);
}

.reh-contact-meta .eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 6px 0;
    font-size: 0.8rem;
}

.reh-contact-meta h2 {
    margin: 0 0 8px 0;
    font-size: 1.6rem;
    color: #0f172a;
}

.reh-contact-meta .title {
    margin: 0 0 10px 0;
    color: #1f2937;
    font-weight: 600;
}

.reh-contact-meta .helper {
    margin: 0;
    color: #4b5563;
    font-size: 0.95rem;
}

.reh-contact-channels {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 8px;
}

.reh-contact-channels .channel {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    background: #0f172a;
    color: #fff;
    border-radius: 12px;
    text-decoration: none;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.reh-contact-channels .channel:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.35);
}

.reh-contact-channels .channel .icon {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.12);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.reh-contact-channels .channel--static {
    background: rgba(15, 23, 42, 0.06);
    color: #0f172a;
    box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.08);
}

.reh-contact-channels .channel--booking {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: #fff;
    font-weight: 600;
    text-align: center;
    justify-content: center;
}

.reh-contact-channels .channel--booking:hover {
    background: linear-gradient(135deg, #2980b9 0%, #2472a4 100%);
    color: #fff;
    transform: translateY(-2px);
}

.reh-contact-btn--booking {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%) !important;
    color: #fff !important;
    font-weight: 600;
    text-align: center;
}

.reh-contact-btn--booking:hover {
    background: linear-gradient(135deg, #2980b9 0%, #2472a4 100%) !important;
}

.reh-contact-form-panel {
    background: #ffffff;
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.reh-contact-form-header .eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #2563eb;
    font-weight: 700;
    margin: 0 0 4px 0;
    font-size: 0.85rem;
}

.reh-contact-form-header h3 {
    margin: 0 0 12px 0;
    font-size: 1.5rem;
    color: #0f172a;
}

.reh-contact-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #e0f2fe;
    color: #0f172a;
    padding: 8px 12px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.9rem;
}

.reh-contact-form--styled .reh-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 16px;
}

.reh-contact-form--styled .form-group {
    display: flex;
    flex-direction: column;
}

.reh-contact-form--styled label {
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 6px;
    font-size: 0.95rem;
}

.reh-contact-form--styled .required {
    color: #e11d48;
}

.reh-contact-form--styled input[type="text"],
.reh-contact-form--styled input[type="email"],
.reh-contact-form--styled input[type="tel"],
.reh-contact-form--styled textarea {
    width: 100%;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 12px 14px;
    font-size: 1rem;
    background: #f8fafc;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.reh-contact-form--styled input:focus,
.reh-contact-form--styled textarea:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.18);
    background: #fff;
}

.reh-contact-form--styled textarea {
    resize: vertical;
    min-height: 140px;
}

.reh-contact-form--styled .form-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 12px;
}

.reh-contact-form--styled .form-actions .helper {
    margin: 0;
    color: #6b7280;
    font-size: 0.95rem;
}

.reh-contact-page--compact {
    padding: 0;
}

.reh-contact-page--compact .reh-contact-hero {
    grid-template-columns: 1fr;
    padding: 0;
    background: transparent;
    box-shadow: none;
}

.reh-contact-page--compact .reh-contact-profile {
    grid-template-columns: auto 1fr;
    background: #ffffff;
    border: 1px solid #e5e7eb;
}

.reh-contact-page--compact .reh-contact-avatar img {
    width: 72px;
    height: 72px;
}

.reh-contact-page--compact .reh-contact-form-panel {
    box-shadow: none;
    border: 1px solid #e5e7eb;
}

.reh-contact-page--compact .reh-contact-channels .channel {
    background: #f3f4f6;
    color: #0f172a;
    box-shadow: none;
    border: 1px solid #e5e7eb;
}

.reh-contact-page--compact .reh-contact-channels .channel--static {
    background: #f8fafc;
}

@media (max-width: 900px) {
    .reh-contact-hero {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .reh-contact-page {
        padding: 40px 16px;
    }

    .reh-contact-hero {
        padding: 18px;
        gap: 18px;
    }

    .reh-contact-profile {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .reh-contact-avatar {
        margin: 0 auto;
    }

    .reh-contact-channels .channel {
        justify-content: center;
    }

    .reh-contact-form--styled .reh-form-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   CONTACT PAGE - BUSINESS HOURS
   ============================================ */

.reh-contact-hours {
    max-width: 1200px;
    margin: 40px auto 0;
    padding: 0 20px;
}

.reh-contact-hours h3 {
    margin: 0 0 20px 0;
    font-size: 1.5rem;
    color: #0f172a;
}

.hours-grid {
    background: #ffffff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid #e5e7eb;
}

.hours-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 16px;
    border-bottom: 1px solid #f3f4f6;
    transition: background 0.2s ease;
}

.hours-row:last-child {
    border-bottom: none;
}

.hours-row:hover {
    background: #f9fafb;
}

.hours-row--today {
    background: linear-gradient(90deg, #dbeafe 0%, #eff6ff 100%);
    font-weight: 700;
    border-left: 4px solid #2563eb;
    padding-left: 12px;
}

.hours-day {
    font-weight: 600;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 8px;
}

.today-badge {
    display: inline-block;
    background: #2563eb;
    color: #fff;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hours-time {
    color: #4b5563;
    font-weight: 500;
}

.hours-time .closed {
    color: #dc2626;
    font-weight: 600;
}

@media (max-width: 640px) {
    .hours-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }
}

/* ============================================
   CONTACT PAGE - SOCIAL MEDIA
   ============================================ */

.reh-contact-social {
    max-width: 1200px;
    margin: 40px auto 0;
    padding: 0 20px 40px;
}

.reh-contact-social h3 {
    margin: 0 0 20px 0;
    font-size: 1.5rem;
    color: #0f172a;
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #0f172a;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.social-link:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.social-link--facebook {
    background: #1877f2;
}

.social-link--facebook:hover {
    background: #145dbf;
}

.social-link--linkedin {
    background: #0a66c2;
}

.social-link--linkedin:hover {
    background: #004182;
}

.social-link--instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-link--instagram:hover {
    opacity: 0.9;
}

.social-link--twitter {
    background: #1da1f2;
}

.social-link--twitter:hover {
    background: #0d8bd9;
}

.social-link--youtube {
    background: #ff0000;
}

.social-link--youtube:hover {
    background: #cc0000;
}

.social-link svg {
    width: 24px;
    height: 24px;
}

/* ============================================
   FLOATING CONTACT CARD
   ============================================ */

/* Popup Card */
.reh-contact-popup {
    position: fixed;
    bottom: 86px;
    right: 20px;
    width: 340px;
    max-height: calc(100vh - 110px);
    overflow-y: auto;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
    padding: 24px;
    z-index: 10000;
    opacity: 0;
    transform: scale(0.9);
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.reh-contact-popup.active {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
}

/* Close Button */
.reh-popup-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    background: transparent;
    border: none;
    color: #95a5a6;
    font-size: 24px;
    cursor: pointer;
    border-radius: 50%;
    transition: background 0.2s ease;
    padding: 0;
    line-height: 1;
}

.reh-popup-close:hover {
    background: #ecf0f1;
}

/* Header */
.reh-popup-header {
    text-align: center;
    margin-bottom: 16px;
}

.reh-popup-name {
    font-size: 15px;
    font-weight: bold;
    color: #2c3e50;
    margin: 0 0 2px 0;
}

.reh-popup-title {
    font-size: 12px;
    color: #7f8c8d;
    margin: 0;
}

/* Contact Buttons */
.reh-popup-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 12px;
}

.reh-contact-btn {
    height: 38px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-decoration: none;
    transition: all 0.2s ease;
}

/* Primary Button (Email) */
.reh-contact-btn--primary {
    background: #3498db;
    color: white;
}

.reh-contact-btn--primary:hover {
    background: #2980b9;
}

/* Secondary Button (Call) */
.reh-contact-btn--secondary {
    background: transparent;
    color: #3498db;
    border: 1px solid #3498db;
}

.reh-contact-btn--secondary:hover {
    background: #ecf0f1;
}

/* Helper Text */
.reh-popup-helper {
    font-size: 11px;
    color: #95a5a6;
    text-align: center;
    font-style: italic;
    margin: 0;
}

/* ============================================
   RESPONSIVE (Mobile)
   ============================================ */

@media (max-width: 768px) {
    .reh-floating-contact-trigger {
        width: 48px !important;
        height: 48px !important;
        bottom: 16px !important;
        right: 16px !important;
    }

    .reh-contact-popup {
        width: calc(100vw - 32px);
        max-width: 320px;
        left: auto;
        right: 16px;
        bottom: 80px;
    }
}

/* ============================================
   MARKET STATS
   ============================================ */

.reh-market-stats {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

.market-stat-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid #e5e7eb;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.market-stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #1d4ed8, #60a5fa);
    opacity: 0;
    transition: opacity 0.35s ease;
}

.market-stat-card:hover::before {
    opacity: 1;
}

.market-stat-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12), 0 4px 12px rgba(59, 130, 246, 0.1);
    transform: translateY(-4px);
    border-color: #d1d5db;
}

.market-stat-card:focus {
    outline: 3px solid #3b82f6;
    outline-offset: 2px;
}

.stat-image-wrapper {
    width: 100%;
    min-height: 600px;
    overflow: hidden;
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
    position: relative;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-image-wrapper::after {
    content: '\1F50D Click to enlarge';
    position: absolute;
    bottom: 16px;
    right: 16px;
    background: rgba(0, 0, 0, 0.75);
    color: #fff;
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
    pointer-events: none;
    backdrop-filter: blur(4px);
}

.market-stat-card:hover .stat-image-wrapper::after {
    opacity: 1;
    transform: translateY(0);
}

.stat-image-wrapper img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    background: #fff;
    padding: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.35s ease;
}

.market-stat-card:hover .stat-image-wrapper img {
    transform: scale(1.03);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.stat-label {
    padding: 20px 24px;
    font-size: 15px;
    font-weight: 600;
    color: #1f2937;
    background: linear-gradient(to bottom, #fafafa 0%, #f9fafb 100%);
    text-align: center;
    border-top: 1px solid #e5e7eb;
    line-height: 1.5;
    letter-spacing: 0.01em;
}

/* Empty state */
.reh-market-stats-empty {
    max-width: 600px;
    margin: 60px auto;
    padding: 40px;
    text-align: center;
    background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
    border-radius: 16px;
    border: 2px dashed #d1d5db;
}

.reh-market-stats-empty p {
    color: #6b7280;
    font-size: 16px;
    margin: 0;
    font-weight: 500;
}

/* ============================================
   MARKET STATS LIGHTBOX
   ============================================ */

.reh-stats-lightbox-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.92);
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    opacity: 0;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(4px);
}

.reh-stats-lightbox-backdrop.active {
    opacity: 1;
}

.reh-stats-lightbox-modal {
    max-width: 95vw;
    max-height: 95vh;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.5);
    transform: scale(0.95);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    display: flex;
    flex-direction: column;
}

.reh-stats-lightbox-backdrop.active .reh-stats-lightbox-modal {
    transform: scale(1);
}

.reh-stats-lightbox-image {
    max-width: 100%;
    max-height: calc(95vh - 80px);
    width: auto;
    height: auto;
    display: block;
    margin: 0 auto;
    object-fit: contain;
    padding: 20px;
}

.reh-stats-lightbox-caption {
    padding: 16px 20px;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    text-align: center;
    background: #f9f9f9;
    border-top: 1px solid #eee;
}

.reh-stats-lightbox-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 24px;
    line-height: 1;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.2s ease;
    z-index: 10;
}

.reh-stats-lightbox-close:hover {
    background: #fff;
    transform: scale(1.1);
}

.reh-stats-lightbox-close:focus {
    outline: 2px solid #0073aa;
    outline-offset: 2px;
}

/* ============================================
   MARKET STATS RESPONSIVE
   ============================================ */

@media (max-width: 1024px) {
    .reh-market-stats {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 30px 16px;
    }

    .stat-image-wrapper {
        min-height: 500px;
    }
}

@media (max-width: 768px) {
    .reh-market-stats {
        padding: 20px 12px;
        gap: 24px;
    }

    .market-stat-card {
        border-radius: 12px;
    }

    .stat-image-wrapper {
        min-height: 400px;
        padding: 12px;
    }

    .stat-image-wrapper img {
        padding: 12px;
    }

    .stat-image-wrapper::after {
        font-size: 11px;
        padding: 6px 12px;
        bottom: 12px;
        right: 12px;
    }

    .stat-label {
        font-size: 14px;
        padding: 16px 20px;
    }
}


    .reh-market-stats-empty {
        margin: 40px auto;
        padding: 30px 20px;
    }

    .reh-stats-lightbox-backdrop {
        padding: 16px;
    }

    .reh-stats-lightbox-modal {
        max-width: 100vw;
        max-height: 100vh;
        border-radius: 8px;
    }

    .reh-stats-lightbox-image {
        max-height: calc(100vh - 80px);
        padding: 12px;
    }

    .reh-stats-lightbox-caption {
        font-size: 14px;
        padding: 12px 16px;
    }

    .reh-stats-lightbox-close {
        width: 36px;
        height: 36px;
        font-size: 20px;
    }
}

/* ==========================================================================
   Featured Properties Carousel
   ========================================================================== */

/* Parent section must contain all positioned children */
.featured-properties-section {
    position: relative;
    z-index: 1;
    isolation: isolate;
    overflow: hidden; /* Prevent arrows from bleeding outside */
}

.reh-featured-carousel {
    position: relative;
    width: 100%;
    padding: 0 50px;
    box-sizing: border-box;
}

/* Navigation Arrows */
.reh-carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2; /* Lowered from 10 - stays within carousel stacking context */
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.reh-carousel-arrow:hover {
    background: #2c3e50;
    border-color: #2c3e50;
    color: white;
    box-shadow: 0 6px 20px rgba(44, 62, 80, 0.3);
}

.reh-carousel-arrow:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.reh-carousel-prev {
    left: 0;
}

.reh-carousel-next {
    right: 0;
}

/* Carousel Track */
.reh-carousel-track {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 10px 0;
}

.reh-carousel-track::-webkit-scrollbar {
    display: none;
}

/* Featured Property Card */
.reh-featured-card {
    flex: 0 0 calc(33.333% - 16px);
    scroll-snap-align: start;
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: block;
}

.reh-carousel-track[data-columns="2"] .reh-featured-card {
    flex: 0 0 calc(50% - 12px);
}

.reh-carousel-track[data-columns="4"] .reh-featured-card {
    flex: 0 0 calc(25% - 18px);
}

.reh-featured-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

/* Card Image */
.reh-featured-card-image {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.reh-featured-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.reh-featured-card:hover .reh-featured-card-image img {
    transform: scale(1.1);
}

/* Badges */
.reh-featured-badge,
.reh-rental-badge {
    position: absolute;
    top: 12px;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.reh-featured-badge {
    left: 12px;
    background: linear-gradient(135deg, #1d4ed8, #2563eb);
    color: white;
}

.reh-rental-badge {
    right: 12px;
    background: #2980b9;
    color: white;
}

/* Card Content */
.reh-featured-card-content {
    padding: 20px;
}

.reh-featured-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 8px;
}

.reh-featured-address {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    margin: 0 0 4px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.reh-featured-location {
    color: #7f8c8d;
    font-size: 0.9rem;
    margin: 0 0 12px 0;
}

/* Property Meta (Beds, Baths, Sqft) */
.reh-featured-meta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.reh-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: #555;
}

.reh-meta-item svg {
    color: #2563eb;
}

.reh-featured-mls {
    font-size: 0.8rem;
    color: #95a5a6;
    padding-top: 12px;
    border-top: 1px solid #f0f0f0;
}

/* Carousel Dots */
.reh-carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
}

.reh-carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ddd;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s ease;
}

.reh-carousel-dot.active,
.reh-carousel-dot:hover {
    background: #2563eb;
    transform: scale(1.2);
}

/* Responsive Carousel */
@media (max-width: 1024px) {
    .reh-featured-card,
    .reh-carousel-track[data-columns="3"] .reh-featured-card,
    .reh-carousel-track[data-columns="4"] .reh-featured-card {
        flex: 0 0 calc(50% - 12px);
    }
}

@media (max-width: 768px) {
    .reh-featured-carousel {
        padding: 0 40px;
    }

    .reh-carousel-arrow {
        width: 36px;
        height: 36px;
    }

    .reh-featured-card,
    .reh-carousel-track[data-columns="2"] .reh-featured-card,
    .reh-carousel-track[data-columns="3"] .reh-featured-card,
    .reh-carousel-track[data-columns="4"] .reh-featured-card {
        flex: 0 0 calc(100% - 0px);
    }

    .reh-featured-card-image {
        height: 180px;
    }

    .reh-featured-price {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .reh-featured-carousel {
        padding: 0 35px;
    }

    .reh-carousel-arrow {
        width: 32px;
        height: 32px;
    }

    .reh-carousel-arrow svg {
        width: 18px;
        height: 18px;
    }
}

/* ==========================================================================
   Homepage About "Meet the Agent" Section - Modern Dynamic Design
   ========================================================================== */

.reh-homepage-about {
    position: relative;
    padding: 100px 20px;
    background: linear-gradient(135deg, #f8f9fc 0%, #eaf2fb 50%, #f0f5fc 100%);
    overflow: hidden;
    z-index: 1;
    display: block !important;
    visibility: visible !important;
}

/* Animated Background Graphics */
.reh-homepage-about::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 70%;
    height: 200%;
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.08) 0%, rgba(41, 128, 185, 0.05) 100%);
    border-radius: 50%;
    animation: float-bg 15s ease-in-out infinite;
    z-index: 0;
}

.reh-homepage-about::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -15%;
    width: 50%;
    height: 150%;
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.06) 0%, rgba(41, 128, 185, 0.03) 100%);
    border-radius: 50%;
    animation: float-bg 20s ease-in-out infinite reverse;
    z-index: 0;
}

@keyframes float-bg {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(30px, -20px) rotate(2deg); }
    66% { transform: translate(-20px, 20px) rotate(-2deg); }
}

.reh-homepage-about-container {
    position: relative;
    z-index: 2;
    max-width: 1000px;
    margin: 0 auto;
    overflow: hidden; /* clearfix for float */
}

/* Photo Side with Dynamic Frame - Float Layout */
.reh-homepage-about-photo {
    position: relative;
    float: left;
    margin: 0 40px 20px 0;
}

.reh-homepage-about-photo-frame {
    position: relative;
    display: inline-block;
}

/* Teal accent corner decorations */
.reh-homepage-about-photo-frame::before {
    content: '';
    position: absolute;
    top: -15px;
    left: -15px;
    width: 70px;
    height: 70px;
    border-left: 3px solid #3498db;
    border-top: 3px solid #3498db;
    z-index: 2;
    animation: corner-pulse 3s ease-in-out infinite;
}

.reh-homepage-about-photo-frame::after {
    content: '';
    position: absolute;
    bottom: -15px;
    right: -15px;
    width: 70px;
    height: 70px;
    border-right: 3px solid #2980b9;
    border-bottom: 3px solid #2980b9;
    z-index: 2;
    animation: corner-pulse 3s ease-in-out infinite 1.5s;
}

@keyframes corner-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

/* Floating accent dots */
.reh-homepage-about-photo::before {
    content: '';
    position: absolute;
    top: 30%;
    left: -40px;
    width: 12px;
    height: 12px;
    background: #3498db;
    border-radius: 50%;
    animation: dot-float 4s ease-in-out infinite;
    z-index: 3;
}

.reh-homepage-about-photo::after {
    content: '';
    position: absolute;
    bottom: 20%;
    right: -30px;
    width: 8px;
    height: 8px;
    background: #2980b9;
    border-radius: 50%;
    animation: dot-float 4s ease-in-out infinite 2s;
    z-index: 3;
}

@keyframes dot-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.reh-homepage-about-photo-frame img {
    position: relative;
    z-index: 1;
    width: 280px;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow:
        0 25px 80px rgba(52, 152, 219, 0.2),
        0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.reh-homepage-about-photo-frame:hover img {
    transform: translateY(-8px);
    box-shadow:
        0 35px 100px rgba(52, 152, 219, 0.25),
        0 15px 40px rgba(0, 0, 0, 0.12);
}

/* Label with animated line - flows around photo */
.reh-homepage-about-label {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.reh-label-line {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #3498db, #2980b9);
    border-radius: 2px;
    position: relative;
    overflow: hidden;
}

.reh-label-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.6), transparent);
    animation: shimmer 2s ease-in-out infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.reh-label-text {
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 6px;
    color: #3498db;
    text-transform: uppercase;
}

/* Name - Elegant Serif Font with gradient accent */
.reh-homepage-about-name {
    font-family: 'Playfair Display', 'Georgia', 'Times New Roman', serif;
    font-size: 3.2rem;
    font-weight: 500;
    color: #1a2b32;
    margin: 0 0 30px 0;
    line-height: 1.15;
    letter-spacing: -0.5px;
    position: relative;
}

.reh-homepage-about-name::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #3498db, #2980b9);
    border-radius: 2px;
}

/* Bio with better typography */
.reh-homepage-about-bio {
    font-size: 1rem;
    line-height: 1.8;
    color: #4a5568;
    margin-bottom: 30px;
}

.reh-homepage-about-bio p {
    margin: 0 0 15px 0;
}

.reh-homepage-about-bio p:last-child {
    margin-bottom: 0;
}

/* CTA Button - Teal theme matching */
.reh-homepage-about-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 36px;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border: none;
    border-radius: 50px;
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.35);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.reh-homepage-about-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.reh-homepage-about-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(52, 152, 219, 0.45);
    color: #fff;
}

.reh-homepage-about-cta:hover::before {
    left: 100%;
}

/* Arrow icon for CTA */
.reh-homepage-about-cta::after {
    content: '→';
    font-size: 18px;
    transition: transform 0.3s ease;
}

.reh-homepage-about-cta:hover::after {
    transform: translateX(5px);
}

/* Responsive */
@media (max-width: 768px) {
    .reh-homepage-about {
        padding: 60px 20px;
    }

    .reh-homepage-about-container {
        text-align: center;
    }

    .reh-homepage-about-photo {
        float: none;
        margin: 0 auto 30px auto;
        display: flex;
        justify-content: center;
    }

    .reh-homepage-about-photo-frame img {
        width: 220px;
    }

    .reh-homepage-about-label {
        justify-content: center;
        display: flex;
        width: 100%;
    }

    .reh-homepage-about-name {
        font-size: 2.2rem;
    }

    .reh-homepage-about-name::after {
        left: 50%;
        transform: translateX(-50%);
    }

    /* Hide floating dots on mobile */
    .reh-homepage-about-photo::before,
    .reh-homepage-about-photo::after {
        display: none;
    }
}

@media (max-width: 576px) {
    .reh-homepage-about {
        padding: 50px 15px;
    }

    .reh-homepage-about-photo-frame img {
        width: 200px;
    }

    .reh-homepage-about-photo-frame::before {
        width: 50px;
        height: 50px;
        top: -10px;
        left: -10px;
    }

    .reh-homepage-about-photo-frame::after {
        width: 50px;
        height: 50px;
        bottom: -10px;
        right: -10px;
    }

    .reh-homepage-about-name {
        font-size: 2rem;
    }

    .reh-homepage-about-bio {
        font-size: 0.95rem;
    }

    .reh-homepage-about-cta {
        padding: 14px 28px;
        font-size: 13px;
    }
}

/* ============================================================
 * Footer Disclaimer Band (CREA/MLS compliance)
 * Rendered by includes/footer-disclaimer.php
 * Theme calls do_action('realestate_hub_footer_disclaimer')
 * inside <footer>; falls back to wp_footer if theme doesn't.
 * ============================================================ */
.reh-footer-disclaimer-band {
    background: #f7fafc;
    border-top: 1px solid #e2e8f0;
    color: #4a5568;
    font-size: 0.8125rem;
    line-height: 1.6;
    padding: 24px 16px;
    margin-top: 0;
}

.reh-footer-disclaimer-inner {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.reh-footer-disclaimer-inner p {
    margin: 0 0 10px 0;
}

.reh-footer-disclaimer-inner .reh-disclaimer-broker {
    font-size: 0.9rem;
    color: #2d3748;
}

.reh-footer-disclaimer-inner .reh-disclaimer-broker strong {
    color: #1a202c;
}

.reh-footer-disclaimer-inner .reh-disclaimer-text {
    font-size: 0.75rem;
    color: #718096;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.reh-footer-disclaimer-inner .reh-disclaimer-edit-hint {
    font-size: 0.7rem;
    color: #a0aec0;
    margin-top: 4px;
}

@media (max-width: 640px) {
    .reh-footer-disclaimer-band {
        padding: 20px 12px;
        font-size: 0.75rem;
    }
    .reh-footer-disclaimer-inner .reh-disclaimer-text {
        font-size: 0.7rem;
    }
}
