/* Mira Group Real Estate Styles */
/* Extends the main site styles with RE-specific components */

/* Import Montserrat font */
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&display=swap");

/* Variables (inherited from main site) */
/* Filter Tabs */
.filter-tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.filter-tab {
    padding: 10px 20px;
    background: transparent;
    border: 1px solid var(--gray-medium);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-text);
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
}

.filter-tab:hover {
    background: var(--mira-gold-light);
    border-color: var(--mira-gold);
    color: var(--black);
}

.filter-tab.active {
    background: var(--mira-gold-light);
    border-color: var(--mira-gold);
    color: var(--black);
}

/* Property Listings Section */
.listings-section {
    padding: 12px 24px 28px;
    background: var(--gray-light);
}

.listings-container {
    max-width: 1200px;
    margin: 0 auto;
}

.listings-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.listings-title {
    font-size: 28px;
    font-weight: 600;
    color: var(--black);
}

.listings-title span {
    color: var(--black);
}

.listings-count {
    font-size: 14px;
    color: var(--gray-text);
}

/* Property Grid */
.property-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* Property Card (extended from main site) */
.property-card {
    position: relative;
    background: var(--white);
    border-radius: 2px 40px 2px 2px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition:
        box-shadow 0.4s ease,
        transform 0.4s ease;
    cursor: pointer;
}

.property-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1);
}

.property-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.property-card:hover .property-image img {
    transform: scale(1.05);
}

.property-image-empty {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    background: #f1f1f1;
    color: var(--text-muted);
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.property-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 3;
    padding: 6px 14px;
    background: var(--mira-gold-light);
    color: var(--black);
    font-size: 12px;
    font-weight: 600;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.property-badge.sold {
    background: #f5f5f5;
    color: var(--black);
}

.property-badge.rent {
    background: #e8f5e9;
    color: var(--black);
}

.property-badge.short-stay {
    background: #e3f2fd;
    color: var(--black);
}

.property-save {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.property-save:hover {
    background: var(--white);
    transform: scale(1.1);
}

.property-save svg {
    width: 18px;
    height: 18px;
    color: var(--gray-text);
    transition: color 0.2s ease;
}

.property-save:hover svg,
.property-save.active svg {
    color: #e74c3c;
    fill: #e74c3c;
}

.property-info {
    padding: 20px;
}

.property-price {
    font-size: 20px;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 8px;
}

.property-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.property-location {
    font-size: 14px;
    color: var(--gray-text);
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 16px;
}

.property-location svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.property-features {
    display: flex;
    gap: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--gray-medium);
}

.property-feature {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--gray-text);
}

.property-feature svg {
    width: 16px;
    height: 16px;
    color: var(--mira-gold);
}

/* Services Section */
.services-section {
    padding: 80px 24px;
    background: var(--white);
}

.services-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-title {
    font-size: 32px;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 12px;
}

.section-title span {
    color: var(--black);
}

.section-subtitle {
    font-size: 16px;
    color: var(--gray-text);
    max-width: 600px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.service-item {
    background: var(--gray-light);
    border-radius: var(--radius-card);
    padding: 32px 24px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.service-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.service-icon {
    width: 64px;
    height: 64px;
    background: var(--mira-gold-light);
    border-radius: var(--radius-card);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.service-icon svg {
    width: 28px;
    height: 28px;
    color: var(--mira-gold);
}

.service-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 8px;
}

.service-desc {
    font-size: 14px;
    color: var(--gray-text);
    line-height: 1.5;
}

/* CTA Section */
.cta-section {
    padding: 72px 24px;
    background: var(--black);
    position: relative;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.3;
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.cta-title {
    font-size: 36px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 16px;
}

.cta-title span {
    color: var(--mira-gold);
}

.cta-text {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 32px;
    line-height: 1.6;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    background: var(--mira-gold-light);
    color: var(--black);
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.cta-btn:hover {
    background: #f5edd8;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

/* Contact Section */
.contact-section {
    padding: 80px 24px;
    background: var(--gray-light);
}

.contact-container {
    max-width: 800px;
    margin: 0 auto;
}

.contact-form {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-card);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group.full {
    grid-column: 1 / -1;
}

.form-label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--black);
    margin-bottom: 8px;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--gray-medium);
    border-radius: 8px;
    font-size: 15px;
    font-family: inherit;
    transition: all 0.2s ease;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--mira-gold);
    box-shadow: 0 0 0 3px var(--mira-gold-light);
}

.form-textarea {
    min-height: 120px;
    resize: vertical;
}

.form-submit {
    width: 100%;
    padding: 16px;
    background: var(--mira-gold);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.form-submit:hover {
    background: var(--mira-gold-hover);
}

/* Responsive */
@media (max-width: 1024px) {
    .property-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .filter-tabs {
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 8px;
    }

    .filter-tab {
        white-space: nowrap;
    }

    .property-grid {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .listings-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 24px;
    }

    .cta-title {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 24px;
    }
}

.hash-anchor {
    display: block;
    height: 0;
    scroll-margin-top: 110px;
}

/* Real Estate Hero */
.re-hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0;
    padding-top: 80px;
}

.re-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 130%;
    background-size: cover;
    background-position: center;
    z-index: 1;
    will-change: transform;
}

.re-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0.2) 0%,
            rgba(0, 0, 0, 0.4) 50%,
            rgba(0, 0, 0, 0.7) 100%);
    z-index: 2;
}

.re-hero-content {
    position: relative;
    z-index: 3;
    height: 100%;
    width: 100%;
    max-width: 1200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 100px 24px 40px;
}

.re-hero-center {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 100%;
    max-width: 800px;
    min-width: 0;
}

.re-hero-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 32px;
    filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.6)) drop-shadow(0 2px 8px rgba(0, 0, 0, 0.4));
    animation: fadeInScale 0.6s ease backwards;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.re-hero-logo {
    width: 80px;
    height: auto;
}

.re-hero-brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
    text-align: left;
}

.re-hero-brand-main {
    font-size: 24px;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 0.15em;
    font-family: "Montserrat", sans-serif;
}

.re-hero-brand-sub {
    font-size: 16px;
    font-weight: 600;
    color: var(--white);
    letter-spacing: 0.2em;
    font-family: "Montserrat", sans-serif;
}

.re-hero-title {
    font-size: 48px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 16px;
    line-height: 1.2;
    animation: fadeInUp 0.8s ease 0.1s backwards;
}

.re-hero-subtitle {
    font-size: 18px;
    font-weight: 300;
    animation: fadeInUp 0.8s ease 0.2s backwards;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.re-hero-search {
    width: 100%;
    max-width: 960px;
    margin-top: auto;
    padding-bottom: 40px;
    transition:
        opacity 0.4s ease,
        transform 0.4s ease;
    animation: searchBarFadeUp 0.8s ease 0.3s backwards;
}

@keyframes searchBarFadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.re-hero-search .search-bar {
    display: flex;
    align-items: stretch;
    gap: 12px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 12px;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.re-hero-search .search-input-wrapper {
    flex: 1;
    min-width: 0;
    position: relative;
}

.re-hero-search .search-input {
    width: 100%;
    padding: 14px 16px 14px 48px;
    border: 1px solid var(--gray-medium);
    border-radius: 8px;
    font-size: 15px;
    font-family: inherit;
    background: var(--white);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.re-hero-search .search-input:focus {
    outline: none;
    border-color: var(--mira-gold);
    box-shadow: 0 0 0 4px rgba(217, 169, 99, 0.15);
    transform: scale(1.01);
}

.re-hero-search .search-input-wrapper .icon-svg {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    filter: none;
    opacity: 0.5;
}

.re-hero-search .search-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 52px;
    width: 52px;
    min-width: 52px;
    padding: 0;
    background: var(--mira-gold);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.re-hero-search .search-btn .icon-svg {
    position: relative;
    z-index: 1;
    width: 20px;
    height: 20px;
    filter: brightness(0) invert(1);
    opacity: 1;
}

.re-hero-search .search-btn span,
.floating-search-row .search-btn span {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

.re-hero-search .search-btn::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition:
        width 0.6s ease,
        height 0.6s ease;
}

.re-hero-search .search-btn:hover {
    background: var(--mira-gold-hover);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 20px rgba(217, 169, 99, 0.4);
}

.re-hero-search .search-btn:hover::before {
    width: 200px;
    height: 200px;
}

.re-hero-search .search-btn:active {
    transform: translateY(-1px) scale(0.98);
}

.re-hero-search .filter-tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 16px;
    position: relative;
    z-index: 5;
}

.re-hero-search .filter-tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--gray-medium);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-text);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: inherit;
    position: relative;
    overflow: hidden;
    text-decoration: none;
}

.re-hero-search .filter-tab::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--mira-gold);
    transition:
        width 0.3s ease,
        left 0.3s ease;
}

.re-hero-search .filter-tab:hover {
    background: var(--mira-gold-light);
    border-color: var(--mira-gold);
    color: var(--black);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(217, 169, 99, 0.2);
}

.re-hero-search .filter-tab.active {
    background: var(--mira-gold-light);
    border-color: var(--mira-gold);
    color: var(--black);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(217, 169, 99, 0.25);
    animation: tabPulse 2s ease-in-out infinite;
}

.re-hero-search .filter-tab.active::before {
    width: 60%;
    left: 20%;
}

.state-filter-select-enhanced {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

.state-filter-control {
    position: relative;
    flex: 0 0 auto;
}

.state-filter-control.is-open {
    z-index: 20;
}

.state-filter-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 146px;
    max-width: 100%;
    min-height: 40px;
    padding: 10px 42px 10px 20px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--gray-medium);
    border-radius: 8px;
    color: var(--gray-text);
    cursor: pointer;
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.2;
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.market-filter-control .state-filter-button {
    width: 132px;
}

.property-category-filter-control .state-filter-button {
    width: 172px;
}

.sort-filter-control .state-filter-button {
    width: 132px;
}

.state-filter-button-text {
    display: block;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.state-filter-button::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--mira-gold);
    transition:
        width 0.3s ease,
        left 0.3s ease;
}

.state-filter-button::after {
    content: "";
    position: absolute;
    right: 18px;
    top: 50%;
    width: 9px;
    height: 9px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: translateY(-65%) rotate(45deg);
    transition: transform 0.2s ease;
}

.state-filter-button:hover,
.state-filter-control.is-open .state-filter-button {
    background: var(--mira-gold-light);
    border-color: var(--mira-gold);
    color: var(--black);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(217, 169, 99, 0.2);
}

.state-filter-control.is-open .state-filter-button::before {
    width: 60%;
    left: 20%;
}

.state-filter-control.is-open .state-filter-button::after {
    transform: translateY(-35%) rotate(225deg);
}

.state-filter-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    z-index: 30;
    min-width: 100%;
    padding: 6px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(217, 169, 99, 0.42);
    border-radius: 8px;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.18);
}

.state-filter-menu-portal {
    min-width: 0;
    max-width: calc(100vw - 24px);
}

.state-filter-option {
    display: block;
    width: 100%;
    padding: 10px 14px;
    background: transparent;
    border: 0;
    border-radius: 6px;
    color: var(--gray-text);
    cursor: pointer;
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.2;
    text-align: left;
    white-space: nowrap;
}

.state-filter-option:hover,
.state-filter-option:focus-visible,
.state-filter-option.active {
    background: var(--mira-gold-light);
    color: var(--black);
    outline: none;
}

@keyframes tabPulse {

    0%,
    100% {
        box-shadow: 0 4px 12px rgba(217, 169, 99, 0.25);
    }

    50% {
        box-shadow: 0 6px 16px rgba(217, 169, 99, 0.35);
    }
}

/* Floating Search Bar */
.floating-search-bar {
    position: fixed;
    top: 72px;
    left: 50%;
    width: min(980px, calc(100vw - 32px));
    z-index: 900;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    padding: 12px 18px;
    border: 1px solid rgba(26, 26, 26, 0.06);
    border-radius: 20px;
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.14);
    transform: translate(-50%, -150%);
    opacity: 0;
    transition:
        transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1),
        opacity 0.4s ease,
        box-shadow 0.3s ease;
    pointer-events: none;
}

.floating-search-bar.visible {
    transform: translate(-50%, 0);
    opacity: 1;
    pointer-events: auto;
    box-shadow: 0 18px 46px rgba(0, 0, 0, 0.16);
}

.floating-search-bar.visible:hover {
    box-shadow: 0 22px 52px rgba(0, 0, 0, 0.18);
}

.floating-search-container {
    display: flex;
    align-items: center;
    gap: 14px;
}

.floating-search-row {
    flex: 1 1 560px;
    margin-bottom: 0;
}

.floating-search-row .search-bar {
    display: flex;
    gap: 10px;
    max-width: none;
    margin: 0;
}

.floating-search-row .search-input-wrapper {
    flex: 1;
    min-width: 0;
    position: relative;
}

.floating-search-row .search-input {
    width: 100%;
    padding: 12px 16px 12px 44px;
    border: 1px solid var(--gray-medium);
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    background: var(--white);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.floating-search-row .search-input:focus {
    outline: none;
    border-color: var(--mira-gold);
    box-shadow: 0 0 0 4px rgba(217, 169, 99, 0.15);
    transform: scale(1.01);
}

.floating-search-row .search-input-wrapper .icon-svg {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    filter: none;
    opacity: 0.5;
}

.floating-search-row .search-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 46px;
    width: 46px;
    min-width: 46px;
    padding: 0;
    background: var(--mira-gold);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    white-space: nowrap;
}

.floating-search-row .search-btn .icon-svg {
    width: 18px;
    height: 18px;
    filter: brightness(0) invert(1);
    opacity: 1;
}

.floating-search-row .search-btn:hover {
    background: var(--mira-gold-hover);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 6px 16px rgba(217, 169, 99, 0.35);
}

.floating-search-row .search-btn:active {
    transform: translateY(-1px) scale(0.98);
}

.floating-filter-tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    flex: 0 0 auto;
    justify-content: flex-end;
    padding-left: 14px;
    border-left: 1px solid rgba(26, 26, 26, 0.08);
    max-width: none;
    margin: 0;
}

.floating-filter-tabs .filter-tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    font-size: 13px;
    background: transparent;
    border: 1px solid var(--gray-medium);
    border-radius: 8px;
    font-weight: 500;
    color: var(--gray-text);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: inherit;
    position: relative;
    overflow: hidden;
    text-decoration: none;
}

.floating-filter-tabs .filter-tab::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--mira-gold);
    transition:
        width 0.3s ease,
        left 0.3s ease;
}

.floating-filter-tabs .filter-tab:hover {
    background: var(--mira-gold-light);
    border-color: var(--mira-gold);
    color: var(--black);
    transform: translateY(-1px);
}

.floating-filter-tabs .filter-tab.active {
    background: var(--mira-gold-light);
    border-color: var(--mira-gold);
    color: var(--black);
    transform: translateY(-1px);
}

.floating-filter-tabs .filter-tab.active::before {
    width: 60%;
    left: 20%;
}

.floating-filter-tabs .state-filter-button {
    width: 112px;
    min-height: 38px;
    padding: 8px 34px 8px 16px;
    background: transparent;
    font-size: 13px;
}

.floating-filter-tabs .market-filter-control .state-filter-button {
    width: 112px;
}

.floating-filter-tabs .property-category-filter-control .state-filter-button {
    width: 134px;
}

.floating-filter-tabs .sort-filter-control .state-filter-button {
    width: 112px;
}

.floating-filter-tabs .state-filter-button::after {
    right: 15px;
    width: 8px;
    height: 8px;
}

.floating-filter-tabs .state-filter-menu {
    top: calc(100% + 6px);
}

.icon-svg {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: invert(58%) sepia(23%) saturate(1005%) hue-rotate(353deg) brightness(90%) contrast(86%);
}

/* Featured Carousel Section */
.featured-carousel-section {
    padding: 40px 0 40px;
    background: var(--gray-light);
    overflow: visible;
    opacity: 1;
    transform: translateY(0);
    transition:
        opacity 0.4s ease,
        transform 0.4s ease;
}

.featured-carousel-section.hidden {
    opacity: 0;
    transform: translateY(-4px);
    pointer-events: none;
    position: absolute;
    width: 100%;
}

.listings-section {
    padding: 64px 24px 28px;
    background: var(--gray-light);
    opacity: 1;
    transform: translateY(0);
    transition:
        opacity 0.4s ease,
        transform 0.4s ease;
}

.listings-section.hidden {
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    position: absolute;
    width: 100%;
}

.listings-section .property-card {
    animation: cardFadeIn 0.5s ease backwards;
}

.listings-section .property-card:nth-child(1) {
    animation-delay: 0.05s;
}

.listings-section .property-card:nth-child(2) {
    animation-delay: 0.1s;
}

.listings-section .property-card:nth-child(3) {
    animation-delay: 0.15s;
}

.listings-section .property-card:nth-child(4) {
    animation-delay: 0.2s;
}

.listings-section .property-card:nth-child(5) {
    animation-delay: 0.25s;
}

.listings-section .property-card:nth-child(6) {
    animation-delay: 0.3s;
}

.section-title {
    font-size: 32px;
    font-weight: 600;
    color: var(--black);
}

.properties-carousel-container {
    position: relative;
    width: 100%;
    overflow: visible;
    padding: 2px 0;
}

.properties-track {
    display: flex;
    gap: 24px;
    width: max-content;
    animation: scroll 40s linear infinite;
    padding: 20px 24px;
}

.properties-track.is-load-error {
    display: block;
    width: 100%;
    animation: none;
    transform: none;
}

.properties-track.is-loading {
    width: max-content;
    animation: none;
    transform: none;
}

.property-grid.is-load-error {
    display: block;
}

.property-grid.is-loading {
    min-height: calc(var(--re-property-card-min-height) + 24px);
}

.property-card-loading {
    pointer-events: none;
    cursor: default;
    box-shadow: var(--shadow-soft);
}

.property-card-loading:hover {
    transform: none;
    box-shadow: var(--shadow-soft);
}

.property-card-loading .property-image,
.property-card-loading .property-skeleton-line,
.property-card-loading .property-skeleton-features span {
    position: relative;
    overflow: hidden;
    background: #eeeeee;
}

.property-card-loading .property-image::after,
.property-card-loading .property-skeleton-line::after,
.property-card-loading .property-skeleton-features span::after {
    content: "";
    position: absolute;
    inset: 0;
    transform: translateX(-100%);
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.68), transparent);
    animation: propertySkeletonSweep 1.4s ease-in-out infinite;
}

.property-skeleton-line {
    display: block;
    height: 14px;
    border-radius: 4px;
}

.property-skeleton-price {
    width: 46%;
    height: 18px;
    margin-bottom: 14px;
}

.property-skeleton-title {
    width: 86%;
    height: 20px;
    margin-bottom: 14px;
}

.property-skeleton-location {
    width: 68%;
    margin-bottom: 20px;
}

.property-skeleton-features {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.property-skeleton-features span {
    width: 72px;
    height: 28px;
    border-radius: var(--radius-control);
}

@keyframes propertySkeletonSweep {
    100% {
        transform: translateX(100%);
    }
}

.listings-error {
    max-width: 640px;
    margin: 0 auto;
    padding: 40px 32px;
    background: var(--white);
    border: 1px solid rgba(var(--mira-gold-rgb), 0.2);
    border-radius: var(--radius-control);
    text-align: center;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.045);
}

.listings-error-eyebrow {
    margin: 0 0 12px;
    color: var(--mira-gold);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.listings-error-title {
    margin: 0 0 12px;
    color: var(--black);
    font-size: 1.25rem;
    line-height: 1.3;
}

.listings-error-text {
    max-width: 460px;
    margin: 0 auto;
    color: var(--gray-text);
    line-height: 1.7;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.featured-carousel-section .property-card {
    width: 320px;
    background: var(--white);
    border-radius: var(--radius-card);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    cursor: pointer;
    flex-shrink: 0;
    margin: 4px 0;
    animation: cardFadeIn 0.5s ease backwards;
}

@keyframes cardFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.featured-carousel-section .property-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.18);
}

.featured-carousel-section .property-card:nth-child(1) {
    animation-delay: 0.05s;
}

.featured-carousel-section .property-card:nth-child(2) {
    animation-delay: 0.1s;
}

.featured-carousel-section .property-card:nth-child(3) {
    animation-delay: 0.15s;
}

.featured-carousel-section .property-card:nth-child(4) {
    animation-delay: 0.2s;
}

.featured-carousel-section .property-card:nth-child(5) {
    animation-delay: 0.25s;
}

.featured-carousel-section .property-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.featured-carousel-section .property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.featured-carousel-section .property-card:hover .property-image img {
    transform: scale(1.05);
}

.featured-carousel-section .property-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 3;
    padding: 6px 14px;
    background: var(--mira-gold-light);
    color: var(--black);
    font-size: 12px;
    font-weight: 600;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.featured-carousel-section .property-badge.sold {
    background: #333333;
}

.featured-carousel-section .property-badge.rent {
    background: #2d7d46;
}

.featured-carousel-section .property-badge.short-stay {
    background: #666666;
}

.featured-carousel-section .property-info {
    padding: 24px;
}

.featured-carousel-section .property-price {
    font-size: 20px;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 8px;
}

.featured-carousel-section .property-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.featured-carousel-section .property-location {
    font-size: 14px;
    color: var(--gray-text);
    display: flex;
    align-items: center;
    gap: 6px;
}

.featured-carousel-section .property-features {
    display: flex;
    gap: 16px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--gray-medium);
}

.featured-carousel-section .property-feature {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--gray-text);
}

.search-input-wrapper .icon-svg {
    width: 20px;
    height: 20px;
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    filter: none;
    opacity: 0.5;
}

.property-location .icon-svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.property-feature .icon-svg {
    width: 16px;
    height: 16px;
}

.service-icon .icon-svg {
    width: 28px;
    height: 28px;
}

.cta-btn .icon-svg {
    width: 16px;
    height: 16px;
    filter: invert(58%) sepia(23%) saturate(1005%) hue-rotate(353deg) brightness(90%) contrast(86%);
    transition: transform 0.3s ease;
}

.cta-btn:hover .icon-svg {
    transform: translateX(4px);
}

/* Responsive */
@media (max-width: 768px) {

    /* Hero responsive */
    .re-hero {
        min-height: 500px;
        padding-top: 70px;
    }

    .re-hero-content {
        padding: 80px 16px 30px;
        max-width: 100vw;
        overflow: hidden;
    }

    .re-hero-search {
        padding-bottom: 30px;
        width: calc(100vw - 32px);
        max-width: calc(100vw - 32px);
        box-sizing: border-box;
    }

    .re-hero-search .search-bar {
        flex-direction: row;
        gap: 8px;
        padding: 10px;
        width: 100%;
        box-sizing: border-box;
    }

    .re-hero-search .search-btn {
        flex-basis: 48px;
        width: 48px;
        min-width: 48px;
    }

    .re-hero-title {
        font-size: 32px;
        max-width: 100%;
    }

    .re-hero-subtitle {
        font-size: 16px;
        max-width: 100%;
        overflow-wrap: break-word;
    }

    /* Hero filter tabs responsive */
    .re-hero-search .filter-tabs {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        overflow: visible;
        padding-bottom: 0;
        margin-top: 12px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .re-hero-search .filter-tab {
        white-space: nowrap;
        flex-shrink: 0;
        padding: 8px 16px;
        font-size: 13px;
    }

    .re-hero-search .state-filter-control,
    .floating-filter-tabs .state-filter-control {
        width: 100%;
        min-width: 0;
        flex-shrink: 0;
    }

    .re-hero-search .state-filter-button,
    .floating-filter-tabs .state-filter-button {
        width: 100%;
        min-height: 40px;
        padding: 8px 34px 8px 16px;
        font-size: 13px;
        white-space: nowrap;
    }

    .re-hero-search .state-filter-button::after {
        right: 15px;
        width: 8px;
        height: 8px;
    }

    /* Floating search bar responsive */
    .floating-search-bar {
        top: 86px;
        width: calc(100vw - 24px);
        padding: 10px 12px;
        border-radius: 12px;
    }

    .floating-search-container {
        display: block;
    }

    .floating-search-row {
        margin-bottom: 8px;
    }

    .floating-search-row .search-bar {
        flex-direction: row;
        gap: 8px;
    }

    .floating-search-row .search-btn {
        flex-basis: 44px;
        width: 44px;
        min-width: 44px;
    }

    .floating-filter-tabs {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        overflow: visible;
        padding-bottom: 0;
        justify-content: flex-start;
        padding-left: 0;
        border-left: none;
        width: 100%;
    }

    .floating-filter-tabs .filter-tab {
        white-space: nowrap;
        flex-shrink: 0;
    }
}

@media (max-width: 520px) {
    .re-hero-search .filter-tabs,
    .floating-filter-tabs {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        align-items: stretch;
        justify-content: stretch;
        overflow: visible;
        padding-bottom: 0;
        width: 100%;
    }

    .re-hero-search .filter-tab,
    .floating-filter-tabs .filter-tab,
    .re-hero-search .state-filter-control,
    .floating-filter-tabs .state-filter-control,
    .re-hero-search .state-filter-button,
    .floating-filter-tabs .state-filter-button {
        width: 100%;
        min-width: 0;
    }

    .re-hero-search .filter-tab,
    .floating-filter-tabs .filter-tab,
    .re-hero-search .state-filter-button,
    .floating-filter-tabs .state-filter-button {
        min-height: 38px;
        padding: 8px 10px;
        font-size: 12px;
        line-height: 1.15;
    }

    .re-hero-search .state-filter-button,
    .floating-filter-tabs .state-filter-button {
        justify-content: flex-start;
        padding-right: 28px;
    }

    .re-hero-search .market-filter-control .state-filter-button,
    .re-hero-search .property-category-filter-control .state-filter-button,
    .re-hero-search .sort-filter-control .state-filter-button,
    .floating-filter-tabs .market-filter-control .state-filter-button,
    .floating-filter-tabs .property-category-filter-control .state-filter-button,
    .floating-filter-tabs .sort-filter-control .state-filter-button {
        width: 100%;
        min-width: 0;
    }

    .re-hero-search .state-filter-button::after,
    .floating-filter-tabs .state-filter-button::after {
        right: 12px;
        width: 7px;
        height: 7px;
    }
}

/* Contact CTA Section */
.contact-cta-section {
    padding: 56px 24px;
    background: #1a1a1a;
    text-align: center;
}

.contact-cta-container {
    max-width: 600px;
    margin: 0 auto;
}

.contact-cta-icon {
    width: 64px;
    height: 64px;
    background: var(--mira-gold-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
}

.contact-cta-icon .icon-svg {
    width: 30px;
    height: 30px;
}

.contact-cta-title {
    font-size: 32px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 16px;
    font-family: "Montserrat", sans-serif;
}

.contact-cta-text {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 32px;
    line-height: 1.7;
    font-family: "Montserrat", sans-serif;
}

.contact-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 40px;
    background: var(--mira-gold);
    color: #ffffff;
    font-family: "Montserrat", sans-serif;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--radius-control);
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
}

.contact-cta-btn:hover {
    background: var(--mira-gold-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(217, 169, 99, 0.3);
}

.contact-cta-btn .icon-svg {
    width: 16px;
    height: 16px;
    filter: brightness(0) invert(1);
}

@media (max-width: 768px) {
    .contact-cta-section {
        padding: 44px 20px;
    }

    .contact-cta-title {
        font-size: 24px;
    }

    .contact-cta-icon {
        width: 56px;
        height: 56px;
    }

    .contact-cta-icon .icon-svg {
        width: 26px;
        height: 26px;
    }
}

/* Hero Section */
.about-hero {
    position: relative;
    height: 60vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 0;
    padding-top: 80px;
}

.about-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.about-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0.3) 0%,
            rgba(0, 0, 0, 0.5) 100%);
    z-index: 2;
}

.about-hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    padding: 0 24px;
    max-width: 800px;
}

.about-hero-eyebrow {
    font-size: 12px;
    font-weight: 600;
    color: var(--mira-gold);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.about-hero-title {
    font-size: 48px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.about-hero-subtitle {
    font-size: 18px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.3);
}

/* Story Section */
.story-section {
    padding: 84px 24px;
    background: var(--white);
}

.story-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.story-image {
    position: relative;
    border-radius: var(--radius-card);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.story-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.story-content {
    padding: 20px 0;
}

.section-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--mira-gold);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.section-title {
    font-size: 36px;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 24px;
    line-height: 1.3;
}

.services-header .section-title,
.why-header .section-title,
.team-header .section-title {
    color: var(--black);
}

.section-text {
    font-size: 16px;
    color: var(--gray-text);
    line-height: 1.8;
    margin-bottom: 20px;
}

/* Services Section */
.services-section {
    padding: 84px 24px;
    background: var(--gray-light);
}

.services-header {
    text-align: center;
    margin-bottom: 48px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 32px;
    border-radius: var(--radius-card);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

.service-icon {
    width: 64px;
    height: 64px;
    background: var(--mira-gold-light);
    border-radius: var(--radius-card);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.service-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 12px;
}

.service-desc {
    font-size: 15px;
    color: var(--gray-text);
    line-height: 1.7;
}

/* Why Choose Us Section */
.why-section {
    padding: 84px 24px;
    background: var(--white);
}

.why-container {
    max-width: 1200px;
    margin: 0 auto;
}

.why-header {
    text-align: center;
    margin-bottom: 48px;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.why-card {
    text-align: center;
    padding: 30px 20px;
    border-radius: var(--radius-card);
    transition: all 0.3s ease;
}

.why-card:hover {
    background: var(--gray-light);
}

.why-icon {
    width: 60px;
    height: 60px;
    background: var(--mira-gold-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.why-icon svg {
    width: 26px;
    height: 26px;
    color: var(--mira-gold);
}

.why-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 10px;
}

.why-desc {
    font-size: 14px;
    color: var(--gray-text);
    line-height: 1.6;
}

/* Team Section */
.team-section {
    padding: 84px 24px;
    background: var(--gray-light);
}

.team-container {
    max-width: 1200px;
    margin: 0 auto;
}

.team-header {
    text-align: center;
    margin-bottom: 48px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 56px 40px;
}

.team-card:nth-child(3n + 2) {
    transform: translateY(48px);
}

.team-card {
    position: relative;
    padding-left: 18px;
}

.team-card::before {
    content: attr(data-index);
    position: absolute;
    top: -28px;
    left: -10px;
    font-size: 84px;
    font-weight: 700;
    line-height: 1;
    color: var(--mira-gold);
    opacity: 0.1;
    letter-spacing: -0.04em;
    pointer-events: none;
    z-index: 0;
    transition:
        opacity 0.4s ease,
        transform 0.4s ease;
}

.team-card:hover::before {
    opacity: 0.18;
    transform: translateY(-4px);
}

.team-photo {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    border-radius: 2px 80px 2px 2px;
    background: var(--gray-light);
    margin-bottom: 22px;
    z-index: 1;
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
    transition: transform 0.8s ease;
}

.team-card:hover .team-photo img {
    transform: scale(1.04);
}

.team-info {
    position: relative;
    padding-left: 16px;
}

.team-info::before {
    content: "";
    position: absolute;
    top: 4px;
    left: 0;
    width: 2px;
    height: 28px;
    background: var(--mira-gold);
    transition: height 0.4s ease;
}

.team-card:hover .team-info::before {
    height: 44px;
}

.team-name {
    font-size: 18px;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 6px;
    letter-spacing: 0.01em;
    line-height: 1.3;
}

.team-role {
    font-size: 11px;
    font-weight: 500;
    color: var(--gray-text);
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

/* CTA Section */
.cta-section {
    padding: 72px 24px;
    background: var(--black);
    text-align: center;
}

.cta-container {
    max-width: 700px;
    margin: 0 auto;
}

.cta-title {
    font-size: 36px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 20px;
    line-height: 1.3;
}

.cta-text {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 40px;
    line-height: 1.7;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 36px;
    background: var(--mira-gold);
    color: var(--white);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.cta-btn:hover {
    background: var(--mira-gold-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.icon-svg {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.service-icon .icon-svg,
.why-icon .icon-svg {
    width: 28px;
    height: 28px;
    filter: invert(58%) sepia(23%) saturate(1005%) hue-rotate(353deg) brightness(90%) contrast(86%);
}

.why-icon .icon-svg {
    width: 26px;
    height: 26px;
}

.cta-btn .icon-svg {
    width: 16px;
    height: 16px;
    filter: brightness(0) invert(1);
}

/* FAQ Section */
.faq-section {
    padding: 40px 24px 60px;
    background: var(--gray-light);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-header {
    text-align: center;
    margin-bottom: 40px;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.faq-question {
    width: 100%;
    padding: 24px 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: "Montserrat", sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: var(--black);
    transition: color 0.2s ease;
}

.faq-question:hover {
    color: var(--mira-gold);
}

.faq-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-left: 16px;
    transition: transform 0.3s ease;
}

.faq-icon .icon-svg {
    width: 16px;
    height: 16px;
    filter: invert(58%) sepia(23%) saturate(1005%) hue-rotate(353deg) brightness(90%) contrast(86%);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition:
        max-height 0.3s ease,
        padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-answer-inner {
    padding: 0 28px 24px;
    font-size: 15px;
    color: var(--gray-text);
    line-height: 1.8;
}

/* Responsive */
@media (max-width: 1024px) {
    .story-container {
        gap: 40px;
    }

    .services-grid {
        gap: 20px;
    }

    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .about-hero {
        height: 50vh;
        min-height: 350px;
    }

    .about-hero-title {
        font-size: 32px;
    }

    .story-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .story-image {
        order: -1;
    }

    .section-title {
        font-size: 28px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .why-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .team-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .team-card:nth-child(3n + 2) {
        transform: none;
    }

    .team-card::before {
        font-size: 56px;
        top: -18px;
    }

    .cta-title {
        font-size: 28px;
    }

}

/* Real Estate component consolidation */
.property-card,
.featured-carousel-section .property-card,
.listings-section .property-card,
.similar-properties .property-card {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-property-card);
    background: var(--white);
    box-shadow: var(--shadow-soft);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.property-card:hover,
.featured-carousel-section .property-card:hover,
.listings-section .property-card:hover,
.similar-properties .property-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-medium);
}

.property-image,
.featured-carousel-section .property-image,
.listings-section .property-image,
.similar-properties .property-image {
    overflow: hidden;
}

.property-image img,
.featured-carousel-section .property-image img,
.listings-section .property-image img,
.similar-properties .property-image img {
    transition: transform 0.45s ease;
}

.property-card:hover .property-image img,
.featured-carousel-section .property-card:hover .property-image img,
.listings-section .property-card:hover .property-image img,
.similar-properties .property-card:hover .property-image img {
    transform: scale(1.04);
}

.property-badge,
.featured-carousel-section .property-badge,
.listings-section .property-badge,
.similar-properties .property-badge {
    border-radius: 4px;
    letter-spacing: 0.08em;
}

.service-card,
.why-card,
.team-card,
.value-card,
.division-card,
.location-card,
.stat-card {
    border-radius: var(--radius-card);
}

.service-card:hover,
.why-card:hover,
.team-card:hover,
.value-card:hover,
.division-card:hover,
.location-card:hover,
.stat-card:hover {
    transform: translateY(-4px);
}

.service-icon,
.service-card-icon,
.why-icon,
.value-icon,
.location-marker,
.map-marker {
    border-radius: var(--radius-control);
}

.service-card-header,
.service-card,
.why-card,
.location-card,
.stat-card {
    background-image: none;
}

.featured-carousel-section,
.properties-carousel-container {
    overflow: hidden;
    max-width: 100%;
}

@media (max-width: 768px) {
    .services-grid {
        flex-direction: column;
        flex-wrap: nowrap;
    }

    .service-card {
        width: 100%;
        flex: 0 0 auto;
    }
}

/* Real Estate repair pass after shared CSS migration */
body.page-re-about .services-section {
    padding: 72px 24px;
    background: var(--gray-light);
}

body.page-re-about .services-container {
    display: block;
    max-width: 1200px;
    margin: 0 auto;
}

body.page-re-about .services-header {
    text-align: center;
    margin-bottom: 40px;
}

body.page-re-about .services-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

body.page-re-about .service-card {
    display: block;
    padding: 32px;
    min-height: 0;
    text-align: left;
    background: var(--white);
    border-radius: var(--radius-card);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition:
        transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.35s ease;
}

body.page-re-about .service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.11);
}

body.page-re-about .service-icon {
    width: 56px;
    height: 56px;
    margin: 0 0 20px;
}

body.page-re-about .service-icon .icon-svg {
    width: 26px;
    height: 26px;
}

body.page-re-about .service-title {
    text-align: left;
}

body.page-re-about .service-title::after {
    left: 0;
    transform: none;
}

@media (max-width: 768px) {
    body.page-re-about .services-section {
        padding: 44px 16px;
    }

    body.page-re-about .services-header {
        margin-bottom: 32px;
    }

    body.page-re-about .services-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    body.page-re-about .service-card {
        padding: 28px 22px;
    }
}

.featured-carousel-section {
    overflow: hidden;
    padding-bottom: 78px;
}

.properties-carousel-container {
    overflow-x: hidden;
    overflow-y: visible;
    padding: 4px 0 34px;
}

.properties-track {
    padding-bottom: 48px;
}

.listings-section {
    overflow: visible;
    padding-bottom: 90px;
}

.property-grid {
    padding-bottom: 48px;
}

.property-card,
.featured-carousel-section .property-card,
.listings-section .property-card,
.similar-properties .property-card {
    overflow: visible;
    transition:
        transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.35s ease;
}

a.property-card,
a.property-card:hover {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
}

.property-image,
.featured-carousel-section .property-image,
.listings-section .property-image,
.similar-properties .property-image {
    overflow: hidden;
    border-radius: 2px 24px 0 0;
}

/* Property detail shared styles */
body.page-re-property {
    --mira-gold: #d9a963;
    --mira-gold-light: #fbf6ef;
    --mira-gold-rgb: 217, 169, 99;
    --white: #ffffff;
    --black: #1a1a1a;
    --gray-light: #f8f8f8;
    --gray-medium: #e0e0e0;
    --gray-text: #666666;
    --gray-dark: #333333;
}

body.page-re-property {
    font-family:
        "Montserrat",
        -apple-system,
        BlinkMacSystemFont,
        sans-serif;
    background-color: var(--white);
    color: var(--black);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Property detail nav refinements */
body.page-re-property .navbar {
    background: rgba(255, 255, 255, 0.95);
}

body.page-re-property .logo-mg {
    height: 36px;
}

body.page-re-property .nav-contact {
    font-weight: 500;
}

/* Property Gallery */
body.page-re-property .property-gallery {
    width: min(1152px, calc(100% - 48px));
    max-width: 1152px;
    margin: 78px auto 0;
    padding-top: 0;
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: repeat(2, 216px);
    gap: 6px;
    height: 438px;
}

body.page-re-property .property-gallery[hidden],
body.page-re-property .property-header[hidden],
body.page-re-property .similar-section[hidden] {
    display: none !important;
}

body.page-re-property .gallery-main,
body.page-re-property .gallery-thumb,
body.page-re-property .property-card-image {
    --image-src: none;
    grid-row: 1 / -1;
    position: relative;
    overflow: hidden;
    background: #f3f0eb;
}

body.page-re-property .gallery-thumb,
body.page-re-property .property-card-image {
    grid-row: auto;
}

body.page-re-property .gallery-main::before,
body.page-re-property .gallery-thumb::before,
body.page-re-property .property-card-image::before {
    content: "";
    position: absolute;
    inset: -18px;
    background-image: var(--image-src);
    background-size: cover;
    background-position: center;
    filter: blur(24px) saturate(1.05);
    opacity: 0;
    transform: scale(1.08);
    transition: opacity 0.2s ease;
}

body.page-re-property .gallery-main.is-wide::before,
body.page-re-property .gallery-thumb.is-wide::before,
body.page-re-property .property-card-image.is-wide::before {
    opacity: 0.5;
}

body.page-re-property .gallery-main img,
body.page-re-property .gallery-thumb img,
body.page-re-property .property-card-image img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

body.page-re-property .gallery-main.is-wide img,
body.page-re-property .gallery-thumb.is-wide img,
body.page-re-property .property-card-image.is-wide img {
    object-fit: contain;
}

body.page-re-property .gallery-main,
body.page-re-property .gallery-thumb {
    cursor: pointer;
}

body.page-re-property .gallery-main::after {
    content: "";
    position: absolute;
    left: calc(var(--watermark-image-left, 0px) + var(--gallery-watermark-left, 12px));
    top: calc(var(--watermark-image-top, 0px) + var(--watermark-image-height, 100%) - var(--gallery-watermark-size, 44px) - 12px);
    z-index: 2;
    width: var(--gallery-watermark-size, 44px);
    height: var(--gallery-watermark-size, 44px);
    background: url("../resources/brand/logos/MG_gold.svg") center / contain no-repeat;
    opacity: 0.4;
    pointer-events: none;
    user-select: none;
}

body.page-re-property .gallery-main img {
    transform: scale(1);
}

body.page-re-property .gallery-main:hover img,
body.page-re-property .gallery-thumb:hover img {
    transform: scale(1.03);
}

body.page-re-property .gallery-main.is-wide:hover img,
body.page-re-property .gallery-thumb.is-wide:hover img {
    transform: scale(1);
}

body.page-re-property .gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.34);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 14px;
    font-weight: 600;
    z-index: 2;
}

body.page-re-property .gallery-count-badge {
    position: absolute;
    right: 10px;
    bottom: 10px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 0 10px;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: var(--radius-control);
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: var(--black);
    cursor: pointer;
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 0.06em;
    line-height: 1;
    text-transform: uppercase;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.1);
    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

body.page-re-property .gallery-count-badge:hover {
    background: var(--white);
    border-color: var(--mira-gold);
    box-shadow: 0 5px 16px rgba(0, 0, 0, 0.14);
}

body.page-re-property .gallery-nav-btn {
    position: absolute;
    top: 50%;
    z-index: 3;
    width: 32px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.65);
    border-radius: var(--radius-control);
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: var(--black);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transform: translateY(-50%);
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.1);
    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease;
}

body.page-re-property .gallery-nav-btn:hover {
    background: var(--white);
    border-color: var(--mira-gold);
    transform: translateY(-50%) scale(1.04);
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.14);
}

body.page-re-property .gallery-nav-btn.prev {
    left: 10px;
}

body.page-re-property .gallery-nav-btn.next {
    right: 10px;
}

body.page-re-property .gallery-nav-btn .icon-svg {
    width: 14px;
    height: 14px;
    filter: brightness(0) invert(0.12);
}

body.page-re-property .gallery-main > img,
body.page-re-property .gallery-thumb > img,
body.page-re-property .property-card-image > img,
body.page-re-property .lightbox-image {
    opacity: 0;
    transition:
        opacity 0.22s ease,
        transform 0.3s ease;
}

body.page-re-property .gallery-main > img.is-loaded,
body.page-re-property .gallery-thumb > img.is-loaded,
body.page-re-property .property-card-image > img.is-loaded,
body.page-re-property .lightbox-image.is-loaded {
    opacity: 1;
}

body.page-re-property.property-is-loading {
    --property-skeleton: #eeeeee;
    --property-skeleton-strong: #e2e2e2;
}

body.page-re-property.property-is-loading .gallery-main,
body.page-re-property.property-is-loading .gallery-thumb,
body.page-re-property.property-is-loading .property-map,
body.page-re-property .property-card-skeleton .property-card-image {
    background: var(--property-skeleton);
}

body.page-re-property.property-is-loading .gallery-main,
body.page-re-property.property-is-loading .gallery-thumb {
    cursor: default;
}

body.page-re-property.property-is-loading .gallery-main::before,
body.page-re-property.property-is-loading .gallery-thumb::before,
body.page-re-property.property-is-loading .gallery-main::after,
body.page-re-property.property-is-loading .gallery-overlay,
body.page-re-property.property-is-loading .gallery-count-badge,
body.page-re-property.property-is-loading .gallery-nav-btn {
    display: none;
}

body.page-re-property.property-is-loading .property-top-row .property-badge {
    width: 102px;
    height: 24px;
    padding: 0;
    background: var(--property-skeleton);
}

body.page-re-property.property-is-loading .property-name,
body.page-re-property.property-is-loading .property-address span,
body.page-re-property.property-is-loading .property-price,
body.page-re-property.property-is-loading .property-price-label,
body.page-re-property.property-is-loading .feature-value,
body.page-re-property.property-is-loading .feature-label,
body.page-re-property.property-is-loading .section-text,
body.page-re-property.property-is-loading .property-id,
body.page-re-property .property-card-skeleton .property-card-price,
body.page-re-property .property-card-skeleton .property-card-title,
body.page-re-property .property-card-skeleton .property-card-location,
body.page-re-property .property-card-skeleton .property-card-features {
    position: relative;
    display: block;
    overflow: hidden;
    color: transparent;
}

body.page-re-property.property-is-loading .property-name::after,
body.page-re-property.property-is-loading .property-address span::after,
body.page-re-property.property-is-loading .property-price::after,
body.page-re-property.property-is-loading .property-price-label::after,
body.page-re-property.property-is-loading .feature-value::after,
body.page-re-property.property-is-loading .feature-label::after,
body.page-re-property.property-is-loading .section-text::after,
body.page-re-property.property-is-loading .property-id::after,
body.page-re-property .property-card-skeleton .property-card-price::after,
body.page-re-property .property-card-skeleton .property-card-title::after,
body.page-re-property .property-card-skeleton .property-card-location::after,
body.page-re-property .property-card-skeleton .property-card-features::after {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    border-radius: var(--radius-control);
    background: var(--property-skeleton, #eeeeee);
}

body.page-re-property.property-is-loading .property-name {
    width: min(460px, 82vw);
    height: 34px;
    margin-bottom: 8px;
}

body.page-re-property.property-is-loading .property-address span {
    width: min(390px, 74vw);
    height: 18px;
}

body.page-re-property.property-is-loading .property-price {
    width: 162px;
    height: 39px;
    margin-left: auto;
    margin-bottom: 8px;
}

body.page-re-property.property-is-loading .property-price-label {
    width: 112px;
    height: 18px;
    margin-left: auto;
}

body.page-re-property.property-is-loading .features-bar {
    background: var(--gray-light);
}

body.page-re-property.property-is-loading .feature-icon {
    border-radius: var(--radius-control);
    background: var(--property-skeleton-strong);
}

body.page-re-property.property-is-loading .feature-icon .icon-svg,
body.page-re-property.property-is-loading .property-address .icon-svg {
    opacity: 0;
}

body.page-re-property.property-is-loading .action-btn {
    display: none;
}

body.page-re-property.property-is-loading .feature-value {
    width: 34px;
    height: 18px;
    margin-bottom: 5px;
}

body.page-re-property.property-is-loading .feature-label {
    width: 76px;
    height: 12px;
}

body.page-re-property.property-is-loading .property-actions {
    position: relative;
    min-height: 39px;
}

body.page-re-property.property-is-loading .property-actions::before,
body.page-re-property.property-is-loading .property-actions::after {
    content: "";
    display: block;
    width: 118px;
    height: 39px;
    border: 1px solid var(--gray-medium);
    border-radius: var(--radius-control);
    background: var(--white);
}

body.page-re-property.property-is-loading .section-text {
    max-width: 760px;
    height: 16px;
    margin-bottom: 12px;
}

body.page-re-property.property-is-loading .section-text:nth-of-type(2) {
    width: 84%;
}

body.page-re-property.property-is-loading .property-map {
    border-color: var(--gray-medium);
}

body.page-re-property.property-is-loading .property-id {
    width: 156px;
    height: 16px;
    margin: 16px auto 0;
}

body.page-re-property .property-card-skeleton {
    cursor: default;
    pointer-events: none;
}

body.page-re-property .property-card-skeleton .property-card-price {
    width: 44%;
    height: 21px;
}

body.page-re-property .property-card-skeleton .property-card-title {
    width: 82%;
    height: 18px;
}

body.page-re-property .property-card-skeleton .property-card-location {
    width: 68%;
    height: 16px;
}

body.page-re-property .property-card-skeleton .property-card-features {
    width: 72%;
    height: 18px;
}

body.page-re-property.property-is-loaded .property-title-left,
body.page-re-property.property-is-loaded .property-price-section,
body.page-re-property.property-is-loaded .features-bar,
body.page-re-property.property-is-loaded .property-main,
body.page-re-property.property-is-loaded .property-sidebar,
body.page-re-property.property-is-loaded .similar-grid .property-card {
    animation: propertyDetailIn 0.28s ease both;
}

body.page-re-property.property-is-loaded .property-price-section,
body.page-re-property.property-is-loaded .property-sidebar {
    animation-delay: 0.04s;
}

body.page-re-property.property-is-loaded .features-bar,
body.page-re-property.property-is-loaded .similar-grid .property-card {
    animation-delay: 0.08s;
}

@keyframes propertyDetailIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Property Header */
body.page-re-property .property-header {
    padding: 14px 24px 0;
    max-width: 1200px;
    margin: 0 auto;
}

body.page-re-property .property-top-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    gap: 12px;
}

body.page-re-property .property-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 0;
    font-size: 14px;
    color: var(--gray-text);
}

body.page-re-property .property-nav a {
    color: var(--gray-text);
    text-decoration: none;
    transition: color 0.2s ease;
}

body.page-re-property .property-nav a:hover {
    color: var(--mira-gold);
}

body.page-re-property .property-nav .icon-svg {
    width: 16px;
    height: 16px;
}

body.page-re-property .property-title-section {
    margin-bottom: 0;
}

body.page-re-property .property-title-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 8px;
    gap: 16px;
}

body.page-re-property .property-title-left {
    flex: 1;
}

body.page-re-property .property-top-row .property-badge {
    position: static;
    flex: 0 0 auto;
    display: inline-block;
    padding: 6px 14px;
    background: var(--mira-gold-light);
    color: var(--black);
    font-size: 12px;
    font-weight: 600;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

body.page-re-property .property-top-row .property-badge.rent {
    background: #e8f5e9;
    color: var(--black);
}

body.page-re-property .property-top-row .property-badge.sold {
    background: #f5f5f5;
    color: var(--black);
}

body.page-re-property .property-top-row .property-badge.short-stay {
    background: #e3f2fd;
    color: var(--black);
}

body.page-re-property .property-name {
    font-size: 28px;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 4px;
    line-height: 1.15;
}

body.page-re-property .property-bottom-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

body.page-re-property .property-address {
    font-size: 16px;
    color: var(--gray-text);
    display: flex;
    align-items: center;
    gap: 8px;
}

body.page-re-property .property-address .icon-svg {
    width: 18px;
    height: 18px;
}

body.page-re-property .property-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

body.page-re-property .action-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 16px;
    border: 1px solid var(--gray-medium);
    background: var(--white);
    border-radius: var(--radius-control);
    font-size: 13px;
    font-weight: 500;
    color: var(--black);
    cursor: pointer;
    transition: all 0.2s ease;
}

body.page-re-property .action-btn:hover {
    border-color: var(--mira-gold);
    color: var(--mira-gold);
}

body.page-re-property .action-btn .icon-svg {
    width: 18px;
    height: 18px;
}

body.page-re-property .action-btn.primary {
    background: var(--mira-gold);
    border-color: var(--mira-gold);
    color: var(--white);
}

body.page-re-property .action-btn.primary:hover {
    background: var(--mira-gold-hover);
}

body.page-re-property .property-price-section {
    text-align: right;
}

body.page-re-property .property-price-section > .property-price {
    font-size: 34px;
    font-weight: 600;
    color: var(--mira-gold);
}

body.page-re-property .property-price-label {
    font-size: 14px;
    color: var(--gray-text);
}

/* Property Content */
body.page-re-property .property-content {
    padding: 28px 24px 72px;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

body.page-re-property .property-content.property-content-error {
    display: block;
    padding-top: 120px;
    padding-bottom: 120px;
}

body.page-re-property .property-load-error {
    max-width: 680px;
    margin: 0 auto;
    padding: 48px;
    border: 1px solid var(--gray-medium);
    border-radius: var(--radius-card);
    background: var(--white);
    text-align: center;
}

body.page-re-property .property-load-error-eyebrow {
    margin-bottom: 12px;
    color: var(--mira-gold);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.1em;
    line-height: 1;
    text-transform: uppercase;
}

body.page-re-property .property-load-error-title {
    margin-bottom: 16px;
    color: var(--black);
    font-size: 32px;
    font-weight: 600;
    line-height: 1.25;
}

body.page-re-property .property-load-error-text {
    max-width: 520px;
    margin: 0 auto 28px;
    color: var(--gray-text);
    font-size: 15px;
    line-height: 1.8;
}

body.page-re-property .property-load-error-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 13px 28px;
    border-radius: var(--radius-control);
    background: var(--mira-gold);
    color: var(--white);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-decoration: none;
    text-transform: uppercase;
    transition:
        background-color 0.2s ease,
        transform 0.2s ease;
}

body.page-re-property .property-load-error-link:hover {
    background: var(--mira-gold-hover);
    transform: translateY(-2px);
}

/* Features Bar */
body.page-re-property .features-bar {
    display: flex;
    gap: 16px;
    padding: 8px 14px;
    background: var(--gray-light);
    border-radius: var(--radius-control);
    margin-bottom: 0;
    flex-wrap: wrap;
    width: auto;
}

body.page-re-property .feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

body.page-re-property .feature-icon {
    width: 40px;
    height: 40px;
    background: var(--mira-gold-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

body.page-re-property .feature-icon .icon-svg {
    width: 24px;
    height: 24px;
    filter: invert(58%) sepia(23%) saturate(1005%) hue-rotate(353deg) brightness(90%) contrast(86%);
}

body.page-re-property .feature-info {
    display: flex;
    flex-direction: column;
}

body.page-re-property .feature-value {
    font-size: 16px;
    font-weight: 600;
    color: var(--black);
}

body.page-re-property .feature-label {
    font-size: 12px;
    color: var(--gray-text);
}

/* Content Sections */
body.page-re-property .content-section {
    margin-bottom: 40px;
}

body.page-re-property .section-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 16px;
}

body.page-re-property .section-text {
    font-size: 15px;
    color: var(--gray-text);
    line-height: 1.8;
}

/* Sidebar */
body.page-re-property .property-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

body.page-re-property .sidebar-card {
    background: var(--white);
    border: 1px solid var(--gray-medium);
    border-radius: var(--radius-card);
    padding: 24px;
}

body.page-re-property .sidebar-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 20px;
}

/* Agent Card */
body.page-re-property .agent-card {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

body.page-re-property .agent-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--gray-light);
    display: flex;
    align-items: center;
    justify-content: center;
}

body.page-re-property .agent-avatar svg {
    width: 32px;
    height: 32px;
    color: var(--gray-text);
}

body.page-re-property .agent-info {
    flex: 1;
}

body.page-re-property .agent-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 4px;
}

body.page-re-property .agent-role {
    font-size: 13px;
    color: var(--gray-text);
}

body.page-re-property .agent-contact {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

body.page-re-property .agent-contact a {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--black);
    text-decoration: none;
    transition: color 0.2s ease;
}

body.page-re-property .agent-contact a:hover {
    color: var(--mira-gold);
}

body.page-re-property .agent-contact svg {
    width: 18px;
    height: 18px;
    color: var(--mira-gold);
}

/* Enquiry Form */
body.page-re-property .form-group {
    margin-bottom: 16px;
}

body.page-re-property .form-label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: var(--black);
    margin-bottom: 6px;
}

body.page-re-property .form-input,
body.page-re-property .form-textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--gray-medium);
    border-radius: var(--radius-control);
    font-size: 14px;
    font-family: inherit;
    transition: all 0.2s ease;
}

body.page-re-property .form-input:focus,
body.page-re-property .form-textarea:focus {
    outline: none;
    border-color: var(--mira-gold);
    box-shadow: 0 0 0 3px var(--mira-gold-light);
}

body.page-re-property .form-textarea {
    min-height: 100px;
    resize: vertical;
}

body.page-re-property .form-submit {
    width: 100%;
    padding: 14px;
    background: var(--mira-gold);
    color: var(--white);
    border: none;
    border-radius: var(--radius-control);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

body.page-re-property .form-submit:hover {
    background: var(--mira-gold-hover);
}

body.page-re-property .form-submit:disabled {
    cursor: wait;
    opacity: 0.68;
}

/* Property ID */
body.page-re-property .property-id {
    font-size: 13px;
    color: var(--gray-text);
    text-align: center;
    padding-top: 16px;
    border-top: 1px solid var(--gray-medium);
}

/* Similar Properties */
body.page-re-property .similar-section {
    padding: 60px 24px;
    background: var(--gray-light);
}

body.page-re-property .similar-container {
    max-width: 1200px;
    margin: 0 auto;
}

body.page-re-property .similar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

body.page-re-property .similar-title {
    font-size: 24px;
    font-weight: 600;
    color: var(--black);
}

body.page-re-property .similar-title span {
    color: var(--mira-gold);
}

body.page-re-property .view-all-link {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 500;
    color: var(--black);
    text-decoration: none;
    transition: color 0.2s ease;
}

body.page-re-property .view-all-link:hover {
    color: var(--mira-gold);
}

body.page-re-property .view-all-link .icon-svg {
    width: 16px;
    height: 16px;
}

body.page-re-property .image-lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(18, 18, 18, 0.96);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: none;
}

body.page-re-property .image-lightbox.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

body.page-re-property .lightbox-panel {
    width: min(1440px, 100%);
    max-height: 96vh;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

body.page-re-property .lightbox-stage {
    position: relative;
    min-height: 0;
    height: min(calc(100vh - 116px), 860px);
    background: #1a1a1a;
    border-radius: 2px;
    overflow: hidden;
}

body.page-re-property .lightbox-stage::before {
    content: "";
    position: absolute;
    inset: -24px;
    background-image: var(--lightbox-src);
    background-size: cover;
    background-position: center;
    filter: blur(20px) saturate(1.05);
    opacity: 0.18;
    transform: scale(1.06);
    pointer-events: none;
}

body.page-re-property .lightbox-stage::after {
    content: "";
    position: absolute;
    left: calc(var(--watermark-image-left, 0px) + var(--lightbox-watermark-left, 12px));
    top: calc(var(--watermark-image-top, 0px) + var(--watermark-image-height, 100%) - var(--lightbox-watermark-size, 44px) - 12px);
    z-index: 2;
    width: var(--lightbox-watermark-size, 44px);
    height: var(--lightbox-watermark-size, 44px);
    background: url("../resources/brand/logos/MG_gold.svg") center / contain no-repeat;
    opacity: 0.4;
    pointer-events: none;
    user-select: none;
}

body.page-re-property .lightbox-image {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

body.page-re-property .lightbox-close,
body.page-re-property .lightbox-arrow {
    position: absolute;
    z-index: 3;
    border: 1px solid rgba(255, 255, 255, 0.75);
    border-radius: var(--radius-control);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.14);
    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease;
}

body.page-re-property .image-lightbox.active .lightbox-close,
body.page-re-property .image-lightbox.active .lightbox-arrow {
    visibility: visible;
}

body.page-re-property .lightbox-close:hover,
body.page-re-property .lightbox-arrow:hover {
    background: var(--white);
    border-color: var(--mira-gold);
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.2);
}

body.page-re-property .lightbox-close {
    top: 10px;
    right: 10px;
    width: 34px;
    height: 34px;
    transform: none;
}

body.page-re-property .lightbox-close:hover {
    transform: scale(1.04);
}

body.page-re-property .lightbox-arrow {
    top: 50%;
    width: 34px;
    height: 52px;
    transform: translateY(-50%);
}

body.page-re-property .lightbox-arrow:hover {
    transform: translateY(-50%) scale(1.04);
}

body.page-re-property .lightbox-arrow.prev {
    left: 10px;
}

body.page-re-property .lightbox-arrow.next {
    right: 10px;
}

body.page-re-property .lightbox-close .icon-svg,
body.page-re-property .lightbox-arrow .icon-svg {
    width: 14px;
    height: 14px;
    filter: brightness(0) invert(0.12);
}

body.page-re-property .lightbox-meta {
    display: flex;
    justify-content: center;
    padding: 0;
}

body.page-re-property .lightbox-counter {
    font-family: "Montserrat", sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.65);
}

body.page-re-property .image-lightbox.floorplan-mode .lightbox-meta,
body.page-re-property .image-lightbox.floorplan-mode .lightbox-counter {
    display: none;
}

body.page-re-property .lightbox-thumbs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 2px;
    justify-content: center;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.15) transparent;
}

body.page-re-property .lightbox-thumbs::-webkit-scrollbar {
    height: 4px;
}

body.page-re-property .lightbox-thumbs::-webkit-scrollbar-track {
    background: transparent;
}

body.page-re-property .lightbox-thumbs::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
}

body.page-re-property .lightbox-thumb {
    width: 76px;
    height: 52px;
    border: 2px solid rgba(255, 255, 255, 0.12);
    border-radius: 4px;
    background: transparent;
    padding: 0;
    flex: 0 0 auto;
    cursor: pointer;
    opacity: 0.55;
    overflow: hidden;
    transition:
        border-color 0.2s ease,
        opacity 0.2s ease;
}

body.page-re-property .lightbox-thumb:hover {
    border-color: rgba(255, 255, 255, 0.4);
    opacity: 0.85;
}

body.page-re-property .lightbox-thumb.active {
    border-color: var(--mira-gold);
    opacity: 1;
}

body.page-re-property .lightbox-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

body.page-re-property .lightbox-thumb.floorplan-thumb {
    position: relative;
}

body.page-re-property .lightbox-thumb.floorplan-thumb img {
    object-fit: cover;
}

body.page-re-property .lightbox-thumb-floorplan-label {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
    background: rgba(0, 0, 0, 0.42);
    color: var(--white);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.08em;
    line-height: 1;
    text-transform: uppercase;
    text-align: center;
}

body.page-re-property .property-map {
    margin-top: 24px;
    min-height: 300px;
    border: 1px solid var(--gray-medium);
    border-radius: 2px;
    overflow: hidden;
    background: var(--gray-light);
}

body.page-re-property .property-map-frame {
    width: 100%;
    height: 300px;
    border: 0;
    display: block;
}

body.page-re-property .property-map-fallback {
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    text-align: center;
    background: var(--gray-light);
}

body.page-re-property .property-map-fallback-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 24px;
    border: 1px solid var(--mira-gold);
    border-radius: var(--radius-control);
    background: var(--white);
    color: var(--black);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: all 0.2s ease;
}

body.page-re-property .property-map-fallback-action:hover {
    background: var(--mira-gold);
    color: var(--white);
}

body.page-re-property .image-lightbox.floorplan-mode .lightbox-arrow {
    display: none;
}

/* Property detail responsive */
@media (max-width: 1024px) {
    body.page-re-property .property-gallery {
        width: calc(100% - 48px);
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 260px 160px;
        height: auto;
    }

    body.page-re-property .gallery-main {
        grid-column: 1 / -1;
        grid-row: 1;
    }

    body.page-re-property .gallery-thumb {
        grid-row: 2;
    }

    body.page-re-property .property-content {
        grid-template-columns: 1fr;
    }

    body.page-re-property .similar-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    body.page-re-property .property-gallery {
        width: calc(100% - 32px);
        margin-top: 72px;
        grid-template-columns: 1fr;
        grid-template-rows: 300px;
        height: auto;
    }

    body.page-re-property .gallery-count-badge {
        right: 8px;
        bottom: 8px;
        min-height: 28px;
        padding: 0 9px;
        font-size: 10px;
    }

    body.page-re-property .gallery-thumb {
        display: none;
    }

    body.page-re-property .property-title-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    body.page-re-property .property-bottom-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    body.page-re-property .property-top-row {
        flex-wrap: wrap;
        gap: 8px;
    }

    body.page-re-property .property-price-section {
        text-align: left;
    }

    body.page-re-property .features-bar {
        flex-wrap: wrap;
        gap: 16px;
    }

    body.page-re-property .feature-item {
        min-width: calc(50% - 8px);
    }

    body.page-re-property .image-lightbox {
        padding: 10px;
    }

    body.page-re-property .lightbox-stage {
        height: min(calc(100vh - 92px), 76vh);
    }

    body.page-re-property .lightbox-arrow {
        width: 32px;
        height: 48px;
    }

    body.page-re-property .lightbox-arrow.prev {
        left: 8px;
    }

    body.page-re-property .lightbox-arrow.next {
        right: 8px;
    }

    body.page-re-property .lightbox-close {
        top: 8px;
        right: 8px;
        width: 32px;
        height: 32px;
    }

    body.page-re-property .lightbox-thumb {
        width: 62px;
        height: 44px;
    }

    body.page-re-property .similar-grid {
        grid-template-columns: 1fr;
    }

}

/* Contact CTA Section */
body.page-re-property .contact-cta-section {
    padding: 80px 24px;
    background: #1a1a1a;
    text-align: center;
}

body.page-re-property .contact-cta-container {
    max-width: 600px;
    margin: 0 auto;
}

body.page-re-property .contact-cta-icon {
    width: 80px;
    height: 80px;
    background: var(--mira-gold-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

body.page-re-property .contact-cta-icon .icon-svg {
    width: 36px;
    height: 36px;
}

body.page-re-property .contact-cta-title {
    font-size: 32px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 16px;
    font-family: "Montserrat", sans-serif;
}

body.page-re-property .contact-cta-text {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 32px;
    line-height: 1.7;
    font-family: "Montserrat", sans-serif;
}

body.page-re-property .contact-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 40px;
    background: var(--mira-gold);
    color: #ffffff;
    font-family: "Montserrat", sans-serif;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--radius-control);
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    letter-spacing: 0.05em;
}

body.page-re-property .contact-cta-btn:hover {
    background: var(--mira-gold-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(217, 169, 99, 0.3);
}

body.page-re-property .contact-cta-btn .icon-svg {
    width: 16px;
    height: 16px;
    filter: brightness(0) invert(1);
}

@media (max-width: 768px) {
    body.page-re-property .contact-cta-section {
        padding: 60px 24px;
    }

    body.page-re-property .contact-cta-title {
        font-size: 24px;
    }

    body.page-re-property .contact-cta-icon {
        width: 64px;
        height: 64px;
    }

    body.page-re-property .contact-cta-icon .icon-svg {
        width: 28px;
        height: 28px;
    }
}

/* Canonical property card component */
:root {
    --radius-property-card: 2px 24px 2px 2px;
    --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.06);
    --shadow-medium: 0 12px 30px rgba(0, 0, 0, 0.12);
    --re-property-card-width: 360px;
    --re-property-card-min: 300px;
    --re-property-card-image-height: 220px;
    --re-property-card-min-height: 454px;
    --re-property-card-type-row: 18px;
    --re-property-card-price-row: 24px;
    --re-property-card-title-row: 44px;
    --re-property-card-feature-row: 40px;
}

.property-grid,
.similar-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,
            minmax(var(--re-property-card-min), var(--re-property-card-width)));
    justify-content: center;
    align-items: stretch;
    gap: 28px;
}

.properties-track {
    display: flex;
    align-items: stretch;
    gap: 28px;
}

.featured-actions {
    display: flex;
    justify-content: center;
    padding: 0 24px 18px;
}

.featured-show-all {
    min-height: 44px;
    padding: 12px 28px;
    border: 1px solid var(--mira-gold);
    border-radius: var(--radius-control);
    background: var(--white);
    color: var(--black);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    transition:
        background-color 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.featured-show-all:hover {
    transform: translateY(-2px);
    background: var(--mira-gold);
    color: var(--white);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.listings-empty {
    margin: 18px 0 0;
    padding: 28px;
    border: 1px solid var(--gray-medium);
    border-radius: var(--radius-control);
    background: var(--white);
    color: var(--gray-text);
    font-size: 1rem;
    text-align: center;
}

.listings-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin: 22px auto 0;
}

.listings-pagination[hidden] {
    display: none;
}

.pagination-pages {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    justify-content: center;
}

.pagination-step,
.pagination-page {
    min-width: 42px;
    min-height: 42px;
    border: 1px solid var(--gray-medium);
    border-radius: var(--radius-control);
    background: var(--white);
    color: var(--black);
    font: inherit;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition:
        border-color 0.25s ease,
        background-color 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.pagination-step {
    padding: 0 18px;
}

.pagination-ellipsis {
    min-width: 24px;
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-text);
    font-weight: 700;
}

.pagination-step:hover:not(:disabled),
.pagination-page:hover:not(.active) {
    transform: translateY(-2px);
    border-color: var(--mira-gold);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.pagination-page.active {
    border-color: var(--mira-gold);
    background: var(--mira-gold);
    color: var(--white);
}

.pagination-step:disabled {
    cursor: not-allowed;
    opacity: 0.45;
}

.pagination-summary {
    flex-basis: 100%;
    color: var(--gray-text);
    font-size: 0.82rem;
    text-align: center;
}

.property-card,
.featured-carousel-section .property-card,
.listings-section .property-card,
.similar-section .property-card,
.similar-grid .property-card {
    width: 100%;
    min-height: var(--re-property-card-min-height);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: visible;
    background: var(--white);
    border-radius: var(--radius-property-card);
    box-shadow: var(--shadow-soft);
    cursor: pointer;
    transition:
        transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.35s ease;
}

.featured-carousel-section .property-card {
    flex: 0 0 var(--re-property-card-width);
    width: var(--re-property-card-width);
}

.property-card:hover,
.featured-carousel-section .property-card:hover,
.listings-section .property-card:hover,
.similar-section .property-card:hover,
.similar-grid .property-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-medium);
}

.property-image,
.property-card-image,
.featured-carousel-section .property-image,
.listings-section .property-image,
.similar-section .property-card-image,
.similar-grid .property-card-image {
    position: relative;
    height: var(--re-property-card-image-height);
    flex: 0 0 var(--re-property-card-image-height);
    overflow: hidden;
    border-radius: 2px 24px 0 0;
}

.property-image img,
.property-card-image img,
.featured-carousel-section .property-image img,
.listings-section .property-image img,
.similar-section .property-card-image img,
.similar-grid .property-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.property-card:hover .property-image img,
.property-card:hover .property-card-image img,
.featured-carousel-section .property-card:hover .property-image img,
.listings-section .property-card:hover .property-image img,
.similar-section .property-card:hover .property-card-image img,
.similar-grid .property-card:hover .property-card-image img {
    transform: scale(1.04);
}

.property-badge,
.property-card-badge,
.featured-carousel-section .property-badge,
.listings-section .property-badge,
.similar-section .property-card-badge,
.similar-grid .property-card-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 3;
    padding: 6px 14px;
    background: var(--mira-gold);
    color: var(--white);
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.property-badge.sold,
.property-card-badge.sold {
    background: #333333;
}

.property-badge.rent,
.property-card-badge.rent {
    background: #2d7d46;
}

.property-badge.short-stay,
.property-card-badge.short-stay {
    background: #666666;
}

.property-info,
.property-card-info,
.featured-carousel-section .property-info,
.listings-section .property-info,
.similar-section .property-card-info,
.similar-grid .property-card-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 22px 24px 24px;
}

.property-type,
.property-card-type,
.featured-carousel-section .property-type,
.listings-section .property-type,
.similar-section .property-card-type,
.similar-grid .property-card-type {
    min-height: var(--re-property-card-type-row);
    margin-bottom: 8px;
    color: var(--mira-gold);
    font-size: 11px;
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.property-type.is-empty,
.property-card-type.is-empty {
    visibility: hidden;
}

.property-price,
.property-card-price,
.featured-carousel-section .property-price,
.listings-section .property-price,
.similar-section .property-card-price,
.similar-grid .property-card-price {
    font-size: 17px;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 8px;
}

.property-card .property-price,
.property-card .property-card-price {
    min-height: var(--re-property-card-price-row);
    line-height: 1.3;
}

.property-card .property-price.is-empty,
.property-card .property-card-price.is-empty {
    visibility: hidden;
}

.property-card .property-price-muted,
.property-card .property-card-price-muted {
    color: var(--gray-text);
    font-size: 14px;
    font-weight: 600;
}

.property-title,
.property-card-title,
.featured-carousel-section .property-title,
.listings-section .property-title,
.similar-section .property-card-title,
.similar-grid .property-card-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--black);
    line-height: 1.35;
    margin-bottom: 8px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    white-space: normal;
}

.property-card .property-title,
.property-card .property-card-title {
    min-height: var(--re-property-card-title-row);
}

.property-location,
.property-card-location,
.featured-carousel-section .property-location,
.listings-section .property-location,
.similar-section .property-card-location,
.similar-grid .property-card-location {
    display: flex;
    align-items: center;
    gap: 6px;
    min-height: 22px;
    margin-bottom: 12px;
    font-size: 14px;
    color: var(--gray-text);
}

.property-features,
.property-card-features,
.featured-carousel-section .property-features,
.listings-section .property-features,
.similar-section .property-card-features,
.similar-grid .property-card-features {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid var(--gray-medium);
}

.property-card .property-features,
.property-card .property-card-features {
    min-height: var(--re-property-card-feature-row);
}

.property-feature,
.property-card-feature,
.featured-carousel-section .property-feature,
.listings-section .property-feature,
.similar-section .property-card-feature,
.similar-grid .property-card-feature {
    display: flex;
    align-items: center;
    gap: 5px;
    flex: 1 1 0;
    min-width: 0;
    font-size: 12.5px;
    color: var(--gray-text);
}

.property-feature > span,
.property-card-feature > span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.property-feature-sublabel {
    color: inherit;
}

.property-feature svg,
.property-card-feature svg,
.property-feature .icon-svg,
.property-card-feature .icon-svg {
    width: 15px;
    height: 15px;
    color: var(--mira-gold);
    flex: 0 0 15px;
}

.nav-link .icon-svg.nav-link-icon,
.nav-link-icon {
    width: 12px;
    height: 12px;
    flex: 0 0 12px;
    object-fit: contain;
}

body.page-re-home .re-hero-bg {
    background-image: url("../resources/media/page-image/luxury_house_1920.jpg");
}

body.page-re-home .featured-header {
    max-width: 1200px;
    margin: 0 auto 16px;
    padding: 0 24px;
}

body.page-re-home .cta-bg {
    background-image: url("../resources/media/page-image/family_home_1920.jpg");
}

body.page-re-about .about-hero-bg {
    background-image: url("../resources/media/page-image/modern_architecture_1920.jpg");
}

body.page-re-property .price-unit {
    font-size: 18px;
    color: var(--gray-text);
}

body.page-re-property .gallery-main > img,
body.page-re-property .gallery-thumb > img,
body.page-re-property .property-card-image > img,
body.page-re-property .lightbox-image {
    transition:
        opacity 0.22s ease,
        transform 0.3s ease;
}

body.page-re-property .gallery-main > img:not(.is-loaded),
body.page-re-property .gallery-thumb > img:not(.is-loaded),
body.page-re-property .property-card-image > img:not(.is-loaded),
body.page-re-property .lightbox-image:not(.is-loaded) {
    opacity: 0;
}

body.page-re-property .gallery-main > img.is-loaded,
body.page-re-property .gallery-thumb > img.is-loaded,
body.page-re-property .property-card-image > img.is-loaded,
body.page-re-property .lightbox-image.is-loaded {
    opacity: 1;
}

body.page-re-property .action-icon {
    width: 18px;
    height: 18px;
}

body.page-re-property .section-text-spaced {
    margin-top: 16px;
}

/* Final source cleanup for migrated icon blocks */
.service-icon,
.service-card-icon,
.feature-icon,
.contact-cta-icon {
    border-radius: var(--radius-control);
}

@media (max-width: 768px) {
    :root {
        --re-property-card-width: min(100%, 360px);
        --re-property-card-min: min(100%, 300px);
    }

    .property-grid,
    .similar-grid {
        grid-template-columns: minmax(0, min(100%, 360px));
    }

    .featured-carousel-section .property-card {
        flex-basis: min(82vw, 360px);
        width: min(82vw, 360px);
    }
}

body.page-re-property .similar-grid {
    grid-template-columns: repeat(auto-fit,
            minmax(var(--re-property-card-min), var(--re-property-card-width)));
    justify-content: center;
}

@media (max-width: 1024px) {
    body.page-re-property .property-content {
        grid-template-columns: minmax(0, 1fr) !important;
    }

    body.page-re-property .property-main,
    body.page-re-property .property-sidebar,
    body.page-re-property .sidebar-card {
        width: 100% !important;
        min-width: 0 !important;
    }
}

@media (max-width: 768px) {
    body.page-re-property .property-content {
        padding-right: 16px;
        padding-left: 16px;
    }

    body.page-re-property .property-content.property-content-error {
        padding-top: 88px;
        padding-bottom: 88px;
    }

    body.page-re-property .property-load-error {
        padding: 32px 24px;
    }

    body.page-re-property .property-load-error-title {
        font-size: 24px;
    }
}

/* Real Estate design convergence */
.nav-right {
    gap: 20px;
}

.re-hero-brand,
.re-hero-title,
.re-hero-subtitle {
    animation: none;
}

body.page-re-home .services-container {
    display: block;
}

body.page-re-home .services-section {
    background: var(--gray-light);
    padding-top: 56px;
}

body.page-re-home .listings-section {
    padding-bottom: 0;
}

body.page-re-home .section-header {
    text-align: center;
    margin: 0 auto 48px;
}

body.page-re-home .services-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    justify-content: center;
}

body.page-re-home .service-item,
body.page-re-about .service-card,
body.page-re-about .why-card {
    background: var(--white);
    border: 1px solid var(--gray-medium);
    box-shadow: var(--shadow-soft);
    transition:
        transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.35s ease,
        border-color 0.35s ease;
}

body.page-re-home .service-item:hover,
body.page-re-about .service-card:hover,
body.page-re-about .why-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.1);
}


.featured-carousel-section {
    overflow: visible;
    padding-bottom: 12px;
}

.properties-carousel-container {
    padding-bottom: 6px;
}

.properties-track {
    padding-bottom: 8px;
}

.featured-actions {
    padding: 0 24px 4px;
}

.contact-cta-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
}

.contact-cta-icon .icon-svg {
    width: 36px;
    height: 36px;
}

.service-icon,
.why-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-control);
}

.service-icon .icon-svg,
.why-icon .icon-svg {
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
}

.cta-btn .icon-svg {
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
}

.contact-cta-btn .icon-svg {
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
}

.contact-cta-btn .icon-svg {
    filter: brightness(0) invert(1);
}

body.page-re-about .about-hero {
    align-items: center;
    justify-content: center;
}

body.page-re-about .about-hero-content {
    max-width: 820px;
    text-align: center;
}

body.page-re-about .about-hero-title,
body.page-re-about .about-hero-subtitle {
    margin-right: auto;
    margin-left: auto;
}

@media (max-width: 1024px) {
    body.page-re-home .services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    body.page-re-home .services-grid {
        grid-template-columns: 1fr;
    }
}
