:root {
    --ink: #17212b;
    --muted: #65758a;
    --line: #dfe5eb;
    --paper: #ffffff;
    --soft: #f4f7fa;
    --accent: #1d0f7b;
    --accent-dark: #1e095d;
    --warm: #ffb15f;
    --danger: #d94d45;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    color: #17212b;
    background: var(--soft);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    overflow-x: hidden;
}

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

button,
input,
select,
textarea {
    font: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 14px clamp(18px, 4vw, 56px);
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(14px);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 20px;
}

.brand-mark {
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    border-radius: 8px;
    color: #fff;
    background: var(--accent);
}

.top-nav {
    display: flex;
    align-items: center;
    gap: 18px;
    color: var(--muted);
    font-weight: 650;
}

.admin-link {
    padding: 9px 14px;
    color: var(--accent-dark);
    background: #e6e9f4;
    border-radius: 8px;
}

.hero {
    position: relative;
    min-height: 590px;
    display: flex;
    align-items: center;
    padding: 70px clamp(18px, 6vw, 80px);
    color: #fff;
    background: url("https://images.unsplash.com/photo-1600607688969-a5bfcd646154?auto=format&fit=crop&w=1800&q=80") center/cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(10, 22, 32, 0.86), rgba(10, 22, 32, 0.42), rgba(10, 22, 32, 0.18));
}

.hero-content {
    position: relative;
    width: min(900px, 100%);
}

.eyebrow {
    margin: 0 0 10px;
    color: var(--accent);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.hero .eyebrow {
    color: var(--warm);
}

h1,
h2 {
    margin: 0;
    letter-spacing: 0;
    line-height: 1.05;
}

h1 {
    max-width: 760px;
    font-size: clamp(42px, 7vw, 82px);
}

h2 {
    font-size: clamp(26px, 4vw, 40px);
}

.hero-content > p:not(.eyebrow) {
    max-width: 650px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 19px;
    line-height: 1.6;
}

.search-panel {
    width: min(860px, 100%);
    margin-top: 28px;
    padding: 18px;
    color: var(--ink);
    background: rgba(255, 255, 255, 0.96);
    border-radius: 8px;
    box-shadow: 0 26px 80px rgba(0, 0, 0, 0.24);
}

.search-panel label {
    display: block;
    margin-bottom: 8px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
}

.search-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 48px auto;
    gap: 10px;
}

.search-row input,
.search-row button,
.booking-form input,
.booking-form select,
.booking-form textarea,
.admin-form input,
.admin-form select,
.admin-form textarea {
    min-height: 48px;
    border: 1px solid var(--line);
    border-radius: 8px;
}

.search-row input,
.booking-form input,
.booking-form select,
.booking-form textarea,
.admin-form input,
.admin-form select,
.admin-form textarea {
    width: 100%;
    padding: 0 14px;
    background: #fff;
}

.booking-form textarea,
.admin-form textarea {
    min-height: 96px;
    padding-top: 12px;
}

button,
.visit-link,
.search-row button {
    cursor: pointer;
    border: 0;
    border-radius: 8px;
    color: #fff;
    background: var(--accent);
    font-weight: 800;
}

button:hover,
.visit-link:hover {
    background: var(--accent-dark);
}

.gps-btn {
    font-size: 22px;
}

.quick-localities {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.quick-localities a,
.filter-pill,
.amenities span {
    padding: 8px 11px;
    border-radius: 999px;
    color: var(--accent-dark);
    background: #e6f4f1;
    font-weight: 750;
    font-size: 13px;
}

.gps-status {
    min-height: 20px;
    margin: 10px 0 0;
    color: var(--muted);
}

.results-section,
.about-band,
.detail-layout,
.detail-hero {
    width: min(1180px, calc(100% - 36px));
    margin: 0 auto;
}

.results-section {
    padding: 58px 0;
}

.section-heading,
.title-row,
.price-strip,
.site-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.filter-pill {
    color: var(--accent-dark);
}

.filter-pill.is-active {
    color: #fff;
    background: var(--accent);
}

.property-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    margin-top: 28px;
}

.property-card,
.admin-panel,
.login-card {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 18px 48px rgba(24, 35, 48, 0.08);
}

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

.card-media {
    position: relative;
    display: block;
    aspect-ratio: 1.35;
    overflow: hidden;
}

.card-media img,
.gallery-main img,
.gallery-side img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rent-badge {
    position: absolute;
    left: 14px;
    bottom: 14px;
    padding: 7px 10px;
    color: #fff;
    background: rgba(0, 0, 0, 0.72);
    border-radius: 8px;
    font-weight: 800;
}

.card-actions,
.detail-actions {
    display: flex;
    gap: 8px;
}

.card-actions {
    position: absolute;
    top: 12px;
    right: 12px;
}

.card-actions button {
    width: 40px;
    height: 40px;
    color: var(--ink);
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid var(--line);
}


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

.action-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 40px;
    padding: 0 16px;
    color: var(--ink);
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 8px;
    font-weight: 750;
    font-size: 14px;
    cursor: pointer;
    transition: 0.15s ease;
}

.action-btn:hover {
    border-color: var(--muted);
    background: var(--soft);
}

.action-icon {
    font-size: 18px;
    line-height: 1;
}

.card-body {
    padding: 18px;
}

.card-title {
    display: block;
    margin-bottom: 8px;
    font-size: 19px;
    font-weight: 850;
}

.card-body p,
.detail-content p,
.about-band p {
    color: var(--muted);
    line-height: 1.55;
}

.facts {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 14px 0;
}

.facts span {
    padding: 7px 9px;
    color: #334155;
    background: #edf2f7;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 750;
}

.distance {
    color: var(--accent-dark) !important;
    font-weight: 750;
}

.visit-link {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 14px;
}

.lifestyle-banner {
    position: relative;
    width: 100%;
    min-height: 420px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;
}

.lifestyle-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.lifestyle-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, #f5f5f5 0%, #f5f5f5 45%, rgba(245, 245, 245, 0.85) 60%, transparent 78%);
}

.lifestyle-content {
    position: relative;
    z-index: 2;
    max-width: 520px;
    margin-left: clamp(18px, 6vw, 80px);
    padding: 60px 0;
    text-align: left;
}

.why-section {
    background: #f5f5f5;
    padding: 80px clamp(18px, 4vw, 56px);
}

.why-inner {
    width: min(1180px, 100%);
    margin: 0 auto;
}

.why-inner > .eyebrow {
    text-align: center;
}

.why-inner > h2 {
    text-align: center;
    font-size: clamp(34px, 4vw, 40px);
    margin-top: 10px;
    margin-bottom: 56px;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 36px;
}

.why-card {
    text-align: left;
}

.why-icon {
    margin-bottom: 24px;
}

.why-card h3 {
    margin: 0 0 10px;
    font-size: 22px;
    font-weight: 700;
    color: #1f1f1f;
    transition: color 0.2s ease;
}

.why-card p {
    margin: 0;
    font-size: 16px;
    font-weight: 400;
    color: #666;
    line-height: 1.6;
}

.why-card:hover h3 {
    color: var(--accent);
}

.why-card svg {
    transition: transform 0.25s ease;
}

.why-card:hover svg {
    transform: scale(1.08);
}

@media (max-width: 900px) {
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }
}

@media (max-width: 620px) {
    .why-section {
        padding: 60px 18px;
    }

    .why-inner > h2 {
        margin-bottom: 40px;
    }

    .why-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }
}

.lifestyle-content h2 {
    font-size: clamp(30px, 4vw, 44px);
    margin-bottom: 18px;
}

.lifestyle-content p {
    color: var(--muted);
    font-size: 17px;
    line-height: 1.7;
}

.about-band {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    padding: 54px 0 70px;
    border-top: 1px solid var(--line);
}

/* ── Property Detail Page ── */
.detail-page {
    padding: 0 0 80px;
    background: #f5f7fa;
}

/* Image Slider — full-width hero */
.image-slider {
    position: relative;
    width: 100%;
    height: clamp(320px, 45vw, 560px);
    overflow: hidden;
    background: linear-gradient(135deg, #0f1a2e, #1a2744);
}

.slider-track {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.slider-slide {
    flex: 0 0 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0f1a2e;
}

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

.slider-arrow {
    position: absolute;
    top: 50%;
    z-index: 5;
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.92);
    color: #1c1c1e;
    font-size: 30px;
    border: 0;
    border-radius: 50%;
    cursor: pointer;
    transform: translateY(-50%);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.18);
    transition: all 0.2s ease;
    backdrop-filter: blur(4px);
    opacity: 0;
}

.image-slider:hover .slider-arrow {
    opacity: 1;
}

.slider-arrow:hover {
    background: #fff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.28);
    transform: translateY(-50%) scale(1.05);
}

.slider-prev { left: 20px; }
.slider-next { right: 20px; }

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    z-index: 5;
    display: flex;
    gap: 8px;
    transform: translateX(-50%);
}

.slider-dot {
    width: 8px;
    height: 8px;
    padding: 0;
    background: rgba(255, 255, 255, 0.45);
    border: 0;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.25s ease;
}

.slider-dot.is-active {
    width: 24px;
    background: #fff;
    border-radius: 4px;
}

.slider-counter {
    position: absolute;
    bottom: 18px;
    right: 18px;
    z-index: 5;
    padding: 4px 12px;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    backdrop-filter: blur(4px);
}

/* Content Card Layout */
.detail-layout {
    max-width: 960px;
    margin: -40px auto 0;
    position: relative;
    z-index: 2;
    padding: 0 20px;
}

.detail-content {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.06);
    padding: 36px 40px 48px;
}

.detail-content h2 {
    font-size: 22px;
    font-weight: 700;
    color: #1c1c1e;
    margin: 36px 0 14px;
    padding-bottom: 8px;
    border-bottom: 2px solid #f0f0f5;
}

.detail-content h2:first-of-type {
    margin-top: 0;
}

/* Title Row */
.title-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 8px;
}

.title-row .eyebrow {
    color: #0f7b6c;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.title-row h1 {
    font-size: 28px;
    font-weight: 800;
    color: #1c1c1e;
    line-height: 1.25;
    margin: 0 0 6px;
}

.address-line {
    font-size: 14px;
    color: #8e8e93;
    display: flex;
    align-items: center;
    gap: 5px;
}

.address-line::before {
    content: '';
    display: inline-block;
    width: 14px;
    height: 14px;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='%238e8e93' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5z'/%3E%3C/svg%3E") no-repeat center;
    background-size: contain;
    flex-shrink: 0;
}

/* Action Buttons */
.detail-actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 44px;
    min-height: 44px;
    padding: 0 16px;
    color: #1c1c1e;
    background: #f5f7fa;
    border: 1px solid #e5e5ea;
    border-radius: 10px;
    font-weight: 650;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.action-btn:hover {
    background: #fff;
    border-color: #d1d1d6;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.action-btn:active {
    transform: scale(0.96);
}

.action-icon {
    font-size: 18px;
    line-height: 1;
}

.like-btn.is-liked {
    color: #fff;
    background: #ff3b30;
    border-color: #ff3b30;
}

.like-btn.is-liked:hover {
    background: #e0352b;
    border-color: #e0352b;
}

/* Price Strip */
.price-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin: 20px 0 28px;
}

.price-strip span {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 18px 16px;
    background: linear-gradient(135deg, #f6faf9 0%, #f0f9f6 100%);
    border: 1px solid #d7eeea;
    border-radius: 12px;
    color: #5a6b7a;
    font-size: 13px;
    font-weight: 500;
}

.price-strip strong {
    color: #1c1c1e;
    font-size: 22px;
    font-weight: 800;
}

.price-strip span:first-child {
    background: linear-gradient(135deg, #0f1a7b 0%, #150a5f 100%);
    border-color: #160f7b;
    color: rgba(255,255,255,0.85);
}

.price-strip span:first-child strong {
    color: #fff;
}

/* Facts / Specs */
.detail-facts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 10px;
    margin: 0 0 0;
}

.detail-facts span {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 14px;
    background: #f5f7fa;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 650;
    color: #1c1c1e;
}

.detail-facts span::before {
    content: '';
    display: inline-block;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    opacity: 0.7;
}

.detail-facts span:nth-child(1)::before { background: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='%230f7b6c' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 9l9-7 9 7v11a2 2 0 01-2 2H5a2 2 0 01-2-2z'/%3E%3Cpolyline points='9 22 9 12 15 12 15 22'/%3E%3C/svg%3E") no-repeat center; background-size: contain; }
.detail-facts span:nth-child(2)::before { background: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='%230f7b6c' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 12v3c0 .6.4 1 1 1h14c.6 0 1-.4 1-1v-3M2 12h20M7 12V7h10v5'/%3E%3C/svg%3E") no-repeat center; background-size: contain; }
.detail-facts span:nth-child(3)::before { background: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='%230f7b6c' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='3' y='3' width='18' height='18' rx='2'/%3E%3Cpath d='M3 9h18'/%3E%3C/svg%3E") no-repeat center; background-size: contain; }
.detail-facts span:nth-child(4)::before { background: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='%230f7b6c' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 2H4c-1.1 0-2 .9-2 2v18l4-4h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2z'/%3E%3C/svg%3E") no-repeat center; background-size: contain; }
.detail-facts span:nth-child(5)::before { background: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='%230f7b6c' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z'/%3E%3C/svg%3E") no-repeat center; background-size: contain; }

/* Tags */
.detail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}
.detail-tag {
    background: #e8f5e9;
    color: #1f0f7b;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

/* Highlights */
.highlights-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.highlights-list span {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 6px 14px;
    font-size: 14px;
    color: #374151;
}

/* Nearby grid */
.nearby-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
}
.nearby-item {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 12px 16px;
}
.nearby-item strong {
    display: block;
    font-size: 13px;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}
.nearby-item p {
    margin: 0;
    font-size: 14px;
    color: #374151;
    line-height: 1.5;
}

/* Description */
.detail-content p {
    color: #3a3a3c;
    line-height: 1.7;
    font-size: 15px;
}

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

.amenities span {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: #f5f7fa;
    border: 1px solid #e5e5ea;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    color: #3a3a3c;
    transition: all 0.2s ease;
}

.amenities span:hover {
    border-color: #250f7b;
    background: #f0f9f6;
}

.amenities span::before {
    content: '✓';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: #0f167b;
    color: #fff;
    border-radius: 50%;
    font-size: 11px;
    font-weight: 700;
    flex-shrink: 0;
}

.video-frame,
.map-frame {
    width: 100%;
    height: 360px;
    border: 0;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.map-hidden .detail-content {
    padding-bottom: 40px;
}

/* Floating Book Button */
.book-float-btn {
    position: fixed;
    right: 28px;
    bottom: 28px;
    z-index: 30;
    min-width: 180px;
    min-height: 54px;
    font-size: 16px;
    font-weight: 700;
    box-shadow: 0 8px 28px rgba(15, 15, 123, 0.4);
    border-radius: 12px;
    transition: all 0.25s ease;
}

.book-float-btn:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 12px 36px rgba(15, 28, 123, 0.5);
}

.book-float-btn:active {
    transform: scale(0.97);
}

.booking-form label,
.admin-form label {
    display: grid;
    gap: 8px;
    margin-bottom: 14px;
    color: var(--muted);
    font-weight: 750;
}

.booking-step {
    display: none;
    transform: translateX(16px);
    opacity: 0;
    transition: 0.2s ease;
}

.booking-step.is-active {
    display: block;
    transform: translateX(0);
    opacity: 1;
}

.booking-form button {
    width: 100%;
    min-height: 48px;
}

.book-float-btn {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 30;
    min-width: 180px;
    min-height: 52px;
    font-size: 17px;
    box-shadow: 0 6px 28px rgba(28, 15, 123, 0.42);
}

.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 100;
    background: rgba(0, 0, 0, 0.48);
    place-items: center;
    padding: 20px;
    overflow-y: auto;
}

.modal-overlay.is-open {
    display: grid;
}

.modal-dialog {
    width: min(500px, 100%);
    margin: auto;
    padding: 32px;
    background: var(--paper);
    border-radius: 12px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
    position: relative;
}

.modal-dialog h2 {
    font-size: 28px;
    margin-bottom: 6px;
}

.modal-dialog > p {
    color: var(--muted);
    margin: 0 0 20px;
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    background: var(--soft);
    color: var(--muted);
    font-size: 18px;
    border-radius: 50%;
}

.modal-close:hover {
    background: var(--line);
}

body.modal-open {
    overflow: hidden;
}

.site-footer {
    padding: 30px clamp(18px, 4vw, 56px);
    background: #111c26;
    color: #fff;
}

.site-footer p,
.site-footer span {
    display: block;
    color: rgba(255, 255, 255, 0.72);
}

.empty-state {
    min-height: 60vh;
    padding: 80px clamp(18px, 6vw, 80px);
}

@media (max-width: 1023px) {
    .top-nav {
        gap: 10px;
        font-size: 14px;
    }

    .search-row,
    .property-grid,
    .about-band,
    .detail-layout,
    .detail-hero {
        grid-template-columns: 1fr;
    }

    .image-slider {
        height: clamp(280px, 55vw, 400px);
    }

    .slider-arrow {
        width: 40px;
        height: 40px;
        font-size: 24px;
        opacity: 1;
    }

    .slider-prev { left: 12px; }
    .slider-next { right: 12px; }

    .property-grid {
        gap: 16px;
    }

    .detail-layout {
        margin-top: -20px;
        padding: 0 16px;
    }

    .detail-content {
        padding: 24px 20px 32px;
        border-radius: 12px;
    }

    .title-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .title-row h1 {
        font-size: 22px;
    }

    .detail-actions {
        width: 100%;
    }

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

    .price-strip {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .price-strip span {
        padding: 14px;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .price-strip strong {
        font-size: 18px;
    }

    .detail-facts {
        grid-template-columns: repeat(2, 1fr);
    }

    .detail-facts span {
        font-size: 13px;
        padding: 10px 12px;
    }

    .amenities {
        grid-template-columns: repeat(2, 1fr);
    }

    .amenities span {
        font-size: 13px;
        padding: 8px 12px;
    }

    .detail-content h2 {
        font-size: 19px;
        margin-top: 28px;
    }

    .video-frame,
    .map-frame {
        height: 240px;
    }

    .book-float-btn {
        right: 16px;
        bottom: 16px;
        min-width: 160px;
        font-size: 15px;
        min-height: 48px;
        border-radius: 10px;
    }
}

.owner-section {
    background: #f8f9fa;
    padding: 80px clamp(18px, 4vw, 56px);
}

.owner-inner {
    width: min(1180px, 100%);
    margin: 0 auto;
}

.owner-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 64px;
}

.owner-hero-text .eyebrow {
    font-size: 18px;
    font-weight: 500;
    color: #1b1b1b;
    text-transform: none;
    letter-spacing: 0;
}

.owner-hero-text h2 {
    font-size: clamp(32px, 4vw, 44px);
    font-weight: 700;
    color: #1f1f1f;
    margin: 4px 0 18px;
}

.owner-desc {
    font-size: 18px;
    color: #7a7a9a;
    line-height: 1.6;
    max-width: 550px;
    margin: 0 0 32px;
}

.owner-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 320px;
    height: 60px;
    background: #5663c1;
    color: #fff;
    font-size: 20px;
    font-weight: 600;
    border-radius: 999px;
    text-decoration: none;
    transition: 0.25s ease;
}

.owner-cta:hover {
    background: #4551a8;
    box-shadow: 0 8px 28px rgba(86, 99, 193, 0.35);
    transform: scale(1.03);
}

.owner-hero-image {
    border-radius: 16px;
    overflow: hidden;
}

.owner-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.owner-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.owner-card {
    text-align: left;
}

.owner-card-icon {
    width: 70px;
    height: 70px;
    display: grid;
    place-items: center;
    background: #dff4ee;
    border-radius: 12px;
    margin-bottom: 22px;
    transition: transform 0.25s ease;
}

.owner-card:hover .owner-card-icon {
    transform: scale(1.06);
}

.owner-card h3 {
    margin: 0 0 10px;
    font-size: 20px;
    font-weight: 700;
    color: #1f1f1f;
}

.owner-card p {
    margin: 0;
    font-size: 16px;
    font-weight: 400;
    color: #7d8aa5;
    line-height: 1.7;
}

@media (max-width: 1023px) {
    .owner-hero {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .owner-hero-image {
        order: -1;
    }

    .owner-cta {
        width: 100%;
    }

    .owner-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .owner-section {
        padding: 60px 18px;
    }

    .owner-cards {
        grid-template-columns: 1fr;
    }

    .site-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .top-nav {
        width: 100%;
        overflow-x: auto;
    }

    .hero {
        min-height: 660px;
        padding-top: 44px;
    }
}
.testimonials-section {
    background: #fff;
    padding: 100px clamp(18px, 4vw, 56px);
    border-bottom: 1px solid #f0f0f0;
}

.testimonials-container {
    width: min(1300px, 100%);
    margin: 0 auto;
}

.review-alert {
    text-align: center;
    padding: 14px 20px;
    border-radius: 8px;
    margin-bottom: 32px;
    font-weight: 650;
}

.review-alert-success {
    background: #e6f9ee;
    color: #1e1679;
    border: 1px solid #b8ebcc;
}

.review-alert-error {
    background: #fde8e8;
    color: #b91c1c;
    border: 1px solid #f5baba;
}

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

.testimonials-header h2 {
    font-size: 48px;
    font-weight: 500;
    color: #1E1E1E;
    margin: 0;
    letter-spacing: -0.02em;
}

.testimonials-nav {
    display: flex;
    gap: 20px;
}

.testimonial-arrow {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    background: none;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    color: #333;
    font-size: 20px;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    transition: all 0.25s ease;
}

.testimonial-arrow:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.testimonials-body {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 70px;
    align-items: start;
}

.testimonial-profiles {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.testimonial-profile {
    display: flex;
    align-items: center;
    gap: 16px;
    cursor: pointer;
    padding: 16px 20px;
    border-radius: 14px;
    transition: all 0.3s ease;
}

.testimonial-profile.is-active {
    background: #F8F8F8;
    padding: 20px;
}

.testimonial-profile:not(.is-active):hover {
    background: #fafafa;
}

.testimonial-avatar {
    width: 64px;
    height: 64px;
    flex-shrink: 0;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.testimonial-profile.is-active .testimonial-avatar {
    border-color: var(--accent);
}

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

.testimonial-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.testimonial-name {
    font-size: 18px;
    font-weight: 600;
    color: #222;
}

.testimonial-location {
    font-size: 14px;
    color: #888;
}

.testimonial-quotes {
    position: relative;
    min-height: 260px;
}

.testimonial-quote {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.testimonial-quote.is-active {
    position: relative;
    opacity: 1;
    visibility: visible;
}

.testimonial-quote p {
    font-size: 24px;
    font-style: italic;
    font-weight: 400;
    color: #666;
    line-height: 1.75;
    max-width: 720px;
    margin: 0 0 28px;
}

.testimonial-stars {
    display: flex;
    gap: 4px;
}

.testimonial-stars .star {
    font-size: 18px;
    color: #e0e0e0;
}

.testimonial-stars .star.is-filled {
    color: #f59e0b;
}

.community-section {
    background: #fff;
    padding: 0 clamp(18px, 4vw, 56px) 100px;
}

.community-container {
    width: min(1300px, 100%);
    margin: 0 auto;
}

.community-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.community-left h2 {
    font-size: 52px;
    font-weight: 500;
    color: #1E1E1E;
    line-height: 1.15;
    margin: 0;
    letter-spacing: -0.02em;
    max-width: 450px;
}

.community-left p {
    font-size: 18px;
    color: #7D8AA5;
    line-height: 1.7;
    max-width: 520px;
    margin: 30px 0 0;
}

.community-right {
    display: flex;
    justify-content: center;
}

.community-card {
    position: relative;
    width: 400px;
    border-radius: 24px;
    overflow: visible;
}

.community-card-bg {
    position: absolute;
    width: 340px;
    height: 340px;
    background: linear-gradient(135deg, #E8E4FF 0%, #DDEFFF 50%, #FFF0E0 100%);
    border-radius: 42% 58% 64% 36% / 48% 40% 60% 52%;
    top: -30px;
    left: 30px;
    z-index: 0;
    animation: morphShape 8s ease-in-out infinite;
}

@keyframes morphShape {
    0%, 100% { border-radius: 42% 58% 64% 36% / 48% 40% 60% 52%; transform: rotate(0deg); }
    33% { border-radius: 55% 45% 38% 62% / 52% 58% 42% 48%; transform: rotate(2deg); }
    66% { border-radius: 38% 62% 55% 45% / 44% 50% 50% 56%; transform: rotate(-1deg); }
}

.community-card img {
    position: relative;
    z-index: 1;
    width: 100%;
    border-radius: 20px;
    display: block;
    box-shadow: 0 20px 60px rgba(0,0,0,0.08);
}

.community-badge {
    position: absolute;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    padding: 12px 20px;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    font-size: 13px;
    font-weight: 600;
    color: #333;
    white-space: nowrap;
}

.community-badge-1 {
    top: -10px;
    right: -10px;
    color: #7c6df0;
}

.community-badge-2 {
    bottom: 30px;
    left: -20px;
    color: #e07c3e;
}

.floating-cta {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 50;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 0 32px;
    height: 55px;
    background: linear-gradient(135deg, #3312c5, #0b00a8);
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    border-radius: 999px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    white-space: nowrap;
}

.floating-cta:hover {
    transform: scale(1.04);
    box-shadow: 0 16px 40px rgba(8, 0, 168, 0.35);
    color: #fff;
}

/* ===== Premium Property Carousel ===== */
.featured-section {
    width: min(1180px, calc(100% - 36px));
    margin: 0 auto;
    padding: 50px 0;
}

.featured-carousel-wrapper {
    overflow: hidden;
    position: relative;
    width: 100%;
}

.featured-carousel-wrapper .featured-swiper {
    overflow: visible !important;
}

/* ---- View All Properties end card ---- */
.view-all-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: 100%;
    min-height: 200px;
    padding: 40px 24px;
    background: linear-gradient(135deg, #1c0f7b 0%, #16095d 100%);
    border-radius: 12px;
    color: #fff;
    text-decoration: none;
    transition: transform 0.3s, box-shadow 0.3s;
    gap: 6px;
}

.view-all-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(15,123,108,0.3);
}

.view-all-icon {
    font-size: 42px;
    margin-bottom: 6px;
}

.view-all-title {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.3px;
}

.view-all-sub {
    font-size: 13px;
    opacity: 0.85;
}

.view-all-count {
    font-size: 14px;
    font-weight: 700;
    background: rgba(255,255,255,0.18);
    padding: 5px 16px;
    border-radius: 999px;
    margin-top: 4px;
}

.view-all-cta {
    font-size: 14px;
    font-weight: 700;
    margin-top: 6px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    border-bottom: 2px solid rgba(255,255,255,0.5);
    padding-bottom: 2px;
}

@media (max-width: 767px) {
    .view-all-card {
        min-height: 160px;
        padding: 28px 16px;
    }
    .view-all-icon { font-size: 32px; }
    .view-all-title { font-size: 17px; }
}

.featured-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 22px;
}

.featured-heading .eyebrow {
    color: var(--accent);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 3px;
}

.featured-heading h2 {
    font-size: 28px;
    margin: 0;
    color: var(--ink);
}

.featured-nav {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.featured-btn {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 50%;
    cursor: pointer;
    color: var(--ink);
    transition: all 0.2s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.featured-btn:hover:not(:disabled) {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
    box-shadow: 0 4px 14px rgba(15,123,108,0.3);
}

.featured-btn:disabled,
.featured-btn.is-disabled {
    opacity: 0.35;
    cursor: default;
}

.featured-btn:disabled:hover,
.featured-btn.is-disabled:hover {
    background: #fff;
    color: var(--ink);
    border-color: var(--line);
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.featured-swiper {
    overflow: visible !important;
    padding: 6px 4px 10px;
}

.featured-swiper .swiper-slide {
    height: auto;
}

/* ---- Property Card ---- */
.prop-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 3px 14px rgba(24,35,48,0.05);
    transition: transform 0.35s cubic-bezier(0.25,0.46,0.45,0.94), box-shadow 0.4s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.prop-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 36px rgba(24,35,48,0.1);
}

/* ---- Card Media (Image Slider) ---- */
/* Badges on property cards */
.prop-badge {
    position: absolute;
    font-size: 9px;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    z-index: 3;
    line-height: 1.4;
    right: 8px;
}
.prop-badge-code { background: rgba(0,0,0,0.7); color: #fff; top: 8px; }
.prop-badge-featured { background: #f59e0b; color: #fff; top: 32px; }
.prop-badge-premium { background: #7c3aed; color: #fff; top: 56px; }
.prop-card-type {
    display: inline-block;
    background: #e8f5e9;
    color: #160f7b;
    font-size: 10px;
    font-weight: 700;
    padding: 1px 8px;
    border-radius: 4px;
    margin-left: 6px;
}

.prop-card-media {
    position: relative;
    aspect-ratio: 1.35;
    overflow: hidden;
    background: #111c26;
}

.prop-card-swiper {
    width: 100%;
    height: 100%;
}

.prop-card-swiper .swiper-slide {
    overflow: hidden;
}

.prop-card-swiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.prop-card:hover .prop-card-swiper .swiper-slide img {
    transform: scale(1.05);
}

/* Image slider arrows - hidden by default, show on hover */
.prop-card-arrow {
    position: absolute;
    top: 50%;
    z-index: 10;
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    background: rgba(255,255,255,0.9);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transform: translateY(-50%);
    opacity: 0;
    transition: opacity 0.25s, background 0.2s;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    color: #17212b;
}

.prop-card-media:hover .prop-card-arrow {
    opacity: 1;
}

.prop-card-arrow:hover {
    background: #fff;
    box-shadow: 0 3px 10px rgba(0,0,0,0.22);
}

.prop-card-prev {
    left: 8px;
}

.prop-card-next {
    right: 8px;
}

/* Image pagination dots */
.prop-card-swiper-pagination {
    position: absolute;
    bottom: 10px;
    left: 50%;
    z-index: 8;
    transform: translateX(-50%);
    display: flex;
    gap: 5px;
}

.prop-card-swiper-pagination .swiper-pagination-bullet {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    opacity: 1;
    margin: 0 !important;
    transition: all 0.25s;
}

.prop-card-swiper-pagination .swiper-pagination-bullet-active {
    width: 18px;
    border-radius: 3px;
    background: #fff;
}

/* Image counter */
.prop-card-counter {
    position: absolute;
    bottom: 8px;
    right: 10px;
    z-index: 8;
    padding: 3px 9px;
    background: rgba(0,0,0,0.55);
    color: #fff;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.3px;
    backdrop-filter: blur(4px);
}

/* Rent badge */
.prop-rent-badge {
    position: absolute;
    left: 10px;
    bottom: 10px;
    z-index: 8;
    padding: 5px 10px;
    background: rgba(0,0,0,0.7);
    color: #fff;
    border-radius: 6px;
    font-weight: 800;
    font-size: 13px;
    backdrop-filter: blur(4px);
}

/* Verified badge */
.prop-verified-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 8;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 3px 8px;
    background: rgba(17, 15, 123, 0.9);
    color: #fff;
    border-radius: 5px;
    font-size: 9px;
    font-weight: 700;
    backdrop-filter: blur(4px);
    letter-spacing: 0.3px;
}

/* Top-right actions (favorite + share) */
.prop-card-top-actions {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 8;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.prop-fav-btn,
.prop-share-btn {
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    background: rgba(255,255,255,0.92);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    color: #17212b;
    transition: all 0.2s;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    backdrop-filter: blur(4px);
}

.prop-fav-btn:hover {
    background: #fee2e2;
    color: #dc2626;
    transform: scale(1.08);
}

.prop-fav-btn.is-liked {
    background: #dc2626;
    color: #fff;
}

.prop-fav-btn.is-liked .prop-fav-heart {
    fill: currentColor;
}

.prop-fav-btn.is-liked:hover {
    transform: scale(1.08);
    background: #b91c1c;
}

.prop-share-btn:hover {
    background: var(--accent);
    color: #fff;
    transform: scale(1.08);
}

/* ---- Card Body ---- */
.prop-card-body {
    padding: 16px 16px 18px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.prop-card-title {
    display: block;
    font-size: 17px;
    font-weight: 800;
    color: var(--ink);
    text-decoration: none;
    margin-bottom: 4px;
    line-height: 1.3;
    transition: color 0.2s;
}

.prop-card-title:hover {
    color: var(--accent);
}

.prop-card-location {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: var(--muted);
    margin: 0 0 10px;
}

.prop-card-location svg {
    flex-shrink: 0;
    opacity: 0.6;
}

/* Specs row */
.prop-card-specs {
    display: flex;
    gap: 8px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.prop-spec {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    background: #f4f7fa;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 650;
    color: #334155;
}

.prop-spec svg {
    opacity: 0.6;
    flex-shrink: 0;
}

/* Card footer (price + CTA) */
.prop-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px solid var(--line);
}

.prop-card-price {
    font-size: 22px;
    font-weight: 800;
    color: var(--ink);
    line-height: 1;
}

.prop-card-price span {
    font-size: 12px;
    font-weight: 500;
    color: var(--muted);
}

.prop-visit-btn {
    display: inline-flex;
    align-items: center;
    padding: 7px 14px;
    background: var(--accent);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.25s;
}

.prop-visit-btn:hover {
    background: var(--accent-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(15,123,108,0.35);
}

/* ===== Share Modal ===== */
.share-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    visibility: hidden;
    transition: visibility 0.25s;
}

.share-modal.is-open {
    visibility: visible;
}

.share-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45);
    backdrop-filter: blur(4px);
}

.share-modal-content {
    position: relative;
    width: min(420px, calc(100% - 24px));
    background: #fff;
    border-radius: 20px 20px 0 0;
    padding: 24px 24px 28px;
    transform: translateY(100%);
    transition: transform 0.35s cubic-bezier(0.32,0.72,0,1);
    box-shadow: 0 -8px 30px rgba(0,0,0,0.12);
}

.share-modal.is-open .share-modal-content {
    transform: translateY(0);
}

.share-modal-content h3 {
    margin: 0 0 18px;
    font-size: 18px;
    font-weight: 800;
    color: var(--ink);
}

.share-modal-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 18px;
}

.share-modal-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    background: #f4f7fa;
    border: 1px solid var(--line);
    border-radius: 10px;
    text-decoration: none;
    color: var(--ink);
    font-size: 14px;
    font-weight: 650;
    cursor: pointer;
    transition: all 0.2s;
}

.share-modal-btn:hover {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}

.share-icon {
    font-size: 20px;
    line-height: 1;
    flex-shrink: 0;
}

.share-modal-close {
    width: 100%;
    padding: 12px;
    background: #eef3f6;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    color: var(--muted);
    cursor: pointer;
    transition: background 0.2s;
}

.share-modal-close:hover {
    background: #dfe5eb;
}

/* ---- Responsive ---- */
@media (max-width: 1023px) {
    .featured-heading h2 {
        font-size: 26px;
    }

    .prop-card-specs {
        gap: 6px;
    }

    .prop-spec {
        font-size: 12px;
        padding: 4px 8px;
    }

    .prop-card-footer {
        flex-direction: column;
        gap: 10px;
        align-items: stretch;
    }

    .prop-visit-btn {
        justify-content: center;
    }
}

/* Override Swiper overflow for nested sliders */
.prop-card-media .swiper,
.prop-card-swiper {
    overflow: hidden !important;
}

.prop-card-swiper .swiper-wrapper {
    overflow: visible;
}

.floating-cta svg {
    flex-shrink: 0;
}

@media (max-width: 1023px) {
    .testimonials-body {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .testimonial-profiles {
        display: flex;
        flex-direction: row;
        overflow-x: auto;
        gap: 12px;
        padding-bottom: 4px;
    }

    .testimonial-profile {
        flex: 0 0 auto;
        flex-direction: column;
        text-align: center;
        min-width: 140px;
        padding: 14px;
    }

    .testimonial-profile.is-active {
        padding: 14px;
    }

    .testimonial-quotes {
        min-height: 200px;
    }

    .community-body {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }

    .community-left h2 {
        max-width: 100%;
        font-size: 42px;
    }

    .community-left p {
        max-width: 100%;
    }

    .community-card {
        width: 340px;
    }

    .community-card-bg {
        width: 280px;
        height: 280px;
        left: 30px;
    }

    .community-badge-2 {
        left: -10px;
    }
}

/* =============================================
   PROPERTIES LISTING PAGE
   Horizontal cards with image slider & details
   ============================================= */
.listing-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 24px 60px;
}

.listing-header {
  text-align: center;
  margin-bottom: 40px;
}

.listing-header h1 {
  font-size: 32px;
  margin: 0 0 6px;
  color: var(--ink);
}

.listing-count {
  color: var(--muted);
  margin: 0 0 24px;
  font-size: 15px;
}

.listing-search {
  display: flex;
  max-width: 520px;
  margin: 0 auto;
  gap: 8px;
}

.listing-search input {
  flex: 1;
  padding: 12px 16px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  font-size: 14px;
  outline: none;
  background: var(--paper);
  transition: border-color .2s;
}

.listing-search input:focus {
  border-color: var(--accent);
}

.listing-search button {
  padding: 12px 28px;
  border: none;
  border-radius: 10px;
  background: var(--accent);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.listing-search button:hover {
  background: var(--accent-dark);
}

.listing-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 80px 24px;
}

.listing-empty-icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.listing-empty h3 {
  font-size: 22px;
  margin: 0 0 8px;
  color: var(--ink);
}

.listing-empty p {
  color: var(--muted);
  margin: 0 0 24px;
  font-size: 15px;
}

.listing-empty-btn {
  display: inline-block;
  padding: 12px 32px;
  border-radius: 10px;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  font-size: 14px;
}

.listing-empty-btn:hover {
  background: var(--accent-dark);
}

.listing-grid {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.listing-card {
  display: flex;
  background: var(--paper);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,.08), 0 4px 16px rgba(0,0,0,.04);
  transition: box-shadow .25s, transform .25s;
}

.listing-card:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,.1), 0 8px 32px rgba(0,0,0,.06);
  transform: translateY(-2px);
}

.listing-card-media {
  position: relative;
  width: 380px;
  min-height: 320px;
  flex-shrink: 0;
  overflow: hidden;
}

.listing-card-swiper {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.listing-card-swiper .swiper-slide {
  height: 100%;
}

.listing-card-swiper .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.listing-card-counter {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(0,0,0,.65);
  color: #fff;
  font-size: 12px;
  padding: 3px 10px;
  border-radius: 20px;
  font-weight: 600;
  z-index: 2;
  backdrop-filter: blur(4px);
}

.listing-card-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,.9);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  opacity: 0;
  transition: opacity .25s;
  box-shadow: 0 2px 6px rgba(0,0,0,.15);
}

.listing-card-media:hover .listing-card-arrow {
  opacity: 1;
}

.listing-card-prev {
  left: 8px;
}

.listing-card-next {
  right: 8px;
}

.listing-card-arrow:active {
  transform: translateY(-50%) scale(.92);
}

.listing-card-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  z-index: 2;
  letter-spacing: .3px;
  text-transform: uppercase;
}

.listing-card-top-actions {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
}

.prop-fav-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,.9);
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: color .2s, background .2s, transform .2s;
  box-shadow: 0 2px 6px rgba(0,0,0,.12);
}

.prop-fav-btn:active {
  transform: scale(.9);
}

.prop-fav-btn.is-liked {
  color: var(--danger);
  background: rgba(217,77,69,.1);
}

.listing-card-body {
  flex: 1;
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}

.listing-card-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
}

.listing-card-title:hover {
  color: var(--accent);
}

.listing-card-location {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 4px;
}

.listing-card-location svg {
  flex-shrink: 0;
}

.listing-card-price {
  font-size: 26px;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}

.listing-card-price span {
  font-size: 14px;
  font-weight: 400;
  color: var(--muted);
  margin-left: 4px;
}

.listing-card-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.listing-spec {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  color: var(--ink);
  background: var(--soft);
  padding: 6px 12px;
  border-radius: 8px;
  font-weight: 500;
}

.listing-spec svg {
  flex-shrink: 0;
  color: var(--muted);
}

.listing-card-amenities {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.listing-amenity {
  font-size: 12px;
  color: var(--ink);
  background: #e9f5f2;
  padding: 4px 11px;
  border-radius: 6px;
  font-weight: 500;
}

.listing-amenity.more {
  background: var(--soft);
  color: var(--muted);
}

.listing-card-desc {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}

.listing-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  padding-top: 8px;
}

.listing-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background .2s, color .2s;
  text-decoration: none;
}

.listing-btn-primary {
  background: var(--accent);
  color: #fff;
}

.listing-btn-primary:hover {
  background: var(--accent-dark);
}

.listing-btn-whatsapp {
  background: #25d366;
  color: #fff;
}

.listing-btn-whatsapp:hover {
  background: #1da854;
}

.listing-btn-secondary {
  background: var(--soft);
  color: var(--ink);
}

.listing-btn-secondary:hover {
  background: var(--line);
}

/* Listing page responsive */
@media (max-width: 1023px) {
  .listing-card-media {
    width: 320px;
    min-height: 280px;
  }

  .listing-card-body {
    padding: 20px 22px;
  }

  .listing-card-title {
    font-size: 18px;
  }

  .listing-card-price {
    font-size: 22px;
  }
}

@media (max-width: 767px) {
  .listing-page {
    padding: 16px 16px calc(16px + var(--bottom-nav-height, 64px) + var(--safe-bottom, 0px));
    margin-top: 60px;
  }

  .listing-header h1 {
    font-size: 24px;
  }

  .listing-card {
    flex-direction: column;
    border-radius: 12px;
  }

  .listing-card-media {
    width: 100%;
    min-height: 240px;
    height: 240px;
    position: relative;
  }

  .listing-card-swiper {
    position: absolute;
    width: 100%;
    height: 100%;
  }

  .listing-card-body {
    padding: 16px;
    gap: 8px;
  }

  .listing-card-title {
    font-size: 16px;
  }

  .listing-card-price {
    font-size: 20px;
  }

  .listing-card-arrow {
    opacity: 1;
  }

  .listing-card-desc {
    display: none;
  }
}

/* ---- Listing Page Filter Bar ---- */
.ls-bar {
  margin-bottom: 32px;
}

.ls-search-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ls-search-row {
  display: flex;
  gap: 8px;
}

.ls-search-row input {
  flex: 1;
  padding: 12px 16px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  font-size: 14px;
  outline: none;
  background: var(--paper);
  transition: border-color .2s;
}

.ls-search-row input:focus {
  border-color: var(--accent);
}

.ls-search-row button {
  padding: 12px 28px;
  border: none;
  border-radius: 10px;
  background: var(--accent);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.ls-search-row button:hover {
  background: var(--accent-dark);
}

.ls-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.ls-filters select {
  padding: 9px 28px 9px 12px;
  border: 1.5px solid var(--line);
  border-radius: 8px;
  font-size: 13px;
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%2365758a'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  outline: none;
  transition: border-color .2s;
  min-width: 120px;
}

.ls-filters select:focus {
  border-color: var(--accent);
}

.ls-clear {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  background: #e9f5f2;
  border-radius: 8px;
  text-decoration: none;
  white-space: nowrap;
}

.ls-clear:hover {
  background: #d4ede8;
}

/* Pagination */
.ls-pagination {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 48px;
  flex-wrap: wrap;
}

.ls-page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border: 1.5px solid var(--line);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  background: var(--paper);
  text-decoration: none;
  transition: all .2s;
}

.ls-page-link:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.ls-page-link.is-current {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

@media (max-width: 767px) {
  .ls-bar {
    margin-bottom: 20px;
  }
  .ls-search-row {
    flex-direction: column;
  }
  .ls-filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
  }
  .ls-filters select {
    flex: 0 0 auto;
    min-width: 110px;
  }
  .ls-pagination {
    margin-top: 32px;
  }
}

/* =============================================
   TABLET (768px - 1023px)
   Touch-optimized layout
   ============================================= */
@media (min-width: 768px) and (max-width: 1023px) {
  .featured-swiper .swiper-slide {
    width: calc(50% - 10px) !important;
  }

  .featured-heading h2 {
    font-size: 26px;
  }

  .prop-card-specs {
    gap: 6px;
  }

  .prop-spec {
    font-size: 12px;
    padding: 4px 8px;
  }

  .prop-card-footer {
    flex-direction: column;
    gap: 10px;
    align-items: stretch;
  }

  .prop-visit-btn {
    justify-content: center;
  }

  .why-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }

  .owner-hero {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .owner-hero-image {
    order: -1;
  }

  .owner-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonials-body {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .testimonial-profiles {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    gap: 12px;
    padding-bottom: 4px;
  }

  .testimonial-profile {
    flex: 0 0 auto;
    flex-direction: column;
    text-align: center;
    min-width: 140px;
    padding: 14px;
  }

  .testimonial-profile.is-active {
    padding: 14px;
  }

  .testimonial-quotes {
    min-height: 200px;
  }

  .community-body {
    grid-template-columns: 1fr;
    gap: 60px;
    text-align: center;
  }

  .community-left h2 {
    max-width: 100%;
    font-size: 42px;
  }

  .community-left p {
    max-width: 100%;
  }

  .community-card {
    width: 340px;
  }

  .community-card-bg {
    width: 280px;
    height: 280px;
    left: 30px;
  }

  .community-badge-2 {
    left: -10px;
  }
}

/* =============================================
   DESKTOP (1024px and above) — hide mobile elements
   ============================================= */
@media (min-width: 1024px) {
  .mobile-header,
  .mobile-search-bar,
  .mobile-bottom-nav,
  .mobile-property-feed,
  .mobile-data-cards,
  .mobile-install-banner,
  .mobile-toast,
  .mobile-filter-overlay,
  .mobile-filter-sheet {
    display: none !important;
  }
}

/* =============================================
   TABLET + DESKTOP (768px and above) — hide mobile elements
   ============================================= */
@media (min-width: 768px) {
  .mobile-header,
  .mobile-search-bar,
  .mobile-bottom-nav,
  .mobile-property-feed,
  .mobile-data-cards,
  .mobile-install-banner,
  .mobile-filter-overlay,
  .mobile-filter-sheet,
  .mobile-toast {
    display: none !important;
  }

  body {
    padding-top: 0;
    padding-bottom: 0;
  }

  .ptr-wrapper {
    overflow: visible;
  }

  .ptr-indicator {
    display: none;
  }
}

/* =============================================
   MOBILE (below 768px) — override desktop detail/page styles
   ============================================= */
@media (max-width: 767px) {
  .top-nav { display: none !important; }
  .site-header { display: none !important; }

  .featured-swiper .swiper-slide {
    width: 100% !important;
  }

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

  .detail-layout {
    margin-top: -20px;
    padding: 0 16px;
  }

  .detail-content {
    padding: 24px 20px 32px;
    border-radius: 12px;
  }

  .title-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .title-row h1 {
    font-size: 22px;
  }

  .detail-actions {
    width: 100%;
  }

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

  .why-section {
    padding: 60px 18px;
  }

  .why-inner > h2 {
    margin-bottom: 40px;
  }

  .why-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .owner-section {
    padding: 60px 18px;
  }

  .owner-cards {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 660px;
    padding-top: 44px;
  }

  .testimonials-section {
    padding: 60px 18px;
  }

  .testimonials-header h2 {
    font-size: 32px;
  }

  .testimonial-avatar {
    width: 56px;
    height: 56px;
  }

  .testimonial-name {
    font-size: 16px;
  }

  .testimonial-quote p {
    font-size: 19px;
  }

  .testimonials-nav {
    gap: 12px;
  }

  .community-section {
    padding: 0 18px 60px;
  }

  .community-left h2 {
    font-size: 32px;
  }

  .community-left p {
    font-size: 16px;
  }

  .community-card {
    width: 280px;
  }

  .community-card-bg {
    width: 230px;
    height: 230px;
    left: 25px;
    top: -20px;
  }

  .community-badge {
    padding: 8px 14px;
    font-size: 12px;
  }

  .community-badge-1 {
    top: -6px;
    right: -6px;
  }

  .community-badge-2 {
    bottom: 20px;
    left: -6px;
  }

  .floating-cta {
    bottom: 20px;
    right: 20px;
    padding: 0 24px;
    height: 48px;
    font-size: 15px;
    gap: 10px;
  }

  .share-modal-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== CONTACT PAGE ===== */
.contact-hero {
  position: relative;
  padding: 100px 24px 80px;
  text-align: center;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  color: #fff;
  overflow: hidden;
}

.contact-hero-overlay {
  position: absolute;
  inset: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="80" r="40" fill="rgba(255,255,255,0.03)"/><circle cx="80" cy="30" r="60" fill="rgba(255,255,255,0.03)"/></svg>') center;
  background-size: cover;
}

.contact-hero-content {
  position: relative;
  z-index: 1;
  max-width: 600px;
  margin: 0 auto;
}

.contact-hero-content h1 {
  font-size: 42px;
  margin: 0 0 12px;
}

.contact-hero-content p {
  opacity: 0.8;
  font-size: 17px;
  line-height: 1.6;
}

.contact-body {
  max-width: 1100px;
  margin: 0 auto;
  padding: 64px 24px;
}

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

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .contact-hero {
    padding: 80px 20px 60px;
  }
  .contact-hero-content h1 {
    font-size: 30px;
  }
}

.contact-info h2,
.contact-form-wrapper h2 {
  font-size: 24px;
  margin: 0 0 8px;
}

.contact-form-wrapper > p {
  color: var(--muted);
  margin: 0 0 24px;
}

.contact-details-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 32px;
}

.contact-detail-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.contact-detail-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  background: var(--soft);
  border-radius: 10px;
  color: var(--primary);
}

.contact-detail-item strong {
  display: block;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 2px;
}

.contact-detail-item a,
.contact-detail-item span {
  font-size: 15px;
  text-decoration: none;
  color: inherit;
}

.contact-detail-item a:hover {
  color: var(--primary);
}

.contact-map {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.contact-map iframe {
  width: 100%;
  height: 220px;
  border: 0;
  display: block;
}

.contact-alert {
  padding: 14px 18px;
  border-radius: 8px;
  font-size: 14px;
  margin-bottom: 20px;
}

.contact-alert-success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.contact-alert-error {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

@media (max-width: 500px) {
  .contact-form .form-row {
    grid-template-columns: 1fr;
  }
}

.contact-form .form-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.contact-form .form-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}

.contact-form .form-group input,
.contact-form .form-group textarea {
  padding: 11px 14px;
  border: 1.5px solid var(--line);
  border-radius: 8px;
  font-size: 15px;
  font-family: inherit;
  transition: border-color 0.2s;
  background: var(--paper);
}

.contact-form .form-group input:focus,
.contact-form .form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
}

.contact-submit-btn {
  padding: 14px 28px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s;
  align-self: flex-start;
}

.contact-submit-btn:hover {
  opacity: 0.9;
}

/* ===== CMS PAGE (page.php) ===== */
.cms-page-banner {
  position: relative;
  padding: 100px 24px 80px;
  text-align: center;
  background-size: cover;
  background-position: center;
  color: #fff;
}

.cms-page-banner-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
}

.cms-page-banner-content {
  position: relative;
  z-index: 1;
}

.cms-page-banner-content h1 {
  font-size: 42px;
  margin: 0;
}

.cms-page-header {
  padding: 60px 24px 40px;
  text-align: center;
  background: var(--soft);
}

.cms-page-header h1 {
  margin: 0;
  font-size: 36px;
}

.cms-page-body {
  max-width: 800px;
  margin: 0 auto;
  padding: 48px 24px 80px;
  font-size: 16px;
  line-height: 1.8;
}

.cms-page-body h2 {
  margin-top: 32px;
}

.cms-page-body p {
  margin-bottom: 16px;
}
