@import url("https://cdnjs.cloudflare.com/ajax/libs/meyer-reset/2.0/reset.min.css");
@import url('https://fonts.googleapis.com/css2?family=Urbanist:wght@400;500;600;700&display=swap');

/* =========================================
   From globals.css
   ========================================= */
* {
    -webkit-font-smoothing: antialiased;
    box-sizing: border-box;
}

:root {
    --font-primary: 'Urbanist', sans-serif;
}

html,
body {
    margin: 0;
    width: 100%;
    height: 100%;
    font-family: var(--font-primary);
    background-color: var(--grey-08);
    color: var(--absoluteblack);
    line-height: 1.5;
}

main {
    padding-top: 70px;
}

/* Generic Focus Styles */
button:focus-visible,
a:focus-visible {
    outline: 2px solid #4a90e2;
    outline-offset: 2px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.2s ease;
}

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

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

.container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 20px;
    /* Mobile padding */
}

@media (min-width: 768px) {
    .container {
        padding: 0 40px;
    }
}

@media (min-width: 1200px) {
    .container {
        padding: 0 80px;
    }
}

/* =========================================
   From styleguide.css
   ========================================= */
:root {
    --absolutewhite: rgba(255, 255, 255, 1);
    --absoluteblack: rgba(0, 0, 0, 1);
    --brand-60: rgba(199, 37, 34, 1);
    --brand-65: rgba(214, 78, 75, 1);
    --brand-70: rgba(224, 119, 117, 1);
    --brand-75: rgba(234, 159, 158, 1);
    --brand-90: rgba(249, 222, 221, 1);
    --brand-95: rgba(252, 237, 223, 1);
    --brand-97: rgba(254, 243, 242, 1);
    --brand-99: rgba(255, 249, 249, 1);
    --white-90: rgba(228, 228, 231, 1);
    --white-95: rgba(241, 241, 243, 1);
    --white-97: rgba(247, 247, 248, 1);
    --white-99: rgba(252, 252, 253, 1);
    --grey-08: rgba(255, 255, 255, 1);
    --grey-10: rgba(249, 250, 251, 1);
    --grey-15: rgba(226, 232, 240, 1);
    --grey-20: rgba(203, 213, 225, 1);
    --grey-30: rgba(148, 163, 184, 1);
    --grey-40: rgba(100, 116, 139, 1);
    --grey-50: rgba(71, 85, 105, 1);
    --grey-60: rgba(51, 65, 85, 1);
}

/* =========================================
   From style.css
   ========================================= */
/* =========================================
   Header & Navigation
   ========================================= */
.header {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    background-color: #ffffff;
    border-bottom: 1px solid rgba(0,0,0,0.08); /* Subtle soft border like image */
}



.logo-link .logo {
    height: 55px;
    width: auto;
}

.navigation-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
}

.nav-links {
    display: none;
    /* Mobile first: hidden */
}

.nav-buttons {
    display: flex;
    align-items: center;
    gap: 16px;
}

.btn-primary {
    background-color: var(--grey-08);
    border: 1px solid var(--grey-15);
    color: var(--absoluteblack);
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    transition: background 0.2s;
}

.btn-primary:hover {
    background-color: var(--grey-15);
}

/* Desktop Navigation */
@media (min-width: 900px) {
    .nav-links {
        display: flex;
        gap: 40px; /* Wider gap for elegance */
        align-items: center;
        /* Push lightly left or margin as needed, but standard is flex centered/spaced */
    }

    .nav-link {
        color: var(--absoluteblack);
        font-size: 18px; /* Slightly larger, readable font */
        font-weight: 500;
        padding: 8px 0;
        transition: color 0.2s;
        display: flex;
        align-items: center;
    }

    .nav-link i {
        font-size: 11px;
        margin-left: 8px;
        color: var(--grey-40);
        margin-top: 2px;
    }

    .nav-link:hover {
        color: var(--brand-60);
    }
    
    .nav-link:hover i {
        color: var(--brand-60);
    }
}

/* =========================================
   Hero Section
   ========================================= */
/* =========================================
   Hero Section (Premium Redesign)
   ========================================= */
.hero {
    min-height: 100vh;
    /* Full viewport height for impact */
    display: flex;
    align-items: center;
    padding: 0;
    background-color: var(--grey-08);
    position: relative;
    overflow: hidden;
    /* Soft noise texture could be added here if asset existed */
}

/* Ambient Background Blob */
.hero-accent-blob {
    position: absolute;
    top: -20%;
    right: -10%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(199, 37, 34, 0.15) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    filter: blur(80px);
    z-index: 1;
    pointer-events: none;
    animation: floatBlob 20s infinite alternate ease-in-out;
}

@keyframes floatBlob {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(-30px, 50px) scale(1.1);
    }
}

.relative-z2 {
    position: relative;
    z-index: 2;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
    align-items: center;
}

@media (min-width: 992px) {
    .hero-content {
        grid-template-columns: 1.1fr 0.9fr;
        /* Give text slightly more space */
    }
}

/* Typography & Text */
.hero-text {
    position: relative;
    z-index: 2;
    max-width: 700px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(199, 37, 34, 0.1);
    color: var(--brand-60);
    border: 1px solid rgba(199, 37, 34, 0.2);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero-title {
    font-size: 42px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
    color: var(--absoluteblack);
}

.text-gradient {
    background: linear-gradient(135deg, var(--absoluteblack) 0%, var(--brand-60) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    /* Ensure gradient works */
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 72px;
        /* Massive Desktop Font */
    }
}

.hero-description {
    color: var(--grey-60);
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 48px;
    max-width: 540px;
}

/* Buttons */
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 60px;
}

.btn-large {
    padding: 16px 32px;
    border-radius: 50px;
    /* Pill shape is more modern */
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.btn-filled {
    background-color: var(--brand-60);
    color: #fff;
    box-shadow: 0 10px 20px rgba(199, 37, 34, 0.25);
    border: none;
}

.btn-filled:hover {
    background-color: var(--brand-65);
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(199, 37, 34, 0.35);
}

.btn-outline {
    background-color: transparent;
    border: 1px solid var(--grey-15);
    color: var(--absoluteblack);
}

.btn-outline:hover {
    background-color: #fff;
    border-color: var(--absoluteblack);
    transform: translateY(-2px);
}

/* Stats Glass Cards */
.hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 0;
}

.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
}

.stat-item {
    padding: 20px 30px;
    border-radius: 16px;
    flex: 1 1 auto;
    min-width: 140px;
    transition: transform 0.3s;
}

.stat-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.9);
}

.stat-number {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 4px;
    display: block;
    color: var(--absoluteblack);
}

.stat-label {
    color: var(--grey-60);
    font-size: 14px;
    font-weight: 500;
}

/* Hero Image & Floating Elements */
.hero-image-wrapper {
    position: relative;
    /* Adding perspective for potential 3D tilts later */
}

.hero-image-main {
    position: relative;
    border-radius: 32px;
    overflow: visible;
    /* Allow floating card to pop out */
}

.hero-image-main img {
    width: 100%;
    height: auto;
    border-radius: 32px;
    box-shadow: 20px 40px 80px rgba(0, 0, 0, 0.1);
    /* Deep soft shadow */
    transform: rotate(2deg);
    /* Stylish tilt */
    transition: transform 0.5s ease;
}

.hero-image-main:hover img {
    transform: rotate(0deg) scale(1.02);
}

/* Floating Trust Card */
.hero-floating-card {
    position: absolute;
    bottom: 40px;
    left: -40px;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 24px;
    border-radius: 20px;
    z-index: 5;
    animation: floatCard 6s infinite ease-in-out;
}

@keyframes floatCard {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.floating-icon {
    width: 48px;
    height: 48px;
    background: var(--brand-60);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
    box-shadow: 0 4px 10px rgba(199, 37, 34, 0.3);
}

.floating-text {
    display: flex;
    flex-direction: column;
}

.floating-text strong {
    font-size: 16px;
    font-weight: 700;
    color: var(--absoluteblack);
}

.floating-text span {
    font-size: 12px;
    color: var(--grey-60);
}

/* Responsive adjustments */
@media (max-width: 900px) {
    .hero-image-main img {
        transform: rotate(0);
    }

    .hero-floating-card {
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
        min-width: max-content;
        animation: none;
        /* simpler on mobile */
    }
}



/* =========================================
   Features Grid
   ========================================= */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    margin: 50px 0;
    position: relative;
    z-index: 5;
}

.feature-card {
    background-color: #fff;
    padding: 36px 28px;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 18px;
    border: 1px solid var(--grey-15);
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--brand-60), var(--brand-70));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(199, 37, 34, 0.1);
    border-color: rgba(199, 37, 34, 0.2);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(199, 37, 34, 0.08);
    border-radius: 16px;
    border: 1px solid rgba(199, 37, 34, 0.15);
    transition: background 0.3s ease;
}

.feature-card:hover .feature-icon {
    background: rgba(199, 37, 34, 0.14);
}

.feature-icon i {
    font-size: 26px;
    color: var(--brand-60);
}

.feature-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--absoluteblack);
    line-height: 1.3;
}

/* =========================================
   Common Section Styles (Properties, Testimonials, FAQ)
   ========================================= */
.section {
    padding: 100px 0;
}

/* Alternating subtle background for sections */
.section:nth-of-type(even) {
    background: var(--grey-10);
}

.section-header {
    margin-bottom: 60px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

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

.section-title {
    font-size: 34px;
    font-weight: 700;
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
    letter-spacing: -0.01em;
}

/* Red accent dot before section titles */
.section-title::before {
    content: '';
    display: inline-block;
    width: 10px;
    height: 10px;
    background: var(--brand-60);
    border-radius: 50%;
    margin-right: 12px;
    vertical-align: middle;
    position: relative;
    top: -2px;
}

.section-description {
    color: var(--grey-50);
    max-width: 560px;
    font-size: 16px;
    line-height: 1.7;
}

.abstract-stars {
    display: inline-block;
    vertical-align: middle;
    margin-left: 10px;
}

/* =========================================
   Cards Grid (Properties & Testimonials)
   ========================================= */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 20px;
}

.services-row {
    display: flex;
    gap: 12px;
    padding-bottom: 20px;
    justify-content: space-between;
}

.services-row .feature-card {
    flex: 1;
    min-width: 0; /* Allows shrinking below content size */
    padding: 24px 12px;
    text-align: center;
    background: #fff;
    border: 1px solid var(--grey-15);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.services-row .feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--brand-60);
    box-shadow: 0 10px 20px rgba(199, 37, 34, 0.1);
}

.services-row .feature-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 12px;
}

.services-row .feature-icon i {
    font-size: 20px;
}

.services-row .feature-title {
    font-size: 13px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 900px) {
    .services-row {
        flex-wrap: wrap;
        justify-content: center;
    }
    .services-row .feature-card {
        flex: 0 0 calc(50% - 12px);
        margin-bottom: 12px;
    }
}

@media (max-width: 600px) {
    .services-row .feature-card {
        flex: 0 0 100%;
    }
}

.property-card {
    background-color: #fff;
    border: 1px solid var(--grey-15);
    border-radius: 16px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}

.property-card:hover {
    border-color: rgba(199, 37, 34, 0.3);
    transform: translateY(-5px);
    box-shadow: 0 12px 36px rgba(199, 37, 34, 0.1);
}

.card-image {
    width: 100%;
    aspect-ratio: 16/10;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 0;
}

.card-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.card-title {
    font-size: 20px;
    font-weight: 600;
}

.card-text {
    color: var(--grey-60);
    font-size: 16px;
    line-height: 1.5;
}

/* Property Specs (Bed, Bath, etc.) */
.property-specs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.spec-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: var(--grey-10);
    border: 1px solid var(--grey-15);
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 14px;
}

.spec-badge i {
    color: var(--brand-60);
    font-size: 14px;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.price-label {
    font-size: 14px;
    color: var(--grey-60);
}

.price-value {
    font-size: 20px;
    font-weight: 600;
}

/* =========================================
   Testimonials
   ========================================= */
.testimonial-card {
    background-color: #fff;
    border: 1px solid var(--grey-15);
    border-radius: 20px;
    padding: 36px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.testimonial-card::after {
    content: '\201C';
    position: absolute;
    top: 16px;
    right: 24px;
    font-size: 80px;
    color: rgba(199, 37, 34, 0.08);
    font-family: Georgia, serif;
    line-height: 1;
    pointer-events: none;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 40px rgba(199, 37, 34, 0.08);
}

.stars {
    display: flex;
    gap: 4px;
    margin-bottom: 10px;
}

.text-yellow {
    color: #FFC107;
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    min-width: 50px;
}

.user-info .name {
    font-weight: 500;
    font-size: 18px;
}

.user-info .location {
    font-size: 14px;
    color: var(--grey-60);
}

/* =========================================
   FAQ Section
   ========================================= */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 20px;
}

.faq-card {
    background-color: #fff;
    border: 1px solid var(--grey-15);
    border-radius: 20px;
    padding: 36px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.faq-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(199, 37, 34, 0.08);
    border-color: rgba(199, 37, 34, 0.2);
}

.faq-question {
    font-size: 19px;
    font-weight: 700;
    line-height: 1.4;
    color: var(--absoluteblack);
}

.faq-answer {
    color: var(--grey-50);
    font-size: 15px;
    line-height: 1.7;
}

.btn-small-outline {
    align-self: flex-start;
    padding: 10px 16px;
    border: 1px solid var(--grey-15);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    background: var(--grey-08);
    color: var(--absoluteblack);
    margin-top: auto;
}

/* =========================================
   CTA Section
   ========================================= */
.cta-section {
    padding: 120px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 40px;
    background: linear-gradient(135deg, #1a0a0a 0%, #2d0d0d 50%, #1a0a0a 100%);
    position: relative;
    overflow: hidden;
}

/* Ambient glow on CTA */
.cta-section::before {
    content: '';
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 700px;
    height: 400px;
    background: radial-gradient(ellipse, rgba(199, 37, 34, 0.3) 0%, transparent 70%);
    pointer-events: none;
}

.cta-content {
    z-index: 1;
    max-width: 800px;
}

.cta-title {
    font-size: 52px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: #ffffff;
}

.cta-title::before {
    display: none;
}

.cta-section .section-description {
    color: rgba(255,255,255,0.65);
    font-size: 17px;
    max-width: 520px;
    margin: 0 auto;
}

.cta-section .btn-large.btn-filled {
    background: #fff;
    color: var(--brand-60);
    box-shadow: 0 8px 30px rgba(255,255,255,0.2);
    font-size: 16px;
    margin-top: 10px;
}

.cta-section .btn-large.btn-filled:hover {
    background: var(--brand-90);
    transform: translateY(-3px);
    box-shadow: 0 16px 40px rgba(255,255,255,0.25);
}

@media (max-width: 768px) {
    .cta-title {
        font-size: 34px;
    }
}

/* =========================================
   Footer
   ========================================= */
.footer {
    padding: 80px 0 30px;
    background: #0f0f0f;
    color: rgba(255,255,255,0.75);
}

.footer-top {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: space-between;
    margin-bottom: 60px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand {
    max-width: 320px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-logo {
    height: 40px;
    width: auto;
    object-fit: contain;
    display: block;
    /* Invert logo to white on dark footer */
    filter: brightness(0) invert(1);
}

.newsletter-box {
    display: flex;
    align-items: center;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 12px;
    padding: 10px 16px;
    transition: border-color 0.3s;
}

.newsletter-box:focus-within {
    border-color: var(--brand-60);
}

.newsletter-input {
    background: transparent;
    border: none;
    color: #fff;
    flex: 1;
    padding: 5px;
    outline: none;
    font-size: 14px;
}

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

.footer-links-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 60px;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-column h4 {
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.footer-column a {
    font-size: 14px;
    font-weight: 400;
    color: rgba(255,255,255,0.55);
    transition: color 0.2s;
}

.footer-column a:hover {
    color: #fff;
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding-top: 24px;
    font-size: 13px;
    color: rgba(255,255,255,0.35);
}

.footer-bottom a {
    color: rgba(255,255,255,0.35);
    transition: color 0.2s;
}

.footer-bottom a:hover {
    color: rgba(255,255,255,0.7);
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-link {
    width: 38px;
    height: 38px;
    background: rgba(255,255,255,0.07);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.6);
    border: 1px solid rgba(255,255,255,0.1);
    transition: all 0.3s ease;
    font-size: 14px;
}

.social-link:hover {
    background: var(--brand-60);
    border-color: var(--brand-60);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(199, 37, 34, 0.35);
}

/* Hero Search Bar */
.hero-search-container {
    background: var(--grey-10);
    padding: 24px;
    border-radius: 12px;
    border: 1px solid var(--grey-15);
    margin-bottom: 30px;
    margin-top: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.search-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--grey-15);
    padding-bottom: 15px;
}

.search-tab {
    background: transparent;
    border: none;
    padding: 8px 16px;
    font-size: 16px;
    font-weight: 600;
    color: var(--grey-60);
    border-bottom: 2px solid transparent;
    cursor: pointer;
    transition: all 0.2s;
}

.search-tab.active {
    color: var(--brand-60);
    border-bottom-color: var(--brand-60);
}

.search-inputs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 15px;
    align-items: center;
}

.search-select {
    width: 100%;
    padding: 12px 16px;
    background-color: var(--grey-08);
    border: 1px solid var(--grey-15);
    border-radius: 8px;
    color: var(--absoluteblack);
    font-size: 14px;
    appearance: none;
    /* Custom Arrow */
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1em;
    cursor: pointer;
}

.btn-search {
    background-color: var(--brand-60);
    color: #fff;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 500;
    width: 100%;
    transition: background 0.2s;
    text-align: center;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

/* About Section */
/* =========================================
   About Section
   ========================================= */
.about-section {
    background: var(--grey-10);
    position: relative;
    overflow: hidden;
}

.about-section::before {
    content: '';
    position: absolute;
    top: -150px;
    right: -150px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(199, 37, 34, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
    align-items: center;
}

@media (min-width: 900px) {
    .about-grid {
        grid-template-columns: 1.1fr 0.9fr;
        gap: 80px;
    }
}

/* Left Column */
.about-left {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.about-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--brand-60);
    background: rgba(199, 37, 34, 0.08);
    border: 1px solid rgba(199, 37, 34, 0.15);
    padding: 6px 14px;
    border-radius: 50px;
    width: fit-content;
}

.about-title {
    font-size: 42px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--absoluteblack);
}

@media (min-width: 768px) {
    .about-title {
        font-size: 52px;
    }
}

.about-body {
    color: var(--grey-50);
    font-size: 16px;
    line-height: 1.8;
}

.about-pillars {
    list-style: none;
    padding: 0;
    margin: 8px 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.about-pillars li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    font-weight: 500;
    color: var(--grey-60);
}

.about-pillars li i {
    color: var(--brand-60);
    font-size: 18px;
    flex-shrink: 0;
}

.about-cta {
    width: fit-content;
    margin-top: 8px;
    border-radius: 50px;
}

/* Right Column */
.about-right {
    width: 100%;
}

.about-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.about-stat-card {
    background: #fff;
    border: 1px solid var(--grey-15);
    border-radius: 20px;
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 36px rgba(199, 37, 34, 0.1);
}

.about-stat-card--accent {
    background: var(--brand-60);
    border-color: var(--brand-60);
}

.about-stat-card--accent .about-stat-icon,
.about-stat-card--accent .about-stat-number,
.about-stat-card--accent .about-stat-label,
.about-stat-card--accent .about-stat-plus {
    color: #fff;
}

.about-stat-card--accent .about-stat-icon {
    background: rgba(255,255,255,0.15);
    border-color: rgba(255,255,255,0.2);
}

.about-stat-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(199, 37, 34, 0.08);
    border: 1px solid rgba(199, 37, 34, 0.15);
    border-radius: 14px;
    font-size: 22px;
    color: var(--brand-60);
}

.about-stat-number {
    font-size: 36px;
    font-weight: 800;
    color: var(--absoluteblack);
    line-height: 1;
}

.about-stat-plus {
    color: var(--brand-60);
    font-size: 26px;
    font-weight: 800;
}

.about-stat-label {
    font-size: 13px;
    font-weight: 500;
    color: var(--grey-40);
    white-space: nowrap;
}

/* =========================================
   Premium UI Overrides & Additions
   ========================================= */

:root {
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --premium-dark: #141414;
    --premium-card-bg: #1a1a1a;
    --accent-gold: #D4AF37;
}

/* Glassmorphism Utility */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-up {
    animation: fadeInUp 0.6s ease-out forwards;
    animation-delay: calc(var(--delay-index, 0) * 1ms);
}

/* Enhanced Form Controls */
.premium-input {
    background-color: var(--premium-card-bg);
    border: 1px solid var(--grey-15);
    color: white;
    transition: all 0.3s ease;
}

.premium-input:focus {
    border-color: var(--brand-60);
    box-shadow: 0 0 0 3px rgba(199, 37, 34, 0.1);
    outline: none;
}

/* Modern Card Hover */
.premium-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.premium-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border-color: var(--brand-60);
}

/* Range Slider Styling (Webkit) */
input[type=range] {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    background: transparent;
}

input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    height: 16px;
    width: 16px;
    border-radius: 50%;
    background: var(--brand-60);
    cursor: pointer;
    margin-top: -6px;
    box-shadow: 0 0 10px rgba(199, 37, 34, 0.5);
}

input[type=range]::-webkit-slider-runnable-track {
    width: 100%;
    height: 4px;
    cursor: pointer;
    background: var(--grey-15);
    border-radius: 2px;
}

/* =========================================
   From properties-premium.css
   ========================================= */
/* Premium Properties List Styles */

/* --- Page Layout --- */
/* --- Page Layout --- */
.premium-layout-container {
    padding: 180px 0 100px;
}

/* --- Top Filter Bar --- */
.premium-top-filter-bar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--grey-15);
    padding: 15px 0;
    margin-bottom: 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    position: fixed;
    top: 89px;
    z-index: 90;
    width: 100%;
}

.filter-primary-row {
    display: flex;
    gap: 16px;
    align-items: center;
}

/* Status Tabs */
.status-tabs {
    display: flex;
    background: var(--grey-08);
    padding: 4px;
    border-radius: 10px;
    border: 1px solid var(--grey-15);
}

.status-tab {
    position: relative;
    cursor: pointer;
}

.status-tab input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.status-tab span {
    display: block;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--grey-60);
    transition: all 0.2s;
}

.status-tab input:checked+span {
    background: var(--absoluteblack);
    color: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Search Container */
.search-container {
    flex: 2;
    position: relative;
    min-width: 200px;
}

.search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--grey-60);
    pointer-events: none;
}

.premium-search-input {
    width: 100%;
    padding: 12px 16px 12px 40px;
    border: 1px solid var(--grey-15);
    background: var(--grey-08);
    border-radius: 10px;
    font-size: 14px;
    color: var(--absoluteblack);
    height: 48px;
}

.premium-search-input:focus {
    background: #fff;
    border-color: var(--brand-60);
    outline: none;
}

/* Toggle Button */
.btn-toggle-filters {
    background: var(--grey-08);
    border: 1px solid var(--grey-15);
    color: var(--absoluteblack);
    padding: 0 20px;
    height: 48px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
}

.btn-toggle-filters:hover {
    background: var(--grey-15);
}

/* Advanced Panel (Full Screen Modal) */
.advanced-filters-panel {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #ffffff;
    z-index: 2000;
    /* Above everything */
    padding: 0;
    flex-direction: column;
    animation: slideUp 0.3s ease-out;
}

.advanced-filters-panel.active {
    display: flex;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Modal Header */
.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    /* Match container padding */
    border-bottom: 1px solid var(--grey-15);
    background: #fff;
    flex-shrink: 0;
}

.modal-header h3 {
    font-size: 20px;
    font-weight: 700;
    margin: 0;
}

.btn-close-modal {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--grey-10);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--absoluteblack);
    cursor: pointer;
    transition: all 0.2s;
}

.btn-close-modal:hover {
    background: var(--grey-15);
    transform: rotate(90deg);
}

/* Modal Content Scrollable Area */
.modal-scroll-content {
    flex-grow: 1;
    overflow-y: auto;
    padding: 40px;
    /* Content padding */
    max-width: 1440px;
    margin: 0 auto;
    width: 100%;
}

/* Ensure filter sections inside look good on full screen */
.filter-section {
    margin-bottom: 40px;
}

.advanced-apply-row {
    padding: 20px 40px;
    border-top: 1px solid var(--grey-15);
    background: #fff;
    flex-shrink: 0;
    /* Sticky bottom footer aspect */
    display: flex;
    justify-content: center;
    /* Center the button */
}

.advanced-apply-row .btn-filter-apply {
    max-width: 400px;
    /* Don't be too wide on desktop */
}

/* Mobile Adjustments for Modal */
@media (max-width: 768px) {

    .modal-header,
    .modal-scroll-content,
    .advanced-apply-row {
        padding: 20px;
    }
}

/* Filter Sections */
.filter-section {
    margin-bottom: 20px;
}

.filter-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--grey-60);
}

.filter-divider {
    height: 1px;
    background: var(--grey-15);
    margin: 20px 0;
}

/* Type Grid (Icons) */
.type-grid {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.type-btn {
    cursor: pointer;
}

.type-btn input {
    position: absolute;
    opacity: 0;
}

.type-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border: 1px solid var(--grey-15);
    border-radius: 12px;
    background: var(--grey-08);
    color: var(--grey-60);
    transition: all 0.2s;
    min-width: 90px;
}

.type-content i {
    font-size: 20px;
}

.type-btn input:checked+.type-content {
    background: #fff;
    border-color: var(--brand-60);
    color: var(--brand-60);
    box-shadow: 0 4px 12px rgba(199, 37, 34, 0.1);
}

/* Specs Row */
.specs-grid-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 30px;
}

/* Pills Group */
.pills-group {
    display: flex;
    background: var(--grey-08);
    padding: 4px;
    border-radius: 10px;
    border: 1px solid var(--grey-15);
    width: fit-content;
}

.pill-radio input {
    position: absolute;
    opacity: 0;
}

.pill-radio span {
    display: block;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--grey-60);
    cursor: pointer;
    transition: all 0.2s;
}

.pill-radio input:checked+span {
    background: var(--absoluteblack);
    color: #fff;
}

/* Amenities Grid */
.amenities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 16px;
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    color: var(--absoluteblack);
    cursor: pointer;
    padding: 8px;
    border-radius: 6px;
    transition: background 0.2s;
}

.checkbox-item:hover {
    background: var(--grey-08);
}

.checkbox-item input {
    width: 18px;
    height: 18px;
    accent-color: var(--brand-60);
}

/* Range Input in Advanced */
.premium-range-group {
    justify-content: center;
}

/* Advanced Apply */
.advanced-apply-row {
    margin-top: 30px;
}

.full-width {
    width: 100%;
}

/* Mobile Adjustments */
@media (max-width: 900px) {
    .filter-primary-row {
        flex-wrap: wrap;
    }

    .search-container {
        order: 3;
        flex: 100%;
        min-width: 100%;
    }

    .btn-toggle-filters {
        flex: 1;
        justify-content: center;
    }

    .main-apply {
        flex: 1;
    }

    .specs-grid-row {
        grid-template-columns: 1fr;
    }

    .premium-top-filter-bar {
        position: static;
        /* Unfreeze on mobile if content too long, or use overflow scroll */
    }

    .premium-layout-container {
        padding-top: 20px;
        /* Reset padding if static */
    }
}

/* Buttons */
.btn-filter-apply {
    background: var(--brand-60);
    color: white;
    padding: 0 24px;
    height: 48px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 14px;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.btn-filter-apply:hover {
    background: var(--brand-65);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(199, 37, 34, 0.2);
}

.btn-filter-reset {
    color: var(--grey-60);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    margin-left: 10px;
    white-space: nowrap;
}

.btn-filter-reset:hover {
    color: var(--brand-60);
}


/* --- Main Content Grid --- */
.premium-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 30px;
}

.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.results-title {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.1;
}

.results-count {
    color: var(--grey-60);
    font-size: 15px;
    font-weight: 500;
    background: var(--grey-10);
    padding: 6px 14px;
    border-radius: 50px;
}

/* --- Premium Property Card (Same as before) --- */
/* --- Premium Property Card (Visual Redesign) --- */
.premium-property-card {
    background: #ffffff;
    border: 1px solid var(--grey-15);
    border-radius: 32px;
    padding: 12px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.premium-property-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-color: var(--brand-60);
}

.card-img-container {
    height: 260px;
    position: relative;
    overflow: hidden;
    border-radius: 24px;
}

.card-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.33, 1, 0.68, 1);
}

.premium-property-card:hover .card-img-container img {
    transform: scale(1.08);
}

/* Price Badge - floating inside image */
.price-badge {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: rgba(20, 20, 20, 0.8);
    backdrop-filter: blur(12px);
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.card-details {
    padding: 0 8px 8px;
    /* Slight padding for text */
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 8px;
}

.card-h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--absoluteblack);
    margin: 0;
    line-height: 1.4;
}

.card-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 14px;
    font-weight: 600;
    color: var(--absoluteblack);
}

.card-loc {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--grey-60);
    font-size: 14px;
    margin-bottom: 20px;
}

/* Specs Row - Replaces Description */
.specs-row {
    display: flex;
    justify-content: space-between;
    background: var(--grey-08);
    padding: 12px 16px;
    border-radius: 16px;
    margin-bottom: 20px;
}

.spec-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--grey-60);
    font-weight: 500;
}

.spec-item i {
    color: var(--brand-60);
    font-size: 16px;
}

/* Pill Button */
.btn-card-action {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 16px;
    background: var(--absoluteblack);
    color: #ffffff;
    border-radius: 50px;
    /* Pill shape */
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s;
    border: none;
    text-decoration: none;
    margin-top: auto;
}

.btn-card-action:hover {
    background: var(--brand-60);
    color: #ffffff;
    transform: scale(1.02);
    box-shadow: 0 10px 20px rgba(199, 37, 34, 0.2);
}

/* Empty State */
.empty-state-card {
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px 20px;
    background: var(--grey-08);
    border-radius: 20px;
    border: 2px dashed var(--grey-15);
}

.empty-icon-circle {
    width: 80px;
    height: 80px;
    background: var(--white-95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.empty-icon-circle i {
    font-size: 32px;
    color: var(--grey-40);
}

/* Mobile Responsive */
@media (max-width: 992px) {
    .premium-top-filter-bar {
        padding: 16px;
    }

    .filter-form-flex {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .top-filter-item.search-item {
        grid-column: 1 / -1;
    }

    .top-filter-item.action-item {
        grid-column: 1 / -1;
    }

    .btn-filter-apply {
        width: 100%;
    }
}

/* =========================================
   From property-premium.css
   ========================================= */
/* Premium Property Details Page Styles */

/* --- Layout & Grid --- */
.premium-container {
    padding-top: 40px;
    padding-bottom: 80px;
}

.premium-gallery-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: 250px 250px;
    gap: 16px;
    margin-bottom: 50px;
    border-radius: 24px;
    overflow: hidden;
}

.premium-gallery-grid.single-image {
    grid-template-columns: 1fr;
}

.gallery-main {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
    position: relative;
    height: 100%;
}

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

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.gallery-img:hover {
    transform: scale(1.03);
}

.gallery-overlay-btn {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 14px;
    color: var(--absoluteblack);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    z-index: 2;
    pointer-events: none;
    /* Let clicks pass through to image or make it button */
}

@media (max-width: 900px) {
    .premium-gallery-grid {
        grid-template-columns: 1fr;
        grid-template-rows: 300px 150px;
    }

    .gallery-main {
        grid-column: 1 / -1;
        grid-row: 1 / 2;
    }

    .gallery-side.hidden-mobile {
        display: none;
    }
}

/* --- Content Wrapper (Left + Right Sticky) --- */
.premium-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 60px;
    align-items: start;
}

@media (max-width: 1024px) {
    .premium-content-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* --- Typography & Header --- */
.property-header {
    margin-bottom: 30px;
}

.property-title {
    font-size: 42px;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
    line-height: 1.1;
    color: var(--absoluteblack);
}

.property-location {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--grey-60);
    font-size: 16px;
}

.property-price-tag {
    font-size: 32px;
    font-weight: 700;
    color: var(--brand-60);
    display: block;
    margin-top: 20px;
}

/* --- Stats Grid --- */
.premium-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin: 40px 0;
    padding: 24px;
    background: var(--white-99);
    border: 1px solid var(--grey-15);
    border-radius: 20px;
}

.stat-item-premium {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 10px;
    border-right: 1px solid var(--grey-15);
}

.stat-item-premium:last-child {
    border-right: none;
}

.stat-value {
    font-size: 24px;
    font-weight: 700;
    color: var(--absoluteblack);
}

.stat-label {
    font-size: 14px;
    color: var(--grey-50);
    font-weight: 500;
}

@media (max-width: 600px) {
    .premium-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stat-item-premium:nth-child(2) {
        border-right: none;
    }
}

/* --- Section Styling --- */
.detail-section {
    margin-bottom: 50px;
}

.section-head {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--absoluteblack);
    display: flex;
    align-items: center;
    gap: 12px;
}

.section-head::before {
    content: '';
    display: block;
    width: 6px;
    height: 24px;
    background: var(--brand-60);
    border-radius: 4px;
}

.text-content {
    font-size: 17px;
    line-height: 1.8;
    color: var(--grey-60);
}

/* --- Amenities Chips --- */
.amenities-flex {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.amenity-chip {
    padding: 12px 20px;
    background: var(--white-97);
    border: 1px solid var(--grey-15);
    border-radius: 50px;
    font-size: 15px;
    color: var(--grey-60);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.2s;
}

.amenity-chip:hover {
    background: var(--white-95);
    border-color: var(--brand-60);
    color: var(--brand-60);
    transform: translateY(-2px);
}

/* --- Sticky Sidebar Card --- */
.sticky-wrapper {
    position: sticky;
    top: 100px;
}

.inquiry-card {
    background: #ffffff;
    border: 1px solid var(--grey-15);
    border-radius: 24px;
    padding: 32px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.agent-profile {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--grey-15);
}

.agent-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    background: var(--grey-15);
}

.agent-info h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 4px;
}

.input-group {
    margin-bottom: 16px;
}

.input-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--grey-50);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.premium-input {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--grey-20);
    border-radius: 12px;
    font-size: 15px;
    transition: all 0.2s;
    background: var(--white-99);
}

.premium-input:focus {
    border-color: var(--brand-60);
    background: #fff;
    outline: none;
    box-shadow: 0 0 0 4px var(--brand-90);
}

.btn-full {
    width: 100%;
    background: var(--brand-60);
    color: white;
    padding: 16px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    margin-top: 10px;
    transition: all 0.2s;
}

.btn-full:hover {
    background: var(--brand-65);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(199, 37, 34, 0.2);
}

/* Map Placeholder */
.map-placeholder {
    width: 100%;
    height: 300px;
    background: var(--grey-15);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--grey-50);
    position: relative;
    overflow: hidden;
    background-image: url('https://mt1.google.com/vt/lyrs=m&x=10&y=10&z=5');
    /* Fake pattern not real map */
    background-size: cover;
}

.map-btn {
    background: white;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    z-index: 2;
    cursor: pointer;
    transition: transform 0.2s;
}

.map-btn:hover {
    transform: scale(1.05);
}

/* =========================================
   Premium Hero Search UI
   ========================================= */
.premium-hero-search-bg {
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(ellipse at 15% 60%, rgba(199, 37, 34, 0.07) 0%, transparent 55%),
        radial-gradient(ellipse at 85% 20%, rgba(199, 37, 34, 0.05) 0%, transparent 50%),
        #ffffff;
    height: calc(100vh - 70px);
    min-height: calc(100vh - 70px);
    padding: 0 20px;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
}

/* Animated ambient blobs */
.premium-hero-search-bg::before {
    content: '';
    position: absolute;
    top: -120px;
    right: -120px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(199, 37, 34, 0.07) 0%, transparent 70%);
    border-radius: 50%;
    animation: heroBlobFloat 15s ease-in-out infinite alternate;
    pointer-events: none;
}

.premium-hero-search-bg::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, rgba(199, 37, 34, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    animation: heroBlobFloat 20s ease-in-out infinite alternate-reverse;
    pointer-events: none;
}

@keyframes heroBlobFloat {
    0%   { transform: translate(0, 0) scale(1); }
    100% { transform: translate(30px, -30px) scale(1.1); }
}

.premium-search-container {
    max-width: 1100px;
    width: 100%;
}

.premium-search-title {
    font-size: 52px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 36px;
    color: var(--absoluteblack);
    letter-spacing: -0.02em;
    line-height: 1.15;
}

@media (min-width: 768px) {
    .premium-search-title {
        font-size: 72px;
    }
}

/* Hero brand name highlight */
.hero-brand-name {
    color: var(--brand-60);
}

/* Hero tagline */
.hero-tagline {
    text-align: center;
    color: var(--grey-50);
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 28px;
    max-width: 580px;
    margin-left: auto;
    margin-right: auto;
}

/* Hero Tabs */
.hero-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

.hero-tab {
    padding: 10px 30px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    border: 1.5px solid var(--grey-15);
    background: transparent;
    color: var(--grey-50);
    cursor: pointer;
    transition: all 0.25s ease;
    font-family: var(--font-primary);
}

.hero-tab.active {
    background: var(--brand-60);
    border-color: var(--brand-60);
    color: #fff;
    box-shadow: 0 6px 20px rgba(199, 37, 34, 0.25);
}

.hero-tab:not(.active):hover {
    border-color: var(--brand-60);
    color: var(--brand-60);
}

/* Hero Stats Strip */
.hero-stats-strip {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 28px;
    padding: 22px 40px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--grey-15);
    border-radius: 20px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.hero-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 36px;
}

.hero-stat-number {
    font-size: 30px;
    font-weight: 800;
    color: var(--absoluteblack);
    line-height: 1;
    margin-bottom: 4px;
}

.hero-stat-plus {
    color: var(--brand-60);
    font-size: 22px;
    font-weight: 800;
}

.hero-stat-label {
    font-size: 13px;
    color: var(--grey-40);
    font-weight: 500;
    white-space: nowrap;
}

.hero-stat-divider {
    width: 1px;
    height: 44px;
    background: var(--grey-15);
    flex-shrink: 0;
}

.premium-search-wrapper {
    margin-bottom: 20px;
    position: relative;
    z-index: 10;
}

.premium-search-tabs {
    display: flex;
    gap: 8px; 
    margin-bottom: 12px;
    justify-content: flex-start;
    padding-left: 20px;
}

.search-tab-btn {
    padding: 10px 20px;
    background: transparent;
    border: none;
    font-size: 15px;
    font-weight: 600;
    color: var(--grey-50);
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s;
    cursor: pointer;
}

.search-tab-btn.active {
    background: var(--grey-15);
    color: var(--absoluteblack);
}

.search-tab-btn:not(.active):hover {
    background: var(--grey-10);
    color: var(--absoluteblack);
}

.badge-new {
    background-color: var(--brand-60);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    padding: 3px 6px;
    border-radius: 12px;
}

.premium-search-body {
    background: var(--brand-60);
    border-radius: 500px;
    padding: 10px 10px 10px 30px;
    display: flex;
    align-items: center;
    box-shadow: 0 12px 40px rgba(199, 37, 34, 0.2);
}

.search-field {
    display: flex;
    flex-direction: column;
    padding: 8px 16px;
    flex: 1;
    gap: 4px;
}

.search-field label {
    font-size: 13px;
    color: rgba(255,255,255,0.7);
    margin-bottom: 2px;
    font-weight: 500;
}

.search-select-input, .search-text-input {
    border: none;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    width: 100%;
    outline: none;
    padding: 0;
    background: transparent;
}

.search-text-input::placeholder {
    color: rgba(255,255,255,0.9);
    font-weight: 500;
}

.search-select-input {
    appearance: none;
    /* White chevron SVG */
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0 center;
    background-size: 1em;
    padding-right: 20px;
    cursor: pointer;
}
.search-select-input option {
    color: var(--absoluteblack);
    background: #fff;
}

.search-divider {
    width: 1px;
    height: 40px;
    background-color: rgba(255,255,255,0.3);
}

.btn-filter-icon {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    font-weight: 600;
    font-size: 16px;
    color: #fff;
    background: transparent;
    border: none;
    cursor: pointer;
}

.btn-search-dark {
    background-color: #fff;
    color: var(--brand-60);
    padding: 16px 32px;
    border-radius: 500px;
    font-weight: 700;
    font-size: 17px;
    border: none;
    transition: transform 0.2s, box-shadow 0.2s;
    margin-left: 12px;
    cursor: pointer;
}

.btn-search-dark:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* Popular Localities Section */
.popular-localities-wrapper {
    display: flex;
    align-items: center;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 10px;
}

.localities-label {
    font-weight: 500;
    font-size: 18px;
    color: var(--absoluteblack);
    display: flex;
    align-items: center;
    gap: 8px;
}

.localities-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.locality-pill {
    padding: 8px 20px;
    border: 1px solid var(--grey-20);
    border-radius: 50px;
    font-size: 15px;
    font-weight: 500;
    color: var(--grey-60);
    background-color: transparent;
    transition: all 0.2s;
}

.locality-pill:hover {
    background-color: var(--grey-10);
    border-color: var(--absoluteblack);
    color: var(--absoluteblack);
}

@media (max-width: 900px) {
    .premium-search-body {
        flex-direction: column;
        border-radius: 12px;
        align-items: stretch;
        padding: 16px;
    }
    
    .search-divider {
        width: 100%;
        height: 1px;
        margin: 12px 0;
    }
    
    .premium-search-tabs {
        flex-direction: column;
    }
    
    .search-tab-btn {
        border-radius: 8px;
        margin-bottom: 4px;
    }
    
    .search-tab-btn.active::after {
        display: none;
    }
    
    .btn-search-dark {
        margin-left: 0;
        margin-top: 16px;
    }
    
    .popular-localities-wrapper {
        flex-direction: column;
    }
}


/* =========================================
   Location Section
   ========================================= */
.location-section {
    background: var(--grey-10);
}

.location-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: start;
}

@media (min-width: 900px) {
    .location-grid {
        grid-template-columns: 1.4fr 1fr;
        gap: 50px;
    }
}

.location-map-wrap {
    width: 100%;
    height: 460px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--grey-15);
}

.location-map-wrap iframe {
    display: block;
    width: 100%;
    height: 100%;
}

.location-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.location-info-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: #fff;
    border: 1px solid var(--grey-15);
    border-radius: 16px;
    padding: 20px 24px;
    transition: all 0.3s ease;
}

.location-info-card:hover {
    border-color: var(--brand-60);
    box-shadow: 0 8px 24px rgba(199, 37, 34, 0.08);
    transform: translateX(4px);
}

.location-info-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 12px;
    background: rgba(199, 37, 34, 0.08);
    border: 1px solid rgba(199, 37, 34, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--brand-60);
}

.location-info-card h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--absoluteblack);
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.location-info-card p {
    font-size: 15px;
    color: var(--grey-50);
    line-height: 1.6;
}

.location-info-card p a {
    color: var(--grey-50);
    transition: color 0.2s;
}

.location-info-card p a:hover {
    color: var(--brand-60);
}

.location-directions-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 50px;
    margin-top: 4px;
    text-decoration: none;
}

/* =========================================
   Instagram / Social Section
   ========================================= */
.insta-section {
    background: #fff;
}

/* Header row */
.insta-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 40px;
    padding: 28px 32px;
    background: var(--grey-10);
    border: 1px solid var(--grey-15);
    border-radius: 20px;
}

.insta-profile {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Gradient Instagram avatar */
.insta-avatar {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #fff;
    flex-shrink: 0;
}

.insta-handle {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}

.insta-handle a {
    font-size: 20px;
    font-weight: 800;
    color: var(--absoluteblack);
    text-decoration: none;
    transition: color 0.2s;
}

.insta-handle a:hover {
    color: #dc2743;
}

.insta-verified i {
    color: #0095f6;
    font-size: 16px;
}

.insta-tagline {
    font-size: 14px;
    color: var(--grey-50);
}

/* Follow button */
.btn-insta-follow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 28px;
    border-radius: 50px;
    background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    color: #fff;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(220, 39, 67, 0.25);
    font-family: var(--font-primary);
    white-space: nowrap;
}

.btn-insta-follow:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(220, 39, 67, 0.35);
    color: #fff;
}

/* Post grid — 4 cols for premium static cards */
.insta-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

@media (max-width: 1024px) {
    .insta-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .insta-grid {
        grid-template-columns: 1fr;
    }
}

/* Static Post Card Styling */
.insta-post-card {
    position: relative;
    aspect-ratio: 1 / 1;
    border-radius: 12px;
    overflow: hidden;
    background: var(--grey-15);
    display: block;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.insta-post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.insta-post-card:hover img {
    transform: scale(1.1);
}

/* Premium Hover Overlay */
.insta-card-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(2px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    opacity: 0;
    transition: opacity 0.3s ease;
    color: #fff;
}

.insta-post-card:hover .insta-card-overlay {
    opacity: 1;
}

.insta-card-stats {
    display: flex;
    gap: 20px;
    font-size: 18px;
    font-weight: 600;
}

.overlay-logo {
    font-size: 32px;
    opacity: 0.8;
}

/* Official embeds handle their own internal styling */

/* Bottom CTA strip */
.insta-footer-cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 32px;
    padding: 24px 32px;
    background: var(--grey-10);
    border: 1px solid var(--grey-15);
    border-radius: 20px;
}

.insta-footer-cta p {
    font-size: 15px;
    color: var(--grey-50);
}

.btn-insta-ghost {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    border-radius: 50px;
    border: 2px solid #dc2743;
    color: #dc2743;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.25s ease;
    font-family: var(--font-primary);
    background: transparent;
}

.btn-insta-ghost:hover {
    background: #dc2743;
    color: #fff;
}

/* =========================================
   WhatsApp Floating Button
   ========================================= */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #fff;
    padding: 12px 24px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
    z-index: 9999;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    font-family: var(--font-primary);
}

.whatsapp-float:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.4);
    background-color: #20ba5a;
    color: #fff;
}

.whatsapp-float i {
    font-size: 24px;
}

@media (max-width: 600px) {
    .whatsapp-float {
        padding: 15px;
        bottom: 20px;
        right: 20px;
        border-radius: 50%;
    }
    .whatsapp-float span {
        display: none;
    }
}