.hd-hero-wrapper {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 80px 24px 180px 24px;
    position: relative;
    font-family: sans-serif;
    box-sizing: border-box;
}

.hd-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.hd-hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 24px;
    text-align: left;
    position: relative;
    z-index: 2;
}

/* Location meta */
.hd-hero-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hd-hero-district {
    font-weight: 800;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.hd-hero-address {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 16px;
    color: #5c6c84;
    font-weight: 600;
}

.hd-pin-icon {
    flex-shrink: 0;
}

/* Title & Description */
.hd-hero-title {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.15;
    margin: 0;
    max-width: 900px;
}

.hd-hero-desc {
    font-size: 20px;
    line-height: 1.6;
    margin: 0;
    max-width: 800px;
}

/* Price Card */
.hd-price-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 20px 24px;
    display: inline-flex;
    align-items: center;
    gap: 32px;
    box-shadow: 0 4px 20px rgba(30, 45, 74, 0.04);
    align-self: flex-start;
    border: 1px solid #e2e8f0;
}

.hd-price-left {
    display: flex;
    flex-direction: column;
}

.hd-price-lbl {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    color: #a0aec0;
    letter-spacing: 0.5px;
}

.hd-price-val {
    font-size: 32px;
    font-weight: 800;
}

.hd-price-right {
    display: flex;
    flex-direction: column;
    font-size: 13px;
    color: #718096;
    line-height: 1.4;
}

.hd-price-sqm {
    font-weight: 700;
}

/* Buttons */
.hd-hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.hd-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: #1e2d4a;
    color: #ffffff !important;
    text-decoration: none;
    font-weight: 700;
    padding: 16px 32px;
    border-radius: 8px;
    font-size: 16px;
    box-shadow: 0 4px 14px rgba(30, 45, 74, 0.2);
    transition: transform 0.2s, opacity 0.2s;
}

.hd-btn-primary:hover {
    opacity: 0.95;
    transform: translateY(-1px);
}

.hd-btn-secondary {
    display: inline-flex;
    align-items: center;
    background-color: #ffffff;
    color: #1e2d4a !important;
    text-decoration: none;
    font-weight: 700;
    padding: 16px 32px;
    border-radius: 8px;
    font-size: 16px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 14px rgba(30, 45, 74, 0.05);
    transition: transform 0.2s, background-color 0.2s;
}

.hd-btn-secondary:hover {
    background-color: #f7fafc;
    transform: translateY(-1px);
}

/* Overlapping Details Box */
.hd-overlap-container {
    max-width: 1200px;
    margin: 0 auto;
    position: absolute;
    bottom: -60px;
    left: 24px;
    right: 24px;
    z-index: 10;
}

.hd-object-id-tag {
    background-color: #1e2d4a;
    color: #ffffff;
    font-weight: 800;
    font-size: 12px;
    padding: 8px 16px;
    border-radius: 6px 6px 0 0;
    display: inline-block;
    float: right;
    margin-right: 24px;
    letter-spacing: 0.5px;
}

.hd-overlap-grid {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    border: 1px solid #f0f4f8;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    clear: both;
    overflow: hidden;
}

.hd-grid-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px;
    border-right: 1px solid #f0f4f8;
    border-bottom: 1px solid #f0f4f8;
    transition: background-color 0.2s;
}

.hd-grid-item:hover {
    background-color: #fafbfc;
}

/* Strip border for corners */
.hd-overlap-grid > .hd-grid-item:nth-child(3n) {
    border-right: none;
}

.hd-icon-box {
    width: 48px;
    height: 48px;
    background-color: #f0f4f8;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.hd-icon-box svg, .hd-icon-box i {
    width: 20px;
    height: 20px;
    font-size: 20px;
}

.hd-grid-content {
    display: flex;
    flex-direction: column;
}

.hd-grid-title {
    font-size: 18px;
    font-weight: 800;
    color: #1e2d4a;
}

.hd-grid-sub {
    font-size: 13px;
    color: #718096;
}

/* RESPONSIVE DESIGN */
@media (max-width: 991px) {
    .hd-hero-title {
        font-size: 38px;
    }
    .hd-overlap-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .hd-overlap-grid > .hd-grid-item:nth-child(3n) {
        border-right: 1px solid #f0f4f8;
    }
    .hd-overlap-grid > .hd-grid-item:nth-child(2n) {
        border-right: none;
    }
}

@media (max-width: 768px) {
    .hd-hero-wrapper {
        padding: 60px 16px 200px 16px;
    }
    .hd-hero-title {
        font-size: 30px;
    }
    .hd-hero-desc {
        font-size: 16px;
    }
    .hd-overlap-grid {
        grid-template-columns: 1fr;
    }
    .hd-grid-item {
        border-right: none !important;
        padding: 16px 20px;
    }
    .hd-price-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        width: 100%;
    }
    .hd-hero-actions {
        width: 100%;
    }
    .hd-btn-primary, .hd-btn-secondary {
        width: 100%;
        justify-content: center;
    }
}
