
        :root {
            --irf-navy: #1a2332;
            --irf-navy-soft: #243044;
            --irf-white: #ffffff;
            --irf-off-white: #f7f8fa;
            --irf-text: #1a2332;
            --irf-text-muted: #6b7280;
            --irf-text-faint: #9ca3af;
            --irf-border: #e5e7eb;
            --irf-overlay: rgba(26, 35, 50, 0.55);
            --focus-ring: #4a6fa5;
            --primary-gold: #1a2332;
            --dark-charcoal: #1a2332;
            --light-gray: #f7f8fa;
            --medium-gray: #6b7280;
            --white: #FFFFFF;
            --cream: #f7f8fa;
        }
        
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        html, body {
            overflow-x: hidden;
            max-width: 100%;
        }
        body {
            overflow-x: hidden;
            max-width: 100%;
            font-family: 'Inter', sans-serif;
            line-height: 1.6;
            color: var(--dark-charcoal);
            background-color: var(--white);
        }
        
        .font-display {
            font-family: 'Inter', sans-serif;
        }
        
        .container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 20px;
        }
        
        /* Navigation */
        .navbar {
            position: sticky;
            top: 0;
            width: 100%;
            background: var(--irf-navy);
            border-bottom: 1px solid rgba(255,255,255,0.08);
            z-index: 1000;
            transition: all 0.3s ease;
            padding: 0;
        }
        .navbar .nav-links a { color: #fff; }
        .navbar .nav-links a:hover { color: rgba(255,255,255,0.85); }
        .navbar .nav-links a::after { background-color: #fff; }
        .navbar .contact-btn {
            background: transparent;
            color: #fff;
            border: 1px solid rgba(255,255,255,0.5);
        }
        .navbar .contact-btn:hover {
            background: #fff;
            color: var(--irf-navy);
        }
        .nav-toggle {
            display: none;
            background: transparent;
            border: 0;
            color: #fff;
            font-size: 22px;
            width: 44px;
            height: 44px;
            cursor: pointer;
            align-items: center;
            justify-content: center;
        }
        .nav-drawer-overlay {
            display: none;
            position: fixed;
            inset: 0;
            background: rgba(26,35,50,0.45);
            z-index: 1100;
            visibility: hidden;
            pointer-events: none;
        }
        .nav-drawer-overlay.open { display: block; visibility: visible; pointer-events: auto; }
        .nav-drawer-overlay:not(.open) { display: none !important; visibility: hidden !important; pointer-events: none !important; }
        .nav-drawer {
            position: fixed;
            top: 0;
            right: 0;
            left: auto;
            width: min(320px, 88vw);
            max-width: 100vw;
            height: 100vh;
            height: 100dvh;
            background: #fff;
            color: var(--irf-navy);
            z-index: 1101;
            transform: translateX(100%);
            transition: transform 0.25s ease, visibility 0s linear 0.25s;
            padding: 20px;
            display: flex;
            flex-direction: column;
            gap: 8px;
            box-shadow: -8px 0 24px rgba(0,0,0,0.15);
            visibility: hidden;
            pointer-events: none;
            overflow-x: hidden;
            box-sizing: border-box;
        }
        .nav-drawer.open { transform: translateX(0); visibility: visible; pointer-events: auto; transition: transform 0.25s ease, visibility 0s linear 0s; }
        .nav-drawer:not(.open) { transform: translateX(100%) !important; visibility: hidden !important; pointer-events: none !important; }
        .nav-drawer a {
            text-decoration: none;
            color: var(--irf-navy);
            font-weight: 500;
            padding: 12px 8px;
            border-bottom: 1px solid var(--irf-border);
        }
        .nav-drawer .drawer-close {
            align-self: flex-end;
            background: transparent;
            border: 0;
            font-size: 24px;
            width: 44px;
            height: 44px;
            cursor: pointer;
            color: var(--irf-navy);
        }
        .nav-drawer .drawer-meta {
            margin-top: auto;
            font-size: 13px;
            color: var(--irf-text-muted);
            padding-top: 16px;
        }
        @media (max-width: 1023px) {
            .nav-toggle { display: inline-flex; }
            .navbar .nav-menu { display: none; }
        }
        @media (min-width: 1024px) {
            .nav-drawer, .nav-drawer-overlay, .nav-toggle { display: none !important; }
        }
        
        .nav-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .logo {
            display: flex;
            align-items: center;
        }
        
        .logo-image {
            height: 40px;
            width: auto;
            max-width: 260px;
            object-fit: contain;
            background: transparent !important;
            padding: 0;
            border-radius: 0;
            box-shadow: none;
            display: block;
        }
        .logo {
            background: transparent;
            padding: 6px 0;
        }
        
        .nav-menu {
            display: flex;
            align-items: center;
            gap: 40px;
        }
        
        .nav-links {
            display: flex;
            gap: 0;
            align-items: center;
        }
        
        .nav-links a {
            text-decoration: none;
            color: var(--dark-charcoal);
            font-weight: 400;
            font-size: 15px;
            transition: color 0.3s ease;
            position: relative;
        }
        
        .nav-links a:hover {
            color: var(--primary-gold);
        }
        
        .nav-links a::after {
            content: '';
            position: absolute;
            width: 0;
            height: 1px;
            bottom: -5px;
            left: 0;
            background-color: var(--primary-gold);
            transition: width 0.3s ease;
        }
        
        .nav-links a:hover::after {
            width: 100%;
        }
        
        .contact-btn {
            background: var(--primary-gold);
            color: white;
            padding: 12px 25px;
            border-radius: 6px;
            text-decoration: none;
            font-weight: 500;
            font-size: 14px;
            transition: all 0.3s ease;
            border: 2px solid var(--primary-gold);
        }
        
        .contact-btn:hover {
            background: transparent;
            color: var(--primary-gold);
        }
        
        /* Hero Section */
        .hero {
            min-height: 100vh;
            min-height: 100dvh;
            display: flex;
            align-items: center;
            background-color: #1a2332;
            background-image: linear-gradient(rgba(26,35,50,0.45), rgba(26,35,50,0.55)),
                        url('https://images.unsplash.com/photo-1600596542815-ffad4c1539a9?ixlib=rb-4.0.3&auto=format&fit=crop&w=2075&q=80');
            background-size: cover;
            background-position: center center;
            background-repeat: no-repeat;
            background-attachment: scroll;
            position: relative;
            padding-top: 48px; /* sticky nav + social bar in flow */
            padding-bottom: 60px;
            overflow: hidden;
        }
        @media (min-width: 1024px) {
            .hero {
                background-attachment: scroll; /* fixed often clips on mobile/Safari */
            }
        }
        
        .hero-content {
            color: white;
            max-width: 600px;
            width: 100%;
            z-index: 2;
            box-sizing: border-box;
        }
        
        .hero h1 {
            font-family: 'Inter', sans-serif;
            font-size: 4rem;
            font-weight: 300;
            line-height: 1.2;
            margin-bottom: 30px;
            letter-spacing: -1px;
            max-width: 100%;
            overflow-wrap: anywhere;
            word-break: break-word;
        }
        
        .hero-subtitle {
            font-size: 1.3rem;
            font-weight: 300;
            margin-bottom: 40px;
            opacity: 0.95;
            line-height: 1.5;
        }
        
        .hero-cta {
            display: flex;
            gap: 20px;
            flex-wrap: wrap;
        }
        
        .btn-primary {
            background: var(--primary-gold);
            color: white;
            padding: 15px 35px;
            border-radius: 6px;
            text-decoration: none;
            font-weight: 500;
            font-size: 16px;
            transition: all 0.3s ease;
            border: 2px solid var(--primary-gold);
        }
        
        .btn-primary:hover {
            background: transparent;
            color: var(--primary-gold);
        }
        
        .btn-secondary {
            background: transparent;
            color: white;
            padding: 15px 35px;
            border-radius: 6px;
            text-decoration: none;
            font-weight: 500;
            font-size: 16px;
            transition: all 0.3s ease;
            border: 2px solid white;
        }
        
        .btn-secondary:hover {
            background: white;
            color: var(--dark-charcoal);
        }
        
        /* Properties Section */
        .properties {
            padding: 120px 0;
            background: var(--cream);
        }
        
        .section-header {
            text-align: center;
            margin-bottom: 80px;
        }
        
        .section-title {
            font-family: 'Inter', sans-serif;
            font-size: clamp(1.4rem, 3vw, 2rem);
            font-weight: 700;
            color: var(--irf-navy);
            margin-bottom: 20px;
            letter-spacing: 0.08em;
            text-transform: uppercase;
        }
        
        .section-subtitle {
            font-size: 1.1rem;
            color: var(--medium-gray);
            max-width: 600px;
            margin: 0 auto;
            font-weight: 300;
        }
        
        .properties-grid {
            display: grid;
            grid-template-columns: 1fr;
            gap: 20px;
            margin-bottom: 60px;
        }
        @media (min-width: 768px) {
            .properties-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
        }
        @media (min-width: 1024px) {
            .properties-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }
        }
        
        .property-card {
            background: white;
            border-radius: 4px;
            overflow: hidden;
            box-shadow: none;
            border: 1px solid var(--irf-border);
            transition: border-color 0.2s ease;
            cursor: pointer;
            text-decoration: none;
            color: inherit;
            display: block;
            padding: 0;
            margin: 0;
        }
        
        .property-card:hover {
            transform: none;
            border-color: var(--irf-navy);
        }
        .property-card .irf-card-img-wrap {
            position: relative;
            aspect-ratio: 4 / 3;
            overflow: hidden;
            background: var(--irf-off-white);
        }
        .property-card .irf-card-img-wrap img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }
        .property-card .irf-badge {
            position: absolute;
            top: 10px;
            left: 10px;
            background: var(--irf-navy);
            color: #fff;
            font-size: 11px;
            font-weight: 700;
            letter-spacing: 0.06em;
            text-transform: uppercase;
            padding: 4px 8px;
            border-radius: 2px;
        }
        .property-card .irf-card-body { padding: 16px 18px 18px; }
        .property-card .irf-price {
            font-size: 1.25rem;
            font-weight: 700;
            color: var(--irf-navy);
            margin-bottom: 6px;
        }
        .property-card .irf-address {
            font-size: 0.95rem;
            color: var(--irf-text-muted);
            margin-bottom: 8px;
        }
        .property-card .irf-meta {
            font-size: 0.9rem;
            color: var(--irf-text-muted);
            margin-bottom: 8px;
        }
        .property-card .irf-mls {
            font-size: 12px;
            color: var(--irf-text-faint);
        }
        
        .property-image {
            width: 100%;
            height: 300px;
            object-fit: cover;
            transition: transform 0.4s ease;
        }
        
        .property-card:hover .property-image {
            transform: scale(1.05);
        }
        
        .property-info {
            padding: 30px;
        }
        
        .property-price {
            font-family: 'Inter', sans-serif;
            font-size: 1.8rem;
            font-weight: 600;
            color: var(--primary-gold);
            margin-bottom: 10px;
        }
        
        .property-address {
            font-size: 1.1rem;
            color: var(--dark-charcoal);
            margin-bottom: 15px;
            font-weight: 400;
        }
        
        .property-details {
            display: flex;
            gap: 20px;
            margin-bottom: 25px;
            font-size: 0.95rem;
            color: var(--medium-gray);
        }
        
        .property-cta {
            display: flex;
            gap: 15px;
        }
        
        .btn-small {
            padding: 10px 20px;
            font-size: 14px;
            border-radius: 5px;
            text-decoration: none;
            font-weight: 500;
            transition: all 0.3s ease;
            flex: 1;
            text-align: center;
        }
        
        .btn-outline {
            background: transparent;
            color: var(--dark-charcoal);
            border: 1px solid var(--medium-gray);
        }
        
        .btn-outline:hover {
            background: var(--dark-charcoal);
            color: white;
        }
        
        .btn-gold {
            background: var(--primary-gold);
            color: white;
            border: 1px solid var(--primary-gold);
        }
        
        .btn-gold:hover {
            background: transparent;
            color: var(--primary-gold);
        }
        
        /* Services Section */
        .services {
            padding: 120px 0;
            background: white;
        }
        
        .services-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
            gap: 50px;
        }
        
        .service-card {
            text-align: center;
            padding: 40px 20px;
        }
        
        .service-icon {
            width: 80px;
            height: 80px;
            background: linear-gradient(135deg, var(--primary-gold), #243044);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 30px;
            font-size: 2rem;
            color: white;
        }
        
        .service-title {
            font-family: 'Inter', sans-serif;
            font-size: 1.5rem;
            font-weight: 500;
            color: var(--dark-charcoal);
            margin-bottom: 20px;
        }
        
        .service-description {
            color: var(--medium-gray);
            line-height: 1.7;
            margin-bottom: 25px;
        }
        
        .service-link {
            color: var(--primary-gold);
            text-decoration: none;
            font-weight: 500;
            font-size: 15px;
        }
        
        .service-link:hover {
            text-decoration: underline;
        }
        
        /* About Section */
        .about-section {
            padding: 100px 0;
            background: #f8f9fa;
        }
        
        .about-content-wrapper {
            display: grid;
            grid-template-columns: 1fr 2fr;
            gap: 60px;
            align-items: center;
            max-width: 1200px;
            margin: 0 auto;
        }
        
        .about-image {
            text-align: center;
        }
        
        .headshot {
            width: 100%;
            max-width: 350px;
            height: auto;
            border-radius: 20px;
            box-shadow: 0 20px 60px rgba(0,0,0,0.15);
            object-fit: cover;
        }
        
        .about-content h2 {
            font-family: 'Inter', sans-serif;
            font-size: 2.5rem;
            color: var(--dark-charcoal);
            margin-bottom: 30px;
        }
        
        .about-content p {
            font-size: 1.1rem;
            line-height: 1.8;
            color: #666;
            margin-bottom: 25px;
        }
        
        .satisfaction-badge {
            display: inline-flex;
            flex-direction: column;
            align-items: center;
            background: white;
            padding: 20px;
            border-radius: 15px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
            margin-top: 40px;
        }
        
        .badge-number {
            font-size: 2.5rem;
            font-weight: bold;
            color: var(--primary-gold);
            font-family: 'Inter', sans-serif;
        }
        
        .badge-text {
            font-size: 0.9rem;
            color: #666;
            font-weight: 500;
        }
        
        @media (max-width: 768px) {
            .about-content-wrapper {
                grid-template-columns: 1fr;
                gap: 40px;
                text-align: center;
            }
            
            .headshot {
                max-width: 250px;
            }
        }     
        .badge-number {
            font-family: 'Inter', sans-serif;
            font-size: 2rem;
            font-weight: 600;
            color: var(--primary-gold);
            display: block;
        }
        
        .badge-text {
            font-size: 0.9rem;
            color: var(--medium-gray);
            margin-top: 5px;
        }
        
        /* Contact Section */
        .contact {
            padding: 120px 0;
            background: var(--dark-charcoal);
            color: white;
        }
        
        .contact-content {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 80px;
        }
        
        .contact-info h2 {
            font-family: 'Inter', sans-serif;
            font-size: 2.5rem;
            font-weight: 400;
            margin-bottom: 30px;
            color: var(--primary-gold);
        }
        
        .contact-item {
            display: flex;
            align-items: center;
            gap: 20px;
            margin-bottom: 30px;
        }
        
        .contact-icon {
            width: 50px;
            height: 50px;
            background: var(--primary-gold);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.2rem;
        }
        
        .contact-details h4 {
            font-weight: 500;
            margin-bottom: 5px;
        }
        
        .contact-details p {
            color: #ccc;
            margin: 0;
        }
        
        .contact-form {
            background: rgba(255,255,255,0.05);
            padding: 40px;
            border-radius: 12px;
            backdrop-filter: blur(10px);
        }
        
        .form-group {
            margin-bottom: 25px;
        }
        
        .form-group label {
            display: block;
            margin-bottom: 8px;
            font-weight: 500;
        }
        
        .form-group input,
        .form-group select,
        .form-group textarea {
            width: 100%;
            padding: 15px;
            border: 1px solid rgba(255,255,255,0.2);
            border-radius: 6px;
            background: rgba(255,255,255,0.1);
            color: white;
            font-size: 16px;
        }
        
        .form-group input::placeholder,
        .form-group textarea::placeholder {
            color: #ccc;
        }
        
        /* Footer */
        .footer {
            background: #1a1a1a;
            color: #e5e7eb;
            padding: 60px 0 max(30px, env(safe-area-inset-bottom));
            padding-left: max(0px, env(safe-area-inset-left));
            padding-right: max(0px, env(safe-area-inset-right));
            max-width: 100%;
            overflow-x: hidden;
            box-sizing: border-box;
        }
        
        .footer-content {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
            gap: 40px;
            margin-bottom: 40px;
        }
        
        .footer-section h3 {
            font-family: 'Inter', sans-serif;
            font-size: 1.3rem;
            margin-bottom: 20px;
            color: var(--primary-gold);
        }
        
        .footer-section p,
        .footer-section li {
            color: #d1d5db;
            line-height: 1.6;
        }
        
        .footer-section ul {
            list-style: none;
        }
        
        .footer-section ul li {
            margin-bottom: 10px;
        }
        
        .footer-section ul li a {
            color: #d1d5db;
            text-decoration: none;
            transition: color 0.3s ease;
        }
        
        .footer-section ul li a:hover {
            color: var(--primary-gold);
        }
        
        .footer-bottom {
            border-top: 1px solid #333;
            padding-top: 30px;
            text-align: center;
            color: #999;
        }

        /* Melk social strip */
        .melk-social {
            display: flex;
            align-items: center;
            gap: 14px;
            flex-wrap: wrap;
            margin-top: 28px;
        }
        .melk-social-label {
            font-family: 'Inter', sans-serif;
            font-size: 0.85rem;
            font-weight: 500;
            letter-spacing: 0.08em;
            text-transform: uppercase;
            color: rgba(255, 255, 255, 0.85);
        }
        .melk-social-links {
            display: flex;
            align-items: center;
            gap: 10px;
        }
        .melk-social-link {
            display: inline-flex !important;
            align-items: center;
            justify-content: center;
            width: 28px !important;
            height: 28px !important;
            max-width: 28px !important;
            max-height: 28px !important;
            border: 1px solid rgba(255,255,255,0.14);
            border-radius: 4px;
            color: #e8d5a3;
            text-decoration: none;
            box-sizing: border-box;
            overflow: hidden;
        }
        .melk-social-link:hover,
        .melk-social-link:focus-visible {
            background: rgba(212, 175, 55, 0.18);
            border-color: var(--primary-gold);
            transform: translateY(-1px);
            outline: none;
        }
        .melk-social-link svg {
            width: 16px !important;
            height: 16px !important;
            max-width: 16px !important;
            max-height: 16px !important;
            fill: currentColor;
            display: block !important;
        }
        .footer .melk-social {
            margin-top: 0;
            margin-bottom: 8px;
        }
        .footer .melk-social-label {
            color: var(--primary-gold);
            letter-spacing: 0.06em;
        }
        .footer .melk-social-link {
            background: rgba(255, 255, 255, 0.04);
            border-color: rgba(212, 175, 55, 0.4);
            color: #e8d5a3;
        }
        .footer .melk-social-link:hover,
        .footer .melk-social-link:focus-visible {
            background: rgba(212, 175, 55, 0.15);
            border-color: var(--primary-gold);
            color: var(--primary-gold);
        }

        
        /* Mobile Responsive */
        @media (max-width: 768px) {
            .nav-links {
                display: none;
            }
            
            .hero h1 {
                font-size: clamp(1.75rem, 8vw, 2.5rem);
                max-width: 100%;
            }
            
            .hero-subtitle {
                font-size: 1.05rem;
                max-width: 100%;
                overflow-wrap: anywhere;
            }

            .hero-content, .container, .quick-search-widget, img, video, iframe, table {
                max-width: 100%;
            }
            
            .section-title {
                font-size: 2rem;
            }
            
            .properties-grid {
                grid-template-columns: 1fr;
            }
            
            .services-grid {
                grid-template-columns: 1fr;
            }
            
            .about-content {
                grid-template-columns: 1fr;
                gap: 40px;
            }
            
            .contact-content {
                grid-template-columns: 1fr;
                gap: 40px;
            }
            
            .hero-cta {
                flex-direction: column;
            }

            .quick-search-widget {
                padding: 20px 16px;
                margin-top: 36px;
            }

            .search-header {
                flex-direction: column;
                align-items: flex-start;
                gap: 14px;
            }

            .search-row,
            .search-row:last-child {
                grid-template-columns: 1fr;
            }

            .search-btn {
                width: 100%;
            }

            #properties-grid {
                grid-template-columns: 1fr !important;
            }
        }
        
        /* Animations */
        .fade-in {
            opacity: 0;
            transform: translateY(30px);
            transition: all 0.6s ease;
        }
        
        .fade-in.visible {
            opacity: 1;
            transform: translateY(0);
        }
        
        /* Quick Search Widget */
        .quick-search-widget {
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(10px);
            border-radius: 15px;
            padding: 30px;
            margin-top: 60px;
            box-shadow: 0 20px 60px rgba(0,0,0,0.15);
            border: 1px solid rgba(212, 175, 55, 0.2);
            width: 100%;
            max-width: 100%;
            box-sizing: border-box;
            overflow: hidden;
        }
        
        .search-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 25px;
        }
        
        .search-header h3 {
            font-family: 'Inter', sans-serif;
            font-size: 1.5rem;
            color: var(--dark-charcoal);
            margin: 0;
        }
        
        .search-tabs {
            display: flex;
            gap: 10px;
        }
        
        .search-tab {
            padding: 8px 20px;
            border: 2px solid var(--primary-gold);
            background: transparent;
            color: var(--primary-gold);
            border-radius: 25px;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.3s ease;
        }
        
        .search-tab.active {
            background: var(--primary-gold);
            color: white;
        }
        
        .search-tab:hover {
            background: var(--primary-gold);
            color: white;
        }
        
        .search-form {
            display: flex;
            flex-direction: column;
            gap: 15px;
        }
        
        .search-row {
            display: grid;
            grid-template-columns: 1fr;
            gap: 12px;
            width: 100%;
            max-width: 100%;
        }
        
        .search-row:last-child {
            grid-template-columns: 1fr;
        }

        .search-input, .search-btn {
            width: 100%;
            max-width: 100%;
            min-width: 0;
            box-sizing: border-box;
        }

        .quick-search-widget {
            width: 100%;
            max-width: 100%;
            box-sizing: border-box;
        }

        @media (min-width: 769px) {
            .search-row {
                grid-template-columns: 1fr 1fr;
                gap: 15px;
            }
            .search-row:last-child {
                grid-template-columns: 1fr;
            }
            .search-btn {
                width: auto;
            }
        }
        
        .search-input {
            padding: 12px 15px;
            border: 2px solid #e0e0e0;
            border-radius: 8px;
            font-size: 15px;
            background: white;
            color: var(--dark-charcoal);
            transition: border-color 0.3s ease;
        }
        
        .search-input:focus {
            outline: none;
            border-color: var(--primary-gold);
        }
        
        .search-btn {
            padding: 12px 25px;
            background: var(--primary-gold);
            color: white;
            border: none;
            border-radius: 8px;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.3s ease;
            white-space: nowrap;
        }
        
        .search-btn:hover {
            background: #243044;
            transform: translateY(-2px);
        }

        /* Search results states — IRF navy chrome, no purple/gold */
        .search-results-section #search-results {
            margin: 0 auto;
            padding: 28px 20px 32px;
            background: var(--irf-white, #fff);
            border-radius: 4px;
            border: 1px solid var(--irf-border, #e5e7eb);
            box-shadow: none;
            max-width: 1400px;
        }
        .search-results-section .search-results-heading {
            text-align: center;
            margin-bottom: 20px;
            font-family: 'Inter', sans-serif;
            font-size: 1.5rem;
            font-weight: 700;
            letter-spacing: 0.04em;
            text-transform: uppercase;
            color: var(--irf-navy, #1a2332);
        }
        #properties-grid.search-grid {
            display: grid;
            grid-template-columns: 1fr;
            gap: 16px;
        }
        @media (min-width: 640px) {
            #properties-grid.search-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
        }
        @media (min-width: 1024px) {
            #properties-grid.search-grid { grid-template-columns: repeat(3, 1fr); gap: 22px; }
        }
        .search-state {
            grid-column: 1 / -1;
            text-align: center;
            padding: 40px 24px;
            border: 1px dashed var(--irf-border, #e5e7eb);
            border-radius: 4px;
            background: var(--irf-off-white, #f7f8fa);
            color: var(--irf-text-muted, #6b7280);
        }
        .search-state h4 {
            margin: 0 0 8px;
            font-size: 1.1rem;
            font-weight: 600;
            color: var(--irf-navy, #1a2332);
        }
        .search-state p {
            margin: 0 0 16px;
            font-size: 0.95rem;
            line-height: 1.5;
            max-width: 420px;
            margin-left: auto;
            margin-right: auto;
        }
        .search-state .search-state-actions {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            justify-content: center;
        }
        .search-state a.btn-irf,
        .search-state button.btn-irf {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 10px 16px;
            border-radius: 4px;
            border: 1px solid var(--irf-navy, #1a2332);
            background: var(--irf-navy, #1a2332);
            color: #fff;
            font-size: 14px;
            font-weight: 500;
            text-decoration: none;
            cursor: pointer;
            font-family: inherit;
        }
        .search-state a.btn-irf.secondary,
        .search-state button.btn-irf.secondary {
            background: transparent;
            color: var(--irf-navy, #1a2332);
        }
        .search-state.loading .spinner {
            margin: 0 auto 16px;
            border-top-color: var(--irf-navy, #1a2332);
        }
        .search-state.error h4 { color: #b91c1c; }

        /* Loading Animation */
        .loading {
            display: flex;
            justify-content: center;
            align-items: center;
            padding: 60px 0;
        }
        
        .spinner {
            width: 40px;
            height: 40px;
            border: 3px solid #f3f3f3;
            border-top: 3px solid var(--irf-navy, #1a2332);
            border-radius: 50%;
            animation: spin 1s linear infinite;
        }
        
        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }
    
        /* Social bar directly under header */
        .header-social-bar {
            position: relative;
            top: 0;
            left: 0;
            right: 0;
            z-index: 999;
            background: #1a2332;
            border-bottom: 1px solid rgba(255,255,255,0.08);
            padding: 8px 0;
        }
        .header-social-bar .melk-social {
            margin: 0;
            display: flex;
            align-items: center;
            justify-content: flex-end;
            gap: 12px;
            flex-wrap: wrap;
        }
        .header-social-bar .melk-social-label {
            color: rgba(255,255,255,0.7);
            margin: 0;
            width: auto;
        }
        .header-social-bar .melk-social-links {
            display: flex;
            gap: 8px;
        }
        .header-social-bar .melk-social-link {
            background: rgba(255,255,255,0.08);
            border: 1px solid rgba(255,255,255,0.12);
            color: #fff;
        }
        @media (max-width: 768px) {
            .header-social-bar { top: 0; }
            .header-social-bar .melk-social { justify-content: center; }
            .logo-image { height: 40px; }
            .navbar { padding: 0; }
        }
        .navbar .logo-image { filter: brightness(0) invert(1); height: 40px; }

    
        /* P0 search stack mobile2 — cascade-safe single column phones */
        @media (max-width: 768px) {
            .hero .container { padding-left: 12px; padding-right: 12px; max-width: 100%; }
            .quick-search-widget { margin-left: 0; margin-right: 0; padding: 18px 14px; }
            .search-row, .search-row:last-child { grid-template-columns: 1fr !important; }
            .search-input, .search-btn { width: 100% !important; min-width: 0 !important; }
            .search-header { width: 100%; }
            .search-header h3 { font-size: 1.2rem; }
        }

        body {
                padding-bottom: 72px;
            }
        }

    
        
        

    
        

      @media (max-width: 768px) {
        #lcw-root, #lcw-root.lcw-ended {
          left: 12px !important;
          right: auto !important;
          bottom: 16px !important;
        }
        #lcw-root.lcw-fab-hidden {
          opacity: 0 !important;
          pointer-events: none !important;
          visibility: hidden !important;
        }
        #search-results-section, #properties { padding-bottom: 100px !important; }
      }
    